@ckeditor/ckeditor5-revision-history 47.0.0-alpha.9 → 47.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={6: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 r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},557: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)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{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},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},718: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,s,r){"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!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var 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,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:W(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=Y;function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=466]})(t,e)}function B(){const t=["77tLImFk","fromVersion","createdAt","setName","45575NIDWqM","attributes","authorsIds","30JUCTYn","set","setAttribute","name","653340GAkJLt","_update","fire","creatorId","model","3147642fhYYxj","2828632uylAdr","removeAttribute","4VLOOSb","toJSON","1xZvybk","authors","621352WtHqeA","65ZWrDSV","378XeYcdv","toVersion","diffData","4096641JKxoTe","map","2641617XSdgcW","creator"];return(B=function(){return t})()}!function(t){const e=Y,i=t();for(;;)try{if(842993===parseInt(e(468))/1*(-parseInt(e(496))/2)+-parseInt(e(475))/3*(-parseInt(e(466))/4)+-parseInt(e(483))/5*(-parseInt(e(472))/6)+-parseInt(e(479))/7*(-parseInt(e(470))/8)+-parseInt(e(495))/9*(parseInt(e(486))/10)+parseInt(e(477))/11+parseInt(e(490))/12*(parseInt(e(471))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(478)];[$(469)];[$(474)];[$(473)];[$(480)];[$(494)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(478)]=e[i(478)]||null,this[i(469)]=e[i(469)]||[],this[i(474)]=e[i(474)]||null,this[i(473)]=e[i(473)]||0,this[i(480)]=e[i(480)]||0,this[i(487)](i(489),e[i(489)]||""),this[i(487)](i(481),e[i(481)]||new Date),this[i(487)](i(484),e[i(484)]||{})}[$(482)](t){this[$(491)]({name:t})}[$(488)](t,e){const i=$,n=R(this[i(484)]);U(n,t,e),this[i(491)]({attributes:n})}[$(497)](t){const e=$,i=R(this[e(484)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(491)]({attributes:i})}[$(491)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(489),i(481),i(474),i(469),i(484),i(473),i(480),i(493)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(469)]&&(s[i(485)]=s[i(469)][i(476)](t=>t.id),delete s[i(469)]),this[i(492)](i(491),s,e))}[$(467)](){const t=$;return{id:this.id,name:this[t(489)],creatorId:this[t(478)]?this[t(478)].id:null,authorsIds:this[t(469)][t(476)](t=>t.id),diffData:this[t(474)],createdAt:this[t(481)],attributes:this[t(484)],fromVersion:this[t(480)],toVersion:this[t(473)]}}}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=286]})(t,e)}const tt=Q;function et(){const t=["1558592kYwzIL","1492UTLMlX","join","getIndex","get","creatorId","map","getEarlierVisibleRevision","toVersion","isPremiumPlugin","push","requires","editor","fromCharCode","createdAt","data","reverse","fromVersion","RevisionsRepository","add","pluginName","getRevision","_revisions","diffData","oldRevisionId","isOfficialPlugin","attributes","toJSON","length","isNaN","authorsIds","497053MgTzkT","name","108YzwCnw","getLaterVisibleRevision","2499395uvkCTI","getRevisionsIterator","2142144nUZdEe","getUser","later","from","4134bmfpJc","getRevisions","getRevisionsInDiff","href","1016648VzmaqI","plugins","earlier","newRevisionId","addRevision","createRevision","afterInit","Users","896320HQvqdl"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(260344===-parseInt(e(299))/1+parseInt(e(313))/2+parseInt(e(309))/3*(parseInt(e(323))/4)+parseInt(e(303))/5+parseInt(e(305))/6+parseInt(e(322))/7+-parseInt(e(321))/8*(parseInt(e(301))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(290)];static get[tt(333)](){return[K.Users]}static get[tt(288)](){return tt(286)}static get[tt(293)](){return!0}static get[tt(331)](){return!0}get[tt(296)](){const t=tt;return this[t(290)][t(296)]}constructor(e){const i=tt;super(e),this[i(290)]=new t.Collection}[tt(319)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function 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=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(297)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(328)](t=>String[e(335)](t))[e(324)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=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=g(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])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,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(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-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 r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/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)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{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 s=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)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1759276800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,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(312)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=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([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[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{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(318)](t){const e=tt,i=this[e(334)][e(314)][e(326)](e(320));return new J({id:t.id,name:t[e(300)],creator:t[e(327)]?i[e(306)](t[e(327)]):null,diffData:t[e(291)]||t[e(337)],authors:t[e(298)][e(328)](t=>i[e(306)](t)),createdAt:new Date(t[e(336)]),attributes:t[e(294)],fromVersion:t[e(339)],toVersion:t[e(330)]})}[tt(317)](t,e=0){const i=tt;this[i(290)][i(287)](t,e)}[tt(289)](t){const e=tt;return this[e(290)][e(326)](t)}[tt(310)](t={toJSON:!1}){const e=tt,i=Array[e(308)](this[e(290)]);return i[e(338)](),t[e(295)]?i[e(328)](t=>t[e(295)]()):i}[tt(325)](t){const e=tt;return this[e(290)][e(325)](t)}[tt(329)](t){const e=tt,[,i]=this[e(304)](t,{direction:e(315)});return i}[tt(302)](t){const e=tt,[,i]=this[e(304)](t,{direction:e(307)});return i}[tt(311)](t){const e=tt,i=[];for(const n of this[e(304)](t[e(316)]))if(i[e(332)](n),n.id===t[e(292)])break;return i}*[tt(304)](t,{direction:e=tt(315),filter:i=()=>!0}={}){const n=tt,s=n(315)===e?1:-1;let r=this[n(290)][n(326)](t),o=this[n(325)](r);for(yield r;r;){if(o+=s,r=this[n(289)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=107]})(t,e)}function rt(){const t=["render","revision-end","from","processor","viewChildrenToDom","marked","customProperties","_appendChild","filter","editor","getRevision","config","_getTypeCharForViewElement","717548GFNWBQ","fillerOffset","map","children","data-revision-","type","htmlProcessor","6565488FbFZqq","6FHXBnU","_viewClassToTypeChar","view","1730ZvUCHw","_typeCharToViewClass","name","default","_makeModelFromViewString","get","3695NMiprG","domDocument","isAttached","document","append","string","loadRevisionData","RevisionHistoryUtils","parse","startsWith","23148kXcwcM","4109665oXxoMA","data","getRevisionRootsAttributes","diffData","domConverter","forEach","div","createElement","getFillerOffset","insertions","toModel","pluginName","innerHTML","attributes","attachChange","_removeRevisionMarkers","domChildrenToView","length","isPremiumPlugin","1134630uJzcQk","attributesAfter","isOfficialPlugin","childNodes","36IGpJxJ","getRevisionDocumentData","_setCustomProperty","4042878ijTTpW","_getViewFromDiffObj","revision-start","useFillerType","constructor","editing","toData","collaboration.channelId"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(747961===-parseInt(e(139))/1+-parseInt(e(111))/2+parseInt(e(118))/3+-parseInt(e(115))/4*(-parseInt(e(156))/5)+-parseInt(e(147))/6*(parseInt(e(167))/7)+parseInt(e(146))/8+parseInt(e(166))/9*(parseInt(e(150))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(178)](){return nt(163)}static get[nt(113)](){return!0}static get[nt(110)](){return!0}[nt(148)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(151)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(162)](t,e){const i=nt;if(t[i(170)]||!e)return;const n=this[i(135)][i(137)][i(155)](i(125)),s=await e[i(136)]({channelId:n,revisionId:t.id});t[i(170)]=s[i(170)]}[nt(116)](t){const e=nt,i={};for(const n in t[e(170)]){if(t[e(170)][n][e(181)]&&!t[e(170)][n][e(181)][e(158)])continue;const s=this[e(107)](JSON[e(164)](t[e(170)][n][e(176)])),r=this[e(135)][e(123)][e(149)][e(159)],o=new X.ViewDocumentFragment(r,s[e(141)](t=>this[e(119)](t,!1)));this[e(135)][e(168)][e(129)][e(121)](e(131)),i[n]=this[e(135)][e(168)][e(129)][e(124)](o),this[e(135)][e(168)][e(129)][e(121)](e(153))}return i}[nt(169)](t){const e=nt,i={};for(const n in t[e(170)])t[e(170)][n][e(181)]&&!t[e(170)][n][e(181)][e(158)]||(i[n]=t[e(170)][n][e(112)]||{});return i}[nt(138)](t){const e=nt;return this[e(148)][e(155)](t[e(122)])}[nt(119)](t,e){const i=nt,n=this[i(135)][i(123)][i(149)][i(159)];if(i(161)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(144)]||"r"==t[i(144)]?[]:t[i(142)][i(141)](t=>this[i(119)](t,e));const o=this[i(151)][i(155)](t[i(144)])||X.ViewElement,a=this[i(135)][i(168)][i(145)][i(171)];if(s=new o(n,t[i(152)],t[i(180)],r),"u"==t[i(144)]&&t[i(142)][0]){const r=t[i(142)][0];if(s[i(126)]=function(t){const e=i,n=t[e(174)](e(173));return n[e(179)]=r,n[e(114)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(133)](s);const e=Array[i(128)](a[i(130)](t,{bind:!1})),r=a[i(157)][i(174)](i(173));r[i(160)](...e),s=Array[i(128)](a[i(108)](r))[0]}}else if("r"==t[i(144)]&&t[i(142)][0]){const r=t[i(142)][0];if(s[i(126)]=function(t){t[i(179)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(133)](s);const e=Array[i(128)](a[i(130)](t,{bind:!1})),r=a[i(157)][i(174)](i(173));r[i(160)](...e);const o=Array[i(128)](a[i(108)](r));o[i(109)]>1?s[i(133)](o):s=o[0]}}if(t[i(132)])for(const[e,n]of t[i(132)])s[i(117)](e,n);const c=void 0===t[i(140)]?null:t[i(140)];return null!==c&&(s[i(175)]=()=>c),s}}[nt(154)](t){const e=nt,i=JSON[e(164)](t),n=this[e(135)][e(123)][e(149)][e(159)],s=new X.ViewDocumentFragment(n,i[e(141)](t=>this[e(119)](t,!0)));return this[e(135)][e(168)][e(177)](s)}[nt(107)](t){const e=nt;return(t=t[e(134)](t=>!t[e(152)]||e(120)!==t[e(152)]&&e(127)!==t[e(152)]))[e(172)](t=>{const i=e;i(161)!=typeof t&&(t[i(142)]=this[i(107)](t[i(142)]),t[i(180)]=t[i(180)][i(134)](t=>!t[0][i(165)](i(143))))}),t}}function at(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""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=174]})(t,e)}function pt(){const t=["revisionHistoryLicenseKeyDomainLimit","isOfficialPlugin","currentRevision","attributesBefore","invalid","_revisionId","_showLicenseError","fromVersion","toVersion","createdAt","has","revision","fillerOffset","saveRevision","domConverter","get","Empty document","$comment","clone","detachRoot","getCustomProperties","revisionHistoryLicenseKeyValid","deletion","_baseRoots","version","length","addRootAttribute","createRangeIn","Users","_getFromVersion","_clone","model","$graveyard","_fixRange","insertionPosition","toView","move","merge","offset","offsetSize","from","NEGATIVE_INFINITY","_setAttribute","domainLimit","_continueCurrentRevision","_lastTo","root","add","path","isAdd","_generateTape","trialLimit","fromEntries","max","insertion","Initial revision","authorsIds","_insertChild","_authorId","_handleMarkerOperation","licenseKey","_handleOperation","_createInitialRevision","loadState","_handleRootAttributeOperation","_fixOperation","vid_start","_bufferedUpdates","3007806nVkPzS","render","_createCurrentRevision","innerHTML","clear","keys","initial","destroy","_prepareViewToSave","keepParagraph","_initialRevisionId","getCurrentRevisionId","for","revision:","_calculateMetaData","userId","_startingVersion","reInit","_cloneOperation","reinsert","RevisionTracker","_diffRoots","values","createElement","setSource","_fixPosition","_loadState","84XRaCPT","stickiness","upcast","getRevisionDocumentData","requires","_setConversion","553328cDUiJn","_source","key","revisionHistoryLicenseKeyUsageLimit","getNodeByPath","createPositionFromPath","getLatestVersion","position","attachChange","_touchedRoots","shift","paragraph","sort","createPositionAt","delete","_utils","setRevisionData","creator","bind","markerToData","addRevision","config","_getViewJson","includes","_removePendingAction","2vyUZjG","splitPosition","ready","locale","data","tableCell","vid","remove","update","3433175qbBluF","_markChanges","_copyMarkers","isEnabled","editor","some","createRevision","uiElement","define","split","buildRevisionData","type","revisionHistoryLicenseKeyNotAllowed","_getVidAttributeName","createRange","getTime","_processRootBeforeSave","PendingActions","_reset","trim","_applyOperations","nodes","_revisionDataBuilder","_operations","diffData","rootName","finally","RevisionHistoryUtils","oldRange","howMany","_touchedMarkers","_baseIdsRoots","_savedMetaData","loadRevisionData","_pendingAction","$text","_handleRootOperation","_makeIdsRoot","_handleInsertOperation","evaluationLimit","4jjETjU","_handleSplitOperation","getOperation","elementEnd","_createFromRanges","revisionHistory.resumeUnsavedRevision","removeRootAttribute","newRange","pluginName","set","revisionHistoryLicenseKeyEvaluationLimit","getUser","getData","_getTypeCharForViewElement","init","parent","getAttributes","element","_lastFrom","getAncestors","slice","editor-initial-data-replaced-with-revision-data","range","elementStart","plugins","_makeModelFromViewString","getWalker","_handleMoveOperation","domDocument","_handleMergeOperation","getAttribute","authors","collaboration.channelId","_getPreviousFrom","_findInsertionIndex","_update","targetPosition","getRevisionRootsAttributes","conversion","RevisionsRepository","_startingRevisionId","_getState","addRevisionData","revisionHistoryLicenseKeyTrialLimit","_removeMetaData","start","_isInit","16299970GIIuIi","find","createPositionBefore","creatorId","_bufferUpdate","stringify","_touched","getRootNames","previousPosition","afterInit","end","changeRootAttribute","_baseRootsAttributes","_licenseKeyCheckInterval","_makeRevision","dataToMarker","isReady","affectsData","customProperties","sendBufferedUpdates","getTransformedByOperation","getMovedRangeStart","_execute","getRange","isAttached","featureNotAllowed","_idsRoots","childCount","expired","rawElement","reverse","documentFragment","hasContent","addRoot","then","dataDowncast","351280xUIJYn","getIndex","_isPendingUpdate","vid_end","_getBaseVids","getChild","_loadedStateData","graveyardPosition","text","getChildren","getFillerOffset","attributesAfter","getRevisions","push","size","rootsAttributes","_markers","_saveMetaData","children","usageLimit","revisionHistoryLicenseKeyInvalid","newValue","insertions","source","string","initialData","_replaceEditorDataWithRevisionData","baseVersion","isPremiumPlugin","startsWith","adapter","_transformMarkers","_diffRootsAttributes","roots","revisionHistoryLicenseKeyExpired","RealTimeCollaborationClient","resolve","sourcePosition","isEqual","markers","_isAttached","htmlProcessor","item","map","PENDING_ACTION_REVISION_HISTORY","getRoot","deletions","filter","history","document","repository","12479283RvYZRF","RevisionHistory","insert","1142583llYido","getOperations","_addPendingAction","createPositionAfter","nodeAfter","outerHTML","name","updateRevisions","marker","_appendChild","getRevision"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(757463===parseInt(e(463))/1+parseInt(e(488))/2*(-parseInt(e(351))/3)+-parseInt(e(214))/4*(parseInt(e(174))/5)+parseInt(e(430))/6+parseInt(e(457))/7*(parseInt(e(297))/8)+-parseInt(e(348))/9+parseInt(e(261))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(422)];[ft(274)];[ft(364)]=null;[ft(347)];[ft(327)]=null;[ft(196)];[ft(464)];[ft(440)];[ft(429)];[ft(478)];[ft(208)];[ft(406)];[ft(446)];[ft(303)];static get[ft(222)](){return ft(450)}static get[ft(363)](){return!0}static get[ft(325)](){return!0}static get[ft(461)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(347)]=this[i(178)][i(238)][i(377)](i(253)),this[i(478)]=this[i(178)][i(238)][i(377)](i(201)),this[i(196)]=new gt(this[i(178)]),this[i(440)]=this[i(178)][i(484)][i(377)](i(246))||i(436),this[i(429)]=new Map,this[i(303)]=null;const n=(0,t.uid)();this[i(464)]={history:this[i(178)][i(393)][i(346)][i(345)],getLatestVersion:()=>Promise[i(333)](this[i(178)][i(393)][i(346)][i(386)]),getCurrentRevisionId:()=>n},this[i(223)](i(277),!1),this[i(223)](i(177),!0),this[i(223)](i(299),!1),this[i(178)][i(484)][i(182)](i(219),!0),this[i(178)][i(252)][i(442)](i(459))[i(276)]({view:i(373)})}[ft(228)](){const t=ft;this[t(462)](),this[t(178)][t(492)].on(t(490),()=>{const e=t,i=this[e(347)][e(361)](0),n=i&&null===i[e(480)]?i:null;if(this[e(406)]=!!n&&this[e(178)][e(484)][e(377)](e(219)),this[e(178)][e(238)][e(372)](e(332))){const t=this[e(464)][e(441)](),s=this[e(347)][e(361)](t);if(s)this[e(446)]=s[e(369)],this[e(406)]=!1;else{const t=this[e(464)][e(345)][e(197)][e(262)](t=>!t[e(260)]),s=t?t[e(324)]:this[e(464)][e(345)][e(386)];i?(i[e(370)]<s&&i[e(249)]({toVersion:s}),this[e(406)]?(this[e(464)][e(441)]=()=>n.id,this[e(446)]=n[e(369)]):(this[e(446)]=i[e(370)],this[e(406)]=!1)):(this[e(446)]=s,this[e(406)]=!1)}}else n&&(this[e(178)][e(393)][e(346)][e(345)][e(386)]=Math[e(415)](n[e(370)],this[e(178)][e(393)][e(346)][e(345)][e(386)]),n[e(369)]===n[e(370)]?(0!==n[e(369)]&&(this[e(464)][e(441)]=()=>n.id),this[e(406)]=!1):this[e(406)]&&(this[e(464)][e(441)]=()=>n.id,this[e(446)]=n[e(369)])),this[e(406)]||(this[e(446)]=this[e(178)][e(393)][e(346)][e(386)]);this[e(196)][e(228)](this[e(464)][e(345)]),this[e(424)](this[e(446)]),this[e(432)](this[e(446)]),this[e(327)]&&this[e(280)]()}),this[t(481)](t(277)).to(this,t(299),t=>!t),this[t(422)]=this[t(178)][t(484)][t(377)](t(422));const e=this[t(178)];this[t(274)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(383)==r||i(317)==r||i(331)==r||i(362)==r||i(186)==r||i(224)==r||i(257)==r||i(466)==r){delete e[s],n=r,clearInterval(this[i(274)]),this[i(274)]=void 0;break}}i(317)==n&&e[i(368)](i(366)),i(331)==n&&e[i(368)](i(289)),i(362)==n&&e[i(368)](i(405)),i(186)==n&&e[i(368)](i(286),i(349)),i(224)==n&&e[i(368)](i(213)),i(257)==n&&e[i(368)](i(413)),i(466)==n&&e[i(368)](i(316))},1e3)}async[ft(270)](){const t=ft;if(this[t(347)][t(387)]>0){const e=this[t(347)][t(361)](0),i=await this[t(460)](e),n=await this[t(251)](e);this[t(323)](i,n)}}[ft(437)](){const t=ft;super[t(437)](),this[t(274)]&&clearInterval(this[t(274)])}[ft(454)](t){this[ft(464)]=t}async[ft(496)](){const t=ft,e=await this[t(464)][t(469)]();if(e>this[t(364)][t(370)]){await this[t(456)]();const i=this[t(184)]({revision:this[t(364)],to:e});i[t(245)]=i[t(418)][t(340)](e=>this[t(178)][t(238)][t(377)](t(390))[t(225)](e)),this[t(364)][t(249)](i)}}async[ft(375)](e={},i=null){const n=ft,s=[];await this[n(456)](),this[n(406)]=!1,i>this[n(364)][n(370)]&&(i=null),null===i&&(i=await this[n(464)][n(469)]());const r=this[n(391)](i),o=this[n(184)]({from:r,to:i});if(this[n(364)][n(370)]<i){const t=this[n(184)]({revision:this[n(364)],from:i,to:i});t[n(245)]=[],t[n(418)]=[],t.id=this[n(364)].id,this[n(364)][n(249)](t,!0),delete t[n(245)],s[n(310)](t)}e[n(264)]=this[n(178)][n(238)][n(377)](n(390)).me.id,e[n(357)]=e[n(357)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(256)](e);s[n(310)](e);const c=this[n(347)][n(298)](a);if(0!==c){const t=this[n(347)][n(361)](c-1);if(t[n(369)]!==i){const r=this[n(196)][n(226)](i,t[n(370)]),o={id:t.id,diffData:r[n(198)],authorsIds:r[n(418)],authors:r[n(418)][n(340)](t=>this[n(178)][n(238)][n(377)](n(390))[n(225)](t)),fromVersion:i};t===this[n(364)]&&(o[n(371)]=new Date(e[n(371)][n(189)]()+10)),t[n(249)](o,!0),delete o[n(245)],s[n(310)](o)}}if(this[n(327)]){for(const t of s)this[n(265)](t.id,t,!0);this[n(280)]()}return a}[ft(256)](t){const e=ft,i=this[e(347)][e(180)](t);return this[e(327)]&&i.on(e(249),(t,i,n)=>{const s=e;n||(this[s(265)](i.id,i,!0),this[s(280)]())}),this[e(347)][e(483)](i,this[e(248)](i)),i}async[ft(460)](t){const e=ft;return await this[e(478)][e(207)](t,this[e(327)]),this[e(478)][e(460)](t)}async[ft(251)](t){const e=ft;return await this[e(478)][e(207)](t,this[e(327)]),this[e(478)][e(251)](t)}[ft(280)](){const t=ft;if(0===this[t(429)][t(311)])return;if(this[t(299)])return;let e=Array[t(402)](this[t(429)][t(452)]());this[t(429)][t(434)]();for(let i=0;i<e[t(387)];i++){const n=e[i];let s=!1;for(const e of Object[t(435)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(344)](t=>null!==t),!e[t(387)])return;for(let i=0;i<e[t(387)];i++){const n=e[i];void 0!==n[t(369)]&&void 0===n[t(370)]&&(n[t(370)]=this[t(347)][t(361)](n.id)[t(370)]),void 0!==n[t(370)]&&void 0===n[t(369)]&&(n[t(369)]=this[t(347)][t(361)](n.id)[t(369)])}const i=this[t(178)][t(484)][t(377)](t(246));this[t(299)]=!0,this[t(353)](),this[t(327)][t(358)](e,i)[t(200)](()=>{this[t(299)]=!1})[t(295)](e=>{const i=t;if(e)for(const t of e)this[i(479)]({id:t.id,createdAt:t[i(371)]});this[i(487)](),this[i(280)]()})}[ft(184)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(369)],i=null!==i?i:t[n(370)];const s=this[n(196)][n(226)](e,i),r={diffData:s[n(198)],authorsIds:s[n(418)],fromVersion:e,toVersion:i};if(!t||i!==t[n(370)]){const t=i-1,e=this[n(464)][n(345)][n(216)](t);r[n(371)]=e&&e[n(371)]||new Date}if(this[n(303)]&&e===this[n(303)][n(369)])for(const t of this[n(303)][n(245)])r[n(418)][n(486)](t.id)||r[n(418)][n(310)](t.id);return r}[ft(265)](t,e,i){const n=ft;if(this[n(429)][n(372)](t)){const s=this[n(429)][n(377)](t);e=i?{...s,...e}:{...e,...s}}this[n(429)][n(223)](t,e)}[ft(479)](t){const e=ft,i=this[e(347)][e(361)](t.id);if(t[e(371)]&&(t[e(371)]=new Date(t[e(371)])),t[e(418)]){const i=this[e(178)][e(238)][e(377)](e(390));t[e(245)]=t[e(418)][e(340)](t=>i[e(225)](t))}i[e(249)](t,!0)}[ft(424)](t){const e=ft,i=this[e(347)][e(361)](this[e(347)][e(387)]-1);if(i)this[e(440)]=i.id;else{const i=!this[e(178)][e(393)][e(346)][e(330)][e(262)](t=>this[e(178)][e(393)][e(293)](t)),n=this[e(178)][e(238)][e(377)](e(390)).me.id,s=at(this[e(178)][e(491)],e(i?378:417));this[e(275)]({from:t,to:t,id:this[e(440)],name:s,creatorId:n})}}[ft(432)](t){const e=ft,i=this[e(464)][e(441)]();this[e(364)]=this[e(347)][e(361)](i),this[e(364)]||(this[e(364)]=this[e(275)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(456)](){const t=ft;this[t(406)]&&!this[t(303)]&&(await this[t(478)][t(207)](this[t(364)],this[t(327)]),this[t(196)][t(425)](this[t(364)]),this[t(303)]={fromVersion:this[t(364)][t(369)],authors:this[t(364)][t(245)][t(234)]()})}[ft(323)](e,i){const n=ft;let s=this[n(178)][n(484)][n(377)](n(322)),r=this[n(178)][n(484)][n(377)](n(312));if(void 0===s){s={};for(const t of this[n(178)][n(393)][n(346)][n(268)]())s[t]=""}if(n(321)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(178)][n(393)][n(346)][n(268)]())r[t]={}}let o=!1;const a=Object[n(435)](s),c=Object[n(435)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(193)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(435)](r[t])[n(387)]>0){o=!0;break}}o||(o=c[n(179)](t=>!this[n(178)][n(393)][n(346)][n(342)](t))),o&&(0,t.logWarning)(n(235),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(178)][n(484)][n(223)](n(322),e),this[n(178)][n(484)][n(223)](n(312),i)}[ft(353)](){const t=ft;if(!this[t(208)]){const e=this[t(178)][t(238)][t(377)](t(191));this[t(208)]=e[t(409)](at(this[t(178)][t(491)],t(341)))}}[ft(487)](){const t=ft;this[t(208)]&&(this[t(178)][t(238)][t(377)](t(191))[t(495)](this[t(208)]),this[t(208)]=null)}[ft(248)](t){const e=ft,i=this[e(347)][e(309)]();i[e(291)]();let n=0;for(;n<i[e(387)];){const s=i[n];if(s===this[e(364)]){n++;continue}if(s.id===this[e(440)])break;const r=t[e(370)]-s[e(370)]||t[e(369)]-s[e(369)];if(r>0)break;if(r<0)n++;else{if(!t[e(480)]&&s[e(480)])break;if(s[e(480)]||!t[e(480)]){if(t[e(371)]>s[e(371)])break;n++}else n++}}return n}[ft(391)](t){const e=ft,i=this[e(347)][e(309)]();i[e(291)](),i[e(473)]();const n=i[e(262)](i=>i[e(370)]<=t)[e(370)];return n<this[e(446)]?this[e(446)]:n}[ft(275)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(184)]({from:e,to:i});o[r(357)]=t,o[r(264)]=n,o.id=s;const a=this[r(256)](o);return this[r(327)]&&this[r(265)](o.id,o,!0),a}[ft(462)](){const t=ft;this[t(178)][t(252)][t(442)](t(296))[t(482)]({model:t(373)})}}class gt{[ft(178)];[ft(320)];[ft(206)];[ft(232)];[ft(407)];[ft(313)];[ft(451)];[ft(329)];[ft(385)];[ft(273)];[ft(287)];[ft(205)];[ft(267)];[ft(204)];[ft(472)];[ft(367)];[ft(254)];constructor(t){const e=ft;this[e(178)]=t,this[e(206)]=new Map,this[e(232)]=-1,this[e(407)]=-1,this[e(313)]=new Map,this[e(451)]=new Map,this[e(329)]=new Map,this[e(385)]=new Map,this[e(273)]=new Map,this[e(287)]=new Map,this[e(205)]=new Map,this[e(267)]=new Map,this[e(204)]=new Map,this[e(472)]=new Map,this[e(367)]=1}[ft(228)](t){const e=ft;this[e(320)]=t;const i=new Map,n=new Map,s=this[e(178)][e(393)][e(346)][e(330)][e(340)](t=>t[e(199)]);for(const t of s){const s=this[e(178)][e(393)][e(346)][e(342)](t),r=yt(s);i[e(223)](t,r),n[e(223)](t,Object[e(414)](s[e(230)]()))}const r=Array[e(402)](this[e(178)][e(393)][e(336)])[e(340)](t=>[t[e(357)],t[e(284)]()]),o=this[e(320)][e(386)];this[e(314)](o,i,r,n),this[e(254)]=this[e(367)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(223)](t,i),c[e(223)](t,{})}this[e(314)](Number[e(403)],a,[],c)}[ft(226)](t,e){const i=ft;if(this[i(232)]===t&&this[i(407)]<=e)this[i(206)][i(311)]>1&&this[i(258)](this[i(407)]),this[i(194)](this[i(407)],e,!0);else{if(!this[i(206)][i(372)](t)){const e=this[i(247)](t);this[i(444)](e,t,!1)}this[i(444)](t,e,!0)}return this[i(232)]=t,this[i(407)]=e,this[i(255)]()}[ft(425)](t){const e=ft;if(!this[e(206)][e(372)](t[e(369)])){const i=this[e(247)](t[e(369)]);this[e(444)](i,t[e(369)],!1)}this[e(444)](t[e(369)],t[e(370)],!1);const i=this[e(178)][e(238)][e(377)](e(201));this[e(192)](),this[e(232)]=t[e(369)],this[e(407)]=t[e(370)];for(const n in t[e(198)]){const s=t[e(198)][n][e(471)],r=R(t[e(198)][n][e(365)])||{},o=i[e(239)](t[e(198)][n][e(343)]);o[e(199)]=n,o[e(337)]=!s||!s[e(285)],o[e(285)]=()=>o[e(337)],this[e(385)][e(223)](n,o),this[e(273)][e(223)](n,r),s&&this[e(472)][e(223)](n,s);const a=this[e(211)](o);this[e(205)][e(223)](n,a);for(const[t,i]of o[e(336)]){if(!t[e(326)](e(443)))continue;const n=t[e(183)](":")[2];for(const t of i[e(240)]({singleCharacters:!0})){const i=this[e(187)](t),s=e(217)==t[e(185)]?t[e(269)][e(410)][e(234)](0,-1):t[e(269)][e(410)],r=a[e(467)](s)[e(244)](i);this[e(267)][e(223)](r,{userId:n})}}}this[e(254)]=this[e(367)];const n=[...Array(this[e(367)])[e(435)]()][e(234)](1)[e(344)](t=>!this[e(267)][e(372)](t));let s=0;const r=new Map;for(const o in t[e(198)]){const a=t[e(198)][o][e(471)],c=R(t[e(198)][o][e(308)])||{},u=i[e(239)](t[e(198)][o][e(319)]);u[e(199)]=o,u[e(337)]=!a||a[e(285)],u[e(285)]=()=>u[e(337)],this[e(451)][e(223)](o,u),this[e(329)][e(223)](o,c);const l=this[e(211)](u,Number[e(403)]);this[e(287)][e(223)](o,l),r[e(223)](o,u[e(285)]()?c:{});for(const[t,i]of u[e(336)]){if(!t[e(326)](e(443)))continue;const n=t[e(183)](":")[2];for(const t of i[e(240)]({singleCharacters:!0})){const i=this[e(187)](t),s=this[e(367)]++,r=e(217)==t[e(185)]?t[e(269)][e(410)][e(234)](0,-1):t[e(269)][e(410)];l[e(467)](r)[e(404)](i,s),this[e(267)][e(223)](s,{userId:n})}}for(const t of this[e(178)][e(393)][e(389)](u)[e(240)]({singleCharacters:!0})){const i=this[e(187)](t),r=e(217)==t[e(185)]?t[e(269)][e(410)][e(234)](0,-1):t[e(269)][e(410)],o=l[e(467)](r);o[e(244)](i)>0||o[e(404)](i,n[s++])}for(const[t,i]of u[e(336)])t[e(326)](e(443))||this[e(313)][e(223)](t,i)}const{roots:o}=this[e(206)][e(377)](t[e(369)]),{roots:a}=this[e(206)][e(377)](t[e(370)]),c=yt(o[e(377)](e(394)));this[e(385)][e(223)](e(394),c),this[e(205)][e(223)](e(394),this[e(211)](c,Number[e(403)]));const u=yt(a[e(377)](e(394)));this[e(451)][e(223)](e(394),u),this[e(287)][e(223)](e(394),this[e(211)](u));const l=Array[e(402)](this[e(451)])[e(340)](([t,e])=>[t,yt(e)]);this[e(314)](this[e(407)],l,this[e(313)],r)}[ft(447)](){const t=ft;this[t(192)](),this[t(232)]=-1,this[t(407)]=-1,this[t(206)][t(434)](),this[t(228)](this[t(320)])}[ft(314)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(223)](t,{start:e[s(259)][s(380)](),end:e[s(271)][s(380)](),rootName:e[s(408)][s(199)]});this[s(206)][s(223)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(258)](t){const e=ft;this[e(206)][e(477)](t)}[ft(192)](){const t=ft;this[t(267)][t(434)](),this[t(204)][t(434)](),this[t(472)][t(434)](),this[t(451)][t(434)](),this[t(329)][t(434)](),this[t(385)][t(434)](),this[t(273)][t(434)](),this[t(287)][t(434)](),this[t(205)][t(434)](),this[t(313)][t(434)](),this[t(367)]=1,this[t(254)]=this[t(367)]}[ft(211)](t,e=null){const i=ft;let n=null;t.is(i(292))||(n=new X.ModelElement(t[i(357)],{vid_start:null===e?this[i(367)]++:e++}));const s=[];for(const n of t[i(306)]())if(n.is(i(231))){s[i(310)](this[i(211)](n,e));const t=s[s[i(387)]-1];null!==e&&(e=t.is(i(231),i(209))?t[i(244)](i(494))+1:t[i(244)](i(300))+1)}else for(let t=0;t<n[i(401)];t++)s[i(310)](new X.ModelElement(i(209),{vid:null===e?this[i(367)]++:e++}));if(t.is(i(292))){const e=kt(t[i(199)]);return e[i(419)](0,s),e}return n[i(404)](i(300),null===e?this[i(367)]++:e++),n[i(419)](0,s),n}[ft(444)](t,e,i){const n=ft;this[n(192)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(206)][n(377)](t);this[n(385)]=new Map(s),this[n(273)]=new Map(R(o));for(const[t,e]of this[n(385)])if(n(394)!==t&&(this[n(451)][n(223)](t,yt(e)),this[n(329)]=new Map(R(o)),i)){const i=this[n(367)];this[n(287)][n(223)](t,this[n(211)](e)),this[n(205)][n(223)](t,this[n(211)](e,i))}this[n(254)]=this[n(367)],this[n(451)][n(223)](n(394),yt(this[n(385)][n(377)](n(394)))),i&&this[n(287)][n(223)](n(394),this[n(211)](this[n(385)][n(377)](n(394))));for(const[t,e]of r){const i=this[n(385)][n(377)](e[n(199)]),s=this[n(451)][n(377)](e[n(199)]),r=new X.ModelRange(this[n(455)](e[n(259)],i),this[n(455)](e[n(271)],i)),o=this[n(395)](r,s);i[n(336)][n(223)](t,r),this[n(313)][n(223)](t,o)}this[n(194)](t,e,i)}[ft(194)](t,e,i){const n=ft;for(const s of this[n(320)][n(352)](t,e))this[n(423)](s,i);for(const t of this[n(451)][n(452)]())t[n(336)][n(434)]();for(const[t,e]of this[n(313)])this[n(451)][n(377)](e[n(408)][n(199)])[n(336)][n(223)](t,e[n(380)]());const s=new Map,r=new Map;for(const[t,e]of this[n(451)])s[n(223)](t,yt(e)),r[n(223)](t,this[n(329)][n(377)](t));this[n(314)](e,s,this[n(313)],r)}[ft(247)](t){const e=ft,i=Array[e(402)](this[e(206)][e(435)]());i[e(475)]((t,e)=>t-e),i[e(291)]();for(const e of i)if(e<t)return e;return Number[e(403)]}[ft(176)](t,e){const i=ft,n=Array[i(402)](e[i(336)])[i(340)](([e,n])=>[e,this[i(395)](n,t)]);t[i(336)]=new Map(n)}[ft(328)](t){const e=ft;for(const i of this[e(313)][e(452)]()){const n=i[e(281)](t),s=X.ModelRange[e(218)](n);i[e(259)]=s[e(259)],i[e(271)]=s[e(271)]}}[ft(423)](t,e){const i=ft;if(i(294)!=t[i(185)]&&i(381)!=t[i(185)]){if(i(350)==t[i(185)]){const n=t[i(470)][i(408)][i(199)];this[i(451)][i(372)](n)||(this[i(451)][i(223)](n,kt(n,!0)),this[i(329)][i(223)](n,{}),e&&this[i(287)][i(223)](n,kt(n,!0)))}else{if(i(388)==t[i(185)]||i(220)==t[i(185)]||i(272)==t[i(185)])return void this[i(426)](t);i(359)==t[i(185)]&&this[i(421)](t)}if(i(359)!==t[i(185)]){const e=this[i(448)](t,this[i(451)]);e[i(283)](),this[i(328)](e)}if(e)switch(t[i(185)]){case i(350):this[i(212)](t);break;case i(398):case i(495):case i(449):this[i(241)](t);break;case i(399):this[i(243)](t);break;case i(183):this[i(215)](t)}}else this[i(210)](t,e)}[ft(448)](t,e){const i=ft,n=t[i(380)]();return n[i(420)]=t[i(420)],this[i(427)](n,e),n}[ft(301)](t){const e=ft;return t[e(340)](t=>{const i=e,n=this[i(187)](t);return Number(t[i(339)][i(244)](n))})}[ft(412)](t,e){const i=ft;if(t.is(i(231),i(209)))e[i(310)]({item:t,type:i(305)});else{t.is(i(231))&&e[i(310)]({item:t,type:i(237)});for(const n of t[i(306)]())this[i(412)](n,e);t.is(i(231))&&e[i(310)]({item:t,type:i(217)})}return e}[ft(255)](){const t=ft,e=new Map(this[t(267)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(385)][t(435)](),...this[t(451)][t(435)]()]);a[t(477)](t(394));for(const e of a){const i=this[t(451)][t(377)](e)||kt(e,!1),n=this[t(385)][t(377)](e)||kt(e,!1);i[t(285)]()||n[t(285)]()?(s[t(319)][e]=yt(i),s[t(343)][e]=yt(n),this[t(176)](s[t(343)][e],n),this[t(176)](s[t(319)][e],i),r[t(319)][e]=this[t(412)](this[t(287)][t(377)](e),[]),r[t(343)][e]=this[t(412)](this[t(205)][t(377)](e)||kt(e,!1),[])):a[t(477)](e)}for(const s of a){const o=r[t(319)][s];for(const s of o){const r=this[t(187)](s),o=s[t(339)][t(244)](r);i[t(477)](o),o>=this[t(254)]&&n[t(223)](o,e[t(377)](o))}}for(const s of a){const a=r[t(319)][s],c=this[t(301)](r[t(343)][s]);let u=0;for(const s of a){const r=this[t(187)](s),a=s[t(339)][t(244)](r);if(!n[t(372)](a)&&!o[t(372)](a))if(i[t(372)](a))u++;else{if(a!=c[u]){const n=e[t(377)](a)||e[t(377)](c[u]);for(;a!=c[u];)i[t(372)](c[u])||(o[t(223)](c[u],n),e[t(223)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(319)][e];for(const e of s){const s=this[t(187)](e),r=e[t(339)][t(244)](s);if(o[t(372)](r)){const e=o[t(377)](r);i[t(372)](r)||i[t(223)](r,{...e}),n[t(223)](r,{...e})}}}for(const e of i[t(435)]())e>=this[t(254)]&&i[t(477)](e);const c=new Map;for(const e of a){let s=r[t(319)][e];for(const e of s)if(e[t(339)].is(t(231),t(493))){const i=this[t(187)](e),s=e[t(339)][t(244)](i);if(n[t(372)](s)){const i=e[t(339)][t(229)][t(229)][t(244)](t(428)),r=c[t(377)](i)||new Set;r[t(409)](n[t(377)](s)[t(445)]),c[t(223)](i,r)}}s=r[t(343)][e];for(const e of s)if(e[t(339)].is(t(231),t(493))){const n=this[t(187)](e),s=e[t(339)][t(244)](n);if(i[t(372)](s)){const n=e[t(339)][t(229)][t(229)][t(244)](t(428)),r=c[t(377)](n)||new Set;r[t(409)](i[t(377)](s)[t(445)]),c[t(223)](n,r)}}for(const e of c[t(435)]())(n[t(372)](e)||i[t(372)](e))&&c[t(477)](e)}for(const e of a){const s=r[t(319)][e];let o=null,a=null;for(const e of s){const s=this[t(187)](e),r=e[t(339)][t(244)](s),u=c[t(377)](r);u&&t(237)==e[t(185)]&&(o=Array[t(402)](u)[0],a=e[t(339)][t(244)](t(300))),o&&(i[t(223)](r,{userId:o}),n[t(223)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(343)][e],a=s[t(319)][e];for(const{userId:e}of this[t(204)][t(452)]())null!==e&&l[t(409)](e);for(const{userId:e}of this[t(472)][t(452)]())null!==e&&l[t(409)](e);this[t(175)](a,r[t(319)][e],n,t(416),l),this[t(175)](o,r[t(343)][e],i,t(384),l),u[e]={insertions:this[t(438)](a),deletions:this[t(438)](o),attachChange:this[t(472)][t(377)](e)||null,attributesBefore:R(this[t(273)][t(377)](e))||{},attributesAfter:R(this[t(329)][t(377)](e))}}return{diffData:u,authorsIds:Array[t(402)](l)}}[ft(190)](t){const e=ft;for(const[,i]of t[e(336)]){const t=i[e(259)][e(233)]()[e(344)](t=>e(493)==t[e(357)]);for(const i of t)1==i[e(288)]&&i[e(302)](0).is(e(231),e(474))&&i[e(302)](0)[e(404)](e(439),!0)}}[ft(438)](t){const e=ft;this[e(190)](t);const i=this[e(178)][e(492)][e(397)](t,{}),n=Array[e(402)](i[e(306)]())[e(340)](t=>this[e(485)](t));return JSON[e(266)](n)}[ft(485)](t){const e=ft;if(t.is(e(209)))return t[e(492)];{const i=this[e(178)][e(238)][e(377)](e(201)),n=t,s=this[e(178)][e(492)][e(338)][e(376)],r={type:i[e(227)](n),name:n[e(357)],attributes:Array[e(402)](n[e(230)]()),children:Array[e(402)](n[e(306)]())[e(340)](t=>this[e(485)](t))};if(t.is(e(181))&&e(379)!=t[e(357)]){const i=t[e(431)](s[e(242)],s);r[e(315)][e(310)](i[e(356)])}else if(t.is(e(290))){const i=s[e(242)][e(453)](n[e(357)]);t[e(431)](i,s),r[e(315)][e(310)](i[e(433)])}const o=Array[e(402)](n[e(382)]());o[e(387)]>0&&(r[e(279)]=o);const a=n[e(307)]();return null!==a&&(r[e(374)]=a),r}}[ft(175)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(178)][r(393)];for(let n=0;n<e[r(387)];n++){const s=this[r(187)](e[n]),c=e[n][r(339)][r(244)](s),h=i[r(377)](c),d=n==e[r(387)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(445)]!=o[r(445)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(445)],d=l(443)+n+":"+h+":"+c++,f=u[l(188)](i,a);t[l(336)][l(223)](d,f),null!==h&&s[l(409)](h)}}[ft(187)](t){const e=ft;switch(t[e(185)]){case e(237):return e(428);case e(217):return e(300);default:return e(494)}}[ft(427)](t,e){const i=ft;t[i(324)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(377)](s[i(408)][i(199)]);t[n]=this[i(455)](s,r)}if(s instanceof X.ModelRange){const r=e[i(377)](s[i(408)][i(199)]);t[n]=this[i(395)](s,r)}i(408)===n&&(t[i(408)]=e[i(377)](t[i(408)][i(199)]))}}[ft(395)](t,e){const i=ft;return this[i(178)][i(393)][i(188)](this[i(455)](t[i(259)],e),this[i(455)](t[i(271)],e))}[ft(455)](t,e){const i=ft;return this[i(178)][i(393)][i(468)](e,t[i(410)],t[i(458)])}[ft(212)](t){const e=ft,i=this[e(287)][e(377)](t[e(470)][e(408)][e(199)]),n=this[e(455)](t[e(470)],i),s=null===t[e(420)]?null:t[e(420)]||this[e(178)][e(238)][e(377)](e(390)).me.id,r=n[e(229)],o=this[e(367)],a=[];for(const i of t[e(195)])if(i.is(e(231)))a[e(310)](this[e(211)](i));else for(let t=0;t<i[e(401)];t++)a[e(310)](new X.ModelElement(e(209),{vid:this[e(367)]++}));const c=this[e(367)];for(let t=o;t<c;t++)this[e(267)][e(223)](t,{userId:s});r[e(419)](n[e(400)],a)}[ft(241)](t){const e=ft;(t=this[e(448)](t,this[e(287)]))[e(283)]();const i=null===t[e(420)]?null:t[e(420)]||this[e(178)][e(238)][e(377)](e(390)).me.id,n=t[e(282)](),s=n[e(229)],r=n[e(400)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(302)](e);r.is(a(231),a(209))?n[a(223)](r[a(244)](a(494)),{userId:i}):(n[a(223)](r[a(244)](a(428)),{userId:i}),t(n,r,0,r[a(288)]),n[a(223)](r[a(244)](a(300)),{userId:i}))}}(this[e(267)],s,r,r+t[e(203)])}[ft(243)](t){const e=ft,i=null===(t=this[e(448)](t,this[e(287)]))[e(420)]?null:t[e(420)]||this[e(178)][e(238)][e(377)](e(390)).me.id,n=t[e(250)][e(229)],s=t[e(334)][e(229)],r=n[e(244)](e(300)),o=s[e(244)](e(428));n[e(404)](e(300),s[e(244)](e(300))),s[e(404)](e(300),r),this[e(267)][e(223)](o,{userId:i}),this[e(267)][e(223)](r,{userId:i}),t[e(283)]()}[ft(215)](t){const e=ft,i=null===(t=this[e(448)](t,this[e(287)]))[e(420)]?null:t[e(420)]||this[e(178)][e(238)][e(377)](e(390)).me.id,n=t[e(304)],s=t[e(489)][e(229)];t[e(283)]();const r=s[e(244)](e(300)),o=t[e(396)][e(355)];if(n){const t=o[e(244)](e(300)),n=s[e(244)](e(300));s[e(404)](e(300),t),o[e(404)](e(300),n),this[e(267)][e(223)](s[e(244)](e(300)),{userId:i}),this[e(267)][e(223)](o[e(244)](e(428)),{userId:i})}else{const t=this[e(367)]++,n=this[e(367)]++;s[e(404)](e(300),t),o[e(404)](e(428),n),o[e(404)](e(300),r),this[e(267)][e(223)](t,{userId:i}),this[e(267)][e(223)](n,{userId:i})}}[ft(421)](t){const e=ft;if(!t[e(278)])return;const i=(t=this[e(448)](t,this[e(451)]))[e(202)]?t[e(202)][e(408)]:null,n=t[e(221)]?t[e(221)][e(408)]:null;i&&this[e(313)][e(477)](t[e(357)]),n&&this[e(313)][e(223)](t[e(357)],t[e(221)][e(380)]());const s=null===t[e(420)]?null:t[e(420)]||this[e(178)][e(238)][e(377)](e(390)).me.id,r=t[e(357)];if(!this[e(204)][e(372)](r))return void this[e(204)][e(223)](r,{range:t[e(202)],userId:s});const o=this[e(204)][e(377)](r),a=o[e(236)],c=t[e(221)];null==a&&null==c||a&&c&&a[e(335)](c)?this[e(204)][e(477)](t[e(357)]):o[e(445)]=s}[ft(210)](t,e){const i=ft;this[i(451)][i(372)](t[i(199)])?this[i(451)][i(377)](t[i(199)])[i(337)]=t[i(411)]:(this[i(451)][i(223)](t[i(199)],kt(t[i(199)],!0)),this[i(329)][i(223)](t[i(199)],{}),e&&this[i(287)][i(223)](t[i(199)],kt(t[i(199)],!0)));const n=null===t[i(420)]?null:t[i(420)]||this[i(178)][i(238)][i(377)](i(390)).me.id,s=this[i(472)][i(377)](t[i(199)]);s&&s[i(445)]===n?this[i(472)][i(477)](t[i(199)]):this[i(472)][i(223)](t[i(199)],{userId:n,isAttached:t[i(411)]})}[ft(426)](t){const e=ft,i=this[e(329)][e(377)](t[e(408)][e(199)]);null===t[e(318)]?delete i[t[e(465)]]:i[t[e(465)]]=t[e(318)]}}function yt(t){const e=ft,i=kt(t[e(199)],t[e(285)]());for(const n of t[e(306)]()){const t=n[e(392)](!0);i[e(360)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(199)]=t,n[i(337)]=e,n[i(285)]=()=>n[i(337)],n}function bt(t,e,i){const n=ft,s=n(217)==t[n(185)]?i[n(476)](t[n(339)],n(271)):i[n(263)](t[n(339)]);return i[n(468)](e,s[n(410)],s[n(458)])}function wt(t,e,i){const n=ft,s=n(237)==t[n(185)]?i[n(476)](t[n(339)],0):i[n(354)](t[n(339)]);return i[n(468)](e,s[n(410)],s[n(458)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Dt=i.n(Vt),Et=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Lt(){const t=["arrowdown","ck-responsive-form","383822qWxMsw","ck-revision-history-save-revision-form","form","extendTemplate","render","add","value","195123PeOJSH","focus","label","fieldView","setTemplate","trim","revisionNameInputValue","revisionName","stopPropagation","220","1QJVLUu","arrowup","keystrokes","input","optional","element","1335204VyTIkc","reset","_createRevisionNameInput","errorText","arrowleft","initializeCssTransitionDisablerMixin","arrowright","3955167TJiYFH","set","2062448SEZbvt","1317498eMlqwu","507515iBmimV","locale","revisionNameInputView","listenTo","6txTmWf","Name of the revision","focusTracker"];return(Lt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=Lt();return(Wt=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(184909===-parseInt(e(373))/1*(parseInt(e(399))/2)+-parseInt(e(406))/3+parseInt(e(379))/4+parseInt(e(390))/5*(parseInt(e(394))/6)+parseInt(e(389))/7+parseInt(e(388))/8+-parseInt(e(386))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(396)];[Pt(375)];[Pt(392)];constructor(e,i){const n=Pt;super(e),this[n(396)]=new t.FocusTracker,this[n(375)]=new t.KeystrokeHandler,this[n(387)](n(369),""),this[n(392)]=this[n(381)](i),this[n(367)]({tag:n(401),attributes:{class:["ck",n(400),n(398)],tabindex:"-1"},children:[this[n(392)]]}),this[n(384)]()}[Pt(403)](){const t=Pt;super[t(403)](),(0,It.submitHandler)({view:this}),this[t(396)][t(404)](this[t(392)][t(378)]),this[t(375)][t(393)](this[t(378)]);const e=e=>e[t(371)]();this[t(375)][t(387)](t(385),e),this[t(375)][t(387)](t(383),e),this[t(375)][t(387)](t(374),e),this[t(375)][t(387)](t(397),e)}[Pt(407)](){const t=Pt;this[t(392)][t(407)]()}get[Pt(370)](){const t=Pt;return this[t(392)][t(409)][t(378)][t(405)][t(368)]()}set[Pt(370)](t){const e=Pt;this[e(392)][e(409)][e(378)][e(405)]=t[e(368)]()}[Pt(380)](){const t=Pt;this[t(392)][t(409)][t(378)][t(405)]="",this[t(392)][t(382)]=null}[Pt(381)](t){const e=Pt,i=new It.LabeledFieldView(this[e(391)],It.createLabeledInputText),n=i[e(409)];n[e(402)]({attributes:{maxlength:e(372)}});let s=at(this[e(391)],e(395));return!t&&(s+=" ("+at(this[e(391)],e(377))+")"),i[e(408)]=s,n.on(e(376),()=>{const t=e;this[t(369)]=n[t(378)][t(405)][t(368)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=256]})(t,e)}const Ht=Ut;function Zt(){const t=["Dialog","role","set","delegate","2523664LWvVvF","isReady","get","children","view","revisionName","addMany","menuBar:revisionHistory","pluginName","reset","menuitem","editing","revisionHistory.requireRevisionName","Accept","locale","Save current revision","focus","904155fbPEaI","add","Cancel","683255vcKQiX","items","init","errorText","panelView","_registerMenuComponent","_showDialog","requires","1194635XcATgb","revisionHistory","isEnabled","componentFactory","isReadOnly","Open revision history","isOfficialPlugin","Revision history","2872252xxeCiJ","showRevisionViewerCallback","12zaZIKI","execute","saveRevision","revisionNameInputView","4aRzXkk","isOpen","plugins","isPremiumPlugin","show","RevisionTracker","buttonView","341736fimnmB","editor","_saveRevisionFormView","render","The revision name cannot be empty.","revisionSave","18016731JvUlvF","_createSaveRevisionFormView","config","hide","ck-button-action","bind","submit","menu","RevisionHistoryUI"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(536804===-parseInt(e(293))/1+-parseInt(e(315))/2*(-parseInt(e(322))/3)+-parseInt(e(309))/4+parseInt(e(301))/5*(-parseInt(e(311))/6)+-parseInt(e(290))/7+parseInt(e(273))/8+parseInt(e(260))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ht(281)](){return Ht(268)}static get[Ht(307)](){return!0}static get[Ht(318)](){return!0}static get[Ht(300)](){return[vt]}[Ht(256)];[Ht(295)](){const t=Ht,e=this[t(323)],i=e[t(317)][t(275)](t(320));e.ui[t(304)][t(291)](t(302),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(297)][s(276)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(265)](s(303)).to(i,s(274),i,s(303),e,s(305),(t,e,i)=>t&&e&&!i),r[s(321)][s(271)]({icon:_t.IconHistory,label:at(n,s(308)),tooltip:!0}),u[s(271)]({label:at(n,s(288)),withText:!0,role:s(283)}),u[s(265)](s(303)).to(i,s(274),i,s(303),e,s(305),(t,e,i)=>t&&e&&!i),u.on(s(312),()=>this[s(299)]()),h[s(271)]({label:at(n,s(306)),withText:!0,role:s(283)}),h[s(265)](s(303)).to(i,s(274),e,s(305),(t,e)=>t&&!e),h.on(s(312),()=>{const t=s;e[t(262)][t(275)](t(302))[t(310)](),r[t(316)]=!1,e[t(284)][t(277)][t(289)]()}),c[s(276)][s(291)](u),l[s(276)][s(291)](h),a[s(270)]=s(267),a[s(294)][s(279)]([c,l]),o[s(291)](a),r}),e.ui[t(304)][t(291)](t(280),()=>this[t(298)]())}[Ht(298)](){const t=Ht,e=this[t(323)],i=e[t(287)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(321)][t(271)]({icon:_t.IconHistory,label:at(i,t(308))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(271)]({label:at(i,t(288))}),o[t(272)](t(312)).to(n),o.on(t(312),()=>{this[t(299)]()}),r[t(276)][t(291)](o),s[t(294)][t(291)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(271)]({label:at(i,t(306))}),c[t(272)](t(312)).to(n),c.on(t(312),()=>{const i=t;e[i(262)][i(275)](i(302))[i(310)]()}),a[t(276)][t(291)](c),s[t(294)][t(291)](a),n[t(297)][t(276)][t(291)](s),n}[Ht(299)](){const t=Ht,e=this[t(323)],i=e[t(287)],n=e[t(317)][t(275)](t(269)),s=e[t(317)][t(275)](t(320));function r(s){const r=t;e[r(262)][r(275)](r(285))&&""===s[r(278)]?s[r(314)][r(296)]=at(i,r(258)):(e[r(317)][r(275)](vt)[r(313)]({name:s[r(278)]}),n[r(263)]())}this[t(256)]||(this[t(261)](),this[t(256)].on(t(266),()=>r(this[t(256)]))),this[t(256)][t(282)](),n[t(319)]({id:t(259),title:at(i,t(288)),isModal:!0,content:this[t(256)],actionButtons:[{label:at(e[t(287)],t(292)),withText:!0,onExecute:()=>n[t(263)]()},{label:at(e[t(287)],t(286)),class:t(264),withText:!0,onCreate(i){const n=t;i[n(265)](n(303)).to(s,n(274),s,n(303),e,n(305),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(256)])}]})}[Ht(261)](){const t=Ht,e=this[t(323)],i=e[t(287)];this[t(256)]=new zt(i,e[t(262)][t(275)](t(285))),this[t(256)][t(257)]()}}function $t(){const t=["2974736wPzbRA","2390059qPQrTM","14612uodqRe","1003950ztcONS","element","Suggested by","Added by","ck-revision-change__label","55hJcMLk","ck-annotation","set","Removed by","bindTemplate","2203323cvUJLG","ck-revision-change","20obenUK","type","ck-revision-change__","div","author","58914IbtVcK","name","add","span","45VMiRCI","focus","4xwNDAp","22Ugfykx","data","_model","isSuggestion","changeId","630468VnuFKY","setTemplate"];return($t=function(){return t})()}const Yt=Bt;function Bt(t,e){const i=$t();return(Bt=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(393341===parseInt(e(334))/1*(parseInt(e(328))/2)+-parseInt(e(339))/3*(-parseInt(e(352))/4)+parseInt(e(350))/5*(parseInt(e(346))/6)+-parseInt(e(361))/7+-parseInt(e(360))/8+-parseInt(e(329))/9*(parseInt(e(341))/10)+parseInt(e(353))/11*(parseInt(e(358))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Yt(357)];[Yt(355)];constructor(t,e){const i=Yt;super(t),this[i(355)]=e,this[i(357)]=e.id;const n=this[i(338)],s=at(t,e[i(354)][i(356)]?i(331):i(348)==e[i(342)]?i(332):i(337));this[i(336)](i(342),e[i(342)]),this[i(359)]({tag:i(344),attributes:{class:[i(335),i(340),n.to(i(342),t=>i(343)+t)],tabindex:-1},children:[{tag:i(349),children:[{tag:i(349),attributes:{class:[i(333)]},children:[{text:s}]},{text:" "+e[i(345)][i(347)]}]}]})}[Yt(351)](){const t=Yt;this[t(330)][t(351)]()}}var Gt=Xt;function Kt(){var t=["createdAt","629284SlNOOh","type","9612189jofjpg","rootName","1922290RWofNg","toJSON","10DnwpLD","3311JaXSxi","2937012xPNSXm","152421yogqNo","8VxzoTC","author","set","data","705668WWAkct","17488cdrMJx"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=472]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(531472===parseInt(e(480))/1+-parseInt(e(473))/2*(parseInt(e(472))/3)+parseInt(e(477))/4+parseInt(e(484))/5+-parseInt(e(488))/6+-parseInt(e(487))/7*(parseInt(e(478))/8)+parseInt(e(482))/9*(parseInt(e(486))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(474)];[Gt(481)];[Gt(476)];[Gt(483)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(474)]=e[i(474)],this[i(481)]=e[i(481)],this[i(476)]=e[i(476)]||{},this[i(483)]=e[i(483)],this[i(475)](i(479),e[i(479)])}[Gt(485)](){var t=Gt;return{id:this.id,authorId:this[t(474)].id,type:this[t(481)],data:this[t(476)],createdAt:this[t(479)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=142]})(t,e)}function ie(){const t=["newRevisionId","112436jmiIWJ","30eEZYJf","30fmcCPq","245ixeBXc","_setChanges","561540HtYKPF","3472239IFXGyW","2637976FVmgvx","add","oldRevisionId","changes","636066qAnDRt","8311185DDWYPq","2mMIVDx","88408pFhmJB"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(629051===-parseInt(e(151))/1*(parseInt(e(149))/2)+parseInt(e(144))/3+parseInt(e(154))/4*(-parseInt(e(156))/5)+parseInt(e(143))/6+-parseInt(e(157))/7*(-parseInt(e(152))/8)+-parseInt(e(150))/9+-parseInt(e(155))/10*(-parseInt(e(145))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(153)];[te(147)];[te(148)];constructor(e,i){const n=te;this[n(153)]=e,this[n(147)]=i,this[n(148)]=new t.Collection}[te(142)](t){const e=te;for(const i of t)this[e(148)][e(146)](i)}}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=le();return(ae=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(637741===parseInt(e(297))/1+-parseInt(e(542))/2+parseInt(e(489))/3+-parseInt(e(278))/4+parseInt(e(394))/5*(-parseInt(e(380))/6)+parseInt(e(481))/7+-parseInt(e(302))/8*(-parseInt(e(384))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(le);class ce extends G.Plugin{[oe(483)];[oe(555)]=null;[oe(472)];[oe(457)];[oe(387)];[oe(305)];[oe(521)];static get[oe(267)](){return oe(522)}static get[oe(525)](){return!0}static get[oe(412)](){return!0}static get[oe(306)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(483)]=this[e(463)][e(505)][e(337)](e(274)),this[e(472)]=this[e(463)][e(505)][e(337)](e(487)),this[e(308)](e(528),null),this[e(308)](e(378),null),this[e(457)]=null,this[e(308)](e(501),null),this[e(308)](e(529),!1),this[e(308)](e(451),!0),this.on(e(293),(t,i,n)=>{const s=e;this[s(528)]=null,this[s(378)]=null,this[s(463)][s(280)][s(550)][s(375)](t=>{const e=s;for(const i of this[e(463)][e(280)][e(550)][e(537)][e(272)])n?t[e(265)](e(540),i):t[e(392)](e(540),i)})}),this[e(409)](e(422)).to(this,e(528),t=>null!==t),this[e(409)](e(281)).to(this,e(529),this,e(501),this,e(528),(t,i,n)=>t&&n?i[e(240)][e(248)](n):0),this[e(409)](e(241)).to(this,e(529),this,e(501),(t,i)=>t?i[e(240)][e(517)]:0),this[e(387)]=null,this[e(305)]=new Map,this[e(521)]=this[e(463)][e(505)][e(337)](It.ContextualBalloon)}[oe(326)](){const t=oe,e=this[t(463)],i=new de(e,{direction:t(348)}),n=new de(e,{direction:t(443)});e[t(372)][t(543)](t(556),i),e[t(372)][t(543)](t(340),n),e[t(372)][t(543)](t(553),new he(e)),this.on(t(454),()=>{const e=t;i[e(440)](),n[e(440)]()}),this[t(539)](),this[t(549)](),e[t(455)](t(271)),e[t(505)][t(428)](t(425))&&e[t(505)][t(337)](t(425))[t(400)](t(271))}async[oe(333)](t){const e=oe;return await this[e(472)][e(545)](t,this[e(555)]),this[e(472)][e(333)](t)}async[oe(432)](t){const e=oe;return await this[e(472)][e(545)](t,this[e(555)]),this[e(472)][e(432)](t)}async[oe(500)](t,e,i=!1){const n=oe;if(!this[n(451)])return;const s=this[n(501)],r=this[n(483)],o=n(442)==typeof t?r[n(307)](t):t,a=n(442)==typeof e?r[n(307)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(501)]&&this[n(501)][n(334)]===c&&this[n(501)][n(360)]===u)return Promise[n(316)]();this[n(529)]=!1,this[n(378)]=null,this[n(528)]=null,this[n(501)]=new ne(c,u);const l=this[n(405)](o,a,!0)[n(446)](t=>this[n(472)][n(545)](t,this[n(555)]));return l[n(448)](new Promise(t=>{setTimeout(t,20)})),Promise[n(450)](l)[n(288)](()=>{const t=n;if(!this[t(451)])return;this[t(275)]();const e=this[t(507)](c,u);for(const i of e[t(240)])this[t(305)][t(308)](i.id,i);this[t(463)][t(331)][t(364)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(463)][n(331)][n(537)][n(350)]())i[n(319)](t);for(const t of Object[n(389)](e[n(331)])){const s=i[n(478)](t);for(const r of Object[n(389)](e[n(395)][t]))i[n(419)](r,e[n(395)][t][r],s);i[n(445)](e[n(331)][t],s,0)}}),this[t(501)][t(399)](this[t(480)](e[t(240)])),this[t(529)]=!0})[n(486)](t=>{const e=n;console[e(369)](t),this[e(275)](),s&&(this[e(501)]=s),this[e(529)]=!0})}[oe(546)](t,e){const i=oe,n=this[i(483)][i(286)](t);return n.on(i(347),(t,i,s)=>e(i,s,n)),this[i(483)][i(270)](n),n}[oe(275)](){const t=oe;this[t(528)]=null,this[t(488)](),this[t(387)]&&this[t(387)][t(314)](),this[t(387)]=null,this[t(305)][t(385)](),this[t(463)][t(331)][t(364)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(463)][i(331)][i(537)][i(350)]())e[i(319)](t)})}[oe(480)](t){const e=oe,i=[],n=new Map;for(const t of this[e(463)][e(331)][e(537)][e(350)]()){const s=this[e(463)][e(280)][e(550)][e(519)](t);if(!s)continue;const r=s[e(408)]()[e(323)](0);r&&(i[e(448)](t),n[e(308)](t,r))}return i[e(510)]((t,i)=>{const s=e,r=n[s(337)](t),o=n[s(337)](i);return r.y-o.y||r.x-o.x}),(t=t[e(251)](t=>i[e(303)](t[e(254)])))[e(510)]((t,n)=>i[e(398)](t[e(254)])-i[e(398)](n[e(254)])),t}[oe(541)](t){const e=oe,i=Array[e(325)](t[e(561)])[e(251)](([t,i])=>t[e(447)](e(335))&&!i[e(391)]),n=Array[e(325)](this[e(463)][e(331)][e(371)](t)[e(464)]({singleCharacters:!0}));if(0!=i[e(517)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(341)](":");if(s[e(470)][e(482)](t[e(368)])&&i[e(515)](),(t[e(298)][e(482)](s[e(320)])||t[e(298)][e(315)](s[e(320)]))&&(e(363)==r?t[e(259)]={userId:o}:e(344)==r&&(t[e(282)]={userId:o})),0==i[e(517)])break}return n}[oe(544)](t){const e=oe,i=new Map;for(let n=0;n<t[e(517)];n++)e(247)===t[n][e(414)]?(t[n][e(323)][e(386)]=n,t[n][e(323)][e(355)]=n):(e(249)===t[n][e(414)]?t[n][e(323)][e(386)]=n:e(416)===t[n][e(414)]&&(t[n][e(323)][e(355)]=n),i[e(308)](t[n].id,n));for(const n of i[e(397)]())e(249)===t[n][e(414)]?t[n][e(323)][e(355)]=i[e(337)](t[n][e(252)]):e(416)===t[n][e(414)]&&(t[n][e(323)][e(386)]=i[e(337)](t[n][e(252)]))}[oe(294)](t){const e=oe;for(let i=0;i<t[e(517)];i++){if(e(249)===t[i][e(414)])t[i][e(323)][e(386)]=i;else if(e(416)===t[i][e(414)]){t[i][e(323)][e(355)]=i;const n=t[i][e(323)][e(386)];t[n][e(252)]=t[i].id,t[i][e(252)]=t[n].id}else t[i][e(323)][e(386)]=i,t[i][e(323)][e(355)]=i,t[i][e(252)]=null;t[i][e(509)]||(t[i][e(509)]=[],t[i][e(237)]=[])}}[oe(295)](t,e){const i=oe,n=t[i(251)](t=>!t[i(259)]);for(let t=0;t<e[i(517)];t++)e[t][i(259)]&&(n[t][i(259)]=e[t][i(259)])}[oe(507)](t,e=null){const i=oe,n=this[i(483)][i(307)](t),s=e?this[i(483)][i(307)](e):null,r=this[i(405)](n,s),o=r[r[i(517)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(517)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(389)](e[i(349)]))if(e[i(349)][t][i(283)]){const n=e[i(349)][t][i(283)];n[i(244)]?(u[i(543)](t),l[i(428)](t)&&l[i(337)](t)[i(452)]==n[i(452)]?l[i(292)](t):l[i(308)](t,n)):l[i(428)](t)?(u[i(292)](t),l[i(292)](t)):(u[i(543)](t),l[i(308)](t,n))}else u[i(543)](t)}for(const t of u){const e=l[i(428)](t)&&!l[i(337)](t)[i(244)];let n=e?r[i(517)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(349)][t]){const n=e?o[i(349)][t][i(268)]:o[i(349)][t][i(558)];c[i(395)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(331)]={};for(const e of t[i(374)])a[i(308)](e.id,e);for(const e of u){const n=t[i(349)][e]?t[i(349)][e][i(437)]:"[]",s=t[i(349)][e]?t[i(349)][e][i(381)]:"[]";t[i(331)][e]={insertions:this[i(472)][i(476)](n),deletions:this[i(472)][i(476)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(325)](n[i(331)][t][i(437)][i(561)])[i(251)](([t])=>!t[i(447)](i(335))));let h=0;for(const o of r){const r=this[i(541)](o[i(331)][t][i(437)]);o==n?(e=r,s=e[i(517)],e[i(379)](t=>{t.id=h++}),this[i(294)](e)):this[i(295)](e,r);const a=e[i(251)](t=>!t[i(259)])[i(446)](t=>t.id);let c=0;const l=this[i(541)](o[i(331)][t][i(381)]);l[i(379)](t=>{t[i(282)]?t.id=s++:t.id=a[c++]}),this[i(294)](l),this[i(548)](e,i(259)),this[i(548)](l,i(282)),o==n&&this[i(458)](e,u),e=this[i(554)](e,l),this[i(544)](e),this[i(548)](e,i(282))}e=e[i(251)](t=>!(t[i(259)]&&t[i(282)]));const d=new Map(o[i(331)][t][i(381)][i(561)]),f=new Set(u[i(389)]());for(const t of d[i(389)]())f[i(292)](t);this[i(421)](e,f),this[i(242)](e),e=this[i(256)](e),e=this[i(318)](e),e=this[i(462)](e);const{root:m,changes:p}=this[i(411)](e,a,t);c[i(331)][t]=m;const v=l[i(337)](t);if(v){const e=a[i(337)](v[i(452)]),n=new Qt({author:e,type:v[i(244)]?i(543):i(376),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(255)](n),c[i(395)][t][i(499)]=n.id}c[i(240)]=c[i(240)][i(393)](p)}return c}[oe(458)](t,e){const i=oe;for(let n=0;n<t[i(517)];n++)for(const[s,r]of e)!r[i(391)]&&r[i(320)][i(482)](t[n][i(298)])&&t[n][i(509)][i(448)](s),r[i(470)][i(482)](t[n][i(368)])&&t[n][i(237)][i(448)](s)}[oe(554)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(517)]||r<e[i(517)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(448)](o);else if(a[i(282)]&&o[i(259)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(353)](t,s,e,r);n=n[i(393)](o),s=a,r=c}else a[i(282)]?(r++,n[i(448)](a)):(s++,n[i(448)](o))}return n}[oe(421)](t,e){const i=oe,n=[];for(let o=0;o<t[i(517)];o++){for(let r=0;r<t[o][i(509)][i(517)];r++){const a=t[o][i(509)][r];if(!e[i(428)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(269)!=c||i(363)!=u&&i(344)!=u||(n[i(255)]({type:u,name:a,userId:l}),t[o][i(509)][i(430)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(237)][i(517)];r++){const a=t[o][i(237)][r];if(!e[i(428)](a))continue;const{group:c,type:u}=s(a);if(i(269)!=c||i(363)!=u&&i(344)!=u)continue;t[o][i(237)][i(430)](r,1),r--;const l=n[i(336)](t=>t[i(404)]==a);l>-1&&n[i(430)](l,1)}}function s(t){const e=i,n=t[e(341)](":");return{group:n[0],type:n[1],subType:n[e(517)]>=5?n[2]:null,id:n[e(517)]<5?n[2]:n[3],authorId:n[e(517)]<5?n[3]:n[4],markerCount:6==n[e(517)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(517)];i++){if(t[e(259)]&&e(363)==n[i][e(414)]&&t[e(259)][e(452)]==n[i][e(452)])return t[e(338)]=n[i],void delete t[e(259)];if(!t[e(259)]&&!t[e(282)]&&e(344)==n[i][e(414)])return void(t[e(495)]=n[i])}}}[oe(548)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(308)](o.id,n);for(let n=0;n<t[i(517)];n++){if(i(282)==e&&t[n][i(259)]||i(259)==e&&t[n][i(282)])continue;if(i(247)==t[n][i(414)]){t[n][i(418)]=0;continue}const s=r[i(337)](t[n][i(252)]),o=r[i(337)](t[n].id);t[n][i(418)]=s-o}}[oe(405)](t,e,i=!1){const n=oe,s=[];let r=this[n(483)][n(248)](t),o=this[n(483)][n(248)](e);for(-1==o&&(o=this[n(483)][n(285)][n(517)],i=!1);r<o;)s[n(448)](this[n(483)][n(307)](r)),r++;return i&&s[n(448)](this[n(483)][n(307)](r)),s}[oe(353)](t,e,i,n){const s=oe,r=this[s(463)][s(331)][s(260)];let o=e;for(;t[o]&&t[o][s(259)];)o++;let a=n;for(;i[a]&&i[a][s(282)];)a++;u(t,e,o),u(i,n,a);const c=i[s(494)](n,a)[s(393)](t[s(494)](e,o));return c[s(510)]((t,e)=>t[s(291)]!=e[s(291)]?t[s(291)]-e[s(291)]:t[s(309)]!=e[s(309)]?t[s(309)]-e[s(309)]:t[s(418)]!=e[s(418)]?e[s(418)]-t[s(418)]:!!t[s(259)]!=!!e[s(259)]?-1==t[s(291)]||0==t[s(291)]?t[s(259)]?-1:1:t[s(259)]?1:-1:t[s(299)]-e[s(299)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(261)],c=!0;for(let s=e;s<i;s++)if(r[n(410)](t[s][n(323)])||(c=!1),t[s][n(323)][n(386)]<e&&(o=s),t[s][n(323)][n(355)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(291)]=s<=o?-1:s<a?0:1,t[s][n(299)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(418)]?t[i][n(309)]=u:(u++,t[i][n(309)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(291)]&&(t[s][n(309)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(418)]?t[e][n(309)]=u:(u--,t[e][n(309)]=u,u--)}}[oe(242)](t){const e=oe,i=new Map,n=this[e(463)][e(331)][e(260)];for(let s=1;s<t[e(517)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(247)==c[e(414)])continue;if(c[e(414)]!=u[e(414)])continue;if(!n[e(532)](u[e(323)])||n[e(258)](u[e(323)]))continue;if(!n[e(532)](c[e(323)])||n[e(258)](c[e(323)]))continue;if((t[s][e(259)]||t[s][e(338)])&&t[s-1][e(282)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(282)]||!t[s-1][e(259)]&&!t[s-1][e(338)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(309)]==o[e(309)],h=Math[e(383)](r[e(309)])<Math[e(383)](o[e(309)])&&0==o[e(418)];(l||h)&&(i[e(308)](o.id,r.id),t[e(430)](a,1),s--,r[e(259)]=!1)}for(let n=0;n<t[e(517)];n++)i[e(428)](t[n][e(252)])&&(t[n][e(252)]=i[e(337)](t[n][e(252)]))}[oe(256)](t){const e=oe,i=new Set(t[e(446)](t=>t.id));for(let n=0;n<t[e(517)];n++)i[e(428)](t[n][e(252)])||0==t[n][e(418)]||(t[n][e(243)]=!0);return t[e(251)](t=>!t[e(243)])}[oe(318)](t){const e=oe,i=new Set;for(let n=0;n<t[e(517)];n++){if(i[e(428)](t[n].id)&&t[n][e(282)]&&(t[n][e(243)]=!0),t[n][e(243)])continue;if(0==t[n][e(418)])continue;if(e(249)!=t[n][e(414)])continue;if(null==t[n][e(252)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(252)];)e(249)==t[s][e(414)]?r++:e(416)==t[s][e(414)]&&r--,s++;if(0!=r)if(t[n][e(282)])t[n][e(243)]=!0;else for(;s!=n;)t[s][e(282)]&&0!=t[s][e(418)]&&(t[s][e(243)]=!0,i[e(543)](t[s][e(252)])),s--}return t[e(251)](t=>!t[e(243)])}[oe(462)](t){const e=oe,i=this[e(463)][e(331)][e(260)];for(let n=0;n<t[e(517)];n++){if(!(t[n][e(259)]||t[n][e(338)]||t[n][e(282)]||t[n][e(495)]))continue;if(0==t[n][e(418)])continue;const s=t[n][e(323)];i[e(532)](s)||i[e(258)](s)||(t[n][e(259)]&&delete t[n][e(259)],t[n][e(338)]&&delete t[n][e(338)],t[n][e(495)]&&delete t[n][e(495)],t[n][e(282)]&&(t[n][e(243)]=!0))}return t[e(251)](t=>!t[e(243)])}[oe(411)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(463)][n(331)],c=a[n(260)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(517)];e++)if(n(249)===t[e][n(414)]){t[e][n(298)]=a[n(513)](s,f);const i=new X.ModelElement(t[e][n(323)][n(404)],t[e][n(323)][n(312)]());u[0][n(359)](i),f[n(448)](0),u[n(255)](i),t[e][n(368)]=a[n(513)](s,f)}else n(416)===t[e][n(414)]?(u[n(515)](),t[e][n(298)]=a[n(513)](s,f),f[n(512)](),f[f[n(517)]-1]++,t[e][n(368)]=a[n(513)](s,f)):(t[e][n(298)]=a[n(513)](s,f),d?d[n(366)]+=t[e][n(323)][n(441)]:d=new X.ModelText(t[e][n(323)][n(441)],t[e][n(323)][n(312)]()),t[e+1]&&n(247)===t[e+1][n(414)]&&v(d,t[e+1][n(323)])||(u[0][n(359)](d),d=null),f[f[n(517)]-1]+=t[e][n(323)][n(329)],t[e][n(368)]=a[n(513)](s,f));for(let e=0;e<t[n(517)];e++){const i=t[e][n(298)],s=t[e][n(368)];for(const s of t[e][n(509)])o[n(308)](s,{start:i,end:null});m(n(495),e,i,s),m(n(338),e,i,s),m(n(282),e,i,s),m(n(259),e,i,s);for(const i of t[e][n(237)]){const t=o[n(337)](i);t?t[n(470)]=s:o[n(308)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(463)][n(331)][n(468)](e[n(320)],e[n(470)]);s[n(561)][n(308)](t,i)}return r[n(510)]((t,e)=>{const i=n,r=s[i(561)][i(337)](i(335)+t.id),o=s[i(561)][i(337)](i(335)+e.id);return r[i(320)][i(427)](o[i(320)])?-1:r[i(320)][i(315)](o[i(320)])?1:r[i(470)][i(427)](o[i(470)])?-1:r[i(470)][i(315)](o[i(470)])?1:i(543)===t[i(414)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(452)]:null,d=i===t[o(517)]-1,f=h[e][0],m=c[o(290)](t[i][o(323)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(470)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(452)]!==u&&(l[e][o(470)]=s,f&&f[o(452)]===l[e][o(452)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(249)!==t[i][o(414)]||f&&f[o(452)]===u||h[e][o(255)]({userId:u,object:t[i][o(323)],change:l[e]}),o(416)===t[i][o(414)]&&f&&f[o(520)]===t[i][o(323)]&&(h[e][o(515)](),l[e]=f[o(375)])),l[e]&&d&&(l[e][o(470)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(323)],f=a[h(260)][h(532)](d)&&!a[h(260)][h(258)](d),m=t[h(413)]==o[h(485)]&&o[h(534)];if(f&&m)return;const p=a[h(468)](t,o),v=e[h(337)](u),g=new Qt({author:v,type:h(259)==l||h(338)==l?h(543):h(376),data:{isSuggestion:h(338)==l||h(495)==l},createdAt:new Date,rootName:i});r[h(448)](g),s[h(561)][h(308)](h(335)+g.id,p)}function v(t,e){const i=n,s=t[i(312)](),r=e[i(312)]();for(const t of s){if(t[1]!==e[i(367)](t[0]))return!1;r[i(311)]()}return r[i(311)]()[i(475)]}}[oe(539)](){const t=oe;this[t(463)][t(535)][t(538)](t(426))[t(444)]({view:t(484)}),this[t(463)][t(535)][t(538)](t(407))[t(351)]({model:t(484),view:e=>{const i=t,n=e[i(423)][i(341)](":")[1],s=this[i(246)](n);if(!s)return null;const r=i(543)==s[i(414)]?i(363):i(344),o=[i(356),i(498)+r];return s[i(441)][i(402)]&&o[i(448)](i(498)+r+i(266)),this[i(528)]==s&&o[i(448)](i(438)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(463)][t(535)][t(538)](t(426))[t(543)](e=>{const i=t;e.on(i(352),(t,e,n)=>{const s=i,r=e[s(506)][s(552)](0);if(!r||!r.is(s(465),s(377)))return;if(!n[s(424)][s(330)](r,{attributes:[s(339),s(434)]}))return;const o=e[s(533)][s(320)][s(413)];n[s(264)][s(419)](s(339),r[s(367)](s(339)),o),n[s(264)][s(419)](s(434),r[s(367)](s(434)),o)},{priority:i(273)})}),this[t(463)][t(535)][t(538)](t(426))[t(543)](e=>{const i=t;e.on(i(465),(t,e,n)=>{const s=i;if(!n[s(424)][s(330)](e[s(506)],{attributes:[s(339),s(434)]}))return;if(e[s(533)][s(391)])return;const r=e[s(533)][s(320)][s(413)];r[s(321)](s(339))||r[s(321)](s(238))||(n[s(264)][s(419)](s(339),e[s(506)][s(367)](s(339)),r),n[s(264)][s(419)](s(434),e[s(506)][s(367)](s(434)),r))},{priority:i(273)})}),this[t(463)][t(535)][t(538)](t(426))[t(296)]({view:{name:t(433),attributes:{vid:!0}},model:{key:t(238),value:e=>e[t(367)](t(238))}}),this[t(463)][t(331)][t(260)].on(t(473),(e,[,i])=>{const n=t;[n(339),n(434),n(238)][n(303)](i)&&(e[n(245)]=!0,e[n(390)]())},{priority:t(396)}),this[t(463)][t(535)][t(538)](t(345))[t(543)](e=>{const i=t;e.on(i(276),(t,e,n)=>{const s=i;if(" "!=e[s(323)][s(441)]||e[s(323)][s(485)][s(263)]>1)return;if(!n[s(424)][s(330)](e[s(323)],t[s(404)]))return;const r=n[s(264)],o=n[s(346)][s(262)](e[s(439)]);r[s(343)](o,r[s(527)](s(433)))})}),this[t(463)][t(535)][t(538)](t(345))[t(327)]({model:t(484)}),this[t(463)][t(280)][t(461)].on(t(354),function(e){const i=t,n=e[i(505)][i(337)](i(522));return(t,s,r)=>{const o=i,a=s[o(423)][o(341)](":")[1],c=n[o(246)](a);if(!c)return null;const u=o(543)==c[o(414)]?o(341):o(456);if(!r[o(424)][o(518)](s[o(536)],t[o(404)]))return;const l=s[o(536)][o(464)](),h=s[o(536)][o(320)],d=e[o(331)][o(260)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(323)];p=p||d[o(471)](e);const i=r[o(346)][o(559)](e);if(i&&i[o(560)](o(436)))return;o(416)==t[o(414)]&&d[o(532)](e)&&!d[o(258)](e)&&(e[o(431)]||h[o(459)]?f&&f[o(485)]==e||(f=e,g(t[o(298)]),v=!0):m=m||t[o(298)])}function g(t){const e=o,i=r[e(264)][e(491)](e(433),{class:e(498)+u}),a=r[e(346)][e(300)](t);c[e(441)][e(402)]&&r[e(264)][e(392)](e(498)+u+e(266),i),n[e(528)]==c&&r[e(264)][e(392)](e(438),i),r[e(264)][e(445)](a,i),r[e(346)][e(358)](i,s[e(423)])}p||v||!m||g(m)}}(this[t(463)]),{priority:t(547)}),this[t(463)][t(280)][t(461)].on(t(496),(e,i,n)=>{const s=t,r=n[s(346)][s(328)](i[s(423)]);if(r)for(const t of r)(t[s(277)](s(253))||t[s(277)](s(460)))&&(n[s(346)][s(514)](t,i[s(423)]),n[s(264)][s(376)](t))},{priority:t(547)}),this[t(463)][t(280)][t(461)].on(t(354),(e,i,n)=>{const s=t,r=i[s(423)][s(341)](":")[1],o=this[s(246)](r);if(!o)return null;const a=s(543)==o[s(414)]?s(341):s(456);if(n[s(424)][s(518)](i[s(536)],e[s(404)]))for(const t of i[s(536)][s(503)]()){if(!t.is(s(465),s(304)))continue;const e=n[s(264)][s(491)](s(433),{class:s(498)+a}),r=n[s(346)][s(300)](this[s(463)][s(331)][s(403)](t));o[s(441)][s(402)]&&n[s(264)][s(392)](s(498)+a+s(266),e),this[s(528)]==o&&n[s(264)][s(392)](s(438),e),n[s(264)][s(445)](r,e),n[s(346)][s(358)](e,i[s(423)])}},{priority:t(547)}),this[t(463)][t(331)][t(537)].on(t(375),()=>{const e=t;this[e(463)][e(280)][e(550)][e(375)](t=>{const i=e;for(const e of this[i(463)][i(331)][i(537)][i(350)]()){const n=this[i(463)][i(331)][i(537)][i(257)](e),s=this[i(463)][i(280)][i(550)][i(537)][i(257)](e);if(s){const e=n[i(367)](i(499));if(t[i(504)](i(453),s),t[i(265)](i(401),s),t[i(265)](i(417),s),t[i(265)](i(493),s),e){const n=this[i(246)](e);if(!n)return null;t[i(419)](i(453),e,s),t[i(392)](i(388)+n[i(414)],s),this[i(528)]==n&&t[i(392)](i(493),s)}}}})}),this[t(463)][t(535)][t(538)](t(426))[t(444)]({view:t(317),model:e=>t(524)+e,converterPriority:t(396)}),this[t(463)][t(535)][t(538)](t(426))[t(444)]({view:t(382),model:e=>t(479)+e,converterPriority:t(396)}),this[t(463)][t(535)][t(538)](t(345))[t(327)]({model:t(269),view:e=>({name:t(435)+e,group:t(269)}),converterPriority:t(396)}),this[t(463)][t(535)][t(538)](t(407))[t(351)]({model:t(269),view:e=>{const i=t,n=e[i(423)][i(341)](":")[1];return i(363)!=n&&i(344)!=n?null:{classes:[i(508),i(492)+n]}}}),this[t(463)][t(280)][t(461)].on(t(497),ue(this[t(463)],t(456)),{priority:t(547)}),this[t(463)][t(280)][t(461)].on(t(449),ue(this[t(463)],t(341)),{priority:t(547)}),this[t(463)][t(280)][t(461)].on(t(373),(e,i,n)=>{const s=t,r=n[s(346)][s(328)](i[s(423)]);if(r)for(const t of r)t.is(s(357))&&(n[s(346)][s(514)](t,i[s(423)]),n[s(264)][s(376)](t))},{priority:t(547)})}[oe(246)](t){const e=oe;return this[e(305)][e(337)](t)}[oe(511)](t){const e=oe;return this[e(387)]&&this[e(387)][e(314)](),this[e(387)]=new Jt(this[e(463)][e(301)],t),this[e(387)]}[oe(549)](){const t=oe;this[t(463)][t(331)][t(537)][t(551)][t(490)](t(484)),this.on(t(474),(e,i,n,s)=>{const r=t;s&&this[r(521)][r(376)](s),n&&(this[r(521)][r(543)]({view:n,stackId:r(429),position:{target:()=>{const t=r,e=this[t(463)][t(280)],i=this[t(246)](n[t(469)]);let s;if(i[t(441)][t(530)]){const n=e[t(550)][t(519)](i[t(254)]);s=Array[t(325)](n[t(408)]())}else{const i=this[t(463)][t(331)][t(561)][t(337)](t(335)+n[t(469)]);s=Array[t(325)](e[t(346)][t(328)](i[t(404)]))[t(446)](i=>e[t(550)][t(287)][t(324)](i))[t(446)](e=>Array[t(325)](e[t(408)]()))[t(362)]()}return this[t(457)]&&s[t(523)](e=>e[t(531)]-3<=this[t(457)].y&&e[t(516)]+3>=this[t(457)].y&&e[t(279)]-3<=this[t(457)].x&&e[t(361)]+3>=this[t(457)].x)||s[0]}}}),this[r(521)][r(557)](r(429)))}),this.on(t(322),(e,i,n,s)=>{const r=t;this[r(378)]=n?this[r(511)](n):null,this[r(463)][r(331)][r(375)](()=>{const t=r,e=this[t(463)][t(280)];s&&(s[t(441)][t(530)]?e[t(550)][t(375)](i=>{const n=t;i[n(265)](n(493),e[n(550)][n(537)][n(257)](s[n(254)]))}):e[t(466)](t(335)+s.id)),n&&(n[t(441)][t(530)]?e[t(550)][t(375)](i=>{const s=t;i[s(392)](s(493),e[s(550)][s(537)][s(257)](n[s(254)]))}):e[t(466)](t(335)+n.id))})}),this[t(420)](this[t(463)][t(280)][t(550)][t(537)],t(250),(e,i)=>{const n=t;if(this[n(528)])return;const s=this[n(415)](i[n(313)]),r=this[n(305)][n(337)](s);r?(this[n(457)]={x:i[n(310)].x,y:i[n(310)].y},this[n(378)]=this[n(511)](r)):(this[n(457)]=null,this[n(378)]=null)}),this[t(420)](this[t(463)][t(280)][t(550)][t(537)],t(365),(e,i)=>{const n=t,s=this[n(415)](i[n(313)]),r=this[n(305)][n(337)](s);r?(this[n(457)]={x:i[n(310)].x,y:i[n(310)].y},r===this[n(528)]?this[n(521)][n(342)]():this[n(528)]=r):(this[n(457)]=null,this[n(528)]=null)})}[oe(415)](t){const e=oe;do{const i=t[e(367)](e(453));if(i)return i;t=t[e(485)]}while(t);return null}[oe(488)](){const t=oe;this[t(463)][t(331)][t(375)](e=>{const i=t;for(const t of this[i(463)][i(331)][i(561)])e[i(284)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(424)][r(518)](n[r(536)],i[r(404)]))return;const o=n[r(536)][r(464)](),a=n[r(536)][r(320)],c=t[r(331)][r(260)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(323)];h=h||c[r(471)](e);const i=s[r(346)][r(559)](e);if(i&&i[r(560)](r(436)))return;r(416)==t[r(414)]&&c[r(532)](e)&&!c[r(258)](e)&&(e[r(431)]||a[r(459)]?u&&u[r(485)]==e||(u=e,f(t[r(298)]),d=!0):l=l||t[r(298)])}function f(t){const i=r,o=s[i(346)][i(300)](t),a=s[i(264)][i(491)](i(433),{class:i(492)+e});s[i(264)][i(445)](o,a),s[i(346)][i(358)](a,n[i(423)])}h||d||!l||f(l)}}function le(){const t=["createPositionBefore","name","_getRevisionsRange","execute","editingDowncast","getClientRects","bind","isInline","_makeModelFromTape","isPremiumPlugin","nodeAfter","type","_findChangeIdFromDomTarget","elementEnd","ck-revision-history-root-remove","distance","setAttribute","listenTo","_markSuggestions","isNavigationMode","markerName","consumable","WidgetToolbarRepository","upcast","isBefore","has","revisionHistoryLabel","splice","nextSibling","getRevisionRootsAttributes","span","vid_end","suggestion:","addHighlight","insertions","ck-suggestion-marker--active","range","refresh","data","string","forward","dataToMarker","insert","map","startsWith","push","addMarker:revision-suggestion:insertion","all","isEnabled","userId","data-change-id","change:numberOfChanges","enableReadOnlyMode","merge","_activeViewTarget","_markMarkers","isAtEnd","ck-suggestion-marker-merge","downcastDispatcher","_removeUnsupportedChanges","editor","getWalker","element","reconvertMarker","first","createRange","changeId","end","isContent","_utils","checkAttribute","change:activeView","done","_makeModelFromViewString","change:isReady","addRoot","revision-suggestion:","_sortAndFilterDiffChanges","3700725QuUciX","isEqual","repository","revision","parent","catch","RevisionHistoryUtils","_cleanMarkers","2455920PZzICF","observeMarkers","createUIElement","ck-suggestion-preview-marker-","ck-revision-history-root--active","slice","isRemoveSuggestion","removeMarker:revision","addMarker:revision-suggestion:deletion","ck-suggestion-marker-","revisionHistoryAttachChange","compare","diff","getLaterVisibleRevision","getItems","removeAttribute","plugins","viewItem","_getDiff","ck-suggestion-preview-marker","markersStart","sort","_getViewForChange","pop","createPositionFromPath","unbindElementFromMarkerName","shift","bottom","length","test","getDomRoot","object","_balloon","RevisionViewer","find","revision-comment:","isOfficialPlugin","affectsData","createAttributeElement","activeChange","isReady","isOnRoot","top","isBlock","modelRange","isAtStart","conversion","markerRange","document","for","_setConversion","ck-editor__editable__overlay","_makeTape","1256600GVkEnt","add","_refreshStartEndIndex","loadRevisionData","addRevisionData","high","_setDistance","_initInteractions","view","selection","getChild","restoreRevision","_joinTapes","adapter","showPreviousChange","showStack","attributesAfter","toViewElement","getCustomProperty","markers","markersEnd","vid","_step","changes","numberOfChanges","_fixObsoleteTags","isIncorrect","isAttached","return","_getChangeFromId","text","getIndex","elementStart","mouseover","filter","pairId","ck-suggestion-marker-split","rootName","unshift","_removeMissingPairs","getRoot","isLimit","isAdded","schema","POSITIVE_INFINITY","toViewRange","maxOffset","writer","removeClass","-new","pluginName","attributesBefore","revision-suggestion","addRevision","revision-viewer","roots","low","RevisionsRepository","_cleanUp","attribute:vid","hasClass","4512132Ltjrxo","left","editing","currentChangeNumber","isRemoved","attachChange","removeMarker","_revisions","createRevision","domConverter","then","config","isObject","side","delete","change:isEnabled","_processTape","_markInsertions","elementToAttribute","834898LjXWga","previousPosition","index","toViewPosition","locale","11443896rVNQix","includes","softBreak","_changeIdToChange","requires","getRevision","set","level","domEvent","next","getAttributes","target","destroy","isAfter","resolve","comment","_markMismatchedRemovedTags","detachRoot","start","hasAttribute","change:activeChange","item","mapViewToDom","from","init","markerToData","markerNameToElements","offsetSize","consume","model","restoreRevisionCallback","getRevisionDocumentData","newRevisionId","revision:","findIndex","get","isAddSuggestion","vid_start","showNextChange","split","updatePosition","wrap","deletion","dataDowncast","mapper","_update","backward","diffData","getRootNames","markerToHighlight","element:pre","_threeWayMerge","addMarker:revision","endIndex","ck-suggestion-marker","uiElement","bindElementToMarker","_appendChild","oldRevisionId","right","flat","insertion","enqueueChange","mousedown","_data","getAttribute","nextPosition","error","revisionHistory","createRangeIn","commands","removeMarker:revision-suggestion","authors","change","remove","code","activeView","forEach","6tZOCBY","deletions","suggestion","abs","9bGQbQL","clear","startIndex","_changeView","ck-revision-history-root-","keys","stop","isCollapsed","addClass","concat","6093130TJxZFM","attributes","highest","values","indexOf","_setChanges","forceDisabled","ck-revision-history-root-add","isSuggestion"];return(le=function(){return t})()}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(505)][e(337)](ce);this[e(526)]=!1,this[e(420)](i,e(477),()=>this[e(440)]()),this[e(420)](i,e(293),()=>this[e(440)]())}[oe(406)](){const t=oe,e=this[t(463)],i=e[t(505)][t(337)](ce),n=i[t(529)]?i[t(501)][t(334)]:null;e[t(289)][t(337)](t(370))[t(332)](n)}[oe(440)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(463)][t(505)][t(337)](ce),r=s&&n[t(502)](s[t(334)]);this[t(451)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(239)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(505)][i(337)](ce);this[i(526)]=!1,this[i(239)]=i(443)===e?1:-1,this[i(420)](n,i(477),()=>this[i(440)]()),this[i(420)](n,i(293),()=>this[i(440)]()),this[i(420)](n,i(322),()=>this[i(440)]())}[oe(406)](){const e=oe,i=this[e(463)],n=i[e(505)][e(337)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(528)]=s?n[e(501)][e(240)][e(337)](r+this[e(239)]):n[e(501)][e(240)][e(467)],n[e(528)][e(441)][e(530)])o=i[e(280)][e(550)][e(519)](n[e(528)][e(254)]);else{const t=i[e(331)][e(561)][e(337)](e(335)+n[e(528)].id);o=(0,K.getMarkerDomElement)(i[e(280)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(440)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(463)][t(505)][t(337)](ce);this[t(451)]=!!(r&&s&&n)&&(!e||(1===this[t(239)]?i<n-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["setTemplate","ck-hidden","30025017YgWKJz","ck-revision-history-ui__changes-navigation","42305lUSDoQ","Loading...","forward","isBackwardNavigationEnabled","Total","Show previous change","set","isNavigationMode","numberOfChanges","_statusText","div","Show next change","ck-revision-history-ui__changes-navigation__navigation","No changes","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","460LumePD","span","isEnabled","ck-revision-history-ui","isReady","X_OF_Y_CHANGES","30UQWHFl","NUMBER_OF_CHANGES","backward","_isStatusLabelVisible","27212xuKlsq","1057680BFSYvl","2416071kUuVgh","350892MduVzB","isForwardNavigationEnabled","bindTemplate","execute","2842584hsTRON","fire","bind","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(872483===parseInt(e(279))/1+-parseInt(e(270))/2+-parseInt(e(266))/3+parseInt(e(263))/4*(parseInt(e(295))/5)+parseInt(e(301))/6*(-parseInt(e(265))/7)+parseInt(e(264))/8+parseInt(e(277))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(268)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(285)](e(286),!1),this[e(285)](e(299),!1),this[e(285)](e(294),0),this[e(285)](e(287),0),this[e(285)](e(267),!1),this[e(285)](e(282),!1),this[e(272)](e(262)).to(this,e(299),this,e(287),(t,e)=>t&&e>0),this[e(272)](e(288)).to(this,e(299),this,e(294),this,e(287),this,e(286),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(280));if(!s)return at(t,o(292));const a=at(t,o(302),s);return r?at(t,o(300),[n+1,s]):a}),n[e(285)]({label:at(t,e(284)),tooltip:!0,icon:_t.IconChevronUp}),s[e(285)]({label:at(t,e(290)),tooltip:!0,icon:_t.IconChevronDown}),n[e(272)](e(297)).to(this,e(282)),s[e(272)](e(297)).to(this,e(267)),n.on(e(269),()=>this[e(271)](e(269),e(261))),s.on(e(269),()=>this[e(271)](e(269),e(281))),this[e(275)]({tag:e(289),attributes:{class:["ck",e(298),e(278)]},children:[{tag:e(296),attributes:{class:[e(293)]},children:[{tag:e(296),attributes:{class:[e(274),i.if(e(262),e(276),t=>!t)]},children:[{text:i.to(e(286),i=>i?at(t,e(273))+": ":at(t,e(283))+": ")}]},{text:i.to(e(288))}]},new It.ToolbarSeparatorView,{tag:e(289),attributes:{class:[e(291)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=226]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(604209===parseInt(e(243))/1*(parseInt(e(246))/2)+parseInt(e(229))/3+parseInt(e(248))/4*(-parseInt(e(245))/5)+-parseInt(e(242))/6+parseInt(e(236))/7+-parseInt(e(226))/8+parseInt(e(237))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(240);function Ie(){const t=["2056025uCgUeW","69952rvjgFC","document","4NahhTq","view","6993752SjHzkE","removeClass","editor","2425317URATld","change","addClass","editing","show","isOfficialPlugin","isPremiumPlugin","1574643DjwxVo","8343081yhJEJh","pluginName","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","roots","634440JOdmdw","1fFeaTy","hide"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(238)](){return be(239)}static get[be(234)](){return!0}static get[be(235)](){return!0}[be(233)](){const t=be,e=this[t(228)][t(232)][t(249)];e[t(230)](i=>{const n=t;for(const t of e[n(247)][n(241)])i[n(231)](_e,t)})}[be(244)](){const t=be,e=this[t(228)][t(232)][t(249)];e[t(230)](i=>{const n=t;for(const t of e[n(247)][n(241)])i[n(227)](_e,t)})}}function Oe(){const t=["isEnabled","set","hide","isReady","changesNavigation","componentFactory","739940OoIzwP","closeRevisionViewerCallback","show","pluginName","init","isNavigationMode","ck-revision-history-ui__back-to-editing","plugins","execute","listenTo","restoreRevision","Back to editing","761089BNRtNw","currentChangeNumber","108TSSLHM","isBackwardNavigationEnabled","isForwardNavigationEnabled","30418245dXtQJV","1771620SOPjHu","116BhWIvZ","get","isPremiumPlugin","RevisionViewerUI","120LKGXtE","6HokyBo","bind","requires","forward","revisionHistory","isOfficialPlugin","1534004WpYter","showNextChange","exitToEditing","config","editor","showPreviousChange","change:isReady","Restore this revision","324479ikBEYt","71751MsHcmf","add","numberOfChanges","commands"];return(Oe=function(){return t})()}const Te=xe;function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(845422===-parseInt(e(487))/1+parseInt(e(468))/2*(parseInt(e(488))/3)+parseInt(e(479))/4+parseInt(e(467))/5*(-parseInt(e(473))/6)+-parseInt(e(461))/7*(-parseInt(e(472))/8)+parseInt(e(463))/9*(parseInt(e(449))/10)+-parseInt(e(466))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ne extends G.Plugin{static get[Te(452)](){return Te(471)}static get[Te(478)](){return!0}static get[Te(470)](){return!0}static get[Te(475)](){return[ce,Se]}[Te(453)](){const t=Te,e=this[t(483)],i=e[t(456)][t(469)](ce),n=e[t(456)][t(469)](Se);e.ui[t(448)][t(489)](t(481),i=>{const n=t,s=new It.ButtonView(i);return s[n(493)]({label:at(i,n(460)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(455)}),this[n(458)](s,n(457),()=>{const t=n;e[t(482)][t(469)](t(477))[t(450)]()}),s}),e.ui[t(448)][t(489)](t(459),i=>{const n=t,s=new It.ButtonView(i);return s[n(493)]({label:at(i,n(486)),withText:!0,tooltip:!0}),s[n(474)](n(492)).to(e[n(491)][n(469)](n(459))),this[n(458)](s,n(457),()=>e[n(457)](n(459))),s}),e.ui[t(448)][t(489)](t(447),n=>{const s=t,r=new ge(n),o=e[s(491)][s(469)](s(484)),a=e[s(491)][s(469)](s(480));return r[s(474)](s(464)).to(o,s(492)),r[s(474)](s(465)).to(a,s(492)),r[s(474)](s(495),s(462),s(490),s(454)).to(i),this[s(458)](r,s(457),(t,i)=>{const n=s;e[n(457)](n(476)===i?n(480):n(484))}),r}),n[t(451)](),i.on(t(485),(e,i,s)=>{const r=t;s?n[r(494)]():n[r(451)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=204]})(t,e)}function De(){const t=["value","Enter the revision name","ck-revision-history-sidebar__revision-name","element","_resizeObserver","input","94929tJDDkA","placeholder","fieldView","Revision name","60dDosrW","427UffaxH","98888CeomlK","873174oTIOzk","extendTemplate","render","clientWidth","set","span","855600CrSEYL","_updateTooltipText","listenTo","24HJuDdl","bindTemplate","2461401zvbKmJ","_tooltipString","16623959BqbZHd","scrollWidth","5MkmoDD","750632kmeOjf","ck-tooltip_multi-line","10yuqdcH","destroy"];return(De=function(){return t})()}!function(t){const e=Ve,i=t();for(;;)try{if(482655===-parseInt(e(211))/1+-parseInt(e(225))/2*(parseInt(e(221))/3)+-parseInt(e(234))/4+-parseInt(e(210))/5*(parseInt(e(228))/6)+parseInt(e(226))/7*(-parseInt(e(227))/8)+parseInt(e(206))/9*(parseInt(e(213))/10)+parseInt(e(208))/11*(parseInt(e(204))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(219)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(205)];this[i(232)]({label:at(t,i(224)),_tooltipString:""}),this[i(223)][i(222)]=at(t,i(216)),this[i(229)]({tag:i(233),attributes:{class:[i(217)],"data-cke-tooltip-text":n.to(i(207)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(212)}})}[Me(230)](){const e=Me;super[e(230)](),this[e(219)]=new t.ResizeObserver(this[e(223)][e(218)],()=>this[e(235)]()),this[e(236)](this[e(223)],e(220),()=>this[e(235)]())}[Me(214)](){const t=Me;super[t(214)](),this[t(219)]&&this[t(219)][t(214)]()}[Me(235)](){const t=Me,e=this[t(223)][t(218)];this[t(207)]=e[t(209)]>e[t(231)]&&e[t(215)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["1059752idrpXy","2BpoWry","name","setTemplate","27iSUFbb","ck-revision-history-sidebar__revision-author_creator","180qyccre","859146PyOhbT","set","1384401yhHLMT","6dxYKzt","Revision creator","ck-revision-history-sidebar__revision-author","11426190WMtAkb","674988jEYxhl","push","0 0 11 10","span","671yEfFrW","ck-revision-history-sidebar__revision-author__name","Revision author","2562721hpKRmH","29905XMAWiD"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=297]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(696186===parseInt(e(309))/1*(-parseInt(e(301))/2)+parseInt(e(307))/3+-parseInt(e(306))/4*(-parseInt(e(299))/5)+-parseInt(e(310))/6*(parseInt(e(298))/7)+parseInt(e(300))/8*(-parseInt(e(304))/9)+-parseInt(e(313))/10+-parseInt(e(318))/11*(-parseInt(e(314))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(308)]({content:_t.IconUser,viewBox:n(316)});const r=["ck",n(312)];i&&r[n(315)](n(305));const o=[{tag:n(317),attributes:{class:["ck",n(319)],title:at(t,n(i?311:297))},children:[s,e[n(302)]]}];this[n(303)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["2366864lJpCsX","long","toLocaleTimeString","10901430xQGBhg","toLocaleDateString","2079399NUwYTF","1621948KrzUjr","numeric","1556xVzLdL","252321AvwKHf","5ztzdai","878424GHYWlX","1494aotEtm"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=226]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(237673===-parseInt(e(234))/1+-parseInt(e(233))/2*(parseInt(e(237))/3)+parseInt(e(231))/4+parseInt(e(235))/5*(-parseInt(e(236))/6)+-parseInt(e(230))/7+-parseInt(e(238))/8+parseInt(e(228))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(439),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=169]})(t,e)}function qe(){const t=["find","bind","model","add","source","map","action","name","items","21kgFYIv","ck-on","change:isActionsDropdownOpen","set","Compare against selected","class","_action","execute","isEnabled","Show more items","buttonView","537555uUHolm","listenTo","42JeOpVq","button","function","22yhhbpP","338620oUwPfB","stopPropagation","locale","menu","children","menuitem","Name this revision","panelPosition","listView","isVisible","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","bindTemplate","63XnMVXw","isReady","3941224FyjHku","Restore this revision","1840569CtUXNV","2fhYJco","isOpen","4833852kKcLFL","first","617437mtDeek","extendTemplate","829704yoWloe"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(854485===-parseInt(e(204))/1+-parseInt(e(200))/2*(-parseInt(e(199))/3)+parseInt(e(202))/4+-parseInt(e(176))/5*(-parseInt(e(178))/6)+parseInt(e(216))/7*(-parseInt(e(197))/8)+-parseInt(e(195))/9*(-parseInt(e(182))/10)+parseInt(e(181))/11*(parseInt(e(206))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(532),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Mt(),Ye.insert=At().bind(null,"head"),Ye.domAPI=xt(),Ye.insertStyleElement=Dt();Ot()($e.A,Ye);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ge;function Je(){const t=["unhighlight","fieldView","uiLanguage","revisionActionsView","listenTo","closest","from","780231FEckhr","render","1cgjsWw","length","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","div","setName","_requireRevisionName","value","isEnabled","9805810YcrjrA","filter","5812332GQuvnQ","isHighlighted","highlight","element","map","span","fire","select",".ck-confirm-view","ck-revision-history-sidebar__revision__date","220","srcElement","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-authors","isSelected","authors","ck-disabled","660864afNvAM","22581045ZFYUQV","6120355iIJlme","ck-revision-history-sidebar__revision_highlighted","_revision","isReady","unshift","_createdAtFormatted","isActionsDropdownOpen","ck-revision-history-sidebar__revision__controls-wrapper","isConfirm","deselect","setTemplate","name","createdAt","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision","change","12NwbiyS","extendTemplate","bind","bindTemplate","set","5291624qxnnqR","creator","ck-reset"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(872964===parseInt(e(132))/1*(-parseInt(e(161))/2)+-parseInt(e(130))/3*(-parseInt(e(115))/4)+parseInt(e(163))/5+parseInt(e(144))/6+parseInt(e(142))/7+-parseInt(e(120))/8+-parseInt(e(162))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Be(136)];[Be(126)];[Be(165)];[Be(139)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(118)],a=function(t,e){const i=r,n=Array[i(129)](e[i(159)])[i(143)](t=>t!=e[i(121)]);return e[i(121)]&&n[i(167)](e[i(121)]),n[i(148)](n=>new Pe(t,n,n==e[i(121)]))}(e,i);this.id=i.id,this[r(165)]=i,this[r(139)]=s,this[r(117)](r(110),r(111)).to(i),this[r(117)](r(168)).to(this,r(111),t=>{return i=e[r(125)],(n=t)[(s=ze)(229)](i,{month:s(226),day:s(232)})+", "+n[s(227)](i,{hour:s(232),minute:s(232)});var i,n,s}),this[r(119)](r(158),!1),this[r(119)](r(145),!1),this[r(119)](r(169),!1),this[r(119)](r(166),!1),this[r(119)](r(141),!1),this[r(136)]=new Ee(e,It.createLabeledInputText),this[r(136)][r(124)][r(116)]({attributes:{maxlength:r(154)}}),this[r(136)][r(124)][r(117)](r(140)).to(this,r(110),t=>t||this[r(168)]),this[r(136)][r(117)](r(141)).to(this,r(158),this,r(141),(t,e)=>t&&e),this[r(126)]=n&&n[r(133)]?function(e,i){const n=Ze,s=e[n(194)],r=e[n(184)],o=(0,It.createDropdown)(r);o[n(189)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(184)],s={"Compare against selected":at(n,i(169)),"Name this revision":at(n,i(188)),"Restore this revision":at(n,i(198))};return e[i(212)](t=>{const e=i,n=s[t[e(214)]];return n&&n!==t[e(214)]&&(t[e(214)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(179),model:new It.UIModel({label:t[s(214)],class:t[s(170)],withText:!0,role:s(187),_action:t[s(213)]})};i[s(209)][s(208)](s(173)).to(e,s(192),i=>s(180)!=typeof t[s(173)]||!i||t[s(173)](e)),o[s(210)](i)}return o}(e,i);return e[n(208)](n(192)).to(o,n(201)),o[n(175)][n(219)]({label:at(r,n(174)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(205)]({attributes:{class:[n(193),s.if(n(192),n(217))]},on:{click:s.to(t=>t[n(183)]())}}),o.on(n(172),t=>{const i=n;e[i(196)]&&i(180)==typeof t[i(211)][i(171)]&&t[i(211)][i(171)](e)}),(0,It.addListToDropdown)(o,a,{role:n(185)}),o[n(177)](e,n(218),(t,s,r)=>{const a=n;if(r)for(const t of o[a(190)][a(215)]){const n=t[a(186)][a(203)],s=i[a(207)](t=>t[a(213)]===n[a(171)])[a(191)];t[a(191)]=void 0===s||s(e)}}),o}(this,n):"",this[r(126)]&&this[r(126)][r(117)](r(141)).to(this),this[r(109)]({tag:r(137),attributes:{class:["ck",r(122),r(112),o.if(r(171),r(135))]},children:[{tag:r(137),attributes:{class:["ck",r(122),r(113),o.if(r(141),r(160),t=>!t),o.if(r(158),r(156)),o.if(r(145),r(164)),o.if(r(169),r(134))]},children:[this[r(136)],{tag:r(149),attributes:{class:["ck",r(153)]},children:[{text:o.to(r(168))}]},{tag:r(137),attributes:{class:["ck",r(170)]},children:[{tag:"ul",attributes:{class:["ck",r(157)]},children:a}]},this[r(126)]],on:{click:o.to(t=>{const e=r;t[e(155)][e(128)](e(152))||this[e(166)]&&this[e(141)]&&this[e(150)](e(151),{id:this.id})})}}]})}[Be(131)](){const t=Be;super[t(131)]();const e=this[t(136)][t(124)][t(147)];this[t(127)](e,t(114),()=>{const i=t;this[i(139)]&&!e[i(140)]||this[i(150)](i(138),{id:this.id,name:e[i(140)]}),e[i(140)]||(e[i(140)]=this[i(110)]?this[i(110)]:this[i(168)])})}[Be(151)](){this[Be(158)]=!0}[Be(172)](){this[Be(158)]=!1}[Be(146)](){this[Be(145)]=!0}[Be(123)](){this[Be(145)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,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),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const zi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Yi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{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&&ji.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 s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Wi(e,s)}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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),zi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,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=s,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"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Wn(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 Yi(this,t,us,()=>{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=fo.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 Yi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Yi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Yi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=Wn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Yn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Yn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Mn(t){const e=Cn(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Yn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return Yn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Yn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Bn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Un(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,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),Ws=/^-?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 zs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Ys=/^(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$/,Bs=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[Ws,zs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(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+=$n(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let 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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.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=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=qn(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("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:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Yr(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 Br(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=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 s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Yr(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,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 fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(En(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Yr(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=zn(t.ordinal,1,Bn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Br(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Ys,Js],[Bs,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Yr(a,r),l=Yr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Yn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Br(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(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")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Wr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=297]})(t,e)}function vo(t,e){const i=po,n=fo[i(309)](t)[i(318)](e),s=fo[i(302)](),r=s[i(320)]({days:1})[i(310)](i(316));let o,a;return n[i(305)](s,i(316))?(o=n[i(310)](i(316))[i(317)](),a=n[i(303)]()):n[i(305)](r,i(316))?(o=r[i(317)](),a=n[i(303)]()):n[i(305)](s,i(315))?(o=n[i(310)](i(315))[i(317)](),a=n[i(314)]||""):n[i(305)](s,i(321))?(o=n[i(310)](i(311))[i(317)](),a=n[i(319)]||""):(o=n[i(310)](i(321))[i(317)](),a=String(n[i(321)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["setLocale","monthLong","minus","year","278ldZcTi","16QwicFJ","22UFlCDn","1829043pkbknx","4143390wdfZNa","31413ZyxeFz","local","toRelativeCalendar","39332tkxzGc","hasSame","545YWmVdB","643290SWvdxx","1132201RXQaqB","fromJSDate","startOf","month","21967956ZdjMlV","36dVOsgX","weekdayLong","week","day","toJSDate"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(814777===parseInt(e(307))/1+parseInt(e(322))/2*(-parseInt(e(301))/3)+-parseInt(e(304))/4*(parseInt(e(306))/5)+parseInt(e(313))/6*(-parseInt(e(308))/7)+parseInt(e(297))/8*(-parseInt(e(299))/9)+parseInt(e(300))/10+parseInt(e(298))/11*(parseInt(e(312))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=437]})(t,e)}function _o(){const t=["1921776dKBSYy","2012350RAErGF","44AzbbOI","ck-revision-history-sidebar__time-period__revisions","228831GLYVkV","18FgwKXY","select","ck-revision-history-sidebar__time-period__label","remove","setTemplate","4hcdOng","160183tVuWQR","_revisionActions","locale","removeRevision","4128fYEbbs","delegate","find","div","528trXdHm","addRevision","setName","span","_requireRevisionName","revisionViews","uiLanguage","4711pJSUUq","3209745kpcxrC","startDate","add","localizedPeriodName","554884qtstkR","ck-revision-history-sidebar__time-period","createCollection"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(557369===parseInt(e(463))/1*(-parseInt(e(462))/2)+parseInt(e(456))/3*(-parseInt(e(454))/4)+parseInt(e(445))/5+-parseInt(e(467))/6*(parseInt(e(444))/7)+parseInt(e(452))/8*(-parseInt(e(457))/9)+-parseInt(e(453))/10+parseInt(e(449))/11*(parseInt(e(437))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(446)];[bo(442)];[bo(464)];[bo(441)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(465)][s(443)])[s(448)];this[s(446)]=e,this[s(442)]=this[s(451)](),this[s(464)]=i,this[s(441)]=n,this[s(442)][s(468)](s(458)).to(this),this[s(442)][s(468)](s(439)).to(this),this[s(461)]({tag:s(470),attributes:{class:["ck",s(450)]},children:[{tag:s(440),attributes:{class:["ck",s(459)]},children:[{text:r}]},{tag:s(470),attributes:{class:["ck",s(455)]},children:this[s(442)]}]})}[bo(438)](t){const e=bo,i=new Ke(this[e(465)],t,this[e(464)],this[e(441)]);this[e(442)][e(447)](i)}[bo(466)](t){const e=bo,i=this[e(442)][e(469)](e=>e.id===t.id);this[e(442)][e(460)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=366]})(t,e)}function xo(){const t=["content","693321QEImcE","ck-revision-history-sidebar__header__label","57532GOdhfC","28UGPFRn","415120FEqWxn","726612lLhAyc","847685dVclHz","4RaKHtS","div","setTemplate","span","ck-reset_all","ck-revision-history-sidebar__header","Revision history","3132972vLazsw","317702mATkqi"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(156613===-parseInt(e(367))/1+-parseInt(e(380))/2+-parseInt(e(382))/3*(parseInt(e(372))/4)+parseInt(e(371))/5+-parseInt(e(370))/6+-parseInt(e(368))/7*(-parseInt(e(369))/8)+parseInt(e(379))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(381)]=_t.IconHistory,this[e(374)]({tag:e(373),attributes:{class:["ck",e(376),e(377)]},children:[i,{tag:e(375),attributes:{class:["ck",e(366)]},children:[at(t,e(378))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=260]})(t,e)}function Do(){const t=["selectRevision","div","223416WSNWkN","remove","setTemplate","_requireRevisionName","highlightRevisions","highlight","deselect","some","_revisionActions","_addRevision","get","ck-revision-history-sidebar","uiLanguage","render","createCollection","startDate","timePeriodViews","_revisions","12271RXVUWp","bindTemplate","ck-disabled","1398ipDXeR","3473544lmSvpP","set","fire","816171FwiAIi","getTime","isEnabled","ck-revision-history-sidebar__timeline","map","revisionSetName","1102210qhpbwe","delegate","createdAt","ck-reset","select","flat","_getTimePeriodViewByStartDate","setName","ck-rounded-corners","addRevision","find","add","locale","revisionSelected","revisionViews","233713zupRvl","removeRevision","_removeRevision","481040usgGlp","unhighlight"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(275978===-parseInt(e(271))/1+parseInt(e(278))/2+parseInt(e(303))/3+-parseInt(e(274))/4+parseInt(e(309))/5+parseInt(e(299))/6*(-parseInt(e(296))/7)+parseInt(e(300))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(294)];[Mo(295)];[Mo(286)];[Mo(281)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(297)];this[s(294)]=this[s(292)](),this[s(294)][s(310)](s(260)).to(this),this[s(294)][s(310)](s(263)).to(this),this[s(295)]=e,this[s(286)]=i,this[s(281)]=n,this.on(s(260),(t,e)=>{const i=s;this[i(302)](i(269),e)}),this.on(s(263),(t,e)=>{const i=s;this[i(302)](i(308),e)}),this[s(301)](s(305),!1),this[s(280)]({tag:s(277),attributes:{class:["ck",s(312),s(264),s(289)]},children:[new No(t),{tag:s(277),attributes:{class:["ck",s(306),r.if(s(305),s(298),t=>!t)]},children:this[s(294)]}]})}[Mo(291)](){const t=Mo;super[t(291)]();for(const e of this[t(295)])this[t(287)](e);this[t(295)].on(t(267),(e,i)=>{this[t(287)](i)}),this[t(295)].on(t(279),(e,i)=>{this[t(273)](i)})}get[Mo(270)](){const t=Mo;return this[t(294)][t(307)](e=>e[t(270)][t(307)](t=>t))[t(261)]()}[Mo(276)](t){const e=Mo;for(const i of this[e(270)])t&&t.id===i.id?i[e(260)]():i[e(284)]()}[Mo(282)](t){const e=Mo;for(const i of this[e(270)])t[e(285)](({id:t})=>t===i.id)?i[e(283)]():i[e(275)]()}[Mo(287)](t){const e=Mo,i=vo(t[e(311)],this[e(268)][e(290)])[e(293)];let n=this[e(294)][e(288)](0);n&&n[e(293)][e(304)]()===i[e(304)]()||(n=new Io(this[e(268)],i,this[e(286)],this[e(281)]),this[e(294)][e(267)](n)),n[e(265)](t)}[Mo(273)](t){const e=Mo,i=vo(t[e(311)],this[e(268)][e(290)])[e(293)];this[e(262)](i)[e(272)](t)}[Mo(262)](t){const e=Mo;return this[e(294)][e(266)](i=>i[e(293)][e(304)]()===t[e(304)]())}}const Co=jo;function Fo(){const t=["compareAgainstSelected","isEnabled","element","isOfficialPlugin","revisionHistory.viewerSidebarContainer","requires","bind","_handleEditorDataReady","listenTo","init","plugins","_revisions","add","isPremiumPlugin","29475rurrSJ","selectRevision","revisionHistory","isSelected","getRevision","nameRevision","_revisionViewer","_revisionsRepository","destroy","getLaterVisibleRevision","_handleRevisionSetName","restoreRevisionCallback","repository","pluginName","compare","setName","length","render","availableRevisionActions","newRevisionId","appendChild","16VaWAgB","focus","264713TlKrnT","Name this revision","highlightRevisions","get","Compare against selected","defaultRevisionActions","_createRevisionActions","ready","getEarlierVisibleRevision","assign","locale","restoreRevision","_handleDiffChange","data","24kSHcZZ","select","editor","getIndex","diff","string","map","40TtKMPs","revisionSetName","getRevisionsInDiff","470636NSFLKM","revisionHistory.revisionActions","Restore this revision","revisionSelected","fieldView","revisionViews","590750KslSzU","isReady","RevisionsSidebar","config","isVisible","_handleRevisionSelected","revisionHistory.requireRevisionName","2826408HtfmWX","147007LdGZCR","remove","name","timePeriodViews","action","97281hSTUwV","change:diff","_sidebarView"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(362780===parseInt(e(301))/1+-parseInt(e(325))/2+parseInt(e(278))/3*(-parseInt(e(299))/4)+-parseInt(e(331))/5+parseInt(e(255))/6+parseInt(e(256))/7*(parseInt(e(315))/8)+-parseInt(e(261))/9*(parseInt(e(322))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(284)];[Co(285)];[Co(263)];static[Co(306)]=[Co(264),Co(312),Co(283)];static[Co(296)]=function(){const t=Co;return{compareAgainstSelected:{name:t(305),action:({plugins:e},i)=>{const n=t,s=e[n(304)](ce),r=s[n(290)];let o=s[n(319)][n(297)],a=i.id;r[n(318)](o)>r[n(318)](a)&&([o,a]=[a,o]),s[n(292)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(304)](ce);return!(s[n(290)][n(324)](s[n(319)])[n(294)]>2||i[n(281)])}},restoreRevision:{name:t(327),action:(e,{id:i})=>{const n=t;e[n(334)][n(304)](n(280))[n(289)](i)},isVisible:({plugins:e},i)=>!!e[t(304)](ce)[t(290)][t(287)](i.id)},nameRevision:{name:t(302),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(304)](ce),o=r[s(290)][s(309)](i);r[s(292)](i,o),n[s(300)](),n[s(329)][s(316)]()}}}}();static get[Co(291)](){return Co(333)}static get[Co(267)](){return!0}static get[Co(277)](){return!0}static get[Co(269)](){return[ce]}constructor(t){const e=Co;super(t),this[e(284)]=t[e(274)][e(304)](ce),this[e(285)]=this[e(284)][e(290)],this[e(263)]=null}[Co(273)](){const t=Co,e=this[t(285)][t(275)],i=this[t(307)](),n=this[t(317)][t(334)][t(304)](t(268));this[t(263)]=new Eo(this[t(317)][t(311)],e,i,this[t(317)][t(334)][t(304)](t(254))),this[t(263)].on(t(328),this[t(253)][t(270)](this)),this[t(263)].on(t(323),this[t(288)][t(270)](this)),this[t(263)][t(270)](t(265)).to(this[t(284)]),this[t(263)][t(259)].on(t(276),(e,i)=>{const n=t;i[n(330)].on(n(276),(t,e)=>{const i=n;e[i(270)](i(265),i(332)).to(this[i(284)])})}),this[t(263)][t(295)](),this[t(272)](this[t(317)][t(314)],t(308),this[t(271)][t(270)](this)),this[t(272)](this[t(284)],t(262),this[t(313)][t(270)](this)),n[t(298)](this[t(263)][t(266)])}[Co(286)](){const t=Co;this[t(263)][t(266)][t(257)](),this[t(263)][t(286)]()}[Co(271)](){const t=Co,e=this[t(285)][t(282)](0);if(e){const i=this[t(285)][t(309)](e.id);this[t(284)][t(292)](e,i)}}[Co(253)](t,e){const i=Co,n=this[i(285)][i(282)](e.id),s=this[i(285)][i(309)](n.id);this[i(284)][i(292)](n,s)}[Co(288)](t,e){const i=Co;this[i(285)][i(282)](e.id)[i(293)](e[i(258)])}[Co(313)](t,e,i){const n=Co,s=this[n(285)][n(324)](i);s[n(294)]>2?(this[n(263)][n(303)](s),this[n(263)][n(279)](null)):(this[n(263)][n(303)]([]),this[n(263)][n(279)](s[0]))}[Co(307)](){const t=Co,e=this[t(317)],i=Lo[t(296)],n=e[t(334)][t(304)](t(326))||Lo[t(306)];if(n[t(294)])return n[t(321)](n=>{const s=t,r=s(320)==typeof n?Object[s(310)]({},i[n]):n;return r[s(260)]=r[s(260)][s(270)](this,e),r[s(335)]&&(r[s(335)]=r[s(335)][s(270)](this,e)),r})}}function Po(){const t=["1143695QvyLAe","document","_view","_initToolbar","isActive","restore","7qFaosu","replace","stickyPanel","attachDomRoot","_toolbarConfig","ready","26030464dWstPl","detachDomRoot","init","componentFactory","5663976xVMdaT","config","limiterElement","isFocused","11056864YjnLtg","focusTracker","bind","327662HDkvYl","destroy","name","549921efCkom","toolbar","5990532xNHKMD","getRoot","_elementReplacer","rootName","fillFromConfig","render","viewportTopOffset","fire","editor","element","editing","viewportOffset","setEditableElement","view","editable","addToolbar","get"];return(Po=function(){return t})()}function Wo(t,e){const i=Po();return(Wo=function(t,e){return i[t-=158]})(t,e)}const zo=Wo;!function(t){const e=Wo,i=t();for(;;)try{if(832868===-parseInt(e(171))/1*(parseInt(e(188))/2)+-parseInt(e(191))/3+-parseInt(e(193))/4+-parseInt(e(165))/5+-parseInt(e(181))/6+parseInt(e(185))/7+parseInt(e(177))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends It.EditorUI{[zo(167)];[zo(175)];[zo(195)];get[zo(161)](){return this[zo(167)]}constructor(e,i){const n=zo;super(e),this[n(167)]=i,this[n(175)]=(0,It.normalizeToolbarConfig)(e[n(182)][n(164)](n(192))),this[n(195)]=new t.ElementReplacer}get[zo(202)](){const t=zo;return this[t(161)][t(202)]}[zo(179)](t){const e=zo,i=this[e(201)],n=this[e(161)],s=i[e(158)][e(161)],r=n[e(162)],o=s[e(166)][e(194)]();r[e(190)]=o[e(196)],n[e(198)]();const a=r[e(202)];this[e(160)](r[e(190)],a),n[e(162)][e(187)](e(184)).to(this[e(186)]),s[e(174)](a),this[e(195)][e(172)](t,this[e(202)]),this[e(168)](),this[e(200)](e(176))}[zo(189)](){const t=zo;super[t(189)]();const e=this[t(161)],i=this[t(201)][t(158)][t(161)];this[t(195)][t(170)](),i[t(178)](e[t(162)][t(190)]),e[t(189)]()}[zo(168)](){const t=zo,e=this[t(161)];e[t(173)][t(187)](t(169)).to(this[t(186)],t(184)),e[t(173)][t(183)]=e[t(202)],e[t(173)][t(187)](t(199)).to(this,t(159),({top:t})=>t),e[t(192)][t(197)](this[t(175)],this[t(180)]),this[t(163)](e[t(192)])}}var Ho=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Yo;function $o(){var t=["190630epkAhe","shouldToolbarGroupWhenFull","7911618gdoXHW","stickyPanel","40wnFzcp","513635jCycqu","2NYQJYi","render","main","246168IwTHXP","8022627UOmFvU","7064260DNfvwv","_editable","add","toolbar","top","202242TowGfJ","editable","content"];return($o=function(){return t})()}function Yo(t,e){var i=$o();return(Yo=function(t,e){return i[t-=312]})(t,e)}!function(t){for(var e=Yo,i=t();;)try{if(750998===parseInt(e(325))/1+parseInt(e(326))/2*(parseInt(e(317))/3)+-parseInt(e(324))/4*(parseInt(e(320))/5)+-parseInt(e(322))/6+parseInt(e(312))/7+-parseInt(e(329))/8+parseInt(e(330))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Bo extends It.BoxedEditorUIView{[qo(313)];[qo(323)];[qo(315)];get[qo(318)](){return this[qo(313)]}constructor(t,e,i={}){var n=qo;super(t),this[n(323)]=new It.StickyPanelView(t),this[n(315)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(321)]}),this[n(313)]=new It.InlineEditableUIView(t,e)}[qo(327)](){var t=qo;super[t(327)](),this[t(323)][t(319)][t(314)](this[t(315)]),this[t(316)][t(314)](this[t(323)]),this[t(328)][t(314)](this[t(318)])}}const Jo=Ko;function Go(){const t=["8503056tFmrKz","22JpOXuv","6TvhCaO","352860veWteP","get","initPlugins","17PpTIXk","56JbDYyG","initialData","_ui","view","create","createRoot","63082jwaAgt","data","document","updateSourceElement","2085699QXWtfU","9TqdzcG","ready","sourceElement","fire","init","1325235xMllqs","675225niJlcc","config","editing","locale","model","destroy","799840iQRKPV"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(281017===parseInt(e(142))/1*(parseInt(e(149))/2)+parseInt(e(154))/3*(-parseInt(e(139))/4)+-parseInt(e(159))/5*(parseInt(e(138))/6)+parseInt(e(153))/7+-parseInt(e(143))/8*(-parseInt(e(160))/9)+-parseInt(e(135))/10*(-parseInt(e(137))/11)+-parseInt(e(136))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(145)];get ui(){return this[Jo(145)]}constructor(t,e){const i=Jo;super(e),this[i(156)]=t,this[i(164)][i(151)][i(148)]();const n=new Bo(this[i(163)],this[i(162)][i(146)],{shouldToolbarGroupWhenFull:!0});this[i(145)]=new Uo(this,n)}[Jo(134)](){const t=Jo;return this[t(152)](),this.ui[t(134)](),super[t(134)]()}static async[Jo(147)](t,e){const i=Jo,n=new this(t,e);return await n[i(141)](),await n.ui[i(158)](t),await n[i(150)][i(158)](n[i(161)][i(140)](i(144))||""),n[i(157)](i(155)),n}}const Qo=ea;function ta(){const t=["AIBalloon","232eWKtWd","841825fndrSs","getMarkersGroup","roots",".ck-ai-chat-history .ck-input","includes","revision-history-viewer-opened","catch","from","ck-tab-panel_disabled","querySelector","pluginName","class","getAttributeKeys","AIActions","hide","toLocaleDateString","revisionHistory.requireRevisionName","1080366ABRoCN","_restoreRevision","revisionHistory"," ck-tab-panel_disabled","isOfficialPlugin","removeMarker","_cleanUp","RevisionViewerIntegration","769MrFyVJ","none","refreshPositioning","revision-history-missing-configuration","AIQuickActions","removeAttribute","indexOf","4sFTsES","_getRevisionViewerEditorConfig","isReadOnly","replace","users","Restored","AIChat","isRevisionViewerOpen","tabindex","revisionHistory.editorContainer","markers","commands","494jWIWNN","error","toLocaleTimeString","change","RevisionViewer","element","requires","keys","_enhanceCloseRevisionViewerCallback","isReady","50428UojVma","Autosave","detachRoot","repository","RevisionTracker","revisionHistory.viewerEditorElement","removeSelectionAttribute","getRevisionRootsAttributes","has","display","isOpen","view","numeric","2015262OxuEQf","_closeRevisionViewer","revisionHistory.closeRevisionViewerCallback","getRevisions","PaginationLookup","result","closeRevisionViewerCallback","getRevision","rootName","push","RestrictedEditingMode",".ck-ai-chat__prompt-input .ck-textarea","creator","adapter","lazyRoots","plugins","locale","DocumentOutlineUI","restoreRevision","isAttached","panelViews","long","isPremiumPlugin","uiLanguage","_showRevisionViewer","$graveyard","editor","remove","Annotations","11AYOTdF","refreshVisibility","addRoot","RevisionsRepository","block","init","exitToEditing","restrictedEditingException","then","map","_enhanceShowRevisionViewerCallback","2145vFjEcr","createRangeIn","AIReviewMode","config","RevisionHistory","get","style","getRoot","isAnonymous","loadRevisionData","fromVersion","setAttribute","isEnabled","getUser","RevisionHistoryUI","DocumentOutline","enqueueChange","addUser","join","Dialog","selection","addRevisionData","insert","document","name","changesNavigation","toolbar","_recalculatePageBreaks","create","fromCharCode","model","disableReadOnlyMode","revisionHistory.viewerContainer","RevisionHistoryUtils","_update","2345060uDGKPT","end","revisionHistory.restoreRevisionCallback","AIChatHistory","bind","createdAt","showRevisionViewerCallback","destroy","Users","enableReadOnlyMode","toVersion","toJSON","revisionHistory.showRevisionViewerCallback","translations","data","AITabs","parse","setSelection","saveRevision","define","set","getRevisionDocumentData","save","update","_viewerEditor"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=157]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(129686===parseInt(e(199))/1*(-parseInt(e(218))/2)+parseInt(e(281))/3*(parseInt(e(206))/4)+-parseInt(e(174))/5+-parseInt(e(191))/6+parseInt(e(228))/7*(parseInt(e(173))/8)+parseInt(e(241))/9+-parseInt(e(316))/10*(-parseInt(e(270))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(295),Qo(251),Qo(212),Qo(283),Qo(172),Qo(203),Qo(187)];class na extends G.Plugin{[Qo(246)];static get[Qo(184)](){return Qo(198)}static get[Qo(195)](){return!0}static get[Qo(263)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(279)](t=>String[e(310)](t))[e(299)]("")}super(t),this[e(246)]=e(317),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 sa extends G.Plugin{[Qo(171)];static get[Qo(184)](){return Qo(285)}static get[Qo(195)](){return!0}static get[Qo(263)](){return!0}static get[Qo(224)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(267)][i(284)][i(286)](i(193)))throw new t.CKEditorError(i(202),this);this[i(171)]=null,this[i(167)](i(213),!1),this[i(267)][i(284)][i(166)](i(159),t=>this[i(265)]({...t,translations:this[i(267)][i(257)][i(160)]})),this[i(267)][i(284)][i(166)](i(243),t=>this[i(242)](t)),this[i(267)][i(284)][i(166)](i(318),t=>this[i(192)](t)),this[i(267)][i(284)][i(166)](i(190),!1),this[i(280)](),this[i(226)]()}set[Qo(254)](t){const e=Qo;this[e(267)][e(256)][e(286)](e(232))[e(254)]=t}get[Qo(254)](){const t=Qo;return this[t(267)][t(256)][t(286)](t(232))[t(254)]}[Qo(302)](t){const e=Qo;return this[e(267)][e(256)][e(286)](e(232))[e(302)](t)}[Qo(248)](t){const e=Qo;return this[e(267)][e(256)][e(286)](e(273))[e(248)](t)}[Qo(244)](t){const e=Qo;return this[e(267)][e(256)][e(286)](e(273))[e(244)](t||{toJSON:!1})}[Qo(207)](){const e=Qo,i=this[e(267)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(256)][e(286)](e(232)),r=i[e(256)][e(286)](e(324))[e(210)];return n[e(307)]=[e(276),e(259),e(306)],delete n[e(255)],n[e(256)][e(250)](na,ce,Ne,class extends G.Plugin{static get[e(224)](){return[ce,e(324)]}[e(275)](){const n=e,o=this[n(267)][n(256)][n(286)](n(324));for(const t of r)t[n(289)]||o[n(294)](t.id)||o[n(298)](t);const a=s[n(231)][n(244)]();let c=null;const u=this[n(267)][n(256)][n(286)](n(222));u[n(254)]=s[n(254)],u[n(320)](n(293)).to(s),this[n(267)][n(217)][n(286)](n(259))[n(320)](n(293)).to(i,n(208),t=>!t);for(const e of a){const i=null===e[n(253)];if(i&&e[n(157)]===e[n(291)])continue;const r=e[n(158)]();u[n(302)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(315)](r,o);else if(!o){const e=a[u(158)]();e.id=(0,t.uid)(),s[u(165)](e,a[u(157)])[u(278)](t=>{c=t})}}else e[u(315)](r,o)})}}},Lo),n}[Qo(280)](){const t=Qo,e=this[t(267)][t(284)][t(286)](t(193))[t(322)];this[t(267)][t(284)][t(167)](t(159),async()=>{const i=t;this[i(267)][i(325)](i(179));const n=this[i(267)][i(256)][i(286)](i(232));if(this[i(267)][i(256)][i(236)](i(229))){const t=this[i(267)][i(256)][i(286)](i(229));await t[i(169)]()}else await n[i(170)]();if(this[i(267)][i(256)][i(236)](i(245))&&this[i(267)][i(256)][i(286)](i(245))[i(308)](),this[i(267)][i(256)][i(236)](i(300))){const t=this[i(267)][i(256)][i(286)](i(300));t[i(238)]&&t[i(188)]()}if(this[i(267)][i(256)][i(236)](i(162))){const t=this[i(267)][i(256)][i(286)](i(162))[i(239)][i(261)];for(const e of t)e[i(185)]=e[i(185)]?e[i(185)]+i(194):i(182);if(this[i(267)][i(256)][i(236)](i(212))){const t=document[i(183)](i(252));t&&t[i(292)](i(214),"-1")}if(this[i(267)][i(256)][i(236)](i(319))){const t=document[i(183)](i(177));t&&t[i(292)](i(214),"-1")}}const s=this[i(207)]();return e(s)[i(278)](t=>{const e=i;return this[e(171)]=t,this[e(267)][e(256)][e(236)](e(269))&&this[e(267)][e(256)][e(286)](e(269))[e(271)](),this[e(267)][e(256)][e(236)](e(296))&&(this[e(267)][e(256)][e(286)](e(258))[e(239)][e(223)][e(287)][e(237)]=e(200)),t})[i(180)](t=>(console[i(219)](t),this[i(267)][i(312)](i(179)),null))})}[Qo(226)](){const t=Qo,e=this[t(267)][t(284)][t(286)](t(193))[t(247)];this[t(267)][t(284)][t(167)](t(243),()=>{const i=t;if(this[i(267)][i(256)][i(236)](i(245))&&this[i(267)][i(256)][i(286)](i(245))[i(308)](),this[i(267)][i(256)][i(236)](i(296))&&(this[i(267)][i(256)][i(286)](i(258))[i(239)][i(223)][i(287)][i(237)]=""),this[i(267)][i(256)][i(236)](i(162))){const t=this[i(267)][i(256)][i(286)](i(162))[i(239)][i(261)];for(const e of t)e[i(185)]=i(182)===e[i(185)]?"":e[i(185)][i(209)](i(194),"");if(this[i(267)][i(256)][i(236)](i(212))){const t=document[i(183)](i(252));t&&t[i(204)](i(214))}if(this[i(267)][i(256)][i(236)](i(319))){const t=document[i(183)](i(177));t&&t[i(204)](i(214))}}return this[i(171)][i(256)][i(286)](i(222))[i(197)](),e(this[i(171)])[i(278)](()=>{const t=i;if(this[t(267)][t(312)](t(179)),this[t(171)]=null,this[t(267)][t(256)][t(236)](t(269))){const e=this[t(267)][t(256)][t(286)](t(269));e[t(271)](),e[t(201)]()}})})}[Qo(265)](t){const e=Qo,i=this[e(267)][e(284)][e(286)](e(215)),n=this[e(267)][e(284)][e(286)](e(313)),s=this[e(267)][e(284)][e(286)](e(233));return Xo[e(309)](s,t)[e(278)](t=>(n[e(287)][e(237)]=e(274),i[e(287)][e(237)]=e(200),this[e(213)]=!0,t))}[Qo(242)](t){const e=Qo,i=this[e(267)][e(284)][e(286)](e(215));return this[e(267)][e(284)][e(286)](e(313))[e(287)][e(237)]=e(200),i[e(287)][e(237)]="",this[e(213)]=!1,t[e(323)]()}async[Qo(192)](t){const e=Qo,i=this[e(267)],n=this[e(171)][e(256)][e(286)](e(222)),s=i[e(256)][e(286)](e(232)),r=i[e(256)][e(286)](e(314)),o=n[e(231)][e(248)](t);let a,c,u;try{await r[e(290)](o,this[e(254)]),a=r[e(168)](o),c=r[e(235)](o)}catch(t){return void console[e(219)](t)}i[e(311)][e(221)](t=>{const n=e;for(const e of Array[n(181)](i[n(311)][n(216)][n(175)](n(277))))t[n(196)](e)}),n[e(227)]=!1,i[e(311)][e(297)](t=>{const n=e;t[n(164)](null),t[n(234)](i[n(311)][n(304)][n(301)][n(186)]());const s=Object[n(225)](a);for(const e of i[n(311)][n(304)][n(176)])n(266)!=e[n(249)]&&e[n(260)]()&&!s[n(178)](e[n(249)])&&t[n(230)](e);for(const e of s){let s=i[n(311)][n(304)][n(288)](e);s&&s[n(260)]()||(s=t[n(272)](e));const r=c[e],o=Object[n(225)](r),u=a[e];for(const e of s[n(186)]())o[n(178)](e)||t[n(204)](e,s);for(const i of o)t[n(292)](i,c[e][i],s);t[n(268)](t[n(282)](s)),t[n(303)](i[n(161)][n(163)](u,s),s,0)}});const l=at(i[e(257)],e(211));return u=o[e(305)]?-1==o[e(305)][e(205)](l)?l+": "+o[e(305)]:o[e(305)]:l+": "+o[e(321)][e(189)](i[e(257)][e(264)],{month:e(262),day:e(240)})+", "+o[e(321)][e(220)](i[e(257)][e(264)],{hour:e(240),minute:e(240)}),await s[e(165)]({name:u}),n[e(227)]=!0,i[e(284)][e(286)](e(193))[e(247)]()}}function ra(){var t=["9OgobmH","4236335LseKui","7230wwDasY","6oWYgCM","4202uiqvjT","4KvmnfH","2501036KVjwxh","313434fjtIzh","879124pzTVMy","12256433sGnMOK","2589680OYjwsG"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=451]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(901037===parseInt(e(456))/1+-parseInt(e(453))/2*(parseInt(e(455))/3)+-parseInt(e(454))/4+-parseInt(e(460))/5+-parseInt(e(451))/6*(-parseInt(e(457))/7)+-parseInt(e(458))/8*(parseInt(e(459))/9)+-parseInt(e(461))/10*(-parseInt(e(452))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={6: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 r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},557: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)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{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},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},718: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,s,r){"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!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());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}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var 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,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=Y;function B(){const t=["7008453EyWnrB","map","4224455bwrGmn","_update","fromVersion","1145084eozWPu","6PuwTUg","removeAttribute","2041767DPonuB","attributes","toVersion","2351688POvWpS","setAttribute","authorsIds","creatorId","387960JXNdUi","setName","authors","2LGGFRU","toJSON","name","set","6WOcuCz","14119890AQLCBI","createdAt","model","creator","diffData","fire"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=313]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(558605===parseInt(e(322))/1*(-parseInt(e(325))/2)+parseInt(e(329))/3*(parseInt(e(341))/4)+-parseInt(e(338))/5+parseInt(e(313))/6*(parseInt(e(315))/7)+parseInt(e(318))/8+-parseInt(e(336))/9+parseInt(e(330))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[$(333)];[$(324)];[$(334)];[$(317)];[$(340)];[$(332)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(333)]=e[i(333)]||null,this[i(324)]=e[i(324)]||[],this[i(334)]=e[i(334)]||null,this[i(317)]=e[i(317)]||0,this[i(340)]=e[i(340)]||0,this[i(328)](i(327),e[i(327)]||""),this[i(328)](i(331),e[i(331)]||new Date),this[i(328)](i(316),e[i(316)]||{})}[$(323)](t){this[$(339)]({name:t})}[$(319)](t,e){const i=$,n=R(this[i(316)]);U(n,t,e),this[i(339)]({attributes:n})}[$(314)](t){const e=$,i=R(this[e(316)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(339)]({attributes:i})}[$(339)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(327),i(331),i(334),i(324),i(316),i(317),i(340),i(321)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(324)]&&(s[i(320)]=s[i(324)][i(337)](t=>t.id),delete s[i(324)]),this[i(335)](i(339),s,e))}[$(326)](){const t=$;return{id:this.id,name:this[t(327)],creatorId:this[t(333)]?this[t(333)].id:null,authorsIds:this[t(324)][t(337)](t=>t.id),diffData:this[t(334)],createdAt:this[t(331)],attributes:this[t(316)],fromVersion:this[t(340)],toVersion:this[t(317)]}}}var J=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["RevisionsRepository","pluginName","isOfficialPlugin","fromCharCode","45ayXrFm","diffData","434ezfobG","creatorId","add","from","getRevision","reverse","newRevisionId","getUser","length","oldRevisionId","later","getRevisionsIterator","afterInit","_revisions","17576990aXTIqv","getRevisions","href","requires","isPremiumPlugin","get","fromVersion","toJSON","earlier","9361135OIKYtL","isNaN","getLaterVisibleRevision","push","getEarlierVisibleRevision","attributes","toVersion","getIndex","plugins","data","join","authorsIds","createdAt","2406575ymSEbn","118766UuMTrC","getRevisionsInDiff","name","map","editor","4SEdoWE","addRevision","21640696jfSQyF","2843224dohglE","Users","6kCAUQd","createRevision","17151WwotJm"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(953791===-parseInt(e(314))/1+parseInt(e(333))/2*(parseInt(e(326))/3)+-parseInt(e(319))/4*(-parseInt(e(313))/5)+-parseInt(e(324))/6*(-parseInt(e(300))/7)+-parseInt(e(322))/8*(parseInt(e(331))/9)+parseInt(e(347))/10+-parseInt(e(321))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[Q(346)];static get[Q(294)](){return[K.Users]}static get[Q(328)](){return Q(327)}static get[Q(329)](){return!0}static get[Q(295)](){return!0}get[Q(341)](){const t=Q;return this[t(346)][t(341)]}constructor(e){const i=Q;super(e),this[i(346)]=new t.Collection}[Q(345)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function 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=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(301)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(317)](t=>String[e(330)](t))[e(310)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=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=g(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])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,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(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-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 r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/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)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{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 s=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)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:17604e5;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(349)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=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([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[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{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(325)](t){const e=Q,i=this[e(318)][e(308)][e(296)](e(323));return new G({id:t.id,name:t[e(316)],creator:t[e(334)]?i[e(340)](t[e(334)]):null,diffData:t[e(332)]||t[e(309)],authors:t[e(311)][e(317)](t=>i[e(340)](t)),createdAt:new Date(t[e(312)]),attributes:t[e(305)],fromVersion:t[e(297)],toVersion:t[e(306)]})}[Q(320)](t,e=0){const i=Q;this[i(346)][i(335)](t,e)}[Q(337)](t){const e=Q;return this[e(346)][e(296)](t)}[Q(348)](t={toJSON:!1}){const e=Q,i=Array[e(336)](this[e(346)]);return i[e(338)](),t[e(298)]?i[e(317)](t=>t[e(298)]()):i}[Q(307)](t){const e=Q;return this[e(346)][e(307)](t)}[Q(304)](t){const e=Q,[,i]=this[e(344)](t,{direction:e(299)});return i}[Q(302)](t){const e=Q,[,i]=this[e(344)](t,{direction:e(343)});return i}[Q(315)](t){const e=Q,i=[];for(const n of this[e(344)](t[e(339)]))if(i[e(303)](n),n.id===t[e(342)])break;return i}*[Q(344)](t,{direction:e=Q(299),filter:i=()=>!0}={}){const n=Q,s=n(299)===e?1:-1;let r=this[n(346)][n(296)](t),o=this[n(307)](r);for(yield r;r;){if(o+=s,r=this[n(337)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=403]})(t,e)}function rt(){const t=["_getViewFromDiffObj","getFillerOffset","forEach","8304078lmBkCX","isOfficialPlugin","toData","_viewClassToTypeChar","string","fillerOffset","2999124qniZic","pluginName","loadRevisionData","useFillerType","12wzzaWZ","_setCustomProperty","name","config","processor","attributes","domDocument","data-revision-","collaboration.channelId","default","editor","view","parse","innerHTML","document","getRevisionRootsAttributes","customProperties","filter","revision-start","domConverter","attachChange","296015gtbqME","render","_removeRevisionMarkers","startsWith","constructor","data","isAttached","RevisionHistoryUtils","diffData","toModel","createElement","htmlProcessor","map","domChildrenToView","insertions","revision-end","append","get","13799496GYCubV","length","editing","div","_makeModelFromViewString","type","marked","_appendChild","getRevision","getRevisionDocumentData","children","567908LRPwCd","from","10898174CpIykZ","_getTypeCharForViewElement","attributesAfter","childNodes","_typeCharToViewClass","viewChildrenToDom","4218085NvAzLY","isPremiumPlugin"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(964169===parseInt(e(434))/1+parseInt(e(463))/2*(-parseInt(e(413))/3)+parseInt(e(409))/4+-parseInt(e(471))/5+-parseInt(e(403))/6+parseInt(e(465))/7+parseInt(e(452))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends J.Plugin{static get[nt(410)](){return nt(441)}static get[nt(404)](){return!0}static get[nt(472)](){return!0}[nt(406)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(469)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(411)](t,e){const i=nt;if(t[i(442)]||!e)return;const n=this[i(423)][i(416)][i(451)](i(421)),s=await e[i(460)]({channelId:n,revisionId:t.id});t[i(442)]=s[i(442)]}[nt(461)](t){const e=nt,i={};for(const n in t[e(442)]){if(t[e(442)][n][e(433)]&&!t[e(442)][n][e(433)][e(440)])continue;const s=this[e(436)](JSON[e(425)](t[e(442)][n][e(448)])),r=this[e(423)][e(454)][e(424)][e(427)],o=new X.ViewDocumentFragment(r,s[e(446)](t=>this[e(473)](t,!1)));this[e(423)][e(439)][e(417)][e(412)](e(458)),i[n]=this[e(423)][e(439)][e(417)][e(405)](o),this[e(423)][e(439)][e(417)][e(412)](e(422))}return i}[nt(428)](t){const e=nt,i={};for(const n in t[e(442)])t[e(442)][n][e(433)]&&!t[e(442)][n][e(433)][e(440)]||(i[n]=t[e(442)][n][e(467)]||{});return i}[nt(466)](t){const e=nt;return this[e(406)][e(451)](t[e(438)])}[nt(473)](t,e){const i=nt,n=this[i(423)][i(454)][i(424)][i(427)];if(i(407)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(457)]||"r"==t[i(457)]?[]:t[i(462)][i(446)](t=>this[i(473)](t,e));const o=this[i(469)][i(451)](t[i(457)])||X.ViewElement,a=this[i(423)][i(439)][i(445)][i(432)];if(s=new o(n,t[i(415)],t[i(418)],r),"u"==t[i(457)]&&t[i(462)][0]){const r=t[i(462)][0];if(s[i(435)]=function(t){const e=i,n=t[e(444)](e(455));return n[e(426)]=r,n[e(468)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(459)](s);const e=Array[i(464)](a[i(470)](t,{bind:!1})),r=a[i(419)][i(444)](i(455));r[i(450)](...e),s=Array[i(464)](a[i(447)](r))[0]}}else if("r"==t[i(457)]&&t[i(462)][0]){const r=t[i(462)][0];if(s[i(435)]=function(t){t[i(426)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(459)](s);const e=Array[i(464)](a[i(470)](t,{bind:!1})),r=a[i(419)][i(444)](i(455));r[i(450)](...e);const o=Array[i(464)](a[i(447)](r));o[i(453)]>1?s[i(459)](o):s=o[0]}}if(t[i(429)])for(const[e,n]of t[i(429)])s[i(414)](e,n);const c=void 0===t[i(408)]?null:t[i(408)];return null!==c&&(s[i(474)]=()=>c),s}}[nt(456)](t){const e=nt,i=JSON[e(425)](t),n=this[e(423)][e(454)][e(424)][e(427)],s=new X.ViewDocumentFragment(n,i[e(446)](t=>this[e(473)](t,!0)));return this[e(423)][e(439)][e(443)](s)}[nt(436)](t){const e=nt;return(t=t[e(430)](t=>!t[e(415)]||e(431)!==t[e(415)]&&e(449)!==t[e(415)]))[e(475)](t=>{const i=e;i(407)!=typeof t&&(t[i(462)]=this[i(436)](t[i(462)]),t[i(418)]=t[i(418)][i(430)](t=>!t[0][i(437)](i(420))))}),t}}function at(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""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=pt;!function(t){const e=pt,i=t();for(;;)try{if(318085===-parseInt(e(509))/1+-parseInt(e(483))/2*(-parseInt(e(334))/3)+parseInt(e(441))/4*(-parseInt(e(460))/5)+parseInt(e(251))/6+parseInt(e(473))/7*(-parseInt(e(426))/8)+parseInt(e(445))/9*(parseInt(e(319))/10)+-parseInt(e(404))/11*(-parseInt(e(186))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yt);class mt extends J.Plugin{[ft(337)];[ft(202)];[ft(493)]=null;[ft(462)];[ft(465)]=null;[ft(262)];[ft(335)];[ft(421)];[ft(491)];[ft(430)];[ft(309)];[ft(302)];[ft(437)];[ft(409)];static get[ft(508)](){return ft(427)}static get[ft(208)](){return!0}static get[ft(482)](){return!0}static get[ft(285)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(462)]=this[i(288)][i(198)][i(479)](i(273)),this[i(430)]=this[i(288)][i(198)][i(479)](i(349)),this[i(262)]=new vt(this[i(288)]),this[i(421)]=this[i(288)][i(306)][i(479)](i(341))||i(369),this[i(491)]=new Map,this[i(409)]=null;const n=(0,t.uid)();this[i(335)]={history:this[i(288)][i(474)][i(310)][i(325)],getLatestVersion:()=>Promise[i(187)](this[i(288)][i(474)][i(310)][i(301)]),getCurrentRevisionId:()=>n},this[i(432)](i(485),!1),this[i(432)](i(292),!0),this[i(432)](i(405),!1),this[i(288)][i(306)][i(207)](i(245),!0),this[i(288)][i(403)][i(372)](i(425))[i(290)]({view:i(192)})}[ft(360)](){const t=ft;this[t(467)](),this[t(288)][t(321)].on(t(303),()=>{const e=t,i=this[e(462)][e(379)](0),n=i&&null===i[e(354)]?i:null;if(this[e(302)]=!!n&&this[e(288)][e(306)][e(479)](e(245)),this[e(288)][e(198)][e(212)](e(410))){const t=this[e(335)][e(399)](),s=this[e(462)][e(379)](t);if(s)this[e(437)]=s[e(380)],this[e(302)]=!1;else{const t=this[e(335)][e(325)][e(318)][e(400)](t=>!t[e(478)]),s=t?t[e(443)]:this[e(335)][e(325)][e(301)];i?(i[e(329)]<s&&i[e(217)]({toVersion:s}),this[e(302)]?(this[e(335)][e(399)]=()=>n.id,this[e(437)]=n[e(380)]):(this[e(437)]=i[e(329)],this[e(302)]=!1)):(this[e(437)]=s,this[e(302)]=!1)}}else n&&(this[e(288)][e(474)][e(310)][e(325)][e(301)]=Math[e(328)](n[e(329)],this[e(288)][e(474)][e(310)][e(325)][e(301)]),n[e(380)]===n[e(329)]?(0!==n[e(380)]&&(this[e(335)][e(399)]=()=>n.id),this[e(302)]=!1):this[e(302)]&&(this[e(335)][e(399)]=()=>n.id,this[e(437)]=n[e(380)])),this[e(302)]||(this[e(437)]=this[e(288)][e(474)][e(310)][e(301)]);this[e(262)][e(360)](this[e(335)][e(325)]),this[e(267)](this[e(437)]),this[e(276)](this[e(437)]),this[e(465)]&&this[e(505)]()}),this[t(326)](t(485)).to(this,t(405),t=>!t),this[t(337)]=this[t(288)][t(306)][t(479)](t(337));const e=this[t(288)];this[t(202)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(206)==r||i(398)==r||i(229)==r||i(305)==r||i(247)==r||i(416)==r||i(472)==r||i(223)==r){delete e[s],n=r,clearInterval(this[i(202)]),this[i(202)]=void 0;break}}i(398)==n&&e[i(453)](i(220)),i(229)==n&&e[i(453)](i(252)),i(305)==n&&e[i(453)](i(242)),i(247)==n&&e[i(453)](i(352),i(470)),i(416)==n&&e[i(453)](i(295)),i(472)==n&&e[i(453)](i(261)),i(223)==n&&e[i(453)](i(356))},1e3)}async[ft(250)](){const t=ft;if(this[t(462)][t(371)]>0){const e=this[t(462)][t(379)](0),i=await this[t(344)](e),n=await this[t(228)](e);this[t(500)](i,n)}}[ft(203)](){const t=ft;super[t(203)](),this[t(202)]&&clearInterval(this[t(202)])}[ft(327)](t){this[ft(335)]=t}async[ft(270)](){const t=ft,e=await this[t(335)][t(367)]();if(e>this[t(493)][t(329)]){await this[t(280)]();const i=this[t(299)]({revision:this[t(493)],to:e});i[t(287)]=i[t(504)][t(342)](e=>this[t(288)][t(198)][t(479)](t(411))[t(395)](e)),this[t(493)][t(217)](i)}}async[ft(351)](e={},i=null){const n=ft,s=[];await this[n(280)](),this[n(302)]=!1,i>this[n(493)][n(329)]&&(i=null),null===i&&(i=await this[n(335)][n(367)]());const r=this[n(361)](i),o=this[n(299)]({from:r,to:i});if(this[n(493)][n(329)]<i){const t=this[n(299)]({revision:this[n(493)],from:i,to:i});t[n(287)]=[],t[n(504)]=[],t.id=this[n(493)].id,this[n(493)][n(217)](t,!0),delete t[n(287)],s[n(333)](t)}e[n(185)]=this[n(288)][n(198)][n(479)](n(411)).me.id,e[n(259)]=e[n(259)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(392)](e);s[n(333)](e);const c=this[n(462)][n(431)](a);if(0!==c){const t=this[n(462)][n(379)](c-1);if(t[n(380)]!==i){const r=this[n(262)][n(255)](i,t[n(329)]),o={id:t.id,diffData:r[n(298)],authorsIds:r[n(504)],authors:r[n(504)][n(342)](t=>this[n(288)][n(198)][n(479)](n(411))[n(395)](t)),fromVersion:i};t===this[n(493)]&&(o[n(423)]=new Date(e[n(423)][n(463)]()+10)),t[n(217)](o,!0),delete o[n(287)],s[n(333)](o)}}if(this[n(465)]){for(const t of s)this[n(268)](t.id,t,!0);this[n(505)]()}return a}[ft(392)](t){const e=ft,i=this[e(462)][e(221)](t);return this[e(465)]&&i.on(e(217),(t,i,n)=>{const s=e;n||(this[s(268)](i.id,i,!0),this[s(505)]())}),this[e(462)][e(481)](i,this[e(418)](i)),i}async[ft(344)](t){const e=ft;return await this[e(430)][e(237)](t,this[e(465)]),this[e(430)][e(344)](t)}async[ft(228)](t){const e=ft;return await this[e(430)][e(237)](t,this[e(465)]),this[e(430)][e(228)](t)}[ft(505)](){const t=ft;if(0===this[t(491)][t(345)])return;if(this[t(405)])return;let e=Array[t(205)](this[t(491)][t(338)]());this[t(491)][t(340)]();for(let i=0;i<e[t(371)];i++){const n=e[i];let s=!1;for(const e of Object[t(272)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(456)](t=>null!==t),!e[t(371)])return;for(let i=0;i<e[t(371)];i++){const n=e[i];void 0!==n[t(380)]&&void 0===n[t(329)]&&(n[t(329)]=this[t(462)][t(379)](n.id)[t(329)]),void 0!==n[t(329)]&&void 0===n[t(380)]&&(n[t(380)]=this[t(462)][t(379)](n.id)[t(380)])}const i=this[t(288)][t(306)][t(479)](t(341));this[t(405)]=!0,this[t(308)](),this[t(465)][t(408)](e,i)[t(330)](()=>{this[t(405)]=!1})[t(254)](e=>{const i=t;if(e)for(const t of e)this[i(362)]({id:t.id,createdAt:t[i(423)]});this[i(275)](),this[i(505)]()})}[ft(299)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(380)],i=null!==i?i:t[n(329)];const s=this[n(262)][n(255)](e,i),r={diffData:s[n(298)],authorsIds:s[n(504)],fromVersion:e,toVersion:i};if(!t||i!==t[n(329)]){const t=i-1,e=this[n(335)][n(325)][n(211)](t);r[n(423)]=e&&e[n(423)]||new Date}if(this[n(409)]&&e===this[n(409)][n(380)])for(const t of this[n(409)][n(287)])r[n(504)][n(232)](t.id)||r[n(504)][n(333)](t.id);return r}[ft(268)](t,e,i){const n=ft;if(this[n(491)][n(212)](t)){const s=this[n(491)][n(479)](t);e=i?{...s,...e}:{...e,...s}}this[n(491)][n(432)](t,e)}[ft(362)](t){const e=ft,i=this[e(462)][e(379)](t.id);if(t[e(423)]&&(t[e(423)]=new Date(t[e(423)])),t[e(504)]){const i=this[e(288)][e(198)][e(479)](e(411));t[e(287)]=t[e(504)][e(342)](t=>i[e(395)](t))}i[e(217)](t,!0)}[ft(267)](t){const e=ft,i=this[e(462)][e(379)](this[e(462)][e(371)]-1);if(i)this[e(421)]=i.id;else{const i=!this[e(288)][e(474)][e(310)][e(282)][e(400)](t=>this[e(288)][e(474)][e(484)](t)),n=this[e(288)][e(198)][e(479)](e(411)).me.id,s=at(this[e(288)][e(498)],e(i?450:289));this[e(246)]({from:t,to:t,id:this[e(421)],name:s,creatorId:n})}}[ft(276)](t){const e=ft,i=this[e(335)][e(399)]();this[e(493)]=this[e(462)][e(379)](i),this[e(493)]||(this[e(493)]=this[e(246)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(280)](){const t=ft;this[t(302)]&&!this[t(409)]&&(await this[t(430)][t(237)](this[t(493)],this[t(465)]),this[t(262)][t(204)](this[t(493)]),this[t(409)]={fromVersion:this[t(493)][t(380)],authors:this[t(493)][t(287)][t(357)]()})}[ft(500)](e,i){const n=ft;let s=this[n(288)][n(306)][n(479)](n(209)),r=this[n(288)][n(306)][n(479)](n(296));if(void 0===s){s={};for(const t of this[n(288)][n(474)][n(310)][n(234)]())s[t]=""}if(n(195)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(288)][n(474)][n(310)][n(234)]())r[t]={}}let o=!1;const a=Object[n(272)](s),c=Object[n(272)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(297)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(272)](r[t])[n(371)]>0){o=!0;break}}o||(o=c[n(496)](t=>!this[n(288)][n(474)][n(310)][n(365)](t))),o&&(0,t.logWarning)(n(283),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(288)][n(306)][n(432)](n(209),e),this[n(288)][n(306)][n(432)](n(296),i)}[ft(308)](){const t=ft;if(!this[t(309)]){const e=this[t(288)][t(198)][t(479)](t(446));this[t(309)]=e[t(402)](at(this[t(288)][t(498)],t(489)))}}[ft(275)](){const t=ft;this[t(309)]&&(this[t(288)][t(198)][t(479)](t(446))[t(201)](this[t(309)]),this[t(309)]=null)}[ft(418)](t){const e=ft,i=this[e(462)][e(401)]();i[e(377)]();let n=0;for(;n<i[e(371)];){const s=i[n];if(s===this[e(493)]){n++;continue}if(s.id===this[e(421)])break;const r=t[e(329)]-s[e(329)]||t[e(380)]-s[e(380)];if(r>0)break;if(r<0)n++;else{if(!t[e(354)]&&s[e(354)])break;if(s[e(354)]||!t[e(354)]){if(t[e(423)]>s[e(423)])break;n++}else n++}}return n}[ft(361)](t){const e=ft,i=this[e(462)][e(401)]();i[e(377)](),i[e(324)]();const n=i[e(400)](i=>i[e(329)]<=t)[e(329)];return n<this[e(437)]?this[e(437)]:n}[ft(246)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(299)]({from:e,to:i});o[r(259)]=t,o[r(185)]=n,o.id=s;const a=this[r(392)](o);return this[r(465)]&&this[r(268)](o.id,o,!0),a}[ft(467)](){const t=ft;this[t(288)][t(403)][t(372)](t(241))[t(374)]({model:t(192)})}}function pt(t,e){const i=yt();return(pt=function(t,e){return i[t-=185]})(t,e)}class vt{[ft(288)];[ft(391)];[ft(320)];[ft(375)];[ft(300)];[ft(317)];[ft(386)];[ft(413)];[ft(279)];[ft(353)];[ft(488)];[ft(448)];[ft(439)];[ft(199)];[ft(210)];[ft(355)];[ft(238)];constructor(t){const e=ft;this[e(288)]=t,this[e(320)]=new Map,this[e(375)]=-1,this[e(300)]=-1,this[e(317)]=new Map,this[e(386)]=new Map,this[e(413)]=new Map,this[e(279)]=new Map,this[e(353)]=new Map,this[e(488)]=new Map,this[e(448)]=new Map,this[e(439)]=new Map,this[e(199)]=new Map,this[e(210)]=new Map,this[e(355)]=1}[ft(360)](t){const e=ft;this[e(391)]=t;const i=new Map,n=new Map,s=this[e(288)][e(474)][e(310)][e(282)][e(342)](t=>t[e(384)]);for(const t of s){const s=this[e(288)][e(474)][e(310)][e(365)](t),r=gt(s);i[e(432)](t,r),n[e(432)](t,Object[e(370)](s[e(363)]()))}const r=Array[e(205)](this[e(288)][e(474)][e(447)])[e(342)](t=>[t[e(259)],t[e(449)]()]),o=this[e(391)][e(301)];this[e(373)](o,i,r,n),this[e(238)]=this[e(355)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(432)](t,i),c[e(432)](t,{})}this[e(373)](Number[e(436)],a,[],c)}[ft(255)](t,e){const i=ft;if(this[i(375)]===t&&this[i(300)]<=e)this[i(320)][i(345)]>1&&this[i(415)](this[i(300)]),this[i(311)](this[i(300)],e,!0);else{if(!this[i(320)][i(212)](t)){const e=this[i(190)](t);this[i(313)](e,t,!1)}this[i(313)](t,e,!0)}return this[i(375)]=t,this[i(300)]=e,this[i(346)]()}[ft(204)](t){const e=ft;if(!this[e(320)][e(212)](t[e(380)])){const i=this[e(190)](t[e(380)]);this[e(313)](i,t[e(380)],!1)}this[e(313)](t[e(380)],t[e(329)],!1);const i=this[e(288)][e(198)][e(479)](e(349));this[e(286)](),this[e(375)]=t[e(380)],this[e(300)]=t[e(329)];for(const n in t[e(298)]){const s=t[e(298)][n][e(248)],r=R(t[e(298)][n][e(235)])||{},o=i[e(312)](t[e(298)][n][e(422)]);o[e(384)]=n,o[e(477)]=!s||!s[e(424)],o[e(424)]=()=>o[e(477)],this[e(279)][e(432)](n,o),this[e(353)][e(432)](n,r),s&&this[e(210)][e(432)](n,s);const a=this[e(494)](o);this[e(448)][e(432)](n,a);for(const[t,i]of o[e(447)]){if(!t[e(196)](e(476)))continue;const n=t[e(233)](":")[2];for(const t of i[e(224)]({singleCharacters:!0})){const i=this[e(240)](t),s=e(502)==t[e(451)]?t[e(304)][e(358)][e(357)](0,-1):t[e(304)][e(358)],r=a[e(464)](s)[e(257)](i);this[e(439)][e(432)](r,{userId:n})}o[e(447)][e(230)](t)}}this[e(238)]=this[e(355)];const n=[...Array(this[e(355)])[e(272)]()][e(357)](1)[e(456)](t=>!this[e(439)][e(212)](t));let s=0;const r=new Map;for(const o in t[e(298)]){const a=t[e(298)][o][e(248)],c=R(t[e(298)][o][e(264)])||{},u=i[e(312)](t[e(298)][o][e(396)]);u[e(384)]=o,u[e(477)]=!a||a[e(424)],u[e(424)]=()=>u[e(477)],this[e(386)][e(432)](o,u),this[e(413)][e(432)](o,c);const l=this[e(494)](u,Number[e(436)]);this[e(488)][e(432)](o,l),r[e(432)](o,u[e(424)]()?c:{});for(const[t,i]of u[e(447)]){if(!t[e(196)](e(476)))continue;const n=t[e(233)](":")[2];for(const t of i[e(224)]({singleCharacters:!0})){const i=this[e(240)](t),s=this[e(355)]++,r=e(502)==t[e(451)]?t[e(304)][e(358)][e(357)](0,-1):t[e(304)][e(358)];l[e(464)](r)[e(343)](i,s),this[e(439)][e(432)](s,{userId:n})}u[e(447)][e(230)](t)}for(const t of this[e(288)][e(474)][e(438)](u)[e(224)]({singleCharacters:!0})){const i=this[e(240)](t),r=e(502)==t[e(451)]?t[e(304)][e(358)][e(357)](0,-1):t[e(304)][e(358)],o=l[e(464)](r);o[e(257)](i)>0||o[e(343)](i,n[s++])}for(const[t,i]of u[e(447)])t[e(196)](e(476))||this[e(317)][e(432)](t,i)}const{roots:o}=this[e(320)][e(479)](t[e(380)]),{roots:a}=this[e(320)][e(479)](t[e(329)]),c=gt(o[e(479)](e(239)));this[e(279)][e(432)](e(239),c),this[e(448)][e(432)](e(239),this[e(494)](c,Number[e(436)]));const u=gt(a[e(479)](e(239)));this[e(386)][e(432)](e(239),u),this[e(488)][e(432)](e(239),this[e(494)](u));const l=Array[e(205)](this[e(386)])[e(342)](([t,e])=>[t,gt(e)]);this[e(373)](this[e(300)],l,this[e(317)],r)}[ft(359)](){const t=ft;this[t(286)](),this[t(375)]=-1,this[t(300)]=-1,this[t(320)][t(340)](),this[t(360)](this[t(391)])}[ft(373)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(432)](t,{start:e[s(263)][s(368)](),end:e[s(350)][s(368)](),rootName:e[s(307)][s(384)]});this[s(320)][s(432)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(415)](t){const e=ft;this[e(320)][e(230)](t)}[ft(286)](){const t=ft;this[t(439)][t(340)](),this[t(199)][t(340)](),this[t(210)][t(340)](),this[t(386)][t(340)](),this[t(413)][t(340)](),this[t(279)][t(340)](),this[t(353)][t(340)](),this[t(488)][t(340)](),this[t(448)][t(340)](),this[t(317)][t(340)](),this[t(355)]=1,this[t(238)]=this[t(355)]}[ft(494)](t,e=null){const i=ft;let n=null;t.is(i(216))||(n=new X.ModelElement(t[i(259)],{vid_start:null===e?this[i(355)]++:e++}));const s=[];for(const n of t[i(466)]())if(n.is(i(278))){s[i(333)](this[i(494)](n,e));const t=s[s[i(371)]-1];null!==e&&(e=t.is(i(278),i(339))?t[i(257)](i(200))+1:t[i(257)](i(227))+1)}else for(let t=0;t<n[i(394)];t++)s[i(333)](new X.ModelElement(i(339),{vid:null===e?this[i(355)]++:e++}));if(t.is(i(216))){const e=kt(t[i(384)]);return e[i(389)](0,s),e}return n[i(343)](i(227),null===e?this[i(355)]++:e++),n[i(389)](0,s),n}[ft(313)](t,e,i){const n=ft;this[n(286)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(320)][n(479)](t);this[n(279)]=new Map(s),this[n(353)]=new Map(R(o));for(const[t,e]of this[n(279)])if(n(239)!==t&&(this[n(386)][n(432)](t,gt(e)),this[n(413)]=new Map(R(o)),i)){const i=this[n(355)];this[n(488)][n(432)](t,this[n(494)](e)),this[n(448)][n(432)](t,this[n(494)](e,i))}this[n(238)]=this[n(355)],this[n(386)][n(432)](n(239),gt(this[n(279)][n(479)](n(239)))),i&&this[n(488)][n(432)](n(239),this[n(494)](this[n(279)][n(479)](n(239))));for(const[t,e]of r){const i=this[n(279)][n(479)](e[n(384)]),s=this[n(386)][n(479)](e[n(384)]),r=new X.ModelRange(this[n(193)](e[n(263)],i),this[n(193)](e[n(350)],i)),o=this[n(412)](r,s);i[n(447)][n(432)](t,r),this[n(317)][n(432)](t,o)}this[n(311)](t,e,i)}[ft(311)](t,e,i){const n=ft;for(const s of this[n(391)][n(486)](t,e))this[n(501)](s,i);for(const t of this[n(386)][n(338)]())t[n(447)][n(340)]();for(const[t,e]of this[n(317)])this[n(386)][n(479)](e[n(307)][n(384)])[n(447)][n(432)](t,e[n(368)]());const s=new Map,r=new Map;for(const[t,e]of this[n(386)])s[n(432)](t,gt(e)),r[n(432)](t,this[n(413)][n(479)](t));this[n(373)](e,s,this[n(317)],r)}[ft(190)](t){const e=ft,i=Array[e(205)](this[e(320)][e(272)]());i[e(497)]((t,e)=>t-e),i[e(377)]();for(const e of i)if(e<t)return e;return Number[e(436)]}[ft(469)](t,e){const i=ft,n=Array[i(205)](e[i(447)])[i(342)](([e,n])=>[e,this[i(412)](n,t)]);t[i(447)]=new Map(n)}[ft(471)](t){const e=ft;for(const i of this[e(317)][e(338)]()){const n=i[e(265)](t),s=X.ModelRange[e(388)](n);i[e(263)]=s[e(263)],i[e(350)]=s[e(350)]}}[ft(501)](t,e){const i=ft;if(i(291)!=t[i(451)]&&i(322)!=t[i(451)]){if(i(397)==t[i(451)]){const n=t[i(454)][i(307)][i(384)];this[i(386)][i(212)](n)||(this[i(386)][i(432)](n,kt(n,!0)),this[i(413)][i(432)](n,{}),e&&this[i(488)][i(432)](n,kt(n,!0)))}else{if(i(274)==t[i(451)]||i(222)==t[i(451)]||i(406)==t[i(451)])return void this[i(444)](t);i(315)==t[i(451)]&&this[i(281)](t)}if(i(315)!==t[i(451)]){const e=this[i(387)](t,this[i(386)]);e[i(258)](),this[i(471)](e)}if(e)switch(t[i(451)]){case i(397):this[i(256)](t);break;case i(506):case i(201):case i(475):this[i(458)](t);break;case i(378):this[i(499)](t);break;case i(233):this[i(347)](t)}}else this[i(393)](t,e)}[ft(387)](t,e){const i=ft,n=t[i(368)]();return n[i(226)]=t[i(226)],this[i(381)](n,e),n}[ft(459)](t){const e=ft;return t[e(342)](t=>{const i=e,n=this[i(240)](t);return Number(t[i(407)][i(257)](n))})}[ft(244)](t,e){const i=ft;if(t.is(i(278),i(339)))e[i(333)]({item:t,type:i(428)});else{t.is(i(278))&&e[i(333)]({item:t,type:i(420)});for(const n of t[i(466)]())this[i(244)](n,e);t.is(i(278))&&e[i(333)]({item:t,type:i(502)})}return e}[ft(346)](){const t=ft,e=new Map(this[t(439)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(279)][t(272)](),...this[t(386)][t(272)]()]);a[t(230)](t(239));for(const e of a){const i=this[t(386)][t(479)](e)||kt(e,!1),n=this[t(279)][t(479)](e)||kt(e,!1);i[t(424)]()||n[t(424)]()?(s[t(396)][e]=gt(i),s[t(422)][e]=gt(n),this[t(469)](s[t(422)][e],n),this[t(469)](s[t(396)][e],i),r[t(396)][e]=this[t(244)](this[t(488)][t(479)](e),[]),r[t(422)][e]=this[t(244)](this[t(448)][t(479)](e)||kt(e,!1),[])):a[t(230)](e)}for(const s of a){const o=r[t(396)][s];for(const s of o){const r=this[t(240)](s),o=s[t(407)][t(257)](r);i[t(230)](o),o>=this[t(238)]&&n[t(432)](o,e[t(479)](o))}}for(const s of a){const a=r[t(396)][s],c=this[t(459)](r[t(422)][s]);let u=0;for(const s of a){const r=this[t(240)](s),a=s[t(407)][t(257)](r);if(!n[t(212)](a)&&!o[t(212)](a))if(i[t(212)](a))u++;else{if(a!=c[u]){const n=e[t(479)](a)||e[t(479)](c[u]);for(;a!=c[u];)i[t(212)](c[u])||(o[t(432)](c[u],n),e[t(432)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(396)][e];for(const e of s){const s=this[t(240)](e),r=e[t(407)][t(257)](s);if(o[t(212)](r)){const e=o[t(479)](r);i[t(212)](r)||i[t(432)](r,{...e}),n[t(432)](r,{...e})}}}for(const e of i[t(272)]())e>=this[t(238)]&&i[t(230)](e);const c=new Map;for(const e of a){let s=r[t(396)][e];for(const e of s)if(e[t(407)].is(t(278),t(253))){const i=this[t(240)](e),s=e[t(407)][t(257)](i);if(n[t(212)](s)){const i=e[t(407)][t(468)][t(468)][t(257)](t(457)),r=c[t(479)](i)||new Set;r[t(402)](n[t(479)](s)[t(266)]),c[t(432)](i,r)}}s=r[t(422)][e];for(const e of s)if(e[t(407)].is(t(278),t(253))){const n=this[t(240)](e),s=e[t(407)][t(257)](n);if(i[t(212)](s)){const n=e[t(407)][t(468)][t(468)][t(257)](t(457)),r=c[t(479)](n)||new Set;r[t(402)](i[t(479)](s)[t(266)]),c[t(432)](n,r)}}for(const e of c[t(272)]())(n[t(212)](e)||i[t(212)](e))&&c[t(230)](e)}for(const e of a){const s=r[t(396)][e];let o=null,a=null;for(const e of s){const s=this[t(240)](e),r=e[t(407)][t(257)](s),u=c[t(479)](r);u&&t(420)==e[t(451)]&&(o=Array[t(205)](u)[0],a=e[t(407)][t(257)](t(227))),o&&(i[t(432)](r,{userId:o}),n[t(432)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(422)][e],a=s[t(396)][e];for(const{userId:e}of this[t(199)][t(338)]())null!==e&&l[t(402)](e);for(const{userId:e}of this[t(210)][t(338)]())null!==e&&l[t(402)](e);this[t(507)](a,r[t(396)][e],n,t(433),l),this[t(507)](o,r[t(422)][e],i,t(231),l),u[e]={insertions:this[t(243)](a),deletions:this[t(243)](o),attachChange:this[t(210)][t(479)](e)||null,attributesBefore:R(this[t(353)][t(479)](e))||{},attributesAfter:R(this[t(413)][t(479)](e))}}return{diffData:u,authorsIds:Array[t(205)](l)}}[ft(316)](t){const e=ft;for(const[,i]of t[e(447)]){const t=i[e(263)][e(376)]()[e(456)](t=>e(253)==t[e(259)]);for(const i of t)1==i[e(487)]&&i[e(435)](0).is(e(278),e(434))&&i[e(435)](0)[e(343)](e(348),!0)}}[ft(243)](t){const e=ft;this[e(316)](t);const i=this[e(288)][e(321)][e(390)](t,{}),n=Array[e(205)](i[e(466)]())[e(342)](t=>this[e(214)](t));return JSON[e(455)](n)}[ft(214)](t){const e=ft;if(t.is(e(339)))return t[e(321)];{const i=this[e(288)][e(198)][e(479)](e(349)),n=t,s=this[e(288)][e(321)][e(452)][e(314)],r={type:i[e(490)](n),name:n[e(259)],attributes:Array[e(205)](n[e(363)]()),children:Array[e(205)](n[e(466)]())[e(342)](t=>this[e(214)](t))};if(t.is(e(293))&&e(503)!=t[e(259)]){const i=t[e(383)](s[e(417)],s);r[e(194)][e(333)](i[e(294)])}else if(t.is(e(492))){const i=s[e(417)][e(419)](n[e(259)]);t[e(383)](i,s),r[e(194)][e(333)](i[e(366)])}const o=Array[e(205)](n[e(191)]());o[e(371)]>0&&(r[e(284)]=o);const a=n[e(225)]();return null!==a&&(r[e(219)]=a),r}}[ft(507)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(288)][r(474)];for(let n=0;n<e[r(371)];n++){const s=this[r(240)](e[n]),c=e[n][r(407)][r(257)](s),h=i[r(479)](c),d=n==e[r(371)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(266)]!=o[r(266)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(266)],d=l(476)+n+":"+h+":"+c++,f=u[l(440)](i,a);t[l(447)][l(432)](d,f),null!==h&&s[l(402)](h)}}[ft(240)](t){const e=ft;switch(t[e(451)]){case e(420):return e(457);case e(502):return e(227);default:return e(200)}}[ft(381)](t,e){const i=ft;t[i(443)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(479)](s[i(307)][i(384)]);t[n]=this[i(193)](s,r)}if(s instanceof X.ModelRange){const r=e[i(479)](s[i(307)][i(384)]);t[n]=this[i(412)](s,r)}i(307)===n&&(t[i(307)]=e[i(479)](t[i(307)][i(384)]))}}[ft(412)](t,e){const i=ft;return this[i(288)][i(474)][i(440)](this[i(193)](t[i(263)],e),this[i(193)](t[i(350)],e))}[ft(193)](t,e){const i=ft;return this[i(288)][i(474)][i(269)](e,t[i(358)],t[i(189)])}[ft(256)](t){const e=ft,i=this[e(488)][e(479)](t[e(454)][e(307)][e(384)]),n=this[e(193)](t[e(454)],i),s=null===t[e(226)]?null:t[e(226)]||this[e(288)][e(198)][e(479)](e(411)).me.id,r=n[e(468)],o=this[e(355)],a=[];for(const i of t[e(323)])if(i.is(e(278)))a[e(333)](this[e(494)](i));else for(let t=0;t<i[e(394)];t++)a[e(333)](new X.ModelElement(e(339),{vid:this[e(355)]++}));const c=this[e(355)];for(let t=o;t<c;t++)this[e(439)][e(432)](t,{userId:s});r[e(389)](n[e(197)],a)}[ft(458)](t){const e=ft;(t=this[e(387)](t,this[e(488)]))[e(258)]();const i=null===t[e(226)]?null:t[e(226)]||this[e(288)][e(198)][e(479)](e(411)).me.id,n=t[e(249)](),s=n[e(468)],r=n[e(197)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(435)](e);r.is(a(278),a(339))?n[a(432)](r[a(257)](a(200)),{userId:i}):(n[a(432)](r[a(257)](a(457)),{userId:i}),t(n,r,0,r[a(487)]),n[a(432)](r[a(257)](a(227)),{userId:i}))}}(this[e(439)],s,r,r+t[e(213)])}[ft(499)](t){const e=ft,i=null===(t=this[e(387)](t,this[e(488)]))[e(226)]?null:t[e(226)]||this[e(288)][e(198)][e(479)](e(411)).me.id,n=t[e(336)][e(468)],s=t[e(215)][e(468)],r=n[e(257)](e(227)),o=s[e(257)](e(457));n[e(343)](e(227),s[e(257)](e(227))),s[e(343)](e(227),r),this[e(439)][e(432)](o,{userId:i}),this[e(439)][e(432)](r,{userId:i}),t[e(258)]()}[ft(347)](t){const e=ft,i=null===(t=this[e(387)](t,this[e(488)]))[e(226)]?null:t[e(226)]||this[e(288)][e(198)][e(479)](e(411)).me.id,n=t[e(260)],s=t[e(271)][e(468)];t[e(258)]();const r=s[e(257)](e(227)),o=t[e(382)][e(331)];if(n){const t=o[e(257)](e(227)),n=s[e(257)](e(227));s[e(343)](e(227),t),o[e(343)](e(227),n),this[e(439)][e(432)](s[e(257)](e(227)),{userId:i}),this[e(439)][e(432)](o[e(257)](e(457)),{userId:i})}else{const t=this[e(355)]++,n=this[e(355)]++;s[e(343)](e(227),t),o[e(343)](e(457),n),o[e(343)](e(227),r),this[e(439)][e(432)](t,{userId:i}),this[e(439)][e(432)](n,{userId:i})}}[ft(281)](t){const e=ft;if(!t[e(385)])return;const i=(t=this[e(387)](t,this[e(386)]))[e(218)]?t[e(218)][e(307)]:null,n=t[e(414)]?t[e(414)][e(307)]:null;i&&this[e(317)][e(230)](t[e(259)]),n&&this[e(317)][e(432)](t[e(259)],t[e(414)][e(368)]());const s=null===t[e(226)]?null:t[e(226)]||this[e(288)][e(198)][e(479)](e(411)).me.id,r=t[e(259)];if(!this[e(199)][e(212)](r))return void this[e(199)][e(432)](r,{range:t[e(218)],userId:s});const o=this[e(199)][e(479)](r),a=o[e(277)],c=t[e(414)];null==a&&null==c||a&&c&&a[e(480)](c)?this[e(199)][e(230)](t[e(259)]):o[e(266)]=s}[ft(393)](t,e){const i=ft;this[i(386)][i(212)](t[i(384)])?this[i(386)][i(479)](t[i(384)])[i(477)]=t[i(442)]:(this[i(386)][i(432)](t[i(384)],kt(t[i(384)],!0)),this[i(413)][i(432)](t[i(384)],{}),e&&this[i(488)][i(432)](t[i(384)],kt(t[i(384)],!0)));const n=null===t[i(226)]?null:t[i(226)]||this[i(288)][i(198)][i(479)](i(411)).me.id,s=this[i(210)][i(479)](t[i(384)]);s&&s[i(266)]===n?this[i(210)][i(230)](t[i(384)]):this[i(210)][i(432)](t[i(384)],{userId:n,isAttached:t[i(442)]})}[ft(444)](t){const e=ft,i=this[e(413)][e(479)](t[e(307)][e(384)]);null===t[e(188)]?delete i[t[e(429)]]:i[t[e(429)]]=t[e(188)]}}function gt(t){const e=ft,i=kt(t[e(384)],t[e(424)]());for(const n of t[e(466)]()){const t=n[e(364)](!0);i[e(332)](t)}return i}function yt(){const t=["_applyOperations","_makeModelFromViewString","_calculateMetaData","domConverter","marker","_processRootBeforeSave","_markers","_operations","920LWroHY","_savedMetaData","data","detachRoot","nodes","shift","history","bind","setSource","max","toVersion","finally","nodeAfter","_appendChild","push","273fHoRgT","_source","targetPosition","licenseKey","values","$text","clear","collaboration.channelId","map","_setAttribute","getRevisionDocumentData","size","_getState","_handleSplitOperation","keepParagraph","RevisionHistoryUtils","end","saveRevision","featureNotAllowed","_baseRootsAttributes","creator","_revisionId","usageLimit","slice","path","reInit","init","_getFromVersion","setRevisionData","getAttributes","_clone","getRoot","innerHTML","getLatestVersion","clone","initial","fromEntries","length","for","_saveMetaData","markerToData","_lastFrom","getAncestors","reverse","merge","getRevision","fromVersion","_fixOperation","insertionPosition","render","rootName","affectsData","_diffRoots","_cloneOperation","_createFromRanges","_insertChild","toView","source","addRevisionData","_handleRootOperation","offsetSize","getUser","insertions","insert","revisionHistoryLicenseKeyInvalid","getCurrentRevisionId","find","getRevisions","add","conversion","3358586ZgNiHI","_isPendingUpdate","changeRootAttribute","item","updateRevisions","_loadedStateData","RealTimeCollaborationClient","Users","_fixRange","_diffRootsAttributes","newRange","_removeMetaData","revisionHistoryLicenseKeyEvaluationLimit","domDocument","_findInsertionIndex","createElement","elementStart","_initialRevisionId","deletions","createdAt","isAttached","upcast","856gTJgYi","RevisionTracker","text","key","_utils","getIndex","set","insertion","paragraph","getChild","NEGATIVE_INFINITY","_startingVersion","createRangeIn","_touched","createRange","12DscrUu","isAdd","baseVersion","_handleRootAttributeOperation","3996IFEtes","PendingActions","markers","_baseIdsRoots","getRange","Empty document","type","htmlProcessor","_showLicenseError","position","stringify","filter","vid_start","_handleMoveOperation","_getBaseVids","84955LQUGoJ","createPositionBefore","repository","getTime","getNodeByPath","adapter","getChildren","_setConversion","parent","_copyMarkers","RevisionHistory","_transformMarkers","revisionHistoryLicenseKeyTrialLimit","37933NBzYPY","model","reinsert","revision:","_isAttached","_isInit","get","isEqual","addRevision","isPremiumPlugin","234VkXXiM","hasContent","isReady","getOperations","childCount","_idsRoots","PENDING_ACTION_REVISION_HISTORY","_getTypeCharForViewElement","_bufferedUpdates","rawElement","currentRevision","_makeIdsRoot","createPositionAfter","some","sort","locale","_handleMergeOperation","_replaceEditorDataWithRevisionData","_handleOperation","elementEnd","$comment","authorsIds","sendBufferedUpdates","move","_markChanges","pluginName","621854oakctD","creatorId","36lgmoXM","resolve","newValue","stickiness","_getPreviousFrom","getCustomProperties","revision","_fixPosition","children","string","startsWith","offset","plugins","_touchedMarkers","vid","remove","_licenseKeyCheckInterval","destroy","loadState","from","revisionHistoryLicenseKeyValid","define","isOfficialPlugin","initialData","_touchedRoots","getOperation","has","howMany","_getViewJson","sourcePosition","documentFragment","_update","oldRange","fillerOffset","invalid","createRevision","removeRootAttribute","revisionHistoryLicenseKeyUsageLimit","getWalker","getFillerOffset","_authorId","vid_end","getRevisionRootsAttributes","revisionHistoryLicenseKeyExpired","delete","deletion","includes","split","getRootNames","attributesBefore","createPositionAt","loadRevisionData","_startingRevisionId","$graveyard","_getVidAttributeName","dataDowncast","domainLimit","_prepareViewToSave","_generateTape","revisionHistory.resumeUnsavedRevision","_makeRevision","revisionHistoryLicenseKeyNotAllowed","attachChange","getMovedRangeStart","afterInit","3619632fKVxqK","expired","tableCell","then","getData","_handleInsertOperation","getAttribute","_execute","name","graveyardPosition","trialLimit","_revisionDataBuilder","start","attributesAfter","getTransformedByOperation","userId","_createInitialRevision","_bufferUpdate","createPositionFromPath","update","splitPosition","keys","RevisionsRepository","addRootAttribute","_removePendingAction","_createCurrentRevision","range","element","_baseRoots","_loadState","_handleMarkerOperation","roots","editor-initial-data-replaced-with-revision-data","customProperties","requires","_reset","authors","editor","Initial revision","dataToMarker","addRoot","isEnabled","uiElement","outerHTML","evaluationLimit","rootsAttributes","trim","diffData","buildRevisionData","_lastTo","version","_continueCurrentRevision","ready","previousPosition","revisionHistoryLicenseKeyDomainLimit","config","root","_addPendingAction","_pendingAction","document"];return(yt=function(){return t})()}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(384)]=t,n[i(477)]=e,n[i(424)]=()=>n[i(477)],n}function bt(t,e,i){const n=ft,s=n(502)==t[n(451)]?i[n(236)](t[n(407)],n(350)):i[n(461)](t[n(407)]);return i[n(269)](e,s[n(358)],s[n(189)])}function wt(t,e,i){const n=ft,s=n(420)==t[n(451)]?i[n(236)](t[n(407)],0):i[n(495)](t[n(407)]);return i[n(269)](e,s[n(358)],s[n(189)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Et=i(290),Dt=i.n(Et),Vt=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ft=i(660),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Dt();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=103]})(t,e)}function zt(){const t=["locale","8YwRUct","ck-responsive-form","arrowright","value","Name of the revision","4866GFKrCy","ck-revision-history-save-revision-form","2960628pKlFQH","190tuLEeR","stopPropagation","revisionNameInputValue","initializeCssTransitionDisablerMixin","366348pQghgl","_createRevisionNameInput","arrowup","fieldView","listenTo","form","arrowdown","focus","focusTracker","arrowleft","trim","keystrokes","element","errorText","render","revisionNameInputView","set","revisionName","11708KZhpNh","input","label","10KiKcOi","57JXablu","setTemplate","899423AFQXQV","add","reset","extendTemplate","180171aGDwIL","220","optional","55839wNaXKZ"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(143168===parseInt(e(128))/1+parseInt(e(142))/2+parseInt(e(119))/3*(parseInt(e(115))/4)+parseInt(e(138))/5*(-parseInt(e(135))/6)+-parseInt(e(121))/7*(-parseInt(e(130))/8)+parseInt(e(125))/9*(parseInt(e(118))/10)+-parseInt(e(137))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(105)];[jt(108)];[jt(112)];constructor(e,i){const n=jt;super(e),this[n(105)]=new t.FocusTracker,this[n(108)]=new t.KeystrokeHandler,this[n(113)](n(140),""),this[n(112)]=this[n(143)](i),this[n(120)]({tag:n(147),attributes:{class:["ck",n(136),n(131)],tabindex:"-1"},children:[this[n(112)]]}),this[n(141)]()}[jt(111)](){const t=jt;super[t(111)](),(0,It.submitHandler)({view:this}),this[t(105)][t(122)](this[t(112)][t(109)]),this[t(108)][t(146)](this[t(109)]);const e=e=>e[t(139)]();this[t(108)][t(113)](t(132),e),this[t(108)][t(113)](t(106),e),this[t(108)][t(113)](t(144),e),this[t(108)][t(113)](t(103),e)}[jt(104)](){const t=jt;this[t(112)][t(104)]()}get[jt(114)](){const t=jt;return this[t(112)][t(145)][t(109)][t(133)][t(107)]()}set[jt(114)](t){const e=jt;this[e(112)][e(145)][e(109)][e(133)]=t[e(107)]()}[jt(123)](){const t=jt;this[t(112)][t(145)][t(109)][t(133)]="",this[t(112)][t(110)]=null}[jt(143)](t){const e=jt,i=new It.LabeledFieldView(this[e(129)],It.createLabeledInputText),n=i[e(145)];n[e(124)]({attributes:{maxlength:e(126)}});let s=at(this[e(129)],e(134));return!t&&(s+=" ("+at(this[e(129)],e(127))+")"),i[e(117)]=s,n.on(e(116),()=>{const t=e;this[t(140)]=n[t(109)][t(133)][t(107)]()}),i}}const Ut=Zt;function Ht(){const t=["7032880OxmwbF","editor","editing","items","delegate","errorText","Dialog","isEnabled","execute","reset","4488GDKwKL","set","get","bind","RevisionTracker","293155Tcddkc","_showDialog","componentFactory","547196UBkPxm","isOpen","plugins","menuBar:revisionHistory","revisionName","isReadOnly","isPremiumPlugin","requires","1EFrJCn","Revision history","isReady","RevisionHistoryUI","Open revision history","addMany","3448690NUWqaw","isOfficialPlugin","_createSaveRevisionFormView","config","Cancel","locale","saveRevision","submit","view","hide","show","render","revisionNameInputView","The revision name cannot be empty.","ck-button-action","revisionSave","role","913098LIUIBs","panelView","_registerMenuComponent","5643EbTHXY","menuitem","menu","revisionHistory","_saveRevisionFormView","257338PscooK","focus","revisionHistory.requireRevisionName","pluginName","Accept","buttonView","children","add","init","showRevisionViewerCallback","Save current revision","9gvCQdD"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(351669===parseInt(e(463))/1*(parseInt(e(425))/2)+-parseInt(e(436))/3*(parseInt(e(455))/4)+-parseInt(e(452))/5+-parseInt(e(417))/6+parseInt(e(400))/7+parseInt(e(447))/8*(-parseInt(e(420))/9)+parseInt(e(437))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends J.Plugin{static get[Ut(428)](){return Ut(397)}static get[Ut(401)](){return!0}static get[Ut(461)](){return!0}static get[Ut(462)](){return[mt]}[Ut(424)];[Ut(433)](){const t=Ut,e=this[t(438)],i=e[t(457)][t(449)](t(451));e.ui[t(454)][t(432)](t(423),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(418)][s(431)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(450)](s(444)).to(i,s(465),i,s(444),e,s(460),(t,e,i)=>t&&e&&!i),r[s(430)][s(448)]({icon:_t.IconHistory,label:at(n,s(464)),tooltip:!0}),u[s(448)]({label:at(n,s(435)),withText:!0,role:s(421)}),u[s(450)](s(444)).to(i,s(465),i,s(444),e,s(460),(t,e,i)=>t&&e&&!i),u.on(s(445),()=>this[s(453)]()),h[s(448)]({label:at(n,s(398)),withText:!0,role:s(421)}),h[s(450)](s(444)).to(i,s(465),e,s(460),(t,e)=>t&&!e),h.on(s(445),()=>{const t=s;e[t(403)][t(449)](t(423))[t(434)](),r[t(456)]=!1,e[t(439)][t(408)][t(426)]()}),c[s(431)][s(432)](u),l[s(431)][s(432)](h),a[s(416)]=s(422),a[s(440)][s(399)]([c,l]),o[s(432)](a),r}),e.ui[t(454)][t(432)](t(458),()=>this[t(419)]())}[Ut(419)](){const t=Ut,e=this[t(438)],i=e[t(405)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(430)][t(448)]({icon:_t.IconHistory,label:at(i,t(464))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(448)]({label:at(i,t(435))}),o[t(441)](t(445)).to(n),o.on(t(445),()=>{this[t(453)]()}),r[t(431)][t(432)](o),s[t(440)][t(432)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(448)]({label:at(i,t(398))}),c[t(441)](t(445)).to(n),c.on(t(445),()=>{const i=t;e[i(403)][i(449)](i(423))[i(434)]()}),a[t(431)][t(432)](c),s[t(440)][t(432)](a),n[t(418)][t(431)][t(432)](s),n}[Ut(453)](){const t=Ut,e=this[t(438)],i=e[t(405)],n=e[t(457)][t(449)](t(443)),s=e[t(457)][t(449)](t(451));function r(s){const r=t;e[r(403)][r(449)](r(427))&&""===s[r(459)]?s[r(412)][r(442)]=at(i,r(413)):(e[r(457)][r(449)](mt)[r(406)]({name:s[r(459)]}),n[r(409)]())}this[t(424)]||(this[t(402)](),this[t(424)].on(t(407),()=>r(this[t(424)]))),this[t(424)][t(446)](),n[t(410)]({id:t(415),title:at(i,t(435)),isModal:!0,content:this[t(424)],actionButtons:[{label:at(e[t(405)],t(404)),withText:!0,onExecute:()=>n[t(409)]()},{label:at(e[t(405)],t(429)),class:t(414),withText:!0,onCreate(i){const n=t;i[n(450)](n(444)).to(s,n(465),s,n(444),e,n(460),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(424)])}]})}[Ut(402)](){const t=Ut,e=this[t(438)],i=e[t(405)];this[t(424)]=new Wt(i,e[t(403)][t(449)](t(427))),this[t(424)][t(411)]()}}function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=389]})(t,e)}const Bt=$t;function Yt(){const t=["type","Added by","1707496lAWhVv","3qeaulB","name","element","div","ck-revision-change","ck-revision-change__label","25740JnmlZk","ck-revision-change__","changeId","span","author","_model","add","219066SbDRtG","bindTemplate","data","2245285exhOcM","1355660KMmxly","250WBAkAD","ck-annotation","Suggested by","241808QJJmNR","7241922pZkBav","set","focus","Removed by","isSuggestion","setTemplate"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(207416===parseInt(e(415))/1+parseInt(e(407))/2+-parseInt(e(394))/3*(-parseInt(e(411))/4)+-parseInt(e(412))/5*(-parseInt(e(400))/6)+parseInt(e(410))/7+-parseInt(e(393))/8+-parseInt(e(416))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[Bt(402)];[Bt(405)];constructor(t,e){const i=Bt;super(t),this[i(405)]=e,this[i(402)]=e.id;const n=this[i(408)],s=at(t,e[i(409)][i(389)]?i(414):i(406)==e[i(391)]?i(392):i(419));this[i(417)](i(391),e[i(391)]),this[i(390)]({tag:i(397),attributes:{class:[i(413),i(398),n.to(i(391),t=>i(401)+t)],tabindex:-1},children:[{tag:i(403),children:[{tag:i(403),attributes:{class:[i(399)]},children:[{text:s}]},{text:" "+e[i(404)][i(395)]}]}]})}[Bt(418)](){const t=Bt;this[t(396)][t(418)]()}}var Jt=Xt;function Kt(){var t=["55724DRlAjb","378862pCDYEZ","data","35wPrjgK","type","76480vSpNen","toJSON","48PcwZBe","6434145CPkoQl","createdAt","author","set","385084rcCqKn","26202kGDFsP","1516668VfcBja","rootName"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=299]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(235415===-parseInt(e(312))/1+parseInt(e(311))/2*(-parseInt(e(302))/3)+parseInt(e(309))/4+-parseInt(e(314))/5*(-parseInt(e(308))/6)+-parseInt(e(307))/7+-parseInt(e(300))/8+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Jt(305)];[Jt(299)];[Jt(313)];[Jt(310)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(305)]=e[i(305)],this[i(299)]=e[i(299)],this[i(313)]=e[i(313)]||{},this[i(310)]=e[i(310)],this[i(306)](i(304),e[i(304)])}[Jt(301)](){var t=Jt;return{id:this.id,authorId:this[t(305)].id,type:this[t(299)],data:this[t(313)],createdAt:this[t(304)]}}}const te=ie;!function(t){const e=ie,i=t();for(;;)try{if(187618===parseInt(e(332))/1*(parseInt(e(326))/2)+parseInt(e(328))/3+-parseInt(e(330))/4*(-parseInt(e(334))/5)+-parseInt(e(333))/6+parseInt(e(325))/7*(-parseInt(e(329))/8)+parseInt(e(324))/9*(-parseInt(e(320))/10)+-parseInt(e(331))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class ee{[te(321)];[te(322)];[te(327)];constructor(e,i){const n=te;this[n(321)]=e,this[n(322)]=i,this[n(327)]=new t.Collection}[te(335)](t){const e=te;for(const i of t)this[e(327)][e(323)](i)}}function ie(t,e){const i=ne();return(ie=function(t,e){return i[t-=320]})(t,e)}function ne(){const t=["12irpjDi","changes","335922ltPrfv","40FypdJb","272oiMNRW","266365hwTFbG","31771PEISCN","157548GOFDiM","17230cxqvWl","_setChanges","959010bSvfsT","newRevisionId","oldRevisionId","add","18plXfzD","149849FycPqS"];return(ne=function(){return t})()}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=184]})(t,e)}function ce(){const t=["_update","domConverter","mapper","ck-editor__editable__overlay","ck-suggestion-marker--active","map","markerName","rootName","from","data","removeMarker:revision","_setChanges","_removeMissingPairs","test","document","1297475hMKJQD","dataDowncast","isNavigationMode","change:activeChange","wrap","target","string","highest","hasAttribute","affectsData","isAfter","POSITIVE_INFINITY","setAttribute","insert","next","upcast","vid","toViewPosition","locale","split","revision-viewer","stop","createRangeIn","showNextChange","add","removeAttribute","22ormfFm","isPremiumPlugin","getIndex","endIndex","isCollapsed","removeClass","observeMarkers","_data","_initInteractions","writer","getItems","destroy","18NNEgAh","insertion","_makeTape","conversion","deletions","_revisions","viewItem","isObject","isAdded","81EqrNgM","parent","change:isEnabled","_utils","get","change","WidgetToolbarRepository","restoreRevision","ck-revision-history-root-","consumable","plugins","mapViewToDom","attachChange","forward","toViewRange","_joinTapes","newRevisionId","markersEnd","addMarker:revision-suggestion:deletion","_processTape","_getDiff","isLimit","restoreRevisionCallback","attributesBefore","_threeWayMerge","filter","side","offsetSize","vid_start","pluginName","high","markersStart","_step","getCustomProperty","ck-suggestion-marker-merge","numberOfChanges","getAttributes","_cleanUp","_fixObsoleteTags","currentChangeNumber","isBlock","concat","uiElement","isContent","createAttributeElement","schema","diffData","addMarker:revision-suggestion:insertion","updatePosition","addRoot","softBreak","isAtStart","isAddSuggestion","merge","isOnRoot","revision-suggestion","bottom","pairId","_makeModelFromTape","diff","refresh","markerNameToElements","span","27269GmbBZv","addHighlight","getClientRects","dataToMarker","nodeAfter","isAttached","activeView","length","isReady","includes","consume","_markMismatchedRemovedTags","attributesAfter","then","object","_setDistance","data-change-id","push","editing","low","editingDowncast","bindElementToMarker","elementEnd","917148oNGJLi","item","change:isReady","_appendChild","ck-revision-history-root-add","showStack","nextPosition","getChild","index","enqueueChange","markerRange","markerToData","start","getRevision","end","revision:","revision","detachRoot","_sortAndFilterDiffChanges","keys","commands","attribute:vid","backward","suggestion","addClass","modelRange","ck-suggestion-marker-","showPreviousChange","remove","getRoot","isAtEnd","_getRevisionsRange","_balloon","_setConversion","find","vid_end","loadRevisionData","startsWith","top","listenTo","isSuggestion","all","userId","ck-suggestion-marker-split","revision-suggestion:","removeMarker","_markInsertions","level","delete","splice","change:activeView","checkAttribute","activeChange","resolve","_cleanMarkers","clear","view","removeMarker:revision-suggestion","findIndex","nextSibling","name","error","sort","deletion","_removeUnsupportedChanges","createRevision","type","hasClass","bind","isIncorrect","-new","selection","reconvertMarker","getLaterVisibleRevision","getDomRoot","authors","distance","left","ck-suggestion-preview-marker","unshift","unbindElementFromMarkerName","isBefore","isRemoved","_markSuggestions","model","getAttribute","elementStart","pop","_markMarkers","_findChangeIdFromDomTarget","mousedown","mouseover","code","first","revision-comment:","right","ck-revision-history-root-remove","adapter","getWalker","ck-suggestion-preview-marker-","RevisionsRepository","flat","slice","catch","has","revisionHistoryAttachChange","changes","execute","domEvent","compare","set","isEnabled","editor","abs","element:pre","forceDisabled","_makeModelFromViewString","suggestion:","_getViewForChange","toViewElement","revisionHistoryLabel","range","return","maxOffset","config","addRevisionData","_changeIdToChange","elementToAttribute","insertions","createUIElement","repository","213384yMjHjT","enableReadOnlyMode","_refreshStartEndIndex","isEqual","init","_activeViewTarget","RevisionHistoryUtils","RevisionViewer","getRevisionDocumentData","isOfficialPlugin","element","419020FioDYb","attributes","values","requires","681900kLcNJY","previousPosition","markers","oldRevisionId","text","shift","downcastDispatcher","addMarker:revision","startIndex","isRemoveSuggestion","changeId","for","change:numberOfChanges","revisionHistory","getRootNames","_changeView","forEach","ck-suggestion-marker","ck-revision-history-root--active","done","comment","createPositionBefore","3380690bUWlyB","roots","getRevisionRootsAttributes","addRevision","markerToHighlight","_getChangeFromId","indexOf","isInline","createPositionFromPath","createRange"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(174725===-parseInt(e(204))/1*(parseInt(e(446))/2)+parseInt(e(373))/3+parseInt(e(227))/4+-parseInt(e(420))/5+parseInt(e(458))/6*(parseInt(e(369))/7)+parseInt(e(358))/8*(-parseInt(e(467))/9)+parseInt(e(395))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[oe(357)];[oe(324)]=null;[oe(470)];[oe(363)];[oe(388)];[oe(353)];[oe(259)];static get[oe(496)](){return oe(365)}static get[oe(367)](){return!0}static get[oe(447)](){return!0}static get[oe(372)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(357)]=this[e(339)][e(477)][e(471)](e(327)),this[e(470)]=this[e(339)][e(477)][e(471)](e(364)),this[e(337)](e(279),null),this[e(337)](e(210),null),this[e(363)]=null,this[e(337)](e(200),null),this[e(337)](e(212),!1),this[e(337)](e(338),!0),this.on(e(469),(t,i,n)=>{const s=e;this[s(279)]=null,this[s(210)]=null,this[s(339)][s(222)][s(283)][s(472)](t=>{const e=s;for(const i of this[e(339)][e(222)][e(283)][e(419)][e(396)])n?t[e(451)](e(408),i):t[e(251)](e(408),i)})}),this[e(295)](e(422)).to(this,e(279),t=>null!==t),this[e(295)](e(506)).to(this,e(212),this,e(200),this,e(279),(t,i,n)=>t&&n?i[e(333)][e(448)](n):0),this[e(295)](e(502)).to(this,e(212),this,e(200),(t,i)=>t?i[e(333)][e(211)]:0),this[e(388)]=null,this[e(353)]=new Map,this[e(259)]=this[e(339)][e(477)][e(471)](It.ContextualBalloon)}[oe(362)](){const t=oe,e=this[t(339)],i=new de(e,{direction:t(249)}),n=new de(e,{direction:t(480)});e[t(247)][t(444)](t(254),i),e[t(247)][t(444)](t(443),n),e[t(247)][t(444)](t(474),new he(e)),this.on(t(385),()=>{const e=t;i[e(201)](),n[e(201)]()}),this[t(260)](),this[t(454)](),e[t(359)](t(440)),e[t(477)][t(331)](t(473))&&e[t(477)][t(471)](t(473))[t(342)](t(440))}async[oe(366)](t){const e=oe;return await this[e(470)][e(263)](t,this[e(324)]),this[e(470)][e(366)](t)}async[oe(397)](t){const e=oe;return await this[e(470)][e(263)](t,this[e(324)]),this[e(470)][e(397)](t)}async[oe(336)](t,e,i=!1){const n=oe;if(!this[n(338)])return;const s=this[n(200)],r=this[n(357)],o=n(426)==typeof t?r[n(240)](t):t,a=n(426)==typeof e?r[n(240)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(200)]&&this[n(200)][n(483)]===c&&this[n(200)][n(376)]===u)return Promise[n(280)]();this[n(212)]=!1,this[n(210)]=null,this[n(279)]=null,this[n(200)]=new ee(c,u);const l=this[n(258)](o,a,!0)[n(410)](t=>this[n(470)][n(263)](t,this[n(324)]));return l[n(221)](new Promise(t=>{setTimeout(t,20)})),Promise[n(268)](l)[n(217)](()=>{const t=n;if(!this[t(338)])return;this[t(504)]();const e=this[t(487)](c,u);for(const i of e[t(333)])this[t(353)][t(337)](i.id,i);this[t(339)][t(311)][t(236)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(339)][n(311)][n(419)][n(387)]())i[n(244)](t);for(const t of Object[n(246)](e[n(311)])){const s=i[n(190)](t);for(const r of Object[n(246)](e[n(370)][t]))i[n(432)](r,e[n(370)][t][r],s);i[n(433)](e[n(311)][t],s,0)}}),this[t(200)][t(416)](this[t(245)](e[t(333)])),this[t(212)]=!0})[n(330)](t=>{const e=n;console[e(288)](t),this[e(504)](),s&&(this[e(200)]=s),this[e(212)]=!0})}[oe(352)](t,e){const i=oe,n=this[i(357)][i(292)](t);return n.on(i(405),(t,i,s)=>e(i,s,n)),this[i(357)][i(398)](n),n}[oe(504)](){const t=oe;this[t(279)]=null,this[t(281)](),this[t(388)]&&this[t(388)][t(457)](),this[t(388)]=null,this[t(353)][t(282)](),this[t(339)][t(311)][t(236)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(339)][i(311)][i(419)][i(387)]())e[i(244)](t)})}[oe(245)](t){const e=oe,i=[],n=new Map;for(const t of this[e(339)][e(311)][e(419)][e(387)]()){const s=this[e(339)][e(222)][e(283)][e(301)](t);if(!s)continue;const r=s[e(206)]()[e(228)](0);r&&(i[e(221)](t),n[e(337)](t,r))}return i[e(289)]((t,i)=>{const s=e,r=n[s(471)](t),o=n[s(471)](i);return r.y-o.y||r.x-o.x}),(t=t[e(492)](t=>i[e(213)](t[e(412)])))[e(289)]((t,n)=>i[e(401)](t[e(412)])-i[e(401)](n[e(412)])),t}[oe(460)](t){const e=oe,i=Array[e(413)](t[e(375)])[e(492)](([t,i])=>t[e(264)](e(242))&&!i[e(450)]),n=Array[e(413)](this[e(339)][e(311)][e(442)](t)[e(325)]({singleCharacters:!0}));if(0!=i[e(211)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(439)](":");if(s[e(241)][e(361)](t[e(233)])&&i[e(378)](),(t[e(374)][e(361)](s[e(239)])||t[e(374)][e(430)](s[e(239)]))&&(e(459)==r?t[e(466)]={userId:o}:e(290)==r&&(t[e(309)]={userId:o})),0==i[e(211)])break}return n}[oe(360)](t){const e=oe,i=new Map;for(let n=0;n<t[e(211)];n++)e(377)===t[n][e(293)]?(t[n][e(228)][e(381)]=n,t[n][e(228)][e(449)]=n):(e(313)===t[n][e(293)]?t[n][e(228)][e(381)]=n:e(226)===t[n][e(293)]&&(t[n][e(228)][e(449)]=n),i[e(337)](t[n].id,n));for(const n of i[e(371)]())e(313)===t[n][e(293)]?t[n][e(228)][e(449)]=i[e(471)](t[n][e(198)]):e(226)===t[n][e(293)]&&(t[n][e(228)][e(381)]=i[e(471)](t[n][e(198)]))}[oe(486)](t){const e=oe;for(let i=0;i<t[e(211)];i++){if(e(313)===t[i][e(293)])t[i][e(228)][e(381)]=i;else if(e(226)===t[i][e(293)]){t[i][e(228)][e(449)]=i;const n=t[i][e(228)][e(381)];t[n][e(198)]=t[i].id,t[i][e(198)]=t[n].id}else t[i][e(228)][e(381)]=i,t[i][e(228)][e(449)]=i,t[i][e(198)]=null;t[i][e(498)]||(t[i][e(498)]=[],t[i][e(484)]=[])}}[oe(273)](t,e){const i=oe,n=t[i(492)](t=>!t[i(466)]);for(let t=0;t<e[i(211)];t++)e[t][i(466)]&&(n[t][i(466)]=e[t][i(466)])}[oe(487)](t,e=null){const i=oe,n=this[i(357)][i(240)](t),s=e?this[i(357)][i(240)](e):null,r=this[i(258)](n,s),o=r[r[i(211)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(211)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(246)](e[i(187)]))if(e[i(187)][t][i(479)]){const n=e[i(187)][t][i(479)];n[i(209)]?(u[i(444)](t),l[i(331)](t)&&l[i(471)](t)[i(269)]==n[i(269)]?l[i(275)](t):l[i(337)](t,n)):l[i(331)](t)?(u[i(275)](t),l[i(275)](t)):(u[i(444)](t),l[i(337)](t,n))}else u[i(444)](t)}for(const t of u){const e=l[i(331)](t)&&!l[i(471)](t)[i(209)];let n=e?r[i(211)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(187)][t]){const n=e?o[i(187)][t][i(490)]:o[i(187)][t][i(216)];c[i(370)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(311)]={};for(const e of t[i(302)])a[i(337)](e.id,e);for(const e of u){const n=t[i(187)][e]?t[i(187)][e][i(355)]:"[]",s=t[i(187)][e]?t[i(187)][e][i(462)]:"[]";t[i(311)][e]={insertions:this[i(470)][i(343)](n),deletions:this[i(470)][i(343)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(413)](n[i(311)][t][i(355)][i(375)])[i(492)](([t])=>!t[i(264)](i(242))));let h=0;for(const o of r){const r=this[i(460)](o[i(311)][t][i(355)]);o==n?(e=r,s=e[i(211)],e[i(389)](t=>{t.id=h++}),this[i(486)](e)):this[i(273)](e,r);const a=e[i(492)](t=>!t[i(466)])[i(410)](t=>t.id);let c=0;const l=this[i(460)](o[i(311)][t][i(462)]);l[i(389)](t=>{t[i(309)]?t.id=s++:t.id=a[c++]}),this[i(486)](l),this[i(219)](e,i(466)),this[i(219)](l,i(309)),o==n&&this[i(315)](e,u),e=this[i(482)](e,l),this[i(360)](e),this[i(219)](e,i(309))}e=e[i(492)](t=>!(t[i(466)]&&t[i(309)]));const d=new Map(o[i(311)][t][i(462)][i(375)]),f=new Set(u[i(246)]());for(const t of d[i(246)]())f[i(275)](t);this[i(310)](e,f),this[i(505)](e),e=this[i(417)](e),e=this[i(215)](e),e=this[i(291)](e);const{root:m,changes:p}=this[i(199)](e,a,t);c[i(311)][t]=m;const v=l[i(471)](t);if(v){const e=a[i(471)](v[i(269)]),n=new Qt({author:e,type:v[i(209)]?i(444):i(255),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(306)](n),c[i(370)][t][i(332)]=n.id}c[i(333)]=c[i(333)][i(508)](p)}return c}[oe(315)](t,e){const i=oe;for(let n=0;n<t[i(211)];n++)for(const[s,r]of e)!r[i(450)]&&r[i(239)][i(361)](t[n][i(374)])&&t[n][i(498)][i(221)](s),r[i(241)][i(361)](t[n][i(233)])&&t[n][i(484)][i(221)](s)}[oe(482)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(211)]||r<e[i(211)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(221)](o);else if(a[i(309)]&&o[i(466)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(491)](t,s,e,r);n=n[i(508)](o),s=a,r=c}else a[i(309)]?(r++,n[i(221)](a)):(s++,n[i(221)](o))}return n}[oe(310)](t,e){const i=oe,n=[];for(let o=0;o<t[i(211)];o++){for(let r=0;r<t[o][i(498)][i(211)];r++){const a=t[o][i(498)][r];if(!e[i(331)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(196)!=c||i(459)!=u&&i(290)!=u||(n[i(306)]({type:u,name:a,userId:l}),t[o][i(498)][i(276)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(484)][i(211)];r++){const a=t[o][i(484)][r];if(!e[i(331)](a))continue;const{group:c,type:u}=s(a);if(i(196)!=c||i(459)!=u&&i(290)!=u)continue;t[o][i(484)][i(276)](r,1),r--;const l=n[i(285)](t=>t[i(287)]==a);l>-1&&n[i(276)](l,1)}}function s(t){const e=i,n=t[e(439)](":");return{group:n[0],type:n[1],subType:n[e(211)]>=5?n[2]:null,id:n[e(211)]<5?n[2]:n[3],authorId:n[e(211)]<5?n[3]:n[4],markerCount:6==n[e(211)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(211)];i++){if(t[e(466)]&&e(459)==n[i][e(293)]&&t[e(466)][e(269)]==n[i][e(269)])return t[e(193)]=n[i],void delete t[e(466)];if(!t[e(466)]&&!t[e(309)]&&e(290)==n[i][e(293)])return void(t[e(382)]=n[i])}}}[oe(219)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(337)](o.id,n);for(let n=0;n<t[i(211)];n++){if(i(309)==e&&t[n][i(466)]||i(466)==e&&t[n][i(309)])continue;if(i(377)==t[n][i(293)]){t[n][i(303)]=0;continue}const s=r[i(471)](t[n][i(198)]),o=r[i(471)](t[n].id);t[n][i(303)]=s-o}}[oe(258)](t,e,i=!1){const n=oe,s=[];let r=this[n(357)][n(448)](t),o=this[n(357)][n(448)](e);for(-1==o&&(o=this[n(357)][n(463)][n(211)],i=!1);r<o;)s[n(221)](this[n(357)][n(240)](r)),r++;return i&&s[n(221)](this[n(357)][n(240)](r)),s}[oe(491)](t,e,i,n){const s=oe,r=this[s(339)][s(311)][s(186)];let o=e;for(;t[o]&&t[o][s(466)];)o++;let a=n;for(;i[a]&&i[a][s(309)];)a++;u(t,e,o),u(i,n,a);const c=i[s(329)](n,a)[s(508)](t[s(329)](e,o));return c[s(289)]((t,e)=>t[s(493)]!=e[s(493)]?t[s(493)]-e[s(493)]:t[s(274)]!=e[s(274)]?t[s(274)]-e[s(274)]:t[s(303)]!=e[s(303)]?e[s(303)]-t[s(303)]:!!t[s(466)]!=!!e[s(466)]?-1==t[s(493)]||0==t[s(493)]?t[s(466)]?-1:1:t[s(466)]?1:-1:t[s(235)]-e[s(235)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(431)],c=!0;for(let s=e;s<i;s++)if(r[n(402)](t[s][n(228)])||(c=!1),t[s][n(228)][n(381)]<e&&(o=s),t[s][n(228)][n(449)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(493)]=s<=o?-1:s<a?0:1,t[s][n(235)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(303)]?t[i][n(274)]=u:(u++,t[i][n(274)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(493)]&&(t[s][n(274)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(303)]?t[e][n(274)]=u:(u--,t[e][n(274)]=u,u--)}}[oe(505)](t){const e=oe,i=new Map,n=this[e(339)][e(311)][e(186)];for(let s=1;s<t[e(211)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(377)==c[e(293)])continue;if(c[e(293)]!=u[e(293)])continue;if(!n[e(507)](u[e(228)])||n[e(488)](u[e(228)]))continue;if(!n[e(507)](c[e(228)])||n[e(488)](c[e(228)]))continue;if((t[s][e(466)]||t[s][e(193)])&&t[s-1][e(309)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(309)]||!t[s-1][e(466)]&&!t[s-1][e(193)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(274)]==o[e(274)],h=Math[e(340)](r[e(274)])<Math[e(340)](o[e(274)])&&0==o[e(303)];(l||h)&&(i[e(337)](o.id,r.id),t[e(276)](a,1),s--,r[e(466)]=!1)}for(let n=0;n<t[e(211)];n++)i[e(331)](t[n][e(198)])&&(t[n][e(198)]=i[e(471)](t[n][e(198)]))}[oe(417)](t){const e=oe,i=new Set(t[e(410)](t=>t.id));for(let n=0;n<t[e(211)];n++)i[e(331)](t[n][e(198)])||0==t[n][e(303)]||(t[n][e(296)]=!0);return t[e(492)](t=>!t[e(296)])}[oe(215)](t){const e=oe,i=new Set;for(let n=0;n<t[e(211)];n++){if(i[e(331)](t[n].id)&&t[n][e(309)]&&(t[n][e(296)]=!0),t[n][e(296)])continue;if(0==t[n][e(303)])continue;if(e(313)!=t[n][e(293)])continue;if(null==t[n][e(198)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(198)];)e(313)==t[s][e(293)]?r++:e(226)==t[s][e(293)]&&r--,s++;if(0!=r)if(t[n][e(309)])t[n][e(296)]=!0;else for(;s!=n;)t[s][e(309)]&&0!=t[s][e(303)]&&(t[s][e(296)]=!0,i[e(444)](t[s][e(198)])),s--}return t[e(492)](t=>!t[e(296)])}[oe(291)](t){const e=oe,i=this[e(339)][e(311)][e(186)];for(let n=0;n<t[e(211)];n++){if(!(t[n][e(466)]||t[n][e(193)]||t[n][e(309)]||t[n][e(382)]))continue;if(0==t[n][e(303)])continue;const s=t[n][e(228)];i[e(507)](s)||i[e(488)](s)||(t[n][e(466)]&&delete t[n][e(466)],t[n][e(193)]&&delete t[n][e(193)],t[n][e(382)]&&delete t[n][e(382)],t[n][e(309)]&&(t[n][e(296)]=!0))}return t[e(492)](t=>!t[e(296)])}[oe(199)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(339)][n(311)],c=a[n(186)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(211)];e++)if(n(313)===t[e][n(293)]){t[e][n(374)]=a[n(403)](s,f);const i=new X.ModelElement(t[e][n(228)][n(287)],t[e][n(228)][n(503)]());u[0][n(230)](i),f[n(221)](0),u[n(306)](i),t[e][n(233)]=a[n(403)](s,f)}else n(226)===t[e][n(293)]?(u[n(378)](),t[e][n(374)]=a[n(403)](s,f),f[n(314)](),f[f[n(211)]-1]++,t[e][n(233)]=a[n(403)](s,f)):(t[e][n(374)]=a[n(403)](s,f),d?d[n(453)]+=t[e][n(228)][n(414)]:d=new X.ModelText(t[e][n(228)][n(414)],t[e][n(228)][n(503)]()),t[e+1]&&n(377)===t[e+1][n(293)]&&v(d,t[e+1][n(228)])||(u[0][n(230)](d),d=null),f[f[n(211)]-1]+=t[e][n(228)][n(494)],t[e][n(233)]=a[n(403)](s,f));for(let e=0;e<t[n(211)];e++){const i=t[e][n(374)],s=t[e][n(233)];for(const s of t[e][n(498)])o[n(337)](s,{start:i,end:null});m(n(382),e,i,s),m(n(193),e,i,s),m(n(309),e,i,s),m(n(466),e,i,s);for(const i of t[e][n(484)]){const t=o[n(471)](i);t?t[n(241)]=s:o[n(337)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(339)][n(311)][n(404)](e[n(239)],e[n(241)]);s[n(375)][n(337)](t,i)}return r[n(289)]((t,e)=>{const i=n,r=s[i(375)][i(471)](i(242)+t.id),o=s[i(375)][i(471)](i(242)+e.id);return r[i(239)][i(308)](o[i(239)])?-1:r[i(239)][i(430)](o[i(239)])?1:r[i(241)][i(308)](o[i(241)])?-1:r[i(241)][i(430)](o[i(241)])?1:i(444)===t[i(293)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(269)]:null,d=i===t[o(211)]-1,f=h[e][0],m=c[o(465)](t[i][o(228)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(241)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(269)]!==u&&(l[e][o(241)]=s,f&&f[o(269)]===l[e][o(269)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(313)!==t[i][o(293)]||f&&f[o(269)]===u||h[e][o(306)]({userId:u,object:t[i][o(228)],change:l[e]}),o(226)===t[i][o(293)]&&f&&f[o(218)]===t[i][o(228)]&&(h[e][o(378)](),l[e]=f[o(472)])),l[e]&&d&&(l[e][o(241)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(228)],f=a[h(186)][h(507)](d)&&!a[h(186)][h(488)](d),m=t[h(208)]==o[h(468)]&&o[h(192)];if(f&&m)return;const p=a[h(404)](t,o),v=e[h(471)](u),g=new Qt({author:v,type:h(466)==l||h(193)==l?h(444):h(255),data:{isSuggestion:h(193)==l||h(382)==l},createdAt:new Date,rootName:i});r[h(221)](g),s[h(375)][h(337)](h(242)+g.id,p)}function v(t,e){const i=n,s=t[i(503)](),r=e[i(503)]();for(const t of s){if(t[1]!==e[i(312)](t[0]))return!1;r[i(434)]()}return r[i(434)]()[i(392)]}}[oe(260)](){const t=oe;this[t(339)][t(461)][t(384)](t(435))[t(207)]({view:t(243)}),this[t(339)][t(461)][t(384)](t(224))[t(399)]({model:t(243),view:e=>{const i=t,n=e[i(411)][i(439)](":")[1],s=this[i(400)](n);if(!s)return null;const r=i(444)==s[i(293)]?i(459):i(290),o=[i(390),i(253)+r];return s[i(414)][i(267)]&&o[i(221)](i(253)+r+i(297)),this[i(279)]==s&&o[i(221)](i(409)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(339)][t(461)][t(384)](t(435))[t(444)](e=>{const i=t;e.on(i(341),(t,e,n)=>{const s=i,r=e[s(464)][s(234)](0);if(!r||!r.is(s(368),s(319)))return;if(!n[s(476)][s(214)](r,{attributes:[s(495),s(262)]}))return;const o=e[s(252)][s(239)][s(208)];n[s(455)][s(432)](s(495),r[s(312)](s(495)),o),n[s(455)][s(432)](s(262),r[s(312)](s(262)),o)},{priority:i(223)})}),this[t(339)][t(461)][t(384)](t(435))[t(444)](e=>{const i=t;e.on(i(368),(t,e,n)=>{const s=i;if(!n[s(476)][s(214)](e[s(464)],{attributes:[s(495),s(262)]}))return;if(e[s(252)][s(450)])return;const r=e[s(252)][s(239)][s(208)];r[s(428)](s(495))||r[s(428)](s(436))||(n[s(455)][s(432)](s(495),e[s(464)][s(312)](s(495)),r),n[s(455)][s(432)](s(262),e[s(464)][s(312)](s(262)),r))},{priority:i(223)})}),this[t(339)][t(461)][t(384)](t(435))[t(354)]({view:{name:t(203),attributes:{vid:!0}},model:{key:t(436),value:e=>e[t(312)](t(436))}}),this[t(339)][t(311)][t(186)].on(t(278),(e,[,i])=>{const n=t;[n(495),n(262),n(436)][n(213)](i)&&(e[n(349)]=!0,e[n(441)]())},{priority:t(427)}),this[t(339)][t(461)][t(384)](t(421))[t(444)](e=>{const i=t;e.on(i(248),(t,e,n)=>{const s=i;if(" "!=e[s(228)][s(414)]||e[s(228)][s(468)][s(350)]>1)return;if(!n[s(476)][s(214)](e[s(228)],t[s(287)]))return;const r=n[s(455)],o=n[s(407)][s(481)](e[s(348)]);r[s(424)](o,r[s(185)](s(203)))})}),this[t(339)][t(461)][t(384)](t(421))[t(238)]({model:t(243)}),this[t(339)][t(222)][t(379)].on(t(380),function(e){const i=t,n=e[i(477)][i(471)](i(365));return(t,s,r)=>{const o=i,a=s[o(411)][o(439)](":")[1],c=n[o(400)](a);if(!c)return null;const u=o(444)==c[o(293)]?o(439):o(194);if(!r[o(476)][o(418)](s[o(237)],t[o(287)]))return;const l=s[o(237)][o(325)](),h=s[o(237)][o(239)],d=e[o(311)][o(186)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(228)];p=p||d[o(184)](e);const i=r[o(407)][o(346)](e);if(i&&i[o(500)](o(205)))return;o(226)==t[o(293)]&&d[o(507)](e)&&!d[o(488)](e)&&(e[o(286)]||h[o(257)]?f&&f[o(468)]==e||(f=e,g(t[o(374)]),v=!0):m=m||t[o(374)])}function g(t){const e=o,i=r[e(455)][e(356)](e(203),{class:e(253)+u}),a=r[e(407)][e(437)](t);c[e(414)][e(267)]&&r[e(455)][e(251)](e(253)+u+e(297),i),n[e(279)]==c&&r[e(455)][e(251)](e(409),i),r[e(455)][e(433)](a,i),r[e(407)][e(225)](i,s[e(411)])}p||v||!m||g(m)}}(this[t(339)]),{priority:t(497)}),this[t(339)][t(222)][t(379)].on(t(415),(e,i,n)=>{const s=t,r=n[s(407)][s(202)](i[s(411)]);if(r)for(const t of r)(t[s(294)](s(270))||t[s(294)](s(501)))&&(n[s(407)][s(307)](t,i[s(411)]),n[s(455)][s(255)](t))},{priority:t(497)}),this[t(339)][t(222)][t(379)].on(t(380),(e,i,n)=>{const s=t,r=i[s(411)][s(439)](":")[1],o=this[s(400)](r);if(!o)return null;const a=s(444)==o[s(293)]?s(439):s(194);if(n[s(476)][s(418)](i[s(237)],e[s(287)]))for(const t of i[s(237)][s(456)]()){if(!t.is(s(368),s(191)))continue;const e=n[s(455)][s(356)](s(203),{class:s(253)+a}),r=n[s(407)][s(437)](this[s(339)][s(311)][s(394)](t));o[s(414)][s(267)]&&n[s(455)][s(251)](s(253)+a+s(297),e),this[s(279)]==o&&n[s(455)][s(251)](s(409),e),n[s(455)][s(433)](r,e),n[s(407)][s(225)](e,i[s(411)])}},{priority:t(497)}),this[t(339)][t(311)][t(419)].on(t(472),()=>{const e=t;this[e(339)][e(222)][e(283)][e(472)](t=>{const i=e;for(const e of this[i(339)][i(311)][i(419)][i(387)]()){const n=this[i(339)][i(311)][i(419)][i(256)](e),s=this[i(339)][i(222)][i(283)][i(419)][i(256)](e);if(s){const e=n[i(312)](i(332));if(t[i(445)](i(220),s),t[i(451)](i(231),s),t[i(451)](i(323),s),t[i(451)](i(391),s),e){const n=this[i(400)](e);if(!n)return null;t[i(432)](i(220),e,s),t[i(251)](i(475)+n[i(293)],s),this[i(279)]==n&&t[i(251)](i(391),s)}}}})}),this[t(339)][t(461)][t(384)](t(435))[t(207)]({view:t(393),model:e=>t(321)+e,converterPriority:t(427)}),this[t(339)][t(461)][t(384)](t(435))[t(207)]({view:t(250),model:e=>t(271)+e,converterPriority:t(427)}),this[t(339)][t(461)][t(384)](t(421))[t(238)]({model:t(196),view:e=>({name:t(344)+e,group:t(196)}),converterPriority:t(427)}),this[t(339)][t(461)][t(384)](t(224))[t(399)]({model:t(196),view:e=>{const i=t,n=e[i(411)][i(439)](":")[1];return i(459)!=n&&i(290)!=n?null:{classes:[i(305),i(326)+n]}}}),this[t(339)][t(222)][t(379)].on(t(485),le(this[t(339)],t(194)),{priority:t(497)}),this[t(339)][t(222)][t(379)].on(t(188),le(this[t(339)],t(439)),{priority:t(497)}),this[t(339)][t(222)][t(379)].on(t(284),(e,i,n)=>{const s=t,r=n[s(407)][s(202)](i[s(411)]);if(r)for(const t of r)t.is(s(509))&&(n[s(407)][s(307)](t,i[s(411)]),n[s(455)][s(255)](t))},{priority:t(497)})}[oe(400)](t){const e=oe;return this[e(353)][e(471)](t)}[oe(345)](t){const e=oe;return this[e(388)]&&this[e(388)][e(457)](),this[e(388)]=new Gt(this[e(339)][e(438)],t),this[e(388)]}[oe(454)](){const t=oe;this[t(339)][t(311)][t(419)][t(298)][t(452)](t(243)),this.on(t(277),(e,i,n,s)=>{const r=t;s&&this[r(259)][r(255)](s),n&&(this[r(259)][r(444)]({view:n,stackId:r(347),position:{target:()=>{const t=r,e=this[t(339)][t(222)],i=this[t(400)](n[t(383)]);let s;if(i[t(414)][t(195)]){const n=e[t(283)][t(301)](i[t(412)]);s=Array[t(413)](n[t(206)]())}else{const i=this[t(339)][t(311)][t(375)][t(471)](t(242)+n[t(383)]);s=Array[t(413)](e[t(407)][t(202)](i[t(287)]))[t(410)](i=>e[t(283)][t(406)][t(478)](i))[t(410)](e=>Array[t(413)](e[t(206)]()))[t(328)]()}return this[t(363)]&&s[t(261)](e=>e[t(265)]-3<=this[t(363)].y&&e[t(197)]+3>=this[t(363)].y&&e[t(304)]-3<=this[t(363)].x&&e[t(322)]+3>=this[t(363)].x)||s[0]}}}),this[r(259)][r(232)](r(347)))}),this.on(t(423),(e,i,n,s)=>{const r=t;this[r(210)]=n?this[r(345)](n):null,this[r(339)][r(311)][r(472)](()=>{const t=r,e=this[t(339)][t(222)];s&&(s[t(414)][t(195)]?e[t(283)][t(472)](i=>{const n=t;i[n(451)](n(391),e[n(283)][n(419)][n(256)](s[n(412)]))}):e[t(299)](t(242)+s.id)),n&&(n[t(414)][t(195)]?e[t(283)][t(472)](i=>{const s=t;i[s(251)](s(391),e[s(283)][s(419)][s(256)](n[s(412)]))}):e[t(299)](t(242)+n.id))})}),this[t(266)](this[t(339)][t(222)][t(283)][t(419)],t(318),(e,i)=>{const n=t;if(this[n(279)])return;const s=this[n(316)](i[n(425)]),r=this[n(353)][n(471)](s);r?(this[n(363)]={x:i[n(335)].x,y:i[n(335)].y},this[n(210)]=this[n(345)](r)):(this[n(363)]=null,this[n(210)]=null)}),this[t(266)](this[t(339)][t(222)][t(283)][t(419)],t(317),(e,i)=>{const n=t,s=this[n(316)](i[n(425)]),r=this[n(353)][n(471)](s);r?(this[n(363)]={x:i[n(335)].x,y:i[n(335)].y},r===this[n(279)]?this[n(259)][n(189)]():this[n(279)]=r):(this[n(363)]=null,this[n(279)]=null)})}[oe(316)](t){const e=oe;do{const i=t[e(312)](e(220));if(i)return i;t=t[e(468)]}while(t);return null}[oe(281)](){const t=oe;this[t(339)][t(311)][t(472)](e=>{const i=t;for(const t of this[i(339)][i(311)][i(375)])e[i(272)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(476)][r(418)](n[r(237)],i[r(287)]))return;const o=n[r(237)][r(325)](),a=n[r(237)][r(239)],c=t[r(311)][r(186)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(228)];h=h||c[r(184)](e);const i=s[r(407)][r(346)](e);if(i&&i[r(500)](r(205)))return;r(226)==t[r(293)]&&c[r(507)](e)&&!c[r(488)](e)&&(e[r(286)]||a[r(257)]?u&&u[r(468)]==e||(u=e,f(t[r(374)]),d=!0):l=l||t[r(374)])}function f(t){const i=r,o=s[i(407)][i(437)](t),a=s[i(455)][i(356)](i(203),{class:i(326)+e});s[i(455)][i(433)](o,a),s[i(407)][i(225)](a,n[i(411)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(477)][e(471)](ue);this[e(429)]=!1,this[e(266)](i,e(229),()=>this[e(201)]()),this[e(266)](i,e(469),()=>this[e(201)]())}[oe(334)](){const t=oe,e=this[t(339)],i=e[t(477)][t(471)](ue),n=i[t(212)]?i[t(200)][t(483)]:null;e[t(351)][t(471)](t(386))[t(489)](n)}[oe(201)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(339)][t(477)][t(471)](ue),r=s&&n[t(300)](s[t(483)]);this[t(338)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(499)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(477)][i(471)](ue);this[i(429)]=!1,this[i(499)]=i(480)===e?1:-1,this[i(266)](n,i(229),()=>this[i(201)]()),this[i(266)](n,i(469),()=>this[i(201)]()),this[i(266)](n,i(423),()=>this[i(201)]())}[oe(334)](){const e=oe,i=this[e(339)],n=i[e(477)][e(471)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(279)]=s?n[e(200)][e(333)][e(471)](r+this[e(499)]):n[e(200)][e(333)][e(320)],n[e(279)][e(414)][e(195)])o=i[e(222)][e(283)][e(301)](n[e(279)][e(412)]);else{const t=i[e(311)][e(375)][e(471)](e(242)+n[e(279)].id);o=(0,K.getMarkerDomElement)(i[e(222)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(201)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(339)][t(477)][t(471)](ue);this[t(338)]=!!(r&&s&&n)&&(!e||(1===this[t(499)]?i<n-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=122]})(t,e)}function ve(){const t=["span","Show next change","isEnabled","Total","Show previous change","setTemplate","1655544TocnJF","3474322IbBbiZ","EDIT_X_OF_Y_REVISIONS","execute","ck-revision-history-ui__changes-navigation__label","bind","_statusText","ck-revision-history-ui","isReady","isBackwardNavigationEnabled","No changes","9XjIdhL","forward","div","ck-hidden","1CJjFRR","ck-revision-history-ui__changes-navigation","NUMBER_OF_CHANGES","6687512QTsAtP","currentChangeNumber","set","ck-revision-history-ui__changes-navigation__wrapper","fire","12090530IrKLOF","X_OF_Y_CHANGES","7joknke","numberOfChanges","64GkjIrz","_isStatusLabelVisible","isForwardNavigationEnabled","177770qweaym","backward","7676436pdgrwH","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","Loading...","isNavigationMode","58227609vgdSXI"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(888852===-parseInt(e(162))/1*(-parseInt(e(148))/2)+parseInt(e(147))/3+parseInt(e(130))/4*(parseInt(e(133))/5)+parseInt(e(135))/6+parseInt(e(128))/7*(parseInt(e(165))/8)+parseInt(e(158))/9*(parseInt(e(126))/10)+-parseInt(e(140))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(137)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(123)](e(139),!1),this[e(123)](e(155),!1),this[e(123)](e(122),0),this[e(123)](e(129),0),this[e(123)](e(132),!1),this[e(123)](e(156),!1),this[e(152)](e(131)).to(this,e(155),this,e(129),(t,e)=>t&&e>0),this[e(152)](e(153)).to(this,e(155),this,e(122),this,e(129),this,e(139),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(138));if(!s)return at(t,o(157));const a=at(t,o(164),s);return r?at(t,o(127),[n+1,s]):a}),n[e(123)]({label:at(t,e(145)),tooltip:!0,icon:_t.IconChevronUp}),s[e(123)]({label:at(t,e(142)),tooltip:!0,icon:_t.IconChevronDown}),n[e(152)](e(143)).to(this,e(156)),s[e(152)](e(143)).to(this,e(132)),n.on(e(150),()=>this[e(125)](e(150),e(134))),s.on(e(150),()=>this[e(125)](e(150),e(159))),this[e(146)]({tag:e(160),attributes:{class:["ck",e(154),e(163)]},children:[{tag:e(141),attributes:{class:[e(124)]},children:[{tag:e(141),attributes:{class:[e(151),i.if(e(131),e(161),t=>!t)]},children:[{text:i.to(e(139),i=>i?at(t,e(149))+": ":at(t,e(144))+": ")}]},{text:i.to(e(153))}]},new It.ToolbarSeparatorView,{tag:e(160),attributes:{class:[e(136)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=318]})(t,e)}function _e(){const t=["446536asWhGx","hide","editing","2rlpcRH","130UqZkSA","roots","change","1949381KQhJZx","2702130rKgvPd","138268TSCKCr","63kaZYyJ","RevisionViewerLoadingOverlay","19209270IXKWjt","editor","show","document","1972503qTwLjM","isOfficialPlugin","ck-editor__editable__loading-overlay","view","isPremiumPlugin","66559EbvWuR","removeClass","pluginName","addClass"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(626688===parseInt(e(327))/1*(parseInt(e(334))/2)+parseInt(e(322))/3+parseInt(e(340))/4*(-parseInt(e(335))/5)+-parseInt(e(339))/6+-parseInt(e(338))/7+parseInt(e(331))/8*(-parseInt(e(341))/9)+parseInt(e(318))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(324);class Se extends J.Plugin{static get[be(329)](){return be(342)}static get[be(323)](){return!0}static get[be(326)](){return!0}[be(320)](){const t=be,e=this[t(319)][t(333)][t(325)];e[t(337)](i=>{const n=t;for(const t of e[n(321)][n(336)])i[n(330)](Ie,t)})}[be(332)](){const t=be,e=this[t(319)][t(333)][t(325)];e[t(337)](i=>{const n=t;for(const t of e[n(321)][n(336)])i[n(328)](Ie,t)})}}const Oe=xe;function Te(){const t=["Back to editing","plugins","closeRevisionViewerCallback","execute","revisionHistory","config","RevisionViewerUI","isOfficialPlugin","componentFactory","ck-revision-history-ui__back-to-editing","isBackwardNavigationEnabled","commands","175EqqlPo","add","get","exitToEditing","showPreviousChange","change:isReady","forward","init","1263394UPYVJZ","editor","50zPrpBJ","292674rqXxmw","isNavigationMode","restoreRevision","isPremiumPlugin","145592SPolSI","showNextChange","681669HnLdib","hide","1261161ypTdGw","Restore this revision","changesNavigation","set","listenTo","pluginName","isForwardNavigationEnabled","1ulvoeM","requires","2974998lxOOWO","numberOfChanges","isEnabled","show","currentChangeNumber","1164116ovjBcP","5WsIveR","bind","isReady"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(415174===parseInt(e(317))/1*(-parseInt(e(302))/2)+-parseInt(e(310))/3+parseInt(e(324))/4*(parseInt(e(325))/5)+parseInt(e(319))/6+parseInt(e(340))/7*(-parseInt(e(306))/8)+parseInt(e(308))/9+parseInt(e(301))/10*(parseInt(e(299))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(315)](){return Oe(334)}static get[Oe(335)](){return!0}static get[Oe(305)](){return!0}static get[Oe(318)](){return[ue,Se]}[Oe(298)](){const t=Oe,e=this[t(300)],i=e[t(329)][t(293)](ue),n=e[t(329)][t(293)](Se);e.ui[t(336)][t(341)](t(294),i=>{const n=t,s=new It.ButtonView(i);return s[n(313)]({label:at(i,n(328)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(337)}),this[n(314)](s,n(331),()=>{const t=n;e[t(333)][t(293)](t(332))[t(330)]()}),s}),e.ui[t(336)][t(341)](t(304),i=>{const n=t,s=new It.ButtonView(i);return s[n(313)]({label:at(i,n(311)),withText:!0,tooltip:!0}),s[n(326)](n(321)).to(e[n(339)][n(293)](n(304))),this[n(314)](s,n(331),()=>e[n(331)](n(304))),s}),e.ui[t(336)][t(341)](t(312),n=>{const s=t,r=new ge(n),o=e[s(339)][s(293)](s(295)),a=e[s(339)][s(293)](s(307));return r[s(326)](s(338)).to(o,s(321)),r[s(326)](s(316)).to(a,s(321)),r[s(326)](s(327),s(323),s(320),s(303)).to(i),this[s(314)](r,s(331),(t,i)=>{const n=s;e[n(331)](n(297)===i?n(307):n(295))}),r}),n[t(322)](),i.on(t(296),(e,i,s)=>{const r=t;s?n[r(309)]():n[r(322)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["set","_tooltipString","scrollWidth","3ajOhjH","_updateTooltipText","_resizeObserver","placeholder","244242WEgLxw","2641740SehphG","render","value","element","span","62156YcHfWQ","input","extendTemplate","16mvHoTb","187245ZKBgox","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","fieldView","clientWidth","bindTemplate","1874190ihtCoC","3808084ZFIKIE","694JEHJXv","Enter the revision name","1021AOIWEs","destroy","Revision name","listenTo"];return(Me=function(){return t})()}const Ee=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(302956===-parseInt(e(422))/1*(-parseInt(e(420))/2)+-parseInt(e(398))/3*(-parseInt(e(408))/4)+-parseInt(e(412))/5+-parseInt(e(403))/6+parseInt(e(419))/7+parseInt(e(411))/8*(parseInt(e(402))/9)+-parseInt(e(418))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends It.LabeledFieldView{[Ee(400)]=null;constructor(t,e){const i=Ee;super(t,e);const n=this[i(417)];this[i(395)]({label:at(t,i(393)),_tooltipString:""}),this[i(415)][i(401)]=at(t,i(421)),this[i(410)]({tag:i(407),attributes:{class:[i(414)],"data-cke-tooltip-text":n.to(i(396)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(413)}})}[Ee(404)](){const e=Ee;super[e(404)](),this[e(400)]=new t.ResizeObserver(this[e(415)][e(406)],()=>this[e(399)]()),this[e(394)](this[e(415)],e(409),()=>this[e(399)]())}[Ee(392)](){const t=Ee;super[t(392)](),this[t(400)]&&this[t(400)][t(392)]()}[Ee(399)](){const t=Ee,e=this[t(415)][t(406)];this[t(396)]=e[t(397)]>e[t(416)]&&e[t(405)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(t,e){const i=Le();return(Pe=function(t,e){return i[t-=171]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(846809===-parseInt(e(175))/1+-parseInt(e(177))/2*(-parseInt(e(179))/3)+-parseInt(e(190))/4*(-parseInt(e(184))/5)+parseInt(e(189))/6+-parseInt(e(187))/7+-parseInt(e(181))/8+-parseInt(e(172))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class je extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(171)]({content:_t.IconUser,viewBox:n(178)});const r=["ck",n(188)];i&&r[n(173)](n(183));const o=[{tag:n(186),attributes:{class:["ck",n(176)],title:at(t,n(i?180:174))},children:[s,e[n(182)]]}];this[n(185)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["name","ck-revision-history-sidebar__revision-author_creator","10FPBerq","setTemplate","span","2471973eMvQsP","ck-revision-history-sidebar__revision-author","7872462wSzjel","1793228XNRduC","set","1369089JMfkpB","push","Revision author","1488534BgoNRs","ck-revision-history-sidebar__revision-author__name","230074MmIwOz","0 0 11 10","24BHzFkM","Revision creator","2307072CtbQEH"];return(Le=function(){return t})()}function ze(){var t=["toLocaleTimeString","21079656BgdwpP","toLocaleDateString","1044940IFUXSD","numeric","85560wByCMp","7068410ppSZro","long","874164gqShyn","12mrvxzB","9752rJSTAP","8991VsiShy","11AZsEWD","24RCpQcg","262xCnAZj","658fWkttd","4227nhYszr"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=376]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(862229===-parseInt(e(386))/1*(-parseInt(e(384))/2)+-parseInt(e(378))/3*(parseInt(e(379))/4)+-parseInt(e(390))/5+-parseInt(e(392))/6*(parseInt(e(385))/7)+-parseInt(e(380))/8*(parseInt(e(381))/9)+-parseInt(e(376))/10*(-parseInt(e(382))/11)+-parseInt(e(383))/12*(-parseInt(e(388))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(439),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(){const t=["Restore this revision","buttonView","ck-revision-history-sidebar__revision__actions","children","add","685875MlmoYD","first","find","menuitem","set","listView","isReady","Name this revision","6166872YxHOTz","class","29331TFXCFO","153FAClZk","map","2288575fsWwEf","action","Compare against selected","379400rmJfIz","change:isActionsDropdownOpen","listenTo","isEnabled","execute","locale","stopPropagation","menu","button","isVisible","items","name","panelPosition","957610vgILhy","ck-on","model","isOpen","isActionsDropdownOpen","source","6144502SxFSqb","Show more items","_action","162TUMqcL","bind","bindTemplate","6GXbOne","function","extendTemplate"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(595763===-parseInt(e(465))/1+parseInt(e(454))/2*(-parseInt(e(426))/3)+parseInt(e(432))/4+-parseInt(e(429))/5*(-parseInt(e(457))/6)+-parseInt(e(451))/7+parseInt(e(424))/8+-parseInt(e(427))/9*(-parseInt(e(445))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Ge(){const t=["div","createdAt","map","revisionNameView","listenTo","setTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from","3296552iQrCAZ","bindTemplate","isActionsDropdownOpen","fire","set","highlight","unhighlight","select","616931LskJUg","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision_highlighted","span","setName","closest","ck-disabled","extendTemplate","ck-revision-history-sidebar__revision-wrapper","creator","isSelected","bind","name","unshift","deselect","ck-revision-history-sidebar__revision__controls-wrapper","3XOcBoR","fieldView","_createdAtFormatted","filter","_revision","uiLanguage","srcElement",".ck-confirm-view","length","ck-reset","ck-revision-history-sidebar__actions_dropdown_open","180168boIFAp","isReady","4RjEdao","element","value","_requireRevisionName","220","ck-revision-history-sidebar__revision__date","revisionActionsView","render","20862000vthqTV","isHighlighted","4229445NfFRGh","authors","251438RDRelI","ck-revision-history-sidebar__revision","isEnabled","isConfirm","ck-revision-history-sidebar__revision-authors","change","6ptomXF","5519835DUfyOd"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(493098===-parseInt(e(466))/1*(parseInt(e(454))/2)+-parseInt(e(441))/3*(-parseInt(e(452))/4)+-parseInt(e(464))/5+parseInt(e(472))/6*(-parseInt(e(490))/7)+parseInt(e(482))/8+-parseInt(e(473))/9+parseInt(e(462))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(477)];[Ye(460)];[Ye(445)];[Ye(457)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(483)],a=function(t,e){const i=r,n=Array[i(481)](e[i(465)])[i(444)](t=>t!=e[i(499)]);return e[i(499)]&&n[i(438)](e[i(499)]),n[i(476)](n=>new je(t,n,n==e[i(499)]))}(e,i);this.id=i.id,this[r(445)]=i,this[r(457)]=s,this[r(501)](r(502),r(475)).to(i),this[r(501)](r(443)).to(this,r(475),t=>{return i=e[r(446)],(n=t)[(s=We)(389)](i,{month:s(377),day:s(391)})+", "+n[s(387)](i,{hour:s(391),minute:s(391)});var i,n,s}),this[r(486)](r(500),!1),this[r(486)](r(463),!1),this[r(486)](r(484),!1),this[r(486)](r(453),!1),this[r(486)](r(468),!1),this[r(477)]=new Ve(e,It.createLabeledInputText),this[r(477)][r(442)][r(497)]({attributes:{maxlength:r(458)}}),this[r(477)][r(442)][r(501)](r(456)).to(this,r(502),t=>t||this[r(443)]),this[r(477)][r(501)](r(468)).to(this,r(500),this,r(468),(t,e)=>t&&e),this[r(460)]=n&&n[r(449)]?function(e,i){const n=qe,s=e[n(456)],r=e[n(437)],o=(0,It.createDropdown)(r);o[n(444)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(437)],s={"Compare against selected":at(n,i(431)),"Name this revision":at(n,i(472)),"Restore this revision":at(n,i(460))};return e[i(428)](t=>{const e=i,n=s[t[e(443)]];return n&&n!==t[e(443)]&&(t[e(443)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(440),model:new It.UIModel({label:t[s(443)],class:t[s(425)],withText:!0,role:s(468),_action:t[s(430)]})};i[s(447)][s(455)](s(435)).to(e,s(449),i=>s(458)!=typeof t[s(435)]||!i||t[s(435)](e)),o[s(464)](i)}return o}(e,i);return e[n(455)](n(449)).to(o,n(448)),o[n(461)][n(469)]({label:at(r,n(452)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(459)]({attributes:{class:[n(462),s.if(n(449),n(446))]},on:{click:s.to(t=>t[n(438)]())}}),o.on(n(436),t=>{const i=n;e[i(471)]&&i(458)==typeof t[i(450)][i(453)]&&t[i(450)][i(453)](e)}),(0,It.addListToDropdown)(o,a,{role:n(439)}),o[n(434)](e,n(433),(t,s,r)=>{const a=n;if(r)for(const t of o[a(470)][a(442)]){const n=t[a(463)][a(466)],s=i[a(467)](t=>t[a(430)]===n[a(453)])[a(441)];t[a(441)]=void 0===s||s(e)}}),o}(this,n):"",this[r(460)]&&this[r(460)][r(501)](r(468)).to(this),this[r(479)]({tag:r(474),attributes:{class:["ck",r(450),r(498),o.if(r(469),r(480))]},children:[{tag:r(474),attributes:{class:["ck",r(450),r(467),o.if(r(468),r(496),t=>!t),o.if(r(500),r(491)),o.if(r(463),r(492)),o.if(r(484),r(451))]},children:[this[r(477)],{tag:r(493),attributes:{class:["ck",r(459)]},children:[{text:o.to(r(443))}]},{tag:r(474),attributes:{class:["ck",r(440)]},children:[{tag:"ul",attributes:{class:["ck",r(470)]},children:a}]},this[r(460)]],on:{click:o.to(t=>{const e=r;t[e(447)][e(495)](e(448))||this[e(453)]&&this[e(468)]&&this[e(485)](e(489),{id:this.id})})}}]})}[Ye(461)](){const t=Ye;super[t(461)]();const e=this[t(477)][t(442)][t(455)];this[t(478)](e,t(471),()=>{const i=t;this[i(457)]&&!e[i(456)]||this[i(485)](i(494),{id:this.id,name:e[i(456)]}),e[i(456)]||(e[i(456)]=this[i(502)]?this[i(502)]:this[i(443)])})}[Ye(489)](){this[Ye(500)]=!0}[Ye(439)](){this[Ye(500)]=!1}[Ye(487)](){this[Ye(463)]=!0}[Ye(488)](){this[Ye(463)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Di extends Mi{static get instance(){return null===Ei&&(Ei=new Di),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(t)),e}static resetCache(){Fi.clear(),Vi.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,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),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Gi{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&&Pi.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 s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,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=s,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"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Pn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Pi.create(t)}return Vn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Pi.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Un(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,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ps(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Bs=/^(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$/,Ys=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Es,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Ds),cr=Ss(Fs,Ps,js);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ls,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(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+=$n(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let 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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.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=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Pi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Pn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=Pi.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=qn(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ii("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:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=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=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return $r(Jn(t),e,i)}function Gr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Gn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=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 s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,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 fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(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")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Pr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=325]})(t,e)}function vo(t,e){const i=po,n=fo[i(330)](t)[i(338)](e),s=fo[i(325)](),r=s[i(347)]({days:1})[i(327)](i(334));let o,a;return n[i(349)](s,i(334))?(o=n[i(327)](i(334))[i(341)](),a=n[i(343)]()):n[i(349)](r,i(334))?(o=r[i(341)](),a=n[i(343)]()):n[i(349)](s,i(331))?(o=n[i(327)](i(331))[i(341)](),a=n[i(344)]||""):n[i(349)](s,i(345))?(o=n[i(327)](i(336))[i(341)](),a=n[i(335)]||""):(o=n[i(327)](i(345))[i(341)](),a=String(n[i(345)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["2062KKTiyr","1869264PmRbmi","day","monthLong","month","27ePkbuN","setLocale","52296dfUrVG","22036399kIwjnf","toJSDate","184809EqVXbH","toRelativeCalendar","weekdayLong","year","2372340PyjstW","minus","5VdunyC","hasSame","local","3357988qTdAdX","startOf","749FjZfxw","293IjkKcK","fromJSDate","week"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(476339===-parseInt(e(329))/1*(parseInt(e(332))/2)+-parseInt(e(342))/3+-parseInt(e(326))/4*(parseInt(e(348))/5)+-parseInt(e(333))/6+-parseInt(e(328))/7*(-parseInt(e(339))/8)+-parseInt(e(337))/9*(parseInt(e(346))/10)+parseInt(e(340))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=475]})(t,e)}function _o(){const t=["locale","createCollection","7944838ejvDKQ","add","_requireRevisionName","136844LdfidP","find","ck-revision-history-sidebar__time-period__label","112552DpkPjr","div","45DVDGSB","uiLanguage","addRevision","removeRevision","remove","span","2205820SDypZs","revisionViews","startDate","33PPOPyB","ck-revision-history-sidebar__time-period","localizedPeriodName","16334YkmAZS","select","9unuvjH","2397894dAWwpc","105aLgdYz","setName","delegate","337608rjrphV","ck-revision-history-sidebar__time-period__revisions","setTemplate","_revisionActions"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(242608===parseInt(e(485))/1+-parseInt(e(478))/2*(parseInt(e(475))/3)+parseInt(e(494))/4*(parseInt(e(499))/5)+parseInt(e(481))/6+-parseInt(e(482))/7*(parseInt(e(497))/8)+parseInt(e(480))/9*(parseInt(e(505))/10)+-parseInt(e(491))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(507)];[bo(506)];[bo(488)];[bo(493)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(489)][s(500)])[s(477)];this[s(507)]=e,this[s(506)]=this[s(490)](),this[s(488)]=i,this[s(493)]=n,this[s(506)][s(484)](s(479)).to(this),this[s(506)][s(484)](s(483)).to(this),this[s(487)]({tag:s(498),attributes:{class:["ck",s(476)]},children:[{tag:s(504),attributes:{class:["ck",s(496)]},children:[{text:r}]},{tag:s(498),attributes:{class:["ck",s(486)]},children:this[s(506)]}]})}[bo(501)](t){const e=bo,i=new Ke(this[e(489)],t,this[e(488)],this[e(493)]);this[e(506)][e(492)](i)}[bo(502)](t){const e=bo,i=this[e(506)][e(495)](e=>e.id===t.id);this[e(506)][e(503)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=443]})(t,e)}function xo(){const t=["span","3343949FFfGiI","ck-revision-history-sidebar__header","ck-reset_all","78123ePGrxQ","div","ck-revision-history-sidebar__header__label","content","2057337NZOqKi","32jrXSBO","1179816rthSTo","Revision history","setTemplate","319624dzAyyq","210245FYLLaH","822816gGUbgM","84MMexQv"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(374043===parseInt(e(447))/1+parseInt(e(456))/2+parseInt(e(451))/3+-parseInt(e(453))/4+-parseInt(e(457))/5*(-parseInt(e(459))/6)+-parseInt(e(444))/7+parseInt(e(452))/8*(-parseInt(e(458))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(450)]=_t.IconHistory,this[e(455)]({tag:e(448),attributes:{class:["ck",e(446),e(445)]},children:[i,{tag:e(443),attributes:{class:["ck",e(449)]},children:[at(t,e(454))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(389155===parseInt(e(128))/1+-parseInt(e(159))/2+-parseInt(e(134))/3*(-parseInt(e(146))/4)+parseInt(e(119))/5+parseInt(e(156))/6*(-parseInt(e(140))/7)+-parseInt(e(139))/8*(parseInt(e(136))/9)+parseInt(e(133))/10*(-parseInt(e(161))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(131)];[Mo(142)];[Mo(164)];[Mo(129)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(162)];this[s(131)]=this[s(172)](),this[s(131)][s(137)](s(123)).to(this),this[s(131)][s(137)](s(141)).to(this),this[s(142)]=e,this[s(164)]=i,this[s(129)]=n,this.on(s(123),(t,e)=>{const i=s;this[i(144)](i(132),e)}),this.on(s(141),(t,e)=>{const i=s;this[i(144)](i(167),e)}),this[s(145)](s(150),!1),this[s(152)]({tag:s(163),attributes:{class:["ck",s(170),s(169),s(118)]},children:[new No(t),{tag:s(163),attributes:{class:["ck",s(126),r.if(s(150),s(148),t=>!t)]},children:this[s(131)]}]})}[Mo(147)](){const t=Mo;super[t(147)]();for(const e of this[t(142)])this[t(171)](e);this[t(142)].on(t(143),(e,i)=>{this[t(171)](i)}),this[t(142)].on(t(157),(e,i)=>{this[t(166)](i)})}get[Mo(120)](){const t=Mo;return this[t(131)][t(160)](e=>e[t(120)][t(160)](t=>t))[t(151)]()}[Mo(124)](t){const e=Mo;for(const i of this[e(120)])t&&t.id===i.id?i[e(123)]():i[e(130)]()}[Mo(155)](t){const e=Mo;for(const i of this[e(120)])t[e(149)](({id:t})=>t===i.id)?i[e(154)]():i[e(125)]()}[Mo(171)](t){const e=Mo,i=vo(t[e(127)],this[e(168)][e(138)])[e(135)];let n=this[e(131)][e(122)](0);n&&n[e(135)][e(121)]()===i[e(121)]()||(n=new Io(this[e(168)],i,this[e(164)],this[e(129)]),this[e(131)][e(143)](n)),n[e(153)](t)}[Mo(166)](t){const e=Mo,i=vo(t[e(127)],this[e(168)][e(138)])[e(135)];this[e(117)](i)[e(158)](t)}[Mo(117)](t){const e=Mo;return this[e(131)][e(165)](i=>i[e(135)][e(121)]()===t[e(121)]())}}function Vo(){const t=["flat","setTemplate","addRevision","highlight","highlightRevisions","2119686EmUaBJ","remove","removeRevision","26914hzTjCk","map","1594153ROSBDH","bindTemplate","div","_revisionActions","find","_removeRevision","revisionSetName","locale","ck-rounded-corners","ck-reset","_addRevision","createCollection","_getTimePeriodViewByStartDate","ck-revision-history-sidebar","3671730nmOkHI","revisionViews","getTime","get","select","selectRevision","unhighlight","ck-revision-history-sidebar__timeline","createdAt","308071CVzGKp","_requireRevisionName","deselect","timePeriodViews","revisionSelected","10gkgQRY","12XgApbm","startDate","306zyBjmH","delegate","uiLanguage","1136ATgdBP","14wCVHAX","setName","_revisions","add","fire","set","216508yAjoOP","render","ck-disabled","some","isEnabled"];return(Vo=function(){return t})()}function Co(){const t=["revisionHistory.revisionActions","isVisible","_handleEditorDataReady","render","_revisionsRepository","timePeriodViews","pluginName","getRevision","change:diff","action","locale","nameRevision","isSelected","Name this revision","requires","2976680EPChdO","_handleRevisionSelected","revisionSetName","Restore this revision","init","_createRevisionActions","string","660160SRKaZh","revisionSelected","_handleRevisionSetName","availableRevisionActions","highlightRevisions","_sidebarView","ready","isOfficialPlugin","config","8hYCsAP","newRevisionId","focus","_handleDiffChange","revisionHistory.requireRevisionName","get","getEarlierVisibleRevision","assign","200398TAerAx","destroy","_revisions","name","5462zNcbjS","diff","83LhdODn","getIndex","isReady","4918270egIlyE","map","compare","length","bind","listenTo","2946797rZkIbD","isEnabled","restoreRevisionCallback","element","restoreRevision","data","135VgvdsA","getLaterVisibleRevision","1788iPItqJ","revisionHistory.viewerSidebarContainer","1560135ThroYX","getRevisionsInDiff","Compare against selected","setName","remove","editor","6vTfCHL","add","appendChild","repository","RevisionsSidebar","compareAgainstSelected","fieldView","revisionHistory","select","isPremiumPlugin","plugins","_revisionViewer","revisionViews","defaultRevisionActions","selectRevision"];return(Co=function(){return t})()}const Fo=Po;function Po(t,e){const i=Co();return(Po=function(t,e){return i[t-=402]})(t,e)}!function(t){const e=Po,i=t();for(;;)try{if(648077===-parseInt(e(428))/1*(parseInt(e(426))/2)+parseInt(e(447))/3*(-parseInt(e(414))/4)+parseInt(e(431))/5+parseInt(e(453))/6*(-parseInt(e(437))/7)+-parseInt(e(483))/8+parseInt(e(443))/9*(-parseInt(e(405))/10)+-parseInt(e(422))/11*(-parseInt(e(445))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class jo extends J.Plugin{[Fo(464)];[Fo(472)];[Fo(410)];static[Fo(466)]=[Fo(458),Fo(441),Fo(479)];static[Fo(408)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(449),action:({plugins:e},i)=>{const n=t,s=e[n(419)](ue),r=s[n(456)];let o=s[n(427)][n(415)],a=i.id;r[n(429)](o)>r[n(429)](a)&&([o,a]=[a,o]),s[n(433)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(419)](ue);return!(s[n(456)][n(448)](s[n(427)])[n(434)]>2||i[n(480)])}},restoreRevision:{name:t(486),action:(e,{id:i})=>{const n=t;e[n(413)][n(419)](n(460))[n(439)](i)},isVisible:({plugins:e},i)=>!!e[t(419)](ue)[t(456)][t(444)](i.id)},nameRevision:{name:t(481),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(419)](ue),o=r[s(456)][s(420)](i);r[s(433)](i,o),n[s(416)](),n[s(459)][s(461)]()}}}}();static get[Fo(474)](){return Fo(457)}static get[Fo(412)](){return!0}static get[Fo(462)](){return!0}static get[Fo(482)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(464)]=t[e(463)][e(419)](ue),this[e(472)]=this[e(464)][e(456)],this[e(410)]=null}[Fo(402)](){const t=Fo,e=this[t(472)][t(424)],i=this[t(403)](),n=this[t(452)][t(413)][t(419)](t(446));this[t(410)]=new Do(this[t(452)][t(478)],e,i,this[t(452)][t(413)][t(419)](t(418))),this[t(410)].on(t(406),this[t(484)][t(435)](this)),this[t(410)].on(t(485),this[t(407)][t(435)](this)),this[t(410)][t(435)](t(438)).to(this[t(464)]),this[t(410)][t(473)].on(t(454),(e,i)=>{const n=t;i[n(465)].on(n(454),(t,e)=>{const i=n;e[i(435)](i(438),i(430)).to(this[i(464)])})}),this[t(410)][t(471)](),this[t(436)](this[t(452)][t(442)],t(411),this[t(470)][t(435)](this)),this[t(436)](this[t(464)],t(476),this[t(417)][t(435)](this)),n[t(455)](this[t(410)][t(440)])}[Fo(423)](){const t=Fo;this[t(410)][t(440)][t(451)](),this[t(410)][t(423)]()}[Fo(470)](){const t=Fo,e=this[t(472)][t(475)](0);if(e){const i=this[t(472)][t(420)](e.id);this[t(464)][t(433)](e,i)}}[Fo(484)](t,e){const i=Fo,n=this[i(472)][i(475)](e.id),s=this[i(472)][i(420)](n.id);this[i(464)][i(433)](n,s)}[Fo(407)](t,e){const i=Fo;this[i(472)][i(475)](e.id)[i(450)](e[i(425)])}[Fo(417)](t,e,i){const n=Fo,s=this[n(472)][n(448)](i);s[n(434)]>2?(this[n(410)][n(409)](s),this[n(410)][n(467)](null)):(this[n(410)][n(409)]([]),this[n(410)][n(467)](s[0]))}[Fo(403)](){const t=Fo,e=this[t(452)],i=jo[t(408)],n=e[t(413)][t(419)](t(468))||jo[t(466)];if(n[t(434)])return n[t(432)](n=>{const s=t,r=s(404)==typeof n?Object[s(421)]({},i[n]):n;return r[s(477)]=r[s(477)][s(435)](this,e),r[s(469)]&&(r[s(469)]=r[s(469)][s(435)](this,e)),r})}}const Lo=Wo;function zo(){const t=["17dqGHpK","4289187OMlPZN","24161186fMsgKB","isFocused","restore","init","limiterElement","_elementReplacer","stickyPanel","get","4WEBXAM","509896HaiYxk","5174qRHwFS","setEditableElement","config","_initToolbar","30QDxZBR","9szmDNC","render","editor","view","toolbar","isActive","viewportTopOffset","ready","bind","_view","1249135TQenqV","viewportOffset","attachDomRoot","focusTracker","rootName","11axXqOV","replace","editable","14610580njHBwc","detachDomRoot","13HCzgOz","element","7tZFaxC","fire","componentFactory","document","_toolbarConfig","destroy","fillFromConfig","name","editing","addToolbar","getRoot","12978444iMRIHO"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(743918===-parseInt(e(347))/1*(-parseInt(e(359))/2)+-parseInt(e(348))/3*(parseInt(e(357))/4)+parseInt(e(374))/5*(parseInt(e(363))/6)+parseInt(e(386))/7*(parseInt(e(358))/8)+parseInt(e(364))/9*(parseInt(e(382))/10)+parseInt(e(379))/11*(parseInt(e(397))/12)+-parseInt(e(384))/13*(parseInt(e(349))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Lo(373)];[Lo(390)];[Lo(354)];get[Lo(367)](){return this[Lo(373)]}constructor(e,i){const n=Lo;super(e),this[n(373)]=i,this[n(390)]=(0,It.normalizeToolbarConfig)(e[n(361)][n(356)](n(368))),this[n(354)]=new t.ElementReplacer}get[Lo(385)](){const t=Lo;return this[t(367)][t(385)]}[Lo(352)](t){const e=Lo,i=this[e(366)],n=this[e(367)],s=i[e(394)][e(367)],r=n[e(381)],o=s[e(389)][e(396)]();r[e(393)]=o[e(378)],n[e(365)]();const a=r[e(385)];this[e(360)](r[e(393)],a),n[e(381)][e(372)](e(350)).to(this[e(377)]),s[e(376)](a),this[e(354)][e(380)](t,this[e(385)]),this[e(362)](),this[e(387)](e(371))}[Lo(391)](){const t=Lo;super[t(391)]();const e=this[t(367)],i=this[t(366)][t(394)][t(367)];this[t(354)][t(351)](),i[t(383)](e[t(381)][t(393)]),e[t(391)]()}[Lo(362)](){const t=Lo,e=this[t(367)];e[t(355)][t(372)](t(369)).to(this[t(377)],t(350)),e[t(355)][t(353)]=e[t(385)],e[t(355)][t(372)](t(370)).to(this,t(375),({top:t})=>t),e[t(368)][t(392)](this[t(390)],this[t(388)]),this[t(395)](e[t(368)])}}var Ho=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;function qo(){var t=["309789cTEcwc","660498ddWRLX","editable","stickyPanel","main","739135Zestcr","_editable","content","render","6WMRzrp","shouldToolbarGroupWhenFull","1905589hvMVTc","1qdzMXu","450nhdsoU","2645730qyzOCx","top","3632648NFzRnR","2196044zUnRHi","toolbar","add"];return(qo=function(){return t})()}var $o=Bo;function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=422]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(482300===parseInt(e(432))/1*(parseInt(e(441))/2)+-parseInt(e(434))/3+-parseInt(e(437))/4+-parseInt(e(425))/5+-parseInt(e(429))/6*(parseInt(e(431))/7)+parseInt(e(436))/8+-parseInt(e(440))/9*(-parseInt(e(433))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(426)];[$o(423)];[$o(438)];get[$o(422)](){return this[$o(426)]}constructor(t,e,i={}){var n=$o;super(t),this[n(423)]=new It.StickyPanelView(t),this[n(438)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(430)]}),this[n(426)]=new It.InlineEditableUIView(t,e)}[$o(428)](){var t=$o;super[t(428)](),this[t(423)][t(427)][t(439)](this[t(438)]),this[t(435)][t(439)](this[t(423)]),this[t(424)][t(439)](this[t(422)])}}function Go(){const t=["3313588GLmely","createRoot","initPlugins","create","destroy","716715uUHQCT","locale","data","document","ready","3890556OnHPQi","init","updateSourceElement","sourceElement","get","_ui","338020buEBEQ","3SlqwTd","16LHioAt","config","view","editing","fire","17338321keUPEh","model","866264grYUAB","144FWNKzr","26VVORkQ","initialData","32362PzLwEp"];return(Go=function(){return t})()}const Jo=Ko;function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(471303===parseInt(e(229))/1*(parseInt(e(227))/2)+-parseInt(e(247))/3*(-parseInt(e(230))/4)+-parseInt(e(235))/5+parseInt(e(240))/6+parseInt(e(225))/7*(-parseInt(e(248))/8)+parseInt(e(226))/9*(parseInt(e(246))/10)+-parseInt(e(223))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Jo(245)];get ui(){return this[Jo(245)]}constructor(t,e){const i=Jo;super(e),this[i(243)]=t,this[i(224)][i(238)][i(231)]();const n=new Yo(this[i(236)],this[i(221)][i(250)],{shouldToolbarGroupWhenFull:!0});this[i(245)]=new Uo(this,n)}[Jo(234)](){const t=Jo;return this[t(242)](),this.ui[t(234)](),super[t(234)]()}static async[Jo(233)](t,e){const i=Jo,n=new this(t,e);return await n[i(232)](),await n.ui[i(241)](t),await n[i(237)][i(241)](n[i(249)][i(244)](i(228))||""),n[i(222)](i(239)),n}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=284]})(t,e)}function ea(){const t=["then","removeSelectionAttribute","RevisionHistory","_enhanceShowRevisionViewerCallback","name","getMarkersGroup","953447PnzEsH","setAttribute","replace","ck-tab-panel_disabled","RevisionsRepository","indexOf","creator","result","long","restrictedEditingException","1093mUHOUd","selection","from","toVersion","change","removeMarker","RevisionTracker","bind","AIReviewMode","2705613BIIpEk","toJSON","addRoot","PaginationLookup","revisionHistory.editorContainer","revisionHistory.viewerEditorElement","Autosave","querySelector","revisionHistory.restoreRevisionCallback","revisionHistory.showRevisionViewerCallback","680246VmWLPg","AITabs","roots","_cleanUp","model","block","config","revision-history-missing-configuration","enableReadOnlyMode","enqueueChange","has",".ck-ai-chat-history .ck-input","16536GJqnvl","RevisionViewerIntegration","_enhanceCloseRevisionViewerCallback","panelViews","_update","_recalculatePageBreaks","exitToEditing","define","getRevision","RevisionHistoryUtils","_restoreRevision","getUser","4NGiPKr","adapter","Restored","restoreRevision","revision-history-viewer-opened","error","isOpen","refreshPositioning","remove","locale","loadRevisionData","includes","translations","revisionHistory","_getRevisionViewerEditorConfig","style","Annotations","Users","RevisionHistoryUI","_viewerEditor","createdAt","saveRevision","init","$graveyard","lazyRoots","closeRevisionViewerCallback","AIActions","hide","fromVersion","revisionHistory.requireRevisionName","2762930QIGqPQ","create","toolbar","isAnonymous","display","1228gwlGOt","isRevisionViewerOpen","isReady","fromCharCode","changesNavigation","getRoot","isOfficialPlugin","none","view","setSelection","plugins","AIBalloon","getRevisions","set","uiLanguage","addRevisionData","class","keys","AIChat","Dialog","repository","isAttached","DocumentOutlineUI","DocumentOutline","_showRevisionViewer","users","update","15JKnhLA","40ypRTYW","element","getAttributeKeys","toLocaleTimeString","detachRoot","tabindex","join","getRevisionRootsAttributes","isReadOnly","editor","revisionHistory.closeRevisionViewerCallback","toLocaleDateString","markers","getRevisionDocumentData","removeAttribute","get","document","destroy","rootName","disableReadOnlyMode","AIChatHistory","insert","addUser","refreshVisibility","12864SdlRSj","parse","RestrictedEditingMode","createRangeIn","end","showRevisionViewerCallback","730362HDJtnT","data"," ck-tab-panel_disabled","isPremiumPlugin","pluginName","RevisionViewer","push","requires","9qRPaek","isEnabled","AIQuickActions","commands","save","_closeRevisionViewer","map","catch","revisionHistory.viewerContainer",".ck-ai-chat__prompt-input .ck-textarea","numeric"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(471360===-parseInt(e(451))/1*(-parseInt(e(358))/2)+parseInt(e(289))/3*(-parseInt(e(323))/4)+-parseInt(e(385))/5*(parseInt(e(416))/6)+-parseInt(e(299))/7*(parseInt(e(386))/8)+-parseInt(e(424))/9*(-parseInt(e(353))/10)+-parseInt(e(441))/11+parseInt(e(410))/12*(parseInt(e(311))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(341),Qo(412),Qo(376),Qo(288),Qo(369),Qo(426),Qo(349)];class na extends J.Plugin{[Qo(448)];static get[Qo(420)](){return Qo(312)}static get[Qo(364)](){return!0}static get[Qo(419)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(430)](t=>String[e(361)](t))[e(392)]("")}super(t),this[e(448)]=e(414),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 sa extends J.Plugin{[Qo(342)];static get[Qo(420)](){return Qo(437)}static get[Qo(364)](){return!0}static get[Qo(419)](){return!0}static get[Qo(423)](){return[mt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(395)][i(305)][i(401)](i(336)))throw new t.CKEditorError(i(306),this);this[i(342)]=null,this[i(371)](i(359),!1),this[i(395)][i(305)][i(318)](i(298),t=>this[i(382)]({...t,translations:this[i(395)][i(332)][i(335)]})),this[i(395)][i(305)][i(318)](i(396),t=>this[i(429)](t)),this[i(395)][i(305)][i(318)](i(297),t=>this[i(321)](t)),this[i(395)][i(305)][i(318)](i(352),!1),this[i(438)](),this[i(313)]()}set[Qo(324)](t){const e=Qo;this[e(395)][e(368)][e(401)](e(286))[e(324)]=t}get[Qo(324)](){const t=Qo;return this[t(395)][t(368)][t(401)](t(286))[t(324)]}[Qo(373)](t){const e=Qo;return this[e(395)][e(368)][e(401)](e(286))[e(373)](t)}[Qo(319)](t){const e=Qo;return this[e(395)][e(368)][e(401)](e(445))[e(319)](t)}[Qo(370)](t){const e=Qo;return this[e(395)][e(368)][e(401)](e(445))[e(370)](t||{toJSON:!1})}[Qo(337)](){const e=Qo,i=this[e(395)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(368)][e(401)](e(286)),r=i[e(368)][e(401)](e(340))[e(383)];return n[e(355)]=[e(317),e(326),e(362)],delete n[e(347)],n[e(368)][e(422)](na,ue,Ne,class extends J.Plugin{static get[e(423)](){return[ue,e(340)]}[e(345)](){const n=e,o=this[n(395)][n(368)][n(401)](n(340));for(const t of r)t[n(356)]||o[n(322)](t.id)||o[n(408)](t);const a=s[n(378)][n(370)]();let c=null;const u=this[n(395)][n(368)][n(401)](n(421));u[n(324)]=s[n(324)],u[n(287)](n(425)).to(s),this[n(395)][n(427)][n(401)](n(326))[n(287)](n(425)).to(i,n(394),t=>!t);for(const e of a){const i=null===e[n(447)];if(i&&e[n(454)]===e[n(351)])continue;const r=e[n(290)]();u[n(373)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(315)](r,o);else if(!o){const e=a[u(290)]();e.id=(0,t.uid)(),s[u(344)](e,a[u(454)])[u(435)](t=>{c=t})}}else e[u(315)](r,o)})}}},jo),n}[Qo(438)](){const t=Qo,e=this[t(395)][t(305)][t(401)](t(336))[t(415)];this[t(395)][t(305)][t(371)](t(298),async()=>{const i=t;this[i(395)][i(307)](i(327));const n=this[i(395)][i(368)][i(401)](i(286));if(this[i(395)][i(368)][i(309)](i(295))){const t=this[i(395)][i(368)][i(401)](i(295));await t[i(428)]()}else await n[i(384)]();if(this[i(395)][i(368)][i(309)](i(292))&&this[i(395)][i(368)][i(401)](i(292))[i(316)](),this[i(395)][i(368)][i(309)](i(377))){const t=this[i(395)][i(368)][i(401)](i(377));t[i(329)]&&t[i(350)]()}if(this[i(395)][i(368)][i(309)](i(300))){const t=this[i(395)][i(368)][i(401)](i(300))[i(366)][i(314)];for(const e of t)e[i(374)]=e[i(374)]?e[i(374)]+i(418):i(444);if(this[i(395)][i(368)][i(309)](i(376))){const t=document[i(296)](i(433));t&&t[i(442)](i(391),"-1")}if(this[i(395)][i(368)][i(309)](i(406))){const t=document[i(296)](i(310));t&&t[i(442)](i(391),"-1")}}const s=this[i(337)]();return e(s)[i(435)](t=>{const e=i;return this[e(342)]=t,this[e(395)][e(368)][e(309)](e(339))&&this[e(395)][e(368)][e(401)](e(339))[e(409)](),this[e(395)][e(368)][e(309)](e(381))&&(this[e(395)][e(368)][e(401)](e(380))[e(366)][e(387)][e(338)][e(357)]=e(365)),t})[i(431)](t=>(console[i(328)](t),this[i(395)][i(405)](i(327)),null))})}[Qo(313)](){const t=Qo,e=this[t(395)][t(305)][t(401)](t(336))[t(348)];this[t(395)][t(305)][t(371)](t(396),()=>{const i=t;if(this[i(395)][i(368)][i(309)](i(292))&&this[i(395)][i(368)][i(401)](i(292))[i(316)](),this[i(395)][i(368)][i(309)](i(381))&&(this[i(395)][i(368)][i(401)](i(380))[i(366)][i(387)][i(338)][i(357)]=""),this[i(395)][i(368)][i(309)](i(300))){const t=this[i(395)][i(368)][i(401)](i(300))[i(366)][i(314)];for(const e of t)e[i(374)]=i(444)===e[i(374)]?"":e[i(374)][i(443)](i(418),"");if(this[i(395)][i(368)][i(309)](i(376))){const t=document[i(296)](i(433));t&&t[i(400)](i(391))}if(this[i(395)][i(368)][i(309)](i(406))){const t=document[i(296)](i(310));t&&t[i(400)](i(391))}}return this[i(342)][i(368)][i(401)](i(421))[i(302)](),e(this[i(342)])[i(435)](()=>{const t=i;if(this[t(395)][t(405)](t(327)),this[t(342)]=null,this[t(395)][t(368)][t(309)](t(339))){const e=this[t(395)][t(368)][t(401)](t(339));e[t(409)](),e[t(330)]()}})})}[Qo(382)](t){const e=Qo,i=this[e(395)][e(305)][e(401)](e(293)),n=this[e(395)][e(305)][e(401)](e(432)),s=this[e(395)][e(305)][e(401)](e(294));return Xo[e(354)](s,t)[e(435)](t=>(n[e(338)][e(357)]=e(304),i[e(338)][e(357)]=e(365),this[e(359)]=!0,t))}[Qo(429)](t){const e=Qo,i=this[e(395)][e(305)][e(401)](e(293));return this[e(395)][e(305)][e(401)](e(432))[e(338)][e(357)]=e(365),i[e(338)][e(357)]="",this[e(359)]=!1,t[e(403)]()}async[Qo(321)](t){const e=Qo,i=this[e(395)],n=this[e(342)][e(368)][e(401)](e(421)),s=i[e(368)][e(401)](e(286)),r=i[e(368)][e(401)](e(320)),o=n[e(378)][e(319)](t);let a,c,u;try{await r[e(333)](o,this[e(324)]),a=r[e(399)](o),c=r[e(393)](o)}catch(t){return void console[e(328)](t)}i[e(303)][e(284)](t=>{const n=e;for(const e of Array[n(453)](i[n(303)][n(398)][n(440)](n(450))))t[n(285)](e)}),n[e(360)]=!1,i[e(303)][e(308)](t=>{const n=e;t[n(367)](null),t[n(436)](i[n(303)][n(402)][n(452)][n(388)]());const s=Object[n(375)](a);for(const e of i[n(303)][n(402)][n(301)])n(346)!=e[n(404)]&&e[n(379)]()&&!s[n(334)](e[n(404)])&&t[n(390)](e);for(const e of s){let s=i[n(303)][n(402)][n(363)](e);s&&s[n(379)]()||(s=t[n(291)](e));const r=c[e],o=Object[n(375)](r),u=a[e];for(const e of s[n(388)]())o[n(334)](e)||t[n(400)](e,s);for(const i of o)t[n(442)](i,c[e][i],s);t[n(331)](t[n(413)](s)),t[n(407)](i[n(417)][n(411)](u,s),s,0)}});const l=at(i[e(332)],e(325));return u=o[e(439)]?-1==o[e(439)][e(446)](l)?l+": "+o[e(439)]:o[e(439)]:l+": "+o[e(343)][e(397)](i[e(332)][e(372)],{month:e(449),day:e(434)})+", "+o[e(343)][e(389)](i[e(332)][e(372)],{hour:e(434),minute:e(434)}),await s[e(344)]({name:u}),n[e(360)]=!0,i[e(305)][e(401)](e(336))[e(348)]()}}function ra(){var t=["18BAGCqO","304520joeiDT","4847DdPhQa","1113136vuGNbw","1383363jcoBlr","8sIsudd","42LsiUEw","29246VunfHX","716718OxUQZK","80835OEYUyt"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=393]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(124930===parseInt(e(402))/1*(parseInt(e(400))/2)+-parseInt(e(398))/3+-parseInt(e(395))/4*(parseInt(e(399))/5)+parseInt(e(396))/6*(parseInt(e(397))/7)+parseInt(e(393))/8+parseInt(e(394))/9+parseInt(e(401))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|