@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +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 +10 -10
- 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
|
@@ -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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Xi,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 E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:P).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=H(t,e);return $(i)?i:void 0};const B=q(k,"Map");const Y=q(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=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var Ht=$t&&$t.isTypedArray;const qt=Ht?zt(Ht):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!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=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(B),Le=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())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Ve;case Le:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(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]"==Ze(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.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=He(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Li(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(660869===-parseInt(e(189))/1+-parseInt(e(196))/2*(-parseInt(e(197))/3)+-parseInt(e(203))/4+-parseInt(e(211))/5*(-parseInt(e(190))/6)+parseInt(e(201))/7+parseInt(e(198))/8*(-parseInt(e(208))/9)+-parseInt(e(206))/10*(-parseInt(e(188))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(191)]=e[i(191)]||null,this[i(200)]=e[i(200)]||[],this[i(213)]=e[i(213)]||null,this[i(187)]=e[i(187)]||0,this[i(193)]=e[i(193)]||0,this[i(212)](i(205),e[i(205)]||""),this[i(212)](i(209),e[i(209)]||new Date),this[i(212)](i(202),e[i(202)]||{})}[Ui(210)](t){this[Ui(192)]({name:t})}[Ui(207)](t,e){const i=Ui,n=vi(this[i(202)]);Ci(n,t,e),this[i(192)]({attributes:n})}[Ui(194)](t){const e=Ui,i=vi(this[e(202)]);Wi(i,t),this[e(192)]({attributes:i})}[Ui(192)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(205),i(209),i(213),i(200),i(202),i(187),i(193),i(195)];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(200)]&&(r[i(186)]=r[i(200)][i(204)]((t=>t.id)),delete r[i(200)]),this[i(199)](i(192),r,e))}[Ui(185)](){const t=Ui;return{id:this.id,name:this[t(205)],creatorId:this[t(191)]?this[t(191)].id:null,authorsIds:this[t(200)][t(204)]((t=>t.id)),diffData:this[t(213)],createdAt:this[t(209)],attributes:this[t(202)],fromVersion:this[t(193)],toVersion:this[t(187)]}}}function Hi(){const t=["643772NvDXGu","map","name","26720mqzVzG","setAttribute","614529RDxXFc","createdAt","setName","45DOGELy","set","diffData","toJSON","authorsIds","toVersion","5137yUoFto","944595IANxzF","219234hhRwSx","creator","_update","fromVersion","removeAttribute","creatorId","6ogFeCh","236973lKGNRk","80iuGDVQ","fire","authors","4448983ertrbN","attributes"];return(Hi=function(){return t})()}var qi=i(782),Bi=i(211),Yi=i(783);const Gi=Ji;function Ji(t,e){const i=Ki();return(Ji=function(t,e){return i[t-=151]})(t,e)}function Ki(){const t=["get","7490Slkgwi","requires","toJSON","newRevisionId","add","getLaterVisibleRevision","map","7863170Qysuni","toVersion","diffData","pluginName","isNaN","658062DAOcRy","plugins","fromCharCode","getRevisions","data","1004uGIDkG","from","2EMuQAI","2433906gMtcEk","length","isPremiumPlugin","name","creatorId","oldRevisionId","2632rnysJs","3380xJSiRL","1103934jBKnpg","push","createRevision","getEarlierVisibleRevision","later","addRevision","getRevisionsIterator","getRevisionsInDiff","fromVersion","href","earlier","getIndex","reverse","Users","getRevision","isOfficialPlugin","RevisionsRepository","afterInit","authorsIds","createdAt","189970vDRIAC","editor","join","_revisions","attributes","getUser"];return(Ki=function(){return t})()}!function(t){const e=Ji,i=t();for(;;)try{if(466714===parseInt(e(201))/1+parseInt(e(172))/2*(-parseInt(e(181))/3)+-parseInt(e(170))/4*(parseInt(e(180))/5)+parseInt(e(165))/6+-parseInt(e(153))/7*(parseInt(e(179))/8)+parseInt(e(173))/9+parseInt(e(160))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Gi(154)](){return[Bi.Users]}static get[Gi(163)](){return Gi(197)}static get[Gi(196)](){return!0}static get[Gi(175)](){return!0}get[Gi(174)](){const t=Gi;return this[t(204)][t(174)]}constructor(e){const i=Gi;super(e),this[i(204)]=new t.Collection}[Gi(198)](){!async function(e){const i=k([83,75,77,53,82,103,99,121,68,88,109,51,87,101,102,52,90,104,105,54,113,97,112,48,56,49,111,107,114,65,118,86,85,73,81,74,66,119,115,120,100,89,78,67,72,110,108,50,80,117,79,55,106,76,70,98,116,57,122,69,71,84]),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(164)](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([83]);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(159)]((t=>String[e(167)](t)))[e(203)]("")}!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:1738108800;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(190)]);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(183)](t){const e=Gi,i=this[e(202)][e(166)][e(152)](e(194));return new $i({id:t.id,name:t[e(176)],creator:t[e(177)]?i[e(151)](t[e(177)]):null,diffData:t[e(162)]||t[e(169)],authors:t[e(199)][e(159)]((t=>i[e(151)](t))),createdAt:new Date(t[e(200)]),attributes:t[e(205)],fromVersion:t[e(189)],toVersion:t[e(161)]})}[Gi(186)](t,e=0){const i=Gi;this[i(204)][i(157)](t,e)}[Gi(195)](t){const e=Gi;return this[e(204)][e(152)](t)}[Gi(168)](t={toJSON:!1}){const e=Gi,i=Array[e(171)](this[e(204)]);return i[e(193)](),t[e(155)]?i[e(159)]((t=>t[e(155)]())):i}[Gi(192)](t){const e=Gi;return this[e(204)][e(192)](t)}[Gi(184)](t){const e=Gi,[,i]=this[e(187)](t,{direction:e(191)});return i}[Gi(158)](t){const e=Gi,[,i]=this[e(187)](t,{direction:e(185)});return i}[Gi(188)](t){const e=Gi,i=[];for(const n of this[e(187)](t[e(156)]))if(i[e(182)](n),n.id===t[e(178)])break;return i}*[Gi(187)](t,{direction:e=Gi(191),filter:i=()=>!0}={}){const n=Gi,r=n(191)===e?1:-1;let s=this[n(204)][n(152)](t),o=this[n(192)](s);for(yield s;s;){if(o+=r,s=this[n(195)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)};function _n(){const t=["468778PWofuF","afterInit","_loadState","nodes","addRoot","_isInit","ready","_startingRevisionId","insertionPosition","vid_end","range","sendBufferedUpdates","invalid","collaboration.channelId","pluginName","createRangeIn","_update","authors","item","getRange","slice","_fixOperation","authorsIds","newValue","loadState","attributes","saveRevision","isPremiumPlugin","targetPosition","_handleSplitOperation","_showLicenseError","getIndex","initialData","_startingVersion","_setAttribute","marked","children","parse","data","_processRootBeforeSave","_copyMarkers","affectsData","_continueCurrentRevision","getLatestVersion","_handleMergeOperation","RealTimeCollaborationClient","remove","locale","editor-initial-data-replaced-with-revision-data","_makeIdsRoot","PendingActions","RevisionsRepository","_replaceEditorDataWithRevisionData","graveyardPosition","getUser","view","189FnSWWn","setSource","revisionHistoryLicenseKeyNotAllowed","getCurrentRevisionId","attributesBefore","_removeRevisionMarkers","offset","_touchedMarkers","model","domainLimit","createPositionAfter","includes","root","_makeModelFromViewString","keys","_generateTape","end","addRootAttribute","508920nGhcDA","getRevisionDocumentData","forEach","conversion","shift","_getFromVersion","repository","_touched","_baseRootsAttributes","getAttributes","createPositionAt","default","getRevisionRootsAttributes","setRevisionData","_insertChild","sort","_markers","size","_diffRoots","isAttached","_addPendingAction","_createInitialRevision","_makeRevision","key","document","find","documentFragment","isEqual","revision-start","detachRoot","trim","_getViewJson","usageLimit","removeRootAttribute","add","paragraph","then","source","position","_bufferedUpdates","9fpPpqA","childCount","finally","$graveyard","markers","revision-end","Empty document","getTransformedByOperation","_getVidAttributeName","oldRange","_touchedRoots","_revisionId","update","vid","diffData","insertion","plugins","getAttribute","_pendingAction","howMany","_markChanges","startsWith","getChildren","offsetSize","revisionHistoryLicenseKeyTrialLimit","getRootNames","Users","createRevision","editor","1813evlgDg","deletions","revisionHistoryLicenseKeyUsageLimit","revisionHistoryLicenseKeyDomainLimit","version","marker","clear","_revisionDataBuilder","createPositionFromPath","_handleRootAttributeOperation","toVersion","revisionHistoryLicenseKeyExpired","from","60404LGaXrF","isReady","string","_diffRootsAttributes","sourcePosition","isAdd","_getPreviousFrom","revisionHistory.resumeUnsavedRevision","attachChange","$text","getNodeByPath","_loadRevisionData","currentRevision","set","delete","getAncestors","toData","_lastFrom","_fixPosition","adapter","some","splitPosition","RevisionTracker","markerToData","map","_handleMoveOperation","evaluationLimit","updateRevisions","start","reverse","isEnabled","merge","split","deletion","getRoot","text","fromVersion","path","getMovedRangeStart","element","values","destroy","createdAt","fromEntries","_loadedStateData","toModel","_fixRange","_isAttached","_findInsertionIndex","_savedMetaData","_transformMarkers","creatorId","Initial revision","roots","_clone","_reset","_calculateMetaData","_licenseKeyCheckInterval","_handleOperation","attributesAfter","name","tableCell","history","23710490hsroSb","elementEnd","define","getOperations","RevisionHistory","createPositionBefore","buildRevisionData","newRange","trialLimit","NEGATIVE_INFINITY","rootsAttributes","revision","_setConversion","init","_bufferUpdate","getRevisions","upcast","reinsert","_initialRevisionId","_removePendingAction","_handleMarkerOperation","revision:","_baseIdsRoots","rootName","reInit","_cloneOperation","featureNotAllowed","requires","has","_applyOperations","useFillerType","_getBaseVids","_handleRootOperation","processor","licenseKey","move","resolve","revisionHistoryLicenseKeyValid","addRevisionData","filter","editing","_operations","nodeAfter","config","creator","15112jfakxb","dataToMarker","type","_getState","stickiness","parent","insertions","toView","createRange","getChild","get","for","_appendChild","keepParagraph","_lastTo","getOperation","length","userId","getWalker","_baseRoots","getData","max","insert","getRevision","initial","PENDING_ACTION_REVISION_HISTORY","_saveMetaData","changeRootAttribute","baseVersion","elementStart","revisionHistoryLicenseKeyEvaluationLimit","_handleInsertOperation","clone","getTime","_prepareViewToSave","_isPendingUpdate","vid_start","addRevision","_authorId","_execute","previousPosition","expired","hasContent","dataDowncast","data-revision-","isOfficialPlugin","_createFromRanges","push","revisionHistoryLicenseKeyInvalid","stringify","bind","5893005jIYPXS","2040660TilYmf","_removeMetaData","_source","_idsRoots","_createCurrentRevision"];return(_n=function(){return t})()}const In=Tn;!function(t){const e=Tn,i=t();for(;;)try{if(591212===-parseInt(e(355))/1+-parseInt(e(429))/2+parseInt(e(411))/3*(parseInt(e(511))/4)+-parseInt(e(349))/5+-parseInt(e(350))/6+parseInt(e(498))/7*(-parseInt(e(298))/8)+-parseInt(e(469))/9*(-parseInt(e(574))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_n);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[In(369)](){return In(533)}static get[In(343)](){return!0}static get[In(382)](){return!0}static get[In(280)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=In;super(e),this[i(530)]=null,this[i(523)]=null,this[i(505)]=new Nn(this[i(497)]),this[i(271)]=this[i(497)][i(296)][i(308)](i(368))||i(322),this[i(468)]=new Map,this[i(555)]=null;const n=(0,t.uid)();this[i(352)]={history:this[i(497)][i(419)][i(453)][i(573)],getLatestVersion:()=>Promise[i(289)](this[i(497)][i(419)][i(453)][i(502)]),getCurrentRevisionId:()=>n},this[i(524)](i(512),!1),this[i(524)](i(541),!0),this[i(524)](i(333),!1),this[i(497)][i(296)][i(576)](i(518),!0),this[i(497)][i(432)][i(309)](i(269))[i(299)]({view:i(264)})}[In(266)](){const t=In;this[t(435)]=this[t(497)][t(485)][t(308)](t(406)),this[t(265)](),this[t(497)][t(393)].on(t(361),(()=>{const e=t,i=this[e(435)][e(321)](0),n=i&&null===i[e(297)]?i:null;if(this[e(397)]=!!n&&this[e(497)][e(296)][e(308)](e(518)),this[e(497)][e(485)][e(281)](e(400))){const t=this[e(352)][e(414)](),r=this[e(435)][e(321)](t);if(r)this[e(388)]=r[e(547)],this[e(397)]=!1;else{const t=this[e(352)][e(573)][e(294)][e(454)]((t=>!t[e(360)])),r=t?t[e(326)]:this[e(352)][e(573)][e(502)];i?(i[e(508)]<r&&i[e(371)]({toVersion:r}),this[e(397)]?(this[e(352)][e(414)]=()=>n.id,this[e(388)]=n[e(547)]):(this[e(388)]=i[e(508)],this[e(397)]=!1)):(this[e(388)]=r,this[e(397)]=!1)}}else n&&(this[e(497)][e(419)][e(453)][e(573)][e(502)]=Math[e(319)](n[e(508)],this[e(497)][e(419)][e(453)][e(573)][e(502)]),n[e(547)]===n[e(508)]?(0!==n[e(547)]&&(this[e(352)][e(414)]=()=>n.id),this[e(397)]=!1):this[e(397)]&&(this[e(352)][e(414)]=()=>n.id,this[e(388)]=n[e(547)])),this[e(397)]||(this[e(388)]=this[e(497)][e(419)][e(453)][e(502)]);this[e(505)][e(266)](this[e(352)][e(573)]),this[e(450)](this[e(388)]),this[e(354)](this[e(388)]),this[e(530)]&&this[e(366)]()})),this[t(348)](t(512)).to(this,t(333),(t=>!t)),this[t(287)]=this[t(497)][t(296)][t(308)](t(287));const e=this[t(497)];this[t(568)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(290)==s||i(346)==s||i(509)==s||i(501)==s||i(413)==s||i(328)==s||i(493)==s||i(500)==s){delete e[r],n=s,clearInterval(this[i(568)]),this[i(568)]=void 0;break}}i(346)==n&&e[i(385)](i(367)),i(509)==n&&e[i(385)](i(339)),i(501)==n&&e[i(385)](i(420)),i(413)==n&&e[i(385)](i(279),i(578)),i(328)==n&&e[i(385)](i(537)),i(493)==n&&e[i(385)](i(261)),i(500)==n&&e[i(385)](i(461))}),1e3)}async[In(356)](){const t=In;if(this[t(435)][t(314)]>0){const e=this[t(435)][t(321)](0),i=await this[t(430)](e),n=await this[t(441)](e);this[t(407)](i,n)}}[In(552)](){const t=In;super[t(552)](),this[t(568)]&&clearInterval(this[t(568)])}[In(412)](t){this[In(352)]=t}async[In(481)](){const t=In,e=await this[t(352)][t(398)]();if(e>this[t(523)][t(508)]){await this[t(357)]();const i=this[t(259)]({revision:this[t(523)],to:e});i[t(372)]=i[t(377)][t(535)]((e=>this[t(497)][t(485)][t(308)](t(495))[t(409)](e))),this[t(523)][t(371)](i)}}async[In(357)](){const t=In;this[t(397)]&&!this[t(555)]&&(await this[t(522)](this[t(523)]),this[t(505)][t(379)](this[t(523)]),this[t(555)]={fromVersion:this[t(523)][t(547)],authors:this[t(523)][t(372)][t(375)]()})}async[In(381)](e={},i=null){const n=In,r=[];await this[n(357)](),this[n(397)]=!1,i>this[n(523)][n(508)]&&(i=null),null===i&&(i=await this[n(352)][n(398)]());const s=this[n(434)](i),o=this[n(259)]({from:s,to:i});if(this[n(523)][n(508)]<i){const t=this[n(259)]({revision:this[n(523)],from:i,to:i});t[n(372)]=[],t[n(377)]=[],t.id=this[n(523)].id,this[n(523)][n(371)](t,!0),delete t[n(372)],r[n(345)](t)}e[n(562)]=this[n(497)][n(485)][n(308)](n(495)).me.id,e[n(571)]=e[n(571)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(291)](e);r[n(345)](e);const c=this[n(435)][n(386)](a);if(0!==c){const t=this[n(435)][n(321)](c-1);if(t[n(547)]!==i){const s=this[n(505)][n(318)](i,t[n(508)]),o={id:t.id,diffData:s[n(483)],authorsIds:s[n(377)],authors:s[n(377)][n(535)]((t=>this[n(497)][n(485)][n(308)](n(495))[n(409)](t))),fromVersion:i};t===this[n(523)]&&(o[n(553)]=new Date(e[n(553)][n(331)]()+10)),t[n(371)](o,!0),delete o[n(372)],r[n(345)](o)}}if(this[n(530)]){for(const t of r)this[n(267)](t.id,t,!0);this[n(366)]()}return a}[In(291)](t){const e=In,i=this[e(435)][e(496)](t);return this[e(530)]&&i.on(e(371),((t,i,n)=>{const r=e;n||(this[r(267)](i.id,i,!0),this[r(366)]())})),this[e(435)][e(335)](i,this[e(559)](i)),i}async[In(430)](t){const e=In;await this[e(522)](t);const i={};for(const n in t[e(483)]){if(t[e(483)][n][e(519)]&&!t[e(483)][n][e(519)][e(448)])continue;const r=this[e(416)](JSON[e(392)](t[e(483)][n][e(304)])),s=this[e(497)][e(293)][e(410)][e(453)],o=new Yi.ViewDocumentFragment(s,r[e(535)]((t=>xn(t,this[e(497)]))));this[e(497)][e(393)][e(286)][e(283)](e(390)),i[n]=this[e(497)][e(393)][e(286)][e(527)](o),this[e(497)][e(393)][e(286)][e(283)](e(440))}return i}async[In(441)](t){const e=In;await this[e(522)](t);const i={};for(const n in t[e(483)])t[e(483)][n][e(519)]&&!t[e(483)][n][e(519)][e(448)]||(i[n]=t[e(483)][n][e(570)]||{});return i}[In(366)](){const t=In;if(0===this[t(468)][t(446)])return;if(this[t(333)])return;let e=Array[t(510)](this[t(468)][t(551)]());this[t(468)][t(504)]();for(let i=0;i<e[t(314)];i++){const n=e[i];let r=!1;for(const e of Object[t(425)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(292)]((t=>null!==t)),!e[t(314)])return;for(let i=0;i<e[t(314)];i++){const n=e[i];void 0!==n[t(547)]&&void 0===n[t(508)]&&(n[t(508)]=this[t(435)][t(321)](n.id)[t(508)]),void 0!==n[t(508)]&&void 0===n[t(547)]&&(n[t(547)]=this[t(435)][t(321)](n.id)[t(547)])}const i=this[t(497)][t(296)][t(308)](t(368));this[t(333)]=!0,this[t(449)](),this[t(530)][t(538)](e,i)[t(471)]((()=>{this[t(333)]=!1}))[t(465)]((e=>{const i=t;if(e)for(const t of e)this[i(442)]({id:t.id,createdAt:t[i(553)]});this[i(272)](),this[i(366)]()}))}[In(407)](e,i){const n=In;let r=this[n(497)][n(296)][n(308)](n(387)),s=this[n(497)][n(296)][n(308)](n(263));if(void 0===r){r={};for(const t of this[n(497)][n(419)][n(453)][n(494)]())r[t]=""}if(n(513)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(497)][n(419)][n(453)][n(494)]())s[t]={}}let o=!1;const a=Object[n(425)](r),c=Object[n(425)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(459)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(425)](s[t])[n(314)]>0){o=!0;break}}o||(o=c[n(531)]((t=>!this[n(497)][n(419)][n(453)][n(545)](t)))),o&&(0,t.logWarning)(n(403),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(497)][n(296)][n(524)](n(387),e),this[n(497)][n(296)][n(524)](n(263),i)}[In(449)](){const t=In;if(!this[t(487)]){const e=this[t(497)][t(485)][t(308)](t(405));this[t(487)]=e[t(463)](Qi(this[t(497)][t(402)],t(323)))}}[In(272)](){const t=In;this[t(487)]&&(this[t(497)][t(485)][t(308)](t(405))[t(401)](this[t(487)]),this[t(487)]=null)}[In(559)](t){const e=In,i=this[e(435)][e(268)]();i[e(540)]();let n=0;for(;n<i[e(314)];){const r=i[n];if(r===this[e(523)]){n++;continue}if(r.id===this[e(271)])break;const s=t[e(508)]-r[e(508)]||t[e(547)]-r[e(547)];if(s>0)break;if(s<0)n++;else{if(!t[e(297)]&&r[e(297)])break;if(r[e(297)]||!t[e(297)]){if(t[e(553)]>r[e(553)])break;n++}else n++}}return n}[In(442)](t){const e=In,i=this[e(435)][e(321)](t.id);if(t[e(553)]&&(t[e(553)]=new Date(t[e(553)])),t[e(377)]){const i=this[e(497)][e(485)][e(308)](e(495));t[e(372)]=t[e(377)][e(535)]((t=>i[e(409)](t)))}i[e(371)](t,!0)}[In(259)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(547)],i=null!==i?i:t[n(508)];const r=this[n(505)][n(318)](e,i),s={diffData:r[n(483)],authorsIds:r[n(377)],fromVersion:e,toVersion:i};if(!t||i!==t[n(508)]){const t=i-1,e=this[n(352)][n(573)][n(313)](t);s[n(553)]=e&&e[n(553)]||new Date}if(this[n(555)]&&e===this[n(555)][n(547)])for(const t of this[n(555)][n(372)])s[n(377)][n(422)](t.id)||s[n(377)][n(345)](t.id);return s}[In(522)](t){const e=In;if(!t||t[e(483)])return Promise[e(289)]();{const i=this[e(497)][e(296)][e(308)](e(368));return this[e(530)][e(321)]({channelId:i,revisionId:t.id})[e(465)]((i=>{const n=e;t[n(483)]=i[n(483)]}))}}[In(267)](t,e,i){const n=In;if(this[n(468)][n(281)](t)){const r=this[n(468)][n(308)](t);e=i?{...r,...e}:{...e,...r}}this[n(468)][n(524)](t,e)}[In(434)](t){const e=In,i=this[e(435)][e(268)]();i[e(540)](),i[e(433)]();const n=i[e(454)]((i=>i[e(508)]<=t))[e(508)];return n<this[e(388)]?this[e(388)]:n}[In(450)](t){const e=In,i=this[e(435)][e(321)](this[e(435)][e(314)]-1);if(i)this[e(271)]=i.id;else{const i=!this[e(497)][e(419)][e(453)][e(564)][e(454)]((t=>this[e(497)][e(419)][e(340)](t))),n=this[e(497)][e(485)][e(308)](e(495)).me.id,r=Qi(this[e(497)][e(402)],e(i?475:563));this[e(451)]({from:t,to:t,id:this[e(271)],name:r,creatorId:n})}}[In(354)](t){const e=In,i=this[e(352)][e(414)]();this[e(523)]=this[e(435)][e(321)](i),this[e(523)]||(this[e(523)]=this[e(451)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(451)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(259)]({from:e,to:i});o[s(571)]=t,o[s(562)]=n,o.id=r;const a=this[s(291)](o);return this[s(530)]&&this[s(267)](o.id,o,!0),a}[In(265)](){const t=In;this[t(497)][t(432)][t(309)](t(341))[t(534)]({model:t(264)})}[In(416)](t){const e=In;return(t=t[e(292)]((t=>!t[e(571)]||e(457)!==t[e(571)]&&e(474)!==t[e(571)])))[e(431)]((t=>{const i=e;i(513)!=typeof t&&(t[i(391)]=this[i(416)](t[i(391)]),t[i(380)]=t[i(380)][i(292)]((t=>!t[0][i(490)](i(342)))))})),t}}function xn(t,e){const i=In,n=e[i(293)][i(410)][i(453)];if(i(513)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(391)][i(535)]((t=>xn(t,e)));return new(Sn[t[i(300)]]||Yi.ViewElement)(n,t[i(571)],t[i(380)],r)}}function Tn(t,e){const i=_n();return(Tn=function(t,e){return i[t-=259]})(t,e)}class Nn{constructor(t){const e=In;this[e(497)]=t,this[e(560)]=new Map,this[e(528)]=-1,this[e(312)]=-1,this[e(445)]=new Map,this[e(447)]=new Map,this[e(514)]=new Map,this[e(317)]=new Map,this[e(437)]=new Map,this[e(353)]=new Map,this[e(275)]=new Map,this[e(436)]=new Map,this[e(418)]=new Map,this[e(479)]=new Map,this[e(480)]=1}[In(266)](t){const e=In;this[e(466)]=t;const i=new Map,n=new Map,r=this[e(497)][e(419)][e(453)][e(564)][e(535)]((t=>t[e(276)]));for(const t of r){const r=this[e(497)][e(419)][e(453)][e(545)](t),s=An(r);i[e(524)](t,s),n[e(524)](t,Object[e(554)](r[e(438)]()))}const s=Array[e(510)](this[e(497)][e(419)][e(473)])[e(535)]((t=>[t[e(571)],t[e(374)]()])),o=this[e(466)][e(502)];this[e(324)](o,i,s,n),this[e(362)]=this[e(480)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(524)](t,i),c[e(524)](t,{})}this[e(324)](Number[e(262)],a,[],c)}[In(318)](t,e){const i=In;if(this[i(528)]===t&&this[i(312)]<=e)this[i(560)][i(446)]>1&&this[i(351)](this[i(312)]),this[i(282)](this[i(312)],e,!0);else{if(!this[i(560)][i(281)](t)){const e=this[i(517)](t);this[i(567)](e,t,!1)}this[i(567)](t,e,!0)}return this[i(528)]=t,this[i(312)]=e,this[i(301)]()}[In(379)](t){const e=In;this[e(566)](),this[e(528)]=t[e(547)],this[e(312)]=t[e(508)];for(const i in t[e(483)]){const n=t[e(483)][i][e(519)],r=vi(t[e(483)][i][e(415)])||{},s=this[e(424)](t[e(483)][i][e(499)]);s[e(276)]=i,s[e(558)]=!n||!n[e(448)],s[e(448)]=()=>s[e(558)],this[e(317)][e(524)](i,s),this[e(437)][e(524)](i,r),n&&this[e(479)][e(524)](i,n);const o=this[e(404)](s);this[e(275)][e(524)](i,o);for(const[t,i]of s[e(473)]){if(!t[e(490)](e(274)))continue;const n=t[e(543)](":")[2];for(const t of i[e(316)]({singleCharacters:!0})){const i=this[e(477)](t),r=e(575)==t[e(300)]?t[e(338)][e(548)][e(375)](0,-1):t[e(338)][e(548)],s=o[e(521)](r)[e(486)](i);this[e(436)][e(524)](s,{userId:n})}}}this[e(362)]=this[e(480)];const i=[...Array(this[e(480)])[e(425)]()][e(375)](1)[e(292)]((t=>!this[e(436)][e(281)](t)));let n=0;const r=new Map;for(const s in t[e(483)]){const o=t[e(483)][s][e(519)],a=vi(t[e(483)][s][e(570)])||{},c=this[e(424)](t[e(483)][s][e(304)]);c[e(276)]=s,c[e(558)]=!o||o[e(448)],c[e(448)]=()=>c[e(558)],this[e(447)][e(524)](s,c),this[e(514)][e(524)](s,a);const u=this[e(404)](c,Number[e(262)]);this[e(353)][e(524)](s,u),r[e(524)](s,c[e(448)]()?a:{});for(const[t,i]of c[e(473)]){if(!t[e(490)](e(274)))continue;const n=t[e(543)](":")[2];for(const t of i[e(316)]({singleCharacters:!0})){const i=this[e(477)](t),r=this[e(480)]++,s=e(575)==t[e(300)]?t[e(338)][e(548)][e(375)](0,-1):t[e(338)][e(548)];u[e(521)](s)[e(389)](i,r),this[e(436)][e(524)](r,{userId:n})}}for(const t of this[e(497)][e(419)][e(370)](c)[e(316)]({singleCharacters:!0})){const r=this[e(477)](t),s=e(575)==t[e(300)]?t[e(338)][e(548)][e(375)](0,-1):t[e(338)][e(548)],o=u[e(521)](s);o[e(486)](r)>0||o[e(389)](r,i[n++])}for(const[t,i]of c[e(473)])t[e(490)](e(274))||this[e(445)][e(524)](t,i)}const s=Rn(e(472));this[e(317)][e(524)](e(472),s),this[e(275)][e(524)](e(472),this[e(404)](s,1));const o=Rn(e(472));this[e(447)][e(524)](e(472),o),this[e(353)][e(524)](e(472),this[e(404)](o,1));const a=Array[e(510)](this[e(447)])[e(535)]((([t,e])=>[t,An(e)]));this[e(324)](this[e(312)],a,this[e(445)],r)}[In(424)](t){const e=In,i=JSON[e(392)](t),n=this[e(497)][e(293)][e(410)][e(453)],r=new Yi.ViewDocumentFragment(n,i[e(535)]((t=>xn(t,this[e(497)]))));return this[e(497)][e(393)][e(556)](r)}[In(324)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(524)](t,{start:e[r(539)][r(330)](),end:e[r(427)][r(330)](),rootName:e[r(423)][r(276)]});this[r(560)][r(524)](t,{roots:s,markers:a,rootsAttributes:o})}[In(351)](t){const e=In;this[e(560)][e(525)](t)}[In(277)](){const t=In;this[t(566)](),this[t(528)]=-1,this[t(312)]=-1,this[t(560)][t(504)](),this[t(266)](this[t(466)])}[In(566)](){const t=In;this[t(436)][t(504)](),this[t(418)][t(504)](),this[t(479)][t(504)](),this[t(447)][t(504)](),this[t(514)][t(504)](),this[t(317)][t(504)](),this[t(437)][t(504)](),this[t(353)][t(504)](),this[t(275)][t(504)](),this[t(445)][t(504)](),this[t(480)]=1,this[t(362)]=this[t(480)]}[In(404)](t,e=null){const i=In;let n=null;t.is(i(455))||(n=new Yi.Element(t[i(571)],{vid_start:null===e?this[i(480)]++:e++}));const r=[];for(const n of t[i(491)]())if(n.is(i(550))){r[i(345)](this[i(404)](n,e));const t=r[r[i(314)]-1];null!==e&&(e=t.is(i(550),i(520))?t[i(486)](i(482))+1:t[i(486)](i(364))+1)}else for(let t=0;t<n[i(492)];t++)r[i(345)](new Yi.Element(i(520),{vid:null===e?this[i(480)]++:e++}));if(t.is(i(455))){const e=Rn(t[i(276)]);return e[i(443)](0,r),e}return n[i(389)](i(364),null===e?this[i(480)]++:e++),n[i(443)](0,r),n}[In(567)](t,e,i){const n=In;this[n(566)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(560)][n(308)](t);this[n(317)]=new Map(r),this[n(437)]=new Map(vi(o));for(const[t,e]of this[n(317)])if(n(472)!==t&&(this[n(447)][n(524)](t,An(e)),this[n(514)]=new Map(vi(o)),i)){const i=this[n(480)];this[n(353)][n(524)](t,this[n(404)](e)),this[n(275)][n(524)](t,this[n(404)](e,i))}this[n(362)]=this[n(480)],this[n(447)][n(524)](n(472),An(this[n(317)][n(308)](n(472)))),i&&this[n(353)][n(524)](n(472),this[n(404)](this[n(317)][n(308)](n(472))));for(const[t,e]of s){const i=this[n(317)][n(308)](e[n(276)]),r=this[n(447)][n(308)](e[n(276)]),s=new Yi.Range(this[n(529)](e[n(539)],i),this[n(529)](e[n(427)],i)),o=this[n(557)](s,r);i[n(473)][n(524)](t,s),this[n(445)][n(524)](t,o)}this[n(282)](t,e,i)}[In(282)](t,e,i){const n=In;for(const r of this[n(466)][n(577)](t,e))this[n(569)](r,i);for(const t of this[n(447)][n(551)]())t[n(473)][n(504)]();for(const[t,e]of this[n(445)])this[n(447)][n(308)](e[n(423)][n(276)])[n(473)][n(524)](t,e[n(330)]());const r=new Map,s=new Map;for(const[t,e]of this[n(447)])r[n(524)](t,An(e)),s[n(524)](t,this[n(514)][n(308)](t));this[n(324)](e,r,this[n(445)],s)}[In(517)](t){const e=In,i=Array[e(510)](this[e(560)][e(425)]());i[e(444)](((t,e)=>t-e)),i[e(540)]();for(const e of i)if(e<t)return e;return Number[e(262)]}[In(395)](t,e){const i=In,n=Array[i(510)](e[i(473)])[i(535)]((([e,n])=>[e,this[i(557)](n,t)]));t[i(473)]=new Map(n)}[In(561)](t){const e=In;for(const i of this[e(445)][e(551)]()){const n=i[e(476)](t),r=Yi.Range[e(344)](n);i[e(539)]=r[e(539)],i[e(427)]=r[e(427)]}}[In(569)](t,e){const i=In;if(i(359)!=t[i(300)]&&i(458)!=t[i(300)]){if(i(320)==t[i(300)]){const n=t[i(467)][i(423)][i(276)];this[i(447)][i(281)](n)||(this[i(447)][i(524)](n,Rn(n,!0)),this[i(514)][i(524)](n,{}),e&&this[i(353)][i(524)](n,Rn(n,!0)))}else{if(i(428)==t[i(300)]||i(462)==t[i(300)]||i(325)==t[i(300)])return void this[i(507)](t);i(503)==t[i(300)]&&this[i(273)](t)}if(i(503)!==t[i(300)]){const e=this[i(278)](t,this[i(447)]);e[i(337)](),this[i(561)](e)}if(e)switch(t[i(300)]){case i(320):this[i(329)](t);break;case i(288):case i(401):case i(270):this[i(536)](t);break;case i(542):this[i(399)](t);break;case i(543):this[i(384)](t)}}else this[i(285)](t,e)}[In(278)](t,e){const i=In,n=t[i(330)]();return n[i(336)]=t[i(336)],this[i(376)](n,e),n}[In(284)](t){const e=In;return t[e(535)]((t=>{const i=e,n=this[i(477)](t);return Number(t[i(373)][i(486)](n))}))}[In(426)](t,e){const i=In;if(t.is(i(550),i(520)))e[i(345)]({item:t,type:i(546)});else{t.is(i(550))&&e[i(345)]({item:t,type:i(327)});for(const n of t[i(491)]())this[i(426)](n,e);t.is(i(550))&&e[i(345)]({item:t,type:i(575)})}return e}[In(301)](){const t=In,e=new Map(this[t(436)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(317)][t(425)](),...this[t(447)][t(425)]()]);a[t(525)](t(472));for(const e of a){const i=this[t(447)][t(308)](e)||Rn(e,!1),n=this[t(317)][t(308)](e)||Rn(e,!1);i[t(448)]()||n[t(448)]()?(r[t(304)][e]=An(i),r[t(499)][e]=An(n),this[t(395)](r[t(499)][e],n),this[t(395)](r[t(304)][e],i),s[t(304)][e]=this[t(426)](this[t(353)][t(308)](e),[]),s[t(499)][e]=this[t(426)](this[t(275)][t(308)](e)||Rn(e,!1),[])):a[t(525)](e)}for(const r of a){const o=s[t(304)][r];for(const r of o){const s=this[t(477)](r),o=r[t(373)][t(486)](s);i[t(525)](o),o>=this[t(362)]&&n[t(524)](o,e[t(308)](o))}}for(const r of a){const a=s[t(304)][r],c=this[t(284)](s[t(499)][r]);let u=0;for(const r of a){const s=this[t(477)](r),a=r[t(373)][t(486)](s);if(!n[t(281)](a)&&!o[t(281)](a))if(i[t(281)](a))u++;else{if(a!=c[u]){const n=e[t(308)](a)||e[t(308)](c[u]);for(;a!=c[u];)i[t(281)](c[u])||(o[t(524)](c[u],n),e[t(524)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(304)][e];for(const e of r){const r=this[t(477)](e),s=e[t(373)][t(486)](r);if(o[t(281)](s)){const e=o[t(308)](s);i[t(281)](s)||i[t(524)](s,{...e}),n[t(524)](s,{...e})}}}for(const e of i[t(425)]())e>=this[t(362)]&&i[t(525)](e);const c=new Map;for(const e of a){let r=s[t(304)][e];for(const e of r)if(e[t(373)].is(t(550),t(572))){const i=this[t(477)](e),r=e[t(373)][t(486)](i);if(n[t(281)](r)){const i=e[t(373)][t(303)][t(303)][t(486)](t(334)),s=c[t(308)](i)||new Set;s[t(463)](n[t(308)](r)[t(315)]),c[t(524)](i,s)}}r=s[t(499)][e];for(const e of r)if(e[t(373)].is(t(550),t(572))){const n=this[t(477)](e),r=e[t(373)][t(486)](n);if(i[t(281)](r)){const n=e[t(373)][t(303)][t(303)][t(486)](t(334)),s=c[t(308)](n)||new Set;s[t(463)](i[t(308)](r)[t(315)]),c[t(524)](n,s)}}for(const e of c[t(425)]())(n[t(281)](e)||i[t(281)](e))&&c[t(525)](e)}for(const e of a){const r=s[t(304)][e];let o=null,a=null;for(const e of r){const r=this[t(477)](e),s=e[t(373)][t(486)](r),u=c[t(308)](s);u&&t(327)==e[t(300)]&&(o=Array[t(510)](u)[0],a=e[t(373)][t(486)](t(364))),o&&(i[t(524)](s,{userId:o}),n[t(524)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(499)][e],a=r[t(304)][e];for(const{userId:e}of this[t(418)][t(551)]())null!==e&&l[t(463)](e);for(const{userId:e}of this[t(479)][t(551)]())null!==e&&l[t(463)](e);this[t(489)](a,s[t(304)][e],n,t(484),l),this[t(489)](o,s[t(499)][e],i,t(544),l),u[e]={insertions:this[t(332)](a),deletions:this[t(332)](o),attachChange:this[t(479)][t(308)](e)||null,attributesBefore:vi(this[t(437)][t(308)](e))||{},attributesAfter:vi(this[t(514)][t(308)](e))}}return{diffData:u,authorsIds:Array[t(510)](l)}}[In(394)](t){const e=In;for(const[,i]of t[e(473)]){const t=i[e(539)][e(526)]()[e(292)]((t=>e(572)==t[e(571)]));for(const i of t)1==i[e(470)]&&i[e(307)](0).is(e(550),e(464))&&i[e(307)](0)[e(389)](e(311),!0)}}[In(332)](t){const e=In;this[e(394)](t);const i=this[e(497)][e(393)][e(305)](t,{}),n=Array[e(510)](i[e(491)]())[e(535)]((t=>this[e(460)](t)));return JSON[e(347)](n)}[In(460)](t){const e=In;if(t.is(e(520)))return t[e(393)];{const i=t;return{type:Object[e(425)](Sn)[e(454)]((e=>t instanceof Sn[e])),name:i[e(571)],attributes:Array[e(510)](i[e(438)]()),children:Array[e(510)](i[e(491)]())[e(535)]((t=>this[e(460)](t)))}}}[In(489)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(497)][s(419)];for(let n=0;n<e[s(314)];n++){const r=this[s(477)](e[n]),c=e[n][s(373)][s(486)](r),h=i[s(308)](c),d=n==e[s(314)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(315)]!=o[s(315)])&&(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(315)],d=l(274)+n+":"+h+":"+c++,f=u[l(306)](i,a);t[l(473)][l(524)](d,f),null!==h&&r[l(463)](h)}}[In(477)](t){const e=In;switch(t[e(300)]){case e(327):return e(334);case e(575):return e(364);default:return e(482)}}[In(376)](t,e){const i=In;t[i(326)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(308)](r[i(423)][i(276)]);t[n]=this[i(529)](r,s)}if(r instanceof Yi.Range){const s=e[i(308)](r[i(423)][i(276)]);t[n]=this[i(557)](r,s)}i(423)===n&&(t[i(423)]=e[i(308)](t[i(423)][i(276)]))}}[In(557)](t,e){const i=In;return this[i(497)][i(419)][i(306)](this[i(529)](t[i(539)],e),this[i(529)](t[i(427)],e))}[In(529)](t,e){const i=In;return this[i(497)][i(419)][i(506)](e,t[i(548)],t[i(302)])}[In(329)](t){const e=In,i=this[e(353)][e(308)](t[e(467)][e(423)][e(276)]),n=this[e(529)](t[e(467)],i),r=null===t[e(336)]?null:t[e(336)]||this[e(497)][e(485)][e(308)](e(495)).me.id,s=n[e(303)],o=this[e(480)],a=[];for(const i of t[e(358)])if(i.is(e(550)))a[e(345)](this[e(404)](i));else for(let t=0;t<i[e(492)];t++)a[e(345)](new Yi.Element(e(520),{vid:this[e(480)]++}));const c=this[e(480)];for(let t=o;t<c;t++)this[e(436)][e(524)](t,{userId:r});s[e(443)](n[e(417)],a)}[In(536)](t){const e=In;(t=this[e(278)](t,this[e(353)]))[e(337)]();const i=null===t[e(336)]?null:t[e(336)]||this[e(497)][e(485)][e(308)](e(495)).me.id,n=t[e(549)](),r=n[e(303)],s=n[e(417)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(307)](e);s.is(a(550),a(520))?n[a(524)](s[a(486)](a(482)),{userId:i}):(n[a(524)](s[a(486)](a(334)),{userId:i}),t(n,s,0,s[a(470)]),n[a(524)](s[a(486)](a(364)),{userId:i}))}}(this[e(436)],r,s,s+t[e(488)])}[In(399)](t){const e=In,i=null===(t=this[e(278)](t,this[e(353)]))[e(336)]?null:t[e(336)]||this[e(497)][e(485)][e(308)](e(495)).me.id,n=t[e(383)][e(303)],r=t[e(515)][e(303)],s=n[e(486)](e(364)),o=r[e(486)](e(334));n[e(389)](e(364),r[e(486)](e(364))),r[e(389)](e(364),s),this[e(436)][e(524)](o,{userId:i}),this[e(436)][e(524)](s,{userId:i}),t[e(337)]()}[In(384)](t){const e=In,i=null===(t=this[e(278)](t,this[e(353)]))[e(336)]?null:t[e(336)]||this[e(497)][e(485)][e(308)](e(495)).me.id,n=t[e(408)],r=t[e(532)][e(303)];t[e(337)]();const s=r[e(486)](e(364)),o=t[e(363)][e(295)];if(n){const t=o[e(486)](e(364)),n=r[e(486)](e(364));r[e(389)](e(364),t),o[e(389)](e(364),n),this[e(436)][e(524)](r[e(486)](e(364)),{userId:i}),this[e(436)][e(524)](o[e(486)](e(334)),{userId:i})}else{const t=this[e(480)]++,n=this[e(480)]++;r[e(389)](e(364),t),o[e(389)](e(334),n),o[e(389)](e(364),s),this[e(436)][e(524)](t,{userId:i}),this[e(436)][e(524)](n,{userId:i})}}[In(273)](t){const e=In;if(!t[e(396)])return;const i=(t=this[e(278)](t,this[e(447)]))[e(478)]?t[e(478)][e(423)]:null,n=t[e(260)]?t[e(260)][e(423)]:null;i&&this[e(445)][e(525)](t[e(571)]),n&&this[e(445)][e(524)](t[e(571)],t[e(260)][e(330)]());const r=null===t[e(336)]?null:t[e(336)]||this[e(497)][e(485)][e(308)](e(495)).me.id,s=t[e(571)];if(!this[e(418)][e(281)](s))return void this[e(418)][e(524)](s,{range:t[e(478)],userId:r});const o=this[e(418)][e(308)](s),a=o[e(365)],c=t[e(260)];null==a&&null==c||a&&c&&a[e(456)](c)?this[e(418)][e(525)](t[e(571)]):o[e(315)]=r}[In(285)](t,e){const i=In;this[i(447)][i(281)](t[i(276)])?this[i(447)][i(308)](t[i(276)])[i(558)]=t[i(516)]:(this[i(447)][i(524)](t[i(276)],Rn(t[i(276)],!0)),this[i(514)][i(524)](t[i(276)],{}),e&&this[i(353)][i(524)](t[i(276)],Rn(t[i(276)],!0)));const n=null===t[i(336)]?null:t[i(336)]||this[i(497)][i(485)][i(308)](i(495)).me.id,r=this[i(479)][i(308)](t[i(276)]);r&&r[i(315)]===n?this[i(479)][i(525)](t[i(276)]):this[i(479)][i(524)](t[i(276)],{userId:n,isAttached:t[i(516)]})}[In(507)](t){const e=In,i=this[e(514)][e(308)](t[e(423)][e(276)]);null===t[e(378)]?delete i[t[e(452)]]:i[t[e(452)]]=t[e(378)]}}function An(t){const e=In,i=Rn(t[e(276)],t[e(448)]());for(const n of t[e(491)]()){const t=n[e(565)](!0);i[e(310)](t)}return i}function Rn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(276)]=t,n[i(558)]=e,n[i(448)]=()=>n[i(558)],n}function Mn(t,e,i){const n=In,r=n(575)==t[n(300)]?i[n(439)](t[n(373)],n(427)):i[n(579)](t[n(373)]);return i[n(506)](e,r[n(548)],r[n(302)])}function Vn(t,e,i){const n=In,r=n(327)==t[n(300)]?i[n(439)](t[n(373)],0):i[n(421)](t[n(373)]);return i[n(506)](e,r[n(548)],r[n(302)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Ln().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=Zn();Cn()($n.A,Hn);$n.A&&$n.A.locals&&$n.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Jn;function Gn(){const t=["417243tZOQWv","trim","errorText","listenTo","arrowup","set","label","revisionNameInputValue","value","34752UncqBO","14779688UHyYFo","6wBunPC","element","Name of the revision","ck-responsive-form","optional","arrowleft","reset","input","extendTemplate","render","revisionName","24280FzSRgz","4521306rIXvtN","arrowright","add","focusTracker","focus","_createRevisionNameInput","stopPropagation","locale","keystrokes","ck-revision-history-save-revision-form","arrowdown","revisionNameInputView","1743116qHhlTI","220","237426pAKoAh","fieldView","setTemplate","form"];return(Gn=function(){return t})()}function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=226]})(t,e)}!function(t){const e=Jn,i=t();for(;;)try{if(593157===parseInt(e(247))/1+-parseInt(e(256))/2+-parseInt(e(258))/3*(parseInt(e(241))/4)+parseInt(e(228))/5+-parseInt(e(229))/6+-parseInt(e(243))/7+parseInt(e(257))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends En.View{constructor(e,i){const n=Jn;super(e),this[n(232)]=new t.FocusTracker,this[n(237)]=new t.KeystrokeHandler,this[n(252)](n(254),""),this[n(240)]=this[n(234)](i),this[n(245)]({tag:n(246),attributes:{class:["ck",n(238),n(261)],tabindex:"-1"},children:[this[n(240)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(226)](){const t=Yn;super[t(226)](),(0,En.submitHandler)({view:this}),this[t(232)][t(231)](this[t(240)][t(259)]),this[t(237)][t(250)](this[t(259)]);const e=e=>e[t(235)]();this[t(237)][t(252)](t(230),e),this[t(237)][t(252)](t(263),e),this[t(237)][t(252)](t(251),e),this[t(237)][t(252)](t(239),e)}[Yn(233)](){const t=Yn;this[t(240)][t(233)]()}get[Yn(227)](){const t=Yn;return this[t(240)][t(244)][t(259)][t(255)][t(248)]()}set[Yn(227)](t){const e=Yn;this[e(240)][e(244)][e(259)][e(255)]=t[e(248)]()}[Yn(264)](){const t=Yn;this[t(240)][t(244)][t(259)][t(255)]="",this[t(240)][t(249)]=null}[Yn(234)](t){const e=Yn,i=new En.LabeledFieldView(this[e(236)],En.createLabeledInputText),n=i[e(244)];n[e(266)]({attributes:{maxlength:e(242)}});let r=Qi(this[e(236)],e(260));return!t&&(r+=" ("+Qi(this[e(236)],e(262))+")"),i[e(253)]=r,n.on(e(265),(()=>{const t=e;this[t(254)]=n[t(259)][t(255)][t(248)]()})),i}}const Xn=tr;function Qn(){const t=["1335OzEyRW","config","locale","Save current revision","Accept","show","init","RevisionHistoryUI","95887pIifUX","reset","add","isPremiumPlugin","revisionHistory.requireRevisionName","render","_registerMenuComponent","1630290aIWPdj","pluginName","revisionName","buttonView","_saveRevisionFormView","get","26005bXfakg","editor","submit","Dialog","requires","2047671DQzUGi","8RVCLxr","errorText","Revision history","_createSaveRevisionFormView","isReady","items","panelView","revisionHistory","2sUNrpq","156FumLQp","bind","addMany","isEnabled","menu","componentFactory","isReadOnly","732nrjYNQ","Cancel","The revision name cannot be empty.","plugins","role","hide","revisionNameInputView","RevisionTracker","Open revision history","editing","_showDialog","menuitem","set","saveRevision","execute","204353AmhyKG","history","revisionSave","view","ck-button-action","839565KQWlox","showRevisionViewerCallback","delegate","498KCghms","focus","isOfficialPlugin","isOpen","children","menuBar:revisionHistory"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(168883===-parseInt(e(444))/1*(-parseInt(e(421))/2)+-parseInt(e(449))/3+-parseInt(e(429))/4*(-parseInt(e(458))/5)+parseInt(e(452))/6*(-parseInt(e(407))/7)+parseInt(e(413))/8*(parseInt(e(412))/9)+parseInt(e(401))/10+-parseInt(e(394))/11*(-parseInt(e(422))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends qi.Plugin{static get[Xn(402)](){return Xn(393)}static get[Xn(454)](){return!0}static get[Xn(397)](){return!0}static get[Xn(411)](){return[On]}[Xn(392)](){const t=Xn,e=this[t(408)],i=e[t(432)][t(406)](t(436));e.ui[t(427)][t(396)](t(420),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(419)][r(456)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(423)](r(425)).to(i,r(417),i,r(425),e,r(428),((t,e,i)=>t&&e&&!i)),s[r(404)][r(441)]({icon:qi.icons[r(445)],label:Qi(n,r(415)),tooltip:!0}),u[r(441)]({label:Qi(n,r(389)),withText:!0,role:r(440)}),u[r(423)](r(425)).to(i,r(417),i,r(425),e,r(428),((t,e,i)=>t&&e&&!i)),u.on(r(443),(()=>this[r(439)]())),h[r(441)]({label:Qi(n,r(437)),withText:!0,role:r(440)}),h[r(423)](r(425)).to(i,r(417),e,r(428),((t,e)=>t&&!e)),h.on(r(443),(()=>{const t=r;e[t(387)][t(406)](t(420))[t(450)](),s[t(455)]=!1,e[t(438)][t(447)][t(453)]()})),c[r(456)][r(396)](u),l[r(456)][r(396)](h),a[r(433)]=r(426),a[r(418)][r(424)]([c,l]),o[r(396)](a),s})),e.ui[t(427)][t(396)](t(457),(()=>this[t(400)]()))}[Xn(400)](){const t=Xn,e=this[t(408)],i=e[t(388)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(404)][t(441)]({icon:qi.icons[t(445)],label:Qi(i,t(415))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(441)]({label:Qi(i,t(389))}),o[t(451)](t(443)).to(n),o.on(t(443),(()=>{this[t(439)]()})),s[t(456)][t(396)](o),r[t(418)][t(396)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(441)]({label:Qi(i,t(437))}),c[t(451)](t(443)).to(n),c.on(t(443),(()=>{const i=t;e[i(387)][i(406)](i(420))[i(450)]()})),a[t(456)][t(396)](c),r[t(418)][t(396)](a),n[t(419)][t(456)][t(396)](r),n}[Xn(439)](){const t=Xn,e=this[t(408)],i=e[t(388)],n=e[t(432)][t(406)](t(410)),r=e[t(432)][t(406)](t(436));function s(r){const s=t;e[s(387)][s(406)](s(398))&&""===r[s(403)]?r[s(435)][s(414)]=Qi(i,s(431)):(e[s(432)][s(406)](On)[s(442)]({name:r[s(403)]}),n[s(434)]())}this[t(405)]||(this[t(416)](),this[t(405)].on(t(409),(()=>s(this[t(405)])))),this[t(405)][t(395)](),n[t(391)]({id:t(446),title:Qi(i,t(389)),isModal:!0,content:this[t(405)],actionButtons:[{label:Qi(e[t(388)],t(430)),withText:!0,onExecute:()=>n[t(434)]()},{label:Qi(e[t(388)],t(390)),class:t(448),withText:!0,onCreate(i){const n=t;i[n(423)](n(425)).to(r,n(417),r,n(425),e,n(428),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(405)])}]})}[Xn(416)](){const t=Xn,e=this[t(408)],i=e[t(388)];this[t(405)]=new Kn(i,e[t(387)][t(406)](t(398))),this[t(405)][t(399)]()}}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=212]})(t,e)}const nr=ir;function rr(){const t=["type","author","44619YxbLYR","set","Suggested by","391968FLLKXv","4967753YlCumN","element","bindTemplate","Added by","setTemplate","ck-revision-change__","ck-revision-change","add","div","name","ck-annotation","787536oVaOKl","Removed by","ck-revision-change__label","3283475DbihzA","focus","span","changeId","40302JsBhdg","data","isSuggestion","_model","224176ppJoTc"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(435464===parseInt(e(231))/1+parseInt(e(227))/2+parseInt(e(234))/3+parseInt(e(237))/4+parseInt(e(223))/5+parseInt(e(220))/6+-parseInt(e(238))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=ir;super(t),this[i(230)]=e,this[i(226)]=e.id;const n=this[i(240)],r=Qi(t,e[i(228)][i(229)]?i(236):i(216)==e[i(232)]?i(212):i(221));this[i(235)](i(232),e[i(232)]),this[i(213)]({tag:i(217),attributes:{class:[i(219),i(215),n.to(i(232),(t=>i(214)+t))],tabindex:-1},children:[{tag:i(225),children:[{tag:i(225),attributes:{class:[i(222)]},children:[{text:r}]},{text:" "+e[i(233)][i(218)]}]}]})}[nr(224)](){const t=nr;this[t(239)][t(224)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=494]})(t,e)}function cr(){var t=["4618OVVbhP","createdAt","3515402AkBuPZ","5154852tiXHgk","type","375nRbwoJ","data","6678430sEfMDG","rootName","16WXiHfM","999185vbTNao","46700LkBVpB","1629GwZKFU","set","9rqFyYr","author","3675819gVXNlV","toJSON"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(940092===-parseInt(e(505))/1+-parseInt(e(495))/2*(-parseInt(e(507))/3)+-parseInt(e(506))/4*(parseInt(e(500))/5)+parseInt(e(498))/6+parseInt(e(511))/7*(parseInt(e(504))/8)+parseInt(e(509))/9*(-parseInt(e(502))/10)+parseInt(e(497))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(510)]=e[i(510)],this[i(499)]=e[i(499)],this[i(501)]=e[i(501)]||{},this[i(503)]=e[i(503)],this[i(508)](i(496),e[i(496)])}[or(494)](){var t=or;return{id:this.id,authorId:this[t(510)].id,type:this[t(499)],data:this[t(501)],createdAt:this[t(496)]}}}function lr(){const t=["oldRevisionId","4499632fpNtwo","2971560PmHDMF","_setChanges","432RInrTi","1206136ZqUIFB","5770413NxODlX","changes","393730GkKgpy","add","47598WZVhXw","2220amNaUb","15yqbvPs","newRevisionId","766YaeHJV","539zyJcwA"];return(lr=function(){return t})()}function hr(t,e){const i=lr();return(hr=function(t,e){return i[t-=490]})(t,e)}const dr=hr;!function(t){const e=hr,i=t();for(;;)try{if(956368===-parseInt(e(490))/1*(-parseInt(e(503))/2)+-parseInt(e(494))/3+parseInt(e(497))/4*(parseInt(e(504))/5)+parseInt(e(502))/6*(-parseInt(e(491))/7)+-parseInt(e(493))/8+parseInt(e(496))/9*(parseInt(e(500))/10)+-parseInt(e(498))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=hr;this[n(505)]=e,this[n(492)]=i,this[n(499)]=new t.Collection}[dr(495)](t){const e=dr;for(const i of t)this[e(499)][e(501)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=Ir();return(yr=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(787855===-parseInt(e(245))/1+parseInt(e(314))/2*(-parseInt(e(484))/3)+parseInt(e(200))/4*(parseInt(e(478))/5)+parseInt(e(426))/6+-parseInt(e(173))/7*(parseInt(e(446))/8)+parseInt(e(483))/9+parseInt(e(472))/10*(parseInt(e(445))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ir);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(288)](){return vr(413)}static get[vr(362)](){return!0}static get[vr(361)](){return!0}static get[vr(486)](){return[Bi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(213)]=this[e(234)][e(184)][e(431)](e(346)),this[e(494)](e(355),null),this[e(494)](e(342),null),this[e(310)]=null,this[e(494)](e(367),null),this[e(494)](e(376),!1),this[e(494)](e(474),!0),this.on(e(216),((t,i,n)=>{const r=e;this[r(355)]=null,this[r(342)]=null,this[r(234)][r(475)][r(264)][r(231)]((t=>{const e=r;for(const i of this[e(234)][e(475)][e(264)][e(351)][e(444)])n?t[e(414)](e(330),i):t[e(246)](e(330),i)}))})),this[e(334)](e(356)).to(this,e(355),(t=>null!==t)),this[e(334)](e(325)).to(this,e(376),this,e(367),this,e(355),((t,i,n)=>t&&n?i[e(313)][e(278)](n):0)),this[e(334)](e(303)).to(this,e(376),this,e(367),((t,i)=>t?i[e(313)][e(298)]:0)),this[e(490)]=null,this[e(380)]=new Map,this[e(326)]=null,this[e(353)]=this[e(234)][e(184)][e(431)](En.ContextualBalloon)}[vr(169)](){const t=vr,e=this[t(234)],i=new _r(e,{direction:t(238)}),n=new _r(e,{direction:t(241)});e[t(204)][t(452)](t(481),i),e[t(204)][t(452)](t(432),n),e[t(204)][t(452)](t(398),new wr(e)),this.on(t(417),(()=>{const e=t;i[e(497)](),n[e(497)]()})),this[t(218)](),this[t(430)](),e[t(307)](t(319)),e[t(184)][t(267)](t(215))&&e[t(184)][t(431)](t(215))[t(283)](t(319))}async[vr(476)](t){const e=vr;await this[e(345)](t);const i={};for(const n in t[e(359)]){if(t[e(359)][n][e(260)]&&!t[e(359)][n][e(260)][e(425)])continue;const r=this[e(401)](JSON[e(212)](t[e(359)][n][e(229)])),s=this[e(234)][e(475)][e(264)][e(351)],o=new Yi.ViewDocumentFragment(s,r[e(335)]((t=>this[e(296)](t))));this[e(234)][e(214)][e(336)][e(372)](e(266)),i[n]=this[e(234)][e(214)][e(336)][e(273)](o),this[e(234)][e(214)][e(336)][e(372)](e(440))}return i}async[vr(321)](t){const e=vr;await this[e(345)](t);const i={};for(const n in t[e(359)])t[e(359)][n][e(260)]&&!t[e(359)][n][e(260)][e(425)]||(i[n]=t[e(359)][n][e(327)]||{});return i}[vr(401)](t){const e=vr;return(t=t[e(358)]((t=>!t[e(331)]||e(226)!==t[e(331)]&&e(276)!==t[e(331)])))[e(328)]((t=>{const i=e;i(411)!=typeof t&&(t[i(501)]=this[i(401)](t[i(501)]),t[i(493)]=t[i(493)][i(358)]((t=>!t[0][i(388)](i(180)))))})),t}async[vr(292)](t,e,i=!1){const n=vr;if(!this[n(474)])return;const r=this[n(367)],s=this[n(213)],o=n(411)==typeof t?s[n(217)](t):t,a=n(411)==typeof e?s[n(217)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(367)]&&this[n(367)][n(418)]===c&&this[n(367)][n(485)]===u)return Promise[n(333)]();this[n(376)]=!1,this[n(342)]=null,this[n(355)]=null,this[n(367)]=new fr(c,u);const l=this[n(400)](o,a,!0)[n(335)]((t=>this[n(345)](t)));return l[n(468)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(248)](l)[n(458)]((()=>{const t=n;if(!this[t(474)])return;this[t(502)]();const e=this[t(420)](c,u);for(const i of e[t(313)])this[t(380)][t(494)](i.id,i);this[t(234)][t(183)][t(198)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(234)][n(183)][n(351)][n(233)]())i[n(480)](t);for(const t of Object[n(282)](e[n(183)])){const r=i[n(167)](t);for(const s of Object[n(282)](e[n(493)][t]))i[n(178)](s,e[n(493)][t][s],r);i[n(369)](e[n(183)][t],r,0)}})),this[t(367)][t(500)](this[t(391)](e[t(313)])),this[t(376)]=!0}))[n(396)]((t=>{const e=n;console[e(304)](t),this[e(502)](),r&&(this[e(367)]=r),this[e(376)]=!0}))}[vr(451)](t,e){const i=vr,n=this[i(213)][i(392)](t);return n.on(i(207),((t,i,r)=>e(i,r,n))),this[i(213)][i(232)](n),n}[vr(345)](t){const e=vr;if(!t||t[e(359)])return Promise[e(333)]();{const i=this[e(234)][e(279)][e(431)](e(186));return this[e(326)][e(217)]({channelId:i,revisionId:t.id})[e(458)]((i=>{const n=e;t[n(207)]({diffData:i[n(359)]},!0)}))}}[vr(502)](){const t=vr;this[t(355)]=null,this[t(251)](),this[t(490)]&&this[t(490)][t(463)](),this[t(490)]=null,this[t(380)][t(491)](),this[t(234)][t(183)][t(198)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(234)][i(183)][i(351)][i(233)]())e[i(480)](t)}))}[vr(391)](t){const e=vr,i=[],n=new Map;for(const t of this[e(234)][e(183)][e(351)][e(233)]()){const r=this[e(234)][e(475)][e(264)][e(193)](t);if(!r)continue;const s=r[e(366)]()[e(503)](0);s&&(i[e(468)](t),n[e(494)](t,s))}return i[e(460)](((t,i)=>{const r=e,s=n[r(431)](t),o=n[r(431)](i);return s.y-o.y||s.x-o.x})),(t=t[e(358)]((t=>i[e(496)](t[e(263)]))))[e(460)](((t,n)=>i[e(258)](t[e(263)])-i[e(258)](n[e(263)]))),t}[vr(343)](t){const e=vr,i=Array[e(438)](t[e(192)])[e(358)]((([t,i])=>t[e(388)](e(259))&&!i[e(381)])),n=Array[e(438)](this[e(234)][e(183)][e(205)](t)[e(394)]({singleCharacters:!0}));if(0!=i[e(298)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(250)](":");if(r[e(293)][e(291)](t[e(329)])&&i[e(249)](),(t[e(168)][e(291)](r[e(370)])||t[e(168)][e(379)](r[e(370)]))&&(e(374)==s?t[e(174)]={userId:o}:e(201)==s&&(t[e(285)]={userId:o})),0==i[e(298)])break}return n}[vr(349)](t){const e=vr,i=new Map;for(let n=0;n<t[e(298)];n++)e(324)===t[n][e(202)]?(t[n][e(503)][e(368)]=n,t[n][e(503)][e(457)]=n):(e(208)===t[n][e(202)]?t[n][e(503)][e(368)]=n:e(482)===t[n][e(202)]&&(t[n][e(503)][e(457)]=n),i[e(494)](t[n].id,n));for(const n of i[e(405)]())e(208)===t[n][e(202)]?t[n][e(503)][e(457)]=i[e(431)](t[n][e(175)]):e(482)===t[n][e(202)]&&(t[n][e(503)][e(368)]=i[e(431)](t[n][e(175)]))}[vr(386)](t){const e=vr;for(let i=0;i<t[e(298)];i++){if(e(208)===t[i][e(202)])t[i][e(503)][e(368)]=i;else if(e(482)===t[i][e(202)]){t[i][e(503)][e(457)]=i;const n=t[i][e(503)][e(368)];t[n][e(175)]=t[i].id,t[i][e(175)]=t[n].id}else t[i][e(503)][e(368)]=i,t[i][e(503)][e(457)]=i,t[i][e(175)]=null;t[i][e(247)]||(t[i][e(247)]=[],t[i][e(179)]=[])}}[vr(199)](t,e){const i=vr,n=t[i(358)]((t=>!t[i(174)]));for(let t=0;t<e[i(298)];t++)e[t][i(174)]&&(n[t][i(174)]=e[t][i(174)])}[vr(441)](t){const e=vr,i=JSON[e(212)](t),n=this[e(234)][e(475)][e(264)][e(351)],r=new Yi.ViewDocumentFragment(n,i[e(335)]((t=>this[e(296)](t))));return this[e(234)][e(214)][e(399)](r)}[vr(296)](t){const e=vr,i=this[e(234)][e(475)][e(264)][e(351)];if(e(411)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(501)][e(335)]((t=>this[e(296)](t)));return new(gr[t[e(202)]]||Yi.ViewElement)(i,t[e(331)],t[e(493)],n)}}[vr(420)](t,e=null){const i=vr,n=this[i(213)][i(217)](t),r=e?this[i(213)][i(217)](e):null,s=this[i(400)](n,r),o=s[s[i(298)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(298)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(282)](e[i(359)]))if(e[i(359)][t][i(260)]){const n=e[i(359)][t][i(260)];n[i(425)]?(u[i(452)](t),l[i(267)](t)&&l[i(431)](t)[i(410)]==n[i(410)]?l[i(450)](t):l[i(494)](t,n)):l[i(267)](t)?(u[i(450)](t),l[i(450)](t)):(u[i(452)](t),l[i(494)](t,n))}else u[i(452)](t)}for(const t of u){const e=l[i(267)](t)&&!l[i(431)](t)[i(425)];let n=e?s[i(298)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(359)][t]){const n=e?o[i(359)][t][i(221)]:o[i(359)][t][i(327)];c[i(493)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(183)]={};for(const e of t[i(332)])a[i(494)](e.id,e);for(const e of u){const n=t[i(359)][e]?t[i(359)][e][i(229)]:"[]",r=t[i(359)][e]?t[i(359)][e][i(404)]:"[]";t[i(183)][e]={insertions:this[i(441)](n),deletions:this[i(441)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(438)](n[i(183)][t][i(229)][i(192)])[i(358)]((([t])=>!t[i(388)](i(259)))));let h=0;for(const o of s){const s=this[i(343)](o[i(183)][t][i(229)]);o==n?(e=s,r=e[i(298)],e[i(328)]((t=>{t.id=h++})),this[i(386)](e)):this[i(199)](e,s);const a=e[i(358)]((t=>!t[i(174)]))[i(335)]((t=>t.id));let c=0;const l=this[i(343)](o[i(183)][t][i(404)]);l[i(328)]((t=>{t[i(285)]?t.id=r++:t.id=a[c++]})),this[i(386)](l),this[i(385)](e,i(174)),this[i(385)](l,i(285)),o==n&&this[i(274)](e,u),e=this[i(360)](e,l),this[i(349)](e),this[i(385)](e,i(285))}e=e[i(358)]((t=>!(t[i(174)]&&t[i(285)])));const d=new Map(o[i(183)][t][i(404)][i(192)]),f=new Set(u[i(282)]());for(const t of d[i(282)]())f[i(450)](t);this[i(489)](e,f),this[i(210)](e),e=this[i(340)](e),e=this[i(433)](e),e=this[i(354)](e);const{root:m,changes:p}=this[i(236)](e,a,t);c[i(183)][t]=m;const v=l[i(431)](t);if(v){const e=a[i(431)](v[i(410)]),n=new ur({author:e,type:v[i(425)]?i(452):i(339),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(347)](n),c[i(493)][t][i(294)]=n.id}c[i(313)]=c[i(313)][i(498)](p)}return c}[vr(274)](t,e){const i=vr;for(let n=0;n<t[i(298)];n++)for(const[r,s]of e)s[i(370)][i(291)](t[n][i(168)])&&t[n][i(247)][i(468)](r),s[i(293)][i(291)](t[n][i(329)])&&t[n][i(179)][i(468)](r)}[vr(360)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(298)]||s<e[i(298)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(468)](o);else if(a[i(285)]&&o[i(174)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(495)](t,r,e,s);n=n[i(498)](o),r=a,s=c}else a[i(285)]?(s++,n[i(468)](a)):(r++,n[i(468)](o))}return n}[vr(489)](t,e){const i=vr,n=[];for(let o=0;o<t[i(298)];o++){for(let s=0;s<t[o][i(247)][i(298)];s++){const a=t[o][i(247)][s];if(!e[i(267)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(228)!=c||i(374)!=u&&i(201)!=u||(n[i(347)]({type:u,name:a,userId:l}),t[o][i(247)][i(316)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(179)][i(298)];s++){const a=t[o][i(179)][s];if(!e[i(267)](a))continue;const{group:c,type:u}=r(a);if(i(228)!=c||i(374)!=u&&i(201)!=u)continue;t[o][i(179)][i(316)](s,1),s--;const l=n[i(320)]((t=>t[i(331)]==a));l>-1&&n[i(316)](l,1)}}function r(t){const e=i,n=t[e(250)](":");return{group:n[0],type:n[1],subType:n[e(298)]>=5?n[2]:null,id:n[e(298)]<5?n[2]:n[3],authorId:n[e(298)]<5?n[3]:n[4],markerCount:6==n[e(298)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(298)];i++){if(t[e(174)]&&e(374)==n[i][e(202)])return t[e(424)]=n[i],void delete t[e(174)];if(!t[e(174)]&&!t[e(285)]&&e(201)==n[i][e(202)])return void(t[e(384)]=n[i])}}}[vr(385)](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(494)](o.id,n);for(let n=0;n<t[i(298)];n++){if(i(285)==e&&t[n][i(174)]||i(174)==e&&t[n][i(285)])continue;if(i(324)==t[n][i(202)]){t[n][i(191)]=0;continue}const r=s[i(431)](t[n][i(175)]),o=s[i(431)](t[n].id);t[n][i(191)]=r-o}}[vr(400)](t,e,i=!1){const n=vr,r=[];let s=this[n(213)][n(278)](t),o=this[n(213)][n(278)](e);for(-1==o&&(o=this[n(213)][n(187)][n(298)],i=!1);s<o;)r[n(468)](this[n(213)][n(217)](s)),s++;return i&&r[n(468)](this[n(213)][n(217)](s)),r}[vr(495)](t,e,i,n){const r=vr,s=this[r(234)][r(183)][r(467)];let o=e;for(;t[o]&&t[o][r(174)];)o++;let a=n;for(;i[a]&&i[a][r(285)];)a++;u(t,e,o),u(i,n,a);const c=i[r(189)](n,a)[r(498)](t[r(189)](e,o));return c[r(460)](((t,e)=>t[r(211)]!=e[r(211)]?t[r(211)]-e[r(211)]:t[r(227)]!=e[r(227)]?t[r(227)]-e[r(227)]:t[r(191)]!=e[r(191)]?e[r(191)]-t[r(191)]:!!t[r(174)]!=!!e[r(174)]?-1==t[r(211)]||0==t[r(211)]?t[r(174)]?-1:1:t[r(174)]?1:-1:t[r(176)]-e[r(176)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(455)],c=!0;for(let r=e;r<i;r++)if(s[n(492)](t[r][n(503)])||(c=!1),t[r][n(503)][n(368)]<e&&(o=r),t[r][n(503)][n(457)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(211)]=r<=o?-1:r<a?0:1,t[r][n(176)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(191)]?t[i][n(227)]=u:(u++,t[i][n(227)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(211)]&&(t[r][n(227)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(191)]?t[e][n(227)]=u:(u--,t[e][n(227)]=u,u--)}}[vr(210)](t){const e=vr,i=new Map,n=this[e(234)][e(183)][e(467)];for(let r=1;r<t[e(298)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(324)==c[e(202)])continue;if(c[e(202)]!=u[e(202)])continue;if(!n[e(299)](u[e(503)])||n[e(477)](u[e(503)]))continue;if(!n[e(299)](c[e(503)])||n[e(477)](c[e(503)]))continue;if((t[r][e(174)]||t[r][e(424)])&&t[r-1][e(285)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(285)]||!t[r-1][e(174)]&&!t[r-1][e(424)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(227)]==o[e(227)],h=Math[e(447)](s[e(227)])<Math[e(447)](o[e(227)])&&0==o[e(191)];(l||h)&&(i[e(494)](o.id,s.id),t[e(316)](a,1),r--,s[e(174)]=!1)}for(let n=0;n<t[e(298)];n++)i[e(267)](t[n][e(175)])&&(t[n][e(175)]=i[e(431)](t[n][e(175)]))}[vr(340)](t){const e=vr,i=new Set(t[e(335)]((t=>t.id)));for(let n=0;n<t[e(298)];n++)i[e(267)](t[n][e(175)])||0==t[n][e(191)]||(t[n][e(197)]=!0);return t[e(358)]((t=>!t[e(197)]))}[vr(433)](t){const e=vr,i=new Set;for(let n=0;n<t[e(298)];n++){if(i[e(267)](t[n].id)&&t[n][e(285)]&&(t[n][e(197)]=!0),t[n][e(197)])continue;if(0==t[n][e(191)])continue;if(e(208)!=t[n][e(202)])continue;if(null==t[n][e(175)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(175)];)e(208)==t[r][e(202)]?s++:e(482)==t[r][e(202)]&&s--,r++;if(0!=s)if(t[n][e(285)])t[n][e(197)]=!0;else for(;r!=n;)t[r][e(285)]&&0!=t[r][e(191)]&&(t[r][e(197)]=!0,i[e(452)](t[r][e(175)])),r--}return t[e(358)]((t=>!t[e(197)]))}[vr(354)](t){const e=vr,i=this[e(234)][e(183)][e(467)];for(let n=0;n<t[e(298)];n++){if(!(t[n][e(174)]||t[n][e(424)]||t[n][e(285)]||t[n][e(384)]))continue;if(0==t[n][e(191)])continue;const r=t[n][e(503)];i[e(299)](r)||i[e(477)](r)||(t[n][e(174)]&&delete t[n][e(174)],t[n][e(424)]&&delete t[n][e(424)],t[n][e(384)]&&delete t[n][e(384)],t[n][e(285)]&&(t[n][e(197)]=!0))}return t[e(358)]((t=>!t[e(197)]))}[vr(236)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(234)][n(183)],c=a[n(467)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(298)];e++)if(n(208)===t[e][n(202)]){t[e][n(168)]=a[n(341)](r,f);const i=new Yi.Element(t[e][n(503)][n(331)],t[e][n(503)][n(393)]());u[0][n(223)](i),f[n(468)](0),u[n(347)](i),t[e][n(329)]=a[n(341)](r,f)}else n(482)===t[e][n(202)]?(u[n(249)](),t[e][n(168)]=a[n(341)](r,f),f[n(406)](),f[f[n(298)]-1]++,t[e][n(329)]=a[n(341)](r,f)):(t[e][n(168)]=a[n(341)](r,f),d?d[n(271)]+=t[e][n(503)][n(214)]:d=new Yi.Text(t[e][n(503)][n(214)],t[e][n(503)][n(393)]()),t[e+1]&&n(324)===t[e+1][n(202)]&&v(d,t[e+1][n(503)])||(u[0][n(223)](d),d=null),f[f[n(298)]-1]+=t[e][n(503)][n(315)],t[e][n(329)]=a[n(341)](r,f));for(let e=0;e<t[n(298)];e++){const i=t[e][n(168)],r=t[e][n(329)];for(const r of t[e][n(247)])o[n(494)](r,{start:i,end:null});m(n(384),e,i,r),m(n(424),e,i,r),m(n(285),e,i,r),m(n(174),e,i,r);for(const i of t[e][n(179)])o[n(431)](i)[n(293)]=r}for(const[t,e]of o){const i=this[n(234)][n(183)][n(284)](e[n(370)],e[n(293)]);r[n(192)][n(494)](t,i)}return s[n(460)](((t,e)=>{const i=n,s=r[i(192)][i(431)](i(259)+t.id),o=r[i(192)][i(431)](i(259)+e.id);return s[i(370)][i(171)](o[i(370)])?-1:s[i(370)][i(379)](o[i(370)])?1:s[i(293)][i(171)](o[i(293)])?-1:s[i(293)][i(379)](o[i(293)])?1:i(452)===t[i(202)]?-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(410)]:null,d=i===t[o(298)]-1,f=h[e][0],m=c[o(170)](t[i][o(503)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(293)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(410)]!==u&&(l[e][o(293)]=r,f&&f[o(410)]===l[e][o(410)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(208)!==t[i][o(202)]||f&&f[o(410)]===u||h[e][o(347)]({userId:u,object:t[i][o(503)],change:l[e]}),o(482)===t[i][o(202)]&&f&&f[o(181)]===t[i][o(503)]&&(h[e][o(249)](),l[e]=f[o(231)])),l[e]&&d&&(l[e][o(293)]=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(503)],f=a[h(467)][h(299)](d)&&!a[h(467)][h(477)](d),m=t[h(272)]==o[h(403)]&&o[h(448)];if(f&&m)return;const p=a[h(284)](t,o),v=e[h(431)](u),y=new ur({author:v,type:h(174)==l||h(424)==l?h(452):h(339),data:{isSuggestion:h(424)==l||h(384)==l},createdAt:new Date,rootName:i});s[h(468)](y),r[h(192)][h(494)](h(259)+y.id,p)}function v(t,e){const i=n,r=t[i(393)](),s=e[i(393)]();for(const t of r){if(t[1]!==e[i(256)](t[0]))return!1;s[i(378)]()}return s[i(378)]()[i(270)]}}[vr(218)](){const t=vr;this[t(234)][t(470)][t(302)](t(454))[t(230)]({view:t(224)}),this[t(234)][t(470)][t(302)](t(471))[t(387)]({model:t(224),view:e=>{const i=t,n=e[i(348)][i(250)](":")[1],r=this[i(488)](n);if(!r)return null;const s=i(452)==r[i(202)]?i(374):i(201),o=[i(365),i(504)+s];return r[i(214)][i(253)]&&o[i(468)](i(504)+s+i(312)),this[i(355)]==r&&o[i(468)](i(196)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(234)][t(470)][t(302)](t(454))[t(452)]((e=>{const i=t;e.on(i(239),((t,e,n)=>{const r=i,s=e[r(373)][r(309)](0);if(!s||!s.is(r(397),r(219)))return;if(!n[r(269)][r(344)](s,{attributes:[r(244),r(222)]}))return;const o=e[r(281)][r(370)][r(272)];n[r(377)][r(178)](r(244),s[r(256)](r(244)),o),n[r(377)][r(178)](r(222),s[r(256)](r(222)),o)}),{priority:i(364)})})),this[t(234)][t(470)][t(302)](t(454))[t(452)]((e=>{const i=t;e.on(i(397),((t,e,n)=>{const r=i;if(!n[r(269)][r(344)](e[r(373)],{attributes:[r(244),r(222)]}))return;if(e[r(281)][r(381)])return;const s=e[r(281)][r(370)][r(272)];s[r(459)](r(244))||s[r(459)](r(422))||(n[r(377)][r(178)](r(244),e[r(373)][r(256)](r(244)),s),n[r(377)][r(178)](r(222),e[r(373)][r(256)](r(222)),s))}),{priority:i(364)})})),this[t(234)][t(470)][t(302)](t(454))[t(290)]({view:{name:t(203),attributes:{vid:!0}},model:{key:t(422),value:e=>e[t(256)](t(422))}}),this[t(234)][t(183)][t(467)].on(t(297),((e,[,i])=>{const n=t;[n(244),n(222),n(422)][n(496)](i)&&(e[n(311)]=!0,e[n(289)]())}),{priority:t(287)}),this[t(234)][t(470)][t(302)](t(456))[t(452)]((e=>{const i=t;e.on(i(323),((t,e,n)=>{const r=i;if(" "!=e[r(503)][r(214)]||e[r(503)][r(403)][r(499)]>1)return;if(!n[r(269)][r(344)](e[r(503)],t[r(331)]))return;const s=n[r(377)],o=n[r(352)][r(265)](e[r(407)]);s[r(286)](o,s[r(382)](r(203)))}))})),this[t(234)][t(470)][t(302)](t(456))[t(453)]({model:t(224)}),this[t(234)][t(475)][t(308)].on(t(185),function(e){const i=t,n=e[i(184)][i(431)](i(413));return(t,r,s)=>{const o=i,a=r[o(348)][o(250)](":")[1],c=n[o(488)](a);if(!c)return null;const u=o(452)==c[o(202)]?o(250):o(466);if(!s[o(269)][o(235)](r[o(305)],t[o(331)]))return;const l=r[o(305)][o(394)](),h=r[o(305)][o(370)],d=e[o(183)][o(467)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(503)];p=p||d[o(261)](e);const i=s[o(352)][o(206)](e);if(i&&i[o(389)](o(194)))return;o(482)==t[o(202)]&&d[o(299)](e)&&!d[o(477)](e)&&(e[o(402)]||h[o(338)]?f&&f[o(403)]==e||(f=e,y(t[o(168)]),v=!0):m=m||t[o(168)])}function y(t){const e=o,i=s[e(377)][e(317)](e(203),{class:e(504)+u}),a=s[e(352)][e(473)](t);c[e(214)][e(253)]&&s[e(377)][e(246)](e(504)+u+e(312),i),n[e(355)]==c&&s[e(377)][e(246)](e(196),i),s[e(377)][e(369)](a,i),s[e(352)][e(437)](i,r[e(348)])}p||v||!m||y(m)}}(this[t(234)]),{priority:t(277)}),this[t(234)][t(475)][t(308)].on(t(409),((e,i,n)=>{const r=t,s=n[r(352)][r(479)](i[r(348)]);if(s)for(const t of s)(t[r(220)](r(295))||t[r(220)](r(195)))&&(n[r(352)][r(255)](t,i[r(348)]),n[r(377)][r(339)](t))}),{priority:t(277)}),this[t(234)][t(475)][t(308)].on(t(185),((e,i,n)=>{const r=t,s=i[r(348)][r(250)](":")[1],o=this[r(488)](s);if(!o)return null;const a=r(452)==o[r(202)]?r(250):r(466);if(n[r(269)][r(235)](i[r(305)],e[r(331)]))for(const t of i[r(305)][r(487)]()){if(!t.is(r(397),r(429)))continue;const e=n[r(377)][r(317)](r(203),{class:r(504)+a}),s=n[r(352)][r(473)](this[r(234)][r(183)][r(461)](t));o[r(214)][r(253)]&&n[r(377)][r(246)](r(504)+a+r(312),e),this[r(355)]==o&&n[r(377)][r(246)](r(196),e),n[r(377)][r(369)](s,e),n[r(352)][r(437)](e,i[r(348)])}}),{priority:t(277)}),this[t(234)][t(183)][t(351)].on(t(231),(()=>{const e=t;this[e(234)][e(475)][e(264)][e(231)]((t=>{const i=e;for(const e of this[i(234)][i(183)][i(351)][i(233)]()){const n=this[i(234)][i(183)][i(351)][i(395)](e),r=this[i(234)][i(475)][i(264)][i(351)][i(395)](e);if(r){const e=n[i(256)](i(294));if(t[i(357)](i(350),r),t[i(414)](i(322),r),t[i(414)](i(268),r),t[i(414)](i(371),r),e){const n=this[i(488)](e);if(!n)return null;t[i(178)](i(350),e,r),t[i(246)](i(280)+n[i(202)],r),this[i(355)]==n&&t[i(246)](i(371),r)}}}}))})),this[t(234)][t(470)][t(302)](t(454))[t(230)]({view:t(172),model:e=>t(434)+e,converterPriority:t(287)}),this[t(234)][t(470)][t(302)](t(454))[t(230)]({view:t(182),model:e=>t(465)+e,converterPriority:t(287)}),this[t(234)][t(470)][t(302)](t(456))[t(453)]({model:t(228),view:e=>({name:t(439)+e,group:t(228)}),converterPriority:t(287)}),this[t(234)][t(470)][t(302)](t(471))[t(387)]({model:t(228),view:e=>{const i=t,n=e[i(348)][i(250)](":")[1];return i(374)!=n&&i(201)!=n?null:{classes:[i(243),i(262)+n]}}}),this[t(234)][t(475)][t(308)].on(t(257),br(this[t(234)],t(466)),{priority:t(277)}),this[t(234)][t(475)][t(308)].on(t(301),br(this[t(234)],t(250)),{priority:t(277)}),this[t(234)][t(475)][t(308)].on(t(419),((e,i,n)=>{const r=t,s=n[r(352)][r(479)](i[r(348)]);if(s)for(const t of s)t.is(r(443))&&(n[r(352)][r(255)](t,i[r(348)]),n[r(377)][r(339)](t))}),{priority:t(277)})}[vr(488)](t){const e=vr;return this[e(380)][e(431)](t)}[vr(390)](t){const e=vr;return this[e(490)]&&this[e(490)][e(463)](),this[e(490)]=new sr(this[e(234)][e(423)],t),this[e(490)]}[vr(430)](){const t=vr;this[t(234)][t(183)][t(351)][t(209)][t(449)](t(224)),this.on(t(408),((e,i,n,r)=>{const s=t;r&&this[s(353)][s(339)](r),n&&(this[s(353)][s(452)]({view:n,stackId:s(363),position:{target:()=>{const t=s,e=this[t(234)][t(475)],i=this[t(488)](n[t(188)]);let r;if(i[t(214)][t(337)]){const n=e[t(264)][t(193)](i[t(263)]);r=Array[t(438)](n[t(366)]())}else{const i=this[t(234)][t(183)][t(192)][t(431)](t(259)+n[t(188)]);r=Array[t(438)](e[t(352)][t(479)](i[t(331)]))[t(335)]((i=>e[t(264)][t(252)][t(421)](i)))[t(335)]((e=>Array[t(438)](e[t(366)]())))[t(383)]()}return this[t(310)]&&r[t(240)]((e=>e[t(318)]-3<=this[t(310)].y&&e[t(237)]+3>=this[t(310)].y&&e[t(464)]-3<=this[t(310)].x&&e[t(412)]+3>=this[t(310)].x))||r[0]}}}),this[s(353)][s(427)](s(363)))})),this.on(t(442),((e,i,n,r)=>{const s=t;this[s(342)]=n?this[s(390)](n):null,this[s(234)][s(183)][s(231)]((()=>{const t=s,e=this[t(234)][t(475)];r&&(r[t(214)][t(337)]?e[t(264)][t(231)]((i=>{const n=t;i[n(414)](n(371),e[n(264)][n(351)][n(395)](r[n(263)]))})):e[t(225)](t(259)+r.id)),n&&(n[t(214)][t(337)]?e[t(264)][t(231)]((i=>{const r=t;i[r(246)](r(371),e[r(264)][r(351)][r(395)](n[r(263)]))})):e[t(225)](t(259)+n.id))}))})),this[t(190)](this[t(234)][t(475)][t(264)][t(351)],t(166),((e,i)=>{const n=t;if(this[n(355)])return;const r=this[n(375)](i[n(177)]),s=this[n(380)][n(431)](r);s?(this[n(310)]={x:i[n(416)].x,y:i[n(416)].y},this[n(342)]=this[n(390)](s)):(this[n(310)]=null,this[n(342)]=null)})),this[t(190)](this[t(234)][t(475)][t(264)][t(351)],t(242),((e,i)=>{const n=t,r=this[n(375)](i[n(177)]),s=this[n(380)][n(431)](r);s?(this[n(310)]={x:i[n(416)].x,y:i[n(416)].y},s===this[n(355)]?this[n(353)][n(462)]():this[n(355)]=s):(this[n(310)]=null,this[n(355)]=null)}))}[vr(375)](t){const e=vr;do{const i=t[e(256)](e(350));if(i)return i;t=t[e(403)]}while(t);return null}[vr(251)](){const t=vr;this[t(234)][t(183)][t(231)]((e=>{const i=t;for(const t of this[i(234)][i(183)][i(192)])e[i(306)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(269)][s(235)](n[s(305)],i[s(331)]))return;const o=n[s(305)][s(394)](),a=n[s(305)][s(370)],c=t[s(183)][s(467)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(503)];h=h||c[s(261)](e);const i=r[s(352)][s(206)](e);if(i&&i[s(389)](s(194)))return;s(482)==t[s(202)]&&c[s(299)](e)&&!c[s(477)](e)&&(e[s(402)]||a[s(338)]?u&&u[s(403)]==e||(u=e,f(t[s(168)]),d=!0):l=l||t[s(168)])}function f(t){const i=s,o=r[i(352)][i(473)](t),a=r[i(377)][i(317)](i(203),{class:i(262)+e});r[i(377)][i(369)](o,a),r[i(352)][i(437)](a,n[i(348)])}h||d||!l||f(l)}}class wr extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(184)][e(431)](kr);this[e(469)]=!1,this[e(190)](i,e(275),(()=>this[e(497)]())),this[e(190)](i,e(216),(()=>this[e(497)]()))}[vr(435)](){const t=vr,e=this[t(234)],i=e[t(184)][t(431)](kr),n=i[t(376)]?i[t(367)][t(418)]:null;e[t(279)][t(431)](t(300))[t(428)](n)}[vr(497)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(234)][t(184)][t(431)](kr),s=r&&n[t(254)](r[t(418)]);this[t(474)]=e&&i&&Boolean(s)}}class _r extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(184)][i(431)](kr);this[i(469)]=!1,this[i(415)]=i(241)===e?1:-1,this[i(190)](n,i(275),(()=>this[i(497)]())),this[i(190)](n,i(216),(()=>this[i(497)]())),this[i(190)](n,i(442),(()=>this[i(497)]()))}[vr(435)](){const e=vr,i=this[e(234)],n=i[e(184)][e(431)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(355)]=r?n[e(367)][e(313)][e(431)](s+this[e(415)]):n[e(367)][e(313)][e(436)],n[e(355)][e(214)][e(337)])o=i[e(475)][e(264)][e(193)](n[e(355)][e(263)]);else{const t=i[e(183)][e(192)][e(431)](e(259)+n[e(355)].id);o=(0,Bi.getMarkerDomElement)(i[e(475)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(497)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(234)][t(184)][t(431)](kr);this[t(474)]=!!(s&&r&&n)&&(!e||(1===this[t(415)]?i<n-1:i>0))}}function Ir(){const t=["RevisionsRepository","unshift","markerName","_refreshStartEndIndex","data-change-id","document","mapper","_balloon","_removeUnsupportedChanges","activeChange","isNavigationMode","removeAttribute","filter","diffData","_joinTapes","isPremiumPlugin","isOfficialPlugin","revisionHistoryLabel","low","ck-suggestion-marker","getClientRects","diff","startIndex","insert","start","ck-revision-history-root--active","useFillerType","viewItem","insertion","_findChangeIdFromDomTarget","isReady","writer","next","isAfter","_changeIdToChange","isCollapsed","createAttributeElement","flat","isRemoveSuggestion","_setDistance","_processTape","markerToHighlight","startsWith","getCustomProperty","_getViewForChange","_sortAndFilterDiffChanges","createRevision","getAttributes","getWalker","getRoot","catch","element","restoreRevision","toModel","_getRevisionsRange","_removeRevisionMarkers","nextSibling","parent","deletions","values","pop","range","change:activeView","removeMarker:revision","userId","string","right","RevisionViewer","removeClass","_step","domEvent","change:numberOfChanges","newRevisionId","removeMarker:revision-suggestion","_getDiff","mapViewToDom","vid","locale","isAddSuggestion","isAttached","3193254XpMlHz","showStack","restoreRevisionCallback","softBreak","_initInteractions","get","showNextChange","_markMismatchedRemovedTags","revision-comment:","execute","first","bindElementToMarker","from","suggestion:","default","_makeModelFromViewString","change:activeChange","uiElement","roots","1695199HkmTxR","8zvIzAu","abs","isAtStart","observeMarkers","delete","addRevisionData","add","markerToData","upcast","POSITIVE_INFINITY","dataDowncast","endIndex","then","hasAttribute","sort","createPositionBefore","updatePosition","destroy","left","revision-suggestion:","merge","schema","push","affectsData","conversion","editingDowncast","110SJImhv","toViewPosition","isEnabled","editing","getRevisionData","isLimit","35xPxLhM","markerNameToElements","detachRoot","showPreviousChange","elementEnd","4593735Opnlyx","3owAFyl","oldRevisionId","requires","getItems","_getChangeFromId","_markSuggestions","_changeView","clear","isInline","attributes","set","_threeWayMerge","includes","refresh","concat","maxOffset","_setChanges","children","_cleanUp","item","ck-suggestion-marker-","mouseover","addRoot","previousPosition","init","isObject","isBefore","comment","9120769pmzVIL","isAdded","pairId","index","target","setAttribute","markersEnd","data-revision-","object","suggestion","model","plugins","addMarker:revision","collaboration.channelId","_revisions","changeId","slice","listenTo","distance","markers","getDomRoot","addHighlight","ck-suggestion-marker-merge","ck-suggestion-marker--active","isIncorrect","enqueueChange","_markInsertions","356680RShmar","deletion","type","span","commands","createRangeIn","toViewElement","_update","elementStart","selection","_fixObsoleteTags","side","parse","repository","data","WidgetToolbarRepository","change:isEnabled","getRevision","_setConversion","code","hasClass","attributesBefore","vid_end","_appendChild","revision","reconvertMarker","revision-start","level","revision-suggestion","insertions","dataToMarker","change","addRevision","getRootNames","editor","test","_makeModelFromTape","bottom","backward","element:pre","find","forward","mousedown","ck-suggestion-preview-marker","vid_start","495496CsBIUP","addClass","markersStart","all","shift","split","_cleanMarkers","domConverter","isSuggestion","getLaterVisibleRevision","unbindElementFromMarkerName","getAttribute","addMarker:revision-suggestion:deletion","indexOf","revision:","attachChange","isContent","ck-suggestion-preview-marker-","rootName","view","toViewRange","marked","has","ck-revision-history-root-remove","consumable","done","_data","nodeAfter","toData","_markMarkers","change:isReady","revision-end","high","getIndex","config","ck-revision-history-root-","modelRange","keys","forceDisabled","createRange","isRemoved","wrap","highest","pluginName","stop","elementToAttribute","isEqual","compare","end","revisionHistoryAttachChange","ck-suggestion-marker-split","_getViewObj","checkAttribute","length","isBlock","revisionHistory","addMarker:revision-suggestion:insertion","for","numberOfChanges","error","markerRange","removeMarker","enableReadOnlyMode","downcastDispatcher","getChild","_activeViewTarget","return","-new","changes","1551390kokWnO","offsetSize","splice","createUIElement","top","revision-viewer","findIndex","getRevisionRootsAttributes","ck-revision-history-root-add","attribute:vid","text","currentChangeNumber","adapter","attributesAfter","forEach","nextPosition","ck-editor__editable__overlay","name","authors","resolve","bind","map","processor","isOnRoot","isAtEnd","remove","_removeMissingPairs","createPositionFromPath","activeView","_makeTape","consume","loadRevisionData"];return(Ir=function(){return t})()}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["8cRKGCU","fire","ck-revision-history-ui__changes-navigation__label","Total","EDIT_X_OF_Y_REVISIONS","No changes","isEnabled","execute","1025184SxZHRz","1452298PRsysZ","ck-revision-history-ui","635929YhtdVj","currentChangeNumber","isForwardNavigationEnabled","_isStatusLabelVisible","X_OF_Y_CHANGES","set","3412350ODXENr","bind","backward","bindTemplate","ck-hidden","Show next change","isNavigationMode","setTemplate","18cUgomT","div","_statusText","414027SqRREF","2691580zIMKCz","isBackwardNavigationEnabled","span","forward","numberOfChanges","ck-revision-history-ui__changes-navigation__navigation","isReady","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","NUMBER_OF_CHANGES","240133XRosMz","Loading...","Show previous change"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=214]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(371595===-parseInt(e(233))/1+-parseInt(e(245))/2+parseInt(e(222))/3*(parseInt(e(236))/4)+parseInt(e(223))/5+-parseInt(e(219))/6*(-parseInt(e(247))/7)+-parseInt(e(244))/8+parseInt(e(253))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(214)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(252)](e(217),!1),this[e(252)](e(229),!1),this[e(252)](e(248),0),this[e(252)](e(227),0),this[e(252)](e(249),!1),this[e(252)](e(224),!1),this[e(254)](e(250)).to(this,e(229),this,e(227),((t,e)=>t&&e>0)),this[e(254)](e(221)).to(this,e(229),this,e(248),this,e(227),this,e(217),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(234));if(!r)return Qi(t,o(241));const a=Qi(t,o(232),r);return s?Qi(t,o(251),[n+1,r]):a})),n[e(252)]({label:Qi(t,e(235)),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(252)]({label:Qi(t,e(216)),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(254)](e(242)).to(this,e(224)),r[e(254)](e(242)).to(this,e(249)),n.on(e(243),(()=>this[e(237)](e(243),e(255)))),r.on(e(243),(()=>this[e(237)](e(243),e(226)))),this[e(218)]({tag:e(220),attributes:{class:["ck",e(246),e(231)]},children:[{tag:e(225),attributes:{class:[e(230)]},children:[{tag:e(225),attributes:{class:[e(238),i.if(e(250),e(215),(t=>!t))]},children:[{text:i.to(e(217),(i=>i?Qi(t,e(240))+": ":Qi(t,e(239))+": "))}]},{text:i.to(e(221))}]},new En.ToolbarSeparatorView,{tag:e(220),attributes:{class:[e(228)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(t,e){const i=Vr();return(Mr=function(t,e){return i[t-=167]})(t,e)}function Vr(){const t=["editing","1524948uNUrmu","8709256vJfPEf","550032vDimWF","pluginName","hide","RevisionViewerLoadingOverlay","isPremiumPlugin","change","355685nZIFCp","isOfficialPlugin","2186736WdzXNm","ck-editor__editable__loading-overlay","view","document","719205zKfbrY","removeClass","roots","1647184bbGxNr","editor","7zwaZmt","addClass","show"];return(Vr=function(){return t})()}const Er=Mr;!function(t){const e=Mr,i=t();for(;;)try{if(290949===parseInt(e(172))/1+parseInt(e(189))/2+-parseInt(e(187))/3+-parseInt(e(181))/4+-parseInt(e(178))/5+-parseInt(e(174))/6*(parseInt(e(183))/7)+parseInt(e(188))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Dr=Er(175);class Cr extends qi.Plugin{static get[Er(167)](){return Er(169)}static get[Er(173)](){return!0}static get[Er(170)](){return!0}[Er(185)](){const t=Er,e=this[t(182)][t(186)][t(176)];e[t(171)]((i=>{const n=t;for(const t of e[n(177)][n(180)])i[n(184)](Dr,t)}))}[Er(168)](){const t=Er,e=this[t(182)][t(186)][t(176)];e[t(171)]((i=>{const n=t;for(const t of e[n(177)][n(180)])i[n(179)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=379]})(t,e)}function Pr(){const t=["4301440QngnGC","1501600Urcxmg","get","isPremiumPlugin","isOfficialPlugin","17988YkecRq","1031962dKlXlI","isReady","changesNavigation","5197896yKwEGX","isEnabled","819zZyNWF","exitToEditing","show","editor","undo","restoreRevision","set","commands","requires","isForwardNavigationEnabled","config","showPreviousChange","add","currentChangeNumber","7puMlUJ","Restore this revision","closeRevisionViewerCallback","change:isReady","pluginName","plugins","Back to editing","3701349cRskdo","numberOfChanges","forward","revisionHistory","bind","ck-revision-history-ui__back-to-editing","hide","isBackwardNavigationEnabled","isNavigationMode","4151946niYEnn","listenTo","showNextChange","execute","init","RevisionViewerUI","componentFactory"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(674214===-parseInt(e(423))/1+-parseInt(e(418))/2+-parseInt(e(380))/3*(-parseInt(e(422))/4)+parseInt(e(417))/5+parseInt(e(410))/6*(-parseInt(e(394))/7)+parseInt(e(426))/8+parseInt(e(401))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(398)](){return jr(415)}static get[jr(421)](){return!0}static get[jr(420)](){return!0}static get[jr(388)](){return[kr,Cr]}[jr(414)](){const t=jr,e=this[t(383)],i=e[t(399)][t(419)](kr),n=e[t(399)][t(419)](Cr);e.ui[t(416)][t(392)](t(381),(i=>{const n=t,r=new En.ButtonView(i);return r[n(386)]({label:Qi(i,n(400)),icon:qi.icons[n(384)],withText:!0,tooltip:!0,class:n(406)}),this[n(411)](r,n(413),(()=>{const t=n;e[t(390)][t(419)](t(404))[t(396)]()})),r})),e.ui[t(416)][t(392)](t(385),(i=>{const n=t,r=new En.ButtonView(i);return r[n(386)]({label:Qi(i,n(395)),withText:!0,tooltip:!0}),r[n(405)](n(379)).to(e[n(387)][n(419)](n(385))),this[n(411)](r,n(413),(()=>e[n(413)](n(385)))),r})),e.ui[t(416)][t(392)](t(425),(n=>{const r=t,s=new Nr(n),o=e[r(387)][r(419)](r(391)),a=e[r(387)][r(419)](r(412));return s[r(405)](r(408)).to(o,r(379)),s[r(405)](r(389)).to(a,r(379)),s[r(405)](r(424),r(393),r(402),r(409)).to(i),this[r(411)](s,r(413),((t,i)=>{const n=r;e[n(413)](n(403)===i?n(412):n(391))})),s})),n[t(382)](),i.on(t(397),((e,i,r)=>{const s=t;r?n[s(407)]():n[s(382)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=$r();return(Zr=function(t,e){return i[t-=113]})(t,e)}function $r(){const t=["1136QyVrNJ","render","scrollWidth","664090QWjnUS","23245asfVdC","ck-revision-history-sidebar__revision-name","_resizeObserver","39529WtamHP","bindTemplate","174HuSzHd","1221SxtduX","10530160ZTUcKH","_updateTooltipText","16kpEqJZ","destroy","6425928BIyane","listenTo","input","5733972pPHQOj","element","11sMnVBb","set","fieldView","span","16PBbVGY","value","clientWidth","Revision name","ck-tooltip_multi-line","extendTemplate","Enter the revision name","_tooltipString","placeholder"];return($r=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(815770===parseInt(e(145))/1+parseInt(e(142))/2*(parseInt(e(119))/3)+-parseInt(e(133))/4*(parseInt(e(113))/5)+-parseInt(e(118))/6*(parseInt(e(116))/7)+parseInt(e(122))/8*(-parseInt(e(124))/9)+parseInt(e(120))/10+-parseInt(e(129))/11*(-parseInt(e(127))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($r);class Hr extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(115)]=null;const n=this[i(117)];this[i(130)]({label:Qi(t,i(136)),_tooltipString:""}),this[i(131)][i(141)]=Qi(t,i(139)),this[i(138)]({tag:i(132),attributes:{class:[i(114)],"data-cke-tooltip-text":n.to(i(140)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(137)}})}[Ur(143)](){const e=Ur;super[e(143)](),this[e(115)]=new t.ResizeObserver(this[e(131)][e(128)],(()=>this[e(121)]())),this[e(125)](this[e(131)],e(126),(()=>this[e(121)]()))}[Ur(123)](){const t=Ur;super[t(123)](),this[t(115)]&&this[t(115)][t(123)]()}[Ur(121)](){const t=Ur,e=this[t(131)][t(128)];this[t(140)]=e[t(144)]>e[t(135)]&&e[t(134)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=Yr,i=t();for(;;)try{if(692352===-parseInt(e(411))/1*(parseInt(e(401))/2)+parseInt(e(409))/3*(parseInt(e(407))/4)+parseInt(e(402))/5+parseInt(e(418))/6*(parseInt(e(413))/7)+-parseInt(e(397))/8*(parseInt(e(398))/9)+parseInt(e(415))/10+-parseInt(e(403))/11*(-parseInt(e(417))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(404)]({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(405)});const s=["ck",n(419)];i&&s[n(400)](n(406));const o=[{tag:n(408),attributes:{class:["ck",n(416)],title:Qi(t,n(i?410:414))},children:[r,e[n(399)]]}];this[n(412)]({tag:"li",attributes:{class:s},children:o})}}function Jr(){const t=["2790139PpgGSa","set","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","592TWzMJZ","span","2796PfwmnP","Revision creator","1ZFVpmf","setTemplate","60851arTOiO","Revision author","530830QflqSi","ck-revision-history-sidebar__revision-author__name","24qFCMmZ","582MsQafN","ck-revision-history-sidebar__revision-author","72008SDYtSN","549STyByH","name","push","2257474UcMtOd","4143060WKYmhK"];return(Jr=function(){return t})()}function Kr(){var t=["toLocaleTimeString","7868917ClKKxE","279870eFgEoj","14AHopkJ","9431192kjcCjc","4354615OiAmfz","long","1493000VEzpCu","405IwpNqI","40570qRvSlM","6suRQsw","toLocaleDateString","488976WfGIcV","numeric"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=192]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(620432===parseInt(e(204))/1+-parseInt(e(205))/2*(parseInt(e(200))/3)+parseInt(e(195))/4+parseInt(e(193))/5+-parseInt(e(198))/6*(parseInt(e(203))/7)+parseInt(e(192))/8+-parseInt(e(196))/9*(-parseInt(e(197))/10))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=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["change:isActionsDropdownOpen","ck-on","isVisible","stopPropagation","threeVerticalDots","bind","children","class","327322mWrITE","buttonView","panelPosition","_action","isOpen","extendTemplate","listView","isActionsDropdownOpen","find","listenTo","3JvXOvu","menu","3010245FhvUfQ","model","ck-revision-history-sidebar__revision__actions","name","add","10509072TKPZct","function","Compare against selected","413799bbeFKz","isReady","source","map","isEnabled","menuitem","3143805TLKNXJ","set","action","execute","items","2526606OMdbys","first","locale","703464fcYQgc","Restore this revision","Name this revision","button","Show more items","bindTemplate"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=132]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(335815===-parseInt(e(155))/1*(-parseInt(e(145))/2)+-parseInt(e(165))/3+-parseInt(e(179))/4+parseInt(e(157))/5+parseInt(e(176))/6+parseInt(e(171))/7+-parseInt(e(162))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=474]})(t,e)}function as(){const t=["fire","bindTemplate","div","name","highlight","ck-revision-history-sidebar__revision__controls-wrapper","_requireRevisionName","setName","isActionsDropdownOpen","ck-revision-history-sidebar__revision__date","ck-reset","createdAt","208168UDAAFr","listenTo","fieldView","authors","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","220","closest","ck-disabled","isReady","isSelected","element","uiLanguage","unshift","unhighlight","change","isHighlighted","bind","_createdAtFormatted",".ck-thread__remove-confirm","855728WzCAPP","998632FGQNED","459ivaocf","_revision","deselect","setTemplate","from","2355198OLtxXL","revisionActionsView","select","285ViFhKF","ck-revision-history-sidebar__revision-authors","33242GuCPqs","creator","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-wrapper","9370aNnwEK","ck-revision-history-sidebar__actions_dropdown_open","33298lNlgZH","value","srcElement","map","revisionNameView","5vXqCaQ","236180qOkCoj","render","span","extendTemplate","isEnabled","set","filter","length","isConfirm","ck-revision-history-sidebar__revision_highlighted"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(863403===parseInt(e(493))/1+parseInt(e(510))/2*(parseInt(e(502))/3)+parseInt(e(492))/4+-parseInt(e(515))/5*(parseInt(e(499))/6)+-parseInt(e(516))/7+-parseInt(e(538))/8*(-parseInt(e(494))/9)+-parseInt(e(508))/10*(parseInt(e(504))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(527)],a=function(t,e){const i=s,n=Array[i(498)](e[i(475)])[i(522)]((t=>t!=e[i(505)]));return e[i(505)]&&n[i(485)](e[i(505)]),n[i(513)]((n=>new Gr(t,n,n==e[i(505)])))}(e,i);this.id=i.id,this[s(495)]=i,this[s(532)]=r,this[s(489)](s(529),s(537)).to(i),this[s(489)](s(490)).to(this,s(537),(t=>{return i=e[s(484)],(n=t)[(r=Xr)(199)](i,{month:r(194),day:r(201)})+", "+n[r(202)](i,{hour:r(201),minute:r(201)});var i,n,r})),this[s(521)](s(482),!1),this[s(521)](s(488),!1),this[s(521)](s(534),!1),this[s(521)](s(481),!1),this[s(521)](s(520),!1),this[s(514)]=new Hr(e,En.createLabeledInputText),this[s(514)][s(474)][s(519)]({attributes:{maxlength:s(478)}}),this[s(514)][s(474)][s(489)](s(511)).to(this,s(529),(t=>t||this[s(490)])),this[s(514)][s(489)](s(520)).to(this,s(482),this,s(520),((t,e)=>t&&e)),this[s(500)]=n&&n[s(523)]?function(e,i){const n=is,r=e[n(136)],s=e[n(178)],o=(0,En.createDropdown)(s);o[n(147)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(178)],r={"Compare against selected":Qi(n,i(164)),"Name this revision":Qi(n,i(133)),"Restore this revision":Qi(n,i(132))};return e[i(168)]((t=>{const e=i,n=r[t[e(160)]];return n&&n!==t[e(160)]&&(t[e(160)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(134),model:new En.ViewModel({label:t[r(160)],class:t[r(144)],withText:!0,role:r(170),_action:t[r(173)]})};i[r(158)][r(142)](r(169)).to(e,r(152),(i=>r(163)!=typeof t[r(169)]||!i||t[r(169)](e))),o[r(161)](i)}return o}(e,i);return e[n(142)](n(152)).to(o,n(149)),o[n(146)][n(172)]({label:Qi(s,n(135)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(141)]}),o[n(150)]({attributes:{class:[n(159),r.if(n(152),n(138))]},on:{click:r.to((t=>t[n(140)]()))}}),o.on(n(174),(t=>{const i=n;e[i(166)]&&i(163)==typeof t[i(167)][i(148)]&&t[i(167)][i(148)](e)})),(0,En.addListToDropdown)(o,a,{role:n(156)}),o[n(154)](e,n(137),((t,r,s)=>{const a=n;if(s)for(const t of o[a(151)][a(175)]){const n=t[a(143)][a(177)],r=i[a(153)]((t=>t[a(173)]===n[a(148)]))[a(139)];t[a(139)]=void 0===r||r(e)}})),o}(this,n):"",this[s(500)]&&this[s(500)][s(489)](s(520)).to(this),this[s(497)]({tag:s(528),attributes:{class:["ck",s(536),s(507),o.if(s(524),s(506))]},children:[{tag:s(528),attributes:{class:["ck",s(536),s(476),o.if(s(520),s(480),(t=>!t)),o.if(s(482),s(477)),o.if(s(488),s(525)),o.if(s(534),s(509))]},children:[this[s(514)],{tag:s(518),attributes:{class:["ck",s(535)]},children:[{text:o.to(s(490))}]},{tag:s(528),attributes:{class:["ck",s(531)]},children:[{tag:"ul",attributes:{class:["ck",s(503)]},children:a}]},this[s(500)]],on:{click:o.to((t=>{const e=s;t[e(512)][e(479)](e(491))||this[e(481)]&&this[e(520)]&&this[e(526)](e(501),{id:this.id})}))}}]})}[ss(517)](){const t=ss;super[t(517)]();const e=this[t(514)][t(474)][t(483)];this[t(539)](e,t(487),(()=>{const i=t;this[i(532)]&&!e[i(511)]||this[i(526)](i(533),{id:this.id,name:e[i(511)]}),e[i(511)]||(e[i(511)]=this[i(529)]?this[i(529)]:this[i(490)])}))}[ss(501)](){this[ss(482)]=!0}[ss(496)](){this[ss(482)]=!1}[ss(530)](){this[ss(488)]=!0}[ss(486)](){this[ss(488)]=!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},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Hs={};const qs={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={},Hs={}}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,Hs[n]||(Hs[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"})),Hs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let 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&&Ho()&&(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:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?$s.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,$s.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 Eo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(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 Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=$o(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 Zo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 $o(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(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:Es,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function Ha(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function 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))?)?/,La),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Va(/(\d{4})-?(\d{3})/,La),uc=Va(Pa),lc=Ea((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),Ha,qa,Ba),hc=Ea(za,Ha,qa,Ba),dc=Ea(Wa,Ha,qa,Ba),fc=Ea(Ha,qa,Ba);const mc=Ea(Ha);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea(Ha,qa,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(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[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 Da(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;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class 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:Ho(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let $c=null;function Hc(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 qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Hc(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 qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter(($c||($c=wu.fromMillis(1555555555555)),$c)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const 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=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-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(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=$o(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=$o(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?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=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 Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Hc(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}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return 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 qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(){const t=["toJSDate","24764SJIeeo","8060390kEHCfb","minus","month","local","fromJSDate","294ZNSTnB","setLocale","weekdayLong","11AVoaDl","year","3265146ChDENG","105Olpnnz","toRelativeCalendar","startOf","1100456kXdFJA","day","657759LgnWIL","48BeJVOi","week","57155onmToe","monthLong","hasSame","240192sqvDsU"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=244]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(244)](t)[i(246)](e),r=wu[i(268)](),s=r[i(266)]({days:1})[i(253)](i(255));let o,a;return n[i(261)](r,i(255))?(o=n[i(253)](i(255))[i(263)](),a=n[i(252)]()):n[i(261)](s,i(255))?(o=s[i(263)](),a=n[i(252)]()):n[i(261)](r,i(258))?(o=n[i(253)](i(258))[i(263)](),a=n[i(247)]||""):n[i(261)](r,i(249))?(o=n[i(253)](i(267))[i(263)](),a=n[i(260)]||""):(o=n[i(253)](i(249))[i(263)](),a=String(n[i(249)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(365021===-parseInt(e(264))/1*(parseInt(e(257))/2)+-parseInt(e(256))/3+-parseInt(e(254))/4+parseInt(e(259))/5*(parseInt(e(245))/6)+-parseInt(e(251))/7*(-parseInt(e(262))/8)+-parseInt(e(250))/9+-parseInt(e(265))/10*(-parseInt(e(248))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["div","71194NaUGBj","localizedPeriodName","revisionViews","removeRevision","uiLanguage","setName","setTemplate","4926820HyTBEl","ck-revision-history-sidebar__time-period__label","438470dIwcwk","locale","13NCzGIy","2795272lbaFQA","createCollection","9700XKenzx","ck-revision-history-sidebar__time-period__revisions","delegate","add","40032McmHpw","484DQbJJo","span","addRevision","9sixaCC","remove","597660TjpdNL","ck-revision-history-sidebar__time-period","_revisionActions","168jdnZMu","select","find","_requireRevisionName","startDate"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(616044===-parseInt(e(494))/1*(parseInt(e(516))/2)+-parseInt(e(510))/3*(parseInt(e(497))/4)+-parseInt(e(490))/5+parseInt(e(501))/6+-parseInt(e(507))/7+parseInt(e(495))/8*(parseInt(e(505))/9)+parseInt(e(492))/10*(parseInt(e(502))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(493)][r(487)])[r(517)];this[r(514)]=e,this[r(518)]=this[r(496)](),this[r(509)]=i,this[r(513)]=n,this[r(518)][r(499)](r(511)).to(this),this[r(518)][r(499)](r(488)).to(this),this[r(489)]({tag:r(515),attributes:{class:["ck",r(508)]},children:[{tag:r(503),attributes:{class:["ck",r(491)]},children:[{text:s}]},{tag:r(515),attributes:{class:["ck",r(498)]},children:this[r(518)]}]})}[Nu(504)](t){const e=Nu,i=new cs(this[e(493)],t,this[e(509)],this[e(513)]);this[e(518)][e(500)](i)}[Nu(486)](t){const e=Nu,i=this[e(518)][e(512)]((e=>e.id===t.id));this[e(518)][e(506)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Ln().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=403]})(t,e)}function Cu(){const t=["2520700CoyQqP","9gMHuIE","span","361092ovsTRf","div","42QyIolG","924024sMXcbU","ck-reset_all","ck-revision-history-sidebar__header__label","content","setTemplate","Revision history","3415152KpcBVd","ck-revision-history-sidebar__header","663747IZqksF","1769490MQJCBQ","503726KIrpoq","2cFhIhs","history"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(252922===-parseInt(e(419))/1+-parseInt(e(420))/2*(parseInt(e(417))/3)+parseInt(e(409))/4+parseInt(e(403))/5+parseInt(e(406))/6*(-parseInt(e(408))/7)+parseInt(e(415))/8+parseInt(e(404))/9*(parseInt(e(418))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(412)]=qi.icons[e(421)],this[e(413)]({tag:e(407),attributes:{class:["ck",e(410),e(416)]},children:[i,{tag:e(405),attributes:{class:["ck",e(411)]},children:[Qi(t,e(414))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["map","1749786LZOPEC","10iyCPBc","highlightRevisions","unhighlight","getTime","render","uiLanguage","bindTemplate","createdAt","_requireRevisionName","fire","153tMDXba","removeRevision","setTemplate","locale","_revisions","137245UOnmkC","ck-rounded-corners","ck-disabled","10029810fWmyrr","div","delegate","createCollection","isEnabled","revisionSelected","ck-reset","addRevision","revisionSetName","40374QnpFRs","ck-revision-history-sidebar__timeline","get","highlight","set","ck-revision-history-sidebar","timePeriodViews","deselect","select","_getTimePeriodViewByStartDate","64888mVGEyc","startDate","_removeRevision","flat","find","revisionViews","_revisionActions","_addRevision","setName","remove","some","6032593AvLAda","116lxTZWn","286308ESiejo","selectRevision","add"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(469232===-parseInt(e(167))/1*(parseInt(e(194))/2)+-parseInt(e(166))/3+-parseInt(e(216))/4*(parseInt(e(182))/5)+parseInt(e(217))/6+parseInt(e(215))/7+-parseInt(e(204))/8*(-parseInt(e(177))/9)+parseInt(e(185))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(173)];this[r(200)]=this[r(188)](),this[r(200)][r(187)](r(202)).to(this),this[r(200)][r(187)](r(212)).to(this),this[r(181)]=e,this[r(210)]=i,this[r(175)]=n,this.on(r(202),((t,e)=>{const i=r;this[i(176)](i(190),e)})),this.on(r(212),((t,e)=>{const i=r;this[i(176)](i(193),e)})),this[r(198)](r(189),!1),this[r(179)]({tag:r(186),attributes:{class:["ck",r(191),r(183),r(199)]},children:[new ju(t),{tag:r(186),attributes:{class:["ck",r(195),s.if(r(189),r(184),(t=>!t))]},children:this[r(200)]}]})}[Lu(171)](){const t=Lu;super[t(171)]();for(const e of this[t(181)])this[t(211)](e);this[t(181)].on(t(219),((e,i)=>{this[t(211)](i)})),this[t(181)].on(t(213),((e,i)=>{this[t(206)](i)}))}get[Lu(209)](){const t=Lu;return this[t(200)][t(220)]((e=>e[t(209)][t(220)]((t=>t))))[t(207)]()}[Lu(218)](t){const e=Lu;for(const i of this[e(209)])t&&t.id===i.id?i[e(202)]():i[e(201)]()}[Lu(168)](t){const e=Lu;for(const i of this[e(209)])t[e(214)]((({id:t})=>t===i.id))?i[e(197)]():i[e(169)]()}[Lu(211)](t){const e=Lu,i=Ou(t[e(174)],this[e(180)][e(172)])[e(205)];let n=this[e(200)][e(196)](0);n&&n[e(205)][e(170)]()===i[e(170)]()||(n=new Mu(this[e(180)],i,this[e(210)],this[e(175)]),this[e(200)][e(219)](n)),n[e(192)](t)}[Lu(206)](t){const e=Lu,i=Ou(t[e(174)],this[e(180)][e(172)])[e(205)];this[e(203)](i)[e(178)](t)}[Lu(203)](t){const e=Lu;return this[e(200)][e(208)]((i=>i[e(205)][e(170)]()===t[e(170)]()))}}const Zu=$u;function $u(t,e){const i=qu();return($u=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(242439===parseInt(e(266))/1*(-parseInt(e(261))/2)+parseInt(e(240))/3+-parseInt(e(268))/4*(-parseInt(e(279))/5)+parseInt(e(211))/6+-parseInt(e(204))/7*(-parseInt(e(229))/8)+parseInt(e(224))/9+parseInt(e(257))/10*(-parseInt(e(269))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class Hu extends qi.Plugin{static get[Zu(254)](){return Zu(242)}static get[Zu(272)](){return!0}static get[Zu(285)](){return!0}static get[Zu(276)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(249)]=t[e(213)][e(233)](kr),this[e(215)]=this[e(249)][e(248)],this[e(275)]=null}[Zu(210)](){const t=Zu,e=this[t(215)][t(241)],i=this[t(250)](),n=this[t(205)][t(283)][t(233)](t(253));this[t(275)]=new Uu(this[t(205)][t(216)],e,i,this[t(205)][t(283)][t(233)](t(236))),this[t(275)].on(t(222),this[t(220)][t(207)](this)),this[t(275)].on(t(237),this[t(227)][t(207)](this)),this[t(275)][t(207)](t(209)).to(this[t(249)]),this[t(275)][t(281)].on(t(273),((e,i)=>{const n=t;i[n(226)].on(n(273),((t,e)=>{const i=n;e[i(207)](i(209),i(206)).to(this[i(249)])}))})),this[t(275)][t(239)](),this[t(234)](this[t(205)][t(223)],t(263),this[t(286)][t(207)](this)),this[t(234)](this[t(249)],t(235),this[t(274)][t(207)](this)),n[t(221)](this[t(275)][t(271)])}[Zu(256)](){const t=Zu;this[t(275)][t(271)][t(244)](),this[t(275)][t(256)]()}[Zu(286)](){const t=Zu,e=this[t(215)][t(264)](0);if(e){const i=this[t(215)][t(214)](e.id);this[t(249)][t(232)](e,i)}}[Zu(220)](t,e){const i=Zu,n=this[i(215)][i(264)](e.id),r=this[i(215)][i(214)](n.id);this[i(249)][i(232)](n,r)}[Zu(227)](t,e){const i=Zu;this[i(215)][i(264)](e.id)[i(278)](e[i(255)])}[Zu(274)](t,e,i){const n=Zu,r=this[n(215)][n(203)](i);r[n(267)]>2?(this[n(275)][n(246)](r),this[n(275)][n(280)](null)):(this[n(275)][n(246)]([]),this[n(275)][n(280)](r[0]))}[Zu(250)](){const t=Zu,e=this[t(205)],i=Hu[t(258)],n=e[t(283)][t(233)](t(218))||Hu[t(238)];if(n[t(267)])return n[t(225)]((n=>{const r=t,s=r(284)==typeof n?Object[r(228)]({},i[n]):n;return s[r(212)]=s[r(212)][r(207)](this,e),s[r(245)]&&(s[r(245)]=s[r(245)][r(207)](this,e)),s}))}}function qu(){const t=["length","4mQfeuv","3508802pFJUJb","restoreRevision","element","isOfficialPlugin","add","_handleDiffChange","_sidebarView","requires","Name this revision","setName","679870uaUglu","selectRevision","timePeriodViews","select","config","string","isPremiumPlugin","_handleEditorDataReady","getRevisionsInDiff","707ctsnkY","editor","isReady","bind","fieldView","isEnabled","init","790860DNPrfo","action","plugins","getEarlierVisibleRevision","_revisionsRepository","locale","nameRevision","revisionHistory.revisionActions","getLaterVisibleRevision","_handleRevisionSelected","appendChild","revisionSelected","data","586863unjpFp","map","revisionViews","_handleRevisionSetName","assign","16264TPhhHt","compareAgainstSelected","Restore this revision","compare","get","listenTo","change:diff","revisionHistory.requireRevisionName","revisionSetName","defaultRevisionActions","render","704418WkFOwn","_revisions","RevisionsSidebar","getIndex","remove","isVisible","highlightRevisions","isSelected","repository","_revisionViewer","_createRevisionActions","diff","focus","revisionHistory.viewerSidebarContainer","pluginName","name","destroy","10NIdSXW","availableRevisionActions","newRevisionId","Compare against selected","423418ugThdI","revisionHistory","ready","getRevision","restoreRevisionCallback","1gaUEln"];return(qu=function(){return t})()}Hu[Zu(238)]=[Zu(230),Zu(270),Zu(217)],Hu[Zu(258)]={compareAgainstSelected:{name:Zu(260),action:({plugins:t},e)=>{const i=Zu,n=t[i(233)](kr),r=n[i(248)];let s=n[i(251)][i(259)],o=e.id;r[i(243)](s)>r[i(243)](o)&&([s,o]=[o,s]),n[i(232)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(233)](kr);return!(n[i(248)][i(203)](n[i(251)])[i(267)]>2||e[i(247)])}},restoreRevision:{name:Zu(231),action:(t,{id:e})=>{const i=Zu;t[i(283)][i(233)](i(262))[i(265)](e)},isVisible:({plugins:t},e)=>!!t[Zu(233)](kr)[Zu(248)][Zu(219)](e.id)},nameRevision:{name:Zu(277),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(233)](kr),s=r[n(248)][n(214)](e);r[n(232)](e,s),i[n(252)](),i[n(208)][n(282)]()}}};const Bu=Hu,Yu=Gu;function Gu(t,e){const i=Ku();return(Gu=function(t,e){return i[t-=244]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(486309===-parseInt(e(247))/1*(parseInt(e(254))/2)+parseInt(e(264))/3+parseInt(e(269))/4+parseInt(e(262))/5+-parseInt(e(276))/6+parseInt(e(277))/7+-parseInt(e(257))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Ju extends En.EditorUI{get[Yu(278)](){return this[Yu(265)]}constructor(e,i){const n=Yu;super(e),this[n(265)]=i,this[n(258)]=(0,En.normalizeToolbarConfig)(e[n(268)][n(266)](n(252))),this[n(246)]=new t.ElementReplacer}get[Yu(280)](){const t=Yu;return this[t(278)][t(280)]}[Yu(270)](t){const e=Yu,i=this[e(282)],n=this[e(278)],r=i[e(259)][e(278)],s=n[e(279)],o=r[e(275)][e(263)]();s[e(287)]=o[e(261)],n[e(283)]();const a=s[e(280)];this[e(281)](s[e(287)],a),n[e(279)][e(256)](e(249)).to(this[e(284)]),r[e(288)](a),this[e(246)][e(253)](t,this[e(280)]),this[e(244)](),this[e(272)](e(286))}[Yu(273)](){const t=Yu;super[t(273)]();const e=this[t(278)],i=this[t(282)][t(259)][t(278)];this[t(246)][t(245)](),i[t(271)](e[t(279)][t(287)]),e[t(273)]()}[Yu(244)](){const t=Yu,e=this[t(278)];e[t(285)][t(256)](t(255)).to(this[t(284)],t(249)),e[t(285)][t(250)]=e[t(280)],e[t(285)][t(256)](t(248)).to(this,t(274),(({top:t})=>t)),e[t(252)][t(267)](this[t(258)],this[t(251)]),this[t(260)](e[t(252)])}}function Ku(){const t=["5456003gwNKPz","view","editable","element","setEditableElement","editor","render","focusTracker","stickyPanel","ready","name","attachDomRoot","_initToolbar","restore","_elementReplacer","374128HiAONM","viewportTopOffset","isFocused","limiterElement","componentFactory","toolbar","replace","2WyYCtH","isActive","bind","3882440uAUequ","_toolbarConfig","editing","addToolbar","rootName","1862930VkvdYM","getRoot","2367759onksqU","_view","get","fillFromConfig","config","1203516hrXDYw","init","detachDomRoot","fire","destroy","viewportOffset","document","5378430cOsDzL"];return(Ku=function(){return t})()}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;function tl(t,e){var i=il();return(tl=function(t,e){return i[t-=304]})(t,e)}var el=tl;function il(){var t=["toolbar","18WawUXp","1028950nquFjp","200160VFIumJ","495IVgzgS","634337ulGsNd","render","228jfFzMf","55349oCcCGe","editable","1896KxSRPf","30gTzLGs","_editable","117556iaGIse","stickyPanel","content","top","shouldToolbarGroupWhenFull","main","add","2pOYOtz","14197Lliqlk"];return(il=function(){return t})()}!function(t){for(var e=tl,i=t();;)try{if(210747===parseInt(e(321))/1*(-parseInt(e(320))/2)+-parseInt(e(323))/3*(-parseInt(e(313))/4)+parseInt(e(324))/5+-parseInt(e(307))/6*(parseInt(e(308))/7)+-parseInt(e(310))/8*(parseInt(e(304))/9)+parseInt(e(311))/10*(parseInt(e(305))/11)+-parseInt(e(325))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[el(309)](){return this[el(312)]}constructor(t,e,i={}){var n=el;super(t),this[n(314)]=new En.StickyPanelView(t),this[n(322)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(317)]}),this[n(312)]=new En.InlineEditableUIView(t,e)}[el(306)](){var t=el;super[t(306)](),this[t(314)][t(315)][t(319)](this[t(322)]),this[t(316)][t(319)](this[t(314)]),this[t(318)][t(319)](this[t(309)])}}const rl=ol;function sl(){const t=["createRoot","sourceElement","ready","400NnUbuQ","config","30970812eUJfVd","document","9720cPFWjD","476810aEPqdI","model","2296525DwqTzD","1686SvoukE","init","77sGXJnV","initialData","editing","110991hnaypx","initPlugins","view","updateSourceElement","59877GXbdIq","80nRleMn","fire","data","destroy","locale","create","246wBCFFZ","_ui","1939PLuMwc","get"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=114]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(538702===parseInt(e(124))/1*(parseInt(e(122))/2)+parseInt(e(142))/3*(-parseInt(e(116))/4)+-parseInt(e(133))/5*(parseInt(e(137))/6)+-parseInt(e(136))/7+-parseInt(e(129))/8*(parseInt(e(115))/9)+-parseInt(e(134))/10*(parseInt(e(139))/11)+parseInt(e(131))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(123)]}constructor(t,e){const i=ol;super(e),this[i(127)]=t,this[i(135)][i(132)][i(126)]();const n=new nl(this[i(120)],this[i(141)][i(144)],{shouldToolbarGroupWhenFull:!0});this[i(123)]=new Ju(this,n)}[rl(119)](){const t=rl;return this[t(114)](),this.ui[t(119)](),super[t(119)]()}static async[rl(121)](t,e){const i=rl,n=new this(t,e);return await n[i(143)](),await n.ui[i(138)](t),await n[i(118)][i(138)](n[i(130)][i(125)](i(140))||""),n[i(117)](i(128)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=312]})(t,e)}function ll(){const t=["bind","model","6ezMORx","map","revisionHistory.showRevisionViewerCallback","disableReadOnlyMode","643096fmCoto","then","requires","numeric","setSelection","getRevisionRootsAttributes","result","toVersion","1734372BLfWVr","isPremiumPlugin","_showRevisionViewer","create","pluginName","includes","isAttached","join","_cleanUp","9302727TOCdwY","RestrictedEditingMode","removeAttribute","343239AyMnPT","block","getRevisionData","locale","isReady","isOfficialPlugin","repository","isAnonymous","Users","get","none","getAttributeKeys","getRevision","revisionHistory","closeRevisionViewerCallback","fromCharCode","enqueueChange","creator","config","addRoot","restoreRevision","Dialog","showRevisionViewerCallback","toolbar","name","lazyRoots","detachRoot","getMarkersGroup","getRevisions","toJSON","destroy","revisionHistory.closeRevisionViewerCallback","editor","_enhanceShowRevisionViewerCallback","RevisionHistory","enableReadOnlyMode","RevisionViewer","isOpen","users","refreshPositioning","catch","revision-history-missing-configuration","from","$graveyard","plugins","revisionHistory.viewerEditorElement","commands","init","error","revision-history-viewer-opened","Annotations","getRoot","hide","document","remove","_getRevisionViewerEditorConfig","isReadOnly","display","save","indexOf","saveRevision","change","setAttribute","_update","exitToEditing","RevisionViewerIntegration","revisionHistory.editorContainer","fromVersion","PaginationLookup","363756tAlbuY","_enhanceCloseRevisionViewerCallback","data","update","_closeRevisionViewer","push","refreshVisibility","RevisionTracker","_viewerEditor","isEnabled","RevisionHistoryUI","style","long","RevisionsRepository","uiLanguage","define","addUser","toLocaleDateString","selection","getUser","revisionHistory.requireRevisionName","end","insert","addRevisionData","keys","revisionHistory.viewerContainer","_restoreRevision","roots","createdAt","removeSelectionAttribute","Autosave","set","99ZZbFLj","revisionHistory.restoreRevisionCallback","45uCrnNq","has","restrictedEditingException","Restored","2242428FmcAeU","24459200MlFcXf","removeMarker","markers","createRangeIn","_recalculatePageBreaks","parse","translations","toLocaleTimeString","adapter","rootName","changesNavigation"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(770350===-parseInt(e(356))/1+parseInt(e(318))/2+parseInt(e(344))/3+parseInt(e(425))/4*(-parseInt(e(314))/5)+parseInt(e(332))/6*(-parseInt(e(353))/7)+-parseInt(e(336))/8*(parseInt(e(312))/9)+parseInt(e(319))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(435),cl(354)];class dl extends qi.Plugin{static get[cl(348)](){return cl(421)}static get[cl(361)](){return!0}static get[cl(345)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(333)]((t=>String[e(371)](t)))[e(351)]("")}super(t),this[e(342)]=e(446),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends qi.Plugin{static get[cl(348)](){return cl(390)}static get[cl(361)](){return!0}static get[cl(345)](){return!0}static get[cl(338)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(388)][i(374)][i(365)](i(369)))throw new t.CKEditorError(i(397),this);this[i(433)]=null,this[i(388)][i(374)][i(440)](i(334),(t=>this[i(346)]({...t,translations:this[i(388)][i(359)][i(325)]}))),this[i(388)][i(374)][i(440)](i(387),(t=>this[i(429)](t))),this[i(388)][i(374)][i(440)](i(313),(t=>this[i(451)](t))),this[i(388)][i(374)][i(440)](i(445),!1),this[i(389)](),this[i(426)]()}set[cl(327)](t){const e=cl;this[e(388)][e(400)][e(365)](e(432))[e(327)]=t}get[cl(327)](){const t=cl;return this[t(388)][t(400)][t(365)](t(432))[t(327)]}[cl(448)](t){const e=cl;return this[e(388)][e(400)][e(365)](e(432))[e(448)](t)}[cl(368)](t){const e=cl;return this[e(388)][e(400)][e(365)](e(438))[e(368)](t)}[cl(384)](t){const e=cl;return this[e(388)][e(400)][e(365)](e(438))[e(384)](t||{toJSON:!1})}[cl(411)](){const e=cl,i=this[e(388)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(400)][e(365)](e(432)),s=i[e(400)][e(365)](e(364))[e(394)];return n[e(379)]=[e(420),e(376),e(329)],delete n[e(381)],n[e(400)][e(430)](dl,kr,Lr,class extends qi.Plugin{static get[e(338)](){return[kr,e(364)]}[e(403)](){const n=e,o=this[n(388)][n(400)][n(365)](n(364));for(const t of s)t[n(363)]||o[n(444)](t.id)||o[n(441)](t);const a=r[n(362)][n(384)]();let c=null;const u=this[n(388)][n(400)][n(365)](n(392));u[n(327)]=r[n(327)],u[n(330)](n(434)).to(r),this[n(388)][n(402)][n(365)](n(376))[n(330)](n(434)).to(i,n(412),(t=>!t));for(const e of a){const i=null===e[n(373)];if(i&&e[n(343)]===e[n(423)])continue;const s=e[n(385)]();u[n(448)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(419)](s,o);else if(!o){const e=a[u(385)]();e.id=(0,t.uid)(),r[u(416)](e,a[u(343)])[u(337)]((t=>{c=t}))}}else e[u(419)](s,o)}))}}},Bu),n}[cl(389)](){const t=cl,e=this[t(388)][t(374)][t(365)](t(369))[t(378)];this[t(388)][t(374)][t(456)](t(334),(async()=>{const i=t;this[i(388)][i(391)](i(405));const n=this[i(388)][i(400)][i(365)](i(432));if(this[i(388)][i(400)][i(315)](i(455))){const t=this[i(388)][i(400)][i(365)](i(455));await t[i(414)]()}else await n[i(428)]();if(this[i(388)][i(400)][i(315)](i(424))&&this[i(388)][i(400)][i(365)](i(424))[i(323)](),this[i(388)][i(400)][i(315)](i(377))){const t=this[i(388)][i(400)][i(365)](i(377));t[i(393)]&&t[i(408)]()}const r=this[i(411)]();return e(r)[i(337)]((t=>{const e=i;return this[e(433)]=t,this[e(388)][e(400)][e(315)](e(406))&&this[e(388)][e(400)][e(365)](e(406))[e(431)](),t}))[i(396)]((t=>(console[i(404)](t),this[i(388)][i(335)](i(405)),null)))}))}[cl(426)](){const t=cl,e=this[t(388)][t(374)][t(365)](t(369))[t(370)];this[t(388)][t(374)][t(456)](t(387),(()=>(this[t(388)][t(400)][t(315)](t(424))&&this[t(388)][t(400)][t(365)](t(424))[t(323)](),this[t(433)][t(400)][t(365)](t(392))[t(352)](),e(this[t(433)])[t(337)]((()=>{const e=t;if(this[e(388)][e(335)](e(405)),this[e(433)]=null,this[e(388)][e(400)][e(315)](e(406))){const t=this[e(388)][e(400)][e(365)](e(406));t[e(431)](),t[e(395)]()}})))))}[cl(346)](t){const e=cl,i=this[e(388)][e(374)][e(365)](e(422)),n=this[e(388)][e(374)][e(365)](e(450)),r=this[e(388)][e(374)][e(365)](e(401));return al[e(347)](r,t)[e(337)]((t=>(n[e(436)][e(413)]=e(357),i[e(436)][e(413)]=e(366),t)))}[cl(429)](t){const e=cl,i=this[e(388)][e(374)][e(365)](e(422));return this[e(388)][e(374)][e(365)](e(450))[e(436)][e(413)]=e(366),i[e(436)][e(413)]="",t[e(386)]()}async[cl(451)](t){const e=cl,i=this[e(388)],n=this[e(433)][e(400)][e(365)](e(392)),r=i[e(400)][e(365)](e(432)),s=n[e(362)][e(368)](t);let o,a,c;try{o=await n[e(358)](s),a=await n[e(341)](s)}catch(t){return void console[e(404)](t)}i[e(331)][e(417)]((t=>{const n=e;for(const e of Array[n(398)](i[n(331)][n(321)][n(383)](n(316))))t[n(320)](e)})),n[e(360)]=!1,i[e(331)][e(372)]((t=>{const n=e;t[n(340)](null),t[n(454)](i[n(331)][n(409)][n(443)][n(367)]());const r=Object[n(449)](o);for(const e of i[n(331)][n(409)][n(452)])n(399)!=e[n(328)]&&e[n(350)]()&&!r[n(349)](e[n(328)])&&t[n(382)](e);for(const e of r){let r=i[n(331)][n(409)][n(407)](e);r&&r[n(350)]()||(r=t[n(375)](e));const s=a[e],c=Object[n(449)](s),u=o[e];for(const e of r[n(367)]())c[n(349)](e)||t[n(355)](e,r);for(const i of c)t[n(418)](i,a[e][i],r);t[n(410)](t[n(322)](r)),t[n(447)](i[n(427)][n(324)](u,r),r,0)}}));const u=Qi(i[e(359)],e(317));return c=s[e(380)]?-1==s[e(380)][e(415)](u)?u+": "+s[e(380)]:s[e(380)]:u+": "+s[e(453)][e(442)](i[e(359)][e(439)],{month:e(437),day:e(339)})+", "+s[e(453)][e(326)](i[e(359)][e(439)],{hour:e(339),minute:e(339)}),await r[e(416)]({name:c}),n[e(360)]=!0,i[e(374)][e(365)](e(369))[e(370)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=342]})(t,e)}function pl(){var t=["116471qRZLNv","35MHiMNI","4YzJVrH","352746xbkVkA","603270YYFclK","2IQhzVE","274914vVQLPc","2660504NYRdCy","2169onMfVv","1818136EqwyUG","9750olzVIO"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(126826===parseInt(e(344))/1*(-parseInt(e(349))/2)+-parseInt(e(347))/3*(-parseInt(e(346))/4)+parseInt(e(348))/5+-parseInt(e(350))/6*(parseInt(e(345))/7)+parseInt(e(342))/8+-parseInt(e(352))/9*(parseInt(e(343))/10)+parseInt(e(351))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Qi,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 A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const V=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var D,E=(D=/[^.]+$/.exec(M&&M.keys&&M.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 P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(V(t)?Z:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=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 X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.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=J,it.prototype.delete=G,it.prototype.get=Q,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=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Rt=function(){return!1};var Vt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Vt&&"object"==typeof module&&module&&!module.nodeType&&module,Dt=Mt&&Mt.exports===Vt?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 Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Et(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!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 Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!V(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=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?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 Nt(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 Ae=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Ve=q(k,"WeakMap");var Me="[object Map]",De="[object Promise]",Ee="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Pe=F(B),Le=F(Ne),ze=F(Re),We=F(Ve),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Me||Ne&&Ue(Ne.resolve())!=De||Re&&Ue(new Re)!=Ee||Ve&&Ue(new Ve)!=Ce)&&(Ue=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Me;case Le:return De;case ze:return Ee;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(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 Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.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 Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(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]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(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 Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Vi=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Vi(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=Mi(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=Mi(e,t)).length;null!=t&&i<n;)t=t[Di(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Li(t,e))||delete t[Di(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(t,e){const i=Hi();return(Ui=function(t,e){return i[t-=189]})(t,e)}const Zi=Ui;function Hi(){const t=["21036dZZMNj","424778dedwhJ","creatorId","1781672hAnoPd","map","authorsIds","toVersion","_update","set","diffData","authors","attributes","2394NuQrdT","100yQglgH","fromVersion","creator","setAttribute","toJSON","1900675zbStjJ","name","fire","1285914AHlZal","1317UVRYVT","setName","1821510ekRIZq","removeAttribute","createdAt","11080iEcGxi"];return(Hi=function(){return t})()}!function(t){const e=Ui,i=t();for(;;)try{if(809927===-parseInt(e(189))/1+parseInt(e(197))/2+-parseInt(e(190))/3*(-parseInt(e(195))/4)+-parseInt(e(214))/5+parseInt(e(196))/6*(-parseInt(e(208))/7)+parseInt(e(199))/8+parseInt(e(192))/9*(parseInt(e(209))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Ui;super(),this.id=e.id||(0,t.uid)(),this[i(211)]=e[i(211)]||null,this[i(206)]=e[i(206)]||[],this[i(205)]=e[i(205)]||null,this[i(202)]=e[i(202)]||0,this[i(210)]=e[i(210)]||0,this[i(204)](i(215),e[i(215)]||""),this[i(204)](i(194),e[i(194)]||new Date),this[i(204)](i(207),e[i(207)]||{})}[Zi(191)](t){this[Zi(203)]({name:t})}[Zi(212)](t,e){const i=Zi,n=vi(this[i(207)]);Ci(n,t,e),this[i(203)]({attributes:n})}[Zi(193)](t){const e=Zi,i=vi(this[e(207)]);Wi(i,t),this[e(203)]({attributes:i})}[Zi(203)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(215),i(194),i(205),i(206),i(207),i(202),i(210),i(198)];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(206)]&&(r[i(201)]=r[i(206)][i(200)]((t=>t.id)),delete r[i(206)]),this[i(216)](i(203),r,e))}[Zi(213)](){const t=Zi;return{id:this.id,name:this[t(215)],creatorId:this[t(211)]?this[t(211)].id:null,authorsIds:this[t(206)][t(200)]((t=>t.id)),diffData:this[t(205)],createdAt:this[t(194)],attributes:this[t(207)],fromVersion:this[t(210)],toVersion:this[t(202)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=182]})(t,e)}function Ki(){const t=["href","add","getRevision","get","getRevisionsInDiff","4628582pNDoUD","diffData","getRevisions","name","attributes","newRevisionId","reverse","plugins","createdAt","pluginName","5965FUnWXF","length","push","getLaterVisibleRevision","requires","creatorId","map","getRevisionsIterator","earlier","isNaN","Users","RevisionsRepository","editor","addRevision","isOfficialPlugin","677076MZPtXU","afterInit","getUser","fromVersion","authorsIds","fromCharCode","111726YAOmFj","2766PDOUpJ","from","2281860HXSiTS","data","getIndex","oldRevisionId","129898RYdKOb","_revisions","3604976mlqECl","toJSON","join","toVersion","isPremiumPlugin","later","getEarlierVisibleRevision","createRevision"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(473687===parseInt(e(191))/1+parseInt(e(204))/2+-parseInt(e(197))/3+-parseInt(e(200))/4+parseInt(e(229))/5*(parseInt(e(198))/6)+-parseInt(e(219))/7+parseInt(e(206))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Qi extends qi.Plugin{static get[Ji(233)](){return[Bi.Users]}static get[Ji(228)](){return Ji(187)}static get[Ji(190)](){return!0}static get[Ji(210)](){return!0}get[Ji(230)](){const t=Ji;return this[t(205)][t(230)]}constructor(e){const i=Ji;super(e),this[i(205)]=new t.Collection}[Ji(192)](){!async function(e){const i=k([97,87,82,49,55,121,99,54,72,48,78,106,50,118,108,113,52,107,119,116,77,85,68,101,104,115,65,75,84,69,83,100,86,120,56,88,98,80,109,81,89,66,73,71,79,53,111,112,57,70,74,67,76,51,117,114,102,110,90,122,103,105]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(185)](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([97]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(182)]((t=>String[e(196)](t)))[e(208)]("")}!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:1738281600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(214)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(213)](t){const e=Ji,i=this[e(188)][e(226)][e(217)](e(186));return new $i({id:t.id,name:t[e(222)],creator:t[e(234)]?i[e(193)](t[e(234)]):null,diffData:t[e(220)]||t[e(201)],authors:t[e(195)][e(182)]((t=>i[e(193)](t))),createdAt:new Date(t[e(227)]),attributes:t[e(223)],fromVersion:t[e(194)],toVersion:t[e(209)]})}[Ji(189)](t,e=0){const i=Ji;this[i(205)][i(215)](t,e)}[Ji(216)](t){const e=Ji;return this[e(205)][e(217)](t)}[Ji(221)](t={toJSON:!1}){const e=Ji,i=Array[e(199)](this[e(205)]);return i[e(225)](),t[e(207)]?i[e(182)]((t=>t[e(207)]())):i}[Ji(202)](t){const e=Ji;return this[e(205)][e(202)](t)}[Ji(212)](t){const e=Ji,[,i]=this[e(183)](t,{direction:e(184)});return i}[Ji(232)](t){const e=Ji,[,i]=this[e(183)](t,{direction:e(211)});return i}[Ji(218)](t){const e=Ji,i=[];for(const n of this[e(183)](t[e(224)]))if(i[e(231)](n),n.id===t[e(203)])break;return i}*[Ji(183)](t,{direction:e=Ji(184),filter:i=()=>!0}={}){const n=Ji,r=n(184)===e?1:-1;let s=this[n(205)][n(217)](t),o=this[n(202)](s);for(yield s;s;){if(o+=r,s=this[n(216)](o),!s)return;i(s)&&(yield s)}}}function Xi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Et(t)){if(!Et(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=140]})(t,e)}function Sn(){const t=["split","_addPendingAction","rootName","revision-start","element","toView","markers","_makeModelFromViewString","editor-initial-data-replaced-with-revision-data","isReady","getIndex","merge","nodeAfter","_fixRange","attributesBefore","newRange","_operations","children","editing","clone","872164OxTSNt","_fixOperation","_source","trim","_baseRootsAttributes","add","resolve","text","_getViewJson","_loadedStateData","start","revisionHistoryLicenseKeyEvaluationLimit","_removeRevisionMarkers","attachChange","useFillerType","_loadState","baseVersion","revisionHistoryLicenseKeyDomainLimit","_lastTo","clear","max","revisionHistoryLicenseKeyValid","createRangeIn","$graveyard","authors","_reset","splitPosition","map","getRootNames","define","plugins","featureNotAllowed","Users","sort","_insertChild","root","_update","vid_end","reinsert","getWalker","_handleMarkerOperation","isAttached","finally","conversion","delete","_diffRoots","history","_touchedMarkers","for","Empty document","initial","revisionHistoryLicenseKeyUsageLimit","insert","_generateTape","oldRange","_handleOperation","paragraph","get","howMany","Initial revision","_appendChild","_revisionDataBuilder","_initialRevisionId","fromEntries","trialLimit","repository","_makeIdsRoot","insertionPosition","domainLimit","_calculateMetaData","tableCell","_getFromVersion","usageLimit","some","_touched","_makeRevision","_lastFrom","_getState","_isPendingUpdate","keys","slice","item","_prepareViewToSave","PENDING_ACTION_REVISION_HISTORY","_removeMetaData","fromVersion","expired","hasContent","name","parse","isAdd","revisionHistoryLicenseKeyExpired","toVersion","offset","creator","_startingVersion","_markers","move","_transformMarkers","_getBaseVids","getTransformedByOperation","_diffRootsAttributes","authorsIds","position","creatorId","_idsRoots","RealTimeCollaborationClient","_markChanges","addRoot","_createFromRanges","set","revisionHistoryLicenseKeyTrialLimit","238944GHVgsc","destroy","_bufferUpdate","isOfficialPlugin","parent","newValue","adapter","RevisionTracker","_getVidAttributeName","_handleRootAttributeOperation","end","getRevisionRootsAttributes","attributesAfter","addRevision","upcast","rootsAttributes","setSource","RevisionHistory","currentRevision","stringify","previousPosition","getRange","path","insertions","isEnabled","from","_saveMetaData","_fixPosition","_revisionId","saveRevision","PendingActions","values","_touchedRoots","_handleRootOperation","_startingRevisionId","range","getRevision","graveyardPosition","_savedMetaData","8064801xGWFEH","_findInsertionIndex","revisionHistoryLicenseKeyNotAllowed","then","affectsData","168395yWPfyp","getOperation","revisionHistoryLicenseKeyInvalid","locale","view","source","_isInit","getMovedRangeStart","_cloneOperation","processor","_isAttached","dataToMarker","includes","editor","createPositionAt","_handleSplitOperation","_baseIdsRoots","revision-end","init","_licenseKeyCheckInterval","_handleMergeOperation","invalid","vid","nodes","licenseKey","createdAt","_setConversion","version","length","deletions","push","removeRootAttribute","type","getRevisionDocumentData","keepParagraph","NEGATIVE_INFINITY","addRootAttribute","28ASpney","toModel","setRevisionData","elementStart","_applyOperations","_handleInsertOperation","_removePendingAction","markerToData","roots","childCount","getAttribute","_loadRevisionData","size","remove","config","document","shift","_getPreviousFrom","_execute","466728ChAoyJ","bind","createPositionBefore","offsetSize","updateRevisions","buildRevisionData","pluginName","_clone","documentFragment","_replaceEditorDataWithRevisionData","loadState","_processRootBeforeSave","_showLicenseError","createRange","insertion","key","revision:","changeRootAttribute","createPositionAfter","stickiness","evaluationLimit","string","toData","_createInitialRevision","_createCurrentRevision","153696BslzVA","ready","getTime","3QkCpwM","getRoot","revisionHistory.resumeUnsavedRevision","vid_start","_handleMoveOperation","_setAttribute","afterInit","elementEnd","isEqual","marked","_baseRoots","getNodeByPath","_bufferedUpdates","getLatestVersion","reverse","getAncestors","requires","model","getCurrentRevisionId","getData","reInit","_copyMarkers","collaboration.channelId","createRevision","isPremiumPlugin","_continueCurrentRevision","initialData","sourcePosition","attributes","filter","getAttributes","marker","data","34470LYwwvR","addRevisionData","has","dataDowncast","getChildren","revision","getOperations","RevisionsRepository","forEach","userId","detachRoot","$text","data-revision-","createPositionFromPath","update","getChild","startsWith","find","_pendingAction","deletion","sendBufferedUpdates","_authorId","diffData","getRevisions","getUser","default","targetPosition"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(138095===-parseInt(e(313))/1+-parseInt(e(369))/2+parseInt(e(397))/3*(-parseInt(e(157))/4)+parseInt(e(430))/5+-parseInt(e(394))/6+-parseInt(e(350))/7*(parseInt(e(269))/8)+parseInt(e(308))/9)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 qi.Plugin{static get[_n(375)](){return _n(276)}static get[_n(272)](){return!0}static get[_n(421)](){return!0}static get[_n(413)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(275)]=null,this[i(287)]=null,this[i(218)]=new An(this[i(326)]),this[i(219)]=this[i(326)][i(364)][i(214)](i(419))||i(207),this[i(409)]=new Map,this[i(166)]=null;const n=(0,t.uid)();this[i(159)]={history:this[i(326)][i(414)][i(365)][i(203)],getLatestVersion:()=>Promise[i(163)](this[i(326)][i(414)][i(365)][i(340)]),getCurrentRevisionId:()=>n},this[i(267)](i(146),!1),this[i(267)](i(293),!0),this[i(267)](i(235),!1),this[i(326)][i(364)][i(186)](i(399),!0),this[i(326)][i(200)][i(205)](i(283))[i(324)]({view:i(435)})}[_n(331)](){const t=_n;this[t(222)]=this[t(326)][t(187)][t(214)](t(437)),this[t(339)](),this[t(326)][t(429)].on(t(395),(()=>{const e=t,i=this[e(222)][e(305)](0),n=i&&null===i[e(251)]?i:null;if(this[e(422)]=!!n&&this[e(326)][e(364)][e(214)](e(399)),this[e(326)][e(187)][e(432)](e(263))){const t=this[e(159)][e(415)](),r=this[e(222)][e(305)](t);if(r)this[e(252)]=r[e(242)],this[e(422)]=!1;else{const t=this[e(159)][e(203)][e(153)][e(447)]((t=>!t[e(319)])),r=t?t[e(173)]:this[e(159)][e(203)][e(340)];i?(i[e(249)]<r&&i[e(193)]({toVersion:r}),this[e(422)]?(this[e(159)][e(415)]=()=>n.id,this[e(252)]=n[e(242)]):(this[e(252)]=i[e(249)],this[e(422)]=!1)):(this[e(252)]=r,this[e(422)]=!1)}}else n&&(this[e(326)][e(414)][e(365)][e(203)][e(340)]=Math[e(177)](n[e(249)],this[e(326)][e(414)][e(365)][e(203)][e(340)]),n[e(242)]===n[e(249)]?(0!==n[e(242)]&&(this[e(159)][e(415)]=()=>n.id),this[e(422)]=!1):this[e(422)]&&(this[e(159)][e(415)]=()=>n.id,this[e(252)]=n[e(242)])),this[e(422)]||(this[e(252)]=this[e(326)][e(414)][e(365)][e(340)]);this[e(218)][e(331)](this[e(159)][e(203)]),this[e(392)](this[e(252)]),this[e(393)](this[e(252)]),this[e(275)]&&this[e(450)]()})),this[t(370)](t(146)).to(this,t(235),(t=>!t)),this[t(337)]=this[t(326)][t(364)][t(214)](t(337));const e=this[t(326)];this[t(332)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(178)==s||i(315)==s||i(248)==s||i(174)==s||i(310)==s||i(168)==s||i(268)==s||i(208)==s){delete e[r],n=s,clearInterval(this[i(332)]),this[i(332)]=void 0;break}}i(315)==n&&e[i(381)](i(334)),i(248)==n&&e[i(381)](i(243)),i(174)==n&&e[i(381)](i(225)),i(310)==n&&e[i(381)](i(188),i(286)),i(168)==n&&e[i(381)](i(389)),i(268)==n&&e[i(381)](i(221)),i(208)==n&&e[i(381)](i(229))}),1e3)}async[_n(403)](){const t=_n;if(this[t(222)][t(341)]>0){const e=this[t(222)][t(305)](0),i=await this[t(346)](e),n=await this[t(280)](e);this[t(378)](i,n)}}[_n(270)](){const t=_n;super[t(270)](),this[t(332)]&&clearInterval(this[t(332)])}[_n(285)](t){this[_n(159)]=t}async[_n(444)](){const t=_n,e=await this[t(159)][t(410)]();if(e>this[t(287)][t(249)]){await this[t(172)]();const i=this[t(374)]({revision:this[t(287)],to:e});i[t(181)]=i[t(259)][t(184)]((e=>this[t(326)][t(187)][t(214)](t(189))[t(454)](e))),this[t(287)][t(193)](i)}}async[_n(172)](){const t=_n;this[t(422)]&&!this[t(166)]&&(await this[t(361)](this[t(287)]),this[t(218)][t(379)](this[t(287)]),this[t(166)]={fromVersion:this[t(287)][t(242)],authors:this[t(287)][t(181)][t(237)]()})}async[_n(298)](e={},i=null){const n=_n,r=[];await this[n(172)](),this[n(422)]=!1,i>this[n(287)][n(249)]&&(i=null),null===i&&(i=await this[n(159)][n(410)]());const s=this[n(228)](i),o=this[n(374)]({from:s,to:i});if(this[n(287)][n(249)]<i){const t=this[n(374)]({revision:this[n(287)],from:i,to:i});t[n(181)]=[],t[n(259)]=[],t.id=this[n(287)].id,this[n(287)][n(193)](t,!0),delete t[n(181)],r[n(343)](t)}e[n(261)]=this[n(326)][n(187)][n(214)](n(189)).me.id,e[n(245)]=e[n(245)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(431)](e);r[n(343)](e);const c=this[n(222)][n(147)](a);if(0!==c){const t=this[n(222)][n(305)](c-1);if(t[n(242)]!==i){const s=this[n(218)][n(416)](i,t[n(249)]),o={id:t.id,diffData:s[n(452)],authorsIds:s[n(259)],authors:s[n(259)][n(184)]((t=>this[n(326)][n(187)][n(214)](n(189))[n(454)](t))),fromVersion:i};t===this[n(287)]&&(o[n(338)]=new Date(e[n(338)][n(396)]()+10)),t[n(193)](o,!0),delete o[n(181)],r[n(343)](o)}}if(this[n(275)]){for(const t of r)this[n(271)](t.id,t,!0);this[n(450)]()}return a}[_n(431)](t){const e=_n,i=this[e(222)][e(420)](t);return this[e(275)]&&i.on(e(193),((t,i,n)=>{const r=e;n||(this[r(271)](i.id,i,!0),this[r(450)]())})),this[e(222)][e(282)](i,this[e(309)](i)),i}async[_n(346)](t){const e=_n;await this[e(361)](t);const i={};for(const n in t[e(452)]){if(t[e(452)][n][e(170)]&&!t[e(452)][n][e(170)][e(198)])continue;const r=this[e(169)](JSON[e(246)](t[e(452)][n][e(292)])),s=this[e(326)][e(155)][e(317)][e(365)],o=new Yi.ViewDocumentFragment(s,r[e(184)]((t=>Tn(t,this[e(326)]))));this[e(326)][e(429)][e(322)][e(171)](e(406)),i[n]=this[e(326)][e(429)][e(322)][e(391)](o),this[e(326)][e(429)][e(322)][e(171)](e(455))}return i}async[_n(280)](t){const e=_n;await this[e(361)](t);const i={};for(const n in t[e(452)])t[e(452)][n][e(170)]&&!t[e(452)][n][e(170)][e(198)]||(i[n]=t[e(452)][n][e(281)]||{});return i}[_n(450)](){const t=_n;if(0===this[t(409)][t(362)])return;if(this[t(235)])return;let e=Array[t(294)](this[t(409)][t(300)]());this[t(409)][t(176)]();for(let i=0;i<e[t(341)];i++){const n=e[i];let r=!1;for(const e of Object[t(236)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(426)]((t=>null!==t)),!e[t(341)])return;for(let i=0;i<e[t(341)];i++){const n=e[i];void 0!==n[t(242)]&&void 0===n[t(249)]&&(n[t(249)]=this[t(222)][t(305)](n.id)[t(249)]),void 0!==n[t(249)]&&void 0===n[t(242)]&&(n[t(242)]=this[t(222)][t(305)](n.id)[t(242)])}const i=this[t(326)][t(364)][t(214)](t(419));this[t(235)]=!0,this[t(458)](),this[t(275)][t(373)](e,i)[t(199)]((()=>{this[t(235)]=!1}))[t(311)]((e=>{const i=t;if(e)for(const t of e)this[i(352)]({id:t.id,createdAt:t[i(338)]});this[i(356)](),this[i(450)]()}))}[_n(378)](e,i){const n=_n;let r=this[n(326)][n(364)][n(214)](n(423)),s=this[n(326)][n(364)][n(214)](n(284));if(void 0===r){r={};for(const t of this[n(326)][n(414)][n(365)][n(185)]())r[t]=""}if(n(390)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(326)][n(414)][n(365)][n(185)]())s[t]={}}let o=!1;const a=Object[n(236)](r),c=Object[n(236)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(160)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(236)](s[t])[n(341)]>0){o=!0;break}}o||(o=c[n(230)]((t=>!this[n(326)][n(414)][n(365)][n(398)](t)))),o&&(0,t.logWarning)(n(145),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(326)][n(364)][n(267)](n(423),e),this[n(326)][n(364)][n(267)](n(284),i)}[_n(458)](){const t=_n;if(!this[t(448)]){const e=this[t(326)][t(187)][t(214)](t(299));this[t(448)]=e[t(162)](Xi(this[t(326)][t(316)],t(240)))}}[_n(356)](){const t=_n;this[t(448)]&&(this[t(326)][t(187)][t(214)](t(299))[t(363)](this[t(448)]),this[t(448)]=null)}[_n(309)](t){const e=_n,i=this[e(222)][e(453)]();i[e(411)]();let n=0;for(;n<i[e(341)];){const r=i[n];if(r===this[e(287)]){n++;continue}if(r.id===this[e(219)])break;const s=t[e(249)]-r[e(249)]||t[e(242)]-r[e(242)];if(s>0)break;if(s<0)n++;else{if(!t[e(251)]&&r[e(251)])break;if(r[e(251)]||!t[e(251)]){if(t[e(338)]>r[e(338)])break;n++}else n++}}return n}[_n(352)](t){const e=_n,i=this[e(222)][e(305)](t.id);if(t[e(338)]&&(t[e(338)]=new Date(t[e(338)])),t[e(259)]){const i=this[e(326)][e(187)][e(214)](e(189));t[e(181)]=t[e(259)][e(184)]((t=>i[e(454)](t)))}i[e(193)](t,!0)}[_n(374)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(242)],i=null!==i?i:t[n(249)];const r=this[n(218)][n(416)](e,i),s={diffData:r[n(452)],authorsIds:r[n(259)],fromVersion:e,toVersion:i};if(!t||i!==t[n(249)]){const t=i-1,e=this[n(159)][n(203)][n(314)](t);s[n(338)]=e&&e[n(338)]||new Date}if(this[n(166)]&&e===this[n(166)][n(242)])for(const t of this[n(166)][n(181)])s[n(259)][n(325)](t.id)||s[n(259)][n(343)](t.id);return s}[_n(361)](t){const e=_n;if(!t||t[e(452)])return Promise[e(163)]();{const i=this[e(326)][e(364)][e(214)](e(419));return this[e(275)][e(305)]({channelId:i,revisionId:t.id})[e(311)]((i=>{const n=e;t[n(452)]=i[n(452)]}))}}[_n(271)](t,e,i){const n=_n;if(this[n(409)][n(432)](t)){const r=this[n(409)][n(214)](t);e=i?{...r,...e}:{...e,...r}}this[n(409)][n(267)](t,e)}[_n(228)](t){const e=_n,i=this[e(222)][e(453)]();i[e(411)](),i[e(366)]();const n=i[e(447)]((i=>i[e(249)]<=t))[e(249)];return n<this[e(252)]?this[e(252)]:n}[_n(392)](t){const e=_n,i=this[e(222)][e(305)](this[e(222)][e(341)]-1);if(i)this[e(219)]=i.id;else{const i=!this[e(326)][e(414)][e(365)][e(358)][e(447)]((t=>this[e(326)][e(414)][e(244)](t))),n=this[e(326)][e(187)][e(214)](e(189)).me.id,r=Xi(this[e(326)][e(316)],e(i?206:216));this[e(232)]({from:t,to:t,id:this[e(219)],name:r,creatorId:n})}}[_n(393)](t){const e=_n,i=this[e(159)][e(415)]();this[e(287)]=this[e(222)][e(305)](i),this[e(287)]||(this[e(287)]=this[e(232)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(232)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(374)]({from:e,to:i});o[s(245)]=t,o[s(261)]=n,o.id=r;const a=this[s(431)](o);return this[s(275)]&&this[s(271)](o.id,o,!0),a}[_n(339)](){const t=_n;this[t(326)][t(200)][t(205)](t(433))[t(357)]({model:t(435)})}[_n(169)](t){const e=_n;return(t=t[e(426)]((t=>!t[e(245)]||e(140)!==t[e(245)]&&e(330)!==t[e(245)])))[e(438)]((t=>{const i=e;i(390)!=typeof t&&(t[i(154)]=this[i(169)](t[i(154)]),t[i(425)]=t[i(425)][i(426)]((t=>!t[0][i(446)](i(442)))))})),t}}function Tn(t,e){const i=_n,n=e[i(155)][i(317)][i(365)];if(i(390)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(154)][i(184)]((t=>Tn(t,e)));return new(On[t[i(345)]]||Yi.ViewElement)(n,t[i(245)],t[i(425)],r)}}class An{constructor(t){const e=_n;this[e(326)]=t,this[e(307)]=new Map,this[e(233)]=-1,this[e(175)]=-1,this[e(253)]=new Map,this[e(202)]=new Map,this[e(258)]=new Map,this[e(407)]=new Map,this[e(161)]=new Map,this[e(262)]=new Map,this[e(329)]=new Map,this[e(231)]=new Map,this[e(204)]=new Map,this[e(301)]=new Map,this[e(297)]=1}[_n(331)](t){const e=_n;this[e(318)]=t;const i=new Map,n=new Map,r=this[e(326)][e(414)][e(365)][e(358)][e(184)]((t=>t[e(459)]));for(const t of r){const r=this[e(326)][e(414)][e(365)][e(398)](t),s=Nn(r);i[e(267)](t,s),n[e(267)](t,Object[e(220)](r[e(427)]()))}const s=Array[e(294)](this[e(326)][e(414)][e(143)])[e(184)]((t=>[t[e(245)],t[e(290)]()])),o=this[e(318)][e(340)];this[e(295)](o,i,s,n),this[e(303)]=this[e(297)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(267)](t,i),c[e(267)](t,{})}this[e(295)](Number[e(348)],a,[],c)}[_n(416)](t,e){const i=_n;if(this[i(233)]===t&&this[i(175)]<=e)this[i(307)][i(362)]>1&&this[i(241)](this[i(175)]),this[i(354)](this[i(175)],e,!0);else{if(!this[i(307)][i(432)](t)){const e=this[i(367)](t);this[i(226)](e,t,!1)}this[i(226)](t,e,!0)}return this[i(233)]=t,this[i(175)]=e,this[i(234)]()}[_n(379)](t){const e=_n;this[e(182)](),this[e(233)]=t[e(242)],this[e(175)]=t[e(249)];for(const i in t[e(452)]){const n=t[e(452)][i][e(170)],r=vi(t[e(452)][i][e(151)])||{},s=this[e(144)](t[e(452)][i][e(342)]);s[e(459)]=i,s[e(323)]=!n||!n[e(198)],s[e(198)]=()=>s[e(323)],this[e(407)][e(267)](i,s),this[e(161)][e(267)](i,r),n&&this[e(301)][e(267)](i,n);const o=this[e(223)](s);this[e(329)][e(267)](i,o);for(const[t,i]of s[e(143)]){if(!t[e(446)](e(385)))continue;const n=t[e(457)](":")[2];for(const t of i[e(196)]({singleCharacters:!0})){const i=this[e(277)](t),r=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)],s=o[e(408)](r)[e(360)](i);this[e(231)][e(267)](s,{userId:n})}}}this[e(303)]=this[e(297)];const i=[...Array(this[e(297)])[e(236)]()][e(237)](1)[e(426)]((t=>!this[e(231)][e(432)](t)));let n=0;const r=new Map;for(const s in t[e(452)]){const o=t[e(452)][s][e(170)],a=vi(t[e(452)][s][e(281)])||{},c=this[e(144)](t[e(452)][s][e(292)]);c[e(459)]=s,c[e(323)]=!o||o[e(198)],c[e(198)]=()=>c[e(323)],this[e(202)][e(267)](s,c),this[e(258)][e(267)](s,a);const u=this[e(223)](c,Number[e(348)]);this[e(262)][e(267)](s,u),r[e(267)](s,c[e(198)]()?a:{});for(const[t,i]of c[e(143)]){if(!t[e(446)](e(385)))continue;const n=t[e(457)](":")[2];for(const t of i[e(196)]({singleCharacters:!0})){const i=this[e(277)](t),r=this[e(297)]++,s=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)];u[e(408)](s)[e(402)](i,r),this[e(231)][e(267)](r,{userId:n})}}for(const t of this[e(326)][e(414)][e(179)](c)[e(196)]({singleCharacters:!0})){const r=this[e(277)](t),s=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)],o=u[e(408)](s);o[e(360)](r)>0||o[e(402)](r,i[n++])}for(const[t,i]of c[e(143)])t[e(446)](e(385))||this[e(253)][e(267)](t,i)}const s=Rn(e(180));this[e(407)][e(267)](e(180),s),this[e(329)][e(267)](e(180),this[e(223)](s,1));const o=Rn(e(180));this[e(202)][e(267)](e(180),o),this[e(262)][e(267)](e(180),this[e(223)](o,1));const a=Array[e(294)](this[e(202)])[e(184)]((([t,e])=>[t,Nn(e)]));this[e(295)](this[e(175)],a,this[e(253)],r)}[_n(144)](t){const e=_n,i=JSON[e(246)](t),n=this[e(326)][e(155)][e(317)][e(365)],r=new Yi.ViewDocumentFragment(n,i[e(184)]((t=>Tn(t,this[e(326)]))));return this[e(326)][e(429)][e(351)](r)}[_n(295)](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(267)](t,{start:e[r(167)][r(156)](),end:e[r(279)][r(156)](),rootName:e[r(192)][r(459)]});this[r(307)][r(267)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(241)](t){const e=_n;this[e(307)][e(201)](t)}[_n(417)](){const t=_n;this[t(182)](),this[t(233)]=-1,this[t(175)]=-1,this[t(307)][t(176)](),this[t(331)](this[t(318)])}[_n(182)](){const t=_n;this[t(231)][t(176)](),this[t(204)][t(176)](),this[t(301)][t(176)](),this[t(202)][t(176)](),this[t(258)][t(176)](),this[t(407)][t(176)](),this[t(161)][t(176)](),this[t(262)][t(176)](),this[t(329)][t(176)](),this[t(253)][t(176)](),this[t(297)]=1,this[t(303)]=this[t(297)]}[_n(223)](t,e=null){const i=_n;let n=null;t.is(i(377))||(n=new Yi.Element(t[i(245)],{vid_start:null===e?this[i(297)]++:e++}));const r=[];for(const n of t[i(434)]())if(n.is(i(141))){r[i(343)](this[i(223)](n,e));const t=r[r[i(341)]-1];null!==e&&(e=t.is(i(141),i(441))?t[i(360)](i(335))+1:t[i(360)](i(194))+1)}else for(let t=0;t<n[i(372)];t++)r[i(343)](new Yi.Element(i(441),{vid:null===e?this[i(297)]++:e++}));if(t.is(i(377))){const e=Rn(t[i(459)]);return e[i(191)](0,r),e}return n[i(402)](i(194),null===e?this[i(297)]++:e++),n[i(191)](0,r),n}[_n(226)](t,e,i){const n=_n;this[n(182)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(307)][n(214)](t);this[n(407)]=new Map(r),this[n(161)]=new Map(vi(o));for(const[t,e]of this[n(407)])if(n(180)!==t&&(this[n(202)][n(267)](t,Nn(e)),this[n(258)]=new Map(vi(o)),i)){const i=this[n(297)];this[n(262)][n(267)](t,this[n(223)](e)),this[n(329)][n(267)](t,this[n(223)](e,i))}this[n(303)]=this[n(297)],this[n(202)][n(267)](n(180),Nn(this[n(407)][n(214)](n(180)))),i&&this[n(262)][n(267)](n(180),this[n(223)](this[n(407)][n(214)](n(180))));for(const[t,e]of s){const i=this[n(407)][n(214)](e[n(459)]),r=this[n(202)][n(214)](e[n(459)]),s=new Yi.Range(this[n(296)](e[n(167)],i),this[n(296)](e[n(279)],i)),o=this[n(150)](s,r);i[n(143)][n(267)](t,s),this[n(253)][n(267)](t,o)}this[n(354)](t,e,i)}[_n(354)](t,e,i){const n=_n;for(const r of this[n(318)][n(436)](t,e))this[n(212)](r,i);for(const t of this[n(202)][n(300)]())t[n(143)][n(176)]();for(const[t,e]of this[n(253)])this[n(202)][n(214)](e[n(192)][n(459)])[n(143)][n(267)](t,e[n(156)]());const r=new Map,s=new Map;for(const[t,e]of this[n(202)])r[n(267)](t,Nn(e)),s[n(267)](t,this[n(258)][n(214)](t));this[n(295)](e,r,this[n(253)],s)}[_n(367)](t){const e=_n,i=Array[e(294)](this[e(307)][e(236)]());i[e(190)](((t,e)=>t-e)),i[e(411)]();for(const e of i)if(e<t)return e;return Number[e(348)]}[_n(418)](t,e){const i=_n,n=Array[i(294)](e[i(143)])[i(184)]((([e,n])=>[e,this[i(150)](n,t)]));t[i(143)]=new Map(n)}[_n(255)](t){const e=_n;for(const i of this[e(253)][e(300)]()){const n=i[e(257)](t),r=Yi.Range[e(266)](n);i[e(167)]=r[e(167)],i[e(279)]=r[e(279)]}}[_n(212)](t,e){const i=_n;if(i(265)!=t[i(345)]&&i(440)!=t[i(345)]){if(i(209)==t[i(345)]){const n=t[i(260)][i(192)][i(459)];this[i(202)][i(432)](n)||(this[i(202)][i(267)](n,Rn(n,!0)),this[i(258)][i(267)](n,{}),e&&this[i(262)][i(267)](n,Rn(n,!0)))}else{if(i(349)==t[i(345)]||i(344)==t[i(345)]||i(386)==t[i(345)])return void this[i(278)](t);i(428)==t[i(345)]&&this[i(197)](t)}if(i(428)!==t[i(345)]){const e=this[i(321)](t,this[i(202)]);e[i(368)](),this[i(255)](e)}if(e)switch(t[i(345)]){case i(209):this[i(355)](t);break;case i(254):case i(363):case i(195):this[i(401)](t);break;case i(148):this[i(333)](t);break;case i(457):this[i(328)](t)}}else this[i(302)](t,e)}[_n(321)](t,e){const i=_n,n=t[i(156)]();return n[i(451)]=t[i(451)],this[i(158)](n,e),n}[_n(256)](t){const e=_n;return t[e(184)]((t=>{const i=e,n=this[i(277)](t);return Number(t[i(238)][i(360)](n))}))}[_n(210)](t,e){const i=_n;if(t.is(i(141),i(441)))e[i(343)]({item:t,type:i(164)});else{t.is(i(141))&&e[i(343)]({item:t,type:i(353)});for(const n of t[i(434)]())this[i(210)](n,e);t.is(i(141))&&e[i(343)]({item:t,type:i(404)})}return e}[_n(234)](){const t=_n,e=new Map(this[t(231)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(407)][t(236)](),...this[t(202)][t(236)]()]);a[t(201)](t(180));for(const e of a){const i=this[t(202)][t(214)](e)||Rn(e,!1),n=this[t(407)][t(214)](e)||Rn(e,!1);i[t(198)]()||n[t(198)]()?(r[t(292)][e]=Nn(i),r[t(342)][e]=Nn(n),this[t(418)](r[t(342)][e],n),this[t(418)](r[t(292)][e],i),s[t(292)][e]=this[t(210)](this[t(262)][t(214)](e),[]),s[t(342)][e]=this[t(210)](this[t(329)][t(214)](e)||Rn(e,!1),[])):a[t(201)](e)}for(const r of a){const o=s[t(292)][r];for(const r of o){const s=this[t(277)](r),o=r[t(238)][t(360)](s);i[t(201)](o),o>=this[t(303)]&&n[t(267)](o,e[t(214)](o))}}for(const r of a){const a=s[t(292)][r],c=this[t(256)](s[t(342)][r]);let u=0;for(const r of a){const s=this[t(277)](r),a=r[t(238)][t(360)](s);if(!n[t(432)](a)&&!o[t(432)](a))if(i[t(432)](a))u++;else{if(a!=c[u]){const n=e[t(214)](a)||e[t(214)](c[u]);for(;a!=c[u];)i[t(432)](c[u])||(o[t(267)](c[u],n),e[t(267)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(292)][e];for(const e of r){const r=this[t(277)](e),s=e[t(238)][t(360)](r);if(o[t(432)](s)){const e=o[t(214)](s);i[t(432)](s)||i[t(267)](s,{...e}),n[t(267)](s,{...e})}}}for(const e of i[t(236)]())e>=this[t(303)]&&i[t(201)](e);const c=new Map;for(const e of a){let r=s[t(292)][e];for(const e of r)if(e[t(238)].is(t(141),t(227))){const i=this[t(277)](e),r=e[t(238)][t(360)](i);if(n[t(432)](r)){const i=e[t(238)][t(273)][t(273)][t(360)](t(400)),s=c[t(214)](i)||new Set;s[t(162)](n[t(214)](r)[t(439)]),c[t(267)](i,s)}}r=s[t(342)][e];for(const e of r)if(e[t(238)].is(t(141),t(227))){const n=this[t(277)](e),r=e[t(238)][t(360)](n);if(i[t(432)](r)){const n=e[t(238)][t(273)][t(273)][t(360)](t(400)),s=c[t(214)](n)||new Set;s[t(162)](i[t(214)](r)[t(439)]),c[t(267)](n,s)}}for(const e of c[t(236)]())(n[t(432)](e)||i[t(432)](e))&&c[t(201)](e)}for(const e of a){const r=s[t(292)][e];let o=null,a=null;for(const e of r){const r=this[t(277)](e),s=e[t(238)][t(360)](r),u=c[t(214)](s);u&&t(353)==e[t(345)]&&(o=Array[t(294)](u)[0],a=e[t(238)][t(360)](t(194))),o&&(i[t(267)](s,{userId:o}),n[t(267)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(342)][e],a=r[t(292)][e];for(const{userId:e}of this[t(204)][t(300)]())null!==e&&l[t(162)](e);for(const{userId:e}of this[t(301)][t(300)]())null!==e&&l[t(162)](e);this[t(264)](a,s[t(292)][e],n,t(383),l),this[t(264)](o,s[t(342)][e],i,t(449),l),u[e]={insertions:this[t(239)](a),deletions:this[t(239)](o),attachChange:this[t(301)][t(214)](e)||null,attributesBefore:vi(this[t(161)][t(214)](e))||{},attributesAfter:vi(this[t(258)][t(214)](e))}}return{diffData:u,authorsIds:Array[t(294)](l)}}[_n(380)](t){const e=_n;for(const[,i]of t[e(143)]){const t=i[e(167)][e(412)]()[e(426)]((t=>e(227)==t[e(245)]));for(const i of t)1==i[e(359)]&&i[e(445)](0).is(e(141),e(213))&&i[e(445)](0)[e(402)](e(347),!0)}}[_n(239)](t){const e=_n;this[e(380)](t);const i=this[e(326)][e(429)][e(142)](t,{}),n=Array[e(294)](i[e(434)]())[e(184)]((t=>this[e(165)](t)));return JSON[e(288)](n)}[_n(165)](t){const e=_n;if(t.is(e(441)))return t[e(429)];{const i=t;return{type:Object[e(236)](On)[e(447)]((e=>t instanceof On[e])),name:i[e(245)],attributes:Array[e(294)](i[e(427)]()),children:Array[e(294)](i[e(434)]())[e(184)]((t=>this[e(165)](t)))}}}[_n(264)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(326)][s(414)];for(let n=0;n<e[s(341)];n++){const r=this[s(277)](e[n]),c=e[n][s(238)][s(360)](r),h=i[s(214)](c),d=n==e[s(341)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(439)]!=o[s(439)])&&(l(h,Vn(a,t,u),Vn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Vn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(439)],d=l(385)+n+":"+h+":"+c++,f=u[l(382)](i,a);t[l(143)][l(267)](d,f),null!==h&&r[l(162)](h)}}[_n(277)](t){const e=_n;switch(t[e(345)]){case e(353):return e(400);case e(404):return e(194);default:return e(335)}}[_n(158)](t,e){const i=_n;t[i(173)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(214)](r[i(192)][i(459)]);t[n]=this[i(296)](r,s)}if(r instanceof Yi.Range){const s=e[i(214)](r[i(192)][i(459)]);t[n]=this[i(150)](r,s)}i(192)===n&&(t[i(192)]=e[i(214)](t[i(192)][i(459)]))}}[_n(150)](t,e){const i=_n;return this[i(326)][i(414)][i(382)](this[i(296)](t[i(167)],e),this[i(296)](t[i(279)],e))}[_n(296)](t,e){const i=_n;return this[i(326)][i(414)][i(443)](e,t[i(291)],t[i(388)])}[_n(355)](t){const e=_n,i=this[e(262)][e(214)](t[e(260)][e(192)][e(459)]),n=this[e(296)](t[e(260)],i),r=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,s=n[e(273)],o=this[e(297)],a=[];for(const i of t[e(336)])if(i.is(e(141)))a[e(343)](this[e(223)](i));else for(let t=0;t<i[e(372)];t++)a[e(343)](new Yi.Element(e(441),{vid:this[e(297)]++}));const c=this[e(297)];for(let t=o;t<c;t++)this[e(231)][e(267)](t,{userId:r});s[e(191)](n[e(250)],a)}[_n(401)](t){const e=_n;(t=this[e(321)](t,this[e(262)]))[e(368)]();const i=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(320)](),r=n[e(273)],s=n[e(250)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(445)](e);s.is(a(141),a(441))?n[a(267)](s[a(360)](a(335)),{userId:i}):(n[a(267)](s[a(360)](a(400)),{userId:i}),t(n,s,0,s[a(359)]),n[a(267)](s[a(360)](a(194)),{userId:i}))}}(this[e(231)],r,s,s+t[e(215)])}[_n(333)](t){const e=_n,i=null===(t=this[e(321)](t,this[e(262)]))[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(456)][e(273)],r=t[e(424)][e(273)],s=n[e(360)](e(194)),o=r[e(360)](e(400));n[e(402)](e(194),r[e(360)](e(194))),r[e(402)](e(194),s),this[e(231)][e(267)](o,{userId:i}),this[e(231)][e(267)](s,{userId:i}),t[e(368)]()}[_n(328)](t){const e=_n,i=null===(t=this[e(321)](t,this[e(262)]))[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(306)],r=t[e(183)][e(273)];t[e(368)]();const s=r[e(360)](e(194)),o=t[e(224)][e(149)];if(n){const t=o[e(360)](e(194)),n=r[e(360)](e(194));r[e(402)](e(194),t),o[e(402)](e(194),n),this[e(231)][e(267)](r[e(360)](e(194)),{userId:i}),this[e(231)][e(267)](o[e(360)](e(400)),{userId:i})}else{const t=this[e(297)]++,n=this[e(297)]++;r[e(402)](e(194),t),o[e(402)](e(400),n),o[e(402)](e(194),s),this[e(231)][e(267)](t,{userId:i}),this[e(231)][e(267)](n,{userId:i})}}[_n(197)](t){const e=_n;if(!t[e(312)])return;const i=(t=this[e(321)](t,this[e(202)]))[e(211)]?t[e(211)][e(192)]:null,n=t[e(152)]?t[e(152)][e(192)]:null;i&&this[e(253)][e(201)](t[e(245)]),n&&this[e(253)][e(267)](t[e(245)],t[e(152)][e(156)]());const r=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,s=t[e(245)];if(!this[e(204)][e(432)](s))return void this[e(204)][e(267)](s,{range:t[e(211)],userId:r});const o=this[e(204)][e(214)](s),a=o[e(304)],c=t[e(152)];null==a&&null==c||a&&c&&a[e(405)](c)?this[e(204)][e(201)](t[e(245)]):o[e(439)]=r}[_n(302)](t,e){const i=_n;this[i(202)][i(432)](t[i(459)])?this[i(202)][i(214)](t[i(459)])[i(323)]=t[i(247)]:(this[i(202)][i(267)](t[i(459)],Rn(t[i(459)],!0)),this[i(258)][i(267)](t[i(459)],{}),e&&this[i(262)][i(267)](t[i(459)],Rn(t[i(459)],!0)));const n=null===t[i(451)]?null:t[i(451)]||this[i(326)][i(187)][i(214)](i(189)).me.id,r=this[i(301)][i(214)](t[i(459)]);r&&r[i(439)]===n?this[i(301)][i(201)](t[i(459)]):this[i(301)][i(267)](t[i(459)],{userId:n,isAttached:t[i(247)]})}[_n(278)](t){const e=_n,i=this[e(258)][e(214)](t[e(192)][e(459)]);null===t[e(274)]?delete i[t[e(384)]]:i[t[e(384)]]=t[e(274)]}}function Nn(t){const e=_n,i=Rn(t[e(459)],t[e(198)]());for(const n of t[e(434)]()){const t=n[e(376)](!0);i[e(217)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(459)]=t,n[i(323)]=e,n[i(198)]=()=>n[i(323)],n}function Vn(t,e,i){const n=_n,r=n(404)==t[n(345)]?i[n(327)](t[n(238)],n(279)):i[n(371)](t[n(238)]);return i[n(443)](e,r[n(291)],r[n(388)])}function Mn(t,e,i){const n=_n,r=n(353)==t[n(345)]?i[n(327)](t[n(238)],0):i[n(387)](t[n(238)]);return i[n(443)](e,r[n(291)],r[n(388)])}var Dn=i(311),En=i(673),Cn=i.n(En),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;function Yn(){const t=["220","form","arrowdown","revisionName","revisionNameInputValue","errorText","set","focus","770168FFgSqw","input","value","383036mcWaPR","arrowup","Name of the revision","arrowright","arrowleft","fieldView","revisionNameInputView","element","listenTo","reset","add","render","889878uPwpvy","1807520IzOxDN","optional","1607544mYQGjA","886420KSkbBF","keystrokes","20184752LyQvqV","setTemplate","label","ck-revision-history-save-revision-form","extendTemplate","ck-responsive-form","focusTracker","_createRevisionNameInput","locale","stopPropagation","trim","7ythZbV"];return(Yn=function(){return t})()}const Jn=Gn;function Gn(t,e){const i=Yn();return(Gn=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(631119===-parseInt(e(463))/1+parseInt(e(466))/2+-parseInt(e(440))/3+-parseInt(e(438))/4+-parseInt(e(441))/5+-parseInt(e(437))/6+-parseInt(e(454))/7*(-parseInt(e(443))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yn);class Kn extends Dn.View{constructor(e,i){const n=Gn;super(e),this[n(449)]=new t.FocusTracker,this[n(442)]=new t.KeystrokeHandler,this[n(461)](n(459),""),this[n(472)]=this[n(450)](i),this[n(444)]({tag:n(456),attributes:{class:["ck",n(446),n(448)],tabindex:"-1"},children:[this[n(472)]]}),(0,Dn.injectCssTransitionDisabler)(this)}[Jn(436)](){const t=Jn;super[t(436)](),(0,Dn.submitHandler)({view:this}),this[t(449)][t(476)](this[t(472)][t(473)]),this[t(442)][t(474)](this[t(473)]);const e=e=>e[t(452)]();this[t(442)][t(461)](t(469),e),this[t(442)][t(461)](t(470),e),this[t(442)][t(461)](t(467),e),this[t(442)][t(461)](t(457),e)}[Jn(462)](){const t=Jn;this[t(472)][t(462)]()}get[Jn(458)](){const t=Jn;return this[t(472)][t(471)][t(473)][t(465)][t(453)]()}set[Jn(458)](t){const e=Jn;this[e(472)][e(471)][e(473)][e(465)]=t[e(453)]()}[Jn(475)](){const t=Jn;this[t(472)][t(471)][t(473)][t(465)]="",this[t(472)][t(460)]=null}[Jn(450)](t){const e=Jn,i=new Dn.LabeledFieldView(this[e(451)],Dn.createLabeledInputText),n=i[e(471)];n[e(447)]({attributes:{maxlength:e(455)}});let r=Xi(this[e(451)],e(468));return!t&&(r+=" ("+Xi(this[e(451)],e(439))+")"),i[e(445)]=r,n.on(e(464),(()=>{const t=e;this[t(459)]=n[t(473)][t(465)][t(453)]()})),i}}function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=371]})(t,e)}const Xn=Qn;function tr(){const t=["requires","children","isReady","pluginName","render","errorText","Dialog","7300MiwBoK","_saveRevisionFormView","Cancel","bind","config","buttonView","Save current revision","742907ofUirz","4235058juhPDP","995934oyWbgL","add","saveRevision","Accept","revisionHistory.requireRevisionName","isOpen","menuitem","editing","_createSaveRevisionFormView","reset","menuBar:revisionHistory","isPremiumPlugin","execute","14VWcGuZ","plugins","set","2673090xOftHd","hide","ck-button-action","get","isOfficialPlugin","delegate","_registerMenuComponent","Open revision history","12559340Lukyco","init","revisionNameInputView","isEnabled","RevisionHistoryUI","revisionHistory","2095jnMeit","view","submit","focus","2kkcNOl","items","show","Revision history","history","RevisionTracker","isReadOnly","editor","revisionName","panelView","_showDialog","componentFactory","role","5580648VQxvAQ","showRevisionViewerCallback","revisionSave","menu","The revision name cannot be empty.","locale","addMany"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(449493===parseInt(e(420))/1*(parseInt(e(386))/2)+parseInt(e(438))/3+parseInt(e(413))/4*(-parseInt(e(382))/5)+-parseInt(e(422))/6*(parseInt(e(435))/7)+parseInt(e(399))/8+parseInt(e(421))/9+-parseInt(e(376))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(409)](){return Xn(380)}static get[Xn(372)](){return!0}static get[Xn(433)](){return!0}static get[Xn(406)](){return[xn]}[Xn(377)](){const t=Xn,e=this[t(393)],i=e[t(436)][t(371)](t(391));e.ui[t(397)][t(423)](t(381),(n=>{const r=t,s=(0,Dn.createDropdown)(n),o=s[r(395)][r(407)],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(416)](r(379)).to(i,r(408),i,r(379),e,r(392),((t,e,i)=>t&&e&&!i)),s[r(418)][r(437)]({icon:qi.icons[r(390)],label:Xi(n,r(389)),tooltip:!0}),u[r(437)]({label:Xi(n,r(419)),withText:!0,role:r(428)}),u[r(416)](r(379)).to(i,r(408),i,r(379),e,r(392),((t,e,i)=>t&&e&&!i)),u.on(r(434),(()=>this[r(396)]())),h[r(437)]({label:Xi(n,r(375)),withText:!0,role:r(428)}),h[r(416)](r(379)).to(i,r(408),e,r(392),((t,e)=>t&&!e)),h.on(r(434),(()=>{const t=r;e[t(417)][t(371)](t(381))[t(400)](),s[t(427)]=!1,e[t(429)][t(383)][t(385)]()})),c[r(407)][r(423)](u),l[r(407)][r(423)](h),a[r(398)]=r(402),a[r(387)][r(405)]([c,l]),o[r(423)](a),s})),e.ui[t(397)][t(423)](t(432),(()=>this[t(374)]()))}[Xn(374)](){const t=Xn,e=this[t(393)],i=e[t(404)],n=new Dn.MenuBarMenuView(i),r=new Dn.MenuBarMenuListView(i);n[t(418)][t(437)]({icon:qi.icons[t(390)],label:Xi(i,t(389))});const s=new Dn.MenuBarMenuListItemView(i,n),o=new Dn.MenuBarMenuListItemButtonView(i);o[t(437)]({label:Xi(i,t(419))}),o[t(373)](t(434)).to(n),o.on(t(434),(()=>{this[t(396)]()})),s[t(407)][t(423)](o),r[t(387)][t(423)](s);const a=new Dn.MenuBarMenuListItemView(i,n),c=new Dn.MenuBarMenuListItemButtonView(i);return c[t(437)]({label:Xi(i,t(375))}),c[t(373)](t(434)).to(n),c.on(t(434),(()=>{const i=t;e[i(417)][i(371)](i(381))[i(400)]()})),a[t(407)][t(423)](c),r[t(387)][t(423)](a),n[t(395)][t(407)][t(423)](r),n}[Xn(396)](){const t=Xn,e=this[t(393)],i=e[t(404)],n=e[t(436)][t(371)](t(412)),r=e[t(436)][t(371)](t(391));function s(r){const s=t;e[s(417)][s(371)](s(426))&&""===r[s(394)]?r[s(378)][s(411)]=Xi(i,s(403)):(e[s(436)][s(371)](xn)[s(424)]({name:r[s(394)]}),n[s(439)]())}this[t(414)]||(this[t(430)](),this[t(414)].on(t(384),(()=>s(this[t(414)])))),this[t(414)][t(431)](),n[t(388)]({id:t(401),title:Xi(i,t(419)),isModal:!0,content:this[t(414)],actionButtons:[{label:Xi(e[t(404)],t(415)),withText:!0,onExecute:()=>n[t(439)]()},{label:Xi(e[t(404)],t(425)),class:t(440),withText:!0,onCreate(i){const n=t;i[n(416)](n(379)).to(r,n(408),r,n(379),e,n(392),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(414)])}]})}[Xn(430)](){const t=Xn,e=this[t(393)],i=e[t(404)];this[t(414)]=new Kn(i,e[t(417)][t(371)](t(426))),this[t(414)][t(410)]()}}function ir(){const t=["781940AFYrhj","Added by","ck-revision-change__label","904492PgYYFK","data","4077354FsxFen","Suggested by","ck-revision-change","ck-revision-change__","author","2vrOPcq","ck-annotation","6960516WBRyBL","changeId","focus","5oeimYP","add","_model","4618579ZsOfto","Removed by","div","9dgxATg","bindTemplate","58002610BloFdY","type","set","setTemplate","10824016HwoRdq","element","span","isSuggestion","name"];return(ir=function(){return t})()}const nr=rr;function rr(t,e){const i=ir();return(rr=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(712441===-parseInt(e(372))/1*(parseInt(e(382))/2)+-parseInt(e(377))/3+parseInt(e(375))/4+-parseInt(e(355))/5*(parseInt(e(384))/6)+-parseInt(e(358))/7+-parseInt(e(367))/8+parseInt(e(361))/9*(parseInt(e(363))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ir);class sr extends Dn.View{constructor(t,e){const i=rr;super(t),this[i(357)]=e,this[i(353)]=e.id;const n=this[i(362)],r=Xi(t,e[i(376)][i(370)]?i(378):i(356)==e[i(364)]?i(373):i(359));this[i(365)](i(364),e[i(364)]),this[i(366)]({tag:i(360),attributes:{class:[i(383),i(379),n.to(i(364),(t=>i(380)+t))],tabindex:-1},children:[{tag:i(369),children:[{tag:i(369),attributes:{class:[i(374)]},children:[{text:r}]},{text:" "+e[i(381)][i(371)]}]}]})}[nr(354)](){const t=nr;this[t(368)][t(354)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=336]})(t,e)}function cr(){var t=["10294khTzKX","type","6299454yYuWtc","1003047RpGByH","rootName","data","2055848ebvstQ","author","7390445xyPZza","toJSON","3077080DgUtuU","744DFHNSj","7kbcqpj","41777559ifaZLb","set","createdAt"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(908017===-parseInt(e(337))/1+parseInt(e(350))/2*(-parseInt(e(345))/3)+-parseInt(e(344))/4+-parseInt(e(342))/5+parseInt(e(336))/6*(parseInt(e(346))/7)+-parseInt(e(340))/8+parseInt(e(347))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(341)]=e[i(341)],this[i(351)]=e[i(351)],this[i(339)]=e[i(339)]||{},this[i(338)]=e[i(338)],this[i(348)](i(349),e[i(349)])}[or(343)](){var t=or;return{id:this.id,authorId:this[t(341)].id,type:this[t(351)],data:this[t(339)],createdAt:this[t(349)]}}}function lr(){const t=["88sHSJQK","376MkzFYs","1240OrxIfC","8973Ebqamr","1612120MSdUxm","5855184mVUATE","3732KZMVKl","618rqRlie","changes","newRevisionId","oldRevisionId","add","1959zqCCLb","2492Uvztbc","_setChanges","1377684DDPJUh","30mkwfRe"];return(lr=function(){return t})()}const hr=dr;function dr(t,e){const i=lr();return(dr=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(197783===-parseInt(e(467))/1*(parseInt(e(473))/2)+-parseInt(e(462))/3*(parseInt(e(468))/4)+-parseInt(e(471))/5+parseInt(e(474))/6*(parseInt(e(463))/7)+-parseInt(e(469))/8*(parseInt(e(470))/9)+-parseInt(e(466))/10*(-parseInt(e(465))/11)+parseInt(e(472))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=dr;this[n(476)]=e,this[n(460)]=i,this[n(475)]=new t.Collection}[hr(464)](t){const e=hr;for(const i of t)this[e(475)][e(461)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=gr;function yr(){const t=["detachRoot","viewItem","element:pre","change","deletion","ck-editor__editable__overlay","conversion","ck-suggestion-marker-","level","getChild","for","offsetSize","3pTVFvq","markersEnd","markers","markerNameToElements","enqueueChange","_balloon","bottom","right","flat","code","getAttributes","editingDowncast","toModel","attributesBefore","commands","_removeMissingPairs","authors","insertion","344AZjhDN","done","numberOfChanges","258813yIJCFA","useFillerType","_removeRevisionMarkers","checkAttribute","getItems","isBlock","33BbDNYD","addMarker:revision-suggestion:deletion","createUIElement","return","splice","getWalker","mousedown","revision-end","remove","getCustomProperty","span","domEvent","editing","_activeViewTarget","addRoot","get","error","repository","isEqual","insert","abs","addClass","roots","find","marked","consume","model","dataDowncast","map","addMarker:revision-suggestion:insertion","hasClass","change:numberOfChanges","revisionHistory","ck-suggestion-preview-marker-","createPositionBefore","createRange","endIndex","includes","next","addRevision","attribute:vid","isRemoved","getRevision","range","test","getRoot","-new","getClientRects","rootName","ck-suggestion-marker","target","startsWith","refresh","_markSuggestions","_changeView","ck-revision-history-root--active","_makeModelFromViewString","_step","end","removeMarker:revision-suggestion","distance","_processTape","bindElementToMarker","backward","isAddSuggestion","view","POSITIVE_INFINITY","isSuggestion","activeView","elementToAttribute","type","_getViewForChange","removeMarker:revision","start","markerName","upcast","reconvertMarker","keys","catch","_refreshStartEndIndex","elementStart","activeChange","uiElement","_findChangeIdFromDomTarget","concat","isLimit","isBefore","getDomRoot","resolve","isIncorrect","ck-suggestion-preview-marker","ck-revision-history-root-add","userId","processor","revision-start","low","revisionHistoryAttachChange","text","addMarker:revision","_makeTape","WidgetToolbarRepository","3011351GZDwuM","isRemoveSuggestion","item","isAtEnd","getLaterVisibleRevision","getAttribute","createRevision","ck-suggestion-marker--active","findIndex","attributes","attachChange","oldRevisionId","startIndex","has","_initInteractions","forEach","selection","revision-viewer","string","high","nodeAfter","comment","insertions","stop","data-change-id","delete","changes","RevisionViewer","data","_revisions","revision","attributesAfter","getRevisionRootsAttributes","change:activeChange","from","enableReadOnlyMode","unbindElementFromMarkerName","downcastDispatcher","createRangeIn","elementEnd","document","removeAttribute","3805qlfWsp","markerToData","removeClass","_sortAndFilterDiffChanges","showNextChange","loadRevisionData","changeId","_threeWayMerge","shift","_markInsertions","vid_start","filter","dataToMarker","parent","_makeModelFromTape","collaboration.channelId","_data","nextSibling","diff","removeMarker","revision-suggestion","1626Tkjwnn","_fixObsoleteTags","mapper","isAfter","wrap","showPreviousChange","maxOffset","writer","side","set","previousPosition","markersStart","observeMarkers","_cleanMarkers","newRevisionId","suggestion","toData","schema","_getDiff","locale","adapter","toViewElement","ck-suggestion-marker-merge","_getRevisionsRange","parse","config","isOnRoot","clear","left","execute","ck-suggestion-marker-split","currentChangeNumber","slice","isPremiumPlugin","pairId","createPositionFromPath","isEnabled","3231FZwhWP","createAttributeElement","restoreRevisionCallback","_markMarkers","isAtStart","diffData","_setDistance","markerRange","change:activeView","data-revision-","editor","index","_markMismatchedRemovedTags","3246710IDllFh","markerToHighlight","addRevisionData","destroy","nextPosition","push","highest","listenTo","modelRange","change:isReady","isAttached","change:isEnabled","updatePosition","element","revision-comment:","ck-revision-history-root-","softBreak","requires","merge","affectsData","addHighlight","setAttribute","first","isObject","revision:","top","domConverter","_getChangeFromId","getIndex","isInline","RevisionsRepository","toViewPosition","all","1221852fBsaXi","isOfficialPlugin","forward","values","consumable","indexOf","782402rwUsvp","revision-suggestion:","isCollapsed","restoreRevision","isContent","_update","showStack","name","suggestion:","plugins","mapViewToDom","_joinTapes","bind","_appendChild","isReady","init","revisionHistoryLabel","_cleanUp","mouseover","add","split","children","then","unshift","isNavigationMode","vid","isAdded","pluginName","getRevisionData","pop","_setConversion","compare","_getViewObj","deletions","hasAttribute","sort","_removeUnsupportedChanges","vid_end","ck-revision-history-root-remove","_setChanges","_changeIdToChange","default","toViewRange","forceDisabled","length","getRootNames","object"];return(yr=function(){return t})()}function gr(t,e){const i=yr();return(gr=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(227061===-parseInt(e(555))/1+-parseInt(e(475))/2*(parseInt(e(534))/3)+-parseInt(e(469))/4+-parseInt(e(365))/5*(parseInt(e(386))/6)+parseInt(e(323))/7+-parseInt(e(552))/8*(parseInt(e(423))/9)+-parseInt(e(436))/10*(-parseInt(e(561))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(502)](){return vr(350)}static get[vr(470)](){return!0}static get[vr(419)](){return!0}static get[vr(453)](){return[Bi.Users,Dn.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(578)]=this[e(433)][e(484)][e(576)](e(466)),this[e(395)](e(642),null),this[e(395)](e(629),null),this[e(574)]=null,this[e(395)](e(383),null),this[e(395)](e(489),!1),this[e(395)](e(422),!0),this.on(e(447),((t,i,n)=>{const r=e;this[r(642)]=null,this[r(629)]=null,this[r(433)][r(573)][r(626)][r(525)]((t=>{const e=r;for(const i of this[e(433)][e(573)][e(626)][e(363)][e(583)])n?t[e(367)](e(527),i):t[e(582)](e(527),i)}))})),this[e(487)](e(499)).to(this,e(642),(t=>null!==t)),this[e(487)](e(417)).to(this,e(489),this,e(383),this,e(642),((t,i,n)=>t&&n?i[e(349)][e(464)](n):0)),this[e(487)](e(554)).to(this,e(489),this,e(383),((t,i)=>t?i[e(349)][e(519)]:0)),this[e(615)]=null,this[e(515)]=new Map,this[e(406)]=null,this[e(539)]=this[e(433)][e(484)][e(576)](Dn.ContextualBalloon)}[vr(490)](){const t=vr,e=this[t(433)],i=new Ir(e,{direction:t(624)}),n=new Ir(e,{direction:t(471)});e[t(548)][t(494)](t(391),i),e[t(548)][t(494)](t(369),n),e[t(548)][t(494)](t(478),new _r(e)),this.on(t(592),(()=>{const e=t;i[e(613)](),n[e(613)]()})),this[t(505)](),this[t(337)](),e[t(358)](t(340)),e[t(484)][t(336)](t(322))&&e[t(484)][t(576)](t(322))[t(518)](t(340))}async[vr(503)](t){const e=vr;await this[e(370)](t);const i={};for(const n in t[e(428)]){if(t[e(428)][n][e(333)]&&!t[e(428)][n][e(333)][e(446)])continue;const r=this[e(557)](JSON[e(410)](t[e(428)][n][e(345)])),s=this[e(433)][e(573)][e(626)][e(363)],o=new Yi.ViewDocumentFragment(s,r[e(589)]((t=>this[e(507)](t))));this[e(433)][e(351)][e(315)][e(556)](e(585)),i[n]=this[e(433)][e(351)][e(315)][e(402)](o),this[e(433)][e(351)][e(315)][e(556)](e(516))}return i}async[vr(355)](t){const e=vr;await this[e(370)](t);const i={};for(const n in t[e(428)])t[e(428)][n][e(333)]&&!t[e(428)][n][e(333)][e(446)]||(i[n]=t[e(428)][n][e(354)]||{});return i}[vr(557)](t){const e=vr;return(t=t[e(376)]((t=>!t[e(482)]||e(316)!==t[e(482)]&&e(568)!==t[e(482)])))[e(338)]((t=>{const i=e;i(341)!=typeof t&&(t[i(496)]=this[i(557)](t[i(496)]),t[i(332)]=t[i(332)][i(376)]((t=>!t[0][i(612)](i(432)))))})),t}async[vr(506)](t,e,i=!1){const n=vr;if(!this[n(422)])return;const r=this[n(383)],s=this[n(578)],o=n(341)==typeof t?s[n(603)](t):t,a=n(341)==typeof e?s[n(603)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(383)]&&this[n(383)][n(400)]===c&&this[n(383)][n(334)]===u)return Promise[n(649)]();this[n(489)]=!1,this[n(629)]=null,this[n(642)]=null,this[n(383)]=new fr(c,u);const l=this[n(409)](o,a,!0)[n(589)]((t=>this[n(370)](t)));return l[n(441)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(468)](l)[n(497)]((()=>{const t=n;if(!this[t(422)])return;this[t(492)]();const e=this[t(404)](c,u);for(const i of e[t(349)])this[t(515)][t(395)](i.id,i);this[t(433)][t(587)][t(538)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(433)][n(587)][n(363)][n(520)]())i[n(522)](t);for(const t of Object[n(638)](e[n(587)])){const r=i[n(575)](t);for(const s of Object[n(638)](e[n(332)][t]))i[n(457)](s,e[n(332)][t][s],r);i[n(580)](e[n(587)][t],r,0)}})),this[t(383)][t(514)](this[t(368)](e[t(349)])),this[t(489)]=!0}))[n(639)]((t=>{const e=n;console[e(577)](t),this[e(492)](),r&&(this[e(383)]=r),this[e(489)]=!0}))}[vr(438)](t,e){const i=vr,n=this[i(578)][i(329)](t);return n.on(i(480),((t,i,r)=>e(i,r,n))),this[i(578)][i(600)](n),n}[vr(370)](t){const e=vr;if(!t||t[e(428)])return Promise[e(649)]();{const i=this[e(433)][e(411)][e(576)](e(380));return this[e(406)][e(603)]({channelId:i,revisionId:t.id})[e(497)]((i=>{const n=e;t[n(480)]({diffData:i[n(428)]},!0)}))}}[vr(492)](){const t=vr;this[t(642)]=null,this[t(399)](),this[t(615)]&&this[t(615)][t(439)](),this[t(615)]=null,this[t(515)][t(413)](),this[t(433)][t(587)][t(538)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(433)][i(587)][i(363)][i(520)]())e[i(522)](t)}))}[vr(368)](t){const e=vr,i=[],n=new Map;for(const t of this[e(433)][e(587)][e(363)][e(520)]()){const r=this[e(433)][e(573)][e(626)][e(648)](t);if(!r)continue;const s=r[e(608)]()[e(325)](0);s&&(i[e(441)](t),n[e(395)](t,s))}return i[e(510)](((t,i)=>{const r=e,s=n[r(576)](t),o=n[r(576)](i);return s.y-o.y||s.x-o.x})),(t=t[e(376)]((t=>i[e(598)](t[e(609)]))))[e(510)](((t,n)=>i[e(474)](t[e(609)])-i[e(474)](n[e(609)]))),t}[vr(321)](t){const e=vr,i=Array[e(357)](t[e(536)])[e(376)]((([t,i])=>t[e(612)](e(460))&&!i[e(477)])),n=Array[e(357)](this[e(433)][e(587)][e(361)](t)[e(566)]({singleCharacters:!0}));if(0!=i[e(519)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(495)](":");if(r[e(619)][e(579)](t[e(440)])&&i[e(373)](),(t[e(396)][e(579)](r[e(634)])||t[e(396)][e(389)](r[e(634)]))&&(e(551)==s?t[e(501)]={userId:o}:e(526)==s&&(t[e(602)]={userId:o})),0==i[e(519)])break}return n}[vr(640)](t){const e=vr,i=new Map;for(let n=0;n<t[e(519)];n++)e(319)===t[n][e(631)]?(t[n][e(325)][e(335)]=n,t[n][e(325)][e(597)]=n):(e(641)===t[n][e(631)]?t[n][e(325)][e(335)]=n:e(362)===t[n][e(631)]&&(t[n][e(325)][e(597)]=n),i[e(395)](t[n].id,n));for(const n of i[e(472)]())e(641)===t[n][e(631)]?t[n][e(325)][e(597)]=i[e(576)](t[n][e(420)]):e(362)===t[n][e(631)]&&(t[n][e(325)][e(335)]=i[e(576)](t[n][e(420)]))}[vr(622)](t){const e=vr;for(let i=0;i<t[e(519)];i++){if(e(641)===t[i][e(631)])t[i][e(325)][e(335)]=i;else if(e(362)===t[i][e(631)]){t[i][e(325)][e(597)]=i;const n=t[i][e(325)][e(335)];t[n][e(420)]=t[i].id,t[i][e(420)]=t[n].id}else t[i][e(325)][e(335)]=i,t[i][e(325)][e(597)]=i,t[i][e(420)]=null;t[i][e(397)]||(t[i][e(397)]=[],t[i][e(535)]=[])}}[vr(374)](t,e){const i=vr,n=t[i(376)]((t=>!t[i(501)]));for(let t=0;t<e[i(519)];t++)e[t][i(501)]&&(n[t][i(501)]=e[t][i(501)])}[vr(617)](t){const e=vr,i=JSON[e(410)](t),n=this[e(433)][e(573)][e(626)][e(363)],r=new Yi.ViewDocumentFragment(n,i[e(589)]((t=>this[e(507)](t))));return this[e(433)][e(351)][e(546)](r)}[vr(507)](t){const e=vr,i=this[e(433)][e(573)][e(626)][e(363)];if(e(341)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(496)][e(589)]((t=>this[e(507)](t)));return new(kr[t[e(631)]]||Yi.ViewElement)(i,t[e(482)],t[e(332)],n)}}[vr(404)](t,e=null){const i=vr,n=this[i(578)][i(603)](t),r=e?this[i(578)][i(603)](e):null,s=this[i(409)](n,r),o=s[s[i(519)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(519)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(638)](e[i(428)]))if(e[i(428)][t][i(333)]){const n=e[i(428)][t][i(333)];n[i(446)]?(u[i(494)](t),l[i(336)](t)&&l[i(576)](t)[i(653)]==n[i(653)]?l[i(348)](t):l[i(395)](t,n)):l[i(336)](t)?(u[i(348)](t),l[i(348)](t)):(u[i(494)](t),l[i(395)](t,n))}else u[i(494)](t)}for(const t of u){const e=l[i(336)](t)&&!l[i(576)](t)[i(446)];let n=e?s[i(519)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(428)][t]){const n=e?o[i(428)][t][i(547)]:o[i(428)][t][i(354)];c[i(332)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(587)]={};for(const e of t[i(550)])a[i(395)](e.id,e);for(const e of u){const n=t[i(428)][e]?t[i(428)][e][i(345)]:"[]",r=t[i(428)][e]?t[i(428)][e][i(508)]:"[]";t[i(587)][e]={insertions:this[i(617)](n),deletions:this[i(617)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(357)](n[i(587)][t][i(345)][i(536)])[i(376)]((([t])=>!t[i(612)](i(460)))));let h=0;for(const o of s){const s=this[i(321)](o[i(587)][t][i(345)]);o==n?(e=s,r=e[i(519)],e[i(338)]((t=>{t.id=h++})),this[i(622)](e)):this[i(374)](e,s);const a=e[i(376)]((t=>!t[i(501)]))[i(589)]((t=>t.id));let c=0;const l=this[i(321)](o[i(587)][t][i(508)]);l[i(338)]((t=>{t[i(602)]?t.id=r++:t.id=a[c++]})),this[i(622)](l),this[i(429)](e,i(501)),this[i(429)](l,i(602)),o==n&&this[i(426)](e,u),e=this[i(486)](e,l),this[i(640)](e),this[i(429)](e,i(602))}e=e[i(376)]((t=>!(t[i(501)]&&t[i(602)])));const d=new Map(o[i(587)][t][i(508)][i(536)]),f=new Set(u[i(638)]());for(const t of d[i(638)]())f[i(348)](t);this[i(614)](e,f),this[i(387)](e),e=this[i(549)](e),e=this[i(435)](e),e=this[i(511)](e);const{root:m,changes:p}=this[i(379)](e,a,t);c[i(587)][t]=m;const v=l[i(576)](t);if(v){const e=a[i(576)](v[i(653)]),n=new ur({author:e,type:v[i(446)]?i(494):i(569),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(498)](n),c[i(332)][t][i(318)]=n.id}c[i(349)]=c[i(349)][i(645)](p)}return c}[vr(426)](t,e){const i=vr;for(let n=0;n<t[i(519)];n++)for(const[r,s]of e)s[i(634)][i(579)](t[n][i(396)])&&t[n][i(397)][i(441)](r),s[i(619)][i(579)](t[n][i(440)])&&t[n][i(535)][i(441)](r)}[vr(486)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(519)]||s<e[i(519)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(441)](o);else if(a[i(602)]&&o[i(501)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(372)](t,r,e,s);n=n[i(645)](o),r=a,s=c}else a[i(602)]?(s++,n[i(441)](a)):(r++,n[i(441)](o))}return n}[vr(614)](t,e){const i=vr,n=[];for(let o=0;o<t[i(519)];o++){for(let s=0;s<t[o][i(397)][i(519)];s++){const a=t[o][i(397)][s];if(!e[i(336)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(385)!=c||i(551)!=u&&i(526)!=u||(n[i(498)]({type:u,name:a,userId:l}),t[o][i(397)][i(565)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(535)][i(519)];s++){const a=t[o][i(535)][s];if(!e[i(336)](a))continue;const{group:c,type:u}=r(a);if(i(385)!=c||i(551)!=u&&i(526)!=u)continue;t[o][i(535)][i(565)](s,1),s--;const l=n[i(331)]((t=>t[i(482)]==a));l>-1&&n[i(565)](l,1)}}function r(t){const e=i,n=t[e(495)](":");return{group:n[0],type:n[1],subType:n[e(519)]>=5?n[2]:null,id:n[e(519)]<5?n[2]:n[3],authorId:n[e(519)]<5?n[3]:n[4],markerCount:6==n[e(519)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(519)];i++){if(t[e(501)]&&e(551)==n[i][e(631)])return t[e(625)]=n[i],void delete t[e(501)];if(!t[e(501)]&&!t[e(602)]&&e(526)==n[i][e(631)])return void(t[e(324)]=n[i])}}}[vr(429)](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(395)](o.id,n);for(let n=0;n<t[i(519)];n++){if(i(602)==e&&t[n][i(501)]||i(501)==e&&t[n][i(602)])continue;if(i(319)==t[n][i(631)]){t[n][i(621)]=0;continue}const r=s[i(576)](t[n][i(420)]),o=s[i(576)](t[n].id);t[n][i(621)]=r-o}}[vr(409)](t,e,i=!1){const n=vr,r=[];let s=this[n(578)][n(464)](t),o=this[n(578)][n(464)](e);for(-1==o&&(o=this[n(578)][n(352)][n(519)],i=!1);s<o;)r[n(441)](this[n(578)][n(603)](s)),s++;return i&&r[n(441)](this[n(578)][n(603)](s)),r}[vr(372)](t,e,i,n){const r=vr,s=this[r(433)][r(587)][r(403)];let o=e;for(;t[o]&&t[o][r(501)];)o++;let a=n;for(;i[a]&&i[a][r(602)];)a++;u(t,e,o),u(i,n,a);const c=i[r(418)](n,a)[r(645)](t[r(418)](e,o));return c[r(510)](((t,e)=>t[r(394)]!=e[r(394)]?t[r(394)]-e[r(394)]:t[r(530)]!=e[r(530)]?t[r(530)]-e[r(530)]:t[r(621)]!=e[r(621)]?e[r(621)]-t[r(621)]:!!t[r(501)]!=!!e[r(501)]?-1==t[r(394)]||0==t[r(394)]?t[r(501)]?-1:1:t[r(501)]?1:-1:t[r(434)]-e[r(434)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(627)],c=!0;for(let r=e;r<i;r++)if(s[n(465)](t[r][n(325)])||(c=!1),t[r][n(325)][n(335)]<e&&(o=r),t[r][n(325)][n(597)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(394)]=r<=o?-1:r<a?0:1,t[r][n(434)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(621)]?t[i][n(530)]=u:(u++,t[i][n(530)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(394)]&&(t[r][n(530)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(621)]?t[e][n(530)]=u:(u--,t[e][n(530)]=u,u--)}}[vr(387)](t){const e=vr,i=new Map,n=this[e(433)][e(587)][e(403)];for(let r=1;r<t[e(519)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(319)==c[e(631)])continue;if(c[e(631)]!=u[e(631)])continue;if(!n[e(560)](u[e(325)])||n[e(646)](u[e(325)]))continue;if(!n[e(560)](c[e(325)])||n[e(646)](c[e(325)]))continue;if((t[r][e(501)]||t[r][e(625)])&&t[r-1][e(602)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(602)]||!t[r-1][e(501)]&&!t[r-1][e(625)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(530)]==o[e(530)],h=Math[e(581)](s[e(530)])<Math[e(581)](o[e(530)])&&0==o[e(621)];(l||h)&&(i[e(395)](o.id,s.id),t[e(565)](a,1),r--,s[e(501)]=!1)}for(let n=0;n<t[e(519)];n++)i[e(336)](t[n][e(420)])&&(t[n][e(420)]=i[e(576)](t[n][e(420)]))}[vr(549)](t){const e=vr,i=new Set(t[e(589)]((t=>t.id)));for(let n=0;n<t[e(519)];n++)i[e(336)](t[n][e(420)])||0==t[n][e(621)]||(t[n][e(650)]=!0);return t[e(376)]((t=>!t[e(650)]))}[vr(435)](t){const e=vr,i=new Set;for(let n=0;n<t[e(519)];n++){if(i[e(336)](t[n].id)&&t[n][e(602)]&&(t[n][e(650)]=!0),t[n][e(650)])continue;if(0==t[n][e(621)])continue;if(e(641)!=t[n][e(631)])continue;if(null==t[n][e(420)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(420)];)e(641)==t[r][e(631)]?s++:e(362)==t[r][e(631)]&&s--,r++;if(0!=s)if(t[n][e(602)])t[n][e(650)]=!0;else for(;r!=n;)t[r][e(602)]&&0!=t[r][e(621)]&&(t[r][e(650)]=!0,i[e(494)](t[r][e(420)])),r--}return t[e(376)]((t=>!t[e(650)]))}[vr(511)](t){const e=vr,i=this[e(433)][e(587)][e(403)];for(let n=0;n<t[e(519)];n++){if(!(t[n][e(501)]||t[n][e(625)]||t[n][e(602)]||t[n][e(324)]))continue;if(0==t[n][e(621)])continue;const r=t[n][e(325)];i[e(560)](r)||i[e(646)](r)||(t[n][e(501)]&&delete t[n][e(501)],t[n][e(625)]&&delete t[n][e(625)],t[n][e(324)]&&delete t[n][e(324)],t[n][e(602)]&&(t[n][e(650)]=!0))}return t[e(376)]((t=>!t[e(650)]))}[vr(379)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(433)][n(587)],c=a[n(403)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(519)];e++)if(n(641)===t[e][n(631)]){t[e][n(396)]=a[n(421)](r,f);const i=new Yi.Element(t[e][n(325)][n(482)],t[e][n(325)][n(544)]());u[0][n(488)](i),f[n(441)](0),u[n(498)](i),t[e][n(440)]=a[n(421)](r,f)}else n(362)===t[e][n(631)]?(u[n(373)](),t[e][n(396)]=a[n(421)](r,f),f[n(504)](),f[f[n(519)]-1]++,t[e][n(440)]=a[n(421)](r,f)):(t[e][n(396)]=a[n(421)](r,f),d?d[n(381)]+=t[e][n(325)][n(351)]:d=new Yi.Text(t[e][n(325)][n(351)],t[e][n(325)][n(544)]()),t[e+1]&&n(319)===t[e+1][n(631)]&&v(d,t[e+1][n(325)])||(u[0][n(488)](d),d=null),f[f[n(519)]-1]+=t[e][n(325)][n(533)],t[e][n(440)]=a[n(421)](r,f));for(let e=0;e<t[n(519)];e++){const i=t[e][n(396)],r=t[e][n(440)];for(const r of t[e][n(397)])o[n(395)](r,{start:i,end:null});m(n(324),e,i,r),m(n(625),e,i,r),m(n(602),e,i,r),m(n(501),e,i,r);for(const i of t[e][n(535)])o[n(576)](i)[n(619)]=r}for(const[t,e]of o){const i=this[n(433)][n(587)][n(596)](e[n(634)],e[n(619)]);r[n(536)][n(395)](t,i)}return s[n(510)](((t,e)=>{const i=n,s=r[i(536)][i(576)](i(460)+t.id),o=r[i(536)][i(576)](i(460)+e.id);return s[i(634)][i(647)](o[i(634)])?-1:s[i(634)][i(389)](o[i(634)])?1:s[i(619)][i(647)](o[i(619)])?-1:s[i(619)][i(389)](o[i(619)])?1:i(494)===t[i(631)]?-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(653)]:null,d=i===t[o(519)]-1,f=h[e][0],m=c[o(459)](t[i][o(325)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(619)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(653)]!==u&&(l[e][o(619)]=r,f&&f[o(653)]===l[e][o(653)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(641)!==t[i][o(631)]||f&&f[o(653)]===u||h[e][o(498)]({userId:u,object:t[i][o(325)],change:l[e]}),o(362)===t[i][o(631)]&&f&&f[o(521)]===t[i][o(325)]&&(h[e][o(373)](),l[e]=f[o(525)])),l[e]&&d&&(l[e][o(619)]=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(325)],f=a[h(403)][h(560)](d)&&!a[h(403)][h(646)](d),m=t[h(343)]==o[h(378)]&&o[h(427)];if(f&&m)return;const p=a[h(596)](t,o),v=e[h(576)](u),y=new ur({author:v,type:h(501)==l||h(625)==l?h(494):h(569),data:{isSuggestion:h(625)==l||h(324)==l},createdAt:new Date,rootName:i});s[h(441)](y),r[h(536)][h(395)](h(460)+y.id,p)}function v(t,e){const i=n,r=t[i(544)](),s=e[i(544)]();for(const t of r){if(t[1]!==e[i(328)](t[0]))return!1;s[i(599)]()}return s[i(599)]()[i(553)]}}[vr(505)](){const t=vr;this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(353)}),this[t(433)][t(528)][t(532)](t(545))[t(437)]({model:t(353),view:e=>{const i=t,n=e[i(635)][i(495)](":")[1],r=this[i(463)](n);if(!r)return null;const s=i(494)==r[i(631)]?i(551):i(526),o=[i(610),i(529)+s];return r[i(351)][i(628)]&&o[i(441)](i(529)+s+i(607)),this[i(642)]==r&&o[i(441)](i(330)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(433)][t(528)][t(532)](t(636))[t(494)]((e=>{const i=t;e.on(i(524),((t,e,n)=>{const r=i,s=e[r(523)][r(531)](0);if(!s||!s.is(r(449),r(543)))return;if(!n[r(473)][r(586)](s,{attributes:[r(375),r(512)]}))return;const o=e[r(444)][r(634)][r(343)];n[r(393)][r(457)](r(375),s[r(328)](r(375)),o),n[r(393)][r(457)](r(512),s[r(328)](r(512)),o)}),{priority:i(317)})})),this[t(433)][t(528)][t(532)](t(636))[t(494)]((e=>{const i=t;e.on(i(449),((t,e,n)=>{const r=i;if(!n[r(473)][r(586)](e[r(523)],{attributes:[r(375),r(512)]}))return;if(e[r(444)][r(477)])return;const s=e[r(444)][r(634)][r(343)];s[r(509)](r(375))||s[r(509)](r(500))||(n[r(393)][r(457)](r(375),e[r(523)][r(328)](r(375)),s),n[r(393)][r(457)](r(512),e[r(523)][r(328)](r(512)),s))}),{priority:i(317)})})),this[t(433)][t(528)][t(532)](t(636))[t(630)]({view:{name:t(571),attributes:{vid:!0}},model:{key:t(500),value:e=>e[t(328)](t(500))}}),this[t(433)][t(587)][t(403)].on(t(558),((e,[,i])=>{const n=t;[n(375),n(512),n(500)][n(598)](i)&&(e[n(564)]=!0,e[n(346)]())}),{priority:t(442)}),this[t(433)][t(528)][t(532)](t(588))[t(494)]((e=>{const i=t;e.on(i(601),((t,e,n)=>{const r=i;if(" "!=e[r(325)][r(351)]||e[r(325)][r(378)][r(392)]>1)return;if(!n[r(473)][r(586)](e[r(325)],t[r(482)]))return;const s=n[r(393)],o=n[r(388)][r(517)](e[r(604)]);s[r(390)](o,s[r(424)](r(571)))}))})),this[t(433)][t(528)][t(532)](t(588))[t(366)]({model:t(353)}),this[t(433)][t(573)][t(360)].on(t(320),function(e){const i=t,n=e[i(484)][i(576)](i(350));return(t,r,s)=>{const o=i,a=r[o(635)][o(495)](":")[1],c=n[o(463)](a);if(!c)return null;const u=o(494)==c[o(631)]?o(495):o(454);if(!s[o(473)][o(605)](r[o(430)],t[o(482)]))return;const l=r[o(430)][o(566)](),h=r[o(430)][o(634)],d=e[o(587)][o(403)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(325)];p=p||d[o(479)](e);const i=s[o(388)][o(407)](e);if(i&&i[o(570)](o(456)))return;o(362)==t[o(631)]&&d[o(560)](e)&&!d[o(646)](e)&&(e[o(382)]||h[o(326)]?f&&f[o(378)]==e||(f=e,y(t[o(396)]),v=!0):m=m||t[o(396)])}function y(t){const e=o,i=s[e(393)][e(563)](e(571),{class:e(529)+u}),a=s[e(388)][e(467)](t);c[e(351)][e(628)]&&s[e(393)][e(582)](e(529)+u+e(607),i),n[e(642)]==c&&s[e(393)][e(582)](e(330),i),s[e(393)][e(580)](a,i),s[e(388)][e(623)](i,r[e(635)])}p||v||!m||y(m)}}(this[t(433)]),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(633),((e,i,n)=>{const r=t,s=n[r(388)][r(537)](i[r(635)]);if(s)for(const t of s)(t[r(591)](r(416))||t[r(591)](r(408)))&&(n[r(388)][r(359)](t,i[r(635)]),n[r(393)][r(569)](t))}),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(320),((e,i,n)=>{const r=t,s=i[r(635)][r(495)](":")[1],o=this[r(463)](s);if(!o)return null;const a=r(494)==o[r(631)]?r(495):r(454);if(n[r(473)][r(605)](i[r(430)],e[r(482)]))for(const t of i[r(430)][r(559)]()){if(!t.is(r(449),r(452)))continue;const e=n[r(393)][r(563)](r(571),{class:r(529)+a}),s=n[r(388)][r(467)](this[r(433)][r(587)][r(595)](t));o[r(351)][r(628)]&&n[r(393)][r(582)](r(529)+a+r(607),e),this[r(642)]==o&&n[r(393)][r(582)](r(330),e),n[r(393)][r(580)](s,e),n[r(388)][r(623)](e,i[r(635)])}}),{priority:t(342)}),this[t(433)][t(587)][t(363)].on(t(525),(()=>{const e=t;this[e(433)][e(573)][e(626)][e(525)]((t=>{const i=e;for(const e of this[i(433)][i(587)][i(363)][i(520)]()){const n=this[i(433)][i(587)][i(363)][i(606)](e),r=this[i(433)][i(573)][i(626)][i(363)][i(606)](e);if(r){const e=n[i(328)](i(318));if(t[i(364)](i(347),r),t[i(367)](i(652),r),t[i(367)](i(513),r),t[i(367)](i(616),r),e){const n=this[i(463)](e);if(!n)return null;t[i(457)](i(347),e,r),t[i(582)](i(451)+n[i(631)],r),this[i(642)]==n&&t[i(582)](i(616),r)}}}}))})),this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(344),model:e=>t(450)+e,converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(401),model:e=>t(476)+e,converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(588))[t(366)]({model:t(385),view:e=>({name:t(483)+e,group:t(385)}),converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(545))[t(437)]({model:t(385),view:e=>{const i=t,n=e[i(635)][i(495)](":")[1];return i(551)!=n&&i(526)!=n?null:{classes:[i(651),i(594)+n]}}}),this[t(433)][t(573)][t(360)].on(t(562),wr(this[t(433)],t(454)),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(590),wr(this[t(433)],t(495)),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(620),((e,i,n)=>{const r=t,s=n[r(388)][r(537)](i[r(635)]);if(s)for(const t of s)t.is(r(643))&&(n[r(388)][r(359)](t,i[r(635)]),n[r(393)][r(569)](t))}),{priority:t(342)})}[vr(463)](t){const e=vr;return this[e(515)][e(576)](t)}[vr(632)](t){const e=vr;return this[e(615)]&&this[e(615)][e(439)](),this[e(615)]=new sr(this[e(433)][e(405)],t),this[e(615)]}[vr(337)](){const t=vr;this[t(433)][t(587)][t(363)][t(339)][t(398)](t(353)),this.on(t(431),((e,i,n,r)=>{const s=t;r&&this[s(539)][s(569)](r),n&&(this[s(539)][s(494)]({view:n,stackId:s(491),position:{target:()=>{const t=s,e=this[t(433)][t(573)],i=this[t(463)](n[t(371)]);let r;if(i[t(351)][t(412)]){const n=e[t(626)][t(648)](i[t(609)]);r=Array[t(357)](n[t(608)]())}else{const i=this[t(433)][t(587)][t(536)][t(576)](t(460)+n[t(371)]);r=Array[t(357)](e[t(388)][t(537)](i[t(482)]))[t(589)]((i=>e[t(626)][t(462)][t(485)](i)))[t(589)]((e=>Array[t(357)](e[t(608)]())))[t(542)]()}return this[t(574)]&&r[t(584)]((e=>e[t(461)]-3<=this[t(574)].y&&e[t(540)]+3>=this[t(574)].y&&e[t(414)]-3<=this[t(574)].x&&e[t(541)]+3>=this[t(574)].x))||r[0]}}}),this[s(539)][s(481)](s(491)))})),this.on(t(356),((e,i,n,r)=>{const s=t;this[s(629)]=n?this[s(632)](n):null,this[s(433)][s(587)][s(525)]((()=>{const t=s,e=this[t(433)][t(573)];r&&(r[t(351)][t(412)]?e[t(626)][t(525)]((i=>{const n=t;i[n(367)](n(616),e[n(626)][n(363)][n(606)](r[n(609)]))})):e[t(637)](t(460)+r.id)),n&&(n[t(351)][t(412)]?e[t(626)][t(525)]((i=>{const r=t;i[r(582)](r(616),e[r(626)][r(363)][r(606)](n[r(609)]))})):e[t(637)](t(460)+n.id))}))})),this[t(443)](this[t(433)][t(573)][t(626)][t(363)],t(493),((e,i)=>{const n=t;if(this[n(642)])return;const r=this[n(644)](i[n(611)]),s=this[n(515)][n(576)](r);s?(this[n(574)]={x:i[n(572)].x,y:i[n(572)].y},this[n(629)]=this[n(632)](s)):(this[n(574)]=null,this[n(629)]=null)})),this[t(443)](this[t(433)][t(573)][t(626)][t(363)],t(567),((e,i)=>{const n=t,r=this[n(644)](i[n(611)]),s=this[n(515)][n(576)](r);s?(this[n(574)]={x:i[n(572)].x,y:i[n(572)].y},s===this[n(642)]?this[n(539)][n(448)]():this[n(642)]=s):(this[n(574)]=null,this[n(642)]=null)}))}[vr(644)](t){const e=vr;do{const i=t[e(328)](e(347));if(i)return i;t=t[e(378)]}while(t);return null}[vr(399)](){const t=vr;this[t(433)][t(587)][t(525)]((e=>{const i=t;for(const t of this[i(433)][i(587)][i(536)])e[i(384)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(473)][s(605)](n[s(430)],i[s(482)]))return;const o=n[s(430)][s(566)](),a=n[s(430)][s(634)],c=t[s(587)][s(403)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(325)];h=h||c[s(479)](e);const i=r[s(388)][s(407)](e);if(i&&i[s(570)](s(456)))return;s(362)==t[s(631)]&&c[s(560)](e)&&!c[s(646)](e)&&(e[s(382)]||a[s(326)]?u&&u[s(378)]==e||(u=e,f(t[s(396)]),d=!0):l=l||t[s(396)])}function f(t){const i=s,o=r[i(388)][i(467)](t),a=r[i(393)][i(563)](i(571),{class:i(594)+e});r[i(393)][i(580)](o,a),r[i(388)][i(623)](a,n[i(635)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(484)][e(576)](br);this[e(455)]=!1,this[e(443)](i,e(445),(()=>this[e(613)]())),this[e(443)](i,e(447),(()=>this[e(613)]()))}[vr(415)](){const t=vr,e=this[t(433)],i=e[t(484)][t(576)](br),n=i[t(489)]?i[t(383)][t(400)]:null;e[t(411)][t(576)](t(593))[t(425)](n)}[vr(613)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(433)][t(484)][t(576)](br),s=r&&n[t(327)](r[t(400)]);this[t(422)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(484)][i(576)](br);this[i(455)]=!1,this[i(618)]=i(471)===e?1:-1,this[i(443)](n,i(445),(()=>this[i(613)]())),this[i(443)](n,i(447),(()=>this[i(613)]())),this[i(443)](n,i(356),(()=>this[i(613)]()))}[vr(415)](){const e=vr,i=this[e(433)],n=i[e(484)][e(576)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(642)]=r?n[e(383)][e(349)][e(576)](s+this[e(618)]):n[e(383)][e(349)][e(458)],n[e(642)][e(351)][e(412)])o=i[e(573)][e(626)][e(648)](n[e(642)][e(609)]);else{const t=i[e(587)][e(536)][e(576)](e(460)+n[e(642)].id);o=(0,Bi.getMarkerDomElement)(i[e(573)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(613)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(433)][t(484)][t(576)](br);this[t(422)]=!!(s&&r&&n)&&(!e||(1===this[t(618)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["isBackwardNavigationEnabled","96306VRvNSW","3rNfKLk","1342358InwcyR","978165iSqbUe","numberOfChanges","Show next change","bindTemplate","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","isEnabled","isNavigationMode","execute","backward","isReady","Loading...","355628GKACSp","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","Show previous change","span","No changes","8uPVGRm","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","forward","div","_statusText","ck-revision-history-ui__changes-navigation__label","bind","33244486HGKrVj","X_OF_Y_CHANGES","set","EDIT_X_OF_Y_REVISIONS","201563DQhXnk","setTemplate","355tApMOo","ck-hidden","3137448AuWxjp","Total","ck-revision-history-ui","fire","NUMBER_OF_CHANGES","30JnnJrJ"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=182]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(602360===-parseInt(e(209))/1+parseInt(e(222))/2*(-parseInt(e(221))/3)+-parseInt(e(213))/4+parseInt(e(211))/5*(-parseInt(e(220))/6)+parseInt(e(191))/7*(parseInt(e(197))/8)+parseInt(e(223))/9*(parseInt(e(218))/10)+parseInt(e(205))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends Dn.View{constructor(t){const e=Tr;super(t);const i=this[e(182)],n=new Dn.ButtonView(t),r=new Dn.ButtonView(t);this[e(207)](e(186),!1),this[e(207)](e(189),!1),this[e(207)](e(183),0),this[e(207)](e(224),0),this[e(207)](e(193),!1),this[e(207)](e(219),!1),this[e(204)](e(199)).to(this,e(189),this,e(224),((t,e)=>t&&e>0)),this[e(204)](e(202)).to(this,e(189),this,e(183),this,e(224),this,e(186),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(190));if(!r)return Xi(t,o(196));const a=Xi(t,o(217),r);return s?Xi(t,o(206),[n+1,r]):a})),n[e(207)]({label:Xi(t,e(194)),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(207)]({label:Xi(t,e(225)),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(204)](e(185)).to(this,e(219)),r[e(204)](e(185)).to(this,e(193)),n.on(e(187),(()=>this[e(216)](e(187),e(188)))),r.on(e(187),(()=>this[e(216)](e(187),e(200)))),this[e(210)]({tag:e(201),attributes:{class:["ck",e(215),e(192)]},children:[{tag:e(195),attributes:{class:[e(198)]},children:[{tag:e(195),attributes:{class:[e(203),i.if(e(199),e(212),(t=>!t))]},children:[{text:i.to(e(186),(i=>i?Xi(t,e(208))+": ":Xi(t,e(214))+": "))}]},{text:i.to(e(202))}]},new Dn.ToolbarSeparatorView,{tag:e(201),attributes:{class:[e(184)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Vr=Er;function Mr(){const t=["967296ewfJHP","893151LeqIFz","show","ck-editor__editable__loading-overlay","213896ninvNC","editor","hide","roots","53330uZdQta","addClass","isOfficialPlugin","110QmyprC","view","741180cAxCdR","RevisionViewerLoadingOverlay","126ENYCoA","pluginName","document","216YGQlty","change","editing","2234ZtbeGs","removeClass","874245pvnRiT","isPremiumPlugin","4lDzYLC"];return(Mr=function(){return t})()}!function(t){const e=Er,i=t();for(;;)try{if(270214===parseInt(e(255))/1*(parseInt(e(252))/2)+-parseInt(e(260))/3+-parseInt(e(259))/4*(-parseInt(e(257))/5)+-parseInt(e(247))/6+-parseInt(e(261))/7+-parseInt(e(264))/8*(-parseInt(e(249))/9)+parseInt(e(268))/10*(parseInt(e(271))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mr);const Dr=Vr(263);function Er(t,e){const i=Mr();return(Er=function(t,e){return i[t-=246]})(t,e)}class Cr extends qi.Plugin{static get[Vr(250)](){return Vr(248)}static get[Vr(270)](){return!0}static get[Vr(258)](){return!0}[Vr(262)](){const t=Vr,e=this[t(265)][t(254)][t(246)];e[t(253)]((i=>{const n=t;for(const t of e[n(251)][n(267)])i[n(269)](Dr,t)}))}[Vr(266)](){const t=Vr,e=this[t(265)][t(254)][t(246)];e[t(253)]((i=>{const n=t;for(const t of e[n(251)][n(267)])i[n(256)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=148]})(t,e)}function Pr(){const t=["show","execute","677DsMkRa","isOfficialPlugin","exitToEditing","set","4dXrHhl","Back to editing","1057146UXmzwa","editor","commands","isNavigationMode","30NmAMOP","Restore this revision","38595492AaUSfE","1800dSTceX","isBackwardNavigationEnabled","requires","showPreviousChange","closeRevisionViewerCallback","710765CcZXHz","undo","RevisionViewerUI","isPremiumPlugin","forward","numberOfChanges","componentFactory","init","isReady","showNextChange","7578PLPDOj","get","ck-revision-history-ui__back-to-editing","40038VVjgOy","bind","config","changesNavigation","restoreRevision","hide","listenTo","1874qEVabD","1043QGiKvM","plugins","revisionHistory","1979265IVwINC","isForwardNavigationEnabled","add","pluginName","change:isReady","isEnabled","currentChangeNumber"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(835035===-parseInt(e(194))/1*(parseInt(e(181))/2)+-parseInt(e(149))/3+-parseInt(e(198))/4*(parseInt(e(185))/5)+-parseInt(e(174))/6*(parseInt(e(182))/7)+-parseInt(e(156))/8*(-parseInt(e(171))/9)+-parseInt(e(153))/10*(parseInt(e(161))/11)+parseInt(e(155))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(188)](){return jr(163)}static get[jr(195)](){return!0}static get[jr(164)](){return!0}static get[jr(158)](){return[br,Cr]}[jr(168)](){const t=jr,e=this[t(150)],i=e[t(183)][t(172)](br),n=e[t(183)][t(172)](Cr);e.ui[t(167)][t(187)](t(196),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(197)]({label:Xi(i,n(148)),icon:qi.icons[n(162)],withText:!0,tooltip:!0,class:n(173)}),this[n(180)](r,n(193),(()=>{const t=n;e[t(176)][t(172)](t(184))[t(160)]()})),r})),e.ui[t(167)][t(187)](t(178),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(197)]({label:Xi(i,n(154)),withText:!0,tooltip:!0}),r[n(175)](n(190)).to(e[n(151)][n(172)](n(178))),this[n(180)](r,n(193),(()=>e[n(193)](n(178)))),r})),e.ui[t(167)][t(187)](t(177),(n=>{const r=t,s=new Ar(n),o=e[r(151)][r(172)](r(159)),a=e[r(151)][r(172)](r(170));return s[r(175)](r(157)).to(o,r(190)),s[r(175)](r(186)).to(a,r(190)),s[r(175)](r(169),r(191),r(166),r(152)).to(i),this[r(180)](s,r(193),((t,i)=>{const n=r;e[n(193)](n(165)===i?n(170):n(159))})),s})),n[t(192)](),i.on(t(189),((e,i,r)=>{const s=t;r?n[s(179)]():n[s(192)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Hr;function Zr(){const t=["span","destroy","667260TFDrSL","placeholder","_updateTooltipText","1999432LGNrkX","scrollWidth","element","485253CyOXYj","5jPsxhO","fieldView","clientWidth","value","Revision name","extendTemplate","_tooltipString","113112HsVsff","1839397vXVltm","ck-tooltip_multi-line","5BpOMVm","bindTemplate","input","Enter the revision name","set","_resizeObserver","1791156OrJzaL","render","listenTo","70380PonUfr","ck-revision-history-sidebar__revision-name"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=201]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(176208===-parseInt(e(206))/1*(-parseInt(e(213))/2)+-parseInt(e(205))/3+-parseInt(e(229))/4+parseInt(e(216))/5*(-parseInt(e(222))/6)+parseInt(e(214))/7+parseInt(e(202))/8+parseInt(e(225))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Dn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(221)]=null;const n=this[i(217)];this[i(220)]({label:Xi(t,i(210)),_tooltipString:""}),this[i(207)][i(230)]=Xi(t,i(219)),this[i(211)]({tag:i(227),attributes:{class:[i(226)],"data-cke-tooltip-text":n.to(i(212)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(215)}})}[Ur(223)](){const e=Ur;super[e(223)](),this[e(221)]=new t.ResizeObserver(this[e(207)][e(204)],(()=>this[e(201)]())),this[e(224)](this[e(207)],e(218),(()=>this[e(201)]()))}[Ur(228)](){const t=Ur;super[t(228)](),this[t(221)]&&this[t(221)][t(228)]()}[Ur(201)](){const t=Ur,e=this[t(207)][t(204)];this[t(212)]=e[t(203)]>e[t(208)]&&e[t(209)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=261]})(t,e)}function Jr(){const t=["1266397YmhLtS","0 0 11 10","53076Dxdoqx","76545LWCELp","ck-revision-history-sidebar__revision-author__name","name","2894538eLWdmh","span","2112786kiMjQG","8wmSzHf","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","104UCVqwp","Revision creator","setTemplate","2528FXQUii","Revision author","push","15615oeTnpr","set","10SrQEyU","257784XkHYcb","60UDuacg","21vwFuHK"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(742211===parseInt(e(272))/1*(-parseInt(e(284))/2)+-parseInt(e(277))/3*(-parseInt(e(263))/4)+parseInt(e(278))/5+-parseInt(e(281))/6*(-parseInt(e(274))/7)+parseInt(e(266))/8*(parseInt(e(269))/9)+-parseInt(e(271))/10*(-parseInt(e(275))/11)+-parseInt(e(273))/12*(parseInt(e(283))/13))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(270)]({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(276)});const s=["ck",n(261)];i&&s[n(268)](n(262));const o=[{tag:n(282),attributes:{class:["ck",n(279)],title:Xi(t,n(i?264:267))},children:[r,e[n(280)]]}];this[n(265)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Qr();return(Kr=function(t,e){return i[t-=282]})(t,e)}function Qr(){var t=["465270lKdiVX","2728DQfDZJ","516Hkxfaq","4484192QASehm","41335OuNXVz","numeric","long","12466090fIUKGo","63rqIGes","toLocaleTimeString","61DeNppC","toLocaleDateString","3140DhBreQ","2831769CtsfhG"];return(Qr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(300153===parseInt(e(293))/1*(-parseInt(e(284))/2)+-parseInt(e(291))/3*(parseInt(e(295))/4)+-parseInt(e(283))/5+-parseInt(e(285))/6*(parseInt(e(287))/7)+-parseInt(e(286))/8+parseInt(e(282))/9+parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=200]})(t,e)}function is(){const t=["listenTo","listView","stopPropagation","Show more items","locale","15603nVJOLE","first","items","function","execute","_action","bind","Restore this revision","threeVerticalDots","isVisible","isOpen","source","8542611ecAxjd","ck-on","find","Compare against selected","296jIxdty","map","3752WPuNAn","1022446LpWIYD","menu","Name this revision","48310ebExuO","children","add","extendTemplate","menuitem","ck-revision-history-sidebar__revision__actions","isEnabled","16122400ZdnqEo","button","change:isActionsDropdownOpen","3761112XVNdNT","isReady","bindTemplate","class","911835eJMxjR","action","model","name","buttonView","set","2IsCOaI","panelPosition","isActionsDropdownOpen"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(544323===-parseInt(e(224))/1*(-parseInt(e(247))/2)+-parseInt(e(241))/3+-parseInt(e(221))/4*(-parseInt(e(227))/5)+parseInt(e(237))/6+-parseInt(e(205))/7*(-parseInt(e(223))/8)+-parseInt(e(217))/9+-parseInt(e(234))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["ck-revision-history-sidebar__revision__date","unshift","220","fire","isActionsDropdownOpen","createdAt","isReady","35oVdoEH","deselect","length","setTemplate","fieldView","1625480iNVbyq","ck-revision-history-sidebar__revision__controls-wrapper","from","isHighlighted","bindTemplate","ck-revision-history-sidebar__revision-authors","creator","span","ck-revision-history-sidebar__revision_selected","113094fYNSUc","closest","26147spIAqJ","revisionActionsView","value","bind","select","authors","2sQgUEA","set","name","2280NrqaMf","ck-revision-history-sidebar__revision","ck-disabled","change","highlight","266974tFpUbk","_requireRevisionName","extendTemplate","213261vrtDok","unhighlight","ck-revision-history-sidebar__revision_highlighted","4238091KzEoAe","revisionNameView","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","element","isConfirm","ck-revision-history-sidebar__revision-wrapper","2000922FvdgHg","16WZxyyP","8tIitxi","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","map","div","isSelected","render","isEnabled","filter","setName",".ck-thread__remove-confirm","ck-reset","srcElement","listenTo"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(253346===-parseInt(e(461))/1*(parseInt(e(469))/2)+-parseInt(e(472))/3*(-parseInt(e(417))/4)+-parseInt(e(439))/5*(-parseInt(e(453))/6)+parseInt(e(416))/7+parseInt(e(418))/8*(-parseInt(e(475))/9)+-parseInt(e(444))/10+parseInt(e(455))/11*(parseInt(e(464))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Dn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(448)],a=function(t,e){const i=s,n=Array[i(446)](e[i(460)])[i(426)]((t=>t!=e[i(450)]));return e[i(450)]&&n[i(433)](e[i(450)]),n[i(421)]((n=>new Gr(t,n,n==e[i(450)])))}(e,i);this.id=i.id,this[s(419)]=i,this[s(470)]=r,this[s(458)](s(463),s(437)).to(i),this[s(458)](s(412)).to(this,s(437),(t=>{return i=e[s(410)],(n=t)[(r=Kr)(294)](i,{month:r(289),day:r(288)})+", "+n[r(292)](i,{hour:r(288),minute:r(288)});var i,n,r})),this[s(462)](s(423),!1),this[s(462)](s(447),!1),this[s(462)](s(436),!1),this[s(462)](s(438),!1),this[s(462)](s(425),!1),this[s(409)]=new $r(e,Dn.createLabeledInputText),this[s(409)][s(443)][s(471)]({attributes:{maxlength:s(434)}}),this[s(409)][s(443)][s(458)](s(457)).to(this,s(463),(t=>t||this[s(412)])),this[s(409)][s(458)](s(425)).to(this,s(423),this,s(425),((t,e)=>t&&e)),this[s(456)]=n&&n[s(441)]?function(e,i){const n=es,r=e[n(239)],s=e[n(204)],o=(0,Dn.createDropdown)(s);o[n(248)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(204)],r={"Compare against selected":Xi(n,i(220)),"Name this revision":Xi(n,i(226)),"Restore this revision":Xi(n,i(212))};return e[i(222)]((t=>{const e=i,n=r[t[e(244)]];return n&&n!==t[e(244)]&&(t[e(244)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(235),model:new Dn.ViewModel({label:t[r(244)],class:t[r(240)],withText:!0,role:r(231),_action:t[r(242)]})};i[r(243)][r(211)](r(233)).to(e,r(249),(i=>r(208)!=typeof t[r(233)]||!i||t[r(233)](e))),o[r(229)](i)}return o}(e,i);return e[n(211)](n(249)).to(o,n(215)),o[n(245)][n(246)]({label:Xi(s,n(203)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(213)]}),o[n(230)]({attributes:{class:[n(232),r.if(n(249),n(218))]},on:{click:r.to((t=>t[n(202)]()))}}),o.on(n(209),(t=>{const i=n;e[i(238)]&&i(208)==typeof t[i(216)][i(210)]&&t[i(216)][i(210)](e)})),(0,Dn.addListToDropdown)(o,a,{role:n(225)}),o[n(200)](e,n(236),((t,r,s)=>{const a=n;if(s)for(const t of o[a(201)][a(207)]){const n=t[a(228)][a(206)],r=i[a(219)]((t=>t[a(242)]===n[a(210)]))[a(214)];t[a(214)]=void 0===r||r(e)}})),o}(this,n):"",this[s(456)]&&this[s(456)][s(458)](s(425)).to(this),this[s(442)]({tag:s(422),attributes:{class:["ck",s(429),s(415),o.if(s(414),s(420))]},children:[{tag:s(422),attributes:{class:["ck",s(429),s(465),o.if(s(425),s(466),(t=>!t)),o.if(s(423),s(452)),o.if(s(447),s(474)),o.if(s(436),s(411))]},children:[this[s(409)],{tag:s(451),attributes:{class:["ck",s(432)]},children:[{text:o.to(s(412))}]},{tag:s(422),attributes:{class:["ck",s(445)]},children:[{tag:"ul",attributes:{class:["ck",s(449)]},children:a}]},this[s(456)]],on:{click:o.to((t=>{const e=s;t[e(430)][e(454)](e(428))||this[e(438)]&&this[e(425)]&&this[e(435)](e(459),{id:this.id})}))}}]})}[ss(424)](){const t=ss;super[t(424)]();const e=this[t(409)][t(443)][t(413)];this[t(431)](e,t(467),(()=>{const i=t;this[i(470)]&&!e[i(457)]||this[i(435)](i(427),{id:this.id,name:e[i(457)]}),e[i(457)]||(e[i(457)]=this[i(463)]?this[i(463)]:this[i(412)])}))}[ss(459)](){this[ss(423)]=!0}[ss(440)](){this[ss(423)]=!1}[ss(468)](){this[ss(447)]=!0}[ss(473)](){this[ss(447)]=!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},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={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},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=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,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};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=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[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&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),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 Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[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 Vo(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 Mo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Do(t,e){const i=ia(t)?No:Ao,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=Mo(n,r,s),a=Eo(Vo(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(Vo(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:Mo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Do(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(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(Vo(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 Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Rs,TTT:Vs,TTTT:Ms,f:Ds,ff:Cs,fff:Ps,ffff:zs,F:Es,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Na[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 Aa(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 Aa(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 Va=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...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]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Va.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Va.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Qo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(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 Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(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=Qa(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[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ma(/(\d{4})-?(\d{3})/,La),uc=Ma(Pa),lc=Da((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Da(za,$a,qa,Ba),dc=Da(Wa,$a,qa,Ba),fc=Da($a,qa,Ba);const mc=Da($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ma(Ua),yc=Da($a,qa,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 Nc(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 Ac(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 Nc{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 Nc.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 Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ea(t,[Ja,Ga])}(t);return i?Nc.fromObject(i,e):Nc.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?Nc.fromObject(i,e):Nc.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 Nc({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=Nc.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=Nc.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[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.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 Ac(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=>Nc.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Ac(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 Vc{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 Vc({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?Vc.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:Vc.invalid("missing or invalid end"):Vc.invalid("missing or invalid start")}(i,n);return null==r?new Vc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Vc.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 Vc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Vc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Vc.before(s,t)}}return Vc.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?Vc.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(Vc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.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(Vc.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:Vc.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 Vc.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(Vc.fromDateTimes(e,t.time)),e=null);return Vc.merge(n)}difference(...t){return Vc.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):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Vc.fromDateTimes(t(this.s),t(this.e))}}class Mc{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:$o(),localeWeek:qo()}}}function Dc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Nc.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=Nc.fromObject(s,n);return u.length>0?Nc.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(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 qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(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=Nc.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return 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),[Xa,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 $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Nc.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(Nc.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?Vc.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 qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Vs}static get TIME_24_WITH_LONG_OFFSET(){return Ms}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 Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=194]})(t,e)}function Su(){const t=["2267965ieuivM","startOf","6kogpUZ","minus","fromJSDate","toRelativeCalendar","year","hasSame","3470920KiyYMp","monthLong","34827ivlsDP","week","708486uyCRbb","1107jBfmSY","toJSDate","day","setLocale","1330HLKOHG","10KAIATF","960972GlKLfX","92GHPpWY","11CMRSuH","month","11402naokqM","weekdayLong","local"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(211)](t)[i(197)](e),r=wu[i(206)](),s=r[i(210)]({days:1})[i(208)](i(196));let o,a;return n[i(214)](r,i(196))?(o=n[i(208)](i(196))[i(195)](),a=n[i(212)]()):n[i(214)](s,i(196))?(o=s[i(195)](),a=n[i(212)]()):n[i(214)](r,i(218))?(o=n[i(208)](i(218))[i(195)](),a=n[i(205)]||""):n[i(214)](r,i(213))?(o=n[i(208)](i(203))[i(195)](),a=n[i(216)]||""):(o=n[i(208)](i(213))[i(195)](),a=String(n[i(213)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(225175===parseInt(e(209))/1*(parseInt(e(204))/2)+-parseInt(e(217))/3*(parseInt(e(201))/4)+parseInt(e(199))/5*(-parseInt(e(219))/6)+parseInt(e(207))/7+parseInt(e(215))/8+parseInt(e(194))/9*(parseInt(e(198))/10)+parseInt(e(202))/11*(-parseInt(e(200))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Vu();return(Nu=function(t,e){return i[t-=356]})(t,e)}!function(t){const e=Nu,i=t();for(;;)try{if(339809===parseInt(e(383))/1*(parseInt(e(368))/2)+-parseInt(e(382))/3*(parseInt(e(362))/4)+parseInt(e(378))/5*(parseInt(e(379))/6)+parseInt(e(370))/7*(parseInt(e(376))/8)+-parseInt(e(371))/9*(parseInt(e(381))/10)+-parseInt(e(358))/11*(-parseInt(e(389))/12)+-parseInt(e(386))/13*(-parseInt(e(363))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vu);class Ru extends Dn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Ou(e,this[r(365)][r(366)])[r(357)];this[r(387)]=e,this[r(374)]=this[r(364)](),this[r(385)]=i,this[r(373)]=n,this[r(374)][r(391)](r(359)).to(this),this[r(374)][r(391)](r(360)).to(this),this[r(384)]({tag:r(367),attributes:{class:["ck",r(380)]},children:[{tag:r(361),attributes:{class:["ck",r(372)]},children:[{text:s}]},{tag:r(367),attributes:{class:["ck",r(390)]},children:this[r(374)]}]})}[Au(388)](t){const e=Au,i=new cs(this[e(365)],t,this[e(385)],this[e(373)]);this[e(374)][e(369)](i)}[Au(356)](t){const e=Au,i=this[e(374)][e(375)]((e=>e.id===t.id));this[e(374)][e(377)](i)}}function Vu(){const t=["2640190fIUpUc","386433xuJDiU","56119AQUSKg","setTemplate","_revisionActions","26aPFcsz","startDate","addRevision","2670612ojjEMu","ck-revision-history-sidebar__time-period__revisions","delegate","removeRevision","localizedPeriodName","33qIKLlN","select","setName","span","20lDeYqW","724402KWByEJ","createCollection","locale","uiLanguage","div","4iZdIwb","add","7nflPsz","18YyRJQe","ck-revision-history-sidebar__time-period__label","_requireRevisionName","revisionViews","find","3949912LQhwsz","remove","35470ruTpPk","114odPSfs","ck-revision-history-sidebar__time-period"];return(Vu=function(){return t})()}var Mu=i(173),Du={attributes:{"data-cke":!0}};Du.setAttributes=Wn(),Du.insert=Ln().bind(null,"head"),Du.domAPI=Fn(),Du.insertStyleElement=Zn();Cn()(Mu.A,Du);Mu.A&&Mu.A.locals&&Mu.A.locals;function Eu(t,e){const i=Cu();return(Eu=function(t,e){return i[t-=157]})(t,e)}function Cu(){const t=["1328hHTIjP","ck-revision-history-sidebar__header__label","content","history","4284049FLUQsW","2735VtlJFN","18HfGYDm","472tVwPIO","757UZtppk","div","Revision history","span","885462xBmQCQ","ck-revision-history-sidebar__header","setTemplate","79570eLLROw","ck-reset_all","758396SrAedD","13517ufOSIE","1428DndCKK"];return(Cu=function(){return t})()}!function(t){const e=Eu,i=t();for(;;)try{if(160872===parseInt(e(164))/1*(-parseInt(e(163))/2)+-parseInt(e(168))/3+-parseInt(e(173))/4+parseInt(e(161))/5*(parseInt(e(175))/6)+parseInt(e(174))/7*(parseInt(e(176))/8)+parseInt(e(162))/9*(-parseInt(e(171))/10)+parseInt(e(160))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Dn.View{constructor(t){const e=Eu;super(t);const i=new Dn.IconView;i[e(158)]=qi.icons[e(159)],this[e(170)]({tag:e(165),attributes:{class:["ck",e(172),e(169)]},children:[i,{tag:e(167),attributes:{class:["ck",e(157)]},children:[Xi(t,e(166))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["_revisions","65XiPAae","1322194npQfhT","bindTemplate","setName","delegate","72275PStOGd","deselect","1412560qBftfD","some","revisionViews","ck-reset","117948ppSAKn","set","ck-disabled","fire","remove","flat","unhighlight","startDate","986921bJillp","_revisionActions","locale","div","createCollection","revisionSelected","uiLanguage","select","add","34064470tErreP","revisionSetName","getTime","selectRevision","_getTimePeriodViewByStartDate","removeRevision","createdAt","3RAaBBz","isEnabled","get","ck-revision-history-sidebar__timeline","_addRevision","addRevision","find","8529129niqTdy","setTemplate","_removeRevision","ck-rounded-corners","timePeriodViews","highlight","highlightRevisions","_requireRevisionName","ck-revision-history-sidebar","714WOVCHB","render","map"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(624688===parseInt(e(407))/1+-parseInt(e(389))/2*(-parseInt(e(423))/3)+parseInt(e(399))/4*(parseInt(e(388))/5)+-parseInt(e(384))/6*(-parseInt(e(393))/7)+-parseInt(e(395))/8+parseInt(e(375))/9+-parseInt(e(416))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends Dn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(390)];this[r(379)]=this[r(411)](),this[r(379)][r(392)](r(414)).to(this),this[r(379)][r(392)](r(391)).to(this),this[r(387)]=e,this[r(408)]=i,this[r(382)]=n,this.on(r(414),((t,e)=>{const i=r;this[i(402)](i(412),e)})),this.on(r(391),((t,e)=>{const i=r;this[i(402)](i(417),e)})),this[r(400)](r(424),!1),this[r(376)]({tag:r(410),attributes:{class:["ck",r(398),r(378),r(383)]},children:[new ju(t),{tag:r(410),attributes:{class:["ck",r(426),s.if(r(424),r(401),(t=>!t))]},children:this[r(379)]}]})}[Lu(385)](){const t=Lu;super[t(385)]();for(const e of this[t(387)])this[t(427)](e);this[t(387)].on(t(415),((e,i)=>{this[t(427)](i)})),this[t(387)].on(t(403),((e,i)=>{this[t(377)](i)}))}get[Lu(397)](){const t=Lu;return this[t(379)][t(386)]((e=>e[t(397)][t(386)]((t=>t))))[t(404)]()}[Lu(419)](t){const e=Lu;for(const i of this[e(397)])t&&t.id===i.id?i[e(414)]():i[e(394)]()}[Lu(381)](t){const e=Lu;for(const i of this[e(397)])t[e(396)]((({id:t})=>t===i.id))?i[e(380)]():i[e(405)]()}[Lu(427)](t){const e=Lu,i=Ou(t[e(422)],this[e(409)][e(413)])[e(406)];let n=this[e(379)][e(425)](0);n&&n[e(406)][e(418)]()===i[e(418)]()||(n=new Ru(this[e(409)],i,this[e(408)],this[e(382)]),this[e(379)][e(415)](n)),n[e(428)](t)}[Lu(377)](t){const e=Lu,i=Ou(t[e(422)],this[e(409)][e(413)])[e(406)];this[e(420)](i)[e(421)](t)}[Lu(420)](t){const e=Lu;return this[e(379)][e(429)]((i=>i[e(406)][e(418)]()===t[e(418)]()))}}const Zu=$u;function Hu(){const t=["bind","_revisions","timePeriodViews","Restore this revision","103846PBsCdf","Name this revision","revisionHistory.viewerSidebarContainer","9WKHIPz","plugins","675852RwXrwW","77928bmQnFG","revisionHistory.revisionActions","pluginName","restoreRevisionCallback","_createRevisionActions","appendChild","fieldView","data","render","890xNrKzk","isSelected","RevisionsSidebar","isReady","getEarlierVisibleRevision","remove","highlightRevisions","_handleDiffChange","compare","6391zFwuEC","config","destroy","isPremiumPlugin","string","change:diff","defaultRevisionActions","revisionHistory","getLaterVisibleRevision","Compare against selected","setName","nameRevision","_handleRevisionSetName","isVisible","getRevision","revisionViews","6YXWDaY","editor","availableRevisionActions","revisionHistory.requireRevisionName","revisionSelected","element","focus","action","1480725XwpRVA","_handleEditorDataReady","_revisionsRepository","select","getIndex","286xVoktR","requires","7640cvQZKL","init","7ZNDYlw","isOfficialPlugin","selectRevision","listenTo","getRevisionsInDiff","_revisionViewer","restoreRevision","name","isEnabled","locale","_handleRevisionSelected","revisionSetName","compareAgainstSelected","12088rOvgQW","diff","add","repository","map","4833052ZdkIlc","length","assign","_sidebarView","get","newRevisionId","ready"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(392701===-parseInt(e(494))/1*(-parseInt(e(523))/2)+parseInt(e(485))/3+parseInt(e(507))/4*(parseInt(e(538))/5)+-parseInt(e(477))/6*(-parseInt(e(512))/7)+-parseInt(e(529))/8*(parseInt(e(526))/9)+parseInt(e(492))/10*(-parseInt(e(547))/11)+-parseInt(e(528))/12*(parseInt(e(490))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(531)](){return Zu(540)}static get[Zu(495)](){return!0}static get[Zu(464)](){return!0}static get[Zu(491)](){return[br]}constructor(t){const e=Zu;super(t),this[e(499)]=t[e(527)][e(516)](br),this[e(487)]=this[e(499)][e(510)],this[e(515)]=null}[Zu(493)](){const t=Zu,e=this[t(487)][t(520)],i=this[t(533)](),n=this[t(478)][t(548)][t(516)](t(525));this[t(515)]=new Uu(this[t(478)][t(503)],e,i,this[t(478)][t(548)][t(516)](t(480))),this[t(515)].on(t(481),this[t(504)][t(519)](this)),this[t(515)].on(t(505),this[t(473)][t(519)](this)),this[t(515)][t(519)](t(502)).to(this[t(499)]),this[t(515)][t(521)].on(t(509),((e,i)=>{const n=t;i[n(476)].on(n(509),((t,e)=>{const i=n;e[i(519)](i(502),i(541)).to(this[i(499)])}))})),this[t(515)][t(537)](),this[t(497)](this[t(478)][t(536)],t(518),this[t(486)][t(519)](this)),this[t(497)](this[t(499)],t(466),this[t(545)][t(519)](this)),n[t(534)](this[t(515)][t(482)])}[Zu(463)](){const t=Zu;this[t(515)][t(482)][t(543)](),this[t(515)][t(463)]()}[Zu(486)](){const t=Zu,e=this[t(487)][t(475)](0);if(e){const i=this[t(487)][t(542)](e.id);this[t(499)][t(546)](e,i)}}[Zu(504)](t,e){const i=Zu,n=this[i(487)][i(475)](e.id),r=this[i(487)][i(542)](n.id);this[i(499)][i(546)](n,r)}[Zu(473)](t,e){const i=Zu;this[i(487)][i(475)](e.id)[i(471)](e[i(501)])}[Zu(545)](t,e,i){const n=Zu,r=this[n(487)][n(498)](i);r[n(513)]>2?(this[n(515)][n(544)](r),this[n(515)][n(496)](null)):(this[n(515)][n(544)]([]),this[n(515)][n(496)](r[0]))}[Zu(533)](){const t=Zu,e=this[t(478)],i=qu[t(479)],n=e[t(548)][t(516)](t(530))||qu[t(467)];if(n[t(513)])return n[t(511)]((n=>{const r=t,s=r(465)==typeof n?Object[r(514)]({},i[n]):n;return s[r(484)]=s[r(484)][r(519)](this,e),s[r(474)]&&(s[r(474)]=s[r(474)][r(519)](this,e)),s}))}}qu[Zu(467)]=[Zu(506),Zu(500),Zu(472)],qu[Zu(479)]={compareAgainstSelected:{name:Zu(470),action:({plugins:t},e)=>{const i=Zu,n=t[i(516)](br),r=n[i(510)];let s=n[i(508)][i(517)],o=e.id;r[i(489)](s)>r[i(489)](o)&&([s,o]=[o,s]),n[i(546)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(516)](br);return!(n[i(510)][i(498)](n[i(508)])[i(513)]>2||e[i(539)])}},restoreRevision:{name:Zu(522),action:(t,{id:e})=>{const i=Zu;t[i(548)][i(516)](i(468))[i(532)](e)},isVisible:({plugins:t},e)=>!!t[Zu(516)](br)[Zu(510)][Zu(469)](e.id)},nameRevision:{name:Zu(524),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(516)](br),s=r[n(510)][n(542)](e);r[n(546)](e,s),i[n(483)](),i[n(535)][n(488)]()}}};const Bu=qu,Yu=Ju;function Ju(t,e){const i=Ku();return(Ju=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(473908===-parseInt(e(296))/1+parseInt(e(303))/2*(parseInt(e(301))/3)+parseInt(e(306))/4+-parseInt(e(293))/5+-parseInt(e(281))/6*(-parseInt(e(282))/7)+-parseInt(e(283))/8+parseInt(e(280))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Gu extends Dn.EditorUI{get[Yu(307)](){return this[Yu(292)]}constructor(e,i){const n=Yu;super(e),this[n(292)]=i,this[n(298)]=(0,Dn.normalizeToolbarConfig)(e[n(264)][n(304)](n(271))),this[n(266)]=new t.ElementReplacer}get[Yu(288)](){const t=Yu;return this[t(307)][t(288)]}[Yu(289)](t){const e=Yu,i=this[e(299)],n=this[e(307)],r=i[e(275)][e(307)],s=n[e(284)],o=r[e(270)][e(267)]();s[e(263)]=o[e(273)],n[e(290)]();const a=s[e(288)];this[e(272)](s[e(263)],a),n[e(284)][e(285)](e(305)).to(this[e(302)]),r[e(278)](a),this[e(266)][e(297)](t,this[e(288)]),this[e(262)](),this[e(295)](e(286))}[Yu(276)](){const t=Yu;super[t(276)]();const e=this[t(307)],i=this[t(299)][t(275)][t(307)];this[t(266)][t(268)](),i[t(277)](e[t(284)][t(263)]),e[t(276)]()}[Yu(262)](){const t=Yu,e=this[t(307)];e[t(269)][t(285)](t(274)).to(this[t(302)],t(305)),e[t(269)][t(300)]=e[t(288)],e[t(269)][t(285)](t(287)).to(this,t(294),(({top:t})=>t)),e[t(271)][t(265)](this[t(298)],this[t(291)]),this[t(279)](e[t(271)])}}function Ku(){const t=["3510015xkcqzw","viewportOffset","fire","536412KmQjZj","replace","_toolbarConfig","editor","limiterElement","1225773FvFRIY","focusTracker","2GHukWv","get","isFocused","2008088FLZSju","view","_initToolbar","name","config","fillFromConfig","_elementReplacer","getRoot","restore","stickyPanel","document","toolbar","setEditableElement","rootName","isActive","editing","destroy","detachDomRoot","attachDomRoot","addToolbar","11628504PbwxlZ","18978IGMuMv","679eOHmjy","6377256njZgej","editable","bind","ready","viewportTopOffset","element","init","render","componentFactory","_view"];return(Ku=function(){return t})()}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Ln().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Zn();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;function el(){var t=["render","content","5ncKiCH","top","shouldToolbarGroupWhenFull","add","_editable","11dTmyTd","633361UJPegY","9012ekVdin","11262968GJoYnP","1914WsVhVM","6529758FZCTUc","main","2LBGZHc","toolbar","editable","327870XDZwmu","414hFXuuB","stickyPanel","9783921dmuBcC","31258488YRIkeq"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=276]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(785506===parseInt(e(279))/1*(-parseInt(e(285))/2)+parseInt(e(282))/3*(parseInt(e(280))/4)+parseInt(e(295))/5*(parseInt(e(283))/6)+parseInt(e(291))/7+-parseInt(e(281))/8+-parseInt(e(289))/9*(-parseInt(e(288))/10)+parseInt(e(278))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Dn.BoxedEditorUIView{get[tl(287)](){return this[tl(277)]}constructor(t,e,i={}){var n=tl;super(t),this[n(290)]=new Dn.StickyPanelView(t),this[n(286)]=new Dn.ToolbarView(t,{shouldGroupWhenFull:i[n(297)]}),this[n(277)]=new Dn.InlineEditableUIView(t,e)}[tl(293)](){var t=tl;super[t(293)](),this[t(290)][t(294)][t(276)](this[t(286)]),this[t(296)][t(276)](this[t(290)]),this[t(284)][t(276)](this[t(287)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=287]})(t,e)}function ol(){const t=["fire","locale","1076628UpcnGF","999068gdXgHf","sourceElement","16330xMrdQb","init","model","26192CrTCXk","config","3114DZIkZJ","destroy","view","create","document","initialData","_ui","1562784rQLQRP","updateSourceElement","ready","editing","get","195718SZNiZy","7330757EnZETg","6264Vigxct","data","initPlugins","createRoot"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(936118===parseInt(e(310))/1+-parseInt(e(305))/2+-parseInt(e(290))/3+parseInt(e(291))/4+-parseInt(e(293))/5*(parseInt(e(298))/6)+parseInt(e(311))/7+-parseInt(e(296))/8*(-parseInt(e(312))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(304)]}constructor(t,e){const i=sl;super(e),this[i(292)]=t,this[i(295)][i(302)][i(287)]();const n=new nl(this[i(289)],this[i(308)][i(300)],{shouldToolbarGroupWhenFull:!0});this[i(304)]=new Gu(this,n)}[rl(299)](){const t=rl;return this[t(306)](),this.ui[t(299)](),super[t(299)]()}static async[rl(301)](t,e){const i=rl,n=new this(t,e);return await n[i(314)](),await n.ui[i(294)](t),await n[i(313)][i(294)](n[i(297)][i(309)](i(303))||""),n[i(288)](i(307)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=315]})(t,e)}function ll(){const t=["_viewerEditor","exitToEditing","getAttributeKeys","isAnonymous","disableReadOnlyMode","keys","enqueueChange","_restoreRevision","isOfficialPlugin","5nzMLfe","display","numeric","Annotations","Autosave","RestrictedEditingMode","create","model","revisionHistory.requireRevisionName","config","isEnabled","getMarkersGroup","showRevisionViewerCallback","_closeRevisionViewer","saveRevision","isPremiumPlugin","block","revisionHistory.restoreRevisionCallback","pluginName","$graveyard","parse","getRevisionRootsAttributes","translations","RevisionsRepository","restrictedEditingException","revision-history-viewer-opened","removeAttribute","Restored","_update","RevisionHistory","toVersion","catch","uiLanguage","revisionHistory.viewerContainer","push","4AdnEPG","refreshVisibility","toJSON","RevisionHistoryUI","refreshPositioning","174410PaFBZs","addRoot","changesNavigation","55nJjIcj","fromCharCode","PaginationLookup","_cleanUp","isReady","save","removeMarker","bind","has","markers","getRevision","isAttached","9UySzgb","createRangeIn","revisionHistory.closeRevisionViewerCallback","selection","removeSelectionAttribute","revisionHistory.viewerEditorElement","from","toLocaleDateString","3160208AXLifF","creator","plugins","data","getRoot","locale","337670zyAVxR","define","error","users","get","name","isOpen","roots","_recalculatePageBreaks","addRevisionData","none","getRevisions","RevisionViewerIntegration","addUser","_showRevisionViewer","commands","hide","closeRevisionViewerCallback","2906877xzCnhq","set","detachRoot","includes","adapter","Users","destroy","join","long","fromVersion","toolbar","enableReadOnlyMode","result","restoreRevision","_getRevisionViewerEditorConfig","rootName","revision-history-missing-configuration","editor","lazyRoots","toLocaleTimeString","isReadOnly","document","RevisionTracker","requires","map","change","style","getRevisionData","repository","getUser","6763582OrYRyl","update","1770330HReMHq","then","indexOf","setAttribute","init","revisionHistory.showRevisionViewerCallback","_enhanceCloseRevisionViewerCallback","revisionHistory.editorContainer","insert","RevisionViewer","createdAt","remove","setSelection","451795NYfAIv","end","Dialog","revisionHistory","_enhanceShowRevisionViewerCallback"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(491593===-parseInt(e(324))/1+parseInt(e(378))/2+parseInt(e(425))/3*(-parseInt(e(373))/4)+-parseInt(e(338))/5*(-parseInt(e(457))/6)+parseInt(e(455))/7+-parseInt(e(401))/8*(-parseInt(e(393))/9)+-parseInt(e(407))/10*(-parseInt(e(381))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(376),cl(343)];class dl extends qi.Plugin{static get[cl(356)](){return cl(419)}static get[cl(337)](){return!0}static get[cl(353)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(449)]((t=>String[e(382)](t)))[e(432)]("")}super(t),this[e(437)]=e(325),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends qi.Plugin{static get[cl(356)](){return cl(367)}static get[cl(337)](){return!0}static get[cl(353)](){return!0}static get[cl(448)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(442)][i(347)][i(411)](i(327)))throw new t.CKEditorError(i(441),this);this[i(329)]=null,this[i(442)][i(347)][i(408)](i(316),(t=>this[i(421)]({...t,translations:this[i(442)][i(406)][i(360)]}))),this[i(442)][i(347)][i(408)](i(395),(t=>this[i(351)](t))),this[i(442)][i(347)][i(408)](i(355),(t=>this[i(336)](t))),this[i(442)][i(347)][i(408)](i(346),!1),this[i(328)](),this[i(317)]()}set[cl(429)](t){const e=cl;this[e(442)][e(403)][e(411)](e(447))[e(429)]=t}get[cl(429)](){const t=cl;return this[t(442)][t(403)][t(411)](t(447))[t(429)]}[cl(416)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(447))[e(416)](t)}[cl(391)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(361))[e(391)](t)}[cl(418)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(361))[e(418)](t||{toJSON:!1})}[cl(439)](){const e=cl,i=this[e(442)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(403)][e(411)](e(447)),s=i[e(403)][e(411)](e(430))[e(410)];return n[e(435)]=[e(330),e(438),e(380)],delete n[e(443)],n[e(403)][e(372)](dl,br,Lr,class extends qi.Plugin{static get[e(448)](){return[br,e(430)]}[e(315)](){const n=e,o=this[n(442)][n(403)][n(411)](n(430));for(const t of s)t[n(332)]||o[n(454)](t.id)||o[n(420)](t);const a=r[n(453)][n(418)]();let c=null;const u=this[n(442)][n(403)][n(411)](n(320));u[n(429)]=r[n(429)],u[n(388)](n(348)).to(r),this[n(442)][n(422)][n(411)](n(438))[n(388)](n(348)).to(i,n(445),(t=>!t));for(const e of a){const i=null===e[n(402)];if(i&&e[n(368)]===e[n(434)])continue;const s=e[n(375)]();u[n(416)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(366)](s,o);else if(!o){const e=a[u(375)]();e.id=(0,t.uid)(),r[u(352)](e,a[u(368)])[u(458)]((t=>{c=t}))}}else e[u(366)](s,o)}))}}},Bu),n}[cl(328)](){const t=cl,e=this[t(442)][t(347)][t(411)](t(327))[t(350)];this[t(442)][t(347)][t(426)](t(316),(async()=>{const i=t;this[i(442)][i(436)](i(363));const n=this[i(442)][i(403)][i(411)](i(447));if(this[i(442)][i(403)][i(389)](i(342))){const t=this[i(442)][i(403)][i(411)](i(342));await t[i(386)]()}else await n[i(456)]();if(this[i(442)][i(403)][i(389)](i(383))&&this[i(442)][i(403)][i(411)](i(383))[i(415)](),this[i(442)][i(403)][i(389)](i(326))){const t=this[i(442)][i(403)][i(411)](i(326));t[i(413)]&&t[i(423)]()}const r=this[i(439)]();return e(r)[i(458)]((t=>{const e=i;return this[e(329)]=t,this[e(442)][e(403)][e(389)](e(341))&&this[e(442)][e(403)][e(411)](e(341))[e(374)](),t}))[i(369)]((t=>(console[i(409)](t),this[i(442)][i(333)](i(363)),null)))}))}[cl(317)](){const t=cl,e=this[t(442)][t(347)][t(411)](t(327))[t(424)];this[t(442)][t(347)][t(426)](t(395),(()=>(this[t(442)][t(403)][t(389)](t(383))&&this[t(442)][t(403)][t(411)](t(383))[t(415)](),this[t(329)][t(403)][t(411)](t(320))[t(384)](),e(this[t(329)])[t(458)]((()=>{const e=t;if(this[e(442)][e(333)](e(363)),this[e(329)]=null,this[e(442)][e(403)][e(389)](e(341))){const t=this[e(442)][e(403)][e(411)](e(341));t[e(374)](),t[e(377)]()}})))))}[cl(421)](t){const e=cl,i=this[e(442)][e(347)][e(411)](e(318)),n=this[e(442)][e(347)][e(411)](e(371)),r=this[e(442)][e(347)][e(411)](e(398));return al[e(344)](r,t)[e(458)]((t=>(n[e(451)][e(339)]=e(354),i[e(451)][e(339)]=e(417),t)))}[cl(351)](t){const e=cl,i=this[e(442)][e(347)][e(411)](e(318));return this[e(442)][e(347)][e(411)](e(371))[e(451)][e(339)]=e(417),i[e(451)][e(339)]="",t[e(431)]()}async[cl(336)](t){const e=cl,i=this[e(442)],n=this[e(329)][e(403)][e(411)](e(320)),r=i[e(403)][e(411)](e(447)),s=n[e(453)][e(391)](t);let o,a,c;try{o=await n[e(452)](s),a=await n[e(359)](s)}catch(t){return void console[e(409)](t)}i[e(345)][e(450)]((t=>{const n=e;for(const e of Array[n(399)](i[n(345)][n(390)][n(349)](n(362))))t[n(387)](e)})),n[e(385)]=!1,i[e(345)][e(335)]((t=>{const n=e;t[n(323)](null),t[n(397)](i[n(345)][n(446)][n(396)][n(331)]());const r=Object[n(334)](o);for(const e of i[n(345)][n(446)][n(414)])n(357)!=e[n(440)]&&e[n(392)]()&&!r[n(428)](e[n(440)])&&t[n(427)](e);for(const e of r){let r=i[n(345)][n(446)][n(405)](e);r&&r[n(392)]()||(r=t[n(379)](e));const s=a[e],c=Object[n(334)](s),u=o[e];for(const e of r[n(331)]())c[n(428)](e)||t[n(364)](e,r);for(const i of c)t[n(460)](i,a[e][i],r);t[n(322)](t[n(394)](r)),t[n(319)](i[n(404)][n(358)](u,r),r,0)}}));const u=Xi(i[e(406)],e(365));return c=s[e(412)]?-1==s[e(412)][e(459)](u)?u+": "+s[e(412)]:s[e(412)]:u+": "+s[e(321)][e(400)](i[e(406)][e(370)],{month:e(433),day:e(340)})+", "+s[e(321)][e(444)](i[e(406)][e(370)],{hour:e(340),minute:e(340)}),await r[e(352)]({name:c}),n[e(385)]=!0,i[e(347)][e(411)](e(327))[e(424)]()}}function ml(){var t=["352659lPFSjk","1771iRCyQU","3601730HAaPxF","8031087yBEDXU","3296804VHhJye","6geykNH","33828BebpbD","300124vfkoGY","10182152umhDxS"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=465]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(889598===parseInt(e(469))/1+-parseInt(e(467))/2*(parseInt(e(471))/3)+-parseInt(e(466))/4+parseInt(e(473))/5+-parseInt(e(468))/6*(-parseInt(e(472))/7)+-parseInt(e(470))/8+parseInt(e(465))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|