@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250213.0 → 0.0.0-nightly-20250213.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:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>st,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>B,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]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,E;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]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(E=t,ArrayBuffer.isView(E)&&!(E 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]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),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,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),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,R),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 x: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,R),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]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(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 A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function E(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 M.test(t)}}function V(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,V(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 j(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}}const L=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=159]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(844430===parseInt(e(184))/1+parseInt(e(170))/2+-parseInt(e(183))/3+-parseInt(e(165))/4+-parseInt(e(173))/5+parseInt(e(167))/6+parseInt(e(161))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(182)];[L(181)];[L(178)];[L(168)];[L(177)];[L(171)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(182)]=e[i(182)]||null,this[i(181)]=e[i(181)]||[],this[i(178)]=e[i(178)]||null,this[i(168)]=e[i(168)]||0,this[i(177)]=e[i(177)]||0,this[i(160)](i(159),e[i(159)]||""),this[i(160)](i(174),e[i(174)]||new Date),this[i(160)](i(180),e[i(180)]||{})}[L(176)](t){this[L(164)]({name:t})}[L(169)](t,e){const i=L,s=A(this[i(180)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(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]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(164)]({attributes:s})}[L(166)](t){const e=L,i=A(this[e(180)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(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 j(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(164)]({attributes:i})}[L(164)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(159),i(174),i(178),i(181),i(180),i(168),i(177),i(162)];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(181)]&&(n[i(179)]=n[i(181)][i(172)]((t=>t.id)),delete n[i(181)]),this[i(175)](i(164),n,e))}[L(163)](){const t=L;return{id:this.id,name:this[t(159)],creatorId:this[t(182)]?this[t(182)].id:null,authorsIds:this[t(181)][t(172)]((t=>t.id)),diffData:this[t(178)],createdAt:this[t(174)],attributes:this[t(180)],fromVersion:this[t(177)],toVersion:this[t(168)]}}}function W(){const t=["6002540MEeJeZ","removeAttribute","4632618XWQbeo","toVersion","setAttribute","1994718bQshvq","model","map","1369610hrPNHW","createdAt","fire","setName","fromVersion","diffData","authorsIds","attributes","authors","creator","2907945gfuekN","626397PGQvSj","name","set","8347101LMKOsd","creatorId","toJSON","_update"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(801917===-parseInt(e(436))/1+parseInt(e(431))/2*(parseInt(e(413))/3)+-parseInt(e(420))/4+-parseInt(e(428))/5*(parseInt(e(435))/6)+parseInt(e(417))/7+-parseInt(e(409))/8+parseInt(e(433))/9*(parseInt(e(395))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(427)];static get[q(423)](){return[Z.Users]}static get[q(419)](){return q(410)}static get[q(404)](){return!0}static get[q(411)](){return!0}get[q(396)](){const t=q;return this[t(427)][t(396)]}constructor(e){const i=q;super(e),this[i(427)]=new t.Collection}[q(390)](){!async function(e){const i=k([57,71,80,89,112,84,118,83,85,82,107,72,88,109,105,54,52,110,108,116,76,56,98,67,104,122,49,102,78,113,117,69,68,70,81,66,100,77,65,87,101,79,90,99,111,51,119,115,48,55,74,114,121,103,50,73,106,53,75,120,97,86]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(408)](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([71]);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=$;return t[e(398)]((t=>String[e(418)](t)))[e(421)]("")}!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:1739404800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(397)]);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(387)](t){const e=q,i=this[e(416)][e(401)][e(394)](e(392));return new z({id:t.id,name:t[e(424)],creator:t[e(407)]?i[e(402)](t[e(407)]):null,diffData:t[e(388)]||t[e(434)],authors:t[e(426)][e(398)]((t=>i[e(402)](t))),createdAt:new Date(t[e(384)]),attributes:t[e(389)],fromVersion:t[e(414)],toVersion:t[e(432)]})}[q(425)](t,e=0){const i=q;this[i(427)][i(391)](t,e)}[q(412)](t){const e=q;return this[e(427)][e(394)](t)}[q(422)](t={toJSON:!1}){const e=q,i=Array[e(430)](this[e(427)]);return i[e(415)](),t[e(406)]?i[e(398)]((t=>t[e(406)]())):i}[q(382)](t){const e=q;return this[e(427)][e(382)](t)}[q(393)](t){const e=q,[,i]=this[e(405)](t,{direction:e(429)});return i}[q(383)](t){const e=q,[,i]=this[e(405)](t,{direction:e(400)});return i}[q(399)](t){const e=q,i=[];for(const s of this[e(405)](t[e(386)]))if(i[e(385)](s),s.id===t[e(403)])break;return i}*[q(405)](t,{direction:e=q(429),filter:i=()=>!0}={}){const s=q,n=s(429)===e?1:-1;let r=this[s(427)][s(394)](t),o=this[s(382)](r);for(yield r;r;){if(o+=n,r=this[s(412)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["6956061beMcYi","fromCharCode","pluginName","5629196KyfXLI","join","getRevisions","requires","name","addRevision","authorsIds","_revisions","34825AKfYzM","earlier","from","204NGpKXH","toVersion","27nxDHBH","data","972gBVqll","1404091PKJKIj","getIndex","getLaterVisibleRevision","createdAt","push","newRevisionId","createRevision","diffData","attributes","afterInit","add","Users","getEarlierVisibleRevision","get","16790670gRFpHs","length","href","map","getRevisionsInDiff","later","plugins","getUser","oldRevisionId","isOfficialPlugin","getRevisionsIterator","toJSON","creatorId","isNaN","11054408fWdjiD","RevisionsRepository","isPremiumPlugin","getRevision","2721EgcchA","fromVersion","reverse","editor"];return(Y=function(){return t})()}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 X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}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 A,M;const E=(s=s??new Map).get(t),V=s.get(i);if(null!=E&&null!=V)return E===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,T))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,T)));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 x: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,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,T)||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,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=ot;!function(t){const e=ot,i=t();for(;;)try{if(461402===-parseInt(e(407))/1+-parseInt(e(651))/2+parseInt(e(655))/3+-parseInt(e(373))/4+parseInt(e(612))/5+-parseInt(e(411))/6*(-parseInt(e(369))/7)+parseInt(e(465))/8*(-parseInt(e(611))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);const it={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class st extends U.Plugin{[et(443)];[et(510)];[et(549)];[et(429)];[et(422)];[et(426)];[et(657)];[et(568)];[et(357)];[et(379)];[et(607)];[et(485)];[et(347)];static get[et(365)](){return et(630)}static get[et(596)](){return!0}static get[et(432)](){return!0}static get[et(493)](){return[Z.Users,B,U.PendingActions]}constructor(e){const i=et;super(e),this[i(549)]=null,this[i(429)]=null,this[i(426)]=new at(this[i(374)]),this[i(568)]=this[i(374)][i(484)][i(390)](i(362))||i(406),this[i(357)]=new Map,this[i(347)]=null;const s=(0,t.uid)();this[i(657)]={history:this[i(374)][i(479)][i(574)][i(546)],getLatestVersion:()=>Promise[i(345)](this[i(374)][i(479)][i(574)][i(631)]),getCurrentRevisionId:()=>s},this[i(570)](i(378),!1),this[i(570)](i(464),!0),this[i(570)](i(642),!1),this[i(374)][i(484)][i(418)](i(520),!0),this[i(374)][i(531)][i(389)](i(587))[i(533)]({view:i(392)})}[et(613)](){const t=et;this[t(422)]=this[t(374)][t(542)][t(390)](t(346)),this[t(525)](),this[t(374)][t(585)].on(t(504),(()=>{const e=t,i=this[e(422)][e(353)](0),s=i&&null===i[e(475)]?i:null;if(this[e(607)]=!!s&&this[e(374)][e(484)][e(390)](e(520)),this[e(374)][e(542)][e(478)](e(502))){const t=this[e(657)][e(552)](),n=this[e(422)][e(353)](t);if(n)this[e(485)]=n[e(490)],this[e(607)]=!1;else{const t=this[e(657)][e(546)][e(457)][e(447)]((t=>!t[e(644)])),n=t?t[e(556)]:this[e(657)][e(546)][e(631)];i?(i[e(536)]<n&&i[e(548)]({toVersion:n}),this[e(607)]?(this[e(657)][e(552)]=()=>s.id,this[e(485)]=s[e(490)]):(this[e(485)]=i[e(536)],this[e(607)]=!1)):(this[e(485)]=n,this[e(607)]=!1)}}else s&&(this[e(374)][e(479)][e(574)][e(546)][e(631)]=Math[e(582)](s[e(536)],this[e(374)][e(479)][e(574)][e(546)][e(631)]),s[e(490)]===s[e(536)]?(0!==s[e(490)]&&(this[e(657)][e(552)]=()=>s.id),this[e(607)]=!1):this[e(607)]&&(this[e(657)][e(552)]=()=>s.id,this[e(485)]=s[e(490)])),this[e(607)]||(this[e(485)]=this[e(374)][e(479)][e(574)][e(631)]);this[e(426)][e(613)](this[e(657)][e(546)]),this[e(395)](this[e(485)]),this[e(615)](this[e(485)]),this[e(549)]&&this[e(482)]()})),this[t(660)](t(378)).to(this,t(642),(t=>!t)),this[t(443)]=this[t(374)][t(484)][t(390)](t(443));const e=this[t(374)];this[t(510)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(529)==r||i(637)==r||i(578)==r||i(543)==r||i(593)==r||i(572)==r||i(550)==r||i(454)==r){delete e[n],s=r,clearInterval(this[i(510)]),this[i(510)]=void 0;break}}i(637)==s&&e[i(361)](i(595)),i(578)==s&&e[i(361)](i(591)),i(543)==s&&e[i(361)](i(471)),i(593)==s&&e[i(361)](i(423),i(537)),i(572)==s&&e[i(361)](i(605)),i(550)==s&&e[i(361)](i(646)),i(454)==s&&e[i(361)](i(560))}),1e3)}async[et(636)](){const t=et;if(this[t(422)][t(621)]>0){const e=this[t(422)][t(353)](0),i=await this[t(623)](e),s=await this[t(487)](e);this[t(446)](i,s)}}[et(463)](){const t=et;super[t(463)](),this[t(510)]&&clearInterval(this[t(510)])}[et(385)](t){this[et(657)]=t}async[et(641)](){const t=et,e=await this[t(657)][t(408)]();if(e>this[t(429)][t(536)]){await this[t(351)]();const i=this[t(417)]({revision:this[t(429)],to:e});i[t(606)]=i[t(622)][t(632)]((e=>this[t(374)][t(542)][t(390)](t(656))[t(575)](e))),this[t(429)][t(548)](i)}}async[et(351)](){const t=et;this[t(607)]&&!this[t(347)]&&(await this[t(381)](this[t(429)]),this[t(426)][t(427)](this[t(429)]),this[t(347)]={fromVersion:this[t(429)][t(490)],authors:this[t(429)][t(606)][t(577)]()})}async[et(498)](e={},i=null){const s=et,n=[];await this[s(351)](),this[s(607)]=!1,i>this[s(429)][s(536)]&&(i=null),null===i&&(i=await this[s(657)][s(408)]());const r=this[s(505)](i),o=this[s(417)]({from:r,to:i});if(this[s(429)][s(536)]<i){const t=this[s(417)]({revision:this[s(429)],from:i,to:i});t[s(606)]=[],t[s(622)]=[],t.id=this[s(429)].id,this[s(429)][s(548)](t,!0),delete t[s(606)],n[s(558)](t)}e[s(640)]=this[s(374)][s(542)][s(390)](s(656)).me.id,e[s(419)]=e[s(419)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(459)](e);n[s(558)](e);const c=this[s(422)][s(469)](a);if(0!==c){const t=this[s(422)][s(353)](c-1);if(t[s(490)]!==i){const r=this[s(426)][s(391)](i,t[s(536)]),o={id:t.id,diffData:r[s(526)],authorsIds:r[s(622)],authors:r[s(622)][s(632)]((t=>this[s(374)][s(542)][s(390)](s(656))[s(575)](t))),fromVersion:i};t===this[s(429)]&&(o[s(648)]=new Date(e[s(648)][s(437)]()+10)),t[s(548)](o,!0),delete o[s(606)],n[s(558)](o)}}if(this[s(549)]){for(const t of n)this[s(436)](t.id,t,!0);this[s(482)]()}return a}[et(459)](t){const e=et,i=this[e(422)][e(661)](t);return this[e(549)]&&i.on(e(548),((t,i,s)=>{const n=e;s||(this[n(436)](i.id,i,!0),this[n(482)]())})),this[e(422)][e(554)](i,this[e(532)](i)),i}async[et(623)](t){const e=et;await this[e(381)](t);const i={};for(const s in t[e(526)]){if(t[e(526)][s][e(420)]&&!t[e(526)][s][e(420)][e(588)])continue;const n=this[e(460)](JSON[e(399)](t[e(526)][s][e(383)])),r=this[e(374)][e(364)][e(376)][e(574)],o=new H.ViewDocumentFragment(r,n[e(632)]((t=>nt(t,this[e(374)]))));this[e(374)][e(585)][e(564)][e(583)](e(448)),i[s]=this[e(374)][e(585)][e(564)][e(481)](o),this[e(374)][e(585)][e(564)][e(583)](e(394))}return i}async[et(487)](t){const e=et;await this[e(381)](t);const i={};for(const s in t[e(526)])t[e(526)][s][e(420)]&&!t[e(526)][s][e(420)][e(588)]||(i[s]=t[e(526)][s][e(534)]||{});return i}[et(482)](){const t=et;if(0===this[t(357)][t(617)])return;if(this[t(642)])return;let e=Array[t(414)](this[t(357)][t(509)]());this[t(357)][t(424)]();for(let i=0;i<e[t(621)];i++){const s=e[i];let n=!1;for(const e of Object[t(480)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(608)]((t=>null!==t)),!e[t(621)])return;for(let i=0;i<e[t(621)];i++){const s=e[i];void 0!==s[t(490)]&&void 0===s[t(536)]&&(s[t(536)]=this[t(422)][t(353)](s.id)[t(536)]),void 0!==s[t(536)]&&void 0===s[t(490)]&&(s[t(490)]=this[t(422)][t(353)](s.id)[t(490)])}const i=this[t(374)][t(484)][t(390)](t(362));this[t(642)]=!0,this[t(553)](),this[t(549)][t(545)](e,i)[t(366)]((()=>{this[t(642)]=!1}))[t(610)]((e=>{const i=t;if(e)for(const t of e)this[i(488)]({id:t.id,createdAt:t[i(648)]});this[i(589)](),this[i(482)]()}))}[et(446)](e,i){const s=et;let n=this[s(374)][s(484)][s(390)](s(580)),r=this[s(374)][s(484)][s(390)](s(507));if(void 0===n){n={};for(const t of this[s(374)][s(479)][s(574)][s(616)]())n[t]=""}if(s(402)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(374)][s(479)][s(574)][s(616)]())r[t]={}}let o=!1;const a=Object[s(480)](n),c=Object[s(480)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(647)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(480)](r[t])[s(621)]>0){o=!0;break}}o||(o=c[s(619)]((t=>!this[s(374)][s(479)][s(574)][s(415)](t)))),o&&(0,t.logWarning)(s(489),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(374)][s(484)][s(570)](s(580),e),this[s(374)][s(484)][s(570)](s(507),i)}[et(553)](){const t=et;if(!this[t(379)]){const e=this[t(374)][t(542)][t(390)](t(476));this[t(379)]=e[t(627)](G(this[t(374)][t(439)],t(451)))}}[et(589)](){const t=et;this[t(379)]&&(this[t(374)][t(542)][t(390)](t(476))[t(527)](this[t(379)]),this[t(379)]=null)}[et(532)](t){const e=et,i=this[e(422)][e(387)]();i[e(614)]();let s=0;for(;s<i[e(621)];){const n=i[s];if(n===this[e(429)]){s++;continue}if(n.id===this[e(568)])break;const r=t[e(536)]-n[e(536)]||t[e(490)]-n[e(490)];if(r>0)break;if(r<0)s++;else{if(!t[e(475)]&&n[e(475)])break;if(n[e(475)]||!t[e(475)]){if(t[e(648)]>n[e(648)])break;s++}else s++}}return s}[et(488)](t){const e=et,i=this[e(422)][e(353)](t.id);if(t[e(648)]&&(t[e(648)]=new Date(t[e(648)])),t[e(622)]){const i=this[e(374)][e(542)][e(390)](e(656));t[e(606)]=t[e(622)][e(632)]((t=>i[e(575)](t)))}i[e(548)](t,!0)}[et(417)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(490)],i=null!==i?i:t[s(536)];const n=this[s(426)][s(391)](e,i),r={diffData:n[s(526)],authorsIds:n[s(622)],fromVersion:e,toVersion:i};if(!t||i!==t[s(536)]){const t=i-1,e=this[s(657)][s(546)][s(592)](t);r[s(648)]=e&&e[s(648)]||new Date}if(this[s(347)]&&e===this[s(347)][s(490)])for(const t of this[s(347)][s(606)])r[s(622)][s(602)](t.id)||r[s(622)][s(558)](t.id);return r}[et(381)](t){const e=et;if(!t||t[e(526)])return Promise[e(345)]();{const i=this[e(374)][e(484)][e(390)](e(362));return this[e(549)][e(353)]({channelId:i,revisionId:t.id})[e(610)]((i=>{const s=e;t[s(526)]=i[s(526)]}))}}[et(436)](t,e,i){const s=et;if(this[s(357)][s(478)](t)){const n=this[s(357)][s(390)](t);e=i?{...n,...e}:{...e,...n}}this[s(357)][s(570)](t,e)}[et(505)](t){const e=et,i=this[e(422)][e(387)]();i[e(614)](),i[e(597)]();const s=i[e(447)]((i=>i[e(536)]<=t))[e(536)];return s<this[e(485)]?this[e(485)]:s}[et(395)](t){const e=et,i=this[e(422)][e(353)](this[e(422)][e(621)]-1);if(i)this[e(568)]=i.id;else{const i=!this[e(374)][e(479)][e(574)][e(643)][e(447)]((t=>this[e(374)][e(479)][e(635)](t))),s=this[e(374)][e(542)][e(390)](e(656)).me.id,n=G(this[e(374)][e(439)],e(i?604:599));this[e(639)]({from:t,to:t,id:this[e(568)],name:n,creatorId:s})}}[et(615)](t){const e=et,i=this[e(657)][e(552)]();this[e(429)]=this[e(422)][e(353)](i),this[e(429)]||(this[e(429)]=this[e(639)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(639)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(417)]({from:e,to:i});o[r(419)]=t,o[r(640)]=s,o.id=n;const a=this[r(459)](o);return this[r(549)]&&this[r(436)](o.id,o,!0),a}[et(525)](){const t=et;this[t(374)][t(531)][t(389)](t(569))[t(350)]({model:t(392)})}[et(460)](t){const e=et;return(t=t[e(608)]((t=>!t[e(419)]||e(609)!==t[e(419)]&&e(360)!==t[e(419)])))[e(625)]((t=>{const i=e;i(402)!=typeof t&&(t[i(354)]=this[i(460)](t[i(354)]),t[i(514)]=t[i(514)][i(608)]((t=>!t[0][i(442)](i(528)))))})),t}}function nt(t,e){const i=et,s=e[i(364)][i(376)][i(574)];if(i(402)==typeof t)return new H.ViewText(s,t);{const n=t[i(354)][i(632)]((t=>nt(t,e)));return new(it[t[i(662)]]||H.ViewElement)(s,t[i(419)],t[i(514)],n)}}function rt(){const t=["adapter","revisionHistoryLicenseKeyTrialLimit","tableCell","getCurrentRevisionId","_addPendingAction","addRevision","_createFromRanges","baseVersion","isEqual","push","text","usageLimit","oldRange","newRange","getChildren","processor","getMovedRangeStart","getWalker","detachRoot","_initialRevisionId","dataDowncast","set","_calculateMetaData","revisionHistoryLicenseKeyEvaluationLimit","childCount","document","getUser","_baseRootsAttributes","slice","revisionHistoryLicenseKeyExpired","fromEntries","initialData","howMany","max","useFillerType","_handleRootOperation","data","paragraph","upcast","isAttached","_removePendingAction","reInit","expired","getOperation","revisionHistoryLicenseKeyNotAllowed","getTransformedByOperation","invalid","isOfficialPlugin","shift","rootName","Initial revision","_isAttached","newValue","includes","markers","Empty document","evaluationLimit","authors","_continueCurrentRevision","filter","revision-start","then","612aSbLty","3477505Kykcra","init","reverse","_createCurrentRevision","getRootNames","size","addRoot","some","_applyOperations","length","authorsIds","getRevisionDocumentData","_markers","forEach","_handleMoveOperation","add","_prepareViewToSave","_insertChild","RevisionTracker","version","map","offset","getAttribute","hasContent","afterInit","revisionHistoryLicenseKeyInvalid","_revisionId","_makeRevision","creatorId","update","_isPendingUpdate","roots","_isInit","targetPosition","trialLimit","trim","createdAt","element","start","750376ZpLxPj","_startingRevisionId","offsetSize","_setAttribute","2248839CsEhzv","Users","_source","deletions","addRootAttribute","bind","createRevision","type","attributesBefore","_handleMarkerOperation","resolve","RevisionsRepository","_loadedStateData","_handleRootAttributeOperation","source","markerToData","_loadState","changeRootAttribute","getRevision","children","_idsRoots","_lastFrom","_bufferedUpdates","_lastTo","vid_end","revision-end","_showLicenseError","collaboration.channelId","_handleMergeOperation","editing","pluginName","finally","_fixRange","merge","5131WFTPcz","_getBaseVids","_generateTape","root","3232840hxSxds","editor","getChild","view","$text","isReady","_pendingAction","vid_start","_loadRevisionData","splitPosition","insertions","_cloneOperation","setSource","range","getRevisions","sourcePosition","for","get","getData","revision","revision:","default","_createInitialRevision","_touchedRoots","marker","_touched","parse","_transformMarkers","_getVidAttributeName","string","toView","_removeMetaData","documentFragment","initial","498623rCxdur","getLatestVersion","insertion","_diffRootsAttributes","5814YSermr","split","insertionPosition","from","getRoot","position","buildRevisionData","define","name","attachChange","_clone","repository","featureNotAllowed","clear","toModel","_revisionDataBuilder","loadState","_fixPosition","currentRevision","_touchedMarkers","_makeIdsRoot","isPremiumPlugin","path","keepParagraph","createRange","_bufferUpdate","getTime","reinsert","locale","_getViewJson","getNodeByPath","startsWith","licenseKey","_baseRoots","_makeModelFromViewString","_replaceEditorDataWithRevisionData","find","marked","vid","_savedMetaData","PENDING_ACTION_REVISION_HISTORY","_handleInsertOperation","_execute","revisionHistoryLicenseKeyUsageLimit","_copyMarkers","item","_operations","graveyardPosition","addRevisionData","_removeRevisionMarkers","createPositionAt","getOperations","destroy","isEnabled","1408MpUEwH","_appendChild","_markChanges","insert","getIndex","end","domainLimit","isAdd","$graveyard","getRange","creator","PendingActions","_fixOperation","has","model","keys","toData","sendBufferedUpdates","stringify","config","_startingVersion","move","getRevisionRootsAttributes","setRevisionData","editor-initial-data-replaced-with-revision-data","fromVersion","clone","NEGATIVE_INFINITY","requires","createRangeIn","getAncestors","stickiness","elementStart","saveRevision","_handleSplitOperation","key","createPositionBefore","RealTimeCollaborationClient","createPositionFromPath","ready","_getFromVersion","getAttributes","rootsAttributes","elementEnd","values","_licenseKeyCheckInterval","sort","createPositionAfter","_getPreviousFrom","attributes","_diffRoots","_getState","affectsData","delete","_processRootBeforeSave","revisionHistory.resumeUnsavedRevision","_baseIdsRoots","_reset","userId","_saveMetaData","_setConversion","diffData","remove","data-revision-","revisionHistoryLicenseKeyValid","_handleOperation","conversion","_findInsertionIndex","dataToMarker","attributesAfter","removeRootAttribute","toVersion","RevisionHistory","parent","deletion","nodes","_authorId","plugins","revisionHistoryLicenseKeyDomainLimit","nodeAfter","updateRevisions","history","previousPosition","_update"];return(rt=function(){return t})()}function ot(t,e){const i=rt();return(ot=function(t,e){return i[t-=344]})(t,e)}class at{[et(374)];[et(349)];[et(450)];[et(356)];[et(358)];[et(624)];[et(515)];[et(410)];[et(444)];[et(576)];[et(355)];[et(521)];[et(398)];[et(430)];[et(396)];[et(638)];[et(652)];constructor(t){const e=et;this[e(374)]=t,this[e(450)]=new Map,this[e(356)]=-1,this[e(358)]=-1,this[e(624)]=new Map,this[e(515)]=new Map,this[e(410)]=new Map,this[e(444)]=new Map,this[e(576)]=new Map,this[e(355)]=new Map,this[e(521)]=new Map,this[e(398)]=new Map,this[e(430)]=new Map,this[e(396)]=new Map,this[e(638)]=1}[et(613)](t){const e=et;this[e(349)]=t;const i=new Map,s=new Map,n=this[e(374)][e(479)][e(574)][e(643)][e(632)]((t=>t[e(598)]));for(const t of n){const n=this[e(374)][e(479)][e(574)][e(415)](t),r=ct(n);i[e(570)](t,r),s[e(570)](t,Object[e(579)](n[e(506)]()))}const r=Array[e(414)](this[e(374)][e(479)][e(603)])[e(632)]((t=>[t[e(419)],t[e(474)]()])),o=this[e(349)][e(631)];this[e(524)](o,i,r,s),this[e(652)]=this[e(638)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(570)](t,i),c[e(570)](t,{})}this[e(524)](Number[e(492)],a,[],c)}[et(391)](t,e){const i=et;if(this[i(356)]===t&&this[i(358)]<=e)this[i(450)][i(617)]>1&&this[i(404)](this[i(358)]),this[i(620)](this[i(358)],e,!0);else{if(!this[i(450)][i(478)](t)){const e=this[i(513)](t);this[i(571)](e,t,!1)}this[i(571)](t,e,!0)}return this[i(356)]=t,this[i(358)]=e,this[i(516)]()}[et(427)](t){const e=et;this[e(522)](),this[e(356)]=t[e(490)],this[e(358)]=t[e(536)];for(const i in t[e(526)]){const s=t[e(526)][i][e(420)],n=A(t[e(526)][i][e(663)])||{},r=this[e(445)](t[e(526)][i][e(658)]);r[e(598)]=i,r[e(600)]=!s||!s[e(588)],r[e(588)]=()=>r[e(600)],this[e(444)][e(570)](i,r),this[e(576)][e(570)](i,n),s&&this[e(396)][e(570)](i,s);const o=this[e(431)](r);this[e(521)][e(570)](i,o);for(const[t,i]of r[e(603)]){if(!t[e(442)](e(393)))continue;const s=t[e(412)](":")[2];for(const t of i[e(566)]({singleCharacters:!0})){const i=this[e(401)](t),n=e(508)==t[e(662)]?t[e(547)][e(433)][e(577)](0,-1):t[e(547)][e(433)],r=o[e(441)](n)[e(634)](i);this[e(398)][e(570)](r,{userId:s})}}}this[e(652)]=this[e(638)];const i=[...Array(this[e(638)])[e(480)]()][e(577)](1)[e(608)]((t=>!this[e(398)][e(478)](t)));let s=0;const n=new Map;for(const r in t[e(526)]){const o=t[e(526)][r][e(420)],a=A(t[e(526)][r][e(534)])||{},c=this[e(445)](t[e(526)][r][e(383)]);c[e(598)]=r,c[e(600)]=!o||o[e(588)],c[e(588)]=()=>c[e(600)],this[e(515)][e(570)](r,c),this[e(410)][e(570)](r,a);const u=this[e(431)](c,Number[e(492)]);this[e(355)][e(570)](r,u),n[e(570)](r,c[e(588)]()?a:{});for(const[t,i]of c[e(603)]){if(!t[e(442)](e(393)))continue;const s=t[e(412)](":")[2];for(const t of i[e(566)]({singleCharacters:!0})){const i=this[e(401)](t),n=this[e(638)]++,r=e(508)==t[e(662)]?t[e(547)][e(433)][e(577)](0,-1):t[e(547)][e(433)];u[e(441)](r)[e(654)](i,n),this[e(398)][e(570)](n,{userId:s})}}for(const t of this[e(374)][e(479)][e(494)](c)[e(566)]({singleCharacters:!0})){const n=this[e(401)](t),r=e(508)==t[e(662)]?t[e(547)][e(433)][e(577)](0,-1):t[e(547)][e(433)],o=u[e(441)](r);o[e(634)](n)>0||o[e(654)](n,i[s++])}for(const[t,i]of c[e(603)])t[e(442)](e(393))||this[e(624)][e(570)](t,i)}const r=ut(e(473));this[e(444)][e(570)](e(473),r),this[e(521)][e(570)](e(473),this[e(431)](r,1));const o=ut(e(473));this[e(515)][e(570)](e(473),o),this[e(355)][e(570)](e(473),this[e(431)](o,1));const a=Array[e(414)](this[e(515)])[e(632)]((([t,e])=>[t,ct(e)]));this[e(524)](this[e(358)],a,this[e(624)],n)}[et(445)](t){const e=et,i=JSON[e(399)](t),s=this[e(374)][e(364)][e(376)][e(574)],n=new H.ViewDocumentFragment(s,i[e(632)]((t=>nt(t,this[e(374)]))));return this[e(374)][e(585)][e(425)](n)}[et(524)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(570)](t,{start:e[n(650)][n(491)](),end:e[n(470)][n(491)](),rootName:e[n(372)][n(598)]});this[n(450)][n(570)](t,{roots:r,markers:a,rootsAttributes:o})}[et(404)](t){const e=et;this[e(450)][e(518)](t)}[et(590)](){const t=et;this[t(522)](),this[t(356)]=-1,this[t(358)]=-1,this[t(450)][t(424)](),this[t(613)](this[t(349)])}[et(522)](){const t=et;this[t(398)][t(424)](),this[t(430)][t(424)](),this[t(396)][t(424)](),this[t(515)][t(424)](),this[t(410)][t(424)](),this[t(444)][t(424)](),this[t(576)][t(424)](),this[t(355)][t(424)](),this[t(521)][t(424)](),this[t(624)][t(424)](),this[t(638)]=1,this[t(652)]=this[t(638)]}[et(431)](t,e=null){const i=et;let s=null;t.is(i(405))||(s=new H.Element(t[i(419)],{vid_start:null===e?this[i(638)]++:e++}));const n=[];for(const s of t[i(563)]())if(s.is(i(649))){n[i(558)](this[i(431)](s,e));const t=n[n[i(621)]-1];null!==e&&(e=t.is(i(649),i(377))?t[i(634)](i(449))+1:t[i(634)](i(359))+1)}else for(let t=0;t<s[i(653)];t++)n[i(558)](new H.Element(i(377),{vid:null===e?this[i(638)]++:e++}));if(t.is(i(405))){const e=ut(t[i(598)]);return e[i(629)](0,n),e}return s[i(654)](i(359),null===e?this[i(638)]++:e++),s[i(629)](0,n),s}[et(571)](t,e,i){const s=et;this[s(522)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(450)][s(390)](t);this[s(444)]=new Map(n),this[s(576)]=new Map(A(o));for(const[t,e]of this[s(444)])if(s(473)!==t&&(this[s(515)][s(570)](t,ct(e)),this[s(410)]=new Map(A(o)),i)){const i=this[s(638)];this[s(355)][s(570)](t,this[s(431)](e)),this[s(521)][s(570)](t,this[s(431)](e,i))}this[s(652)]=this[s(638)],this[s(515)][s(570)](s(473),ct(this[s(444)][s(390)](s(473)))),i&&this[s(355)][s(570)](s(473),this[s(431)](this[s(444)][s(390)](s(473))));for(const[t,e]of r){const i=this[s(444)][s(390)](e[s(598)]),n=this[s(515)][s(390)](e[s(598)]),r=new H.Range(this[s(428)](e[s(650)],i),this[s(428)](e[s(470)],i)),o=this[s(367)](r,n);i[s(603)][s(570)](t,r),this[s(624)][s(570)](t,o)}this[s(620)](t,e,i)}[et(620)](t,e,i){const s=et;for(const n of this[s(349)][s(462)](t,e))this[s(530)](n,i);for(const t of this[s(515)][s(509)]())t[s(603)][s(424)]();for(const[t,e]of this[s(624)])this[s(515)][s(390)](e[s(372)][s(598)])[s(603)][s(570)](t,e[s(491)]());const n=new Map,r=new Map;for(const[t,e]of this[s(515)])n[s(570)](t,ct(e)),r[s(570)](t,this[s(410)][s(390)](t));this[s(524)](e,n,this[s(624)],r)}[et(513)](t){const e=et,i=Array[e(414)](this[e(450)][e(480)]());i[e(511)](((t,e)=>t-e)),i[e(614)]();for(const e of i)if(e<t)return e;return Number[e(492)]}[et(455)](t,e){const i=et,s=Array[i(414)](e[i(603)])[i(632)]((([e,s])=>[e,this[i(367)](s,t)]));t[i(603)]=new Map(s)}[et(400)](t){const e=et;for(const i of this[e(624)][e(509)]()){const s=i[e(594)](t),n=H.Range[e(555)](s);i[e(650)]=n[e(650)],i[e(470)]=n[e(470)]}}[et(530)](t,e){const i=et;if(i(618)!=t[i(662)]&&i(567)!=t[i(662)]){if(i(468)==t[i(662)]){const s=t[i(416)][i(372)][i(598)];this[i(515)][i(478)](s)||(this[i(515)][i(570)](s,ut(s,!0)),this[i(410)][i(570)](s,{}),e&&this[i(355)][i(570)](s,ut(s,!0)))}else{if(i(659)==t[i(662)]||i(535)==t[i(662)]||i(352)==t[i(662)])return void this[i(348)](t);i(397)==t[i(662)]&&this[i(344)](t)}if(i(397)!==t[i(662)]){const e=this[i(384)](t,this[i(515)]);e[i(453)](),this[i(400)](e)}if(e)switch(t[i(662)]){case i(468):this[i(452)](t);break;case i(486):case i(527):case i(438):this[i(626)](t);break;case i(368):this[i(363)](t);break;case i(412):this[i(499)](t)}}else this[i(584)](t,e)}[et(384)](t,e){const i=et,s=t[i(491)]();return s[i(541)]=t[i(541)],this[i(477)](s,e),s}[et(370)](t){const e=et;return t[e(632)]((t=>{const i=e,s=this[i(401)](t);return Number(t[i(456)][i(634)](s))}))}[et(371)](t,e){const i=et;if(t.is(i(649),i(377)))e[i(558)]({item:t,type:i(559)});else{t.is(i(649))&&e[i(558)]({item:t,type:i(497)});for(const s of t[i(563)]())this[i(371)](s,e);t.is(i(649))&&e[i(558)]({item:t,type:i(508)})}return e}[et(516)](){const t=et,e=new Map(this[t(398)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(444)][t(480)](),...this[t(515)][t(480)]()]);a[t(518)](t(473));for(const e of a){const i=this[t(515)][t(390)](e)||ut(e,!1),s=this[t(444)][t(390)](e)||ut(e,!1);i[t(588)]()||s[t(588)]()?(n[t(383)][e]=ct(i),n[t(658)][e]=ct(s),this[t(455)](n[t(658)][e],s),this[t(455)](n[t(383)][e],i),r[t(383)][e]=this[t(371)](this[t(355)][t(390)](e),[]),r[t(658)][e]=this[t(371)](this[t(521)][t(390)](e)||ut(e,!1),[])):a[t(518)](e)}for(const n of a){const o=r[t(383)][n];for(const n of o){const r=this[t(401)](n),o=n[t(456)][t(634)](r);i[t(518)](o),o>=this[t(652)]&&s[t(570)](o,e[t(390)](o))}}for(const n of a){const a=r[t(383)][n],c=this[t(370)](r[t(658)][n]);let u=0;for(const n of a){const r=this[t(401)](n),a=n[t(456)][t(634)](r);if(!s[t(478)](a)&&!o[t(478)](a))if(i[t(478)](a))u++;else{if(a!=c[u]){const s=e[t(390)](a)||e[t(390)](c[u]);for(;a!=c[u];)i[t(478)](c[u])||(o[t(570)](c[u],s),e[t(570)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(383)][e];for(const e of n){const n=this[t(401)](e),r=e[t(456)][t(634)](n);if(o[t(478)](r)){const e=o[t(390)](r);i[t(478)](r)||i[t(570)](r,{...e}),s[t(570)](r,{...e})}}}for(const e of i[t(480)]())e>=this[t(652)]&&i[t(518)](e);const c=new Map;for(const e of a){let n=r[t(383)][e];for(const e of n)if(e[t(456)].is(t(649),t(551))){const i=this[t(401)](e),n=e[t(456)][t(634)](i);if(s[t(478)](n)){const i=e[t(456)][t(538)][t(538)][t(634)](t(380)),r=c[t(390)](i)||new Set;r[t(627)](s[t(390)](n)[t(523)]),c[t(570)](i,r)}}n=r[t(658)][e];for(const e of n)if(e[t(456)].is(t(649),t(551))){const s=this[t(401)](e),n=e[t(456)][t(634)](s);if(i[t(478)](n)){const s=e[t(456)][t(538)][t(538)][t(634)](t(380)),r=c[t(390)](s)||new Set;r[t(627)](i[t(390)](n)[t(523)]),c[t(570)](s,r)}}for(const e of c[t(480)]())(s[t(478)](e)||i[t(478)](e))&&c[t(518)](e)}for(const e of a){const n=r[t(383)][e];let o=null,a=null;for(const e of n){const n=this[t(401)](e),r=e[t(456)][t(634)](n),u=c[t(390)](r);u&&t(497)==e[t(662)]&&(o=Array[t(414)](u)[0],a=e[t(456)][t(634)](t(359))),o&&(i[t(570)](r,{userId:o}),s[t(570)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(658)][e],a=n[t(383)][e];for(const{userId:e}of this[t(430)][t(509)]())null!==e&&l[t(627)](e);for(const{userId:e}of this[t(396)][t(509)]())null!==e&&l[t(627)](e);this[t(467)](a,r[t(383)][e],s,t(409),l),this[t(467)](o,r[t(658)][e],i,t(539),l),u[e]={insertions:this[t(628)](a),deletions:this[t(628)](o),attachChange:this[t(396)][t(390)](e)||null,attributesBefore:A(this[t(576)][t(390)](e))||{},attributesAfter:A(this[t(410)][t(390)](e))}}return{diffData:u,authorsIds:Array[t(414)](l)}}[et(519)](t){const e=et;for(const[,i]of t[e(603)]){const t=i[e(650)][e(495)]()[e(608)]((t=>e(551)==t[e(419)]));for(const i of t)1==i[e(573)]&&i[e(375)](0).is(e(649),e(586))&&i[e(375)](0)[e(654)](e(434),!0)}}[et(628)](t){const e=et;this[e(519)](t);const i=this[e(374)][e(585)][e(403)](t,{}),s=Array[e(414)](i[e(563)]())[e(632)]((t=>this[e(440)](t)));return JSON[e(483)](s)}[et(440)](t){const e=et;if(t.is(e(377)))return t[e(585)];{const i=t;return{type:Object[e(480)](it)[e(447)]((e=>t instanceof it[e])),name:i[e(419)],attributes:Array[e(414)](i[e(506)]()),children:Array[e(414)](i[e(563)]())[e(632)]((t=>this[e(440)](t)))}}}[et(467)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(374)][r(479)];for(let s=0;s<e[r(621)];s++){const n=this[r(401)](e[s]),c=e[s][r(456)][r(634)](n),h=i[r(390)](c),d=s==e[r(621)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(523)]!=o[r(523)])&&(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(523)],d=l(393)+s+":"+h+":"+c++,f=u[l(435)](i,a);t[l(603)][l(570)](d,f),null!==h&&n[l(627)](h)}}[et(401)](t){const e=et;switch(t[e(662)]){case e(497):return e(380);case e(508):return e(359);default:return e(449)}}[et(477)](t,e){const i=et;t[i(556)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(390)](n[i(372)][i(598)]);t[s]=this[i(428)](n,r)}if(n instanceof H.Range){const r=e[i(390)](n[i(372)][i(598)]);t[s]=this[i(367)](n,r)}i(372)===s&&(t[i(372)]=e[i(390)](t[i(372)][i(598)]))}}[et(367)](t,e){const i=et;return this[i(374)][i(479)][i(435)](this[i(428)](t[i(650)],e),this[i(428)](t[i(470)],e))}[et(428)](t,e){const i=et;return this[i(374)][i(479)][i(503)](e,t[i(433)],t[i(496)])}[et(452)](t){const e=et,i=this[e(355)][e(390)](t[e(416)][e(372)][e(598)]),s=this[e(428)](t[e(416)],i),n=null===t[e(541)]?null:t[e(541)]||this[e(374)][e(542)][e(390)](e(656)).me.id,r=s[e(538)],o=this[e(638)],a=[];for(const i of t[e(540)])if(i.is(e(649)))a[e(558)](this[e(431)](i));else for(let t=0;t<i[e(653)];t++)a[e(558)](new H.Element(e(377),{vid:this[e(638)]++}));const c=this[e(638)];for(let t=o;t<c;t++)this[e(398)][e(570)](t,{userId:n});r[e(629)](s[e(633)],a)}[et(626)](t){const e=et;(t=this[e(384)](t,this[e(355)]))[e(453)]();const i=null===t[e(541)]?null:t[e(541)]||this[e(374)][e(542)][e(390)](e(656)).me.id,s=t[e(565)](),n=s[e(538)],r=s[e(633)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(375)](e);r.is(a(649),a(377))?s[a(570)](r[a(634)](a(449)),{userId:i}):(s[a(570)](r[a(634)](a(380)),{userId:i}),t(s,r,0,r[a(573)]),s[a(570)](r[a(634)](a(359)),{userId:i}))}}(this[e(398)],n,r,r+t[e(581)])}[et(363)](t){const e=et,i=null===(t=this[e(384)](t,this[e(355)]))[e(541)]?null:t[e(541)]||this[e(374)][e(542)][e(390)](e(656)).me.id,s=t[e(645)][e(538)],n=t[e(388)][e(538)],r=s[e(634)](e(359)),o=n[e(634)](e(380));s[e(654)](e(359),n[e(634)](e(359))),n[e(654)](e(359),r),this[e(398)][e(570)](o,{userId:i}),this[e(398)][e(570)](r,{userId:i}),t[e(453)]()}[et(499)](t){const e=et,i=null===(t=this[e(384)](t,this[e(355)]))[e(541)]?null:t[e(541)]||this[e(374)][e(542)][e(390)](e(656)).me.id,s=t[e(458)],n=t[e(382)][e(538)];t[e(453)]();const r=n[e(634)](e(359)),o=t[e(413)][e(544)];if(s){const t=o[e(634)](e(359)),s=n[e(634)](e(359));n[e(654)](e(359),t),o[e(654)](e(359),s),this[e(398)][e(570)](n[e(634)](e(359)),{userId:i}),this[e(398)][e(570)](o[e(634)](e(380)),{userId:i})}else{const t=this[e(638)]++,s=this[e(638)]++;n[e(654)](e(359),t),o[e(654)](e(380),s),o[e(654)](e(359),r),this[e(398)][e(570)](t,{userId:i}),this[e(398)][e(570)](s,{userId:i})}}[et(344)](t){const e=et;if(!t[e(517)])return;const i=(t=this[e(384)](t,this[e(515)]))[e(561)]?t[e(561)][e(372)]:null,s=t[e(562)]?t[e(562)][e(372)]:null;i&&this[e(624)][e(518)](t[e(419)]),s&&this[e(624)][e(570)](t[e(419)],t[e(562)][e(491)]());const n=null===t[e(541)]?null:t[e(541)]||this[e(374)][e(542)][e(390)](e(656)).me.id,r=t[e(419)];if(!this[e(430)][e(478)](r))return void this[e(430)][e(570)](r,{range:t[e(561)],userId:n});const o=this[e(430)][e(390)](r),a=o[e(386)],c=t[e(562)];null==a&&null==c||a&&c&&a[e(557)](c)?this[e(430)][e(518)](t[e(419)]):o[e(523)]=n}[et(584)](t,e){const i=et;this[i(515)][i(478)](t[i(598)])?this[i(515)][i(390)](t[i(598)])[i(600)]=t[i(472)]:(this[i(515)][i(570)](t[i(598)],ut(t[i(598)],!0)),this[i(410)][i(570)](t[i(598)],{}),e&&this[i(355)][i(570)](t[i(598)],ut(t[i(598)],!0)));const s=null===t[i(541)]?null:t[i(541)]||this[i(374)][i(542)][i(390)](i(656)).me.id,n=this[i(396)][i(390)](t[i(598)]);n&&n[i(523)]===s?this[i(396)][i(518)](t[i(598)]):this[i(396)][i(570)](t[i(598)],{userId:s,isAttached:t[i(472)]})}[et(348)](t){const e=et,i=this[e(410)][e(390)](t[e(372)][e(598)]);null===t[e(601)]?delete i[t[e(500)]]:i[t[e(500)]]=t[e(601)]}}function ct(t){const e=et,i=ut(t[e(598)],t[e(588)]());for(const s of t[e(563)]()){const t=s[e(421)](!0);i[e(466)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(598)]=t,s[i(600)]=e,s[i(588)]=()=>s[i(600)],s}function lt(t,e,i){const s=et,n=s(508)==t[s(662)]?i[s(461)](t[s(456)],s(470)):i[s(501)](t[s(456)]);return i[s(503)](e,n[s(433)],n[s(496)])}function ht(t,e,i){const s=et,n=s(497)==t[s(662)]?i[s(461)](t[s(456)],0):i[s(512)](t[s(456)]);return i[s(503)](e,n[s(433)],n[s(496)])}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 xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=Rt;function Rt(t,e){const i=At();return(Rt=function(t,e){return i[t-=196]})(t,e)}function At(){const t=["focusTracker","394405ZjMayU","render","input","ck-revision-history-save-revision-form","93dPynFf","64HJJMxT","extendTemplate","value","stopPropagation","locale","220","revisionNameInputView","trim","arrowup","arrowleft","4725ZwLhKg","label","optional","13010nIwFrz","keystrokes","reset","errorText","Name of the revision","fieldView","24836cDqIPq","element","402084LtOTHm","612076ihGOMK","49091FdKOkf","revisionName","listenTo","form","_createRevisionNameInput","ck-responsive-form","focus","setTemplate","revisionNameInputValue","arrowright","18RQdbyH","add","arrowdown","set","8684445OPCFLj"];return(At=function(){return t})()}!function(t){const e=Rt,i=t();for(;;)try{if(401708===parseInt(e(210))/1+parseInt(e(207))/2*(-parseInt(e(231))/3)+parseInt(e(209))/4+-parseInt(e(227))/5*(-parseInt(e(221))/6)+parseInt(e(211))/7*(-parseInt(e(232))/8)+parseInt(e(198))/9*(parseInt(e(201))/10)+-parseInt(e(225))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Mt extends ft.View{[Nt(226)];[Nt(202)];[Nt(238)];constructor(e,i){const s=Nt;super(e),this[s(226)]=new t.FocusTracker,this[s(202)]=new t.KeystrokeHandler,this[s(224)](s(219),""),this[s(238)]=this[s(215)](i),this[s(218)]({tag:s(214),attributes:{class:["ck",s(230),s(216)],tabindex:"-1"},children:[this[s(238)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(228)](){const t=Nt;super[t(228)](),(0,ft.submitHandler)({view:this}),this[t(226)][t(222)](this[t(238)][t(208)]),this[t(202)][t(213)](this[t(208)]);const e=e=>e[t(235)]();this[t(202)][t(224)](t(220),e),this[t(202)][t(224)](t(197),e),this[t(202)][t(224)](t(196),e),this[t(202)][t(224)](t(223),e)}[Nt(217)](){const t=Nt;this[t(238)][t(217)]()}get[Nt(212)](){const t=Nt;return this[t(238)][t(206)][t(208)][t(234)][t(239)]()}set[Nt(212)](t){const e=Nt;this[e(238)][e(206)][e(208)][e(234)]=t[e(239)]()}[Nt(203)](){const t=Nt;this[t(238)][t(206)][t(208)][t(234)]="",this[t(238)][t(204)]=null}[Nt(215)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(236)],ft.createLabeledInputText),s=i[e(206)];s[e(233)]({attributes:{maxlength:e(237)}});let n=G(this[e(236)],e(205));return!t&&(n+=" ("+G(this[e(236)],e(200))+")"),i[e(199)]=n,s.on(e(229),(()=>{const t=e;this[t(219)]=s[t(208)][t(234)][t(239)]()})),i}}function Et(t,e){const i=Dt();return(Et=function(t,e){return i[t-=458]})(t,e)}const Vt=Et;function Dt(){const t=["revisionSave","revisionName","plugins","editor","view","Open revision history","init","buttonView","render","RevisionHistoryUI","isReady","revisionHistory","pluginName","8991810HdOXdr","3571353zzPwLN","3401225hOkPtt","revisionNameInputView","addMany","show","delegate","set","componentFactory","role","editing","The revision name cannot be empty.","config","isPremiumPlugin","2277224fKuFDG","revisionHistory.requireRevisionName","isReadOnly","execute","14sNLAuG","_createSaveRevisionFormView","80CMNVmF","251GiXizT","Dialog","_showDialog","add","isEnabled","_registerMenuComponent","Accept","Cancel","panelView","Save current revision","1482DXyIJi","RevisionTracker","items","children","isOpen","menuBar:revisionHistory","254988qHBYAK","errorText","isOfficialPlugin","menuitem","get","hide","_saveRevisionFormView","bind","saveRevision","ck-button-action","locale","Revision history","submit","reset","requires","menu","focus","3062JJWgQC","showRevisionViewerCallback"];return(Dt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(415284===-parseInt(e(497))/1*(parseInt(e(461))/2)+parseInt(e(507))/3*(parseInt(e(496))/4)+parseInt(e(478))/5+parseInt(e(513))/6+-parseInt(e(494))/7*(-parseInt(e(490))/8)+parseInt(e(477))/9+-parseInt(e(476))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Vt(475)](){return Vt(472)}static get[Vt(515)](){return!0}static get[Vt(489)](){return!0}static get[Vt(458)](){return[st]}[Vt(519)];[Vt(469)](){const t=Vt,e=this[t(466)],i=e[t(465)][t(517)](t(508));e.ui[t(484)][t(500)](t(474),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(505)][n(510)],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(520)](n(501)).to(i,n(473),i,n(501),e,n(492),((t,e,i)=>t&&e&&!i)),r[n(470)][n(483)]({icon:dt.IconHistory,label:G(s,n(524)),tooltip:!0}),u[n(483)]({label:G(s,n(506)),withText:!0,role:n(516)}),u[n(520)](n(501)).to(i,n(473),i,n(501),e,n(492),((t,e,i)=>t&&e&&!i)),u.on(n(493),(()=>this[n(499)]())),h[n(483)]({label:G(s,n(468)),withText:!0,role:n(516)}),h[n(520)](n(501)).to(i,n(473),e,n(492),((t,e)=>t&&!e)),h.on(n(493),(()=>{const t=n;e[t(488)][t(517)](t(474))[t(462)](),r[t(511)]=!1,e[t(486)][t(467)][t(460)]()})),c[n(510)][n(500)](u),l[n(510)][n(500)](h),a[n(485)]=n(459),a[n(509)][n(480)]([c,l]),o[n(500)](a),r})),e.ui[t(484)][t(500)](t(512),(()=>this[t(502)]()))}[Vt(502)](){const t=Vt,e=this[t(466)],i=e[t(523)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(470)][t(483)]({icon:dt.IconHistory,label:G(i,t(524))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(483)]({label:G(i,t(506))}),o[t(482)](t(493)).to(s),o.on(t(493),(()=>{this[t(499)]()})),r[t(510)][t(500)](o),n[t(509)][t(500)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(483)]({label:G(i,t(468))}),c[t(482)](t(493)).to(s),c.on(t(493),(()=>{const i=t;e[i(488)][i(517)](i(474))[i(462)]()})),a[t(510)][t(500)](c),n[t(509)][t(500)](a),s[t(505)][t(510)][t(500)](n),s}[Vt(499)](){const t=Vt,e=this[t(466)],i=e[t(523)],s=e[t(465)][t(517)](t(498)),n=e[t(465)][t(517)](t(508));function r(n){const r=t;e[r(488)][r(517)](r(491))&&""===n[r(464)]?n[r(479)][r(514)]=G(i,r(487)):(e[r(465)][r(517)](st)[r(521)]({name:n[r(464)]}),s[r(518)]())}this[t(519)]||(this[t(495)](),this[t(519)].on(t(525),(()=>r(this[t(519)])))),this[t(519)][t(526)](),s[t(481)]({id:t(463),title:G(i,t(506)),isModal:!0,content:this[t(519)],actionButtons:[{label:G(e[t(523)],t(504)),withText:!0,onExecute:()=>s[t(518)]()},{label:G(e[t(523)],t(503)),class:t(522),withText:!0,onCreate(i){const s=t;i[s(520)](s(501)).to(n,s(473),n,s(501),e,s(492),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(519)])}]})}[Vt(495)](){const t=Vt,e=this[t(466)],i=e[t(523)];this[t(519)]=new Mt(i,e[t(488)][t(517)](t(491))),this[t(519)][t(471)]()}}function Ft(){const t=["ck-revision-change__","type","282NIBPqd","focus","992634ZWnYee","15210981JIQKgy","div","name","4821SebYEz","data","ck-annotation","200928idrcnc","Added by","Removed by","_model","element","Suggested by","1750CEEaKl","bindTemplate","ck-revision-change__label","author","set","isSuggestion","span","changeId","955143ybEPcE","add","6508SsjNoy","setTemplate","ck-revision-change","723FzbhNx"];return(Ft=function(){return t})()}const jt=Lt;function Lt(t,e){const i=Ft();return(Lt=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(711623===parseInt(e(210))/1+-parseInt(e(237))/2+parseInt(e(232))/3*(-parseInt(e(229))/4)+parseInt(e(219))/5*(parseInt(e(235))/6)+-parseInt(e(227))/7+parseInt(e(213))/8+parseInt(e(238))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[jt(226)];[jt(216)];constructor(t,e){const i=jt;super(t),this[i(216)]=e,this[i(226)]=e.id;const s=this[i(220)],n=G(t,e[i(211)][i(224)]?i(218):i(228)==e[i(234)]?i(214):i(215));this[i(223)](i(234),e[i(234)]),this[i(230)]({tag:i(239),attributes:{class:[i(212),i(231),s.to(i(234),(t=>i(233)+t))],tabindex:-1},children:[{tag:i(225),children:[{tag:i(225),attributes:{class:[i(221)]},children:[{text:n}]},{text:" "+e[i(222)][i(240)]}]}]})}[jt(236)](){const t=jt;this[t(217)][t(236)]()}}function zt(){var t=["7705243gHsDvr","154182KEtiDk","53921Aexdzi","rootName","data","set","toJSON","567195kLoGCO","type","createdAt","524738BcELFz","1581476UTxPIS","author","3160014kaLUsh"];return(zt=function(){return t})()}function Wt(t,e){var i=zt();return(Wt=function(t,e){return i[t-=199]})(t,e)}var Ut=Wt;!function(t){for(var e=Wt,i=t();;)try{if(325114===-parseInt(e(207))/1+parseInt(e(201))/2+parseInt(e(206))/3+-parseInt(e(202))/4+-parseInt(e(212))/5+-parseInt(e(204))/6+parseInt(e(205))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(203)];[Ut(199)];[Ut(209)];[Ut(208)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(203)]=e[i(203)],this[i(199)]=e[i(199)],this[i(209)]=e[i(209)]||{},this[i(208)]=e[i(208)],this[i(210)](i(200),e[i(200)])}[Ut(211)](){var t=Ut;return{id:this.id,authorId:this[t(203)].id,type:this[t(199)],data:this[t(209)],createdAt:this[t(200)]}}}const Ht=$t;function qt(){const t=["512294jPLNRa","_setChanges","changes","add","oldRevisionId","1438805YwnAiA","newRevisionId","8yjzAFR","6991596pVIafm","3468879OhsoSo","1424227rxIQim","4744836RfEifW","33965550ANiyNI","4SrmTZk"];return(qt=function(){return t})()}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=451]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(842706===parseInt(e(459))/1*(parseInt(e(458))/2)+parseInt(e(454))/3+parseInt(e(456))/4+parseInt(e(464))/5+parseInt(e(453))/6+parseInt(e(455))/7*(-parseInt(e(452))/8)+-parseInt(e(457))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(451)];[Ht(463)];[Ht(461)];constructor(e,i){const s=Ht;this[s(451)]=e,this[s(463)]=i,this[s(461)]=new t.Collection}[Ht(460)](t){const e=Ht;for(const i of t)this[e(461)][e(462)](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=Qt;function Kt(){const t=["then","values","resolve","addMarker:revision-suggestion:insertion","consumable","createAttributeElement","startsWith","data-change-id","createRange","isIncorrect","element","createPositionBefore","restoreRevisionCallback","type","change:isEnabled","repository","ck-revision-history-root-","bindElementToMarker","addRoot","locale","compare","_makeModelFromTape","clear","add","ck-revision-history-root--active","item","removeClass","_findChangeIdFromDomTarget","config","error","revision-viewer","_balloon","mousedown","view","isAddSuggestion","dataToMarker","_markMismatchedRemovedTags","left","findIndex","WidgetToolbarRepository","next","isOfficialPlugin","_setDistance","start","softBreak","toModel","markersEnd","isAdded","ck-suggestion-marker-split","removeMarker:revision-suggestion","_getChangeFromId","nodeAfter","attributesAfter","_joinTapes","distance","range","change:isReady","752310fXVbKk","unbindElementFromMarkerName","isAfter","execute","_makeTape","push","newRevisionId","viewItem","_getViewObj","_threeWayMerge","deletions","name","refresh","_changeIdToChange","getRevisionData","revision-end","numberOfChanges","previousPosition","isRemoved","getAttributes","rootName","vid","nextPosition","return","set","writer","ck-suggestion-marker--active","RevisionsRepository","isRemoveSuggestion","elementStart","index","collaboration.channelId","_refreshStartEndIndex","upcast","attribute:vid","_removeMissingPairs","_makeModelFromViewString","toData","getCustomProperty","editingDowncast","isAtEnd","addClass","changes","children","attributesBefore","973678uvOODY","level","_removeUnsupportedChanges","change:activeChange","init","_appendChild","map","ck-editor__editable__overlay","2342136TZawEX","deletion","restoreRevision","_activeViewTarget","parse","sort","concat","low","changeId","markerToHighlight","createPositionFromPath","toViewPosition","revision-suggestion:","startIndex","userId","merge","RevisionViewer","backward","editor","addRevision","split","getChild","forward","suggestion","addRevisionData","getClientRects","insert","mouseover","removeMarker","_processTape","downcastDispatcher","_getViewForChange","8ZJipaT","isBlock","getRevisionRootsAttributes","code","_markMarkers","getRevision","affectsData","_changeView","plugins","authors","stop","_markSuggestions","end","getRoot","isLimit","getItems","_revisions","remove","updatePosition","isObject","ck-revision-history-root-remove","from","revision-suggestion","isEqual","removeMarker:revision","markers","hasAttribute","destroy","getRootNames","getAttribute","isInline","loadRevisionData","ck-suggestion-marker","diff","enableReadOnlyMode","isReady","markersStart","setAttribute","get","endIndex","addMarker:revision-suggestion:deletion","data-revision-","isContent","target","requires","_sortAndFilterDiffChanges","highest","isOnRoot","hasClass","isSuggestion","diffData","toViewElement","listenTo","text","revisionHistoryAttachChange","showStack","51470jRCSkd","_fixObsoleteTags","modelRange","ck-suggestion-preview-marker-","observeMarkers","includes","mapper","right","change:activeView","delete","uiElement","_update","getIndex","parent","isAtStart","revision:","splice","revisionHistory","side","ck-revision-history-root-add","pop","markerNameToElements","activeView","indexOf","oldRevisionId","model","abs","showNextChange","slice","detachRoot","94683aeSTNo","string","span","_cleanUp","addMarker:revision","elementEnd","_initInteractions","roots","isPremiumPlugin","-new","createRevision","_setConversion","high","filter","createRangeIn","offsetSize","insertion","done","keys","showPreviousChange","revision-comment:","pluginName","ck-suggestion-preview-marker","getWalker","element:pre","test","_data","wrap","pairId","all","vid_start","5xyQaos","_markInsertions","length","maxOffset","vid_end","POSITIVE_INFINITY","consume","default","for","schema","attachChange","_removeRevisionMarkers","catch","mapViewToDom","bottom","enqueueChange","conversion","currentChangeNumber","_getDiff","forceDisabled","6678098ituufo","dataDowncast","32mtidim","first","addHighlight","_cleanMarkers","insertions","has","ck-suggestion-marker-","attributes","comment","bind","flat","nextSibling","isNavigationMode","9228972cYgqvy","isBefore","toViewRange","1935YqleeT","selection","suggestion:","getDomRoot","change","isEnabled","domEvent","getLaterVisibleRevision","checkAttribute","useFillerType","object","change:numberOfChanges","_setChanges","11PUsGrx","adapter","revision","commands","domConverter","reconvertMarker","shift","top","_step","document","activeChange","isAttached","markerToData","data","forEach","removeAttribute","markerName","isCollapsed","createUIElement","find","_getRevisionsRange","revision-start","elementToAttribute","unshift","ck-suggestion-marker-merge","editing","marked","revisionHistoryLabel","processor","markerRange"];return(Kt=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(566029===parseInt(e(747))/1+parseInt(e(702))/2+-parseInt(e(533))/3*(parseInt(e(586))/4)+-parseInt(e(564))/5*(-parseInt(e(755))/6)+parseInt(e(584))/7*(parseInt(e(787))/8)+-parseInt(e(602))/9*(parseInt(e(503))/10)+parseInt(e(615))/11*(-parseInt(e(599))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};function Qt(t,e){const i=Kt();return(Qt=function(t,e){return i[t-=466]})(t,e)}class te extends U.Plugin{[Jt(660)];[Jt(616)];[Jt(758)];[Jt(794)];[Jt(715)];[Jt(676)];static get[Jt(554)](){return Jt(771)}static get[Jt(686)](){return!0}static get[Jt(541)](){return!0}static get[Jt(491)](){return[Z.Users,ft.ContextualBalloon,B]}constructor(t){const e=Jt;super(t),this[e(660)]=this[e(773)][e(795)][e(485)](e(729)),this[e(726)](e(625),null),this[e(726)](e(525),null),this[e(758)]=null,this[e(726)](e(480),null),this[e(726)](e(482),!1),this[e(726)](e(607),!0),this.on(e(659),((t,i,s)=>{const n=e;this[n(625)]=null,this[n(525)]=null,this[n(773)][n(640)][n(678)][n(606)]((t=>{const e=n;for(const i of this[e(773)][e(640)][e(678)][e(624)][e(540)])s?t[e(671)](e(754),i):t[e(743)](e(754),i)}))})),this[e(595)](e(598)).to(this,e(625),(t=>null!==t)),this[e(595)](e(581)).to(this,e(482),this,e(480),this,e(625),((t,i,s)=>t&&s?i[e(744)][e(515)](s):0)),this[e(595)](e(718)).to(this,e(482),this,e(480),((t,i)=>t?i[e(744)][e(566)]:0)),this[e(794)]=null,this[e(715)]=new Map,this[e(616)]=null,this[e(676)]=this[e(773)][e(795)][e(485)](ft.ContextualBalloon)}[Jt(751)](){const t=Jt,e=this[t(773)],i=new se(e,{direction:t(772)}),s=new se(e,{direction:t(777)});e[t(618)][t(668)](t(552),i),e[t(618)][t(668)](t(530),s),e[t(618)][t(668)](t(757),new ie(e)),this.on(t(613),(()=>{const e=t;i[e(714)](),s[e(714)]()})),this[t(544)](),this[t(539)](),e[t(481)](t(675)),e[t(795)][t(591)](t(684))&&e[t(795)][t(485)](t(684))[t(583)](t(675))}async[Jt(716)](t){const e=Jt;await this[e(478)](t);const i={};for(const s in t[e(497)]){if(t[e(497)][s][e(574)]&&!t[e(497)][s][e(574)][e(626)])continue;const n=this[e(575)](JSON[e(759)](t[e(497)][s][e(590)])),r=this[e(773)][e(640)][e(678)][e(624)],o=new H.ViewDocumentFragment(r,n[e(753)]((t=>this[e(710)](t))));this[e(773)][e(628)][e(643)][e(611)](e(641)),i[s]=this[e(773)][e(628)][e(643)][e(739)](o),this[e(773)][e(628)][e(643)][e(611)](e(571))}return i}async[Jt(789)](t){const e=Jt;await this[e(478)](t);const i={};for(const s in t[e(497)])t[e(497)][s][e(574)]&&!t[e(497)][s][e(574)][e(626)]||(i[s]=t[e(497)][s][e(697)]||{});return i}[Jt(575)](t){const e=Jt;return(t=t[e(546)]((t=>!t[e(713)]||e(636)!==t[e(713)]&&e(717)!==t[e(713)])))[e(629)]((t=>{const i=e;i(534)!=typeof t&&(t[i(745)]=this[i(575)](t[i(745)]),t[i(593)]=t[i(593)][i(546)]((t=>!t[0][i(651)](i(488)))))})),t}async[Jt(665)](t,e,i=!1){const s=Jt;if(!this[s(607)])return;const n=this[s(480)],r=this[s(660)],o=s(534)==typeof t?r[s(792)](t):t,a=s(534)==typeof e?r[s(792)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(480)]&&this[s(480)][s(708)]===c&&this[s(480)][s(527)]===u)return Promise[s(647)]();this[s(482)]=!1,this[s(525)]=null,this[s(625)]=null,this[s(480)]=new Bt(c,u);const l=this[s(635)](o,a,!0)[s(753)]((t=>this[s(478)](t)));return l[s(707)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(562)](l)[s(645)]((()=>{const t=s;if(!this[t(607)])return;this[t(536)]();const e=this[t(582)](c,u);for(const i of e[t(744)])this[t(715)][t(726)](i.id,i);this[t(773)][t(528)][t(579)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(773)][s(528)][s(624)][s(475)]())i[s(532)](t);for(const t of Object[s(551)](e[s(528)])){const n=i[s(663)](t);for(const r of Object[s(551)](e[s(593)][t]))i[s(484)](r,e[s(593)][t][r],n);i[s(781)](e[s(528)][t],n,0)}})),this[t(480)][t(614)](this[t(492)](e[t(744)])),this[t(482)]=!0}))[s(576)]((t=>{const e=s;console[e(674)](t),this[e(536)](),n&&(this[e(480)]=n),this[e(482)]=!0}))}[Jt(779)](t,e){const i=Jt,s=this[i(660)][i(543)](t);return s.on(i(514),((t,i,n)=>e(i,n,s))),this[i(660)][i(774)](s),s}[Jt(478)](t){const e=Jt;if(!t||t[e(497)])return Promise[e(647)]();{const i=this[e(773)][e(673)][e(485)](e(733));return this[e(616)][e(792)]({channelId:i,revisionId:t.id})[e(645)]((i=>{const s=e;t[s(514)]({diffData:i[s(497)]},!0)}))}}[Jt(536)](){const t=Jt;this[t(625)]=null,this[t(589)](),this[t(794)]&&this[t(794)][t(474)](),this[t(794)]=null,this[t(715)][t(667)](),this[t(773)][t(528)][t(579)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(773)][i(528)][i(624)][i(475)]())e[i(532)](t)}))}[Jt(492)](t){const e=Jt,i=[],s=new Map;for(const t of this[e(773)][e(528)][e(624)][e(475)]()){const n=this[e(773)][e(640)][e(678)][e(605)](t);if(!n)continue;const r=n[e(780)]()[e(670)](0);r&&(i[e(707)](t),s[e(726)](t,r))}return i[e(760)](((t,i)=>{const n=e,r=s[n(485)](t),o=s[n(485)](i);return r.y-o.y||r.x-o.x})),(t=t[e(546)]((t=>i[e(508)](t[e(722)]))))[e(760)](((t,s)=>i[e(526)](t[e(722)])-i[e(526)](s[e(722)]))),t}[Jt(706)](t){const e=Jt,i=Array[e(468)](t[e(472)])[e(546)]((([t,i])=>t[e(651)](e(518))&&!i[e(632)])),s=Array[e(468)](this[e(773)][e(528)][e(547)](t)[e(556)]({singleCharacters:!0}));if(0!=i[e(566)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(775)](":");if(n[e(799)][e(470)](t[e(724)])&&i[e(621)](),(t[e(719)][e(470)](n[e(688)])||t[e(719)][e(704)](n[e(688)]))&&(e(549)==r?t[e(692)]={userId:o}:e(756)==r&&(t[e(720)]={userId:o})),0==i[e(566)])break}return s}[Jt(734)](t){const e=Jt,i=new Map;for(let s=0;s<t[e(566)];s++)e(500)===t[s][e(658)]?(t[s][e(670)][e(768)]=s,t[s][e(670)][e(486)]=s):(e(731)===t[s][e(658)]?t[s][e(670)][e(768)]=s:e(538)===t[s][e(658)]&&(t[s][e(670)][e(486)]=s),i[e(726)](t[s].id,s));for(const s of i[e(646)]())e(731)===t[s][e(658)]?t[s][e(670)][e(486)]=i[e(485)](t[s][e(561)]):e(538)===t[s][e(658)]&&(t[s][e(670)][e(768)]=i[e(485)](t[s][e(561)]))}[Jt(784)](t){const e=Jt;for(let i=0;i<t[e(566)];i++){if(e(731)===t[i][e(658)])t[i][e(670)][e(768)]=i;else if(e(538)===t[i][e(658)]){t[i][e(670)][e(486)]=i;const s=t[i][e(670)][e(768)];t[s][e(561)]=t[i].id,t[i][e(561)]=t[s].id}else t[i][e(670)][e(768)]=i,t[i][e(670)][e(486)]=i,t[i][e(561)]=null;t[i][e(483)]||(t[i][e(483)]=[],t[i][e(691)]=[])}}[Jt(565)](t,e){const i=Jt,s=t[i(546)]((t=>!t[i(692)]));for(let t=0;t<e[i(566)];t++)e[t][i(692)]&&(s[t][i(692)]=e[t][i(692)])}[Jt(738)](t){const e=Jt,i=JSON[e(759)](t),s=this[e(773)][e(640)][e(678)][e(624)],n=new H.ViewDocumentFragment(s,i[e(753)]((t=>this[e(710)](t))));return this[e(773)][e(628)][e(690)](n)}[Jt(710)](t){const e=Jt,i=this[e(773)][e(640)][e(678)][e(624)];if(e(534)==typeof t)return new H.ViewText(i,t);{const s=t[e(745)][e(753)]((t=>this[e(710)](t)));return new(Xt[t[e(658)]]||H.ViewElement)(i,t[e(713)],t[e(593)],s)}}[Jt(582)](t,e=null){const i=Jt,s=this[i(660)][i(792)](t),n=e?this[i(660)][i(792)](e):null,r=this[i(635)](s,n),o=r[r[i(566)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(566)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(551)](e[i(497)]))if(e[i(497)][t][i(574)]){const s=e[i(497)][t][i(574)];s[i(626)]?(u[i(668)](t),l[i(591)](t)&&l[i(485)](t)[i(769)]==s[i(769)]?l[i(512)](t):l[i(726)](t,s)):l[i(591)](t)?(u[i(512)](t),l[i(512)](t)):(u[i(668)](t),l[i(726)](t,s))}else u[i(668)](t)}for(const t of u){const e=l[i(591)](t)&&!l[i(485)](t)[i(626)];let s=e?r[i(566)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(497)][t]){const s=e?o[i(497)][t][i(746)]:o[i(497)][t][i(697)];c[i(593)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(528)]={};for(const e of t[i(796)])a[i(726)](e.id,e);for(const e of u){const s=t[i(497)][e]?t[i(497)][e][i(590)]:"[]",n=t[i(497)][e]?t[i(497)][e][i(712)]:"[]";t[i(528)][e]={insertions:this[i(738)](s),deletions:this[i(738)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(468)](s[i(528)][t][i(590)][i(472)])[i(546)]((([t])=>!t[i(651)](i(518)))));let h=0;for(const o of r){const r=this[i(706)](o[i(528)][t][i(590)]);o==s?(e=r,n=e[i(566)],e[i(629)]((t=>{t.id=h++})),this[i(784)](e)):this[i(565)](e,r);const a=e[i(546)]((t=>!t[i(692)]))[i(753)]((t=>t.id));let c=0;const l=this[i(706)](o[i(528)][t][i(712)]);l[i(629)]((t=>{t[i(720)]?t.id=n++:t.id=a[c++]})),this[i(784)](l),this[i(687)](e,i(692)),this[i(687)](l,i(720)),o==s&&this[i(791)](e,u),e=this[i(698)](e,l),this[i(734)](e),this[i(687)](e,i(720))}e=e[i(546)]((t=>!(t[i(692)]&&t[i(720)])));const d=new Map(o[i(528)][t][i(712)][i(472)]),f=new Set(u[i(551)]());for(const t of d[i(551)]())f[i(512)](t);this[i(798)](e,f),this[i(504)](e),e=this[i(737)](e),e=this[i(681)](e),e=this[i(749)](e);const{root:m,changes:p}=this[i(666)](e,a,t);c[i(528)][t]=m;const v=l[i(485)](t);if(v){const e=a[i(485)](v[i(769)]),s=new Zt({author:e,type:v[i(626)]?i(668):i(804),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(638)](s),c[i(593)][t][i(501)]=s.id}c[i(744)]=c[i(744)][i(761)](p)}return c}[Jt(791)](t,e){const i=Jt;for(let s=0;s<t[i(566)];s++)for(const[n,r]of e)r[i(688)][i(470)](t[s][i(719)])&&t[s][i(483)][i(707)](n),r[i(799)][i(470)](t[s][i(724)])&&t[s][i(691)][i(707)](n)}[Jt(698)](t,e){const i=Jt;let s=[],n=0,r=0;for(;n<t[i(566)]||r<e[i(566)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(707)](o);else if(a[i(720)]&&o[i(692)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(711)](t,n,e,r);s=s[i(761)](o),n=a,r=c}else a[i(720)]?(r++,s[i(707)](a)):(n++,s[i(707)](o))}return s}[Jt(798)](t,e){const i=Jt,s=[];for(let o=0;o<t[i(566)];o++){for(let r=0;r<t[o][i(483)][i(566)];r++){const a=t[o][i(483)][r];if(!e[i(591)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(469)!=c||i(549)!=u&&i(756)!=u||(s[i(638)]({type:u,name:a,userId:l}),t[o][i(483)][i(519)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(691)][i(566)];r++){const a=t[o][i(691)][r];if(!e[i(591)](a))continue;const{group:c,type:u}=n(a);if(i(469)!=c||i(549)!=u&&i(756)!=u)continue;t[o][i(691)][i(519)](r,1),r--;const l=s[i(683)]((t=>t[i(713)]==a));l>-1&&s[i(519)](l,1)}}function n(t){const e=i,s=t[e(775)](":");return{group:s[0],type:s[1],subType:s[e(566)]>=5?s[2]:null,id:s[e(566)]<5?s[2]:s[3],authorId:s[e(566)]<5?s[3]:s[4],markerCount:6==s[e(566)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(566)];i++){if(t[e(692)]&&e(549)==s[i][e(658)])return t[e(679)]=s[i],void delete t[e(692)];if(!t[e(692)]&&!t[e(720)]&&e(756)==s[i][e(658)])return void(t[e(730)]=s[i])}}}[Jt(687)](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(726)](o.id,s);for(let s=0;s<t[i(566)];s++){if(i(720)==e&&t[s][i(692)]||i(692)==e&&t[s][i(720)])continue;if(i(500)==t[s][i(658)]){t[s][i(699)]=0;continue}const n=r[i(485)](t[s][i(561)]),o=r[i(485)](t[s].id);t[s][i(699)]=n-o}}[Jt(635)](t,e,i=!1){const s=Jt,n=[];let r=this[s(660)][s(515)](t),o=this[s(660)][s(515)](e);for(-1==o&&(o=this[s(660)][s(803)][s(566)],i=!1);r<o;)n[s(707)](this[s(660)][s(792)](r)),r++;return i&&n[s(707)](this[s(660)][s(792)](r)),n}[Jt(711)](t,e,i,s){const n=Jt,r=this[n(773)][n(528)][n(573)];let o=e;for(;t[o]&&t[o][n(692)];)o++;let a=s;for(;i[a]&&i[a][n(720)];)a++;u(t,e,o),u(i,s,a);const c=i[n(531)](s,a)[n(761)](t[n(531)](e,o));return c[n(760)](((t,e)=>t[n(521)]!=e[n(521)]?t[n(521)]-e[n(521)]:t[n(748)]!=e[n(748)]?t[n(748)]-e[n(748)]:t[n(699)]!=e[n(699)]?e[n(699)]-t[n(699)]:!!t[n(692)]!=!!e[n(692)]?-1==t[n(521)]||0==t[n(521)]?t[n(692)]?-1:1:t[n(692)]?1:-1:t[n(732)]-e[n(732)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(569)],c=!0;for(let n=e;n<i;n++)if(r[s(477)](t[n][s(670)])||(c=!1),t[n][s(670)][s(768)]<e&&(o=n),t[n][s(670)][s(486)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(521)]=n<=o?-1:n<a?0:1,t[n][s(732)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(699)]?t[i][s(748)]=u:(u++,t[i][s(748)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(521)]&&(t[n][s(748)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(699)]?t[e][s(748)]=u:(u--,t[e][s(748)]=u,u--)}}[Jt(504)](t){const e=Jt,i=new Map,s=this[e(773)][e(528)][e(573)];for(let n=1;n<t[e(566)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(500)==c[e(658)])continue;if(c[e(658)]!=u[e(658)])continue;if(!s[e(788)](u[e(670)])||s[e(801)](u[e(670)]))continue;if(!s[e(788)](c[e(670)])||s[e(801)](c[e(670)]))continue;if((t[n][e(692)]||t[n][e(679)])&&t[n-1][e(720)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(720)]||!t[n-1][e(692)]&&!t[n-1][e(679)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(748)]==o[e(748)],h=Math[e(529)](r[e(748)])<Math[e(529)](o[e(748)])&&0==o[e(699)];(l||h)&&(i[e(726)](o.id,r.id),t[e(519)](a,1),n--,r[e(692)]=!1)}for(let s=0;s<t[e(566)];s++)i[e(591)](t[s][e(561)])&&(t[s][e(561)]=i[e(485)](t[s][e(561)]))}[Jt(737)](t){const e=Jt,i=new Set(t[e(753)]((t=>t.id)));for(let s=0;s<t[e(566)];s++)i[e(591)](t[s][e(561)])||0==t[s][e(699)]||(t[s][e(654)]=!0);return t[e(546)]((t=>!t[e(654)]))}[Jt(681)](t){const e=Jt,i=new Set;for(let s=0;s<t[e(566)];s++){if(i[e(591)](t[s].id)&&t[s][e(720)]&&(t[s][e(654)]=!0),t[s][e(654)])continue;if(0==t[s][e(699)])continue;if(e(731)!=t[s][e(658)])continue;if(null==t[s][e(561)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(561)];)e(731)==t[n][e(658)]?r++:e(538)==t[n][e(658)]&&r--,n++;if(0!=r)if(t[s][e(720)])t[s][e(654)]=!0;else for(;n!=s;)t[n][e(720)]&&0!=t[n][e(699)]&&(t[n][e(654)]=!0,i[e(668)](t[n][e(561)])),n--}return t[e(546)]((t=>!t[e(654)]))}[Jt(749)](t){const e=Jt,i=this[e(773)][e(528)][e(573)];for(let s=0;s<t[e(566)];s++){if(!(t[s][e(692)]||t[s][e(679)]||t[s][e(720)]||t[s][e(730)]))continue;if(0==t[s][e(699)])continue;const n=t[s][e(670)];i[e(788)](n)||i[e(801)](n)||(t[s][e(692)]&&delete t[s][e(692)],t[s][e(679)]&&delete t[s][e(679)],t[s][e(730)]&&delete t[s][e(730)],t[s][e(720)]&&(t[s][e(654)]=!0))}return t[e(546)]((t=>!t[e(654)]))}[Jt(666)](t,e,i){const s=Jt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(773)][s(528)],c=a[s(573)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(566)];e++)if(s(731)===t[e][s(658)]){t[e][s(719)]=a[s(765)](n,f);const i=new H.Element(t[e][s(670)][s(713)],t[e][s(670)][s(721)]());u[0][s(752)](i),f[s(707)](0),u[s(638)](i),t[e][s(724)]=a[s(765)](n,f)}else s(538)===t[e][s(658)]?(u[s(621)](),t[e][s(719)]=a[s(765)](n,f),f[s(523)](),f[f[s(566)]-1]++,t[e][s(724)]=a[s(765)](n,f)):(t[e][s(719)]=a[s(765)](n,f),d?d[s(559)]+=t[e][s(670)][s(628)]:d=new H.Text(t[e][s(670)][s(628)],t[e][s(670)][s(721)]()),t[e+1]&&s(500)===t[e+1][s(658)]&&v(d,t[e+1][s(670)])||(u[0][s(752)](d),d=null),f[f[s(566)]-1]+=t[e][s(670)][s(548)],t[e][s(724)]=a[s(765)](n,f));for(let e=0;e<t[s(566)];e++){const i=t[e][s(719)],n=t[e][s(724)];for(const n of t[e][s(483)])o[s(726)](n,{start:i,end:null});m(s(730),e,i,n),m(s(679),e,i,n),m(s(720),e,i,n),m(s(692),e,i,n);for(const i of t[e][s(691)])o[s(485)](i)[s(799)]=n}for(const[t,e]of o){const i=this[s(773)][s(528)][s(653)](e[s(688)],e[s(799)]);n[s(472)][s(726)](t,i)}return r[s(760)](((t,e)=>{const i=s,r=n[i(472)][i(485)](i(518)+t.id),o=n[i(472)][i(485)](i(518)+e.id);return r[i(688)][i(600)](o[i(688)])?-1:r[i(688)][i(704)](o[i(688)])?1:r[i(799)][i(600)](o[i(799)])?-1:r[i(799)][i(704)](o[i(799)])?1:i(668)===t[i(658)]?-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(769)]:null,d=i===t[o(566)]-1,f=h[e][0],m=c[o(466)](t[i][o(670)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(799)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(769)]!==u&&(l[e][o(799)]=n,f&&f[o(769)]===l[e][o(769)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(731)!==t[i][o(658)]||f&&f[o(769)]===u||h[e][o(638)]({userId:u,object:t[i][o(670)],change:l[e]}),o(538)===t[i][o(658)]&&f&&f[o(612)]===t[i][o(670)]&&(h[e][o(621)](),l[e]=f[o(606)])),l[e]&&d&&(l[e][o(799)]=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(670)],f=a[h(573)][h(788)](d)&&!a[h(573)][h(801)](d),m=t[h(696)]==o[h(516)]&&o[h(517)];if(f&&m)return;const p=a[h(653)](t,o),v=e[h(485)](u),g=new Zt({author:v,type:h(692)==l||h(679)==l?h(668):h(804),data:{isSuggestion:h(679)==l||h(730)==l},createdAt:new Date,rootName:i});r[h(707)](g),n[h(472)][h(726)](h(518)+g.id,p)}function v(t,e){const i=s,n=t[i(721)](),r=e[i(721)]();for(const t of n){if(t[1]!==e[i(476)](t[0]))return!1;r[i(685)]()}return r[i(685)]()[i(550)]}}[Jt(544)](){const t=Jt;this[t(773)][t(580)][t(572)](t(735))[t(680)]({view:t(617)}),this[t(773)][t(580)][t(572)](t(741))[t(764)]({model:t(617),view:e=>{const i=t,s=e[i(631)][i(775)](":")[1],n=this[i(695)](s);if(!n)return null;const r=i(668)==n[i(658)]?i(549):i(756),o=[i(479),i(592)+r];return n[i(628)][i(496)]&&o[i(707)](i(592)+r+i(542)),this[i(625)]==n&&o[i(707)](i(728)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(773)][t(580)][t(572)](t(735))[t(668)]((e=>{const i=t;e.on(i(557),((t,e,s)=>{const n=i,r=e[n(709)][n(776)](0);if(!r||!r.is(n(655),n(790)))return;if(!s[n(649)][n(570)](r,{attributes:[n(563),n(568)]}))return;const o=e[n(505)][n(688)][n(696)];s[n(727)][n(484)](n(563),r[n(476)](n(563)),o),s[n(727)][n(484)](n(568),r[n(476)](n(568)),o)}),{priority:i(762)})})),this[t(773)][t(580)][t(572)](t(735))[t(668)]((e=>{const i=t;e.on(i(655),((t,e,s)=>{const n=i;if(!s[n(649)][n(570)](e[n(709)],{attributes:[n(563),n(568)]}))return;if(e[n(505)][n(632)])return;const r=e[n(505)][n(688)][n(696)];r[n(473)](n(563))||r[n(473)](n(723))||(s[n(727)][n(484)](n(563),e[n(709)][n(476)](n(563)),r),s[n(727)][n(484)](n(568),e[n(709)][n(476)](n(568)),r))}),{priority:i(762)})})),this[t(773)][t(580)][t(572)](t(735))[t(637)]({view:{name:t(535),attributes:{vid:!0}},model:{key:t(723),value:e=>e[t(476)](t(723))}}),this[t(773)][t(528)][t(573)].on(t(610),((e,[,i])=>{const s=t;[s(563),s(568),s(723)][s(508)](i)&&(e[s(725)]=!0,e[s(797)]())}),{priority:t(493)}),this[t(773)][t(580)][t(572)](t(585))[t(668)]((e=>{const i=t;e.on(i(736),((t,e,s)=>{const n=i;if(" "!=e[n(670)][n(628)]||e[n(670)][n(516)][n(567)]>1)return;if(!s[n(649)][n(570)](e[n(670)],t[n(713)]))return;const r=s[n(727)],o=s[n(509)][n(601)](e[n(700)]);r[n(560)](o,r[n(650)](n(535)))}))})),this[t(773)][t(580)][t(572)](t(585))[t(627)]({model:t(617)}),this[t(773)][t(640)][t(785)].on(t(537),function(e){const i=t,s=e[i(795)][i(485)](i(771));return(t,n,r)=>{const o=i,a=n[o(631)][o(775)](":")[1],c=s[o(695)](a);if(!c)return null;const u=o(668)==c[o(658)]?o(775):o(770);if(!r[o(649)][o(558)](n[o(644)],t[o(713)]))return;const l=n[o(644)][o(556)](),h=n[o(644)][o(688)],d=e[o(528)][o(573)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(670)];p=p||d[o(489)](e);const i=r[o(509)][o(498)](e);if(i&&i[o(740)](o(588)))return;o(538)==t[o(658)]&&d[o(788)](e)&&!d[o(801)](e)&&(e[o(597)]||h[o(742)]?f&&f[o(516)]==e||(f=e,g(t[o(719)]),v=!0):m=m||t[o(719)])}function g(t){const e=o,i=r[e(727)][e(633)](e(535),{class:e(592)+u}),a=r[e(509)][e(766)](t);c[e(628)][e(496)]&&r[e(727)][e(743)](e(592)+u+e(542),i),s[e(625)]==c&&r[e(727)][e(743)](e(728),i),r[e(727)][e(781)](a,i),r[e(509)][e(662)](i,n[e(631)])}p||v||!m||g(m)}}(this[t(773)]),{priority:t(545)}),this[t(773)][t(640)][t(785)].on(t(471),((e,i,s)=>{const n=t,r=s[n(509)][n(524)](i[n(631)]);if(r)for(const t of r)(t[n(495)](n(693))||t[n(495)](n(639)))&&(s[n(509)][n(703)](t,i[n(631)]),s[n(727)][n(804)](t))}),{priority:t(545)}),this[t(773)][t(640)][t(785)].on(t(537),((e,i,s)=>{const n=t,r=i[n(631)][n(775)](":")[1],o=this[n(695)](r);if(!o)return null;const a=n(668)==o[n(658)]?n(775):n(770);if(s[n(649)][n(558)](i[n(644)],e[n(713)]))for(const t of i[n(644)][n(802)]()){if(!t.is(n(655),n(689)))continue;const e=s[n(727)][n(633)](n(535),{class:n(592)+a}),r=s[n(509)][n(766)](this[n(773)][n(528)][n(656)](t));o[n(628)][n(496)]&&s[n(727)][n(743)](n(592)+a+n(542),e),this[n(625)]==o&&s[n(727)][n(743)](n(728),e),s[n(727)][n(781)](r,e),s[n(509)][n(662)](e,i[n(631)])}}),{priority:t(545)}),this[t(773)][t(528)][t(624)].on(t(606),(()=>{const e=t;this[e(773)][e(640)][e(678)][e(606)]((t=>{const i=e;for(const e of this[i(773)][i(528)][i(624)][i(475)]()){const s=this[i(773)][i(528)][i(624)][i(800)](e),n=this[i(773)][i(640)][i(678)][i(624)][i(800)](e);if(n){const e=s[i(476)](i(501));if(t[i(630)](i(652),n),t[i(671)](i(522),n),t[i(671)](i(467),n),t[i(671)](i(669),n),e){const s=this[i(695)](e);if(!s)return null;t[i(484)](i(652),e,n),t[i(743)](i(661)+s[i(658)],n),this[i(625)]==s&&t[i(743)](i(669),n)}}}}))})),this[t(773)][t(580)][t(572)](t(735))[t(680)]({view:t(594),model:e=>t(553)+e,converterPriority:t(493)}),this[t(773)][t(580)][t(572)](t(735))[t(680)]({view:t(778),model:e=>t(767)+e,converterPriority:t(493)}),this[t(773)][t(580)][t(572)](t(585))[t(627)]({model:t(469),view:e=>({name:t(604)+e,group:t(469)}),converterPriority:t(493)}),this[t(773)][t(580)][t(572)](t(741))[t(764)]({model:t(469),view:e=>{const i=t,s=e[i(631)][i(775)](":")[1];return i(549)!=s&&i(756)!=s?null:{classes:[i(555),i(506)+s]}}}),this[t(773)][t(640)][t(785)].on(t(487),ee(this[t(773)],t(770)),{priority:t(545)}),this[t(773)][t(640)][t(785)].on(t(648),ee(this[t(773)],t(775)),{priority:t(545)}),this[t(773)][t(640)][t(785)].on(t(694),((e,i,s)=>{const n=t,r=s[n(509)][n(524)](i[n(631)]);if(r)for(const t of r)t.is(n(513))&&(s[n(509)][n(703)](t,i[n(631)]),s[n(727)][n(804)](t))}),{priority:t(545)})}[Jt(695)](t){const e=Jt;return this[e(715)][e(485)](t)}[Jt(786)](t){const e=Jt;return this[e(794)]&&this[e(794)][e(474)](),this[e(794)]=new Pt(this[e(773)][e(664)],t),this[e(794)]}[Jt(539)](){const t=Jt;this[t(773)][t(528)][t(624)][t(603)][t(507)](t(617)),this.on(t(511),((e,i,s,n)=>{const r=t;n&&this[r(676)][r(804)](n),s&&(this[r(676)][r(668)]({view:s,stackId:r(642),position:{target:()=>{const t=r,e=this[t(773)][t(640)],i=this[t(695)](s[t(763)]);let n;if(i[t(628)][t(494)]){const s=e[t(678)][t(605)](i[t(722)]);n=Array[t(468)](s[t(780)]())}else{const i=this[t(773)][t(528)][t(472)][t(485)](t(518)+s[t(763)]);n=Array[t(468)](e[t(509)][t(524)](i[t(713)]))[t(753)]((i=>e[t(678)][t(619)][t(577)](i)))[t(753)]((e=>Array[t(468)](e[t(780)]())))[t(596)]()}return this[t(758)]&&n[t(634)]((e=>e[t(622)]-3<=this[t(758)].y&&e[t(578)]+3>=this[t(758)].y&&e[t(682)]-3<=this[t(758)].x&&e[t(510)]+3>=this[t(758)].x))||n[0]}}}),this[r(676)][r(502)](r(642)))})),this.on(t(750),((e,i,s,n)=>{const r=t;this[r(525)]=s?this[r(786)](s):null,this[r(773)][r(528)][r(606)]((()=>{const t=r,e=this[t(773)][t(640)];n&&(n[t(628)][t(494)]?e[t(678)][t(606)]((i=>{const s=t;i[s(671)](s(669),e[s(678)][s(624)][s(800)](n[s(722)]))})):e[t(620)](t(518)+n.id)),s&&(s[t(628)][t(494)]?e[t(678)][t(606)]((i=>{const n=t;i[n(743)](n(669),e[n(678)][n(624)][n(800)](s[n(722)]))})):e[t(620)](t(518)+s.id))}))})),this[t(499)](this[t(773)][t(640)][t(678)][t(624)],t(782),((e,i)=>{const s=t;if(this[s(625)])return;const n=this[s(672)](i[s(490)]),r=this[s(715)][s(485)](n);r?(this[s(758)]={x:i[s(608)].x,y:i[s(608)].y},this[s(525)]=this[s(786)](r)):(this[s(758)]=null,this[s(525)]=null)})),this[t(499)](this[t(773)][t(640)][t(678)][t(624)],t(677),((e,i)=>{const s=t,n=this[s(672)](i[s(490)]),r=this[s(715)][s(485)](n);r?(this[s(758)]={x:i[s(608)].x,y:i[s(608)].y},r===this[s(625)]?this[s(676)][s(805)]():this[s(625)]=r):(this[s(758)]=null,this[s(625)]=null)}))}[Jt(672)](t){const e=Jt;do{const i=t[e(476)](e(652));if(i)return i;t=t[e(516)]}while(t);return null}[Jt(589)](){const t=Jt;this[t(773)][t(528)][t(606)]((e=>{const i=t;for(const t of this[i(773)][i(528)][i(472)])e[i(783)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(649)][r(558)](s[r(644)],i[r(713)]))return;const o=s[r(644)][r(556)](),a=s[r(644)][r(688)],c=t[r(528)][r(573)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(670)];h=h||c[r(489)](e);const i=n[r(509)][r(498)](e);if(i&&i[r(740)](r(588)))return;r(538)==t[r(658)]&&c[r(788)](e)&&!c[r(801)](e)&&(e[r(597)]||a[r(742)]?u&&u[r(516)]==e||(u=e,f(t[r(719)]),d=!0):l=l||t[r(719)])}function f(t){const i=r,o=n[i(509)][i(766)](t),a=n[i(727)][i(633)](i(535),{class:i(506)+e});n[i(727)][i(781)](o,a),n[i(509)][i(662)](a,s[i(631)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Jt;super(t);const i=t[e(795)][e(485)](te);this[e(793)]=!1,this[e(499)](i,e(701),(()=>this[e(714)]())),this[e(499)](i,e(659),(()=>this[e(714)]()))}[Jt(705)](){const t=Jt,e=this[t(773)],i=e[t(795)][t(485)](te),s=i[t(482)]?i[t(480)][t(708)]:null;e[t(673)][t(485)](t(520))[t(657)](s)}[Jt(714)](){const t=Jt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(773)][t(795)][t(485)](te),r=n&&s[t(609)](n[t(708)]);this[t(607)]=e&&i&&Boolean(r)}}class se extends U.Command{[Jt(623)];constructor(t,{direction:e}){const i=Jt;super(t);const s=t[i(795)][i(485)](te);this[i(793)]=!1,this[i(623)]=i(777)===e?1:-1,this[i(499)](s,i(701),(()=>this[i(714)]())),this[i(499)](s,i(659),(()=>this[i(714)]())),this[i(499)](s,i(750),(()=>this[i(714)]()))}[Jt(705)](){const e=Jt,i=this[e(773)],s=i[e(795)][e(485)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(625)]=n?s[e(480)][e(744)][e(485)](r+this[e(623)]):s[e(480)][e(744)][e(587)],s[e(625)][e(628)][e(494)])o=i[e(640)][e(678)][e(605)](s[e(625)][e(722)]);else{const t=i[e(528)][e(472)][e(485)](e(518)+s[e(625)].id);o=(0,Z.getMarkerDomElement)(i[e(640)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Jt(714)](){const t=Jt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(773)][t(795)][t(485)](te);this[t(607)]=!!(r&&n&&s)&&(!e||(1===this[t(623)]?i<s-1:i>0))}}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(){const t=["span","ck-revision-history-ui__changes-navigation","1789985ADTKUN","isForwardNavigationEnabled","705783dJymYP","719238ZOiYhC","_statusText","1083882sVzRuT","ck-revision-history-ui__changes-navigation__wrapper","1080292PRrLeX","backward","ck-revision-history-ui","42ESOyCo","NUMBER_OF_CHANGES","isEnabled","set","713016ggMoBX","numberOfChanges","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","execute","Show next change","setTemplate","forward","isReady","isNavigationMode","Loading...","fire","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","div","X_OF_Y_CHANGES","isBackwardNavigationEnabled","_isStatusLabelVisible","Total","bind","3772200udErVy","ck-hidden","Show previous change","currentChangeNumber","No changes"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=422]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(364836===-parseInt(e(456))/1+-parseInt(e(457))/2+-parseInt(e(459))/3+parseInt(e(461))/4+parseInt(e(454))/5+parseInt(e(447))/6+-parseInt(e(423))/7*(-parseInt(e(427))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(430)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(426)](e(436),!1),this[e(426)](e(435),!1),this[e(426)](e(450),0),this[e(426)](e(428),0),this[e(426)](e(455),!1),this[e(426)](e(443),!1),this[e(446)](e(444)).to(this,e(435),this,e(428),((t,e)=>t&&e>0)),this[e(446)](e(458)).to(this,e(435),this,e(450),this,e(428),this,e(436),((i,s,n,r)=>{const o=e;if(!i)return G(t,o(437));if(!n)return G(t,o(451));const a=G(t,o(424),n);return r?G(t,o(442),[s+1,n]):a})),s[e(426)]({label:G(t,e(449)),tooltip:!0,icon:dt.IconChevronUp}),n[e(426)]({label:G(t,e(432)),tooltip:!0,icon:dt.IconChevronDown}),s[e(446)](e(425)).to(this,e(443)),n[e(446)](e(425)).to(this,e(455)),s.on(e(431),(()=>this[e(438)](e(431),e(462)))),n.on(e(431),(()=>this[e(438)](e(431),e(434)))),this[e(433)]({tag:e(441),attributes:{class:["ck",e(422),e(453)]},children:[{tag:e(452),attributes:{class:[e(460)]},children:[{tag:e(452),attributes:{class:[e(439),i.if(e(444),e(448),(t=>!t))]},children:[{text:i.to(e(436),(i=>i?G(t,e(440))+": ":G(t,e(445))+": "))}]},{text:i.to(e(458))}]},new ft.ToolbarSeparatorView,{tag:e(441),attributes:{class:[e(429)]},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=me;function de(){const t=["859480QYtOxY","1386999GOTXFT","968OmxQWO","114AglCnL","1562yPrIVy","hide","editing","15924hTNSry","addClass","isOfficialPlugin","2cPbSkD","10saiBZc","isPremiumPlugin","change","ck-editor__editable__loading-overlay","view","roots","pluginName","46595iJJZfy","174191IRpXXb","RevisionViewerLoadingOverlay","show","734418qOpKSh","14791HMsxpx","removeClass","editor","document"];return(de=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(172550===-parseInt(e(446))/1*(parseInt(e(464))/2)+parseInt(e(449))/3+parseInt(e(454))/4+-parseInt(e(445))/5*(-parseInt(e(457))/6)+-parseInt(e(450))/7*(parseInt(e(456))/8)+-parseInt(e(455))/9*(-parseInt(e(465))/10)+parseInt(e(458))/11*(-parseInt(e(461))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const fe=he(468);function me(t,e){const i=de();return(me=function(t,e){return i[t-=444]})(t,e)}class pe extends U.Plugin{static get[he(444)](){return he(447)}static get[he(463)](){return!0}static get[he(466)](){return!0}[he(448)](){const t=he,e=this[t(452)][t(460)][t(469)];e[t(467)]((i=>{const s=t;for(const t of e[s(453)][s(470)])i[s(462)](fe,t)}))}[he(459)](){const t=he,e=this[t(452)][t(460)][t(469)];e[t(467)]((i=>{const s=t;for(const t of e[s(453)][s(470)])i[s(451)](fe,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=125]})(t,e)}function ye(){const t=["4501728xJVBxJ","RevisionViewerUI","editor","pluginName","hide","239634IGgOBd","get","58qpErOj","23652yanlbL","init","1615375RrfMhw","revisionHistory","6547970qnBgVD","isNavigationMode","Restore this revision","4YNIjbb","execute","exitToEditing","showPreviousChange","restoreRevision","isForwardNavigationEnabled","requires","showNextChange","show","745230FwHLsD","listenTo","isReady","isEnabled","ck-revision-history-ui__back-to-editing","change:isReady","numberOfChanges","plugins","config","forward","isPremiumPlugin","componentFactory","add","bind","set","isOfficialPlugin","isBackwardNavigationEnabled","Back to editing","changesNavigation","160SqvjUO","commands","currentChangeNumber","2538158WGhSVn","closeRevisionViewerCallback"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(495156===parseInt(e(131))/1*(parseInt(e(130))/2)+parseInt(e(147))/3*(-parseInt(e(138))/4)+parseInt(e(133))/5+-parseInt(e(171))/6+parseInt(e(169))/7+-parseInt(e(166))/8*(parseInt(e(128))/9)+parseInt(e(135))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends U.Plugin{static get[ve(126)](){return ve(172)}static get[ve(162)](){return!0}static get[ve(157)](){return!0}static get[ve(144)](){return[te,pe]}[ve(132)](){const t=ve,e=this[t(125)],i=e[t(154)][t(129)](te),s=e[t(154)][t(129)](pe);e.ui[t(158)][t(159)](t(140),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(161)]({label:G(i,s(164)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(151)}),this[s(148)](n,s(139),(()=>{const t=s;e[t(155)][t(129)](t(134))[t(170)]()})),n})),e.ui[t(158)][t(159)](t(142),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(161)]({label:G(i,s(137)),withText:!0,tooltip:!0}),n[s(160)](s(150)).to(e[s(167)][s(129)](s(142))),this[s(148)](n,s(139),(()=>e[s(139)](s(142)))),n})),e.ui[t(158)][t(159)](t(165),(s=>{const n=t,r=new ce(s),o=e[n(167)][n(129)](n(141)),a=e[n(167)][n(129)](n(145));return r[n(160)](n(163)).to(o,n(150)),r[n(160)](n(143)).to(a,n(150)),r[n(160)](n(149),n(168),n(153),n(136)).to(i),this[n(148)](r,n(139),((t,i)=>{const s=n;e[s(139)](s(156)===i?s(145):s(141))})),r})),s[t(146)](),i.on(t(152),((e,i,n)=>{const r=t;n?s[r(127)]():s[r(146)]()}))}}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;function _e(){const t=["extendTemplate","listenTo","input","8YIvaCN","Revision name","271774BhcLMh","placeholder","element","2074392NvbrBI","ck-revision-history-sidebar__revision-name","31914450cegvXb","10883889pBvDxt","_updateTooltipText","20fqJKnl","Enter the revision name","set","destroy","7875938dhHtfa","span","_resizeObserver","_tooltipString","4aADRsh","bindTemplate","158908AhUjJl","fieldView","ck-tooltip_multi-line","render","1807605BWbGhB","value","clientWidth","scrollWidth"];return(_e=function(){return t})()}const Ie=Se;function Se(t,e){const i=_e();return(Se=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(611179===parseInt(e(298))/1*(parseInt(e(283))/2)+-parseInt(e(289))/3+-parseInt(e(285))/4*(-parseInt(e(306))/5)+-parseInt(e(301))/6+-parseInt(e(310))/7+parseInt(e(296))/8*(-parseInt(e(304))/9)+parseInt(e(303))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);class Oe extends ft.LabeledFieldView{[Ie(281)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(284)];this[i(308)]({label:G(t,i(297)),_tooltipString:""}),this[i(286)][i(299)]=G(t,i(307)),this[i(293)]({tag:i(280),attributes:{class:[i(302)],"data-cke-tooltip-text":s.to(i(282)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(287)}})}[Ie(288)](){const e=Ie;super[e(288)](),this[e(281)]=new t.ResizeObserver(this[e(286)][e(300)],(()=>this[e(305)]())),this[e(294)](this[e(286)],e(295),(()=>this[e(305)]()))}[Ie(309)](){const t=Ie;super[t(309)](),this[t(281)]&&this[t(281)][t(309)]()}[Ie(305)](){const t=Ie,e=this[t(286)][t(300)];this[t(282)]=e[t(292)]>e[t(291)]&&e[t(290)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(){const t=["setTemplate","15HzDSBa","25164860ZGHxSr","3432186HSvyvO","Revision creator","3265659mtvBnf","set","ck-revision-history-sidebar__revision-author","0 0 11 10","2143888MXwglc","ck-revision-history-sidebar__revision-author_creator","9328mHdEIp","10213ZLcxKQ","ck-revision-history-sidebar__revision-author__name","8189592FyAHyC","Revision author","name","push","5WClzfp","418532DmTGMl","span"];return(Ne=function(){return t})()}function Re(t,e){const i=Ne();return(Re=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(995885===-parseInt(e(341))/1*(parseInt(e(342))/2)+parseInt(e(328))/3+parseInt(e(332))/4*(-parseInt(e(324))/5)+parseInt(e(337))/6+-parseInt(e(335))/7*(parseInt(e(334))/8)+parseInt(e(326))/9+parseInt(e(325))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Ae extends ft.View{constructor(t,e,i){const s=Re;super(t);const n=new ft.IconView;n[s(329)]({content:dt.IconUser,viewBox:s(331)});const r=["ck",s(330)];i&&r[s(340)](s(333));const o=[{tag:s(343),attributes:{class:["ck",s(336)],title:G(t,s(i?327:338))},children:[n,e[s(339)]]}];this[s(323)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=197]})(t,e)}function Ee(){var t=["4eNVJPw","toLocaleDateString","166943QyJUSd","1164685qvIOKr","long","330nqMZjr","648339xMVdqm","2OEvOfK","toLocaleTimeString","361610ugToEF","numeric","1818144GiIHZA","264ilExUG","1397757eNhUlq","8848233jRiRrd"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(572991===-parseInt(e(211))/1+-parseInt(e(197))/2*(-parseInt(e(203))/3)+-parseInt(e(205))/4*(parseInt(e(208))/5)+parseInt(e(201))/6+-parseInt(e(207))/7*(-parseInt(e(202))/8)+parseInt(e(204))/9+parseInt(e(199))/10*(-parseInt(e(210))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Ve=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ve.A,De);Ve.A&&Ve.A.locals&&Ve.A.locals;function Ce(){const t=["ck-revision-history-sidebar__revision__actions","map","function","execute","first","835760UGWGmG","352GXmpeg","action","Name this revision","422666bdARmi","class","4913GxBcNv","1042884PiRsOL","menuitem","change:isActionsDropdownOpen","45cPBkhj","name","add","stopPropagation","children","63lYqWad","listView","items","locale","15ROzbbZ","menu","isActionsDropdownOpen","set","source","model","444894ELchRm","isVisible","Compare against selected","find","isEnabled","184676iyLTCh","button","bind","_action","45UlOrjk","isReady","ck-on","Restore this revision","isOpen","panelPosition","extendTemplate","Show more items","listenTo","3621664lVljfr","buttonView","bindTemplate"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(601756===-parseInt(e(493))/1+-parseInt(e(491))/2*(parseInt(e(506))/3)+parseInt(e(517))/4*(-parseInt(e(521))/5)+-parseInt(e(512))/6*(parseInt(e(502))/7)+-parseInt(e(530))/8+parseInt(e(497))/9*(parseInt(e(487))/10)+parseInt(e(488))/11*(parseInt(e(494))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=We;function ze(){const t=["authors","ck-revision-history-sidebar__actions_dropdown_open","56mMcyCN","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-authors","deselect","render",".ck-thread__remove-confirm","createdAt","div","name","819387RwVabF","closest","extendTemplate","isConfirm","select","creator","unhighlight","srcElement","220","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","filter","listenTo","_revision","ck-revision-history-sidebar__revision_selected","fire","ck-reset","2697702kpXkrA","740168uhGOOi","2728108OHaubM","isEnabled","ck-disabled","bindTemplate","revisionNameView","revisionActionsView","176622ZFEUjw","setTemplate","72800orCdzu","map","_createdAtFormatted","value","isActionsDropdownOpen","set","isSelected","isHighlighted","bind","element","7195887sjvCbX","_requireRevisionName","115JdDfwB","span","from","change","fieldView","isReady","uiLanguage","ck-revision-history-sidebar__revision_highlighted","setName","length","unshift","highlight"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=247]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(754661===parseInt(e(269))/1+-parseInt(e(288))/2+-parseInt(e(286))/3+-parseInt(e(296))/4+parseInt(e(308))/5*(parseInt(e(294))/6)+-parseInt(e(258))/7*(-parseInt(e(287))/8)+parseInt(e(306))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(292)];[Pe(293)];[Pe(282)];[Pe(307)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(291)],a=function(t,e){const i=r,s=Array[i(310)](e[i(256)])[i(280)]((t=>t!=e[i(274)]));return e[i(274)]&&s[i(254)](e[i(274)]),s[i(297)]((s=>new Ae(t,s,s==e[i(274)])))}(e,i);this.id=i.id,this[r(282)]=i,this[r(307)]=n,this[r(304)](r(268),r(266)).to(i),this[r(304)](r(298)).to(this,r(266),(t=>{return i=e[r(250)],(s=t)[(n=Me)(206)](i,{month:n(209),day:n(200)})+", "+s[n(198)](i,{hour:n(200),minute:n(200)});var i,s,n})),this[r(301)](r(302),!1),this[r(301)](r(303),!1),this[r(301)](r(300),!1),this[r(301)](r(249),!1),this[r(301)](r(289),!1),this[r(292)]=new Oe(e,ft.createLabeledInputText),this[r(292)][r(248)][r(271)]({attributes:{maxlength:r(277)}}),this[r(292)][r(248)][r(304)](r(299)).to(this,r(268),(t=>t||this[r(298)])),this[r(292)][r(304)](r(289)).to(this,r(302),this,r(289),((t,e)=>t&&e)),this[r(293)]=s&&s[r(253)]?function(e,i){const s=Fe,n=e[s(532)],r=e[s(505)],o=(0,ft.createDropdown)(r);o[s(526)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(505)],n={"Compare against selected":G(s,i(514)),"Name this revision":G(s,i(490)),"Restore this revision":G(s,i(524))};return e[i(534)]((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(518),model:new ft.ViewModel({label:t[n(498)],class:t[n(492)],withText:!0,role:n(495),_action:t[n(489)]})};i[n(511)][n(519)](n(516)).to(e,n(508),(i=>n(535)!=typeof t[n(516)]||!i||t[n(516)](e))),o[n(499)](i)}return o}(e,i);return e[s(519)](s(508)).to(o,s(525)),o[s(531)][s(509)]({label:G(r,s(528)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(527)]({attributes:{class:[s(533),n.if(s(508),s(523))]},on:{click:n.to((t=>t[s(500)]()))}}),o.on(s(536),(t=>{const i=s;e[i(522)]&&i(535)==typeof t[i(510)][i(520)]&&t[i(510)][i(520)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(507)}),o[s(529)](e,s(496),((t,n,r)=>{const a=s;if(r)for(const t of o[a(503)][a(504)]){const s=t[a(501)][a(486)],n=i[a(515)]((t=>t[a(489)]===s[a(520)]))[a(513)];t[a(513)]=void 0===n||n(e)}})),o}(this,s):"",this[r(293)]&&this[r(293)][r(304)](r(289)).to(this),this[r(295)]({tag:r(267),attributes:{class:["ck",r(285),r(259),o.if(r(272),r(279))]},children:[{tag:r(267),attributes:{class:["ck",r(285),r(261),o.if(r(289),r(290),(t=>!t)),o.if(r(302),r(283)),o.if(r(303),r(251)),o.if(r(300),r(257))]},children:[this[r(292)],{tag:r(309),attributes:{class:["ck",r(278)]},children:[{text:o.to(r(298))}]},{tag:r(267),attributes:{class:["ck",r(260)]},children:[{tag:"ul",attributes:{class:["ck",r(262)]},children:a}]},this[r(293)]],on:{click:o.to((t=>{const e=r;t[e(276)][e(270)](e(265))||this[e(249)]&&this[e(289)]&&this[e(284)](e(273),{id:this.id})}))}}]})}[Pe(264)](){const t=Pe;super[t(264)]();const e=this[t(292)][t(248)][t(305)];this[t(281)](e,t(247),(()=>{const i=t;this[i(307)]&&!e[i(299)]||this[i(284)](i(252),{id:this.id,name:e[i(299)]}),e[i(299)]||(e[i(299)]=this[i(268)]?this[i(268)]:this[i(298)])}))}[Pe(273)](){this[Pe(302)]=!0}[Pe(263)](){this[Pe(302)]=!1}[Pe(255)](){this[Pe(303)]=!0}[Pe(275)](){this[Pe(303)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Je extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},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:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},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:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};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 Us(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 xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},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 Us(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=xi[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,(Ls({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 Ri={};let Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Ei={};let Vi={};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 ji{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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Li{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=Mi(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=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[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,Ai={},Ei={},Vi={}}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=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(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 ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(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=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[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 Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(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?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.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,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,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=Rs(t.month,1,12),s=Rs(t.day,1,js(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(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 xs(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 Ts(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(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(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 js(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 Ls(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 Us(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 Zs(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(Ts(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}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(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 Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["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[...Qs];case"long":return[...Xs];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 As(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]]=Ms(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:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),Rn=/^-?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 An(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Vn=/^(?:(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=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(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$/,jn=/^(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 Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=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,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Gn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Jn=dn(_n),Kn=fn(On,xn,Tn);const Xn="Invalid Duration",Qn={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},...Qn},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},...Qn},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,[Rn,An])}(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):Xn}toHuman(t={}){if(!this.isValid)return Xn;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)(Ts(e.values,t)||Ts(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])=>Zs(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 xr{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(Ts(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 Zi(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=Vs(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(Ts(i,"a")&&Ts(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 Tr(t,e,i){return new xr(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 Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Vr(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 jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(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,js(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=Ls(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+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={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(Mr(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]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(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 Xr(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 Qr,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:Mr(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]=Xr(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]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.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(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?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(Mr(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=Zr);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=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(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=Rs(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]=jr(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],[Un,$n],[Zn,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),[Vn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,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}=Tr(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(){Qr=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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(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=Ls(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 js(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(Zi.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]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(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(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(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):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}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+=Ur(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":"")+Ur(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():Rr}[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 xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(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 xr(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(){const t=["13168YMMXWi","4943818KgfcuW","81WfVGMU","941680zTGVky","hasSame","day","2eQybDI","84HEsUqG","week","setLocale","startOf","765669yHwGMr","local","minus","month","2722PspnaV","year","toRelativeCalendar","toJSDate","835VxnQPg","monthLong","fromJSDate","350847CNMLGr","weekdayLong","1579940qvcZzj"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=468]})(t,e)}function ro(t,e){const i=no,s=eo[i(483)](t)[i(471)](e),n=eo[i(474)](),r=n[i(475)]({days:1})[i(472)](i(492));let o,a;return s[i(491)](n,i(492))?(o=s[i(472)](i(492))[i(480)](),a=s[i(479)]()):s[i(491)](r,i(492))?(o=r[i(480)](),a=s[i(479)]()):s[i(491)](n,i(470))?(o=s[i(472)](i(470))[i(480)](),a=s[i(485)]||""):s[i(491)](n,i(478))?(o=s[i(472)](i(476))[i(480)](),a=s[i(482)]||""):(o=s[i(472)](i(478))[i(480)](),a=String(s[i(478)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(661931===-parseInt(e(477))/1+parseInt(e(468))/2*(-parseInt(e(473))/3)+parseInt(e(487))/4*(-parseInt(e(481))/5)+-parseInt(e(469))/6*(-parseInt(e(484))/7)+-parseInt(e(490))/8*(-parseInt(e(489))/9)+parseInt(e(486))/10+-parseInt(e(488))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);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=["select","setTemplate","163295tbULGu","4861928voyDVz","1318173CBtSZK","_requireRevisionName","9674252DTYJcQ","36xEIamr","locale","createCollection","find","ck-revision-history-sidebar__time-period","setName","startDate","remove","add","uiLanguage","ck-revision-history-sidebar__time-period__revisions","_revisionActions","40nosJnx","removeRevision","div","8204016UvJMcJ","delegate","ck-revision-history-sidebar__time-period__label","6492969cLiydQ","addRevision","revisionViews","localizedPeriodName","60675uiCfdo","span"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=198]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(878141===-parseInt(e(214))/1*(parseInt(e(223))/2)+-parseInt(e(220))/3+-parseInt(e(219))/4+parseInt(e(218))/5+parseInt(e(207))/6+-parseInt(e(222))/7+parseInt(e(204))/8*(parseInt(e(210))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(198)];[co(212)];[co(203)];[co(221)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(224)][n(201)])[n(213)];this[n(198)]=e,this[n(212)]=this[n(225)](),this[n(203)]=i,this[n(221)]=s,this[n(212)][n(208)](n(216)).to(this),this[n(212)][n(208)](n(228)).to(this),this[n(217)]({tag:n(206),attributes:{class:["ck",n(227)]},children:[{tag:n(215),attributes:{class:["ck",n(209)]},children:[{text:r}]},{tag:n(206),attributes:{class:["ck",n(202)]},children:this[n(212)]}]})}[co(211)](t){const e=co,i=new Ue(this[e(224)],t,this[e(203)],this[e(221)]);this[e(212)][e(200)](i)}[co(205)](t){const e=co,i=this[e(212)][e(226)]((e=>e.id===t.id));this[e(212)][e(199)](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(t,e){const i=vo();return(po=function(t,e){return i[t-=207]})(t,e)}function vo(){const t=["233590lRHoAU","ck-reset_all","3055184Xnosev","892580UFleha","div","content","ck-revision-history-sidebar__header__label","8075718ahbxMm","14ejxbXS","1KfUaub","35itOInN","172542rNRwHw","12AHllKU","span","setTemplate","ck-revision-history-sidebar__header","Revision history","398012NSTfvo","6WVFDaE","143xZVbDE","4448015wwCNlE"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(466331===parseInt(e(216))/1*(parseInt(e(224))/2)+-parseInt(e(225))/3*(parseInt(e(210))/4)+-parseInt(e(217))/5*(-parseInt(e(218))/6)+parseInt(e(215))/7*(parseInt(e(209))/8)+-parseInt(e(214))/9+-parseInt(e(207))/10*(-parseInt(e(226))/11)+-parseInt(e(219))/12*(-parseInt(e(227))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(212)]=dt.IconHistory,this[e(221)]({tag:e(211),attributes:{class:["ck",e(208),e(222)]},children:[i,{tag:e(220),attributes:{class:["ck",e(213)]},children:[G(t,e(223))]}]})}}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=Io();return(wo=function(t,e){return i[t-=255]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(223545===-parseInt(e(294))/1*(-parseInt(e(297))/2)+parseInt(e(261))/3*(-parseInt(e(279))/4)+parseInt(e(282))/5*(parseInt(e(305))/6)+parseInt(e(267))/7*(-parseInt(e(277))/8)+-parseInt(e(295))/9*(parseInt(e(269))/10)+-parseInt(e(288))/11+parseInt(e(293))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends ft.View{[bo(290)];[bo(258)];[bo(298)];[bo(302)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(308)];this[n(290)]=this[n(304)](),this[n(290)][n(280)](n(285)).to(this),this[n(290)][n(280)](n(286)).to(this),this[n(258)]=e,this[n(298)]=i,this[n(302)]=s,this.on(n(285),((t,e)=>{const i=n;this[i(292)](i(299),e)})),this.on(n(286),((t,e)=>{const i=n;this[i(292)](i(276),e)})),this[n(263)](n(259),!1),this[n(256)]({tag:n(273),attributes:{class:["ck",n(311),n(270),n(307)]},children:[new go(t),{tag:n(273),attributes:{class:["ck",n(266),r.if(n(259),n(296),(t=>!t))]},children:this[n(290)]}]})}[bo(257)](){const t=bo;super[t(257)]();for(const e of this[t(258)])this[t(310)](e);this[t(258)].on(t(281),((e,i)=>{this[t(310)](i)})),this[t(258)].on(t(278),((e,i)=>{this[t(300)](i)}))}get[bo(255)](){const t=bo;return this[t(290)][t(271)]((e=>e[t(255)][t(271)]((t=>t))))[t(289)]()}[bo(272)](t){const e=bo;for(const i of this[e(255)])t&&t.id===i.id?i[e(285)]():i[e(275)]()}[bo(274)](t){const e=bo;for(const i of this[e(255)])t[e(287)]((({id:t})=>t===i.id))?i[e(262)]():i[e(265)]()}[bo(310)](t){const e=bo,i=ro(t[e(301)],this[e(283)][e(303)])[e(291)];let s=this[e(290)][e(268)](0);s&&s[e(291)][e(260)]()===i[e(260)]()||(s=new ho(this[e(283)],i,this[e(298)],this[e(302)]),this[e(290)][e(281)](s)),s[e(284)](t)}[bo(300)](t){const e=bo,i=ro(t[e(301)],this[e(283)][e(303)])[e(291)];this[e(306)](i)[e(264)](t)}[bo(306)](t){const e=bo;return this[e(290)][e(309)]((i=>i[e(291)][e(260)]()===t[e(260)]()))}}function Io(){const t=["setTemplate","render","_revisions","isEnabled","getTime","21UhoESD","highlight","set","removeRevision","unhighlight","ck-revision-history-sidebar__timeline","6223yrUYbu","get","50wNArIu","ck-rounded-corners","map","selectRevision","div","highlightRevisions","deselect","revisionSetName","3512qxCoAa","remove","18312VyTRDp","delegate","add","301285GrqMti","locale","addRevision","select","setName","some","4028552FTvCne","flat","timePeriodViews","startDate","fire","13581072GxQkvj","8EDDqrd","374643bDalrh","ck-disabled","7054qkEKjs","_revisionActions","revisionSelected","_removeRevision","createdAt","_requireRevisionName","uiLanguage","createCollection","6QDsvlI","_getTimePeriodViewByStartDate","ck-revision-history-sidebar","bindTemplate","find","_addRevision","ck-reset","revisionViews"];return(Io=function(){return t})()}const So=To;function Oo(){const t=["getLaterVisibleRevision","getEarlierVisibleRevision","revisionSetName","2507745ONvyVJ","select","RevisionsSidebar","_revisionViewer","isReady","pluginName","requires","destroy","compareAgainstSelected","10ajlMhp","map","render","data","setName","highlightRevisions","264236bsDPQn","diff","fieldView","162691IcGXRn","newRevisionId","isVisible","_sidebarView","restoreRevision","change:diff","isPremiumPlugin","revisionHistory.revisionActions","_handleRevisionSetName","string","remove","132FlNooc","name","isEnabled","_revisions","getRevisionsInDiff","_createRevisionActions","revisionSelected","_revisionsRepository","getIndex","availableRevisionActions","listenTo","repository","Name this revision","appendChild","revisionHistory.requireRevisionName","selectRevision","18519061CzjLfn","add","revisionHistory","length","_handleEditorDataReady","getRevision","init","action","compare","defaultRevisionActions","ready","2498032RutTqq","_handleDiffChange","_handleRevisionSelected","timePeriodViews","Restore this revision","focus","config","10001430poyrTR","editor","bind","10hAeDFY","4ZxeqoX","revisionViews","restoreRevisionCallback","get","isOfficialPlugin","plugins","nameRevision","3455615LKlQHg","element","assign","locale","revisionHistory.viewerSidebarContainer","Compare against selected","isSelected"];return(Oo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(659504===-parseInt(e(496))/1*(parseInt(e(487))/2)+-parseInt(e(478))/3*(-parseInt(e(461))/4)+parseInt(e(468))/5+-parseInt(e(507))/6*(-parseInt(e(493))/7)+-parseInt(e(450))/8+parseInt(e(457))/9*(parseInt(e(460))/10)+-parseInt(e(439))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends U.Plugin{[So(481)];[So(514)];[So(499)];static[So(448)]=[So(486),So(500),So(467)];static[So(516)]=function(){const t=So;return{compareAgainstSelected:{name:t(473),action:({plugins:e},i)=>{const s=t,n=e[s(464)](te),r=n[s(518)];let o=n[s(494)][s(497)],a=i.id;r[s(515)](o)>r[s(515)](a)&&([o,a]=[a,o]),n[s(447)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(464)](te);return!(n[s(518)][s(511)](n[s(494)])[s(442)]>2||i[s(474)])}},restoreRevision:{name:t(454),action:(e,{id:i})=>{const s=t;e[s(456)][s(464)](s(441))[s(463)](i)},isVisible:({plugins:e},i)=>!!e[t(464)](te)[t(518)][t(475)](i.id)},nameRevision:{name:t(519),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(464)](te),o=r[n(518)][n(476)](i);r[n(447)](i,o),s[n(455)](),s[n(495)][n(479)]()}}}}();static get[So(483)](){return So(480)}static get[So(465)](){return!0}static get[So(502)](){return!0}static get[So(484)](){return[te]}constructor(t){const e=So;super(t),this[e(481)]=t[e(466)][e(464)](te),this[e(514)]=this[e(481)][e(518)],this[e(499)]=null}[So(445)](){const t=So,e=this[t(514)][t(510)],i=this[t(512)](),s=this[t(458)][t(456)][t(464)](t(472));this[t(499)]=new _o(this[t(458)][t(471)],e,i,this[t(458)][t(456)][t(464)](t(437))),this[t(499)].on(t(513),this[t(452)][t(459)](this)),this[t(499)].on(t(477),this[t(504)][t(459)](this)),this[t(499)][t(459)](t(509)).to(this[t(481)]),this[t(499)][t(453)].on(t(440),((e,i)=>{const s=t;i[s(462)].on(s(440),((t,e)=>{const i=s;e[i(459)](i(509),i(482)).to(this[i(481)])}))})),this[t(499)][t(489)](),this[t(517)](this[t(458)][t(490)],t(449),this[t(443)][t(459)](this)),this[t(517)](this[t(481)],t(501),this[t(451)][t(459)](this)),s[t(520)](this[t(499)][t(469)])}[So(485)](){const t=So;this[t(499)][t(469)][t(506)](),this[t(499)][t(485)]()}[So(443)](){const t=So,e=this[t(514)][t(444)](0);if(e){const i=this[t(514)][t(476)](e.id);this[t(481)][t(447)](e,i)}}[So(452)](t,e){const i=So,s=this[i(514)][i(444)](e.id),n=this[i(514)][i(476)](s.id);this[i(481)][i(447)](s,n)}[So(504)](t,e){const i=So;this[i(514)][i(444)](e.id)[i(491)](e[i(508)])}[So(451)](t,e,i){const s=So,n=this[s(514)][s(511)](i);n[s(442)]>2?(this[s(499)][s(492)](n),this[s(499)][s(438)](null)):(this[s(499)][s(492)]([]),this[s(499)][s(438)](n[0]))}[So(512)](){const t=So,e=this[t(458)],i=xo[t(516)],s=e[t(456)][t(464)](t(503))||xo[t(448)];if(s[t(442)])return s[t(488)]((s=>{const n=t,r=n(505)==typeof s?Object[n(470)]({},i[s]):s;return r[n(446)]=r[n(446)][n(459)](this,e),r[n(498)]&&(r[n(498)]=r[n(498)][n(459)](this,e)),r}))}}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=437]})(t,e)}const No=xo,Ro=Ao;function Ao(t,e){const i=Eo();return(Ao=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=Ao,i=t();for(;;)try{if(806756===-parseInt(e(150))/1*(parseInt(e(114))/2)+-parseInt(e(141))/3+-parseInt(e(131))/4*(parseInt(e(160))/5)+-parseInt(e(146))/6*(parseInt(e(135))/7)+-parseInt(e(125))/8+-parseInt(e(128))/9*(-parseInt(e(151))/10)+parseInt(e(145))/11*(parseInt(e(117))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends ft.EditorUI{[Ro(133)];[Ro(124)];[Ro(140)];get[Ro(138)](){return this[Ro(133)]}constructor(e,i){const s=Ro;super(e),this[s(133)]=i,this[s(124)]=(0,ft.normalizeToolbarConfig)(e[s(132)][s(158)](s(119))),this[s(140)]=new t.ElementReplacer}get[Ro(152)](){const t=Ro;return this[t(138)][t(152)]}[Ro(121)](t){const e=Ro,i=this[e(134)],s=this[e(138)],n=i[e(142)][e(138)],r=s[e(144)],o=n[e(112)][e(139)]();r[e(113)]=o[e(156)],s[e(122)]();const a=r[e(152)];this[e(149)](r[e(113)],a),s[e(144)][e(120)](e(123)).to(this[e(153)]),n[e(127)](a),this[e(140)][e(115)](t,this[e(152)]),this[e(147)](),this[e(155)](e(118))}[Ro(126)](){const t=Ro;super[t(126)]();const e=this[t(138)],i=this[t(134)][t(142)][t(138)];this[t(140)][t(148)](),i[t(159)](e[t(144)][t(113)]),e[t(126)]()}[Ro(147)](){const t=Ro,e=this[t(138)];e[t(137)][t(120)](t(116)).to(this[t(153)],t(123)),e[t(137)][t(129)]=e[t(152)],e[t(137)][t(120)](t(157)).to(this,t(143),(({top:t})=>t)),e[t(119)][t(154)](this[t(124)],this[t(136)]),this[t(130)](e[t(119)])}}function Eo(){const t=["_view","editor","7112fJyomG","componentFactory","stickyPanel","view","getRoot","_elementReplacer","650655olMgBY","editing","viewportOffset","editable","508244OAxJtQ","6462axlGXJ","_initToolbar","restore","setEditableElement","190637eZATxA","10DbIvmt","element","focusTracker","fillFromConfig","fire","rootName","viewportTopOffset","get","detachDomRoot","5WEGwKM","document","name","2pfSNEc","replace","isActive","684fFLMso","ready","toolbar","bind","init","render","isFocused","_toolbarConfig","1562488TPYZJl","destroy","attachDomRoot","11099214EbfWON","limiterElement","addToolbar","5452212sBwpGz","config"];return(Eo=function(){return t})()}var Vo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Vo.A,Do);Vo.A&&Vo.A.locals&&Vo.A.locals;var Co=jo;function Fo(){var t=["stickyPanel","92619jfSlOD","toolbar","add","175TpGNdJ","top","536660RsyNeX","1mPySRz","render","214818NyRDju","190SXhhXU","770220MVyscD","5KiOJds","14929299UjWOpL","_editable","shouldToolbarGroupWhenFull","954668IkGVPO","content","editable","main","68104VesyAX"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=253]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(149315===parseInt(e(267))/1*(-parseInt(e(266))/2)+-parseInt(e(271))/3+-parseInt(e(255))/4+-parseInt(e(272))/5*(parseInt(e(269))/6)+-parseInt(e(264))/7*(parseInt(e(259))/8)+parseInt(e(261))/9*(-parseInt(e(270))/10)+parseInt(e(273))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends ft.BoxedEditorUIView{[Co(253)];[Co(260)];[Co(262)];get[Co(257)](){return this[Co(253)]}constructor(t,e,i={}){var s=Co;super(t),this[s(260)]=new ft.StickyPanelView(t),this[s(262)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(254)]}),this[s(253)]=new ft.InlineEditableUIView(t,e)}[Co(268)](){var t=Co;super[t(268)](),this[t(260)][t(256)][t(263)](this[t(262)]),this[t(265)][t(263)](this[t(260)]),this[t(258)][t(263)](this[t(257)])}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(609141===-parseInt(e(350))/1+-parseInt(e(373))/2*(-parseInt(e(354))/3)+-parseInt(e(357))/4+-parseInt(e(366))/5+-parseInt(e(370))/6+parseInt(e(362))/7+parseInt(e(360))/8*(parseInt(e(371))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends((0,U.ElementApiMixin)(U.Editor)){[Po(369)];get ui(){return this[Po(369)]}constructor(t,e){const i=Po;super(e),this[i(359)]=t,this[i(358)][i(348)][i(356)]();const s=new Lo(this[i(353)],this[i(349)][i(363)],{shouldToolbarGroupWhenFull:!0});this[i(369)]=new Mo(this,s)}[Po(375)](){const t=Po;return this[t(372)](),this.ui[t(375)](),super[t(375)]()}static async[Po(355)](t,e){const i=Po,s=new this(t,e);return await s[i(352)](),await s.ui[i(361)](t),await s[i(364)][i(361)](s[i(365)][i(367)](i(368))||""),s[i(374)](i(351)),s}}function Uo(){const t=["updateSourceElement","38dugPaT","fire","destroy","document","editing","77272ZVeFfk","ready","initPlugins","locale","107505iIcwHa","create","createRoot","2779156XPcByI","model","sourceElement","1232AMGmIV","init","5093207xiVLLS","view","data","config","1886040GeJQYI","get","initialData","_ui","3803772EQzVCs","57501gOdLbC"];return(Uo=function(){return t})()}const Zo=Ho;function Ho(t,e){const i=Bo();return(Ho=function(t,e){return i[t-=195]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(518545===-parseInt(e(195))/1+parseInt(e(338))/2*(-parseInt(e(276))/3)+parseInt(e(254))/4+parseInt(e(327))/5+parseInt(e(247))/6+-parseInt(e(219))/7+parseInt(e(252))/8*(parseInt(e(319))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(277),Zo(249)];class $o extends U.Plugin{[Zo(264)];static get[Zo(279)](){return Zo(267)}static get[Zo(293)](){return!0}static get[Zo(206)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(324)]((t=>String[e(223)](t)))[e(245)]("")}super(t),this[e(264)]=e(310),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Bo(){const t=["insert","get","RevisionTracker","long","numeric","getRevisionRootsAttributes","revisionHistory.viewerEditorElement","data","plugins","_getRevisionViewerEditorConfig","revision-history-viewer-opened","toLocaleTimeString","refreshVisibility","removeSelectionAttribute","bind","roots","isAttached","isAnonymous","_viewerEditor","save","removeAttribute","join","set","22344rpjGbk","locale","RestrictedEditingMode","toLocaleDateString","getUser","7408sHXCyf","revisionHistory.editorContainer","2887752FxELdu","fromVersion","toolbar","_showRevisionViewer","style","saveRevision","document","_restoreRevision","_enhanceShowRevisionViewerCallback","revisionHistory","result","restrictedEditingException","restoreRevision","RevisionViewerIntegration","_cleanUp","repository","getRevisionData","remove","error","init","setAttribute","then","768qWLTds","RevisionHistoryUI","none","pluginName","Dialog","Annotations","PaginationLookup","model","_recalculatePageBreaks","createdAt","revisionHistory.restoreRevisionCallback","getRevision","Users","Restored","name","getMarkersGroup","addUser","isOfficialPlugin","revisionHistory.closeRevisionViewerCallback","lazyRoots","push","addRoot","commands","RevisionHistory","revisionHistory.showRevisionViewerCallback","toJSON","isReadOnly","getAttributeKeys","markers","toVersion","indexOf","keys","editor","rootName","end","refreshPositioning","config","revisionHistory.viewerContainer","revision-history-missing-configuration","update","uiLanguage","includes","getRevisions","8406eYsUYt","block","adapter","users","isEnabled","map","isOpen","enqueueChange","4037310EpwJQI","$graveyard","Autosave","showRevisionViewerCallback","revisionHistory.requireRevisionName","parse","hide","RevisionViewer","_update","detachRoot","change","5858Omwphy","854131QRKiHc","selection","changesNavigation","creator","translations","exitToEditing","display","createRangeIn","isReady","disableReadOnlyMode","define","isPremiumPlugin","enableReadOnlyMode","has","_enhanceCloseRevisionViewerCallback","create","requires","getRoot","addRevisionData","from","setSelection","_closeRevisionViewer","destroy","RevisionsRepository","1928556YIKRoB","removeMarker","closeRevisionViewerCallback","catch","fromCharCode"];return(Bo=function(){return t})()}class Yo extends U.Plugin{[Zo(242)];static get[Zo(279)](){return Zo(299)}static get[Zo(293)](){return!0}static get[Zo(206)](){return!0}static get[Zo(211)](){return[st,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(308)][i(312)][i(225)](i(263)))throw new t.CKEditorError(i(314),this);this[i(242)]=null,this[i(308)][i(312)][i(205)](i(300),(t=>this[i(257)]({...t,translations:this[i(308)][i(248)][i(199)]}))),this[i(308)][i(312)][i(205)](i(294),(t=>this[i(216)](t))),this[i(308)][i(312)][i(205)](i(286),(t=>this[i(261)](t))),this[i(308)][i(312)][i(205)](i(331),!1),this[i(262)](),this[i(209)]()}set[Zo(321)](t){const e=Zo;this[e(308)][e(232)][e(225)](e(226))[e(321)]=t}get[Zo(321)](){const t=Zo;return this[t(308)][t(232)][t(225)](t(226))[t(321)]}[Zo(213)](t){const e=Zo;return this[e(308)][e(232)][e(225)](e(226))[e(213)](t)}[Zo(287)](t){const e=Zo;return this[e(308)][e(232)][e(225)](e(218))[e(287)](t)}[Zo(318)](t){const e=Zo;return this[e(308)][e(232)][e(225)](e(218))[e(318)](t||{toJSON:!1})}[Zo(233)](){const e=Zo,i=this[e(308)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(232)][e(225)](e(226)),r=i[e(232)][e(225)](e(288))[e(322)];return s[e(256)]=[e(200),e(266),e(197)],delete s[e(295)],s[e(232)][e(296)]($o,te,ke,class extends U.Plugin{static get[e(211)](){return[te,e(288)]}[e(273)](){const s=e,o=this[s(308)][s(232)][s(225)](s(288));for(const t of r)t[s(241)]||o[s(251)](t.id)||o[s(292)](t);const a=n[s(269)][s(318)]();let c=null;const u=this[s(308)][s(232)][s(225)](s(334));u[s(321)]=n[s(321)],u[s(238)](s(323)).to(n),this[s(308)][s(298)][s(225)](s(266))[s(238)](s(323)).to(i,s(302),(t=>!t));for(const e of a){const i=null===e[s(198)];if(i&&e[s(305)]===e[s(255)])continue;const r=e[s(301)]();u[s(213)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(335)](r,o);else if(!o){const e=a[u(301)]();e.id=(0,t.uid)(),n[u(259)](e,a[u(305)])[u(275)]((t=>{c=t}))}}else e[u(335)](r,o)}))}}},No),s}[Zo(262)](){const t=Zo,e=this[t(308)][t(312)][t(225)](t(263))[t(330)];this[t(308)][t(312)][t(246)](t(300),(async()=>{const i=t;this[i(308)][i(207)](i(234));const s=this[i(308)][i(232)][i(225)](i(226));if(this[i(308)][i(232)][i(208)](i(329))){const t=this[i(308)][i(232)][i(225)](i(329));await t[i(243)]()}else await s[i(315)]();if(this[i(308)][i(232)][i(208)](i(282))&&this[i(308)][i(232)][i(225)](i(282))[i(284)](),this[i(308)][i(232)][i(208)](i(280))){const t=this[i(308)][i(232)][i(225)](i(280));t[i(325)]&&t[i(333)]()}const n=this[i(233)]();return e(n)[i(275)]((t=>{const e=i;return this[e(242)]=t,this[e(308)][e(232)][e(208)](e(281))&&this[e(308)][e(232)][e(225)](e(281))[e(236)](),t}))[i(222)]((t=>(console[i(272)](t),this[i(308)][i(204)](i(234)),null)))}))}[Zo(209)](){const t=Zo,e=this[t(308)][t(312)][t(225)](t(263))[t(221)];this[t(308)][t(312)][t(246)](t(294),(()=>(this[t(308)][t(232)][t(208)](t(282))&&this[t(308)][t(232)][t(225)](t(282))[t(284)](),this[t(242)][t(232)][t(225)](t(334))[t(268)](),e(this[t(242)])[t(275)]((()=>{const e=t;if(this[e(308)][e(204)](e(234)),this[e(242)]=null,this[e(308)][e(232)][e(208)](e(281))){const t=this[e(308)][e(232)][e(225)](e(281));t[e(236)](),t[e(311)]()}})))))}[Zo(257)](t){const e=Zo,i=this[e(308)][e(312)][e(225)](e(253)),s=this[e(308)][e(312)][e(225)](e(313)),n=this[e(308)][e(312)][e(225)](e(230));return Wo[e(210)](n,t)[e(275)]((t=>(s[e(258)][e(201)]=e(320),i[e(258)][e(201)]=e(278),t)))}[Zo(216)](t){const e=Zo,i=this[e(308)][e(312)][e(225)](e(253));return this[e(308)][e(312)][e(225)](e(313))[e(258)][e(201)]=e(278),i[e(258)][e(201)]="",t[e(217)]()}async[Zo(261)](t){const e=Zo,i=this[e(308)],s=this[e(242)][e(232)][e(225)](e(334)),n=i[e(232)][e(225)](e(226)),r=s[e(269)][e(287)](t);let o,a,c;try{o=await s[e(270)](r),a=await s[e(229)](r)}catch(t){return void console[e(272)](t)}i[e(283)][e(337)]((t=>{const s=e;for(const e of Array[s(214)](i[s(283)][s(304)][s(291)](s(265))))t[s(220)](e)})),s[e(203)]=!1,i[e(283)][e(326)]((t=>{const s=e;t[s(215)](null),t[s(237)](i[s(283)][s(260)][s(196)][s(303)]());const n=Object[s(307)](o);for(const e of i[s(283)][s(260)][s(239)])s(328)!=e[s(309)]&&e[s(240)]()&&!n[s(317)](e[s(309)])&&t[s(336)](e);for(const e of n){let n=i[s(283)][s(260)][s(212)](e);n&&n[s(240)]()||(n=t[s(297)](e));const r=a[e],c=Object[s(307)](r),u=o[e];for(const e of n[s(303)]())c[s(317)](e)||t[s(244)](e,n);for(const i of c)t[s(274)](i,a[e][i],n);t[s(271)](t[s(202)](n)),t[s(224)](i[s(231)][s(332)](u,n),n,0)}}));const u=G(i[e(248)],e(289));return c=r[e(290)]?-1==r[e(290)][e(306)](u)?u+": "+r[e(290)]:r[e(290)]:u+": "+r[e(285)][e(250)](i[e(248)][e(316)],{month:e(227),day:e(228)})+", "+r[e(285)][e(235)](i[e(248)][e(316)],{hour:e(228),minute:e(228)}),await n[e(259)]({name:c}),s[e(203)]=!0,i[e(312)][e(225)](e(263))[e(221)]()}}function Go(){var t=["228EnVsOW","8cGusZc","441727jQBrbn","1392433cYqcXV","51272jrhNYr","464871vKQqNT","12baMvIq","22ERcokU","10150bnwjpp","769106qmxzjD","57905xQMxfg","954abJlfr","8NxZWws"];return(Go=function(){return t})()}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=108]})(t,e)}!function(t){for(var e=Jo,i=t();;)try{if(376648===-parseInt(e(111))/1*(parseInt(e(108))/2)+parseInt(e(109))/3*(parseInt(e(118))/4)+parseInt(e(114))/5*(parseInt(e(117))/6)+-parseInt(e(120))/7*(-parseInt(e(116))/8)+-parseInt(e(115))/9*(parseInt(e(112))/10)+parseInt(e(119))/11*(parseInt(e(110))/12)+parseInt(e(113))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(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:()=>qi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Ki,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var D,E=(D=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";const C=function(t){return!!E&&E in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,H=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(M(t)?H:L).test(F(t))};const q=function(t,e){return null==t?void 0:t[e]};const $=function(t,e){var i=q(t,e);return Z(i)?i:void 0};const B=$(k,"Map");const Y=$(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=G,it.prototype.delete=J,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=$(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,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Dt=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Et=(Dt?Dt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var qt=Zt&&Zt.isTypedArray;const $t=qt?zt(qt):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Et(t),s=!i&&!n&&!r&&$t(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};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(!Jt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=$(k,"DataView");const Ae=$(k,"Promise");const Re=$(k,"Set");const Me=$(k,"WeakMap");var Ve="[object Map]",De="[object Promise]",Ee="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=De||Re&&Ue(new Re)!=Ee||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case Pe:return De;case ze:return Ee;case We:return Ce}return e});const He=Ue;var Ze=Object.prototype.hasOwnProperty;const qe=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const $e=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new $e(e).set(new $e(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Je(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||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==He(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=qe(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Et(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 Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Di=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Ei=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Di(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:Ei(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=Vi(e,t)).length;null!=t&&i<n;)t=t[Di(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Pi(t,e))||delete t[Di(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(){const t=["authorsIds","map","2CYTDtR","479882vfqJNS","setAttribute","fromVersion","createdAt","toJSON","authors","230718oQUgBz","name","40XPkIou","creator","diffData","toVersion","710640nGHgbv","56SBLRTa","creatorId","8723187IJcXNe","14swoluU","fire","3992776lUYVMw","47129052qUUPch","1494vWvFRG","set","_update","setName","8510PhLzOJ","removeAttribute","attributes"];return(Ui=function(){return t})()}const Hi=Zi;function Zi(t,e){const i=Ui();return(Zi=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(733154===parseInt(e(227))/1*(parseInt(e(226))/2)+parseInt(e(233))/3*(-parseInt(e(210))/4)+parseInt(e(235))/5*(-parseInt(e(239))/6)+-parseInt(e(213))/7*(parseInt(e(215))/8)+parseInt(e(217))/9*(parseInt(e(221))/10)+-parseInt(e(212))/11+parseInt(e(216))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ui);class qi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(236)]=e[i(236)]||null,this[i(232)]=e[i(232)]||[],this[i(237)]=e[i(237)]||null,this[i(238)]=e[i(238)]||0,this[i(229)]=e[i(229)]||0,this[i(218)](i(234),e[i(234)]||""),this[i(218)](i(230),e[i(230)]||new Date),this[i(218)](i(223),e[i(223)]||{})}[Hi(220)](t){this[Hi(219)]({name:t})}[Hi(228)](t,e){const i=Hi,n=vi(this[i(223)]);Ci(n,t,e),this[i(219)]({attributes:n})}[Hi(222)](t){const e=Hi,i=vi(this[e(223)]);Wi(i,t),this[e(219)]({attributes:i})}[Hi(219)](t,e=!1){const i=Hi;let n=!1;const r={id:this.id},s=[i(234),i(230),i(237),i(232),i(223),i(238),i(229),i(211)];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(232)]&&(r[i(224)]=r[i(232)][i(225)]((t=>t.id)),delete r[i(232)]),this[i(214)](i(219),r,e))}[Hi(231)](){const t=Hi;return{id:this.id,name:this[t(234)],creatorId:this[t(236)]?this[t(236)].id:null,authorsIds:this[t(232)][t(225)]((t=>t.id)),diffData:this[t(237)],createdAt:this[t(230)],attributes:this[t(223)],fromVersion:this[t(229)],toVersion:this[t(238)]}}}var $i=i(782),Bi=i(211),Yi=i(783);const Gi=Ji;function Ji(t,e){const i=Xi();return(Ji=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=Ji,i=t();for(;;)try{if(105034===parseInt(e(459))/1+parseInt(e(428))/2+parseInt(e(463))/3+-parseInt(e(442))/4+parseInt(e(456))/5+-parseInt(e(476))/6+-parseInt(e(461))/7*(-parseInt(e(436))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xi);class Ki extends $i.Plugin{static get[Gi(458)](){return[Bi.Users]}static get[Gi(462)](){return Gi(445)}static get[Gi(441)](){return!0}static get[Gi(435)](){return!0}get[Gi(433)](){const t=Gi;return this[t(449)][t(433)]}constructor(e){const i=Gi;super(e),this[i(449)]=new t.Collection}[Gi(464)](){!async function(e){const i=k([53,48,49,85,88,117,90,66,109,98,119,114,50,74,84,82,81,67,121,68,51,120,83,113,89,106,122,71,107,97,112,75,69,79,72,99,103,110,104,55,65,77,57,80,115,105,73,56,116,70,52,111,54,118,78,102,101,100,76,87,108,86]),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=Ji;for(const e in window)if(window[k([78,117,109,98,101,114])][i(429)](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([85]);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=Ji;return t[e(452)]((t=>String[e(457)](t)))[e(443)]("")}!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:1739404800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ji,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(439)]);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)}[Gi(473)](t){const e=Gi,i=this[e(446)][e(475)][e(472)](e(427));return new qi({id:t.id,name:t[e(466)],creator:t[e(451)]?i[e(453)](t[e(451)]):null,diffData:t[e(460)]||t[e(437)],authors:t[e(430)][e(452)]((t=>i[e(453)](t))),createdAt:new Date(t[e(474)]),attributes:t[e(454)],fromVersion:t[e(438)],toVersion:t[e(469)]})}[Gi(425)](t,e=0){const i=Gi;this[i(449)][i(455)](t,e)}[Gi(448)](t){const e=Gi;return this[e(449)][e(472)](t)}[Gi(477)](t={toJSON:!1}){const e=Gi,i=Array[e(447)](this[e(449)]);return i[e(450)](),t[e(465)]?i[e(452)]((t=>t[e(465)]())):i}[Gi(426)](t){const e=Gi;return this[e(449)][e(426)](t)}[Gi(434)](t){const e=Gi,[,i]=this[e(431)](t,{direction:e(432)});return i}[Gi(467)](t){const e=Gi,[,i]=this[e(431)](t,{direction:e(468)});return i}[Gi(440)](t){const e=Gi,i=[];for(const n of this[e(431)](t[e(471)]))if(i[e(470)](n),n.id===t[e(444)])break;return i}*[Gi(431)](t,{direction:e=Gi(432),filter:i=()=>!0}={}){const n=Gi,r=n(432)===e?1:-1;let s=this[n(449)][n(472)](t),o=this[n(426)](s);for(yield s;s;){if(o+=r,s=this[n(448)](o),!s)return;i(s)&&(yield s)}}}function Xi(){const t=["earlier","length","getEarlierVisibleRevision","isPremiumPlugin","96jPCfCi","data","fromVersion","href","getRevisionsInDiff","isOfficialPlugin","776856ykOvnn","join","oldRevisionId","RevisionsRepository","editor","from","getRevision","_revisions","reverse","creatorId","map","getUser","attributes","add","268805fZgHfI","fromCharCode","requires","104002pSSQQq","diffData","103677VbADHo","pluginName","67824PqMeQv","afterInit","toJSON","name","getLaterVisibleRevision","later","toVersion","push","newRevisionId","get","createRevision","createdAt","plugins","1019562fQgjYO","getRevisions","addRevision","getIndex","Users","222144jmtvJB","isNaN","authorsIds","getRevisionsIterator"];return(Xi=function(){return t})()}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new $e(t),new $e(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:He(t),u=a?vn:He(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Et(t)){if(!Et(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||$t(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-=372]})(t,e)}function Sn(){const t=["addRootAttribute","size","_handleOperation","dataDowncast","data-revision-","402457YkvISx","_handleRootOperation","insertions","set","destroy","7927056rDjRjS","usageLimit","define","_addPendingAction","_removeMetaData","markerToData","_operations","end","nodeAfter","position","getData","element","root","split","useFillerType","_handleMoveOperation","start","for","editor","_baseRoots","attributesBefore","createdAt","_baseIdsRoots","deletions","_makeIdsRoot","_revisionDataBuilder","_createInitialRevision","getOperation","keepParagraph","_isInit","sendBufferedUpdates","_lastTo","Users","add","toModel","some","newValue","locale","_handleMergeOperation","_touched","view","from","attributes","revision","_generateTape","version","_idsRoots","tableCell","marker","detachRoot","_pendingAction","_calculateMetaData","_loadState","creator","delete","getRevisionRootsAttributes","getRoot","config","_execute","_removePendingAction","default","RevisionHistory","_getPreviousFrom","isPremiumPlugin","stringify","attributesAfter","_startingVersion","_fixRange","$graveyard","splitPosition","revision-start","vid","_getVidAttributeName","_handleSplitOperation","createRevision","revisionHistoryLicenseKeyUsageLimit","initial","elementEnd","saveRevision","collaboration.channelId","_showLicenseError","revision:","Initial revision","text","_markers","getChild","sort","featureNotAllowed","RealTimeCollaborationClient","editing","1153692gFeRVZ","_getViewJson","string","isAttached","name","_setConversion","trialLimit","authors","data","revisionHistoryLicenseKeyDomainLimit","clone","reverse","vid_start","1351320gpGGzT","oldRange","remove","PendingActions","bind","roots","revisionHistoryLicenseKeyTrialLimit","marked","revisionHistoryLicenseKeyInvalid","model","pluginName","_makeModelFromViewString","offset","_licenseKeyCheckInterval","_startingRevisionId","fromEntries","_continueCurrentRevision","values","_update","getRevisions","getTime","evaluationLimit","_diffRoots","repository","_diffRootsAttributes","122zXyrbK","finally","getUser","isOfficialPlugin","requires","_authorId","_handleMarkerOperation","revision-end","50VDVpOD","_loadedStateData","PENDING_ACTION_REVISION_HISTORY","previousPosition","isEqual","rootName","then","initialData","map","howMany","_removeRevisionMarkers","buildRevisionData","deletion","_processRootBeforeSave","move","get","markers","$text","_appendChild","invalid","forEach","_getBaseVids","_handleRootAttributeOperation","7492kNkVQm","_handleInsertOperation","expired","trim","userId","_findInsertionIndex","insertion","_fixPosition","item","_touchedRoots","baseVersion","createPositionFromPath","plugins","revisionHistoryLicenseKeyEvaluationLimit","revisionHistory.resumeUnsavedRevision","loadState","path","has","keys","_bufferUpdate","diffData","setRevisionData","_reset","getRootNames","conversion","revisionHistoryLicenseKeyValid","toVersion","createPositionAt","_revisionId","_makeRevision","document","_touchedMarkers","history","addRevision","createRange","upcast","slice","find","_saveMetaData","getMovedRangeStart","createRangeIn","type","filter","_source","changeRootAttribute","children","addRoot","getRevisionDocumentData","revisionHistoryLicenseKeyNotAllowed","parent","getIndex","clear","affectsData","_getState","currentRevision","insertionPosition","afterInit","getRange","Empty document","stickiness","init","key","getOperations","RevisionsRepository","_initialRevisionId","RevisionTracker","push","_applyOperations","_isAttached","domainLimit","getAncestors","_cloneOperation","graveyardPosition","fromVersion","getWalker","createPositionBefore","_insertChild","_fixOperation","isReady","reinsert","paragraph","removeRootAttribute","_lastFrom","targetPosition","getChildren","nodes","_setAttribute","revisionHistoryLicenseKeyExpired","max","newRange","createPositionAfter","licenseKey","startsWith","merge","update","documentFragment","_bufferedUpdates","ready","reInit","updateRevisions","childCount","getTransformedByOperation","toData","setSource","2055vdtbwG","_isPendingUpdate","includes","dataToMarker","5448FABxji","_getFromVersion","_savedMetaData","adapter","length","resolve","_createFromRanges","attachChange","getAttributes","elementStart","editor-initial-data-replaced-with-revision-data","processor","_markChanges","1424394TsGGss","getAttribute","isEnabled","sourcePosition","insert","_copyMarkers","toView","shift","authorsIds","parse","_transformMarkers","NEGATIVE_INFINITY","range","_prepareViewToSave","_loadRevisionData","_createCurrentRevision","getLatestVersion","vid_end","7yqBsos","_baseRootsAttributes","_clone","offsetSize","addRevisionData","getNodeByPath","rootsAttributes","creatorId","getCurrentRevisionId","hasContent","isAdd","source","getRevision","_replaceEditorDataWithRevisionData"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(451240===-parseInt(e(692))/1*(-parseInt(e(661))/2)+parseInt(e(491))/3+parseInt(e(478))/4*(parseInt(e(474))/5)+parseInt(e(623))/6+parseInt(e(509))/7*(-parseInt(e(636))/8)+-parseInt(e(533))/9+parseInt(e(669))/10*(-parseInt(e(528))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends $i.Plugin{static get[_n(646)](){return _n(435)}static get[_n(664)](){return!0}static get[_n(596)](){return!0}static get[_n(665)](){return[Bi.Users,Ki,$i.PendingActions]}constructor(e){const i=_n;super(e),this[i(481)]=null,this[i(424)]=null,this[i(558)]=new Nn(this[i(551)]),this[i(434)]=this[i(551)][i(590)][i(684)](i(612))||i(609),this[i(466)]=new Map,this[i(670)]=null;const n=(0,t.uid)();this[i(413)]={history:this[i(551)][i(645)][i(400)][i(402)],getLatestVersion:()=>Promise[i(483)](this[i(551)][i(645)][i(400)][i(578)]),getCurrentRevisionId:()=>n},this[i(531)](i(448),!1),this[i(531)](i(493),!0),this[i(531)](i(475),!1),this[i(551)][i(590)][i(535)](i(384),!0),this[i(551)][i(394)][i(550)](i(405))[i(477)]({view:i(576)})}[_n(430)](){const t=_n;this[t(659)]=this[t(551)][t(382)][t(684)](t(433)),this[t(628)](),this[t(551)][t(631)].on(t(467),(()=>{const e=t,i=this[e(659)][e(521)](0),n=i&&null===i[e(586)]?i:null;if(this[e(652)]=!!n&&this[e(551)][e(590)][e(684)](e(384)),this[e(551)][e(382)][e(387)](e(621))){const t=this[e(413)][e(517)](),r=this[e(659)][e(521)](t);if(r)this[e(599)]=r[e(443)],this[e(652)]=!1;else{const t=this[e(413)][e(402)][e(539)][e(407)]((t=>!t[e(562)])),r=t?t[e(380)]:this[e(413)][e(402)][e(578)];i?(i[e(396)]<r&&i[e(654)]({toVersion:r}),this[e(652)]?(this[e(413)][e(517)]=()=>n.id,this[e(599)]=n[e(443)]):(this[e(599)]=i[e(396)],this[e(652)]=!1)):(this[e(599)]=r,this[e(652)]=!1)}}else n&&(this[e(551)][e(645)][e(400)][e(402)][e(578)]=Math[e(458)](n[e(396)],this[e(551)][e(645)][e(400)][e(402)][e(578)]),n[e(443)]===n[e(396)]?(0!==n[e(443)]&&(this[e(413)][e(517)]=()=>n.id),this[e(652)]=!1):this[e(652)]&&(this[e(413)][e(517)]=()=>n.id,this[e(599)]=n[e(443)])),this[e(652)]||(this[e(599)]=this[e(551)][e(645)][e(400)][e(578)]);this[e(558)][e(430)](this[e(413)][e(402)]),this[e(559)](this[e(599)]),this[e(506)](this[e(599)]),this[e(481)]&&this[e(563)]()})),this[t(640)](t(448)).to(this,t(475),(t=>!t)),this[t(461)]=this[t(551)][t(590)][t(684)](t(461));const e=this[t(551)];this[t(649)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(395)==s||i(644)==s||i(457)==s||i(632)==s||i(418)==s||i(383)==s||i(642)==s||i(608)==s){delete e[r],n=s,clearInterval(this[i(649)]),this[i(649)]=void 0;break}}i(644)==n&&e[i(613)](i(688)),i(457)==n&&e[i(613)](i(372)),i(632)==n&&e[i(613)](i(439)),i(418)==n&&e[i(613)](i(620),i(594)),i(383)==n&&e[i(613)](i(657)),i(642)==n&&e[i(613)](i(629)),i(608)==n&&e[i(613)](i(534))}),1e3)}async[_n(426)](){const t=_n;if(this[t(659)][t(482)]>0){const e=this[t(659)][t(521)](0),i=await this[t(417)](e),n=await this[t(588)](e);this[t(522)](i,n)}}[_n(532)](){const t=_n;super[t(532)](),this[t(649)]&&clearInterval(this[t(649)])}[_n(473)](t){this[_n(413)]=t}async[_n(464)](){const t=_n,e=await this[t(413)][t(507)]();if(e>this[t(424)][t(396)]){await this[t(585)]();const i=this[t(680)]({revision:this[t(424)],to:e});i[t(630)]=i[t(499)][t(677)]((e=>this[t(551)][t(382)][t(684)](t(565))[t(663)](e))),this[t(424)][t(654)](i)}}async[_n(585)](){const t=_n;this[t(652)]&&!this[t(670)]&&(await this[t(505)](this[t(424)]),this[t(558)][t(385)](this[t(424)]),this[t(670)]={fromVersion:this[t(424)][t(443)],authors:this[t(424)][t(630)][t(406)]()})}async[_n(611)](e={},i=null){const n=_n,r=[];await this[n(585)](),this[n(652)]=!1,i>this[n(424)][n(396)]&&(i=null),null===i&&(i=await this[n(413)][n(507)]());const s=this[n(479)](i),o=this[n(680)]({from:s,to:i});if(this[n(424)][n(396)]<i){const t=this[n(680)]({revision:this[n(424)],from:i,to:i});t[n(630)]=[],t[n(499)]=[],t.id=this[n(424)].id,this[n(424)][n(654)](t,!0),delete t[n(630)],r[n(436)](t)}e[n(516)]=this[n(551)][n(382)][n(684)](n(565)).me.id,e[n(627)]=e[n(627)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(513)](e);r[n(436)](e);const c=this[n(659)][n(420)](a);if(0!==c){const t=this[n(659)][n(521)](c-1);if(t[n(443)]!==i){const s=this[n(558)][n(543)](i,t[n(396)]),o={id:t.id,diffData:s[n(390)],authorsIds:s[n(499)],authors:s[n(499)][n(677)]((t=>this[n(551)][n(382)][n(684)](n(565))[n(663)](t))),fromVersion:i};t===this[n(424)]&&(o[n(554)]=new Date(e[n(554)][n(656)]()+10)),t[n(654)](o,!0),delete o[n(630)],r[n(436)](o)}}if(this[n(481)]){for(const t of r)this[n(389)](t.id,t,!0);this[n(563)]()}return a}[_n(513)](t){const e=_n,i=this[e(659)][e(607)](t);return this[e(481)]&&i.on(e(654),((t,i,n)=>{const r=e;n||(this[r(389)](i.id,i,!0),this[r(563)]())})),this[e(659)][e(403)](i,this[e(375)](i)),i}async[_n(417)](t){const e=_n;await this[e(505)](t);const i={};for(const n in t[e(390)]){if(t[e(390)][n][e(485)]&&!t[e(390)][n][e(485)][e(626)])continue;const r=this[e(679)](JSON[e(500)](t[e(390)][n][e(530)])),s=this[e(551)][e(622)][e(573)][e(400)],o=new Yi.ViewDocumentFragment(s,r[e(677)]((t=>Tn(t,this[e(551)]))));this[e(551)][e(631)][e(489)][e(547)](e(643)),i[n]=this[e(551)][e(631)][e(489)][e(472)](o),this[e(551)][e(631)][e(489)][e(547)](e(593))}return i}async[_n(588)](t){const e=_n;await this[e(505)](t);const i={};for(const n in t[e(390)])t[e(390)][n][e(485)]&&!t[e(390)][n][e(485)][e(626)]||(i[n]=t[e(390)][n][e(598)]||{});return i}[_n(563)](){const t=_n;if(0===this[t(466)][t(524)])return;if(this[t(475)])return;let e=Array[t(574)](this[t(466)][t(653)]());this[t(466)][t(421)]();for(let i=0;i<e[t(482)];i++){const n=e[i];let r=!1;for(const e of Object[t(388)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(412)]((t=>null!==t)),!e[t(482)])return;for(let i=0;i<e[t(482)];i++){const n=e[i];void 0!==n[t(443)]&&void 0===n[t(396)]&&(n[t(396)]=this[t(659)][t(521)](n.id)[t(396)]),void 0!==n[t(396)]&&void 0===n[t(443)]&&(n[t(443)]=this[t(659)][t(521)](n.id)[t(443)])}const i=this[t(551)][t(590)][t(684)](t(612));this[t(475)]=!0,this[t(536)](),this[t(481)][t(469)](e,i)[t(662)]((()=>{this[t(475)]=!1}))[t(675)]((e=>{const i=t;if(e)for(const t of e)this[i(391)]({id:t.id,createdAt:t[i(554)]});this[i(592)](),this[i(563)]()}))}[_n(522)](e,i){const n=_n;let r=this[n(551)][n(590)][n(684)](n(676)),s=this[n(551)][n(590)][n(684)](n(515));if(void 0===r){r={};for(const t of this[n(551)][n(645)][n(400)][n(393)]())r[t]=""}if(n(625)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(551)][n(645)][n(400)][n(393)]())s[t]={}}let o=!1;const a=Object[n(388)](r),c=Object[n(388)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(373)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(388)](s[t])[n(482)]>0){o=!0;break}}o||(o=c[n(568)]((t=>!this[n(551)][n(645)][n(400)][n(589)](t)))),o&&(0,t.logWarning)(n(488),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(551)][n(590)][n(531)](n(676),e),this[n(551)][n(590)][n(531)](n(515),i)}[_n(536)](){const t=_n;if(!this[t(583)]){const e=this[t(551)][t(382)][t(684)](t(639));this[t(583)]=e[t(566)](Qi(this[t(551)][t(570)],t(671)))}}[_n(592)](){const t=_n;this[t(583)]&&(this[t(551)][t(382)][t(684)](t(639))[t(638)](this[t(583)]),this[t(583)]=null)}[_n(375)](t){const e=_n,i=this[e(659)][e(655)]();i[e(634)]();let n=0;for(;n<i[e(482)];){const r=i[n];if(r===this[e(424)]){n++;continue}if(r.id===this[e(434)])break;const s=t[e(396)]-r[e(396)]||t[e(443)]-r[e(443)];if(s>0)break;if(s<0)n++;else{if(!t[e(586)]&&r[e(586)])break;if(r[e(586)]||!t[e(586)]){if(t[e(554)]>r[e(554)])break;n++}else n++}}return n}[_n(391)](t){const e=_n,i=this[e(659)][e(521)](t.id);if(t[e(554)]&&(t[e(554)]=new Date(t[e(554)])),t[e(499)]){const i=this[e(551)][e(382)][e(684)](e(565));t[e(630)]=t[e(499)][e(677)]((t=>i[e(663)](t)))}i[e(654)](t,!0)}[_n(680)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(443)],i=null!==i?i:t[n(396)];const r=this[n(558)][n(543)](e,i),s={diffData:r[n(390)],authorsIds:r[n(499)],fromVersion:e,toVersion:i};if(!t||i!==t[n(396)]){const t=i-1,e=this[n(413)][n(402)][n(560)](t);s[n(554)]=e&&e[n(554)]||new Date}if(this[n(670)]&&e===this[n(670)][n(443)])for(const t of this[n(670)][n(630)])s[n(499)][n(476)](t.id)||s[n(499)][n(436)](t.id);return s}[_n(505)](t){const e=_n;if(!t||t[e(390)])return Promise[e(483)]();{const i=this[e(551)][e(590)][e(684)](e(612));return this[e(481)][e(521)]({channelId:i,revisionId:t.id})[e(675)]((i=>{const n=e;t[n(390)]=i[n(390)]}))}}[_n(389)](t,e,i){const n=_n;if(this[n(466)][n(387)](t)){const r=this[n(466)][n(684)](t);e=i?{...r,...e}:{...e,...r}}this[n(466)][n(531)](t,e)}[_n(479)](t){const e=_n,i=this[e(659)][e(655)]();i[e(634)](),i[e(498)]();const n=i[e(407)]((i=>i[e(396)]<=t))[e(396)];return n<this[e(599)]?this[e(599)]:n}[_n(559)](t){const e=_n,i=this[e(659)][e(521)](this[e(659)][e(482)]-1);if(i)this[e(434)]=i.id;else{const i=!this[e(551)][e(645)][e(400)][e(641)][e(407)]((t=>this[e(551)][e(645)][e(518)](t))),n=this[e(551)][e(382)][e(684)](e(565)).me.id,r=Qi(this[e(551)][e(570)],e(i?428:615));this[e(399)]({from:t,to:t,id:this[e(434)],name:r,creatorId:n})}}[_n(506)](t){const e=_n,i=this[e(413)][e(517)]();this[e(424)]=this[e(659)][e(521)](i),this[e(424)]||(this[e(424)]=this[e(399)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(399)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(680)]({from:e,to:i});o[s(627)]=t,o[s(516)]=n,o.id=r;const a=this[s(513)](o);return this[s(481)]&&this[s(389)](o.id,o,!0),a}[_n(628)](){const t=_n;this[t(551)][t(394)][t(550)](t(526))[t(538)]({model:t(576)})}[_n(679)](t){const e=_n;return(t=t[e(412)]((t=>!t[e(627)]||e(603)!==t[e(627)]&&e(668)!==t[e(627)])))[e(689)]((t=>{const i=e;i(625)!=typeof t&&(t[i(415)]=this[i(679)](t[i(415)]),t[i(575)]=t[i(575)][i(412)]((t=>!t[0][i(462)](i(527)))))})),t}}function Tn(t,e){const i=_n,n=e[i(622)][i(573)][i(400)];if(i(625)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(415)][i(677)]((t=>Tn(t,e)));return new(On[t[i(411)]]||Yi.ViewElement)(n,t[i(627)],t[i(575)],r)}}class Nn{constructor(t){const e=_n;this[e(551)]=t,this[e(480)]=new Map,this[e(452)]=-1,this[e(564)]=-1,this[e(617)]=new Map,this[e(658)]=new Map,this[e(660)]=new Map,this[e(552)]=new Map,this[e(510)]=new Map,this[e(579)]=new Map,this[e(555)]=new Map,this[e(572)]=new Map,this[e(401)]=new Map,this[e(379)]=new Map,this[e(398)]=1}[_n(430)](t){const e=_n;this[e(520)]=t;const i=new Map,n=new Map,r=this[e(551)][e(645)][e(400)][e(641)][e(677)]((t=>t[e(674)]));for(const t of r){const r=this[e(551)][e(645)][e(400)][e(589)](t),s=An(r);i[e(531)](t,s),n[e(531)](t,Object[e(651)](r[e(486)]()))}const s=Array[e(574)](this[e(551)][e(645)][e(685)])[e(677)]((t=>[t[e(627)],t[e(427)]()])),o=this[e(520)][e(578)];this[e(408)](o,i,s,n),this[e(650)]=this[e(398)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(531)](t,i),c[e(531)](t,{})}this[e(408)](Number[e(502)],a,[],c)}[_n(543)](t,e){const i=_n;if(this[i(452)]===t&&this[i(564)]<=e)this[i(480)][i(524)]>1&&this[i(537)](this[i(564)]),this[i(437)](this[i(564)],e,!0);else{if(!this[i(480)][i(387)](t)){const e=this[i(595)](t);this[i(584)](e,t,!1)}this[i(584)](t,e,!0)}return this[i(452)]=t,this[i(564)]=e,this[i(423)]()}[_n(385)](t){const e=_n;this[e(392)](),this[e(452)]=t[e(443)],this[e(564)]=t[e(396)];for(const i in t[e(390)]){const n=t[e(390)][i][e(485)],r=vi(t[e(390)][i][e(553)])||{},s=this[e(647)](t[e(390)][i][e(556)]);s[e(674)]=i,s[e(438)]=!n||!n[e(626)],s[e(626)]=()=>s[e(438)],this[e(552)][e(531)](i,s),this[e(510)][e(531)](i,r),n&&this[e(379)][e(531)](i,n);const o=this[e(557)](s);this[e(555)][e(531)](i,o);for(const[t,i]of s[e(685)]){if(!t[e(462)](e(614)))continue;const n=t[e(546)](":")[2];for(const t of i[e(444)]({singleCharacters:!0})){const i=this[e(605)](t),r=e(610)==t[e(411)]?t[e(672)][e(386)][e(406)](0,-1):t[e(672)][e(386)],s=o[e(514)](r)[e(492)](i);this[e(572)][e(531)](s,{userId:n})}}}this[e(650)]=this[e(398)];const i=[...Array(this[e(398)])[e(388)]()][e(406)](1)[e(412)]((t=>!this[e(572)][e(387)](t)));let n=0;const r=new Map;for(const s in t[e(390)]){const o=t[e(390)][s][e(485)],a=vi(t[e(390)][s][e(598)])||{},c=this[e(647)](t[e(390)][s][e(530)]);c[e(674)]=s,c[e(438)]=!o||o[e(626)],c[e(626)]=()=>c[e(438)],this[e(658)][e(531)](s,c),this[e(660)][e(531)](s,a);const u=this[e(557)](c,Number[e(502)]);this[e(579)][e(531)](s,u),r[e(531)](s,c[e(626)]()?a:{});for(const[t,i]of c[e(685)]){if(!t[e(462)](e(614)))continue;const n=t[e(546)](":")[2];for(const t of i[e(444)]({singleCharacters:!0})){const i=this[e(605)](t),r=this[e(398)]++,s=e(610)==t[e(411)]?t[e(672)][e(386)][e(406)](0,-1):t[e(672)][e(386)];u[e(514)](s)[e(456)](i,r),this[e(572)][e(531)](r,{userId:n})}}for(const t of this[e(551)][e(645)][e(410)](c)[e(444)]({singleCharacters:!0})){const r=this[e(605)](t),s=e(610)==t[e(411)]?t[e(672)][e(386)][e(406)](0,-1):t[e(672)][e(386)],o=u[e(514)](s);o[e(492)](r)>0||o[e(456)](r,i[n++])}for(const[t,i]of c[e(685)])t[e(462)](e(614))||this[e(617)][e(531)](t,i)}const s=Rn(e(601));this[e(552)][e(531)](e(601),s),this[e(555)][e(531)](e(601),this[e(557)](s,1));const o=Rn(e(601));this[e(658)][e(531)](e(601),o),this[e(579)][e(531)](e(601),this[e(557)](o,1));const a=Array[e(574)](this[e(658)])[e(677)]((([t,e])=>[t,An(e)]));this[e(408)](this[e(564)],a,this[e(617)],r)}[_n(647)](t){const e=_n,i=JSON[e(500)](t),n=this[e(551)][e(622)][e(573)][e(400)],r=new Yi.ViewDocumentFragment(n,i[e(677)]((t=>Tn(t,this[e(551)]))));return this[e(551)][e(631)][e(567)](r)}[_n(408)](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(531)](t,{start:e[r(549)][r(633)](),end:e[r(540)][r(633)](),rootName:e[r(545)][r(674)]});this[r(480)][r(531)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(537)](t){const e=_n;this[e(480)][e(587)](t)}[_n(468)](){const t=_n;this[t(392)](),this[t(452)]=-1,this[t(564)]=-1,this[t(480)][t(421)](),this[t(430)](this[t(520)])}[_n(392)](){const t=_n;this[t(572)][t(421)](),this[t(401)][t(421)](),this[t(379)][t(421)](),this[t(658)][t(421)](),this[t(660)][t(421)](),this[t(552)][t(421)](),this[t(510)][t(421)](),this[t(579)][t(421)](),this[t(555)][t(421)](),this[t(617)][t(421)](),this[t(398)]=1,this[t(650)]=this[t(398)]}[_n(557)](t,e=null){const i=_n;let n=null;t.is(i(465))||(n=new Yi.Element(t[i(627)],{vid_start:null===e?this[i(398)]++:e++}));const r=[];for(const n of t[i(454)]())if(n.is(i(544))){r[i(436)](this[i(557)](n,e));const t=r[r[i(482)]-1];null!==e&&(e=t.is(i(544),i(686))?t[i(492)](i(604))+1:t[i(492)](i(508))+1)}else for(let t=0;t<n[i(512)];t++)r[i(436)](new Yi.Element(i(686),{vid:null===e?this[i(398)]++:e++}));if(t.is(i(465))){const e=Rn(t[i(674)]);return e[i(446)](0,r),e}return n[i(456)](i(508),null===e?this[i(398)]++:e++),n[i(446)](0,r),n}[_n(584)](t,e,i){const n=_n;this[n(392)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(480)][n(684)](t);this[n(552)]=new Map(r),this[n(510)]=new Map(vi(o));for(const[t,e]of this[n(552)])if(n(601)!==t&&(this[n(658)][n(531)](t,An(e)),this[n(660)]=new Map(vi(o)),i)){const i=this[n(398)];this[n(579)][n(531)](t,this[n(557)](e)),this[n(555)][n(531)](t,this[n(557)](e,i))}this[n(650)]=this[n(398)],this[n(658)][n(531)](n(601),An(this[n(552)][n(684)](n(601)))),i&&this[n(579)][n(531)](n(601),this[n(557)](this[n(552)][n(684)](n(601))));for(const[t,e]of s){const i=this[n(552)][n(684)](e[n(674)]),r=this[n(658)][n(684)](e[n(674)]),s=new Yi.Range(this[n(377)](e[n(549)],i),this[n(377)](e[n(540)],i)),o=this[n(600)](s,r);i[n(685)][n(531)](t,s),this[n(617)][n(531)](t,o)}this[n(437)](t,e,i)}[_n(437)](t,e,i){const n=_n;for(const r of this[n(520)][n(432)](t,e))this[n(525)](r,i);for(const t of this[n(658)][n(653)]())t[n(685)][n(421)]();for(const[t,e]of this[n(617)])this[n(658)][n(684)](e[n(545)][n(674)])[n(685)][n(531)](t,e[n(633)]());const r=new Map,s=new Map;for(const[t,e]of this[n(658)])r[n(531)](t,An(e)),s[n(531)](t,this[n(660)][n(684)](t));this[n(408)](e,r,this[n(617)],s)}[_n(595)](t){const e=_n,i=Array[e(574)](this[e(480)][e(388)]());i[e(619)](((t,e)=>t-e)),i[e(634)]();for(const e of i)if(e<t)return e;return Number[e(502)]}[_n(496)](t,e){const i=_n,n=Array[i(574)](e[i(685)])[i(677)]((([e,n])=>[e,this[i(600)](n,t)]));t[i(685)]=new Map(n)}[_n(501)](t){const e=_n;for(const i of this[e(617)][e(653)]()){const n=i[e(471)](t),r=Yi.Range[e(484)](n);i[e(549)]=r[e(549)],i[e(540)]=r[e(540)]}}[_n(525)](t,e){const i=_n;if(i(416)!=t[i(411)]&&i(582)!=t[i(411)]){if(i(495)==t[i(411)]){const n=t[i(542)][i(545)][i(674)];this[i(658)][i(387)](n)||(this[i(658)][i(531)](n,Rn(n,!0)),this[i(660)][i(531)](n,{}),e&&this[i(579)][i(531)](n,Rn(n,!0)))}else{if(i(523)==t[i(411)]||i(451)==t[i(411)]||i(414)==t[i(411)])return void this[i(691)](t);i(581)==t[i(411)]&&this[i(667)](t)}if(i(581)!==t[i(411)]){const e=this[i(441)](t,this[i(658)]);e[i(591)](),this[i(501)](e)}if(e)switch(t[i(411)]){case i(495):this[i(693)](t);break;case i(683):case i(638):case i(449):this[i(548)](t);break;case i(463):this[i(571)](t);break;case i(546):this[i(606)](t)}}else this[i(529)](t,e)}[_n(441)](t,e){const i=_n,n=t[i(633)]();return n[i(666)]=t[i(666)],this[i(447)](n,e),n}[_n(690)](t){const e=_n;return t[e(677)]((t=>{const i=e,n=this[i(605)](t);return Number(t[i(378)][i(492)](n))}))}[_n(577)](t,e){const i=_n;if(t.is(i(544),i(686)))e[i(436)]({item:t,type:i(616)});else{t.is(i(544))&&e[i(436)]({item:t,type:i(487)});for(const n of t[i(454)]())this[i(577)](n,e);t.is(i(544))&&e[i(436)]({item:t,type:i(610)})}return e}[_n(423)](){const t=_n,e=new Map(this[t(572)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(552)][t(388)](),...this[t(658)][t(388)]()]);a[t(587)](t(601));for(const e of a){const i=this[t(658)][t(684)](e)||Rn(e,!1),n=this[t(552)][t(684)](e)||Rn(e,!1);i[t(626)]()||n[t(626)]()?(r[t(530)][e]=An(i),r[t(556)][e]=An(n),this[t(496)](r[t(556)][e],n),this[t(496)](r[t(530)][e],i),s[t(530)][e]=this[t(577)](this[t(579)][t(684)](e),[]),s[t(556)][e]=this[t(577)](this[t(555)][t(684)](e)||Rn(e,!1),[])):a[t(587)](e)}for(const r of a){const o=s[t(530)][r];for(const r of o){const s=this[t(605)](r),o=r[t(378)][t(492)](s);i[t(587)](o),o>=this[t(650)]&&n[t(531)](o,e[t(684)](o))}}for(const r of a){const a=s[t(530)][r],c=this[t(690)](s[t(556)][r]);let u=0;for(const r of a){const s=this[t(605)](r),a=r[t(378)][t(492)](s);if(!n[t(387)](a)&&!o[t(387)](a))if(i[t(387)](a))u++;else{if(a!=c[u]){const n=e[t(684)](a)||e[t(684)](c[u]);for(;a!=c[u];)i[t(387)](c[u])||(o[t(531)](c[u],n),e[t(531)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(530)][e];for(const e of r){const r=this[t(605)](e),s=e[t(378)][t(492)](r);if(o[t(387)](s)){const e=o[t(684)](s);i[t(387)](s)||i[t(531)](s,{...e}),n[t(531)](s,{...e})}}}for(const e of i[t(388)]())e>=this[t(650)]&&i[t(587)](e);const c=new Map;for(const e of a){let r=s[t(530)][e];for(const e of r)if(e[t(378)].is(t(544),t(580))){const i=this[t(605)](e),r=e[t(378)][t(492)](i);if(n[t(387)](r)){const i=e[t(378)][t(419)][t(419)][t(492)](t(635)),s=c[t(684)](i)||new Set;s[t(566)](n[t(684)](r)[t(374)]),c[t(531)](i,s)}}r=s[t(556)][e];for(const e of r)if(e[t(378)].is(t(544),t(580))){const n=this[t(605)](e),r=e[t(378)][t(492)](n);if(i[t(387)](r)){const n=e[t(378)][t(419)][t(419)][t(492)](t(635)),s=c[t(684)](n)||new Set;s[t(566)](i[t(684)](r)[t(374)]),c[t(531)](n,s)}}for(const e of c[t(388)]())(n[t(387)](e)||i[t(387)](e))&&c[t(587)](e)}for(const e of a){const r=s[t(530)][e];let o=null,a=null;for(const e of r){const r=this[t(605)](e),s=e[t(378)][t(492)](r),u=c[t(684)](s);u&&t(487)==e[t(411)]&&(o=Array[t(574)](u)[0],a=e[t(378)][t(492)](t(508))),o&&(i[t(531)](s,{userId:o}),n[t(531)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(556)][e],a=r[t(530)][e];for(const{userId:e}of this[t(401)][t(653)]())null!==e&&l[t(566)](e);for(const{userId:e}of this[t(379)][t(653)]())null!==e&&l[t(566)](e);this[t(490)](a,s[t(530)][e],n,t(376),l),this[t(490)](o,s[t(556)][e],i,t(681),l),u[e]={insertions:this[t(504)](a),deletions:this[t(504)](o),attachChange:this[t(379)][t(684)](e)||null,attributesBefore:vi(this[t(510)][t(684)](e))||{},attributesAfter:vi(this[t(660)][t(684)](e))}}return{diffData:u,authorsIds:Array[t(574)](l)}}[_n(682)](t){const e=_n;for(const[,i]of t[e(685)]){const t=i[e(549)][e(440)]()[e(412)]((t=>e(580)==t[e(627)]));for(const i of t)1==i[e(470)]&&i[e(618)](0).is(e(544),e(450))&&i[e(618)](0)[e(456)](e(561),!0)}}[_n(504)](t){const e=_n;this[e(682)](t);const i=this[e(551)][e(631)][e(497)](t,{}),n=Array[e(574)](i[e(454)]())[e(677)]((t=>this[e(624)](t)));return JSON[e(597)](n)}[_n(624)](t){const e=_n;if(t.is(e(686)))return t[e(631)];{const i=t;return{type:Object[e(388)](On)[e(407)]((e=>t instanceof On[e])),name:i[e(627)],attributes:Array[e(574)](i[e(486)]()),children:Array[e(574)](i[e(454)]())[e(677)]((t=>this[e(624)](t)))}}}[_n(490)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(551)][s(645)];for(let n=0;n<e[s(482)];n++){const r=this[s(605)](e[n]),c=e[n][s(378)][s(492)](r),h=i[s(684)](c),d=n==e[s(482)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(374)]!=o[s(374)])&&(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),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(374)],d=l(614)+n+":"+h+":"+c++,f=u[l(404)](i,a);t[l(685)][l(531)](d,f),null!==h&&r[l(566)](h)}}[_n(605)](t){const e=_n;switch(t[e(411)]){case e(487):return e(635);case e(610):return e(508);default:return e(604)}}[_n(447)](t,e){const i=_n;t[i(380)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(684)](r[i(545)][i(674)]);t[n]=this[i(377)](r,s)}if(r instanceof Yi.Range){const s=e[i(684)](r[i(545)][i(674)]);t[n]=this[i(600)](r,s)}i(545)===n&&(t[i(545)]=e[i(684)](t[i(545)][i(674)]))}}[_n(600)](t,e){const i=_n;return this[i(551)][i(645)][i(404)](this[i(377)](t[i(549)],e),this[i(377)](t[i(540)],e))}[_n(377)](t,e){const i=_n;return this[i(551)][i(645)][i(381)](e,t[i(386)],t[i(429)])}[_n(693)](t){const e=_n,i=this[e(579)][e(684)](t[e(542)][e(545)][e(674)]),n=this[e(377)](t[e(542)],i),r=null===t[e(666)]?null:t[e(666)]||this[e(551)][e(382)][e(684)](e(565)).me.id,s=n[e(419)],o=this[e(398)],a=[];for(const i of t[e(455)])if(i.is(e(544)))a[e(436)](this[e(557)](i));else for(let t=0;t<i[e(512)];t++)a[e(436)](new Yi.Element(e(686),{vid:this[e(398)]++}));const c=this[e(398)];for(let t=o;t<c;t++)this[e(572)][e(531)](t,{userId:r});s[e(446)](n[e(648)],a)}[_n(548)](t){const e=_n;(t=this[e(441)](t,this[e(579)]))[e(591)]();const i=null===t[e(666)]?null:t[e(666)]||this[e(551)][e(382)][e(684)](e(565)).me.id,n=t[e(409)](),r=n[e(419)],s=n[e(648)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(618)](e);s.is(a(544),a(686))?n[a(531)](s[a(492)](a(604)),{userId:i}):(n[a(531)](s[a(492)](a(635)),{userId:i}),t(n,s,0,s[a(470)]),n[a(531)](s[a(492)](a(508)),{userId:i}))}}(this[e(572)],r,s,s+t[e(678)])}[_n(571)](t){const e=_n,i=null===(t=this[e(441)](t,this[e(579)]))[e(666)]?null:t[e(666)]||this[e(551)][e(382)][e(684)](e(565)).me.id,n=t[e(453)][e(419)],r=t[e(494)][e(419)],s=n[e(492)](e(508)),o=r[e(492)](e(635));n[e(456)](e(508),r[e(492)](e(508))),r[e(456)](e(508),s),this[e(572)][e(531)](o,{userId:i}),this[e(572)][e(531)](s,{userId:i}),t[e(591)]()}[_n(606)](t){const e=_n,i=null===(t=this[e(441)](t,this[e(579)]))[e(666)]?null:t[e(666)]||this[e(551)][e(382)][e(684)](e(565)).me.id,n=t[e(442)],r=t[e(602)][e(419)];t[e(591)]();const s=r[e(492)](e(508)),o=t[e(425)][e(541)];if(n){const t=o[e(492)](e(508)),n=r[e(492)](e(508));r[e(456)](e(508),t),o[e(456)](e(508),n),this[e(572)][e(531)](r[e(492)](e(508)),{userId:i}),this[e(572)][e(531)](o[e(492)](e(635)),{userId:i})}else{const t=this[e(398)]++,n=this[e(398)]++;r[e(456)](e(508),t),o[e(456)](e(635),n),o[e(456)](e(508),s),this[e(572)][e(531)](t,{userId:i}),this[e(572)][e(531)](n,{userId:i})}}[_n(667)](t){const e=_n;if(!t[e(422)])return;const i=(t=this[e(441)](t,this[e(658)]))[e(637)]?t[e(637)][e(545)]:null,n=t[e(459)]?t[e(459)][e(545)]:null;i&&this[e(617)][e(587)](t[e(627)]),n&&this[e(617)][e(531)](t[e(627)],t[e(459)][e(633)]());const r=null===t[e(666)]?null:t[e(666)]||this[e(551)][e(382)][e(684)](e(565)).me.id,s=t[e(627)];if(!this[e(401)][e(387)](s))return void this[e(401)][e(531)](s,{range:t[e(637)],userId:r});const o=this[e(401)][e(684)](s),a=o[e(503)],c=t[e(459)];null==a&&null==c||a&&c&&a[e(673)](c)?this[e(401)][e(587)](t[e(627)]):o[e(374)]=r}[_n(529)](t,e){const i=_n;this[i(658)][i(387)](t[i(674)])?this[i(658)][i(684)](t[i(674)])[i(438)]=t[i(519)]:(this[i(658)][i(531)](t[i(674)],Rn(t[i(674)],!0)),this[i(660)][i(531)](t[i(674)],{}),e&&this[i(579)][i(531)](t[i(674)],Rn(t[i(674)],!0)));const n=null===t[i(666)]?null:t[i(666)]||this[i(551)][i(382)][i(684)](i(565)).me.id,r=this[i(379)][i(684)](t[i(674)]);r&&r[i(374)]===n?this[i(379)][i(587)](t[i(674)]):this[i(379)][i(531)](t[i(674)],{userId:n,isAttached:t[i(519)]})}[_n(691)](t){const e=_n,i=this[e(660)][e(684)](t[e(545)][e(674)]);null===t[e(569)]?delete i[t[e(431)]]:i[t[e(431)]]=t[e(569)]}}function An(t){const e=_n,i=Rn(t[e(674)],t[e(626)]());for(const n of t[e(454)]()){const t=n[e(511)](!0);i[e(687)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(674)]=t,n[i(438)]=e,n[i(626)]=()=>n[i(438)],n}function Mn(t,e,i){const n=_n,r=n(610)==t[n(411)]?i[n(397)](t[n(378)],n(540)):i[n(445)](t[n(378)]);return i[n(381)](e,r[n(386)],r[n(429)])}function Vn(t,e,i){const n=_n,r=n(487)==t[n(411)]?i[n(397)](t[n(378)],0):i[n(460)](t[n(378)]);return i[n(381)](e,r[n(386)],r[n(429)])}var Dn=i(311),En=i(673),Cn=i.n(En),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Hn=i.n(Un),Zn=i(426),qn={attributes:{"data-cke":!0}};qn.setAttributes=Wn(),qn.insert=Pn().bind(null,"head"),qn.domAPI=Fn(),qn.insertStyleElement=Hn();Cn()(Zn.A,qn);Zn.A&&Zn.A.locals&&Zn.A.locals;var $n=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Hn();Cn()($n.A,Bn);$n.A&&$n.A.locals&&$n.A.locals;const Yn=Jn;function Gn(){const t=["28MTBRXk","locale","arrowleft","extendTemplate","add","revisionNameInputView","focus","stopPropagation","5446859SxDkSf","716056XDZpyF","Name of the revision","27EXhCqn","errorText","optional","1421110WyKmDL","ck-revision-history-save-revision-form","_createRevisionNameInput","set","3aNHnri","listenTo","arrowup","arrowdown","5gEXQis","556964nvMHnH","37213AdtQtn","301532dmhpuM","setTemplate","ck-responsive-form","revisionNameInputValue","label","form","arrowright","220","trim","focusTracker","render","keystrokes","value","input","2651718VmKIoe","revisionName","reset","element","fieldView"];return(Gn=function(){return t})()}function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=Jn,i=t();for(;;)try{if(255401===parseInt(e(472))/1+parseInt(e(471))/2*(parseInt(e(510))/3)+-parseInt(e(473))/4+parseInt(e(470))/5*(parseInt(e(487))/6)+-parseInt(e(492))/7*(parseInt(e(501))/8)+-parseInt(e(503))/9*(-parseInt(e(506))/10)+-parseInt(e(500))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends Dn.View{constructor(e,i){const n=Jn;super(e),this[n(482)]=new t.FocusTracker,this[n(484)]=new t.KeystrokeHandler,this[n(509)](n(476),""),this[n(497)]=this[n(508)](i),this[n(474)]({tag:n(478),attributes:{class:["ck",n(507),n(475)],tabindex:"-1"},children:[this[n(497)]]}),(0,Dn.injectCssTransitionDisabler)(this)}[Yn(483)](){const t=Yn;super[t(483)](),(0,Dn.submitHandler)({view:this}),this[t(482)][t(496)](this[t(497)][t(490)]),this[t(484)][t(511)](this[t(490)]);const e=e=>e[t(499)]();this[t(484)][t(509)](t(479),e),this[t(484)][t(509)](t(494),e),this[t(484)][t(509)](t(512),e),this[t(484)][t(509)](t(513),e)}[Yn(498)](){const t=Yn;this[t(497)][t(498)]()}get[Yn(488)](){const t=Yn;return this[t(497)][t(491)][t(490)][t(485)][t(481)]()}set[Yn(488)](t){const e=Yn;this[e(497)][e(491)][e(490)][e(485)]=t[e(481)]()}[Yn(489)](){const t=Yn;this[t(497)][t(491)][t(490)][t(485)]="",this[t(497)][t(504)]=null}[Yn(508)](t){const e=Yn,i=new Dn.LabeledFieldView(this[e(493)],Dn.createLabeledInputText),n=i[e(491)];n[e(495)]({attributes:{maxlength:e(480)}});let r=Qi(this[e(493)],e(502));return!t&&(r+=" ("+Qi(this[e(493)],e(505))+")"),i[e(477)]=r,n.on(e(486),(()=>{const t=e;this[t(476)]=n[t(490)][t(485)][t(481)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=411]})(t,e)}function tr(){const t=["execute","isOpen","isOfficialPlugin","294XrSprG","hide","menuitem","focus","isReadOnly","role","get","418208DCxyMu","91QwUXiL","editor","view","showRevisionViewerCallback","Open revision history","revisionHistory","menuBar:revisionHistory","_registerMenuComponent","render","show","Accept","36830717ddVMJh","isPremiumPlugin","revisionHistory.requireRevisionName","Dialog","config","init","_createSaveRevisionFormView","delegate","419247AVGIpy","3306812HictdV","934pMcqMj","ck-button-action","editing","requires","RevisionTracker","submit","reset","saveRevision","The revision name cannot be empty.","items","panelView","plugins","addMany","RevisionHistoryUI","menu","Cancel","revisionName","errorText","bind","locale","set","Save current revision","revisionNameInputView","240hOkqUz","add","revisionSave","children","history","465859ZpOGhZ","55uhqRwr","_showDialog","_saveRevisionFormView","componentFactory","pluginName","isReady","152526jlJNyI","buttonView","isEnabled","Revision history"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(583502===-parseInt(e(481))/1+parseInt(e(453))/2*(parseInt(e(424))/3)+-parseInt(e(452))/4+-parseInt(e(411))/5*(-parseInt(e(417))/6)+-parseInt(e(432))/7*(parseInt(e(431))/8)+-parseInt(e(451))/9*(parseInt(e(476))/10)+parseInt(e(443))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends $i.Plugin{static get[Xn(415)](){return Xn(466)}static get[Xn(423)](){return!0}static get[Xn(444)](){return!0}static get[Xn(456)](){return[xn]}[Xn(448)](){const t=Xn,e=this[t(433)],i=e[t(464)][t(430)](t(457));e.ui[t(414)][t(477)](t(437),(n=>{const r=t,s=(0,Dn.createDropdown)(n),o=s[r(463)][r(479)],a=new Dn.ListView(n),c=new Dn.ListItemView(n),u=new Dn.ButtonView(n),l=new Dn.ListItemView(n),h=new Dn.ButtonView(n);return s[r(471)](r(419)).to(i,r(416),i,r(419),e,r(428),((t,e,i)=>t&&e&&!i)),s[r(418)][r(473)]({icon:$i.icons[r(480)],label:Qi(n,r(420)),tooltip:!0}),u[r(473)]({label:Qi(n,r(474)),withText:!0,role:r(426)}),u[r(471)](r(419)).to(i,r(416),i,r(419),e,r(428),((t,e,i)=>t&&e&&!i)),u.on(r(421),(()=>this[r(412)]())),h[r(473)]({label:Qi(n,r(436)),withText:!0,role:r(426)}),h[r(471)](r(419)).to(i,r(416),e,r(428),((t,e)=>t&&!e)),h.on(r(421),(()=>{const t=r;e[t(447)][t(430)](t(437))[t(435)](),s[t(422)]=!1,e[t(455)][t(434)][t(427)]()})),c[r(479)][r(477)](u),l[r(479)][r(477)](h),a[r(429)]=r(467),a[r(462)][r(465)]([c,l]),o[r(477)](a),s})),e.ui[t(414)][t(477)](t(438),(()=>this[t(439)]()))}[Xn(439)](){const t=Xn,e=this[t(433)],i=e[t(472)],n=new Dn.MenuBarMenuView(i),r=new Dn.MenuBarMenuListView(i);n[t(418)][t(473)]({icon:$i.icons[t(480)],label:Qi(i,t(420))});const s=new Dn.MenuBarMenuListItemView(i,n),o=new Dn.MenuBarMenuListItemButtonView(i);o[t(473)]({label:Qi(i,t(474))}),o[t(450)](t(421)).to(n),o.on(t(421),(()=>{this[t(412)]()})),s[t(479)][t(477)](o),r[t(462)][t(477)](s);const a=new Dn.MenuBarMenuListItemView(i,n),c=new Dn.MenuBarMenuListItemButtonView(i);return c[t(473)]({label:Qi(i,t(436))}),c[t(450)](t(421)).to(n),c.on(t(421),(()=>{const i=t;e[i(447)][i(430)](i(437))[i(435)]()})),a[t(479)][t(477)](c),r[t(462)][t(477)](a),n[t(463)][t(479)][t(477)](r),n}[Xn(412)](){const t=Xn,e=this[t(433)],i=e[t(472)],n=e[t(464)][t(430)](t(446)),r=e[t(464)][t(430)](t(457));function s(r){const s=t;e[s(447)][s(430)](s(445))&&""===r[s(469)]?r[s(475)][s(470)]=Qi(i,s(461)):(e[s(464)][s(430)](xn)[s(460)]({name:r[s(469)]}),n[s(425)]())}this[t(413)]||(this[t(449)](),this[t(413)].on(t(458),(()=>s(this[t(413)])))),this[t(413)][t(459)](),n[t(441)]({id:t(478),title:Qi(i,t(474)),isModal:!0,content:this[t(413)],actionButtons:[{label:Qi(e[t(472)],t(468)),withText:!0,onExecute:()=>n[t(425)]()},{label:Qi(e[t(472)],t(442)),class:t(454),withText:!0,onCreate(i){const n=t;i[n(471)](n(419)).to(r,n(416),r,n(419),e,n(428),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(413)])}]})}[Xn(449)](){const t=Xn,e=this[t(433)],i=e[t(472)];this[t(413)]=new Kn(i,e[t(447)][t(430)](t(445))),this[t(413)][t(440)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=164]})(t,e)}function rr(){const t=["ck-revision-change__","ck-revision-change__label","639pvegiJ","setTemplate","12034CrLqcH","Suggested by","ck-annotation","750144cgAfVC","element","name","isSuggestion","1115856hJAwCr","62344qINtBL","changeId","13wKKIsa","focus","Added by","div","add","281690XtZHoj","data","209pWjmaW","author","_model","60Myztzo","1326612lueSdK","Removed by","ck-revision-change","152590QrlULC","type","set","span","bindTemplate"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(431083===-parseInt(e(195))/1*(parseInt(e(185))/2)+parseInt(e(173))/3+parseInt(e(188))/4+-parseInt(e(167))/5*(-parseInt(e(172))/6)+parseInt(e(192))/7+-parseInt(e(193))/8*(parseInt(e(183))/9)+parseInt(e(176))/10*(-parseInt(e(169))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Dn.View{constructor(t,e){const i=nr;super(t),this[i(171)]=e,this[i(194)]=e.id;const n=this[i(180)],r=Qi(t,e[i(168)][i(191)]?i(186):i(166)==e[i(177)]?i(164):i(174));this[i(178)](i(177),e[i(177)]),this[i(184)]({tag:i(165),attributes:{class:[i(187),i(175),n.to(i(177),(t=>i(181)+t))],tabindex:-1},children:[{tag:i(179),children:[{tag:i(179),attributes:{class:[i(182)]},children:[{text:r}]},{text:" "+e[i(170)][i(190)]}]}]})}[ir(196)](){const t=ir;this[t(189)][t(196)]()}}function or(){var t=["author","1162383AiCuIJ","rootName","6geTgHj","3234424ZvcZdo","type","7KrnPwp","1801881dvUsDu","547051VnfzPl","2cGvEUz","toJSON","createdAt","data","set","7860770DvJSRm","413510fqSnMj","131836BzWmLY"];return(or=function(){return t})()}var ar=cr;function cr(t,e){var i=or();return(cr=function(t,e){return i[t-=289]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(302786===parseInt(e(289))/1+-parseInt(e(290))/2*(-parseInt(e(299))/3)+parseInt(e(297))/4+parseInt(e(296))/5*(-parseInt(e(301))/6)+-parseInt(e(304))/7*(-parseInt(e(302))/8)+-parseInt(e(305))/9+-parseInt(e(295))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(298)]=e[i(298)],this[i(303)]=e[i(303)],this[i(293)]=e[i(293)]||{},this[i(300)]=e[i(300)],this[i(294)](i(292),e[i(292)])}[ar(291)](){var t=ar;return{id:this.id,authorId:this[t(298)].id,type:this[t(303)],data:this[t(293)],createdAt:this[t(292)]}}}const lr=hr;function hr(t,e){const i=fr();return(hr=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=hr,i=t();for(;;)try{if(681036===-parseInt(e(109))/1+-parseInt(e(114))/2+-parseInt(e(115))/3*(parseInt(e(123))/4)+-parseInt(e(119))/5+parseInt(e(111))/6+-parseInt(e(120))/7*(parseInt(e(122))/8)+parseInt(e(117))/9*(parseInt(e(116))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class dr{constructor(e,i){const n=hr;this[n(118)]=e,this[n(121)]=i,this[n(112)]=new t.Collection}[lr(110)](t){const e=lr;for(const i of t)this[e(112)][e(113)](i)}}function fr(){const t=["1253833EiVMfq","_setChanges","8055042EmVQMh","changes","add","256042iSOmuW","382989LHXmiS","170Fohbdh","1300707jjghxx","newRevisionId","3948225JCLJYO","539959VBTCmh","oldRevisionId","32mrZWCL","20URFpzw"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Hn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=224]})(t,e)}function gr(){const t=["mapViewToDom","_getRevisionsRange","keys","consume","changes","merge","data-change-id","insert","getRevisionData","removeMarker","markerName","isLimit","pluginName","highest","getRevision","isAfter","ck-editor__editable__overlay","nextSibling","isInline","forward","modelRange","_removeUnsupportedChanges","66434MgkVeV","isEqual","side","forceDisabled","view","isAdded","listenTo","isBlock","right","init","change","clear","currentChangeNumber","revisionHistoryLabel","revision-start","remove","markerRange","affectsData","forEach","ck-revision-history-root-remove","addMarker:revision-suggestion:deletion","attribute:vid","_changeIdToChange","filter","bottom","indexOf","from","toViewPosition","_setDistance","_activeViewTarget","-new","isRemoveSuggestion","isBefore","ck-revision-history-root--active","get","_getViewForChange","distance","_setConversion","rootName","isEnabled","removeMarker:revision-suggestion","createPositionFromPath","RevisionViewer","getIndex","toData","markersStart","softBreak","addRoot","sort","mapper","getAttribute","catch","writer","_cleanMarkers","change:activeChange","ck-suggestion-marker-merge","addMarker:revision-suggestion:insertion","useFillerType","addHighlight","diffData","splice","attributesAfter","elementToAttribute","restoreRevision","repository","activeChange","_refreshStartEndIndex","numberOfChanges","refresh","revisionHistoryAttachChange","done","data-revision-","addClass","enqueueChange","_changeView","next","domEvent","editor","isRemoved","destroy","all","1320429UrnVYc","1226229DMpfTb","values","change:numberOfChanges","isAtEnd","_markSuggestions","editingDowncast","pairId","isOnRoot","addMarker:revision","getAttributes","flat","revision-end","119804OogRYJ","updatePosition","compare","maxOffset","newRevisionId","vid_end","_fixObsoleteTags","getWalker","ck-suggestion-marker-split","getRootNames","userId","unshift","uiElement","abs","revision-suggestion","_makeModelFromViewString","elementStart","reconvertMarker","editing","string","element:pre","dataDowncast","index","markerToData","unbindElementFromMarkerName","toViewElement","insertion","isAttached","isSuggestion","execute","getItems","removeClass","document","515qdELXK","children","top","_initInteractions","change:activeView","stop","end","bind","adapter","ck-revision-history-root-add","_getChangeFromId","test","text","20kpuyBo","includes","elementEnd","ck-suggestion-marker","parse","24KpnNCE","createPositionBefore","getCustomProperty","error","return","vid","_processTape","_getDiff","viewItem","checkAttribute","restoreRevisionCallback","selection","find","_markInsertions","activeView","commands","isPremiumPlugin","_data","markerNameToElements","authors","insertions","startIndex","bindElementToMarker","locale","ck-revision-history-root-","_balloon","dataToMarker","_markMarkers","delete","conversion","element","_findChangeIdFromDomTarget","createRange","changeId","backward","_update","_removeRevisionMarkers","vid_start","revision:","revisionHistory","_sortAndFilterDiffChanges","hasAttribute","config","isReady","for","range","suggestion","upcast","endIndex","resolve","revision-viewer","mouseover","code","push","removeAttribute","marked","start","_setChanges","low","slice","getRoot","downcastDispatcher","getRevisionRootsAttributes","detachRoot","first","isIncorrect","default","_makeModelFromTape","setAttribute","suggestion:","attachChange","markerToHighlight","object","122274AEeklK","data","wrap","revision-comment:","level","change:isEnabled","showNextChange","_threeWayMerge","getChild","7CPPFos","plugins","953352NXPjKm","toModel","loadRevisionData","span","10hYfEkz","consumable","requires","markersEnd","diff","attributes","offsetSize","comment","model","findIndex","map","createUIElement","oldRevisionId","attributesBefore","isCollapsed","createRevision","_removeMissingPairs","addRevisionData","target","removeMarker:revision","concat","_cleanUp","pop","27354ktjPqx","name","ck-suggestion-marker--active","deletions","domConverter","getLaterVisibleRevision","length","isOfficialPlugin","enableReadOnlyMode","deletion","shift","hasClass","previousPosition","then","ck-suggestion-preview-marker-","createRangeIn","nodeAfter","type","nextPosition","ck-suggestion-marker-","WidgetToolbarRepository","isAtStart","addRevision","change:isReady","_markMismatchedRemovedTags","isAddSuggestion","_appendChild","set","parent","left","add","isContent","observeMarkers","item","high","POSITIVE_INFINITY","revision-suggestion:","split","roots","ck-suggestion-preview-marker","_makeTape","collaboration.channelId","_getViewObj","has","startsWith","getDomRoot","showStack","showPreviousChange","_step","toViewRange","createAttributeElement","_revisions","isNavigationMode","schema","revision","RevisionsRepository","_joinTapes","getClientRects","isObject","processor","markers","mousedown"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(274874===-parseInt(e(382))/1*(-parseInt(e(489))/2)+-parseInt(e(231))/3+parseInt(e(243))/4+-parseInt(e(276))/5*(-parseInt(e(405))/6)+-parseInt(e(376))/7*(-parseInt(e(378))/8)+-parseInt(e(367))/9*(parseInt(e(289))/10)+-parseInt(e(230))/11*(parseInt(e(294))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends $i.Plugin{static get[vr(479)](){return vr(531)}static get[vr(412)](){return!0}static get[vr(310)](){return!0}static get[vr(384)](){return[Bi.Users,Dn.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(553)]=this[e(226)][e(377)][e(523)](e(460)),this[e(432)](e(554),null),this[e(432)](e(308),null),this[e(518)]=null,this[e(432)](e(386),null),this[e(432)](e(337),!1),this[e(432)](e(528),!0),this.on(e(372),((t,i,n)=>{const r=e;this[r(554)]=null,this[r(308)]=null,this[r(226)][r(261)][r(493)][r(499)]((t=>{const e=r;for(const i of this[e(226)][e(261)][e(493)][e(275)][e(443)])n?t[e(274)](e(483),i):t[e(561)](e(483),i)}))})),this[e(283)](e(457)).to(this,e(554),(t=>null!==t)),this[e(283)](e(501)).to(this,e(337),this,e(386),this,e(554),((t,i,n)=>t&&n?i[e(471)][e(532)](n):0)),this[e(283)](e(556)).to(this,e(337),this,e(386),((t,i)=>t?i[e(471)][e(411)]:0)),this[e(563)]=null,this[e(511)]=new Map,this[e(284)]=null,this[e(319)]=this[e(226)][e(377)][e(523)](Dn.ContextualBalloon)}[vr(498)](){const t=vr,e=this[t(226)],i=new Ir(e,{direction:t(328)}),n=new Ir(e,{direction:t(486)});e[t(309)][t(435)](t(452),i),e[t(309)][t(435)](t(373),n),e[t(309)][t(435)](t(552),new _r(e)),this.on(t(233),(()=>{const e=t;i[e(557)](),n[e(557)]()})),this[t(526)](),this[t(279)](),e[t(413)](t(344)),e[t(377)][t(448)](t(425))&&e[t(377)][t(523)](t(425))[t(492)](t(344))}async[vr(475)](t){const e=vr;await this[e(380)](t);const i={};for(const n in t[e(548)]){if(t[e(548)][n][e(364)]&&!t[e(548)][n][e(364)][e(270)])continue;const r=this[e(330)](JSON[e(293)](t[e(548)][n][e(314)])),s=this[e(226)][e(261)][e(493)][e(275)],o=new Yi.ViewDocumentFragment(s,r[e(392)]((t=>this[e(447)](t))));this[e(226)][e(368)][e(464)][e(546)](e(349)),i[n]=this[e(226)][e(368)][e(464)][e(533)](o),this[e(226)][e(368)][e(464)][e(546)](e(360))}return i}async[vr(356)](t){const e=vr;await this[e(380)](t);const i={};for(const n in t[e(548)])t[e(548)][n][e(364)]&&!t[e(548)][n][e(364)][e(270)]||(i[n]=t[e(548)][n][e(550)]||{});return i}[vr(330)](t){const e=vr;return(t=t[e(512)]((t=>!t[e(406)]||e(503)!==t[e(406)]&&e(242)!==t[e(406)])))[e(507)]((t=>{const i=e;i(262)!=typeof t&&(t[i(277)]=this[i(330)](t[i(277)]),t[i(387)]=t[i(387)][i(512)]((t=>!t[0][i(449)](i(560)))))})),t}async[vr(245)](t,e,i=!1){const n=vr;if(!this[n(528)])return;const r=this[n(386)],s=this[n(553)],o=n(262)==typeof t?s[n(481)](t):t,a=n(262)==typeof e?s[n(481)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(386)]&&this[n(386)][n(247)]===c&&this[n(386)][n(394)]===u)return Promise[n(343)]();this[n(337)]=!1,this[n(308)]=null,this[n(554)]=null,this[n(386)]=new dr(c,u);const l=this[n(468)](o,a,!0)[n(392)]((t=>this[n(380)](t)));return l[n(347)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(229)](l)[n(418)]((()=>{const t=n;if(!this[t(528)])return;this[t(403)]();const e=this[t(301)](c,u);for(const i of e[t(471)])this[t(511)][t(432)](i.id,i);this[t(226)][t(390)][t(562)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(226)][n(390)][n(275)][n(252)]())i[n(357)](t);for(const t of Object[n(469)](e[n(390)])){const r=i[n(536)](t);for(const s of Object[n(469)](e[n(387)][t]))i[n(362)](s,e[n(387)][t][s],r);i[n(474)](e[n(390)][t],r,0)}})),this[t(386)][t(351)](this[t(334)](e[t(471)])),this[t(337)]=!0}))[n(540)]((t=>{const e=n;console[e(297)](t),this[e(403)](),r&&(this[e(386)]=r),this[e(337)]=!0}))}[vr(399)](t,e){const i=vr,n=this[i(553)][i(397)](t);return n.on(i(329),((t,i,r)=>e(i,r,n))),this[i(553)][i(427)](n),n}[vr(380)](t){const e=vr;if(!t||t[e(548)])return Promise[e(343)]();{const i=this[e(226)][e(336)][e(523)](e(446));return this[e(284)][e(481)]({channelId:i,revisionId:t.id})[e(418)]((i=>{const n=e;t[n(329)]({diffData:i[n(548)]},!0)}))}}[vr(403)](){const t=vr;this[t(554)]=null,this[t(542)](),this[t(563)]&&this[t(563)][t(228)](),this[t(563)]=null,this[t(511)][t(500)](),this[t(226)][t(390)][t(562)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(226)][i(390)][i(275)][i(252)]())e[i(357)](t)}))}[vr(334)](t){const e=vr,i=[],n=new Map;for(const t of this[e(226)][e(390)][e(275)][e(252)]()){const r=this[e(226)][e(261)][e(493)][e(450)](t);if(!r)continue;const s=r[e(462)]()[e(438)](0);s&&(i[e(347)](t),n[e(432)](t,s))}return i[e(537)](((t,i)=>{const r=e,s=n[r(523)](t),o=n[r(523)](i);return s.y-o.y||s.x-o.x})),(t=t[e(512)]((t=>i[e(290)](t[e(527)]))))[e(537)](((t,n)=>i[e(514)](t[e(527)])-i[e(514)](n[e(527)]))),t}[vr(445)](t){const e=vr,i=Array[e(515)](t[e(465)])[e(512)]((([t,i])=>t[e(449)](e(332))&&!i[e(396)])),n=Array[e(515)](this[e(226)][e(390)][e(420)](t)[e(250)]({singleCharacters:!0}));if(0!=i[e(411)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(442)](":");if(r[e(282)][e(490)](t[e(423)])&&i[e(415)](),(t[e(417)][e(490)](r[e(350)])||t[e(417)][e(482)](r[e(350)]))&&(e(269)==s?t[e(494)]={userId:o}:e(414)==s&&(t[e(227)]={userId:o})),0==i[e(411)])break}return n}[vr(555)](t){const e=vr,i=new Map;for(let n=0;n<t[e(411)];n++)e(288)===t[n][e(422)]?(t[n][e(438)][e(315)]=n,t[n][e(438)][e(342)]=n):(e(259)===t[n][e(422)]?t[n][e(438)][e(315)]=n:e(291)===t[n][e(422)]&&(t[n][e(438)][e(342)]=n),i[e(432)](t[n].id,n));for(const n of i[e(232)]())e(259)===t[n][e(422)]?t[n][e(438)][e(342)]=i[e(523)](t[n][e(237)]):e(291)===t[n][e(422)]&&(t[n][e(438)][e(315)]=i[e(523)](t[n][e(237)]))}[vr(300)](t){const e=vr;for(let i=0;i<t[e(411)];i++){if(e(259)===t[i][e(422)])t[i][e(438)][e(315)]=i;else if(e(291)===t[i][e(422)]){t[i][e(438)][e(342)]=i;const n=t[i][e(438)][e(315)];t[n][e(237)]=t[i].id,t[i][e(237)]=t[n].id}else t[i][e(438)][e(315)]=i,t[i][e(438)][e(342)]=i,t[i][e(237)]=null;t[i][e(534)]||(t[i][e(534)]=[],t[i][e(385)]=[])}}[vr(307)](t,e){const i=vr,n=t[i(512)]((t=>!t[i(494)]));for(let t=0;t<e[i(411)];t++)e[t][i(494)]&&(n[t][i(494)]=e[t][i(494)])}[vr(258)](t){const e=vr,i=JSON[e(293)](t),n=this[e(226)][e(261)][e(493)][e(275)],r=new Yi.ViewDocumentFragment(n,i[e(392)]((t=>this[e(447)](t))));return this[e(226)][e(368)][e(379)](r)}[vr(447)](t){const e=vr,i=this[e(226)][e(261)][e(493)][e(275)];if(e(262)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(277)][e(392)]((t=>this[e(447)](t)));return new(kr[t[e(422)]]||Yi.ViewElement)(i,t[e(406)],t[e(387)],n)}}[vr(301)](t,e=null){const i=vr,n=this[i(553)][i(481)](t),r=e?this[i(553)][i(481)](e):null,s=this[i(468)](n,r),o=s[s[i(411)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(411)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(469)](e[i(548)]))if(e[i(548)][t][i(364)]){const n=e[i(548)][t][i(364)];n[i(270)]?(u[i(435)](t),l[i(448)](t)&&l[i(523)](t)[i(253)]==n[i(253)]?l[i(322)](t):l[i(432)](t,n)):l[i(448)](t)?(u[i(322)](t),l[i(322)](t)):(u[i(435)](t),l[i(432)](t,n))}else u[i(435)](t)}for(const t of u){const e=l[i(448)](t)&&!l[i(523)](t)[i(270)];let n=e?s[i(411)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(548)][t]){const n=e?o[i(548)][t][i(395)]:o[i(548)][t][i(550)];c[i(387)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(390)]={};for(const e of t[i(313)])a[i(432)](e.id,e);for(const e of u){const n=t[i(548)][e]?t[i(548)][e][i(314)]:"[]",r=t[i(548)][e]?t[i(548)][e][i(408)]:"[]";t[i(390)][e]={insertions:this[i(258)](n),deletions:this[i(258)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(515)](n[i(390)][t][i(314)][i(465)])[i(512)]((([t])=>!t[i(449)](i(332)))));let h=0;for(const o of s){const s=this[i(445)](o[i(390)][t][i(314)]);o==n?(e=s,r=e[i(411)],e[i(507)]((t=>{t.id=h++})),this[i(300)](e)):this[i(307)](e,s);const a=e[i(512)]((t=>!t[i(494)]))[i(392)]((t=>t.id));let c=0;const l=this[i(445)](o[i(390)][t][i(408)]);l[i(507)]((t=>{t[i(227)]?t.id=r++:t.id=a[c++]})),this[i(300)](l),this[i(517)](e,i(494)),this[i(517)](l,i(227)),o==n&&this[i(321)](e,u),e=this[i(461)](e,l),this[i(555)](e),this[i(517)](e,i(227))}e=e[i(512)]((t=>!(t[i(494)]&&t[i(227)])));const d=new Map(o[i(390)][t][i(408)][i(465)]),f=new Set(u[i(469)]());for(const t of d[i(469)]())f[i(322)](t);this[i(235)](e,f),this[i(249)](e),e=this[i(398)](e),e=this[i(429)](e),e=this[i(488)](e);const{root:m,changes:p}=this[i(361)](e,a,t);c[i(390)][t]=m;const v=l[i(523)](t);if(v){const e=a[i(523)](v[i(253)]),n=new ur({author:e,type:v[i(270)]?i(435):i(504),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(254)](n),c[i(387)][t][i(558)]=n.id}c[i(471)]=c[i(471)][i(402)](p)}return c}[vr(321)](t,e){const i=vr;for(let n=0;n<t[i(411)];n++)for(const[r,s]of e)s[i(350)][i(490)](t[n][i(417)])&&t[n][i(534)][i(347)](r),s[i(282)][i(490)](t[n][i(423)])&&t[n][i(385)][i(347)](r)}[vr(461)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(411)]||s<e[i(411)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(347)](o);else if(a[i(227)]&&o[i(494)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(374)](t,r,e,s);n=n[i(402)](o),r=a,s=c}else a[i(227)]?(s++,n[i(347)](a)):(r++,n[i(347)](o))}return n}[vr(235)](t,e){const i=vr,n=[];for(let o=0;o<t[i(411)];o++){for(let s=0;s<t[o][i(534)][i(411)];s++){const a=t[o][i(534)][s];if(!e[i(448)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(257)!=c||i(269)!=u&&i(414)!=u||(n[i(254)]({type:u,name:a,userId:l}),t[o][i(534)][i(549)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(385)][i(411)];s++){const a=t[o][i(385)][s];if(!e[i(448)](a))continue;const{group:c,type:u}=r(a);if(i(257)!=c||i(269)!=u&&i(414)!=u)continue;t[o][i(385)][i(549)](s,1),s--;const l=n[i(391)]((t=>t[i(406)]==a));l>-1&&n[i(549)](l,1)}}function r(t){const e=i,n=t[e(442)](":");return{group:n[0],type:n[1],subType:n[e(411)]>=5?n[2]:null,id:n[e(411)]<5?n[2]:n[3],authorId:n[e(411)]<5?n[3]:n[4],markerCount:6==n[e(411)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(411)];i++){if(t[e(494)]&&e(269)==n[i][e(422)])return t[e(430)]=n[i],void delete t[e(494)];if(!t[e(494)]&&!t[e(227)]&&e(414)==n[i][e(422)])return void(t[e(520)]=n[i])}}}[vr(517)](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(432)](o.id,n);for(let n=0;n<t[i(411)];n++){if(i(227)==e&&t[n][i(494)]||i(494)==e&&t[n][i(227)])continue;if(i(288)==t[n][i(422)]){t[n][i(525)]=0;continue}const r=s[i(523)](t[n][i(237)]),o=s[i(523)](t[n].id);t[n][i(525)]=r-o}}[vr(468)](t,e,i=!1){const n=vr,r=[];let s=this[n(553)][n(532)](t),o=this[n(553)][n(532)](e);for(-1==o&&(o=this[n(553)][n(456)][n(411)],i=!1);s<o;)r[n(347)](this[n(553)][n(481)](s)),s++;return i&&r[n(347)](this[n(553)][n(481)](s)),r}[vr(374)](t,e,i,n){const r=vr,s=this[r(226)][r(390)][r(458)];let o=e;for(;t[o]&&t[o][r(494)];)o++;let a=n;for(;i[a]&&i[a][r(227)];)a++;u(t,e,o),u(i,n,a);const c=i[r(353)](n,a)[r(402)](t[r(353)](e,o));return c[r(537)](((t,e)=>t[r(491)]!=e[r(491)]?t[r(491)]-e[r(491)]:t[r(371)]!=e[r(371)]?t[r(371)]-e[r(371)]:t[r(525)]!=e[r(525)]?e[r(525)]-t[r(525)]:!!t[r(494)]!=!!e[r(494)]?-1==t[r(491)]||0==t[r(491)]?t[r(494)]?-1:1:t[r(494)]?1:-1:t[r(265)]-e[r(265)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(440)],c=!0;for(let r=e;r<i;r++)if(s[n(485)](t[r][n(438)])||(c=!1),t[r][n(438)][n(315)]<e&&(o=r),t[r][n(438)][n(342)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(491)]=r<=o?-1:r<a?0:1,t[r][n(265)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(525)]?t[i][n(371)]=u:(u++,t[i][n(371)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(491)]&&(t[r][n(371)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(525)]?t[e][n(371)]=u:(u--,t[e][n(371)]=u,u--)}}[vr(249)](t){const e=vr,i=new Map,n=this[e(226)][e(390)][e(458)];for(let r=1;r<t[e(411)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(288)==c[e(422)])continue;if(c[e(422)]!=u[e(422)])continue;if(!n[e(496)](u[e(438)])||n[e(478)](u[e(438)]))continue;if(!n[e(496)](c[e(438)])||n[e(478)](c[e(438)]))continue;if((t[r][e(494)]||t[r][e(430)])&&t[r-1][e(227)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(227)]||!t[r-1][e(494)]&&!t[r-1][e(430)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(371)]==o[e(371)],h=Math[e(256)](s[e(371)])<Math[e(256)](o[e(371)])&&0==o[e(525)];(l||h)&&(i[e(432)](o.id,s.id),t[e(549)](a,1),r--,s[e(494)]=!1)}for(let n=0;n<t[e(411)];n++)i[e(448)](t[n][e(237)])&&(t[n][e(237)]=i[e(523)](t[n][e(237)]))}[vr(398)](t){const e=vr,i=new Set(t[e(392)]((t=>t.id)));for(let n=0;n<t[e(411)];n++)i[e(448)](t[n][e(237)])||0==t[n][e(525)]||(t[n][e(359)]=!0);return t[e(512)]((t=>!t[e(359)]))}[vr(429)](t){const e=vr,i=new Set;for(let n=0;n<t[e(411)];n++){if(i[e(448)](t[n].id)&&t[n][e(227)]&&(t[n][e(359)]=!0),t[n][e(359)])continue;if(0==t[n][e(525)])continue;if(e(259)!=t[n][e(422)])continue;if(null==t[n][e(237)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(237)];)e(259)==t[r][e(422)]?s++:e(291)==t[r][e(422)]&&s--,r++;if(0!=s)if(t[n][e(227)])t[n][e(359)]=!0;else for(;r!=n;)t[r][e(227)]&&0!=t[r][e(525)]&&(t[r][e(359)]=!0,i[e(435)](t[r][e(237)])),r--}return t[e(512)]((t=>!t[e(359)]))}[vr(488)](t){const e=vr,i=this[e(226)][e(390)][e(458)];for(let n=0;n<t[e(411)];n++){if(!(t[n][e(494)]||t[n][e(430)]||t[n][e(227)]||t[n][e(520)]))continue;if(0==t[n][e(525)])continue;const r=t[n][e(438)];i[e(496)](r)||i[e(478)](r)||(t[n][e(494)]&&delete t[n][e(494)],t[n][e(430)]&&delete t[n][e(430)],t[n][e(520)]&&delete t[n][e(520)],t[n][e(227)]&&(t[n][e(359)]=!0))}return t[e(512)]((t=>!t[e(359)]))}[vr(361)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(226)][n(390)],c=a[n(458)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(411)];e++)if(n(259)===t[e][n(422)]){t[e][n(417)]=a[n(530)](r,f);const i=new Yi.Element(t[e][n(438)][n(406)],t[e][n(438)][n(240)]());u[0][n(431)](i),f[n(347)](0),u[n(254)](i),t[e][n(423)]=a[n(530)](r,f)}else n(291)===t[e][n(422)]?(u[n(415)](),t[e][n(417)]=a[n(530)](r,f),f[n(404)](),f[f[n(411)]-1]++,t[e][n(423)]=a[n(530)](r,f)):(t[e][n(417)]=a[n(530)](r,f),d?d[n(311)]+=t[e][n(438)][n(368)]:d=new Yi.Text(t[e][n(438)][n(368)],t[e][n(438)][n(240)]()),t[e+1]&&n(288)===t[e+1][n(422)]&&v(d,t[e+1][n(438)])||(u[0][n(431)](d),d=null),f[f[n(411)]-1]+=t[e][n(438)][n(388)],t[e][n(423)]=a[n(530)](r,f));for(let e=0;e<t[n(411)];e++){const i=t[e][n(417)],r=t[e][n(423)];for(const r of t[e][n(534)])o[n(432)](r,{start:i,end:null});m(n(520),e,i,r),m(n(430),e,i,r),m(n(227),e,i,r),m(n(494),e,i,r);for(const i of t[e][n(385)])o[n(523)](i)[n(282)]=r}for(const[t,e]of o){const i=this[n(226)][n(390)][n(326)](e[n(350)],e[n(282)]);r[n(465)][n(432)](t,i)}return s[n(537)](((t,e)=>{const i=n,s=r[i(465)][i(523)](i(332)+t.id),o=r[i(465)][i(523)](i(332)+e.id);return s[i(350)][i(521)](o[i(350)])?-1:s[i(350)][i(482)](o[i(350)])?1:s[i(282)][i(521)](o[i(282)])?-1:s[i(282)][i(482)](o[i(282)])?1:i(435)===t[i(422)]?-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(253)]:null,d=i===t[o(411)]-1,f=h[e][0],m=c[o(463)](t[i][o(438)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(282)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(253)]!==u&&(l[e][o(282)]=r,f&&f[o(253)]===l[e][o(253)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(259)!==t[i][o(422)]||f&&f[o(253)]===u||h[e][o(254)]({userId:u,object:t[i][o(438)],change:l[e]}),o(291)===t[i][o(422)]&&f&&f[o(366)]===t[i][o(438)]&&(h[e][o(415)](),l[e]=f[o(499)])),l[e]&&d&&(l[e][o(282)]=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(438)],f=a[h(458)][h(496)](d)&&!a[h(458)][h(478)](d),m=t[h(421)]==o[h(433)]&&o[h(426)];if(f&&m)return;const p=a[h(326)](t,o),v=e[h(523)](u),y=new ur({author:v,type:h(494)==l||h(430)==l?h(435):h(504),data:{isSuggestion:h(430)==l||h(520)==l},createdAt:new Date,rootName:i});s[h(347)](y),r[h(465)][h(432)](h(332)+y.id,p)}function v(t,e){const i=n,r=t[i(240)](),s=e[i(240)]();for(const t of r){if(t[1]!==e[i(539)](t[0]))return!1;s[i(224)]()}return s[i(224)]()[i(559)]}}[vr(526)](){const t=vr;this[t(226)][t(323)][t(338)](t(341))[t(320)]({view:t(459)}),this[t(226)][t(323)][t(338)](t(236))[t(365)]({model:t(459),view:e=>{const i=t,n=e[i(477)][i(442)](":")[1],r=this[i(286)](n);if(!r)return null;const s=i(435)==r[i(422)]?i(269):i(414),o=[i(292),i(424)+s];return r[i(368)][i(271)]&&o[i(347)](i(424)+s+i(519)),this[i(554)]==r&&o[i(347)](i(407)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(226)][t(323)][t(338)](t(341))[t(435)]((e=>{const i=t;e.on(i(263),((t,e,n)=>{const r=i,s=e[r(302)][r(375)](0);if(!s||!s.is(r(324),r(346)))return;if(!n[r(383)][r(470)](s,{attributes:[r(331),r(248)]}))return;const o=e[r(487)][r(350)][r(421)];n[r(541)][r(362)](r(331),s[r(539)](r(331)),o),n[r(541)][r(362)](r(248),s[r(539)](r(248)),o)}),{priority:i(352)})})),this[t(226)][t(323)][t(338)](t(341))[t(435)]((e=>{const i=t;e.on(i(324),((t,e,n)=>{const r=i;if(!n[r(383)][r(470)](e[r(302)],{attributes:[r(331),r(248)]}))return;if(e[r(487)][r(396)])return;const s=e[r(487)][r(350)][r(421)];s[r(335)](r(331))||s[r(335)](r(299))||(n[r(541)][r(362)](r(331),e[r(302)][r(539)](r(331)),s),n[r(541)][r(362)](r(248),e[r(302)][r(539)](r(248)),s))}),{priority:i(352)})})),this[t(226)][t(323)][t(338)](t(341))[t(551)]({view:{name:t(381),attributes:{vid:!0}},model:{key:t(299),value:e=>e[t(539)](t(299))}}),this[t(226)][t(390)][t(458)].on(t(303),((e,[,i])=>{const n=t;[n(331),n(248),n(299)][n(290)](i)&&(e[n(298)]=!0,e[n(281)]())}),{priority:t(480)}),this[t(226)][t(323)][t(338)](t(264))[t(435)]((e=>{const i=t;e.on(i(510),((t,e,n)=>{const r=i;if(" "!=e[r(438)][r(368)]||e[r(438)][r(433)][r(246)]>1)return;if(!n[r(383)][r(470)](e[r(438)],t[r(406)]))return;const s=n[r(541)],o=n[r(538)][r(454)](e[r(339)]);s[r(369)](o,s[r(455)](r(381)))}))})),this[t(226)][t(323)][t(338)](t(264))[t(266)]({model:t(459)}),this[t(226)][t(261)][t(355)].on(t(239),function(e){const i=t,n=e[i(377)][i(523)](i(531));return(t,r,s)=>{const o=i,a=r[o(477)][o(442)](":")[1],c=n[o(286)](a);if(!c)return null;const u=o(435)==c[o(422)]?o(442):o(472);if(!s[o(383)][o(287)](r[o(505)],t[o(406)]))return;const l=r[o(505)][o(250)](),h=r[o(505)][o(350)],d=e[o(390)][o(458)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(438)];p=p||d[o(436)](e);const i=s[o(538)][o(268)](e);if(i&&i[o(296)](o(547)))return;o(291)==t[o(422)]&&d[o(496)](e)&&!d[o(478)](e)&&(e[o(484)]||h[o(234)]?f&&f[o(433)]==e||(f=e,y(t[o(417)]),v=!0):m=m||t[o(417)])}function y(t){const e=o,i=s[e(541)][e(393)](e(381),{class:e(424)+u}),a=s[e(538)][e(516)](t);c[e(368)][e(271)]&&s[e(541)][e(561)](e(424)+u+e(519),i),n[e(554)]==c&&s[e(541)][e(561)](e(407),i),s[e(541)][e(474)](a,i),s[e(538)][e(316)](i,r[e(477)])}p||v||!m||y(m)}}(this[t(226)]),{priority:t(439)}),this[t(226)][t(261)][t(355)].on(t(401),((e,i,n)=>{const r=t,s=n[r(538)][r(312)](i[r(477)]);if(s)for(const t of s)(t[r(416)](r(251))||t[r(416)](r(544)))&&(n[r(538)][r(267)](t,i[r(477)]),n[r(541)][r(504)](t))}),{priority:t(439)}),this[t(226)][t(261)][t(355)].on(t(239),((e,i,n)=>{const r=t,s=i[r(477)][r(442)](":")[1],o=this[r(286)](s);if(!o)return null;const a=r(435)==o[r(422)]?r(442):r(472);if(n[r(383)][r(287)](i[r(505)],e[r(406)]))for(const t of i[r(505)][r(273)]()){if(!t.is(r(324),r(535)))continue;const e=n[r(541)][r(393)](r(381),{class:r(424)+a}),s=n[r(538)][r(516)](this[r(226)][r(390)][r(295)](t));o[r(368)][r(271)]&&n[r(541)][r(561)](r(424)+a+r(519),e),this[r(554)]==o&&n[r(541)][r(561)](r(407),e),n[r(541)][r(474)](s,e),n[r(538)][r(316)](e,i[r(477)])}}),{priority:t(439)}),this[t(226)][t(390)][t(275)].on(t(499),(()=>{const e=t;this[e(226)][e(261)][e(493)][e(499)]((t=>{const i=e;for(const e of this[i(226)][i(390)][i(275)][i(252)]()){const n=this[i(226)][i(390)][i(275)][i(354)](e),r=this[i(226)][i(261)][i(493)][i(275)][i(354)](e);if(r){const e=n[i(539)](i(558));if(t[i(348)](i(473),r),t[i(274)](i(285),r),t[i(274)](i(508),r),t[i(274)](i(522),r),e){const n=this[i(286)](e);if(!n)return null;t[i(362)](i(473),e,r),t[i(561)](i(318)+n[i(422)],r),this[i(554)]==n&&t[i(561)](i(522),r)}}}}))})),this[t(226)][t(323)][t(338)](t(341))[t(320)]({view:t(389),model:e=>t(370)+e,converterPriority:t(480)}),this[t(226)][t(323)][t(338)](t(341))[t(320)]({view:t(340),model:e=>t(441)+e,converterPriority:t(480)}),this[t(226)][t(323)][t(338)](t(264))[t(266)]({model:t(257),view:e=>({name:t(363)+e,group:t(257)}),converterPriority:t(480)}),this[t(226)][t(323)][t(338)](t(236))[t(365)]({model:t(257),view:e=>{const i=t,n=e[i(477)][i(442)](":")[1];return i(269)!=n&&i(414)!=n?null:{classes:[i(444),i(419)+n]}}}),this[t(226)][t(261)][t(355)].on(t(509),wr(this[t(226)],t(472)),{priority:t(439)}),this[t(226)][t(261)][t(355)].on(t(545),wr(this[t(226)],t(442)),{priority:t(439)}),this[t(226)][t(261)][t(355)].on(t(529),((e,i,n)=>{const r=t,s=n[r(538)][r(312)](i[r(477)]);if(s)for(const t of s)t.is(r(255))&&(n[r(538)][r(267)](t,i[r(477)]),n[r(541)][r(504)](t))}),{priority:t(439)})}[vr(286)](t){const e=vr;return this[e(511)][e(523)](t)}[vr(524)](t){const e=vr;return this[e(563)]&&this[e(563)][e(228)](),this[e(563)]=new sr(this[e(226)][e(317)],t),this[e(563)]}[vr(279)](){const t=vr;this[t(226)][t(390)][t(275)][t(305)][t(437)](t(459)),this.on(t(280),((e,i,n,r)=>{const s=t;r&&this[s(319)][s(504)](r),n&&(this[s(319)][s(435)]({view:n,stackId:s(502),position:{target:()=>{const t=s,e=this[t(226)][t(261)],i=this[t(286)](n[t(327)]);let r;if(i[t(368)][t(238)]){const n=e[t(493)][t(450)](i[t(527)]);r=Array[t(515)](n[t(462)]())}else{const i=this[t(226)][t(390)][t(465)][t(523)](t(332)+n[t(327)]);r=Array[t(515)](e[t(538)][t(312)](i[t(406)]))[t(392)]((i=>e[t(493)][t(409)][t(467)](i)))[t(392)]((e=>Array[t(515)](e[t(462)]())))[t(241)]()}return this[t(518)]&&r[t(306)]((e=>e[t(278)]-3<=this[t(518)].y&&e[t(513)]+3>=this[t(518)].y&&e[t(434)]-3<=this[t(518)].x&&e[t(497)]+3>=this[t(518)].x))||r[0]}}}),this[s(319)][s(451)](s(502)))})),this.on(t(543),((e,i,n,r)=>{const s=t;this[s(308)]=n?this[s(524)](n):null,this[s(226)][s(390)][s(499)]((()=>{const t=s,e=this[t(226)][t(261)];r&&(r[t(368)][t(238)]?e[t(493)][t(499)]((i=>{const n=t;i[n(274)](n(522),e[n(493)][n(275)][n(354)](r[n(527)]))})):e[t(260)](t(332)+r.id)),n&&(n[t(368)][t(238)]?e[t(493)][t(499)]((i=>{const r=t;i[r(561)](r(522),e[r(493)][r(275)][r(354)](n[r(527)]))})):e[t(260)](t(332)+n.id))}))})),this[t(495)](this[t(226)][t(261)][t(493)][t(275)],t(345),((e,i)=>{const n=t;if(this[n(554)])return;const r=this[n(325)](i[n(400)]),s=this[n(511)][n(523)](r);s?(this[n(518)]={x:i[n(225)].x,y:i[n(225)].y},this[n(308)]=this[n(524)](s)):(this[n(518)]=null,this[n(308)]=null)})),this[t(495)](this[t(226)][t(261)][t(493)][t(275)],t(466),((e,i)=>{const n=t,r=this[n(325)](i[n(400)]),s=this[n(511)][n(523)](r);s?(this[n(518)]={x:i[n(225)].x,y:i[n(225)].y},s===this[n(554)]?this[n(319)][n(244)]():this[n(554)]=s):(this[n(518)]=null,this[n(554)]=null)}))}[vr(325)](t){const e=vr;do{const i=t[e(539)](e(473));if(i)return i;t=t[e(433)]}while(t);return null}[vr(542)](){const t=vr;this[t(226)][t(390)][t(499)]((e=>{const i=t;for(const t of this[i(226)][i(390)][i(465)])e[i(476)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(383)][s(287)](n[s(505)],i[s(406)]))return;const o=n[s(505)][s(250)](),a=n[s(505)][s(350)],c=t[s(390)][s(458)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(438)];h=h||c[s(436)](e);const i=r[s(538)][s(268)](e);if(i&&i[s(296)](s(547)))return;s(291)==t[s(422)]&&c[s(496)](e)&&!c[s(478)](e)&&(e[s(484)]||a[s(234)]?u&&u[s(433)]==e||(u=e,f(t[s(417)]),d=!0):l=l||t[s(417)])}function f(t){const i=s,o=r[i(538)][i(516)](t),a=r[i(541)][i(393)](i(381),{class:i(419)+e});r[i(541)][i(474)](o,a),r[i(538)][i(316)](a,n[i(477)])}h||d||!l||f(l)}}class _r extends $i.Command{constructor(t){const e=vr;super(t);const i=t[e(377)][e(523)](br);this[e(506)]=!1,this[e(495)](i,e(428),(()=>this[e(557)]())),this[e(495)](i,e(372),(()=>this[e(557)]()))}[vr(272)](){const t=vr,e=this[t(226)],i=e[t(377)][t(523)](br),n=i[t(337)]?i[t(386)][t(247)]:null;e[t(336)][t(523)](t(333))[t(304)](n)}[vr(557)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(226)][t(377)][t(523)](br),s=r&&n[t(410)](r[t(247)]);this[t(528)]=e&&i&&Boolean(s)}}class Ir extends $i.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(377)][i(523)](br);this[i(506)]=!1,this[i(453)]=i(486)===e?1:-1,this[i(495)](n,i(428),(()=>this[i(557)]())),this[i(495)](n,i(372),(()=>this[i(557)]())),this[i(495)](n,i(543),(()=>this[i(557)]()))}[vr(272)](){const e=vr,i=this[e(226)],n=i[e(377)][e(523)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(554)]=r?n[e(386)][e(471)][e(523)](s+this[e(453)]):n[e(386)][e(471)][e(358)],n[e(554)][e(368)][e(238)])o=i[e(261)][e(493)][e(450)](n[e(554)][e(527)]);else{const t=i[e(390)][e(465)][e(523)](e(332)+n[e(554)].id);o=(0,Bi.getMarkerDomElement)(i[e(261)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(557)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(226)][t(377)][t(523)](br);this[t(528)]=!!(s&&r&&n)&&(!e||(1===this[t(453)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Hn();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-=207]})(t,e)}function Tr(){const t=["setTemplate","ck-hidden","_statusText","539dNWcFw","numberOfChanges","ck-revision-history-ui","Show previous change","_isStatusLabelVisible","64251bFDZec","203128ivPitx","fire","bindTemplate","forward","bind","currentChangeNumber","isEnabled","7434OqXYNA","No changes","ck-revision-history-ui__changes-navigation__navigation","div","backward","362672fmGvwj","set","3795237sAsrTh","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__wrapper","Total","execute","1086840EsIqkH","X_OF_Y_CHANGES","isNavigationMode","isBackwardNavigationEnabled","Show next change","span","NUMBER_OF_CHANGES","657981czmpOD","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label","isForwardNavigationEnabled","Loading...","5jfzQgK","isReady"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(138975===-parseInt(e(238))/1+parseInt(e(209))/2+-parseInt(e(223))/3+-parseInt(e(239))/4*(-parseInt(e(228))/5)+-parseInt(e(246))/6*(parseInt(e(233))/7)+-parseInt(e(216))/8+parseInt(e(211))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends Dn.View{constructor(t){const e=xr;super(t);const i=this[e(241)],n=new Dn.ButtonView(t),r=new Dn.ButtonView(t);this[e(210)](e(218),!1),this[e(210)](e(229),!1),this[e(210)](e(244),0),this[e(210)](e(234),0),this[e(210)](e(226),!1),this[e(210)](e(219),!1),this[e(243)](e(237)).to(this,e(229),this,e(234),((t,e)=>t&&e>0)),this[e(243)](e(232)).to(this,e(229),this,e(244),this,e(234),this,e(218),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(227));if(!r)return Qi(t,o(247));const a=Qi(t,o(222),r);return s?Qi(t,o(217),[n+1,r]):a})),n[e(210)]({label:Qi(t,e(236)),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(210)]({label:Qi(t,e(220)),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(243)](e(245)).to(this,e(219)),r[e(243)](e(245)).to(this,e(226)),n.on(e(215),(()=>this[e(240)](e(215),e(208)))),r.on(e(215),(()=>this[e(240)](e(215),e(242)))),this[e(230)]({tag:e(207),attributes:{class:["ck",e(235),e(212)]},children:[{tag:e(221),attributes:{class:[e(213)]},children:[{tag:e(221),attributes:{class:[e(225),i.if(e(237),e(231),(t=>!t))]},children:[{text:i.to(e(218),(i=>i?Qi(t,e(224))+": ":Qi(t,e(214))+": "))}]},{text:i.to(e(232))}]},new Dn.ToolbarSeparatorView,{tag:e(207),attributes:{class:[e(248)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Hn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(281607===-parseInt(e(270))/1*(parseInt(e(255))/2)+parseInt(e(259))/3+parseInt(e(251))/4+-parseInt(e(250))/5+-parseInt(e(249))/6*(-parseInt(e(265))/7)+parseInt(e(246))/8+parseInt(e(269))/9*(-parseInt(e(264))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(261);function Er(){const t=["editing","editor","400850licigM","2048858XrZMyH","removeClass","hide","roots","81DNTaIG","299791LJgWrs","2090104HOZzzP","view","isPremiumPlugin","6CkBMIQ","2507010jfiaYv","1506960rknMLZ","RevisionViewerLoadingOverlay","document","addClass","2vUoGfl","show","pluginName","change","1538604CHVAVh","isOfficialPlugin","ck-editor__editable__loading-overlay"];return(Er=function(){return t})()}class Cr extends $i.Plugin{static get[Mr(257)](){return Mr(252)}static get[Mr(260)](){return!0}static get[Mr(248)](){return!0}[Mr(256)](){const t=Mr,e=this[t(263)][t(262)][t(247)];e[t(258)]((i=>{const n=t;for(const t of e[n(253)][n(268)])i[n(254)](Dr,t)}))}[Mr(267)](){const t=Mr,e=this[t(263)][t(262)][t(247)];e[t(258)]((i=>{const n=t;for(const t of e[n(253)][n(268)])i[n(266)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=462]})(t,e)}function Lr(){const t=["commands","set","isBackwardNavigationEnabled","Back to editing","4265163TJYUeh","closeRevisionViewerCallback","plugins","forward","show","changesNavigation","hide","init","add","execute","showPreviousChange","revisionHistory","change:isReady","pluginName","isOfficialPlugin","1500gwfEWg","editor","listenTo","32KwClUc","212472nsbLMl","config","1847VkgKDH","isEnabled","5kLGOTt","Restore this revision","862VBGLnG","bind","get","ck-revision-history-ui__back-to-editing","numberOfChanges","restoreRevision","32472JtoqBa","requires","isPremiumPlugin","undo","5617976viwWUh","RevisionViewerUI","4093428EhkqzZ","12DFBZSi","315669kqSiMb","isNavigationMode","showNextChange","isForwardNavigationEnabled","isReady","261CdzQij","componentFactory","currentChangeNumber","exitToEditing"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(577711===parseInt(e(474))/1*(-parseInt(e(478))/2)+-parseInt(e(492))/3*(-parseInt(e(471))/4)+-parseInt(e(476))/5*(-parseInt(e(490))/6)+parseInt(e(505))/7+-parseInt(e(472))/8*(parseInt(e(497))/9)+parseInt(e(468))/10*(parseInt(e(484))/11)+parseInt(e(491))/12*(-parseInt(e(488))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends $i.Plugin{static get[jr(466)](){return jr(489)}static get[jr(467)](){return!0}static get[jr(486)](){return!0}static get[jr(485)](){return[br,Cr]}[jr(512)](){const t=jr,e=this[t(469)],i=e[t(507)][t(480)](br),n=e[t(507)][t(480)](Cr);e.ui[t(498)][t(513)](t(500),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(502)]({label:Qi(i,n(504)),icon:$i.icons[n(487)],withText:!0,tooltip:!0,class:n(481)}),this[n(470)](r,n(462),(()=>{const t=n;e[t(473)][t(480)](t(464))[t(506)]()})),r})),e.ui[t(498)][t(513)](t(483),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(502)]({label:Qi(i,n(477)),withText:!0,tooltip:!0}),r[n(479)](n(475)).to(e[n(501)][n(480)](n(483))),this[n(470)](r,n(462),(()=>e[n(462)](n(483)))),r})),e.ui[t(498)][t(513)](t(510),(n=>{const r=t,s=new Nr(n),o=e[r(501)][r(480)](r(463)),a=e[r(501)][r(480)](r(494));return s[r(479)](r(503)).to(o,r(475)),s[r(479)](r(495)).to(a,r(475)),s[r(479)](r(496),r(499),r(482),r(493)).to(i),this[r(470)](s,r(462),((t,i)=>{const n=r;e[n(462)](n(508)===i?n(494):n(463))})),s})),n[t(509)](),i.on(t(465),((e,i,r)=>{const s=t;r?n[s(511)]():n[s(509)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Hr;function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=369]})(t,e)}function Zr(){const t=["14343576arVplg","Enter the revision name","fieldView","1308rwnkYJ","ck-tooltip_multi-line","3551611RcOvDL","value","placeholder","71291aKQhBA","bindTemplate","destroy","16670TSFgNI","input","scrollWidth","listenTo","element","2263500MsepAq","render","clientWidth","2189856xQEstl","Revision name","_resizeObserver","_tooltipString","set","_updateTooltipText","ck-revision-history-sidebar__revision-name","span","extendTemplate","1637166huPkpS"];return(Zr=function(){return t})()}!function(t){const e=Hr,i=t();for(;;)try{if(570024===parseInt(e(392))/1+-parseInt(e(374))/2+-parseInt(e(383))/3+parseInt(e(371))/4+-parseInt(e(395))/5*(parseInt(e(387))/6)+parseInt(e(389))/7+parseInt(e(384))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class qr extends Dn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(376)]=null;const n=this[i(393)];this[i(378)]({label:Qi(t,i(375)),_tooltipString:""}),this[i(386)][i(391)]=Qi(t,i(385)),this[i(382)]({tag:i(381),attributes:{class:[i(380)],"data-cke-tooltip-text":n.to(i(377)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(388)}})}[Ur(372)](){const e=Ur;super[e(372)](),this[e(376)]=new t.ResizeObserver(this[e(386)][e(370)],(()=>this[e(379)]())),this[e(369)](this[e(386)],e(396),(()=>this[e(379)]()))}[Ur(394)](){const t=Ur;super[t(394)](),this[t(376)]&&this[t(376)][t(394)]()}[Ur(379)](){const t=Ur,e=this[t(386)][t(370)];this[t(377)]=e[t(397)]>e[t(373)]&&e[t(390)]||""}}var $r=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();Cn()($r.A,Br);$r.A&&$r.A.locals&&$r.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=Yr,i=t();for(;;)try{if(787697===-parseInt(e(223))/1*(-parseInt(e(217))/2)+-parseInt(e(221))/3*(parseInt(e(226))/4)+parseInt(e(208))/5*(parseInt(e(220))/6)+-parseInt(e(205))/7+parseInt(e(224))/8*(-parseInt(e(210))/9)+-parseInt(e(213))/10*(parseInt(e(218))/11)+parseInt(e(227))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Dn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Dn.IconView;r[n(225)]({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(219)});const s=["ck",n(209)];i&&s[n(211)](n(215));const o=[{tag:n(212),attributes:{class:["ck",n(222)],title:Qi(t,n(i?214:216))},children:[r,e[n(206)]]}];this[n(207)]({tag:"li",attributes:{class:s},children:o})}}function Jr(){const t=["1586vbNBvT","143oNELWr","0 0 11 10","90qjwxkq","549546aRYQRw","ck-revision-history-sidebar__revision-author__name","677jTXRCW","16RjiaAf","set","12cmJJmn","29190984iKxxcz","10003077lHOyIg","name","setTemplate","161485MXFUDx","ck-revision-history-sidebar__revision-author","195606vkIvti","push","span","495520YPgjeg","Revision creator","ck-revision-history-sidebar__revision-author_creator","Revision author"];return(Jr=function(){return t})()}function Kr(){var t=["long","1518215nQurzv","4NFAjgl","toLocaleTimeString","toLocaleDateString","54918ADexOv","1917200hbvZMz","454662VKoTAP","930mFAqmA","432894zdyThF","numeric","272577vBELqW","4571zLaPgn"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=142]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(204574===-parseInt(e(148))/1+parseInt(e(142))/2+-parseInt(e(146))/3+parseInt(e(152))/4*(parseInt(e(151))/5)+-parseInt(e(145))/6*(-parseInt(e(149))/7)+parseInt(e(143))/8+-parseInt(e(144))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["listenTo","name","1207179fKSHSj","panelPosition","children","34472IUiDLL","ck-on","class","isOpen","map","action","9xhmbgF","158885honwEn","7kVeEFP","threeVerticalDots","buttonView","_action","stopPropagation","model","Show more items","isVisible","40cxClmv","find","set","first","extendTemplate","ck-revision-history-sidebar__revision__actions","2336024nXVZiz","function","change:isActionsDropdownOpen","2358lMVoCh","bind","288614WKGXpF","execute","11530DhqVYb","21401578FRJpXO","Restore this revision","Name this revision","isActionsDropdownOpen","source","button","listView","isEnabled","menu","items","locale","bindTemplate","add","Compare against selected","isReady","menuitem"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(476231===-parseInt(e(149))/1+-parseInt(e(118))/2*(-parseInt(e(148))/3)+-parseInt(e(142))/4+-parseInt(e(120))/5*(parseInt(e(116))/6)+parseInt(e(150))/7*(-parseInt(e(113))/8)+parseInt(e(139))/9*(-parseInt(e(158))/10)+parseInt(e(121))/11)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=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Hn();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-=189]})(t,e)}function as(){const t=["fieldView","bindTemplate","div","ck-revision-history-sidebar__actions_dropdown_open","authors","value","element","creator","1393784JHwqSG","220","2422608HtdGPh","69887qInZIl","isConfirm",".ck-thread__remove-confirm","4152sclCBH","ck-revision-history-sidebar__revision","4YIOqGl","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","highlight","ck-revision-history-sidebar__revision__controls-wrapper","ck-reset","ck-revision-history-sidebar__revision-wrapper","srcElement","isReady","uiLanguage","change","isSelected","listenTo","revisionActionsView","set","2768028rgpCXf","ck-revision-history-sidebar__revision-authors","filter","setTemplate","revisionNameView","_requireRevisionName","fire","closest","render","isEnabled","4870KQsljQ","unhighlight","ck-revision-history-sidebar__revision_highlighted","deselect","length","createdAt","ck-disabled","_createdAtFormatted","isActionsDropdownOpen","bind","span","select","extendTemplate","5xsjEvI","from","_revision","31361AOHTAx","map","5810868sbcZTC","6363PWukBq","isHighlighted","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","name","unshift"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(542538===parseInt(e(209))/1*(parseInt(e(214))/2)+parseInt(e(208))/3+-parseInt(e(206))/4*(-parseInt(e(252))/5)+parseInt(e(229))/6+-parseInt(e(192))/7*(parseInt(e(212))/8)+parseInt(e(191))/9+-parseInt(e(239))/10*(parseInt(e(189))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Dn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(199)],a=function(t,e){const i=s,n=Array[i(253)](e[i(202)])[i(231)]((t=>t!=e[i(205)]));return e[i(205)]&&n[i(197)](e[i(205)]),n[i(190)]((n=>new Gr(t,n,n==e[i(205)])))}(e,i);this.id=i.id,this[s(254)]=i,this[s(234)]=r,this[s(248)](s(196),s(244)).to(i),this[s(248)](s(246)).to(this,s(244),(t=>{return i=e[s(223)],(n=t)[(r=Xr)(154)](i,{month:r(150),day:r(147)})+", "+n[r(153)](i,{hour:r(147),minute:r(147)});var i,n,r})),this[s(228)](s(225),!1),this[s(228)](s(193),!1),this[s(228)](s(247),!1),this[s(228)](s(222),!1),this[s(228)](s(238),!1),this[s(233)]=new qr(e,Dn.createLabeledInputText),this[s(233)][s(198)][s(251)]({attributes:{maxlength:s(207)}}),this[s(233)][s(198)][s(248)](s(203)).to(this,s(196),(t=>t||this[s(246)])),this[s(233)][s(248)](s(238)).to(this,s(225),this,s(238),((t,e)=>t&&e)),this[s(227)]=n&&n[s(243)]?function(e,i){const n=is,r=e[n(132)],s=e[n(131)],o=(0,Dn.createDropdown)(s);o[n(140)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(131)],r={"Compare against selected":Qi(n,i(134)),"Name this revision":Qi(n,i(123)),"Restore this revision":Qi(n,i(122))};return e[i(146)]((t=>{const e=i,n=r[t[e(138)]];return n&&n!==t[e(138)]&&(t[e(138)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(126),model:new Dn.ViewModel({label:t[r(138)],class:t[r(144)],withText:!0,role:r(136),_action:t[r(147)]})};i[r(155)][r(117)](r(128)).to(e,r(124),(i=>r(114)!=typeof t[r(128)]||!i||t[r(128)](e))),o[r(133)](i)}return o}(e,i);return e[n(117)](n(124)).to(o,n(145)),o[n(152)][n(109)]({label:Qi(s,n(156)),tooltip:!0,tooltipPosition:"sw",icon:$i.icons[n(151)]}),o[n(111)]({attributes:{class:[n(112),r.if(n(124),n(143))]},on:{click:r.to((t=>t[n(154)]()))}}),o.on(n(119),(t=>{const i=n;e[i(135)]&&i(114)==typeof t[i(125)][i(153)]&&t[i(125)][i(153)](e)})),(0,Dn.addListToDropdown)(o,a,{role:n(129)}),o[n(137)](e,n(115),((t,r,s)=>{const a=n;if(s)for(const t of o[a(127)][a(130)]){const n=t[a(141)][a(110)],r=i[a(159)]((t=>t[a(147)]===n[a(153)]))[a(157)];t[a(157)]=void 0===r||r(e)}})),o}(this,n):"",this[s(227)]&&this[s(227)][s(248)](s(238)).to(this),this[s(232)]({tag:s(200),attributes:{class:["ck",s(219),s(220),o.if(s(210),s(216))]},children:[{tag:s(200),attributes:{class:["ck",s(219),s(213),o.if(s(238),s(245),(t=>!t)),o.if(s(225),s(195)),o.if(s(193),s(241)),o.if(s(247),s(201))]},children:[this[s(233)],{tag:s(249),attributes:{class:["ck",s(194)]},children:[{text:o.to(s(246))}]},{tag:s(200),attributes:{class:["ck",s(218)]},children:[{tag:"ul",attributes:{class:["ck",s(230)]},children:a}]},this[s(227)]],on:{click:o.to((t=>{const e=s;t[e(221)][e(236)](e(211))||this[e(222)]&&this[e(238)]&&this[e(235)](e(250),{id:this.id})}))}}]})}[ss(237)](){const t=ss;super[t(237)]();const e=this[t(233)][t(198)][t(204)];this[t(226)](e,t(224),(()=>{const i=t;this[i(234)]&&!e[i(203)]||this[i(235)](i(215),{id:this.id,name:e[i(203)]}),e[i(203)]||(e[i(203)]=this[i(196)]?this[i(196)]:this[i(246)])}))}[ss(250)](){this[ss(225)]=!0}[ss(242)](){this[ss(225)]=!1}[ss(217)](){this[ss(193)]=!0}[ss(240)](){this[ss(193)]=!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},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Hs=null;class Zs extends Us{static get instance(){return null===Hs&&(Hs=new Zs),Hs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let qs={};const $s={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},qs={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,qs[n]||(qs[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),qs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=$s[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 Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&qo()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},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,Go(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=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[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:$o()?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?Zs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Ho(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,Zs.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=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Do(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Eo(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Eo(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=Eo(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}=Do(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:Vo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Do(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Zo(t.year),i=Jo(t.month,1,12),n=Jo(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=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(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 Ho(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Zo(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-Eo(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,f:Ds,ff:Cs,fff:Ls,ffff:zs,F:Es,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Da(...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 Ea(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Ha=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function qa(t,e){return[{hours:Za(t,e,0),minutes:Za(t,e+1,0),seconds:Za(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function $a(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?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 Ja(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=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Va(/(\d{4})-?(\d{3})/,Pa),uc=Va(La),lc=Da((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),qa,$a,Ba),hc=Da(za,qa,$a,Ba),dc=Da(Wa,qa,$a,Ba),fc=Da(qa,$a,Ba);const mc=Da(qa);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Va(Ua),yc=Da(qa,$a,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(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(Ho(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 Ea(t,[Ga,Ja])}(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 Ea(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return 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;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(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 Vc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:qo(),localeWeek:$o()}}}function Dc(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 Ec(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=Dc(t,e);return(i-i%7)/7}],["days",Dc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Hc={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 Zc=null;function qc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class $c{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=qc(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new $c(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Zc||(Zc=wu.fromMillis(1555555555555)),Zc)),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=Hc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=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=Ho(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(Ho(t))return t<-Jc||t>Jc?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(Ho(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=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=Zo(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(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=Zo(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ea(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 Ea(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 Ea(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ea(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return qc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}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():Gc}[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=Ec(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new $c(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 Vs}static get DATETIME_SHORT(){return Ds}static get DATETIME_SHORT_WITH_SECONDS(){return Es}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Ho(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Ou();return(Iu=function(t,e){return i[t-=478]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(499)](t)[i(496)](e),r=wu[i(486)](),s=r[i(498)]({days:1})[i(495)](i(490));let o,a;return n[i(478)](r,i(490))?(o=n[i(495)](i(490))[i(488)](),a=n[i(481)]()):n[i(478)](s,i(490))?(o=s[i(488)](),a=n[i(481)]()):n[i(478)](r,i(491))?(o=n[i(495)](i(491))[i(488)](),a=n[i(482)]||""):n[i(478)](r,i(501))?(o=n[i(495)](i(497))[i(488)](),a=n[i(500)]||""):(o=n[i(495)](i(501))[i(488)](),a=String(n[i(501)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["startOf","setLocale","month","minus","fromJSDate","monthLong","year","7WDmnYn","226GQhhBP","hasSame","9123LVoyug","740cHspuq","toRelativeCalendar","weekdayLong","7501060OkOGnl","617448iAvWSf","9EwtdtB","local","13401BIoQoO","toJSDate","8076324uDOBmi","day","week","373648yTUOdT","11205610cuYVmj","1440MIsFvG"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(801724===-parseInt(e(487))/1*(parseInt(e(503))/2)+parseInt(e(479))/3*(-parseInt(e(480))/4)+-parseInt(e(483))/5+parseInt(e(489))/6*(parseInt(e(502))/7)+-parseInt(e(484))/8*(-parseInt(e(485))/9)+-parseInt(e(493))/10+parseInt(e(492))/11*(parseInt(e(494))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Au;function Au(t,e){const i=Ru();return(Au=function(t,e){return i[t-=101]})(t,e)}function Ru(){const t=["find","addRevision","uiLanguage","ck-revision-history-sidebar__time-period","div","_revisionActions","_requireRevisionName","add","revisionViews","delegate","541198WrBCWI","3696640uTfLgW","startDate","locale","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","16BMdyDL","1352670nkgpPk","removeRevision","remove","localizedPeriodName","12006QgrePX","2408JawzpN","setTemplate","1602TbBMsP","span","select","5924zmVqmZ","setName","632645eOfchD","createCollection","5PDcqUd"];return(Ru=function(){return t})()}!function(t){const e=Au,i=t();for(;;)try{if(117764===-parseInt(e(115))/1*(parseInt(e(111))/2)+-parseInt(e(105))/3*(parseInt(e(132))/4)+-parseInt(e(113))/5+-parseInt(e(101))/6+parseInt(e(126))/7+-parseInt(e(106))/8*(-parseInt(e(108))/9)+parseInt(e(127))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Dn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Su(e,this[r(129)][r(118)])[r(104)];this[r(128)]=e,this[r(124)]=this[r(114)](),this[r(121)]=i,this[r(122)]=n,this[r(124)][r(125)](r(110)).to(this),this[r(124)][r(125)](r(112)).to(this),this[r(107)]({tag:r(120),attributes:{class:["ck",r(119)]},children:[{tag:r(109),attributes:{class:["ck",r(131)]},children:[{text:s}]},{tag:r(120),attributes:{class:["ck",r(130)]},children:this[r(124)]}]})}[Nu(117)](t){const e=Nu,i=new cs(this[e(129)],t,this[e(121)],this[e(122)]);this[e(124)][e(123)](i)}[Nu(102)](t){const e=Nu,i=this[e(124)][e(116)]((e=>e.id===t.id));this[e(124)][e(103)](i)}}var Vu=i(173),Du={attributes:{"data-cke":!0}};Du.setAttributes=Wn(),Du.insert=Pn().bind(null,"head"),Du.domAPI=Fn(),Du.insertStyleElement=Hn();Cn()(Vu.A,Du);Vu.A&&Vu.A.locals&&Vu.A.locals;function Eu(t,e){const i=ju();return(Eu=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Eu,i=t();for(;;)try{if(675353===-parseInt(e(146))/1+-parseInt(e(158))/2+parseInt(e(154))/3+parseInt(e(155))/4*(parseInt(e(144))/5)+-parseInt(e(149))/6+parseInt(e(159))/7+parseInt(e(160))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ju);class Cu extends Dn.View{constructor(t){const e=Eu;super(t);const i=new Dn.IconView;i[e(152)]=$i.icons[e(150)],this[e(153)]({tag:e(151),attributes:{class:["ck",e(156),e(148)]},children:[i,{tag:e(145),attributes:{class:["ck",e(157)]},children:[Qi(t,e(147))]}]})}}function ju(){const t=["ck-reset_all","ck-revision-history-sidebar__header__label","1039406DlxbmS","7475874SKecor","11496480KTvlqf","619275HSQMwX","span","1114576CClpDB","Revision history","ck-revision-history-sidebar__header","6454236NLDMXC","history","div","content","setTemplate","39933ikFfYo","28sAmKqx"];return(ju=function(){return t})()}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Hn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=367]})(t,e)}function Wu(){const t=["isEnabled","locale","startDate","div","4994910gPlMxn","revisionSelected","268373omyHOe","ck-reset","addRevision","flat","get","select","_getTimePeriodViewByStartDate","remove","createdAt","render","1738245smYHqd","find","setTemplate","setName","1720404LAIVTR","selectRevision","ck-rounded-corners","getTime","map","2617884eXxHpT","some","15985908nUWGMP","fire","_removeRevision","ck-disabled","createCollection","highlight","delegate","add","deselect","_addRevision","highlightRevisions","revisionSetName","_revisions","ck-revision-history-sidebar","unhighlight","3LatTBQ","timePeriodViews","192lzCptl","set","313454PtxgTj","_requireRevisionName","bindTemplate","revisionViews","removeRevision","uiLanguage","_revisionActions","ck-revision-history-sidebar__timeline"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(461308===-parseInt(e(409))/1*(parseInt(e(413))/2)+parseInt(e(392))/3+parseInt(e(387))/4+-parseInt(e(383))/5+parseInt(e(371))/6+-parseInt(e(373))/7*(-parseInt(e(411))/8)+-parseInt(e(394))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Dn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(415)];this[r(410)]=this[r(398)](),this[r(410)][r(400)](r(378)).to(this),this[r(410)][r(400)](r(386)).to(this),this[r(406)]=e,this[r(419)]=i,this[r(414)]=n,this.on(r(378),((t,e)=>{const i=r;this[i(395)](i(372),e)})),this.on(r(386),((t,e)=>{const i=r;this[i(395)](i(405),e)})),this[r(412)](r(367),!1),this[r(385)]({tag:r(370),attributes:{class:["ck",r(374),r(389),r(407)]},children:[new Cu(t),{tag:r(370),attributes:{class:["ck",r(420),s.if(r(367),r(397),(t=>!t))]},children:this[r(410)]}]})}[Pu(382)](){const t=Pu;super[t(382)]();for(const e of this[t(406)])this[t(403)](e);this[t(406)].on(t(401),((e,i)=>{this[t(403)](i)})),this[t(406)].on(t(380),((e,i)=>{this[t(396)](i)}))}get[Pu(416)](){const t=Pu;return this[t(410)][t(391)]((e=>e[t(416)][t(391)]((t=>t))))[t(376)]()}[Pu(388)](t){const e=Pu;for(const i of this[e(416)])t&&t.id===i.id?i[e(378)]():i[e(402)]()}[Pu(404)](t){const e=Pu;for(const i of this[e(416)])t[e(393)]((({id:t})=>t===i.id))?i[e(399)]():i[e(408)]()}[Pu(403)](t){const e=Pu,i=Su(t[e(381)],this[e(368)][e(418)])[e(369)];let n=this[e(410)][e(377)](0);n&&n[e(369)][e(390)]()===i[e(390)]()||(n=new Mu(this[e(368)],i,this[e(419)],this[e(414)]),this[e(410)][e(401)](n)),n[e(375)](t)}[Pu(396)](t){const e=Pu,i=Su(t[e(381)],this[e(368)][e(418)])[e(369)];this[e(379)](i)[e(417)](t)}[Pu(379)](t){const e=Pu;return this[e(410)][e(384)]((i=>i[e(369)][e(390)]()===t[e(390)]()))}}const Hu=Zu;function Zu(t,e){const i=qu();return(Zu=function(t,e){return i[t-=336]})(t,e)}function qu(){const t=["data","15982500HYiYWk","newRevisionId","length","_revisionsRepository","217962IiohLj","timePeriodViews","init","getLaterVisibleRevision","Name this revision","revisionHistory.requireRevisionName","render","assign","revisionSetName","isOfficialPlugin","14pGoSBs","fieldView","select","isSelected","isVisible","bind","isPremiumPlugin","1653165iGAamz","nameRevision","defaultRevisionActions","getRevision","Compare against selected","13972zOtzqa","_revisionViewer","availableRevisionActions","revisionHistory","setName","get","_handleEditorDataReady","getEarlierVisibleRevision","config","ready","requires","16fbwjqC","change:diff","add","RevisionsSidebar","string","_sidebarView","focus","appendChild","listenTo","repository","isEnabled","isReady","restoreRevisionCallback","diff","1983428cjZhPw","2734947eVtcCE","locale","_handleRevisionSetName","Restore this revision","revisionSelected","compare","plugins","_revisions","map","name","1992CdfhMM","revisionHistory.revisionActions","getIndex","_handleDiffChange","revisionViews","action","getRevisionsInDiff","element","35643PJdCMq","selectRevision","_handleRevisionSelected","highlightRevisions","remove","destroy","compareAgainstSelected","pluginName","_createRevisionActions","editor","restoreRevision","revisionHistory.viewerSidebarContainer"];return(qu=function(){return t})()}!function(t){const e=Zu,i=t();for(;;)try{if(363883===-parseInt(e(384))/1+parseInt(e(394))/2*(parseInt(e(367))/3)+parseInt(e(348))/4+parseInt(e(401))/5+parseInt(e(359))/6*(parseInt(e(406))/7)+parseInt(e(417))/8*(parseInt(e(349))/9)+-parseInt(e(380))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class $u extends $i.Plugin{static get[Hu(374)](){return Hu(337)}static get[Hu(393)](){return!0}static get[Hu(400)](){return!0}static get[Hu(416)](){return[br]}constructor(t){const e=Hu;super(t),this[e(407)]=t[e(355)][e(411)](br),this[e(383)]=this[e(407)][e(343)],this[e(339)]=null}[Hu(386)](){const t=Hu,e=this[t(383)][t(356)],i=this[t(375)](),n=this[t(376)][t(414)][t(411)](t(378));this[t(339)]=new Uu(this[t(376)][t(350)],e,i,this[t(376)][t(414)][t(411)](t(389))),this[t(339)].on(t(353),this[t(369)][t(399)](this)),this[t(339)].on(t(392),this[t(351)][t(399)](this)),this[t(339)][t(399)](t(344)).to(this[t(407)]),this[t(339)][t(385)].on(t(336),((e,i)=>{const n=t;i[n(363)].on(n(336),((t,e)=>{const i=n;e[i(399)](i(344),i(345)).to(this[i(407)])}))})),this[t(339)][t(390)](),this[t(342)](this[t(376)][t(379)],t(415),this[t(412)][t(399)](this)),this[t(342)](this[t(407)],t(418),this[t(362)][t(399)](this)),n[t(341)](this[t(339)][t(366)])}[Hu(372)](){const t=Hu;this[t(339)][t(366)][t(371)](),this[t(339)][t(372)]()}[Hu(412)](){const t=Hu,e=this[t(383)][t(404)](0);if(e){const i=this[t(383)][t(413)](e.id);this[t(407)][t(354)](e,i)}}[Hu(369)](t,e){const i=Hu,n=this[i(383)][i(404)](e.id),r=this[i(383)][i(413)](n.id);this[i(407)][i(354)](n,r)}[Hu(351)](t,e){const i=Hu;this[i(383)][i(404)](e.id)[i(410)](e[i(358)])}[Hu(362)](t,e,i){const n=Hu,r=this[n(383)][n(365)](i);r[n(382)]>2?(this[n(339)][n(370)](r),this[n(339)][n(368)](null)):(this[n(339)][n(370)]([]),this[n(339)][n(368)](r[0]))}[Hu(375)](){const t=Hu,e=this[t(376)],i=$u[t(408)],n=e[t(414)][t(411)](t(360))||$u[t(403)];if(n[t(382)])return n[t(357)]((n=>{const r=t,s=r(338)==typeof n?Object[r(391)]({},i[n]):n;return s[r(364)]=s[r(364)][r(399)](this,e),s[r(398)]&&(s[r(398)]=s[r(398)][r(399)](this,e)),s}))}}$u[Hu(403)]=[Hu(373),Hu(377),Hu(402)],$u[Hu(408)]={compareAgainstSelected:{name:Hu(405),action:({plugins:t},e)=>{const i=Hu,n=t[i(411)](br),r=n[i(343)];let s=n[i(347)][i(381)],o=e.id;r[i(361)](s)>r[i(361)](o)&&([s,o]=[o,s]),n[i(354)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(411)](br);return!(n[i(343)][i(365)](n[i(347)])[i(382)]>2||e[i(397)])}},restoreRevision:{name:Hu(352),action:(t,{id:e})=>{const i=Hu;t[i(414)][i(411)](i(409))[i(346)](e)},isVisible:({plugins:t},e)=>!!t[Hu(411)](br)[Hu(343)][Hu(387)](e.id)},nameRevision:{name:Hu(388),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(411)](br),s=r[n(343)][n(413)](e);r[n(354)](e,s),i[n(340)](),i[n(395)][n(396)]()}}};const Bu=$u,Yu=Gu;function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=254]})(t,e)}function Ju(){const t=["toolbar","_view","fire","rootName","viewportTopOffset","12510228nczlzb","_initToolbar","isFocused","11WrrkHq","focusTracker","componentFactory","1660zKWKGo","editor","limiterElement","editing","get","fillFromConfig","name","render","view","isActive","_elementReplacer","1533744DksuSa","38871WSjUek","bind","1793455VUHXQW","ready","143992IOxGNl","element","getRoot","detachDomRoot","467982imEnue","replace","_toolbarConfig","viewportOffset","destroy","restore","document","setEditableElement","attachDomRoot","addToolbar","3303USQlvM","77tbnoij","init","436emlryD","stickyPanel","editable","3yDWSzt","config"];return(Ju=function(){return t})()}!function(t){const e=Gu,i=t();for(;;)try{if(491203===parseInt(e(273))/1*(parseInt(e(257))/2)+-parseInt(e(267))/3*(parseInt(e(270))/4)+-parseInt(e(300))/5+-parseInt(e(297))/6+-parseInt(e(268))/7*(-parseInt(e(302))/8)+parseInt(e(298))/9*(-parseInt(e(286))/10)+parseInt(e(283))/11*(parseInt(e(280))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Dn.EditorUI{get[Yu(294)](){return this[Yu(276)]}constructor(e,i){const n=Yu;super(e),this[n(276)]=i,this[n(259)]=(0,Dn.normalizeToolbarConfig)(e[n(274)][n(290)](n(275))),this[n(296)]=new t.ElementReplacer}get[Yu(254)](){const t=Yu;return this[t(294)][t(254)]}[Yu(269)](t){const e=Yu,i=this[e(287)],n=this[e(294)],r=i[e(289)][e(294)],s=n[e(272)],o=r[e(263)][e(255)]();s[e(292)]=o[e(278)],n[e(293)]();const a=s[e(254)];this[e(264)](s[e(292)],a),n[e(272)][e(299)](e(282)).to(this[e(284)]),r[e(265)](a),this[e(296)][e(258)](t,this[e(254)]),this[e(281)](),this[e(277)](e(301))}[Yu(261)](){const t=Yu;super[t(261)]();const e=this[t(294)],i=this[t(287)][t(289)][t(294)];this[t(296)][t(262)](),i[t(256)](e[t(272)][t(292)]),e[t(261)]()}[Yu(281)](){const t=Yu,e=this[t(294)];e[t(271)][t(299)](t(295)).to(this[t(284)],t(282)),e[t(271)][t(288)]=e[t(254)],e[t(271)][t(299)](t(279)).to(this,t(260),(({top:t})=>t)),e[t(275)][t(291)](this[t(259)],this[t(285)]),this[t(266)](e[t(275)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Hn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=il;function el(){var t=["1LQFZDO","110fXtLBp","5EXYIwY","stickyPanel","add","render","1358188hMwOBA","8651678fRccyg","main","content","3764238ywdBhN","top","773692ursRHr","8793aSVBZq","5607107IuKZGk","12496jhCyWZ","3869136VRWlxN","_editable","shouldToolbarGroupWhenFull","editable","toolbar"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=335]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(880695===-parseInt(e(335))/1*(parseInt(e(347))/2)+-parseInt(e(351))/3+-parseInt(e(341))/4*(-parseInt(e(337))/5)+-parseInt(e(345))/6+-parseInt(e(342))/7+-parseInt(e(350))/8*(parseInt(e(348))/9)+parseInt(e(336))/10*(parseInt(e(349))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Dn.BoxedEditorUIView{get[tl(354)](){return this[tl(352)]}constructor(t,e,i={}){var n=tl;super(t),this[n(338)]=new Dn.StickyPanelView(t),this[n(355)]=new Dn.ToolbarView(t,{shouldGroupWhenFull:i[n(353)]}),this[n(352)]=new Dn.InlineEditableUIView(t,e)}[tl(340)](){var t=tl;super[t(340)](),this[t(338)][t(344)][t(339)](this[t(355)]),this[t(346)][t(339)](this[t(338)]),this[t(343)][t(339)](this[t(354)])}}function rl(){const t=["2600fmLJDT","get","1759597WynbXz","model","fire","7930692amRCyt","5334PnJxwe","ready","createRoot","view","editing","701904pKFmSG","_ui","initialData","data","957098clVcdt","4912620RbNvXL","init","document","destroy","updateSourceElement","initPlugins","265OLYupp","4194jwhbmx","config","sourceElement","1DawVxW","6ocvBKb","locale","create"];return(rl=function(){return t})()}const sl=ol;function ol(t,e){const i=rl();return(ol=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(249151===parseInt(e(335))/1*(-parseInt(e(354))/2)+parseInt(e(336))/3*(parseInt(e(350))/4)+-parseInt(e(361))/5*(-parseInt(e(345))/6)+parseInt(e(341))/7+parseInt(e(339))/8*(-parseInt(e(362))/9)+-parseInt(e(355))/10+parseInt(e(344))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rl);class al extends((0,$i.ElementApiMixin)($i.Editor)){get ui(){return this[ol(351)]}constructor(t,e){const i=ol;super(e),this[i(334)]=t,this[i(342)][i(357)][i(347)]();const n=new nl(this[i(337)],this[i(349)][i(348)],{shouldToolbarGroupWhenFull:!0});this[i(351)]=new Ku(this,n)}[sl(358)](){const t=sl;return this[t(359)](),this.ui[t(358)](),super[t(358)]()}static async[sl(338)](t,e){const i=sl,n=new this(t,e);return await n[i(360)](),await n.ui[i(356)](t),await n[i(353)][i(356)](n[i(363)][i(340)](i(352))||""),n[i(343)](i(346)),n}}const cl=ll;function ul(){const t=["revisionHistory.requireRevisionName","get","showRevisionViewerCallback","display","Dialog","isEnabled","destroy","block","7648vTZHLu","addUser","fromVersion","parse","selection","Restored","repository","revisionHistory.showRevisionViewerCallback","RevisionViewerIntegration","enqueueChange","refreshVisibility","180FwQQCo","define","from","Annotations","lazyRoots","detachRoot","set","getAttributeKeys","bind","getRevisionData","requires","Autosave","_getRevisionViewerEditorConfig","revisionHistory.viewerContainer","map","_viewerEditor","revisionHistory.restoreRevisionCallback","RevisionTracker","getMarkersGroup","creator","removeMarker","PaginationLookup","RevisionHistory","restrictedEditingException","toolbar","revision-history-missing-configuration","revisionHistory.closeRevisionViewerCallback","saveRevision","style","exitToEditing","indexOf","createRangeIn","_recalculatePageBreaks","document","getRoot","isOpen","1489845jAPDvk","closeRevisionViewerCallback","16142256CSNQha","includes","config","isPremiumPlugin","fromCharCode","removeSelectionAttribute","keys","plugins","numeric","getRevision","revisionHistory.viewerEditorElement","toLocaleTimeString","translations","revision-history-viewer-opened","remove","catch","markers","isReady","_update","uiLanguage","enableReadOnlyMode","save","getRevisionRootsAttributes","toVersion","pluginName","long","toJSON","revisionHistory.editorContainer","removeAttribute","refreshPositioning","locale","_showRevisionViewer","restoreRevision","rootName","4344600NJvInM","Users","result","setSelection","isAnonymous","toLocaleDateString","name","create","addRoot","141145HjAkkb","has","getUser","RevisionsRepository","insert","createdAt","roots","none","push","then","hide","_enhanceCloseRevisionViewerCallback","isReadOnly","editor","_restoreRevision","RestrictedEditingMode","addRevisionData","changesNavigation","revisionHistory","data","setAttribute","1215662vRQCEx","init","_closeRevisionViewer","isAttached","96FaXQWg","end","RevisionViewer","users","disableReadOnlyMode","join","getRevisions","_cleanUp","RevisionHistoryUI","924894FeIjpk","_enhanceShowRevisionViewerCallback","change","update","$graveyard","commands","adapter","error","model","isOfficialPlugin"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=247]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(813403===parseInt(e(307))/1+parseInt(e(338))/2*(parseInt(e(349))/3)+-parseInt(e(311))/4*(-parseInt(e(286))/5)+parseInt(e(320))/6+-parseInt(e(385))/7+parseInt(e(277))/8+-parseInt(e(387))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(319),cl(301)];class dl extends $i.Plugin{static get[cl(267)](){return cl(346)}static get[cl(329)](){return!0}static get[cl(390)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(363)]((t=>String[e(247)](t)))[e(316)]("")}super(t),this[e(279)]=e(312),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 $i.Plugin{static get[cl(267)](){return cl(371)}static get[cl(329)](){return!0}static get[cl(390)](){return!0}static get[cl(359)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(299)][i(389)][i(331)](i(304)))throw new t.CKEditorError(i(374),this);this[i(364)]=null,this[i(299)][i(389)][i(350)](i(345),(t=>this[i(274)]({...t,translations:this[i(299)][i(273)][i(255)]}))),this[i(299)][i(389)][i(350)](i(375),(t=>this[i(309)](t))),this[i(299)][i(389)][i(350)](i(365),(t=>this[i(300)](t))),this[i(299)][i(389)][i(350)](i(330),!1),this[i(321)](),this[i(297)]()}set[cl(326)](t){const e=cl;this[e(299)][e(250)][e(331)](e(366))[e(326)]=t}get[cl(326)](){const t=cl;return this[t(299)][t(250)][t(331)](t(366))[t(326)]}[cl(302)](t){const e=cl;return this[e(299)][e(250)][e(331)](e(366))[e(302)](t)}[cl(252)](t){const e=cl;return this[e(299)][e(250)][e(331)](e(289))[e(252)](t)}[cl(317)](t){const e=cl;return this[e(299)][e(250)][e(331)](e(289))[e(317)](t||{toJSON:!1})}[cl(361)](){const e=cl,i=this[e(299)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(250)][e(331)](e(366)),s=i[e(250)][e(331)](e(278))[e(314)];return n[e(373)]=[e(378),e(275),e(303)],delete n[e(353)],n[e(250)][e(294)](dl,br,Pr,class extends $i.Plugin{static get[e(359)](){return[br,e(278)]}[e(308)](){const n=e,o=this[n(299)][n(250)][n(331)](n(278));for(const t of s)t[n(281)]||o[n(288)](t.id)||o[n(339)](t);const a=r[n(344)][n(317)]();let c=null;const u=this[n(299)][n(250)][n(331)](n(313));u[n(326)]=r[n(326)],u[n(357)](n(335)).to(r),this[n(299)][n(325)][n(331)](n(275))[n(357)](n(335)).to(i,n(298),(t=>!t));for(const e of a){const i=null===e[n(368)];if(i&&e[n(266)]===e[n(340)])continue;const s=e[n(269)]();u[n(302)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(261)](s,o);else if(!o){const e=a[u(269)]();e.id=(0,t.uid)(),r[u(376)](e,a[u(266)])[u(295)]((t=>{c=t}))}}else e[u(261)](s,o)}))}}},Bu),n}[cl(321)](){const t=cl,e=this[t(299)][t(389)][t(331)](t(304))[t(332)];this[t(299)][t(389)][t(355)](t(345),(async()=>{const i=t;this[i(299)][i(263)](i(256));const n=this[i(299)][i(250)][i(331)](i(366));if(this[i(299)][i(250)][i(287)](i(360))){const t=this[i(299)][i(250)][i(331)](i(360));await t[i(264)]()}else await n[i(323)]();if(this[i(299)][i(250)][i(287)](i(370))&&this[i(299)][i(250)][i(331)](i(370))[i(381)](),this[i(299)][i(250)][i(287)](i(334))){const t=this[i(299)][i(250)][i(331)](i(334));t[i(384)]&&t[i(296)]()}const r=this[i(361)]();return e(r)[i(295)]((t=>{const e=i;return this[e(364)]=t,this[e(299)][e(250)][e(287)](e(352))&&this[e(299)][e(250)][e(331)](e(352))[e(348)](),t}))[i(258)]((t=>(console[i(327)](t),this[i(299)][i(315)](i(256)),null)))}))}[cl(297)](){const t=cl,e=this[t(299)][t(389)][t(331)](t(304))[t(386)];this[t(299)][t(389)][t(355)](t(375),(()=>(this[t(299)][t(250)][t(287)](t(370))&&this[t(299)][t(250)][t(331)](t(370))[t(381)](),this[t(364)][t(250)][t(331)](t(313))[t(318)](),e(this[t(364)])[t(295)]((()=>{const e=t;if(this[e(299)][e(315)](e(256)),this[e(364)]=null,this[e(299)][e(250)][e(287)](e(352))){const t=this[e(299)][e(250)][e(331)](e(352));t[e(348)](),t[e(272)]()}})))))}[cl(274)](t){const e=cl,i=this[e(299)][e(389)][e(331)](e(270)),n=this[e(299)][e(389)][e(331)](e(362)),r=this[e(299)][e(389)][e(331)](e(253));return al[e(284)](r,t)[e(295)]((t=>(n[e(377)][e(333)]=e(337),i[e(377)][e(333)]=e(293),t)))}[cl(309)](t){const e=cl,i=this[e(299)][e(389)][e(331)](e(270));return this[e(299)][e(389)][e(331)](e(362))[e(377)][e(333)]=e(293),i[e(377)][e(333)]="",t[e(336)]()}async[cl(300)](t){const e=cl,i=this[e(299)],n=this[e(364)][e(250)][e(331)](e(313)),r=i[e(250)][e(331)](e(366)),s=n[e(344)][e(252)](t);let o,a,c;try{o=await n[e(358)](s),a=await n[e(265)](s)}catch(t){return void console[e(327)](t)}i[e(328)][e(322)]((t=>{const n=e;for(const e of Array[n(351)](i[n(328)][n(259)][n(367)](n(372))))t[n(369)](e)})),n[e(260)]=!1,i[e(328)][e(347)]((t=>{const n=e;t[n(280)](null),t[n(248)](i[n(328)][n(382)][n(342)][n(356)]());const r=Object[n(249)](o);for(const e of i[n(328)][n(382)][n(292)])n(324)!=e[n(276)]&&e[n(310)]()&&!r[n(388)](e[n(276)])&&t[n(354)](e);for(const e of r){let r=i[n(328)][n(382)][n(383)](e);r&&r[n(310)]()||(r=t[n(285)](e));const s=a[e],c=Object[n(249)](s),u=o[e];for(const e of r[n(356)]())c[n(388)](e)||t[n(271)](e,r);for(const i of c)t[n(306)](i,a[e][i],r);t[n(257)](t[n(380)](r)),t[n(290)](i[n(305)][n(341)](u,r),r,0)}}));const u=Qi(i[e(273)],e(343));return c=s[e(283)]?-1==s[e(283)][e(379)](u)?u+": "+s[e(283)]:s[e(283)]:u+": "+s[e(291)][e(282)](i[e(273)][e(262)],{month:e(268),day:e(251)})+", "+s[e(291)][e(254)](i[e(273)][e(262)],{hour:e(251),minute:e(251)}),await r[e(376)]({name:c}),n[e(260)]=!0,i[e(389)][e(331)](e(304))[e(386)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=498]})(t,e)}function pl(){var t=["1127528pUHmeK","1602411PAHYzI","948LkGytP","1YkoyfN","5792416KheFcI","9645XwMnjC","8852049xHXndr","3082723ZOYodK","464862KxdYCK"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(382371===parseInt(e(504))/1*(parseInt(e(501))/2)+parseInt(e(502))/3+parseInt(e(503))/4*(-parseInt(e(506))/5)+-parseInt(e(500))/6+-parseInt(e(499))/7+-parseInt(e(505))/8+parseInt(e(498))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|