@ckeditor/ckeditor5-revision-history 44.2.0-alpha.2 → 44.2.0-alpha.3
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:()=>Hi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>tr,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Ki,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var 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 M=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 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 L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).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 X=Object.prototype.hasOwnProperty;const K=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return X.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=J,it.prototype.delete=G,it.prototype.get=K,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 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 Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[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):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(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 Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Xt=function(t,e){return function(i){return t(e(i))}};const Kt=Xt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Kt(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=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=Xt(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 Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Le=F(B),Pe=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ne&&Ue(Ne.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=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 Le:return Ve;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const 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 Xe=b?b.prototype:void 0,Ke=Xe?Xe.valueOf:void 0;const Qe=function(t){return Ke?Object(Ke.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 Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=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(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]"==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 Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return Nt(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 Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Pi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=$i();return(Zi=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(342538===parseInt(e(328))/1+parseInt(e(314))/2*(-parseInt(e(304))/3)+parseInt(e(307))/4*(-parseInt(e(309))/5)+-parseInt(e(325))/6+parseInt(e(330))/7+-parseInt(e(306))/8+-parseInt(e(329))/9*(-parseInt(e(326))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(308)]=e[i(308)]||null,this[i(321)]=e[i(321)]||[],this[i(313)]=e[i(313)]||null,this[i(323)]=e[i(323)]||0,this[i(322)]=e[i(322)]||0,this[i(319)](i(317),e[i(317)]||""),this[i(319)](i(327),e[i(327)]||new Date),this[i(319)](i(324),e[i(324)]||{})}[Ui(316)](t){this[Ui(315)]({name:t})}[Ui(303)](t,e){const i=Ui,n=vi(this[i(324)]);Ci(n,t,e),this[i(315)]({attributes:n})}[Ui(312)](t){const e=Ui,i=vi(this[e(324)]);Wi(i,t),this[e(315)]({attributes:i})}[Ui(315)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(317),i(327),i(313),i(321),i(324),i(323),i(322),i(320)];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(321)]&&(r[i(318)]=r[i(321)][i(311)]((t=>t.id)),delete r[i(321)]),this[i(310)](i(315),r,e))}[Ui(305)](){const t=Ui;return{id:this.id,name:this[t(317)],creatorId:this[t(308)]?this[t(308)].id:null,authorsIds:this[t(321)][t(311)]((t=>t.id)),diffData:this[t(313)],createdAt:this[t(327)],attributes:this[t(324)],fromVersion:this[t(322)],toVersion:this[t(323)]}}}function $i(){const t=["set","creatorId","authors","fromVersion","toVersion","attributes","685254rfwvkG","10910EqJxhj","createdAt","206198oIMnLI","5382ygswWS","2654834fblxDy","setAttribute","327bDtzvF","toJSON","4981760qeXkHD","16lqmDJZ","creator","37375EeCwKc","fire","map","removeAttribute","diffData","2358tWWKIb","_update","setName","name","authorsIds"];return($i=function(){return t})()}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Xi;function Gi(){const t=["4188965GnAYqQ","7tCTCuu","addRevision","RevisionsRepository","fromCharCode","authorsIds","earlier","createRevision","editor","1486592tMzoMT","reverse","plugins","7257582BoatHN","attributes","push","later","_revisions","toVersion","createdAt","from","afterInit","1117150OcUlsO","newRevisionId","getLaterVisibleRevision","getUser","name","get","getEarlierVisibleRevision","map","getRevisionsInDiff","Users","24EIPzsX","getRevisionsIterator","isOfficialPlugin","44MRdzBw","isNaN","fromVersion","data","requires","diffData","isPremiumPlugin","oldRevisionId","add","href","join","88Rvujod","getRevision","37527dhvHQU","pluginName","1437796IVPGRm","getRevisions","length","toJSON","4513167DSBZju","getIndex","creatorId"];return(Gi=function(){return t})()}function Xi(t,e){const i=Gi();return(Xi=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=Xi,i=t();for(;;)try{if(879820===-parseInt(e(354))/1+parseInt(e(370))/2+parseInt(e(352))/3*(parseInt(e(339))/4)+parseInt(e(361))/5+parseInt(e(373))/6*(parseInt(e(362))/7)+-parseInt(e(392))/8*(parseInt(e(358))/9)+parseInt(e(382))/10*(parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Ki extends qi.Plugin{static get[Ji(343)](){return[Bi.Users]}static get[Ji(353)](){return Ji(364)}static get[Ji(394)](){return!0}static get[Ji(345)](){return!0}get[Ji(356)](){const t=Ji;return this[t(377)][t(356)]}constructor(e){const i=Ji;super(e),this[i(377)]=new t.Collection}[Ji(381)](){!async function(e){const i=k([75,102,76,101,78,118,81,87,112,73,56,108,65,100,107,110,68,115,82,71,57,120,55,83,79,104,97,98,50,70,105,51,80,111,84,106,114,109,85,53,86,72,69,121,52,103,89,49,77,119,113,66,99,122,74,67,54,90,88,48,116,117]),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=Xi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(340)](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([75]);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=Xi;return t[e(389)]((t=>String[e(365)](t)))[e(349)]("")}!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:1738195200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Xi,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(348)]);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(368)](t){const e=Ji,i=this[e(369)][e(372)][e(387)](e(391));return new Hi({id:t.id,name:t[e(386)],creator:t[e(360)]?i[e(385)](t[e(360)]):null,diffData:t[e(344)]||t[e(342)],authors:t[e(366)][e(389)]((t=>i[e(385)](t))),createdAt:new Date(t[e(379)]),attributes:t[e(374)],fromVersion:t[e(341)],toVersion:t[e(378)]})}[Ji(363)](t,e=0){const i=Ji;this[i(377)][i(347)](t,e)}[Ji(351)](t){const e=Ji;return this[e(377)][e(387)](t)}[Ji(355)](t={toJSON:!1}){const e=Ji,i=Array[e(380)](this[e(377)]);return i[e(371)](),t[e(357)]?i[e(389)]((t=>t[e(357)]())):i}[Ji(359)](t){const e=Ji;return this[e(377)][e(359)](t)}[Ji(388)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(367)});return i}[Ji(384)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(376)});return i}[Ji(390)](t){const e=Ji,i=[];for(const n of this[e(393)](t[e(383)]))if(i[e(375)](n),n.id===t[e(346)])break;return i}*[Ji(393)](t,{direction:e=Ji(367),filter:i=()=>!0}={}){const n=Ji,r=n(367)===e?1:-1;let s=this[n(377)][n(387)](t),o=this[n(359)](s);for(yield s;s;){if(o+=r,s=this[n(351)](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=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&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Rn();return(In=function(t,e){return i[t-=292]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(380518===parseInt(e(426))/1+-parseInt(e(529))/2+-parseInt(e(560))/3+parseInt(e(361))/4*(-parseInt(e(576))/5)+-parseInt(e(493))/6*(-parseInt(e(482))/7)+parseInt(e(547))/8+parseInt(e(336))/9*(parseInt(e(575))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(520)](){return _n(506)}static get[_n(550)](){return!0}static get[_n(586)](){return!0}static get[_n(419)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(510)]=null,this[i(516)]=null,this[i(463)]=new Tn(this[i(345)]),this[i(455)]=this[i(345)][i(313)][i(521)](i(294))||i(467),this[i(378)]=new Map,this[i(459)]=null;const n=(0,t.uid)();this[i(498)]={history:this[i(345)][i(610)][i(405)][i(407)],getLatestVersion:()=>Promise[i(566)](this[i(345)][i(610)][i(405)][i(590)]),getCurrentRevisionId:()=>n},this[i(312)](i(416),!1),this[i(312)](i(437),!0),this[i(312)](i(446),!1),this[i(345)][i(313)][i(491)](i(530),!0),this[i(345)][i(311)][i(595)](i(536))[i(583)]({view:i(357)})}[_n(556)](){const t=_n;this[t(573)]=this[t(345)][t(341)][t(521)](t(304)),this[t(299)](),this[t(345)][t(359)].on(t(370),(()=>{const e=t,i=this[e(573)][e(490)](0),n=i&&null===i[e(500)]?i:null;if(this[e(497)]=!!n&&this[e(345)][e(313)][e(521)](e(530)),this[e(345)][e(341)][e(456)](e(306))){const t=this[e(498)][e(551)](),r=this[e(573)][e(490)](t);if(r)this[e(514)]=r[e(519)],this[e(497)]=!1;else{const t=this[e(498)][e(407)][e(466)][e(343)]((t=>!t[e(384)])),r=t?t[e(315)]:this[e(498)][e(407)][e(590)];i?(i[e(593)]<r&&i[e(310)]({toVersion:r}),this[e(497)]?(this[e(498)][e(551)]=()=>n.id,this[e(514)]=n[e(519)]):(this[e(514)]=i[e(593)],this[e(497)]=!1)):(this[e(514)]=r,this[e(497)]=!1)}}else n&&(this[e(345)][e(610)][e(405)][e(407)][e(590)]=Math[e(329)](n[e(593)],this[e(345)][e(610)][e(405)][e(407)][e(590)]),n[e(519)]===n[e(593)]?(0!==n[e(519)]&&(this[e(498)][e(551)]=()=>n.id),this[e(497)]=!1):this[e(497)]&&(this[e(498)][e(551)]=()=>n.id,this[e(514)]=n[e(519)])),this[e(497)]||(this[e(514)]=this[e(345)][e(610)][e(405)][e(590)]);this[e(463)][e(556)](this[e(498)][e(407)]),this[e(589)](this[e(514)]),this[e(527)](this[e(514)]),this[e(510)]&&this[e(528)]()})),this[t(502)](t(416)).to(this,t(446),(t=>!t)),this[t(507)]=this[t(345)][t(313)][t(521)](t(507));const e=this[t(345)];this[t(545)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(438)==s||i(563)==s||i(368)==s||i(518)==s||i(608)==s||i(587)==s||i(422)==s||i(364)==s){delete e[r],n=s,clearInterval(this[i(545)]),this[i(545)]=void 0;break}}i(563)==n&&e[i(487)](i(367)),i(368)==n&&e[i(487)](i(296)),i(518)==n&&e[i(487)](i(321)),i(608)==n&&e[i(487)](i(413),i(522)),i(587)==n&&e[i(487)](i(363)),i(422)==n&&e[i(487)](i(541)),i(364)==n&&e[i(487)](i(596))}),1e3)}async[_n(570)](){const t=_n;if(this[t(573)][t(309)]>0){const e=this[t(573)][t(490)](0),i=await this[t(431)](e),n=await this[t(517)](e);this[t(399)](i,n)}}[_n(331)](){const t=_n;super[t(331)](),this[t(545)]&&clearInterval(this[t(545)])}[_n(599)](t){this[_n(498)]=t}async[_n(330)](){const t=_n,e=await this[t(498)][t(561)]();if(e>this[t(516)][t(593)]){await this[t(605)]();const i=this[t(386)]({revision:this[t(516)],to:e});i[t(354)]=i[t(451)][t(322)]((e=>this[t(345)][t(341)][t(521)](t(471))[t(477)](e))),this[t(516)][t(310)](i)}}async[_n(605)](){const t=_n;this[t(497)]&&!this[t(459)]&&(await this[t(468)](this[t(516)]),this[t(463)][t(320)](this[t(516)]),this[t(459)]={fromVersion:this[t(516)][t(519)],authors:this[t(516)][t(354)][t(424)]()})}async[_n(436)](e={},i=null){const n=_n,r=[];await this[n(605)](),this[n(497)]=!1,i>this[n(516)][n(593)]&&(i=null),null===i&&(i=await this[n(498)][n(561)]());const s=this[n(347)](i),o=this[n(386)]({from:s,to:i});if(this[n(516)][n(593)]<i){const t=this[n(386)]({revision:this[n(516)],from:i,to:i});t[n(354)]=[],t[n(451)]=[],t.id=this[n(516)].id,this[n(516)][n(310)](t,!0),delete t[n(354)],r[n(472)](t)}e[n(540)]=this[n(345)][n(341)][n(521)](n(471)).me.id,e[n(319)]=e[n(319)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(508)](e);r[n(472)](e);const c=this[n(573)][n(377)](a);if(0!==c){const t=this[n(573)][n(490)](c-1);if(t[n(519)]!==i){const s=this[n(463)][n(440)](i,t[n(593)]),o={id:t.id,diffData:s[n(423)],authorsIds:s[n(451)],authors:s[n(451)][n(322)]((t=>this[n(345)][n(341)][n(521)](n(471))[n(477)](t))),fromVersion:i};t===this[n(516)]&&(o[n(366)]=new Date(e[n(366)][n(373)]()+10)),t[n(310)](o,!0),delete o[n(354)],r[n(472)](o)}}if(this[n(510)]){for(const t of r)this[n(307)](t.id,t,!0);this[n(528)]()}return a}[_n(508)](t){const e=_n,i=this[e(573)][e(382)](t);return this[e(510)]&&i.on(e(310),((t,i,n)=>{const r=e;n||(this[r(307)](i.id,i,!0),this[r(528)]())})),this[e(573)][e(408)](i,this[e(473)](i)),i}async[_n(431)](t){const e=_n;await this[e(468)](t);const i={};for(const n in t[e(423)]){if(t[e(423)][n][e(553)]&&!t[e(423)][n][e(553)][e(427)])continue;const r=this[e(325)](JSON[e(501)](t[e(423)][n][e(379)])),s=this[e(345)][e(433)][e(549)][e(405)],o=new Yi.ViewDocumentFragment(s,r[e(322)]((t=>xn(t,this[e(345)]))));this[e(345)][e(359)][e(512)][e(460)](e(316)),i[n]=this[e(345)][e(359)][e(512)][e(375)](o),this[e(345)][e(359)][e(512)][e(460)](e(376))}return i}async[_n(517)](t){const e=_n;await this[e(468)](t);const i={};for(const n in t[e(423)])t[e(423)][n][e(553)]&&!t[e(423)][n][e(553)][e(427)]||(i[n]=t[e(423)][n][e(411)]||{});return i}[_n(528)](){const t=_n;if(0===this[t(378)][t(339)])return;if(this[t(446)])return;let e=Array[t(511)](this[t(378)][t(434)]());this[t(378)][t(597)]();for(let i=0;i<e[t(309)];i++){const n=e[i];let r=!1;for(const e of Object[t(612)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(453)]((t=>null!==t)),!e[t(309)])return;for(let i=0;i<e[t(309)];i++){const n=e[i];void 0!==n[t(519)]&&void 0===n[t(593)]&&(n[t(593)]=this[t(573)][t(490)](n.id)[t(593)]),void 0!==n[t(593)]&&void 0===n[t(519)]&&(n[t(519)]=this[t(573)][t(490)](n.id)[t(519)])}const i=this[t(345)][t(313)][t(521)](t(294));this[t(446)]=!0,this[t(531)](),this[t(510)][t(353)](e,i)[t(442)]((()=>{this[t(446)]=!1}))[t(298)]((e=>{const i=t;if(e)for(const t of e)this[i(425)]({id:t.id,createdAt:t[i(366)]});this[i(594)](),this[i(528)]()}))}[_n(399)](e,i){const n=_n;let r=this[n(345)][n(313)][n(521)](n(542)),s=this[n(345)][n(313)][n(521)](n(602));if(void 0===r){r={};for(const t of this[n(345)][n(610)][n(405)][n(489)]())r[t]=""}if(n(552)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(345)][n(610)][n(405)][n(489)]())s[t]={}}let o=!1;const a=Object[n(612)](r),c=Object[n(612)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(324)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(612)](s[t])[n(309)]>0){o=!0;break}}o||(o=c[n(333)]((t=>!this[n(345)][n(610)][n(405)][n(503)](t)))),o&&(0,t.logWarning)(n(535),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(345)][n(313)][n(312)](n(542),e),this[n(345)][n(313)][n(312)](n(602),i)}[_n(531)](){const t=_n;if(!this[t(444)]){const e=this[t(345)][t(341)][t(521)](t(406));this[t(444)]=e[t(478)](Qi(this[t(345)][t(558)],t(352)))}}[_n(594)](){const t=_n;this[t(444)]&&(this[t(345)][t(341)][t(521)](t(406))[t(577)](this[t(444)]),this[t(444)]=null)}[_n(473)](t){const e=_n,i=this[e(573)][e(314)]();i[e(555)]();let n=0;for(;n<i[e(309)];){const r=i[n];if(r===this[e(516)]){n++;continue}if(r.id===this[e(455)])break;const s=t[e(593)]-r[e(593)]||t[e(519)]-r[e(519)];if(s>0)break;if(s<0)n++;else{if(!t[e(500)]&&r[e(500)])break;if(r[e(500)]||!t[e(500)]){if(t[e(366)]>r[e(366)])break;n++}else n++}}return n}[_n(425)](t){const e=_n,i=this[e(573)][e(490)](t.id);if(t[e(366)]&&(t[e(366)]=new Date(t[e(366)])),t[e(451)]){const i=this[e(345)][e(341)][e(521)](e(471));t[e(354)]=t[e(451)][e(322)]((t=>i[e(477)](t)))}i[e(310)](t,!0)}[_n(386)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(519)],i=null!==i?i:t[n(593)];const r=this[n(463)][n(440)](e,i),s={diffData:r[n(423)],authorsIds:r[n(451)],fromVersion:e,toVersion:i};if(!t||i!==t[n(593)]){const t=i-1,e=this[n(498)][n(407)][n(557)](t);s[n(366)]=e&&e[n(366)]||new Date}if(this[n(459)]&&e===this[n(459)][n(519)])for(const t of this[n(459)][n(354)])s[n(451)][n(609)](t.id)||s[n(451)][n(472)](t.id);return s}[_n(468)](t){const e=_n;if(!t||t[e(423)])return Promise[e(566)]();{const i=this[e(345)][e(313)][e(521)](e(294));return this[e(510)][e(490)]({channelId:i,revisionId:t.id})[e(298)]((i=>{const n=e;t[n(423)]=i[n(423)]}))}}[_n(307)](t,e,i){const n=_n;if(this[n(378)][n(456)](t)){const r=this[n(378)][n(521)](t);e=i?{...r,...e}:{...e,...r}}this[n(378)][n(312)](t,e)}[_n(347)](t){const e=_n,i=this[e(573)][e(314)]();i[e(555)](),i[e(537)]();const n=i[e(343)]((i=>i[e(593)]<=t))[e(593)];return n<this[e(514)]?this[e(514)]:n}[_n(589)](t){const e=_n,i=this[e(573)][e(490)](this[e(573)][e(309)]-1);if(i)this[e(455)]=i.id;else{const i=!this[e(345)][e(610)][e(405)][e(340)][e(343)]((t=>this[e(345)][e(610)][e(584)](t))),n=this[e(345)][e(341)][e(521)](e(471)).me.id,r=Qi(this[e(345)][e(558)],e(i?604:429));this[e(303)]({from:t,to:t,id:this[e(455)],name:r,creatorId:n})}}[_n(527)](t){const e=_n,i=this[e(498)][e(551)]();this[e(516)]=this[e(573)][e(490)](i),this[e(516)]||(this[e(516)]=this[e(303)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(303)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(386)]({from:e,to:i});o[s(319)]=t,o[s(540)]=n,o.id=r;const a=this[s(508)](o);return this[s(510)]&&this[s(307)](o.id,o,!0),a}[_n(299)](){const t=_n;this[t(345)][t(311)][t(595)](t(387))[t(600)]({model:t(357)})}[_n(325)](t){const e=_n;return(t=t[e(453)]((t=>!t[e(319)]||e(465)!==t[e(319)]&&e(567)!==t[e(319)])))[e(513)]((t=>{const i=e;i(552)!=typeof t&&(t[i(546)]=this[i(325)](t[i(546)]),t[i(308)]=t[i(308)][i(453)]((t=>!t[0][i(360)](i(462)))))})),t}}function xn(t,e){const i=_n,n=e[i(433)][i(549)][i(405)];if(i(552)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(546)][i(322)]((t=>xn(t,e)));return new(Sn[t[i(592)]]||Yi.ViewElement)(n,t[i(319)],t[i(308)],r)}}class Tn{constructor(t){const e=_n;this[e(345)]=t,this[e(488)]=new Map,this[e(430)]=-1,this[e(581)]=-1,this[e(318)]=new Map,this[e(335)]=new Map,this[e(371)]=new Map,this[e(483)]=new Map,this[e(449)]=new Map,this[e(388)]=new Map,this[e(578)]=new Map,this[e(356)]=new Map,this[e(447)]=new Map,this[e(499)]=new Map,this[e(385)]=1}[_n(556)](t){const e=_n;this[e(381)]=t;const i=new Map,n=new Map,r=this[e(345)][e(610)][e(405)][e(340)][e(322)]((t=>t[e(421)]));for(const t of r){const r=this[e(345)][e(610)][e(405)][e(503)](t),s=An(r);i[e(312)](t,s),n[e(312)](t,Object[e(297)](r[e(479)]()))}const s=Array[e(511)](this[e(345)][e(610)][e(337)])[e(322)]((t=>[t[e(319)],t[e(348)]()])),o=this[e(381)][e(590)];this[e(494)](o,i,s,n),this[e(394)]=this[e(385)];const a=new Map,c=new Map;for(const t of r){const i=Nn(t);a[e(312)](t,i),c[e(312)](t,{})}this[e(494)](Number[e(492)],a,[],c)}[_n(440)](t,e){const i=_n;if(this[i(430)]===t&&this[i(581)]<=e)this[i(488)][i(339)]>1&&this[i(396)](this[i(581)]),this[i(412)](this[i(581)],e,!0);else{if(!this[i(488)][i(456)](t)){const e=this[i(485)](t);this[i(439)](e,t,!1)}this[i(439)](t,e,!0)}return this[i(430)]=t,this[i(581)]=e,this[i(523)]()}[_n(320)](t){const e=_n;this[e(454)](),this[e(430)]=t[e(519)],this[e(581)]=t[e(593)];for(const i in t[e(423)]){const n=t[e(423)][i][e(553)],r=vi(t[e(423)][i][e(351)])||{},s=this[e(543)](t[e(423)][i][e(350)]);s[e(421)]=i,s[e(579)]=!n||!n[e(427)],s[e(427)]=()=>s[e(579)],this[e(483)][e(312)](i,s),this[e(449)][e(312)](i,r),n&&this[e(499)][e(312)](i,n);const o=this[e(476)](s);this[e(578)][e(312)](i,o);for(const[t,i]of s[e(337)]){if(!t[e(360)](e(475)))continue;const n=t[e(469)](":")[2];for(const t of i[e(532)]({singleCharacters:!0})){const i=this[e(448)](t),r=e(533)==t[e(592)]?t[e(461)][e(369)][e(424)](0,-1):t[e(461)][e(369)],s=o[e(317)](r)[e(443)](i);this[e(356)][e(312)](s,{userId:n})}}}this[e(394)]=this[e(385)];const i=[...Array(this[e(385)])[e(612)]()][e(424)](1)[e(453)]((t=>!this[e(356)][e(456)](t)));let n=0;const r=new Map;for(const s in t[e(423)]){const o=t[e(423)][s][e(553)],a=vi(t[e(423)][s][e(411)])||{},c=this[e(543)](t[e(423)][s][e(379)]);c[e(421)]=s,c[e(579)]=!o||o[e(427)],c[e(427)]=()=>c[e(579)],this[e(335)][e(312)](s,c),this[e(371)][e(312)](s,a);const u=this[e(476)](c,Number[e(492)]);this[e(388)][e(312)](s,u),r[e(312)](s,c[e(427)]()?a:{});for(const[t,i]of c[e(337)]){if(!t[e(360)](e(475)))continue;const n=t[e(469)](":")[2];for(const t of i[e(532)]({singleCharacters:!0})){const i=this[e(448)](t),r=this[e(385)]++,s=e(533)==t[e(592)]?t[e(461)][e(369)][e(424)](0,-1):t[e(461)][e(369)];u[e(317)](s)[e(598)](i,r),this[e(356)][e(312)](r,{userId:n})}}for(const t of this[e(345)][e(610)][e(569)](c)[e(532)]({singleCharacters:!0})){const r=this[e(448)](t),s=e(533)==t[e(592)]?t[e(461)][e(369)][e(424)](0,-1):t[e(461)][e(369)],o=u[e(317)](s);o[e(443)](r)>0||o[e(598)](r,i[n++])}for(const[t,i]of c[e(337)])t[e(360)](e(475))||this[e(318)][e(312)](t,i)}const s=Nn(e(611));this[e(483)][e(312)](e(611),s),this[e(578)][e(312)](e(611),this[e(476)](s,1));const o=Nn(e(611));this[e(335)][e(312)](e(611),o),this[e(388)][e(312)](e(611),this[e(476)](o,1));const a=Array[e(511)](this[e(335)])[e(322)]((([t,e])=>[t,An(e)]));this[e(494)](this[e(581)],a,this[e(318)],r)}[_n(543)](t){const e=_n,i=JSON[e(501)](t),n=this[e(345)][e(433)][e(549)][e(405)],r=new Yi.ViewDocumentFragment(n,i[e(322)]((t=>xn(t,this[e(345)]))));return this[e(345)][e(359)][e(293)](r)}[_n(494)](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(312)](t,{start:e[r(302)][r(544)](),end:e[r(392)][r(544)](),rootName:e[r(574)][r(421)]});this[r(488)][r(312)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(396)](t){const e=_n;this[e(488)][e(418)](t)}[_n(504)](){const t=_n;this[t(454)](),this[t(430)]=-1,this[t(581)]=-1,this[t(488)][t(597)](),this[t(556)](this[t(381)])}[_n(454)](){const t=_n;this[t(356)][t(597)](),this[t(447)][t(597)](),this[t(499)][t(597)](),this[t(335)][t(597)](),this[t(371)][t(597)](),this[t(483)][t(597)](),this[t(449)][t(597)](),this[t(388)][t(597)](),this[t(578)][t(597)](),this[t(318)][t(597)](),this[t(385)]=1,this[t(394)]=this[t(385)]}[_n(476)](t,e=null){const i=_n;let n=null;t.is(i(332))||(n=new Yi.Element(t[i(319)],{vid_start:null===e?this[i(385)]++:e++}));const r=[];for(const n of t[i(445)]())if(n.is(i(365))){r[i(472)](this[i(476)](n,e));const t=r[r[i(309)]-1];null!==e&&(e=t.is(i(365),i(398))?t[i(443)](i(515))+1:t[i(443)](i(397))+1)}else for(let t=0;t<n[i(484)];t++)r[i(472)](new Yi.Element(i(398),{vid:null===e?this[i(385)]++:e++}));if(t.is(i(332))){const e=Nn(t[i(421)]);return e[i(334)](0,r),e}return n[i(598)](i(397),null===e?this[i(385)]++:e++),n[i(334)](0,r),n}[_n(439)](t,e,i){const n=_n;this[n(454)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(488)][n(521)](t);this[n(483)]=new Map(r),this[n(449)]=new Map(vi(o));for(const[t,e]of this[n(483)])if(n(611)!==t&&(this[n(335)][n(312)](t,An(e)),this[n(371)]=new Map(vi(o)),i)){const i=this[n(385)];this[n(388)][n(312)](t,this[n(476)](e)),this[n(578)][n(312)](t,this[n(476)](e,i))}this[n(394)]=this[n(385)],this[n(335)][n(312)](n(611),An(this[n(483)][n(521)](n(611)))),i&&this[n(388)][n(312)](n(611),this[n(476)](this[n(483)][n(521)](n(611))));for(const[t,e]of s){const i=this[n(483)][n(521)](e[n(421)]),r=this[n(335)][n(521)](e[n(421)]),s=new Yi.Range(this[n(481)](e[n(302)],i),this[n(481)](e[n(392)],i)),o=this[n(568)](s,r);i[n(337)][n(312)](t,s),this[n(318)][n(312)](t,o)}this[n(412)](t,e,i)}[_n(412)](t,e,i){const n=_n;for(const r of this[n(381)][n(534)](t,e))this[n(389)](r,i);for(const t of this[n(335)][n(434)]())t[n(337)][n(597)]();for(const[t,e]of this[n(318)])this[n(335)][n(521)](e[n(574)][n(421)])[n(337)][n(312)](t,e[n(544)]());const r=new Map,s=new Map;for(const[t,e]of this[n(335)])r[n(312)](t,An(e)),s[n(312)](t,this[n(371)][n(521)](t));this[n(494)](e,r,this[n(318)],s)}[_n(485)](t){const e=_n,i=Array[e(511)](this[e(488)][e(612)]());i[e(452)](((t,e)=>t-e)),i[e(555)]();for(const e of i)if(e<t)return e;return Number[e(492)]}[_n(372)](t,e){const i=_n,n=Array[i(511)](e[i(337)])[i(322)]((([e,n])=>[e,this[i(568)](n,t)]));t[i(337)]=new Map(n)}[_n(420)](t){const e=_n;for(const i of this[e(318)][e(434)]()){const n=i[e(607)](t),r=Yi.Range[e(495)](n);i[e(302)]=r[e(302)],i[e(392)]=r[e(392)]}}[_n(389)](t,e){const i=_n;if(i(457)!=t[i(592)]&&i(305)!=t[i(592)]){if(i(344)==t[i(592)]){const n=t[i(404)][i(574)][i(421)];this[i(335)][i(456)](n)||(this[i(335)][i(312)](n,Nn(n,!0)),this[i(371)][i(312)](n,{}),e&&this[i(388)][i(312)](n,Nn(n,!0)))}else{if(i(414)==t[i(592)]||i(526)==t[i(592)]||i(374)==t[i(592)])return void this[i(292)](t);i(559)==t[i(592)]&&this[i(328)](t)}if(i(559)!==t[i(592)]){const e=this[i(346)](t,this[i(335)]);e[i(591)](),this[i(420)](e)}if(e)switch(t[i(592)]){case i(344):this[i(403)](t);break;case i(441):case i(577):case i(564):this[i(435)](t);break;case i(601):this[i(458)](t);break;case i(469):this[i(582)](t)}}else this[i(480)](t,e)}[_n(346)](t,e){const i=_n,n=t[i(544)]();return n[i(409)]=t[i(409)],this[i(450)](n,e),n}[_n(606)](t){const e=_n;return t[e(322)]((t=>{const i=e,n=this[i(448)](t);return Number(t[i(301)][i(443)](n))}))}[_n(417)](t,e){const i=_n;if(t.is(i(365),i(398)))e[i(472)]({item:t,type:i(486)});else{t.is(i(365))&&e[i(472)]({item:t,type:i(383)});for(const n of t[i(445)]())this[i(417)](n,e);t.is(i(365))&&e[i(472)]({item:t,type:i(533)})}return e}[_n(523)](){const t=_n,e=new Map(this[t(356)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(483)][t(612)](),...this[t(335)][t(612)]()]);a[t(418)](t(611));for(const e of a){const i=this[t(335)][t(521)](e)||Nn(e,!1),n=this[t(483)][t(521)](e)||Nn(e,!1);i[t(427)]()||n[t(427)]()?(r[t(379)][e]=An(i),r[t(350)][e]=An(n),this[t(372)](r[t(350)][e],n),this[t(372)](r[t(379)][e],i),s[t(379)][e]=this[t(417)](this[t(388)][t(521)](e),[]),s[t(350)][e]=this[t(417)](this[t(578)][t(521)](e)||Nn(e,!1),[])):a[t(418)](e)}for(const r of a){const o=s[t(379)][r];for(const r of o){const s=this[t(448)](r),o=r[t(301)][t(443)](s);i[t(418)](o),o>=this[t(394)]&&n[t(312)](o,e[t(521)](o))}}for(const r of a){const a=s[t(379)][r],c=this[t(606)](s[t(350)][r]);let u=0;for(const r of a){const s=this[t(448)](r),a=r[t(301)][t(443)](s);if(!n[t(456)](a)&&!o[t(456)](a))if(i[t(456)](a))u++;else{if(a!=c[u]){const n=e[t(521)](a)||e[t(521)](c[u]);for(;a!=c[u];)i[t(456)](c[u])||(o[t(312)](c[u],n),e[t(312)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(379)][e];for(const e of r){const r=this[t(448)](e),s=e[t(301)][t(443)](r);if(o[t(456)](s)){const e=o[t(521)](s);i[t(456)](s)||i[t(312)](s,{...e}),n[t(312)](s,{...e})}}}for(const e of i[t(612)]())e>=this[t(394)]&&i[t(418)](e);const c=new Map;for(const e of a){let r=s[t(379)][e];for(const e of r)if(e[t(301)].is(t(365),t(505))){const i=this[t(448)](e),r=e[t(301)][t(443)](i);if(n[t(456)](r)){const i=e[t(301)][t(395)][t(395)][t(443)](t(358)),s=c[t(521)](i)||new Set;s[t(478)](n[t(521)](r)[t(428)]),c[t(312)](i,s)}}r=s[t(350)][e];for(const e of r)if(e[t(301)].is(t(365),t(505))){const n=this[t(448)](e),r=e[t(301)][t(443)](n);if(i[t(456)](r)){const n=e[t(301)][t(395)][t(395)][t(443)](t(358)),s=c[t(521)](n)||new Set;s[t(478)](i[t(521)](r)[t(428)]),c[t(312)](n,s)}}for(const e of c[t(612)]())(n[t(456)](e)||i[t(456)](e))&&c[t(418)](e)}for(const e of a){const r=s[t(379)][e];let o=null,a=null;for(const e of r){const r=this[t(448)](e),s=e[t(301)][t(443)](r),u=c[t(521)](s);u&&t(383)==e[t(592)]&&(o=Array[t(511)](u)[0],a=e[t(301)][t(443)](t(397))),o&&(i[t(312)](s,{userId:o}),n[t(312)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(350)][e],a=r[t(379)][e];for(const{userId:e}of this[t(447)][t(434)]())null!==e&&l[t(478)](e);for(const{userId:e}of this[t(499)][t(434)]())null!==e&&l[t(478)](e);this[t(393)](a,s[t(379)][e],n,t(410),l),this[t(393)](o,s[t(350)][e],i,t(470),l),u[e]={insertions:this[t(323)](a),deletions:this[t(323)](o),attachChange:this[t(499)][t(521)](e)||null,attributesBefore:vi(this[t(449)][t(521)](e))||{},attributesAfter:vi(this[t(371)][t(521)](e))}}return{diffData:u,authorsIds:Array[t(511)](l)}}[_n(565)](t){const e=_n;for(const[,i]of t[e(337)]){const t=i[e(302)][e(548)]()[e(453)]((t=>e(505)==t[e(319)]));for(const i of t)1==i[e(585)]&&i[e(525)](0).is(e(365),e(326))&&i[e(525)](0)[e(598)](e(464),!0)}}[_n(323)](t){const e=_n;this[e(565)](t);const i=this[e(345)][e(359)][e(400)](t,{}),n=Array[e(511)](i[e(445)]())[e(322)]((t=>this[e(538)](t)));return JSON[e(391)](n)}[_n(538)](t){const e=_n;if(t.is(e(398)))return t[e(359)];{const i=t;return{type:Object[e(612)](Sn)[e(343)]((e=>t instanceof Sn[e])),name:i[e(319)],attributes:Array[e(511)](i[e(479)]()),children:Array[e(511)](i[e(445)]())[e(322)]((t=>this[e(538)](t)))}}}[_n(393)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(345)][s(610)];for(let n=0;n<e[s(309)];n++){const r=this[s(448)](e[n]),c=e[n][s(301)][s(443)](r),h=i[s(521)](c),d=n==e[s(309)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(428)]!=o[s(428)])&&(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(428)],d=l(475)+n+":"+h+":"+c++,f=u[l(415)](i,a);t[l(337)][l(312)](d,f),null!==h&&r[l(478)](h)}}[_n(448)](t){const e=_n;switch(t[e(592)]){case e(383):return e(358);case e(533):return e(397);default:return e(515)}}[_n(450)](t,e){const i=_n;t[i(315)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(521)](r[i(574)][i(421)]);t[n]=this[i(481)](r,s)}if(r instanceof Yi.Range){const s=e[i(521)](r[i(574)][i(421)]);t[n]=this[i(568)](r,s)}i(574)===n&&(t[i(574)]=e[i(521)](t[i(574)][i(421)]))}}[_n(568)](t,e){const i=_n;return this[i(345)][i(610)][i(415)](this[i(481)](t[i(302)],e),this[i(481)](t[i(392)],e))}[_n(481)](t,e){const i=_n;return this[i(345)][i(610)][i(295)](e,t[i(369)],t[i(402)])}[_n(403)](t){const e=_n,i=this[e(388)][e(521)](t[e(404)][e(574)][e(421)]),n=this[e(481)](t[e(404)],i),r=null===t[e(409)]?null:t[e(409)]||this[e(345)][e(341)][e(521)](e(471)).me.id,s=n[e(395)],o=this[e(385)],a=[];for(const i of t[e(496)])if(i.is(e(365)))a[e(472)](this[e(476)](i));else for(let t=0;t<i[e(484)];t++)a[e(472)](new Yi.Element(e(398),{vid:this[e(385)]++}));const c=this[e(385)];for(let t=o;t<c;t++)this[e(356)][e(312)](t,{userId:r});s[e(334)](n[e(524)],a)}[_n(435)](t){const e=_n;(t=this[e(346)](t,this[e(388)]))[e(591)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(345)][e(341)][e(521)](e(471)).me.id,n=t[e(338)](),r=n[e(395)],s=n[e(524)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(525)](e);s.is(a(365),a(398))?n[a(312)](s[a(443)](a(515)),{userId:i}):(n[a(312)](s[a(443)](a(358)),{userId:i}),t(n,s,0,s[a(585)]),n[a(312)](s[a(443)](a(397)),{userId:i}))}}(this[e(356)],r,s,s+t[e(580)])}[_n(458)](t){const e=_n,i=null===(t=this[e(346)](t,this[e(388)]))[e(409)]?null:t[e(409)]||this[e(345)][e(341)][e(521)](e(471)).me.id,n=t[e(380)][e(395)],r=t[e(342)][e(395)],s=n[e(443)](e(397)),o=r[e(443)](e(358));n[e(598)](e(397),r[e(443)](e(397))),r[e(598)](e(397),s),this[e(356)][e(312)](o,{userId:i}),this[e(356)][e(312)](s,{userId:i}),t[e(591)]()}[_n(582)](t){const e=_n,i=null===(t=this[e(346)](t,this[e(388)]))[e(409)]?null:t[e(409)]||this[e(345)][e(341)][e(521)](e(471)).me.id,n=t[e(355)],r=t[e(362)][e(395)];t[e(591)]();const s=r[e(443)](e(397)),o=t[e(349)][e(562)];if(n){const t=o[e(443)](e(397)),n=r[e(443)](e(397));r[e(598)](e(397),t),o[e(598)](e(397),n),this[e(356)][e(312)](r[e(443)](e(397)),{userId:i}),this[e(356)][e(312)](o[e(443)](e(358)),{userId:i})}else{const t=this[e(385)]++,n=this[e(385)]++;r[e(598)](e(397),t),o[e(598)](e(358),n),o[e(598)](e(397),s),this[e(356)][e(312)](t,{userId:i}),this[e(356)][e(312)](n,{userId:i})}}[_n(328)](t){const e=_n;if(!t[e(572)])return;const i=(t=this[e(346)](t,this[e(335)]))[e(401)]?t[e(401)][e(574)]:null,n=t[e(300)]?t[e(300)][e(574)]:null;i&&this[e(318)][e(418)](t[e(319)]),n&&this[e(318)][e(312)](t[e(319)],t[e(300)][e(544)]());const r=null===t[e(409)]?null:t[e(409)]||this[e(345)][e(341)][e(521)](e(471)).me.id,s=t[e(319)];if(!this[e(447)][e(456)](s))return void this[e(447)][e(312)](s,{range:t[e(401)],userId:r});const o=this[e(447)][e(521)](s),a=o[e(474)],c=t[e(300)];null==a&&null==c||a&&c&&a[e(588)](c)?this[e(447)][e(418)](t[e(319)]):o[e(428)]=r}[_n(480)](t,e){const i=_n;this[i(335)][i(456)](t[i(421)])?this[i(335)][i(521)](t[i(421)])[i(579)]=t[i(603)]:(this[i(335)][i(312)](t[i(421)],Nn(t[i(421)],!0)),this[i(371)][i(312)](t[i(421)],{}),e&&this[i(388)][i(312)](t[i(421)],Nn(t[i(421)],!0)));const n=null===t[i(409)]?null:t[i(409)]||this[i(345)][i(341)][i(521)](i(471)).me.id,r=this[i(499)][i(521)](t[i(421)]);r&&r[i(428)]===n?this[i(499)][i(418)](t[i(421)]):this[i(499)][i(312)](t[i(421)],{userId:n,isAttached:t[i(603)]})}[_n(292)](t){const e=_n,i=this[e(371)][e(521)](t[e(574)][e(421)]);null===t[e(509)]?delete i[t[e(390)]]:i[t[e(390)]]=t[e(509)]}}function An(t){const e=_n,i=Nn(t[e(421)],t[e(427)]());for(const n of t[e(445)]()){const t=n[e(432)](!0);i[e(539)](t)}return i}function Nn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(421)]=t,n[i(579)]=e,n[i(427)]=()=>n[i(579)],n}function Rn(){const t=["saveRevision","isEnabled","revisionHistoryLicenseKeyValid","_calculateMetaData","getData","move","finally","getAttribute","_pendingAction","getChildren","_isPendingUpdate","_touchedMarkers","_getVidAttributeName","_baseRootsAttributes","_fixOperation","authorsIds","sort","filter","_reset","_initialRevisionId","has","addRoot","_handleMergeOperation","_loadedStateData","useFillerType","previousPosition","data-revision-","_revisionDataBuilder","keepParagraph","revision-start","_operations","initial","_loadRevisionData","split","deletion","Users","push","_findInsertionIndex","range","revision:","_makeIdsRoot","getUser","add","getAttributes","_handleRootOperation","_fixPosition","348292kpJJKl","_baseRoots","offsetSize","_getPreviousFrom","text","_showLicenseError","_savedMetaData","getRootNames","getRevision","define","NEGATIVE_INFINITY","6hifrkJ","_saveMetaData","_createFromRanges","nodes","_continueCurrentRevision","_source","_touchedRoots","creator","parse","bind","getRoot","reInit","tableCell","RevisionTracker","licenseKey","addRevisionData","newValue","adapter","from","processor","forEach","_startingVersion","vid","currentRevision","getRevisionRootsAttributes","revisionHistoryLicenseKeyDomainLimit","fromVersion","pluginName","get","RevisionHistory","_getState","offset","getChild","removeRootAttribute","_createCurrentRevision","sendBufferedUpdates","554608RJfBmk","revisionHistory.resumeUnsavedRevision","_addPendingAction","getWalker","elementEnd","getOperations","editor-initial-data-replaced-with-revision-data","upcast","shift","_getViewJson","_appendChild","creatorId","trialLimit","initialData","_makeModelFromViewString","clone","_licenseKeyCheckInterval","children","1400016ERWVMo","getAncestors","view","isOfficialPlugin","getCurrentRevisionId","string","attachChange","createPositionBefore","reverse","init","getOperation","locale","marker","1437534QgUlJX","getLatestVersion","nodeAfter","revisionHistoryLicenseKeyInvalid","reinsert","_processRootBeforeSave","resolve","revision-end","_fixRange","createRangeIn","afterInit","createPositionAt","affectsData","repository","root","1730usSJvG","36455qRZXtH","remove","_baseIdsRoots","_isAttached","howMany","_lastTo","_handleSplitOperation","dataToMarker","hasContent","childCount","isPremiumPlugin","revisionHistoryLicenseKeyEvaluationLimit","isEqual","_createInitialRevision","version","_execute","type","toVersion","_removePendingAction","for","usageLimit","clear","_setAttribute","setSource","markerToData","merge","rootsAttributes","isAdd","Empty document","_loadState","_getBaseVids","getTransformedByOperation","revisionHistoryLicenseKeyNotAllowed","includes","model","$graveyard","keys","_handleRootAttributeOperation","toModel","collaboration.channelId","createPositionFromPath","expired","fromEntries","then","_setConversion","newRange","item","start","_makeRevision","RevisionsRepository","detachRoot","RealTimeCollaborationClient","_bufferUpdate","attributes","length","_update","conversion","set","config","getRevisions","baseVersion","marked","getNodeByPath","_markers","name","loadState","domainLimit","map","_prepareViewToSave","trim","_removeRevisionMarkers","paragraph","createPositionAfter","_handleMarkerOperation","max","update","destroy","documentFragment","some","_insertChild","_diffRoots","58293rjMvyT","markers","getMovedRangeStart","size","roots","plugins","sourcePosition","find","insert","editor","_cloneOperation","_getFromVersion","getRange","insertionPosition","deletions","attributesBefore","PENDING_ACTION_REVISION_HISTORY","updateRevisions","authors","graveyardPosition","_touched","revision","vid_start","data","startsWith","388TQNtIA","splitPosition","evaluationLimit","revisionHistoryLicenseKeyUsageLimit","element","createdAt","invalid","revisionHistoryLicenseKeyExpired","path","ready","_diffRootsAttributes","_copyMarkers","getTime","changeRootAttribute","toData","default","getIndex","_bufferedUpdates","insertions","targetPosition","source","createRevision","elementStart","_isInit","_revisionId","buildRevisionData","dataDowncast","_idsRoots","_handleOperation","key","stringify","end","_markChanges","_startingRevisionId","parent","_removeMetaData","vid_end","$text","_replaceEditorDataWithRevisionData","toView","oldRange","stickiness","_handleInsertOperation","position","document","PendingActions","history","addRevision","_authorId","insertion","attributesAfter","_applyOperations","featureNotAllowed","addRootAttribute","createRange","isReady","_generateTape","delete","requires","_transformMarkers","rootName","revisionHistoryLicenseKeyTrialLimit","diffData","slice","setRevisionData","498948yAzYIA","isAttached","userId","Initial revision","_lastFrom","getRevisionDocumentData","_clone","editing","values","_handleMoveOperation"];return(Rn=function(){return t})()}function Mn(t,e,i){const n=_n,r=n(533)==t[n(592)]?i[n(571)](t[n(301)],n(392)):i[n(554)](t[n(301)]);return i[n(295)](e,r[n(369)],r[n(402)])}function Vn(t,e,i){const n=_n,r=n(383)==t[n(592)]?i[n(571)](t[n(301)],0):i[n(327)](t[n(301)]);return i[n(295)](e,r[n(369)],r[n(402)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),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=Pn().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=Pn().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 Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=250]})(t,e)}function Gn(){const t=["arrowright","keystrokes","_createRevisionNameInput","2680UfYPTV","errorText","focus","687180FKMHKK","revisionNameInputValue","locale","arrowdown","add","arrowleft","revisionNameInputView","form","revisionName","value","trim","label","set","189004iUIPXX","91WIGpHN","ck-responsive-form","reset","ck-revision-history-save-revision-form","3gUuVSC","setTemplate","Name of the revision","stopPropagation","focusTracker","fieldView","142694oIcjvA","262146VoxKVR","220","extendTemplate","arrowup","input","listenTo","16191oTWaIP","optional","182352iPzrBN","render","element","649928cvZBLz"];return(Gn=function(){return t})()}!function(t){const e=Jn,i=t();for(;;)try{if(290906===-parseInt(e(271))/1+parseInt(e(282))/2+-parseInt(e(276))/3*(-parseInt(e(251))/4)+parseInt(e(258))/5+-parseInt(e(283))/6*(-parseInt(e(272))/7)+parseInt(e(291))/8+parseInt(e(289))/9*(-parseInt(e(255))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Xn extends En.View{constructor(e,i){const n=Jn;super(e),this[n(280)]=new t.FocusTracker,this[n(253)]=new t.KeystrokeHandler,this[n(270)](n(259),""),this[n(264)]=this[n(254)](i),this[n(277)]({tag:n(265),attributes:{class:["ck",n(275),n(273)],tabindex:"-1"},children:[this[n(264)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(292)](){const t=Yn;super[t(292)](),(0,En.submitHandler)({view:this}),this[t(280)][t(262)](this[t(264)][t(250)]),this[t(253)][t(288)](this[t(250)]);const e=e=>e[t(279)]();this[t(253)][t(270)](t(252),e),this[t(253)][t(270)](t(263),e),this[t(253)][t(270)](t(286),e),this[t(253)][t(270)](t(261),e)}[Yn(257)](){const t=Yn;this[t(264)][t(257)]()}get[Yn(266)](){const t=Yn;return this[t(264)][t(281)][t(250)][t(267)][t(268)]()}set[Yn(266)](t){const e=Yn;this[e(264)][e(281)][e(250)][e(267)]=t[e(268)]()}[Yn(274)](){const t=Yn;this[t(264)][t(281)][t(250)][t(267)]="",this[t(264)][t(256)]=null}[Yn(254)](t){const e=Yn,i=new En.LabeledFieldView(this[e(260)],En.createLabeledInputText),n=i[e(281)];n[e(285)]({attributes:{maxlength:e(284)}});let r=Qi(this[e(260)],e(278));return!t&&(r+=" ("+Qi(this[e(260)],e(290))+")"),i[e(269)]=r,n.on(e(287),(()=>{const t=e;this[t(259)]=n[t(250)][t(267)][t(268)]()})),i}}const Kn=Qn;function Qn(t,e){const i=er();return(Qn=function(t,e){return i[t-=378]})(t,e)}!function(t){const e=Qn,i=t();for(;;)try{if(298948===parseInt(e(399))/1+-parseInt(e(409))/2*(-parseInt(e(394))/3)+parseInt(e(431))/4+parseInt(e(415))/5*(-parseInt(e(397))/6)+-parseInt(e(426))/7*(parseInt(e(413))/8)+parseInt(e(444))/9+parseInt(e(390))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(er);class tr extends qi.Plugin{static get[Kn(411)](){return Kn(387)}static get[Kn(440)](){return!0}static get[Kn(392)](){return!0}static get[Kn(432)](){return[On]}[Kn(379)](){const t=Kn,e=this[t(395)],i=e[t(439)][t(378)](t(410));e.ui[t(398)][t(447)](t(434),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(419)][r(433)],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(430)](r(429)).to(i,r(391),i,r(429),e,r(382),((t,e,i)=>t&&e&&!i)),s[r(417)][r(436)]({icon:qi.icons[r(388)],label:Qi(n,r(404)),tooltip:!0}),u[r(436)]({label:Qi(n,r(389)),withText:!0,role:r(414)}),u[r(430)](r(429)).to(i,r(391),i,r(429),e,r(382),((t,e,i)=>t&&e&&!i)),u.on(r(405),(()=>this[r(384)]())),h[r(436)]({label:Qi(n,r(396)),withText:!0,role:r(414)}),h[r(430)](r(429)).to(i,r(391),e,r(382),((t,e)=>t&&!e)),h.on(r(405),(()=>{const t=r;e[t(423)][t(378)](t(434))[t(420)](),s[t(418)]=!1,e[t(383)][t(445)][t(380)]()})),c[r(433)][r(447)](u),l[r(433)][r(447)](h),a[r(435)]=r(446),a[r(443)][r(438)]([c,l]),o[r(447)](a),s})),e.ui[t(398)][t(447)](t(424),(()=>this[t(412)]()))}[Kn(412)](){const t=Kn,e=this[t(395)],i=e[t(401)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(417)][t(436)]({icon:qi.icons[t(388)],label:Qi(i,t(404))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(436)]({label:Qi(i,t(389))}),o[t(402)](t(405)).to(n),o.on(t(405),(()=>{this[t(384)]()})),s[t(433)][t(447)](o),r[t(443)][t(447)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(436)]({label:Qi(i,t(396))}),c[t(402)](t(405)).to(n),c.on(t(405),(()=>{const i=t;e[i(423)][i(378)](i(434))[i(420)]()})),a[t(433)][t(447)](c),r[t(443)][t(447)](a),n[t(419)][t(433)][t(447)](r),n}[Kn(384)](){const t=Kn,e=this[t(395)],i=e[t(401)],n=e[t(439)][t(378)](t(421)),r=e[t(439)][t(378)](t(410));function s(r){const s=t;e[s(423)][s(378)](s(422))&&""===r[s(428)]?r[s(403)][s(441)]=Qi(i,s(427)):(e[s(439)][s(378)](On)[s(393)]({name:r[s(428)]}),n[s(437)]())}this[t(407)]||(this[t(386)](),this[t(407)].on(t(408),(()=>s(this[t(407)])))),this[t(407)][t(406)](),n[t(416)]({id:t(385),title:Qi(i,t(389)),isModal:!0,content:this[t(407)],actionButtons:[{label:Qi(e[t(401)],t(425)),withText:!0,onExecute:()=>n[t(437)]()},{label:Qi(e[t(401)],t(381)),class:t(442),withText:!0,onCreate(i){const n=t;i[n(430)](n(429)).to(r,n(391),r,n(429),e,n(382),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(407)])}]})}[Kn(386)](){const t=Kn,e=this[t(395)],i=e[t(401)];this[t(407)]=new Xn(i,e[t(423)][t(378)](t(422))),this[t(407)][t(400)]()}}function er(){const t=["role","set","hide","addMany","plugins","isOfficialPlugin","errorText","ck-button-action","items","4707792neFaHB","view","menu","add","get","init","focus","Accept","isReadOnly","editing","_showDialog","revisionSave","_createSaveRevisionFormView","RevisionHistoryUI","history","Save current revision","984180zhVzpe","isReady","isPremiumPlugin","saveRevision","6SFciUy","editor","Open revision history","6UdVsGO","componentFactory","158983AapmAZ","render","locale","delegate","revisionNameInputView","Revision history","execute","reset","_saveRevisionFormView","submit","614FLNKfa","RevisionTracker","pluginName","_registerMenuComponent","50248rkbRrz","menuitem","852170hbECUS","show","buttonView","isOpen","panelView","showRevisionViewerCallback","Dialog","revisionHistory.requireRevisionName","config","menuBar:revisionHistory","Cancel","574BaaWNr","The revision name cannot be empty.","revisionName","isEnabled","bind","813284GxQHdl","requires","children","revisionHistory"];return(er=function(){return t})()}const ir=rr;function nr(){const t=["555291NMIAFS","237jeAFFg","data","Added by","2816766kveZcu","span","element","div","type","focus","32qdqPhI","2846690nfVVOa","3116JpWqjg","bindTemplate","setTemplate","129jSKkMK","117332iAJhWT","ck-revision-change__","ck-revision-change__label","name","Removed by","196050VSoikE","author","5170385LDHfCR","isSuggestion","Suggested by","ck-revision-change","ck-annotation","changeId","_model","732MSCQga","add","154BUSxhr","set"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(663076===parseInt(e(390))/1*(-parseInt(e(401))/2)+parseInt(e(404))/3*(-parseInt(e(405))/4)+-parseInt(e(412))/5+parseInt(e(410))/6*(-parseInt(e(387))/7)+-parseInt(e(399))/8*(-parseInt(e(393))/9)+-parseInt(e(400))/10+parseInt(e(389))/11*(parseInt(e(385))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=rr;super(t),this[i(384)]=e,this[i(383)]=e.id;const n=this[i(402)],r=Qi(t,e[i(391)][i(413)]?i(414):i(386)==e[i(397)]?i(392):i(409));this[i(388)](i(397),e[i(397)]),this[i(403)]({tag:i(396),attributes:{class:[i(382),i(415),n.to(i(397),(t=>i(406)+t))],tabindex:-1},children:[{tag:i(394),children:[{tag:i(394),attributes:{class:[i(407)]},children:[{text:r}]},{text:" "+e[i(411)][i(408)]}]}]})}[ir(398)](){const t=ir;this[t(395)][t(398)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=372]})(t,e)}function cr(){var t=["22105677iqoflY","4YYvpqI","698677pbmdit","3529020NMcOcs","rootName","99bZCuOw","9RAUtJF","data","5ddopaC","set","author","19764fLdfyZ","4847390RsqRGA","type","toJSON","2281784zogUDL","createdAt","3464247hIpmhT"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(764037===-parseInt(e(372))/1*(parseInt(e(378))/2)+-parseInt(e(384))/3*(parseInt(e(386))/4)+parseInt(e(375))/5*(parseInt(e(388))/6)+parseInt(e(387))/7+-parseInt(e(382))/8*(parseInt(e(373))/9)+parseInt(e(379))/10+parseInt(e(385))/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(377)]=e[i(377)],this[i(380)]=e[i(380)],this[i(374)]=e[i(374)]||{},this[i(389)]=e[i(389)],this[i(376)](i(383),e[i(383)])}[or(381)](){var t=or;return{id:this.id,authorId:this[t(377)].id,type:this[t(380)],data:this[t(374)],createdAt:this[t(383)]}}}const lr=dr;function hr(){const t=["43530dVwPrQ","oldRevisionId","add","42295WDrtMc","newRevisionId","9yXAJzA","330mhYEtp","1812ttpTti","2OJcGtV","1172635hegkts","changes","_setChanges","36452RNJWYs","1300ooftOK","68PlXdsU","33549ZOaCFo","1886008woCfbn","2974531CiGach"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=254]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(618288===-parseInt(e(261))/1*(-parseInt(e(260))/2)+parseInt(e(267))/3*(parseInt(e(266))/4)+-parseInt(e(270))/5*(parseInt(e(258))/6)+-parseInt(e(269))/7+parseInt(e(268))/8*(parseInt(e(257))/9)+parseInt(e(265))/10*(-parseInt(e(255))/11)+parseInt(e(259))/12*(parseInt(e(264))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(256)]=e,this[n(271)]=i,this[n(262)]=new t.Collection}[lr(263)](t){const e=lr;for(const i of t)this[e(262)][e(254)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=wr;function yr(){const t=["isEqual","first","currentChangeNumber","side","insert","locale","highest","suggestion:","keys","left","diffData","revision","ck-suggestion-marker--active","clear","item","numberOfChanges","filter","_setConversion","mapper","insertions","_revisions","ck-suggestion-preview-marker-","showStack","toModel","getChild","isOfficialPlugin","get","change:numberOfChanges","revision-suggestion","shift","getLaterVisibleRevision","dataDowncast","186NLkUaE","removeClass","attributes","mousedown","129915ygwznt","processor","_markSuggestions","ck-suggestion-marker","isAddSuggestion","getAttributes","POSITIVE_INFINITY","endIndex","then","isOnRoot","softBreak","consume","selection","change:isEnabled","ck-revision-history-root-add","upcast","error","getRevisionData","_makeModelFromTape","_changeView","_step","removeMarker:revision","maxOffset","vid","toViewElement","data","startIndex","_setDistance","_getViewObj","27kOiAuM","remove","abs","markerRange","_getRevisionsRange","revision-viewer","getDomRoot","plugins","merge","forEach","_makeModelFromViewString","length","isIncorrect","revision-suggestion:","_getChangeFromId","flat","text","ck-revision-history-root-","getAttribute","isRemoveSuggestion","pop","downcastDispatcher","change","vid_start","roots","span","_cleanUp","RevisionsRepository","change:activeView","_sortAndFilterDiffChanges","ck-revision-history-root-remove","low","diff","newRevisionId","right","242574QmJkPB","forceDisabled","set","collaboration.channelId","bindElementToMarker","compare","isAttached","isRemoved","deletions","createRevision","has","wrap","updatePosition","affectsData","isAdded","_joinTapes","detachRoot","values","_markMarkers","data-revision-","getCustomProperty","createPositionFromPath","checkAttribute","_initInteractions","_threeWayMerge","isPremiumPlugin","return","modelRange","refresh","restoreRevisionCallback","init","_update","name","_balloon","domConverter","hasClass","addHighlight","change:activeChange","revision:","consumable","createRange","getItems","_markInsertions","indexOf","elementStart","toData","restoreRevision","toViewRange","nextSibling","ck-suggestion-preview-marker","_getDiff","vid_end","enableReadOnlyMode","code","editor","concat","previousPosition","isContent","ck-editor__editable__overlay","_markMismatchedRemovedTags","change:isReady","bottom","ck-suggestion-marker-","activeView","forward","range","addRevisionData","removeMarker:revision-suggestion","_changeIdToChange","elementToAttribute","getRevisionRootsAttributes","24BEagaG","isBefore","for","createAttributeElement","level","execute","catch","resolve","done","test","addRevision","markers","markerToHighlight","isEnabled","delete","top","revision-end","_removeUnsupportedChanges","isAtEnd","setAttribute","schema","_setChanges","viewItem","editingDowncast","dataToMarker","isBlock","attributesAfter","observeMarkers","_refreshStartEndIndex","getRevision","createRangeIn","pairId","oldRevisionId","rootName","attachChange","splice","_removeMissingPairs","addMarker:revision-suggestion:deletion","activeChange","showPreviousChange","userId","from","_processTape","data-change-id","_activeViewTarget","document","isObject","getWalker","addMarker:revision-suggestion:insertion","view","changeId","_data","changes","insertion","ck-suggestion-marker-split","split","useFillerType","comment","start","808180YuuBkv","markersStart","suggestion","destroy","repository","isReady","sort","all","getIndex","RevisionViewer","enqueueChange","default","14132hJfJoC","adapter","-new","map","14928aWCkaz","addMarker:revision","ck-suggestion-marker-merge","unbindElementFromMarkerName","createPositionBefore","toViewPosition","target","revision-start","removeMarker","includes","showNextChange","revisionHistoryAttachChange","isNavigationMode","backward","pluginName","ck-revision-history-root--active","attribute:vid","removeAttribute","_findChangeIdFromDomTarget","isInline","_makeTape","listenTo","marked","editing","revisionHistory","domEvent","element","string","offsetSize","distance","config","_removeRevisionMarkers","push","_fixObsoleteTags","addClass","writer","markerName","nextPosition","_cleanMarkers","getClientRects","isLimit","isCollapsed","nodeAfter","2736440OnlXxT","deletion","element:pre","next","revisionHistoryLabel","hasAttribute","model","createUIElement","commands","requires","isSuggestion","find","731906XSVCgK","attributesBefore","markersEnd","unshift","authors","mapViewToDom","revision-comment:","getRootNames","mouseover","getRoot","markerNameToElements","object","uiElement","type","_appendChild","reconvertMarker","stop","startsWith","add","end","conversion","WidgetToolbarRepository","bind","parse","_getViewForChange","isAtStart","elementEnd","children","isAfter","addRoot","index","parent","high","loadRevisionData","slice","markerToData","findIndex"];return(yr=function(){return t})()}!function(t){const e=wr,i=t();for(;;)try{if(120548===-parseInt(e(188))/1*(parseInt(e(365))/2)+parseInt(e(155))/3*(-parseInt(e(369))/4)+parseInt(e(353))/5+-parseInt(e(223))/6+parseInt(e(424))/7+-parseInt(e(294))/8*(-parseInt(e(159))/9)+parseInt(e(412))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);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(383)](){return vr(362)}static get[vr(148)](){return!0}static get[vr(248)](){return!0}static get[vr(421)](){return[Bi.Users,En.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(357)]=this[e(277)][e(195)][e(149)](e(215)),this[e(225)](e(332),null),this[e(225)](e(286),null),this[e(338)]=null,this[e(225)](e(220),null),this[e(225)](e(358),!1),this[e(225)](e(307),!0),this.on(e(172),((t,i,n)=>{const r=e;this[r(332)]=null,this[r(286)]=null,this[r(277)][r(392)][r(343)][r(210)]((t=>{const e=r;for(const i of this[e(277)][e(392)][e(343)][e(339)][e(212)])n?t[e(156)](e(281),i):t[e(403)](e(281),i)}))})),this[e(446)](e(381)).to(this,e(332),(t=>null!==t)),this[e(446)](e(125)).to(this,e(358),this,e(220),this,e(332),((t,i,n)=>t&&n?i[e(346)][e(361)](n):0)),this[e(446)](e(138)).to(this,e(358),this,e(220),((t,i)=>t?i[e(346)][e(199)]:0)),this[e(178)]=null,this[e(291)]=new Map,this[e(366)]=null,this[e(256)]=this[e(277)][e(195)][e(149)](En.ContextualBalloon)}[vr(253)](){const t=vr,e=this[t(277)],i=new Ir(e,{direction:t(382)}),n=new Ir(e,{direction:t(287)});e[t(420)][t(442)](t(333),i),e[t(420)][t(442)](t(379),n),e[t(420)][t(442)](t(269),new _r(e)),this.on(t(150),(()=>{const e=t;i[e(251)](),n[e(251)]()})),this[t(140)](),this[t(246)](),e[t(275)](t(193)),e[t(195)][t(233)](t(445))&&e[t(195)][t(149)](t(445))[t(224)](t(193))}async[vr(176)](t){const e=vr;await this[e(119)](t);const i={};for(const n in t[e(133)]){if(t[e(133)][n][e(328)]&&!t[e(133)][n][e(328)][e(229)])continue;const r=this[e(400)](JSON[e(447)](t[e(133)][n][e(142)])),s=this[e(277)][e(392)][e(343)][e(339)],o=new Yi.ViewDocumentFragment(s,r[e(368)]((t=>this[e(187)](t))));this[e(277)][e(184)][e(160)][e(350)](e(391)),i[n]=this[e(277)][e(184)][e(160)][e(268)](o),this[e(277)][e(184)][e(160)][e(350)](e(364))}return i}async[vr(293)](t){const e=vr;await this[e(119)](t);const i={};for(const n in t[e(133)])t[e(133)][n][e(328)]&&!t[e(133)][n][e(328)][e(229)]||(i[n]=t[e(133)][n][e(320)]||{});return i}[vr(400)](t){const e=vr;return(t=t[e(139)]((t=>!t[e(255)]||e(376)!==t[e(255)]&&e(310)!==t[e(255)])))[e(197)]((t=>{const i=e;i(396)!=typeof t&&(t[i(451)]=this[i(400)](t[i(451)]),t[i(157)]=t[i(157)][i(139)]((t=>!t[0][i(441)](i(242)))))})),t}async[vr(228)](t,e,i=!1){const n=vr;if(!this[n(307)])return;const r=this[n(220)],s=this[n(357)],o=n(396)==typeof t?s[n(323)](t):t,a=n(396)==typeof e?s[n(323)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(220)]&&this[n(220)][n(221)]===c&&this[n(220)][n(326)]===u)return Promise[n(301)]();this[n(358)]=!1,this[n(286)]=null,this[n(332)]=null,this[n(220)]=new fr(c,u);const l=this[n(192)](o,a,!0)[n(368)]((t=>this[n(119)](t)));return l[n(401)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(360)](l)[n(167)]((()=>{const t=n;if(!this[t(307)])return;this[t(214)]();const e=this[t(273)](c,u);for(const i of e[t(346)])this[t(291)][t(225)](i.id,i);this[t(277)][t(418)][t(363)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(277)][n(418)][n(339)][n(431)]())i[n(239)](t);for(const t of Object[n(131)](e[n(418)])){const r=i[n(115)](t);for(const s of Object[n(131)](e[n(157)][t]))i[n(313)](s,e[n(157)][t][s],r);i[n(127)](e[n(418)][t],r,0)}})),this[t(220)][t(315)](this[t(217)](e[t(346)])),this[t(358)]=!0}))[n(300)]((t=>{const e=n;console[e(175)](t),this[e(214)](),r&&(this[e(220)]=r),this[e(358)]=!0}))}[vr(289)](t,e){const i=vr,n=this[i(357)][i(232)](t);return n.on(i(254),((t,i,r)=>e(i,r,n))),this[i(357)][i(304)](n),n}[vr(119)](t){const e=vr;if(!t||t[e(133)])return Promise[e(301)]();{const i=this[e(277)][e(399)][e(149)](e(226));return this[e(366)][e(323)]({channelId:i,revisionId:t.id})[e(167)]((i=>{const n=e;t[n(254)]({diffData:i[n(133)]},!0)}))}}[vr(214)](){const t=vr;this[t(332)]=null,this[t(407)](),this[t(178)]&&this[t(178)][t(356)](),this[t(178)]=null,this[t(291)][t(136)](),this[t(277)][t(418)][t(363)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(277)][i(418)][i(339)][i(431)]())e[i(239)](t)}))}[vr(217)](t){const e=vr,i=[],n=new Map;for(const t of this[e(277)][e(418)][e(339)][e(431)]()){const r=this[e(277)][e(392)][e(343)][e(194)](t);if(!r)continue;const s=r[e(408)]()[e(137)](0);s&&(i[e(401)](t),n[e(225)](t,s))}return i[e(359)](((t,i)=>{const r=e,s=n[r(149)](t),o=n[r(149)](i);return s.y-o.y||s.x-o.x})),(t=t[e(139)]((t=>i[e(378)](t[e(327)]))))[e(359)](((t,n)=>i[e(266)](t[e(327)])-i[e(266)](n[e(327)]))),t}[vr(389)](t){const e=vr,i=Array[e(335)](t[e(305)])[e(139)]((([t,i])=>t[e(441)](e(261))&&!i[e(410)])),n=Array[e(335)](this[e(277)][e(418)][e(324)](t)[e(341)]({singleCharacters:!0}));if(0!=i[e(199)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(349)](":");if(r[e(443)][e(123)](t[e(406)])&&i[e(152)](),(t[e(279)][e(123)](r[e(352)])||t[e(279)][e(452)](r[e(352)]))&&(e(347)==s?t[e(237)]={userId:o}:e(413)==s&&(t[e(230)]={userId:o})),0==i[e(199)])break}return n}[vr(322)](t){const e=vr,i=new Map;for(let n=0;n<t[e(199)];n++)e(204)===t[n][e(437)]?(t[n][e(137)][e(185)]=n,t[n][e(137)][e(166)]=n):(e(267)===t[n][e(437)]?t[n][e(137)][e(185)]=n:e(450)===t[n][e(437)]&&(t[n][e(137)][e(166)]=n),i[e(225)](t[n].id,n));for(const n of i[e(240)]())e(267)===t[n][e(437)]?t[n][e(137)][e(166)]=i[e(149)](t[n][e(325)]):e(450)===t[n][e(437)]&&(t[n][e(137)][e(185)]=i[e(149)](t[n][e(325)]))}[vr(336)](t){const e=vr;for(let i=0;i<t[e(199)];i++){if(e(267)===t[i][e(437)])t[i][e(137)][e(185)]=i;else if(e(450)===t[i][e(437)]){t[i][e(137)][e(166)]=i;const n=t[i][e(137)][e(185)];t[n][e(325)]=t[i].id,t[i][e(325)]=t[n].id}else t[i][e(137)][e(185)]=i,t[i][e(137)][e(166)]=i,t[i][e(325)]=null;t[i][e(354)]||(t[i][e(354)]=[],t[i][e(426)]=[])}}[vr(265)](t,e){const i=vr,n=t[i(139)]((t=>!t[i(237)]));for(let t=0;t<e[i(199)];t++)e[t][i(237)]&&(n[t][i(237)]=e[t][i(237)])}[vr(198)](t){const e=vr,i=JSON[e(447)](t),n=this[e(277)][e(392)][e(343)][e(339)],r=new Yi.ViewDocumentFragment(n,i[e(368)]((t=>this[e(187)](t))));return this[e(277)][e(184)][e(146)](r)}[vr(187)](t){const e=vr,i=this[e(277)][e(392)][e(343)][e(339)];if(e(396)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(451)][e(368)]((t=>this[e(187)](t)));return new(gr[t[e(437)]]||Yi.ViewElement)(i,t[e(255)],t[e(157)],n)}}[vr(273)](t,e=null){const i=vr,n=this[i(357)][i(323)](t),r=e?this[i(357)][i(323)](e):null,s=this[i(192)](n,r),o=s[s[i(199)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(199)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(131)](e[i(133)]))if(e[i(133)][t][i(328)]){const n=e[i(133)][t][i(328)];n[i(229)]?(u[i(442)](t),l[i(233)](t)&&l[i(149)](t)[i(334)]==n[i(334)]?l[i(308)](t):l[i(225)](t,n)):l[i(233)](t)?(u[i(308)](t),l[i(308)](t)):(u[i(442)](t),l[i(225)](t,n))}else u[i(442)](t)}for(const t of u){const e=l[i(233)](t)&&!l[i(149)](t)[i(229)];let n=e?s[i(199)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(133)][t]){const n=e?o[i(133)][t][i(425)]:o[i(133)][t][i(320)];c[i(157)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(418)]={};for(const e of t[i(428)])a[i(225)](e.id,e);for(const e of u){const n=t[i(133)][e]?t[i(133)][e][i(142)]:"[]",r=t[i(133)][e]?t[i(133)][e][i(231)]:"[]";t[i(418)][e]={insertions:this[i(198)](n),deletions:this[i(198)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(335)](n[i(418)][t][i(142)][i(305)])[i(139)]((([t])=>!t[i(441)](i(261)))));let h=0;for(const o of s){const s=this[i(389)](o[i(418)][t][i(142)]);o==n?(e=s,r=e[i(199)],e[i(197)]((t=>{t.id=h++})),this[i(336)](e)):this[i(265)](e,s);const a=e[i(139)]((t=>!t[i(237)]))[i(368)]((t=>t.id));let c=0;const l=this[i(389)](o[i(418)][t][i(231)]);l[i(197)]((t=>{t[i(230)]?t.id=r++:t.id=a[c++]})),this[i(336)](l),this[i(186)](e,i(237)),this[i(186)](l,i(230)),o==n&&this[i(241)](e,u),e=this[i(238)](e,l),this[i(322)](e),this[i(186)](e,i(230))}e=e[i(139)]((t=>!(t[i(237)]&&t[i(230)])));const d=new Map(o[i(418)][t][i(231)][i(305)]),f=new Set(u[i(131)]());for(const t of d[i(131)]())f[i(308)](t);this[i(161)](e,f),this[i(402)](e),e=this[i(330)](e),e=this[i(282)](e),e=this[i(311)](e);const{root:m,changes:p}=this[i(177)](e,a,t);c[i(418)][t]=m;const v=l[i(149)](t);if(v){const e=a[i(149)](v[i(334)]),n=new ur({author:e,type:v[i(229)]?i(442):i(189),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(427)](n),c[i(157)][t][i(380)]=n.id}c[i(346)]=c[i(346)][i(278)](p)}return c}[vr(241)](t,e){const i=vr;for(let n=0;n<t[i(199)];n++)for(const[r,s]of e)s[i(352)][i(123)](t[n][i(279)])&&t[n][i(354)][i(401)](r),s[i(443)][i(123)](t[n][i(406)])&&t[n][i(426)][i(401)](r)}[vr(238)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(199)]||s<e[i(199)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(401)](o);else if(a[i(230)]&&o[i(237)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(247)](t,r,e,s);n=n[i(278)](o),r=a,s=c}else a[i(230)]?(s++,n[i(401)](a)):(r++,n[i(401)](o))}return n}[vr(161)](t,e){const i=vr,n=[];for(let o=0;o<t[i(199)];o++){for(let s=0;s<t[o][i(354)][i(199)];s++){const a=t[o][i(354)][s];if(!e[i(233)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(151)!=c||i(347)!=u&&i(413)!=u||(n[i(427)]({type:u,name:a,userId:l}),t[o][i(354)][i(329)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(426)][i(199)];s++){const a=t[o][i(426)][s];if(!e[i(233)](a))continue;const{group:c,type:u}=r(a);if(i(151)!=c||i(347)!=u&&i(413)!=u)continue;t[o][i(426)][i(329)](s,1),s--;const l=n[i(122)]((t=>t[i(255)]==a));l>-1&&n[i(329)](l,1)}}function r(t){const e=i,n=t[e(349)](":");return{group:n[0],type:n[1],subType:n[e(199)]>=5?n[2]:null,id:n[e(199)]<5?n[2]:n[3],authorId:n[e(199)]<5?n[3]:n[4],markerCount:6==n[e(199)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(199)];i++){if(t[e(237)]&&e(347)==n[i][e(437)])return t[e(163)]=n[i],void delete t[e(237)];if(!t[e(237)]&&!t[e(230)]&&e(413)==n[i][e(437)])return void(t[e(207)]=n[i])}}}[vr(186)](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(225)](o.id,n);for(let n=0;n<t[i(199)];n++){if(i(230)==e&&t[n][i(237)]||i(237)==e&&t[n][i(230)])continue;if(i(204)==t[n][i(437)]){t[n][i(398)]=0;continue}const r=s[i(149)](t[n][i(325)]),o=s[i(149)](t[n].id);t[n][i(398)]=r-o}}[vr(192)](t,e,i=!1){const n=vr,r=[];let s=this[n(357)][n(361)](t),o=this[n(357)][n(361)](e);for(-1==o&&(o=this[n(357)][n(143)][n(199)],i=!1);s<o;)r[n(401)](this[n(357)][n(323)](s)),s++;return i&&r[n(401)](this[n(357)][n(323)](s)),r}[vr(247)](t,e,i,n){const r=vr,s=this[r(277)][r(418)][r(314)];let o=e;for(;t[o]&&t[o][r(237)];)o++;let a=n;for(;i[a]&&i[a][r(230)];)a++;u(t,e,o),u(i,n,a);const c=i[r(120)](n,a)[r(278)](t[r(120)](e,o));return c[r(359)](((t,e)=>t[r(126)]!=e[r(126)]?t[r(126)]-e[r(126)]:t[r(298)]!=e[r(298)]?t[r(298)]-e[r(298)]:t[r(398)]!=e[r(398)]?e[r(398)]-t[r(398)]:!!t[r(237)]!=!!e[r(237)]?-1==t[r(126)]||0==t[r(126)]?t[r(237)]?-1:1:t[r(237)]?1:-1:t[r(116)]-e[r(116)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(165)],c=!0;for(let r=e;r<i;r++)if(s[n(388)](t[r][n(137)])||(c=!1),t[r][n(137)][n(185)]<e&&(o=r),t[r][n(137)][n(166)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(126)]=r<=o?-1:r<a?0:1,t[r][n(116)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(398)]?t[i][n(298)]=u:(u++,t[i][n(298)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(126)]&&(t[r][n(298)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(398)]?t[e][n(298)]=u:(u--,t[e][n(298)]=u,u--)}}[vr(402)](t){const e=vr,i=new Map,n=this[e(277)][e(418)][e(314)];for(let r=1;r<t[e(199)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(204)==c[e(437)])continue;if(c[e(437)]!=u[e(437)])continue;if(!n[e(319)](u[e(137)])||n[e(409)](u[e(137)]))continue;if(!n[e(319)](c[e(137)])||n[e(409)](c[e(137)]))continue;if((t[r][e(237)]||t[r][e(163)])&&t[r-1][e(230)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(230)]||!t[r-1][e(237)]&&!t[r-1][e(163)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(298)]==o[e(298)],h=Math[e(190)](s[e(298)])<Math[e(190)](o[e(298)])&&0==o[e(398)];(l||h)&&(i[e(225)](o.id,s.id),t[e(329)](a,1),r--,s[e(237)]=!1)}for(let n=0;n<t[e(199)];n++)i[e(233)](t[n][e(325)])&&(t[n][e(325)]=i[e(149)](t[n][e(325)]))}[vr(330)](t){const e=vr,i=new Set(t[e(368)]((t=>t.id)));for(let n=0;n<t[e(199)];n++)i[e(233)](t[n][e(325)])||0==t[n][e(398)]||(t[n][e(200)]=!0);return t[e(139)]((t=>!t[e(200)]))}[vr(282)](t){const e=vr,i=new Set;for(let n=0;n<t[e(199)];n++){if(i[e(233)](t[n].id)&&t[n][e(230)]&&(t[n][e(200)]=!0),t[n][e(200)])continue;if(0==t[n][e(398)])continue;if(e(267)!=t[n][e(437)])continue;if(null==t[n][e(325)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(325)];)e(267)==t[r][e(437)]?s++:e(450)==t[r][e(437)]&&s--,r++;if(0!=s)if(t[n][e(230)])t[n][e(200)]=!0;else for(;r!=n;)t[r][e(230)]&&0!=t[r][e(398)]&&(t[r][e(200)]=!0,i[e(442)](t[r][e(325)])),r--}return t[e(139)]((t=>!t[e(200)]))}[vr(311)](t){const e=vr,i=this[e(277)][e(418)][e(314)];for(let n=0;n<t[e(199)];n++){if(!(t[n][e(237)]||t[n][e(163)]||t[n][e(230)]||t[n][e(207)]))continue;if(0==t[n][e(398)])continue;const r=t[n][e(137)];i[e(319)](r)||i[e(409)](r)||(t[n][e(237)]&&delete t[n][e(237)],t[n][e(163)]&&delete t[n][e(163)],t[n][e(207)]&&delete t[n][e(207)],t[n][e(230)]&&(t[n][e(200)]=!0))}return t[e(139)]((t=>!t[e(200)]))}[vr(177)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(277)][n(418)],c=a[n(314)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(199)];e++)if(n(267)===t[e][n(437)]){t[e][n(279)]=a[n(244)](r,f);const i=new Yi.Element(t[e][n(137)][n(255)],t[e][n(137)][n(164)]());u[0][n(438)](i),f[n(401)](0),u[n(427)](i),t[e][n(406)]=a[n(244)](r,f)}else n(450)===t[e][n(437)]?(u[n(152)](),t[e][n(279)]=a[n(244)](r,f),f[n(208)](),f[f[n(199)]-1]++,t[e][n(406)]=a[n(244)](r,f)):(t[e][n(279)]=a[n(244)](r,f),d?d[n(345)]+=t[e][n(137)][n(184)]:d=new Yi.Text(t[e][n(137)][n(184)],t[e][n(137)][n(164)]()),t[e+1]&&n(204)===t[e+1][n(437)]&&v(d,t[e+1][n(137)])||(u[0][n(438)](d),d=null),f[f[n(199)]-1]+=t[e][n(137)][n(397)],t[e][n(406)]=a[n(244)](r,f));for(let e=0;e<t[n(199)];e++){const i=t[e][n(279)],r=t[e][n(406)];for(const r of t[e][n(354)])o[n(225)](r,{start:i,end:null});m(n(207),e,i,r),m(n(163),e,i,r),m(n(230),e,i,r),m(n(237),e,i,r);for(const i of t[e][n(426)])o[n(149)](i)[n(443)]=r}for(const[t,e]of o){const i=this[n(277)][n(418)][n(263)](e[n(352)],e[n(443)]);r[n(305)][n(225)](t,i)}return s[n(359)](((t,e)=>{const i=n,s=r[i(305)][i(149)](i(261)+t.id),o=r[i(305)][i(149)](i(261)+e.id);return s[i(352)][i(295)](o[i(352)])?-1:s[i(352)][i(452)](o[i(352)])?1:s[i(443)][i(295)](o[i(443)])?-1:s[i(443)][i(452)](o[i(443)])?1:i(442)===t[i(437)]?-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(334)]:null,d=i===t[o(199)]-1,f=h[e][0],m=c[o(340)](t[i][o(137)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(443)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(334)]!==u&&(l[e][o(443)]=r,f&&f[o(334)]===l[e][o(334)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(267)!==t[i][o(437)]||f&&f[o(334)]===u||h[e][o(427)]({userId:u,object:t[i][o(137)],change:l[e]}),o(450)===t[i][o(437)]&&f&&f[o(435)]===t[i][o(137)]&&(h[e][o(152)](),l[e]=f[o(210)])),l[e]&&d&&(l[e][o(443)]=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(137)],f=a[h(314)][h(319)](d)&&!a[h(314)][h(409)](d),m=t[h(411)]==o[h(117)]&&o[h(449)];if(f&&m)return;const p=a[h(263)](t,o),v=e[h(149)](u),y=new ur({author:v,type:h(237)==l||h(163)==l?h(442):h(189),data:{isSuggestion:h(163)==l||h(207)==l},createdAt:new Date,rootName:i});s[h(401)](y),r[h(305)][h(225)](h(261)+y.id,p)}function v(t,e){const i=n,r=t[i(164)](),s=e[i(164)]();for(const t of r){if(t[1]!==e[i(206)](t[0]))return!1;s[i(415)]()}return s[i(415)]()[i(302)]}}[vr(140)](){const t=vr;this[t(277)][t(444)][t(296)](t(174))[t(318)]({view:t(134)}),this[t(277)][t(444)][t(296)](t(317))[t(306)]({model:t(134),view:e=>{const i=t,n=e[i(405)][i(349)](":")[1],r=this[i(202)](n);if(!r)return null;const s=i(442)==r[i(437)]?i(347):i(413),o=[i(162),i(285)+s];return r[i(184)][i(422)]&&o[i(401)](i(285)+s+i(367)),this[i(332)]==r&&o[i(401)](i(135)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(277)][t(444)][t(296)](t(174))[t(442)]((e=>{const i=t;e.on(i(414),((t,e,n)=>{const r=i,s=e[r(316)][r(147)](0);if(!s||!s.is(r(395),r(276)))return;if(!n[r(262)][r(170)](s,{attributes:[r(211),r(274)]}))return;const o=e[r(250)][r(352)][r(411)];n[r(404)][r(313)](r(211),s[r(206)](r(211)),o),n[r(404)][r(313)](r(274),s[r(206)](r(274)),o)}),{priority:i(219)})})),this[t(277)][t(444)][t(296)](t(174))[t(442)]((e=>{const i=t;e.on(i(395),((t,e,n)=>{const r=i;if(!n[r(262)][r(170)](e[r(316)],{attributes:[r(211),r(274)]}))return;if(e[r(250)][r(410)])return;const s=e[r(250)][r(352)][r(411)];s[r(417)](r(211))||s[r(417)](r(182))||(n[r(404)][r(313)](r(211),e[r(316)][r(206)](r(211)),s),n[r(404)][r(313)](r(274),e[r(316)][r(206)](r(274)),s))}),{priority:i(219)})})),this[t(277)][t(444)][t(296)](t(174))[t(292)]({view:{name:t(213),attributes:{vid:!0}},model:{key:t(182),value:e=>e[t(206)](t(182))}}),this[t(277)][t(418)][t(314)].on(t(245),((e,[,i])=>{const n=t;[n(211),n(274),n(182)][n(378)](i)&&(e[n(249)]=!0,e[n(440)]())}),{priority:t(129)}),this[t(277)][t(444)][t(296)](t(154))[t(442)]((e=>{const i=t;e.on(i(385),((t,e,n)=>{const r=i;if(" "!=e[r(137)][r(184)]||e[r(137)][r(117)][r(181)]>1)return;if(!n[r(262)][r(170)](e[r(137)],t[r(255)]))return;const s=n[r(404)],o=n[r(141)][r(270)](e[r(288)]);s[r(234)](o,s[r(297)](r(213)))}))})),this[t(277)][t(444)][t(296)](t(154))[t(121)]({model:t(134)}),this[t(277)][t(392)][t(209)].on(t(370),function(e){const i=t,n=e[i(195)][i(149)](i(362));return(t,r,s)=>{const o=i,a=r[o(405)][o(349)](":")[1],c=n[o(202)](a);if(!c)return null;const u=o(442)==c[o(437)]?o(349):o(196);if(!s[o(262)][o(303)](r[o(191)],t[o(255)]))return;const l=r[o(191)][o(341)](),h=r[o(191)][o(352)],d=e[o(418)][o(314)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(137)];p=p||d[o(280)](e);const i=s[o(141)][o(183)](e);if(i&&i[o(243)](o(259)))return;o(450)==t[o(437)]&&d[o(319)](e)&&!d[o(409)](e)&&(e[o(271)]||h[o(312)]?f&&f[o(117)]==e||(f=e,y(t[o(279)]),v=!0):m=m||t[o(279)])}function y(t){const e=o,i=s[e(404)][e(419)](e(213),{class:e(285)+u}),a=s[e(141)][e(374)](t);c[e(184)][e(422)]&&s[e(404)][e(403)](e(285)+u+e(367),i),n[e(332)]==c&&s[e(404)][e(403)](e(135),i),s[e(404)][e(127)](a,i),s[e(141)][e(227)](i,r[e(405)])}p||v||!m||y(m)}}(this[t(277)]),{priority:t(118)}),this[t(277)][t(392)][t(209)].on(t(180),((e,i,n)=>{const r=t,s=n[r(141)][r(434)](i[r(405)]);if(s)for(const t of s)(t[r(258)](r(348))||t[r(258)](r(371)))&&(n[r(141)][r(372)](t,i[r(405)]),n[r(404)][r(189)](t))}),{priority:t(118)}),this[t(277)][t(392)][t(209)].on(t(370),((e,i,n)=>{const r=t,s=i[r(405)][r(349)](":")[1],o=this[r(202)](s);if(!o)return null;const a=r(442)==o[r(437)]?r(349):r(196);if(n[r(262)][r(303)](i[r(191)],e[r(255)]))for(const t of i[r(191)][r(264)]()){if(!t.is(r(395),r(169)))continue;const e=n[r(404)][r(419)](r(213),{class:r(285)+a}),s=n[r(141)][r(374)](this[r(277)][r(418)][r(373)](t));o[r(184)][r(422)]&&n[r(404)][r(403)](r(285)+a+r(367),e),this[r(332)]==o&&n[r(404)][r(403)](r(135),e),n[r(404)][r(127)](s,e),n[r(141)][r(227)](e,i[r(405)])}}),{priority:t(118)}),this[t(277)][t(418)][t(339)].on(t(210),(()=>{const e=t;this[e(277)][e(392)][e(343)][e(210)]((t=>{const i=e;for(const e of this[i(277)][i(418)][i(339)][i(431)]()){const n=this[i(277)][i(418)][i(339)][i(433)](e),r=this[i(277)][i(392)][i(343)][i(339)][i(433)](e);if(r){const e=n[i(206)](i(380));if(t[i(386)](i(337),r),t[i(156)](i(173),r),t[i(156)](i(218),r),t[i(156)](i(384),r),e){const n=this[i(202)](e);if(!n)return null;t[i(313)](i(337),e,r),t[i(403)](i(205)+n[i(437)],r),this[i(332)]==n&&t[i(403)](i(384),r)}}}}))})),this[t(277)][t(444)][t(296)](t(174))[t(318)]({view:t(351),model:e=>t(430)+e,converterPriority:t(129)}),this[t(277)][t(444)][t(296)](t(174))[t(318)]({view:t(355),model:e=>t(201)+e,converterPriority:t(129)}),this[t(277)][t(444)][t(296)](t(154))[t(121)]({model:t(151),view:e=>({name:t(130)+e,group:t(151)}),converterPriority:t(129)}),this[t(277)][t(444)][t(296)](t(317))[t(306)]({model:t(151),view:e=>{const i=t,n=e[i(405)][i(349)](":")[1];return i(347)!=n&&i(413)!=n?null:{classes:[i(272),i(144)+n]}}}),this[t(277)][t(392)][t(209)].on(t(331),br(this[t(277)],t(196)),{priority:t(118)}),this[t(277)][t(392)][t(209)].on(t(342),br(this[t(277)],t(349)),{priority:t(118)}),this[t(277)][t(392)][t(209)].on(t(290),((e,i,n)=>{const r=t,s=n[r(141)][r(434)](i[r(405)]);if(s)for(const t of s)t.is(r(436))&&(n[r(141)][r(372)](t,i[r(405)]),n[r(404)][r(189)](t))}),{priority:t(118)})}[vr(202)](t){const e=vr;return this[e(291)][e(149)](t)}[vr(448)](t){const e=vr;return this[e(178)]&&this[e(178)][e(356)](),this[e(178)]=new sr(this[e(277)][e(128)],t),this[e(178)]}[vr(246)](){const t=vr;this[t(277)][t(418)][t(339)][t(171)][t(321)](t(134)),this.on(t(216),((e,i,n,r)=>{const s=t;r&&this[s(256)][s(189)](r),n&&(this[s(256)][s(442)]({view:n,stackId:s(416),position:{target:()=>{const t=s,e=this[t(277)][t(392)],i=this[t(202)](n[t(344)]);let r;if(i[t(184)][t(168)]){const n=e[t(343)][t(194)](i[t(327)]);r=Array[t(335)](n[t(408)]())}else{const i=this[t(277)][t(418)][t(305)][t(149)](t(261)+n[t(344)]);r=Array[t(335)](e[t(141)][t(434)](i[t(255)]))[t(368)]((i=>e[t(343)][t(257)][t(429)](i)))[t(368)]((e=>Array[t(335)](e[t(408)]())))[t(203)]()}return this[t(338)]&&r[t(423)]((e=>e[t(309)]-3<=this[t(338)].y&&e[t(284)]+3>=this[t(338)].y&&e[t(132)]-3<=this[t(338)].x&&e[t(222)]+3>=this[t(338)].x))||r[0]}}}),this[s(256)][s(145)](s(416)))})),this.on(t(260),((e,i,n,r)=>{const s=t;this[s(286)]=n?this[s(448)](n):null,this[s(277)][s(418)][s(210)]((()=>{const t=s,e=this[t(277)][t(392)];r&&(r[t(184)][t(168)]?e[t(343)][t(210)]((i=>{const n=t;i[n(156)](n(384),e[n(343)][n(339)][n(433)](r[n(327)]))})):e[t(439)](t(261)+r.id)),n&&(n[t(184)][t(168)]?e[t(343)][t(210)]((i=>{const r=t;i[r(403)](r(384),e[r(343)][r(339)][r(433)](n[r(327)]))})):e[t(439)](t(261)+n.id))}))})),this[t(390)](this[t(277)][t(392)][t(343)][t(339)],t(432),((e,i)=>{const n=t;if(this[n(332)])return;const r=this[n(387)](i[n(375)]),s=this[n(291)][n(149)](r);s?(this[n(338)]={x:i[n(394)].x,y:i[n(394)].y},this[n(286)]=this[n(448)](s)):(this[n(338)]=null,this[n(286)]=null)})),this[t(390)](this[t(277)][t(392)][t(343)][t(339)],t(158),((e,i)=>{const n=t,r=this[n(387)](i[n(375)]),s=this[n(291)][n(149)](r);s?(this[n(338)]={x:i[n(394)].x,y:i[n(394)].y},s===this[n(332)]?this[n(256)][n(235)]():this[n(332)]=s):(this[n(338)]=null,this[n(332)]=null)}))}[vr(387)](t){const e=vr;do{const i=t[e(206)](e(337));if(i)return i;t=t[e(117)]}while(t);return null}[vr(407)](){const t=vr;this[t(277)][t(418)][t(210)]((e=>{const i=t;for(const t of this[i(277)][i(418)][i(305)])e[i(377)](t)}))}}function br(t,e){return(i,n,r)=>{const s=wr;if(!r[s(262)][s(303)](n[s(191)],i[s(255)]))return;const o=n[s(191)][s(341)](),a=n[s(191)][s(352)],c=t[s(418)][s(314)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(137)];h=h||c[s(280)](e);const i=r[s(141)][s(183)](e);if(i&&i[s(243)](s(259)))return;s(450)==t[s(437)]&&c[s(319)](e)&&!c[s(409)](e)&&(e[s(271)]||a[s(312)]?u&&u[s(117)]==e||(u=e,f(t[s(279)]),d=!0):l=l||t[s(279)])}function f(t){const i=s,o=r[i(141)][i(374)](t),a=r[i(404)][i(419)](i(213),{class:i(144)+e});r[i(404)][i(127)](o,a),r[i(141)][i(227)](a,n[i(405)])}h||d||!l||f(l)}}function wr(t,e){const i=yr();return(wr=function(t,e){return i[t-=115]})(t,e)}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(195)][e(149)](kr);this[e(236)]=!1,this[e(390)](i,e(283),(()=>this[e(251)]())),this[e(390)](i,e(172),(()=>this[e(251)]()))}[vr(299)](){const t=vr,e=this[t(277)],i=e[t(195)][t(149)](kr),n=i[t(358)]?i[t(220)][t(221)]:null;e[t(399)][t(149)](t(393))[t(252)](n)}[vr(251)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(277)][t(195)][t(149)](kr),s=r&&n[t(153)](r[t(221)]);this[t(307)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(195)][i(149)](kr);this[i(236)]=!1,this[i(179)]=i(287)===e?1:-1,this[i(390)](n,i(283),(()=>this[i(251)]())),this[i(390)](n,i(172),(()=>this[i(251)]())),this[i(390)](n,i(260),(()=>this[i(251)]()))}[vr(299)](){const e=vr,i=this[e(277)],n=i[e(195)][e(149)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(332)]=r?n[e(220)][e(346)][e(149)](s+this[e(179)]):n[e(220)][e(346)][e(124)],n[e(332)][e(184)][e(168)])o=i[e(392)][e(343)][e(194)](n[e(332)][e(327)]);else{const t=i[e(418)][e(305)][e(149)](e(261)+n[e(332)].id);o=(0,Bi.getMarkerDomElement)(i[e(392)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(251)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(277)][t(195)][t(149)](kr);this[t(307)]=!!(s&&r&&n)&&(!e||(1===this[t(179)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["ck-revision-history-ui__changes-navigation__wrapper","isEnabled","ck-revision-history-ui__changes-navigation__label","4451742FDfjOG","numberOfChanges","Show next change","1714276DAXxgj","_isStatusLabelVisible","div","ck-revision-history-ui","setTemplate","ck-revision-history-ui__changes-navigation","NUMBER_OF_CHANGES","set","ck-hidden","Total","53417mnSzSo","3149032XIJtRI","X_OF_Y_CHANGES","27hKzJad","10JanafD","_statusText","5767930jMtGpY","isForwardNavigationEnabled","12RLzROF","forward","isBackwardNavigationEnabled","execute","currentChangeNumber","No changes","Show previous change","isNavigationMode","Loading...","bindTemplate","bind","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__navigation","14394457mQrXLI","10BHVMDv","isReady","backward","79168YrBAqL","span","fire"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(599718===-parseInt(e(280))/1+parseInt(e(305))/2*(-parseInt(e(288))/3)+parseInt(e(314))/4*(parseInt(e(302))/5)+-parseInt(e(311))/6+parseInt(e(286))/7+-parseInt(e(281))/8*(-parseInt(e(283))/9)+parseInt(e(284))/10*(-parseInt(e(301))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(297)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(321)](e(295),!1),this[e(321)](e(303),!1),this[e(321)](e(292),0),this[e(321)](e(312),0),this[e(321)](e(287),!1),this[e(321)](e(290),!1),this[e(298)](e(315)).to(this,e(303),this,e(312),((t,e)=>t&&e>0)),this[e(298)](e(285)).to(this,e(303),this,e(292),this,e(312),this,e(295),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(296));if(!r)return Qi(t,o(293));const a=Qi(t,o(320),r);return s?Qi(t,o(282),[n+1,r]):a})),n[e(321)]({label:Qi(t,e(294)),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(321)]({label:Qi(t,e(313)),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(298)](e(309)).to(this,e(290)),r[e(298)](e(309)).to(this,e(287)),n.on(e(291),(()=>this[e(307)](e(291),e(304)))),r.on(e(291),(()=>this[e(307)](e(291),e(289)))),this[e(318)]({tag:e(316),attributes:{class:["ck",e(317),e(319)]},children:[{tag:e(306),attributes:{class:[e(308)]},children:[{tag:e(306),attributes:{class:[e(310),i.if(e(315),e(322),(t=>!t))]},children:[{text:i.to(e(295),(i=>i?Qi(t,e(299))+": ":Qi(t,e(279))+": "))}]},{text:i.to(e(285))}]},new En.ToolbarSeparatorView,{tag:e(316),attributes:{class:[e(300)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Mr=Dr;function Vr(){const t=["isOfficialPlugin","show","ck-editor__editable__loading-overlay","editor","RevisionViewerLoadingOverlay","10fyHsTh","560304PWlext","document","211850LwdSpL","288514JxDBkz","7177379saDnga","roots","addClass","change","18yurHWJ","removeClass","4282523HPBUFg","hide","12EzmzcM","pluginName","2331776wYuCxy","editing","45HtVDQK","322628QeUMQB","view","isPremiumPlugin"];return(Vr=function(){return t})()}!function(t){const e=Dr,i=t();for(;;)try{if(455463===-parseInt(e(345))/1+-parseInt(e(346))/2*(-parseInt(e(355))/3)+parseInt(e(360))/4*(parseInt(e(359))/5)+-parseInt(e(343))/6+-parseInt(e(353))/7+parseInt(e(357))/8*(-parseInt(e(351))/9)+-parseInt(e(342))/10*(-parseInt(e(347))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Er=Mr(339);function Dr(t,e){const i=Vr();return(Dr=function(t,e){return i[t-=336]})(t,e)}class Cr extends qi.Plugin{static get[Mr(356)](){return Mr(341)}static get[Mr(337)](){return!0}static get[Mr(336)](){return!0}[Mr(338)](){const t=Mr,e=this[t(340)][t(358)][t(361)];e[t(350)]((i=>{const n=t;for(const t of e[n(344)][n(348)])i[n(349)](Er,t)}))}[Mr(354)](){const t=Mr,e=this[t(340)][t(358)][t(361)];e[t(350)]((i=>{const n=t;for(const t of e[n(344)][n(348)])i[n(352)](Er,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=125]})(t,e)}function Lr(){const t=["undo","ck-revision-history-ui__back-to-editing","100kRJkYt","componentFactory","Back to editing","showPreviousChange","showNextChange","213YePivA","2098iFWVJa","restoreRevision","init","isReady","hide","listenTo","get","commands","add","set","numberOfChanges","bind","forward","RevisionViewerUI","exitToEditing","config","plugins","revisionHistory","4BRaApw","requires","2565BEpepj","isEnabled","isBackwardNavigationEnabled","isOfficialPlugin","23339953vXrmHa","pluginName","change:isReady","7wglJKR","Restore this revision","isPremiumPlugin","execute","469788gmcKNB","editor","18557198ggkECK","currentChangeNumber","4165736Iozgug","show","3360069WkWqXN","12CBGiJV","closeRevisionViewerCallback","isNavigationMode","isForwardNavigationEnabled","45760Kceeec","changesNavigation"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(897580===parseInt(e(147))/1*(-parseInt(e(148))/2)+parseInt(e(133))/3*(-parseInt(e(166))/4)+-parseInt(e(142))/5*(-parseInt(e(127))/6)+-parseInt(e(175))/7*(parseInt(e(131))/8)+-parseInt(e(168))/9*(-parseInt(e(138))/10)+parseInt(e(129))/11+-parseInt(e(134))/12*(parseInt(e(172))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(173)](){return jr(161)}static get[jr(171)](){return!0}static get[jr(125)](){return!0}static get[jr(167)](){return[kr,Cr]}[jr(150)](){const t=jr,e=this[t(128)],i=e[t(164)][t(154)](kr),n=e[t(164)][t(154)](Cr);e.ui[t(143)][t(156)](t(162),(i=>{const n=t,r=new En.ButtonView(i);return r[n(157)]({label:Qi(i,n(144)),icon:qi.icons[n(140)],withText:!0,tooltip:!0,class:n(141)}),this[n(153)](r,n(126),(()=>{const t=n;e[t(163)][t(154)](t(165))[t(135)]()})),r})),e.ui[t(143)][t(156)](t(149),(i=>{const n=t,r=new En.ButtonView(i);return r[n(157)]({label:Qi(i,n(176)),withText:!0,tooltip:!0}),r[n(159)](n(169)).to(e[n(155)][n(154)](n(149))),this[n(153)](r,n(126),(()=>e[n(126)](n(149)))),r})),e.ui[t(143)][t(156)](t(139),(n=>{const r=t,s=new Ar(n),o=e[r(155)][r(154)](r(145)),a=e[r(155)][r(154)](r(146));return s[r(159)](r(170)).to(o,r(169)),s[r(159)](r(137)).to(a,r(169)),s[r(159)](r(151),r(130),r(158),r(136)).to(i),this[r(153)](s,r(126),((t,i)=>{const n=r;e[n(126)](n(160)===i?n(146):n(145))})),s})),n[t(132)](),i.on(t(174),((e,i,r)=>{const s=t;r?n[s(152)]():n[s(132)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().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=["clientWidth","scrollWidth","923106EfwEwX","_updateTooltipText","7883946TUooAr","_resizeObserver","ck-revision-history-sidebar__revision-name","set","ck-tooltip_multi-line","extendTemplate","fieldView","destroy","6iqKrTZ","Enter the revision name","Revision name","_tooltipString","placeholder","render","5724975OLEkcI","580844jetckv","bindTemplate","input","603915xjhhfs","581oWCoPk","listenTo","element","6248736PsJXCB","span","value","58992mPWYsu"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=179]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(688238===parseInt(e(186))/1+parseInt(e(196))/2*(-parseInt(e(206))/3)+-parseInt(e(183))/4+parseInt(e(182))/5+parseInt(e(198))/6+-parseInt(e(187))/7*(parseInt(e(193))/8)+-parseInt(e(190))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(199)]=null;const n=this[i(184)];this[i(201)]({label:Qi(t,i(208)),_tooltipString:""}),this[i(204)][i(180)]=Qi(t,i(207)),this[i(203)]({tag:i(191),attributes:{class:[i(200)],"data-cke-tooltip-text":n.to(i(179)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(202)}})}[Ur(181)](){const e=Ur;super[e(181)](),this[e(199)]=new t.ResizeObserver(this[e(204)][e(189)],(()=>this[e(197)]())),this[e(188)](this[e(204)],e(185),(()=>this[e(197)]()))}[Ur(205)](){const t=Ur;super[t(205)](),this[t(199)]&&this[t(199)][t(205)]()}[Ur(197)](){const t=Ur,e=this[t(204)][t(189)];this[t(179)]=e[t(195)]>e[t(194)]&&e[t(192)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["ck-revision-history-sidebar__revision-author","0 0 11 10","2246316yYJamR","ck-revision-history-sidebar__revision-author_creator","2797972webqHL","4758064zrVCJa","setTemplate","1lhyLrZ","name","push","span","set","11552712vGBevD","ck-revision-history-sidebar__revision-author__name","8272434XSqIBQ","Revision creator","Revision author","8410871OULgTQ","678625FuNpLx"];return(Yr=function(){return t})()}function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=Jr,i=t();for(;;)try{if(822832===parseInt(e(439))/1*(-parseInt(e(436))/2)+-parseInt(e(434))/3+-parseInt(e(437))/4+parseInt(e(431))/5+parseInt(e(427))/6+parseInt(e(430))/7+parseInt(e(425))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends En.View{constructor(t,e,i){const n=Jr;super(t);const r=new En.IconView;r[n(443)]({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(433)});const s=["ck",n(432)];i&&s[n(441)](n(435));const o=[{tag:n(442),attributes:{class:["ck",n(426)],title:Qi(t,n(i?428:429))},children:[r,e[n(440)]]}];this[n(438)]({tag:"li",attributes:{class:s},children:o})}}function Xr(){var t=["694490WGFJFn","long","numeric","1322212gXEITZ","337878VDfEYI","365991xfsLgJ","toLocaleTimeString","2871415IbtyHi","3114244TfRHHC","3831642jCjKrh","toLocaleDateString"];return(Xr=function(){return t})()}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=188]})(t,e)}!function(t){for(var e=Kr,i=t();;)try{if(436215===-parseInt(e(189))/1+parseInt(e(193))/2+parseInt(e(194))/3+parseInt(e(192))/4+-parseInt(e(196))/5+parseInt(e(198))/6+parseInt(e(197))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=256]})(t,e)}function is(){const t=["6350nUVfKR","menu","add","isReady","first","11199840WgUaus","ck-on","execute","name","menuitem","bind","source","threeVerticalDots","_action","7237566JZMUgl","button","model","listenTo","locale","stopPropagation","Restore this revision","Show more items","1946465pwwTAC","bindTemplate","class","3215194XJHECR","isVisible","Compare against selected","extendTemplate","map","18UOkcBk","function","66303CuLLss","children","buttonView","items","3XeVoRd","ck-revision-history-sidebar__revision__actions","isOpen","listView","set","1071902hVwXRl","panelPosition","find","change:isActionsDropdownOpen","action","isActionsDropdownOpen","Name this revision","1396876IcTxMi","isEnabled"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(847490===-parseInt(e(282))/1+parseInt(e(266))/2*(-parseInt(e(277))/3)+-parseInt(e(289))/4+parseInt(e(263))/5*(-parseInt(e(271))/6)+-parseInt(e(305))/7+parseInt(e(296))/8+-parseInt(e(273))/9*(-parseInt(e(291))/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=Pn().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-=281]})(t,e)}function as(){const t=["17012FXBOmk","creator","ck-revision-history-sidebar__revision-authors","filter","setTemplate","3DQEwJR","ck-revision-history-sidebar__revision__date","2371210otPuin",".ck-thread__remove-confirm","value","fieldView","map","listenTo","srcElement","ck-revision-history-sidebar__revision_selected","isConfirm","extendTemplate","3356367juEFRa","setName","revisionActionsView","ck-revision-history-sidebar__revision_highlighted","81cXNxIs","bind","3102372XlRTwI","deselect","isEnabled","ck-revision-history-sidebar__revision","div","isActionsDropdownOpen","unshift","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision__controls-wrapper","ck-disabled","fire","_createdAtFormatted","ck-reset","isSelected","bindTemplate","createdAt","highlight","from","_revision","553195zdyIcr","isReady","3410816rGBati","span","change","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","552124jAxIjz","length","authors","isHighlighted","ck-revision-history-sidebar__revision-wrapper","select","_requireRevisionName","595baCVXv","closest","220","name","render","unhighlight","element","uiLanguage"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(388044===-parseInt(e(338))/1+parseInt(e(345))/2*(-parseInt(e(300))/3)+-parseInt(e(295))/4*(-parseInt(e(287))/5)+-parseInt(e(318))/6+-parseInt(e(312))/7+-parseInt(e(340))/8+-parseInt(e(316))/9*(-parseInt(e(302))/10))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(333)],a=function(t,e){const i=s,n=Array[i(336)](e[i(282)])[i(298)]((t=>t!=e[i(296)]));return e[i(296)]&&n[i(324)](e[i(296)]),n[i(306)]((n=>new Gr(t,n,n==e[i(296)])))}(e,i);this.id=i.id,this[s(337)]=i,this[s(286)]=r,this[s(317)](s(290),s(334)).to(i),this[s(317)](s(330)).to(this,s(334),(t=>{return i=e[s(294)],(n=t)[(r=Kr)(188)](i,{month:r(190),day:r(191)})+", "+n[r(195)](i,{hour:r(191),minute:r(191)});var i,n,r})),this[s(344)](s(332),!1),this[s(344)](s(283),!1),this[s(344)](s(323),!1),this[s(344)](s(339),!1),this[s(344)](s(320),!1),this[s(325)]=new $r(e,En.createLabeledInputText),this[s(325)][s(305)][s(311)]({attributes:{maxlength:s(289)}}),this[s(325)][s(305)][s(317)](s(304)).to(this,s(290),(t=>t||this[s(330)])),this[s(325)][s(317)](s(320)).to(this,s(332),this,s(320),((t,e)=>t&&e)),this[s(314)]=n&&n[s(281)]?function(e,i){const n=es,r=e[n(264)],s=e[n(259)],o=(0,En.createDropdown)(s);o[n(283)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(259)],r={"Compare against selected":Qi(n,i(268)),"Name this revision":Qi(n,i(288)),"Restore this revision":Qi(n,i(261))};return e[i(270)]((t=>{const e=i,n=r[t[e(299)]];return n&&n!==t[e(299)]&&(t[e(299)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(256),model:new En.ViewModel({label:t[r(299)],class:t[r(265)],withText:!0,role:r(300),_action:t[r(286)]})};i[r(257)][r(301)](r(290)).to(e,r(287),(i=>r(272)!=typeof t[r(290)]||!i||t[r(290)](e))),o[r(293)](i)}return o}(e,i);return e[n(301)](n(287)).to(o,n(279)),o[n(275)][n(281)]({label:Qi(s,n(262)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(303)]}),o[n(269)]({attributes:{class:[n(278),r.if(n(287),n(297))]},on:{click:r.to((t=>t[n(260)]()))}}),o.on(n(298),(t=>{const i=n;e[i(294)]&&i(272)==typeof t[i(302)][i(304)]&&t[i(302)][i(304)](e)})),(0,En.addListToDropdown)(o,a,{role:n(292)}),o[n(258)](e,n(285),((t,r,s)=>{const a=n;if(s)for(const t of o[a(280)][a(276)]){const n=t[a(274)][a(295)],r=i[a(284)]((t=>t[a(286)]===n[a(304)]))[a(267)];t[a(267)]=void 0===r||r(e)}})),o}(this,n):"",this[s(314)]&&this[s(314)][s(317)](s(320)).to(this),this[s(299)]({tag:s(322),attributes:{class:["ck",s(331),s(284),o.if(s(310),s(343))]},children:[{tag:s(322),attributes:{class:["ck",s(331),s(321),o.if(s(320),s(328),(t=>!t)),o.if(s(332),s(309)),o.if(s(283),s(315)),o.if(s(323),s(326))]},children:[this[s(325)],{tag:s(341),attributes:{class:["ck",s(301)]},children:[{text:o.to(s(330))}]},{tag:s(322),attributes:{class:["ck",s(327)]},children:[{tag:"ul",attributes:{class:["ck",s(297)]},children:a}]},this[s(314)]],on:{click:o.to((t=>{const e=s;t[e(308)][e(288)](e(303))||this[e(339)]&&this[e(320)]&&this[e(329)](e(285),{id:this.id})}))}}]})}[ss(291)](){const t=ss;super[t(291)]();const e=this[t(325)][t(305)][t(293)];this[t(307)](e,t(342),(()=>{const i=t;this[i(286)]&&!e[i(304)]||this[i(329)](i(313),{id:this.id,name:e[i(304)]}),e[i(304)]||(e[i(304)]=this[i(290)]?this[i(290)]:this[i(330)])}))}[ss(285)](){this[ss(332)]=!0}[ss(319)](){this[ss(332)]=!1}[ss(335)](){this[ss(283)]=!0}[ss(292)](){this[ss(283)]=!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"},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},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let 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 Xs(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 Ks={};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=Ks[i];return n||(n=new Intl.NumberFormat(t,e),Ks[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Xo(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=Xs(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Ks={},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=Xs(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Xs(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 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)?No:Ao)[e-1]}function Eo(t,e){const i=ia(t)?No:Ao,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 Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=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 Xo(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ko(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}${Xo(i,2)}:${Xo(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Xo(i,2)}${Xo(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:Ms,TTTT:Vs,f:Es,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return 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 Xo(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 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]]=Ko(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Ko(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(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 Xa={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ka(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Ko(e)):Ko(e),month:va.indexOf(i)+1,day:Ko(n),hour:Ko(r),minute:Ko(s)};return o&&(a.second=Ko(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=Ka(e,r,n,i,s,o,a);let f;return f=c?Xa[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[Ka(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Va(/(\d{4})-?(\d{3})/,Pa),uc=Va(La),lc=Ea((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=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea($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 Da(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 Da(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 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=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.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=Nc.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Nc.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=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(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):Nc.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:$o(),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(Nc.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=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 Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const 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 Xc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Kc(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=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+=Xo(t.c.year,i?6:4),e?(n+="-",n+=Xo(t.c.month),n+="-",n+=Xo(t.c.day)):(n+=Xo(t.c.month),n+=Xo(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Xo(t.c.hour);return e?(o+=":",o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Xo(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Xo(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Xo(Math.trunc(-t.o/60)),o+=":",o+=Xo(Math.trunc(-t.o%60))):(o+="+",o+=Xo(Math.trunc(t.o/60)),o+=":",o+=Xo(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(Xc(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:Xc(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(Xc(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(Xc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=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?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return 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 $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?Kc(this).weekYear:NaN}get weekNumber(){return this.isValid?Kc(this).weekNumber:NaN}get weekday(){return this.isValid?Kc(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(Xc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,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=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 As}static get TIME_24_SIMPLE(){return Ns}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 Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su,n=wu[i(221)](t)[i(222)](e),r=wu[i(205)](),s=r[i(215)]({days:1})[i(225)](i(216));let o,a;return n[i(214)](r,i(216))?(o=n[i(225)](i(216))[i(213)](),a=n[i(224)]()):n[i(214)](s,i(216))?(o=s[i(213)](),a=n[i(224)]()):n[i(214)](r,i(227))?(o=n[i(225)](i(227))[i(213)](),a=n[i(228)]||""):n[i(214)](r,i(204))?(o=n[i(225)](i(210))[i(213)](),a=n[i(217)]||""):(o=n[i(225)](i(204))[i(213)](),a=String(n[i(204)])),{startDate:o,localizedPeriodName:a}}function Su(t,e){const i=Ou();return(Su=function(t,e){return i[t-=204]})(t,e)}function Ou(){const t=["day","monthLong","476sMRBiq","1397ccWvRM","921PegrDj","fromJSDate","setLocale","920bSSgpE","toRelativeCalendar","startOf","39258bcKXQz","week","weekdayLong","year","local","155yiHMnj","410093INswsr","115530kqwSce","3908XOkBGF","month","3283884CBGmzq","4086355cZAlFz","toJSDate","hasSame","minus"];return(Ou=function(){return t})()}!function(t){const e=Su,i=t();for(;;)try{if(351574===-parseInt(e(207))/1+parseInt(e(209))/2*(parseInt(e(220))/3)+-parseInt(e(218))/4*(parseInt(e(206))/5)+parseInt(e(211))/6+parseInt(e(212))/7+parseInt(e(223))/8*(parseInt(e(226))/9)+parseInt(e(208))/10*(-parseInt(e(219))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().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=Ru();return(Nu=function(t,e){return i[t-=184]})(t,e)}function Ru(){const t=["revisionViews","startDate","13661qoujWy","_revisionActions","46zoBBjn","div","uiLanguage","setTemplate","7sqzMfZ","select","ck-revision-history-sidebar__time-period__label","add","locale","2366748NNLLVO","span","ck-revision-history-sidebar__time-period","remove","3268023ZAyExb","removeRevision","1845784hDvVJj","addRevision","492540epyWXg","createCollection","delegate","6079203xsxvTV","ck-revision-history-sidebar__time-period__revisions","setName","_requireRevisionName","find","localizedPeriodName","3478125jwlRHF"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(643066===parseInt(e(195))/1*(parseInt(e(197))/2)+parseInt(e(210))/3+-parseInt(e(206))/4+-parseInt(e(192))/5+parseInt(e(214))/6+parseInt(e(201))/7*(-parseInt(e(212))/8)+parseInt(e(186))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends En.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Iu(e,this[r(205)][r(199)])[r(191)];this[r(194)]=e,this[r(193)]=this[r(184)](),this[r(196)]=i,this[r(189)]=n,this[r(193)][r(185)](r(202)).to(this),this[r(193)][r(185)](r(188)).to(this),this[r(200)]({tag:r(198),attributes:{class:["ck",r(208)]},children:[{tag:r(207),attributes:{class:["ck",r(203)]},children:[{text:s}]},{tag:r(198),attributes:{class:["ck",r(187)]},children:this[r(193)]}]})}[Au(213)](t){const e=Au,i=new cs(this[e(205)],t,this[e(196)],this[e(189)]);this[e(193)][e(204)](i)}[Au(211)](t){const e=Au,i=this[e(193)][e(190)]((e=>e.id===t.id));this[e(193)][e(209)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().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-=238]})(t,e)}function Cu(){const t=["1632GjZcFY","setTemplate","3685023mdavvz","span","9595eyCwyg","div","ck-revision-history-sidebar__header__label","history","183FsczlU","36yJjEti","7864615VmghDK","14772emAsoh","2JjvHJj","669949ateYtm","content","ck-revision-history-sidebar__header","ck-reset_all","216587NfRuUP","24wIAFmi","1873540ZYuyyK","Revision history"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(412789===parseInt(e(241))/1*(-parseInt(e(240))/2)+-parseInt(e(257))/3*(parseInt(e(239))/4)+-parseInt(e(253))/5*(parseInt(e(249))/6)+-parseInt(e(245))/7*(parseInt(e(246))/8)+-parseInt(e(251))/9+parseInt(e(247))/10+parseInt(e(238))/11*(parseInt(e(258))/12))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(242)]=qi.icons[e(256)],this[e(250)]({tag:e(254),attributes:{class:["ck",e(244),e(243)]},children:[i,{tag:e(252),attributes:{class:["ck",e(255)]},children:[Qi(t,e(248))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["setName","8zqitgj","ck-rounded-corners","removeRevision","bindTemplate","timePeriodViews","revisionSelected","createCollection","ck-revision-history-sidebar","118438UqIrwK","selectRevision","unhighlight","_getTimePeriodViewByStartDate","highlightRevisions","isEnabled","delegate","1390788fYiWMO","_revisionActions","3TlltAj","ck-reset","highlight","addRevision","uiLanguage","flat","select","_removeRevision","getTime","revisionSetName","deselect","2570BULXTf","add","locale","1547161sUGOgz","div","222024OKNuyi","get","some","761850eZAVOZ","set","map","render","2228zhDAdz","59225mLdvbB","_addRevision","revisionViews","fire","ck-disabled","_requireRevisionName","remove","_revisions","createdAt","setTemplate","startDate","ck-revision-history-sidebar__timeline","find"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=435]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(202440===-parseInt(e(447))/1+parseInt(e(469))/2*(parseInt(e(478))/3)+parseInt(e(446))/4*(-parseInt(e(489))/5)+parseInt(e(439))/6+parseInt(e(437))/7+-parseInt(e(461))/8*(-parseInt(e(476))/9)+parseInt(e(442))/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(464)];this[r(465)]=this[r(467)](),this[r(465)][r(475)](r(484)).to(this),this[r(465)][r(475)](r(460)).to(this),this[r(454)]=e,this[r(477)]=i,this[r(452)]=n,this.on(r(484),((t,e)=>{const i=r;this[i(450)](i(466),e)})),this.on(r(460),((t,e)=>{const i=r;this[i(450)](i(487),e)})),this[r(443)](r(474),!1),this[r(456)]({tag:r(438),attributes:{class:["ck",r(479),r(462),r(468)]},children:[new ju(t),{tag:r(438),attributes:{class:["ck",r(458),s.if(r(474),r(451),(t=>!t))]},children:this[r(465)]}]})}[Pu(445)](){const t=Pu;super[t(445)]();for(const e of this[t(454)])this[t(448)](e);this[t(454)].on(t(435),((e,i)=>{this[t(448)](i)})),this[t(454)].on(t(453),((e,i)=>{this[t(485)](i)}))}get[Pu(449)](){const t=Pu;return this[t(465)][t(444)]((e=>e[t(449)][t(444)]((t=>t))))[t(483)]()}[Pu(470)](t){const e=Pu;for(const i of this[e(449)])t&&t.id===i.id?i[e(484)]():i[e(488)]()}[Pu(473)](t){const e=Pu;for(const i of this[e(449)])t[e(441)]((({id:t})=>t===i.id))?i[e(480)]():i[e(471)]()}[Pu(448)](t){const e=Pu,i=Iu(t[e(455)],this[e(436)][e(482)])[e(457)];let n=this[e(465)][e(440)](0);n&&n[e(457)][e(486)]()===i[e(486)]()||(n=new Mu(this[e(436)],i,this[e(477)],this[e(452)]),this[e(465)][e(435)](n)),n[e(481)](t)}[Pu(485)](t){const e=Pu,i=Iu(t[e(455)],this[e(436)][e(482)])[e(457)];this[e(472)](i)[e(463)](t)}[Pu(472)](t){const e=Pu;return this[e(465)][e(459)]((i=>i[e(457)][e(486)]()===t[e(486)]()))}}const Zu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=477]})(t,e)}function $u(){const t=["diff","revisionSelected","11118YMYdAz","highlightRevisions","appendChild","Compare against selected","31514qamtwu","requires","8HVsrjh","revisionViews","revisionHistory.revisionActions","135460LnIPHw","compare","isSelected","newRevisionId","action","fieldView","plugins","config","Restore this revision","165469YMMzNg","Name this revision","focus","render","getRevision","select","remove","3823641BSxPns","get","setName","add","isReady","getLaterVisibleRevision","ready","_handleRevisionSetName","restoreRevision","RevisionsSidebar","nameRevision","destroy","1675LzDhOA","_sidebarView","pluginName","_handleEditorDataReady","restoreRevisionCallback","listenTo","name","_createRevisionActions","isOfficialPlugin","locale","bind","compareAgainstSelected","30gsCeHT","revisionHistory","4604100uPnDwl","element","revisionHistory.requireRevisionName","string","init","_revisionViewer","assign","availableRevisionActions","getRevisionsInDiff","getIndex","timePeriodViews","revisionSetName","47619YdItUL","isVisible","_revisions","length","change:diff","_handleRevisionSelected","isPremiumPlugin","getEarlierVisibleRevision","_handleDiffChange","isEnabled","_revisionsRepository","editor","repository","80xyDfIY","selectRevision","revisionHistory.viewerSidebarContainer","data","map","defaultRevisionActions"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(554837===-parseInt(e(511))/1*(parseInt(e(499))/2)+parseInt(e(542))/3*(-parseInt(e(502))/4)+-parseInt(e(530))/5*(-parseInt(e(493))/6)+parseInt(e(497))/7*(parseInt(e(485))/8)+parseInt(e(518))/9+parseInt(e(544))/10+parseInt(e(556))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(532)](){return Zu(527)}static get[Zu(538)](){return!0}static get[Zu(478)](){return!0}static get[Zu(498)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(549)]=t[e(508)][e(519)](kr),this[e(482)]=this[e(549)][e(484)],this[e(531)]=null}[Zu(548)](){const t=Zu,e=this[t(482)][t(558)],i=this[t(537)](),n=this[t(483)][t(509)][t(519)](t(487));this[t(531)]=new Uu(this[t(483)][t(539)],e,i,this[t(483)][t(509)][t(519)](t(546))),this[t(531)].on(t(492),this[t(477)][t(540)](this)),this[t(531)].on(t(555),this[t(525)][t(540)](this)),this[t(531)][t(540)](t(481)).to(this[t(549)]),this[t(531)][t(554)].on(t(521),((e,i)=>{const n=t;i[n(500)].on(n(521),((t,e)=>{const i=n;e[i(540)](i(481),i(522)).to(this[i(549)])}))})),this[t(531)][t(514)](),this[t(535)](this[t(483)][t(488)],t(524),this[t(533)][t(540)](this)),this[t(535)](this[t(549)],t(560),this[t(480)][t(540)](this)),n[t(495)](this[t(531)][t(545)])}[Zu(529)](){const t=Zu;this[t(531)][t(545)][t(517)](),this[t(531)][t(529)]()}[Zu(533)](){const t=Zu,e=this[t(482)][t(515)](0);if(e){const i=this[t(482)][t(479)](e.id);this[t(549)][t(503)](e,i)}}[Zu(477)](t,e){const i=Zu,n=this[i(482)][i(515)](e.id),r=this[i(482)][i(479)](n.id);this[i(549)][i(503)](n,r)}[Zu(525)](t,e){const i=Zu;this[i(482)][i(515)](e.id)[i(520)](e[i(536)])}[Zu(480)](t,e,i){const n=Zu,r=this[n(482)][n(552)](i);r[n(559)]>2?(this[n(531)][n(494)](r),this[n(531)][n(486)](null)):(this[n(531)][n(494)]([]),this[n(531)][n(486)](r[0]))}[Zu(537)](){const t=Zu,e=this[t(483)],i=qu[t(551)],n=e[t(509)][t(519)](t(501))||qu[t(490)];if(n[t(559)])return n[t(489)]((n=>{const r=t,s=r(547)==typeof n?Object[r(550)]({},i[n]):n;return s[r(506)]=s[r(506)][r(540)](this,e),s[r(557)]&&(s[r(557)]=s[r(557)][r(540)](this,e)),s}))}}qu[Zu(490)]=[Zu(541),Zu(526),Zu(528)],qu[Zu(551)]={compareAgainstSelected:{name:Zu(496),action:({plugins:t},e)=>{const i=Zu,n=t[i(519)](kr),r=n[i(484)];let s=n[i(491)][i(505)],o=e.id;r[i(553)](s)>r[i(553)](o)&&([s,o]=[o,s]),n[i(503)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(519)](kr);return!(n[i(484)][i(552)](n[i(491)])[i(559)]>2||e[i(504)])}},restoreRevision:{name:Zu(510),action:(t,{id:e})=>{const i=Zu;t[i(509)][i(519)](i(543))[i(534)](e)},isVisible:({plugins:t},e)=>!!t[Zu(519)](kr)[Zu(484)][Zu(523)](e.id)},nameRevision:{name:Zu(512),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(519)](kr),s=r[n(484)][n(479)](e);r[n(503)](e,s),i[n(513)](),i[n(507)][n(516)]()}}};const Bu=qu,Yu=Gu;function Ju(){const t=["2FtQzTQ","284640hlWmya","toolbar","get","21aiBwHA","focusTracker","3217353lycNTK","attachDomRoot","14444148CflYvR","stickyPanel","558122lNFnRb","replace","detachDomRoot","287416Bybuwa","restore","document","addToolbar","bind","editable","getRoot","name","componentFactory","9785030tqMuNV","render","_elementReplacer","fire","editing","viewportOffset","57764MHVqZH","ready","viewportTopOffset","config","element","fillFromConfig","setEditableElement","207lAbpay","view","505zlHudO","limiterElement","isActive","_view","editor","rootName","destroy","_toolbarConfig","isFocused","_initToolbar","init","11TgZHAn"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(759329===-parseInt(e(187))/1*(parseInt(e(177))/2)+parseInt(e(183))/3+-parseInt(e(156))/4*(-parseInt(e(165))/5)+-parseInt(e(178))/6*(-parseInt(e(181))/7)+parseInt(e(190))/8*(parseInt(e(163))/9)+-parseInt(e(199))/10+-parseInt(e(176))/11*(parseInt(e(185))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Xu extends En.EditorUI{get[Yu(164)](){return this[Yu(168)]}constructor(e,i){const n=Yu;super(e),this[n(168)]=i,this[n(172)]=(0,En.normalizeToolbarConfig)(e[n(159)][n(180)](n(179))),this[n(152)]=new t.ElementReplacer}get[Yu(160)](){const t=Yu;return this[t(164)][t(160)]}[Yu(175)](t){const e=Yu,i=this[e(169)],n=this[e(164)],r=i[e(154)][e(164)],s=n[e(195)],o=r[e(192)][e(196)]();s[e(197)]=o[e(170)],n[e(200)]();const a=s[e(160)];this[e(162)](s[e(197)],a),n[e(195)][e(194)](e(173)).to(this[e(182)]),r[e(184)](a),this[e(152)][e(188)](t,this[e(160)]),this[e(174)](),this[e(153)](e(157))}[Yu(171)](){const t=Yu;super[t(171)]();const e=this[t(164)],i=this[t(169)][t(154)][t(164)];this[t(152)][t(191)](),i[t(189)](e[t(195)][t(197)]),e[t(171)]()}[Yu(174)](){const t=Yu,e=this[t(164)];e[t(186)][t(194)](t(167)).to(this[t(182)],t(173)),e[t(186)][t(166)]=e[t(160)],e[t(186)][t(194)](t(158)).to(this,t(155),(({top:t})=>t)),e[t(179)][t(161)](this[t(172)],this[t(198)]),this[t(193)](e[t(179)])}}var Ku=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Ku.A,Qu);Ku.A&&Ku.A.locals&&Ku.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=343]})(t,e)}function il(){var t=["main","stickyPanel","5YBddaQ","toolbar","2280033VasTuO","7702BEChdc","editable","shouldToolbarGroupWhenFull","357488gRVqMZ","render","4015832LWfLTr","55xuZIXH","content","898200ZaHqik","add","_editable","top","4820682pqCBXg","2997495YVFqXd"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(833357===parseInt(e(358))/1*(parseInt(e(352))/2)+-parseInt(e(346))/3+parseInt(e(355))/4+parseInt(e(349))/5*(parseInt(e(345))/6)+parseInt(e(351))/7+parseInt(e(357))/8+-parseInt(e(360))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[tl(353)](){return this[tl(343)]}constructor(t,e,i={}){var n=tl;super(t),this[n(348)]=new En.StickyPanelView(t),this[n(350)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(354)]}),this[n(343)]=new En.InlineEditableUIView(t,e)}[tl(356)](){var t=tl;super[t(356)](),this[t(348)][t(359)][t(361)](this[t(350)]),this[t(344)][t(361)](this[t(348)]),this[t(347)][t(361)](this[t(353)])}}const rl=sl;function sl(t,e){const i=al();return(sl=function(t,e){return i[t-=449]})(t,e)}!function(t){const e=sl,i=t();for(;;)try{if(604346===parseInt(e(475))/1*(-parseInt(e(456))/2)+parseInt(e(469))/3+parseInt(e(453))/4+-parseInt(e(450))/5*(parseInt(e(460))/6)+-parseInt(e(457))/7+-parseInt(e(449))/8+parseInt(e(454))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(al);class ol extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(459)]}constructor(t,e){const i=sl;super(e),this[i(476)]=t,this[i(471)][i(465)][i(464)]();const n=new nl(this[i(458)],this[i(455)][i(468)],{shouldToolbarGroupWhenFull:!0});this[i(459)]=new Xu(this,n)}[rl(462)](){const t=rl;return this[t(461)](),this.ui[t(462)](),super[t(462)]()}static async[rl(472)](t,e){const i=rl,n=new this(t,e);return await n[i(466)](),await n.ui[i(451)](t),await n[i(473)][i(451)](n[i(470)][i(463)](i(452))||""),n[i(467)](i(474)),n}}function al(){const t=["1985706dTBrjf","editing","4lAZROG","148855GZGtFp","locale","_ui","558uYztzO","updateSourceElement","destroy","get","createRoot","document","initPlugins","fire","view","3609618soCuuI","config","model","create","data","ready","599099PMifmX","sourceElement","1982520AdjTOY","21985aGqDgY","init","initialData","4226820WXNIlX"];return(al=function(){return t})()}const cl=ul;function ul(t,e){const i=dl();return(ul=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(101507===-parseInt(e(424))/1*(parseInt(e(319))/2)+parseInt(e(348))/3*(-parseInt(e(320))/4)+-parseInt(e(366))/5*(-parseInt(e(422))/6)+-parseInt(e(286))/7*(parseInt(e(406))/8)+parseInt(e(330))/9*(parseInt(e(345))/10)+-parseInt(e(394))/11+-parseInt(e(287))/12*(-parseInt(e(302))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dl);const ll=[cl(344),cl(352)];class hl extends qi.Plugin{static get[cl(349)](){return cl(305)}static get[cl(307)](){return!0}static get[cl(358)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(385)]((t=>String[e(398)](t)))[e(340)]("")}super(t),this[e(314)]=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])})}}function dl(){const t=["result","isReady","RevisionViewer","enqueueChange","requires","34oUbhIu","19428QQMCCx","data","getAttributeKeys","saveRevision","exitToEditing","end","catch","Restored","enableReadOnlyMode","removeSelectionAttribute","36BhWuff","toolbar","rootName","refreshVisibility","_enhanceShowRevisionViewerCallback","getRevisionData","fromVersion","RevisionsRepository","creator","none","join","then","toLocaleTimeString","removeAttribute","RevisionHistoryUI","235030QpwHzI","_getRevisionViewerEditorConfig","remove","57HzRyyx","pluginName","getMarkersGroup","closeRevisionViewerCallback","RestrictedEditingMode","uiLanguage","display","document","toLocaleDateString","setAttribute","isPremiumPlugin","indexOf","keys","block","addUser","removeMarker","revisionHistory.viewerEditorElement","save","5XcbHds","change","_closeRevisionViewer","config","insert","get","error","commands","addRoot","Users","revisionHistory.editorContainer","_restoreRevision","editor","getUser","Autosave","restoreRevision","init","translations","roots","map","RevisionHistory","Dialog","create","_recalculatePageBreaks","has","showRevisionViewerCallback","style","isAttached","1254462OElIte","revisionHistory.restoreRevisionCallback","createdAt","define","fromCharCode","isReadOnly","repository","getRoot","revisionHistory","detachRoot","revisionHistory.closeRevisionViewerCallback","revision-history-missing-configuration","20520JEMjVA","update","RevisionTracker","name","locale","revision-history-viewer-opened","includes","getRevision","refreshPositioning","PaginationLookup","selection","Annotations","isAnonymous","getRevisionRootsAttributes","adapter","set","303222DCbCyZ","toVersion","4201QRdPos","long","plugins","createRangeIn","destroy","from","_enhanceCloseRevisionViewerCallback","lazyRoots","$graveyard","disableReadOnlyMode","427spmgRZ","938796JbEPlY","numeric","parse","isOpen","setSelection","users","bind","hide","changesNavigation","_viewerEditor","_update","model","revisionHistory.viewerContainer","addRevisionData","toJSON","65GPuIZh","isEnabled","_showRevisionViewer","RevisionViewerIntegration","revisionHistory.showRevisionViewerCallback","isOfficialPlugin","revisionHistory.requireRevisionName","restrictedEditingException","_cleanUp","getRevisions","markers","push"];return(dl=function(){return t})()}class fl extends qi.Plugin{static get[cl(349)](){return cl(386)}static get[cl(307)](){return!0}static get[cl(358)](){return!0}static get[cl(318)](){return[On,tr]}constructor(e){const i=cl;if(super(e),!this[i(378)][i(369)][i(371)](i(402)))throw new t.CKEditorError(i(405),this);this[i(296)]=null,this[i(378)][i(369)][i(397)](i(306),(t=>this[i(304)]({...t,translations:this[i(378)][i(410)][i(383)]}))),this[i(378)][i(369)][i(397)](i(404),(t=>this[i(368)](t))),this[i(378)][i(369)][i(397)](i(395),(t=>this[i(377)](t))),this[i(378)][i(369)][i(397)](i(308),!1),this[i(334)](),this[i(430)]()}set[cl(420)](t){const e=cl;this[e(378)][e(426)][e(371)](e(408))[e(420)]=t}get[cl(420)](){const t=cl;return this[t(378)][t(426)][t(371)](t(408))[t(420)]}[cl(300)](t){const e=cl;return this[e(378)][e(426)][e(371)](e(408))[e(300)](t)}[cl(413)](t){const e=cl;return this[e(378)][e(426)][e(371)](e(337))[e(413)](t)}[cl(311)](t){const e=cl;return this[e(378)][e(426)][e(371)](e(337))[e(311)](t||{toJSON:!1})}[cl(346)](){const e=cl,i=this[e(378)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(426)][e(371)](e(408)),s=i[e(426)][e(371)](e(375))[e(292)];return n[e(331)]=[e(324),e(381),e(295)],delete n[e(283)],n[e(426)][e(313)](hl,kr,Pr,class extends qi.Plugin{static get[e(318)](){return[kr,e(375)]}[e(382)](){const n=e,o=this[n(378)][n(426)][n(371)](n(375));for(const t of s)t[n(418)]||o[n(379)](t.id)||o[n(362)](t);const a=r[n(400)][n(311)]();let c=null;const u=this[n(378)][n(426)][n(371)](n(316));u[n(420)]=r[n(420)],u[n(293)](n(303)).to(r),this[n(378)][n(373)][n(371)](n(381))[n(293)](n(303)).to(i,n(399),(t=>!t));for(const e of a){const i=null===e[n(338)];if(i&&e[n(423)]===e[n(336)])continue;const s=e[n(301)]();u[n(300)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(297)](s,o);else if(!o){const e=a[u(301)]();e.id=(0,t.uid)(),r[u(323)](e,a[u(423)])[u(341)]((t=>{c=t}))}}else e[u(297)](s,o)}))}}},Bu),n}[cl(334)](){const t=cl,e=this[t(378)][t(369)][t(371)](t(402))[t(391)];this[t(378)][t(369)][t(421)](t(306),(async()=>{const i=t;this[i(378)][i(328)](i(411));const n=this[i(378)][i(426)][i(371)](i(408));if(this[i(378)][i(426)][i(390)](i(380))){const t=this[i(378)][i(426)][i(371)](i(380));await t[i(365)]()}else await n[i(407)]();if(this[i(378)][i(426)][i(390)](i(415))&&this[i(378)][i(426)][i(371)](i(415))[i(389)](),this[i(378)][i(426)][i(390)](i(387))){const t=this[i(378)][i(426)][i(371)](i(387));t[i(290)]&&t[i(294)]()}const r=this[i(346)]();return e(r)[i(341)]((t=>{const e=i;return this[e(296)]=t,this[e(378)][e(426)][e(390)](e(417))&&this[e(378)][e(426)][e(371)](e(417))[e(333)](),t}))[i(326)]((t=>(console[i(372)](t),this[i(378)][i(285)](i(411)),null)))}))}[cl(430)](){const t=cl,e=this[t(378)][t(369)][t(371)](t(402))[t(351)];this[t(378)][t(369)][t(421)](t(404),(()=>(this[t(378)][t(426)][t(390)](t(415))&&this[t(378)][t(426)][t(371)](t(415))[t(389)](),this[t(296)][t(426)][t(371)](t(316))[t(310)](),e(this[t(296)])[t(341)]((()=>{const e=t;if(this[e(378)][e(285)](e(411)),this[e(296)]=null,this[e(378)][e(426)][e(390)](e(417))){const t=this[e(378)][e(426)][e(371)](e(417));t[e(333)](),t[e(414)]()}})))))}[cl(304)](t){const e=cl,i=this[e(378)][e(369)][e(371)](e(376)),n=this[e(378)][e(369)][e(371)](e(299)),r=this[e(378)][e(369)][e(371)](e(364));return ol[e(388)](r,t)[e(341)]((t=>(n[e(392)][e(354)]=e(361),i[e(392)][e(354)]=e(339),t)))}[cl(368)](t){const e=cl,i=this[e(378)][e(369)][e(371)](e(376));return this[e(378)][e(369)][e(371)](e(299))[e(392)][e(354)]=e(339),i[e(392)][e(354)]="",t[e(428)]()}async[cl(377)](t){const e=cl,i=this[e(378)],n=this[e(296)][e(426)][e(371)](e(316)),r=i[e(426)][e(371)](e(408)),s=n[e(400)][e(413)](t);let o,a,c;try{o=await n[e(335)](s),a=await n[e(419)](s)}catch(t){return void console[e(372)](t)}i[e(298)][e(367)]((t=>{const n=e;for(const e of Array[n(429)](i[n(298)][n(312)][n(350)](n(309))))t[n(363)](e)})),n[e(315)]=!1,i[e(298)][e(317)]((t=>{const n=e;t[n(291)](null),t[n(329)](i[n(298)][n(355)][n(416)][n(322)]());const r=Object[n(360)](o);for(const e of i[n(298)][n(355)][n(384)])n(284)!=e[n(332)]&&e[n(393)]()&&!r[n(412)](e[n(332)])&&t[n(403)](e);for(const e of r){let r=i[n(298)][n(355)][n(401)](e);r&&r[n(393)]()||(r=t[n(374)](e));const s=a[e],c=Object[n(360)](s),u=o[e];for(const e of r[n(322)]())c[n(412)](e)||t[n(343)](e,r);for(const i of c)t[n(357)](i,a[e][i],r);t[n(347)](t[n(427)](r)),t[n(370)](i[n(321)][n(289)](u,r),r,0)}}));const u=Qi(i[e(410)],e(327));return c=s[e(409)]?-1==s[e(409)][e(359)](u)?u+": "+s[e(409)]:s[e(409)]:u+": "+s[e(396)][e(356)](i[e(410)][e(353)],{month:e(425),day:e(288)})+", "+s[e(396)][e(342)](i[e(410)][e(353)],{hour:e(288),minute:e(288)}),await r[e(323)]({name:c}),n[e(315)]=!0,i[e(369)][e(371)](e(402))[e(351)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=333]})(t,e)}function pl(){var t=["1537182UKaPxN","4lIjxnx","10tbvGpm","467310ioxUqh","7FQrBpL","4674680bXLbZn","92498QZSXuR","40hXSuys","2128410ygksfC","3093408UcRLNQ","19939062JeBrGM"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(588244===-parseInt(e(337))/1*(-parseInt(e(343))/2)+parseInt(e(339))/3+parseInt(e(338))/4*(-parseInt(e(334))/5)+parseInt(e(342))/6*(-parseInt(e(335))/7)+-parseInt(e(336))/8+-parseInt(e(340))/9*(parseInt(e(333))/10)+parseInt(e(341))/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:()=>Hi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,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 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 M=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 E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,q=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(M(t)?q:P).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const $=function(t,e){var i=H(t,e);return Z(i)?i:void 0};const B=$(k,"Map");const Y=$(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=G,it.prototype.delete=J,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=$(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==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 Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[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,qt=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||qt&&qt.binding&&qt.binding("util")}catch(t){}}();var Ht=Zt&&Zt.isTypedArray;const $t=Ht?zt(Ht):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&$t(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return 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=$(k,"DataView");const Ne=$(k,"Promise");const Re=$(k,"Set");const Me=$(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Pe=F(B),Le=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ne&&Ue(Ne.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=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 Ee;case Le:return Ve;case ze:return De;case We:return Ce}return e});const qe=Ue;var Ze=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const $e=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new $e(e).set(new $e(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Je(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==qe(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==qe(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=He(e),!c)return me(e,a)}else{var d=qe(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]"==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 Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Li(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(){const t=["fire","261735oIZoHn","name","1478224wNeKeO","toJSON","7TxdEAB","authorsIds","removeAttribute","attributes","createdAt","authors","7121323sBmNSr","creatorId","diffData","38qoZgIJ","1755736clAGGo","set","235TrmeOT","creator","110vLwCoO","_update","158334nOylIa","setName","setAttribute","6447600jlpTls","map","toVersion","17170452kbZJti","fromVersion"];return(Ui=function(){return t})()}const qi=Zi;function Zi(t,e){const i=Ui();return(Zi=function(t,e){return i[t-=107]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(994034===parseInt(e(118))/1+-parseInt(e(129))/2*(-parseInt(e(116))/3)+parseInt(e(110))/4+-parseInt(e(132))/5*(-parseInt(e(107))/6)+parseInt(e(120))/7*(parseInt(e(130))/8)+parseInt(e(113))/9+parseInt(e(134))/10*(-parseInt(e(126))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ui);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(133)]=e[i(133)]||null,this[i(125)]=e[i(125)]||[],this[i(128)]=e[i(128)]||null,this[i(112)]=e[i(112)]||0,this[i(114)]=e[i(114)]||0,this[i(131)](i(117),e[i(117)]||""),this[i(131)](i(124),e[i(124)]||new Date),this[i(131)](i(123),e[i(123)]||{})}[qi(108)](t){this[qi(135)]({name:t})}[qi(109)](t,e){const i=qi,n=vi(this[i(123)]);Ci(n,t,e),this[i(135)]({attributes:n})}[qi(122)](t){const e=qi,i=vi(this[e(123)]);Wi(i,t),this[e(135)]({attributes:i})}[qi(135)](t,e=!1){const i=qi;let n=!1;const r={id:this.id},s=[i(117),i(124),i(128),i(125),i(123),i(112),i(114),i(127)];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(125)]&&(r[i(121)]=r[i(125)][i(111)]((t=>t.id)),delete r[i(125)]),this[i(115)](i(135),r,e))}[qi(119)](){const t=qi;return{id:this.id,name:this[t(117)],creatorId:this[t(133)]?this[t(133)].id:null,authorsIds:this[t(125)][t(111)]((t=>t.id)),diffData:this[t(128)],createdAt:this[t(124)],attributes:this[t(123)],fromVersion:this[t(114)],toVersion:this[t(112)]}}}var $i=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-=451]})(t,e)}function Ki(){const t=["fromCharCode","authorsIds","requires","getRevisions","addRevision","16zITxEg","getRevision","222hosxhI","href","572412qgWwfS","getRevisionsInDiff","afterInit","2103639jvKgZi","from","earlier","isOfficialPlugin","isNaN","_revisions","Users","getIndex","add","617806POqwTg","newRevisionId","oldRevisionId","RevisionsRepository","1hKdDHb","getLaterVisibleRevision","272056CUlJTB","561oequlG","diffData","plugins","later","name","getRevisionsIterator","attributes","33360cVbxQU","612pnWNWa","data","reverse","map","getUser","editor","createRevision","55548OHwgAo","push","isPremiumPlugin","pluginName","fromVersion","join","get","getEarlierVisibleRevision","createdAt","length","toJSON","creatorId","toVersion","16735fzYoyk"];return(Ki=function(){return t})()}!function(t){const e=Ji,i=t();for(;;)try{if(993525===-parseInt(e(453))/1*(-parseInt(e(494))/2)+parseInt(e(497))/3+parseInt(e(455))/4+parseInt(e(484))/5*(parseInt(e(492))/6)+-parseInt(e(506))/7*(parseInt(e(490))/8)+parseInt(e(464))/9*(parseInt(e(463))/10)+parseInt(e(456))/11*(-parseInt(e(471))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends $i.Plugin{static get[Gi(487)](){return[Bi.Users]}static get[Gi(474)](){return Gi(452)}static get[Gi(500)](){return!0}static get[Gi(473)](){return!0}get[Gi(480)](){const t=Gi;return this[t(502)][t(480)]}constructor(e){const i=Gi;super(e),this[i(502)]=new t.Collection}[Gi(496)](){!async function(e){const i=k([122,85,49,86,117,115,89,71,118,104,110,107,69,114,101,112,120,116,111,80,105,77,67,108,68,54,70,78,87,100,73,83,90,99,121,119,88,102,98,66,50,53,82,79,106,75,57,103,55,72,74,81,113,65,52,84,109,48,97,76,56,51]),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(501)](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([122]);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(467)]((t=>String[e(485)](t)))[e(476)]("")}!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=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(493)]);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(470)](t){const e=Gi,i=this[e(469)][e(458)][e(477)](e(503));return new Hi({id:t.id,name:t[e(460)],creator:t[e(482)]?i[e(468)](t[e(482)]):null,diffData:t[e(457)]||t[e(465)],authors:t[e(486)][e(467)]((t=>i[e(468)](t))),createdAt:new Date(t[e(479)]),attributes:t[e(462)],fromVersion:t[e(475)],toVersion:t[e(483)]})}[Gi(489)](t,e=0){const i=Gi;this[i(502)][i(505)](t,e)}[Gi(491)](t){const e=Gi;return this[e(502)][e(477)](t)}[Gi(488)](t={toJSON:!1}){const e=Gi,i=Array[e(498)](this[e(502)]);return i[e(466)](),t[e(481)]?i[e(467)]((t=>t[e(481)]())):i}[Gi(504)](t){const e=Gi;return this[e(502)][e(504)](t)}[Gi(478)](t){const e=Gi,[,i]=this[e(461)](t,{direction:e(499)});return i}[Gi(454)](t){const e=Gi,[,i]=this[e(461)](t,{direction:e(459)});return i}[Gi(495)](t){const e=Gi,i=[];for(const n of this[e(461)](t[e(507)]))if(i[e(472)](n),n.id===t[e(451)])break;return i}*[Gi(461)](t,{direction:e=Gi(499),filter:i=()=>!0}={}){const n=Gi,r=n(499)===e?1:-1;let s=this[n(502)][n(477)](t),o=this[n(504)](s);for(yield s;s;){if(o+=r,s=this[n(491)](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 $e(t),new $e(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn:qe(t),u=a?vn:qe(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||$t(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=135]})(t,e)}function Sn(){const t=["item","isAttached","authors","_createCurrentRevision","shift","vid_start","end","max","element","trim","RevisionHistory","_revisionId","locale","define","getMovedRangeStart","_baseRoots","_getState","fromVersion","rootsAttributes","nodes","text","Initial revision","7QdTGtP","addRootAttribute","_getVidAttributeName","nodeAfter","domainLimit","upcast","getLatestVersion","2146528ccATog","getCurrentRevisionId","_operations","_markChanges","Users","document","getTime","creatorId","getRevisionRootsAttributes","source","getNodeByPath","keepParagraph","createRange","_prepareViewToSave","createRevision","start","collaboration.channelId","RevisionsRepository","isAdd","createPositionFromPath","getOperation","createRangeIn","$graveyard","PENDING_ACTION_REVISION_HISTORY","_getViewJson","documentFragment","getAttribute","reverse","name","editing","saveRevision","add","dataToMarker","isReady","toData","4141662KSfLIg","type","requires","getIndex","revisionHistoryLicenseKeyValid","stringify","attachChange","some","startsWith","_update","701872bNBuUD","revision:","_idsRoots","revisionHistory.resumeUnsavedRevision","slice","_getPreviousFrom","_handleMarkerOperation","_savedMetaData","getAttributes","_execute","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyTrialLimit","NEGATIVE_INFINITY","$text","getChildren","335266QcAJGC","deletion","revisionHistoryLicenseKeyNotAllowed","push","54GgSGsO","stickiness","_isPendingUpdate","then","getTransformedByOperation","childCount","_touchedMarkers","processor","_setAttribute","offsetSize","updateRevisions","_initialRevisionId","isEqual","revision-start","featureNotAllowed","range","getOperations","_makeRevision","version","init","markerToData","addRevisionData","_processRootBeforeSave","sort","_calculateMetaData","toModel","has","elementEnd","_findInsertionIndex","includes","_bufferedUpdates","filter","key","isEnabled","isPremiumPlugin","_diffRoots","_createFromRanges","removeRootAttribute","licenseKey","_touchedRoots","_reset","_transformMarkers","_loadRevisionData","getRange","_fixPosition","editor-initial-data-replaced-with-revision-data","view","hasContent","loadState","_replaceEditorDataWithRevisionData","_pendingAction","_handleMoveOperation","adapter","insertion","vid_end","find","paragraph","roots","conversion","getRevisionDocumentData","trialLimit","vid","_showLicenseError","reinsert","initial","usageLimit","data","_removeMetaData","elementStart","clone","reInit","get","_fixOperation","_isInit","rootName","_handleSplitOperation","_licenseKeyCheckInterval","parse","_handleRootAttributeOperation","getData","_generateTape","move","values","_lastTo","_lastFrom","update","attributesBefore","bind","pluginName","offset","_insertChild","getChild","revisionHistoryLicenseKeyInvalid","addRoot","from","4626415PlUYhI","newRange","size","delete","getAncestors","splitPosition","setSource","_handleOperation","merge","for","finally","expired","insertionPosition","model","_clone","currentRevision","createPositionBefore","288504EpJlsf","config","revisionHistoryLicenseKeyUsageLimit","_createInitialRevision","_addPendingAction","length","oldRange","newValue","position","_markers","_startingRevisionId","markers","marked","getRoot","_touched","string","_source","default","ready","_makeIdsRoot","revision-end","detachRoot","_removeRevisionMarkers","toVersion","getRevision","_isAttached","getWalker","_getFromVersion","sendBufferedUpdates","setRevisionData","root","userId","RevisionTracker","buildRevisionData","path","getRootNames","diffData","baseVersion","initialData","insertions","getUser","invalid","_loadedStateData","_bufferUpdate","getRevisions","data-revision-","children","revisionHistoryLicenseKeyDomainLimit","insert","_setConversion","targetPosition","tableCell","_removePendingAction","_baseIdsRoots","attributes","evaluationLimit","addRevision","history","marker","changeRootAttribute","dataDowncast","revision","createPositionAt","_startingVersion","creator","15GvbWeo","_authorId","useFillerType","_getBaseVids","_baseRootsAttributes","destroy","_diffRootsAttributes","sourcePosition","map","forEach","revisionHistoryLicenseKeyExpired","3850230LVBFJh","PendingActions","toView","editor","deletions","_revisionDataBuilder","RealTimeCollaborationClient","keys","split","resolve","_fixRange","_handleMergeOperation","_makeModelFromViewString","howMany","_loadState","fromEntries","graveyardPosition","clear","set","previousPosition","_handleRootOperation","Empty document","isOfficialPlugin","_handleInsertOperation","createdAt","_continueCurrentRevision","repository","attributesAfter","parent","remove","_saveMetaData","_copyMarkers","_cloneOperation","_appendChild","plugins","createPositionAfter","afterInit","affectsData","authorsIds","_applyOperations"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(524939===parseInt(e(262))/1+parseInt(e(146))/2*(parseInt(e(327))/3)+-parseInt(e(452))/4+parseInt(e(245))/5+parseInt(e(442))/6+parseInt(e(400))/7*(parseInt(e(407))/8)+parseInt(e(150))/9*(-parseInt(e(338))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends $i.Plugin{static get[_n(238)](){return _n(294)}static get[_n(360)](){return!0}static get[_n(184)](){return!0}static get[_n(444)](){return[Bi.Users,Xi,$i.PendingActions]}constructor(e){const i=_n;super(e),this[i(202)]=null,this[i(260)]=null,this[i(343)]=new An(this[i(341)]),this[i(161)]=this[i(341)][i(263)][i(221)](i(423))||i(214),this[i(180)]=new Map,this[i(304)]=null;const n=(0,t.uid)();this[i(278)]={history:this[i(341)][i(258)][i(412)][i(319)],getLatestVersion:()=>Promise[i(347)](this[i(341)][i(258)][i(412)][i(168)]),getCurrentRevisionId:()=>n},this[i(356)](i(440),!1),this[i(356)](i(183),!0),this[i(356)](i(152),!1),this[i(341)][i(263)][i(391)](i(455),!0),this[i(341)][i(208)][i(254)](i(405))[i(439)]({view:i(323)})}[_n(169)](){const t=_n;this[t(364)]=this[t(341)][t(372)][t(221)](t(424)),this[t(311)](),this[t(341)][t(216)].on(t(280),(()=>{const e=t,i=this[e(364)][e(286)](0),n=i&&null===i[e(326)]?i:null;if(this[e(363)]=!!n&&this[e(341)][e(263)][e(221)](e(455)),this[e(341)][e(372)][e(176)](e(344))){const t=this[e(278)][e(408)](),r=this[e(364)][e(286)](t);if(r)this[e(325)]=r[e(395)],this[e(363)]=!1;else{const t=this[e(278)][e(319)][e(409)][e(205)]((t=>!t[e(223)])),r=t?t[e(299)]:this[e(278)][e(319)][e(168)];i?(i[e(285)]<r&&i[e(451)]({toVersion:r}),this[e(363)]?(this[e(278)][e(408)]=()=>n.id,this[e(325)]=n[e(395)]):(this[e(325)]=i[e(285)],this[e(363)]=!1)):(this[e(325)]=r,this[e(363)]=!1)}}else n&&(this[e(341)][e(258)][e(412)][e(319)][e(168)]=Math[e(385)](n[e(285)],this[e(341)][e(258)][e(412)][e(319)][e(168)]),n[e(395)]===n[e(285)]?(0!==n[e(395)]&&(this[e(278)][e(408)]=()=>n.id),this[e(363)]=!1):this[e(363)]&&(this[e(278)][e(408)]=()=>n.id,this[e(325)]=n[e(395)])),this[e(363)]||(this[e(325)]=this[e(341)][e(258)][e(412)][e(168)]);this[e(343)][e(169)](this[e(278)][e(319)]),this[e(265)](this[e(325)]),this[e(381)](this[e(325)]),this[e(202)]&&this[e(290)]()})),this[t(237)](t(440)).to(this,t(152),(t=>!t)),this[t(188)]=this[t(341)][t(263)][t(221)](t(188));const e=this[t(341)];this[t(226)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(446)==s||i(242)==s||i(337)==s||i(309)==s||i(148)==s||i(141)==s||i(142)==s||i(264)==s){delete e[r],n=s,clearInterval(this[i(226)]),this[i(226)]=void 0;break}}i(242)==n&&e[i(212)](i(303)),i(337)==n&&e[i(212)](i(256)),i(309)==n&&e[i(212)](i(404)),i(148)==n&&e[i(212)](i(164),i(388)),i(141)==n&&e[i(212)](i(317)),i(142)==n&&e[i(212)](i(210)),i(264)==n&&e[i(212)](i(215))}),1e3)}async[_n(374)](){const t=_n;if(this[t(364)][t(267)]>0){const e=this[t(364)][t(286)](0),i=await this[t(209)](e),n=await this[t(415)](e);this[t(199)](i,n)}}[_n(332)](){const t=_n;super[t(332)](),this[t(226)]&&clearInterval(this[t(226)])}[_n(251)](t){this[_n(278)]=t}async[_n(235)](){const t=_n,e=await this[t(278)][t(406)]();if(e>this[t(260)][t(285)]){await this[t(352)]();const i=this[t(295)]({revision:this[t(260)],to:e});i[t(380)]=i[t(376)][t(335)]((e=>this[t(341)][t(372)][t(221)](t(411))[t(302)](e))),this[t(260)][t(451)](i)}}async[_n(352)](){const t=_n;this[t(363)]&&!this[t(304)]&&(await this[t(192)](this[t(260)]),this[t(343)][t(198)](this[t(260)]),this[t(304)]={fromVersion:this[t(260)][t(395)],authors:this[t(260)][t(380)][t(135)]()})}async[_n(437)](e={},i=null){const n=_n,r=[];await this[n(352)](),this[n(363)]=!1,i>this[n(260)][n(285)]&&(i=null),null===i&&(i=await this[n(278)][n(406)]());const s=this[n(289)](i),o=this[n(295)]({from:s,to:i});if(this[n(260)][n(285)]<i){const t=this[n(295)]({revision:this[n(260)],from:i,to:i});t[n(380)]=[],t[n(376)]=[],t.id=this[n(260)].id,this[n(260)][n(451)](t,!0),delete t[n(380)],r[n(149)](t)}e[n(414)]=this[n(341)][n(372)][n(221)](n(411)).me.id,e[n(435)]=e[n(435)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(171)](e);r[n(149)](e);const c=this[n(364)][n(445)](a);if(0!==c){const t=this[n(364)][n(286)](c-1);if(t[n(395)]!==i){const s=this[n(343)][n(229)](i,t[n(285)]),o={id:t.id,diffData:s[n(298)],authorsIds:s[n(376)],authors:s[n(376)][n(335)]((t=>this[n(341)][n(372)][n(221)](n(411))[n(302)](t))),fromVersion:i};t===this[n(260)]&&(o[n(362)]=new Date(e[n(362)][n(413)]()+10)),t[n(451)](o,!0),delete o[n(380)],r[n(149)](o)}}if(this[n(202)]){for(const t of r)this[n(305)](t.id,t,!0);this[n(290)]()}return a}[_n(171)](t){const e=_n,i=this[e(364)][e(421)](t);return this[e(202)]&&i.on(e(451),((t,i,n)=>{const r=e;n||(this[r(305)](i.id,i,!0),this[r(290)]())})),this[e(364)][e(318)](i,this[e(178)](i)),i}async[_n(209)](t){const e=_n;await this[e(192)](t);const i={};for(const n in t[e(298)]){if(t[e(298)][n][e(448)]&&!t[e(298)][n][e(448)][e(379)])continue;const r=this[e(284)](JSON[e(227)](t[e(298)][n][e(301)])),s=this[e(341)][e(436)][e(196)][e(412)],o=new Yi.ViewDocumentFragment(s,r[e(335)]((t=>Tn(t,this[e(341)]))));this[e(341)][e(216)][e(157)][e(329)](e(274)),i[n]=this[e(341)][e(216)][e(157)][e(441)](o),this[e(341)][e(216)][e(157)][e(329)](e(279))}return i}async[_n(415)](t){const e=_n;await this[e(192)](t);const i={};for(const n in t[e(298)])t[e(298)][n][e(448)]&&!t[e(298)][n][e(448)][e(379)]||(i[n]=t[e(298)][n][e(365)]||{});return i}[_n(290)](){const t=_n;if(0===this[t(180)][t(247)])return;if(this[t(152)])return;let e=Array[t(244)](this[t(180)][t(232)]());this[t(180)][t(355)]();for(let i=0;i<e[t(267)];i++){const n=e[i];let r=!1;for(const e of Object[t(345)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(181)]((t=>null!==t)),!e[t(267)])return;for(let i=0;i<e[t(267)];i++){const n=e[i];void 0!==n[t(395)]&&void 0===n[t(285)]&&(n[t(285)]=this[t(364)][t(286)](n.id)[t(285)]),void 0!==n[t(285)]&&void 0===n[t(395)]&&(n[t(395)]=this[t(364)][t(286)](n.id)[t(395)])}const i=this[t(341)][t(263)][t(221)](t(423));this[t(152)]=!0,this[t(266)](),this[t(202)][t(160)](e,i)[t(255)]((()=>{this[t(152)]=!1}))[t(153)]((e=>{const i=t;if(e)for(const t of e)this[i(291)]({id:t.id,createdAt:t[i(362)]});this[i(314)](),this[i(290)]()}))}[_n(199)](e,i){const n=_n;let r=this[n(341)][n(263)][n(221)](n(300)),s=this[n(341)][n(263)][n(221)](n(396));if(void 0===r){r={};for(const t of this[n(341)][n(258)][n(412)][n(297)]())r[t]=""}if(n(277)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(341)][n(258)][n(412)][n(297)]())s[t]={}}let o=!1;const a=Object[n(345)](r),c=Object[n(345)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(387)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(345)](s[t])[n(267)]>0){o=!0;break}}o||(o=c[n(449)]((t=>!this[n(341)][n(258)][n(412)][n(275)](t)))),o&&(0,t.logWarning)(n(195),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(341)][n(263)][n(356)](n(300),e),this[n(341)][n(263)][n(356)](n(396),i)}[_n(266)](){const t=_n;if(!this[t(200)]){const e=this[t(341)][t(372)][t(221)](t(339));this[t(200)]=e[t(438)](Qi(this[t(341)][t(390)],t(430)))}}[_n(314)](){const t=_n;this[t(200)]&&(this[t(341)][t(372)][t(221)](t(339))[t(367)](this[t(200)]),this[t(200)]=null)}[_n(178)](t){const e=_n,i=this[e(364)][e(306)]();i[e(434)]();let n=0;for(;n<i[e(267)];){const r=i[n];if(r===this[e(260)]){n++;continue}if(r.id===this[e(161)])break;const s=t[e(285)]-r[e(285)]||t[e(395)]-r[e(395)];if(s>0)break;if(s<0)n++;else{if(!t[e(326)]&&r[e(326)])break;if(r[e(326)]||!t[e(326)]){if(t[e(362)]>r[e(362)])break;n++}else n++}}return n}[_n(291)](t){const e=_n,i=this[e(364)][e(286)](t.id);if(t[e(362)]&&(t[e(362)]=new Date(t[e(362)])),t[e(376)]){const i=this[e(341)][e(372)][e(221)](e(411));t[e(380)]=t[e(376)][e(335)]((t=>i[e(302)](t)))}i[e(451)](t,!0)}[_n(295)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(395)],i=null!==i?i:t[n(285)];const r=this[n(343)][n(229)](e,i),s={diffData:r[n(298)],authorsIds:r[n(376)],fromVersion:e,toVersion:i};if(!t||i!==t[n(285)]){const t=i-1,e=this[n(278)][n(319)][n(427)](t);s[n(362)]=e&&e[n(362)]||new Date}if(this[n(304)]&&e===this[n(304)][n(395)])for(const t of this[n(304)][n(380)])s[n(376)][n(179)](t.id)||s[n(376)][n(149)](t.id);return s}[_n(192)](t){const e=_n;if(!t||t[e(298)])return Promise[e(347)]();{const i=this[e(341)][e(263)][e(221)](e(423));return this[e(202)][e(286)]({channelId:i,revisionId:t.id})[e(153)]((i=>{const n=e;t[n(298)]=i[n(298)]}))}}[_n(305)](t,e,i){const n=_n;if(this[n(180)][n(176)](t)){const r=this[n(180)][n(221)](t);e=i?{...r,...e}:{...e,...r}}this[n(180)][n(356)](t,e)}[_n(289)](t){const e=_n,i=this[e(364)][e(306)]();i[e(434)](),i[e(382)]();const n=i[e(205)]((i=>i[e(285)]<=t))[e(285)];return n<this[e(325)]?this[e(325)]:n}[_n(265)](t){const e=_n,i=this[e(364)][e(286)](this[e(364)][e(267)]-1);if(i)this[e(161)]=i.id;else{const i=!this[e(341)][e(258)][e(412)][e(207)][e(205)]((t=>this[e(341)][e(258)][e(197)](t))),n=this[e(341)][e(372)][e(221)](e(411)).me.id,r=Qi(this[e(341)][e(390)],e(i?359:399));this[e(167)]({from:t,to:t,id:this[e(161)],name:r,creatorId:n})}}[_n(381)](t){const e=_n,i=this[e(278)][e(408)]();this[e(260)]=this[e(364)][e(286)](i),this[e(260)]||(this[e(260)]=this[e(167)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(167)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(295)]({from:e,to:i});o[s(435)]=t,o[s(414)]=n,o.id=r;const a=this[s(171)](o);return this[s(202)]&&this[s(305)](o.id,o,!0),a}[_n(311)](){const t=_n;this[t(341)][t(208)][t(254)](t(322))[t(170)]({model:t(323)})}[_n(284)](t){const e=_n;return(t=t[e(181)]((t=>!t[e(435)]||e(163)!==t[e(435)]&&e(282)!==t[e(435)])))[e(336)]((t=>{const i=e;i(277)!=typeof t&&(t[i(308)]=this[i(284)](t[i(308)]),t[i(316)]=t[i(316)][i(181)]((t=>!t[0][i(450)](i(307)))))})),t}}function Tn(t,e){const i=_n,n=e[i(436)][i(196)][i(412)];if(i(277)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(308)][i(335)]((t=>Tn(t,e)));return new(On[t[i(443)]]||Yi.ViewElement)(n,t[i(435)],t[i(316)],r)}}class An{constructor(t){const e=_n;this[e(341)]=t,this[e(138)]=new Map,this[e(234)]=-1,this[e(233)]=-1,this[e(271)]=new Map,this[e(185)]=new Map,this[e(333)]=new Map,this[e(393)]=new Map,this[e(331)]=new Map,this[e(454)]=new Map,this[e(315)]=new Map,this[e(276)]=new Map,this[e(156)]=new Map,this[e(189)]=new Map,this[e(389)]=1}[_n(169)](t){const e=_n;this[e(416)]=t;const i=new Map,n=new Map,r=this[e(341)][e(258)][e(412)][e(207)][e(335)]((t=>t[e(224)]));for(const t of r){const r=this[e(341)][e(258)][e(412)][e(275)](t),s=Nn(r);i[e(356)](t,s),n[e(356)](t,Object[e(353)](r[e(139)]()))}const s=Array[e(244)](this[e(341)][e(258)][e(273)])[e(335)]((t=>[t[e(435)],t[e(193)]()])),o=this[e(416)][e(168)];this[e(368)](o,i,s,n),this[e(272)]=this[e(389)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(356)](t,i),c[e(356)](t,{})}this[e(368)](Number[e(143)],a,[],c)}[_n(229)](t,e){const i=_n;if(this[i(234)]===t&&this[i(233)]<=e)this[i(138)][i(247)]>1&&this[i(217)](this[i(233)]),this[i(377)](this[i(233)],e,!0);else{if(!this[i(138)][i(176)](t)){const e=this[i(136)](t);this[i(174)](e,t,!1)}this[i(174)](t,e,!0)}return this[i(234)]=t,this[i(233)]=e,this[i(394)]()}[_n(198)](t){const e=_n;this[e(190)](),this[e(234)]=t[e(395)],this[e(233)]=t[e(285)];for(const i in t[e(298)]){const n=t[e(298)][i][e(448)],r=vi(t[e(298)][i][e(236)])||{},s=this[e(350)](t[e(298)][i][e(342)]);s[e(224)]=i,s[e(287)]=!n||!n[e(379)],s[e(379)]=()=>s[e(287)],this[e(393)][e(356)](i,s),this[e(331)][e(356)](i,r),n&&this[e(189)][e(356)](i,n);const o=this[e(281)](s);this[e(315)][e(356)](i,o);for(const[t,i]of s[e(273)]){if(!t[e(450)](e(453)))continue;const n=t[e(346)](":")[2];for(const t of i[e(288)]({singleCharacters:!0})){const i=this[e(402)](t),r=e(177)==t[e(443)]?t[e(357)][e(296)][e(135)](0,-1):t[e(357)][e(296)],s=o[e(417)](r)[e(433)](i);this[e(276)][e(356)](s,{userId:n})}}}this[e(272)]=this[e(389)];const i=[...Array(this[e(389)])[e(345)]()][e(135)](1)[e(181)]((t=>!this[e(276)][e(176)](t)));let n=0;const r=new Map;for(const s in t[e(298)]){const o=t[e(298)][s][e(448)],a=vi(t[e(298)][s][e(365)])||{},c=this[e(350)](t[e(298)][s][e(301)]);c[e(224)]=s,c[e(287)]=!o||o[e(379)],c[e(379)]=()=>c[e(287)],this[e(185)][e(356)](s,c),this[e(333)][e(356)](s,a);const u=this[e(281)](c,Number[e(143)]);this[e(454)][e(356)](s,u),r[e(356)](s,c[e(379)]()?a:{});for(const[t,i]of c[e(273)]){if(!t[e(450)](e(453)))continue;const n=t[e(346)](":")[2];for(const t of i[e(288)]({singleCharacters:!0})){const i=this[e(402)](t),r=this[e(389)]++,s=e(177)==t[e(443)]?t[e(357)][e(296)][e(135)](0,-1):t[e(357)][e(296)];u[e(417)](s)[e(158)](i,r),this[e(276)][e(356)](r,{userId:n})}}for(const t of this[e(341)][e(258)][e(428)](c)[e(288)]({singleCharacters:!0})){const r=this[e(402)](t),s=e(177)==t[e(443)]?t[e(357)][e(296)][e(135)](0,-1):t[e(357)][e(296)],o=u[e(417)](s);o[e(433)](r)>0||o[e(158)](r,i[n++])}for(const[t,i]of c[e(273)])t[e(450)](e(453))||this[e(271)][e(356)](t,i)}const s=Rn(e(429));this[e(393)][e(356)](e(429),s),this[e(315)][e(356)](e(429),this[e(281)](s,1));const o=Rn(e(429));this[e(185)][e(356)](e(429),o),this[e(454)][e(356)](e(429),this[e(281)](o,1));const a=Array[e(244)](this[e(185)])[e(335)]((([t,e])=>[t,Nn(e)]));this[e(368)](this[e(233)],a,this[e(271)],r)}[_n(350)](t){const e=_n,i=JSON[e(227)](t),n=this[e(341)][e(436)][e(196)][e(412)],r=new Yi.ViewDocumentFragment(n,i[e(335)]((t=>Tn(t,this[e(341)]))));return this[e(341)][e(216)][e(175)](r)}[_n(368)](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(356)](t,{start:e[r(422)][r(219)](),end:e[r(384)][r(219)](),rootName:e[r(292)][r(224)]});this[r(138)][r(356)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(217)](t){const e=_n;this[e(138)][e(248)](t)}[_n(220)](){const t=_n;this[t(190)](),this[t(234)]=-1,this[t(233)]=-1,this[t(138)][t(355)](),this[t(169)](this[t(416)])}[_n(190)](){const t=_n;this[t(276)][t(355)](),this[t(156)][t(355)](),this[t(189)][t(355)](),this[t(185)][t(355)](),this[t(333)][t(355)](),this[t(393)][t(355)](),this[t(331)][t(355)](),this[t(454)][t(355)](),this[t(315)][t(355)](),this[t(271)][t(355)](),this[t(389)]=1,this[t(272)]=this[t(389)]}[_n(281)](t,e=null){const i=_n;let n=null;t.is(i(432))||(n=new Yi.Element(t[i(435)],{vid_start:null===e?this[i(389)]++:e++}));const r=[];for(const n of t[i(145)]())if(n.is(i(386))){r[i(149)](this[i(281)](n,e));const t=r[r[i(267)]-1];null!==e&&(e=t.is(i(386),i(144))?t[i(433)](i(211))+1:t[i(433)](i(204))+1)}else for(let t=0;t<n[i(159)];t++)r[i(149)](new Yi.Element(i(144),{vid:null===e?this[i(389)]++:e++}));if(t.is(i(432))){const e=Rn(t[i(224)]);return e[i(240)](0,r),e}return n[i(158)](i(204),null===e?this[i(389)]++:e++),n[i(240)](0,r),n}[_n(174)](t,e,i){const n=_n;this[n(190)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(138)][n(221)](t);this[n(393)]=new Map(r),this[n(331)]=new Map(vi(o));for(const[t,e]of this[n(393)])if(n(429)!==t&&(this[n(185)][n(356)](t,Nn(e)),this[n(333)]=new Map(vi(o)),i)){const i=this[n(389)];this[n(454)][n(356)](t,this[n(281)](e)),this[n(315)][n(356)](t,this[n(281)](e,i))}this[n(272)]=this[n(389)],this[n(185)][n(356)](n(429),Nn(this[n(393)][n(221)](n(429)))),i&&this[n(454)][n(356)](n(429),this[n(281)](this[n(393)][n(221)](n(429))));for(const[t,e]of s){const i=this[n(393)][n(221)](e[n(224)]),r=this[n(185)][n(221)](e[n(224)]),s=new Yi.Range(this[n(194)](e[n(422)],i),this[n(194)](e[n(384)],i)),o=this[n(348)](s,r);i[n(273)][n(356)](t,s),this[n(271)][n(356)](t,o)}this[n(377)](t,e,i)}[_n(377)](t,e,i){const n=_n;for(const r of this[n(416)][n(166)](t,e))this[n(252)](r,i);for(const t of this[n(185)][n(232)]())t[n(273)][n(355)]();for(const[t,e]of this[n(271)])this[n(185)][n(221)](e[n(292)][n(224)])[n(273)][n(356)](t,e[n(219)]());const r=new Map,s=new Map;for(const[t,e]of this[n(185)])r[n(356)](t,Nn(e)),s[n(356)](t,this[n(333)][n(221)](t));this[n(368)](e,r,this[n(271)],s)}[_n(136)](t){const e=_n,i=Array[e(244)](this[e(138)][e(345)]());i[e(173)](((t,e)=>t-e)),i[e(434)]();for(const e of i)if(e<t)return e;return Number[e(143)]}[_n(369)](t,e){const i=_n,n=Array[i(244)](e[i(273)])[i(335)]((([e,n])=>[e,this[i(348)](n,t)]));t[i(273)]=new Map(n)}[_n(191)](t){const e=_n;for(const i of this[e(271)][e(232)]()){const n=i[e(154)](t),r=Yi.Range[e(186)](n);i[e(422)]=r[e(422)],i[e(384)]=r[e(384)]}}[_n(252)](t,e){const i=_n;if(i(243)!=t[i(443)]&&i(283)!=t[i(443)]){if(i(310)==t[i(443)]){const n=t[i(270)][i(292)][i(224)];this[i(185)][i(176)](n)||(this[i(185)][i(356)](n,Rn(n,!0)),this[i(333)][i(356)](n,{}),e&&this[i(454)][i(356)](n,Rn(n,!0)))}else{if(i(401)==t[i(443)]||i(187)==t[i(443)]||i(321)==t[i(443)])return void this[i(228)](t);i(320)==t[i(443)]&&this[i(137)](t)}if(i(320)!==t[i(443)]){const e=this[i(370)](t,this[i(185)]);e[i(140)](),this[i(191)](e)}if(e)switch(t[i(443)]){case i(310):this[i(361)](t);break;case i(231):case i(367):case i(213):this[i(201)](t);break;case i(253):this[i(349)](t);break;case i(346):this[i(225)](t)}}else this[i(358)](t,e)}[_n(370)](t,e){const i=_n,n=t[i(219)]();return n[i(328)]=t[i(328)],this[i(222)](n,e),n}[_n(330)](t){const e=_n;return t[e(335)]((t=>{const i=e,n=this[i(402)](t);return Number(t[i(378)][i(433)](n))}))}[_n(230)](t,e){const i=_n;if(t.is(i(386),i(144)))e[i(149)]({item:t,type:i(398)});else{t.is(i(386))&&e[i(149)]({item:t,type:i(218)});for(const n of t[i(145)]())this[i(230)](n,e);t.is(i(386))&&e[i(149)]({item:t,type:i(177)})}return e}[_n(394)](){const t=_n,e=new Map(this[t(276)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(393)][t(345)](),...this[t(185)][t(345)]()]);a[t(248)](t(429));for(const e of a){const i=this[t(185)][t(221)](e)||Rn(e,!1),n=this[t(393)][t(221)](e)||Rn(e,!1);i[t(379)]()||n[t(379)]()?(r[t(301)][e]=Nn(i),r[t(342)][e]=Nn(n),this[t(369)](r[t(342)][e],n),this[t(369)](r[t(301)][e],i),s[t(301)][e]=this[t(230)](this[t(454)][t(221)](e),[]),s[t(342)][e]=this[t(230)](this[t(315)][t(221)](e)||Rn(e,!1),[])):a[t(248)](e)}for(const r of a){const o=s[t(301)][r];for(const r of o){const s=this[t(402)](r),o=r[t(378)][t(433)](s);i[t(248)](o),o>=this[t(272)]&&n[t(356)](o,e[t(221)](o))}}for(const r of a){const a=s[t(301)][r],c=this[t(330)](s[t(342)][r]);let u=0;for(const r of a){const s=this[t(402)](r),a=r[t(378)][t(433)](s);if(!n[t(176)](a)&&!o[t(176)](a))if(i[t(176)](a))u++;else{if(a!=c[u]){const n=e[t(221)](a)||e[t(221)](c[u]);for(;a!=c[u];)i[t(176)](c[u])||(o[t(356)](c[u],n),e[t(356)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(301)][e];for(const e of r){const r=this[t(402)](e),s=e[t(378)][t(433)](r);if(o[t(176)](s)){const e=o[t(221)](s);i[t(176)](s)||i[t(356)](s,{...e}),n[t(356)](s,{...e})}}}for(const e of i[t(345)]())e>=this[t(272)]&&i[t(248)](e);const c=new Map;for(const e of a){let r=s[t(301)][e];for(const e of r)if(e[t(378)].is(t(386),t(313))){const i=this[t(402)](e),r=e[t(378)][t(433)](i);if(n[t(176)](r)){const i=e[t(378)][t(366)][t(366)][t(433)](t(383)),s=c[t(221)](i)||new Set;s[t(438)](n[t(221)](r)[t(293)]),c[t(356)](i,s)}}r=s[t(342)][e];for(const e of r)if(e[t(378)].is(t(386),t(313))){const n=this[t(402)](e),r=e[t(378)][t(433)](n);if(i[t(176)](r)){const n=e[t(378)][t(366)][t(366)][t(433)](t(383)),s=c[t(221)](n)||new Set;s[t(438)](i[t(221)](r)[t(293)]),c[t(356)](n,s)}}for(const e of c[t(345)]())(n[t(176)](e)||i[t(176)](e))&&c[t(248)](e)}for(const e of a){const r=s[t(301)][e];let o=null,a=null;for(const e of r){const r=this[t(402)](e),s=e[t(378)][t(433)](r),u=c[t(221)](s);u&&t(218)==e[t(443)]&&(o=Array[t(244)](u)[0],a=e[t(378)][t(433)](t(204))),o&&(i[t(356)](s,{userId:o}),n[t(356)](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(301)][e];for(const{userId:e}of this[t(156)][t(232)]())null!==e&&l[t(438)](e);for(const{userId:e}of this[t(189)][t(232)]())null!==e&&l[t(438)](e);this[t(410)](a,s[t(301)][e],n,t(203),l),this[t(410)](o,s[t(342)][e],i,t(147),l),u[e]={insertions:this[t(420)](a),deletions:this[t(420)](o),attachChange:this[t(189)][t(221)](e)||null,attributesBefore:vi(this[t(331)][t(221)](e))||{},attributesAfter:vi(this[t(333)][t(221)](e))}}return{diffData:u,authorsIds:Array[t(244)](l)}}[_n(172)](t){const e=_n;for(const[,i]of t[e(273)]){const t=i[e(422)][e(249)]()[e(181)]((t=>e(313)==t[e(435)]));for(const i of t)1==i[e(155)]&&i[e(241)](0).is(e(386),e(206))&&i[e(241)](0)[e(158)](e(418),!0)}}[_n(420)](t){const e=_n;this[e(172)](t);const i=this[e(341)][e(216)][e(340)](t,{}),n=Array[e(244)](i[e(145)]())[e(335)]((t=>this[e(431)](t)));return JSON[e(447)](n)}[_n(431)](t){const e=_n;if(t.is(e(144)))return t[e(216)];{const i=t;return{type:Object[e(345)](On)[e(205)]((e=>t instanceof On[e])),name:i[e(435)],attributes:Array[e(244)](i[e(139)]()),children:Array[e(244)](i[e(145)]())[e(335)]((t=>this[e(431)](t)))}}}[_n(410)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(341)][s(258)];for(let n=0;n<e[s(267)];n++){const r=this[s(402)](e[n]),c=e[n][s(378)][s(433)](r),h=i[s(221)](c),d=n==e[s(267)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(293)]!=o[s(293)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(293)],d=l(453)+n+":"+h+":"+c++,f=u[l(419)](i,a);t[l(273)][l(356)](d,f),null!==h&&r[l(438)](h)}}[_n(402)](t){const e=_n;switch(t[e(443)]){case e(218):return e(383);case e(177):return e(204);default:return e(211)}}[_n(222)](t,e){const i=_n;t[i(299)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(221)](r[i(292)][i(224)]);t[n]=this[i(194)](r,s)}if(r instanceof Yi.Range){const s=e[i(221)](r[i(292)][i(224)]);t[n]=this[i(348)](r,s)}i(292)===n&&(t[i(292)]=e[i(221)](t[i(292)][i(224)]))}}[_n(348)](t,e){const i=_n;return this[i(341)][i(258)][i(419)](this[i(194)](t[i(422)],e),this[i(194)](t[i(384)],e))}[_n(194)](t,e){const i=_n;return this[i(341)][i(258)][i(426)](e,t[i(296)],t[i(151)])}[_n(361)](t){const e=_n,i=this[e(454)][e(221)](t[e(270)][e(292)][e(224)]),n=this[e(194)](t[e(270)],i),r=null===t[e(328)]?null:t[e(328)]||this[e(341)][e(372)][e(221)](e(411)).me.id,s=n[e(366)],o=this[e(389)],a=[];for(const i of t[e(397)])if(i.is(e(386)))a[e(149)](this[e(281)](i));else for(let t=0;t<i[e(159)];t++)a[e(149)](new Yi.Element(e(144),{vid:this[e(389)]++}));const c=this[e(389)];for(let t=o;t<c;t++)this[e(276)][e(356)](t,{userId:r});s[e(240)](n[e(239)],a)}[_n(201)](t){const e=_n;(t=this[e(370)](t,this[e(454)]))[e(140)]();const i=null===t[e(328)]?null:t[e(328)]||this[e(341)][e(372)][e(221)](e(411)).me.id,n=t[e(392)](),r=n[e(366)],s=n[e(239)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(241)](e);s.is(a(386),a(144))?n[a(356)](s[a(433)](a(211)),{userId:i}):(n[a(356)](s[a(433)](a(383)),{userId:i}),t(n,s,0,s[a(155)]),n[a(356)](s[a(433)](a(204)),{userId:i}))}}(this[e(276)],r,s,s+t[e(351)])}[_n(349)](t){const e=_n,i=null===(t=this[e(370)](t,this[e(454)]))[e(328)]?null:t[e(328)]||this[e(341)][e(372)][e(221)](e(411)).me.id,n=t[e(312)][e(366)],r=t[e(334)][e(366)],s=n[e(433)](e(204)),o=r[e(433)](e(383));n[e(158)](e(204),r[e(433)](e(204))),r[e(158)](e(204),s),this[e(276)][e(356)](o,{userId:i}),this[e(276)][e(356)](s,{userId:i}),t[e(140)]()}[_n(225)](t){const e=_n,i=null===(t=this[e(370)](t,this[e(454)]))[e(328)]?null:t[e(328)]||this[e(341)][e(372)][e(221)](e(411)).me.id,n=t[e(354)],r=t[e(250)][e(366)];t[e(140)]();const s=r[e(433)](e(204)),o=t[e(257)][e(403)];if(n){const t=o[e(433)](e(204)),n=r[e(433)](e(204));r[e(158)](e(204),t),o[e(158)](e(204),n),this[e(276)][e(356)](r[e(433)](e(204)),{userId:i}),this[e(276)][e(356)](o[e(433)](e(383)),{userId:i})}else{const t=this[e(389)]++,n=this[e(389)]++;r[e(158)](e(204),t),o[e(158)](e(383),n),o[e(158)](e(204),s),this[e(276)][e(356)](t,{userId:i}),this[e(276)][e(356)](n,{userId:i})}}[_n(137)](t){const e=_n;if(!t[e(375)])return;const i=(t=this[e(370)](t,this[e(185)]))[e(268)]?t[e(268)][e(292)]:null,n=t[e(246)]?t[e(246)][e(292)]:null;i&&this[e(271)][e(248)](t[e(435)]),n&&this[e(271)][e(356)](t[e(435)],t[e(246)][e(219)]());const r=null===t[e(328)]?null:t[e(328)]||this[e(341)][e(372)][e(221)](e(411)).me.id,s=t[e(435)];if(!this[e(156)][e(176)](s))return void this[e(156)][e(356)](s,{range:t[e(268)],userId:r});const o=this[e(156)][e(221)](s),a=o[e(165)],c=t[e(246)];null==a&&null==c||a&&c&&a[e(162)](c)?this[e(156)][e(248)](t[e(435)]):o[e(293)]=r}[_n(358)](t,e){const i=_n;this[i(185)][i(176)](t[i(224)])?this[i(185)][i(221)](t[i(224)])[i(287)]=t[i(425)]:(this[i(185)][i(356)](t[i(224)],Rn(t[i(224)],!0)),this[i(333)][i(356)](t[i(224)],{}),e&&this[i(454)][i(356)](t[i(224)],Rn(t[i(224)],!0)));const n=null===t[i(328)]?null:t[i(328)]||this[i(341)][i(372)][i(221)](i(411)).me.id,r=this[i(189)][i(221)](t[i(224)]);r&&r[i(293)]===n?this[i(189)][i(248)](t[i(224)]):this[i(189)][i(356)](t[i(224)],{userId:n,isAttached:t[i(425)]})}[_n(228)](t){const e=_n,i=this[e(333)][e(221)](t[e(292)][e(224)]);null===t[e(269)]?delete i[t[e(182)]]:i[t[e(182)]]=t[e(269)]}}function Nn(t){const e=_n,i=Rn(t[e(224)],t[e(379)]());for(const n of t[e(145)]()){const t=n[e(259)](!0);i[e(371)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(224)]=t,n[i(287)]=e,n[i(379)]=()=>n[i(287)],n}function Mn(t,e,i){const n=_n,r=n(177)==t[n(443)]?i[n(324)](t[n(378)],n(384)):i[n(261)](t[n(378)]);return i[n(426)](e,r[n(296)],r[n(151)])}function En(t,e,i){const n=_n,r=n(218)==t[n(443)]?i[n(324)](t[n(378)],0):i[n(373)](t[n(378)]);return i[n(426)](e,r[n(296)],r[n(151)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),qn=i.n(Un),Zn=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Ln().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=qn();Cn()(Zn.A,Hn);Zn.A&&Zn.A.locals&&Zn.A.locals;var $n=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=qn();Cn()($n.A,Bn);$n.A&&$n.A.locals&&$n.A.locals;const Yn=Jn;function Gn(){const t=["arrowleft","33000gjvUog","setTemplate","1556qnJAIm","1137855PjlpNR","listenTo","8lJqzRc","label","arrowdown","input","1820uRnRMv","38872SxWqoB","reset","errorText","set","ck-revision-history-save-revision-form","keystrokes","Name of the revision","render","6maTZSH","arrowright","_createRevisionNameInput","optional","value","element","extendTemplate","focus","revisionNameInputValue","stopPropagation","ck-responsive-form","74930LGDOic","arrowup","add","220","revisionName","focusTracker","revisionNameInputView","27117KKXfqQ","fieldView","300195rELhOL","form","locale","trim"];return(Gn=function(){return t})()}function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=356]})(t,e)}!function(t){const e=Jn,i=t();for(;;)try{if(181484===-parseInt(e(370))/1+-parseInt(e(386))/2+-parseInt(e(384))/3+-parseInt(e(394))/4+parseInt(e(387))/5*(-parseInt(e(359))/6)+-parseInt(e(379))/7*(parseInt(e(389))/8)+-parseInt(e(377))/9*(-parseInt(e(393))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends Vn.View{constructor(e,i){const n=Jn;super(e),this[n(375)]=new t.FocusTracker,this[n(356)]=new t.KeystrokeHandler,this[n(397)](n(367),""),this[n(376)]=this[n(361)](i),this[n(385)]({tag:n(380),attributes:{class:["ck",n(398),n(369)],tabindex:"-1"},children:[this[n(376)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(358)](){const t=Yn;super[t(358)](),(0,Vn.submitHandler)({view:this}),this[t(375)][t(372)](this[t(376)][t(364)]),this[t(356)][t(388)](this[t(364)]);const e=e=>e[t(368)]();this[t(356)][t(397)](t(360),e),this[t(356)][t(397)](t(383),e),this[t(356)][t(397)](t(371),e),this[t(356)][t(397)](t(391),e)}[Yn(366)](){const t=Yn;this[t(376)][t(366)]()}get[Yn(374)](){const t=Yn;return this[t(376)][t(378)][t(364)][t(363)][t(382)]()}set[Yn(374)](t){const e=Yn;this[e(376)][e(378)][e(364)][e(363)]=t[e(382)]()}[Yn(395)](){const t=Yn;this[t(376)][t(378)][t(364)][t(363)]="",this[t(376)][t(396)]=null}[Yn(361)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(381)],Vn.createLabeledInputText),n=i[e(378)];n[e(365)]({attributes:{maxlength:e(373)}});let r=Qi(this[e(381)],e(357));return!t&&(r+=" ("+Qi(this[e(381)],e(362))+")"),i[e(390)]=r,n.on(e(392),(()=>{const t=e;this[t(367)]=n[t(364)][t(363)][t(382)]()})),i}}function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=477]})(t,e)}const Qn=Xn;function tr(){const t=["767406dSDtTS","3857065wfueOt","isReady","menuitem","3455078TWCgeB","items","execute","_showDialog","10muwVPn","hide","332806OYwwdU","role","editing","componentFactory","Dialog","pluginName","editor","locale","set","add","isOfficialPlugin","plugins","show","menuBar:revisionHistory","reset","Accept","revisionHistory","45097vKMgrs","focus","bind","Revision history","addMany","ck-button-action","submit","RevisionTracker","history","menu","children","isEnabled","56uXUArs","Cancel","The revision name cannot be empty.","3YwJhdg","1817469aiQyKE","errorText","isOpen","_saveRevisionFormView","isPremiumPlugin","buttonView","delegate","revisionSave","render","_createSaveRevisionFormView","view","Save current revision","saveRevision","config","panelView","70locvnq","Open revision history","5388aTEimu","6OlqhEC","isReadOnly","revisionHistory.requireRevisionName","2945716GwzFVk","get","revisionNameInputView","RevisionHistoryUI","revisionName","init","_registerMenuComponent","requires","showRevisionViewerCallback"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(868636===parseInt(e(507))/1*(parseInt(e(485))/2)+-parseInt(e(539))/3*(parseInt(e(488))/4)+-parseInt(e(498))/5+-parseInt(e(497))/6*(parseInt(e(482))/7)+parseInt(e(536))/8*(parseInt(e(540))/9)+-parseInt(e(505))/10*(parseInt(e(501))/11)+parseInt(e(484))/12*(parseInt(e(524))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends $i.Plugin{static get[Qn(512)](){return Qn(491)}static get[Qn(517)](){return!0}static get[Qn(544)](){return!0}static get[Qn(495)](){return[xn]}[Qn(493)](){const t=Qn,e=this[t(513)],i=e[t(518)][t(489)](t(531));e.ui[t(510)][t(516)](t(523),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(481)][r(534)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(526)](r(535)).to(i,r(499),i,r(535),e,r(486),((t,e,i)=>t&&e&&!i)),s[r(545)][r(515)]({icon:$i.icons[r(532)],label:Qi(n,r(527)),tooltip:!0}),u[r(515)]({label:Qi(n,r(478)),withText:!0,role:r(500)}),u[r(526)](r(535)).to(i,r(499),i,r(535),e,r(486),((t,e,i)=>t&&e&&!i)),u.on(r(503),(()=>this[r(504)]())),h[r(515)]({label:Qi(n,r(483)),withText:!0,role:r(500)}),h[r(526)](r(535)).to(i,r(499),e,r(486),((t,e)=>t&&!e)),h.on(r(503),(()=>{const t=r;e[t(480)][t(489)](t(523))[t(496)](),s[t(542)]=!1,e[t(509)][t(477)][t(525)]()})),c[r(534)][r(516)](u),l[r(534)][r(516)](h),a[r(508)]=r(533),a[r(502)][r(528)]([c,l]),o[r(516)](a),s})),e.ui[t(510)][t(516)](t(520),(()=>this[t(494)]()))}[Qn(494)](){const t=Qn,e=this[t(513)],i=e[t(514)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(545)][t(515)]({icon:$i.icons[t(532)],label:Qi(i,t(527))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(515)]({label:Qi(i,t(478))}),o[t(546)](t(503)).to(n),o.on(t(503),(()=>{this[t(504)]()})),s[t(534)][t(516)](o),r[t(502)][t(516)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(515)]({label:Qi(i,t(483))}),c[t(546)](t(503)).to(n),c.on(t(503),(()=>{const i=t;e[i(480)][i(489)](i(523))[i(496)]()})),a[t(534)][t(516)](c),r[t(502)][t(516)](a),n[t(481)][t(534)][t(516)](r),n}[Qn(504)](){const t=Qn,e=this[t(513)],i=e[t(514)],n=e[t(518)][t(489)](t(511)),r=e[t(518)][t(489)](t(531));function s(r){const s=t;e[s(480)][s(489)](s(487))&&""===r[s(492)]?r[s(490)][s(541)]=Qi(i,s(538)):(e[s(518)][s(489)](xn)[s(479)]({name:r[s(492)]}),n[s(506)]())}this[t(543)]||(this[t(549)](),this[t(543)].on(t(530),(()=>s(this[t(543)])))),this[t(543)][t(521)](),n[t(519)]({id:t(547),title:Qi(i,t(478)),isModal:!0,content:this[t(543)],actionButtons:[{label:Qi(e[t(514)],t(537)),withText:!0,onExecute:()=>n[t(506)]()},{label:Qi(e[t(514)],t(522)),class:t(529),withText:!0,onCreate(i){const n=t;i[n(526)](n(535)).to(r,n(499),r,n(535),e,n(486),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(543)])}]})}[Qn(549)](){const t=Qn,e=this[t(513)],i=e[t(514)];this[t(543)]=new Kn(i,e[t(480)][t(489)](t(487))),this[t(543)][t(548)]()}}function ir(){const t=["ck-annotation","bindTemplate","isSuggestion","Removed by","ck-revision-change","11lVohHr","3889410AlBkjg","element","1408404hSSAJg","ck-revision-change__","span","focus","23uLIiiw","Suggested by","name","154092DDbblt","_model","28060240xjvSyO","add","Added by","6992703xRGvoz","changeId","setTemplate","160ZsaivJ","set","type","100086HXFJLt","author","div","ck-revision-change__label","8qgrcOQ","196928gUTzpi","data"];return(ir=function(){return t})()}function nr(t,e){const i=ir();return(nr=function(t,e){return i[t-=399]})(t,e)}const rr=nr;!function(t){const e=nr,i=t();for(;;)try{if(625562===parseInt(e(416))/1*(-parseInt(e(430))/2)+-parseInt(e(412))/3+-parseInt(e(402))/4+-parseInt(e(427))/5*(-parseInt(e(419))/6)+-parseInt(e(410))/7+parseInt(e(401))/8*(-parseInt(e(424))/9)+parseInt(e(421))/10*(parseInt(e(409))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ir);class sr extends Vn.View{constructor(t,e){const i=nr;super(t),this[i(420)]=e,this[i(425)]=e.id;const n=this[i(405)],r=Qi(t,e[i(403)][i(406)]?i(417):i(422)==e[i(429)]?i(423):i(407));this[i(428)](i(429),e[i(429)]),this[i(426)]({tag:i(399),attributes:{class:[i(404),i(408),n.to(i(429),(t=>i(413)+t))],tabindex:-1},children:[{tag:i(414),children:[{tag:i(414),attributes:{class:[i(400)]},children:[{text:r}]},{text:" "+e[i(431)][i(418)]}]}]})}[rr(415)](){const t=rr;this[t(411)][t(415)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=100]})(t,e)}function cr(){var t=["8IWuQet","data","32360wFHKmY","768772bGsDkf","rootName","author","toJSON","createdAt","830825SSpxug","6777XcmuGj","5082438edobXy","set","2677787GFnXIP","708625eEmNmb","783858lSYUSZ","12KIlwvQ","type"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(496067===parseInt(e(101))/1+parseInt(e(102))/2+parseInt(e(103))/3*(parseInt(e(108))/4)+-parseInt(e(113))/5+parseInt(e(115))/6+-parseInt(e(100))/7*(-parseInt(e(105))/8)+-parseInt(e(114))/9*(parseInt(e(107))/10))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(110)]=e[i(110)],this[i(104)]=e[i(104)],this[i(106)]=e[i(106)]||{},this[i(109)]=e[i(109)],this[i(116)](i(112),e[i(112)])}[or(111)](){var t=or;return{id:this.id,authorId:this[t(110)].id,type:this[t(104)],data:this[t(106)],createdAt:this[t(112)]}}}function lr(){const t=["88840pZvIOR","add","2ZojOVZ","2942418oFYwHK","89144fMuXTn","192152WaeGMZ","84LbLuNM","_setChanges","189fYActY","9hslIyO","24pTCoWi","newRevisionId","5009880FAAbLj","oldRevisionId","267298NFXXJm","changes","8181855YbLqKq"];return(lr=function(){return t})()}const hr=dr;function dr(t,e){const i=lr();return(dr=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(510740===parseInt(e(234))/1*(parseInt(e(239))/2)+-parseInt(e(243))/3*(parseInt(e(241))/4)+parseInt(e(237))/5+-parseInt(e(240))/6+parseInt(e(245))/7*(-parseInt(e(242))/8)+-parseInt(e(246))/9*(-parseInt(e(232))/10)+-parseInt(e(236))/11*(-parseInt(e(247))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=dr;this[n(231)]=e,this[n(233)]=i,this[n(235)]=new t.Collection}[hr(244)](t){const e=hr;for(const i of t)this[e(235)][e(238)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=qn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=gr;function yr(){const t=["revision","change:isReady","splice","markerRange","mapViewToDom","bind","ck-revision-history-root-add","pluginName","getDomRoot","comment","removeAttribute","reconvertMarker","_changeView","rootName","isReady","init","102iqoSdE","diff","_getDiff","dataDowncast","showStack","addClass","_removeRevisionMarkers","showPreviousChange","492xoaEFQ","range","element","getChild","revisionHistoryAttachChange","startIndex","revision:","remove","level","softBreak","end","createPositionFromPath","WidgetToolbarRepository","default","add","then","createRevision","ck-revision-history-root--active","enableReadOnlyMode","insertions","_step","isPremiumPlugin","selection","mapper","mouseover","delete","isInline","useFillerType","attributesAfter","13309kfrJuf","editingDowncast","isIncorrect","done","changes","deletion","abs","highest","_setConversion","_revisions","unbindElementFromMarkerName","isRemoved","downcastDispatcher","getRootNames","toViewElement","_joinTapes","-new","isOfficialPlugin","nextPosition","getWalker","index","_findChangeIdFromDomTarget","_getViewObj","suggestion:","data-revision-","concat","locale","_cleanUp","getAttribute","getCustomProperty","_markInsertions","changeId","getRoot","createPositionBefore","target","editing","for","insertion","diffData","maxOffset","ck-suggestion-marker-split","_markMarkers","processor","RevisionsRepository","compare","_fixObsoleteTags","ck-editor__editable__overlay","endIndex","_markSuggestions","getItems","addMarker:revision","ck-suggestion-marker--active","removeMarker","ck-suggestion-preview-marker-","22ABPhla","parent","detachRoot","refresh","removeMarker:revision-suggestion","from","attribute:vid","view","isEqual","conversion","name","_markMismatchedRemovedTags","_changeIdToChange","addRevisionData","map","repository","_data","text","3457557gkFxpm","_removeMissingPairs","revision-viewer","29034OwzeSY","change","vid_end","marked","nextSibling","document","element:pre","addMarker:revision-suggestion:deletion","createUIElement","_removeUnsupportedChanges","pop","_getChangeFromId","createRange","editor","toData","ck-suggestion-preview-marker","_getRevisionsRange","activeChange","createRangeIn","ck-revision-history-root-","item","getIndex","change:activeChange","clear","_sortAndFilterDiffChanges","removeMarker:revision","config","commands","next","flat","oldRevisionId","get","revision-suggestion","domConverter","toViewPosition","revision-suggestion:","getRevisionRootsAttributes","attributesBefore","isEnabled","addHighlight","type","isLimit","offsetSize","hasAttribute","has","loadRevisionData","error","top","test","markerName","find","isOnRoot","sort","isNavigationMode","keys","updatePosition","attributes","startsWith","domEvent","getAttributes","previousPosition","revisionHistory","getRevision","getLaterVisibleRevision","POSITIVE_INFINITY","_threeWayMerge","adapter","code","_update","merge","data","left","RevisionViewer","nodeAfter","ck-revision-history-root-remove","isAtEnd","change:numberOfChanges","roots","createAttributeElement","isSuggestion","isObject","authors","hasClass","upcast","enqueueChange","_cleanMarkers","activeView","getRevisionData","observeMarkers","set","restoreRevisionCallback","ck-suggestion-marker","_balloon","elementEnd","revision-start","split","execute","slice","isRemoveSuggestion","string","_makeTape","children","isAttached","includes","all","elementToAttribute","_appendChild","writer","_setDistance","_makeModelFromViewString","side","isAtStart","plugins","suggestion","wrap","elementStart","markersStart","first","_makeModelFromTape","data-change-id","isContent","start","listenTo","11UAuRQk","forEach","removeClass","indexOf","insert","return","low","markerToData","object","right","high","catch","affectsData","findIndex","model","30dEekHc","currentChangeNumber","deletions","modelRange","stop","isAddSuggestion","1408515FWkOoH","attachChange","length","isAfter","toModel","consume","filter","_getViewForChange","mousedown","isAdded","shift","requires","showNextChange","revision-end","forward","restoreRevision","_activeViewTarget","distance","392861tfhbRv","vid","checkAttribute","uiElement","change:isEnabled","revision-comment:","getClientRects","backward","span","parse","markersEnd","ck-suggestion-marker-","resolve","viewItem","markerNameToElements","collaboration.channelId","change:activeView","addRoot","revisionHistoryLabel","_refreshStartEndIndex","push","newRevisionId","userId","values","consumable","markers","4833448zRiEUt","isBlock","schema","vid_start","forceDisabled","addMarker:revision-suggestion:insertion","_setChanges","numberOfChanges","pairId","bottom","addRevision","bindElementToMarker","isCollapsed","7724832WFJJRk","_processTape","markerToHighlight","destroy","_initInteractions","ck-suggestion-marker-merge","dataToMarker","isBefore","setAttribute","toViewRange","unshift"];return(yr=function(){return t})()}function gr(t,e){const i=yr();return(gr=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(684053===parseInt(e(244))/1*(parseInt(e(298))/2)+-parseInt(e(319))/3*(parseInt(e(215))/4)+parseInt(e(123))/5+parseInt(e(207))/6*(-parseInt(e(141))/7)+parseInt(e(167))/8+-parseInt(e(316))/9*(-parseInt(e(117))/10)+parseInt(e(442))/11*(parseInt(e(180))/12))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 $i.Plugin{static get[vr(198)](){return vr(391)}static get[vr(261)](){return!0}static get[vr(236)](){return!0}static get[vr(134)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(313)]=this[e(332)][e(431)][e(350)](e(287)),this[e(408)](e(336),null),this[e(408)](e(405),null),this[e(139)]=null,this[e(408)](e(208),null),this[e(408)](e(205),!1),this[e(408)](e(357),!0),this.on(e(145),((t,i,n)=>{const r=e;this[r(336)]=null,this[r(405)]=null,this[r(332)][r(279)][r(305)][r(320)]((t=>{const e=r;for(const i of this[e(332)][e(279)][e(305)][e(324)][e(396)])n?t[e(104)](e(290),i):t[e(212)](e(290),i)}))})),this[e(196)](e(372)).to(this,e(336),(t=>null!==t)),this[e(196)](e(118)).to(this,e(205),this,e(208),this,e(336),((t,i,n)=>t&&n?i[e(248)][e(340)](n):0)),this[e(196)](e(174)).to(this,e(205),this,e(208),((t,i)=>t?i[e(248)][e(125)]:0)),this[e(203)]=null,this[e(310)]=new Map,this[e(385)]=null,this[e(411)]=this[e(332)][e(431)][e(350)](Vn.ContextualBalloon)}[vr(206)](){const t=vr,e=this[t(332)],i=new Ir(e,{direction:t(148)}),n=new Ir(e,{direction:t(137)});e[t(346)][t(229)](t(214),i),e[t(346)][t(229)](t(135),n),e[t(346)][t(229)](t(138),new _r(e)),this.on(t(395),(()=>{const e=t;i[e(301)](),n[e(301)]()})),this[t(252)](),this[t(184)](),e[t(233)](t(318)),e[t(431)][t(363)](t(227))&&e[t(431)][t(350)](t(227))[t(171)](t(318))}async[vr(406)](t){const e=vr;await this[e(364)](t);const i={};for(const n in t[e(282)]){if(t[e(282)][n][e(124)]&&!t[e(282)][n][e(124)][e(421)])continue;const r=this[e(213)](JSON[e(150)](t[e(282)][n][e(234)])),s=this[e(332)][e(279)][e(305)][e(324)],o=new Yi.ViewDocumentFragment(s,r[e(312)]((t=>this[e(266)](t))));this[e(332)][e(389)][e(286)][e(242)](e(322)),i[n]=this[e(332)][e(389)][e(286)][e(333)](o),this[e(332)][e(389)][e(286)][e(242)](e(228))}return i}async[vr(355)](t){const e=vr;await this[e(364)](t);const i={};for(const n in t[e(282)])t[e(282)][n][e(124)]&&!t[e(282)][n][e(124)][e(421)]||(i[n]=t[e(282)][n][e(243)]||{});return i}[vr(213)](t){const e=vr;return(t=t[e(129)]((t=>!t[e(308)]||e(413)!==t[e(308)]&&e(136)!==t[e(308)])))[e(443)]((t=>{const i=e;i(418)!=typeof t&&(t[i(420)]=this[i(213)](t[i(420)]),t[i(375)]=t[i(375)][i(129)]((t=>!t[0][i(376)](i(268)))))})),t}async[vr(288)](t,e,i=!1){const n=vr;if(!this[n(357)])return;const r=this[n(208)],s=this[n(313)],o=n(418)==typeof t?s[n(381)](t):t,a=n(418)==typeof e?s[n(381)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(208)]&&this[n(208)][n(162)]===c&&this[n(208)][n(349)]===u)return Promise[n(153)]();this[n(205)]=!1,this[n(405)]=null,this[n(336)]=null,this[n(208)]=new fr(c,u);const l=this[n(335)](o,a,!0)[n(312)]((t=>this[n(364)](t)));return l[n(161)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(423)](l)[n(230)]((()=>{const t=n;if(!this[t(357)])return;this[t(271)]();const e=this[t(209)](c,u);for(const i of e[t(248)])this[t(310)][t(408)](i.id,i);this[t(332)][t(116)][t(403)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(332)][n(116)][n(324)][n(257)]())i[n(300)](t);for(const t of Object[n(373)](e[n(116)])){const r=i[n(158)](t);for(const s of Object[n(373)](e[n(375)][t]))i[n(188)](s,e[n(375)][t][s],r);i[n(106)](e[n(116)][t],r,0)}})),this[t(208)][t(173)](this[t(343)](e[t(248)])),this[t(205)]=!0}))[n(113)]((t=>{const e=n;console[e(365)](t),this[e(271)](),r&&(this[e(208)]=r),this[e(205)]=!0}))}[vr(311)](t,e){const i=vr,n=this[i(313)][i(231)](t);return n.on(i(387),((t,i,r)=>e(i,r,n))),this[i(313)][i(177)](n),n}[vr(364)](t){const e=vr;if(!t||t[e(282)])return Promise[e(153)]();{const i=this[e(332)][e(345)][e(350)](e(156));return this[e(385)][e(381)]({channelId:i,revisionId:t.id})[e(230)]((i=>{const n=e;t[n(387)]({diffData:i[n(282)]},!0)}))}}[vr(271)](){const t=vr;this[t(336)]=null,this[t(404)](),this[t(203)]&&this[t(203)][t(183)](),this[t(203)]=null,this[t(310)][t(342)](),this[t(332)][t(116)][t(403)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(332)][i(116)][i(324)][i(257)]())e[i(300)](t)}))}[vr(343)](t){const e=vr,i=[],n=new Map;for(const t of this[e(332)][e(116)][e(324)][e(257)]()){const r=this[e(332)][e(279)][e(305)][e(199)](t);if(!r)continue;const s=r[e(147)]()[e(339)](0);s&&(i[e(161)](t),n[e(408)](t,s))}return i[e(371)](((t,i)=>{const r=e,s=n[r(350)](t),o=n[r(350)](i);return s.y-o.y||s.x-o.x})),(t=t[e(129)]((t=>i[e(422)](t[e(204)]))))[e(371)](((t,n)=>i[e(105)](t[e(204)])-i[e(105)](n[e(204)]))),t}[vr(419)](t){const e=vr,i=Array[e(303)](t[e(166)])[e(129)]((([t,i])=>t[e(376)](e(221))&&!i[e(179)])),n=Array[e(303)](this[e(332)][e(116)][e(337)](t)[e(263)]({singleCharacters:!0}));if(0!=i[e(125)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(414)](":");if(r[e(225)][e(306)](t[e(262)])&&i[e(133)](),(t[e(379)][e(306)](r[e(440)])||t[e(379)][e(126)](r[e(440)]))&&(e(281)==s?t[e(132)]={userId:o}:e(249)==s&&(t[e(255)]={userId:o})),0==i[e(125)])break}return n}[vr(160)](t){const e=vr,i=new Map;for(let n=0;n<t[e(125)];n++)e(315)===t[n][e(359)]?(t[n][e(339)][e(220)]=n,t[n][e(339)][e(291)]=n):(e(434)===t[n][e(359)]?t[n][e(339)][e(220)]=n:e(412)===t[n][e(359)]&&(t[n][e(339)][e(291)]=n),i[e(408)](t[n].id,n));for(const n of i[e(164)]())e(434)===t[n][e(359)]?t[n][e(339)][e(291)]=i[e(350)](t[n][e(175)]):e(412)===t[n][e(359)]&&(t[n][e(339)][e(220)]=i[e(350)](t[n][e(175)]))}[vr(181)](t){const e=vr;for(let i=0;i<t[e(125)];i++){if(e(434)===t[i][e(359)])t[i][e(339)][e(220)]=i;else if(e(412)===t[i][e(359)]){t[i][e(339)][e(291)]=i;const n=t[i][e(339)][e(220)];t[n][e(175)]=t[i].id,t[i][e(175)]=t[n].id}else t[i][e(339)][e(220)]=i,t[i][e(339)][e(291)]=i,t[i][e(175)]=null;t[i][e(435)]||(t[i][e(435)]=[],t[i][e(151)]=[])}}[vr(274)](t,e){const i=vr,n=t[i(129)]((t=>!t[i(132)]));for(let t=0;t<e[i(125)];t++)e[t][i(132)]&&(n[t][i(132)]=e[t][i(132)])}[vr(428)](t){const e=vr,i=JSON[e(150)](t),n=this[e(332)][e(279)][e(305)][e(324)],r=new Yi.ViewDocumentFragment(n,i[e(312)]((t=>this[e(266)](t))));return this[e(332)][e(389)][e(127)](r)}[vr(266)](t){const e=vr,i=this[e(332)][e(279)][e(305)][e(324)];if(e(418)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(420)][e(312)]((t=>this[e(266)](t)));return new(kr[t[e(359)]]||Yi.ViewElement)(i,t[e(308)],t[e(375)],n)}}[vr(209)](t,e=null){const i=vr,n=this[i(313)][i(381)](t),r=e?this[i(313)][i(381)](e):null,s=this[i(335)](n,r),o=s[s[i(125)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(125)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(373)](e[i(282)]))if(e[i(282)][t][i(124)]){const n=e[i(282)][t][i(124)];n[i(421)]?(u[i(229)](t),l[i(363)](t)&&l[i(350)](t)[i(163)]==n[i(163)]?l[i(240)](t):l[i(408)](t,n)):l[i(363)](t)?(u[i(240)](t),l[i(240)](t)):(u[i(229)](t),l[i(408)](t,n))}else u[i(229)](t)}for(const t of u){const e=l[i(363)](t)&&!l[i(350)](t)[i(421)];let n=e?s[i(125)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(282)][t]){const n=e?o[i(282)][t][i(356)]:o[i(282)][t][i(243)];c[i(375)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(116)]={};for(const e of t[i(400)])a[i(408)](e.id,e);for(const e of u){const n=t[i(282)][e]?t[i(282)][e][i(234)]:"[]",r=t[i(282)][e]?t[i(282)][e][i(119)]:"[]";t[i(116)][e]={insertions:this[i(428)](n),deletions:this[i(428)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(303)](n[i(116)][t][i(234)][i(166)])[i(129)]((([t])=>!t[i(376)](i(221)))));let h=0;for(const o of s){const s=this[i(419)](o[i(116)][t][i(234)]);o==n?(e=s,r=e[i(125)],e[i(443)]((t=>{t.id=h++})),this[i(181)](e)):this[i(274)](e,s);const a=e[i(129)]((t=>!t[i(132)]))[i(312)]((t=>t.id));let c=0;const l=this[i(419)](o[i(116)][t][i(119)]);l[i(443)]((t=>{t[i(255)]?t.id=r++:t.id=a[c++]})),this[i(181)](l),this[i(427)](e,i(132)),this[i(427)](l,i(255)),o==n&&this[i(285)](e,u),e=this[i(259)](e,l),this[i(160)](e),this[i(427)](e,i(255))}e=e[i(129)]((t=>!(t[i(132)]&&t[i(255)])));const d=new Map(o[i(116)][t][i(119)][i(166)]),f=new Set(u[i(373)]());for(const t of d[i(373)]())f[i(240)](t);this[i(292)](e,f),this[i(289)](e),e=this[i(317)](e),e=this[i(309)](e),e=this[i(328)](e);const{root:m,changes:p}=this[i(437)](e,a,t);c[i(116)][t]=m;const v=l[i(350)](t);if(v){const e=a[i(350)](v[i(163)]),n=new ur({author:e,type:v[i(421)]?i(229):i(222),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(190)](n),c[i(375)][t][i(219)]=n.id}c[i(248)]=c[i(248)][i(269)](p)}return c}[vr(285)](t,e){const i=vr;for(let n=0;n<t[i(125)];n++)for(const[r,s]of e)s[i(440)][i(306)](t[n][i(379)])&&t[n][i(435)][i(161)](r),s[i(225)][i(306)](t[n][i(262)])&&t[n][i(151)][i(161)](r)}[vr(259)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(125)]||s<e[i(125)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(161)](o);else if(a[i(255)]&&o[i(132)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(384)](t,r,e,s);n=n[i(269)](o),r=a,s=c}else a[i(255)]?(s++,n[i(161)](a)):(r++,n[i(161)](o))}return n}[vr(292)](t,e){const i=vr,n=[];for(let o=0;o<t[i(125)];o++){for(let s=0;s<t[o][i(435)][i(125)];s++){const a=t[o][i(435)][s];if(!e[i(363)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(351)!=c||i(281)!=u&&i(249)!=u||(n[i(190)]({type:u,name:a,userId:l}),t[o][i(435)][i(193)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(151)][i(125)];s++){const a=t[o][i(151)][s];if(!e[i(363)](a))continue;const{group:c,type:u}=r(a);if(i(351)!=c||i(281)!=u&&i(249)!=u)continue;t[o][i(151)][i(193)](s,1),s--;const l=n[i(115)]((t=>t[i(308)]==a));l>-1&&n[i(193)](l,1)}}function r(t){const e=i,n=t[e(414)](":");return{group:n[0],type:n[1],subType:n[e(125)]>=5?n[2]:null,id:n[e(125)]<5?n[2]:n[3],authorId:n[e(125)]<5?n[3]:n[4],markerCount:6==n[e(125)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(125)];i++){if(t[e(132)]&&e(281)==n[i][e(359)])return t[e(122)]=n[i],void delete t[e(132)];if(!t[e(132)]&&!t[e(255)]&&e(249)==n[i][e(359)])return void(t[e(417)]=n[i])}}}[vr(427)](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(408)](o.id,n);for(let n=0;n<t[i(125)];n++){if(i(255)==e&&t[n][i(132)]||i(132)==e&&t[n][i(255)])continue;if(i(315)==t[n][i(359)]){t[n][i(140)]=0;continue}const r=s[i(350)](t[n][i(175)]),o=s[i(350)](t[n].id);t[n][i(140)]=r-o}}[vr(335)](t,e,i=!1){const n=vr,r=[];let s=this[n(313)][n(340)](t),o=this[n(313)][n(340)](e);for(-1==o&&(o=this[n(313)][n(253)][n(125)],i=!1);s<o;)r[n(161)](this[n(313)][n(381)](s)),s++;return i&&r[n(161)](this[n(313)][n(381)](s)),r}[vr(384)](t,e,i,n){const r=vr,s=this[r(332)][r(116)][r(169)];let o=e;for(;t[o]&&t[o][r(132)];)o++;let a=n;for(;i[a]&&i[a][r(255)];)a++;u(t,e,o),u(i,n,a);const c=i[r(416)](n,a)[r(269)](t[r(416)](e,o));return c[r(371)](((t,e)=>t[r(429)]!=e[r(429)]?t[r(429)]-e[r(429)]:t[r(223)]!=e[r(223)]?t[r(223)]-e[r(223)]:t[r(140)]!=e[r(140)]?e[r(140)]-t[r(140)]:!!t[r(132)]!=!!e[r(132)]?-1==t[r(429)]||0==t[r(429)]?t[r(132)]?-1:1:t[r(132)]?1:-1:t[r(264)]-e[r(264)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(383)],c=!0;for(let r=e;r<i;r++)if(s[n(241)](t[r][n(339)])||(c=!1),t[r][n(339)][n(220)]<e&&(o=r),t[r][n(339)][n(291)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(429)]=r<=o?-1:r<a?0:1,t[r][n(264)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(140)]?t[i][n(223)]=u:(u++,t[i][n(223)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(429)]&&(t[r][n(223)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(140)]?t[e][n(223)]=u:(u--,t[e][n(223)]=u,u--)}}[vr(289)](t){const e=vr,i=new Map,n=this[e(332)][e(116)][e(169)];for(let r=1;r<t[e(125)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(315)==c[e(359)])continue;if(c[e(359)]!=u[e(359)])continue;if(!n[e(168)](u[e(339)])||n[e(360)](u[e(339)]))continue;if(!n[e(168)](c[e(339)])||n[e(360)](c[e(339)]))continue;if((t[r][e(132)]||t[r][e(122)])&&t[r-1][e(255)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(255)]||!t[r-1][e(132)]&&!t[r-1][e(122)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(223)]==o[e(223)],h=Math[e(250)](s[e(223)])<Math[e(250)](o[e(223)])&&0==o[e(140)];(l||h)&&(i[e(408)](o.id,s.id),t[e(193)](a,1),r--,s[e(132)]=!1)}for(let n=0;n<t[e(125)];n++)i[e(363)](t[n][e(175)])&&(t[n][e(175)]=i[e(350)](t[n][e(175)]))}[vr(317)](t){const e=vr,i=new Set(t[e(312)]((t=>t.id)));for(let n=0;n<t[e(125)];n++)i[e(363)](t[n][e(175)])||0==t[n][e(140)]||(t[n][e(246)]=!0);return t[e(129)]((t=>!t[e(246)]))}[vr(309)](t){const e=vr,i=new Set;for(let n=0;n<t[e(125)];n++){if(i[e(363)](t[n].id)&&t[n][e(255)]&&(t[n][e(246)]=!0),t[n][e(246)])continue;if(0==t[n][e(140)])continue;if(e(434)!=t[n][e(359)])continue;if(null==t[n][e(175)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(175)];)e(434)==t[r][e(359)]?s++:e(412)==t[r][e(359)]&&s--,r++;if(0!=s)if(t[n][e(255)])t[n][e(246)]=!0;else for(;r!=n;)t[r][e(255)]&&0!=t[r][e(140)]&&(t[r][e(246)]=!0,i[e(229)](t[r][e(175)])),r--}return t[e(129)]((t=>!t[e(246)]))}[vr(328)](t){const e=vr,i=this[e(332)][e(116)][e(169)];for(let n=0;n<t[e(125)];n++){if(!(t[n][e(132)]||t[n][e(122)]||t[n][e(255)]||t[n][e(417)]))continue;if(0==t[n][e(140)])continue;const r=t[n][e(339)];i[e(168)](r)||i[e(360)](r)||(t[n][e(132)]&&delete t[n][e(132)],t[n][e(122)]&&delete t[n][e(122)],t[n][e(417)]&&delete t[n][e(417)],t[n][e(255)]&&(t[n][e(246)]=!0))}return t[e(129)]((t=>!t[e(246)]))}[vr(437)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(332)][n(116)],c=a[n(169)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(125)];e++)if(n(434)===t[e][n(359)]){t[e][n(379)]=a[n(226)](r,f);const i=new Yi.Element(t[e][n(339)][n(308)],t[e][n(339)][n(378)]());u[0][n(425)](i),f[n(161)](0),u[n(190)](i),t[e][n(262)]=a[n(226)](r,f)}else n(412)===t[e][n(359)]?(u[n(133)](),t[e][n(379)]=a[n(226)](r,f),f[n(329)](),f[f[n(125)]-1]++,t[e][n(262)]=a[n(226)](r,f)):(t[e][n(379)]=a[n(226)](r,f),d?d[n(314)]+=t[e][n(339)][n(389)]:d=new Yi.Text(t[e][n(339)][n(389)],t[e][n(339)][n(378)]()),t[e+1]&&n(315)===t[e+1][n(359)]&&v(d,t[e+1][n(339)])||(u[0][n(425)](d),d=null),f[f[n(125)]-1]+=t[e][n(339)][n(361)],t[e][n(262)]=a[n(226)](r,f));for(let e=0;e<t[n(125)];e++){const i=t[e][n(379)],r=t[e][n(262)];for(const r of t[e][n(435)])o[n(408)](r,{start:i,end:null});m(n(417),e,i,r),m(n(122),e,i,r),m(n(255),e,i,r),m(n(132),e,i,r);for(const i of t[e][n(151)])o[n(350)](i)[n(225)]=r}for(const[t,e]of o){const i=this[n(332)][n(116)][n(331)](e[n(440)],e[n(225)]);r[n(166)][n(408)](t,i)}return s[n(371)](((t,e)=>{const i=n,s=r[i(166)][i(350)](i(221)+t.id),o=r[i(166)][i(350)](i(221)+e.id);return s[i(440)][i(187)](o[i(440)])?-1:s[i(440)][i(126)](o[i(440)])?1:s[i(225)][i(187)](o[i(225)])?-1:s[i(225)][i(126)](o[i(225)])?1:i(229)===t[i(359)]?-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(163)]:null,d=i===t[o(125)]-1,f=h[e][0],m=c[o(399)](t[i][o(339)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(225)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(163)]!==u&&(l[e][o(225)]=r,f&&f[o(163)]===l[e][o(163)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(434)!==t[i][o(359)]||f&&f[o(163)]===u||h[e][o(190)]({userId:u,object:t[i][o(339)],change:l[e]}),o(412)===t[i][o(359)]&&f&&f[o(110)]===t[i][o(339)]&&(h[e][o(133)](),l[e]=f[o(320)])),l[e]&&d&&(l[e][o(225)]=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(339)],f=a[h(169)][h(168)](d)&&!a[h(169)][h(360)](d),m=t[h(392)]==o[h(299)]&&o[h(430)];if(f&&m)return;const p=a[h(331)](t,o),v=e[h(350)](u),y=new ur({author:v,type:h(132)==l||h(122)==l?h(229):h(222),data:{isSuggestion:h(122)==l||h(417)==l},createdAt:new Date,rootName:i});s[h(161)](y),r[h(166)][h(408)](h(221)+y.id,p)}function v(t,e){const i=n,r=t[i(378)](),s=e[i(378)]();for(const t of r){if(t[1]!==e[i(272)](t[0]))return!1;s[i(347)]()}return s[i(347)]()[i(247)]}}[vr(252)](){const t=vr;this[t(332)][t(307)][t(280)](t(402))[t(186)]({view:t(191)}),this[t(332)][t(307)][t(280)](t(245))[t(182)]({model:t(191),view:e=>{const i=t,n=e[i(368)][i(414)](":")[1],r=this[i(330)](n);if(!r)return null;const s=i(229)==r[i(359)]?i(281):i(249),o=[i(410),i(152)+s];return r[i(389)][i(398)]&&o[i(161)](i(152)+s+i(260)),this[i(336)]==r&&o[i(161)](i(295)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(332)][t(307)][t(280)](t(402))[t(229)]((e=>{const i=t;e.on(i(325),((t,e,n)=>{const r=i,s=e[r(154)][r(218)](0);if(!s||!s.is(r(217),r(386)))return;if(!n[r(165)][r(128)](s,{attributes:[r(170),r(321)]}))return;const o=e[r(120)][r(440)][r(392)];n[r(426)][r(188)](r(170),s[r(272)](r(170)),o),n[r(426)][r(188)](r(321),s[r(272)](r(321)),o)}),{priority:i(108)})})),this[t(332)][t(307)][t(280)](t(402))[t(229)]((e=>{const i=t;e.on(i(217),((t,e,n)=>{const r=i;if(!n[r(165)][r(128)](e[r(154)],{attributes:[r(170),r(321)]}))return;if(e[r(120)][r(179)])return;const s=e[r(120)][r(440)][r(392)];s[r(362)](r(170))||s[r(362)](r(142))||(n[r(426)][r(188)](r(170),e[r(154)][r(272)](r(170)),s),n[r(426)][r(188)](r(321),e[r(154)][r(272)](r(321)),s))}),{priority:i(108)})})),this[t(332)][t(307)][t(280)](t(402))[t(424)]({view:{name:t(149),attributes:{vid:!0}},model:{key:t(142),value:e=>e[t(272)](t(142))}}),this[t(332)][t(116)][t(169)].on(t(143),((e,[,i])=>{const n=t;[n(170),n(321),n(142)][n(422)](i)&&(e[n(107)]=!0,e[n(121)]())}),{priority:t(251)}),this[t(332)][t(307)][t(280)](t(210))[t(229)]((e=>{const i=t;e.on(i(304),((t,e,n)=>{const r=i;if(" "!=e[r(339)][r(389)]||e[r(339)][r(299)][r(283)]>1)return;if(!n[r(165)][r(128)](e[r(339)],t[r(308)]))return;const s=n[r(426)],o=n[r(238)][r(189)](e[r(216)]);s[r(433)](o,s[r(397)](r(149)))}))})),this[t(332)][t(307)][t(280)](t(210))[t(109)]({model:t(191)}),this[t(332)][t(279)][t(256)].on(t(294),function(e){const i=t,n=e[i(431)][i(350)](i(391));return(t,r,s)=>{const o=i,a=r[o(368)][o(414)](":")[1],c=n[o(330)](a);if(!c)return null;const u=o(229)==c[o(359)]?o(414):o(388);if(!s[o(165)][o(367)](r[o(194)],t[o(308)]))return;const l=r[o(194)][o(263)](),h=r[o(194)][o(440)],d=e[o(116)][o(169)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(339)];p=p||d[o(439)](e);const i=s[o(238)][o(258)](e);if(i&&i[o(273)](o(358)))return;o(412)==t[o(359)]&&d[o(168)](e)&&!d[o(360)](e)&&(e[o(323)]||h[o(394)]?f&&f[o(299)]==e||(f=e,y(t[o(379)]),v=!0):m=m||t[o(379)])}function y(t){const e=o,i=s[e(426)][e(327)](e(149),{class:e(152)+u}),a=s[e(238)][e(353)](t);c[e(389)][e(398)]&&s[e(426)][e(212)](e(152)+u+e(260),i),n[e(336)]==c&&s[e(426)][e(212)](e(295),i),s[e(426)][e(106)](a,i),s[e(238)][e(178)](i,r[e(368)])}p||v||!m||y(m)}}(this[t(332)]),{priority:t(112)}),this[t(332)][t(279)][t(256)].on(t(344),((e,i,n)=>{const r=t,s=n[r(238)][r(155)](i[r(368)]);if(s)for(const t of s)(t[r(401)](r(284))||t[r(401)](r(185)))&&(n[r(238)][r(254)](t,i[r(368)]),n[r(426)][r(222)](t))}),{priority:t(112)}),this[t(332)][t(279)][t(256)].on(t(294),((e,i,n)=>{const r=t,s=i[r(368)][r(414)](":")[1],o=this[r(330)](s);if(!o)return null;const a=r(229)==o[r(359)]?r(414):r(388);if(n[r(165)][r(367)](i[r(194)],e[r(308)]))for(const t of i[r(194)][r(293)]()){if(!t.is(r(217),r(224)))continue;const e=n[r(426)][r(327)](r(149),{class:r(152)+a}),s=n[r(238)][r(353)](this[r(332)][r(116)][r(277)](t));o[r(389)][r(398)]&&n[r(426)][r(212)](r(152)+a+r(260),e),this[r(336)]==o&&n[r(426)][r(212)](r(295),e),n[r(426)][r(106)](s,e),n[r(238)][r(178)](e,i[r(368)])}}),{priority:t(112)}),this[t(332)][t(116)][t(324)].on(t(320),(()=>{const e=t;this[e(332)][e(279)][e(305)][e(320)]((t=>{const i=e;for(const e of this[i(332)][i(116)][i(324)][i(257)]()){const n=this[i(332)][i(116)][i(324)][i(276)](e),r=this[i(332)][i(279)][i(305)][i(324)][i(276)](e);if(r){const e=n[i(272)](i(219));if(t[i(201)](i(438),r),t[i(104)](i(197),r),t[i(104)](i(393),r),t[i(104)](i(232),r),e){const n=this[i(330)](e);if(!n)return null;t[i(188)](i(438),e,r),t[i(212)](i(338)+n[i(359)],r),this[i(336)]==n&&t[i(212)](i(232),r)}}}}))})),this[t(332)][t(307)][t(280)](t(402))[t(186)]({view:t(200),model:e=>t(146)+e,converterPriority:t(251)}),this[t(332)][t(307)][t(280)](t(402))[t(186)]({view:t(432),model:e=>t(354)+e,converterPriority:t(251)}),this[t(332)][t(307)][t(280)](t(210))[t(109)]({model:t(351),view:e=>({name:t(267)+e,group:t(351)}),converterPriority:t(251)}),this[t(332)][t(307)][t(280)](t(245))[t(182)]({model:t(351),view:e=>{const i=t,n=e[i(368)][i(414)](":")[1];return i(281)!=n&&i(249)!=n?null:{classes:[i(334),i(297)+n]}}}),this[t(332)][t(279)][t(256)].on(t(326),wr(this[t(332)],t(388)),{priority:t(112)}),this[t(332)][t(279)][t(256)].on(t(172),wr(this[t(332)],t(414)),{priority:t(112)}),this[t(332)][t(279)][t(256)].on(t(302),((e,i,n)=>{const r=t,s=n[r(238)][r(155)](i[r(368)]);if(s)for(const t of s)t.is(r(144))&&(n[r(238)][r(254)](t,i[r(368)]),n[r(426)][r(222)](t))}),{priority:t(112)})}[vr(330)](t){const e=vr;return this[e(310)][e(350)](t)}[vr(130)](t){const e=vr;return this[e(203)]&&this[e(203)][e(183)](),this[e(203)]=new sr(this[e(332)][e(270)],t),this[e(203)]}[vr(184)](){const t=vr;this[t(332)][t(116)][t(324)][t(237)][t(407)](t(191)),this.on(t(157),((e,i,n,r)=>{const s=t;r&&this[s(411)][s(222)](r),n&&(this[s(411)][s(229)]({view:n,stackId:s(159),position:{target:()=>{const t=s,e=this[t(332)][t(279)],i=this[t(330)](n[t(275)]);let r;if(i[t(389)][t(370)]){const n=e[t(305)][t(199)](i[t(204)]);r=Array[t(303)](n[t(147)]())}else{const i=this[t(332)][t(116)][t(166)][t(350)](t(221)+n[t(275)]);r=Array[t(303)](e[t(238)][t(155)](i[t(308)]))[t(312)]((i=>e[t(305)][t(352)][t(195)](i)))[t(312)]((e=>Array[t(303)](e[t(147)]())))[t(348)]()}return this[t(139)]&&r[t(369)]((e=>e[t(366)]-3<=this[t(139)].y&&e[t(176)]+3>=this[t(139)].y&&e[t(390)]-3<=this[t(139)].x&&e[t(111)]+3>=this[t(139)].x))||r[0]}}}),this[s(411)][s(211)](s(159)))})),this.on(t(341),((e,i,n,r)=>{const s=t;this[s(405)]=n?this[s(130)](n):null,this[s(332)][s(116)][s(320)]((()=>{const t=s,e=this[t(332)][t(279)];r&&(r[t(389)][t(370)]?e[t(305)][t(320)]((i=>{const n=t;i[n(104)](n(232),e[n(305)][n(324)][n(276)](r[n(204)]))})):e[t(202)](t(221)+r.id)),n&&(n[t(389)][t(370)]?e[t(305)][t(320)]((i=>{const r=t;i[r(212)](r(232),e[r(305)][r(324)][r(276)](n[r(204)]))})):e[t(202)](t(221)+n.id))}))})),this[t(441)](this[t(332)][t(279)][t(305)][t(324)],t(239),((e,i)=>{const n=t;if(this[n(336)])return;const r=this[n(265)](i[n(278)]),s=this[n(310)][n(350)](r);s?(this[n(139)]={x:i[n(377)].x,y:i[n(377)].y},this[n(405)]=this[n(130)](s)):(this[n(139)]=null,this[n(405)]=null)})),this[t(441)](this[t(332)][t(279)][t(305)][t(324)],t(131),((e,i)=>{const n=t,r=this[n(265)](i[n(278)]),s=this[n(310)][n(350)](r);s?(this[n(139)]={x:i[n(377)].x,y:i[n(377)].y},s===this[n(336)]?this[n(411)][n(374)]():this[n(336)]=s):(this[n(139)]=null,this[n(336)]=null)}))}[vr(265)](t){const e=vr;do{const i=t[e(272)](e(438));if(i)return i;t=t[e(299)]}while(t);return null}[vr(404)](){const t=vr;this[t(332)][t(116)][t(320)]((e=>{const i=t;for(const t of this[i(332)][i(116)][i(166)])e[i(296)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(165)][s(367)](n[s(194)],i[s(308)]))return;const o=n[s(194)][s(263)](),a=n[s(194)][s(440)],c=t[s(116)][s(169)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(339)];h=h||c[s(439)](e);const i=r[s(238)][s(258)](e);if(i&&i[s(273)](s(358)))return;s(412)==t[s(359)]&&c[s(168)](e)&&!c[s(360)](e)&&(e[s(323)]||a[s(394)]?u&&u[s(299)]==e||(u=e,f(t[s(379)]),d=!0):l=l||t[s(379)])}function f(t){const i=s,o=r[i(238)][i(353)](t),a=r[i(426)][i(327)](i(149),{class:i(297)+e});r[i(426)][i(106)](o,a),r[i(238)][i(178)](a,n[i(368)])}h||d||!l||f(l)}}class _r extends $i.Command{constructor(t){const e=vr;super(t);const i=t[e(431)][e(350)](br);this[e(114)]=!1,this[e(441)](i,e(192),(()=>this[e(301)]())),this[e(441)](i,e(145),(()=>this[e(301)]()))}[vr(415)](){const t=vr,e=this[t(332)],i=e[t(431)][t(350)](br),n=i[t(205)]?i[t(208)][t(162)]:null;e[t(345)][t(350)](t(380))[t(409)](n)}[vr(301)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(332)][t(431)][t(350)](br),s=r&&n[t(382)](r[t(162)]);this[t(357)]=e&&i&&Boolean(s)}}class Ir extends $i.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(431)][i(350)](br);this[i(114)]=!1,this[i(235)]=i(137)===e?1:-1,this[i(441)](n,i(192),(()=>this[i(301)]())),this[i(441)](n,i(145),(()=>this[i(301)]())),this[i(441)](n,i(341),(()=>this[i(301)]()))}[vr(415)](){const e=vr,i=this[e(332)],n=i[e(431)][e(350)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(336)]=r?n[e(208)][e(248)][e(350)](s+this[e(235)]):n[e(208)][e(248)][e(436)],n[e(336)][e(389)][e(370)])o=i[e(279)][e(305)][e(199)](n[e(336)][e(204)]);else{const t=i[e(116)][e(166)][e(350)](e(221)+n[e(336)].id);o=(0,Bi.getMarkerDomElement)(i[e(279)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(301)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(332)][t(431)][t(350)](br);this[t(357)]=!!(s&&r&&n)&&(!e||(1===this[t(235)]?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=qn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["bindTemplate","ck-revision-history-ui","1465415NiMOmL","NUMBER_OF_CHANGES","fire","ck-revision-history-ui__changes-navigation__wrapper","bind","setTemplate","isEnabled","EDIT_X_OF_Y_REVISIONS","354644AcolRE","forward","currentChangeNumber","backward","720783ylkUyb","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","632ewnaML","isNavigationMode","Total","685cLbVuP","numberOfChanges","_statusText","set","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","_isStatusLabelVisible","No changes","X_OF_Y_CHANGES","execute","Show previous change","div","ck-hidden","376dPOTfI","Show next change","span","63576scKuia","2902428QlixpL","isReady","997050KHdBWz"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=226]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(261993===-parseInt(e(243))/1+parseInt(e(232))/2+parseInt(e(247))/3+parseInt(e(226))/4*(parseInt(e(254))/5)+-parseInt(e(230))/6+-parseInt(e(235))/7+-parseInt(e(251))/8*(-parseInt(e(229))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(233)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(257)](e(252),!1),this[e(257)](e(231),!1),this[e(257)](e(245),0),this[e(257)](e(255),0),this[e(257)](e(248),!1),this[e(257)](e(259),!1),this[e(239)](e(261)).to(this,e(231),this,e(255),((t,e)=>t&&e>0)),this[e(239)](e(256)).to(this,e(231),this,e(245),this,e(255),this,e(252),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(258));if(!r)return Qi(t,o(262));const a=Qi(t,o(236),r);return s?Qi(t,o(263),[n+1,r]):a})),n[e(257)]({label:Qi(t,e(265)),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(257)]({label:Qi(t,e(227)),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(239)](e(241)).to(this,e(259)),r[e(239)](e(241)).to(this,e(248)),n.on(e(264),(()=>this[e(237)](e(264),e(246)))),r.on(e(264),(()=>this[e(237)](e(264),e(244)))),this[e(240)]({tag:e(266),attributes:{class:["ck",e(234),e(249)]},children:[{tag:e(228),attributes:{class:[e(238)]},children:[{tag:e(228),attributes:{class:[e(250),i.if(e(261),e(267),(t=>!t))]},children:[{text:i.to(e(252),(i=>i?Qi(t,e(242))+": ":Qi(t,e(253))+": "))}]},{text:i.to(e(256))}]},new Vn.ToolbarSeparatorView,{tag:e(266),attributes:{class:[e(260)]},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=qn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Mr=Dr;!function(t){const e=Dr,i=t();for(;;)try{if(565702===parseInt(e(150))/1*(parseInt(e(145))/2)+-parseInt(e(166))/3+parseInt(e(161))/4*(-parseInt(e(146))/5)+-parseInt(e(156))/6+parseInt(e(148))/7*(-parseInt(e(162))/8)+parseInt(e(155))/9*(-parseInt(e(158))/10)+parseInt(e(160))/11*(parseInt(e(154))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Er=Mr(169);function Vr(){const t=["document","ck-editor__editable__loading-overlay","view","RevisionViewerLoadingOverlay","4TjLEPt","5135WPmjVH","change","7tGKgUV","editing","166169bBBuaK","addClass","roots","isOfficialPlugin","56412bUITye","135izufiG","6529236TnfjYO","removeClass","194570zawsQg","pluginName","7447qkFPlM","3704AxAXPu","1560976TsvbOL","hide","show","isPremiumPlugin","1269084rJVFsS","editor"];return(Vr=function(){return t})()}function Dr(t,e){const i=Vr();return(Dr=function(t,e){return i[t-=144]})(t,e)}class Cr extends $i.Plugin{static get[Mr(159)](){return Mr(144)}static get[Mr(153)](){return!0}static get[Mr(165)](){return!0}[Mr(164)](){const t=Mr,e=this[t(167)][t(149)][t(170)];e[t(147)]((i=>{const n=t;for(const t of e[n(168)][n(152)])i[n(151)](Er,t)}))}[Mr(163)](){const t=Mr,e=this[t(167)][t(149)][t(170)];e[t(147)]((i=>{const n=t;for(const t of e[n(168)][n(152)])i[n(157)](Er,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=223]})(t,e)}function Pr(){const t=["showNextChange","init","add","618130YZfARk","isOfficialPlugin","revisionHistory","isEnabled","restoreRevision","set","ck-revision-history-ui__back-to-editing","RevisionViewerUI","change:isReady","currentChangeNumber","undo","forward","exitToEditing","execute","pluginName","editor","plugins","77OZPxEM","bind","componentFactory","isReady","show","isPremiumPlugin","isBackwardNavigationEnabled","858XCnoyN","Restore this revision","config","isForwardNavigationEnabled","3054HrnWEX","requires","changesNavigation","listenTo","4zUzfDX","Back to editing","26168epmyGf","closeRevisionViewerCallback","isNavigationMode","5724165xyTFqN","3429140BVQXiA","commands","426942bOTJvK","showPreviousChange","hide","numberOfChanges","1314702MGnnRs","get"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(752753===parseInt(e(238))/1+parseInt(e(266))/2*(-parseInt(e(262))/3)+parseInt(e(270))/4*(parseInt(e(226))/5)+-parseInt(e(233))/6+-parseInt(e(255))/7*(-parseInt(e(223))/8)+-parseInt(e(229))/9+-parseInt(e(227))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends $i.Plugin{static get[jr(252)](){return jr(245)}static get[jr(239)](){return!0}static get[jr(260)](){return!0}static get[jr(267)](){return[br,Cr]}[jr(236)](){const t=jr,e=this[t(253)],i=e[t(254)][t(234)](br),n=e[t(254)][t(234)](Cr);e.ui[t(257)][t(237)](t(250),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(243)]({label:Qi(i,n(271)),icon:$i.icons[n(248)],withText:!0,tooltip:!0,class:n(244)}),this[n(269)](r,n(251),(()=>{const t=n;e[t(264)][t(234)](t(240))[t(224)]()})),r})),e.ui[t(257)][t(237)](t(242),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(243)]({label:Qi(i,n(263)),withText:!0,tooltip:!0}),r[n(256)](n(241)).to(e[n(228)][n(234)](n(242))),this[n(269)](r,n(251),(()=>e[n(251)](n(242)))),r})),e.ui[t(257)][t(237)](t(268),(n=>{const r=t,s=new Ar(n),o=e[r(228)][r(234)](r(230)),a=e[r(228)][r(234)](r(235));return s[r(256)](r(261)).to(o,r(241)),s[r(256)](r(265)).to(a,r(241)),s[r(256)](r(258),r(247),r(232),r(225)).to(i),this[r(269)](s,r(251),((t,i)=>{const n=r;e[n(251)](n(249)===i?n(235):n(230))})),s})),n[t(259)](),i.on(t(246),((e,i,r)=>{const s=t;r?n[s(231)]():n[s(259)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=qn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function qr(){const t=["570522hAmZbD","set","6cvUYFZ","value","1045517LXfowk","render","extendTemplate","input","10326096hlyJOo","10xExxbM","ck-tooltip_multi-line","Enter the revision name","listenTo","4768qaTnyg","span","bindTemplate","placeholder","_tooltipString","scrollWidth","138tIExUg","element","_updateTooltipText","_resizeObserver","1242XTVcTb","destroy","20pjuCmh","ck-revision-history-sidebar__revision-name","Revision name","fieldView","311980TYwOQY","11344uWxDfa","clientWidth","2496865cSSIEW"];return(qr=function(){return t})()}function Zr(t,e){const i=qr();return(Zr=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(214595===-parseInt(e(448))/1*(parseInt(e(475))/2)+parseInt(e(462))/3+parseInt(e(458))/4*(-parseInt(e(471))/5)+parseInt(e(464))/6*(-parseInt(e(461))/7)+parseInt(e(459))/8*(parseInt(e(452))/9)+parseInt(e(454))/10*(-parseInt(e(466))/11)+parseInt(e(470))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qr);class Hr extends Vn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(451)]=null;const n=this[i(477)];this[i(463)]({label:Qi(t,i(456)),_tooltipString:""}),this[i(457)][i(478)]=Qi(t,i(473)),this[i(468)]({tag:i(476),attributes:{class:[i(455)],"data-cke-tooltip-text":n.to(i(479)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(472)}})}[Ur(467)](){const e=Ur;super[e(467)](),this[e(451)]=new t.ResizeObserver(this[e(457)][e(449)],(()=>this[e(450)]())),this[e(474)](this[e(457)],e(469),(()=>this[e(450)]()))}[Ur(453)](){const t=Ur;super[t(453)](),this[t(451)]&&this[t(451)][t(453)]()}[Ur(450)](){const t=Ur,e=this[t(457)][t(449)];this[t(479)]=e[t(480)]>e[t(460)]&&e[t(465)]||""}}var $r=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=qn();Cn()($r.A,Br);$r.A&&$r.A.locals&&$r.A.locals;function Yr(){const t=["Revision author","820164sbKZKd","set","27cRcBry","Revision creator","957636ExpNkb","36CYlQkk","400022xQQpbm","0 0 11 10","199fUKcor","1553272DSbhFd","1260BpCyGB","setTemplate","77UMGijT","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","name","536950WLMess","4506qiAiNK","2540RYTfkF","push","ck-revision-history-sidebar__revision-author","span"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(250576===-parseInt(e(179))/1*(parseInt(e(188))/2)+parseInt(e(175))/3+-parseInt(e(189))/4*(-parseInt(e(181))/5)+-parseInt(e(176))/6*(-parseInt(e(177))/7)+parseInt(e(180))/8+parseInt(e(173))/9*(parseInt(e(187))/10)+-parseInt(e(183))/11*(parseInt(e(171))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends Vn.View{constructor(t,e,i){const n=Gr;super(t);const r=new Vn.IconView;r[n(172)]({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(178)});const s=["ck",n(191)];i&&s[n(190)](n(184));const o=[{tag:n(169),attributes:{class:["ck",n(185)],title:Qi(t,n(i?174:170))},children:[r,e[n(186)]]}];this[n(182)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=478]})(t,e)}function Xr(){var t=["186lhSMQw","625059ADtmPs","numeric","149772mJqOpz","73115IXyvzf","30216iSzXye","toLocaleDateString","22864cfXSuY","3545060thgKet","long","1uqhroJ","407325hVqorN","toLocaleTimeString","342DjUNAX"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(212547===parseInt(e(490))/1*(-parseInt(e(483))/2)+-parseInt(e(481))/3+parseInt(e(485))/4+-parseInt(e(491))/5+parseInt(e(480))/6*(parseInt(e(484))/7)+-parseInt(e(487))/8*(parseInt(e(479))/9)+parseInt(e(488))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=qn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=282]})(t,e)}function is(){const t=["menu","15785sTVCid","name","isVisible","add","change:isActionsDropdownOpen","isReady","buttonView","3225762IpDCoF","map","menuitem","9003WUOmAy","listenTo","execute","threeVerticalDots","358GOjMHA","locale","44048892pABwsD","ck-revision-history-sidebar__revision__actions","items","1384UrBxHv","_action","136212IAbnrN","bind","Show more items","panelPosition","model","isEnabled","Compare against selected","10rzgDLb","isOpen","Name this revision","extendTemplate","Restore this revision","action","bindTemplate","function","listView","stopPropagation","children","source","button","isActionsDropdownOpen","93988KdTbyk","first","class","889350JWfAMt","ck-on","11pSPMUQ","find","165dsqJea","set"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(697576===-parseInt(e(327))/1+parseInt(e(296))/2*(-parseInt(e(292))/3)+parseInt(e(324))/4*(-parseInt(e(331))/5)+-parseInt(e(303))/6+parseInt(e(282))/7*(-parseInt(e(301))/8)+parseInt(e(289))/9*(-parseInt(e(310))/10)+-parseInt(e(329))/11*(-parseInt(e(298))/12))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=qn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=cs();return(os=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=os,i=t();for(;;)try{if(125700===parseInt(e(522))/1*(-parseInt(e(529))/2)+-parseInt(e(479))/3+parseInt(e(515))/4*(parseInt(e(482))/5)+-parseInt(e(524))/6+parseInt(e(527))/7+parseInt(e(490))/8*(-parseInt(e(528))/9)+parseInt(e(518))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cs);class as extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(481)],a=function(t,e){const i=s,n=Array[i(510)](e[i(491)])[i(511)]((t=>t!=e[i(535)]));return e[i(535)]&&n[i(536)](e[i(535)]),n[i(521)]((n=>new Jr(t,n,n==e[i(535)])))}(e,i);this.id=i.id,this[s(517)]=i,this[s(500)]=r,this[s(504)](s(499),s(501)).to(i),this[s(504)](s(483)).to(this,s(501),(t=>{return i=e[s(489)],(n=t)[(r=Kr)(486)](i,{month:r(489),day:r(482)})+", "+n[r(478)](i,{hour:r(482),minute:r(482)});var i,n,r})),this[s(539)](s(496),!1),this[s(539)](s(506),!1),this[s(539)](s(520),!1),this[s(539)](s(541),!1),this[s(539)](s(509),!1),this[s(530)]=new Hr(e,Vn.createLabeledInputText),this[s(530)][s(478)][s(492)]({attributes:{maxlength:s(525)}}),this[s(530)][s(478)][s(504)](s(533)).to(this,s(499),(t=>t||this[s(483)])),this[s(530)][s(504)](s(509)).to(this,s(496),this,s(509),((t,e)=>t&&e)),this[s(505)]=n&&n[s(507)]?function(e,i){const n=es,r=e[n(316)],s=e[n(297)],o=(0,Vn.createDropdown)(s);o[n(306)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(297)],r={"Compare against selected":Qi(n,i(309)),"Name this revision":Qi(n,i(312)),"Restore this revision":Qi(n,i(314))};return e[i(290)]((t=>{const e=i,n=r[t[e(283)]];return n&&n!==t[e(283)]&&(t[e(283)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(322),model:new Vn.ViewModel({label:t[r(283)],class:t[r(326)],withText:!0,role:r(291),_action:t[r(315)]})};i[r(307)][r(304)](r(308)).to(e,r(323),(i=>r(317)!=typeof t[r(308)]||!i||t[r(308)](e))),o[r(285)](i)}return o}(e,i);return e[n(304)](n(323)).to(o,n(311)),o[n(288)][n(332)]({label:Qi(s,n(305)),tooltip:!0,tooltipPosition:"sw",icon:$i.icons[n(295)]}),o[n(313)]({attributes:{class:[n(299),r.if(n(323),n(328))]},on:{click:r.to((t=>t[n(319)]()))}}),o.on(n(294),(t=>{const i=n;e[i(287)]&&i(317)==typeof t[i(321)][i(302)]&&t[i(321)][i(302)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(333)}),o[n(293)](e,n(286),((t,r,s)=>{const a=n;if(s)for(const t of o[a(318)][a(300)]){const n=t[a(320)][a(325)],r=i[a(330)]((t=>t[a(315)]===n[a(302)]))[a(284)];t[a(284)]=void 0===r||r(e)}})),o}(this,n):"",this[s(505)]&&this[s(505)][s(504)](s(509)).to(this),this[s(514)]({tag:s(495),attributes:{class:["ck",s(502),s(480),o.if(s(485),s(494))]},children:[{tag:s(495),attributes:{class:["ck",s(502),s(540),o.if(s(509),s(487),(t=>!t)),o.if(s(496),s(488)),o.if(s(506),s(516)),o.if(s(520),s(537))]},children:[this[s(530)],{tag:s(532),attributes:{class:["ck",s(523)]},children:[{text:o.to(s(483))}]},{tag:s(495),attributes:{class:["ck",s(508)]},children:[{tag:"ul",attributes:{class:["ck",s(498)]},children:a}]},this[s(505)]],on:{click:o.to((t=>{const e=s;t[e(531)][e(513)](e(526))||this[e(541)]&&this[e(509)]&&this[e(493)](e(512),{id:this.id})}))}}]})}[ss(503)](){const t=ss;super[t(503)]();const e=this[t(530)][t(478)][t(542)];this[t(534)](e,t(486),(()=>{const i=t;this[i(500)]&&!e[i(533)]||this[i(493)](i(519),{id:this.id,name:e[i(533)]}),e[i(533)]||(e[i(533)]=this[i(499)]?this[i(499)]:this[i(483)])}))}[ss(512)](){this[ss(496)]=!0}[ss(497)](){this[ss(496)]=!1}[ss(484)](){this[ss(506)]=!0}[ss(538)](){this[ss(506)]=!1}}function cs(){const t=["element","fieldView","710592ZpRtQw","ck-revision-history-sidebar__revision-wrapper","bindTemplate","10cwKCGy","_createdAtFormatted","highlight","isConfirm","change","ck-disabled","ck-revision-history-sidebar__revision_selected","uiLanguage","8maxmuX","authors","extendTemplate","fire","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","div","isSelected","deselect","ck-revision-history-sidebar__revision-authors","name","_requireRevisionName","createdAt","ck-reset","render","bind","revisionActionsView","isHighlighted","length","ck-revision-history-sidebar__revision__controls-wrapper","isEnabled","from","filter","select","closest","setTemplate","496240QyVkKX","ck-revision-history-sidebar__revision_highlighted","_revision","2212120NAsljP","setName","isActionsDropdownOpen","map","13ZeEIyi","ck-revision-history-sidebar__revision__date","620862TfaoTw","220",".ck-thread__remove-confirm","969927dnGllK","1114857ofxsQF","2766EQNzsF","revisionNameView","srcElement","span","value","listenTo","creator","unshift","ck-revision-history-sidebar__actions_dropdown_open","unhighlight","set","ck-revision-history-sidebar__revision","isReady"];return(cs=function(){return t})()}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"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let qs=null;class Zs extends Us{static get instance(){return null===qs&&(qs=new Zs),qs}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 $s={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},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=$s[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&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:$o()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Zs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return qo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Zs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const 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 Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Vo(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Zo(t.year),i=Jo(t.month,1,12),n=Jo(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function qo(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Zo(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-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 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:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return 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 Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),qa=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function Ha(t,e){return[{hours:Za(t,e,0),minutes:Za(t,e+1,0),seconds:Za(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function $a(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ea(/(\d{4})-?(\d{3})/,La),uc=Ea(Pa),lc=Va((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),Ha,$a,Ba),hc=Va(za,Ha,$a,Ba),dc=Va(Wa,Ha,$a,Ba),fc=Va(Ha,$a,Ba);const mc=Va(Ha);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,qa),vc=Ea(Ua),yc=Va(Ha,$a,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new 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(qo(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 Da(t,[Ga,Ja])}(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 Da(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;qo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else qo(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 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=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.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=Nc.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Nc.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=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(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):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return 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:$o()}}}function Vc(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 Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=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 qc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Zc=null;function 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 $c{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 $c(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Zc||(Zc=wu.fromMillis(1555555555555)),Zc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=qc[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=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=qo(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(qo(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(qo(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=Zo(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?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?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,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):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 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=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 $c(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&qo(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-=197]})(t,e)}function Su(){const t=["1469898vlkYiB","weekdayLong","66165tvFQtJ","week","startOf","local","4045517xbTwVg","5313680vQwlzr","setLocale","day","4syqbVI","36hsliBf","monthLong","year","toRelativeCalendar","49187KPmwif","hasSame","fromJSDate","month","minus","2581662IKHGhJ","toJSDate","4qEuGkL","3075930mGghbo"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(199)](t)[i(214)](e),r=wu[i(211)](),s=r[i(201)]({days:1})[i(210)](i(215));let o,a;return n[i(198)](r,i(215))?(o=n[i(210)](i(215))[i(203)](),a=n[i(220)]()):n[i(198)](s,i(215))?(o=s[i(203)](),a=n[i(220)]()):n[i(198)](r,i(209))?(o=n[i(210)](i(209))[i(203)](),a=n[i(207)]||""):n[i(198)](r,i(219))?(o=n[i(210)](i(200))[i(203)](),a=n[i(218)]||""):(o=n[i(210)](i(219))[i(203)](),a=String(n[i(219)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(335457===parseInt(e(197))/1*(parseInt(e(216))/2)+-parseInt(e(206))/3*(parseInt(e(204))/4)+parseInt(e(208))/5+-parseInt(e(202))/6+parseInt(e(212))/7+-parseInt(e(213))/8+-parseInt(e(217))/9*(-parseInt(e(205))/10))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=qn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Ru();return(Nu=function(t,e){return i[t-=345]})(t,e)}function Ru(){const t=["2742YPIktp","ck-revision-history-sidebar__time-period__label","locale","801614MsyMqH","span","revisionViews","delegate","find","select","8010163NHMVEN","removeRevision","setTemplate","addRevision","setName","4967289XEVrKG","add","ck-revision-history-sidebar__time-period","localizedPeriodName","_revisionActions","uiLanguage","1395400wjGOft","10GxtNWE","startDate","ck-revision-history-sidebar__time-period__revisions","createCollection","div","9VwoIgT","remove","_requireRevisionName","1162673OOtJiW","1115UNtKBU","1150692IzxnyK"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(802783===parseInt(e(361))/1+parseInt(e(367))/2+parseInt(e(358))/3*(parseInt(e(363))/4)+-parseInt(e(362))/5*(parseInt(e(364))/6)+-parseInt(e(373))/7+parseInt(e(352))/8+-parseInt(e(346))/9*(parseInt(e(353))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Vn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Ou(e,this[r(366)][r(351)])[r(349)];this[r(354)]=e,this[r(369)]=this[r(356)](),this[r(350)]=i,this[r(360)]=n,this[r(369)][r(370)](r(372)).to(this),this[r(369)][r(370)](r(345)).to(this),this[r(375)]({tag:r(357),attributes:{class:["ck",r(348)]},children:[{tag:r(368),attributes:{class:["ck",r(365)]},children:[{text:s}]},{tag:r(357),attributes:{class:["ck",r(355)]},children:this[r(369)]}]})}[Au(376)](t){const e=Au,i=new as(this[e(366)],t,this[e(350)],this[e(360)]);this[e(369)][e(347)](i)}[Au(374)](t){const e=Au,i=this[e(369)][e(371)]((e=>e.id===t.id));this[e(369)][e(359)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Ln().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=qn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=284]})(t,e)}function Cu(){const t=["613716qecwQc","8fxtzUX","101464MwnGTF","1472382EqEmMO","history","392292RMMYfS","612ivqvLq","10232PoZfQB","div","ck-revision-history-sidebar__header__label","setTemplate","span","content","ck-reset_all","3105wHTYTO","710RBwAHc","1512182ZKmoOx","Revision history","22235HjeFjG","ck-revision-history-sidebar__header"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(407922===-parseInt(e(286))/1+parseInt(e(289))/2+-parseInt(e(291))/3*(-parseInt(e(287))/4)+parseInt(e(284))/5*(parseInt(e(292))/6)+-parseInt(e(302))/7+-parseInt(e(293))/8*(-parseInt(e(300))/9)+-parseInt(e(301))/10*(parseInt(e(288))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Vn.View{constructor(t){const e=Du;super(t);const i=new Vn.IconView;i[e(298)]=$i.icons[e(290)],this[e(296)]({tag:e(294),attributes:{class:["ck",e(299),e(285)]},children:[i,{tag:e(297),attributes:{class:["ck",e(295)]},children:[Qi(t,e(303))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=qn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=219]})(t,e)}function Wu(){const t=["uiLanguage","find","ck-rounded-corners","6FbocoS","9vqNWFG","map","div","12Wpzsfk","2452FFXqoD","ck-reset","createdAt","bindTemplate","highlight","unhighlight","fire","903150eRgbTk","some","locale","9906183IeTdKt","77370EPJyPl","ck-revision-history-sidebar","set","createCollection","timePeriodViews","_revisions","startDate","get","275bAIFKr","addRevision","add","remove","_getTimePeriodViewByStartDate","flat","isEnabled","2862tVRpfw","getTime","_revisionActions","revisionSelected","highlightRevisions","revisionSetName","render","delegate","ck-revision-history-sidebar__timeline","deselect","ck-disabled","14118880ERCOfJ","400482NKalxG","revisionViews","61145425iJYDIg","_requireRevisionName","_addRevision","select","_removeRevision","selectRevision","removeRevision","setName","setTemplate"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(962462===parseInt(e(264))/1*(-parseInt(e(221))/2)+parseInt(e(252))/3*(parseInt(e(226))/4)+-parseInt(e(245))/5*(parseInt(e(237))/6)+-parseInt(e(236))/7+parseInt(e(263))/8*(-parseInt(e(222))/9)+-parseInt(e(233))/10+parseInt(e(266))/11*(parseInt(e(225))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(229)];this[r(241)]=this[r(240)](),this[r(241)][r(259)](r(269)).to(this),this[r(241)][r(259)](r(273)).to(this),this[r(242)]=e,this[r(254)]=i,this[r(267)]=n,this.on(r(269),((t,e)=>{const i=r;this[i(232)](i(255),e)})),this.on(r(273),((t,e)=>{const i=r;this[i(232)](i(257),e)})),this[r(239)](r(251),!1),this[r(274)]({tag:r(224),attributes:{class:["ck",r(227),r(220),r(238)]},children:[new ju(t),{tag:r(224),attributes:{class:["ck",r(260),s.if(r(251),r(262),(t=>!t))]},children:this[r(241)]}]})}[Lu(258)](){const t=Lu;super[t(258)]();for(const e of this[t(242)])this[t(268)](e);this[t(242)].on(t(247),((e,i)=>{this[t(268)](i)})),this[t(242)].on(t(248),((e,i)=>{this[t(270)](i)}))}get[Lu(265)](){const t=Lu;return this[t(241)][t(223)]((e=>e[t(265)][t(223)]((t=>t))))[t(250)]()}[Lu(271)](t){const e=Lu;for(const i of this[e(265)])t&&t.id===i.id?i[e(269)]():i[e(261)]()}[Lu(256)](t){const e=Lu;for(const i of this[e(265)])t[e(234)]((({id:t})=>t===i.id))?i[e(230)]():i[e(231)]()}[Lu(268)](t){const e=Lu,i=Ou(t[e(228)],this[e(235)][e(275)])[e(243)];let n=this[e(241)][e(244)](0);n&&n[e(243)][e(253)]()===i[e(253)]()||(n=new Mu(this[e(235)],i,this[e(254)],this[e(267)]),this[e(241)][e(247)](n)),n[e(246)](t)}[Lu(270)](t){const e=Lu,i=Ou(t[e(228)],this[e(235)][e(275)])[e(243)];this[e(249)](i)[e(272)](t)}[Lu(249)](t){const e=Lu;return this[e(241)][e(219)]((i=>i[e(243)][e(253)]()===t[e(253)]()))}}function qu(t,e){const i=Hu();return(qu=function(t,e){return i[t-=167]})(t,e)}const Zu=qu;function Hu(){const t=["appendChild","setName","render","destroy","_sidebarView","isSelected","bind","getLaterVisibleRevision","newRevisionId","revisionSetName","RevisionsSidebar","compareAgainstSelected","selectRevision","name","config","element","90233NxupUO","listenTo","get","string","9KdYINB","99AjqDHC","revisionHistory.viewerSidebarContainer","restoreRevision","length","compare","restoreRevisionCallback","revisionSelected","300441VXozyf","_revisionsRepository","getIndex","pluginName","highlightRevisions","_revisions","editor","605944BPBqtv","defaultRevisionActions","_createRevisionActions","isOfficialPlugin","_revisionViewer","timePeriodViews","nameRevision","requires","availableRevisionActions","data","384MbzovB","getEarlierVisibleRevision","_handleRevisionSelected","Restore this revision","map","action","404488nBSoJe","27595tqdWhW","add","fieldView","change:diff","isReady","isVisible","init","_handleEditorDataReady","locale","revisionViews","441380TzAlER","Compare against selected","isPremiumPlugin","getRevision","getRevisionsInDiff","assign","222mFkZmK","revisionHistory.revisionActions","focus","repository","Name this revision","diff","isEnabled","106358mYchAP","plugins","select","ready","remove","_handleDiffChange","revisionHistory.requireRevisionName","_handleRevisionSetName","revisionHistory"];return(Hu=function(){return t})()}!function(t){const e=qu,i=t();for(;;)try{if(293181===parseInt(e(238))/1+-parseInt(e(189))/2+-parseInt(e(250))/3+-parseInt(e(183))/4*(parseInt(e(190))/5)+-parseInt(e(206))/6*(-parseInt(e(213))/7)+parseInt(e(173))/8*(parseInt(e(242))/9)+parseInt(e(200))/10*(parseInt(e(243))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class $u extends $i.Plugin{static get[Zu(169)](){return Zu(232)}static get[Zu(176)](){return!0}static get[Zu(202)](){return!0}static get[Zu(180)](){return[br]}constructor(t){const e=Zu;super(t),this[e(177)]=t[e(214)][e(240)](br),this[e(167)]=this[e(177)][e(209)],this[e(226)]=null}[Zu(196)](){const t=Zu,e=this[t(167)][t(171)],i=this[t(175)](),n=this[t(172)][t(236)][t(240)](t(244));this[t(226)]=new Uu(this[t(172)][t(198)],e,i,this[t(172)][t(236)][t(240)](t(219))),this[t(226)].on(t(249),this[t(185)][t(228)](this)),this[t(226)].on(t(231),this[t(220)][t(228)](this)),this[t(226)][t(228)](t(212)).to(this[t(177)]),this[t(226)][t(178)].on(t(191),((e,i)=>{const n=t;i[n(199)].on(n(191),((t,e)=>{const i=n;e[i(228)](i(212),i(194)).to(this[i(177)])}))})),this[t(226)][t(224)](),this[t(239)](this[t(172)][t(182)],t(216),this[t(197)][t(228)](this)),this[t(239)](this[t(177)],t(193),this[t(218)][t(228)](this)),n[t(222)](this[t(226)][t(237)])}[Zu(225)](){const t=Zu;this[t(226)][t(237)][t(217)](),this[t(226)][t(225)]()}[Zu(197)](){const t=Zu,e=this[t(167)][t(203)](0);if(e){const i=this[t(167)][t(184)](e.id);this[t(177)][t(247)](e,i)}}[Zu(185)](t,e){const i=Zu,n=this[i(167)][i(203)](e.id),r=this[i(167)][i(184)](n.id);this[i(177)][i(247)](n,r)}[Zu(220)](t,e){const i=Zu;this[i(167)][i(203)](e.id)[i(223)](e[i(235)])}[Zu(218)](t,e,i){const n=Zu,r=this[n(167)][n(204)](i);r[n(246)]>2?(this[n(226)][n(170)](r),this[n(226)][n(234)](null)):(this[n(226)][n(170)]([]),this[n(226)][n(234)](r[0]))}[Zu(175)](){const t=Zu,e=this[t(172)],i=$u[t(181)],n=e[t(236)][t(240)](t(207))||$u[t(174)];if(n[t(246)])return n[t(187)]((n=>{const r=t,s=r(241)==typeof n?Object[r(205)]({},i[n]):n;return s[r(188)]=s[r(188)][r(228)](this,e),s[r(195)]&&(s[r(195)]=s[r(195)][r(228)](this,e)),s}))}}$u[Zu(174)]=[Zu(233),Zu(245),Zu(179)],$u[Zu(181)]={compareAgainstSelected:{name:Zu(201),action:({plugins:t},e)=>{const i=Zu,n=t[i(240)](br),r=n[i(209)];let s=n[i(211)][i(230)],o=e.id;r[i(168)](s)>r[i(168)](o)&&([s,o]=[o,s]),n[i(247)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(240)](br);return!(n[i(209)][i(204)](n[i(211)])[i(246)]>2||e[i(227)])}},restoreRevision:{name:Zu(186),action:(t,{id:e})=>{const i=Zu;t[i(236)][i(240)](i(221))[i(248)](e)},isVisible:({plugins:t},e)=>!!t[Zu(240)](br)[Zu(209)][Zu(229)](e.id)},nameRevision:{name:Zu(210),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(240)](br),s=r[n(209)][n(184)](e);r[n(247)](e,s),i[n(208)](),i[n(192)][n(215)]()}}};const Bu=$u,Yu=Gu;function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=283]})(t,e)}function Ju(){const t=["1524AxgnVW","fillFromConfig","attachDomRoot","632364rhxvCI","72GUhbdZ","bind","9500ajxEBx","editor","editable","element","rootName","stickyPanel","document","detachDomRoot","replace","ready","3yPcrEG","name","addToolbar","setEditableElement","componentFactory","639560sCGLZq","_view","init","render","1614610xkJYoX","get","editing","focusTracker","viewportOffset","isFocused","restore","1kPmyPt","toolbar","config","fire","getRoot","_initToolbar","limiterElement","_toolbarConfig","2528108hHGHcS","isActive","8749340rBGMPh","527590hmvtXt","viewportTopOffset","_elementReplacer","view","destroy"];return(Ju=function(){return t})()}!function(t){const e=Gu,i=t();for(;;)try{if(552620===-parseInt(e(300))/1*(-parseInt(e(293))/2)+-parseInt(e(284))/3*(-parseInt(e(319))/4)+-parseInt(e(322))/5*(parseInt(e(316))/6)+parseInt(e(311))/7+-parseInt(e(289))/8*(-parseInt(e(320))/9)+-parseInt(e(310))/10+parseInt(e(308))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Vn.EditorUI{get[Yu(314)](){return this[Yu(290)]}constructor(e,i){const n=Yu;super(e),this[n(290)]=i,this[n(307)]=(0,Vn.normalizeToolbarConfig)(e[n(302)][n(294)](n(301))),this[n(313)]=new t.ElementReplacer}get[Yu(325)](){const t=Yu;return this[t(314)][t(325)]}[Yu(291)](t){const e=Yu,i=this[e(323)],n=this[e(314)],r=i[e(295)][e(314)],s=n[e(324)],o=r[e(328)][e(304)]();s[e(285)]=o[e(326)],n[e(292)]();const a=s[e(325)];this[e(287)](s[e(285)],a),n[e(324)][e(321)](e(298)).to(this[e(296)]),r[e(318)](a),this[e(313)][e(330)](t,this[e(325)]),this[e(305)](),this[e(303)](e(283))}[Yu(315)](){const t=Yu;super[t(315)]();const e=this[t(314)],i=this[t(323)][t(295)][t(314)];this[t(313)][t(299)](),i[t(329)](e[t(324)][t(285)]),e[t(315)]()}[Yu(305)](){const t=Yu,e=this[t(314)];e[t(327)][t(321)](t(309)).to(this[t(296)],t(298)),e[t(327)][t(306)]=e[t(325)],e[t(327)][t(321)](t(312)).to(this,t(297),(({top:t})=>t)),e[t(301)][t(317)](this[t(307)],this[t(288)]),this[t(286)](e[t(301)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=qn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=el;function el(t,e){var i=nl();return(el=function(t,e){return i[t-=343]})(t,e)}!function(t){for(var e=el,i=t();;)try{if(774447===parseInt(e(361))/1*(-parseInt(e(353))/2)+parseInt(e(358))/3*(parseInt(e(343))/4)+parseInt(e(350))/5*(parseInt(e(349))/6)+-parseInt(e(357))/7*(parseInt(e(351))/8)+-parseInt(e(352))/9*(parseInt(e(364))/10)+parseInt(e(359))/11+parseInt(e(345))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class il extends Vn.BoxedEditorUIView{get[tl(363)](){return this[tl(360)]}constructor(t,e,i={}){var n=tl;super(t),this[n(355)]=new Vn.StickyPanelView(t),this[n(344)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(348)]}),this[n(360)]=new Vn.InlineEditableUIView(t,e)}[tl(356)](){var t=tl;super[t(356)](),this[t(355)][t(347)][t(346)](this[t(344)]),this[t(354)][t(346)](this[t(355)]),this[t(362)][t(346)](this[t(363)])}}function nl(){var t=["toolbar","277164GRCMMg","add","content","shouldToolbarGroupWhenFull","318dRgZQH","73930YLQWSM","54232HZWpJu","162jCLDqF","28498hBqKYq","top","stickyPanel","render","945PoTVNU","639603VBUnvU","10856714OeuKqq","_editable","79NGLHUj","main","editable","143140jVtSqZ","24sDIcSd"];return(nl=function(){return t})()}function rl(t,e){const i=ol();return(rl=function(t,e){return i[t-=219]})(t,e)}const sl=rl;function ol(){const t=["destroy","initialData","get","fire","locale","ready","8267UajMzF","684035sTqwfo","5567712FIUQUX","updateSourceElement","40WpgKzo","2742TGjeFp","1043217ZczsFq","document","init","5213515mRoDbN","488050VpUMZq","3jsFohW","createRoot","create","editing","sourceElement","model","4wqeOob","view","initPlugins","data","_ui","config","1290213FDggHa"];return(ol=function(){return t})()}!function(t){const e=rl,i=t();for(;;)try{if(583021===parseInt(e(232))/1+parseInt(e(236))/2*(parseInt(e(237))/3)+parseInt(e(243))/4*(parseInt(e(235))/5)+parseInt(e(231))/6*(-parseInt(e(226))/7)+-parseInt(e(228))/8+-parseInt(e(219))/9*(parseInt(e(230))/10)+parseInt(e(227))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,$i.ElementApiMixin)($i.Editor)){get ui(){return this[rl(247)]}constructor(t,e){const i=rl;super(e),this[i(241)]=t,this[i(242)][i(233)][i(238)]();const n=new il(this[i(224)],this[i(240)][i(244)],{shouldToolbarGroupWhenFull:!0});this[i(247)]=new Ku(this,n)}[sl(220)](){const t=sl;return this[t(229)](),this.ui[t(220)](),super[t(220)]()}static async[sl(239)](t,e){const i=sl,n=new this(t,e);return await n[i(245)](),await n.ui[i(234)](t),await n[i(246)][i(234)](n[i(248)][i(222)](i(221))||""),n[i(223)](i(225)),n}}function cl(){const t=["insert","style","locale","RestrictedEditingMode","toVersion","getRoot","RevisionsRepository","_restoreRevision","none","isAttached","change","bind","getAttributeKeys","PaginationLookup","enableReadOnlyMode","getRevisionRootsAttributes","define","Dialog","translations","2320288EqziAb","380257HhRsYf","RevisionViewerIntegration","_getRevisionViewerEditorConfig","RevisionHistory","_closeRevisionViewer","indexOf","6AlirPG","revisionHistory.viewerEditorElement","save","27924RHmgtT","192122KzhjGW","setAttribute","error","createRangeIn","$graveyard","217CmjOmd","RevisionViewer","enqueueChange","long","getRevisionData","refreshVisibility","users","1150084MdJvOy","revisionHistory.viewerContainer","model","toJSON","remove","addRevisionData","revisionHistory.showRevisionViewerCallback","end","numeric","isEnabled","addUser","join","isReadOnly","result","parse","has","Annotations","commands","createdAt","RevisionHistoryUI","_showRevisionViewer","create","toLocaleTimeString","from","display","10AxtoxQ","lazyRoots","revisionHistory.editorContainer","init","restrictedEditingException","showRevisionViewerCallback","isAnonymous","isOpen","revisionHistory.closeRevisionViewerCallback","includes","push","toLocaleDateString","hide","getRevisions","then","document","removeMarker","destroy","RevisionTracker","revisionHistory.restoreRevisionCallback","plugins","detachRoot","1725080YcXfPO","config","revisionHistory","getMarkersGroup","_enhanceCloseRevisionViewerCallback","repository","closeRevisionViewerCallback","changesNavigation","roots","Restored","_viewerEditor","isPremiumPlugin","removeSelectionAttribute","refreshPositioning","removeAttribute","block","editor","name","_cleanUp","fromVersion","_recalculatePageBreaks","exitToEditing","get","isReady","creator","uiLanguage","update","set","toolbar","pluginName","Users","keys","restoreRevision","revision-history-missing-configuration","_update","catch","isOfficialPlugin","fromCharCode","addRoot","requires","revision-history-viewer-opened","selection","setSelection","Autosave","map","markers","getUser","_enhanceShowRevisionViewerCallback","adapter","data","rootName","getRevision","revisionHistory.requireRevisionName","2720070johGwe","disableReadOnlyMode","saveRevision"];return(cl=function(){return t})()}const ul=ll;function ll(t,e){const i=cl();return(ll=function(t,e){return i[t-=124]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(307251===-parseInt(e(205))/1+parseInt(e(215))/2*(-parseInt(e(211))/3)+parseInt(e(227))/4*(parseInt(e(252))/5)+-parseInt(e(214))/6*(-parseInt(e(220))/7)+parseInt(e(204))/8+-parseInt(e(182))/9+parseInt(e(129))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cl);const hl=[ul(246),ul(188)];class dl extends $i.Plugin{static get[ul(158)](){return ul(206)}static get[ul(165)](){return!0}static get[ul(140)](){return!0}constructor(t){const e=ul;function i(t){const e=ll;return t[e(173)]((t=>String[e(166)](t)))[e(238)]("")}super(t),this[e(240)]=e(234),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends $i.Plugin{static get[ul(158)](){return ul(208)}static get[ul(165)](){return!0}static get[ul(140)](){return!0}static get[ul(168)](){return[xn,er]}constructor(e){const i=ul;if(super(e),!this[i(145)][i(130)][i(151)](i(131)))throw new t.CKEditorError(i(162),this);this[i(139)]=null,this[i(145)][i(130)][i(201)](i(233),(t=>this[i(247)]({...t,translations:this[i(145)][i(187)][i(203)]}))),this[i(145)][i(130)][i(201)](i(260),(t=>this[i(209)](t))),this[i(145)][i(130)][i(201)](i(126),(t=>this[i(192)](t))),this[i(145)][i(130)][i(201)](i(181),!1),this[i(176)](),this[i(133)]()}set[ul(177)](t){const e=ul;this[e(145)][e(127)][e(151)](e(125))[e(177)]=t}get[ul(177)](){const t=ul;return this[t(145)][t(127)][t(151)](t(125))[t(177)]}[ul(232)](t){const e=ul;return this[e(145)][e(127)][e(151)](e(125))[e(232)](t)}[ul(180)](t){const e=ul;return this[e(145)][e(127)][e(151)](e(191))[e(180)](t)}[ul(265)](t){const e=ul;return this[e(145)][e(127)][e(151)](e(191))[e(265)](t||{toJSON:!1})}[ul(207)](){const e=ul,i=this[e(145)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(127)][e(151)](e(125)),s=i[e(127)][e(151)](e(159))[e(226)];return n[e(157)]=[e(150),e(161),e(136)],delete n[e(253)],n[e(127)][e(262)](dl,br,Lr,class extends $i.Plugin{static get[e(168)](){return[br,e(159)]}[e(255)](){const n=e,o=this[n(145)][n(127)][n(151)](n(159));for(const t of s)t[n(258)]||o[n(175)](t.id)||o[n(237)](t);const a=r[n(134)][n(265)]();let c=null;const u=this[n(145)][n(127)][n(151)](n(221));u[n(177)]=r[n(177)],u[n(196)](n(236)).to(r),this[n(145)][n(244)][n(151)](n(161))[n(196)](n(236)).to(i,n(239),(t=>!t));for(const e of a){const i=null===e[n(153)];if(i&&e[n(189)]===e[n(148)])continue;const s=e[n(230)]();u[n(232)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(163)](s,o);else if(!o){const e=a[u(230)]();e.id=(0,t.uid)(),r[u(184)](e,a[u(189)])[u(266)]((t=>{c=t}))}}else e[u(163)](s,o)}))}}},Bu),n}[ul(176)](){const t=ul,e=this[t(145)][t(130)][t(151)](t(131))[t(257)];this[t(145)][t(130)][t(156)](t(233),(async()=>{const i=t;this[i(145)][i(199)](i(169));const n=this[i(145)][i(127)][i(151)](i(125));if(this[i(145)][i(127)][i(242)](i(172))){const t=this[i(145)][i(127)][i(151)](i(172));await t[i(213)]()}else await n[i(155)]();if(this[i(145)][i(127)][i(242)](i(198))&&this[i(145)][i(127)][i(151)](i(198))[i(149)](),this[i(145)][i(127)][i(242)](i(202))){const t=this[i(145)][i(127)][i(151)](i(202));t[i(259)]&&t[i(264)]()}const r=this[i(207)]();return e(r)[i(266)]((t=>{const e=i;return this[e(139)]=t,this[e(145)][e(127)][e(242)](e(243))&&this[e(145)][e(127)][e(151)](e(243))[e(225)](),t}))[i(164)]((t=>(console[i(217)](t),this[i(145)][i(183)](i(169)),null)))}))}[ul(133)](){const t=ul,e=this[t(145)][t(130)][t(151)](t(131))[t(135)];this[t(145)][t(130)][t(156)](t(260),(()=>(this[t(145)][t(127)][t(242)](t(198))&&this[t(145)][t(127)][t(151)](t(198))[t(149)](),this[t(139)][t(127)][t(151)](t(221))[t(147)](),e(this[t(139)])[t(266)]((()=>{const e=t;if(this[e(145)][e(183)](e(169)),this[e(139)]=null,this[e(145)][e(127)][e(242)](e(243))){const t=this[e(145)][e(127)][e(151)](e(243));t[e(225)](),t[e(142)]()}})))))}[ul(247)](t){const e=ul,i=this[e(145)][e(130)][e(151)](e(254)),n=this[e(145)][e(130)][e(151)](e(228)),r=this[e(145)][e(130)][e(151)](e(212));return al[e(248)](r,t)[e(266)]((t=>(n[e(186)][e(251)]=e(144),i[e(186)][e(251)]=e(193),t)))}[ul(209)](t){const e=ul,i=this[e(145)][e(130)][e(151)](e(254));return this[e(145)][e(130)][e(151)](e(228))[e(186)][e(251)]=e(193),i[e(186)][e(251)]="",t[e(124)]()}async[ul(192)](t){const e=ul,i=this[e(145)],n=this[e(139)][e(127)][e(151)](e(221)),r=i[e(127)][e(151)](e(125)),s=n[e(134)][e(180)](t);let o,a,c;try{o=await n[e(224)](s),a=await n[e(200)](s)}catch(t){return void console[e(217)](t)}i[e(229)][e(195)]((t=>{const n=e;for(const e of Array[n(250)](i[n(229)][n(174)][n(132)](n(256))))t[n(268)](e)})),n[e(152)]=!1,i[e(229)][e(222)]((t=>{const n=e;t[n(171)](null),t[n(141)](i[n(229)][n(267)][n(170)][n(197)]());const r=Object[n(160)](o);for(const e of i[n(229)][n(267)][n(137)])n(219)!=e[n(179)]&&e[n(194)]()&&!r[n(261)](e[n(179)])&&t[n(128)](e);for(const e of r){let r=i[n(229)][n(267)][n(190)](e);r&&r[n(194)]()||(r=t[n(167)](e));const s=a[e],c=Object[n(160)](s),u=o[e];for(const e of r[n(197)]())c[n(261)](e)||t[n(143)](e,r);for(const i of c)t[n(216)](i,a[e][i],r);t[n(231)](t[n(218)](r)),t[n(185)](i[n(178)][n(241)](u,r),r,0)}}));const u=Qi(i[e(187)],e(138));return c=s[e(146)]?-1==s[e(146)][e(210)](u)?u+": "+s[e(146)]:s[e(146)]:u+": "+s[e(245)][e(263)](i[e(187)][e(154)],{month:e(223),day:e(235)})+", "+s[e(245)][e(249)](i[e(187)][e(154)],{hour:e(235),minute:e(235)}),await r[e(184)]({name:c}),n[e(152)]=!0,i[e(130)][e(151)](e(131))[e(135)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=172]})(t,e)}function pl(){var t=["1386140uzepmk","1004824cDhIXF","30WkGZaz","639612ckcNUA","6hvfZfU","69731jCgtqD","9484AXRxah","551007qLKwGv","181392dmkaJA","195YwFbqQ"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(159492===parseInt(e(176))/1*(-parseInt(e(175))/2)+parseInt(e(179))/3+-parseInt(e(177))/4*(parseInt(e(180))/5)+-parseInt(e(174))/6+parseInt(e(181))/7+parseInt(e(172))/8+-parseInt(e(178))/9*(-parseInt(e(173))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|