@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250211.0 → 0.0.0-nightly-20250212.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/LICENSE.md +1 -1
- package/build/revision-history.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -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/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/icons/arrow-down.svg +1 -0
- package/theme/icons/arrow-up.svg +1 -0
- package/theme/icons/revision-history.svg +1 -0
- package/theme/icons/user.svg +1 -0
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},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.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Bo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Xt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V,M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(t,e){const i=z();return(j=function(t,e){return i[t-=208]})(t,e)}const P=j;function z(){const t=["setName","toVersion","10dRPqQb","fromVersion","authors","creatorId","361914DcSQat","8cLrIoq","fire","527303EPzsqy","model","4WXxeKf","set","createdAt","609081UGwBPG","diffData","_update","547340VPrVBU","authorsIds","761313SFxKBY","toJSON","attributes","map","5bBZlcQ","3950649fIlfNe","creator","name","setAttribute","removeAttribute","1111287WqMZHl"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(489492===parseInt(e(226))/1+-parseInt(e(224))/2+-parseInt(e(236))/3*(-parseInt(e(218))/4)+parseInt(e(230))/5*(-parseInt(e(213))/6)+-parseInt(e(216))/7*(-parseInt(e(214))/8)+-parseInt(e(231))/9+-parseInt(e(209))/10*(-parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(232)];[P(211)];[P(222)];[P(208)];[P(210)];[P(217)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(232)]=e[i(232)]||null,this[i(211)]=e[i(211)]||[],this[i(222)]=e[i(222)]||null,this[i(208)]=e[i(208)]||0,this[i(210)]=e[i(210)]||0,this[i(219)](i(233),e[i(233)]||""),this[i(219)](i(220),e[i(220)]||new Date),this[i(219)](i(228),e[i(228)]||{})}[P(237)](t){this[P(223)]({name:t})}[P(234)](t,e){const i=P,s=R(this[i(228)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(223)]({attributes:s})}[P(235)](t){const e=P,i=R(this[e(228)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(223)]({attributes:i})}[P(223)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(233),i(220),i(222),i(211),i(228),i(208),i(210),i(212)];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(211)]&&(n[i(225)]=n[i(211)][i(229)]((t=>t.id)),delete n[i(211)]),this[i(215)](i(223),n,e))}[P(227)](){const t=P;return{id:this.id,name:this[t(233)],creatorId:this[t(232)]?this[t(232)].id:null,authorsIds:this[t(211)][t(229)]((t=>t.id)),diffData:this[t(222)],createdAt:this[t(220)],attributes:this[t(228)],fromVersion:this[t(210)],toVersion:this[t(208)]}}}var Z=i(782),U=i(211),H=i(783);const q=B;function $(){const t=["getRevisions","newRevisionId","getEarlierVisibleRevision","from","Users","fromVersion","isNaN","get","createdAt","push","href","editor","isPremiumPlugin","883976SmIzeP","addRevision","getRevision","6AWZBhs","_revisions","1243480OiRpAi","join","getRevisionsInDiff","4936944bnLlcn","attributes","diffData","getLaterVisibleRevision","requires","map","length","getIndex","oldRevisionId","add","createRevision","authorsIds","toJSON","RevisionsRepository","fromCharCode","2864455MALkWc","isOfficialPlugin","afterInit","1849810RbegzK","toVersion","1754463CISFrx","name","later","reverse","getRevisionsIterator","data","2WvhgxX","creatorId","18pajeTU","earlier","getUser","plugins","2562972iekbSS","pluginName"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(489683===-parseInt(e(487))/1+-parseInt(e(521))/2*(-parseInt(e(515))/3)+parseInt(e(472))/4+parseInt(e(510))/5*(parseInt(e(490))/6)+-parseInt(e(492))/7+-parseInt(e(495))/8+-parseInt(e(523))/9*(-parseInt(e(513))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends Z.Plugin{[q(491)];static get[q(499)](){return[U.Users]}static get[q(473)](){return q(508)}static get[q(511)](){return!0}static get[q(486)](){return!0}get[q(501)](){const t=q;return this[t(491)][t(501)]}constructor(e){const i=q;super(e),this[i(491)]=new t.Collection}[q(512)](){!async function(e){const i=k([75,100,78,90,104,113,77,120,79,49,72,108,80,55,70,84,89,67,115,99,88,76,85,107,54,111,50,122,56,110,119,81,106,105,83,102,53,73,48,112,109,97,69,116,65,114,103,52,74,118,101,87,117,86,51,71,57,98,68,66,121,82]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(480)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([75]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(500)]((t=>String[e(509)](t)))[e(493)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1739232e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(484)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(505)](t){const e=q,i=this[e(485)][e(471)][e(481)](e(478));return new W({id:t.id,name:t[e(516)],creator:t[e(522)]?i[e(470)](t[e(522)]):null,diffData:t[e(497)]||t[e(520)],authors:t[e(506)][e(500)]((t=>i[e(470)](t))),createdAt:new Date(t[e(482)]),attributes:t[e(496)],fromVersion:t[e(479)],toVersion:t[e(514)]})}[q(488)](t,e=0){const i=q;this[i(491)][i(504)](t,e)}[q(489)](t){const e=q;return this[e(491)][e(481)](t)}[q(474)](t={toJSON:!1}){const e=q,i=Array[e(477)](this[e(491)]);return i[e(518)](),t[e(507)]?i[e(500)]((t=>t[e(507)]())):i}[q(502)](t){const e=q;return this[e(491)][e(502)](t)}[q(476)](t){const e=q,[,i]=this[e(519)](t,{direction:e(524)});return i}[q(498)](t){const e=q,[,i]=this[e(519)](t,{direction:e(517)});return i}[q(494)](t){const e=q,i=[];for(const s of this[e(519)](t[e(475)]))if(i[e(483)](s),s.id===t[e(503)])break;return i}*[q(519)](t,{direction:e=q(524),filter:i=()=>!0}={}){const s=q,n=s(524)===e?1:-1;let r=this[s(491)][s(481)](t),o=this[s(502)](r);for(yield r;r;){if(o+=n,r=this[s(489)](o),!r)return;i(r)&&(yield r)}}}function G(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 J(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,x)||J(t)&&J(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=ct;function it(){const t=["stickiness","config","add","elementEnd","initialData","_handleMergeOperation","initial","7572152XmeNOQ","_initialRevisionId","_fixRange","_appendChild","stringify","setRevisionData","isEnabled","getRevisionDocumentData","set","_setConversion","getAncestors","_update","_revisionDataBuilder","_createInitialRevision","markers","_lastTo","getAttribute","remove","revision-start","default","_handleMoveOperation","data-revision-","item","ready","_addPendingAction","authorsIds","revision:","190620hdUAVV","offsetSize","insertions","_diffRoots","_createFromRanges","clone","_touchedRoots","Users","3391125VyGfEP","getCurrentRevisionId","domainLimit","revisionHistoryLicenseKeyDomainLimit","_source","destroy","RevisionsRepository","adapter","_isPendingUpdate","includes","text","_removeRevisionMarkers","getRevisionRootsAttributes","attachChange","_makeRevision","addRoot","find","_touched","evaluationLimit","rootName","_isInit","pluginName","revisionHistoryLicenseKeyValid","_loadState","_clone","path","max","RevisionTracker","revision-end","changeRootAttribute","model","getData","push","_startingRevisionId","offset","reinsert","finally","_cloneOperation","editor","getIndex","end","_findInsertionIndex","parent","deletions","get","buildRevisionData","addRevision","Empty document","conversion","_baseRoots","Initial revision","NEGATIVE_INFINITY","plugins","startsWith","tableCell","RealTimeCollaborationClient","_getBaseVids","processor","_showLicenseError","keys","previousPosition","targetPosition","_generateTape","merge","detachRoot","creator","splitPosition","type","from","vid","getAttributes","root","invalid","_handleRootAttributeOperation","getRevisions","getTime","forEach","isOfficialPlugin","affectsData","_transformMarkers","userId","locale","_diffRootsAttributes","baseVersion","fromEntries","trim","authors","getRange","expired","_calculateMetaData","map","marked","deletion","vid_end","_continueCurrentRevision","getChild","attributesAfter","_createCurrentRevision","_pendingAction","define","filter","sort","_lastFrom","_saveMetaData","key","data","revisionHistoryLicenseKeyNotAllowed","getOperations","1043406UHFNOw","_reset","14211QuoPyQ","_getPreviousFrom","createPositionFromPath","createPositionAt","$text","split","_touchedMarkers","some","newRange","revision","marker","insertion","reverse","attributes","_setAttribute","position","getChildren","children","setSource","PendingActions","childCount","vid_start","_revisionId","getMovedRangeStart","createRevision","nodes","revisionHistoryLicenseKeyExpired","_bufferUpdate","_handleOperation","createdAt","_replaceEditorDataWithRevisionData","delete","for","isAttached","toData","history","range","revisionHistoryLicenseKeyTrialLimit","init","getRootNames","loadState","update","length","_savedMetaData","paragraph","_handleRootOperation","reInit","_idsRoots","_authorId","getNodeByPath","_loadRevisionData","_getState","_prepareViewToSave","element","isEqual","saveRevision","currentRevision","elementStart","editing","createRangeIn","revisionHistoryLicenseKeyUsageLimit","newValue","_markers","_handleInsertOperation","dataToMarker","_applyOperations","resolve","string","values","keepParagraph","has","trialLimit","attributesBefore","slice","shift","rootsAttributes","_handleMarkerOperation","_bufferedUpdates","graveyardPosition","nodeAfter","size","start","creatorId","21210903uOnAhb","licenseKey","PENDING_ACTION_REVISION_HISTORY","isPremiumPlugin","markerToData","getOperation","name","createPositionAfter","_loadedStateData","getWalker","getTransformedByOperation","documentFragment","$graveyard","clear","source","editor-initial-data-replaced-with-revision-data","sourcePosition","then","toView","_removePendingAction","getLatestVersion","useFillerType","bind","_operations","toModel","createPositionBefore","parse","addRootAttribute","revisionHistoryLicenseKeyInvalid","toVersion","collaboration.channelId","_licenseKeyCheckInterval","isAdd","_makeIdsRoot","isReady","roots","_baseRootsAttributes","fromVersion","_insertChild","_processRootBeforeSave","requires","upcast","getRevision","version","view","repository","insert","createRange","10322448vfSUaI","document","move","_isAttached","howMany","_fixOperation","diffData","getRoot","getUser","_getViewJson","_makeModelFromViewString","usageLimit","_getFromVersion","_execute","_removeMetaData","addRevisionData","_markChanges","revisionHistory.resumeUnsavedRevision","afterInit","removeRootAttribute","updateRevisions","_copyMarkers","_baseIdsRoots","sendBufferedUpdates","_fixPosition","dataDowncast","_startingVersion","revisionHistoryLicenseKeyEvaluationLimit","hasContent","featureNotAllowed","_getVidAttributeName","_handleSplitOperation","oldRange","RevisionHistory","insertionPosition"];return(it=function(){return t})()}!function(t){const e=ct,i=t();for(;;)try{if(994839===-parseInt(e(536))/1+parseInt(e(736))/2+-parseInt(e(534))/3+parseInt(e(709))/4+parseInt(e(744))/5+parseInt(e(667))/6+-parseInt(e(619))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends Z.Plugin{[et(620)];[et(650)];[et(751)];[et(592)];[et(664)];[et(721)];[et(748)];[et(710)];[et(613)];[et(524)];[et(520)];[et(693)];[et(627)];static get[et(765)](){return et(771)}static get[et(503)](){return!0}static get[et(622)](){return!0}static get[et(659)](){return[U.Users,Y,Z.PendingActions]}constructor(e){const i=et;super(e),this[i(751)]=null,this[i(592)]=null,this[i(721)]=new ot(this[i(782)]),this[i(710)]=this[i(782)][i(703)][i(788)](i(649))||i(708),this[i(613)]=new Map,this[i(627)]=null;const s=(0,t.uid)();this[i(748)]={history:this[i(782)][i(774)][i(668)][i(571)],getLatestVersion:()=>Promise[i(602)](this[i(782)][i(774)][i(668)][i(662)]),getCurrentRevisionId:()=>s},this[i(717)](i(653),!1),this[i(717)](i(715),!0),this[i(717)](i(752),!1),this[i(782)][i(703)][i(525)](i(684),!0),this[i(782)][i(792)][i(568)](i(660))[i(600)]({view:i(545)})}[et(574)](){const t=et;this[t(664)]=this[t(782)][t(796)][t(788)](t(750)),this[t(718)](),this[t(782)][t(531)].on(t(732),(()=>{const e=t,i=this[e(664)][e(661)](0),s=i&&null===i[e(491)]?i:null;if(this[e(520)]=!!s&&this[e(782)][e(703)][e(788)](e(684)),this[e(782)][e(796)][e(606)](e(799))){const t=this[e(748)][e(745)](),n=this[e(664)][e(661)](t);if(n)this[e(693)]=n[e(656)],this[e(520)]=!1;else{const t=this[e(748)][e(571)][e(642)][e(760)]((t=>!t[e(764)])),n=t?t[e(509)]:this[e(748)][e(571)][e(662)];i?(i[e(648)]<n&&i[e(720)]({toVersion:n}),this[e(520)]?(this[e(748)][e(745)]=()=>s.id,this[e(693)]=s[e(656)]):(this[e(693)]=i[e(648)],this[e(520)]=!1)):(this[e(693)]=n,this[e(520)]=!1)}}else s&&(this[e(782)][e(774)][e(668)][e(571)][e(662)]=Math[e(770)](s[e(648)],this[e(782)][e(774)][e(668)][e(571)][e(662)]),s[e(656)]===s[e(648)]?(0!==s[e(656)]&&(this[e(748)][e(745)]=()=>s.id),this[e(520)]=!1):this[e(520)]&&(this[e(748)][e(745)]=()=>s.id,this[e(693)]=s[e(656)])),this[e(520)]||(this[e(693)]=this[e(782)][e(774)][e(668)][e(662)]);this[e(721)][e(574)](this[e(748)][e(571)]),this[e(722)](this[e(693)]),this[e(523)](this[e(693)]),this[e(751)]&&this[e(690)]()})),this[t(641)](t(653)).to(this,t(752),(t=>!t)),this[t(620)]=this[t(782)][t(703)][t(788)](t(620));const e=this[t(782)];this[t(650)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(766)==r||i(647)==r||i(562)==r||i(747)==r||i(532)==r||i(694)==r||i(573)==r||i(596)==r){delete e[n],s=r,clearInterval(this[i(650)]),this[i(650)]=void 0;break}}i(647)==s&&e[i(802)](i(498)),i(562)==s&&e[i(802)](i(514)),i(747)==s&&e[i(802)](i(746)),i(532)==s&&e[i(802)](i(696),i(700)),i(694)==s&&e[i(802)](i(762)),i(573)==s&&e[i(802)](i(607)),i(596)==s&&e[i(802)](i(678))}),1e3)}async[et(685)](){const t=et;if(this[t(664)][t(578)]>0){const e=this[t(664)][t(661)](0),i=await this[t(716)](e),s=await this[t(756)](e);this[t(566)](i,s)}}[et(749)](){const t=et;super[t(749)](),this[t(650)]&&clearInterval(this[t(650)])}[et(554)](t){this[et(748)]=t}async[et(577)](){const t=et,e=await this[t(748)][t(639)]();if(e>this[t(592)][t(648)]){await this[t(767)]();const i=this[t(789)]({revision:this[t(592)],to:e});i[t(512)]=i[t(734)][t(516)]((e=>this[t(782)][t(796)][t(788)](t(743))[t(675)](e))),this[t(592)][t(720)](i)}}async[et(767)](){const t=et;this[t(520)]&&!this[t(627)]&&(await this[t(586)](this[t(592)]),this[t(721)][t(576)](this[t(592)]),this[t(627)]={fromVersion:this[t(592)][t(656)],authors:this[t(592)][t(512)][t(609)]()})}async[et(591)](e={},i=null){const s=et,n=[];await this[s(767)](),this[s(520)]=!1,i>this[s(592)][s(648)]&&(i=null),null===i&&(i=await this[s(748)][s(639)]());const r=this[s(679)](i),o=this[s(789)]({from:r,to:i});if(this[s(592)][s(648)]<i){const t=this[s(789)]({revision:this[s(592)],from:i,to:i});t[s(512)]=[],t[s(734)]=[],t.id=this[s(592)].id,this[s(592)][s(720)](t,!0),delete t[s(512)],n[s(776)](t)}e[s(618)]=this[s(782)][s(796)][s(788)](s(743)).me.id,e[s(625)]=e[s(625)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(682)](e);n[s(776)](e);const c=this[s(664)][s(783)](a);if(0!==c){const t=this[s(664)][s(661)](c-1);if(t[s(656)]!==i){const r=this[s(721)][s(775)](i,t[s(648)]),o={id:t.id,diffData:r[s(673)],authorsIds:r[s(734)],authors:r[s(734)][s(516)]((t=>this[s(782)][s(796)][s(788)](s(743))[s(675)](t))),fromVersion:i};t===this[s(592)]&&(o[s(565)]=new Date(e[s(565)][s(501)]()+10)),t[s(720)](o,!0),delete o[s(512)],n[s(776)](o)}}if(this[s(751)]){for(const t of n)this[s(563)](t.id,t,!0);this[s(690)]()}return a}[et(682)](t){const e=et,i=this[e(664)][e(560)](t);return this[e(751)]&&i.on(e(720),((t,i,s)=>{const n=e;s||(this[n(563)](i.id,i,!0),this[n(690)]())})),this[e(664)][e(790)](i,this[e(785)](i)),i}async[et(716)](t){const e=et;await this[e(586)](t);const i={};for(const s in t[e(673)]){if(t[e(673)][s][e(757)]&&!t[e(673)][s][e(757)][e(569)])continue;const n=this[e(755)](JSON[e(645)](t[e(673)][s][e(738)])),r=this[e(782)][e(594)][e(663)][e(668)],o=new H.ViewDocumentFragment(r,n[e(516)]((t=>rt(t,this[e(782)]))));this[e(782)][e(531)][e(801)][e(640)](e(517)),i[s]=this[e(782)][e(531)][e(801)][e(570)](o),this[e(782)][e(531)][e(801)][e(640)](e(728))}return i}async[et(756)](t){const e=et;await this[e(586)](t);const i={};for(const s in t[e(673)])t[e(673)][s][e(757)]&&!t[e(673)][s][e(757)][e(569)]||(i[s]=t[e(673)][s][e(522)]||{});return i}[et(690)](){const t=et;if(0===this[t(613)][t(616)])return;if(this[t(752)])return;let e=Array[t(494)](this[t(613)][t(604)]());this[t(613)][t(632)]();for(let i=0;i<e[t(578)];i++){const s=e[i];let n=!1;for(const e of Object[t(803)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(526)]((t=>null!==t)),!e[t(578)])return;for(let i=0;i<e[t(578)];i++){const s=e[i];void 0!==s[t(656)]&&void 0===s[t(648)]&&(s[t(648)]=this[t(664)][t(661)](s.id)[t(648)]),void 0!==s[t(648)]&&void 0===s[t(656)]&&(s[t(656)]=this[t(664)][t(661)](s.id)[t(656)])}const i=this[t(782)][t(703)][t(788)](t(649));this[t(752)]=!0,this[t(733)](),this[t(751)][t(687)](e,i)[t(780)]((()=>{this[t(752)]=!1}))[t(636)]((e=>{const i=t;if(e)for(const t of e)this[i(714)]({id:t.id,createdAt:t[i(565)]});this[i(638)](),this[i(690)]()}))}[et(566)](e,i){const s=et;let n=this[s(782)][s(703)][s(788)](s(706)),r=this[s(782)][s(703)][s(788)](s(611));if(void 0===n){n={};for(const t of this[s(782)][s(774)][s(668)][s(575)]())n[t]=""}if(s(603)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(782)][s(774)][s(668)][s(575)]())r[t]={}}let o=!1;const a=Object[s(803)](n),c=Object[s(803)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(511)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(803)](r[t])[s(578)]>0){o=!0;break}}o||(o=c[s(543)]((t=>!this[s(782)][s(774)][s(668)][s(674)](t)))),o&&(0,t.logWarning)(s(634),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(782)][s(703)][s(717)](s(706),e),this[s(782)][s(703)][s(717)](s(611),i)}[et(733)](){const t=et;if(!this[t(524)]){const e=this[t(782)][t(796)][t(788)](t(555));this[t(524)]=e[t(704)](G(this[t(782)][t(507)],t(621)))}}[et(638)](){const t=et;this[t(524)]&&(this[t(782)][t(796)][t(788)](t(555))[t(726)](this[t(524)]),this[t(524)]=null)}[et(785)](t){const e=et,i=this[e(664)][e(500)]();i[e(548)]();let s=0;for(;s<i[e(578)];){const n=i[s];if(n===this[e(592)]){s++;continue}if(n.id===this[e(710)])break;const r=t[e(648)]-n[e(648)]||t[e(656)]-n[e(656)];if(r>0)break;if(r<0)s++;else{if(!t[e(491)]&&n[e(491)])break;if(n[e(491)]||!t[e(491)]){if(t[e(565)]>n[e(565)])break;s++}else s++}}return s}[et(714)](t){const e=et,i=this[e(664)][e(661)](t.id);if(t[e(565)]&&(t[e(565)]=new Date(t[e(565)])),t[e(734)]){const i=this[e(782)][e(796)][e(788)](e(743));t[e(512)]=t[e(734)][e(516)]((t=>i[e(675)](t)))}i[e(720)](t,!0)}[et(789)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(656)],i=null!==i?i:t[s(648)];const n=this[s(721)][s(775)](e,i),r={diffData:n[s(673)],authorsIds:n[s(734)],fromVersion:e,toVersion:i};if(!t||i!==t[s(648)]){const t=i-1,e=this[s(748)][s(571)][s(624)](t);r[s(565)]=e&&e[s(565)]||new Date}if(this[s(627)]&&e===this[s(627)][s(656)])for(const t of this[s(627)][s(512)])r[s(734)][s(753)](t.id)||r[s(734)][s(776)](t.id);return r}[et(586)](t){const e=et;if(!t||t[e(673)])return Promise[e(602)]();{const i=this[e(782)][e(703)][e(788)](e(649));return this[e(751)][e(661)]({channelId:i,revisionId:t.id})[e(636)]((i=>{const s=e;t[s(673)]=i[s(673)]}))}}[et(563)](t,e,i){const s=et;if(this[s(613)][s(606)](t)){const n=this[s(613)][s(788)](t);e=i?{...n,...e}:{...e,...n}}this[s(613)][s(717)](t,e)}[et(679)](t){const e=et,i=this[e(664)][e(500)]();i[e(548)](),i[e(610)]();const s=i[e(760)]((i=>i[e(648)]<=t))[e(648)];return s<this[e(693)]?this[e(693)]:s}[et(722)](t){const e=et,i=this[e(664)][e(661)](this[e(664)][e(578)]-1);if(i)this[e(710)]=i.id;else{const i=!this[e(782)][e(774)][e(668)][e(654)][e(760)]((t=>this[e(782)][e(774)][e(695)](t))),s=this[e(782)][e(796)][e(788)](e(743)).me.id,n=G(this[e(782)][e(507)],e(i?791:794));this[e(758)]({from:t,to:t,id:this[e(710)],name:n,creatorId:s})}}[et(523)](t){const e=et,i=this[e(748)][e(745)]();this[e(592)]=this[e(664)][e(661)](i),this[e(592)]||(this[e(592)]=this[e(758)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(758)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(789)]({from:e,to:i});o[r(625)]=t,o[r(618)]=s,o.id=n;const a=this[r(682)](o);return this[r(751)]&&this[r(563)](o.id,o,!0),a}[et(718)](){const t=et;this[t(782)][t(792)][t(568)](t(692))[t(623)]({model:t(545)})}[et(755)](t){const e=et;return(t=t[e(526)]((t=>!t[e(625)]||e(727)!==t[e(625)]&&e(772)!==t[e(625)])))[e(502)]((t=>{const i=e;i(603)!=typeof t&&(t[i(553)]=this[i(755)](t[i(553)]),t[i(549)]=t[i(549)][i(526)]((t=>!t[0][i(797)](i(730)))))})),t}}function rt(t,e){const i=et,s=e[i(594)][i(663)][i(668)];if(i(603)==typeof t)return new H.ViewText(s,t);{const n=t[i(553)][i(516)]((t=>rt(t,e)));return new(st[t[i(493)]]||H.ViewElement)(s,t[i(625)],t[i(549)],n)}}class ot{[et(782)];[et(633)];[et(579)];[et(528)];[et(724)];[et(598)];[et(739)];[et(508)];[et(793)];[et(655)];[et(583)];[et(689)];[et(761)];[et(542)];[et(742)];[et(558)];[et(777)];constructor(t){const e=et;this[e(782)]=t,this[e(579)]=new Map,this[e(528)]=-1,this[e(724)]=-1,this[e(598)]=new Map,this[e(739)]=new Map,this[e(508)]=new Map,this[e(793)]=new Map,this[e(655)]=new Map,this[e(583)]=new Map,this[e(689)]=new Map,this[e(761)]=new Map,this[e(542)]=new Map,this[e(742)]=new Map,this[e(558)]=1}[et(574)](t){const e=et;this[e(633)]=t;const i=new Map,s=new Map,n=this[e(782)][e(774)][e(668)][e(654)][e(516)]((t=>t[e(763)]));for(const t of n){const n=this[e(782)][e(774)][e(668)][e(674)](t),r=at(n);i[e(717)](t,r),s[e(717)](t,Object[e(510)](n[e(496)]()))}const r=Array[e(494)](this[e(782)][e(774)][e(723)])[e(516)]((t=>[t[e(625)],t[e(513)]()])),o=this[e(633)][e(662)];this[e(529)](o,i,r,s),this[e(777)]=this[e(558)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(717)](t,i),c[e(717)](t,{})}this[e(529)](Number[e(795)],a,[],c)}[et(775)](t,e){const i=et;if(this[i(528)]===t&&this[i(724)]<=e)this[i(579)][i(616)]>1&&this[i(681)](this[i(724)]),this[i(601)](this[i(724)],e,!0);else{if(!this[i(579)][i(606)](t)){const e=this[i(537)](t);this[i(515)](e,t,!1)}this[i(515)](t,e,!0)}return this[i(528)]=t,this[i(724)]=e,this[i(587)]()}[et(576)](t){const e=et;this[e(535)](),this[e(528)]=t[e(656)],this[e(724)]=t[e(648)];for(const i in t[e(673)]){const s=t[e(673)][i][e(757)],n=R(t[e(673)][i][e(608)])||{},r=this[e(677)](t[e(673)][i][e(787)]);r[e(763)]=i,r[e(670)]=!s||!s[e(569)],r[e(569)]=()=>r[e(670)],this[e(793)][e(717)](i,r),this[e(655)][e(717)](i,n),s&&this[e(742)][e(717)](i,s);const o=this[e(652)](r);this[e(689)][e(717)](i,o);for(const[t,i]of r[e(723)]){if(!t[e(797)](e(735)))continue;const s=t[e(541)](":")[2];for(const t of i[e(628)]({singleCharacters:!0})){const i=this[e(697)](t),n=e(705)==t[e(493)]?t[e(804)][e(769)][e(609)](0,-1):t[e(804)][e(769)],r=o[e(585)](n)[e(725)](i);this[e(761)][e(717)](r,{userId:s})}}}this[e(777)]=this[e(558)];const i=[...Array(this[e(558)])[e(803)]()][e(609)](1)[e(526)]((t=>!this[e(761)][e(606)](t)));let s=0;const n=new Map;for(const r in t[e(673)]){const o=t[e(673)][r][e(757)],a=R(t[e(673)][r][e(522)])||{},c=this[e(677)](t[e(673)][r][e(738)]);c[e(763)]=r,c[e(670)]=!o||o[e(569)],c[e(569)]=()=>c[e(670)],this[e(739)][e(717)](r,c),this[e(508)][e(717)](r,a);const u=this[e(652)](c,Number[e(795)]);this[e(583)][e(717)](r,u),n[e(717)](r,c[e(569)]()?a:{});for(const[t,i]of c[e(723)]){if(!t[e(797)](e(735)))continue;const s=t[e(541)](":")[2];for(const t of i[e(628)]({singleCharacters:!0})){const i=this[e(697)](t),n=this[e(558)]++,r=e(705)==t[e(493)]?t[e(804)][e(769)][e(609)](0,-1):t[e(804)][e(769)];u[e(585)](r)[e(550)](i,n),this[e(761)][e(717)](n,{userId:s})}}for(const t of this[e(782)][e(774)][e(595)](c)[e(628)]({singleCharacters:!0})){const n=this[e(697)](t),r=e(705)==t[e(493)]?t[e(804)][e(769)][e(609)](0,-1):t[e(804)][e(769)],o=u[e(585)](r);o[e(725)](n)>0||o[e(550)](n,i[s++])}for(const[t,i]of c[e(723)])t[e(797)](e(735))||this[e(598)][e(717)](t,i)}const r=ut(e(631));this[e(793)][e(717)](e(631),r),this[e(689)][e(717)](e(631),this[e(652)](r,1));const o=ut(e(631));this[e(739)][e(717)](e(631),o),this[e(583)][e(717)](e(631),this[e(652)](o,1));const a=Array[e(494)](this[e(739)])[e(516)]((([t,e])=>[t,at(e)]));this[e(529)](this[e(724)],a,this[e(598)],n)}[et(677)](t){const e=et,i=JSON[e(645)](t),s=this[e(782)][e(594)][e(663)][e(668)],n=new H.ViewDocumentFragment(s,i[e(516)]((t=>rt(t,this[e(782)]))));return this[e(782)][e(531)][e(643)](n)}[et(529)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(717)](t,{start:e[n(617)][n(741)](),end:e[n(784)][n(741)](),rootName:e[n(497)][n(763)]});this[n(579)][n(717)](t,{roots:r,markers:a,rootsAttributes:o})}[et(681)](t){const e=et;this[e(579)][e(567)](t)}[et(582)](){const t=et;this[t(535)](),this[t(528)]=-1,this[t(724)]=-1,this[t(579)][t(632)](),this[t(574)](this[t(633)])}[et(535)](){const t=et;this[t(761)][t(632)](),this[t(542)][t(632)](),this[t(742)][t(632)](),this[t(739)][t(632)](),this[t(508)][t(632)](),this[t(793)][t(632)](),this[t(655)][t(632)](),this[t(583)][t(632)](),this[t(689)][t(632)](),this[t(598)][t(632)](),this[t(558)]=1,this[t(777)]=this[t(558)]}[et(652)](t,e=null){const i=et;let s=null;t.is(i(630))||(s=new H.Element(t[i(625)],{vid_start:null===e?this[i(558)]++:e++}));const n=[];for(const s of t[i(552)]())if(s.is(i(589))){n[i(776)](this[i(652)](s,e));const t=n[n[i(578)]-1];null!==e&&(e=t.is(i(589),i(540))?t[i(725)](i(495))+1:t[i(725)](i(519))+1)}else for(let t=0;t<s[i(737)];t++)n[i(776)](new H.Element(i(540),{vid:null===e?this[i(558)]++:e++}));if(t.is(i(630))){const e=ut(t[i(763)]);return e[i(657)](0,n),e}return s[i(550)](i(519),null===e?this[i(558)]++:e++),s[i(657)](0,n),s}[et(515)](t,e,i){const s=et;this[s(535)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(579)][s(788)](t);this[s(793)]=new Map(n),this[s(655)]=new Map(R(o));for(const[t,e]of this[s(793)])if(s(631)!==t&&(this[s(739)][s(717)](t,at(e)),this[s(508)]=new Map(R(o)),i)){const i=this[s(558)];this[s(583)][s(717)](t,this[s(652)](e)),this[s(689)][s(717)](t,this[s(652)](e,i))}this[s(777)]=this[s(558)],this[s(739)][s(717)](s(631),at(this[s(793)][s(788)](s(631)))),i&&this[s(583)][s(717)](s(631),this[s(652)](this[s(793)][s(788)](s(631))));for(const[t,e]of r){const i=this[s(793)][s(788)](e[s(763)]),n=this[s(739)][s(788)](e[s(763)]),r=new H.Range(this[s(691)](e[s(617)],i),this[s(691)](e[s(784)],i)),o=this[s(711)](r,n);i[s(723)][s(717)](t,r),this[s(598)][s(717)](t,o)}this[s(601)](t,e,i)}[et(601)](t,e,i){const s=et;for(const n of this[s(633)][s(533)](t,e))this[s(564)](n,i);for(const t of this[s(739)][s(604)]())t[s(723)][s(632)]();for(const[t,e]of this[s(598)])this[s(739)][s(788)](e[s(497)][s(763)])[s(723)][s(717)](t,e[s(741)]());const n=new Map,r=new Map;for(const[t,e]of this[s(739)])n[s(717)](t,at(e)),r[s(717)](t,this[s(508)][s(788)](t));this[s(529)](e,n,this[s(598)],r)}[et(537)](t){const e=et,i=Array[e(494)](this[e(579)][e(803)]());i[e(527)](((t,e)=>t-e)),i[e(548)]();for(const e of i)if(e<t)return e;return Number[e(795)]}[et(688)](t,e){const i=et,s=Array[i(494)](e[i(723)])[i(516)]((([e,s])=>[e,this[i(711)](s,t)]));t[i(723)]=new Map(s)}[et(505)](t){const e=et;for(const i of this[e(598)][e(604)]()){const s=i[e(629)](t),n=H.Range[e(740)](s);i[e(617)]=n[e(617)],i[e(784)]=n[e(784)]}}[et(564)](t,e){const i=et;if(i(759)!=t[i(493)]&&i(490)!=t[i(493)]){if(i(665)==t[i(493)]){const s=t[i(551)][i(497)][i(763)];this[i(739)][i(606)](s)||(this[i(739)][i(717)](s,ut(s,!0)),this[i(508)][i(717)](s,{}),e&&this[i(583)][i(717)](s,ut(s,!0)))}else{if(i(646)==t[i(493)]||i(686)==t[i(493)]||i(773)==t[i(493)])return void this[i(499)](t);i(546)==t[i(493)]&&this[i(612)](t)}if(i(546)!==t[i(493)]){const e=this[i(781)](t,this[i(739)]);e[i(680)](),this[i(505)](e)}if(e)switch(t[i(493)]){case i(665):this[i(599)](t);break;case i(669):case i(726):case i(779):this[i(729)](t);break;case i(489):this[i(707)](t);break;case i(541):this[i(698)](t)}}else this[i(581)](t,e)}[et(781)](t,e){const i=et,s=t[i(741)]();return s[i(584)]=t[i(584)],this[i(672)](s,e),s}[et(800)](t){const e=et;return t[e(516)]((t=>{const i=e,s=this[i(697)](t);return Number(t[i(731)][i(725)](s))}))}[et(488)](t,e){const i=et;if(t.is(i(589),i(540)))e[i(776)]({item:t,type:i(754)});else{t.is(i(589))&&e[i(776)]({item:t,type:i(593)});for(const s of t[i(552)]())this[i(488)](s,e);t.is(i(589))&&e[i(776)]({item:t,type:i(705)})}return e}[et(587)](){const t=et,e=new Map(this[t(761)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(793)][t(803)](),...this[t(739)][t(803)]()]);a[t(567)](t(631));for(const e of a){const i=this[t(739)][t(788)](e)||ut(e,!1),s=this[t(793)][t(788)](e)||ut(e,!1);i[t(569)]()||s[t(569)]()?(n[t(738)][e]=at(i),n[t(787)][e]=at(s),this[t(688)](n[t(787)][e],s),this[t(688)](n[t(738)][e],i),r[t(738)][e]=this[t(488)](this[t(583)][t(788)](e),[]),r[t(787)][e]=this[t(488)](this[t(689)][t(788)](e)||ut(e,!1),[])):a[t(567)](e)}for(const n of a){const o=r[t(738)][n];for(const n of o){const r=this[t(697)](n),o=n[t(731)][t(725)](r);i[t(567)](o),o>=this[t(777)]&&s[t(717)](o,e[t(788)](o))}}for(const n of a){const a=r[t(738)][n],c=this[t(800)](r[t(787)][n]);let u=0;for(const n of a){const r=this[t(697)](n),a=n[t(731)][t(725)](r);if(!s[t(606)](a)&&!o[t(606)](a))if(i[t(606)](a))u++;else{if(a!=c[u]){const s=e[t(788)](a)||e[t(788)](c[u]);for(;a!=c[u];)i[t(606)](c[u])||(o[t(717)](c[u],s),e[t(717)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(738)][e];for(const e of n){const n=this[t(697)](e),r=e[t(731)][t(725)](n);if(o[t(606)](r)){const e=o[t(788)](r);i[t(606)](r)||i[t(717)](r,{...e}),s[t(717)](r,{...e})}}}for(const e of i[t(803)]())e>=this[t(777)]&&i[t(567)](e);const c=new Map;for(const e of a){let n=r[t(738)][e];for(const e of n)if(e[t(731)].is(t(589),t(798))){const i=this[t(697)](e),n=e[t(731)][t(725)](i);if(s[t(606)](n)){const i=e[t(731)][t(786)][t(786)][t(725)](t(557)),r=c[t(788)](i)||new Set;r[t(704)](s[t(788)](n)[t(506)]),c[t(717)](i,r)}}n=r[t(787)][e];for(const e of n)if(e[t(731)].is(t(589),t(798))){const s=this[t(697)](e),n=e[t(731)][t(725)](s);if(i[t(606)](n)){const s=e[t(731)][t(786)][t(786)][t(725)](t(557)),r=c[t(788)](s)||new Set;r[t(704)](i[t(788)](n)[t(506)]),c[t(717)](s,r)}}for(const e of c[t(803)]())(s[t(606)](e)||i[t(606)](e))&&c[t(567)](e)}for(const e of a){const n=r[t(738)][e];let o=null,a=null;for(const e of n){const n=this[t(697)](e),r=e[t(731)][t(725)](n),u=c[t(788)](r);u&&t(593)==e[t(493)]&&(o=Array[t(494)](u)[0],a=e[t(731)][t(725)](t(519))),o&&(i[t(717)](r,{userId:o}),s[t(717)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(787)][e],a=n[t(738)][e];for(const{userId:e}of this[t(542)][t(604)]())null!==e&&l[t(704)](e);for(const{userId:e}of this[t(742)][t(604)]())null!==e&&l[t(704)](e);this[t(683)](a,r[t(738)][e],s,t(547),l),this[t(683)](o,r[t(787)][e],i,t(518),l),u[e]={insertions:this[t(588)](a),deletions:this[t(588)](o),attachChange:this[t(742)][t(788)](e)||null,attributesBefore:R(this[t(655)][t(788)](e))||{},attributesAfter:R(this[t(508)][t(788)](e))}}return{diffData:u,authorsIds:Array[t(494)](l)}}[et(658)](t){const e=et;for(const[,i]of t[e(723)]){const t=i[e(617)][e(719)]()[e(526)]((t=>e(798)==t[e(625)]));for(const i of t)1==i[e(556)]&&i[e(521)](0).is(e(589),e(580))&&i[e(521)](0)[e(550)](e(605),!0)}}[et(588)](t){const e=et;this[e(658)](t);const i=this[e(782)][e(531)][e(637)](t,{}),s=Array[e(494)](i[e(552)]())[e(516)]((t=>this[e(676)](t)));return JSON[e(713)](s)}[et(676)](t){const e=et;if(t.is(e(540)))return t[e(531)];{const i=t;return{type:Object[e(803)](st)[e(760)]((e=>t instanceof st[e])),name:i[e(625)],attributes:Array[e(494)](i[e(496)]()),children:Array[e(494)](i[e(552)]())[e(516)]((t=>this[e(676)](t)))}}}[et(683)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(782)][r(774)];for(let s=0;s<e[r(578)];s++){const n=this[r(697)](e[s]),c=e[s][r(731)][r(725)](n),h=i[r(788)](c),d=s==e[r(578)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(506)]!=o[r(506)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(506)],d=l(735)+s+":"+h+":"+c++,f=u[l(666)](i,a);t[l(723)][l(717)](d,f),null!==h&&n[l(704)](h)}}[et(697)](t){const e=et;switch(t[e(493)]){case e(593):return e(557);case e(705):return e(519);default:return e(495)}}[et(672)](t,e){const i=et;t[i(509)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(788)](n[i(497)][i(763)]);t[s]=this[i(691)](n,r)}if(n instanceof H.Range){const r=e[i(788)](n[i(497)][i(763)]);t[s]=this[i(711)](n,r)}i(497)===s&&(t[i(497)]=e[i(788)](t[i(497)][i(763)]))}}[et(711)](t,e){const i=et;return this[i(782)][i(774)][i(666)](this[i(691)](t[i(617)],e),this[i(691)](t[i(784)],e))}[et(691)](t,e){const i=et;return this[i(782)][i(774)][i(538)](e,t[i(769)],t[i(702)])}[et(599)](t){const e=et,i=this[e(583)][e(788)](t[e(551)][e(497)][e(763)]),s=this[e(691)](t[e(551)],i),n=null===t[e(584)]?null:t[e(584)]||this[e(782)][e(796)][e(788)](e(743)).me.id,r=s[e(786)],o=this[e(558)],a=[];for(const i of t[e(561)])if(i.is(e(589)))a[e(776)](this[e(652)](i));else for(let t=0;t<i[e(737)];t++)a[e(776)](new H.Element(e(540),{vid:this[e(558)]++}));const c=this[e(558)];for(let t=o;t<c;t++)this[e(761)][e(717)](t,{userId:n});r[e(657)](s[e(778)],a)}[et(729)](t){const e=et;(t=this[e(781)](t,this[e(583)]))[e(680)]();const i=null===t[e(584)]?null:t[e(584)]||this[e(782)][e(796)][e(788)](e(743)).me.id,s=t[e(559)](),n=s[e(786)],r=s[e(778)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(521)](e);r.is(a(589),a(540))?s[a(717)](r[a(725)](a(495)),{userId:i}):(s[a(717)](r[a(725)](a(557)),{userId:i}),t(s,r,0,r[a(556)]),s[a(717)](r[a(725)](a(519)),{userId:i}))}}(this[e(761)],n,r,r+t[e(671)])}[et(707)](t){const e=et,i=null===(t=this[e(781)](t,this[e(583)]))[e(584)]?null:t[e(584)]||this[e(782)][e(796)][e(788)](e(743)).me.id,s=t[e(805)][e(786)],n=t[e(635)][e(786)],r=s[e(725)](e(519)),o=n[e(725)](e(557));s[e(550)](e(519),n[e(725)](e(519))),n[e(550)](e(519),r),this[e(761)][e(717)](o,{userId:i}),this[e(761)][e(717)](r,{userId:i}),t[e(680)]()}[et(698)](t){const e=et,i=null===(t=this[e(781)](t,this[e(583)]))[e(584)]?null:t[e(584)]||this[e(782)][e(796)][e(788)](e(743)).me.id,s=t[e(614)],n=t[e(492)][e(786)];t[e(680)]();const r=n[e(725)](e(519)),o=t[e(701)][e(615)];if(s){const t=o[e(725)](e(519)),s=n[e(725)](e(519));n[e(550)](e(519),t),o[e(550)](e(519),s),this[e(761)][e(717)](n[e(725)](e(519)),{userId:i}),this[e(761)][e(717)](o[e(725)](e(557)),{userId:i})}else{const t=this[e(558)]++,s=this[e(558)]++;n[e(550)](e(519),t),o[e(550)](e(557),s),o[e(550)](e(519),r),this[e(761)][e(717)](t,{userId:i}),this[e(761)][e(717)](s,{userId:i})}}[et(612)](t){const e=et;if(!t[e(504)])return;const i=(t=this[e(781)](t,this[e(739)]))[e(699)]?t[e(699)][e(497)]:null,s=t[e(544)]?t[e(544)][e(497)]:null;i&&this[e(598)][e(567)](t[e(625)]),s&&this[e(598)][e(717)](t[e(625)],t[e(544)][e(741)]());const n=null===t[e(584)]?null:t[e(584)]||this[e(782)][e(796)][e(788)](e(743)).me.id,r=t[e(625)];if(!this[e(542)][e(606)](r))return void this[e(542)][e(717)](r,{range:t[e(699)],userId:n});const o=this[e(542)][e(788)](r),a=o[e(572)],c=t[e(544)];null==a&&null==c||a&&c&&a[e(590)](c)?this[e(542)][e(567)](t[e(625)]):o[e(506)]=n}[et(581)](t,e){const i=et;this[i(739)][i(606)](t[i(763)])?this[i(739)][i(788)](t[i(763)])[i(670)]=t[i(651)]:(this[i(739)][i(717)](t[i(763)],ut(t[i(763)],!0)),this[i(508)][i(717)](t[i(763)],{}),e&&this[i(583)][i(717)](t[i(763)],ut(t[i(763)],!0)));const s=null===t[i(584)]?null:t[i(584)]||this[i(782)][i(796)][i(788)](i(743)).me.id,n=this[i(742)][i(788)](t[i(763)]);n&&n[i(506)]===s?this[i(742)][i(567)](t[i(763)]):this[i(742)][i(717)](t[i(763)],{userId:s,isAttached:t[i(651)]})}[et(499)](t){const e=et,i=this[e(508)][e(788)](t[e(497)][e(763)]);null===t[e(597)]?delete i[t[e(530)]]:i[t[e(530)]]=t[e(597)]}}function at(t){const e=et,i=ut(t[e(763)],t[e(569)]());for(const s of t[e(552)]()){const t=s[e(768)](!0);i[e(712)](t)}return i}function ct(t,e){const i=it();return(ct=function(t,e){return i[t-=488]})(t,e)}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(763)]=t,s[i(670)]=e,s[i(569)]=()=>s[i(670)],s}function lt(t,e,i){const s=et,n=s(705)==t[s(493)]?i[s(539)](t[s(731)],s(784)):i[s(644)](t[s(731)]);return i[s(538)](e,n[s(769)],n[s(702)])}function ht(t,e,i){const s=et,n=s(593)==t[s(493)]?i[s(539)](t[s(731)],0):i[s(626)](t[s(731)]);return i[s(538)](e,n[s(769)],n[s(702)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;function Nt(){const t=["input","revisionName","focus","ck-responsive-form","arrowdown","trim","arrowright","fieldView","locale","extendTemplate","arrowup","element","Name of the revision","21Iezuni","arrowleft","render","220","reset","8682460KCCcLL","errorText","2821000diLdqi","ck-revision-history-save-revision-form","993231CaQCfe","197882mvZlTo","listenTo","1992736kYBdqr","form","label","add","optional","33pdRVUE","revisionNameInputView","9gNYNlB","247708FRJfBa","value","stopPropagation","set","keystrokes","setTemplate","5712666hhOtZd","revisionNameInputValue","_createRevisionNameInput","focusTracker"];return(Nt=function(){return t})()}const At=Rt;function Rt(t,e){const i=Nt();return(Rt=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=Rt,i=t();for(;;)try{if(721974===parseInt(e(385))/1+-parseInt(e(386))/2+-parseInt(e(393))/3*(parseInt(e(396))/4)+-parseInt(e(383))/5+parseInt(e(359))/6+parseInt(e(376))/7*(-parseInt(e(388))/8)+-parseInt(e(395))/9*(-parseInt(e(381))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nt);class Vt extends ft.View{[At(362)];[At(400)];[At(394)];constructor(e,i){const s=At;super(e),this[s(362)]=new t.FocusTracker,this[s(400)]=new t.KeystrokeHandler,this[s(399)](s(360),""),this[s(394)]=this[s(361)](i),this[s(358)]({tag:s(389),attributes:{class:["ck",s(384),s(366)],tabindex:"-1"},children:[this[s(394)]]}),(0,ft.injectCssTransitionDisabler)(this)}[At(378)](){const t=At;super[t(378)](),(0,ft.submitHandler)({view:this}),this[t(362)][t(391)](this[t(394)][t(374)]),this[t(400)][t(387)](this[t(374)]);const e=e=>e[t(398)]();this[t(400)][t(399)](t(369),e),this[t(400)][t(399)](t(377),e),this[t(400)][t(399)](t(373),e),this[t(400)][t(399)](t(367),e)}[At(365)](){const t=At;this[t(394)][t(365)]()}get[At(364)](){const t=At;return this[t(394)][t(370)][t(374)][t(397)][t(368)]()}set[At(364)](t){const e=At;this[e(394)][e(370)][e(374)][e(397)]=t[e(368)]()}[At(380)](){const t=At;this[t(394)][t(370)][t(374)][t(397)]="",this[t(394)][t(382)]=null}[At(361)](t){const e=At,i=new ft.LabeledFieldView(this[e(371)],ft.createLabeledInputText),s=i[e(370)];s[e(372)]({attributes:{maxlength:e(379)}});let n=G(this[e(371)],e(375));return!t&&(n+=" ("+G(this[e(371)],e(392))+")"),i[e(390)]=n,s.on(e(363),(()=>{const t=e;this[t(360)]=s[t(374)][t(397)][t(368)]()})),i}}const Mt=Et;function Et(t,e){const i=Dt();return(Et=function(t,e){return i[t-=416]})(t,e)}function Dt(){const t=["isReadOnly","isPremiumPlugin","The revision name cannot be empty.","Accept","saveRevision","revisionSave","7499223SzYyqd","menuBar:revisionHistory","componentFactory","menuitem","buttonView","items","execute","Cancel","add","addMany","Revision history","panelView","showRevisionViewerCallback","show","editor","isReady","init","editing","get","submit","pluginName","RevisionHistoryUI","isOfficialPlugin","_createSaveRevisionFormView","reset","plugins","revisionName","menu","view","revisionHistory","delegate","ck-button-action","hide","children","218251OUIcmD","render","_showDialog","focus","errorText","bind","isEnabled","4873938QdysaD","locale","revisionNameInputView","840264xtAMFn","_saveRevisionFormView","requires","isOpen","3370cyUIUC","role","config","revisionHistory.requireRevisionName","Open revision history","7673688uAYszL","set","1620aIHEeI","Save current revision","2oPFPgv","11425645KaLqNp","_registerMenuComponent","Dialog","RevisionTracker"];return(Dt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(863233===parseInt(e(436))/1*(parseInt(e(459))/2)+-parseInt(e(446))/3+parseInt(e(457))/4*(parseInt(e(450))/5)+parseInt(e(443))/6+parseInt(e(460))/7+-parseInt(e(455))/8+-parseInt(e(470))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends Z.Plugin{static get[Mt(422)](){return Mt(423)}static get[Mt(424)](){return!0}static get[Mt(465)](){return!0}static get[Mt(448)](){return[nt]}[Mt(447)];[Mt(418)](){const t=Mt,e=this[t(416)],i=e[t(427)][t(420)](t(463));e.ui[t(472)][t(478)](t(431),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(481)][n(435)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(441)](n(442)).to(i,n(417),i,n(442),e,n(464),((t,e,i)=>t&&e&&!i)),r[n(474)][n(456)]({icon:dt.IconHistory,label:G(s,n(480)),tooltip:!0}),u[n(456)]({label:G(s,n(458)),withText:!0,role:n(473)}),u[n(441)](n(442)).to(i,n(417),i,n(442),e,n(464),((t,e,i)=>t&&e&&!i)),u.on(n(476),(()=>this[n(438)]())),h[n(456)]({label:G(s,n(454)),withText:!0,role:n(473)}),h[n(441)](n(442)).to(i,n(417),e,n(464),((t,e)=>t&&!e)),h.on(n(476),(()=>{const t=n;e[t(452)][t(420)](t(431))[t(482)](),r[t(449)]=!1,e[t(419)][t(430)][t(439)]()})),c[n(435)][n(478)](u),l[n(435)][n(478)](h),a[n(451)]=n(429),a[n(475)][n(479)]([c,l]),o[n(478)](a),r})),e.ui[t(472)][t(478)](t(471),(()=>this[t(461)]()))}[Mt(461)](){const t=Mt,e=this[t(416)],i=e[t(444)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(474)][t(456)]({icon:dt.IconHistory,label:G(i,t(480))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(456)]({label:G(i,t(458))}),o[t(432)](t(476)).to(s),o.on(t(476),(()=>{this[t(438)]()})),r[t(435)][t(478)](o),n[t(475)][t(478)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(456)]({label:G(i,t(454))}),c[t(432)](t(476)).to(s),c.on(t(476),(()=>{const i=t;e[i(452)][i(420)](i(431))[i(482)]()})),a[t(435)][t(478)](c),n[t(475)][t(478)](a),s[t(481)][t(435)][t(478)](n),s}[Mt(438)](){const t=Mt,e=this[t(416)],i=e[t(444)],s=e[t(427)][t(420)](t(462)),n=e[t(427)][t(420)](t(463));function r(n){const r=t;e[r(452)][r(420)](r(453))&&""===n[r(428)]?n[r(445)][r(440)]=G(i,r(466)):(e[r(427)][r(420)](nt)[r(468)]({name:n[r(428)]}),s[r(434)]())}this[t(447)]||(this[t(425)](),this[t(447)].on(t(421),(()=>r(this[t(447)])))),this[t(447)][t(426)](),s[t(483)]({id:t(469),title:G(i,t(458)),isModal:!0,content:this[t(447)],actionButtons:[{label:G(e[t(444)],t(477)),withText:!0,onExecute:()=>s[t(434)]()},{label:G(e[t(444)],t(467)),class:t(433),withText:!0,onCreate(i){const s=t;i[s(441)](s(442)).to(n,s(417),n,s(442),e,s(464),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(447)])}]})}[Mt(425)](){const t=Mt,e=this[t(416)],i=e[t(444)];this[t(447)]=new Vt(i,e[t(452)][t(420)](t(453))),this[t(447)][t(437)]()}}const Ft=Lt;function Lt(t,e){const i=jt();return(Lt=function(t,e){return i[t-=234]})(t,e)}function jt(){const t=["_model","729468BuJZbH","type","setTemplate","div","896232ZcOzYm","154467nIehdh","ck-revision-change__","ck-annotation","18011dFxMbT","9EnnhEE","Suggested by","4190zXsaym","add","changeId","focus","9999990OpMsek","element","Removed by","data","bindTemplate","332kVQpJA","Added by","3607808CKUMbf","name","1926wJXERr","set","ck-revision-change__label","span","ck-revision-change","isSuggestion","author"];return(jt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(431499===parseInt(e(263))/1+parseInt(e(235))/2+-parseInt(e(236))/3+-parseInt(e(251))/4*(parseInt(e(242))/5)+parseInt(e(255))/6*(parseInt(e(239))/7)+-parseInt(e(253))/8*(parseInt(e(240))/9)+-parseInt(e(246))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Pt extends ft.View{[Ft(244)];[Ft(262)];constructor(t,e){const i=Ft;super(t),this[i(262)]=e,this[i(244)]=e.id;const s=this[i(250)],n=G(t,e[i(249)][i(260)]?i(241):i(243)==e[i(264)]?i(252):i(248));this[i(256)](i(264),e[i(264)]),this[i(265)]({tag:i(234),attributes:{class:[i(238),i(259),s.to(i(264),(t=>i(237)+t))],tabindex:-1},children:[{tag:i(258),children:[{tag:i(258),attributes:{class:[i(257)]},children:[{text:n}]},{text:" "+e[i(261)][i(254)]}]}]})}[Ft(245)](){const t=Ft;this[t(247)][t(245)]()}}var zt=Wt;function Wt(t,e){var i=Zt();return(Wt=function(t,e){return i[t-=414]})(t,e)}function Zt(){var t=["9876123QnfXOO","rootName","1117914aySyNH","481514ZhRsbf","6118826JGrgdX","2513696AuWpcb","3980400uizBwr","data","createdAt","set","type","4wmSynY","6479520czGMZS","5KAsacd","author","toJSON"];return(Zt=function(){return t})()}!function(t){for(var e=Wt,i=t();;)try{if(581885===-parseInt(e(428))/1*(parseInt(e(420))/2)+parseInt(e(427))/3+parseInt(e(414))/4*(-parseInt(e(422))/5)+parseInt(e(421))/6+-parseInt(e(429))/7+parseInt(e(415))/8+parseInt(e(425))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ut extends((0,t.ObservableMixin)()){id;[zt(423)];[zt(419)];[zt(416)];[zt(426)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(423)]=e[i(423)],this[i(419)]=e[i(419)],this[i(416)]=e[i(416)]||{},this[i(426)]=e[i(426)],this[i(418)](i(417),e[i(417)])}[zt(424)](){var t=zt;return{id:this.id,authorId:this[t(423)].id,type:this[t(419)],data:this[t(416)],createdAt:this[t(417)]}}}const Ht=qt;function qt(t,e){const i=$t();return(qt=function(t,e){return i[t-=289]})(t,e)}function $t(){const t=["436QipPYE","156284LSuQGo","newRevisionId","42qSnghj","347427XJpAvW","5007SlNjeO","812432LyYfpj","248024VUoWLL","oldRevisionId","4751550dDkYzD","changes","_setChanges","99815HHfqac","2jgeFDM","add"];return($t=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(101102===parseInt(e(298))/1*(-parseInt(e(295))/2)+parseInt(e(302))/3*(-parseInt(e(297))/4)+parseInt(e(294))/5*(parseInt(e(300))/6)+-parseInt(e(289))/7+-parseInt(e(303))/8+-parseInt(e(301))/9+parseInt(e(291))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[Ht(299)];[Ht(290)];[Ht(292)];constructor(e,i){const s=Ht;this[s(299)]=e,this[s(290)]=i,this[s(292)]=new t.Collection}[Ht(293)](t){const e=Ht;for(const i of t)this[e(292)][e(296)](i)}}var Yt=i(536),Gt={attributes:{"data-cke":!0}};Gt.setAttributes=wt(),Gt.insert=kt().bind(null,"head"),Gt.domAPI=gt(),Gt.insertStyleElement=It();pt()(Yt.A,Gt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Jt=Kt;function Kt(t,e){const i=se();return(Kt=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(719738===parseInt(e(410))/1+parseInt(e(550))/2+parseInt(e(647))/3*(-parseInt(e(619))/4)+-parseInt(e(510))/5+-parseInt(e(673))/6+-parseInt(e(602))/7+parseInt(e(388))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);const Qt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Xt extends Z.Plugin{[Jt(426)];[Jt(399)];[Jt(693)];[Jt(616)];[Jt(371)];[Jt(505)];static get[Jt(428)](){return Jt(408)}static get[Jt(590)](){return!0}static get[Jt(523)](){return!0}static get[Jt(463)](){return[U.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Jt;super(t),this[e(426)]=this[e(409)][e(421)][e(617)](e(626)),this[e(592)](e(528),null),this[e(592)](e(499),null),this[e(693)]=null,this[e(592)](e(594),null),this[e(592)](e(646),!1),this[e(592)](e(539),!0),this.on(e(456),((t,i,s)=>{const n=e;this[n(528)]=null,this[n(499)]=null,this[n(409)][n(534)][n(610)][n(638)]((t=>{const e=n;for(const i of this[e(409)][e(534)][e(610)][e(422)][e(407)])s?t[e(689)](e(601),i):t[e(670)](e(601),i)}))})),this[e(598)](e(478)).to(this,e(528),(t=>null!==t)),this[e(598)](e(372)).to(this,e(646),this,e(594),this,e(528),((t,i,s)=>t&&s?i[e(685)][e(419)](s):0)),this[e(598)](e(377)).to(this,e(646),this,e(594),((t,i)=>t?i[e(685)][e(682)]:0)),this[e(616)]=null,this[e(371)]=new Map,this[e(399)]=null,this[e(505)]=this[e(409)][e(421)][e(617)](ft.ContextualBalloon)}[Jt(413)](){const t=Jt,e=this[t(409)],i=new ie(e,{direction:t(568)}),s=new ie(e,{direction:t(684)});e[t(648)][t(369)](t(454),i),e[t(648)][t(369)](t(455),s),e[t(648)][t(369)](t(687),new ee(e)),this.on(t(651),(()=>{const e=t;i[e(634)](),s[e(634)]()})),this[t(509)](),this[t(361)](),e[t(683)](t(636)),e[t(421)][t(440)](t(557))&&e[t(421)][t(617)](t(557))[t(441)](t(636))}async[Jt(444)](t){const e=Jt;await this[e(623)](t);const i={};for(const s in t[e(581)]){if(t[e(581)][s][e(486)]&&!t[e(581)][s][e(486)][e(563)])continue;const n=this[e(513)](JSON[e(445)](t[e(581)][s][e(668)])),r=this[e(409)][e(534)][e(610)][e(422)],o=new H.ViewDocumentFragment(r,n[e(665)]((t=>this[e(430)](t))));this[e(409)][e(385)][e(429)][e(370)](e(521)),i[s]=this[e(409)][e(385)][e(429)][e(584)](o),this[e(409)][e(385)][e(429)][e(370)](e(629))}return i}async[Jt(395)](t){const e=Jt;await this[e(623)](t);const i={};for(const s in t[e(581)])t[e(581)][s][e(486)]&&!t[e(581)][s][e(486)][e(563)]||(i[s]=t[e(581)][s][e(492)]||{});return i}[Jt(513)](t){const e=Jt;return(t=t[e(517)]((t=>!t[e(627)]||e(394)!==t[e(627)]&&e(479)!==t[e(627)])))[e(640)]((t=>{const i=e;i(359)!=typeof t&&(t[i(558)]=this[i(513)](t[i(558)]),t[i(443)]=t[i(443)][i(517)]((t=>!t[0][i(500)](i(502)))))})),t}async[Jt(484)](t,e,i=!1){const s=Jt;if(!this[s(539)])return;const n=this[s(594)],r=this[s(426)],o=s(359)==typeof t?r[s(487)](t):t,a=s(359)==typeof e?r[s(487)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(594)]&&this[s(594)][s(375)]===c&&this[s(594)][s(475)]===u)return Promise[s(549)]();this[s(646)]=!1,this[s(499)]=null,this[s(528)]=null,this[s(594)]=new Bt(c,u);const l=this[s(633)](o,a,!0)[s(665)]((t=>this[s(623)](t)));return l[s(406)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(593)](l)[s(400)]((()=>{const t=s;if(!this[t(539)])return;this[t(482)]();const e=this[t(418)](c,u);for(const i of e[t(685)])this[t(371)][t(592)](i.id,i);this[t(409)][t(383)][t(564)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(409)][s(383)][s(422)][s(681)]())i[s(530)](t);for(const t of Object[s(650)](e[s(383)])){const n=i[s(490)](t);for(const r of Object[s(650)](e[s(443)][t]))i[s(541)](r,e[s(443)][t][r],n);i[s(561)](e[s(383)][t],n,0)}})),this[t(594)][t(362)](this[t(468)](e[t(685)])),this[t(646)]=!0}))[s(391)]((t=>{const e=s;console[e(493)](t),this[e(482)](),n&&(this[e(594)]=n),this[e(646)]=!0}))}[Jt(576)](t,e){const i=Jt,s=this[i(426)][i(631)](t);return s.on(i(553),((t,i,n)=>e(i,n,s))),this[i(426)][i(423)](s),s}[Jt(623)](t){const e=Jt;if(!t||t[e(581)])return Promise[e(549)]();{const i=this[e(409)][e(434)][e(617)](e(403));return this[e(399)][e(487)]({channelId:i,revisionId:t.id})[e(400)]((i=>{const s=e;t[s(553)]({diffData:i[s(581)]},!0)}))}}[Jt(482)](){const t=Jt;this[t(528)]=null,this[t(645)](),this[t(616)]&&this[t(616)][t(604)](),this[t(616)]=null,this[t(371)][t(614)](),this[t(409)][t(383)][t(564)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(409)][i(383)][i(422)][i(681)]())e[i(530)](t)}))}[Jt(468)](t){const e=Jt,i=[],s=new Map;for(const t of this[e(409)][e(383)][e(422)][e(681)]()){const n=this[e(409)][e(534)][e(610)][e(611)](t);if(!n)continue;const r=n[e(680)]()[e(661)](0);r&&(i[e(406)](t),s[e(592)](t,r))}return i[e(658)](((t,i)=>{const n=e,r=s[n(617)](t),o=s[n(617)](i);return r.y-o.y||r.x-o.x})),(t=t[e(517)]((t=>i[e(609)](t[e(653)]))))[e(658)](((t,s)=>i[e(690)](t[e(653)])-i[e(690)](s[e(653)]))),t}[Jt(522)](t){const e=Jt,i=Array[e(518)](t[e(431)])[e(517)]((([t,i])=>t[e(500)](e(583))&&!i[e(448)])),s=Array[e(518)](this[e(409)][e(383)][e(488)](t)[e(373)]({singleCharacters:!0}));if(0!=i[e(682)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(495)](":");if(n[e(666)][e(501)](t[e(512)])&&i[e(465)](),(t[e(649)][e(501)](n[e(504)])||t[e(649)][e(675)](n[e(504)]))&&(e(669)==r?t[e(498)]={userId:o}:e(538)==r&&(t[e(624)]={userId:o})),0==i[e(682)])break}return s}[Jt(537)](t){const e=Jt,i=new Map;for(let s=0;s<t[e(682)];s++)e(462)===t[s][e(586)]?(t[s][e(661)][e(595)]=s,t[s][e(661)][e(572)]=s):(e(470)===t[s][e(586)]?t[s][e(661)][e(595)]=s:e(691)===t[s][e(586)]&&(t[s][e(661)][e(572)]=s),i[e(592)](t[s].id,s));for(const s of i[e(389)]())e(470)===t[s][e(586)]?t[s][e(661)][e(572)]=i[e(617)](t[s][e(464)]):e(691)===t[s][e(586)]&&(t[s][e(661)][e(595)]=i[e(617)](t[s][e(464)]))}[Jt(615)](t){const e=Jt;for(let i=0;i<t[e(682)];i++){if(e(470)===t[i][e(586)])t[i][e(661)][e(595)]=i;else if(e(691)===t[i][e(586)]){t[i][e(661)][e(572)]=i;const s=t[i][e(661)][e(595)];t[s][e(464)]=t[i].id,t[i][e(464)]=t[s].id}else t[i][e(661)][e(595)]=i,t[i][e(661)][e(572)]=i,t[i][e(464)]=null;t[i][e(379)]||(t[i][e(379)]=[],t[i][e(449)]=[])}}[Jt(540)](t,e){const i=Jt,s=t[i(517)]((t=>!t[i(498)]));for(let t=0;t<e[i(682)];t++)e[t][i(498)]&&(s[t][i(498)]=e[t][i(498)])}[Jt(613)](t){const e=Jt,i=JSON[e(445)](t),s=this[e(409)][e(534)][e(610)][e(422)],n=new H.ViewDocumentFragment(s,i[e(665)]((t=>this[e(430)](t))));return this[e(409)][e(385)][e(556)](n)}[Jt(430)](t){const e=Jt,i=this[e(409)][e(534)][e(610)][e(422)];if(e(359)==typeof t)return new H.ViewText(i,t);{const s=t[e(558)][e(665)]((t=>this[e(430)](t)));return new(Qt[t[e(586)]]||H.ViewElement)(i,t[e(627)],t[e(443)],s)}}[Jt(418)](t,e=null){const i=Jt,s=this[i(426)][i(487)](t),n=e?this[i(426)][i(487)](e):null,r=this[i(633)](s,n),o=r[r[i(682)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(682)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(650)](e[i(581)]))if(e[i(581)][t][i(486)]){const s=e[i(581)][t][i(486)];s[i(563)]?(u[i(369)](t),l[i(440)](t)&&l[i(617)](t)[i(641)]==s[i(641)]?l[i(386)](t):l[i(592)](t,s)):l[i(440)](t)?(u[i(386)](t),l[i(386)](t)):(u[i(369)](t),l[i(592)](t,s))}else u[i(369)](t)}for(const t of u){const e=l[i(440)](t)&&!l[i(617)](t)[i(563)];let s=e?r[i(682)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(581)][t]){const s=e?o[i(581)][t][i(671)]:o[i(581)][t][i(492)];c[i(443)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(383)]={};for(const e of t[i(599)])a[i(592)](e.id,e);for(const e of u){const s=t[i(581)][e]?t[i(581)][e][i(668)]:"[]",n=t[i(581)][e]?t[i(581)][e][i(664)]:"[]";t[i(383)][e]={insertions:this[i(613)](s),deletions:this[i(613)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(518)](s[i(383)][t][i(668)][i(431)])[i(517)]((([t])=>!t[i(500)](i(583)))));let h=0;for(const o of r){const r=this[i(522)](o[i(383)][t][i(668)]);o==s?(e=r,n=e[i(682)],e[i(640)]((t=>{t.id=h++})),this[i(615)](e)):this[i(540)](e,r);const a=e[i(517)]((t=>!t[i(498)]))[i(665)]((t=>t.id));let c=0;const l=this[i(522)](o[i(383)][t][i(664)]);l[i(640)]((t=>{t[i(624)]?t.id=n++:t.id=a[c++]})),this[i(615)](l),this[i(461)](e,i(498)),this[i(461)](l,i(624)),o==s&&this[i(571)](e,u),e=this[i(489)](e,l),this[i(537)](e),this[i(461)](e,i(624))}e=e[i(517)]((t=>!(t[i(498)]&&t[i(624)])));const d=new Map(o[i(383)][t][i(664)][i(431)]),f=new Set(u[i(650)]());for(const t of d[i(650)]())f[i(386)](t);this[i(536)](e,f),this[i(603)](e),e=this[i(580)](e),e=this[i(471)](e),e=this[i(494)](e);const{root:m,changes:p}=this[i(411)](e,a,t);c[i(383)][t]=m;const v=l[i(617)](t);if(v){const e=a[i(617)](v[i(641)]),s=new Ut({author:e,type:v[i(563)]?i(369):i(415),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(632)](s),c[i(443)][t][i(491)]=s.id}c[i(685)]=c[i(685)][i(435)](p)}return c}[Jt(571)](t,e){const i=Jt;for(let s=0;s<t[i(682)];s++)for(const[n,r]of e)r[i(504)][i(501)](t[s][i(649)])&&t[s][i(379)][i(406)](n),r[i(666)][i(501)](t[s][i(512)])&&t[s][i(449)][i(406)](n)}[Jt(489)](t,e){const i=Jt;let s=[],n=0,r=0;for(;n<t[i(682)]||r<e[i(682)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(406)](o);else if(a[i(624)]&&o[i(498)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(559)](t,n,e,r);s=s[i(435)](o),n=a,r=c}else a[i(624)]?(r++,s[i(406)](a)):(n++,s[i(406)](o))}return s}[Jt(536)](t,e){const i=Jt,s=[];for(let o=0;o<t[i(682)];o++){for(let r=0;r<t[o][i(379)][i(682)];r++){const a=t[o][i(379)][r];if(!e[i(440)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(567)!=c||i(669)!=u&&i(538)!=u||(s[i(632)]({type:u,name:a,userId:l}),t[o][i(379)][i(551)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(449)][i(682)];r++){const a=t[o][i(449)][r];if(!e[i(440)](a))continue;const{group:c,type:u}=n(a);if(i(567)!=c||i(669)!=u&&i(538)!=u)continue;t[o][i(449)][i(551)](r,1),r--;const l=s[i(497)]((t=>t[i(627)]==a));l>-1&&s[i(551)](l,1)}}function n(t){const e=i,s=t[e(495)](":");return{group:s[0],type:s[1],subType:s[e(682)]>=5?s[2]:null,id:s[e(682)]<5?s[2]:s[3],authorId:s[e(682)]<5?s[3]:s[4],markerCount:6==s[e(682)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(682)];i++){if(t[e(498)]&&e(669)==s[i][e(586)])return t[e(635)]=s[i],void delete t[e(498)];if(!t[e(498)]&&!t[e(624)]&&e(538)==s[i][e(586)])return void(t[e(473)]=s[i])}}}[Jt(461)](t,e){const i=Jt;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(592)](o.id,s);for(let s=0;s<t[i(682)];s++){if(i(624)==e&&t[s][i(498)]||i(498)==e&&t[s][i(624)])continue;if(i(462)==t[s][i(586)]){t[s][i(694)]=0;continue}const n=r[i(617)](t[s][i(464)]),o=r[i(617)](t[s].id);t[s][i(694)]=n-o}}[Jt(633)](t,e,i=!1){const s=Jt,n=[];let r=this[s(426)][s(419)](t),o=this[s(426)][s(419)](e);for(-1==o&&(o=this[s(426)][s(432)][s(682)],i=!1);r<o;)n[s(406)](this[s(426)][s(487)](r)),r++;return i&&n[s(406)](this[s(426)][s(487)](r)),n}[Jt(559)](t,e,i,s){const n=Jt,r=this[n(409)][n(383)][n(587)];let o=e;for(;t[o]&&t[o][n(498)];)o++;let a=s;for(;i[a]&&i[a][n(624)];)a++;u(t,e,o),u(i,s,a);const c=i[n(506)](s,a)[n(435)](t[n(506)](e,o));return c[n(658)](((t,e)=>t[n(508)]!=e[n(508)]?t[n(508)]-e[n(508)]:t[n(542)]!=e[n(542)]?t[n(542)]-e[n(542)]:t[n(694)]!=e[n(694)]?e[n(694)]-t[n(694)]:!!t[n(498)]!=!!e[n(498)]?-1==t[n(508)]||0==t[n(508)]?t[n(498)]?-1:1:t[n(498)]?1:-1:t[n(458)]-e[n(458)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(519)],c=!0;for(let n=e;n<i;n++)if(r[s(656)](t[n][s(661)])||(c=!1),t[n][s(661)][s(595)]<e&&(o=n),t[n][s(661)][s(572)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(508)]=n<=o?-1:n<a?0:1,t[n][s(458)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(694)]?t[i][s(542)]=u:(u++,t[i][s(542)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(508)]&&(t[n][s(542)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(694)]?t[e][s(542)]=u:(u--,t[e][s(542)]=u,u--)}}[Jt(603)](t){const e=Jt,i=new Map,s=this[e(409)][e(383)][e(587)];for(let n=1;n<t[e(682)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(462)==c[e(586)])continue;if(c[e(586)]!=u[e(586)])continue;if(!s[e(679)](u[e(661)])||s[e(460)](u[e(661)]))continue;if(!s[e(679)](c[e(661)])||s[e(460)](c[e(661)]))continue;if((t[n][e(498)]||t[n][e(635)])&&t[n-1][e(624)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(624)]||!t[n-1][e(498)]&&!t[n-1][e(635)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(542)]==o[e(542)],h=Math[e(662)](r[e(542)])<Math[e(662)](o[e(542)])&&0==o[e(694)];(l||h)&&(i[e(592)](o.id,r.id),t[e(551)](a,1),n--,r[e(498)]=!1)}for(let s=0;s<t[e(682)];s++)i[e(440)](t[s][e(464)])&&(t[s][e(464)]=i[e(617)](t[s][e(464)]))}[Jt(580)](t){const e=Jt,i=new Set(t[e(665)]((t=>t.id)));for(let s=0;s<t[e(682)];s++)i[e(440)](t[s][e(464)])||0==t[s][e(694)]||(t[s][e(552)]=!0);return t[e(517)]((t=>!t[e(552)]))}[Jt(471)](t){const e=Jt,i=new Set;for(let s=0;s<t[e(682)];s++){if(i[e(440)](t[s].id)&&t[s][e(624)]&&(t[s][e(552)]=!0),t[s][e(552)])continue;if(0==t[s][e(694)])continue;if(e(470)!=t[s][e(586)])continue;if(null==t[s][e(464)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(464)];)e(470)==t[n][e(586)]?r++:e(691)==t[n][e(586)]&&r--,n++;if(0!=r)if(t[s][e(624)])t[s][e(552)]=!0;else for(;n!=s;)t[n][e(624)]&&0!=t[n][e(694)]&&(t[n][e(552)]=!0,i[e(369)](t[n][e(464)])),n--}return t[e(517)]((t=>!t[e(552)]))}[Jt(494)](t){const e=Jt,i=this[e(409)][e(383)][e(587)];for(let s=0;s<t[e(682)];s++){if(!(t[s][e(498)]||t[s][e(635)]||t[s][e(624)]||t[s][e(473)]))continue;if(0==t[s][e(694)])continue;const n=t[s][e(661)];i[e(679)](n)||i[e(460)](n)||(t[s][e(498)]&&delete t[s][e(498)],t[s][e(635)]&&delete t[s][e(635)],t[s][e(473)]&&delete t[s][e(473)],t[s][e(624)]&&(t[s][e(552)]=!0))}return t[e(517)]((t=>!t[e(552)]))}[Jt(411)](t,e,i){const s=Jt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(409)][s(383)],c=a[s(587)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(682)];e++)if(s(470)===t[e][s(586)]){t[e][s(649)]=a[s(516)](n,f);const i=new H.Element(t[e][s(661)][s(627)],t[e][s(661)][s(511)]());u[0][s(533)](i),f[s(406)](0),u[s(632)](i),t[e][s(512)]=a[s(516)](n,f)}else s(691)===t[e][s(586)]?(u[s(465)](),t[e][s(649)]=a[s(516)](n,f),f[s(569)](),f[f[s(682)]-1]++,t[e][s(512)]=a[s(516)](n,f)):(t[e][s(649)]=a[s(516)](n,f),d?d[s(402)]+=t[e][s(661)][s(385)]:d=new H.Text(t[e][s(661)][s(385)],t[e][s(661)][s(511)]()),t[e+1]&&s(462)===t[e+1][s(586)]&&v(d,t[e+1][s(661)])||(u[0][s(533)](d),d=null),f[f[s(682)]-1]+=t[e][s(661)][s(396)],t[e][s(512)]=a[s(516)](n,f));for(let e=0;e<t[s(682)];e++){const i=t[e][s(649)],n=t[e][s(512)];for(const n of t[e][s(379)])o[s(592)](n,{start:i,end:null});m(s(473),e,i,n),m(s(635),e,i,n),m(s(624),e,i,n),m(s(498),e,i,n);for(const i of t[e][s(449)])o[s(617)](i)[s(666)]=n}for(const[t,e]of o){const i=this[s(409)][s(383)][s(477)](e[s(504)],e[s(666)]);n[s(431)][s(592)](t,i)}return r[s(658)](((t,e)=>{const i=s,r=n[i(431)][i(617)](i(583)+t.id),o=n[i(431)][i(617)](i(583)+e.id);return r[i(504)][i(446)](o[i(504)])?-1:r[i(504)][i(675)](o[i(504)])?1:r[i(666)][i(446)](o[i(666)])?-1:r[i(666)][i(675)](o[i(666)])?1:i(369)===t[i(586)]?-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(641)]:null,d=i===t[o(682)]-1,f=h[e][0],m=c[o(427)](t[i][o(661)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(666)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(641)]!==u&&(l[e][o(666)]=n,f&&f[o(641)]===l[e][o(641)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(470)!==t[i][o(586)]||f&&f[o(641)]===u||h[e][o(632)]({userId:u,object:t[i][o(661)],change:l[e]}),o(691)===t[i][o(586)]&&f&&f[o(578)]===t[i][o(661)]&&(h[e][o(465)](),l[e]=f[o(638)])),l[e]&&d&&(l[e][o(666)]=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(661)],f=a[h(587)][h(679)](d)&&!a[h(587)][h(460)](d),m=t[h(529)]==o[h(573)]&&o[h(676)];if(f&&m)return;const p=a[h(477)](t,o),v=e[h(617)](u),g=new Ut({author:v,type:h(498)==l||h(635)==l?h(369):h(415),data:{isSuggestion:h(635)==l||h(473)==l},createdAt:new Date,rootName:i});r[h(406)](g),n[h(431)][h(592)](h(583)+g.id,p)}function v(t,e){const i=s,n=t[i(511)](),r=e[i(511)]();for(const t of n){if(t[1]!==e[i(692)](t[0]))return!1;r[i(466)]()}return r[i(466)]()[i(481)]}}[Jt(509)](){const t=Jt;this[t(409)][t(532)][t(467)](t(585))[t(452)]({view:t(527)}),this[t(409)][t(532)][t(467)](t(474))[t(390)]({model:t(527),view:e=>{const i=t,s=e[i(535)][i(495)](":")[1],n=this[i(565)](s);if(!n)return null;const r=i(369)==n[i(586)]?i(669):i(538),o=[i(367),i(674)+r];return n[i(385)][i(425)]&&o[i(406)](i(674)+r+i(574)),this[i(528)]==n&&o[i(406)](i(387)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(409)][t(532)][t(467)](t(585))[t(369)]((e=>{const i=t;e.on(i(374),((t,e,s)=>{const n=i,r=e[n(639)][n(392)](0);if(!r||!r.is(n(659),n(433)))return;if(!s[n(417)][n(591)](r,{attributes:[n(416),n(577)]}))return;const o=e[n(625)][n(504)][n(529)];s[n(642)][n(541)](n(416),r[n(692)](n(416)),o),s[n(642)][n(541)](n(577),r[n(692)](n(577)),o)}),{priority:i(608)})})),this[t(409)][t(532)][t(467)](t(585))[t(369)]((e=>{const i=t;e.on(i(659),((t,e,s)=>{const n=i;if(!s[n(417)][n(591)](e[n(639)],{attributes:[n(416),n(577)]}))return;if(e[n(625)][n(448)])return;const r=e[n(625)][n(504)][n(529)];r[n(667)](n(416))||r[n(667)](n(365))||(s[n(642)][n(541)](n(416),e[n(639)][n(692)](n(416)),r),s[n(642)][n(541)](n(577),e[n(639)][n(692)](n(577)),r))}),{priority:i(608)})})),this[t(409)][t(532)][t(467)](t(585))[t(548)]({view:{name:t(524),attributes:{vid:!0}},model:{key:t(365),value:e=>e[t(692)](t(365))}}),this[t(409)][t(383)][t(587)].on(t(654),((e,[,i])=>{const s=t;[s(416),s(577),s(365)][s(609)](i)&&(e[s(469)]=!0,e[s(376)]())}),{priority:t(363)}),this[t(409)][t(532)][t(467)](t(380))[t(369)]((e=>{const i=t;e.on(i(503),((t,e,s)=>{const n=i;if(" "!=e[n(661)][n(385)]||e[n(661)][n(573)][n(677)]>1)return;if(!s[n(417)][n(591)](e[n(661)],t[n(627)]))return;const r=s[n(642)],o=s[n(412)][n(663)](e[n(378)]);r[n(360)](o,r[n(424)](n(524)))}))})),this[t(409)][t(532)][t(467)](t(380))[t(483)]({model:t(527)}),this[t(409)][t(534)][t(618)].on(t(397),function(e){const i=t,s=e[i(421)][i(617)](i(408));return(t,n,r)=>{const o=i,a=n[o(535)][o(495)](":")[1],c=s[o(565)](a);if(!c)return null;const u=o(369)==c[o(586)]?o(495):o(566);if(!r[o(417)][o(480)](n[o(622)],t[o(627)]))return;const l=n[o(622)][o(373)](),h=n[o(622)][o(504)],d=e[o(383)][o(587)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(661)];p=p||d[o(404)](e);const i=r[o(412)][o(393)](e);if(i&&i[o(398)](o(438)))return;o(691)==t[o(586)]&&d[o(679)](e)&&!d[o(460)](e)&&(e[o(657)]||h[o(588)]?f&&f[o(573)]==e||(f=e,g(t[o(649)]),v=!0):m=m||t[o(649)])}function g(t){const e=o,i=r[e(642)][e(688)](e(524),{class:e(674)+u}),a=r[e(412)][e(554)](t);c[e(385)][e(425)]&&r[e(642)][e(670)](e(674)+u+e(574),i),s[e(528)]==c&&r[e(642)][e(670)](e(387),i),r[e(642)][e(561)](a,i),r[e(412)][e(660)](i,n[e(535)])}p||v||!m||g(m)}}(this[t(409)]),{priority:t(544)}),this[t(409)][t(534)][t(618)].on(t(450),((e,i,s)=>{const n=t,r=s[n(412)][n(630)](i[n(535)]);if(r)for(const t of r)(t[n(366)](n(439))||t[n(366)](n(579)))&&(s[n(412)][n(582)](t,i[n(535)]),s[n(642)][n(415)](t))}),{priority:t(544)}),this[t(409)][t(534)][t(618)].on(t(397),((e,i,s)=>{const n=t,r=i[n(535)][n(495)](":")[1],o=this[n(565)](r);if(!o)return null;const a=n(369)==o[n(586)]?n(495):n(566);if(s[n(417)][n(480)](i[n(622)],e[n(627)]))for(const t of i[n(622)][n(485)]()){if(!t.is(n(659),n(514)))continue;const e=s[n(642)][n(688)](n(524),{class:n(674)+a}),r=s[n(412)][n(554)](this[n(409)][n(383)][n(414)](t));o[n(385)][n(425)]&&s[n(642)][n(670)](n(674)+a+n(574),e),this[n(528)]==o&&s[n(642)][n(670)](n(387),e),s[n(642)][n(561)](r,e),s[n(412)][n(660)](e,i[n(535)])}}),{priority:t(544)}),this[t(409)][t(383)][t(422)].on(t(638),(()=>{const e=t;this[e(409)][e(534)][e(610)][e(638)]((t=>{const i=e;for(const e of this[i(409)][i(383)][i(422)][i(681)]()){const s=this[i(409)][i(383)][i(422)][i(606)](e),n=this[i(409)][i(534)][i(610)][i(422)][i(606)](e);if(n){const e=s[i(692)](i(491));if(t[i(442)](i(672),n),t[i(689)](i(364),n),t[i(689)](i(678),n),t[i(689)](i(643),n),e){const s=this[i(565)](e);if(!s)return null;t[i(541)](i(672),e,n),t[i(670)](i(368)+s[i(586)],n),this[i(528)]==s&&t[i(670)](i(643),n)}}}}))})),this[t(409)][t(532)][t(467)](t(585))[t(452)]({view:t(652),model:e=>t(384)+e,converterPriority:t(363)}),this[t(409)][t(532)][t(467)](t(585))[t(452)]({view:t(525),model:e=>t(459)+e,converterPriority:t(363)}),this[t(409)][t(532)][t(467)](t(380))[t(483)]({model:t(567),view:e=>({name:t(620)+e,group:t(567)}),converterPriority:t(363)}),this[t(409)][t(532)][t(467)](t(474))[t(390)]({model:t(567),view:e=>{const i=t,s=e[i(535)][i(495)](":")[1];return i(669)!=s&&i(538)!=s?null:{classes:[i(686),i(607)+s]}}}),this[t(409)][t(534)][t(618)].on(t(575),te(this[t(409)],t(566)),{priority:t(544)}),this[t(409)][t(534)][t(618)].on(t(405),te(this[t(409)],t(495)),{priority:t(544)}),this[t(409)][t(534)][t(618)].on(t(546),((e,i,s)=>{const n=t,r=s[n(412)][n(630)](i[n(535)]);if(r)for(const t of r)t.is(n(555))&&(s[n(412)][n(582)](t,i[n(535)]),s[n(642)][n(415)](t))}),{priority:t(544)})}[Jt(565)](t){const e=Jt;return this[e(371)][e(617)](t)}[Jt(612)](t){const e=Jt;return this[e(616)]&&this[e(616)][e(604)](),this[e(616)]=new Pt(this[e(409)][e(453)],t),this[e(616)]}[Jt(361)](){const t=Jt;this[t(409)][t(383)][t(422)][t(401)][t(655)](t(527)),this.on(t(457),((e,i,s,n)=>{const r=t;n&&this[r(505)][r(415)](n),s&&(this[r(505)][r(369)]({view:s,stackId:r(447),position:{target:()=>{const t=r,e=this[t(409)][t(534)],i=this[t(565)](s[t(637)]);let n;if(i[t(385)][t(605)]){const s=e[t(610)][t(611)](i[t(653)]);n=Array[t(518)](s[t(680)]())}else{const i=this[t(409)][t(383)][t(431)][t(617)](t(583)+s[t(637)]);n=Array[t(518)](e[t(412)][t(630)](i[t(627)]))[t(665)]((i=>e[t(610)][t(507)][t(476)](i)))[t(665)]((e=>Array[t(518)](e[t(680)]())))[t(597)]()}return this[t(693)]&&n[t(545)]((e=>e[t(436)]-3<=this[t(693)].y&&e[t(547)]+3>=this[t(693)].y&&e[t(520)]-3<=this[t(693)].x&&e[t(496)]+3>=this[t(693)].x))||n[0]}}}),this[r(505)][r(600)](r(447)))})),this.on(t(526),((e,i,s,n)=>{const r=t;this[r(499)]=s?this[r(612)](s):null,this[r(409)][r(383)][r(638)]((()=>{const t=r,e=this[t(409)][t(534)];n&&(n[t(385)][t(605)]?e[t(610)][t(638)]((i=>{const s=t;i[s(689)](s(643),e[s(610)][s(422)][s(606)](n[s(653)]))})):e[t(420)](t(583)+n.id)),s&&(s[t(385)][t(605)]?e[t(610)][t(638)]((i=>{const n=t;i[n(670)](n(643),e[n(610)][n(422)][n(606)](s[n(653)]))})):e[t(420)](t(583)+s.id))}))})),this[t(570)](this[t(409)][t(534)][t(610)][t(422)],t(596),((e,i)=>{const s=t;if(this[s(528)])return;const n=this[s(382)](i[s(589)]),r=this[s(371)][s(617)](n);r?(this[s(693)]={x:i[s(543)].x,y:i[s(543)].y},this[s(499)]=this[s(612)](r)):(this[s(693)]=null,this[s(499)]=null)})),this[t(570)](this[t(409)][t(534)][t(610)][t(422)],t(381),((e,i)=>{const s=t,n=this[s(382)](i[s(589)]),r=this[s(371)][s(617)](n);r?(this[s(693)]={x:i[s(543)].x,y:i[s(543)].y},r===this[s(528)]?this[s(505)][s(562)]():this[s(528)]=r):(this[s(693)]=null,this[s(528)]=null)}))}[Jt(382)](t){const e=Jt;do{const i=t[e(692)](e(672));if(i)return i;t=t[e(573)]}while(t);return null}[Jt(645)](){const t=Jt;this[t(409)][t(383)][t(638)]((e=>{const i=t;for(const t of this[i(409)][i(383)][i(431)])e[i(472)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(417)][r(480)](s[r(622)],i[r(627)]))return;const o=s[r(622)][r(373)](),a=s[r(622)][r(504)],c=t[r(383)][r(587)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(661)];h=h||c[r(404)](e);const i=n[r(412)][r(393)](e);if(i&&i[r(398)](r(438)))return;r(691)==t[r(586)]&&c[r(679)](e)&&!c[r(460)](e)&&(e[r(657)]||a[r(588)]?u&&u[r(573)]==e||(u=e,f(t[r(649)]),d=!0):l=l||t[r(649)])}function f(t){const i=r,o=n[i(412)][i(554)](t),a=n[i(642)][i(688)](i(524),{class:i(607)+e});n[i(642)][i(561)](o,a),n[i(412)][i(660)](a,s[i(535)])}h||d||!l||f(l)}}class ee extends Z.Command{constructor(t){const e=Jt;super(t);const i=t[e(421)][e(617)](Xt);this[e(515)]=!1,this[e(570)](i,e(451),(()=>this[e(634)]())),this[e(570)](i,e(456),(()=>this[e(634)]()))}[Jt(621)](){const t=Jt,e=this[t(409)],i=e[t(421)][t(617)](Xt),s=i[t(646)]?i[t(594)][t(375)]:null;e[t(434)][t(617)](t(644))[t(437)](s)}[Jt(634)](){const t=Jt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(409)][t(421)][t(617)](Xt),r=n&&s[t(560)](n[t(375)]);this[t(539)]=e&&i&&Boolean(r)}}class ie extends Z.Command{[Jt(531)];constructor(t,{direction:e}){const i=Jt;super(t);const s=t[i(421)][i(617)](Xt);this[i(515)]=!1,this[i(531)]=i(684)===e?1:-1,this[i(570)](s,i(451),(()=>this[i(634)]())),this[i(570)](s,i(456),(()=>this[i(634)]())),this[i(570)](s,i(526),(()=>this[i(634)]()))}[Jt(621)](){const e=Jt,i=this[e(409)],s=i[e(421)][e(617)](Xt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(528)]=n?s[e(594)][e(685)][e(617)](r+this[e(531)]):s[e(594)][e(685)][e(628)],s[e(528)][e(385)][e(605)])o=i[e(534)][e(610)][e(611)](s[e(528)][e(653)]);else{const t=i[e(383)][e(431)][e(617)](e(583)+s[e(528)].id);o=(0,U.getMarkerDomElement)(i[e(534)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Jt(634)](){const t=Jt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(409)][t(421)][t(617)](Xt);this[t(539)]=!!(r&&n&&s)&&(!e||(1===this[t(531)]?i<s-1:i>0))}}function se(){const t=["marked","_makeTape","isPremiumPlugin","span","suggestion","change:activeChange","revision","activeChange","nodeAfter","detachRoot","_step","conversion","_appendChild","editing","markerName","_markSuggestions","_refreshStartEndIndex","deletion","isEnabled","_markInsertions","setAttribute","level","domEvent","high","find","removeMarker:revision-suggestion","bottom","elementToAttribute","resolve","2649164vRuVbH","splice","isIncorrect","_update","toViewPosition","uiElement","toModel","WidgetToolbarRepository","children","_threeWayMerge","getLaterVisibleRevision","insert","updatePosition","isAttached","enqueueChange","_getChangeFromId","merge","revision-suggestion","backward","pop","listenTo","_markMarkers","endIndex","parent","-new","addMarker:revision-suggestion:deletion","addRevisionData","vid_end","object","ck-suggestion-marker-merge","_removeMissingPairs","diffData","unbindElementFromMarkerName","revision:","toData","upcast","type","schema","isAtEnd","target","isOfficialPlugin","consume","set","all","diff","startIndex","mouseover","flat","bind","authors","showStack","ck-editor__editable__overlay","6110216eOyckA","_fixObsoleteTags","destroy","isOnRoot","getRoot","ck-suggestion-preview-marker-","low","includes","view","getDomRoot","_getViewForChange","_makeModelFromViewString","clear","_processTape","_changeView","get","downcastDispatcher","1105672FaTLYP","suggestion:","execute","markerRange","loadRevisionData","isRemoved","modelRange","RevisionsRepository","name","first","default","markerNameToElements","createRevision","unshift","_getRevisionsRange","refresh","isAddSuggestion","revision-viewer","changeId","change","viewItem","forEach","userId","writer","ck-revision-history-root--active","revisionHistory","_cleanMarkers","isReady","6FpZETg","commands","previousPosition","keys","change:numberOfChanges","comment","rootName","checkAttribute","observeMarkers","isInline","nextSibling","sort","element","bindElementToMarker","item","abs","toViewRange","deletions","map","end","hasAttribute","insertions","insertion","addClass","attributesBefore","data-change-id","4382592cmxGCO","ck-suggestion-marker-","isAfter","isAtStart","maxOffset","ck-revision-history-root-remove","isBlock","getClientRects","getRootNames","length","enableReadOnlyMode","forward","changes","ck-suggestion-preview-marker","restoreRevision","createUIElement","removeClass","indexOf","elementEnd","getAttribute","_activeViewTarget","distance","string","wrap","_initInteractions","_setChanges","highest","ck-revision-history-root-add","vid","hasClass","ck-suggestion-marker","ck-revision-history-root-","add","useFillerType","_changeIdToChange","currentChangeNumber","getWalker","element:pre","newRevisionId","stop","numberOfChanges","range","markersStart","dataDowncast","mousedown","_findChangeIdFromDomTarget","model","revision-comment:","data","delete","ck-suggestion-marker--active","11791848hrvJVX","values","markerToHighlight","catch","getChild","toViewElement","revision-start","getRevisionRootsAttributes","offsetSize","addMarker:revision","getCustomProperty","adapter","then","selection","_data","collaboration.channelId","isContent","addMarker:revision-suggestion:insertion","push","roots","RevisionViewer","editor","764510ikCquk","_makeModelFromTape","mapper","init","createPositionBefore","remove","vid_start","consumable","_getDiff","getIndex","reconvertMarker","plugins","document","addRevision","createAttributeElement","isSuggestion","repository","isObject","pluginName","processor","_getViewObj","markers","_revisions","code","config","concat","top","restoreRevisionCallback","addHighlight","ck-suggestion-marker-split","has","forceDisabled","removeAttribute","attributes","getRevisionData","parse","isBefore","revisionHistoryLabel","isCollapsed","markersEnd","removeMarker:revision","change:isReady","dataToMarker","locale","showPreviousChange","showNextChange","change:isEnabled","change:activeView","index","revision-suggestion:","isLimit","_setDistance","text","requires","pairId","shift","next","for","_sortAndFilterDiffChanges","return","elementStart","_markMismatchedRemovedTags","removeMarker","isRemoveSuggestion","editingDowncast","oldRevisionId","mapViewToDom","createRange","isNavigationMode","revision-end","test","done","_cleanUp","markerToData","compare","getItems","attachChange","getRevision","createRangeIn","_joinTapes","addRoot","revisionHistoryAttachChange","attributesAfter","error","_removeUnsupportedChanges","split","right","findIndex","isAdded","activeView","startsWith","isEqual","data-revision-","attribute:vid","start","_balloon","slice","domConverter","side","_setConversion","3435895vTuRsP","getAttributes","nextPosition","_removeRevisionMarkers","softBreak","affectsData","createPositionFromPath","filter","from","POSITIVE_INFINITY","left"];return(se=function(){return t})()}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=381]})(t,e)}function ae(){const t=["X_OF_Y_CHANGES","forward","numberOfChanges","backward","4vltfQE","fire","No changes","Show previous change","474FeOjfa","isNavigationMode","11541qskEOj","set","_statusText","134491nhLved","isEnabled","div","5544055zHWwnu","ck-revision-history-ui__changes-navigation__wrapper","123704OQSeHq","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","16388496RekDOa","setTemplate","EDIT_X_OF_Y_REVISIONS","bindTemplate","currentChangeNumber","864omIZnO","span","818378SKHpXV","372eaHCKD","15092528llFtMo","_isStatusLabelVisible","Show next change","isBackwardNavigationEnabled","bind","Loading...","isReady","execute","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","10jLvkMz","Total","isForwardNavigationEnabled"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(845997===-parseInt(e(390))/1*(-parseInt(e(416))/2)+parseInt(e(396))/3*(parseInt(e(417))/4)+-parseInt(e(402))/5+parseInt(e(394))/6*(-parseInt(e(399))/7)+parseInt(e(404))/8*(parseInt(e(414))/9)+parseInt(e(383))/10*(-parseInt(e(418))/11)+parseInt(e(409))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(412)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(397)](e(395),!1),this[e(397)](e(424),!1),this[e(397)](e(413),0),this[e(397)](e(388),0),this[e(397)](e(385),!1),this[e(397)](e(421),!1),this[e(422)](e(419)).to(this,e(424),this,e(388),((t,e)=>t&&e>0)),this[e(422)](e(398)).to(this,e(424),this,e(413),this,e(388),this,e(395),((i,s,n,r)=>{const o=e;if(!i)return G(t,o(423));if(!n)return G(t,o(392));const a=G(t,o(407),n);return r?G(t,o(386),[s+1,n]):a})),s[e(397)]({label:G(t,e(393)),tooltip:!0,icon:dt.IconChevronUp}),n[e(397)]({label:G(t,e(420)),tooltip:!0,icon:dt.IconChevronDown}),s[e(422)](e(400)).to(this,e(421)),n[e(422)](e(400)).to(this,e(385)),s.on(e(425),(()=>this[e(391)](e(425),e(389)))),n.on(e(425),(()=>this[e(391)](e(425),e(387)))),this[e(410)]({tag:e(401),attributes:{class:["ck",e(405),e(408)]},children:[{tag:e(415),attributes:{class:[e(403)]},children:[{tag:e(415),attributes:{class:[e(406),i.if(e(419),e(382),(t=>!t))]},children:[{text:i.to(e(395),(i=>i?G(t,e(411))+": ":G(t,e(384))+": "))}]},{text:i.to(e(398))}]},new ft.ToolbarSeparatorView,{tag:e(401),attributes:{class:[e(381)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=fe;function de(){const t=["9nTGotU","view","128712rHWNgx","editor","removeClass","pluginName","256398OHylXO","90WppgVJ","70388tBVlkL","show","hide","ck-editor__editable__loading-overlay","document","roots","1873317mpQhVa","RevisionViewerLoadingOverlay","editing","addClass","115LGqOTK","7110024ciLFXc","63IjntqF","915574wIwnIe","30437136xvFLjE","isPremiumPlugin","change","isOfficialPlugin","4MwIeKD"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(488851===parseInt(e(143))/1*(-parseInt(e(134))/2)+-parseInt(e(122))/3+parseInt(e(137))/4*(parseInt(e(126))/5)+-parseInt(e(141))/6*(parseInt(e(128))/7)+-parseInt(e(127))/8*(parseInt(e(135))/9)+parseInt(e(142))/10*(-parseInt(e(129))/11)+parseInt(e(130))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const me=he(119);class pe extends Z.Plugin{static get[he(140)](){return he(123)}static get[he(133)](){return!0}static get[he(131)](){return!0}[he(117)](){const t=he,e=this[t(138)][t(124)][t(136)];e[t(132)]((i=>{const s=t;for(const t of e[s(120)][s(121)])i[s(125)](me,t)}))}[he(118)](){const t=he,e=this[t(138)][t(124)][t(136)];e[t(132)]((i=>{const s=t;for(const t of e[s(120)][s(121)])i[s(139)](me,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=466]})(t,e)}function ye(){const t=["numberOfChanges","changesNavigation","108TQXXOk","1045088gHavbO","get","Restore this revision","commands","isPremiumPlugin","listenTo","revisionHistory","22CvnXAw","isOfficialPlugin","isForwardNavigationEnabled","RevisionViewerUI","isReady","closeRevisionViewerCallback","6434758aXhYWC","3429104zkoNli","hide","30LcfOtC","add","pluginName","currentChangeNumber","isBackwardNavigationEnabled","forward","change:isReady","componentFactory","3034899LNxKcQ","exitToEditing","7lMZIOG","showNextChange","103578TiIpTv","show","execute","plugins","set","requires","Back to editing","editor","showPreviousChange","isNavigationMode","ck-revision-history-ui__back-to-editing","restoreRevision","config","init","bind","107795APKCHs","isEnabled","14841GNGpzw"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(633298===-parseInt(e(484))/1+-parseInt(e(491))/2*(parseInt(e(480))/3)+parseInt(e(483))/4*(parseInt(e(478))/5)+parseInt(e(512))/6*(-parseInt(e(510))/7)+-parseInt(e(498))/8+parseInt(e(508))/9*(parseInt(e(500))/10)+parseInt(e(497))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends Z.Plugin{static get[ve(502)](){return ve(494)}static get[ve(492)](){return!0}static get[ve(488)](){return!0}static get[ve(468)](){return[Xt,pe]}[ve(476)](){const t=ve,e=this[t(470)],i=e[t(466)][t(485)](Xt),s=e[t(466)][t(485)](pe);e.ui[t(507)][t(501)](t(509),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(467)]({label:G(i,s(469)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(473)}),this[s(489)](n,s(514),(()=>{const t=s;e[t(475)][t(485)](t(490))[t(496)]()})),n})),e.ui[t(507)][t(501)](t(474),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(467)]({label:G(i,s(486)),withText:!0,tooltip:!0}),n[s(477)](s(479)).to(e[s(487)][s(485)](s(474))),this[s(489)](n,s(514),(()=>e[s(514)](s(474)))),n})),e.ui[t(507)][t(501)](t(482),(s=>{const n=t,r=new ce(s),o=e[n(487)][n(485)](n(471)),a=e[n(487)][n(485)](n(511));return r[n(477)](n(504)).to(o,n(479)),r[n(477)](n(493)).to(a,n(479)),r[n(477)](n(495),n(503),n(481),n(472)).to(i),this[n(489)](r,n(514),((t,i)=>{const s=n;e[s(514)](s(505)===i?s(511):s(471))})),r})),s[t(513)](),i.on(t(506),((e,i,n)=>{const r=t;n?s[r(499)]():s[r(513)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Ie,i=t();for(;;)try{if(204992===parseInt(e(116))/1*(-parseInt(e(140))/2)+-parseInt(e(121))/3*(parseInt(e(141))/4)+parseInt(e(138))/5+parseInt(e(142))/6+parseInt(e(123))/7*(parseInt(e(133))/8)+-parseInt(e(136))/9*(-parseInt(e(126))/10)+-parseInt(e(119))/11*(parseInt(e(128))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Se extends ft.LabeledFieldView{[_e(120)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(115)];this[i(131)]({label:G(t,i(139)),_tooltipString:""}),this[i(110)][i(114)]=G(t,i(113)),this[i(112)]({tag:i(134),attributes:{class:[i(137)],"data-cke-tooltip-text":s.to(i(111)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(132)}})}[_e(130)](){const e=_e;super[e(130)](),this[e(120)]=new t.ResizeObserver(this[e(110)][e(124)],(()=>this[e(117)]())),this[e(125)](this[e(110)],e(129),(()=>this[e(117)]()))}[_e(127)](){const t=_e;super[t(127)](),this[t(120)]&&this[t(120)][t(127)]()}[_e(117)](){const t=_e,e=this[t(110)][t(124)];this[t(111)]=e[t(122)]>e[t(135)]&&e[t(118)]||""}}function Oe(){const t=["_tooltipString","extendTemplate","Enter the revision name","placeholder","bindTemplate","12YVKNzF","_updateTooltipText","value","44arzhQV","_resizeObserver","677019XtehjD","scrollWidth","238581inAlYo","element","listenTo","89810KNazaZ","destroy","497196BnYzIc","input","render","set","ck-tooltip_multi-line","80bhvUxf","span","clientWidth","18DtfNOq","ck-revision-history-sidebar__revision-name","1223615PWKbZL","Revision name","6346GfxXxw","4NCTYSi","185748fOkAtt","fieldView"];return(Oe=function(){return t})()}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(){const t=["ck-revision-history-sidebar__revision-author__name","8XAwldg","span","6126954Fapapj","2223615BLMnTd","0 0 11 10","Revision creator","3194989rwLfnG","121jICaeR","set","setTemplate","ck-revision-history-sidebar__revision-author_creator","8404065FBIhRU","6855DiOhGw","138QFNYJi","1132XuOjTV","name","Revision author","ck-revision-history-sidebar__revision-author","535790asPXGQ","push","20029gJwNZS"];return(Ne=function(){return t})()}function Ae(t,e){const i=Ne();return(Ae=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(776791===parseInt(e(339))/1*(parseInt(e(332))/2)+parseInt(e(344))/3+parseInt(e(333))/4*(-parseInt(e(331))/5)+parseInt(e(343))/6+parseInt(e(347))/7*(-parseInt(e(341))/8)+-parseInt(e(330))/9+-parseInt(e(337))/10*(parseInt(e(326))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Re extends ft.View{constructor(t,e,i){const s=Ae;super(t);const n=new ft.IconView;n[s(327)]({content:dt.IconUser,viewBox:s(345)});const r=["ck",s(336)];i&&r[s(338)](s(329));const o=[{tag:s(342),attributes:{class:["ck",s(340)],title:G(t,s(i?346:335))},children:[n,e[s(334)]]}];this[s(328)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["14BfCcKw","33219186Ygoswg","toLocaleTimeString","numeric","4197969JIbMiH","1149084RgXNtk","toLocaleDateString","long","40dYAESC","1794534qUdVvN","4925736hwUARg","3369820usrZjB","144161FfzTdS","20CJdPHX","4SfAQZP"];return(Ve=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=277]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(845519===-parseInt(e(288))/1*(-parseInt(e(291))/2)+-parseInt(e(286))/3*(-parseInt(e(290))/4)+parseInt(e(287))/5+parseInt(e(281))/6+-parseInt(e(285))/7*(-parseInt(e(284))/8)+-parseInt(e(280))/9*(parseInt(e(289))/10)+-parseInt(e(277))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(){const t=["map","name","first","228962ETUhay","panelPosition","find","isReady","class","action","Compare against selected","bind","source","menu","Show more items","405590eIvKVp","change:isActionsDropdownOpen","ck-on","children","184qIcaST","button","menuitem","4WuYlSt","ck-revision-history-sidebar__revision__actions","stopPropagation","extendTemplate","1252587StQzxt","Restore this revision","execute","set","buttonView","630462HNmLfP","listenTo","Name this revision","isActionsDropdownOpen","add","95769RmMDcY","model","locale","isVisible","isOpen","isEnabled","_action","bindTemplate","listView","function","516786KpyZLz","items","227529qVpRWY"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(133493===parseInt(e(496))/1+parseInt(e(500))/2+parseInt(e(479))/3+parseInt(e(470))/4*(-parseInt(e(463))/5)+parseInt(e(494))/6+-parseInt(e(474))/7+-parseInt(e(467))/8*(parseInt(e(484))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;const Pe=ze;function ze(t,e){const i=Ze();return(ze=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(639214===parseInt(e(499))/1+-parseInt(e(480))/2+parseInt(e(466))/3*(-parseInt(e(504))/4)+-parseInt(e(522))/5*(parseInt(e(482))/6)+parseInt(e(510))/7+parseInt(e(514))/8*(-parseInt(e(519))/9)+parseInt(e(492))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class We extends((0,U.ConfirmMixin)(ft.View)){id;[Pe(513)];[Pe(523)];[Pe(508)];[Pe(487)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(494)],a=function(t,e){const i=r,s=Array[i(507)](e[i(468)])[i(467)]((t=>t!=e[i(486)]));return e[i(486)]&&s[i(462)](e[i(486)]),s[i(517)]((s=>new Re(t,s,s==e[i(486)])))}(e,i);this.id=i.id,this[r(508)]=i,this[r(487)]=n,this[r(477)](r(472),r(516)).to(i),this[r(477)](r(495)).to(this,r(516),(t=>{return i=e[r(460)],(s=t)[(n=Me)(282)](i,{month:n(283),day:n(279)})+", "+s[n(278)](i,{hour:n(279),minute:n(279)});var i,s,n})),this[r(497)](r(464),!1),this[r(497)](r(469),!1),this[r(497)](r(461),!1),this[r(497)](r(475),!1),this[r(497)](r(471),!1),this[r(513)]=new Se(e,ft.createLabeledInputText),this[r(513)][r(465)][r(515)]({attributes:{maxlength:r(493)}}),this[r(513)][r(465)][r(477)](r(509)).to(this,r(472),(t=>t||this[r(495)])),this[r(513)][r(477)](r(471)).to(this,r(464),this,r(471),((t,e)=>t&&e)),this[r(523)]=s&&s[r(524)]?function(e,i){const s=Fe,n=e[s(491)],r=e[s(486)],o=(0,ft.createDropdown)(r);o[s(501)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(486)],n={"Compare against selected":G(s,i(506)),"Name this revision":G(s,i(481)),"Restore this revision":G(s,i(475))};return e[i(497)]((t=>{const e=i,s=n[t[e(498)]];return s&&s!==t[e(498)]&&(t[e(498)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(468),model:new ft.ViewModel({label:t[n(498)],class:t[n(504)],withText:!0,role:n(469),_action:t[n(505)]})};i[n(485)][n(507)](n(489)).to(e,n(482),(i=>n(493)!=typeof t[n(489)]||!i||t[n(489)](e))),o[n(483)](i)}return o}(e,i);return e[s(507)](s(482)).to(o,s(488)),o[s(478)][s(477)]({label:G(r,s(510)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(473)]({attributes:{class:[s(471),n.if(s(482),s(465))]},on:{click:n.to((t=>t[s(472)]()))}}),o.on(s(476),(t=>{const i=s;e[i(503)]&&i(493)==typeof t[i(508)][i(490)]&&t[i(508)][i(490)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(509)}),o[s(480)](e,s(464),((t,n,r)=>{const a=s;if(r)for(const t of o[a(492)][a(495)]){const s=t[a(466)][a(499)],n=i[a(502)]((t=>t[a(505)]===s[a(490)]))[a(487)];t[a(487)]=void 0===n||n(e)}})),o}(this,s):"",this[r(523)]&&this[r(523)][r(477)](r(471)).to(this),this[r(483)]({tag:r(473),attributes:{class:["ck",r(470),r(476),o.if(r(503),r(505))]},children:[{tag:r(473),attributes:{class:["ck",r(470),r(498),o.if(r(471),r(512),(t=>!t)),o.if(r(464),r(479)),o.if(r(469),r(490)),o.if(r(461),r(501))]},children:[this[r(513)],{tag:r(500),attributes:{class:["ck",r(481)]},children:[{text:o.to(r(495))}]},{tag:r(473),attributes:{class:["ck",r(488)]},children:[{tag:"ul",attributes:{class:["ck",r(485)]},children:a}]},this[r(523)]],on:{click:o.to((t=>{const e=r;t[e(474)][e(489)](e(491))||this[e(475)]&&this[e(471)]&&this[e(502)](e(520),{id:this.id})}))}}]})}[Pe(506)](){const t=Pe;super[t(506)]();const e=this[t(513)][t(465)][t(521)];this[t(518)](e,t(484),(()=>{const i=t;this[i(487)]&&!e[i(509)]||this[i(502)](i(511),{id:this.id,name:e[i(509)]}),e[i(509)]||(e[i(509)]=this[i(472)]?this[i(472)]:this[i(495)])}))}[Pe(520)](){this[Pe(464)]=!0}[Pe(463)](){this[Pe(464)]=!1}[Pe(478)](){this[Pe(469)]=!0}[Pe(496)](){this[Pe(469)]=!1}}function Ze(){const t=["1025514KKbSxo","setName","ck-disabled","revisionNameView","2992GKOrnY","extendTemplate","createdAt","map","listenTo","13077azPkEh","select","element","1910SJsyRk","revisionActionsView","length","uiLanguage","isActionsDropdownOpen","unshift","deselect","isSelected","fieldView","609732cSEszr","filter","authors","isHighlighted","ck-reset","isEnabled","name","div","srcElement","isReady","ck-revision-history-sidebar__revision-wrapper","bind","highlight","ck-revision-history-sidebar__revision_selected","595816AQOJzp","ck-revision-history-sidebar__revision__date","402NwbBwG","setTemplate","change","ck-revision-history-sidebar__revision-authors","creator","_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","closest","ck-revision-history-sidebar__revision_highlighted",".ck-thread__remove-confirm","7577730ULwHnc","220","bindTemplate","_createdAtFormatted","unhighlight","set","ck-revision-history-sidebar__revision","1008351cOufXS","span","ck-revision-history-sidebar__actions_dropdown_open","fire","isConfirm","8wsLaVJ","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","render","from","_revision","value"];return(Ze=function(){return t})()}class Ue extends Error{}class He extends Ue{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ue{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ue{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ue{}class Ye extends Ue{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ue{}class Je extends Ue{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Je}get name(){throw new Je}get ianaName(){return this.name}get isUniversal(){throw new Je}offsetName(t,e){throw new Je}formatOffset(t,e){throw new Je}offset(t){throw new Je}equals(t){throw new Je}get isValid(){throw new Je}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Mi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Mi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Ui extends _i{static get utcInstance(){return null===Zi&&(Zi=new Ui(0)),Zi}static instance(t){return 0===t?Ui.utcInstance:new Ui(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Ui(Us(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Ui.utcInstance:Ui.parseSpecifier(i)||Ni.create(t)}return _s(t)?Ui.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ji({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${$i[i]}${e}`)),Gi[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return qi(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Gi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Us(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 Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Js=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Js];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Rs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Vs(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Us(t[e+1],t[e+2]);return[{},i?null:Ui.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),An=/^-?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 Rn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Vs(e)):Vs(e),month:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Us(l,h),[d,new Ui(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Ui.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Ui.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Zn=dn(/(\d{4})-?(\d{3})/,kn),Un=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,xn),qn=fn(bn,On,Tn,xn),$n=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Gn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Jn=dn(_n),Kn=fn(On,Tn,xn);const Qn="Invalid Duration",Xn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Us(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ji(e),s=Ji(e,"{2}"),n=Ji(e,"{3}"),r=Ji(e,"{4}"),o=Ji(e,"{6}"),a=Ji(e,"{1,2}"),c=Ji(e,"{1,3}"),u=Ji(e,"{1,6}"),l=Ji(e,"{1,9}"),h=Ji(e,"{2,4}"),d=Ji(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Ui(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Vr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Ur={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Jr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Ur[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Ui.utcInstance,Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Vr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Ur);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,qn],[Zn,$n],[Un,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Gn,Hn],[Jn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Ui.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ge("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=166]})(t,e)}function no(){const t=["129120vCQKTU","8Saaovb","monthLong","day","year","weekdayLong","1380715iRjLHZ","481280nlqEFX","4PnDlOQ","local","minus","fromJSDate","toJSDate","608298BcWiny","startOf","hasSame","week","month","483612kCbsyu","toRelativeCalendar","4339827waTkdA","setLocale","1042680LvKsQR"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(188)](t)[i(175)](e),n=eo[i(186)](),r=n[i(187)]({days:1})[i(168)](i(180));let o,a;return s[i(169)](n,i(180))?(o=s[i(168)](i(180))[i(166)](),a=s[i(173)]()):s[i(169)](r,i(180))?(o=r[i(166)](),a=s[i(173)]()):s[i(169)](n,i(170))?(o=s[i(168)](i(170))[i(166)](),a=s[i(182)]||""):s[i(169)](n,i(181))?(o=s[i(168)](i(171))[i(166)](),a=s[i(179)]||""):(o=s[i(168)](i(181))[i(166)](),a=String(s[i(181)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(162814===parseInt(e(177))/1+parseInt(e(184))/2+-parseInt(e(167))/3*(parseInt(e(185))/4)+-parseInt(e(176))/5+-parseInt(e(172))/6+-parseInt(e(183))/7+-parseInt(e(178))/8*(-parseInt(e(174))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["setName","ck-revision-history-sidebar__time-period__label","uiLanguage","addRevision","ck-revision-history-sidebar__time-period__revisions","locale","9078120yDfbNB","setTemplate","ck-revision-history-sidebar__time-period","2354952altOmC","459828Yrpytg","12OuvZID","remove","createCollection","removeRevision","startDate","select","2748627MmWrlO","revisionViews","1179931yrKFmZ","346220hnkWVJ","add","span","1157900IogzqS","div","delegate","localizedPeriodName","_requireRevisionName","find","_revisionActions"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(732044===parseInt(e(122))/1+parseInt(e(123))/2+-parseInt(e(112))/3+-parseInt(e(113))/4+-parseInt(e(126))/5*(parseInt(e(114))/6)+-parseInt(e(120))/7+parseInt(e(139))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(118)];[co(121)];[co(132)];[co(130)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(138)][n(135)])[n(129)];this[n(118)]=e,this[n(121)]=this[n(116)](),this[n(132)]=i,this[n(130)]=s,this[n(121)][n(128)](n(119)).to(this),this[n(121)][n(128)](n(133)).to(this),this[n(140)]({tag:n(127),attributes:{class:["ck",n(111)]},children:[{tag:n(125),attributes:{class:["ck",n(134)]},children:[{text:r}]},{tag:n(127),attributes:{class:["ck",n(137)]},children:this[n(121)]}]})}[co(136)](t){const e=co,i=new We(this[e(138)],t,this[e(132)],this[e(130)]);this[e(121)][e(124)](i)}[co(117)](t){const e=co,i=this[e(121)][e(131)]((e=>e.id===t.id));this[e(121)][e(115)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["2ixMIuM","content","4267679pnEhiH","76292unlQLe","Revision history","12VtURIv","ck-reset_all","513390wFPjOy","684SKDdNy","1920667XvZqKe","305083TchUvg","ck-revision-history-sidebar__header__label","22FejOWg","27mVRzRS","span","div","1021344VkiLzi","setTemplate","63jnhPKn","9385kNbhmd","ck-revision-history-sidebar__header"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(230156===-parseInt(e(283))/1*(-parseInt(e(294))/2)+parseInt(e(291))/3*(-parseInt(e(297))/4)+-parseInt(e(292))/5*(parseInt(e(302))/6)+-parseInt(e(282))/7+-parseInt(e(289))/8*(-parseInt(e(286))/9)+-parseInt(e(301))/10*(-parseInt(e(285))/11)+-parseInt(e(299))/12*(-parseInt(e(296))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(295)]=dt.IconHistory,this[e(290)]({tag:e(288),attributes:{class:["ck",e(300),e(293)]},children:[i,{tag:e(287),attributes:{class:["ck",e(284)]},children:[G(t,e(298))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=167]})(t,e)}function _o(){const t=["select","find","4iccEEK","render","some","_revisionActions","map","delegate","ck-rounded-corners","_addRevision","startDate","add","addRevision","_requireRevisionName","_getTimePeriodViewByStartDate","ck-revision-history-sidebar__timeline","revisionSelected","fire","196263PpoQew","_removeRevision","ck-revision-history-sidebar","5743752tBLcvv","div","revisionSetName","532533KKKyks","8370756tXbPoq","2921928gAVVaZ","selectRevision","timePeriodViews","ck-disabled","locale","ck-reset","_revisions","setName","2595000ljwqDZ","removeRevision","getTime","revisionViews","highlight","248vWRZAf","highlightRevisions","get","createCollection","deselect","set","flat","createdAt","isEnabled","bindTemplate","uiLanguage","3464850oWLsqo","remove","setTemplate","unhighlight"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(842323===parseInt(e(210))/1*(-parseInt(e(188))/2)+-parseInt(e(212))/3+parseInt(e(220))/4+parseInt(e(182))/5+parseInt(e(211))/6+parseInt(e(207))/7+-parseInt(e(171))/8*(parseInt(e(204))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[bo(214)];[bo(218)];[bo(191)];[bo(199)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(180)];this[n(214)]=this[n(174)](),this[n(214)][n(193)](n(186)).to(this),this[n(214)][n(193)](n(219)).to(this),this[n(218)]=e,this[n(191)]=i,this[n(199)]=s,this.on(n(186),((t,e)=>{const i=n;this[i(203)](i(202),e)})),this.on(n(219),((t,e)=>{const i=n;this[i(203)](i(209),e)})),this[n(176)](n(179),!1),this[n(184)]({tag:n(208),attributes:{class:["ck",n(217),n(194),n(206)]},children:[new go(t),{tag:n(208),attributes:{class:["ck",n(201),r.if(n(179),n(215),(t=>!t))]},children:this[n(214)]}]})}[bo(189)](){const t=bo;super[t(189)]();for(const e of this[t(218)])this[t(195)](e);this[t(218)].on(t(197),((e,i)=>{this[t(195)](i)})),this[t(218)].on(t(183),((e,i)=>{this[t(205)](i)}))}get[bo(169)](){const t=bo;return this[t(214)][t(192)]((e=>e[t(169)][t(192)]((t=>t))))[t(177)]()}[bo(213)](t){const e=bo;for(const i of this[e(169)])t&&t.id===i.id?i[e(186)]():i[e(175)]()}[bo(172)](t){const e=bo;for(const i of this[e(169)])t[e(190)]((({id:t})=>t===i.id))?i[e(170)]():i[e(185)]()}[bo(195)](t){const e=bo,i=ro(t[e(178)],this[e(216)][e(181)])[e(196)];let s=this[e(214)][e(173)](0);s&&s[e(196)][e(168)]()===i[e(168)]()||(s=new ho(this[e(216)],i,this[e(191)],this[e(199)]),this[e(214)][e(197)](s)),s[e(198)](t)}[bo(205)](t){const e=bo,i=ro(t[e(178)],this[e(216)][e(181)])[e(196)];this[e(200)](i)[e(167)](t)}[bo(200)](t){const e=bo;return this[e(214)][e(187)]((i=>i[e(196)][e(168)]()===t[e(168)]()))}}function So(){const t=["assign","revisionViews","_createRevisionActions","compareAgainstSelected","nameRevision","_handleDiffChange","string","render","diff","data","init","add","bind","listenTo","compare","_handleRevisionSetName","isPremiumPlugin","getEarlierVisibleRevision","element","isSelected","appendChild","ready","Compare against selected","Restore this revision","8248lOmncV","select","147155XRwCYL","Name this revision","getRevision","revisionHistory.revisionActions","focus","fieldView","3361200itGEHx","pluginName","_handleEditorDataReady","action","newRevisionId","get","destroy","config","RevisionsSidebar","timePeriodViews","defaultRevisionActions","getRevisionsInDiff","getIndex","selectRevision","remove","editor","isVisible","_revisionViewer","name","30XfaRQk","availableRevisionActions","181867UEgZay","8903646bMuLCv","isReady","change:diff","getLaterVisibleRevision","1131dCYpOJ","revisionHistory.viewerSidebarContainer","revisionSetName","plugins","_handleRevisionSelected","_revisions","_sidebarView","revisionHistory","length","revisionHistory.requireRevisionName","_revisionsRepository","2730575VANQfl","isEnabled","isOfficialPlugin","revisionSelected","requires","249626DhXizj","locale","restoreRevision","highlightRevisions","restoreRevisionCallback","setName","repository","map"];return(So=function(){return t})()}const Oo=To;function To(t,e){const i=So();return(To=function(t,e){return i[t-=297]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(445448===-parseInt(e(356))/1+parseInt(e(322))/2+-parseInt(e(306))/3*(parseInt(e(354))/4)+parseInt(e(317))/5+-parseInt(e(299))/6*(-parseInt(e(301))/7)+-parseInt(e(362))/8+parseInt(e(302))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class xo extends Z.Plugin{[Oo(297)];[Oo(316)];[Oo(312)];static[Oo(372)]=[Oo(333),Oo(324),Oo(334)];static[Oo(300)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(352),action:({plugins:e},i)=>{const s=t,n=e[s(367)](Xt),r=n[s(328)];let o=n[s(338)][s(366)],a=i.id;r[s(374)](o)>r[s(374)](a)&&([o,a]=[a,o]),n[s(344)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(367)](Xt);return!(n[s(328)][s(373)](n[s(338)])[s(314)]>2||i[s(349)])}},restoreRevision:{name:t(353),action:(e,{id:i})=>{const s=t;e[s(369)][s(367)](s(313))[s(326)](i)},isVisible:({plugins:e},i)=>!!e[t(367)](Xt)[t(328)][t(305)](i.id)},nameRevision:{name:t(357),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(367)](Xt),o=r[n(328)][n(347)](i);r[n(344)](i,o),s[n(360)](),s[n(361)][n(355)]()}}}}();static get[Oo(363)](){return Oo(370)}static get[Oo(319)](){return!0}static get[Oo(346)](){return!0}static get[Oo(321)](){return[Xt]}constructor(t){const e=Oo;super(t),this[e(297)]=t[e(309)][e(367)](Xt),this[e(316)]=this[e(297)][e(328)],this[e(312)]=null}[Oo(340)](){const t=Oo,e=this[t(316)][t(311)],i=this[t(332)](),s=this[t(377)][t(369)][t(367)](t(307));this[t(312)]=new Io(this[t(377)][t(323)],e,i,this[t(377)][t(369)][t(367)](t(315))),this[t(312)].on(t(320),this[t(310)][t(342)](this)),this[t(312)].on(t(308),this[t(345)][t(342)](this)),this[t(312)][t(342)](t(318)).to(this[t(297)]),this[t(312)][t(371)].on(t(341),((e,i)=>{const s=t;i[s(331)].on(s(341),((t,e)=>{const i=s;e[i(342)](i(318),i(303)).to(this[i(297)])}))})),this[t(312)][t(337)](),this[t(343)](this[t(377)][t(339)],t(351),this[t(364)][t(342)](this)),this[t(343)](this[t(297)],t(304),this[t(335)][t(342)](this)),s[t(350)](this[t(312)][t(348)])}[Oo(368)](){const t=Oo;this[t(312)][t(348)][t(376)](),this[t(312)][t(368)]()}[Oo(364)](){const t=Oo,e=this[t(316)][t(358)](0);if(e){const i=this[t(316)][t(347)](e.id);this[t(297)][t(344)](e,i)}}[Oo(310)](t,e){const i=Oo,s=this[i(316)][i(358)](e.id),n=this[i(316)][i(347)](s.id);this[i(297)][i(344)](s,n)}[Oo(345)](t,e){const i=Oo;this[i(316)][i(358)](e.id)[i(327)](e[i(298)])}[Oo(335)](t,e,i){const s=Oo,n=this[s(316)][s(373)](i);n[s(314)]>2?(this[s(312)][s(325)](n),this[s(312)][s(375)](null)):(this[s(312)][s(325)]([]),this[s(312)][s(375)](n[0]))}[Oo(332)](){const t=Oo,e=this[t(377)],i=xo[t(300)],s=e[t(369)][t(367)](t(359))||xo[t(372)];if(s[t(314)])return s[t(329)]((s=>{const n=t,r=n(336)==typeof s?Object[n(330)]({},i[s]):s;return r[n(365)]=r[n(365)][n(342)](this,e),r[n(378)]&&(r[n(378)]=r[n(378)][n(342)](this,e)),r}))}}const No=xo,Ao=Vo;function Ro(){const t=["init","stickyPanel","setEditableElement","9lLuCzM","getRoot","_view","addToolbar","config","155iCvYnk","get","_initToolbar","1085289DtpOCW","limiterElement","2538819osNCqZ","viewportTopOffset","focusTracker","2kFYBfU","editable","replace","viewportOffset","document","2806760AYjQIz","element","detachDomRoot","902006GKTMrq","restore","attachDomRoot","componentFactory","_elementReplacer","editor","ready","_toolbarConfig","15387757WzzXgR","isFocused","editing","6850944GlBiiC","view","isActive","78894jmZiQc","toolbar","render","rootName","bind","fillFromConfig","fire","name","destroy","4RxTXBn"];return(Ro=function(){return t})()}function Vo(t,e){const i=Ro();return(Vo=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(783450===-parseInt(e(437))/1*(-parseInt(e(442))/2)+-parseInt(e(439))/3*(parseInt(e(425))/4)+parseInt(e(434))/5*(-parseInt(e(416))/6)+parseInt(e(450))/7+-parseInt(e(413))/8+-parseInt(e(429))/9*(-parseInt(e(447))/10)+parseInt(e(410))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Mo extends ft.EditorUI{[Ao(431)];[Ao(409)];[Ao(406)];get[Ao(414)](){return this[Ao(431)]}constructor(e,i){const s=Ao;super(e),this[s(431)]=i,this[s(409)]=(0,ft.normalizeToolbarConfig)(e[s(433)][s(435)](s(417))),this[s(406)]=new t.ElementReplacer}get[Ao(448)](){const t=Ao;return this[t(414)][t(448)]}[Ao(426)](t){const e=Ao,i=this[e(407)],s=this[e(414)],n=i[e(412)][e(414)],r=s[e(443)],o=n[e(446)][e(430)]();r[e(423)]=o[e(419)],s[e(418)]();const a=r[e(448)];this[e(428)](r[e(423)],a),s[e(443)][e(420)](e(411)).to(this[e(441)]),n[e(404)](a),this[e(406)][e(444)](t,this[e(448)]),this[e(436)](),this[e(422)](e(408))}[Ao(424)](){const t=Ao;super[t(424)]();const e=this[t(414)],i=this[t(407)][t(412)][t(414)];this[t(406)][t(451)](),i[t(449)](e[t(443)][t(423)]),e[t(424)]()}[Ao(436)](){const t=Ao,e=this[t(414)];e[t(427)][t(420)](t(415)).to(this[t(441)],t(411)),e[t(427)][t(438)]=e[t(448)],e[t(427)][t(420)](t(440)).to(this,t(445),(({top:t})=>t)),e[t(417)][t(421)](this[t(409)],this[t(405)]),this[t(432)](e[t(417)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=Fo;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=190]})(t,e)}function Lo(){var t=["render","top","4760940qrhbff","488RlMgIA","_editable","stickyPanel","213678HWidxv","3522522xtzEyp","add","shouldToolbarGroupWhenFull","main","51129pwbEuQ","3005723rGcnoC","content","editable","1496392oeRiIX","5QAZvsA","1216qYcqgG","toolbar","50VpaNpw"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(331665===-parseInt(e(199))/1*(parseInt(e(201))/2)+parseInt(e(208))/3+-parseInt(e(197))/4*(parseInt(e(198))/5)+-parseInt(e(209))/6+parseInt(e(194))/7+parseInt(e(205))/8*(parseInt(e(193))/9)+parseInt(e(204))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends ft.BoxedEditorUIView{[Co(206)];[Co(207)];[Co(200)];get[Co(196)](){return this[Co(206)]}constructor(t,e,i={}){var s=Co;super(t),this[s(207)]=new ft.StickyPanelView(t),this[s(200)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(191)]}),this[s(206)]=new ft.InlineEditableUIView(t,e)}[Co(202)](){var t=Co;super[t(202)](),this[t(207)][t(195)][t(190)](this[t(200)]),this[t(203)][t(190)](this[t(207)]),this[t(192)][t(190)](this[t(196)])}}const Po=zo;function zo(t,e){const i=Zo();return(zo=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(423186===-parseInt(e(422))/1*(parseInt(e(425))/2)+parseInt(e(429))/3*(-parseInt(e(431))/4)+parseInt(e(418))/5+parseInt(e(446))/6*(parseInt(e(428))/7)+-parseInt(e(449))/8*(parseInt(e(426))/9)+-parseInt(e(437))/10*(-parseInt(e(423))/11)+-parseInt(e(434))/12*(-parseInt(e(433))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Wo extends((0,Z.ElementApiMixin)(Z.Editor)){[Po(438)];get ui(){return this[Po(438)]}constructor(t,e){const i=Po;super(e),this[i(435)]=t,this[i(427)][i(419)][i(420)]();const s=new jo(this[i(436)],this[i(441)][i(430)],{shouldToolbarGroupWhenFull:!0});this[i(438)]=new Mo(this,s)}[Po(442)](){const t=Po;return this[t(439)](),this.ui[t(442)](),super[t(442)]()}static async[Po(424)](t,e){const i=Po,s=new this(t,e);return await s[i(440)](),await s.ui[i(443)](t),await s[i(432)][i(443)](s[i(421)][i(445)](i(444))||""),s[i(447)](i(448)),s}}function Zo(){const t=["initPlugins","editing","destroy","init","initialData","get","24QYzbQW","fire","ready","4998104keNcmL","762580EBFGiI","document","createRoot","config","154604YvFtGC","106007ZFQCdU","create","8SWDCyO","9xxNxea","model","243789LQCahS","513GplnnY","view","13548HNMPqN","data","221meEWLj","1181820KiWhnx","sourceElement","locale","290zfRfsf","_ui","updateSourceElement"];return(Zo=function(){return t})()}const Uo=Ho;function Ho(t,e){const i=Yo();return(Ho=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(370527===-parseInt(e(359))/1+parseInt(e(244))/2*(parseInt(e(311))/3)+-parseInt(e(258))/4*(-parseInt(e(288))/5)+parseInt(e(250))/6+-parseInt(e(297))/7+parseInt(e(292))/8*(-parseInt(e(315))/9)+-parseInt(e(332))/10*(-parseInt(e(272))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const qo=[Uo(320),Uo(257)];class $o extends Z.Plugin{[Uo(375)];static get[Uo(318)](){return Uo(275)}static get[Uo(326)](){return!0}static get[Uo(303)](){return!0}constructor(t){const e=Uo;function i(t){const e=Ho;return t[e(334)]((t=>String[e(302)](t)))[e(351)]("")}super(t),this[e(375)]=e(248),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 Bo extends Z.Plugin{[Uo(294)];static get[Uo(318)](){return Uo(260)}static get[Uo(326)](){return!0}static get[Uo(303)](){return!0}static get[Uo(369)](){return[nt,Ct]}constructor(e){const i=Uo;if(super(e),!this[i(305)][i(270)][i(252)](i(261)))throw new t.CKEditorError(i(249),this);this[i(294)]=null,this[i(305)][i(270)][i(299)](i(352),(t=>this[i(335)]({...t,translations:this[i(305)][i(256)][i(356)]}))),this[i(305)][i(270)][i(299)](i(314),(t=>this[i(293)](t))),this[i(305)][i(270)][i(299)](i(231),(t=>this[i(301)](t))),this[i(305)][i(270)][i(299)](i(304),!1),this[i(353)](),this[i(316)]()}set[Uo(283)](t){const e=Uo;this[e(305)][e(354)][e(252)](e(287))[e(283)]=t}get[Uo(283)](){const t=Uo;return this[t(305)][t(354)][t(252)](t(287))[t(283)]}[Uo(243)](t){const e=Uo;return this[e(305)][e(354)][e(252)](e(287))[e(243)](t)}[Uo(309)](t){const e=Uo;return this[e(305)][e(354)][e(252)](e(347))[e(309)](t)}[Uo(331)](t){const e=Uo;return this[e(305)][e(354)][e(252)](e(347))[e(331)](t||{toJSON:!1})}[Uo(364)](){const e=Uo,i=this[e(305)],s=(0,U.sanitizeEditorConfig)(i,qo),n=i[e(354)][e(252)](e(287)),r=i[e(354)][e(252)](e(374))[e(285)];return s[e(368)]=[e(281),e(343),e(345)],delete s[e(276)],s[e(354)][e(340)]($o,Xt,ke,class extends Z.Plugin{static get[e(369)](){return[Xt,e(374)]}[e(365)](){const s=e,o=this[s(305)][s(354)][s(252)](s(374));for(const t of r)t[s(269)]||o[s(267)](t.id)||o[s(240)](t);const a=n[s(367)][s(331)]();let c=null;const u=this[s(305)][s(354)][s(252)](s(362));u[s(283)]=n[s(283)],u[s(307)](s(372)).to(n),this[s(305)][s(333)][s(252)](s(343))[s(307)](s(372)).to(i,s(259),(t=>!t));for(const e of a){const i=null===e[s(298)];if(i&&e[s(358)]===e[s(329)])continue;const r=e[s(245)]();u[s(243)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(239)](r,o);else if(!o){const e=a[u(245)]();e.id=(0,t.uid)(),n[u(295)](e,a[u(358)])[u(322)]((t=>{c=t}))}}else e[u(239)](r,o)}))}}},No),s}[Uo(353)](){const t=Uo,e=this[t(305)][t(270)][t(252)](t(261))[t(342)];this[t(305)][t(270)][t(376)](t(352),(async()=>{const i=t;this[i(305)][i(266)](i(373));const s=this[i(305)][i(354)][i(252)](i(287));if(this[i(305)][i(354)][i(247)](i(232))){const t=this[i(305)][i(354)][i(252)](i(232));await t[i(319)]()}else await s[i(363)]();if(this[i(305)][i(354)][i(247)](i(265))&&this[i(305)][i(354)][i(252)](i(265))[i(277)](),this[i(305)][i(354)][i(247)](i(312))){const t=this[i(305)][i(354)][i(252)](i(312));t[i(325)]&&t[i(328)]()}const n=this[i(364)]();return e(n)[i(322)]((t=>{const e=i;return this[e(294)]=t,this[e(305)][e(354)][e(247)](e(238))&&this[e(305)][e(354)][e(252)](e(238))[e(355)](),t}))[i(255)]((t=>(console[i(242)](t),this[i(305)][i(370)](i(373)),null)))}))}[Uo(316)](){const t=Uo,e=this[t(305)][t(270)][t(252)](t(261))[t(366)];this[t(305)][t(270)][t(376)](t(314),(()=>(this[t(305)][t(354)][t(247)](t(265))&&this[t(305)][t(354)][t(252)](t(265))[t(277)](),this[t(294)][t(354)][t(252)](t(362))[t(278)](),e(this[t(294)])[t(322)]((()=>{const e=t;if(this[e(305)][e(370)](e(373)),this[e(294)]=null,this[e(305)][e(354)][e(247)](e(238))){const t=this[e(305)][e(354)][e(252)](e(238));t[e(355)](),t[e(317)]()}})))))}[Uo(335)](t){const e=Uo,i=this[e(305)][e(270)][e(252)](e(321)),s=this[e(305)][e(270)][e(252)](e(273)),n=this[e(305)][e(270)][e(252)](e(300));return Wo[e(234)](n,t)[e(322)]((t=>(s[e(296)][e(327)]=e(308),i[e(296)][e(327)]=e(290),t)))}[Uo(293)](t){const e=Uo,i=this[e(305)][e(270)][e(252)](e(321));return this[e(305)][e(270)][e(252)](e(273))[e(296)][e(327)]=e(290),i[e(296)][e(327)]="",t[e(346)]()}async[Uo(301)](t){const e=Uo,i=this[e(305)],s=this[e(294)][e(354)][e(252)](e(362)),n=i[e(354)][e(252)](e(287)),r=s[e(367)][e(309)](t);let o,a,c;try{o=await s[e(235)](r),a=await s[e(233)](r)}catch(t){return void console[e(242)](t)}i[e(339)][e(251)]((t=>{const s=e;for(const e of Array[s(323)](i[s(339)][s(263)][s(313)](s(282))))t[s(350)](e)})),s[e(286)]=!1,i[e(339)][e(338)]((t=>{const s=e;t[s(324)](null),t[s(360)](i[s(339)][s(264)][s(268)][s(336)]());const n=Object[s(291)](o);for(const e of i[s(339)][s(264)][s(344)])s(237)!=e[s(341)]&&e[s(254)]()&&!n[s(246)](e[s(341)])&&t[s(253)](e);for(const e of n){let n=i[s(339)][s(264)][s(241)](e);n&&n[s(254)]()||(n=t[s(330)](e));const r=a[e],c=Object[s(291)](r),u=o[e];for(const e of n[s(336)]())c[s(246)](e)||t[s(337)](e,n);for(const i of c)t[s(306)](i,a[e][i],n);t[s(271)](t[s(280)](n)),t[s(349)](i[s(371)][s(357)](u,n),n,0)}}));const u=G(i[e(256)],e(289));return c=r[e(284)]?-1==r[e(284)][e(236)](u)?u+": "+r[e(284)]:r[e(284)]:u+": "+r[e(279)][e(348)](i[e(256)][e(310)],{month:e(361),day:e(262)})+", "+r[e(279)][e(274)](i[e(256)][e(310)],{hour:e(262),minute:e(262)}),await n[e(295)]({name:c}),s[e(286)]=!0,i[e(270)][e(252)](e(261))[e(366)]()}}function Yo(){const t=["toJSON","includes","has","end","revision-history-missing-configuration","1627584hNrKkc","change","get","detachRoot","isAttached","catch","locale","RestrictedEditingMode","132JPYals","isReadOnly","RevisionHistory","revisionHistory","numeric","markers","document","PaginationLookup","enableReadOnlyMode","getUser","selection","isAnonymous","config","remove","572ktUfJe","revisionHistory.viewerContainer","toLocaleTimeString","RevisionViewerIntegration","lazyRoots","_recalculatePageBreaks","_cleanUp","createdAt","createRangeIn","exitToEditing","restrictedEditingException","adapter","name","users","isReady","RevisionTracker","103065ankhPP","Restored","none","keys","8uLBezV","_closeRevisionViewer","_viewerEditor","saveRevision","style","3202892ZQuraw","creator","define","revisionHistory.viewerEditorElement","_restoreRevision","fromCharCode","isPremiumPlugin","revisionHistory.requireRevisionName","editor","setAttribute","bind","block","getRevision","uiLanguage","3717ZQYrGF","Dialog","getMarkersGroup","revisionHistory.closeRevisionViewerCallback","29934WLCgYZ","_enhanceCloseRevisionViewerCallback","refreshPositioning","pluginName","save","RevisionHistoryUI","revisionHistory.editorContainer","then","from","setSelection","isOpen","isOfficialPlugin","display","hide","fromVersion","addRoot","getRevisions","21940rHBoTn","commands","map","_showRevisionViewer","getAttributeKeys","removeAttribute","enqueueChange","model","push","rootName","showRevisionViewerCallback","restoreRevision","roots","changesNavigation","destroy","RevisionsRepository","toLocaleDateString","insert","removeMarker","join","revisionHistory.showRevisionViewerCallback","_enhanceShowRevisionViewerCallback","plugins","refreshVisibility","translations","parse","toVersion","337009SASskT","removeSelectionAttribute","long","RevisionViewer","update","_getRevisionViewerEditorConfig","init","closeRevisionViewerCallback","repository","toolbar","requires","disableReadOnlyMode","data","isEnabled","revision-history-viewer-opened","Users","result","set","revisionHistory.restoreRevisionCallback","Autosave","getRevisionRootsAttributes","create","getRevisionData","indexOf","$graveyard","Annotations","_update","addUser","getRoot","error","addRevisionData","166yhncvR"];return(Yo=function(){return t})()}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=301]})(t,e)}function Jo(){var t=["5703159WYehBA","3655856CXdHwc","44822Shueii","646082lbVnpZ","6695046CZkHIj","78ilOHfP","3595482RvQauS","981345xSAJxu","4QFanyl"];return(Jo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(472773===parseInt(e(304))/1+-parseInt(e(303))/2*(parseInt(e(306))/3)+-parseInt(e(309))/4*(-parseInt(e(308))/5)+parseInt(e(307))/6+parseInt(e(301))/7+-parseInt(e(302))/8+-parseInt(e(305))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},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")},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(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Yu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(t)?Z:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const Y=q(k,"Map");const B=q(Object,"create");const J=function(){this.__data__=B?B(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(B){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return B?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=B&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(Y||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!Y||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Lt;var Yt=Object.prototype.hasOwnProperty;const Bt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Yt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Bt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Bt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(Y),Le=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||Y&&Ue(new Y)!=Ee||Ae&&Ue(Ae.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Ee;case Le:return Ve;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Ye=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Be=function(t,e){var i=e?Ye(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Ye(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Ye(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Be(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Li(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(){const t=["fire","creator","_update","10RZJefJ","creatorId","5599165wkpLMI","15204762lAiEqv","authors","8fggmjM","fromVersion","2053348ElteaS","attributes","3337159ZIVFUU","diffData","removeAttribute","set","setName","58RocKYL","toJSON","1215210jOrctm","9433hVYPnC","authorsIds","createdAt","612666PjBkqk","setAttribute","toVersion","name","map"];return(Ui=function(){return t})()}const Zi=Hi;function Hi(t,e){const i=Ui();return(Hi=function(t,e){return i[t-=405]})(t,e)}!function(t){const e=Hi,i=t();for(;;)try{if(635587===-parseInt(e(406))/1*(parseInt(e(431))/2)+parseInt(e(405))/3+parseInt(e(424))/4+-parseInt(e(419))/5+-parseInt(e(409))/6+parseInt(e(426))/7*(-parseInt(e(422))/8)+-parseInt(e(420))/9*(-parseInt(e(417))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ui);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Hi;super(),this.id=e.id||(0,t.uid)(),this[i(415)]=e[i(415)]||null,this[i(421)]=e[i(421)]||[],this[i(427)]=e[i(427)]||null,this[i(411)]=e[i(411)]||0,this[i(423)]=e[i(423)]||0,this[i(429)](i(412),e[i(412)]||""),this[i(429)](i(408),e[i(408)]||new Date),this[i(429)](i(425),e[i(425)]||{})}[Zi(430)](t){this[Zi(416)]({name:t})}[Zi(410)](t,e){const i=Zi,n=vi(this[i(425)]);Ci(n,t,e),this[i(416)]({attributes:n})}[Zi(428)](t){const e=Zi,i=vi(this[e(425)]);Wi(i,t),this[e(416)]({attributes:i})}[Zi(416)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(412),i(408),i(427),i(421),i(425),i(411),i(423),i(418)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(421)]&&(r[i(407)]=r[i(421)][i(413)]((t=>t.id)),delete r[i(421)]),this[i(414)](i(416),r,e))}[Zi(432)](){const t=Zi;return{id:this.id,name:this[t(412)],creatorId:this[t(415)]?this[t(415)].id:null,authorsIds:this[t(421)][t(413)]((t=>t.id)),diffData:this[t(427)],createdAt:this[t(408)],attributes:this[t(425)],fromVersion:this[t(423)],toVersion:this[t(411)]}}}var qi=i(782),Yi=i(211),Bi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=297]})(t,e)}function Ki(){const t=["993ElhNxk","href","getRevisionsIterator","creatorId","getLaterVisibleRevision","226bEdZXz","length","1131004XZamig","Users","pluginName","createRevision","oldRevisionId","createdAt","getIndex","attributes","reverse","fromCharCode","add","map","name","getRevision","later","270642NGeYmA","getUser","RevisionsRepository","earlier","afterInit","getRevisions","requires","isOfficialPlugin","toJSON","fromVersion","from","getRevisionsInDiff","toVersion","163456ElftiC","plugins","authorsIds","addRevision","push","isNaN","988YpYVoP","_revisions","diffData","12880vOJIXd","newRevisionId","data","editor","5VyttwD","699xtCnUc","getEarlierVisibleRevision","get","36HCvQTb","4782708QYAtcM","join","4444NTNNvX","isPremiumPlugin"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(336374===parseInt(e(346))/1*(parseInt(e(351))/2)+-parseInt(e(338))/3*(-parseInt(e(330))/4)+-parseInt(e(337))/5*(-parseInt(e(311))/6)+parseInt(e(353))/7+parseInt(e(324))/8*(parseInt(e(341))/9)+-parseInt(e(333))/10*(parseInt(e(344))/11)+parseInt(e(342))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Ji(317)](){return[Yi.Users]}static get[Ji(298)](){return Ji(313)}static get[Ji(318)](){return!0}static get[Ji(345)](){return!0}get[Ji(352)](){const t=Ji;return this[t(331)][t(352)]}constructor(e){const i=Ji;super(e),this[i(331)]=new t.Collection}[Ji(315)](){!async function(e){const i=k([114,49,90,82,120,109,56,78,122,69,68,66,54,97,112,117,67,79,76,113,84,81,72,50,87,121,110,52,103,102,89,55,101,119,71,74,88,115,111,108,57,98,70,83,99,105,48,73,118,85,77,65,75,86,104,51,53,116,80,100,106,107]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(329)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([114]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(307)]((t=>String[e(305)](t)))[e(343)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1739318400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(347)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(299)](t){const e=Ji,i=this[e(336)][e(325)][e(340)](e(297));return new $i({id:t.id,name:t[e(308)],creator:t[e(349)]?i[e(312)](t[e(349)]):null,diffData:t[e(332)]||t[e(335)],authors:t[e(326)][e(307)]((t=>i[e(312)](t))),createdAt:new Date(t[e(301)]),attributes:t[e(303)],fromVersion:t[e(320)],toVersion:t[e(323)]})}[Ji(327)](t,e=0){const i=Ji;this[i(331)][i(306)](t,e)}[Ji(309)](t){const e=Ji;return this[e(331)][e(340)](t)}[Ji(316)](t={toJSON:!1}){const e=Ji,i=Array[e(321)](this[e(331)]);return i[e(304)](),t[e(319)]?i[e(307)]((t=>t[e(319)]())):i}[Ji(302)](t){const e=Ji;return this[e(331)][e(302)](t)}[Ji(339)](t){const e=Ji,[,i]=this[e(348)](t,{direction:e(314)});return i}[Ji(350)](t){const e=Ji,[,i]=this[e(348)](t,{direction:e(310)});return i}[Ji(322)](t){const e=Ji,i=[];for(const n of this[e(348)](t[e(334)]))if(i[e(328)](n),n.id===t[e(300)])break;return i}*[Ji(348)](t,{direction:e=Ji(314),filter:i=()=>!0}={}){const n=Ji,r=n(314)===e?1:-1;let s=this[n(331)][n(340)](t),o=this[n(302)](s);for(yield s;s;){if(o+=r,s=this[n(309)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=181]})(t,e)}function Sn(){const t=["getOperation","nodeAfter","$text","type","getMovedRangeStart","filter","66702wzuQJa","RevisionTracker","_bufferedUpdates","default","toModel","model","_removeMetaData","rootName","range","getRevision","data-revision-","_licenseKeyCheckInterval","invalid","Users","createRevision","toData","_makeModelFromViewString","_getBaseVids","split","getRevisions","add","start","_execute","_initialRevisionId","useFillerType","config","_handleRootOperation","attachChange","end","_loadRevisionData","_savedMetaData","destroy","_authorId","dataToMarker","name","conversion","_showLicenseError","key","featureNotAllowed","elementEnd","removeRootAttribute","collaboration.channelId","root","newRange","finally","initial","getData","670686paDVkQ","loadState","isReady","size","getNodeByPath","addRoot","_createInitialRevision","isEnabled","_loadState","attributesBefore","clone","_applyOperations","createRangeIn","_handleRootAttributeOperation","roots","_isInit","max","183303MaWzDz","editor-initial-data-replaced-with-revision-data","domainLimit","_handleInsertOperation","RealTimeCollaborationClient","getRange","targetPosition","offset","getAttribute","isAttached","authorsIds","_removeRevisionMarkers","nodes","pluginName","marker","_reset","_continueCurrentRevision","$graveyard","shift","slice","getUser","_markers","oldRange","_saveMetaData","getOperations","getLatestVersion","for","changeRootAttribute","addRevision","remove","paragraph","usageLimit","_transformMarkers","_touchedRoots","getChildren","revisionHistory.resumeUnsavedRevision","newValue","createdAt","_fixOperation","dataDowncast","upcast","then","_calculateMetaData","_clone","version","resolve","processor","getWalker","fromEntries","offsetSize","attributesAfter","_revisionDataBuilder","38340Siarfe","_touchedMarkers","revisionHistoryLicenseKeyDomainLimit","parse","Empty document","_handleMarkerOperation","deletion","baseVersion","_diffRoots","revision-end","locale","3004227vmJRTg","addRootAttribute","_addPendingAction","deletions","documentFragment","createPositionAt","document","rootsAttributes","isAdd","includes","path","bind","attributes","markers","getRoot","saveRevision","afterInit","_replaceEditorDataWithRevisionData","hasContent","_handleMoveOperation","_makeIdsRoot","626766TyNKaa","getAttributes","_lastTo","createPositionAfter","updateRevisions","_lastFrom","markerToData","string","8SZUNbd","editing","_createFromRanges","merge","reverse","keys","licenseKey","_createCurrentRevision","editor","_idsRoots","revisionHistoryLicenseKeyNotAllowed","_makeRevision","push","_handleSplitOperation","tableCell","insertionPosition","_getFromVersion","createRange","data","repository","_isAttached","evaluationLimit","authors","_getState","_removePendingAction","setRevisionData","addRevisionData","splitPosition","revision-start","revisionHistoryLicenseKeyValid","keepParagraph","revision","has","revision:","_getPreviousFrom","plugins","isEqual","affectsData","NEGATIVE_INFINITY","_revisionId","children","119KgrJBh","length","childCount","_insertChild","creatorId","266990lALIxD","adapter","RevisionsRepository","define","RevisionHistory","_cloneOperation","_findInsertionIndex","getTime","_bufferUpdate","init","expired","toView","createPositionBefore","_setAttribute","source","buildRevisionData","map","reInit","revisionHistoryLicenseKeyExpired","diffData","_fixRange","text","_loadedStateData","isPremiumPlugin","vid_end","revisionHistoryLicenseKeyUsageLimit","_pendingAction","revisionHistoryLicenseKeyInvalid","_startingRevisionId","_fixPosition","getTransformedByOperation","_baseIdsRoots","_baseRoots","get","reinsert","element","requires","history","_getViewJson","update","ready","trialLimit","_source","getRootNames","find","some","elementStart","sendBufferedUpdates","_copyMarkers","getRevisionDocumentData","insertion","_touched","item","_isPendingUpdate","previousPosition","position","_appendChild","_handleMergeOperation","currentRevision","revisionHistoryLicenseKeyEvaluationLimit","_getVidAttributeName","forEach","creator","_setConversion","initialData","view","getCurrentRevisionId","_prepareViewToSave","_markChanges","fromVersion","parent","insert","graveyardPosition","_handleOperation","trim","revisionHistoryLicenseKeyTrialLimit","toVersion","stringify","PENDING_ACTION_REVISION_HISTORY","createPositionFromPath","marked","sourcePosition","_diffRootsAttributes","detachRoot","sort","PendingActions","12nsudpO","isOfficialPlugin","howMany","getChild","_generateTape","vid","setSource","_processRootBeforeSave","getAncestors","Initial revision","set","move","values","userId","stickiness","insertions","_baseRootsAttributes","getIndex","getRevisionRootsAttributes","vid_start","_operations","_startingVersion","from","delete","clear","startsWith","_update"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(178013===parseInt(e(413))/1+parseInt(e(497))/2+-parseInt(e(396))/3+parseInt(e(316))/4*(parseInt(e(465))/5)+-parseInt(e(349))/6*(-parseInt(e(225))/7)+parseInt(e(184))/8*(-parseInt(e(476))/9)+parseInt(e(230))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Bi.ViewContainerElement,a:Bi.ViewAttributeElement,e:Bi.ViewEmptyElement,r:Bi.ViewRawElement,u:Bi.ViewUIElement};class xn extends qi.Plugin{static get[_n(426)](){return _n(350)}static get[_n(317)](){return!0}static get[_n(253)](){return!0}static get[_n(266)](){return[Yi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(231)]=null,this[i(288)]=null,this[i(464)]=new Nn(this[i(192)]),this[i(372)]=this[i(192)][i(374)][i(263)](i(390))||i(394),this[i(351)]=new Map,this[i(252)]=null;const n=(0,t.uid)();this[i(272)]={history:this[i(192)][i(354)][i(482)][i(267)],getLatestVersion:()=>Promise[i(458)](this[i(192)][i(354)][i(482)][i(457)]),getCurrentRevisionId:()=>n},this[i(326)](i(398),!1),this[i(326)](i(403),!0),this[i(326)](i(283),!1),this[i(192)][i(374)][i(233)](i(448),!0),this[i(192)][i(384)][i(439)](i(453))[i(382)]({view:i(215)})}[_n(239)](){const t=_n;this[t(203)]=this[t(192)][t(219)][t(263)](t(232)),this[t(293)](),this[t(192)][t(202)].on(t(270),(()=>{const e=t,i=this[e(203)][e(358)](0),n=i&&null===i[e(292)]?i:null;if(this[e(429)]=!!n&&this[e(192)][e(374)][e(263)](e(448)),this[e(192)][e(219)][e(216)](e(417))){const t=this[e(272)][e(296)](),r=this[e(203)][e(358)](t);if(r)this[e(337)]=r[e(299)],this[e(429)]=!1;else{const t=this[e(272)][e(267)][e(336)][e(274)]((t=>!t[e(411)])),r=t?t[e(472)]:this[e(272)][e(267)][e(457)];i?(i[e(306)]<r&&i[e(342)]({toVersion:r}),this[e(429)]?(this[e(272)][e(296)]=()=>n.id,this[e(337)]=n[e(299)]):(this[e(337)]=i[e(306)],this[e(429)]=!1)):(this[e(337)]=r,this[e(429)]=!1)}}else n&&(this[e(192)][e(354)][e(482)][e(267)][e(457)]=Math[e(412)](n[e(306)],this[e(192)][e(354)][e(482)][e(267)][e(457)]),n[e(299)]===n[e(306)]?(0!==n[e(299)]&&(this[e(272)][e(296)]=()=>n.id),this[e(429)]=!1):this[e(429)]&&(this[e(272)][e(296)]=()=>n.id,this[e(337)]=n[e(299)])),this[e(429)]||(this[e(337)]=this[e(192)][e(354)][e(482)][e(457)]);this[e(464)][e(239)](this[e(272)][e(267)]),this[e(402)](this[e(337)]),this[e(191)](this[e(337)]),this[e(231)]&&this[e(277)]()})),this[t(487)](t(398)).to(this,t(283),(t=>!t)),this[t(190)]=this[t(192)][t(374)][t(263)](t(190));const e=this[t(192)];this[t(360)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(213)==s||i(257)==s||i(248)==s||i(467)==s||i(194)==s||i(289)==s||i(305)==s||i(255)==s){delete e[r],n=s,clearInterval(this[i(360)]),this[i(360)]=void 0;break}}i(257)==n&&e[i(385)](i(361)),i(248)==n&&e[i(385)](i(240)),i(467)==n&&e[i(385)](i(415)),i(194)==n&&e[i(385)](i(387),i(234)),i(289)==n&&e[i(385)](i(205)),i(305)==n&&e[i(385)](i(271)),i(255)==n&&e[i(385)](i(444))}),1e3)}async[_n(492)](){const t=_n;if(this[t(203)][t(226)]>0){const e=this[t(203)][t(358)](0),i=await this[t(279)](e),n=await this[t(334)](e);this[t(493)](i,n)}}[_n(380)](){const t=_n;super[t(380)](),this[t(360)]&&clearInterval(this[t(360)])}[_n(322)](t){this[_n(272)]=t}async[_n(269)](){const t=_n,e=await this[t(272)][t(438)]();if(e>this[t(288)][t(306)]){await this[t(404)]();const i=this[t(245)]({revision:this[t(288)],to:e});i[t(206)]=i[t(423)][t(246)]((e=>this[t(192)][t(219)][t(263)](t(362))[t(433)](e))),this[t(288)][t(342)](i)}}async[_n(404)](){const t=_n;this[t(429)]&&!this[t(252)]&&(await this[t(378)](this[t(288)]),this[t(464)][t(397)](this[t(288)]),this[t(252)]={fromVersion:this[t(288)][t(299)],authors:this[t(288)][t(206)][t(432)]()})}async[_n(491)](e={},i=null){const n=_n,r=[];await this[n(404)](),this[n(429)]=!1,i>this[n(288)][n(306)]&&(i=null),null===i&&(i=await this[n(272)][n(438)]());const s=this[n(200)](i),o=this[n(245)]({from:s,to:i});if(this[n(288)][n(306)]<i){const t=this[n(245)]({revision:this[n(288)],from:i,to:i});t[n(206)]=[],t[n(423)]=[],t.id=this[n(288)].id,this[n(288)][n(342)](t,!0),delete t[n(206)],r[n(196)](t)}e[n(229)]=this[n(192)][n(219)][n(263)](n(362)).me.id,e[n(383)]=e[n(383)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(210)](e);r[n(196)](e);const c=this[n(203)][n(333)](a);if(0!==c){const t=this[n(203)][n(358)](c-1);if(t[n(299)]!==i){const s=this[n(464)][n(395)](i,t[n(306)]),o={id:t.id,diffData:s[n(249)],authorsIds:s[n(423)],authors:s[n(423)][n(246)]((t=>this[n(192)][n(219)][n(263)](n(362))[n(433)](t))),fromVersion:i};t===this[n(288)]&&(o[n(450)]=new Date(e[n(450)][n(237)]()+10)),t[n(342)](o,!0),delete o[n(206)],r[n(196)](o)}}if(this[n(231)]){for(const t of r)this[n(238)](t.id,t,!0);this[n(277)]()}return a}[_n(210)](t){const e=_n,i=this[e(203)][e(363)](t);return this[e(231)]&&i.on(e(342),((t,i,n)=>{const r=e;n||(this[r(238)](i.id,i,!0),this[r(277)]())})),this[e(203)][e(441)](i,this[e(236)](i)),i}async[_n(279)](t){const e=_n;await this[e(378)](t);const i={};for(const n in t[e(249)]){if(t[e(249)][n][e(376)]&&!t[e(249)][n][e(376)][e(422)])continue;const r=this[e(424)](JSON[e(468)](t[e(249)][n][e(331)])),s=this[e(192)][e(185)][e(295)][e(482)],o=new Bi.ViewDocumentFragment(s,r[e(246)]((t=>Tn(t,this[e(192)]))));this[e(192)][e(202)][e(459)][e(373)](e(310)),i[n]=this[e(192)][e(202)][e(459)][e(364)](o),this[e(192)][e(202)][e(459)][e(373)](e(352))}return i}async[_n(334)](t){const e=_n;await this[e(378)](t);const i={};for(const n in t[e(249)])t[e(249)][n][e(376)]&&!t[e(249)][n][e(376)][e(422)]||(i[n]=t[e(249)][n][e(463)]||{});return i}[_n(277)](){const t=_n;if(0===this[t(351)][t(399)])return;if(this[t(283)])return;let e=Array[t(338)](this[t(351)][t(328)]());this[t(351)][t(340)]();for(let i=0;i<e[t(226)];i++){const n=e[i];let r=!1;for(const e of Object[t(189)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(348)]((t=>null!==t)),!e[t(226)])return;for(let i=0;i<e[t(226)];i++){const n=e[i];void 0!==n[t(299)]&&void 0===n[t(306)]&&(n[t(306)]=this[t(203)][t(358)](n.id)[t(306)]),void 0!==n[t(306)]&&void 0===n[t(299)]&&(n[t(299)]=this[t(203)][t(358)](n.id)[t(299)])}const i=this[t(192)][t(374)][t(263)](t(390));this[t(283)]=!0,this[t(478)](),this[t(231)][t(501)](e,i)[t(393)]((()=>{this[t(283)]=!1}))[t(454)]((e=>{const i=t;if(e)for(const t of e)this[i(209)]({id:t.id,createdAt:t[i(450)]});this[i(208)](),this[i(277)]()}))}[_n(493)](e,i){const n=_n;let r=this[n(192)][n(374)][n(263)](n(294)),s=this[n(192)][n(374)][n(263)](n(483));if(void 0===r){r={};for(const t of this[n(192)][n(354)][n(482)][n(273)]())r[t]=""}if(n(183)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(192)][n(354)][n(482)][n(273)]())s[t]={}}let o=!1;const a=Object[n(189)](r),c=Object[n(189)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(304)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(189)](s[t])[n(226)]>0){o=!0;break}}o||(o=c[n(275)]((t=>!this[n(192)][n(354)][n(482)][n(490)](t)))),o&&(0,t.logWarning)(n(414),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(192)][n(374)][n(326)](n(294),e),this[n(192)][n(374)][n(326)](n(483),i)}[_n(478)](){const t=_n;if(!this[t(256)]){const e=this[t(192)][t(219)][t(263)](t(315));this[t(256)]=e[t(369)](Qi(this[t(192)][t(475)],t(308)))}}[_n(208)](){const t=_n;this[t(256)]&&(this[t(192)][t(219)][t(263)](t(315))[t(442)](this[t(256)]),this[t(256)]=null)}[_n(236)](t){const e=_n,i=this[e(203)][e(368)]();i[e(188)]();let n=0;for(;n<i[e(226)];){const r=i[n];if(r===this[e(288)]){n++;continue}if(r.id===this[e(372)])break;const s=t[e(306)]-r[e(306)]||t[e(299)]-r[e(299)];if(s>0)break;if(s<0)n++;else{if(!t[e(292)]&&r[e(292)])break;if(r[e(292)]||!t[e(292)]){if(t[e(450)]>r[e(450)])break;n++}else n++}}return n}[_n(209)](t){const e=_n,i=this[e(203)][e(358)](t.id);if(t[e(450)]&&(t[e(450)]=new Date(t[e(450)])),t[e(423)]){const i=this[e(192)][e(219)][e(263)](e(362));t[e(206)]=t[e(423)][e(246)]((t=>i[e(433)](t)))}i[e(342)](t,!0)}[_n(245)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(299)],i=null!==i?i:t[n(306)];const r=this[n(464)][n(395)](e,i),s={diffData:r[n(249)],authorsIds:r[n(423)],fromVersion:e,toVersion:i};if(!t||i!==t[n(306)]){const t=i-1,e=this[n(272)][n(267)][n(343)](t);s[n(450)]=e&&e[n(450)]||new Date}if(this[n(252)]&&e===this[n(252)][n(299)])for(const t of this[n(252)][n(206)])s[n(423)][n(485)](t.id)||s[n(423)][n(196)](t.id);return s}[_n(378)](t){const e=_n;if(!t||t[e(249)])return Promise[e(458)]();{const i=this[e(192)][e(374)][e(263)](e(390));return this[e(231)][e(358)]({channelId:i,revisionId:t.id})[e(454)]((i=>{const n=e;t[n(249)]=i[n(249)]}))}}[_n(238)](t,e,i){const n=_n;if(this[n(351)][n(216)](t)){const r=this[n(351)][n(263)](t);e=i?{...r,...e}:{...e,...r}}this[n(351)][n(326)](t,e)}[_n(200)](t){const e=_n,i=this[e(203)][e(368)]();i[e(188)](),i[e(431)]();const n=i[e(274)]((i=>i[e(306)]<=t))[e(306)];return n<this[e(337)]?this[e(337)]:n}[_n(402)](t){const e=_n,i=this[e(203)][e(358)](this[e(203)][e(226)]-1);if(i)this[e(372)]=i.id;else{const i=!this[e(192)][e(354)][e(482)][e(410)][e(274)]((t=>this[e(192)][e(354)][e(494)](t))),n=this[e(192)][e(219)][e(263)](e(362)).me.id,r=Qi(this[e(192)][e(475)],e(i?469:325));this[e(195)]({from:t,to:t,id:this[e(372)],name:r,creatorId:n})}}[_n(191)](t){const e=_n,i=this[e(272)][e(296)]();this[e(288)]=this[e(203)][e(358)](i),this[e(288)]||(this[e(288)]=this[e(195)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(195)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(245)]({from:e,to:i});o[s(383)]=t,o[s(229)]=n,o.id=r;const a=this[s(210)](o);return this[s(231)]&&this[s(238)](o.id,o,!0),a}[_n(293)](){const t=_n;this[t(192)][t(384)][t(439)](t(452))[t(182)]({model:t(215)})}[_n(424)](t){const e=_n;return(t=t[e(348)]((t=>!t[e(383)]||e(212)!==t[e(383)]&&e(474)!==t[e(383)])))[e(291)]((t=>{const i=e;i(183)!=typeof t&&(t[i(224)]=this[i(424)](t[i(224)]),t[i(488)]=t[i(488)][i(348)]((t=>!t[0][i(341)](i(359)))))})),t}}function Tn(t,e){const i=_n,n=e[i(185)][i(295)][i(482)];if(i(183)==typeof t)return new Bi.ViewText(n,t);{const r=t[i(224)][i(246)]((t=>Tn(t,e)));return new(On[t[i(346)]]||Bi.ViewElement)(n,t[i(383)],t[i(488)],r)}}class Nn{constructor(t){const e=_n;this[e(192)]=t,this[e(379)]=new Map,this[e(181)]=-1,this[e(499)]=-1,this[e(434)]=new Map,this[e(473)]=new Map,this[e(312)]=new Map,this[e(262)]=new Map,this[e(332)]=new Map,this[e(193)]=new Map,this[e(261)]=new Map,this[e(281)]=new Map,this[e(466)]=new Map,this[e(446)]=new Map,this[e(223)]=1}[_n(239)](t){const e=_n;this[e(244)]=t;const i=new Map,n=new Map,r=this[e(192)][e(354)][e(482)][e(410)][e(246)]((t=>t[e(356)]));for(const t of r){const r=this[e(192)][e(354)][e(482)][e(490)](t),s=An(r);i[e(326)](t,s),n[e(326)](t,Object[e(461)](r[e(498)]()))}const s=Array[e(338)](this[e(192)][e(354)][e(489)])[e(246)]((t=>[t[e(383)],t[e(418)]()])),o=this[e(244)][e(457)];this[e(436)](o,i,s,n),this[e(258)]=this[e(223)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(326)](t,i),c[e(326)](t,{})}this[e(436)](Number[e(222)],a,[],c)}[_n(395)](t,e){const i=_n;if(this[i(181)]===t&&this[i(499)]<=e)this[i(379)][i(399)]>1&&this[i(355)](this[i(499)]),this[i(407)](this[i(499)],e,!0);else{if(!this[i(379)][i(216)](t)){const e=this[i(218)](t);this[i(455)](e,t,!1)}this[i(455)](t,e,!0)}return this[i(181)]=t,this[i(499)]=e,this[i(207)]()}[_n(397)](t){const e=_n;this[e(428)](),this[e(181)]=t[e(299)],this[e(499)]=t[e(306)];for(const i in t[e(249)]){const n=t[e(249)][i][e(376)],r=vi(t[e(249)][i][e(405)])||{},s=this[e(365)](t[e(249)][i][e(479)]);s[e(356)]=i,s[e(204)]=!n||!n[e(422)],s[e(422)]=()=>s[e(204)],this[e(262)][e(326)](i,s),this[e(332)][e(326)](i,r),n&&this[e(446)][e(326)](i,n);const o=this[e(496)](s);this[e(261)][e(326)](i,o);for(const[t,i]of s[e(489)]){if(!t[e(341)](e(217)))continue;const n=t[e(367)](":")[2];for(const t of i[e(460)]({singleCharacters:!0})){const i=this[e(290)](t),r=e(388)==t[e(346)]?t[e(284)][e(486)][e(432)](0,-1):t[e(284)][e(486)],s=o[e(400)](r)[e(421)](i);this[e(281)][e(326)](s,{userId:n})}}}this[e(258)]=this[e(223)];const i=[...Array(this[e(223)])[e(189)]()][e(432)](1)[e(348)]((t=>!this[e(281)][e(216)](t)));let n=0;const r=new Map;for(const s in t[e(249)]){const o=t[e(249)][s][e(376)],a=vi(t[e(249)][s][e(463)])||{},c=this[e(365)](t[e(249)][s][e(331)]);c[e(356)]=s,c[e(204)]=!o||o[e(422)],c[e(422)]=()=>c[e(204)],this[e(473)][e(326)](s,c),this[e(312)][e(326)](s,a);const u=this[e(496)](c,Number[e(222)]);this[e(193)][e(326)](s,u),r[e(326)](s,c[e(422)]()?a:{});for(const[t,i]of c[e(489)]){if(!t[e(341)](e(217)))continue;const n=t[e(367)](":")[2];for(const t of i[e(460)]({singleCharacters:!0})){const i=this[e(290)](t),r=this[e(223)]++,s=e(388)==t[e(346)]?t[e(284)][e(486)][e(432)](0,-1):t[e(284)][e(486)];u[e(400)](s)[e(243)](i,r),this[e(281)][e(326)](r,{userId:n})}}for(const t of this[e(192)][e(354)][e(408)](c)[e(460)]({singleCharacters:!0})){const r=this[e(290)](t),s=e(388)==t[e(346)]?t[e(284)][e(486)][e(432)](0,-1):t[e(284)][e(486)],o=u[e(400)](s);o[e(421)](r)>0||o[e(243)](r,i[n++])}for(const[t,i]of c[e(489)])t[e(341)](e(217))||this[e(434)][e(326)](t,i)}const s=Rn(e(430));this[e(262)][e(326)](e(430),s),this[e(261)][e(326)](e(430),this[e(496)](s,1));const o=Rn(e(430));this[e(473)][e(326)](e(430),o),this[e(193)][e(326)](e(430),this[e(496)](o,1));const a=Array[e(338)](this[e(473)])[e(246)]((([t,e])=>[t,An(e)]));this[e(436)](this[e(499)],a,this[e(434)],r)}[_n(365)](t){const e=_n,i=JSON[e(468)](t),n=this[e(192)][e(185)][e(295)][e(482)],r=new Bi.ViewDocumentFragment(n,i[e(246)]((t=>Tn(t,this[e(192)]))));return this[e(192)][e(202)][e(353)](r)}[_n(436)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(326)](t,{start:e[r(370)][r(406)](),end:e[r(377)][r(406)](),rootName:e[r(391)][r(356)]});this[r(379)][r(326)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(355)](t){const e=_n;this[e(379)][e(339)](t)}[_n(247)](){const t=_n;this[t(428)](),this[t(181)]=-1,this[t(499)]=-1,this[t(379)][t(340)](),this[t(239)](this[t(244)])}[_n(428)](){const t=_n;this[t(281)][t(340)](),this[t(466)][t(340)](),this[t(446)][t(340)](),this[t(473)][t(340)](),this[t(312)][t(340)](),this[t(262)][t(340)](),this[t(332)][t(340)](),this[t(193)][t(340)](),this[t(261)][t(340)](),this[t(434)][t(340)](),this[t(223)]=1,this[t(258)]=this[t(223)]}[_n(496)](t,e=null){const i=_n;let n=null;t.is(i(480))||(n=new Bi.Element(t[i(383)],{vid_start:null===e?this[i(223)]++:e++}));const r=[];for(const n of t[i(447)]())if(n.is(i(265))){r[i(196)](this[i(496)](n,e));const t=r[r[i(226)]-1];null!==e&&(e=t.is(i(265),i(345))?t[i(421)](i(321))+1:t[i(421)](i(254))+1)}else for(let t=0;t<n[i(462)];t++)r[i(196)](new Bi.Element(i(345),{vid:null===e?this[i(223)]++:e++}));if(t.is(i(480))){const e=Rn(t[i(356)]);return e[i(228)](0,r),e}return n[i(243)](i(254),null===e?this[i(223)]++:e++),n[i(228)](0,r),n}[_n(455)](t,e,i){const n=_n;this[n(428)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(379)][n(263)](t);this[n(262)]=new Map(r),this[n(332)]=new Map(vi(o));for(const[t,e]of this[n(262)])if(n(430)!==t&&(this[n(473)][n(326)](t,An(e)),this[n(312)]=new Map(vi(o)),i)){const i=this[n(223)];this[n(193)][n(326)](t,this[n(496)](e)),this[n(261)][n(326)](t,this[n(496)](e,i))}this[n(258)]=this[n(223)],this[n(473)][n(326)](n(430),An(this[n(262)][n(263)](n(430)))),i&&this[n(193)][n(326)](n(430),this[n(496)](this[n(262)][n(263)](n(430))));for(const[t,e]of s){const i=this[n(262)][n(263)](e[n(356)]),r=this[n(473)][n(263)](e[n(356)]),s=new Bi.Range(this[n(259)](e[n(370)],i),this[n(259)](e[n(377)],i)),o=this[n(250)](s,r);i[n(489)][n(326)](t,s),this[n(434)][n(326)](t,o)}this[n(407)](t,e,i)}[_n(407)](t,e,i){const n=_n;for(const r of this[n(244)][n(437)](t,e))this[n(303)](r,i);for(const t of this[n(473)][n(328)]())t[n(489)][n(340)]();for(const[t,e]of this[n(434)])this[n(473)][n(263)](e[n(391)][n(356)])[n(489)][n(326)](t,e[n(406)]());const r=new Map,s=new Map;for(const[t,e]of this[n(473)])r[n(326)](t,An(e)),s[n(326)](t,this[n(312)][n(263)](t));this[n(436)](e,r,this[n(434)],s)}[_n(218)](t){const e=_n,i=Array[e(338)](this[e(379)][e(189)]());i[e(314)](((t,e)=>t-e)),i[e(188)]();for(const e of i)if(e<t)return e;return Number[e(222)]}[_n(278)](t,e){const i=_n,n=Array[i(338)](e[i(489)])[i(246)]((([e,n])=>[e,this[i(250)](n,t)]));t[i(489)]=new Map(n)}[_n(445)](t){const e=_n;for(const i of this[e(434)][e(328)]()){const n=i[e(260)](t),r=Bi.Range[e(186)](n);i[e(370)]=r[e(370)],i[e(377)]=r[e(377)]}}[_n(303)](t,e){const i=_n;if(i(401)!=t[i(346)]&&i(313)!=t[i(346)]){if(i(301)==t[i(346)]){const n=t[i(285)][i(391)][i(356)];this[i(473)][i(216)](n)||(this[i(473)][i(326)](n,Rn(n,!0)),this[i(312)][i(326)](n,{}),e&&this[i(193)][i(326)](n,Rn(n,!0)))}else{if(i(477)==t[i(346)]||i(389)==t[i(346)]||i(440)==t[i(346)])return void this[i(409)](t);i(427)==t[i(346)]&&this[i(470)](t)}if(i(427)!==t[i(346)]){const e=this[i(235)](t,this[i(473)]);e[i(371)](),this[i(445)](e)}if(e)switch(t[i(346)]){case i(301):this[i(416)](t);break;case i(327):case i(442):case i(264):this[i(495)](t);break;case i(187):this[i(287)](t);break;case i(367):this[i(197)](t)}}else this[i(375)](t,e)}[_n(235)](t,e){const i=_n,n=t[i(406)]();return n[i(381)]=t[i(381)],this[i(451)](n,e),n}[_n(366)](t){const e=_n;return t[e(246)]((t=>{const i=e,n=this[i(290)](t);return Number(t[i(282)][i(421)](n))}))}[_n(320)](t,e){const i=_n;if(t.is(i(265),i(345)))e[i(196)]({item:t,type:i(251)});else{t.is(i(265))&&e[i(196)]({item:t,type:i(276)});for(const n of t[i(447)]())this[i(320)](n,e);t.is(i(265))&&e[i(196)]({item:t,type:i(388)})}return e}[_n(207)](){const t=_n,e=new Map(this[t(281)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(262)][t(189)](),...this[t(473)][t(189)]()]);a[t(339)](t(430));for(const e of a){const i=this[t(473)][t(263)](e)||Rn(e,!1),n=this[t(262)][t(263)](e)||Rn(e,!1);i[t(422)]()||n[t(422)]()?(r[t(331)][e]=An(i),r[t(479)][e]=An(n),this[t(278)](r[t(479)][e],n),this[t(278)](r[t(331)][e],i),s[t(331)][e]=this[t(320)](this[t(193)][t(263)](e),[]),s[t(479)][e]=this[t(320)](this[t(261)][t(263)](e)||Rn(e,!1),[])):a[t(339)](e)}for(const r of a){const o=s[t(331)][r];for(const r of o){const s=this[t(290)](r),o=r[t(282)][t(421)](s);i[t(339)](o),o>=this[t(258)]&&n[t(326)](o,e[t(263)](o))}}for(const r of a){const a=s[t(331)][r],c=this[t(366)](s[t(479)][r]);let u=0;for(const r of a){const s=this[t(290)](r),a=r[t(282)][t(421)](s);if(!n[t(216)](a)&&!o[t(216)](a))if(i[t(216)](a))u++;else{if(a!=c[u]){const n=e[t(263)](a)||e[t(263)](c[u]);for(;a!=c[u];)i[t(216)](c[u])||(o[t(326)](c[u],n),e[t(326)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(331)][e];for(const e of r){const r=this[t(290)](e),s=e[t(282)][t(421)](r);if(o[t(216)](s)){const e=o[t(263)](s);i[t(216)](s)||i[t(326)](s,{...e}),n[t(326)](s,{...e})}}}for(const e of i[t(189)]())e>=this[t(258)]&&i[t(339)](e);const c=new Map;for(const e of a){let r=s[t(331)][e];for(const e of r)if(e[t(282)].is(t(265),t(198))){const i=this[t(290)](e),r=e[t(282)][t(421)](i);if(n[t(216)](r)){const i=e[t(282)][t(300)][t(300)][t(421)](t(335)),s=c[t(263)](i)||new Set;s[t(369)](n[t(263)](r)[t(329)]),c[t(326)](i,s)}}r=s[t(479)][e];for(const e of r)if(e[t(282)].is(t(265),t(198))){const n=this[t(290)](e),r=e[t(282)][t(421)](n);if(i[t(216)](r)){const n=e[t(282)][t(300)][t(300)][t(421)](t(335)),s=c[t(263)](n)||new Set;s[t(369)](i[t(263)](r)[t(329)]),c[t(326)](n,s)}}for(const e of c[t(189)]())(n[t(216)](e)||i[t(216)](e))&&c[t(339)](e)}for(const e of a){const r=s[t(331)][e];let o=null,a=null;for(const e of r){const r=this[t(290)](e),s=e[t(282)][t(421)](r),u=c[t(263)](s);u&&t(276)==e[t(346)]&&(o=Array[t(338)](u)[0],a=e[t(282)][t(421)](t(254))),o&&(i[t(326)](s,{userId:o}),n[t(326)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(479)][e],a=r[t(331)][e];for(const{userId:e}of this[t(466)][t(328)]())null!==e&&l[t(369)](e);for(const{userId:e}of this[t(446)][t(328)]())null!==e&&l[t(369)](e);this[t(298)](a,s[t(331)][e],n,t(280),l),this[t(298)](o,s[t(479)][e],i,t(471),l),u[e]={insertions:this[t(297)](a),deletions:this[t(297)](o),attachChange:this[t(446)][t(263)](e)||null,attributesBefore:vi(this[t(332)][t(263)](e))||{},attributesAfter:vi(this[t(312)][t(263)](e))}}return{diffData:u,authorsIds:Array[t(338)](l)}}[_n(323)](t){const e=_n;for(const[,i]of t[e(489)]){const t=i[e(370)][e(324)]()[e(348)]((t=>e(198)==t[e(383)]));for(const i of t)1==i[e(227)]&&i[e(319)](0).is(e(265),e(443))&&i[e(319)](0)[e(243)](e(214),!0)}}[_n(297)](t){const e=_n;this[e(323)](t);const i=this[e(192)][e(202)][e(241)](t,{}),n=Array[e(338)](i[e(447)]())[e(246)]((t=>this[e(268)](t)));return JSON[e(307)](n)}[_n(268)](t){const e=_n;if(t.is(e(345)))return t[e(202)];{const i=t;return{type:Object[e(189)](On)[e(274)]((e=>t instanceof On[e])),name:i[e(383)],attributes:Array[e(338)](i[e(498)]()),children:Array[e(338)](i[e(447)]())[e(246)]((t=>this[e(268)](t)))}}}[_n(298)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(192)][s(354)];for(let n=0;n<e[s(226)];n++){const r=this[s(290)](e[n]),c=e[n][s(282)][s(421)](r),h=i[s(263)](c),d=n==e[s(226)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(329)]!=o[s(329)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(329)],d=l(217)+n+":"+h+":"+c++,f=u[l(201)](i,a);t[l(489)][l(326)](d,f),null!==h&&r[l(369)](h)}}[_n(290)](t){const e=_n;switch(t[e(346)]){case e(276):return e(335);case e(388):return e(254);default:return e(321)}}[_n(451)](t,e){const i=_n;t[i(472)]=null;for(const n in t){const r=t[n];if(r instanceof Bi.Position){const s=e[i(263)](r[i(391)][i(356)]);t[n]=this[i(259)](r,s)}if(r instanceof Bi.Range){const s=e[i(263)](r[i(391)][i(356)]);t[n]=this[i(250)](r,s)}i(391)===n&&(t[i(391)]=e[i(263)](t[i(391)][i(356)]))}}[_n(250)](t,e){const i=_n;return this[i(192)][i(354)][i(201)](this[i(259)](t[i(370)],e),this[i(259)](t[i(377)],e))}[_n(259)](t,e){const i=_n;return this[i(192)][i(354)][i(309)](e,t[i(486)],t[i(330)])}[_n(416)](t){const e=_n,i=this[e(193)][e(263)](t[e(285)][e(391)][e(356)]),n=this[e(259)](t[e(285)],i),r=null===t[e(381)]?null:t[e(381)]||this[e(192)][e(219)][e(263)](e(362)).me.id,s=n[e(300)],o=this[e(223)],a=[];for(const i of t[e(425)])if(i.is(e(265)))a[e(196)](this[e(496)](i));else for(let t=0;t<i[e(462)];t++)a[e(196)](new Bi.Element(e(345),{vid:this[e(223)]++}));const c=this[e(223)];for(let t=o;t<c;t++)this[e(281)][e(326)](t,{userId:r});s[e(228)](n[e(420)],a)}[_n(495)](t){const e=_n;(t=this[e(235)](t,this[e(193)]))[e(371)]();const i=null===t[e(381)]?null:t[e(381)]||this[e(192)][e(219)][e(263)](e(362)).me.id,n=t[e(347)](),r=n[e(300)],s=n[e(420)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(319)](e);s.is(a(265),a(345))?n[a(326)](s[a(421)](a(321)),{userId:i}):(n[a(326)](s[a(421)](a(335)),{userId:i}),t(n,s,0,s[a(227)]),n[a(326)](s[a(421)](a(254)),{userId:i}))}}(this[e(281)],r,s,s+t[e(318)])}[_n(287)](t){const e=_n,i=null===(t=this[e(235)](t,this[e(193)]))[e(381)]?null:t[e(381)]||this[e(192)][e(219)][e(263)](e(362)).me.id,n=t[e(419)][e(300)],r=t[e(311)][e(300)],s=n[e(421)](e(254)),o=r[e(421)](e(335));n[e(243)](e(254),r[e(421)](e(254))),r[e(243)](e(254),s),this[e(281)][e(326)](o,{userId:i}),this[e(281)][e(326)](s,{userId:i}),t[e(371)]()}[_n(197)](t){const e=_n,i=null===(t=this[e(235)](t,this[e(193)]))[e(381)]?null:t[e(381)]||this[e(192)][e(219)][e(263)](e(362)).me.id,n=t[e(302)],r=t[e(211)][e(300)];t[e(371)]();const s=r[e(421)](e(254)),o=t[e(199)][e(344)];if(n){const t=o[e(421)](e(254)),n=r[e(421)](e(254));r[e(243)](e(254),t),o[e(243)](e(254),n),this[e(281)][e(326)](r[e(421)](e(254)),{userId:i}),this[e(281)][e(326)](o[e(421)](e(335)),{userId:i})}else{const t=this[e(223)]++,n=this[e(223)]++;r[e(243)](e(254),t),o[e(243)](e(335),n),o[e(243)](e(254),s),this[e(281)][e(326)](t,{userId:i}),this[e(281)][e(326)](n,{userId:i})}}[_n(470)](t){const e=_n;if(!t[e(221)])return;const i=(t=this[e(235)](t,this[e(473)]))[e(435)]?t[e(435)][e(391)]:null,n=t[e(392)]?t[e(392)][e(391)]:null;i&&this[e(434)][e(339)](t[e(383)]),n&&this[e(434)][e(326)](t[e(383)],t[e(392)][e(406)]());const r=null===t[e(381)]?null:t[e(381)]||this[e(192)][e(219)][e(263)](e(362)).me.id,s=t[e(383)];if(!this[e(466)][e(216)](s))return void this[e(466)][e(326)](s,{range:t[e(435)],userId:r});const o=this[e(466)][e(263)](s),a=o[e(357)],c=t[e(392)];null==a&&null==c||a&&c&&a[e(220)](c)?this[e(466)][e(339)](t[e(383)]):o[e(329)]=r}[_n(375)](t,e){const i=_n;this[i(473)][i(216)](t[i(356)])?this[i(473)][i(263)](t[i(356)])[i(204)]=t[i(484)]:(this[i(473)][i(326)](t[i(356)],Rn(t[i(356)],!0)),this[i(312)][i(326)](t[i(356)],{}),e&&this[i(193)][i(326)](t[i(356)],Rn(t[i(356)],!0)));const n=null===t[i(381)]?null:t[i(381)]||this[i(192)][i(219)][i(263)](i(362)).me.id,r=this[i(446)][i(263)](t[i(356)]);r&&r[i(329)]===n?this[i(446)][i(339)](t[i(356)]):this[i(446)][i(326)](t[i(356)],{userId:n,isAttached:t[i(484)]})}[_n(409)](t){const e=_n,i=this[e(312)][e(263)](t[e(391)][e(356)]);null===t[e(449)]?delete i[t[e(386)]]:i[t[e(386)]]=t[e(449)]}}function An(t){const e=_n,i=Rn(t[e(356)],t[e(422)]());for(const n of t[e(447)]()){const t=n[e(456)](!0);i[e(286)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Bi.DocumentFragment;return n[i(356)]=t,n[i(204)]=e,n[i(422)]=()=>n[i(204)],n}function Mn(t,e,i){const n=_n,r=n(388)==t[n(346)]?i[n(481)](t[n(282)],n(377)):i[n(242)](t[n(282)]);return i[n(309)](e,r[n(486)],r[n(330)])}function En(t,e,i){const n=_n,r=n(276)==t[n(346)]?i[n(481)](t[n(282)],0):i[n(500)](t[n(282)]);return i[n(309)](e,r[n(486)],r[n(330)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Yn={attributes:{"data-cke":!0}};Yn.setAttributes=Wn(),Yn.insert=Ln().bind(null,"head"),Yn.domAPI=Fn(),Yn.insertStyleElement=Zn();Cn()(qn.A,Yn);qn.A&&qn.A.locals&&qn.A.locals;const Bn=Gn;function Jn(){const t=["10KZHiAJ","optional","6823458fMMipr","arrowright","form","_createRevisionNameInput","errorText","6366462gdEQmJ","30270130sUtMmD","extendTemplate","input","242588KNykMX","trim","arrowdown","220","label","arrowleft","revisionNameInputView","fieldView","focus","set","value","setTemplate","Name of the revision","reset","focusTracker","arrowup","add","stopPropagation","element","revisionNameInputValue","listenTo","locale","3231032AJXgkE","24VapaCu","render","ck-revision-history-save-revision-form","ck-responsive-form","980015GAmvoQ","14mzQPku","332589lVJOsS","115nFksIY","keystrokes","revisionName"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(725667===-parseInt(e(477))/1+-parseInt(e(473))/2*(parseInt(e(479))/3)+parseInt(e(494))/4*(parseInt(e(480))/5)+-parseInt(e(490))/6+-parseInt(e(478))/7*(parseInt(e(472))/8)+-parseInt(e(485))/9*(-parseInt(e(483))/10)+parseInt(e(491))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends Vn.View{constructor(e,i){const n=Gn;super(e),this[n(508)]=new t.FocusTracker,this[n(481)]=new t.KeystrokeHandler,this[n(503)](n(513),""),this[n(500)]=this[n(488)](i),this[n(505)]({tag:n(487),attributes:{class:["ck",n(475),n(476)],tabindex:"-1"},children:[this[n(500)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Bn(474)](){const t=Bn;super[t(474)](),(0,Vn.submitHandler)({view:this}),this[t(508)][t(510)](this[t(500)][t(512)]),this[t(481)][t(514)](this[t(512)]);const e=e=>e[t(511)]();this[t(481)][t(503)](t(486),e),this[t(481)][t(503)](t(499),e),this[t(481)][t(503)](t(509),e),this[t(481)][t(503)](t(496),e)}[Bn(502)](){const t=Bn;this[t(500)][t(502)]()}get[Bn(482)](){const t=Bn;return this[t(500)][t(501)][t(512)][t(504)][t(495)]()}set[Bn(482)](t){const e=Bn;this[e(500)][e(501)][e(512)][e(504)]=t[e(495)]()}[Bn(507)](){const t=Bn;this[t(500)][t(501)][t(512)][t(504)]="",this[t(500)][t(489)]=null}[Bn(488)](t){const e=Bn,i=new Vn.LabeledFieldView(this[e(471)],Vn.createLabeledInputText),n=i[e(501)];n[e(492)]({attributes:{maxlength:e(497)}});let r=Qi(this[e(471)],e(506));return!t&&(r+=" ("+Qi(this[e(471)],e(484))+")"),i[e(498)]=r,n.on(e(493),(()=>{const t=e;this[t(513)]=n[t(512)][t(504)][t(495)]()})),i}}const Xn=tr;function Qn(){const t=["3101nHaZPu","Dialog","editing","_registerMenuComponent","1576158FELOVq","locale","editor","_createSaveRevisionFormView","revisionNameInputView","Cancel","revisionHistory.requireRevisionName","isReady","Revision history","1996626QLBeGX","_saveRevisionFormView","get","ck-button-action","reset","errorText","history","items","plugins","8471835MZrSVH","view","Open revision history","3847988kGUeao","render","panelView","init","revisionName","689770xoOiLC","isOfficialPlugin","config","5UdrPtG","add","set","hide","3704jCjyNC","RevisionTracker","addMany","isPremiumPlugin","menuitem","menu","isReadOnly","isEnabled","focus","isOpen","buttonView","saveRevision","menuBar:revisionHistory","showRevisionViewerCallback","bind","children","revisionSave","show","revisionHistory","_showDialog","Accept","delegate","Save current revision","role","requires","The revision name cannot be empty.","submit","execute","366350QmvUZo","componentFactory","pluginName","RevisionHistoryUI"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=422]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(495903===parseInt(e(438))/1+parseInt(e(473))/2+-parseInt(e(481))/3+-parseInt(e(433))/4*(-parseInt(e(441))/5)+parseInt(e(490))/6+-parseInt(e(477))/7*(parseInt(e(445))/8)+-parseInt(e(430))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends qi.Plugin{static get[Xn(475)](){return Xn(476)}static get[Xn(439)](){return!0}static get[Xn(448)](){return!0}static get[Xn(469)](){return[xn]}[Xn(436)](){const t=Xn,e=this[t(483)],i=e[t(429)][t(423)](t(446));e.ui[t(474)][t(442)](t(463),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(435)][r(460)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(459)](r(452)).to(i,r(488),i,r(452),e,r(451),((t,e,i)=>t&&e&&!i)),s[r(455)][r(443)]({icon:qi.icons[r(427)],label:Qi(n,r(489)),tooltip:!0}),u[r(443)]({label:Qi(n,r(467)),withText:!0,role:r(449)}),u[r(459)](r(452)).to(i,r(488),i,r(452),e,r(451),((t,e,i)=>t&&e&&!i)),u.on(r(472),(()=>this[r(464)]())),h[r(443)]({label:Qi(n,r(432)),withText:!0,role:r(449)}),h[r(459)](r(452)).to(i,r(488),e,r(451),((t,e)=>t&&!e)),h.on(r(472),(()=>{const t=r;e[t(440)][t(423)](t(463))[t(458)](),s[t(454)]=!1,e[t(479)][t(431)][t(453)]()})),c[r(460)][r(442)](u),l[r(460)][r(442)](h),a[r(468)]=r(450),a[r(428)][r(447)]([c,l]),o[r(442)](a),s})),e.ui[t(474)][t(442)](t(457),(()=>this[t(480)]()))}[Xn(480)](){const t=Xn,e=this[t(483)],i=e[t(482)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(455)][t(443)]({icon:qi.icons[t(427)],label:Qi(i,t(489))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(443)]({label:Qi(i,t(467))}),o[t(466)](t(472)).to(n),o.on(t(472),(()=>{this[t(464)]()})),s[t(460)][t(442)](o),r[t(428)][t(442)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(443)]({label:Qi(i,t(432))}),c[t(466)](t(472)).to(n),c.on(t(472),(()=>{const i=t;e[i(440)][i(423)](i(463))[i(458)]()})),a[t(460)][t(442)](c),r[t(428)][t(442)](a),n[t(435)][t(460)][t(442)](r),n}[Xn(464)](){const t=Xn,e=this[t(483)],i=e[t(482)],n=e[t(429)][t(423)](t(478)),r=e[t(429)][t(423)](t(446));function s(r){const s=t;e[s(440)][s(423)](s(487))&&""===r[s(437)]?r[s(485)][s(426)]=Qi(i,s(470)):(e[s(429)][s(423)](xn)[s(456)]({name:r[s(437)]}),n[s(444)]())}this[t(422)]||(this[t(484)](),this[t(422)].on(t(471),(()=>s(this[t(422)])))),this[t(422)][t(425)](),n[t(462)]({id:t(461),title:Qi(i,t(467)),isModal:!0,content:this[t(422)],actionButtons:[{label:Qi(e[t(482)],t(486)),withText:!0,onExecute:()=>n[t(444)]()},{label:Qi(e[t(482)],t(465)),class:t(424),withText:!0,onCreate(i){const n=t;i[n(459)](n(452)).to(r,n(488),r,n(452),e,n(451),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(422)])}]})}[Xn(484)](){const t=Xn,e=this[t(483)],i=e[t(482)];this[t(422)]=new Kn(i,e[t(440)][t(423)](t(487))),this[t(422)][t(434)]()}}function ir(){const t=["16FEFHdB","type","focus","set","div","160317jsUsDP","changeId","isSuggestion","Removed by","add","1440022LzbkUW","11491551ZhUCJk","908482UAcveN","1024120RkGzlL","_model","ck-revision-change__label","name","565ITJTze","ck-annotation","author","setTemplate","Suggested by","span","Added by","data","ck-revision-change__","element","ck-revision-change","1703093iTMjbl","8196rFqdeG","bindTemplate"];return(ir=function(){return t})()}const nr=rr;function rr(t,e){const i=ir();return(rr=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(491893===-parseInt(e(252))/1+-parseInt(e(250))/2+-parseInt(e(245))/3+parseInt(e(253))/4+parseInt(e(257))/5*(parseInt(e(238))/6)+-parseInt(e(268))/7*(-parseInt(e(240))/8)+parseInt(e(251))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ir);class sr extends Vn.View{constructor(t,e){const i=rr;super(t),this[i(254)]=e,this[i(246)]=e.id;const n=this[i(239)],r=Qi(t,e[i(264)][i(247)]?i(261):i(249)==e[i(241)]?i(263):i(248));this[i(243)](i(241),e[i(241)]),this[i(260)]({tag:i(244),attributes:{class:[i(258),i(267),n.to(i(241),(t=>i(265)+t))],tabindex:-1},children:[{tag:i(262),children:[{tag:i(262),attributes:{class:[i(255)]},children:[{text:r}]},{text:" "+e[i(259)][i(256)]}]}]})}[nr(242)](){const t=nr;this[t(266)][t(242)]()}}function or(){var t=["data","12dMNQfq","7108zcwFeM","3129966JFFxeO","createdAt","813YDTzHd","type","set","2EuIZCD","2418856vvCRYX","6559730StWvPp","toJSON","rootName","1273278WvFmNQ","8135870JaRxqT","9gODJKI","author","1713480cIetKj"];return(or=function(){return t})()}function ar(t,e){var i=or();return(ar=function(t,e){return i[t-=133]})(t,e)}var cr=ar;!function(t){for(var e=ar,i=t();;)try{if(753547===-parseInt(e(145))/1*(-parseInt(e(140))/2)+parseInt(e(137))/3*(-parseInt(e(134))/4)+-parseInt(e(142))/5+parseInt(e(133))/6*(parseInt(e(135))/7)+-parseInt(e(149))/8+parseInt(e(147))/9*(parseInt(e(146))/10)+-parseInt(e(141))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(148)]=e[i(148)],this[i(138)]=e[i(138)],this[i(150)]=e[i(150)]||{},this[i(144)]=e[i(144)],this[i(139)](i(136),e[i(136)])}[cr(143)](){var t=cr;return{id:this.id,authorId:this[t(148)].id,type:this[t(138)],data:this[t(150)],createdAt:this[t(136)]}}}function lr(t,e){const i=dr();return(lr=function(t,e){return i[t-=276]})(t,e)}const hr=lr;function dr(){const t=["5728egQNip","6090gaeAUW","_setChanges","530765LawFAP","508194XohMoe","29372166sruyKU","531540EJSxbf","add","6285660vClPhW","2820rEvYtc","changes","oldRevisionId","newRevisionId","2298ZcVviw"];return(dr=function(){return t})()}!function(t){const e=lr,i=t();for(;;)try{if(782140===parseInt(e(283))/1+-parseInt(e(288))/2*(parseInt(e(278))/3)+-parseInt(e(285))/4+-parseInt(e(282))/5+-parseInt(e(287))/6+-parseInt(e(280))/7*(parseInt(e(279))/8)+parseInt(e(284))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=lr;this[n(277)]=e,this[n(276)]=i,this[n(289)]=new t.Collection}[hr(281)](t){const e=hr;for(const i of t)this[e(289)][e(286)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=kr;!function(t){const e=kr,i=t();for(;;)try{if(988624===-parseInt(e(637))/1+parseInt(e(456))/2+-parseInt(e(770))/3*(parseInt(e(638))/4)+parseInt(e(742))/5*(parseInt(e(636))/6)+parseInt(e(700))/7*(-parseInt(e(682))/8)+parseInt(e(447))/9+-parseInt(e(446))/10*(-parseInt(e(723))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const yr={c:Bi.ViewContainerElement,a:Bi.ViewAttributeElement,e:Bi.ViewEmptyElement,r:Bi.ViewRawElement,u:Bi.ViewUIElement};function gr(){const t=["includes","_cleanMarkers","document","activeChange","destroy","uiElement","high","_step","_makeTape","attributesAfter","_initInteractions","parse","softBreak","_fixObsoleteTags","mousedown","merge","nextPosition","detachRoot","activeView","slice","_markMarkers","repository","isAtStart","bindElementToMarker","target","isAttached","removeMarker","object","isRemoveSuggestion","_getChangeFromId","isSuggestion","addClass","198534jEurzk","1571250tahEJr","293224twcnYA","editingDowncast","isNavigationMode","listenTo","_joinTapes","createRevision","index","isPremiumPlugin","_getDiff","getClientRects","setAttribute","roots","createPositionFromPath","indexOf","createUIElement","_threeWayMerge","ck-revision-history-root-add","markerNameToElements","sort","hasAttribute","mapViewToDom","_removeMissingPairs","_setConversion","length","locale","data","restoreRevisionCallback","_removeRevisionMarkers","consume","change:numberOfChanges","forward","commands","bottom","getAttributes","nextSibling","all","insert","return","ck-suggestion-marker-merge","isOfficialPlugin","writer","changes","conversion","hasClass","7432ggIdWH","selection","revision-viewer","isReady","collaboration.channelId","affectsData","start","startsWith","resolve","bind","elementToAttribute","mapper","suggestion","revisionHistoryLabel","domEvent","for","_activeViewTarget","_markMismatchedRemovedTags","14441LzdxcU","revision-end","isIncorrect","revisionHistory","map","getCustomProperty","side","forceDisabled","isRemoved","isAfter","_revisions","startIndex","processor","toViewPosition","end","markers","getRevisionData","ck-suggestion-marker-split","toViewRange","default","attributesBefore","type","catch","2497uTUOEO","oldRevisionId","_setDistance","element","clear","markerRange","revisionHistoryAttachChange","_removeUnsupportedChanges","children","getWalker","execute","_update","diff","level","requires","ck-editor__editable__overlay","getRoot","data-change-id","endIndex","190ADslqp","showStack","checkAttribute","getLaterVisibleRevision","isContent","view","first","vid_end","domConverter","insertion","push","showNextChange","offsetSize","delete","attachChange","change:isReady","revision-comment:","isLimit","ck-suggestion-preview-marker","element:pre","deletion","ck-revision-history-root-remove","has","markerName","change:isEnabled","isAdded","done","numberOfChanges","3aOAFHL","keys","isEqual","dataDowncast","revision-start","item","low","nodeAfter","schema","isEnabled","ck-revision-history-root-","changeId","then","enableReadOnlyMode","abs","72830gbHuLR","3528972tyNVCi","_data","plugins","dataToMarker","marked","error","observeMarkers","_markInsertions","_makeModelFromTape","2493952eVsBxO","text","add","unbindElementFromMarkerName","elementStart","_setChanges","userId","ck-suggestion-marker-","getAttribute","RevisionsRepository","test","_getViewForChange","concat","change","distance","addMarker:revision-suggestion:deletion","getDomRoot","refresh","currentChangeNumber","loadRevisionData","findIndex","wrap","_changeView","change:activeChange","-new","revision","RevisionViewer","values","editor","attribute:vid","isAddSuggestion","_appendChild","left","createAttributeElement","parent","addHighlight","editing","_markSuggestions","createRangeIn","comment","newRevisionId","removeMarker:revision","WidgetToolbarRepository","isAtEnd","init","unshift","previousPosition","split","isCollapsed","getIndex","attributes","_cleanUp","pop","ck-suggestion-marker","next","getRevision","getRevisionRootsAttributes","pluginName","code","change:activeView","_processTape","revision-suggestion","elementEnd","modelRange","ck-suggestion-marker--active","vid","isOnRoot","_refreshStartEndIndex","range","right","compare","config","ck-revision-history-root--active","_sortAndFilterDiffChanges","addRoot","forEach","consumable","maxOffset","span","showPreviousChange","splice","deletions","markerToHighlight","mouseover","name","filter","addMarker:revision","markerToData","diffData","markersEnd","getChild","model","data-revision-","viewItem","reconvertMarker","getItems","isBlock","addRevisionData","toModel","flat","revision-suggestion:","removeAttribute","toData","revision:","updatePosition","stop","markersStart","removeMarker:revision-suggestion","authors","createRange","_getRevisionsRange","_changeIdToChange","_getViewObj","highest","enqueueChange","useFillerType","set","toViewElement","adapter","addMarker:revision-suggestion:insertion","find","remove","suggestion:","from","pairId","rootName","isBefore","_balloon","downcastDispatcher","_makeModelFromViewString","insertions","string","isObject","shift","backward","restoreRevision","ck-suggestion-preview-marker-","upcast","isInline","vid_start","createPositionBefore","removeClass","get","getRootNames","top","POSITIVE_INFINITY","addRevision","_findChangeIdFromDomTarget"];return(gr=function(){return t})()}function kr(t,e){const i=gr();return(kr=function(t,e){return i[t-=446]})(t,e)}class br extends qi.Plugin{static get[vr(513)](){return vr(482)}static get[vr(677)](){return!0}static get[vr(645)](){return!0}static get[vr(737)](){return[Yi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(625)]=this[e(484)][e(449)][e(598)](e(465)),this[e(572)](e(607),null),this[e(572)](e(622),null),this[e(698)]=null,this[e(572)](e(735),null),this[e(572)](e(685),!1),this[e(572)](e(779),!0),this.on(e(766),((t,i,n)=>{const r=e;this[r(607)]=null,this[r(622)]=null,this[r(484)][r(492)][r(747)][r(469)]((t=>{const e=r;for(const i of this[e(484)][e(492)][e(747)][e(606)][e(649)])n?t[e(597)](e(738),i):t[e(635)](e(738),i)}))})),this[e(691)](e(640)).to(this,e(607),(t=>null!==t)),this[e(691)](e(474)).to(this,e(685),this,e(735),this,e(607),((t,i,n)=>t&&n?i[e(679)][e(505)](n):0)),this[e(691)](e(769)).to(this,e(685),this,e(735),((t,i)=>t?i[e(679)][e(661)]:0)),this[e(478)]=null,this[e(567)]=new Map,this[e(574)]=null,this[e(583)]=this[e(484)][e(449)][e(598)](Vn.ContextualBalloon)}[vr(500)](){const t=vr,e=this[t(484)],i=new Ir(e,{direction:t(590)}),n=new Ir(e,{direction:t(668)});e[t(669)][t(458)](t(535),i),e[t(669)][t(458)](t(753),n),e[t(669)][t(458)](t(591),new _r(e)),this.on(t(667),(()=>{const e=t;i[e(473)](),n[e(473)]()})),this[t(660)](),this[t(614)](),e[t(783)](t(684)),e[t(449)][t(764)](t(498))&&e[t(449)][t(598)](t(498))[t(707)](t(684))}async[vr(716)](t){const e=vr;await this[e(475)](t);const i={};for(const n in t[e(544)]){if(t[e(544)][n][e(756)]&&!t[e(544)][n][e(756)][e(629)])continue;const r=this[e(665)](JSON[e(615)](t[e(544)][n][e(586)])),s=this[e(484)][e(492)][e(747)][e(606)],o=new Bi.ViewDocumentFragment(s,r[e(704)]((t=>this[e(568)](t))));this[e(484)][e(663)][e(712)][e(571)](e(451)),i[n]=this[e(484)][e(663)][e(712)][e(558)](o),this[e(484)][e(663)][e(712)][e(571)](e(719))}return i}async[vr(512)](t){const e=vr;await this[e(475)](t);const i={};for(const n in t[e(544)])t[e(544)][n][e(756)]&&!t[e(544)][n][e(756)][e(629)]||(i[n]=t[e(544)][n][e(613)]||{});return i}[vr(665)](t){const e=vr;return(t=t[e(541)]((t=>!t[e(540)]||e(774)!==t[e(540)]&&e(701)!==t[e(540)])))[e(531)]((t=>{const i=e;i(587)!=typeof t&&(t[i(731)]=this[i(665)](t[i(731)]),t[i(506)]=t[i(506)][i(541)]((t=>!t[0][i(689)](i(548)))))})),t}async[vr(526)](t,e,i=!1){const n=vr;if(!this[n(779)])return;const r=this[n(735)],s=this[n(625)],o=n(587)==typeof t?s[n(511)](t):t,a=n(587)==typeof e?s[n(511)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(735)]&&this[n(735)][n(496)]===c&&this[n(735)][n(724)]===u)return Promise[n(690)]();this[n(685)]=!1,this[n(622)]=null,this[n(607)]=null,this[n(735)]=new fr(c,u);const l=this[n(566)](o,a,!0)[n(704)]((t=>this[n(475)](t)));return l[n(752)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(673)](l)[n(782)]((()=>{const t=n;if(!this[t(779)])return;this[t(507)]();const e=this[t(646)](c,u);for(const i of e[t(679)])this[t(567)][t(572)](i.id,i);this[t(484)][t(547)][t(570)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(484)][n(547)][n(606)][n(599)]())i[n(621)](t);for(const t of Object[n(771)](e[n(547)])){const r=i[n(530)](t);for(const s of Object[n(771)](e[n(506)][t]))i[n(648)](s,e[n(506)][t][s],r);i[n(674)](e[n(547)][t],r,0)}})),this[t(735)][t(461)](this[t(529)](e[t(679)])),this[t(685)]=!0}))[n(722)]((t=>{const e=n;console[e(452)](t),this[e(507)](),r&&(this[e(735)]=r),this[e(685)]=!0}))}[vr(553)](t,e){const i=vr,n=this[i(625)][i(643)](t);return n.on(i(734),((t,i,r)=>e(i,r,n))),this[i(625)][i(602)](n),n}[vr(475)](t){const e=vr;if(!t||t[e(544)])return Promise[e(690)]();{const i=this[e(484)][e(527)][e(598)](e(686));return this[e(574)][e(511)]({channelId:i,revisionId:t.id})[e(782)]((i=>{const n=e;t[n(734)]({diffData:i[n(544)]},!0)}))}}[vr(507)](){const t=vr;this[t(607)]=null,this[t(605)](),this[t(478)]&&this[t(478)][t(608)](),this[t(478)]=null,this[t(567)][t(727)](),this[t(484)][t(547)][t(570)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(484)][i(547)][i(606)][i(599)]())e[i(621)](t)}))}[vr(529)](t){const e=vr,i=[],n=new Map;for(const t of this[e(484)][e(547)][e(606)][e(599)]()){const r=this[e(484)][e(492)][e(747)][e(472)](t);if(!r)continue;const s=r[e(647)]()[e(775)](0);s&&(i[e(752)](t),n[e(572)](t,s))}return i[e(656)](((t,i)=>{const r=e,s=n[r(598)](t),o=n[r(598)](i);return s.y-o.y||s.x-o.x})),(t=t[e(541)]((t=>i[e(604)](t[e(581)]))))[e(656)](((t,n)=>i[e(651)](t[e(581)])-i[e(651)](n[e(581)]))),t}[vr(612)](t){const e=vr,i=Array[e(579)](t[e(715)])[e(541)]((([t,i])=>t[e(689)](e(559))&&!i[e(504)])),n=Array[e(579)](this[e(484)][e(547)][e(494)](t)[e(732)]({singleCharacters:!0}));if(0!=i[e(661)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(503)](":");if(r[e(714)][e(772)](t[e(620)])&&i[e(589)](),(t[e(502)][e(772)](r[e(688)])||t[e(502)][e(709)](r[e(688)]))&&(e(751)==s?t[e(767)]={userId:o}:e(762)==s&&(t[e(708)]={userId:o})),0==i[e(661)])break}return n}[vr(523)](t){const e=vr,i=new Map;for(let n=0;n<t[e(661)];n++)e(457)===t[n][e(721)]?(t[n][e(775)][e(711)]=n,t[n][e(775)][e(741)]=n):(e(460)===t[n][e(721)]?t[n][e(775)][e(711)]=n:e(518)===t[n][e(721)]&&(t[n][e(775)][e(741)]=n),i[e(572)](t[n].id,n));for(const n of i[e(483)]())e(460)===t[n][e(721)]?t[n][e(775)][e(741)]=i[e(598)](t[n][e(580)]):e(518)===t[n][e(721)]&&(t[n][e(775)][e(711)]=i[e(598)](t[n][e(580)]))}[vr(516)](t){const e=vr;for(let i=0;i<t[e(661)];i++){if(e(460)===t[i][e(721)])t[i][e(775)][e(711)]=i;else if(e(518)===t[i][e(721)]){t[i][e(775)][e(741)]=i;const n=t[i][e(775)][e(711)];t[n][e(580)]=t[i].id,t[i][e(580)]=t[n].id}else t[i][e(775)][e(711)]=i,t[i][e(775)][e(741)]=i,t[i][e(580)]=null;t[i][e(562)]||(t[i][e(562)]=[],t[i][e(545)]=[])}}[vr(454)](t,e){const i=vr,n=t[i(541)]((t=>!t[i(767)]));for(let t=0;t<e[i(661)];t++)e[t][i(767)]&&(n[t][i(767)]=e[t][i(767)])}[vr(585)](t){const e=vr,i=JSON[e(615)](t),n=this[e(484)][e(492)][e(747)][e(606)],r=new Bi.ViewDocumentFragment(n,i[e(704)]((t=>this[e(568)](t))));return this[e(484)][e(663)][e(554)](r)}[vr(568)](t){const e=vr,i=this[e(484)][e(492)][e(747)][e(606)];if(e(587)==typeof t)return new Bi.ViewText(i,t);{const n=t[e(731)][e(704)]((t=>this[e(568)](t)));return new(yr[t[e(721)]]||Bi.ViewElement)(i,t[e(540)],t[e(506)],n)}}[vr(646)](t,e=null){const i=vr,n=this[i(625)][i(511)](t),r=e?this[i(625)][i(511)](e):null,s=this[i(566)](n,r),o=s[s[i(661)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(661)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(771)](e[i(544)]))if(e[i(544)][t][i(756)]){const n=e[i(544)][t][i(756)];n[i(629)]?(u[i(458)](t),l[i(764)](t)&&l[i(598)](t)[i(462)]==n[i(462)]?l[i(755)](t):l[i(572)](t,n)):l[i(764)](t)?(u[i(755)](t),l[i(755)](t)):(u[i(458)](t),l[i(572)](t,n))}else u[i(458)](t)}for(const t of u){const e=l[i(764)](t)&&!l[i(598)](t)[i(629)];let n=e?s[i(661)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(544)][t]){const n=e?o[i(544)][t][i(720)]:o[i(544)][t][i(613)];c[i(506)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(547)]={};for(const e of t[i(564)])a[i(572)](e.id,e);for(const e of u){const n=t[i(544)][e]?t[i(544)][e][i(586)]:"[]",r=t[i(544)][e]?t[i(544)][e][i(537)]:"[]";t[i(547)][e]={insertions:this[i(585)](n),deletions:this[i(585)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(579)](n[i(547)][t][i(586)][i(715)])[i(541)]((([t])=>!t[i(689)](i(559)))));let h=0;for(const o of s){const s=this[i(612)](o[i(547)][t][i(586)]);o==n?(e=s,r=e[i(661)],e[i(531)]((t=>{t.id=h++})),this[i(516)](e)):this[i(454)](e,s);const a=e[i(541)]((t=>!t[i(767)]))[i(704)]((t=>t.id));let c=0;const l=this[i(612)](o[i(547)][t][i(537)]);l[i(531)]((t=>{t[i(708)]?t.id=r++:t.id=a[c++]})),this[i(516)](l),this[i(725)](e,i(767)),this[i(725)](l,i(708)),o==n&&this[i(624)](e,u),e=this[i(642)](e,l),this[i(523)](e),this[i(725)](e,i(708))}e=e[i(541)]((t=>!(t[i(767)]&&t[i(708)])));const d=new Map(o[i(547)][t][i(537)][i(715)]),f=new Set(u[i(771)]());for(const t of d[i(771)]())f[i(755)](t);this[i(493)](e,f),this[i(617)](e),e=this[i(659)](e),e=this[i(699)](e),e=this[i(730)](e);const{root:m,changes:p}=this[i(455)](e,a,t);c[i(547)][t]=m;const v=l[i(598)](t);if(v){const e=a[i(598)](v[i(462)]),n=new ur({author:e,type:v[i(629)]?i(458):i(577),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(501)](n),c[i(506)][t][i(729)]=n.id}c[i(679)]=c[i(679)][i(468)](p)}return c}[vr(624)](t,e){const i=vr;for(let n=0;n<t[i(661)];n++)for(const[r,s]of e)s[i(688)][i(772)](t[n][i(502)])&&t[n][i(562)][i(752)](r),s[i(714)][i(772)](t[n][i(620)])&&t[n][i(545)][i(752)](r)}[vr(642)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(661)]||s<e[i(661)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(752)](o);else if(a[i(708)]&&o[i(767)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(653)](t,r,e,s);n=n[i(468)](o),r=a,s=c}else a[i(708)]?(s++,n[i(752)](a)):(r++,n[i(752)](o))}return n}[vr(493)](t,e){const i=vr,n=[];for(let o=0;o<t[i(661)];o++){for(let s=0;s<t[o][i(562)][i(661)];s++){const a=t[o][i(562)][s];if(!e[i(764)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(517)!=c||i(751)!=u&&i(762)!=u||(n[i(501)]({type:u,name:a,userId:l}),t[o][i(562)][i(536)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(545)][i(661)];s++){const a=t[o][i(545)][s];if(!e[i(764)](a))continue;const{group:c,type:u}=r(a);if(i(517)!=c||i(751)!=u&&i(762)!=u)continue;t[o][i(545)][i(536)](s,1),s--;const l=n[i(476)]((t=>t[i(540)]==a));l>-1&&n[i(536)](l,1)}}function r(t){const e=i,n=t[e(503)](":");return{group:n[0],type:n[1],subType:n[e(661)]>=5?n[2]:null,id:n[e(661)]<5?n[2]:n[3],authorId:n[e(661)]<5?n[3]:n[4],markerCount:6==n[e(661)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(661)];i++){if(t[e(767)]&&e(751)==n[i][e(721)])return t[e(486)]=n[i],void delete t[e(767)];if(!t[e(767)]&&!t[e(708)]&&e(762)==n[i][e(721)])return void(t[e(632)]=n[i])}}}[vr(725)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(572)](o.id,n);for(let n=0;n<t[i(661)];n++){if(i(708)==e&&t[n][i(767)]||i(767)==e&&t[n][i(708)])continue;if(i(457)==t[n][i(721)]){t[n][i(470)]=0;continue}const r=s[i(598)](t[n][i(580)]),o=s[i(598)](t[n].id);t[n][i(470)]=r-o}}[vr(566)](t,e,i=!1){const n=vr,r=[];let s=this[n(625)][n(505)](t),o=this[n(625)][n(505)](e);for(-1==o&&(o=this[n(625)][n(710)][n(661)],i=!1);s<o;)r[n(752)](this[n(625)][n(511)](s)),s++;return i&&r[n(752)](this[n(625)][n(511)](s)),r}[vr(653)](t,e,i,n){const r=vr,s=this[r(484)][r(547)][r(778)];let o=e;for(;t[o]&&t[o][r(767)];)o++;let a=n;for(;i[a]&&i[a][r(708)];)a++;u(t,e,o),u(i,n,a);const c=i[r(623)](n,a)[r(468)](t[r(623)](e,o));return c[r(656)](((t,e)=>t[r(706)]!=e[r(706)]?t[r(706)]-e[r(706)]:t[r(736)]!=e[r(736)]?t[r(736)]-e[r(736)]:t[r(470)]!=e[r(470)]?e[r(470)]-t[r(470)]:!!t[r(767)]!=!!e[r(767)]?-1==t[r(706)]||0==t[r(706)]?t[r(767)]?-1:1:t[r(767)]?1:-1:t[r(644)]-e[r(644)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(601)],c=!0;for(let r=e;r<i;r++)if(s[n(594)](t[r][n(775)])||(c=!1),t[r][n(775)][n(711)]<e&&(o=r),t[r][n(775)][n(741)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(706)]=r<=o?-1:r<a?0:1,t[r][n(644)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(470)]?t[i][n(736)]=u:(u++,t[i][n(736)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(706)]&&(t[r][n(736)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(470)]?t[e][n(736)]=u:(u--,t[e][n(736)]=u,u--)}}[vr(617)](t){const e=vr,i=new Map,n=this[e(484)][e(547)][e(778)];for(let r=1;r<t[e(661)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(457)==c[e(721)])continue;if(c[e(721)]!=u[e(721)])continue;if(!n[e(552)](u[e(775)])||n[e(759)](u[e(775)]))continue;if(!n[e(552)](c[e(775)])||n[e(759)](c[e(775)]))continue;if((t[r][e(767)]||t[r][e(486)])&&t[r-1][e(708)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(708)]||!t[r-1][e(767)]&&!t[r-1][e(486)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(736)]==o[e(736)],h=Math[e(784)](s[e(736)])<Math[e(784)](o[e(736)])&&0==o[e(470)];(l||h)&&(i[e(572)](o.id,s.id),t[e(536)](a,1),r--,s[e(767)]=!1)}for(let n=0;n<t[e(661)];n++)i[e(764)](t[n][e(580)])&&(t[n][e(580)]=i[e(598)](t[n][e(580)]))}[vr(659)](t){const e=vr,i=new Set(t[e(704)]((t=>t.id)));for(let n=0;n<t[e(661)];n++)i[e(764)](t[n][e(580)])||0==t[n][e(470)]||(t[n][e(702)]=!0);return t[e(541)]((t=>!t[e(702)]))}[vr(699)](t){const e=vr,i=new Set;for(let n=0;n<t[e(661)];n++){if(i[e(764)](t[n].id)&&t[n][e(708)]&&(t[n][e(702)]=!0),t[n][e(702)])continue;if(0==t[n][e(470)])continue;if(e(460)!=t[n][e(721)])continue;if(null==t[n][e(580)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(580)];)e(460)==t[r][e(721)]?s++:e(518)==t[r][e(721)]&&s--,r++;if(0!=s)if(t[n][e(708)])t[n][e(702)]=!0;else for(;r!=n;)t[r][e(708)]&&0!=t[r][e(470)]&&(t[r][e(702)]=!0,i[e(458)](t[r][e(580)])),r--}return t[e(541)]((t=>!t[e(702)]))}[vr(730)](t){const e=vr,i=this[e(484)][e(547)][e(778)];for(let n=0;n<t[e(661)];n++){if(!(t[n][e(767)]||t[n][e(486)]||t[n][e(708)]||t[n][e(632)]))continue;if(0==t[n][e(470)])continue;const r=t[n][e(775)];i[e(552)](r)||i[e(759)](r)||(t[n][e(767)]&&delete t[n][e(767)],t[n][e(486)]&&delete t[n][e(486)],t[n][e(632)]&&delete t[n][e(632)],t[n][e(708)]&&(t[n][e(702)]=!0))}return t[e(541)]((t=>!t[e(702)]))}[vr(455)](t,e,i){const n=vr,r=new Bi.DocumentFragment,s=[],o=new Map,a=this[n(484)][n(547)],c=a[n(778)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(661)];e++)if(n(460)===t[e][n(721)]){t[e][n(502)]=a[n(650)](r,f);const i=new Bi.Element(t[e][n(775)][n(540)],t[e][n(775)][n(671)]());u[0][n(487)](i),f[n(752)](0),u[n(501)](i),t[e][n(620)]=a[n(650)](r,f)}else n(518)===t[e][n(721)]?(u[n(589)](),t[e][n(502)]=a[n(650)](r,f),f[n(508)](),f[f[n(661)]-1]++,t[e][n(620)]=a[n(650)](r,f)):(t[e][n(502)]=a[n(650)](r,f),d?d[n(448)]+=t[e][n(775)][n(663)]:d=new Bi.Text(t[e][n(775)][n(663)],t[e][n(775)][n(671)]()),t[e+1]&&n(457)===t[e+1][n(721)]&&v(d,t[e+1][n(775)])||(u[0][n(487)](d),d=null),f[f[n(661)]-1]+=t[e][n(775)][n(754)],t[e][n(620)]=a[n(650)](r,f));for(let e=0;e<t[n(661)];e++){const i=t[e][n(502)],r=t[e][n(620)];for(const r of t[e][n(562)])o[n(572)](r,{start:i,end:null});m(n(632),e,i,r),m(n(486),e,i,r),m(n(708),e,i,r),m(n(767),e,i,r);for(const i of t[e][n(545)])o[n(598)](i)[n(714)]=r}for(const[t,e]of o){const i=this[n(484)][n(547)][n(565)](e[n(688)],e[n(714)]);r[n(715)][n(572)](t,i)}return s[n(656)](((t,e)=>{const i=n,s=r[i(715)][i(598)](i(559)+t.id),o=r[i(715)][i(598)](i(559)+e.id);return s[i(688)][i(582)](o[i(688)])?-1:s[i(688)][i(709)](o[i(688)])?1:s[i(714)][i(582)](o[i(714)])?-1:s[i(714)][i(709)](o[i(714)])?1:i(458)===t[i(721)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(462)]:null,d=i===t[o(661)]-1,f=h[e][0],m=c[o(588)](t[i][o(775)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(714)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(462)]!==u&&(l[e][o(714)]=r,f&&f[o(462)]===l[e][o(462)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(460)!==t[i][o(721)]||f&&f[o(462)]===u||h[e][o(501)]({userId:u,object:t[i][o(775)],change:l[e]}),o(518)===t[i][o(721)]&&f&&f[o(631)]===t[i][o(775)]&&(h[e][o(589)](),l[e]=f[o(469)])),l[e]&&d&&(l[e][o(714)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(775)],f=a[h(778)][h(552)](d)&&!a[h(778)][h(759)](d),m=t[h(777)]==o[h(490)]&&o[h(626)];if(f&&m)return;const p=a[h(565)](t,o),v=e[h(598)](u),y=new ur({author:v,type:h(767)==l||h(486)==l?h(458):h(577),data:{isSuggestion:h(486)==l||h(632)==l},createdAt:new Date,rootName:i});s[h(752)](y),r[h(715)][h(572)](h(559)+y.id,p)}function v(t,e){const i=n,r=t[i(671)](),s=e[i(671)]();for(const t of r){if(t[1]!==e[i(464)](t[0]))return!1;s[i(510)]()}return s[i(510)]()[i(768)]}}[vr(660)](){const t=vr;this[t(484)][t(680)][t(697)](t(593))[t(450)]({view:t(481)}),this[t(484)][t(680)][t(697)](t(639))[t(538)]({model:t(481),view:e=>{const i=t,n=e[i(765)][i(503)](":")[1],r=this[i(633)](n);if(!r)return null;const s=i(458)==r[i(721)]?i(751):i(762),o=[i(509),i(463)+s];return r[i(663)][i(634)]&&o[i(752)](i(463)+s+i(480)),this[i(607)]==r&&o[i(752)](i(520)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(484)][t(680)][t(697)](t(593))[t(458)]((e=>{const i=t;e.on(i(761),((t,e,n)=>{const r=i,s=e[r(549)][r(546)](0);if(!s||!s.is(r(726),r(514)))return;if(!n[r(532)][r(666)](s,{attributes:[r(595),r(749)]}))return;const o=e[r(519)][r(688)][r(777)];n[r(678)][r(648)](r(595),s[r(464)](r(595)),o),n[r(678)][r(648)](r(749),s[r(464)](r(749)),o)}),{priority:i(776)})})),this[t(484)][t(680)][t(697)](t(593))[t(458)]((e=>{const i=t;e.on(i(726),((t,e,n)=>{const r=i;if(!n[r(532)][r(666)](e[r(549)],{attributes:[r(595),r(749)]}))return;if(e[r(519)][r(504)])return;const s=e[r(519)][r(688)][r(777)];s[r(657)](r(595))||s[r(657)](r(521))||(n[r(678)][r(648)](r(595),e[r(549)][r(464)](r(595)),s),n[r(678)][r(648)](r(749),e[r(549)][r(464)](r(749)),s))}),{priority:i(776)})})),this[t(484)][t(680)][t(697)](t(593))[t(692)]({view:{name:t(534),attributes:{vid:!0}},model:{key:t(521),value:e=>e[t(464)](t(521))}}),this[t(484)][t(547)][t(778)].on(t(744),((e,[,i])=>{const n=t;[n(595),n(749),n(521)][n(604)](i)&&(e[n(675)]=!0,e[n(561)]())}),{priority:t(569)}),this[t(484)][t(680)][t(697)](t(773))[t(458)]((e=>{const i=t;e.on(i(485),((t,e,n)=>{const r=i;if(" "!=e[r(775)][r(663)]||e[r(775)][r(490)][r(533)]>1)return;if(!n[r(532)][r(666)](e[r(775)],t[r(540)]))return;const s=n[r(678)],o=n[r(693)][r(718)](e[r(524)]);s[r(477)](o,s[r(489)](r(534)))}))})),this[t(484)][t(680)][t(697)](t(773))[t(543)]({model:t(481)}),this[t(484)][t(492)][t(584)].on(t(542),function(e){const i=t,n=e[i(449)][i(598)](i(482));return(t,r,s)=>{const o=i,a=r[o(765)][o(503)](":")[1],c=n[o(633)](a);if(!c)return null;const u=o(458)==c[o(721)]?o(503):o(619);if(!s[o(532)][o(466)](r[o(728)],t[o(540)]))return;const l=r[o(728)][o(732)](),h=r[o(728)][o(688)],d=e[o(547)][o(778)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(775)];p=p||d[o(746)](e);const i=s[o(693)][o(573)](e);if(i&&i[o(705)](o(491)))return;o(518)==t[o(721)]&&d[o(552)](e)&&!d[o(759)](e)&&(e[o(672)]||h[o(499)]?f&&f[o(490)]==e||(f=e,y(t[o(502)]),v=!0):m=m||t[o(502)])}function y(t){const e=o,i=s[e(678)][e(652)](e(534),{class:e(463)+u}),a=s[e(693)][e(713)](t);c[e(663)][e(634)]&&s[e(678)][e(635)](e(463)+u+e(480),i),n[e(607)]==c&&s[e(678)][e(635)](e(520),i),s[e(678)][e(674)](a,i),s[e(693)][e(627)](i,r[e(765)])}p||v||!m||y(m)}}(this[t(484)]),{priority:t(610)}),this[t(484)][t(492)][t(584)].on(t(497),((e,i,n)=>{const r=t,s=n[r(693)][r(655)](i[r(765)]);if(s)for(const t of s)(t[r(681)](r(717))||t[r(681)](r(676)))&&(n[r(693)][r(459)](t,i[r(765)]),n[r(678)][r(577)](t))}),{priority:t(610)}),this[t(484)][t(492)][t(584)].on(t(542),((e,i,n)=>{const r=t,s=i[r(765)][r(503)](":")[1],o=this[r(633)](s);if(!o)return null;const a=r(458)==o[r(721)]?r(503):r(619);if(n[r(532)][r(466)](i[r(728)],e[r(540)]))for(const t of i[r(728)][r(551)]()){if(!t.is(r(726),r(616)))continue;const e=n[r(678)][r(652)](r(534),{class:r(463)+a}),s=n[r(693)][r(713)](this[r(484)][r(547)][r(596)](t));o[r(663)][r(634)]&&n[r(678)][r(635)](r(463)+a+r(480),e),this[r(607)]==o&&n[r(678)][r(635)](r(520),e),n[r(678)][r(674)](s,e),n[r(693)][r(627)](e,i[r(765)])}}),{priority:t(610)}),this[t(484)][t(547)][t(606)].on(t(469),(()=>{const e=t;this[e(484)][e(492)][e(747)][e(469)]((t=>{const i=e;for(const e of this[i(484)][i(547)][i(606)][i(599)]()){const n=this[i(484)][i(547)][i(606)][i(739)](e),r=this[i(484)][i(492)][i(747)][i(606)][i(739)](e);if(r){const e=n[i(464)](i(729));if(t[i(557)](i(740),r),t[i(597)](i(654),r),t[i(597)](i(763),r),t[i(597)](i(528),r),e){const n=this[i(633)](e);if(!n)return null;t[i(648)](i(740),e,r),t[i(635)](i(780)+n[i(721)],r),this[i(607)]==n&&t[i(635)](i(528),r)}}}}))})),this[t(484)][t(680)][t(697)](t(593))[t(450)]({view:t(495),model:e=>t(758)+e,converterPriority:t(569)}),this[t(484)][t(680)][t(697)](t(593))[t(450)]({view:t(694),model:e=>t(556)+e,converterPriority:t(569)}),this[t(484)][t(680)][t(697)](t(773))[t(543)]({model:t(517),view:e=>({name:t(578)+e,group:t(517)}),converterPriority:t(569)}),this[t(484)][t(680)][t(697)](t(639))[t(538)]({model:t(517),view:e=>{const i=t,n=e[i(765)][i(503)](":")[1];return i(751)!=n&&i(762)!=n?null:{classes:[i(760),i(592)+n]}}}),this[t(484)][t(492)][t(584)].on(t(471),wr(this[t(484)],t(619)),{priority:t(610)}),this[t(484)][t(492)][t(584)].on(t(575),wr(this[t(484)],t(503)),{priority:t(610)}),this[t(484)][t(492)][t(584)].on(t(563),((e,i,n)=>{const r=t,s=n[r(693)][r(655)](i[r(765)]);if(s)for(const t of s)t.is(r(609))&&(n[r(693)][r(459)](t,i[r(765)]),n[r(678)][r(577)](t))}),{priority:t(610)})}[vr(633)](t){const e=vr;return this[e(567)][e(598)](t)}[vr(467)](t){const e=vr;return this[e(478)]&&this[e(478)][e(608)](),this[e(478)]=new sr(this[e(484)][e(662)],t),this[e(478)]}[vr(614)](){const t=vr;this[t(484)][t(547)][t(606)][t(683)][t(453)](t(481)),this.on(t(515),((e,i,n,r)=>{const s=t;r&&this[s(583)][s(577)](r),n&&(this[s(583)][s(458)]({view:n,stackId:s(695),position:{target:()=>{const t=s,e=this[t(484)][t(492)],i=this[t(633)](n[t(781)]);let r;if(i[t(663)][t(522)]){const n=e[t(747)][t(472)](i[t(581)]);r=Array[t(579)](n[t(647)]())}else{const i=this[t(484)][t(547)][t(715)][t(598)](t(559)+n[t(781)]);r=Array[t(579)](e[t(693)][t(655)](i[t(540)]))[t(704)]((i=>e[t(747)][t(750)][t(658)](i)))[t(704)]((e=>Array[t(579)](e[t(647)]())))[t(555)]()}return this[t(698)]&&r[t(576)]((e=>e[t(600)]-3<=this[t(698)].y&&e[t(670)]+3>=this[t(698)].y&&e[t(488)]-3<=this[t(698)].x&&e[t(525)]+3>=this[t(698)].x))||r[0]}}}),this[s(583)][s(743)](s(695)))})),this.on(t(479),((e,i,n,r)=>{const s=t;this[s(622)]=n?this[s(467)](n):null,this[s(484)][s(547)][s(469)]((()=>{const t=s,e=this[t(484)][t(492)];r&&(r[t(663)][t(522)]?e[t(747)][t(469)]((i=>{const n=t;i[n(597)](n(528),e[n(747)][n(606)][n(739)](r[n(581)]))})):e[t(550)](t(559)+r.id)),n&&(n[t(663)][t(522)]?e[t(747)][t(469)]((i=>{const r=t;i[r(635)](r(528),e[r(747)][r(606)][r(739)](n[r(581)]))})):e[t(550)](t(559)+n.id))}))})),this[t(641)](this[t(484)][t(492)][t(747)][t(606)],t(539),((e,i)=>{const n=t;if(this[n(607)])return;const r=this[n(603)](i[n(628)]),s=this[n(567)][n(598)](r);s?(this[n(698)]={x:i[n(696)].x,y:i[n(696)].y},this[n(622)]=this[n(467)](s)):(this[n(698)]=null,this[n(622)]=null)})),this[t(641)](this[t(484)][t(492)][t(747)][t(606)],t(618),((e,i)=>{const n=t,r=this[n(603)](i[n(628)]),s=this[n(567)][n(598)](r);s?(this[n(698)]={x:i[n(696)].x,y:i[n(696)].y},s===this[n(607)]?this[n(583)][n(560)]():this[n(607)]=s):(this[n(698)]=null,this[n(607)]=null)}))}[vr(603)](t){const e=vr;do{const i=t[e(464)](e(740));if(i)return i;t=t[e(490)]}while(t);return null}[vr(605)](){const t=vr;this[t(484)][t(547)][t(469)]((e=>{const i=t;for(const t of this[i(484)][i(547)][i(715)])e[i(630)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=kr;if(!r[s(532)][s(466)](n[s(728)],i[s(540)]))return;const o=n[s(728)][s(732)](),a=n[s(728)][s(688)],c=t[s(547)][s(778)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(775)];h=h||c[s(746)](e);const i=r[s(693)][s(573)](e);if(i&&i[s(705)](s(491)))return;s(518)==t[s(721)]&&c[s(552)](e)&&!c[s(759)](e)&&(e[s(672)]||a[s(499)]?u&&u[s(490)]==e||(u=e,f(t[s(502)]),d=!0):l=l||t[s(502)])}function f(t){const i=s,o=r[i(693)][i(713)](t),a=r[i(678)][i(652)](i(534),{class:i(592)+e});r[i(678)][i(674)](o,a),r[i(693)][i(627)](a,n[i(765)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(449)][e(598)](br);this[e(687)]=!1,this[e(641)](i,e(757),(()=>this[e(473)]())),this[e(641)](i,e(766),(()=>this[e(473)]()))}[vr(733)](){const t=vr,e=this[t(484)],i=e[t(449)][t(598)](br),n=i[t(685)]?i[t(735)][t(496)]:null;e[t(527)][t(598)](t(703))[t(664)](n)}[vr(473)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(484)][t(449)][t(598)](br),s=r&&n[t(745)](r[t(496)]);this[t(779)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(449)][i(598)](br);this[i(687)]=!1,this[i(611)]=i(668)===e?1:-1,this[i(641)](n,i(757),(()=>this[i(473)]())),this[i(641)](n,i(766),(()=>this[i(473)]())),this[i(641)](n,i(479),(()=>this[i(473)]()))}[vr(733)](){const e=vr,i=this[e(484)],n=i[e(449)][e(598)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(607)]=r?n[e(735)][e(679)][e(598)](s+this[e(611)]):n[e(735)][e(679)][e(748)],n[e(607)][e(663)][e(522)])o=i[e(492)][e(747)][e(472)](n[e(607)][e(581)]);else{const t=i[e(547)][e(715)][e(598)](e(559)+n[e(607)].id);o=(0,Yi.getMarkerDomElement)(i[e(492)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(473)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(484)][t(449)][t(598)](br);this[t(779)]=!!(s&&r&&n)&&(!e||(1===this[t(611)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Tr();return(xr=function(t,e){return i[t-=476]})(t,e)}function Tr(){const t=["Total","7167ZkDPsw","ck-revision-history-ui__changes-navigation","set","Show previous change","numberOfChanges","EDIT_X_OF_Y_REVISIONS","1796utkUPo","backward","Show next change","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","_isStatusLabelVisible","5090346KPHXsm","8729990NENcJO","isEnabled","ck-revision-history-ui__changes-navigation__wrapper","setTemplate","isBackwardNavigationEnabled","1222890bxfGoF","ck-revision-history-ui__changes-navigation__label","Loading...","55866GrMOcw","NUMBER_OF_CHANGES","bindTemplate","span","fire","105dFILYA","_statusText","ck-revision-history-ui","isNavigationMode","forward","11290464rwmnNu","isReady","517xSNFnn","X_OF_Y_CHANGES","ck-hidden","bind","136hwLNgd","No changes","19828roAnvL","div","execute","currentChangeNumber"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(874571===parseInt(e(488))/1*(-parseInt(e(486))/2)+parseInt(e(493))/3*(-parseInt(e(499))/4)+-parseInt(e(506))/5+parseInt(e(514))/6*(parseInt(e(519))/7)+-parseInt(e(480))/8+parseInt(e(505))/9+parseInt(e(511))/10*(parseInt(e(482))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends Vn.View{constructor(t){const e=xr;super(t);const i=this[e(516)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(495)](e(478),!1),this[e(495)](e(481),!1),this[e(495)](e(491),0),this[e(495)](e(497),0),this[e(495)](e(502),!1),this[e(495)](e(510),!1),this[e(485)](e(504)).to(this,e(481),this,e(497),((t,e)=>t&&e>0)),this[e(485)](e(476)).to(this,e(481),this,e(491),this,e(497),this,e(478),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(513));if(!r)return Qi(t,o(487));const a=Qi(t,o(515),r);return s?Qi(t,o(483),[n+1,r]):a})),n[e(495)]({label:Qi(t,e(496)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(495)]({label:Qi(t,e(501)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(485)](e(507)).to(this,e(510)),r[e(485)](e(507)).to(this,e(502)),n.on(e(490),(()=>this[e(518)](e(490),e(500)))),r.on(e(490),(()=>this[e(518)](e(490),e(479)))),this[e(509)]({tag:e(489),attributes:{class:["ck",e(477),e(494)]},children:[{tag:e(517),attributes:{class:[e(508)]},children:[{tag:e(517),attributes:{class:[e(512),i.if(e(504),e(484),(t=>!t))]},children:[{text:i.to(e(478),(i=>i?Qi(t,e(498))+": ":Qi(t,e(492))+": "))}]},{text:i.to(e(476))}]},new Vn.ToolbarSeparatorView,{tag:e(489),attributes:{class:[e(503)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Er(){const t=["editing","RevisionViewerLoadingOverlay","editor","addClass","isPremiumPlugin","isOfficialPlugin","21EyfMnp","587431pCwWXx","view","84qoSdRP","1128088hjjrSw","16NtzdtS","pluginName","ck-editor__editable__loading-overlay","673575MvJNbS","4235130zBAXGD","roots","379374ZDxzpY","1945471pknlEb","removeClass","document","hide","10KrvxgP","16052zITLyN","show","156jQTQtk","change"];return(Er=function(){return t})()}function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(301286===parseInt(e(241))/1+parseInt(e(257))/2*(-parseInt(e(259))/3)+-parseInt(e(245))/4*(-parseInt(e(248))/5)+-parseInt(e(251))/6+-parseInt(e(240))/7*(-parseInt(e(244))/8)+-parseInt(e(249))/9*(-parseInt(e(256))/10)+-parseInt(e(252))/11*(parseInt(e(243))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(247);class Cr extends qi.Plugin{static get[Mr(246)](){return Mr(262)}static get[Mr(239)](){return!0}static get[Mr(238)](){return!0}[Mr(258)](){const t=Mr,e=this[t(263)][t(261)][t(242)];e[t(260)]((i=>{const n=t;for(const t of e[n(254)][n(250)])i[n(264)](Dr,t)}))}[Mr(255)](){const t=Mr,e=this[t(263)][t(261)][t(242)];e[t(260)]((i=>{const n=t;for(const t of e[n(254)][n(250)])i[n(253)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=157]})(t,e)}function Pr(){const t=["2755755aqKVjP","componentFactory","plugins","closeRevisionViewerCallback","commands","showPreviousChange","bind","49488zliPDX","showNextChange","show","config","currentChangeNumber","editor","74LKvhAQ","listenTo","numberOfChanges","exitToEditing","pluginName","1253476hYViAV","Restore this revision","set","isNavigationMode","get","15767760kmNvmL","Back to editing","revisionHistory","5256069VmFKYA","init","isBackwardNavigationEnabled","changesNavigation","restoreRevision","isPremiumPlugin","requires","undo","isForwardNavigationEnabled","add","RevisionViewerUI","15317Wiznca","execute","hide","isEnabled","forward","6058620IVbwOl","isReady","isOfficialPlugin","ck-revision-history-ui__back-to-editing","change:isReady"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(522784===-parseInt(e(173))/1*(-parseInt(e(196))/2)+-parseInt(e(190))/3+parseInt(e(201))/4+-parseInt(e(183))/5+-parseInt(e(178))/6+-parseInt(e(162))/7+parseInt(e(159))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(200)](){return jr(172)}static get[jr(180)](){return!0}static get[jr(167)](){return!0}static get[jr(168)](){return[br,Cr]}[jr(163)](){const t=jr,e=this[t(195)],i=e[t(185)][t(158)](br),n=e[t(185)][t(158)](Cr);e.ui[t(184)][t(171)](t(199),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(203)]({label:Qi(i,n(160)),icon:qi.icons[n(169)],withText:!0,tooltip:!0,class:n(181)}),this[n(197)](r,n(174),(()=>{const t=n;e[t(193)][t(158)](t(161))[t(186)]()})),r})),e.ui[t(184)][t(171)](t(166),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(203)]({label:Qi(i,n(202)),withText:!0,tooltip:!0}),r[n(189)](n(176)).to(e[n(187)][n(158)](n(166))),this[n(197)](r,n(174),(()=>e[n(174)](n(166)))),r})),e.ui[t(184)][t(171)](t(165),(n=>{const r=t,s=new Nr(n),o=e[r(187)][r(158)](r(188)),a=e[r(187)][r(158)](r(191));return s[r(189)](r(164)).to(o,r(176)),s[r(189)](r(170)).to(a,r(176)),s[r(189)](r(179),r(194),r(198),r(157)).to(i),this[r(197)](s,r(174),((t,i)=>{const n=r;e[n(174)](n(177)===i?n(191):n(188))})),s})),n[t(192)](),i.on(t(182),((e,i,r)=>{const s=t;r?n[s(175)]():n[s(192)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;function Ur(t,e){const i=Zr();return(Ur=function(t,e){return i[t-=302]})(t,e)}function Zr(){const t=["placeholder","3238140sNGyWO","set","8338800NHiQFw","value","44469837gvBIzK","destroy","scrollWidth","_resizeObserver","_tooltipString","fieldView","ck-revision-history-sidebar__revision-name","6765794vaAjbx","ck-tooltip_multi-line","input","bindTemplate","1022026WLVFDe","clientWidth","extendTemplate","4olYDGg","Enter the revision name","element","8167632ycOJSB","_updateTooltipText","3908283XFRduL","listenTo","1rkYsnl","span","render","Revision name"];return(Zr=function(){return t})()}const Hr=Ur;!function(t){const e=Ur,i=t();for(;;)try{if(865457===-parseInt(e(323))/1*(parseInt(e(313))/2)+-parseInt(e(321))/3*(parseInt(e(316))/4)+-parseInt(e(330))/5+-parseInt(e(328))/6+parseInt(e(309))/7+-parseInt(e(319))/8+parseInt(e(302))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(305)]=null;const n=this[i(312)];this[i(329)]({label:Qi(t,i(326)),_tooltipString:""}),this[i(307)][i(327)]=Qi(t,i(317)),this[i(315)]({tag:i(324),attributes:{class:[i(308)],"data-cke-tooltip-text":n.to(i(306)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(310)}})}[Hr(325)](){const e=Hr;super[e(325)](),this[e(305)]=new t.ResizeObserver(this[e(307)][e(318)],(()=>this[e(320)]())),this[e(322)](this[e(307)],e(311),(()=>this[e(320)]()))}[Hr(303)](){const t=Hr;super[t(303)](),this[t(305)]&&this[t(305)][t(303)]()}[Hr(320)](){const t=Hr,e=this[t(307)][t(318)];this[t(306)]=e[t(304)]>e[t(314)]&&e[t(331)]||""}}var qr=i(249),Yr={attributes:{"data-cke":!0}};Yr.setAttributes=Wn(),Yr.insert=Ln().bind(null,"head"),Yr.domAPI=Fn(),Yr.insertStyleElement=Zn();Cn()(qr.A,Yr);qr.A&&qr.A.locals&&qr.A.locals;function Br(t,e){const i=Jr();return(Br=function(t,e){return i[t-=196]})(t,e)}function Jr(){const t=["260298XwDGVQ","1287836COYuGj","push","setTemplate","Revision author","set","578168cvqvBl","70xifprk","331572ZjFJbk","span","3496310idVGvc","name","2bHlyLK","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","0 0 11 10","ck-revision-history-sidebar__revision-author","Revision creator","2280948NYCxGi","7EJDMLC","1468888igMEHy","4FTFZAu"];return(Jr=function(){return t})()}!function(t){const e=Br,i=t();for(;;)try{if(485727===-parseInt(e(200))/1*(-parseInt(e(206))/2)+parseInt(e(212))/3+parseInt(e(215))/4*(-parseInt(e(204))/5)+parseInt(e(202))/6*(-parseInt(e(213))/7)+-parseInt(e(214))/8+-parseInt(e(216))/9*(-parseInt(e(201))/10)+-parseInt(e(217))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Vn.View{constructor(t,e,i){const n=Br;super(t);const r=new Vn.IconView;r[n(199)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(209)});const s=["ck",n(210)];i&&s[n(196)](n(207));const o=[{tag:n(203),attributes:{class:["ck",n(208)],title:Qi(t,n(i?211:198))},children:[r,e[n(205)]]}];this[n(197)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=226]})(t,e)}function Xr(){var t=["751504hPKyUo","long","1KYnYRa","toLocaleTimeString","numeric","9ZQFWQx","495176OttzTr","717892KNkRaN","25efunLd","toLocaleDateString","1130952noPXLa","365846rCZDXQ","110bsmlJH","46110mozwpA","912996NtZxop"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(196185===-parseInt(e(227))/1*(parseInt(e(236))/2)+-parseInt(e(239))/3+parseInt(e(240))/4+parseInt(e(233))/5*(-parseInt(e(238))/6)+-parseInt(e(232))/7+-parseInt(e(235))/8*(-parseInt(e(230))/9)+-parseInt(e(237))/10*(-parseInt(e(231))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["function","9PvQZCa","ck-on","stopPropagation","first","Restore this revision","button","Show more items","buttonView","listenTo","listView","model","ck-revision-history-sidebar__revision__actions","source","action","set","extendTemplate","isEnabled","name","add","find","1913910yTrOOs","isActionsDropdownOpen","8706828GHJwTv","Name this revision","bindTemplate","locale","change:isActionsDropdownOpen","4655693kHaRMh","Compare against selected","items","bind","map","_action","panelPosition","8eoCAYT","1775360jIbrbq","isReady","6455380ijqiHH","execute","children","menuitem","5997ztGHmi","isOpen","class","threeVerticalDots","244OInSSO","isVisible","menu","620342cQULZU"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(954125===-parseInt(e(166))/1+parseInt(e(188))/2+-parseInt(e(159))/3*(-parseInt(e(163))/4)+parseInt(e(153))/5+parseInt(e(190))/6+parseInt(e(195))/7*(-parseInt(e(152))/8)+parseInt(e(168))/9*(-parseInt(e(155))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=213]})(t,e)}function as(){const t=["1173684OcDtEM","ck-revision-history-sidebar__revision__date","bindTemplate","select","createdAt","element","53856wdYPYm","ck-revision-history-sidebar__revision-authors","revisionActionsView","extendTemplate","ck-revision-history-sidebar__actions_dropdown_open","revisionNameView","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","1570988zWVMgb",".ck-thread__remove-confirm","deselect","listenTo","set","768402ueDprU","length","creator","closest","authors","bind","_revision","ck-disabled","change","setName","1346336WIpMzj","ck-revision-history-sidebar__revision_highlighted","div","unshift","15210KVfsfU","220","ck-revision-history-sidebar__revision__controls-wrapper","isConfirm","_createdAtFormatted","isHighlighted","21AeITXq","uiLanguage","name","map","408KVjHWk","filter","render","isReady","isEnabled","value","fire","_requireRevisionName","ck-revision-history-sidebar__revision_selected","isActionsDropdownOpen","srcElement","span","fieldView","isSelected","unhighlight","ck-revision-history-sidebar__revision","from","highlight","3946563cpfXwt","ck-reset"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(282897===-parseInt(e(231))/1+parseInt(e(245))/2+-parseInt(e(225))/3+-parseInt(e(240))/4+-parseInt(e(259))/5*(parseInt(e(269))/6)+parseInt(e(265))/7*(parseInt(e(255))/8)+parseInt(e(223))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Yi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(227)],a=function(t,e){const i=s,n=Array[i(221)](e[i(249)])[i(270)]((t=>t!=e[i(247)]));return e[i(247)]&&n[i(258)](e[i(247)]),n[i(268)]((n=>new Gr(t,n,n==e[i(247)])))}(e,i);this.id=i.id,this[s(251)]=i,this[s(276)]=r,this[s(250)](s(267),s(229)).to(i),this[s(250)](s(263)).to(this,s(229),(t=>{return i=e[s(266)],(n=t)[(r=Kr)(234)](i,{month:r(226),day:r(229)})+", "+n[r(228)](i,{hour:r(229),minute:r(229)});var i,n,r})),this[s(244)](s(218),!1),this[s(244)](s(264),!1),this[s(244)](s(214),!1),this[s(244)](s(272),!1),this[s(244)](s(273),!1),this[s(236)]=new $r(e,Vn.createLabeledInputText),this[s(236)][s(217)][s(234)]({attributes:{maxlength:s(260)}}),this[s(236)][s(217)][s(250)](s(274)).to(this,s(267),(t=>t||this[s(263)])),this[s(236)][s(250)](s(273)).to(this,s(218),this,s(273),((t,e)=>t&&e)),this[s(233)]=n&&n[s(246)]?function(e,i){const n=is,r=e[n(192)],s=e[n(193)],o=(0,Vn.createDropdown)(s);o[n(201)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(193)],r={"Compare against selected":Qi(n,i(196)),"Name this revision":Qi(n,i(191)),"Restore this revision":Qi(n,i(172))};return e[i(199)]((t=>{const e=i,n=r[t[e(185)]];return n&&n!==t[e(185)]&&(t[e(185)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(173),model:new Vn.ViewModel({label:t[r(185)],class:t[r(161)],withText:!0,role:r(158),_action:t[r(181)]})};i[r(178)][r(198)](r(184)).to(e,r(189),(i=>r(167)!=typeof t[r(184)]||!i||t[r(184)](e))),o[r(186)](i)}return o}(e,i);return e[n(198)](n(189)).to(o,n(160)),o[n(175)][n(182)]({label:Qi(s,n(174)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(162)]}),o[n(183)]({attributes:{class:[n(179),r.if(n(189),n(169))]},on:{click:r.to((t=>t[n(170)]()))}}),o.on(n(156),(t=>{const i=n;e[i(154)]&&i(167)==typeof t[i(180)][i(200)]&&t[i(180)][i(200)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(165)}),o[n(176)](e,n(194),((t,r,s)=>{const a=n;if(s)for(const t of o[a(177)][a(197)]){const n=t[a(157)][a(171)],r=i[a(187)]((t=>t[a(181)]===n[a(200)]))[a(164)];t[a(164)]=void 0===r||r(e)}})),o}(this,n):"",this[s(233)]&&this[s(233)][s(250)](s(273)).to(this),this[s(239)]({tag:s(257),attributes:{class:["ck",s(224),s(237),o.if(s(262),s(238))]},children:[{tag:s(257),attributes:{class:["ck",s(224),s(220),o.if(s(273),s(252),(t=>!t)),o.if(s(218),s(213)),o.if(s(264),s(256)),o.if(s(214),s(235))]},children:[this[s(236)],{tag:s(216),attributes:{class:["ck",s(226)]},children:[{text:o.to(s(263))}]},{tag:s(257),attributes:{class:["ck",s(261)]},children:[{tag:"ul",attributes:{class:["ck",s(232)]},children:a}]},this[s(233)]],on:{click:o.to((t=>{const e=s;t[e(215)][e(248)](e(241))||this[e(272)]&&this[e(273)]&&this[e(275)](e(228),{id:this.id})}))}}]})}[ss(271)](){const t=ss;super[t(271)]();const e=this[t(236)][t(217)][t(230)];this[t(243)](e,t(253),(()=>{const i=t;this[i(276)]&&!e[i(274)]||this[i(275)](i(254),{id:this.id,name:e[i(274)]}),e[i(274)]||(e[i(274)]=this[i(267)]?this[i(267)]:this[i(263)])}))}[ss(228)](){this[ss(218)]=!0}[ss(242)](){this[ss(218)]=!1}[ss(222)](){this[ss(264)]=!0}[ss(219)](){this[ss(264)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ys={};class Bs extends Us{static create(t){return Ys[t]||(Ys[t]=new Bs(t)),Ys[t]}static resetCache(){Ys={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Bs.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Bs.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Bs.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Bs.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Yo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Bo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Bo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ya(t,e){return[{},t[e]?Bs.create(t[e]):null,e+1]}const Ba=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ea(/(\d{4})-?(\d{3})/,La),uc=Ea(Pa),lc=Va((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ya),hc=Va(za,$a,qa,Ya),dc=Va(Wa,$a,qa,Ya),fc=Va($a,qa,Ya);const mc=Va($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ea(Ua),yc=Va($a,qa,Ya);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ba,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Bo(e.values,t)||Bo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Bs.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Bc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Bo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Bs.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Bo(i,"a")&&Bo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Yc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Bc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Yc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Bc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Yo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Yo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Yc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su,n=wu[i(275)](t)[i(270)](e),r=wu[i(265)](),s=r[i(282)]({days:1})[i(259)](i(258));let o,a;return n[i(269)](r,i(258))?(o=n[i(259)](i(258))[i(276)](),a=n[i(267)]()):n[i(269)](s,i(258))?(o=s[i(276)](),a=n[i(267)]()):n[i(269)](r,i(261))?(o=n[i(259)](i(261))[i(276)](),a=n[i(280)]||""):n[i(269)](r,i(277))?(o=n[i(259)](i(264))[i(276)](),a=n[i(272)]||""):(o=n[i(259)](i(277))[i(276)](),a=String(n[i(277)])),{startDate:o,localizedPeriodName:a}}function Su(t,e){const i=Ou();return(Su=function(t,e){return i[t-=258]})(t,e)}function Ou(){const t=["134052sVeeLL","fromJSDate","toJSDate","year","204273dcTdBi","1531250hIgTMe","weekdayLong","2077055tpXNdt","minus","day","startOf","172568vtXPsz","week","232LYRYHM","20lOBcdg","month","local","2ANecdx","toRelativeCalendar","3488034zrPKQd","hasSame","setLocale","4PXXPHD","monthLong","6746542mMwokI"];return(Ou=function(){return t})()}!function(t){const e=Su,i=t();for(;;)try{if(493369===-parseInt(e(260))/1+parseInt(e(266))/2*(parseInt(e(274))/3)+-parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(268))/6+parseInt(e(279))/7+-parseInt(e(262))/8*(parseInt(e(278))/9)+-parseInt(e(263))/10*(-parseInt(e(273))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Au;function Au(t,e){const i=Mu();return(Au=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=Au,i=t();for(;;)try{if(396841===parseInt(e(330))/1*(-parseInt(e(348))/2)+parseInt(e(332))/3+-parseInt(e(351))/4*(-parseInt(e(349))/5)+-parseInt(e(345))/6+parseInt(e(361))/7*(parseInt(e(355))/8)+-parseInt(e(335))/9*(-parseInt(e(353))/10)+-parseInt(e(339))/11*(parseInt(e(350))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mu);class Ru extends Vn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Iu(e,this[r(346)][r(337)])[r(354)];this[r(334)]=e,this[r(338)]=this[r(344)](),this[r(340)]=i,this[r(356)]=n,this[r(338)][r(358)](r(333)).to(this),this[r(338)][r(358)](r(359)).to(this),this[r(328)]({tag:r(343),attributes:{class:["ck",r(342)]},children:[{tag:r(360),attributes:{class:["ck",r(352)]},children:[{text:s}]},{tag:r(343),attributes:{class:["ck",r(341)]},children:this[r(338)]}]})}[Nu(336)](t){const e=Nu,i=new cs(this[e(346)],t,this[e(340)],this[e(356)]);this[e(338)][e(347)](i)}[Nu(357)](t){const e=Nu,i=this[e(338)][e(329)]((e=>e.id===t.id));this[e(338)][e(331)](i)}}function Mu(){const t=["20YgtxMX","36CKCVid","598724aMoELK","ck-revision-history-sidebar__time-period__label","1310PvsTki","localizedPeriodName","17848PYdKFt","_requireRevisionName","removeRevision","delegate","setName","span","1064fHZvVq","setTemplate","find","343VFSOrc","remove","590319wqoSnY","select","startDate","30663ENKPEQ","addRevision","uiLanguage","revisionViews","613679vlXImW","_revisionActions","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","div","createCollection","3974394QTSHbR","locale","add","2066iHvBXD"];return(Mu=function(){return t})()}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Ln().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Zn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=165]})(t,e)}function Cu(){const t=["div","25KRwPro","2515482eEcAvH","2114968qaiprb","5764248NicLwa","799618bqQMjK","Revision history","history","ck-revision-history-sidebar__header__label","689005hmaSsv","9RghINm","span","1292514yYiUDB","content","ck-reset_all","510740fNkjMv","ck-revision-history-sidebar__header","setTemplate"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(432801===parseInt(e(175))/1+-parseInt(e(171))/2+-parseInt(e(168))/3+parseInt(e(181))/4*(parseInt(e(167))/5)+-parseInt(e(178))/6+parseInt(e(170))/7+parseInt(e(169))/8*(-parseInt(e(176))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Vn.View{constructor(t){const e=Du;super(t);const i=new Vn.IconView;i[e(179)]=qi.icons[e(173)],this[e(165)]({tag:e(166),attributes:{class:["ck",e(180),e(182)]},children:[i,{tag:e(177),attributes:{class:["ck",e(174)]},children:[Qi(t,e(172))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["_revisionActions","startDate","isEnabled","div","unhighlight","locale","revisionSelected","ck-revision-history-sidebar","find","addRevision","_getTimePeriodViewByStartDate","ck-revision-history-sidebar__timeline","selectRevision","161rIpuxk","10888TncMHL","some","_removeRevision","_addRevision","bindTemplate","ck-reset","timePeriodViews","6517629PeWwgR","145XoKJto","highlightRevisions","ck-rounded-corners","setName","178ZSUczU","revisionViews","select","set","createdAt","447434LFXCTx","delegate","highlight","deselect","fire","remove","removeRevision","uiLanguage","createCollection","getTime","83058jrzOvd","flat","revisionSetName","_revisions","setTemplate","get","745010rWkUif","add","77TRrPKg","25413StTZBg","render","_requireRevisionName","2614888vWIkYd","map","ck-disabled"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(596569===-parseInt(e(185))/1+parseInt(e(180))/2*(parseInt(e(148))/3)+parseInt(e(168))/4*(parseInt(e(176))/5)+parseInt(e(139))/6*(-parseInt(e(167))/7)+parseInt(e(151))/8+parseInt(e(175))/9+parseInt(e(145))/10*(-parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends Vn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(172)];this[r(174)]=this[r(137)](),this[r(174)][r(186)](r(182)).to(this),this[r(174)][r(186)](r(179)).to(this),this[r(142)]=e,this[r(154)]=i,this[r(150)]=n,this.on(r(182),((t,e)=>{const i=r;this[i(189)](i(160),e)})),this.on(r(179),((t,e)=>{const i=r;this[i(189)](i(141),e)})),this[r(183)](r(156),!1),this[r(143)]({tag:r(157),attributes:{class:["ck",r(173),r(178),r(161)]},children:[new ju(t),{tag:r(157),attributes:{class:["ck",r(165),s.if(r(156),r(153),(t=>!t))]},children:this[r(174)]}]})}[Lu(149)](){const t=Lu;super[t(149)]();for(const e of this[t(142)])this[t(171)](e);this[t(142)].on(t(146),((e,i)=>{this[t(171)](i)})),this[t(142)].on(t(134),((e,i)=>{this[t(170)](i)}))}get[Lu(181)](){const t=Lu;return this[t(174)][t(152)]((e=>e[t(181)][t(152)]((t=>t))))[t(140)]()}[Lu(166)](t){const e=Lu;for(const i of this[e(181)])t&&t.id===i.id?i[e(182)]():i[e(188)]()}[Lu(177)](t){const e=Lu;for(const i of this[e(181)])t[e(169)]((({id:t})=>t===i.id))?i[e(187)]():i[e(158)]()}[Lu(171)](t){const e=Lu,i=Iu(t[e(184)],this[e(159)][e(136)])[e(155)];let n=this[e(174)][e(144)](0);n&&n[e(155)][e(138)]()===i[e(138)]()||(n=new Ru(this[e(159)],i,this[e(154)],this[e(150)]),this[e(174)][e(146)](n)),n[e(163)](t)}[Lu(170)](t){const e=Lu,i=Iu(t[e(184)],this[e(159)][e(136)])[e(155)];this[e(164)](i)[e(135)](t)}[Lu(164)](t){const e=Lu;return this[e(174)][e(162)]((i=>i[e(155)][e(138)]()===t[e(138)]()))}}function Zu(){const t=["restoreRevisionCallback","remove","pluginName","_handleRevisionSelected","get","data","destroy","61392iCnEcR","select","newRevisionId","string","bind","repository","getRevisionsInDiff","getEarlierVisibleRevision","highlightRevisions","Restore this revision","restoreRevision","isEnabled","6991572onXAGp","requires","availableRevisionActions","listenTo","init","add","change:diff","isSelected","setName","Name this revision","revisionHistory.requireRevisionName","assign","RevisionsSidebar","element","length","Compare against selected","revisionHistory.revisionActions","99qIEjNB","locale","519084PujYbh","map","20owJBOq","defaultRevisionActions","name","_handleEditorDataReady","selectRevision","revisionSetName","render","revisionViews","isVisible","compareAgainstSelected","plugins","119898HiyhOi","_handleDiffChange","timePeriodViews","appendChild","ready","isPremiumPlugin","_createRevisionActions","revisionHistory.viewerSidebarContainer","editor","nameRevision","fieldView","revisionHistory","getLaterVisibleRevision","diff","config","action","isOfficialPlugin","1640yWXLQT","_revisionViewer","4652105uyecSK","revisionSelected","1193ykRImW","_revisionsRepository","_handleRevisionSetName","3940256tUIKxD","compare","isReady","_sidebarView","getRevision","focus","_revisions","getIndex"];return(Zu=function(){return t})()}const Hu=$u;function $u(t,e){const i=Zu();return($u=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(810679===parseInt(e(466))/1*(parseInt(e(462))/2)+-parseInt(e(513))/3*(-parseInt(e(484))/4)+parseInt(e(464))/5+-parseInt(e(515))/6+-parseInt(e(496))/7+-parseInt(e(469))/8+parseInt(e(445))/9*(-parseInt(e(517))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zu);class qu extends qi.Plugin{static get[Hu(479)](){return Hu(508)}static get[Hu(461)](){return!0}static get[Hu(450)](){return!0}static get[Hu(497)](){return[br]}constructor(t){const e=Hu;super(t),this[e(463)]=t[e(527)][e(481)](br),this[e(467)]=this[e(463)][e(489)],this[e(472)]=null}[Hu(500)](){const t=Hu,e=this[t(467)][t(475)],i=this[t(451)](),n=this[t(453)][t(459)][t(481)](t(452));this[t(472)]=new Uu(this[t(453)][t(514)],e,i,this[t(453)][t(459)][t(481)](t(506))),this[t(472)].on(t(465),this[t(480)][t(488)](this)),this[t(472)].on(t(522),this[t(468)][t(488)](this)),this[t(472)][t(488)](t(495)).to(this[t(463)]),this[t(472)][t(447)].on(t(501),((e,i)=>{const n=t;i[n(524)].on(n(501),((t,e)=>{const i=n;e[i(488)](i(495),i(471)).to(this[i(463)])}))})),this[t(472)][t(523)](),this[t(499)](this[t(453)][t(482)],t(449),this[t(520)][t(488)](this)),this[t(499)](this[t(463)],t(502),this[t(446)][t(488)](this)),n[t(448)](this[t(472)][t(509)])}[Hu(483)](){const t=Hu;this[t(472)][t(509)][t(478)](),this[t(472)][t(483)]()}[Hu(520)](){const t=Hu,e=this[t(467)][t(473)](0);if(e){const i=this[t(467)][t(491)](e.id);this[t(463)][t(470)](e,i)}}[Hu(480)](t,e){const i=Hu,n=this[i(467)][i(473)](e.id),r=this[i(467)][i(491)](n.id);this[i(463)][i(470)](n,r)}[Hu(468)](t,e){const i=Hu;this[i(467)][i(473)](e.id)[i(504)](e[i(519)])}[Hu(446)](t,e,i){const n=Hu,r=this[n(467)][n(490)](i);r[n(510)]>2?(this[n(472)][n(492)](r),this[n(472)][n(521)](null)):(this[n(472)][n(492)]([]),this[n(472)][n(521)](r[0]))}[Hu(451)](){const t=Hu,e=this[t(453)],i=qu[t(498)],n=e[t(459)][t(481)](t(512))||qu[t(518)];if(n[t(510)])return n[t(516)]((n=>{const r=t,s=r(487)==typeof n?Object[r(507)]({},i[n]):n;return s[r(460)]=s[r(460)][r(488)](this,e),s[r(525)]&&(s[r(525)]=s[r(525)][r(488)](this,e)),s}))}}qu[Hu(518)]=[Hu(526),Hu(494),Hu(454)],qu[Hu(498)]={compareAgainstSelected:{name:Hu(511),action:({plugins:t},e)=>{const i=Hu,n=t[i(481)](br),r=n[i(489)];let s=n[i(458)][i(486)],o=e.id;r[i(476)](s)>r[i(476)](o)&&([s,o]=[o,s]),n[i(470)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(481)](br);return!(n[i(489)][i(490)](n[i(458)])[i(510)]>2||e[i(503)])}},restoreRevision:{name:Hu(493),action:(t,{id:e})=>{const i=Hu;t[i(459)][i(481)](i(456))[i(477)](e)},isVisible:({plugins:t},e)=>!!t[Hu(481)](br)[Hu(489)][Hu(457)](e.id)},nameRevision:{name:Hu(505),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(481)](br),s=r[n(489)][n(491)](e);r[n(470)](e,s),i[n(474)](),i[n(455)][n(485)]()}}};const Yu=qu,Bu=Ju;function Ju(t,e){const i=Ku();return(Ju=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(763656===-parseInt(e(521))/1+-parseInt(e(522))/2+-parseInt(e(494))/3+parseInt(e(524))/4*(-parseInt(e(532))/5)+-parseInt(e(502))/6+-parseInt(e(487))/7*(-parseInt(e(520))/8)+parseInt(e(523))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Gu extends Vn.EditorUI{get[Bu(519)](){return this[Bu(501)]}constructor(e,i){const n=Bu;super(e),this[n(501)]=i,this[n(526)]=(0,Vn.normalizeToolbarConfig)(e[n(531)][n(509)](n(504))),this[n(530)]=new t.ElementReplacer}get[Bu(489)](){const t=Bu;return this[t(519)][t(489)]}[Bu(516)](t){const e=Bu,i=this[e(507)],n=this[e(519)],r=i[e(508)][e(519)],s=n[e(518)],o=r[e(515)][e(488)]();s[e(503)]=o[e(510)],n[e(495)]();const a=s[e(489)];this[e(525)](s[e(503)],a),n[e(518)][e(528)](e(511)).to(this[e(490)]),r[e(492)](a),this[e(530)][e(506)](t,this[e(489)]),this[e(491)](),this[e(496)](e(529))}[Bu(514)](){const t=Bu;super[t(514)]();const e=this[t(519)],i=this[t(507)][t(508)][t(519)];this[t(530)][t(497)](),i[t(493)](e[t(518)][t(503)]),e[t(514)]()}[Bu(491)](){const t=Bu,e=this[t(519)];e[t(527)][t(528)](t(499)).to(this[t(490)],t(511)),e[t(527)][t(517)]=e[t(489)],e[t(527)][t(528)](t(512)).to(this,t(513),(({top:t})=>t)),e[t(504)][t(500)](this[t(526)],this[t(505)]),this[t(498)](e[t(504)])}}function Ku(){const t=["addToolbar","isActive","fillFromConfig","_view","2436318YLvALr","name","toolbar","componentFactory","replace","editor","editing","get","rootName","isFocused","viewportTopOffset","viewportOffset","destroy","document","init","limiterElement","editable","view","10986032jJMivZ","906661CmGBKo","1707690tjXXmD","20044728SiQqLK","4QuPQiK","setEditableElement","_toolbarConfig","stickyPanel","bind","ready","_elementReplacer","config","1726310NsZiho","7kIthkP","getRoot","element","focusTracker","_initToolbar","attachDomRoot","detachDomRoot","974907sqdauZ","render","fire","restore"];return(Ku=function(){return t})()}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=il;function el(){var t=["6796430hEdEMv","131243NqWZQU","2777536sbWyfm","23605AghRkG","shouldToolbarGroupWhenFull","stickyPanel","5039811ZJNItD","add","2118bDkImZ","top","editable","toolbar","main","_editable","808TctfJL","render","content","333mZtzow","21932TExvYu","1850632GutnQe"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=209]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(951508===parseInt(e(212))/1+parseInt(e(211))/2*(-parseInt(e(210))/3)+-parseInt(e(215))/4+parseInt(e(216))/5*(parseInt(e(221))/6)+parseInt(e(214))/7*(-parseInt(e(227))/8)+parseInt(e(219))/9+parseInt(e(213))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[tl(223)](){return this[tl(226)]}constructor(t,e,i={}){var n=tl;super(t),this[n(218)]=new Vn.StickyPanelView(t),this[n(224)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(217)]}),this[n(226)]=new Vn.InlineEditableUIView(t,e)}[tl(228)](){var t=tl;super[t(228)](),this[t(218)][t(209)][t(220)](this[t(224)]),this[t(222)][t(220)](this[t(218)]),this[t(225)][t(220)](this[t(223)])}}const rl=ol;function sl(){const t=["editing","createRoot","4399815lYxirq","_ui","document","1078614XBRbWd","158iKAmJu","get","sourceElement","destroy","model","initialData","updateSourceElement","fire","4764400wvVOQK","21CCNOMb","4ZGaqBQ","ready","config","2999610hyIgnS","init","7054TxLsmo","locale","2379315aqhkUV","view","create","24016010WukPny","data","initPlugins"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(448314===parseInt(e(413))/1*(-parseInt(e(399))/2)+parseInt(e(401))/3*(-parseInt(e(394))/4)+-parseInt(e(409))/5+parseInt(e(412))/6*(parseInt(e(393))/7)+-parseInt(e(421))/8+parseInt(e(397))/9+parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(410)]}constructor(t,e){const i=ol;super(e),this[i(415)]=t,this[i(417)][i(411)][i(408)]();const n=new nl(this[i(400)],this[i(407)][i(402)],{shouldToolbarGroupWhenFull:!0});this[i(410)]=new Gu(this,n)}[rl(416)](){const t=rl;return this[t(419)](),this.ui[t(416)](),super[t(416)]()}static async[rl(403)](t,e){const i=rl,n=new this(t,e);return await n[i(406)](),await n.ui[i(398)](t),await n[i(405)][i(398)](n[i(396)][i(414)](i(418))||""),n[i(420)](i(395)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=125]})(t,e)}function ll(){const t=["result","revisionHistory.viewerContainer","pluginName","name","getMarkersGroup","revisionHistory.closeRevisionViewerCallback","map","numeric","uiLanguage","parse","long","getAttributeKeys","creator","toVersion","get","repository","RevisionsRepository","_restoreRevision","revisionHistory","48924xrIvRz","init","catch","enableReadOnlyMode","5467iKZSww","_closeRevisionViewer","indexOf","data","has","getRevisionRootsAttributes","disableReadOnlyMode","isOfficialPlugin","block","bind","RevisionHistory","set","enqueueChange","insert","revisionHistory.restoreRevisionCallback","keys","translations","Annotations","revisionHistory.requireRevisionName","revisionHistory.editorContainer","end","isAttached","Autosave","createdAt","define","toLocaleTimeString","selection","revisionHistory.showRevisionViewerCallback","_getRevisionViewerEditorConfig","isReady","revision-history-missing-configuration","toolbar","190503YbsqlO","plugins","markers","editor","removeMarker","remove","$graveyard","15zzzDVy","revisionHistory.viewerEditorElement","then","_viewerEditor","getRevision","style","setSelection","RevisionViewerIntegration","update","Restored","exitToEditing","saveRevision","users","2272WPBjcr","220qFwbOs","restoreRevision","showRevisionViewerCallback","addUser","push","132QcTcns","createRangeIn","getRoot","display","from","addRoot","adapter","114830ynjfsV","revision-history-viewer-opened","Dialog","model","fromVersion","_enhanceShowRevisionViewerCallback","hide","setAttribute","requires","RevisionHistoryUI","destroy","none","create","RevisionViewer","restrictedEditingException","refreshVisibility","includes","_cleanUp","143644cDmFDY","325qOAxcc","3gcICDX","addRevisionData","isOpen","config","detachRoot","isAnonymous","toJSON","save","document","_update","rootName","roots","locale","PaginationLookup","error","refreshPositioning","isPremiumPlugin","_recalculatePageBreaks","isReadOnly","removeAttribute","getUser","63438ehHPYS","RevisionTracker","5562EOgbdR","commands","fromCharCode","join","getRevisions","removeSelectionAttribute","toLocaleDateString","RestrictedEditingMode","_enhanceCloseRevisionViewerCallback","changesNavigation","change","closeRevisionViewerCallback","getRevisionData","isEnabled","_showRevisionViewer","Users","lazyRoots"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(121156===-parseInt(e(240))/1*(-parseInt(e(261))/2)+-parseInt(e(194))/3*(parseInt(e(238))/4)+-parseInt(e(208))/5*(-parseInt(e(263))/6)+-parseInt(e(155))/7*(-parseInt(e(207))/8)+-parseInt(e(187))/9+-parseInt(e(220))/10*(parseInt(e(213))/11)+parseInt(e(151))/12*(parseInt(e(239))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(229),cl(270)];class dl extends qi.Plugin{static get[cl(134)](){return cl(201)}static get[cl(162)](){return!0}static get[cl(256)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(138)]((t=>String[e(265)](t)))[e(266)]("")}super(t),this[e(132)]=e(175),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends qi.Plugin{static get[cl(134)](){return cl(165)}static get[cl(162)](){return!0}static get[cl(256)](){return!0}static get[cl(228)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(190)][i(243)][i(146)](i(150)))throw new t.CKEditorError(i(185),this);this[i(197)]=null,this[i(190)][i(243)][i(179)](i(182),(t=>this[i(129)]({...t,translations:this[i(190)][i(252)][i(171)]}))),this[i(190)][i(243)][i(179)](i(137),(t=>this[i(156)](t))),this[i(190)][i(243)][i(179)](i(169),(t=>this[i(149)](t))),this[i(190)][i(243)][i(179)](i(173),!1),this[i(225)](),this[i(271)]()}set[cl(219)](t){const e=cl;this[e(190)][e(188)][e(146)](e(262))[e(219)]=t}get[cl(219)](){const t=cl;return this[t(190)][t(188)][t(146)](t(262))[t(219)]}[cl(241)](t){const e=cl;return this[e(190)][e(188)][e(146)](e(262))[e(241)](t)}[cl(198)](t){const e=cl;return this[e(190)][e(188)][e(146)](e(148))[e(198)](t)}[cl(267)](t){const e=cl;return this[e(190)][e(188)][e(146)](e(148))[e(267)](t||{toJSON:!1})}[cl(183)](){const e=cl,i=this[e(190)],n=(0,Yi.sanitizeEditorConfig)(i,hl),r=i[e(188)][e(146)](e(262)),s=i[e(188)][e(146)](e(130))[e(206)];return n[e(186)]=[e(204),e(209),e(272)],delete n[e(131)],n[e(188)][e(212)](dl,br,Lr,class extends qi.Plugin{static get[e(228)](){return[br,e(130)]}[e(152)](){const n=e,o=this[n(190)][n(188)][n(146)](n(130));for(const t of s)t[n(245)]||o[n(260)](t.id)||o[n(211)](t);const a=r[n(147)][n(267)]();let c=null;const u=this[n(190)][n(188)][n(146)](n(233));u[n(219)]=r[n(219)],u[n(164)](n(128)).to(r),this[n(190)][n(264)][n(146)](n(209))[n(164)](n(128)).to(i,n(258),(t=>!t));for(const e of a){const i=null===e[n(144)];if(i&&e[n(145)]===e[n(224)])continue;const s=e[n(246)]();u[n(241)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(249)](s,o);else if(!o){const e=a[u(246)]();e.id=(0,t.uid)(),r[u(205)](e,a[u(145)])[u(196)]((t=>{c=t}))}}else e[u(249)](s,o)}))}}},Yu),n}[cl(225)](){const t=cl,e=this[t(190)][t(243)][t(146)](t(150))[t(210)];this[t(190)][t(243)][t(166)](t(182),(async()=>{const i=t;this[i(190)][i(154)](i(221));const n=this[i(190)][i(188)][i(146)](i(262));if(this[i(190)][i(188)][i(159)](i(177))){const t=this[i(190)][i(188)][i(146)](i(177));await t[i(247)]()}else await n[i(202)]();if(this[i(190)][i(188)][i(159)](i(253))&&this[i(190)][i(188)][i(146)](i(253))[i(257)](),this[i(190)][i(188)][i(159)](i(222))){const t=this[i(190)][i(188)][i(146)](i(222));t[i(242)]&&t[i(226)]()}const r=this[i(183)]();return e(r)[i(196)]((t=>{const e=i;return this[e(197)]=t,this[e(190)][e(188)][e(159)](e(172))&&this[e(190)][e(188)][e(146)](e(172))[e(235)](),t}))[i(153)]((t=>(console[i(254)](t),this[i(190)][i(161)](i(221)),null)))}))}[cl(271)](){const t=cl,e=this[t(190)][t(243)][t(146)](t(150))[t(126)];this[t(190)][t(243)][t(166)](t(137),(()=>(this[t(190)][t(188)][t(159)](t(253))&&this[t(190)][t(188)][t(146)](t(253))[t(257)](),this[t(197)][t(188)][t(146)](t(233))[t(237)](),e(this[t(197)])[t(196)]((()=>{const e=t;if(this[e(190)][e(161)](e(221)),this[e(197)]=null,this[e(190)][e(188)][e(159)](e(172))){const t=this[e(190)][e(188)][e(146)](e(172));t[e(235)](),t[e(255)]()}})))))}[cl(129)](t){const e=cl,i=this[e(190)][e(243)][e(146)](e(174)),n=this[e(190)][e(243)][e(146)](e(133)),r=this[e(190)][e(243)][e(146)](e(195));return al[e(232)](r,t)[e(196)]((t=>(n[e(199)][e(216)]=e(163),i[e(199)][e(216)]=e(231),t)))}[cl(156)](t){const e=cl,i=this[e(190)][e(243)][e(146)](e(174));return this[e(190)][e(243)][e(146)](e(133))[e(199)][e(216)]=e(231),i[e(199)][e(216)]="",t[e(230)]()}async[cl(149)](t){const e=cl,i=this[e(190)],n=this[e(197)][e(188)][e(146)](e(233)),r=i[e(188)][e(146)](e(262)),s=n[e(147)][e(198)](t);let o,a,c;try{o=await n[e(127)](s),a=await n[e(160)](s)}catch(t){return void console[e(254)](t)}i[e(223)][e(125)]((t=>{const n=e;for(const e of Array[n(217)](i[n(223)][n(189)][n(136)](n(234))))t[n(191)](e)})),n[e(184)]=!1,i[e(223)][e(167)]((t=>{const n=e;t[n(200)](null),t[n(268)](i[n(223)][n(248)][n(181)][n(143)]());const r=Object[n(170)](o);for(const e of i[n(223)][n(248)][n(251)])n(193)!=e[n(250)]&&e[n(176)]()&&!r[n(236)](e[n(250)])&&t[n(244)](e);for(const e of r){let r=i[n(223)][n(248)][n(215)](e);r&&r[n(176)]()||(r=t[n(218)](e));const s=a[e],c=Object[n(170)](s),u=o[e];for(const e of r[n(143)]())c[n(236)](e)||t[n(259)](e,r);for(const i of c)t[n(227)](i,a[e][i],r);t[n(192)](t[n(214)](r)),t[n(168)](i[n(158)][n(141)](u,r),r,0)}}));const u=Qi(i[e(252)],e(203));return c=s[e(135)]?-1==s[e(135)][e(157)](u)?u+": "+s[e(135)]:s[e(135)]:u+": "+s[e(178)][e(269)](i[e(252)][e(140)],{month:e(142),day:e(139)})+", "+s[e(178)][e(180)](i[e(252)][e(140)],{hour:e(139),minute:e(139)}),await r[e(205)]({name:c}),n[e(184)]=!0,i[e(243)][e(146)](e(150))[e(126)]()}}function ml(){var t=["633225mmvtHl","3235578UPXrFb","660zxKHGb","1017MsgYKJ","4tOTJnz","8543460hUZMjI","20476HqueYM","472CyvzhZ","3852198MtjgFK","88eQVDBJ","417494pvdjAY"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=251]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(976507===parseInt(e(261))/1*(parseInt(e(258))/2)+-parseInt(e(252))/3+-parseInt(e(256))/4*(-parseInt(e(257))/5)+parseInt(e(253))/6+parseInt(e(260))/7+-parseInt(e(259))/8*(parseInt(e(255))/9)+parseInt(e(254))/10*(-parseInt(e(251))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|