@ckeditor/ckeditor5-revision-history 47.2.0-alpha.1 → 47.2.0-alpha.2
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={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},111:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},124:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},246:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},265: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)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},318:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},374: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}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},450: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}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},700:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},702:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},732:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},772:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},774: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)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},853:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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},929:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),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}},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:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,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 E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?: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 D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function P(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 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=P(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])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(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?Z(e)?H(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=H(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=["model","244695ytYfgi","_update","toVersion","55644YMsSUD","14tnibFW","toJSON","6156HAUAKh","diffData","3823792qzlZvO","13149108fBhSWS","6510820EElaJa","map","authorsIds","setAttribute","name","22moTOYt","setName","8558577ljAHyo","creator","310RCInAK","set","removeAttribute","fire","28XjkTXS","authors","fromVersion","attributes","createdAt","creatorId","675qCbdhI"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(663819===-parseInt(e(315))/1*(-parseInt(e(302))/2)+-parseInt(e(327))/3*(-parseInt(e(319))/4)+parseInt(e(325))/5*(parseInt(e(299))/6)+parseInt(e(300))/7*(-parseInt(e(304))/8)+-parseInt(e(313))/9+-parseInt(e(306))/10*(parseInt(e(311))/11)+parseInt(e(305))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[$(314)];[$(320)];[$(303)];[$(298)];[$(321)];[$(326)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(314)]=e[i(314)]||null,this[i(320)]=e[i(320)]||[],this[i(303)]=e[i(303)]||null,this[i(298)]=e[i(298)]||0,this[i(321)]=e[i(321)]||0,this[i(316)](i(310),e[i(310)]||""),this[i(316)](i(323),e[i(323)]||new Date),this[i(316)](i(322),e[i(322)]||{})}[$(312)](t){this[$(328)]({name:t})}[$(309)](t,e){const i=$,n=R(this[i(322)]);U(n,t,e),this[i(328)]({attributes:n})}[$(317)](t){const e=$,i=R(this[e(322)]);(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]&&Z(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(328)]({attributes:i})}[$(328)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(310),i(323),i(303),i(320),i(322),i(298),i(321),i(324)];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(320)]&&(s[i(308)]=s[i(320)][i(307)](t=>t.id),delete s[i(320)]),this[i(318)](i(328),s,e))}[$(301)](){const t=$;return{id:this.id,name:this[t(310)],creatorId:this[t(314)]?this[t(314)].id:null,authorsIds:this[t(320)][t(307)](t=>t.id),diffData:this[t(303)],createdAt:this[t(323)],attributes:this[t(322)],fromVersion:this[t(321)],toVersion:this[t(298)]}}}var J=i(782),Q=i(211),K=i(783);const X=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=340]})(t,e)}function et(){const t=["190611wQHaFh","creatorId","add","name","toJSON","reverse","later","push","map","getEarlierVisibleRevision","Users","isNaN","toVersion","join","8SJOIri","getUser","getRevisions","398568uViNAQ","editor","getRevisionsIterator","3953040iBpVdt","6029730NTRSrQ","pluginName","href","attributes","1962136DTJjwQ","earlier","from","getIndex","get","data","isPremiumPlugin","oldRevisionId","2527743fDbkCi","fromVersion","afterInit","addRevision","fromCharCode","RevisionsRepository","getRevisionsInDiff","406093wZXjGR","getRevision","requires","80peQvyX","authorsIds","diffData","4WUJWoq","_revisions","getLaterVisibleRevision","createRevision","newRevisionId","plugins","isOfficialPlugin","length","createdAt"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(588650===-parseInt(e(386))/1*(-parseInt(e(392))/2)+parseInt(e(379))/3+-parseInt(e(371))/4+-parseInt(e(389))/5*(parseInt(e(363))/6)+parseInt(e(367))/7+parseInt(e(360))/8*(parseInt(e(346))/9)+-parseInt(e(366))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends J.Plugin{[X(393)];static get[X(388)](){return[Q.Users]}static get[X(368)](){return X(384)}static get[X(343)](){return!0}static get[X(377)](){return!0}get[X(344)](){const t=X;return this[t(393)][t(344)]}constructor(e){const i=X;super(e),this[i(393)]=new t.Collection}[X(381)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(357)](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([118]);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=tt;return t[e(354)](t=>String[e(383)](t))[e(359)]("")}!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:1761782400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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(369)]);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)}[X(340)](t){const e=X,i=this[e(364)][e(342)][e(375)](e(356));return new G({id:t.id,name:t[e(349)],creator:t[e(347)]?i[e(361)](t[e(347)]):null,diffData:t[e(391)]||t[e(376)],authors:t[e(390)][e(354)](t=>i[e(361)](t)),createdAt:new Date(t[e(345)]),attributes:t[e(370)],fromVersion:t[e(380)],toVersion:t[e(358)]})}[X(382)](t,e=0){const i=X;this[i(393)][i(348)](t,e)}[X(387)](t){const e=X;return this[e(393)][e(375)](t)}[X(362)](t={toJSON:!1}){const e=X,i=Array[e(373)](this[e(393)]);return i[e(351)](),t[e(350)]?i[e(354)](t=>t[e(350)]()):i}[X(374)](t){const e=X;return this[e(393)][e(374)](t)}[X(355)](t){const e=X,[,i]=this[e(365)](t,{direction:e(372)});return i}[X(394)](t){const e=X,[,i]=this[e(365)](t,{direction:e(352)});return i}[X(385)](t){const e=X,i=[];for(const n of this[e(365)](t[e(341)]))if(i[e(353)](n),n.id===t[e(378)])break;return i}*[X(365)](t,{direction:e=X(372),filter:i=()=>!0}={}){const n=X,s=n(372)===e?1:-1;let r=this[n(393)][n(375)](t),o=this[n(374)](r);for(yield r;r;){if(o+=s,r=this[n(387)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["isOfficialPlugin","650742uUjiyY","toData","getFillerOffset","from","getRevisionDocumentData","collaboration.channelId","attributes","26513320hItKOL","getRevision","2VHKuqv","_typeCharToViewClass","8Dgigii","config","constructor","insertions","diffData","htmlProcessor","length","_viewClassToTypeChar","18090wXYdkW","713061CvmXXZ","customProperties","viewChildrenToDom","startsWith","domDocument","children","getRevisionRootsAttributes","_makeModelFromViewString","view","get","append","filter","pluginName","type","marked","domConverter","isPremiumPlugin","revision-end","_removeRevisionMarkers","name","editing","_getTypeCharForViewElement","data","string","RevisionHistoryUtils","data-revision-","_getViewFromDiffObj","335HpJUnH","2021560GZMTLD","_appendChild","useFillerType","forEach","attachChange","createElement","loadRevisionData","childNodes","fillerOffset","toModel","isAttached","2141649hcIVPT","parse","_setCustomProperty","editor","processor","div","revision-start","map","innerHTML","attributesAfter","domChildrenToView","default","3318245jNDGid","render","document"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=417]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(430058===parseInt(e(425))/1*(-parseInt(e(491))/2)+-parseInt(e(475))/3+-parseInt(e(464))/4+parseInt(e(463))/5*(parseInt(e(435))/6)+-parseInt(e(487))/7*(parseInt(e(427))/8)+-parseInt(e(436))/9+parseInt(e(423))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(448)](){return nt(460)}static get[nt(490)](){return!0}static get[nt(452)](){return!0}[nt(434)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(426)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(470)](t,e){const i=nt;if(t[i(431)]||!e)return;const n=this[i(478)][i(428)][i(445)](i(421)),s=await e[i(424)]({channelId:n,revisionId:t.id});t[i(431)]=s[i(431)]}[nt(420)](t){const e=nt,i={};for(const n in t[e(431)]){if(t[e(431)][n][e(468)]&&!t[e(431)][n][e(468)][e(474)])continue;const s=this[e(454)](JSON[e(476)](t[e(431)][n][e(430)])),r=this[e(478)][e(456)][e(444)][e(489)],o=new K.ViewDocumentFragment(r,s[e(482)](t=>this[e(462)](t,!1)));this[e(478)][e(458)][e(479)][e(466)](e(450)),i[n]=this[e(478)][e(458)][e(479)][e(417)](o),this[e(478)][e(458)][e(479)][e(466)](e(486))}return i}[nt(442)](t){const e=nt,i={};for(const n in t[e(431)])t[e(431)][n][e(468)]&&!t[e(431)][n][e(468)][e(474)]||(i[n]=t[e(431)][n][e(484)]||{});return i}[nt(457)](t){const e=nt;return this[e(434)][e(445)](t[e(429)])}[nt(462)](t,e){const i=nt,n=this[i(478)][i(456)][i(444)][i(489)];if(i(459)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(449)]||"r"==t[i(449)]?[]:t[i(441)][i(482)](t=>this[i(462)](t,e));const o=this[i(426)][i(445)](t[i(449)])||K.ViewElement,a=this[i(478)][i(458)][i(432)][i(451)];if(s=new o(n,t[i(455)],t[i(422)],r),"u"==t[i(449)]&&t[i(441)][0]){const r=t[i(441)][0];if(s[i(488)]=function(t){const e=i,n=t[e(469)](e(480));return n[e(483)]=r,n[e(471)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(465)](s);const e=Array[i(419)](a[i(438)](t,{bind:!1})),r=a[i(440)][i(469)](i(480));r[i(446)](...e),s=Array[i(419)](a[i(485)](r))[0]}}else if("r"==t[i(449)]&&t[i(441)][0]){const r=t[i(441)][0];if(s[i(488)]=function(t){t[i(483)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(465)](s);const e=Array[i(419)](a[i(438)](t,{bind:!1})),r=a[i(440)][i(469)](i(480));r[i(446)](...e);const o=Array[i(419)](a[i(485)](r));o[i(433)]>1?s[i(465)](o):s=o[0]}}if(t[i(437)])for(const[e,n]of t[i(437)])s[i(477)](e,n);const c=void 0===t[i(472)]?null:t[i(472)];return null!==c&&(s[i(418)]=()=>c),s}}[nt(443)](t){const e=nt,i=JSON[e(476)](t),n=this[e(478)][e(456)][e(444)][e(489)],s=new K.ViewDocumentFragment(n,i[e(482)](t=>this[e(462)](t,!0)));return this[e(478)][e(458)][e(473)](s)}[nt(454)](t){const e=nt;return(t=t[e(447)](t=>!t[e(455)]||e(481)!==t[e(455)]&&e(453)!==t[e(455)]))[e(467)](t=>{const i=e;i(459)!=typeof t&&(t[i(441)]=this[i(454)](t[i(441)]),t[i(422)]=t[i(422)][i(447)](t=>!t[0][i(439)](i(461))))}),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-=105]})(t,e)}function pt(){const t=["version","_markers","keepParagraph","clone","_baseRoots","_createInitialRevision","targetPosition","loadState","242235ipyORN","getOperations","_handleRootOperation","createPositionBefore","addRevisionData","markers","baseVersion","dataDowncast","getAncestors","fromEntries","afterInit","newRange","revisionHistoryLicenseKeyEvaluationLimit","toView","featureNotAllowed","collaboration.channelId","loadRevisionData","_handleMergeOperation","isAttached","document","createdAt","getChildren","_lastFrom","shift","path","_licenseKeyCheckInterval","_operations","_isInit","previousPosition","licenseKey","invalid","addRoot","createPositionAt","editor","pluginName","keys","element","isEqual","plugins","split","roots","_bufferUpdate","sourcePosition","isAdd","userId","authorsIds","_baseRootsAttributes","_setConversion","insertionPosition","editor-initial-data-replaced-with-revision-data","_baseIdsRoots","domDocument","_handleMoveOperation","_handleMarkerOperation","nodes","_getPreviousFrom","saveRevision","initialData","_source","getAttributes","data","getRevisions","_processRootBeforeSave","_setAttribute","reInit","deletions","_getVidAttributeName","setSource","vid_start","set","_utils","ready","vid","insert","_transformMarkers","from","values","rootsAttributes","_revisionDataBuilder","createRange","removeRootAttribute","diffData","addRootAttribute","insertion","for","Empty document","getRevisionDocumentData","currentRevision","getFillerOffset","find","upcast","_getState","_revisionId","expired","_isPendingUpdate","_saveMetaData","root","innerHTML","_diffRoots","getRevisionRootsAttributes","sendBufferedUpdates","text","createElement","revisionHistoryLicenseKeyExpired","isPremiumPlugin","reinsert","adapter","domConverter","define","hasContent","revisionHistoryLicenseKeyTrialLimit","vid_end","affectsData","trialLimit","paragraph","getUser","_execute","PENDING_ACTION_REVISION_HISTORY","addRevision","detachRoot","_lastTo","getCustomProperties","conversion","_makeRevision","merge","string","position","getAttribute","createPositionAfter","slice","_pendingAction","_loadedStateData","_handleInsertOperation","_applyOperations","delete","key","getMovedRangeStart","31017EkkvIQ","RevisionsRepository","isOfficialPlugin","6XlxlBh","size","offset","_handleSplitOperation","revisionHistoryLicenseKeyInvalid","1dnAelQ","revision:","model","RealTimeCollaborationClient","_removeMetaData","some","NEGATIVE_INFINITY","_findInsertionIndex","_authorId","includes","getIndex","_removePendingAction","parent","371550RiaOzC","_getBaseVids","_copyMarkers","_initialRevisionId","move","toVersion","bind","isEnabled","markerToData","get","PendingActions","render","_calculateMetaData","getChild","config","creatorId","RevisionHistoryUtils","length","resolve","map","_clone","splitPosition","fromVersion","oldRange","_handleRootAttributeOperation","_fixPosition","Users","_startingRevisionId","attachChange","sort","getOperation","_createCurrentRevision","fillerOffset","createPositionFromPath","htmlProcessor","getRoot","end","children","_reset","revisionHistoryLicenseKeyDomainLimit","documentFragment","stickiness","remove","type","range","update","initial","_markChanges","startsWith","customProperties","getRootNames","requires","revisionHistoryLicenseKeyNotAllowed","getWalker","createRangeIn","$text","item","howMany","revision","init","getRange","_getTypeCharForViewElement","_appendChild","destroy","rootName","outerHTML","has","RevisionHistory","add","changeRootAttribute","_insertChild","_idsRoots","insertions","_makeIdsRoot","clear","Initial revision","authors","$comment","getRevision","_continueCurrentRevision","updateRevisions","48676JkPpbF","_generateTape","_fixOperation","_startingVersion","getTime","attributesAfter","revisionHistoryLicenseKeyUsageLimit","410576kGAgRM","trim","createRevision","usageLimit","deletion","then","uiElement","finally","_getViewJson","revisionHistoryLicenseKeyValid","getTransformedByOperation","_isAttached","40pnSoUG","_makeModelFromViewString","buildRevisionData","_touched","getData","_savedMetaData","_cloneOperation","_fixRange","elementStart","stringify","_update","repository","rawElement","842443GFgqHa","getLatestVersion","push","_diffRootsAttributes","evaluationLimit","name","_loadState","_prepareViewToSave","getCurrentRevisionId","isReady","258674MwktPe","creator","$graveyard","nodeAfter","graveyardPosition","attributesBefore","setRevisionData","_getFromVersion","start","dataToMarker","_handleOperation","history","domainLimit","reverse","_addPendingAction","_bufferedUpdates","locale","_touchedRoots","childCount","elementEnd","_replaceEditorDataWithRevisionData","_touchedMarkers","filter","_showLicenseError","RevisionTracker","offsetSize","max","marker","newValue","getNodeByPath","revisionHistory.resumeUnsavedRevision","tableCell","source","_createFromRanges"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(116168===-parseInt(e(114))/1*(-parseInt(e(250))/2)+parseInt(e(106))/3+parseInt(e(208))/4+-parseInt(e(127))/5+-parseInt(e(109))/6*(parseInt(e(240))/7)+parseInt(e(215))/8+parseInt(e(292))/9*(parseInt(e(227))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends J.Plugin{[ft(321)];[ft(317)];[ft(379)]=null;[ft(238)];[ft(398)]=null;[ft(370)];[ft(350)];[ft(130)];[ft(265)];[ft(362)];[ft(422)];[ft(206)];[ft(211)];[ft(423)];static get[ft(326)](){return ft(274)}static get[ft(108)](){return!0}static get[ft(396)](){return!0}static get[ft(178)](){return[Q.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(238)]=this[i(325)][i(330)][i(136)](i(107)),this[i(362)]=this[i(325)][i(330)][i(136)](i(143)),this[i(370)]=new gt(this[i(325)]),this[i(130)]=this[i(325)][i(141)][i(136)](i(307))||i(173),this[i(265)]=new Map,this[i(423)]=null;const n=(0,t.uid)();this[i(350)]={history:this[i(325)][i(116)][i(311)][i(261)],getLatestVersion:()=>Promise[i(145)](this[i(325)][i(116)][i(311)][i(284)]),getCurrentRevisionId:()=>n},this[i(361)](i(249),!1),this[i(361)](i(134),!0),this[i(361)](i(386),!1),this[i(325)][i(141)][i(400)](i(280),!0),this[i(325)][i(414)][i(376)](i(382))[i(259)]({view:i(185)})}[ft(186)](){const t=ft;this[t(339)](),this[t(325)][t(352)].on(t(363),()=>{const e=t,i=this[e(238)][e(205)](0),n=i&&null===i[e(251)]?i:null;if(this[e(206)]=!!n&&this[e(325)][e(141)][e(136)](e(280)),this[e(325)][e(330)][e(193)](e(117))){const t=this[e(350)][e(248)](),s=this[e(238)][e(205)](t);if(s)this[e(211)]=s[e(149)],this[e(206)]=!1;else{const t=this[e(350)][e(261)][e(318)][e(381)](t=>!t[e(319)]),s=t?t[e(298)]:this[e(350)][e(261)][e(284)];i?(i[e(132)]<s&&i[e(237)]({toVersion:s}),this[e(206)]?(this[e(350)][e(248)]=()=>n.id,this[e(211)]=n[e(149)]):(this[e(211)]=i[e(132)],this[e(206)]=!1)):(this[e(211)]=s,this[e(206)]=!1)}}else n&&(this[e(325)][e(116)][e(311)][e(261)][e(284)]=Math[e(276)](n[e(132)],this[e(325)][e(116)][e(311)][e(261)][e(284)]),n[e(149)]===n[e(132)]?(0!==n[e(149)]&&(this[e(350)][e(248)]=()=>n.id),this[e(206)]=!1):this[e(206)]&&(this[e(350)][e(248)]=()=>n.id,this[e(211)]=n[e(149)])),this[e(206)]||(this[e(211)]=this[e(325)][e(116)][e(311)][e(284)]);this[e(370)][e(186)](this[e(350)][e(261)]),this[e(289)](this[e(211)]),this[e(158)](this[e(211)]),this[e(398)]&&this[e(392)]()}),this[t(133)](t(249)).to(this,t(386),t=>!t),this[t(321)]=this[t(325)][t(141)][t(136)](t(321));const e=this[t(325)];this[t(317)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(224)==r||i(113)==r||i(395)==r||i(166)==r||i(179)==r||i(304)==r||i(402)==r||i(214)==r){delete e[s],n=r,clearInterval(this[i(317)]),this[i(317)]=void 0;break}}i(113)==n&&e[i(273)](i(322)),i(395)==n&&e[i(273)](i(385)),i(166)==n&&e[i(273)](i(262)),i(179)==n&&e[i(273)](i(306),i(194)),i(304)==n&&e[i(273)](i(244)),i(402)==n&&e[i(273)](i(405)),i(214)==n&&e[i(273)](i(218))},1e3)}async[ft(302)](){const t=ft;if(this[t(238)][t(144)]>0){const e=this[t(238)][t(205)](0),i=await this[t(378)](e),n=await this[t(391)](e);this[t(270)](i,n)}}[ft(190)](){const t=ft;super[t(190)](),this[t(317)]&&clearInterval(this[t(317)])}[ft(359)](t){this[ft(350)]=t}async[ft(172)](){const t=ft,e=await this[t(350)][t(241)]();if(e>this[t(379)][t(132)]){await this[t(246)]();const i=this[t(229)]({revision:this[t(379)],to:e});i[t(203)]=i[t(337)][t(146)](e=>this[t(325)][t(330)][t(136)](t(153))[t(407)](e)),this[t(379)][t(237)](i)}}async[ft(348)](e={},i=null){const n=ft,s=[];await this[n(246)](),this[n(206)]=!1,i>this[n(379)][n(132)]&&(i=null),null===i&&(i=await this[n(350)][n(241)]());const r=this[n(257)](i),o=this[n(229)]({from:r,to:i});if(this[n(379)][n(132)]<i){const t=this[n(229)]({revision:this[n(379)],from:i,to:i});t[n(203)]=[],t[n(337)]=[],t.id=this[n(379)].id,this[n(379)][n(237)](t,!0),delete t[n(203)],s[n(242)](t)}e[n(142)]=this[n(325)][n(330)][n(136)](n(153)).me.id,e[n(245)]=e[n(245)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(296)](e);s[n(242)](e);const c=this[n(238)][n(124)](a);if(0!==c){const t=this[n(238)][n(205)](c-1);if(t[n(149)]!==i){const r=this[n(370)][n(231)](i,t[n(132)]),o={id:t.id,diffData:r[n(373)],authorsIds:r[n(337)],authors:r[n(337)][n(146)](t=>this[n(325)][n(330)][n(136)](n(153))[n(407)](t)),fromVersion:i};t===this[n(379)]&&(o[n(312)]=new Date(e[n(312)][n(212)]()+10)),t[n(237)](o,!0),delete o[n(203)],s[n(242)](o)}}if(this[n(398)]){for(const t of s)this[n(333)](t.id,t,!0);this[n(392)]()}return a}[ft(296)](t){const e=ft,i=this[e(238)][e(217)](t);return this[e(398)]&&i.on(e(237),(t,i,n)=>{const s=e;n||(this[s(333)](i.id,i,!0),this[s(392)]())}),this[e(238)][e(410)](i,this[e(121)](i)),i}async[ft(378)](t){const e=ft;return await this[e(362)][e(308)](t,this[e(398)]),this[e(362)][e(378)](t)}async[ft(391)](t){const e=ft;return await this[e(362)][e(308)](t,this[e(398)]),this[e(362)][e(391)](t)}[ft(392)](){const t=ft;if(0===this[t(265)][t(110)])return;if(this[t(386)])return;let e=Array[t(367)](this[t(265)][t(368)]());this[t(265)][t(201)]();for(let i=0;i<e[t(144)];i++){const n=e[i];let s=!1;for(const e of Object[t(327)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(272)](t=>null!==t),!e[t(144)])return;for(let i=0;i<e[t(144)];i++){const n=e[i];void 0!==n[t(149)]&&void 0===n[t(132)]&&(n[t(132)]=this[t(238)][t(205)](n.id)[t(132)]),void 0!==n[t(132)]&&void 0===n[t(149)]&&(n[t(149)]=this[t(238)][t(205)](n.id)[t(149)])}const i=this[t(325)][t(141)][t(136)](t(307));this[t(386)]=!0,this[t(264)](),this[t(398)][t(207)](e,i)[t(222)](()=>{this[t(386)]=!1})[t(220)](e=>{const i=t;if(e)for(const t of e)this[i(256)]({id:t.id,createdAt:t[i(312)]});this[i(125)](),this[i(392)]()})}[ft(229)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(149)],i=null!==i?i:t[n(132)];const s=this[n(370)][n(231)](e,i),r={diffData:s[n(373)],authorsIds:s[n(337)],fromVersion:e,toVersion:i};if(!t||i!==t[n(132)]){const t=i-1,e=this[n(350)][n(261)][n(157)](t);r[n(312)]=e&&e[n(312)]||new Date}if(this[n(423)]&&e===this[n(423)][n(149)])for(const t of this[n(423)][n(203)])r[n(337)][n(123)](t.id)||r[n(337)][n(242)](t.id);return r}[ft(333)](t,e,i){const n=ft;if(this[n(265)][n(193)](t)){const s=this[n(265)][n(136)](t);e=i?{...s,...e}:{...e,...s}}this[n(265)][n(361)](t,e)}[ft(256)](t){const e=ft,i=this[e(238)][e(205)](t.id);if(t[e(312)]&&(t[e(312)]=new Date(t[e(312)])),t[e(337)]){const i=this[e(325)][e(330)][e(136)](e(153));t[e(203)]=t[e(337)][e(146)](t=>i[e(407)](t))}i[e(237)](t,!0)}[ft(289)](t){const e=ft,i=this[e(238)][e(205)](this[e(238)][e(144)]-1);if(i)this[e(130)]=i.id;else{const i=!this[e(325)][e(116)][e(311)][e(332)][e(381)](t=>this[e(325)][e(116)][e(401)](t)),n=this[e(325)][e(330)][e(136)](e(153)).me.id,s=at(this[e(325)][e(266)],e(i?377:202));this[e(415)]({from:t,to:t,id:this[e(130)],name:s,creatorId:n})}}[ft(158)](t){const e=ft,i=this[e(350)][e(248)]();this[e(379)]=this[e(238)][e(205)](i),this[e(379)]||(this[e(379)]=this[e(415)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(246)](){const t=ft;this[t(206)]&&!this[t(423)]&&(await this[t(362)][t(308)](this[t(379)],this[t(398)]),this[t(370)][t(291)](this[t(379)]),this[t(423)]={fromVersion:this[t(379)][t(149)],authors:this[t(379)][t(203)][t(421)]()})}[ft(270)](e,i){const n=ft;let s=this[n(325)][n(141)][n(136)](n(349)),r=this[n(325)][n(141)][n(136)](n(369));if(void 0===s){s={};for(const t of this[n(325)][n(116)][n(311)][n(177)]())s[t]=""}if(n(417)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(325)][n(116)][n(311)][n(177)]())r[t]={}}let o=!1;const a=Object[n(327)](s),c=Object[n(327)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(216)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(327)](r[t])[n(144)]>0){o=!0;break}}o||(o=c[n(119)](t=>!this[n(325)][n(116)][n(311)][n(162)](t))),o&&(0,t.logWarning)(n(341),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(325)][n(141)][n(361)](n(349),e),this[n(325)][n(141)][n(361)](n(369),i)}[ft(264)](){const t=ft;if(!this[t(422)]){const e=this[t(325)][t(330)][t(136)](t(137));this[t(422)]=e[t(195)](at(this[t(325)][t(266)],t(409)))}}[ft(125)](){const t=ft;this[t(422)]&&(this[t(325)][t(330)][t(136)](t(137))[t(169)](this[t(422)]),this[t(422)]=null)}[ft(121)](t){const e=ft,i=this[e(238)][e(353)]();i[e(263)]();let n=0;for(;n<i[e(144)];){const s=i[n];if(s===this[e(379)]){n++;continue}if(s.id===this[e(130)])break;const r=t[e(132)]-s[e(132)]||t[e(149)]-s[e(149)];if(r>0)break;if(r<0)n++;else{if(!t[e(251)]&&s[e(251)])break;if(s[e(251)]||!t[e(251)]){if(t[e(312)]>s[e(312)])break;n++}else n++}}return n}[ft(257)](t){const e=ft,i=this[e(238)][e(353)]();i[e(263)](),i[e(315)]();const n=i[e(381)](i=>i[e(132)]<=t)[e(132)];return n<this[e(211)]?this[e(211)]:n}[ft(415)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(229)]({from:e,to:i});o[r(245)]=t,o[r(142)]=n,o.id=s;const a=this[r(296)](o);return this[r(398)]&&this[r(333)](o.id,o,!0),a}[ft(339)](){const t=ft;this[t(325)][t(414)][t(376)](t(299))[t(135)]({model:t(185)})}}class gt{[ft(325)];[ft(282)];[ft(232)];[ft(314)];[ft(412)];[ft(285)];[ft(390)];[ft(243)];[ft(288)];[ft(338)];[ft(198)];[ft(342)];[ft(230)];[ft(271)];[ft(267)];[ft(384)];[ft(154)];constructor(t){const e=ft;this[e(325)]=t,this[e(232)]=new Map,this[e(314)]=-1,this[e(412)]=-1,this[e(285)]=new Map,this[e(390)]=new Map,this[e(243)]=new Map,this[e(288)]=new Map,this[e(338)]=new Map,this[e(198)]=new Map,this[e(342)]=new Map,this[e(230)]=new Map,this[e(271)]=new Map,this[e(267)]=new Map,this[e(384)]=1}[ft(186)](t){const e=ft;this[e(282)]=t;const i=new Map,n=new Map,s=this[e(325)][e(116)][e(311)][e(332)][e(146)](t=>t[e(191)]);for(const t of s){const s=this[e(325)][e(116)][e(311)][e(162)](t),r=yt(s);i[e(361)](t,r),n[e(361)](t,Object[e(301)](s[e(351)]()))}const r=Array[e(367)](this[e(325)][e(116)][e(297)])[e(146)](t=>[t[e(245)],t[e(187)]()]),o=this[e(282)][e(284)];this[e(387)](o,i,r,n),this[e(154)]=this[e(384)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(361)](t,i),c[e(361)](t,{})}this[e(387)](Number[e(120)],a,[],c)}[ft(231)](t,e){const i=ft;if(this[i(314)]===t&&this[i(412)]<=e)this[i(232)][i(110)]>1&&this[i(118)](this[i(412)]),this[i(425)](this[i(412)],e,!0);else{if(!this[i(232)][i(193)](t)){const e=this[i(347)](t);this[i(139)](e,t,!1)}this[i(139)](t,e,!0)}return this[i(314)]=t,this[i(412)]=e,this[i(383)]()}[ft(291)](t){const e=ft;if(!this[e(232)][e(193)](t[e(149)])){const i=this[e(347)](t[e(149)]);this[e(139)](i,t[e(149)],!1)}this[e(139)](t[e(149)],t[e(132)],!1);const i=this[e(325)][e(330)][e(136)](e(143));this[e(165)](),this[e(314)]=t[e(149)],this[e(412)]=t[e(132)];for(const n in t[e(373)]){const s=t[e(373)][n][e(155)],r=R(t[e(373)][n][e(255)])||{},o=i[e(228)](t[e(373)][n][e(357)]);o[e(191)]=n,o[e(226)]=!s||!s[e(310)],o[e(310)]=()=>o[e(226)],this[e(288)][e(361)](n,o),this[e(338)][e(361)](n,r),s&&this[e(267)][e(361)](n,s);const a=this[e(200)](o);this[e(342)][e(361)](n,a);for(const[t,i]of o[e(297)]){if(!t[e(175)](e(115)))continue;const n=t[e(331)](":")[2];for(const t of i[e(180)]({singleCharacters:!0})){const i=this[e(358)](t),s=e(269)==t[e(170)]?t[e(320)][e(316)][e(421)](0,-1):t[e(320)][e(316)],r=a[e(279)](s)[e(419)](i);this[e(230)][e(361)](r,{userId:n})}o[e(297)][e(426)](t)}}this[e(154)]=this[e(384)];const n=[...Array(this[e(384)])[e(327)]()][e(421)](1)[e(272)](t=>!this[e(230)][e(193)](t));let s=0;const r=new Map;for(const o in t[e(373)]){const a=t[e(373)][o][e(155)],c=R(t[e(373)][o][e(213)])||{},u=i[e(228)](t[e(373)][o][e(199)]);u[e(191)]=o,u[e(226)]=!a||a[e(310)],u[e(310)]=()=>u[e(226)],this[e(390)][e(361)](o,u),this[e(243)][e(361)](o,c);const l=this[e(200)](u,Number[e(120)]);this[e(198)][e(361)](o,l),r[e(361)](o,u[e(310)]()?c:{});for(const[t,i]of u[e(297)]){if(!t[e(175)](e(115)))continue;const n=t[e(331)](":")[2];for(const t of i[e(180)]({singleCharacters:!0})){const i=this[e(358)](t),s=this[e(384)]++,r=e(269)==t[e(170)]?t[e(320)][e(316)][e(421)](0,-1):t[e(320)][e(316)];l[e(279)](r)[e(355)](i,s),this[e(230)][e(361)](s,{userId:n})}u[e(297)][e(426)](t)}for(const t of this[e(325)][e(116)][e(181)](u)[e(180)]({singleCharacters:!0})){const i=this[e(358)](t),r=e(269)==t[e(170)]?t[e(320)][e(316)][e(421)](0,-1):t[e(320)][e(316)],o=l[e(279)](r);o[e(419)](i)>0||o[e(355)](i,n[s++])}for(const[t,i]of u[e(297)])t[e(175)](e(115))||this[e(285)][e(361)](t,i)}const{roots:o}=this[e(232)][e(136)](t[e(149)]),{roots:a}=this[e(232)][e(136)](t[e(132)]),c=yt(o[e(136)](e(252)));this[e(288)][e(361)](e(252),c),this[e(342)][e(361)](e(252),this[e(200)](c,Number[e(120)]));const u=yt(a[e(136)](e(252)));this[e(390)][e(361)](e(252),u),this[e(198)][e(361)](e(252),this[e(200)](u));const l=Array[e(367)](this[e(390)])[e(146)](([t,e])=>[t,yt(e)]);this[e(387)](this[e(412)],l,this[e(285)],r)}[ft(356)](){const t=ft;this[t(165)](),this[t(314)]=-1,this[t(412)]=-1,this[t(232)][t(201)](),this[t(186)](this[t(282)])}[ft(387)](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(361)](t,{start:e[s(258)][s(287)](),end:e[s(163)][s(287)](),rootName:e[s(388)][s(191)]});this[s(232)][s(361)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(118)](t){const e=ft;this[e(232)][e(426)](t)}[ft(165)](){const t=ft;this[t(230)][t(201)](),this[t(271)][t(201)](),this[t(267)][t(201)](),this[t(390)][t(201)](),this[t(243)][t(201)](),this[t(288)][t(201)](),this[t(338)][t(201)](),this[t(198)][t(201)](),this[t(342)][t(201)](),this[t(285)][t(201)](),this[t(384)]=1,this[t(154)]=this[t(384)]}[ft(200)](t,e=null){const i=ft;let n=null;t.is(i(167))||(n=new K.ModelElement(t[i(245)],{vid_start:null===e?this[i(384)]++:e++}));const s=[];for(const n of t[i(313)]())if(n.is(i(328))){s[i(242)](this[i(200)](n,e));const t=s[s[i(144)]-1];null!==e&&(e=t.is(i(328),i(182))?t[i(419)](i(364))+1:t[i(419)](i(403))+1)}else for(let t=0;t<n[i(275)];t++)s[i(242)](new K.ModelElement(i(182),{vid:null===e?this[i(384)]++:e++}));if(t.is(i(167))){const e=kt(t[i(191)]);return e[i(197)](0,s),e}return n[i(355)](i(403),null===e?this[i(384)]++:e++),n[i(197)](0,s),n}[ft(139)](t,e,i){const n=ft;this[n(165)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(232)][n(136)](t);this[n(288)]=new Map(s),this[n(338)]=new Map(R(o));for(const[t,e]of this[n(288)])if(n(252)!==t&&(this[n(390)][n(361)](t,yt(e)),this[n(243)]=new Map(R(o)),i)){const i=this[n(384)];this[n(198)][n(361)](t,this[n(200)](e)),this[n(342)][n(361)](t,this[n(200)](e,i))}this[n(154)]=this[n(384)],this[n(390)][n(361)](n(252),yt(this[n(288)][n(136)](n(252)))),i&&this[n(198)][n(361)](n(252),this[n(200)](this[n(288)][n(136)](n(252))));for(const[t,e]of r){const i=this[n(288)][n(136)](e[n(191)]),s=this[n(390)][n(136)](e[n(191)]),r=new K.ModelRange(this[n(152)](e[n(258)],i),this[n(152)](e[n(163)],i)),o=this[n(234)](r,s);i[n(297)][n(361)](t,r),this[n(285)][n(361)](t,o)}this[n(425)](t,e,i)}[ft(425)](t,e,i){const n=ft;for(const s of this[n(282)][n(293)](t,e))this[n(260)](s,i);for(const t of this[n(390)][n(368)]())t[n(297)][n(201)]();for(const[t,e]of this[n(285)])this[n(390)][n(136)](e[n(388)][n(191)])[n(297)][n(361)](t,e[n(287)]());const s=new Map,r=new Map;for(const[t,e]of this[n(390)])s[n(361)](t,yt(e)),r[n(361)](t,this[n(243)][n(136)](t));this[n(387)](e,s,this[n(285)],r)}[ft(347)](t){const e=ft,i=Array[e(367)](this[e(232)][e(327)]());i[e(156)]((t,e)=>t-e),i[e(263)]();for(const e of i)if(e<t)return e;return Number[e(120)]}[ft(129)](t,e){const i=ft,n=Array[i(367)](e[i(297)])[i(146)](([e,n])=>[e,this[i(234)](n,t)]);t[i(297)]=new Map(n)}[ft(366)](t){const e=ft;for(const i of this[e(285)][e(368)]()){const n=i[e(225)](t),s=K.ModelRange[e(283)](n);i[e(258)]=s[e(258)],i[e(163)]=s[e(163)]}}[ft(260)](t,e){const i=ft;if(i(323)!=t[i(170)]&&i(411)!=t[i(170)]){if(i(365)==t[i(170)]){const n=t[i(418)][i(388)][i(191)];this[i(390)][i(193)](n)||(this[i(390)][i(361)](n,kt(n,!0)),this[i(243)][i(361)](n,{}),e&&this[i(198)][i(361)](n,kt(n,!0)))}else{if(i(374)==t[i(170)]||i(372)==t[i(170)]||i(196)==t[i(170)])return void this[i(151)](t);i(277)==t[i(170)]&&this[i(345)](t)}if(i(277)!==t[i(170)]){const e=this[i(233)](t,this[i(390)]);e[i(408)](),this[i(366)](e)}if(e)switch(t[i(170)]){case i(365):this[i(424)](t);break;case i(131):case i(169):case i(397):this[i(344)](t);break;case i(416):this[i(309)](t);break;case i(331):this[i(112)](t)}}else this[i(294)](t,e)}[ft(233)](t,e){const i=ft,n=t[i(287)]();return n[i(122)]=t[i(122)],this[i(210)](n,e),n}[ft(128)](t){const e=ft;return t[e(146)](t=>{const i=e,n=this[i(358)](t);return Number(t[i(183)][i(419)](n))})}[ft(209)](t,e){const i=ft;if(t.is(i(328),i(182)))e[i(242)]({item:t,type:i(393)});else{t.is(i(328))&&e[i(242)]({item:t,type:i(235)});for(const n of t[i(313)]())this[i(209)](n,e);t.is(i(328))&&e[i(242)]({item:t,type:i(269)})}return e}[ft(383)](){const t=ft,e=new Map(this[t(230)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(288)][t(327)](),...this[t(390)][t(327)]()]);a[t(426)](t(252));for(const e of a){const i=this[t(390)][t(136)](e)||kt(e,!1),n=this[t(288)][t(136)](e)||kt(e,!1);i[t(310)]()||n[t(310)]()?(s[t(199)][e]=yt(i),s[t(357)][e]=yt(n),this[t(129)](s[t(357)][e],n),this[t(129)](s[t(199)][e],i),r[t(199)][e]=this[t(209)](this[t(198)][t(136)](e),[]),r[t(357)][e]=this[t(209)](this[t(342)][t(136)](e)||kt(e,!1),[])):a[t(426)](e)}for(const s of a){const o=r[t(199)][s];for(const s of o){const r=this[t(358)](s),o=s[t(183)][t(419)](r);i[t(426)](o),o>=this[t(154)]&&n[t(361)](o,e[t(136)](o))}}for(const s of a){const a=r[t(199)][s],c=this[t(128)](r[t(357)][s]);let u=0;for(const s of a){const r=this[t(358)](s),a=s[t(183)][t(419)](r);if(!n[t(193)](a)&&!o[t(193)](a))if(i[t(193)](a))u++;else{if(a!=c[u]){const n=e[t(136)](a)||e[t(136)](c[u]);for(;a!=c[u];)i[t(193)](c[u])||(o[t(361)](c[u],n),e[t(361)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(199)][e];for(const e of s){const s=this[t(358)](e),r=e[t(183)][t(419)](s);if(o[t(193)](r)){const e=o[t(136)](r);i[t(193)](r)||i[t(361)](r,{...e}),n[t(361)](r,{...e})}}}for(const e of i[t(327)]())e>=this[t(154)]&&i[t(426)](e);const c=new Map;for(const e of a){let s=r[t(199)][e];for(const e of s)if(e[t(183)].is(t(328),t(281))){const i=this[t(358)](e),s=e[t(183)][t(419)](i);if(n[t(193)](s)){const i=e[t(183)][t(126)][t(126)][t(419)](t(360)),r=c[t(136)](i)||new Set;r[t(195)](n[t(136)](s)[t(336)]),c[t(361)](i,r)}}s=r[t(357)][e];for(const e of s)if(e[t(183)].is(t(328),t(281))){const n=this[t(358)](e),s=e[t(183)][t(419)](n);if(i[t(193)](s)){const n=e[t(183)][t(126)][t(126)][t(419)](t(360)),r=c[t(136)](n)||new Set;r[t(195)](i[t(136)](s)[t(336)]),c[t(361)](n,r)}}for(const e of c[t(327)]())(n[t(193)](e)||i[t(193)](e))&&c[t(426)](e)}for(const e of a){const s=r[t(199)][e];let o=null,a=null;for(const e of s){const s=this[t(358)](e),r=e[t(183)][t(419)](s),u=c[t(136)](r);u&&t(235)==e[t(170)]&&(o=Array[t(367)](u)[0],a=e[t(183)][t(419)](t(403))),o&&(i[t(361)](r,{userId:o}),n[t(361)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(357)][e],a=s[t(199)][e];for(const{userId:e}of this[t(271)][t(368)]())null!==e&&l[t(195)](e);for(const{userId:e}of this[t(267)][t(368)]())null!==e&&l[t(195)](e);this[t(174)](a,r[t(199)][e],n,t(375),l),this[t(174)](o,r[t(357)][e],i,t(219),l),u[e]={insertions:this[t(247)](a),deletions:this[t(247)](o),attachChange:this[t(267)][t(136)](e)||null,attributesBefore:R(this[t(338)][t(136)](e))||{},attributesAfter:R(this[t(243)][t(136)](e))}}return{diffData:u,authorsIds:Array[t(367)](l)}}[ft(354)](t){const e=ft;for(const[,i]of t[e(297)]){const t=i[e(258)][e(300)]()[e(272)](t=>e(281)==t[e(245)]);for(const i of t)1==i[e(268)]&&i[e(140)](0).is(e(328),e(406))&&i[e(140)](0)[e(355)](e(286),!0)}}[ft(247)](t){const e=ft;this[e(354)](t);const i=this[e(325)][e(352)][e(305)](t,{}),n=Array[e(367)](i[e(313)]())[e(146)](t=>this[e(223)](t));return JSON[e(236)](n)}[ft(223)](t){const e=ft;if(t.is(e(182)))return t[e(352)];{const i=this[e(325)][e(330)][e(136)](e(143)),n=t,s=this[e(325)][e(352)][e(161)][e(399)],r={type:i[e(188)](n),name:n[e(245)],attributes:Array[e(367)](n[e(351)]()),children:Array[e(367)](n[e(313)]())[e(146)](t=>this[e(223)](t))};if(t.is(e(221))&&e(204)!=t[e(245)]){const i=t[e(138)](s[e(343)],s);r[e(164)][e(242)](i[e(192)])}else if(t.is(e(239))){const i=s[e(343)][e(394)](n[e(245)]);t[e(138)](i,s),r[e(164)][e(242)](i[e(389)])}const o=Array[e(367)](n[e(413)]());o[e(144)]>0&&(r[e(176)]=o);const a=n[e(380)]();return null!==a&&(r[e(159)]=a),r}}[ft(174)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(325)][r(116)];for(let n=0;n<e[r(144)];n++){const s=this[r(358)](e[n]),c=e[n][r(183)][r(419)](s),h=i[r(136)](c),d=n==e[r(144)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(336)]!=o[r(336)])&&(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(336)],d=l(115)+n+":"+h+":"+c++,f=u[l(371)](i,a);t[l(297)][l(361)](d,f),null!==h&&s[l(195)](h)}}[ft(358)](t){const e=ft;switch(t[e(170)]){case e(235):return e(360);case e(269):return e(403);default:return e(364)}}[ft(210)](t,e){const i=ft;t[i(298)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(136)](s[i(388)][i(191)]);t[n]=this[i(152)](s,r)}if(s instanceof K.ModelRange){const r=e[i(136)](s[i(388)][i(191)]);t[n]=this[i(234)](s,r)}i(388)===n&&(t[i(388)]=e[i(136)](t[i(388)][i(191)]))}}[ft(234)](t,e){const i=ft;return this[i(325)][i(116)][i(371)](this[i(152)](t[i(258)],e),this[i(152)](t[i(163)],e))}[ft(152)](t,e){const i=ft;return this[i(325)][i(116)][i(160)](e,t[i(316)],t[i(168)])}[ft(424)](t){const e=ft,i=this[e(198)][e(136)](t[e(418)][e(388)][e(191)]),n=this[e(152)](t[e(418)],i),s=null===t[e(122)]?null:t[e(122)]||this[e(325)][e(330)][e(136)](e(153)).me.id,r=n[e(126)],o=this[e(384)],a=[];for(const i of t[e(346)])if(i.is(e(328)))a[e(242)](this[e(200)](i));else for(let t=0;t<i[e(275)];t++)a[e(242)](new K.ModelElement(e(182),{vid:this[e(384)]++}));const c=this[e(384)];for(let t=o;t<c;t++)this[e(230)][e(361)](t,{userId:s});r[e(197)](n[e(111)],a)}[ft(344)](t){const e=ft;(t=this[e(233)](t,this[e(198)]))[e(408)]();const i=null===t[e(122)]?null:t[e(122)]||this[e(325)][e(330)][e(136)](e(153)).me.id,n=t[e(105)](),s=n[e(126)],r=n[e(111)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(140)](e);r.is(a(328),a(182))?n[a(361)](r[a(419)](a(364)),{userId:i}):(n[a(361)](r[a(419)](a(360)),{userId:i}),t(n,r,0,r[a(268)]),n[a(361)](r[a(419)](a(403)),{userId:i}))}}(this[e(230)],s,r,r+t[e(184)])}[ft(309)](t){const e=ft,i=null===(t=this[e(233)](t,this[e(198)]))[e(122)]?null:t[e(122)]||this[e(325)][e(330)][e(136)](e(153)).me.id,n=t[e(290)][e(126)],s=t[e(334)][e(126)],r=n[e(419)](e(403)),o=s[e(419)](e(360));n[e(355)](e(403),s[e(419)](e(403))),s[e(355)](e(403),r),this[e(230)][e(361)](o,{userId:i}),this[e(230)][e(361)](r,{userId:i}),t[e(408)]()}[ft(112)](t){const e=ft,i=null===(t=this[e(233)](t,this[e(198)]))[e(122)]?null:t[e(122)]||this[e(325)][e(330)][e(136)](e(153)).me.id,n=t[e(254)],s=t[e(148)][e(126)];t[e(408)]();const r=s[e(419)](e(403)),o=t[e(340)][e(253)];if(n){const t=o[e(419)](e(403)),n=s[e(419)](e(403));s[e(355)](e(403),t),o[e(355)](e(403),n),this[e(230)][e(361)](s[e(419)](e(403)),{userId:i}),this[e(230)][e(361)](o[e(419)](e(360)),{userId:i})}else{const t=this[e(384)]++,n=this[e(384)]++;s[e(355)](e(403),t),o[e(355)](e(360),n),o[e(355)](e(403),r),this[e(230)][e(361)](t,{userId:i}),this[e(230)][e(361)](n,{userId:i})}}[ft(345)](t){const e=ft;if(!t[e(404)])return;const i=(t=this[e(233)](t,this[e(390)]))[e(150)]?t[e(150)][e(388)]:null,n=t[e(303)]?t[e(303)][e(388)]:null;i&&this[e(285)][e(426)](t[e(245)]),n&&this[e(285)][e(361)](t[e(245)],t[e(303)][e(287)]());const s=null===t[e(122)]?null:t[e(122)]||this[e(325)][e(330)][e(136)](e(153)).me.id,r=t[e(245)];if(!this[e(271)][e(193)](r))return void this[e(271)][e(361)](r,{range:t[e(150)],userId:s});const o=this[e(271)][e(136)](r),a=o[e(171)],c=t[e(303)];null==a&&null==c||a&&c&&a[e(329)](c)?this[e(271)][e(426)](t[e(245)]):o[e(336)]=s}[ft(294)](t,e){const i=ft;this[i(390)][i(193)](t[i(191)])?this[i(390)][i(136)](t[i(191)])[i(226)]=t[i(335)]:(this[i(390)][i(361)](t[i(191)],kt(t[i(191)],!0)),this[i(243)][i(361)](t[i(191)],{}),e&&this[i(198)][i(361)](t[i(191)],kt(t[i(191)],!0)));const n=null===t[i(122)]?null:t[i(122)]||this[i(325)][i(330)][i(136)](i(153)).me.id,s=this[i(267)][i(136)](t[i(191)]);s&&s[i(336)]===n?this[i(267)][i(426)](t[i(191)]):this[i(267)][i(361)](t[i(191)],{userId:n,isAttached:t[i(335)]})}[ft(151)](t){const e=ft,i=this[e(243)][e(136)](t[e(388)][e(191)]);null===t[e(278)]?delete i[t[e(427)]]:i[t[e(427)]]=t[e(278)]}}function yt(t){const e=ft,i=kt(t[e(191)],t[e(310)]());for(const n of t[e(313)]()){const t=n[e(147)](!0);i[e(189)](t)}return i}function kt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(191)]=t,n[i(226)]=e,n[i(310)]=()=>n[i(226)],n}function bt(t,e,i){const n=ft,s=n(269)==t[n(170)]?i[n(324)](t[n(183)],n(163)):i[n(295)](t[n(183)]);return i[n(160)](e,s[n(316)],s[n(168)])}function wt(t,e,i){const n=ft,s=n(235)==t[n(170)]?i[n(324)](t[n(183)],0):i[n(420)](t[n(183)]);return i[n(160)](e,s[n(316)],s[n(168)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),xt=i.n(Tt),Nt=i(265),At=i.n(Nt),Rt=i(410),Mt=i.n(Rt),Vt=i(238),Et=i.n(Vt),Dt=i(246),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(124),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=178]})(t,e)}function zt(){const t=["reset","stopPropagation","listenTo","optional","fieldView","focus","revisionNameInputView","initializeCssTransitionDisablerMixin","20DNyyLz","setTemplate","form","keystrokes","ck-revision-history-save-revision-form","value","1334925XknaNJ","arrowleft","220","685104FzprTs","2679168VfcKgw","_createRevisionNameInput","render","set","trim","1405IVUtTl","focusTracker","1527883voCjff","8HmQkeq","revisionName","locale","label","extendTemplate","arrowdown","2694AngDXs","input","revisionNameInputValue","add","arrowright","arrowup","element","errorText","ck-responsive-form","Name of the revision","3115650GwncrZ","4759hLTdGd"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(236364===parseInt(e(191))/1*(-parseInt(e(200))/2)+-parseInt(e(209))/3*(-parseInt(e(218))/4)+parseInt(e(215))/5*(-parseInt(e(180))/6)+-parseInt(e(217))/7+parseInt(e(210))/8+parseInt(e(206))/9+-parseInt(e(190))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(216)];[Pt(203)];[Pt(198)];constructor(e,i){const n=Pt;super(e),this[n(216)]=new t.FocusTracker,this[n(203)]=new t.KeystrokeHandler,this[n(213)](n(182),""),this[n(198)]=this[n(211)](i),this[n(201)]({tag:n(202),attributes:{class:["ck",n(204),n(188)],tabindex:"-1"},children:[this[n(198)]]}),this[n(199)]()}[Pt(212)](){const t=Pt;super[t(212)](),(0,It.submitHandler)({view:this}),this[t(216)][t(183)](this[t(198)][t(186)]),this[t(203)][t(194)](this[t(186)]);const e=e=>e[t(193)]();this[t(203)][t(213)](t(184),e),this[t(203)][t(213)](t(207),e),this[t(203)][t(213)](t(185),e),this[t(203)][t(213)](t(179),e)}[Pt(197)](){const t=Pt;this[t(198)][t(197)]()}get[Pt(219)](){const t=Pt;return this[t(198)][t(196)][t(186)][t(205)][t(214)]()}set[Pt(219)](t){const e=Pt;this[e(198)][e(196)][e(186)][e(205)]=t[e(214)]()}[Pt(192)](){const t=Pt;this[t(198)][t(196)][t(186)][t(205)]="",this[t(198)][t(187)]=null}[Pt(211)](t){const e=Pt,i=new It.LabeledFieldView(this[e(220)],It.createLabeledInputText),n=i[e(196)];n[e(178)]({attributes:{maxlength:e(208)}});let s=at(this[e(220)],e(189));return!t&&(s+=" ("+at(this[e(220)],e(195))+")"),i[e(221)]=s,n.on(e(181),()=>{const t=e;this[t(182)]=n[t(186)][t(205)][t(214)]()}),i}}function Ut(t,e){const i=Ht();return(Ut=function(t,e){return i[t-=130]})(t,e)}const Zt=Ut;function Ht(){const t=["1004270QUrcKl","init","children","revisionHistory","execute","Open revision history","Save current revision","items","1006gKLKSj","set","4781943pFxQfl","RevisionHistoryUI","reset","view","ck-button-action","isOpen","locale","The revision name cannot be empty.","menuitem","revisionNameInputView","Accept","isReadOnly","role","4899IZBOUM","hide","_showDialog","render","showRevisionViewerCallback","editing","isOfficialPlugin","errorText","requires","buttonView","revisionHistory.requireRevisionName","revisionName","7DPcIWh","get","bind","focus","Dialog","isPremiumPlugin","_registerMenuComponent","revisionSave","pluginName","_createSaveRevisionFormView","saveRevision","1089760IothQQ","isEnabled","editor","menu","RevisionTracker","componentFactory","6882880hvQEEm","panelView","3423066eIOClG","Cancel","Revision history","isReady","show","menuBar:revisionHistory","delegate","_saveRevisionFormView","config","4074228Oykxsp","plugins","add","addMany","submit"];return(Ht=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(519836===parseInt(e(154))/1+-parseInt(e(162))/2*(parseInt(e(177))/3)+parseInt(e(149))/4+parseInt(e(132))/5+parseInt(e(140))/6*(-parseInt(e(189))/7)+-parseInt(e(138))/8+parseInt(e(164))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends J.Plugin{static get[Zt(197)](){return Zt(165)}static get[Zt(183)](){return!0}static get[Zt(194)](){return!0}static get[Zt(185)](){return[vt]}[Zt(147)];[Zt(155)](){const t=Zt,e=this[t(134)],i=e[t(150)][t(190)](t(136));e.ui[t(137)][t(151)](t(157),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(139)][s(156)],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(191)](s(133)).to(i,s(143),i,s(133),e,s(175),(t,e,i)=>t&&e&&!i),r[s(186)][s(163)]({icon:_t.IconHistory,label:at(n,s(142)),tooltip:!0}),u[s(163)]({label:at(n,s(160)),withText:!0,role:s(172)}),u[s(191)](s(133)).to(i,s(143),i,s(133),e,s(175),(t,e,i)=>t&&e&&!i),u.on(s(158),()=>this[s(179)]()),h[s(163)]({label:at(n,s(159)),withText:!0,role:s(172)}),h[s(191)](s(133)).to(i,s(143),e,s(175),(t,e)=>t&&!e),h.on(s(158),()=>{const t=s;e[t(148)][t(190)](t(157))[t(181)](),r[t(169)]=!1,e[t(182)][t(167)][t(192)]()}),c[s(156)][s(151)](u),l[s(156)][s(151)](h),a[s(176)]=s(135),a[s(161)][s(152)]([c,l]),o[s(151)](a),r}),e.ui[t(137)][t(151)](t(145),()=>this[t(195)]())}[Zt(195)](){const t=Zt,e=this[t(134)],i=e[t(170)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(186)][t(163)]({icon:_t.IconHistory,label:at(i,t(142))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(163)]({label:at(i,t(160))}),o[t(146)](t(158)).to(n),o.on(t(158),()=>{this[t(179)]()}),r[t(156)][t(151)](o),s[t(161)][t(151)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(163)]({label:at(i,t(159))}),c[t(146)](t(158)).to(n),c.on(t(158),()=>{const i=t;e[i(148)][i(190)](i(157))[i(181)]()}),a[t(156)][t(151)](c),s[t(161)][t(151)](a),n[t(139)][t(156)][t(151)](s),n}[Zt(179)](){const t=Zt,e=this[t(134)],i=e[t(170)],n=e[t(150)][t(190)](t(193)),s=e[t(150)][t(190)](t(136));function r(s){const r=t;e[r(148)][r(190)](r(187))&&""===s[r(188)]?s[r(173)][r(184)]=at(i,r(171)):(e[r(150)][r(190)](vt)[r(131)]({name:s[r(188)]}),n[r(178)]())}this[t(147)]||(this[t(130)](),this[t(147)].on(t(153),()=>r(this[t(147)]))),this[t(147)][t(166)](),n[t(144)]({id:t(196),title:at(i,t(160)),isModal:!0,content:this[t(147)],actionButtons:[{label:at(e[t(170)],t(141)),withText:!0,onExecute:()=>n[t(178)]()},{label:at(e[t(170)],t(174)),class:t(168),withText:!0,onCreate(i){const n=t;i[n(191)](n(133)).to(s,n(143),s,n(133),e,n(175),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(147)])}]})}[Zt(130)](){const t=Zt,e=this[t(134)],i=e[t(170)];this[t(147)]=new Wt(i,e[t(148)][t(190)](t(187))),this[t(147)][t(180)]()}}const $t=Yt;function Bt(){const t=["Suggested by","bindTemplate","_model","2045176aStvYj","changeId","div","4113198pQBACq","span","ck-revision-change__label","1086515DdANEO","author","19495890DmvrQq","1360149NPxZJP","ck-revision-change__","data","setTemplate","element","set","491LPPdvh","add","8948EkMPxp","894dHmZtn","Added by","focus","isSuggestion","192qIMRrR","name","type","Removed by","ck-revision-change","18oaQHyC","ck-annotation"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(360387===-parseInt(e(244))/1*(parseInt(e(247))/2)+parseInt(e(251))/3*(parseInt(e(246))/4)+-parseInt(e(235))/5+parseInt(e(256))/6*(-parseInt(e(238))/7)+-parseInt(e(261))/8+-parseInt(e(264))/9+parseInt(e(237))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends It.View{[$t(262)];[$t(260)];constructor(t,e){const i=$t;super(t),this[i(260)]=e,this[i(262)]=e.id;const n=this[i(259)],s=at(t,e[i(240)][i(250)]?i(258):i(245)==e[i(253)]?i(248):i(254));this[i(243)](i(253),e[i(253)]),this[i(241)]({tag:i(263),attributes:{class:[i(257),i(255),n.to(i(253),t=>i(239)+t)],tabindex:-1},children:[{tag:i(233),children:[{tag:i(233),attributes:{class:[i(234)]},children:[{text:s}]},{text:" "+e[i(236)][i(252)]}]}]})}[$t(249)](){const t=$t;this[t(242)][t(249)]()}}function Jt(t,e){var i=Kt();return(Jt=function(t,e){return i[t-=110]})(t,e)}var Qt=Jt;function Kt(){var t=["type","data","190yVRwmA","5751639NIVLvI","author","createdAt","5395663gHbHCk","6453QZQmkG","5603940Dumewf","334oSFYkG","84498icCfDU","set","586131cKyQQz","4019088CzhzMb","toJSON","rootName"];return(Kt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(858401===-parseInt(e(117))/1*(-parseInt(e(119))/2)+-parseInt(e(122))/3+-parseInt(e(118))/4+-parseInt(e(112))/5*(parseInt(e(120))/6)+parseInt(e(116))/7+parseInt(e(123))/8+parseInt(e(113))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Qt(114)];[Qt(110)];[Qt(111)];[Qt(125)];constructor(e){var i=Qt;super(),this.id=e.id||(0,t.uid)(),this[i(114)]=e[i(114)],this[i(110)]=e[i(110)],this[i(111)]=e[i(111)]||{},this[i(125)]=e[i(125)],this[i(121)](i(115),e[i(115)])}[Qt(124)](){var t=Qt;return{id:this.id,authorId:this[t(114)].id,type:this[t(110)],data:this[t(111)],createdAt:this[t(115)]}}}function te(){const t=["183822mMUPNR","115350bulWMd","3721185qGhYAn","77PugTNb","2363775YtENNd","changes","3838552UEkorQ","2963976mozBBf","oldRevisionId","newRevisionId","17422821BQWTZK","8oDRnot","add","_setChanges"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=253]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(917474===-parseInt(e(259))/1+-parseInt(e(265))/2+-parseInt(e(262))/3+parseInt(e(264))/4+parseInt(e(260))/5+-parseInt(e(258))/6*(parseInt(e(261))/7)+parseInt(e(255))/8*(parseInt(e(254))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ie(253)];[ie(266)];[ie(263)];constructor(e,i){const n=ie;this[n(253)]=e,this[n(266)]=i,this[n(263)]=new t.Collection}[ie(257)](t){const e=ie;for(const i of t)this[e(263)][e(256)](i)}}var se=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["getChild","start","hasAttribute","removeClass","change:numberOfChanges","ck-revision-history-root-remove","getRoot","markerToHighlight","element","consume","isAtEnd","downcastDispatcher","getIndex","highest","18NhmZsl","viewItem","addRevisionData","model","_utils","editor","remove","_getRevisionsRange","error","activeView","text","_getViewForChange","filter","resolve","oldRevisionId","removeMarker","editing","requires","index","_activeViewTarget","endIndex","createPositionBefore","isNavigationMode","indexOf","startIndex","loadRevisionData","diff","change:activeView","getRootNames","1cLbheH","pluginName","commands","ck-suggestion-marker-split","markersStart","_getChangeFromId","document","revision-suggestion","schema","name","getClientRects","forward","vid_start","getLaterVisibleRevision","roots","end","bind","data","destroy","wrap","revisionHistoryLabel","_makeModelFromViewString","changes","markers","mouseover","values","backward","split","bindElementToMarker","change:isReady","high","isAddSuggestion","first","diffData","concat","enableReadOnlyMode","attachChange","getRevision","left","isAfter","modelRange","_initInteractions","forEach","slice","softBreak","isEqual","return","getCustomProperty","_markMismatchedRemovedTags","restoreRevision","for","right","forceDisabled","isAtStart","element:pre","_step","pop","view","_joinTapes","isBlock","insert","consumable","_markSuggestions","rootName","isLimit","flat","dataDowncast","attributes","showStack","test","ck-revision-history-root--active","isOfficialPlugin","shift","done","pairId","insertion","nodeAfter","_sortAndFilterDiffChanges","side","findIndex","reconvertMarker","sort","toViewRange","isObject","string","offsetSize","observeMarkers","getItems","domConverter","deletions","revision-suggestion:","clear","_removeMissingPairs","span","mousedown","isEnabled","createRange","ck-suggestion-preview-marker","item","2119466PMUugN","unshift","_setChanges","_setDistance","nextPosition","code","writer","keys","push","ck-suggestion-marker-","get","isSuggestion","1266208qIKXIQ","splice","showNextChange","elementToAttribute","delete","addRevision","bottom","locale","attributesBefore","isOnRoot","authors","revision-viewer","_cleanMarkers","selection","currentChangeNumber","compare","target","removeMarker:revision","RevisionsRepository","checkAttribute","add","showPreviousChange","numberOfChanges","revision:","data-change-id","uiElement","removeAttribute","change:activeChange","isBefore","low","listenTo","length","_revisions","detachRoot","ck-revision-history-root-","POSITIVE_INFINITY","repository","getRevisionRootsAttributes","64185wuTBfy","toViewElement","ck-suggestion-marker","3775200dpganu","createAttributeElement","upcast","enqueueChange","isRemoved","markersEnd","level","getDomRoot","revision-comment:","_update","_changeView","isRemoveSuggestion","previousPosition","_findChangeIdFromDomTarget","ck-revision-history-root-add","_setConversion","35584Pfqbmd","changeId","580174RvAGoU","maxOffset","getAttributes","_makeTape","domEvent","_threeWayMerge","createPositionFromPath","vid","init","insertions","revision","adapter","WidgetToolbarRepository","distance","change","includes","411anFZtR","isInline","isCollapsed","markerNameToElements","mapper","catch","userId","_balloon","_refreshStartEndIndex","createUIElement","getWalker","3741450GlBGbk","unbindElementFromMarkerName","abs","deletion","_removeUnsupportedChanges","newRevisionId","getAttribute","top","next","_markMarkers","_makeModelFromTape","RevisionHistoryUtils","addMarker:revision-suggestion:deletion","stop","nextSibling","vid_end","conversion","updatePosition","refresh","createRangeIn","startsWith","hasClass","range","all","suggestion","isReady","merge","170huIjiE","attributesAfter","ck-suggestion-marker--active","_changeIdToChange","addMarker:revision","isAdded","parent","_processTape","activeChange","change:isEnabled","editingDowncast","set","elementStart","_appendChild","isIncorrect","markerName","_cleanUp","-new","createRevision","toViewPosition","suggestion:","find","isAttached","from","markerToData","affectsData","plugins","addClass","restoreRevisionCallback","_getDiff","dataToMarker","_data","addRoot","markerRange","RevisionViewer","removeMarker:revision-suggestion","ck-editor__editable__overlay","type","revisionHistory","map","getRevisionDocumentData","has","isPremiumPlugin","elementEnd","isContent","mapViewToDom","attribute:vid","then","_fixObsoleteTags","comment","addHighlight","setAttribute","ck-suggestion-preview-marker-","ck-suggestion-marker-merge","execute","revisionHistoryAttachChange","object","addMarker:revision-suggestion:insertion","config","_markInsertions"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(776738===parseInt(e(484))/1*(-parseInt(e(583))/2)+-parseInt(e(343))/3*(-parseInt(e(325))/4)+parseInt(e(354))/5+-parseInt(e(309))/6+parseInt(e(327))/7+-parseInt(e(595))/8*(-parseInt(e(455))/9)+-parseInt(e(381))/10*(-parseInt(e(306))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends J.Plugin{[oe(304)];[oe(338)]=null;[oe(459)];[oe(474)];[oe(319)];[oe(384)];[oe(350)];static get[oe(485)](){return oe(415)}static get[oe(555)](){return!0}static get[oe(423)](){return!0}static get[oe(472)](){return[Q.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(304)]=this[e(460)][e(407)][e(593)](e(613)),this[e(459)]=this[e(460)][e(407)][e(593)](e(365)),this[e(392)](e(389),null),this[e(392)](e(464),null),this[e(474)]=null,this[e(392)](e(481),null),this[e(392)](e(379),!1),this[e(392)](e(579),!0),this.on(e(390),(t,i,n)=>{const s=e;this[s(389)]=null,this[s(464)]=null,this[s(460)][s(471)][s(541)][s(341)](t=>{const e=s;for(const i of this[e(460)][e(471)][e(541)][e(490)][e(498)])n?t[e(444)](e(417),i):t[e(408)](e(417),i)})}),this[e(500)](e(477)).to(this,e(389),t=>null!==t),this[e(500)](e(609)).to(this,e(379),this,e(481),this,e(389),(t,i,n)=>t&&n?i[e(506)][e(453)](n):0),this[e(500)](e(617)).to(this,e(379),this,e(481),(t,i)=>t?i[e(506)][e(299)]:0),this[e(319)]=null,this[e(384)]=new Map,this[e(350)]=this[e(460)][e(407)][e(593)](It.ContextualBalloon)}[oe(335)](){const t=oe,e=this[t(460)],i=new de(e,{direction:t(510)}),n=new de(e,{direction:t(495)});e[t(486)][t(615)](t(616),i),e[t(486)][t(615)](t(597),n),e[t(486)][t(615)](t(533),new he(e)),this.on(t(445),()=>{const e=t;i[e(372)](),n[e(372)]()}),this[t(324)](),this[t(525)](),e[t(519)](t(606)),e[t(407)][t(422)](t(339))&&e[t(407)][t(593)](t(339))[t(536)](t(606))}async[oe(421)](t){const e=oe;return await this[e(459)][e(480)](t,this[e(338)]),this[e(459)][e(421)](t)}async[oe(305)](t){const e=oe;return await this[e(459)][e(480)](t,this[e(338)]),this[e(459)][e(305)](t)}async[oe(610)](t,e,i=!1){const n=oe;if(!this[n(579)])return;const s=this[n(481)],r=this[n(304)],o=n(568)==typeof t?r[n(521)](t):t,a=n(568)==typeof e?r[n(521)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(481)]&&this[n(481)][n(359)]===c&&this[n(481)][n(469)]===u)return Promise[n(468)]();this[n(379)]=!1,this[n(464)]=null,this[n(389)]=null,this[n(481)]=new ne(c,u);const l=this[n(462)](o,a,!0)[n(420)](t=>this[n(459)][n(480)](t,this[n(338)]));return l[n(591)](new Promise(t=>{setTimeout(t,20)})),Promise[n(377)](l)[n(428)](()=>{const t=n;if(!this[t(579)])return;this[t(397)]();const e=this[t(410)](c,u);for(const i of e[t(506)])this[t(384)][t(392)](i.id,i);this[t(460)][t(458)][t(312)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(460)][n(458)][n(490)][n(483)]())i[n(301)](t);for(const t of Object[n(590)](e[n(458)])){const s=i[n(413)](t);for(const r of Object[n(590)](e[n(551)][t]))i[n(432)](r,e[n(551)][t][r],s);i[n(544)](e[n(458)][t],s,0)}}),this[t(481)][t(585)](this[t(561)](e[t(506)])),this[t(379)]=!0})[n(348)](t=>{const e=n;console[e(463)](t),this[e(397)](),s&&(this[e(481)]=s),this[e(379)]=!0})}[oe(457)](t,e){const i=oe,n=this[i(304)][i(399)](t);return n.on(i(318),(t,i,s)=>e(i,s,n)),this[i(304)][i(600)](n),n}[oe(397)](){const t=oe;this[t(389)]=null,this[t(607)](),this[t(319)]&&this[t(319)][t(502)](),this[t(319)]=null,this[t(384)][t(575)](),this[t(460)][t(458)][t(312)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(460)][i(458)][i(490)][i(483)]())e[i(301)](t)})}[oe(561)](t){const e=oe,i=[],n=new Map;for(const t of this[e(460)][e(458)][e(490)][e(483)]()){const s=this[e(460)][e(471)][e(541)][e(316)](t);if(!s)continue;const r=s[e(494)]()[e(582)](0);r&&(i[e(591)](t),n[e(392)](t,r))}return i[e(565)]((t,i)=>{const s=e,r=n[s(593)](t),o=n[s(593)](i);return r.y-o.y||r.x-o.x}),(t=t[e(467)](t=>i[e(342)](t[e(547)])))[e(565)]((t,n)=>i[e(478)](t[e(547)])-i[e(478)](n[e(547)])),t}[oe(330)](t){const e=oe,i=Array[e(404)](t[e(507)])[e(467)](([t,i])=>t[e(374)](e(291))&&!i[e(345)]),n=Array[e(404)](this[e(460)][e(458)][e(373)](t)[e(353)]({singleCharacters:!0}));if(0!=i[e(299)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(511)](":");if(s[e(499)][e(529)](t[e(587)])&&i[e(556)](),(t[e(321)][e(529)](s[e(442)])||t[e(321)][e(523)](s[e(442)]))&&(e(559)==r?t[e(386)]={userId:o}:e(357)==r&&(t[e(313)]={userId:o})),0==i[e(299)])break}return n}[oe(351)](t){const e=oe,i=new Map;for(let n=0;n<t[e(299)];n++)e(465)===t[n][e(418)]?(t[n][e(582)][e(479)]=n,t[n][e(582)][e(475)]=n):(e(393)===t[n][e(418)]?t[n][e(582)][e(479)]=n:e(424)===t[n][e(418)]&&(t[n][e(582)][e(475)]=n),i[e(392)](t[n].id,n));for(const n of i[e(509)]())e(393)===t[n][e(418)]?t[n][e(582)][e(475)]=i[e(593)](t[n][e(558)]):e(424)===t[n][e(418)]&&(t[n][e(582)][e(479)]=i[e(593)](t[n][e(558)]))}[oe(388)](t){const e=oe;for(let i=0;i<t[e(299)];i++){if(e(393)===t[i][e(418)])t[i][e(582)][e(479)]=i;else if(e(424)===t[i][e(418)]){t[i][e(582)][e(475)]=i;const n=t[i][e(582)][e(479)];t[n][e(558)]=t[i].id,t[i][e(558)]=t[n].id}else t[i][e(582)][e(479)]=i,t[i][e(582)][e(475)]=i,t[i][e(558)]=null;t[i][e(488)]||(t[i][e(488)]=[],t[i][e(314)]=[])}}[oe(440)](t,e){const i=oe,n=t[i(467)](t=>!t[i(386)]);for(let t=0;t<e[i(299)];t++)e[t][i(386)]&&(n[t][i(386)]=e[t][i(386)])}[oe(410)](t,e=null){const i=oe,n=this[i(304)][i(521)](t),s=e?this[i(304)][i(521)](e):null,r=this[i(462)](n,s),o=r[r[i(299)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(299)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(590)](e[i(517)]))if(e[i(517)][t][i(520)]){const n=e[i(517)][t][i(520)];n[i(403)]?(u[i(615)](t),l[i(422)](t)&&l[i(593)](t)[i(349)]==n[i(349)]?l[i(599)](t):l[i(392)](t,n)):l[i(422)](t)?(u[i(599)](t),l[i(599)](t)):(u[i(615)](t),l[i(392)](t,n))}else u[i(615)](t)}for(const t of u){const e=l[i(422)](t)&&!l[i(593)](t)[i(403)];let n=e?r[i(299)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(517)][t]){const n=e?o[i(517)][t][i(603)]:o[i(517)][t][i(382)];c[i(551)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(458)]={};for(const e of t[i(605)])a[i(392)](e.id,e);for(const e of u){const n=t[i(517)][e]?t[i(517)][e][i(336)]:"[]",s=t[i(517)][e]?t[i(517)][e][i(573)]:"[]";t[i(458)][e]={insertions:this[i(459)][i(505)](n),deletions:this[i(459)][i(505)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(404)](n[i(458)][t][i(336)][i(507)])[i(467)](([t])=>!t[i(374)](i(291))));let h=0;for(const o of r){const r=this[i(330)](o[i(458)][t][i(336)]);o==n?(e=r,s=e[i(299)],e[i(526)](t=>{t.id=h++}),this[i(388)](e)):this[i(440)](e,r);const a=e[i(467)](t=>!t[i(386)])[i(420)](t=>t.id);let c=0;const l=this[i(330)](o[i(458)][t][i(573)]);l[i(526)](t=>{t[i(313)]?t.id=s++:t.id=a[c++]}),this[i(388)](l),this[i(586)](e,i(386)),this[i(586)](l,i(313)),o==n&&this[i(363)](e,u),e=this[i(542)](e,l),this[i(351)](e),this[i(586)](e,i(313))}e=e[i(467)](t=>!(t[i(386)]&&t[i(313)]));const d=new Map(o[i(458)][t][i(573)][i(507)]),f=new Set(u[i(590)]());for(const t of d[i(590)]())f[i(599)](t);this[i(546)](e,f),this[i(429)](e),e=this[i(576)](e),e=this[i(532)](e),e=this[i(358)](e);const{root:m,changes:p}=this[i(364)](e,a,t);c[i(458)][t]=m;const v=l[i(593)](t);if(v){const e=a[i(593)](v[i(349)]),n=new Xt({author:e,type:v[i(403)]?i(615):i(461),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(584)](n),c[i(551)][t][i(436)]=n.id}c[i(506)]=c[i(506)][i(518)](p)}return c}[oe(363)](t,e){const i=oe;for(let n=0;n<t[i(299)];n++)for(const[s,r]of e)!r[i(345)]&&r[i(442)][i(529)](t[n][i(321)])&&t[n][i(488)][i(591)](s),r[i(499)][i(529)](t[n][i(587)])&&t[n][i(314)][i(591)](s)}[oe(542)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(299)]||r<e[i(299)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(591)](o);else if(a[i(313)]&&o[i(386)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(332)](t,s,e,r);n=n[i(518)](o),s=a,r=c}else a[i(313)]?(r++,n[i(591)](a)):(s++,n[i(591)](o))}return n}[oe(546)](t,e){const i=oe,n=[];for(let o=0;o<t[i(299)];o++){for(let r=0;r<t[o][i(488)][i(299)];r++){const a=t[o][i(488)][r];if(!e[i(422)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(491)!=c||i(559)!=u&&i(357)!=u||(n[i(584)]({type:u,name:a,userId:l}),t[o][i(488)][i(596)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(314)][i(299)];r++){const a=t[o][i(314)][r];if(!e[i(422)](a))continue;const{group:c,type:u}=s(a);if(i(491)!=c||i(559)!=u&&i(357)!=u)continue;t[o][i(314)][i(596)](r,1),r--;const l=n[i(563)](t=>t[i(493)]==a);l>-1&&n[i(596)](l,1)}}function s(t){const e=i,n=t[e(511)](":");return{group:n[0],type:n[1],subType:n[e(299)]>=5?n[2]:null,id:n[e(299)]<5?n[2]:n[3],authorId:n[e(299)]<5?n[3]:n[4],markerCount:6==n[e(299)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(299)];i++){if(t[e(386)]&&e(559)==n[i][e(418)]&&t[e(386)][e(349)]==n[i][e(349)])return t[e(515)]=n[i],void delete t[e(386)];if(!t[e(386)]&&!t[e(313)]&&e(357)==n[i][e(418)])return void(t[e(320)]=n[i])}}}[oe(586)](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(392)](o.id,n);for(let n=0;n<t[i(299)];n++){if(i(313)==e&&t[n][i(386)]||i(386)==e&&t[n][i(313)])continue;if(i(465)==t[n][i(418)]){t[n][i(340)]=0;continue}const s=r[i(593)](t[n][i(558)]),o=r[i(593)](t[n].id);t[n][i(340)]=s-o}}[oe(462)](t,e,i=!1){const n=oe,s=[];let r=this[n(304)][n(453)](t),o=this[n(304)][n(453)](e);for(-1==o&&(o=this[n(304)][n(300)][n(299)],i=!1);r<o;)s[n(591)](this[n(304)][n(521)](r)),r++;return i&&s[n(591)](this[n(304)][n(521)](r)),s}[oe(332)](t,e,i,n){const s=oe,r=this[s(460)][s(458)][s(492)];let o=e;for(;t[o]&&t[o][s(386)];)o++;let a=n;for(;i[a]&&i[a][s(313)];)a++;u(t,e,o),u(i,n,a);const c=i[s(527)](n,a)[s(518)](t[s(527)](e,o));return c[s(565)]((t,e)=>t[s(562)]!=e[s(562)]?t[s(562)]-e[s(562)]:t[s(315)]!=e[s(315)]?t[s(315)]-e[s(315)]:t[s(340)]!=e[s(340)]?e[s(340)]-t[s(340)]:!!t[s(386)]!=!!e[s(386)]?-1==t[s(562)]||0==t[s(562)]?t[s(386)]?-1:1:t[s(386)]?1:-1:t[s(473)]-e[s(473)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(303)],c=!0;for(let s=e;s<i;s++)if(r[n(344)](t[s][n(582)])||(c=!1),t[s][n(582)][n(479)]<e&&(o=s),t[s][n(582)][n(475)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(562)]=s<=o?-1:s<a?0:1,t[s][n(473)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(340)]?t[i][n(315)]=u:(u++,t[i][n(315)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(562)]&&(t[s][n(315)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(340)]?t[e][n(315)]=u:(u--,t[e][n(315)]=u,u--)}}[oe(429)](t){const e=oe,i=new Map,n=this[e(460)][e(458)][e(492)];for(let s=1;s<t[e(299)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(465)==c[e(418)])continue;if(c[e(418)]!=u[e(418)])continue;if(!n[e(543)](u[e(582)])||n[e(548)](u[e(582)]))continue;if(!n[e(543)](c[e(582)])||n[e(548)](c[e(582)]))continue;if((t[s][e(386)]||t[s][e(515)])&&t[s-1][e(313)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(313)]||!t[s-1][e(386)]&&!t[s-1][e(515)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(315)]==o[e(315)],h=Math[e(356)](r[e(315)])<Math[e(356)](o[e(315)])&&0==o[e(340)];(l||h)&&(i[e(392)](o.id,r.id),t[e(596)](a,1),s--,r[e(386)]=!1)}for(let n=0;n<t[e(299)];n++)i[e(422)](t[n][e(558)])&&(t[n][e(558)]=i[e(593)](t[n][e(558)]))}[oe(576)](t){const e=oe,i=new Set(t[e(420)](t=>t.id));for(let n=0;n<t[e(299)];n++)i[e(422)](t[n][e(558)])||0==t[n][e(340)]||(t[n][e(395)]=!0);return t[e(467)](t=>!t[e(395)])}[oe(532)](t){const e=oe,i=new Set;for(let n=0;n<t[e(299)];n++){if(i[e(422)](t[n].id)&&t[n][e(313)]&&(t[n][e(395)]=!0),t[n][e(395)])continue;if(0==t[n][e(340)])continue;if(e(393)!=t[n][e(418)])continue;if(null==t[n][e(558)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(558)];)e(393)==t[s][e(418)]?r++:e(424)==t[s][e(418)]&&r--,s++;if(0!=r)if(t[n][e(313)])t[n][e(395)]=!0;else for(;s!=n;)t[s][e(313)]&&0!=t[s][e(340)]&&(t[s][e(395)]=!0,i[e(615)](t[s][e(558)])),s--}return t[e(467)](t=>!t[e(395)])}[oe(358)](t){const e=oe,i=this[e(460)][e(458)][e(492)];for(let n=0;n<t[e(299)];n++){if(!(t[n][e(386)]||t[n][e(515)]||t[n][e(313)]||t[n][e(320)]))continue;if(0==t[n][e(340)])continue;const s=t[n][e(582)];i[e(543)](s)||i[e(548)](s)||(t[n][e(386)]&&delete t[n][e(386)],t[n][e(515)]&&delete t[n][e(515)],t[n][e(320)]&&delete t[n][e(320)],t[n][e(313)]&&(t[n][e(395)]=!0))}return t[e(467)](t=>!t[e(395)])}[oe(364)](t,e,i){const n=oe,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(460)][n(458)],c=a[n(492)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(299)];e++)if(n(393)===t[e][n(418)]){t[e][n(321)]=a[n(333)](s,f);const i=new K.ModelElement(t[e][n(582)][n(493)],t[e][n(582)][n(329)]());u[0][n(394)](i),f[n(591)](0),u[n(584)](i),t[e][n(587)]=a[n(333)](s,f)}else n(424)===t[e][n(418)]?(u[n(556)](),t[e][n(321)]=a[n(333)](s,f),f[n(540)](),f[f[n(299)]-1]++,t[e][n(587)]=a[n(333)](s,f)):(t[e][n(321)]=a[n(333)](s,f),d?d[n(412)]+=t[e][n(582)][n(501)]:d=new K.ModelText(t[e][n(582)][n(501)],t[e][n(582)][n(329)]()),t[e+1]&&n(465)===t[e+1][n(418)]&&v(d,t[e+1][n(582)])||(u[0][n(394)](d),d=null),f[f[n(299)]-1]+=t[e][n(582)][n(569)],t[e][n(587)]=a[n(333)](s,f));for(let e=0;e<t[n(299)];e++){const i=t[e][n(321)],s=t[e][n(587)];for(const s of t[e][n(488)])o[n(392)](s,{start:i,end:null});m(n(320),e,i,s),m(n(515),e,i,s),m(n(313),e,i,s),m(n(386),e,i,s);for(const i of t[e][n(314)]){const t=o[n(593)](i);t?t[n(499)]=s:o[n(392)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(460)][n(458)][n(580)](e[n(442)],e[n(499)]);s[n(507)][n(392)](t,i)}return r[n(565)]((t,e)=>{const i=n,r=s[i(507)][i(593)](i(291)+t.id),o=s[i(507)][i(593)](i(291)+e.id);return r[i(442)][i(296)](o[i(442)])?-1:r[i(442)][i(523)](o[i(442)])?1:r[i(499)][i(296)](o[i(499)])?-1:r[i(499)][i(523)](o[i(499)])?1:i(615)===t[i(418)]?-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(349)]:null,d=i===t[o(299)]-1,f=h[e][0],m=c[o(567)](t[i][o(582)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(499)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(349)]!==u&&(l[e][o(499)]=s,f&&f[o(349)]===l[e][o(349)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(393)!==t[i][o(418)]||f&&f[o(349)]===u||h[e][o(584)]({userId:u,object:t[i][o(582)],change:l[e]}),o(424)===t[i][o(418)]&&f&&f[o(437)]===t[i][o(582)]&&(h[e][o(556)](),l[e]=f[o(341)])),l[e]&&d&&(l[e][o(499)]=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(582)],f=a[h(492)][h(543)](d)&&!a[h(492)][h(548)](d),m=t[h(560)]==o[h(387)]&&o[h(537)];if(f&&m)return;const p=a[h(580)](t,o),v=e[h(593)](u),g=new Xt({author:v,type:h(386)==l||h(515)==l?h(615):h(461),data:{isSuggestion:h(515)==l||h(320)==l},createdAt:new Date,rootName:i});r[h(591)](g),s[h(507)][h(392)](h(291)+g.id,p)}function v(t,e){const i=n,s=t[i(329)](),r=e[i(329)]();for(const t of s){if(t[1]!==e[i(360)](t[0]))return!1;r[i(362)]()}return r[i(362)]()[i(557)]}}[oe(324)](){const t=oe;this[t(460)][t(370)][t(534)](t(311))[t(411)]({view:t(337)}),this[t(460)][t(370)][t(534)](t(391))[t(448)]({model:t(337),view:e=>{const i=t,n=e[i(396)][i(511)](":")[1],s=this[i(489)](n);if(!s)return null;const r=i(615)==s[i(418)]?i(559):i(357),o=[i(308),i(592)+r];return s[i(501)][i(594)]&&o[i(591)](i(592)+r+i(398)),this[i(389)]==s&&o[i(591)](i(383)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(460)][t(370)][t(534)](t(311))[t(615)](e=>{const i=t;e.on(i(538),(t,e,n)=>{const s=i,r=e[s(456)][s(441)](0);if(!r||!r.is(s(449),s(588)))return;if(!n[s(545)][s(450)](r,{attributes:[s(496),s(369)]}))return;const o=e[s(524)][s(442)][s(560)];n[s(589)][s(432)](s(496),r[s(360)](s(496)),o),n[s(589)][s(432)](s(369),r[s(360)](s(369)),o)},{priority:i(297)})}),this[t(460)][t(370)][t(534)](t(311))[t(615)](e=>{const i=t;e.on(i(449),(t,e,n)=>{const s=i;if(!n[s(545)][s(450)](e[s(456)],{attributes:[s(496),s(369)]}))return;if(e[s(524)][s(345)])return;const r=e[s(524)][s(442)][s(560)];r[s(443)](s(496))||r[s(443)](s(334))||(n[s(589)][s(432)](s(496),e[s(456)][s(360)](s(496)),r),n[s(589)][s(432)](s(369),e[s(456)][s(360)](s(369)),r))},{priority:i(297)})}),this[t(460)][t(370)][t(534)](t(311))[t(598)]({view:{name:t(577),attributes:{vid:!0}},model:{key:t(334),value:e=>e[t(360)](t(334))}}),this[t(460)][t(458)][t(492)].on(t(614),(e,[,i])=>{const n=t;[n(496),n(369),n(334)][n(342)](i)&&(e[n(530)]=!0,e[n(367)]())},{priority:t(454)}),this[t(460)][t(370)][t(534)](t(550))[t(615)](e=>{const i=t;e.on(i(427),(t,e,n)=>{const s=i;if(" "!=e[s(582)][s(501)]||e[s(582)][s(387)][s(328)]>1)return;if(!n[s(545)][s(450)](e[s(582)],t[s(493)]))return;const r=n[s(589)],o=n[s(347)][s(566)](e[s(376)]);r[s(503)](o,r[s(310)](s(577)))})}),this[t(460)][t(370)][t(534)](t(550))[t(405)]({model:t(337)}),this[t(460)][t(471)][t(452)].on(t(385),function(e){const i=t,n=e[i(407)][i(593)](i(415));return(t,s,r)=>{const o=i,a=s[o(396)][o(511)](":")[1],c=n[o(489)](a);if(!c)return null;const u=o(615)==c[o(418)]?o(511):o(380);if(!r[o(545)][o(553)](s[o(414)],t[o(493)]))return;const l=s[o(414)][o(353)](),h=s[o(414)][o(442)],d=e[o(458)][o(492)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(582)];p=p||d[o(425)](e);const i=r[o(347)][o(307)](e);if(i&&i[o(531)](o(431)))return;o(424)==t[o(418)]&&d[o(543)](e)&&!d[o(548)](e)&&(e[o(368)]||h[o(451)]?f&&f[o(387)]==e||(f=e,g(t[o(321)]),v=!0):m=m||t[o(321)])}function g(t){const e=o,i=r[e(589)][e(352)](e(577),{class:e(592)+u}),a=r[e(347)][e(400)](t);c[e(501)][e(594)]&&r[e(589)][e(408)](e(592)+u+e(398),i),n[e(389)]==c&&r[e(589)][e(408)](e(383),i),r[e(589)][e(544)](a,i),r[e(347)][e(512)](i,s[e(396)])}p||v||!m||g(m)}}(this[t(460)]),{priority:t(514)}),this[t(460)][t(471)][t(452)].on(t(612),(e,i,n)=>{const s=t,r=n[s(347)][s(346)](i[s(396)]);if(r)for(const t of r)(t[s(375)](s(487))||t[s(375)](s(434)))&&(n[s(347)][s(355)](t,i[s(396)]),n[s(589)][s(461)](t))},{priority:t(514)}),this[t(460)][t(471)][t(452)].on(t(385),(e,i,n)=>{const s=t,r=i[s(396)][s(511)](":")[1],o=this[s(489)](r);if(!o)return null;const a=s(615)==o[s(418)]?s(511):s(380);if(n[s(545)][s(553)](i[s(414)],e[s(493)]))for(const t of i[s(414)][s(571)]()){if(!t.is(s(449),s(528)))continue;const e=n[s(589)][s(352)](s(577),{class:s(592)+a}),r=n[s(347)][s(400)](this[s(460)][s(458)][s(476)](t));o[s(501)][s(594)]&&n[s(589)][s(408)](s(592)+a+s(398),e),this[s(389)]==o&&n[s(589)][s(408)](s(383),e),n[s(589)][s(544)](r,e),n[s(347)][s(512)](e,i[s(396)])}},{priority:t(514)}),this[t(460)][t(458)][t(490)].on(t(341),()=>{const e=t;this[e(460)][e(471)][e(541)][e(341)](t=>{const i=e;for(const e of this[i(460)][i(458)][i(490)][i(483)]()){const n=this[i(460)][i(458)][i(490)][i(447)](e),s=this[i(460)][i(471)][i(541)][i(490)][i(447)](e);if(s){const e=n[i(360)](i(436));if(t[i(294)](i(292),s),t[i(444)](i(323),s),t[i(444)](i(446),s),t[i(444)](i(554),s),e){const n=this[i(489)](e);if(!n)return null;t[i(432)](i(292),e,s),t[i(408)](i(302)+n[i(418)],s),this[i(389)]==n&&t[i(408)](i(554),s)}}}})}),this[t(460)][t(370)][t(534)](t(311))[t(411)]({view:t(430),model:e=>t(317)+e,converterPriority:t(454)}),this[t(460)][t(370)][t(534)](t(311))[t(411)]({view:t(378),model:e=>t(574)+e,converterPriority:t(454)}),this[t(460)][t(370)][t(534)](t(550))[t(405)]({model:t(491),view:e=>({name:t(401)+e,group:t(491)}),converterPriority:t(454)}),this[t(460)][t(370)][t(534)](t(391))[t(448)]({model:t(491),view:e=>{const i=t,n=e[i(396)][i(511)](":")[1];return i(559)!=n&&i(357)!=n?null:{classes:[i(581),i(433)+n]}}}),this[t(460)][t(471)][t(452)].on(t(366),le(this[t(460)],t(380)),{priority:t(514)}),this[t(460)][t(471)][t(452)].on(t(438),le(this[t(460)],t(511)),{priority:t(514)}),this[t(460)][t(471)][t(452)].on(t(416),(e,i,n)=>{const s=t,r=n[s(347)][s(346)](i[s(396)]);if(r)for(const t of r)t.is(s(293))&&(n[s(347)][s(355)](t,i[s(396)]),n[s(589)][s(461)](t))},{priority:t(514)})}[oe(489)](t){const e=oe;return this[e(384)][e(593)](t)}[oe(466)](t){const e=oe;return this[e(319)]&&this[e(319)][e(502)](),this[e(319)]=new Gt(this[e(460)][e(602)],t),this[e(319)]}[oe(525)](){const t=oe;this[t(460)][t(458)][t(490)][t(608)][t(570)](t(337)),this.on(t(482),(e,i,n,s)=>{const r=t;s&&this[r(350)][r(461)](s),n&&(this[r(350)][r(615)]({view:n,stackId:r(504),position:{target:()=>{const t=r,e=this[t(460)][t(471)],i=this[t(489)](n[t(326)]);let s;if(i[t(501)][t(604)]){const n=e[t(541)][t(316)](i[t(547)]);s=Array[t(404)](n[t(494)]())}else{const i=this[t(460)][t(458)][t(507)][t(593)](t(291)+n[t(326)]);s=Array[t(404)](e[t(347)][t(346)](i[t(493)]))[t(420)](i=>e[t(541)][t(572)][t(426)](i))[t(420)](e=>Array[t(404)](e[t(494)]()))[t(549)]()}return this[t(474)]&&s[t(402)](e=>e[t(361)]-3<=this[t(474)].y&&e[t(601)]+3>=this[t(474)].y&&e[t(522)]-3<=this[t(474)].x&&e[t(535)]+3>=this[t(474)].x)||s[0]}}}),this[r(350)][r(552)](r(504)))}),this.on(t(295),(e,i,n,s)=>{const r=t;this[r(464)]=n?this[r(466)](n):null,this[r(460)][r(458)][r(341)](()=>{const t=r,e=this[t(460)][t(471)];s&&(s[t(501)][t(604)]?e[t(541)][t(341)](i=>{const n=t;i[n(444)](n(554),e[n(541)][n(490)][n(447)](s[n(547)]))}):e[t(564)](t(291)+s.id)),n&&(n[t(501)][t(604)]?e[t(541)][t(341)](i=>{const s=t;i[s(408)](s(554),e[s(541)][s(490)][s(447)](n[s(547)]))}):e[t(564)](t(291)+n.id))})}),this[t(298)](this[t(460)][t(471)][t(541)][t(490)],t(508),(e,i)=>{const n=t;if(this[n(389)])return;const s=this[n(322)](i[n(611)]),r=this[n(384)][n(593)](s);r?(this[n(474)]={x:i[n(331)].x,y:i[n(331)].y},this[n(464)]=this[n(466)](r)):(this[n(474)]=null,this[n(464)]=null)}),this[t(298)](this[t(460)][t(471)][t(541)][t(490)],t(578),(e,i)=>{const n=t,s=this[n(322)](i[n(611)]),r=this[n(384)][n(593)](s);r?(this[n(474)]={x:i[n(331)].x,y:i[n(331)].y},r===this[n(389)]?this[n(350)][n(371)]():this[n(389)]=r):(this[n(474)]=null,this[n(389)]=null)})}[oe(322)](t){const e=oe;do{const i=t[e(360)](e(292));if(i)return i;t=t[e(387)]}while(t);return null}[oe(607)](){const t=oe;this[t(460)][t(458)][t(341)](e=>{const i=t;for(const t of this[i(460)][i(458)][i(507)])e[i(470)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(545)][r(553)](n[r(414)],i[r(493)]))return;const o=n[r(414)][r(353)](),a=n[r(414)][r(442)],c=t[r(458)][r(492)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(582)];h=h||c[r(425)](e);const i=s[r(347)][r(307)](e);if(i&&i[r(531)](r(431)))return;r(424)==t[r(418)]&&c[r(543)](e)&&!c[r(548)](e)&&(e[r(368)]||a[r(451)]?u&&u[r(387)]==e||(u=e,f(t[r(321)]),d=!0):l=l||t[r(321)])}function f(t){const i=r,o=s[i(347)][i(400)](t),a=s[i(589)][i(352)](i(577),{class:i(433)+e});s[i(589)][i(544)](o,a),s[i(347)][i(512)](a,n[i(396)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(407)][e(593)](ue);this[e(406)]=!1,this[e(298)](i,e(513),()=>this[e(372)]()),this[e(298)](i,e(390),()=>this[e(372)]())}[oe(435)](){const t=oe,e=this[t(460)],i=e[t(407)][t(593)](ue),n=i[t(379)]?i[t(481)][t(359)]:null;e[t(439)][t(593)](t(419))[t(409)](n)}[oe(372)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(460)][t(407)][t(593)](ue),r=s&&n[t(497)](s[t(359)]);this[t(579)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(539)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(407)][i(593)](ue);this[i(406)]=!1,this[i(539)]=i(495)===e?1:-1,this[i(298)](n,i(513),()=>this[i(372)]()),this[i(298)](n,i(390),()=>this[i(372)]()),this[i(298)](n,i(295),()=>this[i(372)]())}[oe(435)](){const e=oe,i=this[e(460)],n=i[e(407)][e(593)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(389)]=s?n[e(481)][e(506)][e(593)](r+this[e(539)]):n[e(481)][e(506)][e(516)],n[e(389)][e(501)][e(604)])o=i[e(471)][e(541)][e(316)](n[e(389)][e(547)]);else{const t=i[e(458)][e(507)][e(593)](e(291)+n[e(389)].id);o=(0,Q.getMarkerDomElement)(i[e(471)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(372)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(460)][t(407)][t(593)](ue);this[t(579)]=!!(r&&s&&n)&&(!e||(1===this[t(539)]?i<n-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(846971===parseInt(e(429))/1+-parseInt(e(404))/2+parseInt(e(396))/3*(-parseInt(e(411))/4)+parseInt(e(403))/5*(-parseInt(e(428))/6)+-parseInt(e(420))/7*(-parseInt(e(432))/8)+parseInt(e(413))/9+parseInt(e(399))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(422)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(430)](e(425),!1),this[e(430)](e(395),!1),this[e(430)](e(406),0),this[e(430)](e(427),0),this[e(430)](e(415),!1),this[e(430)](e(405),!1),this[e(424)](e(418)).to(this,e(395),this,e(427),(t,e)=>t&&e>0),this[e(424)](e(398)).to(this,e(395),this,e(406),this,e(427),this,e(425),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(410));if(!s)return at(t,o(397));const a=at(t,o(433),s);return r?at(t,o(408),[n+1,s]):a}),n[e(430)]({label:at(t,e(435)),tooltip:!0,icon:_t.IconChevronUp}),s[e(430)]({label:at(t,e(412)),tooltip:!0,icon:_t.IconChevronDown}),n[e(424)](e(423)).to(this,e(405)),s[e(424)](e(423)).to(this,e(415)),n.on(e(400),()=>this[e(417)](e(400),e(414))),s.on(e(400),()=>this[e(417)](e(400),e(416))),this[e(434)]({tag:e(426),attributes:{class:["ck",e(393),e(401)]},children:[{tag:e(431),attributes:{class:[e(421)]},children:[{tag:e(431),attributes:{class:[e(419),i.if(e(418),e(394),t=>!t)]},children:[{text:i.to(e(425),i=>i?at(t,e(409))+": ":at(t,e(402))+": ")}]},{text:i.to(e(398))}]},new It.ToolbarSeparatorView,{tag:e(426),attributes:{class:[e(407)]},children:[n,s]}]})}}function ge(){const t=["ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","isEnabled","bind","isNavigationMode","div","numberOfChanges","3011076XCYEML","614255lwdOZy","set","span","3290816hyYunJ","NUMBER_OF_CHANGES","setTemplate","Show previous change","ck-revision-history-ui","ck-hidden","isReady","9ipZPyn","No changes","_statusText","5465530QNJOBe","execute","ck-revision-history-ui__changes-navigation","Total","15DLZsuq","152940rBKebP","isBackwardNavigationEnabled","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","Loading...","680268eKualF","Show next change","1196676YQGyga","backward","isForwardNavigationEnabled","forward","fire","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","28hLQUlL"];return(ge=function(){return t})()}var ye=i(772),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["25092hzXfFh","pluginName","984sNAMBV","53125YdcBaq","hide","978372jWRHqk","roots","358OwlCmy","15040tuUdYj","534KCnLEj","change","removeClass","show","editing","14buUipq","addClass","view","587tnWBaN","ck-editor__editable__loading-overlay","document","4029320ZFBSbm","RevisionViewerLoadingOverlay","isOfficialPlugin","editor","isPremiumPlugin"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=181]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(126796===parseInt(e(186))/1*(-parseInt(e(201))/2)+parseInt(e(203))/3*(-parseInt(e(196))/4)+-parseInt(e(197))/5+-parseInt(e(194))/6+-parseInt(e(183))/7*(parseInt(e(202))/8)+-parseInt(e(199))/9+parseInt(e(189))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(187);class Se extends J.Plugin{static get[be(195)](){return be(190)}static get[be(191)](){return!0}static get[be(193)](){return!0}[be(181)](){const t=be,e=this[t(192)][t(182)][t(185)];e[t(204)](i=>{const n=t;for(const t of e[n(188)][n(200)])i[n(184)](Ie,t)})}[be(198)](){const t=be,e=this[t(192)][t(182)][t(185)];e[t(204)](i=>{const n=t;for(const t of e[n(188)][n(200)])i[n(205)](Ie,t)})}}const Oe=xe;function Te(){const t=["isNavigationMode","showNextChange","forward","261744pzFgpq","7eHJntn","isOfficialPlugin","hide","19179QmQVaS","restoreRevision","currentChangeNumber","isForwardNavigationEnabled","exitToEditing","init","975909recPJz","Back to editing","2IFSVdV","16805TvxMfx","change:isReady","isPremiumPlugin","listenTo","287362mFxMoc","requires","bind","pluginName","488360FtLtnE","closeRevisionViewerCallback","RevisionViewerUI","190dAWzse","editor","numberOfChanges","set","execute","isEnabled","isBackwardNavigationEnabled","show","showPreviousChange","revisionHistory","get","config","isReady","Restore this revision","componentFactory","plugins","90WWlhoY","ck-revision-history-ui__back-to-editing","add","commands","changesNavigation","5260959QkKSBJ"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=327]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(250951===parseInt(e(328))/1+-parseInt(e(372))/2*(-parseInt(e(370))/3)+parseInt(e(360))/4+-parseInt(e(373))/5*(parseInt(e(351))/6)+parseInt(e(361))/7*(parseInt(e(332))/8)+parseInt(e(364))/9*(parseInt(e(335))/10)+-parseInt(e(356))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(331)](){return Oe(334)}static get[Oe(362)](){return!0}static get[Oe(375)](){return!0}static get[Oe(329)](){return[ue,Se]}[Oe(369)](){const t=Oe,e=this[t(336)],i=e[t(350)][t(345)](ue),n=e[t(350)][t(345)](Se);e.ui[t(349)][t(353)](t(368),i=>{const n=t,s=new It.ButtonView(i);return s[n(338)]({label:at(i,n(371)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(352)}),this[n(327)](s,n(339),()=>{const t=n;e[t(346)][t(345)](t(344))[t(333)]()}),s}),e.ui[t(349)][t(353)](t(365),i=>{const n=t,s=new It.ButtonView(i);return s[n(338)]({label:at(i,n(348)),withText:!0,tooltip:!0}),s[n(330)](n(340)).to(e[n(354)][n(345)](n(365))),this[n(327)](s,n(339),()=>e[n(339)](n(365))),s}),e.ui[t(349)][t(353)](t(355),n=>{const s=t,r=new ve(n),o=e[s(354)][s(345)](s(343)),a=e[s(354)][s(345)](s(358));return r[s(330)](s(341)).to(o,s(340)),r[s(330)](s(367)).to(a,s(340)),r[s(330)](s(347),s(366),s(337),s(357)).to(i),this[s(327)](r,s(339),(t,i)=>{const n=s;e[n(339)](n(359)===i?n(358):n(343))}),r}),n[t(342)](),i.on(t(374),(e,i,s)=>{const r=t;s?n[r(363)]():n[r(342)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["368364ugCzxn","span","_tooltipString","value","39206uTUcPf","992523MqYgIV","scrollWidth","3054642dEZsPX","13002230hhGela","render","_resizeObserver","placeholder","element","fieldView","destroy","_updateTooltipText","set","ck-revision-history-sidebar__revision-name","5243679WmleqC","clientWidth","input","Enter the revision name","bindTemplate","35wsJkdl","4573736ekCoxp","listenTo","Revision name","extendTemplate","7ZUjpkA","17Lpmmdm","ck-tooltip_multi-line"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(382687===-parseInt(e(471))/1*(-parseInt(e(477))/2)+parseInt(e(478))/3+parseInt(e(473))/4*(-parseInt(e(465))/5)+parseInt(e(480))/6+parseInt(e(470))/7*(parseInt(e(466))/8)+parseInt(e(460))/9+-parseInt(e(481))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(483)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(464)];this[i(489)]({label:at(t,i(468)),_tooltipString:""}),this[i(486)][i(484)]=at(t,i(463)),this[i(469)]({tag:i(474),attributes:{class:[i(490)],"data-cke-tooltip-text":n.to(i(475)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(472)}})}[Me(482)](){const e=Me;super[e(482)](),this[e(483)]=new t.ResizeObserver(this[e(486)][e(485)],()=>this[e(488)]()),this[e(467)](this[e(486)],e(462),()=>this[e(488)]())}[Me(487)](){const t=Me;super[t(487)](),this[t(483)]&&this[t(483)][t(487)]()}[Me(488)](){const t=Me,e=this[t(486)][t(485)];this[t(475)]=e[t(479)]>e[t(461)]&&e[t(476)]||""}}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["3945330DczKrV","Revision creator","6kVKzDj","461320FLpxtm","setTemplate","span","436920TCkkNT","Revision author","2066vtDQzC","name","ck-revision-history-sidebar__revision-author__name","push","5008194HvvwPt","0 0 11 10","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","8wuApXl","2380105zrAjEt","set","553iSADmr","10043790HvxlSB"];return(je=function(){return t})()}function Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(337480===parseInt(e(377))/1*(-parseInt(e(387))/2)+parseInt(e(381))/3*(parseInt(e(382))/4)+-parseInt(e(385))/5+parseInt(e(379))/6+-parseInt(e(375))/7+-parseInt(e(374))/8*(parseInt(e(370))/9)+parseInt(e(378))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(376)]({content:_t.IconUser,viewBox:n(371)});const r=["ck",n(372)];i&&r[n(369)](n(373));const o=[{tag:n(384),attributes:{class:["ck",n(368)],title:at(t,n(i?380:386))},children:[s,e[n(367)]]}];this[n(383)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=166]})(t,e)}function We(){var t=["2472jUajoK","6cNyZwc","toLocaleDateString","796728MTxFRU","2PyRBqn","355490ttKlrh","10131758vvJxvt","long","toLocaleTimeString","numeric","7060SXexbB","614355uhsGWS","374pRbGwg","10471770uUnnOe","5375792EmLsCs","9slFtLQ"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(747140===parseInt(e(177))/1*(-parseInt(e(178))/2)+-parseInt(e(168))/3+-parseInt(e(173))/4*(-parseInt(e(167))/5)+-parseInt(e(174))/6*(parseInt(e(179))/7)+parseInt(e(171))/8*(parseInt(e(172))/9)+-parseInt(e(170))/10+-parseInt(e(169))/11*(-parseInt(e(176))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(111),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Et();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["first","change:isActionsDropdownOpen","source","name","407718rORGux","_action","477428ijecPV","isEnabled","Compare against selected","listView","action","1872684ysRsxt","11755340KnHTrb","isOpen","Show more items","3WXpasn","Name this revision","isReady","menu","children","panelPosition","3660760cogKOM","ck-on","isActionsDropdownOpen","Restore this revision","model","72rXdDvy","isVisible","2889754SaVMQw","button","add","24EymVVJ","36DfpyCk","bind","locale","bindTemplate","menuitem","map","set","class","execute","buttonView","12LUPBrC","function","listenTo","find","items","ck-revision-history-sidebar__revision__actions","stopPropagation","extendTemplate","4415031rqIgzz"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(833173===parseInt(e(397))/1*(-parseInt(e(388))/2)+parseInt(e(386))/3*(parseInt(e(414))/4)+parseInt(e(403))/5*(parseInt(e(424))/6)+-parseInt(e(410))/7+-parseInt(e(413))/8*(-parseInt(e(381))/9)+-parseInt(e(394))/10+-parseInt(e(393))/11*(parseInt(e(408))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=142]})(t,e)}function Je(){const t=["isConfirm","ck-revision-history-sidebar__actions_dropdown_open","_revision","uiLanguage","span","authors","length","220","render","createdAt","fire","map","setTemplate","closest","value","select","filter","1781004zyDSyc","_requireRevisionName","ck-revision-history-sidebar__revision","listenTo","_createdAtFormatted","unhighlight","30zlhOYv","ck-disabled","fieldView","from","isHighlighted","isSelected","15140FZGshH","ck-revision-history-sidebar__revision__controls-wrapper","deselect","ck-reset","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","creator",".ck-confirm-view","ck-revision-history-sidebar__revision_selected","srcElement","bind","ck-revision-history-sidebar__revision_highlighted","bindTemplate","revisionNameView","563FfzwKW","isEnabled","1024cLuFOQ","extendTemplate","ck-revision-history-sidebar__revision-authors","name","8855154wiHchJ","div","2778636WZbimu","setName","5391608MmYRBz","highlight","change","ck-revision-history-sidebar__revision__date","isActionsDropdownOpen","element","set","unshift","ck-revision-history-sidebar__revision-wrapper","isReady","733509qrvCQT","revisionActionsView"];return(Je=function(){return t})()}!function(t){const e=Ge,i=t();for(;;)try{if(522769===parseInt(e(172))/1*(parseInt(e(174))/2)+parseInt(e(180))/3+parseInt(e(147))/4+-parseInt(e(159))/5+parseInt(e(153))/6*(parseInt(e(192))/7)+-parseInt(e(182))/8+-parseInt(e(178))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Ye(171)];[Ye(193)];[Ye(196)];[Ye(148)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(170)],a=function(t,e){const i=r,n=Array[i(156)](e[i(199)])[i(146)](t=>t!=e[i(164)]);return e[i(164)]&&n[i(189)](e[i(164)]),n[i(205)](n=>new Le(t,n,n==e[i(164)]))}(e,i);this.id=i.id,this[r(196)]=i,this[r(148)]=s,this[r(168)](r(177),r(203)).to(i),this[r(168)](r(151)).to(this,r(203),t=>{return i=e[r(197)],(n=t)[(s=ze)(175)](i,{month:s(180),day:s(166)})+", "+n[s(181)](i,{hour:s(166),minute:s(166)});var i,n,s}),this[r(188)](r(158),!1),this[r(188)](r(157),!1),this[r(188)](r(186),!1),this[r(188)](r(191),!1),this[r(188)](r(173),!1),this[r(171)]=new De(e,It.createLabeledInputText),this[r(171)][r(155)][r(175)]({attributes:{maxlength:r(201)}}),this[r(171)][r(155)][r(168)](r(144)).to(this,r(177),t=>t||this[r(151)]),this[r(171)][r(168)](r(173)).to(this,r(158),this,r(173),(t,e)=>t&&e),this[r(193)]=n&&n[r(200)]?function(e,i){const n=qe,s=e[n(417)],r=e[n(416)],o=(0,It.createDropdown)(r);o[n(402)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(416)],s={"Compare against selected":at(n,i(390)),"Name this revision":at(n,i(398)),"Restore this revision":at(n,i(406))};return e[i(419)](t=>{const e=i,n=s[t[e(385)]];return n&&n!==t[e(385)]&&(t[e(385)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(411),model:new It.UIModel({label:t[s(385)],class:t[s(421)],withText:!0,role:s(418),_action:t[s(392)]})};i[s(407)][s(415)](s(389)).to(e,s(405),i=>s(425)!=typeof t[s(389)]||!i||t[s(389)](e)),o[s(412)](i)}return o}(e,i);return e[n(415)](n(405)).to(o,n(395)),o[n(423)][n(420)]({label:at(r,n(396)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(380)]({attributes:{class:[n(378),s.if(n(405),n(404))]},on:{click:s.to(t=>t[n(379)]())}}),o.on(n(422),t=>{const i=n;e[i(399)]&&i(425)==typeof t[i(384)][i(387)]&&t[i(384)][i(387)](e)}),(0,It.addListToDropdown)(o,a,{role:n(400)}),o[n(375)](e,n(383),(t,s,r)=>{const a=n;if(r)for(const t of o[a(391)][a(377)]){const n=t[a(401)][a(382)],s=i[a(376)](t=>t[a(392)]===n[a(387)])[a(409)];t[a(409)]=void 0===s||s(e)}}),o}(this,n):"",this[r(193)]&&this[r(193)][r(168)](r(173)).to(this),this[r(142)]({tag:r(179),attributes:{class:["ck",r(162),r(190),o.if(r(194),r(163))]},children:[{tag:r(179),attributes:{class:["ck",r(162),r(149),o.if(r(173),r(154),t=>!t),o.if(r(158),r(166)),o.if(r(157),r(169)),o.if(r(186),r(195))]},children:[this[r(171)],{tag:r(198),attributes:{class:["ck",r(185)]},children:[{text:o.to(r(151))}]},{tag:r(179),attributes:{class:["ck",r(160)]},children:[{tag:"ul",attributes:{class:["ck",r(176)]},children:a}]},this[r(193)]],on:{click:o.to(t=>{const e=r;t[e(167)][e(143)](e(165))||this[e(191)]&&this[e(173)]&&this[e(204)](e(145),{id:this.id})})}}]})}[Ye(202)](){const t=Ye;super[t(202)]();const e=this[t(171)][t(155)][t(187)];this[t(150)](e,t(184),()=>{const i=t;this[i(148)]&&!e[i(144)]||this[i(204)](i(181),{id:this.id,name:e[i(144)]}),e[i(144)]||(e[i(144)]=this[i(177)]?this[i(177)]:this[i(151)])})}[Ye(145)](){this[Ye(158)]=!0}[Ye(161)](){this[Ye(158)]=!1}[Ye(183)](){this[Ye(157)]=!0}[Ye(152)](){this[Ye(157)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{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 Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),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 Di=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(),Di.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=Di.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"}),Di.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:En(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 Pi={};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 Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.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&&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=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 Qi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Zi=null,Li.clear(),Wi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.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?Ki.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=Pi[i];return n||(n=new Intl.ListFormat(t,e),Pi[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={...Qi,...e}),$i.set(t,e)}return e}(this.locale):Qi}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 Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}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(En(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?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(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,Ei.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(){Ki.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+(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=Kn(c,e,i)):u>Kn(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(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Vn(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 En(t){return void 0===t}function Dn(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 Pn(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 Zn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!En(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 Qn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Qn(t,e,i),s=Qn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(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]]=Zn(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"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Zn(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 Ps(t,e){return[{},t[e]?ji.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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(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 Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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=Zs(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[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Qs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=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,Ps),ir=Ss(Ms,Fs,js,Ps),nr=Ss(Vs,Fs,js,Ps),sr=Ss(Fs,js,Ps);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ps);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(En(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(En(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||Ki.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:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(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 En(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;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(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||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.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 Er(t){return{regex:t,deser:([t])=>t}}const Dr={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 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,Xn);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 Er(l);case"uu":return Er(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 Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\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 En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(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 Pr(t,e,i){return new jr(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=Dr[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 Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(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 Qr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(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 Xr(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=Ki.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(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]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(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=En(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=Dn(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||Ki.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:Ki.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.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=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(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){En(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,Kn(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||Vn(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,[Qs,er],[Ks,ir],[Xs,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),[Hs,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(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Pr(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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Ki.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(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?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(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=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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):En(e.ordinal)?(l={...this.toObject(),...e},En(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=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Qr(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":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Qr(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 Pn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Pr(Ki.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=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.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&&Dn(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=vo();return(po=function(t,e){return i[t-=233]})(t,e)}function vo(){const t=["7ixsqPa","337820QRptNV","day","local","236320WkHNxK","2010824qlxkiE","hasSame","333EzfFUu","fromJSDate","toRelativeCalendar","745788vTaYzh","41950zcOWYs","3BAeoED","week","month","1485ymWXBS","setLocale","monthLong","minus","823758FkHzDR","22FuEyWd","22JmntJZ","startOf","30MjDmQS","toJSDate","year","weekdayLong"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(248)](t)[i(256)](e),s=fo[i(243)](),r=s[i(258)]({days:1})[i(235)](i(242));let o,a;return n[i(246)](s,i(242))?(o=n[i(235)](i(242))[i(237)](),a=n[i(249)]()):n[i(246)](r,i(242))?(o=r[i(237)](),a=n[i(249)]()):n[i(246)](s,i(253))?(o=n[i(235)](i(253))[i(237)](),a=n[i(239)]||""):n[i(246)](s,i(238))?(o=n[i(235)](i(254))[i(237)](),a=n[i(257)]||""):(o=n[i(235)](i(238))[i(237)](),a=String(n[i(238)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(203406===parseInt(e(255))/1*(parseInt(e(233))/2)+-parseInt(e(252))/3*(parseInt(e(241))/4)+parseInt(e(244))/5*(parseInt(e(236))/6)+parseInt(e(240))/7*(parseInt(e(245))/8)+parseInt(e(247))/9*(-parseInt(e(251))/10)+-parseInt(e(234))/11*(parseInt(e(250))/12)+parseInt(e(259))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();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-=131]})(t,e)}function _o(){const t=["9251028zopGpc","472dLnfrt","createCollection","ck-revision-history-sidebar__time-period__label","remove","11382831cjfNPV","setName","locale","select","3359970gneeuF","ck-revision-history-sidebar__time-period","localizedPeriodName","uiLanguage","110qhrYpQ","182922nPYPif","setTemplate","delegate","_requireRevisionName","div","11118kdARWH","1468iExSct","addRevision","startDate","find","add","removeRevision","span","140357WwlAGp","revisionViews","_revisionActions","2745765iYZOWj","14FoObwO","ck-revision-history-sidebar__time-period__revisions"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(846385===parseInt(e(146))/1*(parseInt(e(163))/2)+-parseInt(e(151))/3*(-parseInt(e(152))/4)+-parseInt(e(141))/5+parseInt(e(132))/6+parseInt(e(159))/7*(-parseInt(e(133))/8)+parseInt(e(137))/9+parseInt(e(145))/10*(-parseInt(e(162))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(154)];[bo(160)];[bo(161)];[bo(149)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(139)][s(144)])[s(143)];this[s(154)]=e,this[s(160)]=this[s(134)](),this[s(161)]=i,this[s(149)]=n,this[s(160)][s(148)](s(140)).to(this),this[s(160)][s(148)](s(138)).to(this),this[s(147)]({tag:s(150),attributes:{class:["ck",s(142)]},children:[{tag:s(158),attributes:{class:["ck",s(135)]},children:[{text:r}]},{tag:s(150),attributes:{class:["ck",s(131)]},children:this[s(160)]}]})}[bo(153)](t){const e=bo,i=new Qe(this[e(139)],t,this[e(161)],this[e(149)]);this[e(160)][e(156)](i)}[bo(157)](t){const e=bo,i=this[e(160)][e(155)](e=>e.id===t.id);this[e(160)][e(136)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["13365xFWydl","ck-reset_all","17562jgnpkC","600RwdCjP","ck-revision-history-sidebar__header","span","Revision history","ck-revision-history-sidebar__header__label","setTemplate","924ErmEjC","content","8379710UMrZMi","1528263priJNz","453220rrglrc","div","146871ZcJkUZ","49YdSekH","3152471kOsAGv"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(628330===parseInt(e(180))/1*(parseInt(e(166))/2)+parseInt(e(176))/3+parseInt(e(177))/4+parseInt(e(164))/5*(parseInt(e(173))/6)+-parseInt(e(181))/7+parseInt(e(167))/8*(-parseInt(e(179))/9)+parseInt(e(175))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(174)]=_t.IconHistory,this[e(172)]({tag:e(178),attributes:{class:["ck",e(165),e(168)]},children:[i,{tag:e(169),attributes:{class:["ck",e(171)]},children:[at(t,e(170))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();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-=203]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(773546===-parseInt(e(224))/1+parseInt(e(210))/2+-parseInt(e(231))/3+parseInt(e(217))/4+-parseInt(e(229))/5+-parseInt(e(243))/6+-parseInt(e(252))/7*(-parseInt(e(208))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(251)];[Mo(209)];[Mo(238)];[Mo(205)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(234)];this[s(251)]=this[s(223)](),this[s(251)][s(212)](s(204)).to(this),this[s(251)][s(212)](s(250)).to(this),this[s(209)]=e,this[s(238)]=i,this[s(205)]=n,this.on(s(204),(t,e)=>{const i=s;this[i(219)](i(226),e)}),this.on(s(250),(t,e)=>{const i=s;this[i(219)](i(227),e)}),this[s(239)](s(214),!1),this[s(248)]({tag:s(241),attributes:{class:["ck",s(249),s(218),s(211)]},children:[new No(t),{tag:s(241),attributes:{class:["ck",s(232),r.if(s(214),s(247),t=>!t)]},children:this[s(251)]}]})}[Mo(213)](){const t=Mo;super[t(213)]();for(const e of this[t(209)])this[t(220)](e);this[t(209)].on(t(235),(e,i)=>{this[t(220)](i)}),this[t(209)].on(t(240),(e,i)=>{this[t(254)](i)})}get[Mo(225)](){const t=Mo;return this[t(251)][t(255)](e=>e[t(225)][t(255)](t=>t))[t(245)]()}[Mo(242)](t){const e=Mo;for(const i of this[e(225)])t&&t.id===i.id?i[e(204)]():i[e(203)]()}[Mo(246)](t){const e=Mo;for(const i of this[e(225)])t[e(221)](({id:t})=>t===i.id)?i[e(228)]():i[e(237)]()}[Mo(220)](t){const e=Mo,i=go(t[e(253)],this[e(206)][e(244)])[e(222)];let n=this[e(251)][e(216)](0);n&&n[e(222)][e(230)]()===i[e(230)]()||(n=new Io(this[e(206)],i,this[e(238)],this[e(205)]),this[e(251)][e(235)](n)),n[e(215)](t)}[Mo(254)](t){const e=Mo,i=go(t[e(253)],this[e(206)][e(244)])[e(222)];this[e(236)](i)[e(233)](t)}[Mo(236)](t){const e=Mo;return this[e(251)][e(207)](i=>i[e(222)][e(230)]()===t[e(230)]())}}function Do(){const t=["isEnabled","addRevision","get","2477324RyUEbp","ck-rounded-corners","fire","_addRevision","some","startDate","createCollection","81305bDGpNR","revisionViews","revisionSelected","revisionSetName","highlight","2716330NeecWG","getTime","4049124OCRAfN","ck-revision-history-sidebar__timeline","removeRevision","bindTemplate","add","_getTimePeriodViewByStartDate","unhighlight","_revisionActions","set","remove","div","selectRevision","7474818PkqHYs","uiLanguage","flat","highlightRevisions","ck-disabled","setTemplate","ck-reset","setName","timePeriodViews","16051063dgGyve","createdAt","_removeRevision","map","deselect","select","_requireRevisionName","locale","find","8CRznHf","_revisions","2162576nymLWG","ck-revision-history-sidebar","delegate","render"];return(Do=function(){return t})()}const Co=jo;function Fo(){const t=["getLaterVisibleRevision","init","_sidebarView","destroy","bind","_revisionViewer","focus","_createRevisionActions","requires","compare","539128mzdDGe","name","9PNTMgg","pluginName","revisionHistory.viewerSidebarContainer","compareAgainstSelected","3202vgkbwo","locale","_revisions","setName","data","fieldView","editor","selectRevision","defaultRevisionActions","assign","Compare against selected","isOfficialPlugin","restoreRevisionCallback","4DQQFMq","diff","listenTo","newRevisionId","map","isVisible","_handleRevisionSetName","nameRevision","Name this revision","availableRevisionActions","2214989aloACh","select","restoreRevision","_revisionsRepository","action","plugins","4BfyIMM","_handleEditorDataReady","isSelected","isEnabled","ready","render","isReady","4070290sOnCuS","repository","remove","config","_handleRevisionSelected","getIndex","getRevisionsInDiff","get","revisionHistory.requireRevisionName","element","revisionHistory","11SwXGXD","2247330Zjteku","351530ChxTye","1896051QAvmTn","RevisionsSidebar","string","revisionSetName","_handleDiffChange","revisionHistory.revisionActions","revisionViews","getRevision","timePeriodViews","getEarlierVisibleRevision","add","change:diff","revisionSelected","appendChild","Restore this revision","isPremiumPlugin","length","highlightRevisions"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=459]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(321893===-parseInt(e(474))/1*(parseInt(e(529))/2)+-parseInt(e(495))/3+-parseInt(e(542))/4*(parseInt(e(494))/5)+parseInt(e(493))/6+parseInt(e(468))/7+-parseInt(e(523))/8*(parseInt(e(525))/9)+-parseInt(e(481))/10*(-parseInt(e(492))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends J.Plugin{[Co(518)];[Co(471)];[Co(515)];static[Co(537)]=[Co(528),Co(470),Co(465)];static[Co(467)]=function(){const t=Co;return{compareAgainstSelected:{name:t(539),action:({plugins:e},i)=>{const n=t,s=e[n(488)](ue),r=s[n(482)];let o=s[n(459)][n(461)],a=i.id;r[n(486)](o)>r[n(486)](a)&&([o,a]=[a,o]),s[n(522)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(488)](ue);return!(s[n(482)][n(487)](s[n(459)])[n(511)]>2||i[n(476)])}},restoreRevision:{name:t(509),action:(e,{id:i})=>{const n=t;e[n(484)][n(488)](n(491))[n(541)](i)},isVisible:({plugins:e},i)=>!!e[t(488)](ue)[t(482)][t(513)](i.id)},nameRevision:{name:t(466),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(488)](ue),o=r[s(482)][s(504)](i);r[s(522)](i,o),n[s(519)](),n[s(534)][s(469)]()}}}}();static get[Co(526)](){return Co(496)}static get[Co(540)](){return!0}static get[Co(510)](){return!0}static get[Co(521)](){return[ue]}constructor(t){const e=Co;super(t),this[e(518)]=t[e(473)][e(488)](ue),this[e(471)]=this[e(518)][e(482)],this[e(515)]=null}[Co(514)](){const t=Co,e=this[t(471)][t(531)],i=this[t(520)](),n=this[t(535)][t(484)][t(488)](t(527));this[t(515)]=new Eo(this[t(535)][t(530)],e,i,this[t(535)][t(484)][t(488)](t(489))),this[t(515)].on(t(507),this[t(485)][t(517)](this)),this[t(515)].on(t(498),this[t(464)][t(517)](this)),this[t(515)][t(517)](t(477)).to(this[t(518)]),this[t(515)][t(503)].on(t(505),(e,i)=>{const n=t;i[n(501)].on(n(505),(t,e)=>{const i=n;e[i(517)](i(477),i(480)).to(this[i(518)])})}),this[t(515)][t(479)](),this[t(460)](this[t(535)][t(533)],t(478),this[t(475)][t(517)](this)),this[t(460)](this[t(518)],t(506),this[t(499)][t(517)](this)),n[t(508)](this[t(515)][t(490)])}[Co(516)](){const t=Co;this[t(515)][t(490)][t(483)](),this[t(515)][t(516)]()}[Co(475)](){const t=Co,e=this[t(471)][t(502)](0);if(e){const i=this[t(471)][t(504)](e.id);this[t(518)][t(522)](e,i)}}[Co(485)](t,e){const i=Co,n=this[i(471)][i(502)](e.id),s=this[i(471)][i(504)](n.id);this[i(518)][i(522)](n,s)}[Co(464)](t,e){const i=Co;this[i(471)][i(502)](e.id)[i(532)](e[i(524)])}[Co(499)](t,e,i){const n=Co,s=this[n(471)][n(487)](i);s[n(511)]>2?(this[n(515)][n(512)](s),this[n(515)][n(536)](null)):(this[n(515)][n(512)]([]),this[n(515)][n(536)](s[0]))}[Co(520)](){const t=Co,e=this[t(535)],i=Po[t(467)],n=e[t(484)][t(488)](t(500))||Po[t(537)];if(n[t(511)])return n[t(462)](n=>{const s=t,r=s(497)==typeof n?Object[s(538)]({},i[n]):n;return r[s(472)]=r[s(472)][s(517)](this,e),r[s(463)]&&(r[s(463)]=r[s(463)][s(517)](this,e)),r})}}function Lo(){const t=["get","125678shFxED","10waEEWS","454527FVIsAR","viewportOffset","fire","isFocused","replace","destroy","element","document","viewportTopOffset","fillFromConfig","focusTracker","editable","toolbar","168448OPOXmW","bind","_toolbarConfig","detachDomRoot","stickyPanel","3822533NXDupZ","attachDomRoot","_view","name","editor","componentFactory","2102124vPZAOQ","config","186eaixpl","restore","_elementReplacer","4MbgeOk","view","render","addToolbar","ready","init","15213240WYsHHv","rootName","isActive","setEditableElement","getRoot","40EYofiC","10hrGiFS","limiterElement","_initToolbar","editing","1828MoiPzu"];return(Lo=function(){return t})()}const zo=Wo;function Wo(t,e){const i=Lo();return(Wo=function(t,e){return i[t-=336]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(406424===-parseInt(e(365))/1*(parseInt(e(383))/2)+parseInt(e(362))/3*(-parseInt(e(381))/4)+-parseInt(e(384))/5*(parseInt(e(360))/6)+parseInt(e(349))/7+parseInt(e(376))/8*(-parseInt(e(336))/9)+-parseInt(e(377))/10*(-parseInt(e(354))/11)+parseInt(e(371))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Uo extends It.EditorUI{[zo(356)];[zo(351)];[zo(364)];get[zo(366)](){return this[zo(356)]}constructor(e,i){const n=zo;super(e),this[n(356)]=i,this[n(351)]=(0,It.normalizeToolbarConfig)(e[n(361)][n(382)](n(348))),this[n(364)]=new t.ElementReplacer}get[zo(342)](){const t=zo;return this[t(366)][t(342)]}[zo(370)](t){const e=zo,i=this[e(358)],n=this[e(366)],s=i[e(380)][e(366)],r=n[e(347)],o=s[e(343)][e(375)]();r[e(357)]=o[e(372)],n[e(367)]();const a=r[e(342)];this[e(374)](r[e(357)],a),n[e(347)][e(350)](e(339)).to(this[e(346)]),s[e(355)](a),this[e(364)][e(340)](t,this[e(342)]),this[e(379)](),this[e(338)](e(369))}[zo(341)](){const t=zo;super[t(341)]();const e=this[t(366)],i=this[t(358)][t(380)][t(366)];this[t(364)][t(363)](),i[t(352)](e[t(347)][t(357)]),e[t(341)]()}[zo(379)](){const t=zo,e=this[t(366)];e[t(353)][t(350)](t(373)).to(this[t(346)],t(339)),e[t(353)][t(378)]=e[t(342)],e[t(353)][t(350)](t(344)).to(this,t(337),({top:t})=>t),e[t(348)][t(345)](this[t(351)],this[t(359)]),this[t(368)](e[t(348)])}}var Zo=i(318),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Yo();return($o=function(t,e){return i[t-=483]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(351270===parseInt(e(491))/1+parseInt(e(489))/2*(parseInt(e(493))/3)+parseInt(e(483))/4+parseInt(e(490))/5+-parseInt(e(501))/6+-parseInt(e(499))/7*(-parseInt(e(484))/8)+-parseInt(e(492))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[qo(485)];[qo(497)];[qo(498)];get[qo(487)](){return this[qo(485)]}constructor(t,e,i={}){var n=qo;super(t),this[n(497)]=new It.StickyPanelView(t),this[n(498)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(495)]}),this[n(485)]=new It.InlineEditableUIView(t,e)}[qo(486)](){var t=qo;super[t(486)](),this[t(497)][t(500)][t(496)](this[t(498)]),this[t(488)][t(496)](this[t(497)]),this[t(494)][t(496)](this[t(487)])}}function Yo(){var t=["1193773JXvuzC","content","2256774kzkFSr","2731796oVWlpI","24DmIHBm","_editable","render","editable","top","2joEMEG","808380VDIstL","477888tGgkcS","14996466aUSBUX","1678629KdwKpB","main","shouldToolbarGroupWhenFull","add","stickyPanel","toolbar"];return(Yo=function(){return t})()}function Go(){const t=["_ui","updateSourceElement","init","fire","get","createRoot","model","create","2010NOsagj","572278VQUSbm","data","8WugKvZ","view","config","sourceElement","71775NatxDV","4427759EFeqzk","editing","locale","1551519VeQIBM","186gTQuBj","destroy","2995686ExoqZZ","17577QMFhFh","ready","document","initialData","445576WuNFPp","20DZveAB","initPlugins"];return(Go=function(){return t})()}const Jo=Qo;function Qo(t,e){const i=Go();return(Qo=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=Qo,i=t();for(;;)try{if(334289===-parseInt(e(372))/1+parseInt(e(383))/2*(-parseInt(e(386))/3)+-parseInt(e(360))/4*(-parseInt(e(361))/5)+parseInt(e(385))/6+parseInt(e(379))/7*(-parseInt(e(374))/8)+-parseInt(e(382))/9+-parseInt(e(371))/10*(-parseInt(e(378))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Jo(363)];get ui(){return this[Jo(363)]}constructor(t,e){const i=Jo;super(e),this[i(377)]=t,this[i(369)][i(388)][i(368)]();const n=new Bo(this[i(381)],this[i(380)][i(375)],{shouldToolbarGroupWhenFull:!0});this[i(363)]=new Uo(this,n)}[Jo(384)](){const t=Jo;return this[t(364)](),this.ui[t(384)](),super[t(384)]()}static async[Jo(370)](t,e){const i=Jo,n=new this(t,e);return await n[i(362)](),await n.ui[i(365)](t),await n[i(373)][i(365)](n[i(376)][i(367)](i(359))||""),n[i(366)](i(387)),n}}function Xo(){const t=["674301fFGPwM","AIChat","revisionHistory.restoreRevisionCallback","fromCharCode","locale","destroy","roots","repository","saveRevision","insert","toJSON","Annotations","lazyRoots","getRevisionRootsAttributes","getUser","refreshVisibility","restrictedEditingException","AIActions","setAttribute","RevisionsRepository","define","AIChatHistory","editor","change","revision-history-viewer-opened","element","2686950FPDsAi","selection","Users","from","toolbar","requires","addRoot","_recalculatePageBreaks","RestrictedEditingMode","display","getRevisionDocumentData",".ck-ai-chat__prompt-input .ck-textarea","showRevisionViewerCallback","includes","addRevisionData","catch","set","push","getRevision","detachRoot","Restored","revisionHistory.closeRevisionViewerCallback","enableReadOnlyMode","commands","fromVersion","removeMarker","5195440qzWsuT","update","view","RevisionHistory","end","22RzEzsV","uiLanguage","create","hide","get","pluginName","isOfficialPlugin","RevisionViewer","refreshPositioning","isReady","revisionHistory.editorContainer","Autosave","AIQuickActions","enqueueChange","panelViews","none",".ck-ai-chat-history .ck-input","name","_update","createRangeIn","init","bind","querySelector","document","then","revision-history-missing-configuration","RevisionHistoryUtils","10400409CbLHRx","isPremiumPlugin","toLocaleTimeString","users","revisionHistory.showRevisionViewerCallback","changesNavigation","has","revisionHistory.requireRevisionName","20xUUpMC","data","adapter","exitToEditing","plugins","error","isAttached","getAttributeKeys","_viewerEditor","DocumentOutline","15328230pVMYof","AIBalloon","rootName","783400jEVhjQ","translations","isAnonymous","long","result"," ck-tab-panel_disabled","RevisionHistoryUI","ck-tab-panel_disabled","isEnabled","createdAt","style","keys","DocumentOutlineUI","_enhanceShowRevisionViewerCallback","getRoot","closeRevisionViewerCallback","getRevisions","$graveyard","replace","remove","join","revisionHistory","_getRevisionViewerEditorConfig","removeAttribute","1kzXZSK","RevisionTracker","toVersion","revisionHistory.viewerContainer","_cleanUp","RevisionViewerIntegration","creator","map","restoreRevision","revisionHistory.viewerEditorElement","7vTHJCw","model","Dialog","parse","isReadOnly","PaginationLookup","1200962mTuTtB","AIReviewMode","config","getMarkersGroup","save","isOpen","disableReadOnlyMode","addUser","markers","tabindex","toLocaleDateString","setSelection","AITabs","_closeRevisionViewer","indexOf","_showRevisionViewer","isRevisionViewerOpen","_enhanceCloseRevisionViewerCallback","loadRevisionData","block","class","removeSelectionAttribute","numeric","_restoreRevision"];return(Xo=function(){return t})()}const ta=ea;function ea(t,e){const i=Xo();return(ea=function(t,e){return i[t-=243]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(893353===-parseInt(e(308))/1*(-parseInt(e(324))/2)+-parseInt(e(348))/3*(parseInt(e(271))/4)+-parseInt(e(400))/5+parseInt(e(374))/6+parseInt(e(318))/7*(parseInt(e(284))/8)+-parseInt(e(263))/9+parseInt(e(281))/10*(parseInt(e(405))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);const ia=[ta(290),ta(382),ta(349),ta(325),ta(282),ta(248),ta(365)];class na extends J.Plugin{[ta(288)];static get[ta(410)](){return ta(313)}static get[ta(411)](){return!0}static get[ta(264)](){return!0}constructor(t){const e=ta;function i(t){const e=ea;return t[e(315)](t=>String[e(351)](t))[e(304)]("")}super(t),this[e(288)]=e(404),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{[ta(279)];static get[ta(410)](){return ta(403)}static get[ta(411)](){return!0}static get[ta(264)](){return!0}static get[ta(379)](){return[vt,qt]}constructor(e){const i=ta;if(super(e),!this[i(370)][i(326)][i(409)](i(305)))throw new t.CKEditorError(i(261),this);this[i(279)]=null,this[i(390)](i(340),!1),this[i(370)][i(326)][i(368)](i(267),t=>this[i(339)]({...t,translations:this[i(370)][i(352)][i(285)]})),this[i(370)][i(326)][i(368)](i(395),t=>this[i(337)](t)),this[i(370)][i(326)][i(368)](i(350),t=>this[i(347)](t)),this[i(370)][i(326)][i(368)](i(270),!1),this[i(297)](),this[i(341)]()}set[ta(273)](t){const e=ta;this[e(370)][e(275)][e(409)](e(309))[e(273)]=t}get[ta(273)](){const t=ta;return this[t(370)][t(275)][t(409)](t(309))[t(273)]}[ta(388)](t){const e=ta;return this[e(370)][e(275)][e(409)](e(309))[e(388)](t)}[ta(392)](t){const e=ta;return this[e(370)][e(275)][e(409)](e(367))[e(392)](t)}[ta(300)](t){const e=ta;return this[e(370)][e(275)][e(409)](e(367))[e(300)](t||{toJSON:!1})}[ta(306)](){const e=ta,i=this[e(370)],n=(0,Q.sanitizeEditorConfig)(i,ia),s=i[e(275)][e(409)](e(309)),r=i[e(275)][e(409)](e(376))[e(266)];return n[e(378)]=[e(274),e(316),e(268)],delete n[e(360)],n[e(275)][e(391)](na,ue,Ne,class extends J.Plugin{static get[e(379)](){return[ue,e(376)]}[e(256)](){const n=e,o=this[n(370)][n(275)][n(409)](n(376));for(const t of r)t[n(286)]||o[n(362)](t.id)||o[n(331)](t);const a=s[n(355)][n(300)]();let c=null;const u=this[n(370)][n(275)][n(409)](n(243));u[n(273)]=s[n(273)],u[n(257)](n(292)).to(s),this[n(370)][n(397)][n(409)](n(316))[n(257)](n(292)).to(i,n(322),t=>!t);for(const e of a){const i=null===e[n(314)];if(i&&e[n(310)]===e[n(398)])continue;const r=e[n(358)]();u[n(388)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(254)](r,o);else if(!o){const e=a[u(358)]();e.id=(0,t.uid)(),s[u(356)](e,a[u(310)])[u(260)](t=>{c=t})}}else e[u(254)](r,o)})}}},Po),n}[ta(297)](){const t=ta,e=this[t(370)][t(326)][t(409)](t(305))[t(386)];this[t(370)][t(326)][t(390)](t(267),async()=>{const i=t;this[i(370)][i(396)](i(372));const n=this[i(370)][i(275)][i(409)](i(309));if(this[i(370)][i(275)][i(269)](i(247))){const t=this[i(370)][i(275)][i(409)](i(247));await t[i(328)]()}else await n[i(401)]();if(this[i(370)][i(275)][i(269)](i(323))&&this[i(370)][i(275)][i(409)](i(323))[i(381)](),this[i(370)][i(275)][i(269)](i(320))){const t=this[i(370)][i(275)][i(409)](i(320));t[i(329)]&&t[i(408)]()}if(this[i(370)][i(275)][i(269)](i(336))){const t=this[i(370)][i(275)][i(409)](i(336))[i(402)][i(250)];for(const e of t)e[i(344)]=e[i(344)]?e[i(344)]+i(289):i(291);if(this[i(370)][i(275)][i(269)](i(349))){const t=document[i(258)](i(385));t&&t[i(366)](i(333),"-1")}if(this[i(370)][i(275)][i(269)](i(369))){const t=document[i(258)](i(252));t&&t[i(366)](i(333),"-1")}}const s=this[i(306)]();return e(s)[i(260)](t=>{const e=i;return this[e(279)]=t,this[e(370)][e(275)][e(269)](e(359))&&this[e(370)][e(275)][e(409)](e(359))[e(363)](),this[e(370)][e(275)][e(269)](e(280))&&(this[e(370)][e(275)][e(409)](e(296))[e(402)][e(373)][e(294)][e(383)]=e(251)),t})[i(389)](t=>(console[i(276)](t),this[i(370)][i(330)](i(372)),null))})}[ta(341)](){const t=ta,e=this[t(370)][t(326)][t(409)](t(305))[t(299)];this[t(370)][t(326)][t(390)](t(395),()=>{const i=t;if(this[i(370)][i(275)][i(269)](i(323))&&this[i(370)][i(275)][i(409)](i(323))[i(381)](),this[i(370)][i(275)][i(269)](i(280))&&(this[i(370)][i(275)][i(409)](i(296))[i(402)][i(373)][i(294)][i(383)]=""),this[i(370)][i(275)][i(269)](i(336))){const t=this[i(370)][i(275)][i(409)](i(336))[i(402)][i(250)];for(const e of t)e[i(344)]=i(291)===e[i(344)]?"":e[i(344)][i(302)](i(289),"");if(this[i(370)][i(275)][i(269)](i(349))){const t=document[i(258)](i(385));t&&t[i(307)](i(333))}if(this[i(370)][i(275)][i(269)](i(369))){const t=document[i(258)](i(252));t&&t[i(307)](i(333))}}return this[i(279)][i(275)][i(409)](i(243))[i(312)](),e(this[i(279)])[i(260)](()=>{const t=i;if(this[t(370)][t(330)](t(372)),this[t(279)]=null,this[t(370)][t(275)][t(269)](t(359))){const e=this[t(370)][t(275)][t(409)](t(359));e[t(363)](),e[t(244)]()}})})}[ta(339)](t){const e=ta,i=this[e(370)][e(326)][e(409)](e(246)),n=this[e(370)][e(326)][e(409)](e(311)),s=this[e(370)][e(326)][e(409)](e(317));return Ko[e(407)](s,t)[e(260)](t=>(n[e(294)][e(383)]=e(343),i[e(294)][e(383)]=e(251),this[e(340)]=!0,t))}[ta(337)](t){const e=ta,i=this[e(370)][e(326)][e(409)](e(246));return this[e(370)][e(326)][e(409)](e(311))[e(294)][e(383)]=e(251),i[e(294)][e(383)]="",this[e(340)]=!1,t[e(353)]()}async[ta(347)](t){const e=ta,i=this[e(370)],n=this[e(279)][e(275)][e(409)](e(243)),s=i[e(275)][e(409)](e(309)),r=i[e(275)][e(409)](e(262)),o=n[e(355)][e(392)](t);let a,c,u;try{await r[e(342)](o,this[e(273)]),a=r[e(384)](o),c=r[e(361)](o)}catch(t){return void console[e(276)](t)}i[e(319)][e(371)](t=>{const n=e;for(const e of Array[n(377)](i[n(319)][n(332)][n(327)](n(364))))t[n(399)](e)}),n[e(245)]=!1,i[e(319)][e(249)](t=>{const n=e;t[n(335)](null),t[n(345)](i[n(319)][n(259)][n(375)][n(278)]());const s=Object[n(295)](a);for(const e of i[n(319)][n(259)][n(354)])n(301)!=e[n(283)]&&e[n(277)]()&&!s[n(387)](e[n(283)])&&t[n(393)](e);for(const e of s){let s=i[n(319)][n(259)][n(298)](e);s&&s[n(277)]()||(s=t[n(380)](e));const r=c[e],o=Object[n(295)](r),u=a[e];for(const e of s[n(278)]())o[n(387)](e)||t[n(307)](e,s);for(const i of o)t[n(366)](i,c[e][i],s);t[n(303)](t[n(255)](s)),t[n(357)](i[n(272)][n(321)](u,s),s,0)}});const l=at(i[e(352)],e(394));return u=o[e(253)]?-1==o[e(253)][e(338)](l)?l+": "+o[e(253)]:o[e(253)]:l+": "+o[e(293)][e(334)](i[e(352)][e(406)],{month:e(287),day:e(346)})+", "+o[e(293)][e(265)](i[e(352)][e(406)],{hour:e(346),minute:e(346)}),await s[e(356)]({name:u}),n[e(245)]=!0,i[e(326)][e(409)](e(305))[e(299)]()}}function ra(){var t=["244PGyElr","46727980xqcbAq","496614ZZBiVA","3171150NZjRkb","3879uvPdwL","11778158VQjjNL","23664ZKQuYR","44suTpbe","5116ZnLFtj","4850725ZgETMB"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=467]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(960160===-parseInt(e(467))/1*(-parseInt(e(475))/2)+parseInt(e(469))/3*(-parseInt(e(474))/4)+parseInt(e(476))/5+-parseInt(e(470))/6+-parseInt(e(472))/7+parseInt(e(473))/8*(-parseInt(e(471))/9)+parseInt(e(468))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},111:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},124:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},246:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},265:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},318:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},374:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},450:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},700:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-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},702:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},732:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},772:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay: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},774:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},853:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},929:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,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 n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}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 s=t[e];Object.hasOwn(t,e)&&V(s,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)\]/,L=/^\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&&(L.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 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 s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[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 s=t[e];return void 0===s?H(e)?Z(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=471]})(t,e)}function J(){const t=["attributes","setName","creatorId","authorsIds","98SzHvkM","58952fMDbrS","removeAttribute","25772124xTIVlc","toJSON","fromVersion","_update","11JFbfpO","5QgymsC","set","model","toVersion","creator","createdAt","26050TCVlke","21993XeeydC","authors","setAttribute","map","3214254TqcEIP","fire","5294088OoGTlK","17qQzCar","68ygVsHz","6737920CHVvNT","name","diffData"];return(J=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(356312===-parseInt(e(480))/1*(parseInt(e(472))/2)+-parseInt(e(473))/3*(-parseInt(e(481))/4)+-parseInt(e(497))/5*(parseInt(e(477))/6)+-parseInt(e(489))/7*(-parseInt(e(490))/8)+-parseInt(e(479))/9+-parseInt(e(482))/10*(parseInt(e(496))/11)+parseInt(e(492))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(501)];[$(474)];[$(484)];[$(500)];[$(494)];[$(499)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(501)]=e[i(501)]||null,this[i(474)]=e[i(474)]||[],this[i(484)]=e[i(484)]||null,this[i(500)]=e[i(500)]||0,this[i(494)]=e[i(494)]||0,this[i(498)](i(483),e[i(483)]||""),this[i(498)](i(471),e[i(471)]||new Date),this[i(498)](i(485),e[i(485)]||{})}[$(486)](t){this[$(495)]({name:t})}[$(475)](t,e){const i=$,s=R(this[i(485)]);U(s,t,e),this[i(495)]({attributes:s})}[$(491)](t){const e=$,i=R(this[e(485)]);(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,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(495)]({attributes:i})}[$(495)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(483),i(471),i(484),i(474),i(485),i(500),i(494),i(487)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(474)]&&(n[i(488)]=n[i(474)][i(476)](t=>t.id),delete n[i(474)]),this[i(478)](i(495),n,e))}[$(493)](){const t=$;return{id:this.id,name:this[t(483)],creatorId:this[t(501)]?this[t(501)].id:null,authorsIds:this[t(474)][t(476)](t=>t.id),diffData:this[t(484)],createdAt:this[t(471)],attributes:this[t(485)],fromVersion:this[t(494)],toVersion:this[t(500)]}}}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=136]})(t,e)}function et(){const t=["getEarlierVisibleRevision","afterInit","getRevisionsIterator","data","createdAt","getRevisionsInDiff","newRevisionId","from","fromVersion","30154270HCDqJa","getLaterVisibleRevision","294816WvDFaz","220435drdeiG","getRevision","fromCharCode","createRevision","3345123xuAENs","isNaN","creatorId","plugins","getUser","later","editor","join","Users","RevisionsRepository","authorsIds","addRevision","push","2477048vJUmMz","7229957Fjvmtf","earlier","diffData","attributes","reverse","toJSON","toVersion","add","2wSufPm","get","6JvtWCM","href","pluginName","getIndex","969065xNpfbZ","name","9tDxFZl","map","isOfficialPlugin","requires","getRevisions","_revisions","isPremiumPlugin","length","oldRevisionId"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(604986===parseInt(e(181))/1*(-parseInt(e(152))/2)+-parseInt(e(185))/3+parseInt(e(180))/4+parseInt(e(158))/5+-parseInt(e(154))/6*(parseInt(e(144))/7)+parseInt(e(143))/8*(-parseInt(e(160))/9)+parseInt(e(178))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(165)];static get[Q(163)](){return[K.Users]}static get[Q(156)](){return Q(139)}static get[Q(162)](){return!0}static get[Q(166)](){return!0}get[Q(167)](){const t=Q;return this[t(165)][t(167)]}constructor(e){const i=Q;super(e),this[i(165)]=new t.Collection}[Q(170)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(186)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(161)](t=>String[e(183)](t))[e(137)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1761868800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(155)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[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=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(184)](t){const e=Q,i=this[e(136)][e(188)][e(153)](e(138));return new Y({id:t.id,name:t[e(159)],creator:t[e(187)]?i[e(189)](t[e(187)]):null,diffData:t[e(146)]||t[e(172)],authors:t[e(140)][e(161)](t=>i[e(189)](t)),createdAt:new Date(t[e(173)]),attributes:t[e(147)],fromVersion:t[e(177)],toVersion:t[e(150)]})}[Q(141)](t,e=0){const i=Q;this[i(165)][i(151)](t,e)}[Q(182)](t){const e=Q;return this[e(165)][e(153)](t)}[Q(164)](t={toJSON:!1}){const e=Q,i=Array[e(176)](this[e(165)]);return i[e(148)](),t[e(149)]?i[e(161)](t=>t[e(149)]()):i}[Q(157)](t){const e=Q;return this[e(165)][e(157)](t)}[Q(169)](t){const e=Q,[,i]=this[e(171)](t,{direction:e(145)});return i}[Q(179)](t){const e=Q,[,i]=this[e(171)](t,{direction:e(190)});return i}[Q(174)](t){const e=Q,i=[];for(const s of this[e(171)](t[e(175)]))if(i[e(142)](s),s.id===t[e(168)])break;return i}*[Q(171)](t,{direction:e=Q(145),filter:i=()=>!0}={}){const s=Q,n=s(145)===e?1:-1;let r=this[s(165)][s(153)](t),o=this[s(157)](r);for(yield r;r;){if(o+=n,r=this[s(182)](o),!r)return;i(r)&&(yield r)}}}const st=rt;function nt(){const t=["getRevisionRootsAttributes","isPremiumPlugin","5840608wSLOQU","3075948XRXbkx","80880NBAiFy","_setCustomProperty","innerHTML","document","5714080ygBMsJ","revision-end","getRevision","customProperties","viewChildrenToDom","createElement","editing","attributes","domChildrenToView","attributesAfter","string","3609005GpqZGw","attachChange","21iVMMld","from","append","length","128340FruURe","domConverter","collaboration.channelId","filter","_getTypeCharForViewElement","toModel","name","getRevisionDocumentData","parse","constructor","forEach","pluginName","startsWith","div","fillerOffset","loadRevisionData","_removeRevisionMarkers","default","_typeCharToViewClass","children","processor","useFillerType","RevisionHistoryUtils","map","view","type","_getViewFromDiffObj","data","_viewClassToTypeChar","insertions","domDocument","_appendChild","get","marked","data-revision-","32163552swWSjw","toData","revision-start","isAttached","config","htmlProcessor","isOfficialPlugin","_makeModelFromViewString","childNodes","render","editor","26YmAuoD","diffData","getFillerOffset"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(850737===parseInt(e(164))/1*(parseInt(e(118))/2)+parseInt(e(171))/3+-parseInt(e(175))/4+-parseInt(e(112))/5+-parseInt(e(170))/6*(parseInt(e(114))/7)+-parseInt(e(169))/8+parseInt(e(153))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(129)](){return st(140)}static get[st(159)](){return!0}static get[st(168)](){return!0}[st(146)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(136)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(133)](t,e){const i=st;if(t[i(165)]||!e)return;const s=this[i(163)][i(157)][i(150)](i(120)),n=await e[i(177)]({channelId:s,revisionId:t.id});t[i(165)]=n[i(165)]}[st(125)](t){const e=st,i={};for(const s in t[e(165)]){if(t[e(165)][s][e(113)]&&!t[e(165)][s][e(113)][e(156)])continue;const n=this[e(134)](JSON[e(126)](t[e(165)][s][e(147)])),r=this[e(163)][e(107)][e(142)][e(174)],o=new X.ViewDocumentFragment(r,n[e(141)](t=>this[e(144)](t,!1)));this[e(163)][e(145)][e(138)][e(139)](e(151)),i[s]=this[e(163)][e(145)][e(138)][e(154)](o),this[e(163)][e(145)][e(138)][e(139)](e(135))}return i}[st(167)](t){const e=st,i={};for(const s in t[e(165)])t[e(165)][s][e(113)]&&!t[e(165)][s][e(113)][e(156)]||(i[s]=t[e(165)][s][e(110)]||{});return i}[st(122)](t){const e=st;return this[e(146)][e(150)](t[e(127)])}[st(144)](t,e){const i=st,s=this[i(163)][i(107)][i(142)][i(174)];if(i(111)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(143)]||"r"==t[i(143)]?[]:t[i(137)][i(141)](t=>this[i(144)](t,e));const o=this[i(136)][i(150)](t[i(143)])||X.ViewElement,a=this[i(163)][i(145)][i(158)][i(119)];if(n=new o(s,t[i(124)],t[i(108)],r),"u"==t[i(143)]&&t[i(137)][0]){const r=t[i(137)][0];if(n[i(162)]=function(t){const e=i,s=t[e(106)](e(131));return s[e(173)]=r,s[e(161)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(149)](n);const e=Array[i(115)](a[i(105)](t,{bind:!1})),r=a[i(148)][i(106)](i(131));r[i(116)](...e),n=Array[i(115)](a[i(109)](r))[0]}}else if("r"==t[i(143)]&&t[i(137)][0]){const r=t[i(137)][0];if(n[i(162)]=function(t){t[i(173)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(149)](n);const e=Array[i(115)](a[i(105)](t,{bind:!1})),r=a[i(148)][i(106)](i(131));r[i(116)](...e);const o=Array[i(115)](a[i(109)](r));o[i(117)]>1?n[i(149)](o):n=o[0]}}if(t[i(104)])for(const[e,s]of t[i(104)])n[i(172)](e,s);const c=void 0===t[i(132)]?null:t[i(132)];return null!==c&&(n[i(166)]=()=>c),n}}[st(160)](t){const e=st,i=JSON[e(126)](t),s=this[e(163)][e(107)][e(142)][e(174)],n=new X.ViewDocumentFragment(s,i[e(141)](t=>this[e(144)](t,!0)));return this[e(163)][e(145)][e(123)](n)}[st(134)](t){const e=st;return(t=t[e(121)](t=>!t[e(124)]||e(155)!==t[e(124)]&&e(176)!==t[e(124)]))[e(128)](t=>{const i=e;i(111)!=typeof t&&(t[i(137)]=this[i(134)](t[i(137)]),t[i(108)]=t[i(108)][i(121)](t=>!t[0][i(130)](i(152))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function 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,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a: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=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.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=vt();return(mt=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(627413===parseInt(e(414))/1*(-parseInt(e(332))/2)+parseInt(e(294))/3*(parseInt(e(429))/4)+parseInt(e(285))/5*(-parseInt(e(342))/6)+-parseInt(e(488))/7+parseInt(e(404))/8+parseInt(e(591))/9*(-parseInt(e(352))/10)+-parseInt(e(371))/11*(-parseInt(e(539))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vt);class pt extends G.Plugin{[ft(588)];[ft(467)];[ft(327)]=null;[ft(477)];[ft(460)]=null;[ft(590)];[ft(432)];[ft(306)];[ft(462)];[ft(353)];[ft(585)];[ft(560)];[ft(314)];[ft(473)];static get[ft(569)](){return ft(298)}static get[ft(435)](){return!0}static get[ft(288)](){return!0}static get[ft(347)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(477)]=this[i(409)][i(468)][i(278)](i(313)),this[i(353)]=this[i(409)][i(468)][i(278)](i(440)),this[i(590)]=new gt(this[i(409)]),this[i(306)]=this[i(409)][i(362)][i(278)](i(592))||i(334),this[i(462)]=new Map,this[i(473)]=null;const s=(0,t.uid)();this[i(432)]={history:this[i(409)][i(393)][i(581)][i(564)],getLatestVersion:()=>Promise[i(307)](this[i(409)][i(393)][i(581)][i(531)]),getCurrentRevisionId:()=>s},this[i(510)](i(461),!1),this[i(510)](i(425),!0),this[i(510)](i(422),!1),this[i(409)][i(362)][i(438)](i(374),!0),this[i(409)][i(504)][i(417)](i(553))[i(416)]({view:i(481)})}[ft(578)](){const t=ft;this[t(533)](),this[t(409)][t(573)].on(t(453),()=>{const e=t,i=this[e(477)][e(529)](0),s=i&&null===i[e(400)]?i:null;if(this[e(560)]=!!s&&this[e(409)][e(362)][e(278)](e(374)),this[e(409)][e(468)][e(595)](e(426))){const t=this[e(432)][e(383)](),n=this[e(477)][e(529)](t);if(n)this[e(314)]=n[e(516)],this[e(560)]=!1;else{const t=this[e(432)][e(564)][e(508)][e(497)](t=>!t[e(408)]),n=t?t[e(522)]:this[e(432)][e(564)][e(531)];i?(i[e(527)]<n&&i[e(475)]({toVersion:n}),this[e(560)]?(this[e(432)][e(383)]=()=>s.id,this[e(314)]=s[e(516)]):(this[e(314)]=i[e(527)],this[e(560)]=!1)):(this[e(314)]=n,this[e(560)]=!1)}}else s&&(this[e(409)][e(393)][e(581)][e(564)][e(531)]=Math[e(339)](s[e(527)],this[e(409)][e(393)][e(581)][e(564)][e(531)]),s[e(516)]===s[e(527)]?(0!==s[e(516)]&&(this[e(432)][e(383)]=()=>s.id),this[e(560)]=!1):this[e(560)]&&(this[e(432)][e(383)]=()=>s.id,this[e(314)]=s[e(516)])),this[e(560)]||(this[e(314)]=this[e(409)][e(393)][e(581)][e(531)]);this[e(590)][e(578)](this[e(432)][e(564)]),this[e(329)](this[e(314)]),this[e(397)](this[e(314)]),this[e(460)]&&this[e(442)]()}),this[t(491)](t(461)).to(this,t(422),t=>!t),this[t(588)]=this[t(409)][t(362)][t(278)](t(588));const e=this[t(409)];this[t(467)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(446)==r||i(338)==r||i(312)==r||i(355)==r||i(366)==r||i(571)==r||i(482)==r||i(500)==r){delete e[n],s=r,clearInterval(this[i(467)]),this[i(467)]=void 0;break}}i(338)==s&&e[i(277)](i(274)),i(312)==s&&e[i(277)](i(318)),i(355)==s&&e[i(277)](i(310)),i(366)==s&&e[i(277)](i(556),i(346)),i(571)==s&&e[i(277)](i(480)),i(482)==s&&e[i(277)](i(483)),i(500)==s&&e[i(277)](i(548))},1e3)}async[ft(324)](){const t=ft;if(this[t(477)][t(507)]>0){const e=this[t(477)][t(529)](0),i=await this[t(380)](e),s=await this[t(370)](e);this[t(484)](i,s)}}[ft(549)](){const t=ft;super[t(549)](),this[t(467)]&&clearInterval(this[t(467)])}[ft(403)](t){this[ft(432)]=t}async[ft(555)](){const t=ft,e=await this[t(432)][t(300)]();if(e>this[t(327)][t(527)]){await this[t(286)]();const i=this[t(336)]({revision:this[t(327)],to:e});i[t(486)]=i[t(551)][t(547)](e=>this[t(409)][t(468)][t(278)](t(567))[t(357)](e)),this[t(327)][t(475)](i)}}async[ft(454)](e={},i=null){const s=ft,n=[];await this[s(286)](),this[s(560)]=!1,i>this[s(327)][s(527)]&&(i=null),null===i&&(i=await this[s(432)][s(300)]());const r=this[s(325)](i),o=this[s(336)]({from:r,to:i});if(this[s(327)][s(527)]<i){const t=this[s(336)]({revision:this[s(327)],from:i,to:i});t[s(486)]=[],t[s(551)]=[],t.id=this[s(327)].id,this[s(327)][s(475)](t,!0),delete t[s(486)],n[s(333)](t)}e[s(364)]=this[s(409)][s(468)][s(278)](s(567)).me.id,e[s(391)]=e[s(391)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(320)](e);n[s(333)](e);const c=this[s(477)][s(424)](a);if(0!==c){const t=this[s(477)][s(529)](c-1);if(t[s(516)]!==i){const r=this[s(590)][s(506)](i,t[s(527)]),o={id:t.id,diffData:r[s(478)],authorsIds:r[s(551)],authors:r[s(551)][s(547)](t=>this[s(409)][s(468)][s(278)](s(567))[s(357)](t)),fromVersion:i};t===this[s(327)]&&(o[s(515)]=new Date(e[s(515)][s(479)]()+10)),t[s(475)](o,!0),delete o[s(486)],n[s(333)](o)}}if(this[s(460)]){for(const t of n)this[s(546)](t.id,t,!0);this[s(442)]()}return a}[ft(320)](t){const e=ft,i=this[e(477)][e(501)](t);return this[e(460)]&&i.on(e(475),(t,i,s)=>{const n=e;s||(this[n(546)](i.id,i,!0),this[n(442)]())}),this[e(477)][e(558)](i,this[e(376)](i)),i}async[ft(380)](t){const e=ft;return await this[e(353)][e(511)](t,this[e(460)]),this[e(353)][e(380)](t)}async[ft(370)](t){const e=ft;return await this[e(353)][e(511)](t,this[e(460)]),this[e(353)][e(370)](t)}[ft(442)](){const t=ft;if(0===this[t(462)][t(577)])return;if(this[t(422)])return;let e=Array[t(337)](this[t(462)][t(502)]());this[t(462)][t(470)]();for(let i=0;i<e[t(507)];i++){const s=e[i];let n=!1;for(const e of Object[t(276)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(463)](t=>null!==t),!e[t(507)])return;for(let i=0;i<e[t(507)];i++){const s=e[i];void 0!==s[t(516)]&&void 0===s[t(527)]&&(s[t(527)]=this[t(477)][t(529)](s.id)[t(527)]),void 0!==s[t(527)]&&void 0===s[t(516)]&&(s[t(516)]=this[t(477)][t(529)](s.id)[t(516)])}const i=this[t(409)][t(362)][t(278)](t(592));this[t(422)]=!0,this[t(280)](),this[t(460)][t(575)](e,i)[t(457)](()=>{this[t(422)]=!1})[t(367)](e=>{const i=t;if(e)for(const t of e)this[i(292)]({id:t.id,createdAt:t[i(515)]});this[i(469)](),this[i(442)]()})}[ft(336)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(516)],i=null!==i?i:t[s(527)];const n=this[s(590)][s(506)](e,i),r={diffData:n[s(478)],authorsIds:n[s(551)],fromVersion:e,toVersion:i};if(!t||i!==t[s(527)]){const t=i-1,e=this[s(432)][s(564)][s(295)](t);r[s(515)]=e&&e[s(515)]||new Date}if(this[s(473)]&&e===this[s(473)][s(516)])for(const t of this[s(473)][s(486)])r[s(551)][s(368)](t.id)||r[s(551)][s(333)](t.id);return r}[ft(546)](t,e,i){const s=ft;if(this[s(462)][s(595)](t)){const n=this[s(462)][s(278)](t);e=i?{...n,...e}:{...e,...n}}this[s(462)][s(510)](t,e)}[ft(292)](t){const e=ft,i=this[e(477)][e(529)](t.id);if(t[e(515)]&&(t[e(515)]=new Date(t[e(515)])),t[e(551)]){const i=this[e(409)][e(468)][e(278)](e(567));t[e(486)]=t[e(551)][e(547)](t=>i[e(357)](t))}i[e(475)](t,!0)}[ft(329)](t){const e=ft,i=this[e(477)][e(529)](this[e(477)][e(507)]-1);if(i)this[e(306)]=i.id;else{const i=!this[e(409)][e(393)][e(581)][e(492)][e(497)](t=>this[e(409)][e(393)][e(449)](t)),s=this[e(409)][e(468)][e(278)](e(567)).me.id,n=at(this[e(409)][e(299)],e(i?589:565));this[e(574)]({from:t,to:t,id:this[e(306)],name:n,creatorId:s})}}[ft(397)](t){const e=ft,i=this[e(432)][e(383)]();this[e(327)]=this[e(477)][e(529)](i),this[e(327)]||(this[e(327)]=this[e(574)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(286)](){const t=ft;this[t(560)]&&!this[t(473)]&&(await this[t(353)][t(511)](this[t(327)],this[t(460)]),this[t(590)][t(459)](this[t(327)]),this[t(473)]={fromVersion:this[t(327)][t(516)],authors:this[t(327)][t(486)][t(521)]()})}[ft(484)](e,i){const s=ft;let n=this[s(409)][s(362)][s(278)](s(331)),r=this[s(409)][s(362)][s(278)](s(387));if(void 0===n){n={};for(const t of this[s(409)][s(393)][s(581)][s(302)]())n[t]=""}if(s(271)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(409)][s(393)][s(581)][s(302)]())r[t]={}}let o=!1;const a=Object[s(276)](n),c=Object[s(276)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(433)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(276)](r[t])[s(507)]>0){o=!0;break}}o||(o=c[s(452)](t=>!this[s(409)][s(393)][s(581)][s(437)](t))),o&&(0,t.logWarning)(s(444),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(409)][s(362)][s(510)](s(331),e),this[s(409)][s(362)][s(510)](s(387),i)}[ft(280)](){const t=ft;if(!this[t(585)]){const e=this[t(409)][t(468)][t(278)](t(290));this[t(585)]=e[t(496)](at(this[t(409)][t(299)],t(465)))}}[ft(469)](){const t=ft;this[t(585)]&&(this[t(409)][t(468)][t(278)](t(290))[t(412)](this[t(585)]),this[t(585)]=null)}[ft(376)](t){const e=ft,i=this[e(477)][e(384)]();i[e(365)]();let s=0;for(;s<i[e(507)];){const n=i[s];if(n===this[e(327)]){s++;continue}if(n.id===this[e(306)])break;const r=t[e(527)]-n[e(527)]||t[e(516)]-n[e(516)];if(r>0)break;if(r<0)s++;else{if(!t[e(400)]&&n[e(400)])break;if(n[e(400)]||!t[e(400)]){if(t[e(515)]>n[e(515)])break;s++}else s++}}return s}[ft(325)](t){const e=ft,i=this[e(477)][e(384)]();i[e(365)](),i[e(537)]();const s=i[e(497)](i=>i[e(527)]<=t)[e(527)];return s<this[e(314)]?this[e(314)]:s}[ft(574)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(336)]({from:e,to:i});o[r(391)]=t,o[r(364)]=s,o.id=n;const a=this[r(320)](o);return this[r(460)]&&this[r(546)](o.id,o,!0),a}[ft(533)](){const t=ft;this[t(409)][t(504)][t(417)](t(356))[t(358)]({model:t(481)})}}function vt(){const t=["adapter","isReady","_bufferedUpdates","filter","_handleSplitOperation","PENDING_ACTION_REVISION_HISTORY","splitPosition","_licenseKeyCheckInterval","plugins","_removePendingAction","clear","_touchedMarkers","nodes","_loadedStateData","_handleMarkerOperation","_update","move","repository","diffData","getTime","evaluationLimit","revision","revisionHistoryLicenseKeyTrialLimit","trialLimit","_replaceEditorDataWithRevisionData","getNodeByPath","authors","keepParagraph","2118956MfEMXW","_setAttribute","_fixPosition","bind","roots","getChildren","_baseRoots","innerHTML","add","find","_baseRootsAttributes","removeRootAttribute","revisionHistoryLicenseKeyUsageLimit","createRevision","values","_markers","conversion","_handleRootAttributeOperation","getData","length","_operations","_cloneOperation","set","loadRevisionData","addRootAttribute","element","revision:","createdAt","fromVersion","targetPosition","insertions","_touchedRoots","_transformMarkers","slice","baseVersion","vid","insertion","stringify","getAttributes","toVersion","split","getRevision","_lastFrom","version","position","_setConversion","$comment","offsetSize","_getPreviousFrom","shift","reinsert","54972AfeafY","getOperations","changeRootAttribute","_removeMetaData","getAncestors","documentFragment","_baseIdsRoots","_bufferUpdate","map","usageLimit","destroy","createRange","authorsIds","_idsRoots","upcast","getFillerOffset","update","featureNotAllowed","_diffRootsAttributes","addRevision","getRange","_continueCurrentRevision","domConverter","_startingRevisionId","_processRootBeforeSave","history","Initial revision","_touched","Users","tableCell","pluginName","attributesBefore","revisionHistoryLicenseKeyEvaluationLimit","outerHTML","data","_makeRevision","updateRevisions","_makeIdsRoot","size","init","_appendChild","getCustomProperties","document","_handleMoveOperation","elementStart","isEqual","_pendingAction","render","item","licenseKey","Empty document","_revisionDataBuilder","9BVUNFY","collaboration.channelId","createPositionAfter","createRangeIn","has","string","fromEntries","_getState","invalid","getWalker","keys","_showLicenseError","get","fillerOffset","_addPendingAction","paragraph","root","getTransformedByOperation","vid_end","10RJxLeL","_loadState","howMany","isPremiumPlugin","deletion","PendingActions","path","setRevisionData","uiElement","1683rXkHWY","getOperation","_reset","childCount","RevisionTracker","locale","getLatestVersion","deletions","getRootNames","sort","NEGATIVE_INFINITY","_handleInsertOperation","_initialRevisionId","resolve","_authorId","rawElement","domainLimit","_generateTape","revisionHistoryLicenseKeyExpired","RevisionsRepository","_startingVersion","children","text","clone","expired","getChild","addRevisionData","merge","htmlProcessor","toView","afterInit","_getFromVersion","_createFromRanges","currentRevision","_makeModelFromViewString","_createInitialRevision","_handleRootOperation","initialData","90kdBdKW","push","initial","_applyOperations","buildRevisionData","from","revisionHistoryLicenseKeyInvalid","max","userId","_getViewJson","3646602nVTJmz","createPositionBefore","nodeAfter","key","RevisionHistory","requires","_lastTo","_revisionId","_fixRange","rootName","4409480VYaXaX","_utils","affectsData","revisionHistoryLicenseKeyDomainLimit","dataDowncast","getUser","markerToData","marker","type","reInit","config","attachChange","creatorId","reverse","revisionHistoryLicenseKeyNotAllowed","then","includes","customProperties","getRevisionRootsAttributes","3938LkZkJK","$graveyard","createPositionAt","revisionHistory.resumeUnsavedRevision","delete","_findInsertionIndex","range","previousPosition","_handleOperation","getRevisionDocumentData","detachRoot","_handleMergeOperation","getCurrentRevisionId","getRevisions","_calculateMetaData","_execute","rootsAttributes","_markChanges","_copyMarkers","_getTypeCharForViewElement","name","_diffRoots","model","elementEnd","_fixOperation","parent","_createCurrentRevision","_isAttached","attributesAfter","creator","source","start","setSource","2937432ckzzPz","newValue","insert","addRoot","_isInit","editor","stickiness","isAdd","remove","_saveMetaData","351FHZIeK","_clone","dataToMarker","for","_getBaseVids","markers","_insertChild","domDocument","_isPendingUpdate","startsWith","getIndex","isEnabled","RealTimeCollaborationClient","_getVidAttributeName","_prepareViewToSave","4244gNjzkC","createPositionFromPath","getMovedRangeStart","_source","trim","end","isOfficialPlugin","getAttribute","getRoot","define","graveyardPosition","RevisionHistoryUtils","newRange","sendBufferedUpdates","offset","editor-initial-data-replaced-with-revision-data","sourcePosition","revisionHistoryLicenseKeyValid","_savedMetaData","$text","hasContent","createElement","vid_start","some","ready","saveRevision","isAttached","insertionPosition","finally","oldRange","loadState"];return(vt=function(){return t})()}class gt{[ft(409)];[ft(401)];[ft(447)];[ft(530)];[ft(348)];[ft(503)];[ft(392)];[ft(557)];[ft(494)];[ft(498)];[ft(552)];[ft(545)];[ft(566)];[ft(471)];[ft(519)];[ft(349)];[ft(562)];constructor(t){const e=ft;this[e(409)]=t,this[e(447)]=new Map,this[e(530)]=-1,this[e(348)]=-1,this[e(503)]=new Map,this[e(392)]=new Map,this[e(557)]=new Map,this[e(494)]=new Map,this[e(498)]=new Map,this[e(552)]=new Map,this[e(545)]=new Map,this[e(566)]=new Map,this[e(471)]=new Map,this[e(519)]=new Map,this[e(349)]=1}[ft(578)](t){const e=ft;this[e(401)]=t;const i=new Map,s=new Map,n=this[e(409)][e(393)][e(581)][e(492)][e(547)](t=>t[e(351)]);for(const t of n){const n=this[e(409)][e(393)][e(581)][e(437)](t),r=yt(n);i[e(510)](t,r),s[e(510)](t,Object[e(272)](n[e(526)]()))}const r=Array[e(337)](this[e(409)][e(393)][e(419)])[e(547)](t=>[t[e(391)],t[e(559)]()]),o=this[e(401)][e(531)];this[e(413)](o,i,r,s),this[e(562)]=this[e(349)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(510)](t,i),c[e(510)](t,{})}this[e(413)](Number[e(304)],a,[],c)}[ft(506)](t,e){const i=ft;if(this[i(530)]===t&&this[i(348)]<=e)this[i(447)][i(577)]>1&&this[i(542)](this[i(348)]),this[i(335)](this[i(348)],e,!0);else{if(!this[i(447)][i(595)](t)){const e=this[i(536)](t);this[i(385)](e,t,!1)}this[i(385)](t,e,!0)}return this[i(530)]=t,this[i(348)]=e,this[i(273)]()}[ft(459)](t){const e=ft;if(!this[e(447)][e(595)](t[e(516)])){const i=this[e(536)](t[e(516)]);this[e(385)](i,t[e(516)],!1)}this[e(385)](t[e(516)],t[e(527)],!1);const i=this[e(409)][e(468)][e(278)](e(440));this[e(296)](),this[e(530)]=t[e(516)],this[e(348)]=t[e(527)];for(const s in t[e(478)]){const n=t[e(478)][s][e(363)],r=R(t[e(478)][s][e(570)])||{},o=i[e(328)](t[e(478)][s][e(301)]);o[e(351)]=s,o[e(398)]=!n||!n[e(455)],o[e(455)]=()=>o[e(398)],this[e(494)][e(510)](s,o),this[e(498)][e(510)](s,r),n&&this[e(519)][e(510)](s,n);const a=this[e(576)](o);this[e(545)][e(510)](s,a);for(const[t,i]of o[e(419)]){if(!t[e(423)](e(514)))continue;const s=t[e(528)](":")[2];for(const t of i[e(275)]({singleCharacters:!0})){const i=this[e(427)](t),n=e(394)==t[e(360)]?t[e(378)][e(291)][e(521)](0,-1):t[e(378)][e(291)],r=a[e(485)](n)[e(436)](i);this[e(566)][e(510)](r,{userId:s})}o[e(419)][e(375)](t)}}this[e(562)]=this[e(349)];const s=[...Array(this[e(349)])[e(276)]()][e(521)](1)[e(463)](t=>!this[e(566)][e(595)](t));let n=0;const r=new Map;for(const o in t[e(478)]){const a=t[e(478)][o][e(363)],c=R(t[e(478)][o][e(399)])||{},u=i[e(328)](t[e(478)][o][e(518)]);u[e(351)]=o,u[e(398)]=!a||a[e(455)],u[e(455)]=()=>u[e(398)],this[e(392)][e(510)](o,u),this[e(557)][e(510)](o,c);const l=this[e(576)](u,Number[e(304)]);this[e(552)][e(510)](o,l),r[e(510)](o,u[e(455)]()?c:{});for(const[t,i]of u[e(419)]){if(!t[e(423)](e(514)))continue;const s=t[e(528)](":")[2];for(const t of i[e(275)]({singleCharacters:!0})){const i=this[e(427)](t),n=this[e(349)]++,r=e(394)==t[e(360)]?t[e(378)][e(291)][e(521)](0,-1):t[e(378)][e(291)];l[e(485)](r)[e(489)](i,n),this[e(566)][e(510)](n,{userId:s})}u[e(419)][e(375)](t)}for(const t of this[e(409)][e(393)][e(594)](u)[e(275)]({singleCharacters:!0})){const i=this[e(427)](t),r=e(394)==t[e(360)]?t[e(378)][e(291)][e(521)](0,-1):t[e(378)][e(291)],o=l[e(485)](r);o[e(436)](i)>0||o[e(489)](i,s[n++])}for(const[t,i]of u[e(419)])t[e(423)](e(514))||this[e(503)][e(510)](t,i)}const{roots:o}=this[e(447)][e(278)](t[e(516)]),{roots:a}=this[e(447)][e(278)](t[e(527)]),c=yt(o[e(278)](e(372)));this[e(494)][e(510)](e(372),c),this[e(545)][e(510)](e(372),this[e(576)](c,Number[e(304)]));const u=yt(a[e(278)](e(372)));this[e(392)][e(510)](e(372),u),this[e(552)][e(510)](e(372),this[e(576)](u));const l=Array[e(337)](this[e(392)])[e(547)](([t,e])=>[t,yt(e)]);this[e(413)](this[e(348)],l,this[e(503)],r)}[ft(361)](){const t=ft;this[t(296)](),this[t(530)]=-1,this[t(348)]=-1,this[t(447)][t(470)](),this[t(578)](this[t(401)])}[ft(413)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(510)](t,{start:e[n(402)][n(317)](),end:e[n(434)][n(317)](),rootName:e[n(282)][n(351)]});this[n(447)][n(510)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(542)](t){const e=ft;this[e(447)][e(375)](t)}[ft(296)](){const t=ft;this[t(566)][t(470)](),this[t(471)][t(470)](),this[t(519)][t(470)](),this[t(392)][t(470)](),this[t(557)][t(470)](),this[t(494)][t(470)](),this[t(498)][t(470)](),this[t(552)][t(470)](),this[t(545)][t(470)](),this[t(503)][t(470)](),this[t(349)]=1,this[t(562)]=this[t(349)]}[ft(576)](t,e=null){const i=ft;let s=null;t.is(i(544))||(s=new X.ModelElement(t[i(391)],{vid_start:null===e?this[i(349)]++:e++}));const n=[];for(const s of t[i(493)]())if(s.is(i(513))){n[i(333)](this[i(576)](s,e));const t=n[n[i(507)]-1];null!==e&&(e=t.is(i(513),i(448))?t[i(436)](i(523))+1:t[i(436)](i(284))+1)}else for(let t=0;t<s[i(535)];t++)n[i(333)](new X.ModelElement(i(448),{vid:null===e?this[i(349)]++:e++}));if(t.is(i(544))){const e=kt(t[i(351)]);return e[i(420)](0,n),e}return s[i(489)](i(284),null===e?this[i(349)]++:e++),s[i(420)](0,n),s}[ft(385)](t,e,i){const s=ft;this[s(296)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(447)][s(278)](t);this[s(494)]=new Map(n),this[s(498)]=new Map(R(o));for(const[t,e]of this[s(494)])if(s(372)!==t&&(this[s(392)][s(510)](t,yt(e)),this[s(557)]=new Map(R(o)),i)){const i=this[s(349)];this[s(552)][s(510)](t,this[s(576)](e)),this[s(545)][s(510)](t,this[s(576)](e,i))}this[s(562)]=this[s(349)],this[s(392)][s(510)](s(372),yt(this[s(494)][s(278)](s(372)))),i&&this[s(552)][s(510)](s(372),this[s(576)](this[s(494)][s(278)](s(372))));for(const[t,e]of r){const i=this[s(494)][s(278)](e[s(351)]),n=this[s(392)][s(278)](e[s(351)]),r=new X.ModelRange(this[s(490)](e[s(402)],i),this[s(490)](e[s(434)],i)),o=this[s(350)](r,n);i[s(419)][s(510)](t,r),this[s(503)][s(510)](t,o)}this[s(335)](t,e,i)}[ft(335)](t,e,i){const s=ft;for(const n of this[s(401)][s(540)](t,e))this[s(379)](n,i);for(const t of this[s(392)][s(502)]())t[s(419)][s(470)]();for(const[t,e]of this[s(503)])this[s(392)][s(278)](e[s(282)][s(351)])[s(419)][s(510)](t,e[s(317)]());const n=new Map,r=new Map;for(const[t,e]of this[s(392)])n[s(510)](t,yt(e)),r[s(510)](t,this[s(557)][s(278)](t));this[s(413)](e,n,this[s(503)],r)}[ft(536)](t){const e=ft,i=Array[e(337)](this[e(447)][e(276)]());i[e(303)]((t,e)=>t-e),i[e(365)]();for(const e of i)if(e<t)return e;return Number[e(304)]}[ft(389)](t,e){const i=ft,s=Array[i(337)](e[i(419)])[i(547)](([e,s])=>[e,this[i(350)](s,t)]);t[i(419)]=new Map(s)}[ft(520)](t){const e=ft;for(const i of this[e(503)][e(502)]()){const s=i[e(283)](t),n=X.ModelRange[e(326)](s);i[e(402)]=n[e(402)],i[e(434)]=n[e(434)]}}[ft(379)](t,e){const i=ft;if(i(407)!=t[i(360)]&&i(381)!=t[i(360)]){if(i(406)==t[i(360)]){const s=t[i(532)][i(282)][i(351)];this[i(392)][i(595)](s)||(this[i(392)][i(510)](s,kt(s,!0)),this[i(557)][i(510)](s,{}),e&&this[i(552)][i(510)](s,kt(s,!0)))}else{if(i(512)==t[i(360)]||i(499)==t[i(360)]||i(541)==t[i(360)])return void this[i(505)](t);i(359)==t[i(360)]&&this[i(474)](t)}if(i(359)!==t[i(360)]){const e=this[i(509)](t,this[i(392)]);e[i(386)](),this[i(520)](e)}if(e)switch(t[i(360)]){case i(406):this[i(305)](t);break;case i(476):case i(412):case i(538):this[i(582)](t);break;case i(321):this[i(382)](t);break;case i(528):this[i(464)](t)}}else this[i(330)](t,e)}[ft(509)](t,e){const i=ft,s=t[i(317)]();return s[i(308)]=t[i(308)],this[i(395)](s,e),s}[ft(418)](t){const e=ft;return t[e(547)](t=>{const i=e,s=this[i(427)](t);return Number(t[i(587)][i(436)](s))})}[ft(311)](t,e){const i=ft;if(t.is(i(513),i(448)))e[i(333)]({item:t,type:i(316)});else{t.is(i(513))&&e[i(333)]({item:t,type:i(583)});for(const s of t[i(493)]())this[i(311)](s,e);t.is(i(513))&&e[i(333)]({item:t,type:i(394)})}return e}[ft(273)](){const t=ft,e=new Map(this[t(566)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(494)][t(276)](),...this[t(392)][t(276)]()]);a[t(375)](t(372));for(const e of a){const i=this[t(392)][t(278)](e)||kt(e,!1),s=this[t(494)][t(278)](e)||kt(e,!1);i[t(455)]()||s[t(455)]()?(n[t(518)][e]=yt(i),n[t(301)][e]=yt(s),this[t(389)](n[t(301)][e],s),this[t(389)](n[t(518)][e],i),r[t(518)][e]=this[t(311)](this[t(552)][t(278)](e),[]),r[t(301)][e]=this[t(311)](this[t(545)][t(278)](e)||kt(e,!1),[])):a[t(375)](e)}for(const n of a){const o=r[t(518)][n];for(const n of o){const r=this[t(427)](n),o=n[t(587)][t(436)](r);i[t(375)](o),o>=this[t(562)]&&s[t(510)](o,e[t(278)](o))}}for(const n of a){const a=r[t(518)][n],c=this[t(418)](r[t(301)][n]);let u=0;for(const n of a){const r=this[t(427)](n),a=n[t(587)][t(436)](r);if(!s[t(595)](a)&&!o[t(595)](a))if(i[t(595)](a))u++;else{if(a!=c[u]){const s=e[t(278)](a)||e[t(278)](c[u]);for(;a!=c[u];)i[t(595)](c[u])||(o[t(510)](c[u],s),e[t(510)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(518)][e];for(const e of n){const n=this[t(427)](e),r=e[t(587)][t(436)](n);if(o[t(595)](r)){const e=o[t(278)](r);i[t(595)](r)||i[t(510)](r,{...e}),s[t(510)](r,{...e})}}}for(const e of i[t(276)]())e>=this[t(562)]&&i[t(375)](e);const c=new Map;for(const e of a){let n=r[t(518)][e];for(const e of n)if(e[t(587)].is(t(513),t(568))){const i=this[t(427)](e),n=e[t(587)][t(436)](i);if(s[t(595)](n)){const i=e[t(587)][t(396)][t(396)][t(436)](t(451)),r=c[t(278)](i)||new Set;r[t(496)](s[t(278)](n)[t(340)]),c[t(510)](i,r)}}n=r[t(301)][e];for(const e of n)if(e[t(587)].is(t(513),t(568))){const s=this[t(427)](e),n=e[t(587)][t(436)](s);if(i[t(595)](n)){const s=e[t(587)][t(396)][t(396)][t(436)](t(451)),r=c[t(278)](s)||new Set;r[t(496)](i[t(278)](n)[t(340)]),c[t(510)](s,r)}}for(const e of c[t(276)]())(s[t(595)](e)||i[t(595)](e))&&c[t(375)](e)}for(const e of a){const n=r[t(518)][e];let o=null,a=null;for(const e of n){const n=this[t(427)](e),r=e[t(587)][t(436)](n),u=c[t(278)](r);u&&t(583)==e[t(360)]&&(o=Array[t(337)](u)[0],a=e[t(587)][t(436)](t(284))),o&&(i[t(510)](r,{userId:o}),s[t(510)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(301)][e],a=n[t(518)][e];for(const{userId:e}of this[t(471)][t(502)]())null!==e&&l[t(496)](e);for(const{userId:e}of this[t(519)][t(502)]())null!==e&&l[t(496)](e);this[t(388)](a,r[t(518)][e],s,t(524),l),this[t(388)](o,r[t(301)][e],i,t(289),l),u[e]={insertions:this[t(428)](a),deletions:this[t(428)](o),attachChange:this[t(519)][t(278)](e)||null,attributesBefore:R(this[t(498)][t(278)](e))||{},attributesAfter:R(this[t(557)][t(278)](e))}}return{diffData:u,authorsIds:Array[t(337)](l)}}[ft(563)](t){const e=ft;for(const[,i]of t[e(419)]){const t=i[e(402)][e(543)]()[e(463)](t=>e(568)==t[e(391)]);for(const i of t)1==i[e(297)]&&i[e(319)](0).is(e(513),e(281))&&i[e(319)](0)[e(489)](e(487),!0)}}[ft(428)](t){const e=ft;this[e(563)](t);const i=this[e(409)][e(573)][e(323)](t,{}),s=Array[e(337)](i[e(493)]())[e(547)](t=>this[e(341)](t));return JSON[e(525)](s)}[ft(341)](t){const e=ft;if(t.is(e(448)))return t[e(573)];{const i=this[e(409)][e(468)][e(278)](e(440)),s=t,n=this[e(409)][e(573)][e(322)][e(561)],r={type:i[e(390)](s),name:s[e(391)],attributes:Array[e(337)](s[e(526)]()),children:Array[e(337)](s[e(493)]())[e(547)](t=>this[e(341)](t))};if(t.is(e(293))&&e(534)!=t[e(391)]){const i=t[e(586)](n[e(421)],n);r[e(315)][e(333)](i[e(572)])}else if(t.is(e(309))){const i=n[e(421)][e(450)](s[e(391)]);t[e(586)](i,n),r[e(315)][e(333)](i[e(495)])}const o=Array[e(337)](s[e(580)]());o[e(507)]>0&&(r[e(369)]=o);const a=s[e(554)]();return null!==a&&(r[e(279)]=a),r}}[ft(388)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(409)][r(393)];for(let s=0;s<e[r(507)];s++){const n=this[r(427)](e[s]),c=e[s][r(587)][r(436)](n),h=i[r(278)](c),d=s==e[r(507)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(340)]!=o[r(340)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(340)],d=l(514)+s+":"+h+":"+c++,f=u[l(550)](i,a);t[l(419)][l(510)](d,f),null!==h&&n[l(496)](h)}}[ft(427)](t){const e=ft;switch(t[e(360)]){case e(583):return e(451);case e(394):return e(284);default:return e(523)}}[ft(395)](t,e){const i=ft;t[i(522)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(278)](n[i(282)][i(351)]);t[s]=this[i(490)](n,r)}if(n instanceof X.ModelRange){const r=e[i(278)](n[i(282)][i(351)]);t[s]=this[i(350)](n,r)}i(282)===s&&(t[i(282)]=e[i(278)](t[i(282)][i(351)]))}}[ft(350)](t,e){const i=ft;return this[i(409)][i(393)][i(550)](this[i(490)](t[i(402)],e),this[i(490)](t[i(434)],e))}[ft(490)](t,e){const i=ft;return this[i(409)][i(393)][i(430)](e,t[i(291)],t[i(410)])}[ft(305)](t){const e=ft,i=this[e(552)][e(278)](t[e(532)][e(282)][e(351)]),s=this[e(490)](t[e(532)],i),n=null===t[e(308)]?null:t[e(308)]||this[e(409)][e(468)][e(278)](e(567)).me.id,r=s[e(396)],o=this[e(349)],a=[];for(const i of t[e(472)])if(i.is(e(513)))a[e(333)](this[e(576)](i));else for(let t=0;t<i[e(535)];t++)a[e(333)](new X.ModelElement(e(448),{vid:this[e(349)]++}));const c=this[e(349)];for(let t=o;t<c;t++)this[e(566)][e(510)](t,{userId:n});r[e(420)](s[e(443)],a)}[ft(582)](t){const e=ft;(t=this[e(509)](t,this[e(552)]))[e(386)]();const i=null===t[e(308)]?null:t[e(308)]||this[e(409)][e(468)][e(278)](e(567)).me.id,s=t[e(431)](),n=s[e(396)],r=s[e(443)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(319)](e);r.is(a(513),a(448))?s[a(510)](r[a(436)](a(523)),{userId:i}):(s[a(510)](r[a(436)](a(451)),{userId:i}),t(s,r,0,r[a(297)]),s[a(510)](r[a(436)](a(284)),{userId:i}))}}(this[e(566)],n,r,r+t[e(287)])}[ft(382)](t){const e=ft,i=null===(t=this[e(509)](t,this[e(552)]))[e(308)]?null:t[e(308)]||this[e(409)][e(468)][e(278)](e(567)).me.id,s=t[e(517)][e(396)],n=t[e(445)][e(396)],r=s[e(436)](e(284)),o=n[e(436)](e(451));s[e(489)](e(284),n[e(436)](e(284))),n[e(489)](e(284),r),this[e(566)][e(510)](o,{userId:i}),this[e(566)][e(510)](r,{userId:i}),t[e(386)]()}[ft(464)](t){const e=ft,i=null===(t=this[e(509)](t,this[e(552)]))[e(308)]?null:t[e(308)]||this[e(409)][e(468)][e(278)](e(567)).me.id,s=t[e(439)],n=t[e(466)][e(396)];t[e(386)]();const r=n[e(436)](e(284)),o=t[e(456)][e(344)];if(s){const t=o[e(436)](e(284)),s=n[e(436)](e(284));n[e(489)](e(284),t),o[e(489)](e(284),s),this[e(566)][e(510)](n[e(436)](e(284)),{userId:i}),this[e(566)][e(510)](o[e(436)](e(451)),{userId:i})}else{const t=this[e(349)]++,s=this[e(349)]++;n[e(489)](e(284),t),o[e(489)](e(451),s),o[e(489)](e(284),r),this[e(566)][e(510)](t,{userId:i}),this[e(566)][e(510)](s,{userId:i})}}[ft(474)](t){const e=ft;if(!t[e(354)])return;const i=(t=this[e(509)](t,this[e(392)]))[e(458)]?t[e(458)][e(282)]:null,s=t[e(441)]?t[e(441)][e(282)]:null;i&&this[e(503)][e(375)](t[e(391)]),s&&this[e(503)][e(510)](t[e(391)],t[e(441)][e(317)]());const n=null===t[e(308)]?null:t[e(308)]||this[e(409)][e(468)][e(278)](e(567)).me.id,r=t[e(391)];if(!this[e(471)][e(595)](r))return void this[e(471)][e(510)](r,{range:t[e(458)],userId:n});const o=this[e(471)][e(278)](r),a=o[e(377)],c=t[e(441)];null==a&&null==c||a&&c&&a[e(584)](c)?this[e(471)][e(375)](t[e(391)]):o[e(340)]=n}[ft(330)](t,e){const i=ft;this[i(392)][i(595)](t[i(351)])?this[i(392)][i(278)](t[i(351)])[i(398)]=t[i(411)]:(this[i(392)][i(510)](t[i(351)],kt(t[i(351)],!0)),this[i(557)][i(510)](t[i(351)],{}),e&&this[i(552)][i(510)](t[i(351)],kt(t[i(351)],!0)));const s=null===t[i(308)]?null:t[i(308)]||this[i(409)][i(468)][i(278)](i(567)).me.id,n=this[i(519)][i(278)](t[i(351)]);n&&n[i(340)]===s?this[i(519)][i(375)](t[i(351)]):this[i(519)][i(510)](t[i(351)],{userId:s,isAttached:t[i(411)]})}[ft(505)](t){const e=ft,i=this[e(557)][e(278)](t[e(282)][e(351)]);null===t[e(405)]?delete i[t[e(345)]]:i[t[e(345)]]=t[e(405)]}}function yt(t){const e=ft,i=kt(t[e(351)],t[e(455)]());for(const s of t[e(493)]()){const t=s[e(415)](!0);i[e(579)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(351)]=t,s[i(398)]=e,s[i(455)]=()=>s[i(398)],s}function bt(t,e,i){const s=ft,n=s(394)==t[s(360)]?i[s(373)](t[s(587)],s(434)):i[s(343)](t[s(587)]);return i[s(430)](e,n[s(291)],n[s(410)])}function wt(t,e,i){const s=ft,n=s(583)==t[s(360)]?i[s(373)](t[s(587)],0):i[s(593)](t[s(587)]);return i[s(430)](e,n[s(291)],n[s(410)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),xt=i.n(Tt),Nt=i(265),At=i.n(Nt),Rt=i(410),Mt=i.n(Rt),Vt=i(238),Dt=i.n(Vt),Et=i(246),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(124),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=373]})(t,e)}function zt(){const t=["stopPropagation","setTemplate","30XfPCVH","ck-revision-history-save-revision-form","919370YNalPD","16wpGjAG","arrowright","focus","extendTemplate","fieldView","revisionNameInputView","listenTo","276689nIWyze","input","Name of the revision","4548idGvoV","add","1003239zrPvCY","revisionNameInputValue","revisionName","label","trim","locale","initializeCssTransitionDisablerMixin","712515ZDeFiH","optional","set","element","arrowleft","220","focusTracker","_createRevisionNameInput","value","keystrokes","arrowdown","16YbfiwN","arrowup","render","4188dFZufq","65142bXEcuL","ck-responsive-form","reset","6986298eNSZxL","errorText","form","951NuLEmV"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(607454===-parseInt(e(411))/1+parseInt(e(376))/2*(-parseInt(e(406))/3)+-parseInt(e(396))/4*(parseInt(e(385))/5)+parseInt(e(403))/6+-parseInt(e(373))/7*(parseInt(e(412))/8)+parseInt(e(378))/9*(-parseInt(e(409))/10)+parseInt(e(400))/11*(parseInt(e(399))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(391)];[jt(394)];[jt(417)];constructor(e,i){const s=jt;super(e),this[s(391)]=new t.FocusTracker,this[s(394)]=new t.KeystrokeHandler,this[s(387)](s(379),""),this[s(417)]=this[s(392)](i),this[s(408)]({tag:s(405),attributes:{class:["ck",s(410),s(401)],tabindex:"-1"},children:[this[s(417)]]}),this[s(384)]()}[jt(398)](){const t=jt;super[t(398)](),(0,It.submitHandler)({view:this}),this[t(391)][t(377)](this[t(417)][t(388)]),this[t(394)][t(418)](this[t(388)]);const e=e=>e[t(407)]();this[t(394)][t(387)](t(413),e),this[t(394)][t(387)](t(389),e),this[t(394)][t(387)](t(397),e),this[t(394)][t(387)](t(395),e)}[jt(414)](){const t=jt;this[t(417)][t(414)]()}get[jt(380)](){const t=jt;return this[t(417)][t(416)][t(388)][t(393)][t(382)]()}set[jt(380)](t){const e=jt;this[e(417)][e(416)][e(388)][e(393)]=t[e(382)]()}[jt(402)](){const t=jt;this[t(417)][t(416)][t(388)][t(393)]="",this[t(417)][t(404)]=null}[jt(392)](t){const e=jt,i=new It.LabeledFieldView(this[e(383)],It.createLabeledInputText),s=i[e(416)];s[e(415)]({attributes:{maxlength:e(390)}});let n=at(this[e(383)],e(375));return!t&&(n+=" ("+at(this[e(383)],e(386))+")"),i[e(381)]=n,s.on(e(374),()=>{const t=e;this[t(379)]=s[t(388)][t(393)][t(382)]()}),i}}const Ut=Ht;function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=298]})(t,e)}function Zt(){const t=["10053QiPXZn","Cancel","editor","908704kHouMa","11828940cZTwKG","menu","hide","isReadOnly","componentFactory","RevisionTracker","focus","execute","role","buttonView","menuitem","Save current revision","4856LhddAL","revisionHistory","Dialog","get","342727AiUqBi","pluginName","revisionName","1122961mmweEM","saveRevision","plugins","errorText","_registerMenuComponent","ck-button-action","children","config","init","editing","view","_saveRevisionFormView","382574zZxlFi","isEnabled","10gAPWWL","menuBar:revisionHistory","_showDialog","showRevisionViewerCallback","bind","revisionSave","_createSaveRevisionFormView","isReady","isPremiumPlugin","panelView","The revision name cannot be empty.","add","show","locale","Accept","18ayxAwc","Revision history","2001270cWMIBL","revisionNameInputView","addMany","reset","Open revision history","render","isOfficialPlugin","delegate","RevisionHistoryUI","set","isOpen","items","revisionHistory.requireRevisionName","submit","requires"];return(Zt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(409642===parseInt(e(361))/1+-parseInt(e(307))/2+-parseInt(e(326))/3+-parseInt(e(344))/4*(parseInt(e(309))/5)+-parseInt(e(324))/6*(parseInt(e(364))/7)+-parseInt(e(357))/8*(-parseInt(e(341))/9)+parseInt(e(345))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(362)](){return Ut(334)}static get[Ut(332)](){return!0}static get[Ut(317)](){return!0}static get[Ut(340)](){return[pt]}[Ut(306)];[Ut(303)](){const t=Ut,e=this[t(343)],i=e[t(366)][t(360)](t(350));e.ui[t(349)][t(320)](t(358),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(318)][n(301)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(313)](n(308)).to(i,n(316),i,n(308),e,n(348),(t,e,i)=>t&&e&&!i),r[n(354)][n(335)]({icon:_t.IconHistory,label:at(s,n(325)),tooltip:!0}),u[n(335)]({label:at(s,n(356)),withText:!0,role:n(355)}),u[n(313)](n(308)).to(i,n(316),i,n(308),e,n(348),(t,e,i)=>t&&e&&!i),u.on(n(352),()=>this[n(311)]()),h[n(335)]({label:at(s,n(330)),withText:!0,role:n(355)}),h[n(313)](n(308)).to(i,n(316),e,n(348),(t,e)=>t&&!e),h.on(n(352),()=>{const t=n;e[t(302)][t(360)](t(358))[t(312)](),r[t(336)]=!1,e[t(304)][t(305)][t(351)]()}),c[n(301)][n(320)](u),l[n(301)][n(320)](h),a[n(353)]=n(346),a[n(337)][n(328)]([c,l]),o[n(320)](a),r}),e.ui[t(349)][t(320)](t(310),()=>this[t(299)]())}[Ut(299)](){const t=Ut,e=this[t(343)],i=e[t(322)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(354)][t(335)]({icon:_t.IconHistory,label:at(i,t(325))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(335)]({label:at(i,t(356))}),o[t(333)](t(352)).to(s),o.on(t(352),()=>{this[t(311)]()}),r[t(301)][t(320)](o),n[t(337)][t(320)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(335)]({label:at(i,t(330))}),c[t(333)](t(352)).to(s),c.on(t(352),()=>{const i=t;e[i(302)][i(360)](i(358))[i(312)]()}),a[t(301)][t(320)](c),n[t(337)][t(320)](a),s[t(318)][t(301)][t(320)](n),s}[Ut(311)](){const t=Ut,e=this[t(343)],i=e[t(322)],s=e[t(366)][t(360)](t(359)),n=e[t(366)][t(360)](t(350));function r(n){const r=t;e[r(302)][r(360)](r(338))&&""===n[r(363)]?n[r(327)][r(298)]=at(i,r(319)):(e[r(366)][r(360)](pt)[r(365)]({name:n[r(363)]}),s[r(347)]())}this[t(306)]||(this[t(315)](),this[t(306)].on(t(339),()=>r(this[t(306)]))),this[t(306)][t(329)](),s[t(321)]({id:t(314),title:at(i,t(356)),isModal:!0,content:this[t(306)],actionButtons:[{label:at(e[t(322)],t(342)),withText:!0,onExecute:()=>s[t(347)]()},{label:at(e[t(322)],t(323)),class:t(300),withText:!0,onCreate(i){const s=t;i[s(313)](s(308)).to(n,s(316),n,s(308),e,s(348),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(306)])}]})}[Ut(315)](){const t=Ut,e=this[t(343)],i=e[t(322)];this[t(306)]=new Wt(i,e[t(302)][t(360)](t(338))),this[t(306)][t(331)]()}}function $t(){const t=["span","36450KxjfTc","1864410ttotaV","focus","changeId","ck-annotation","ck-revision-change__","6JyAJqH","16EoSMVs","Added by","setTemplate","div","name","data","192GBYUvM","Removed by","add","_model","16195JOsZoe","bindTemplate","ck-revision-change","element","type","6IvnEnN","set","author","1560755uRGQVf","112541bIMnJT","ck-revision-change__label","Suggested by","isSuggestion","332545SvNlKc","288UrmAnW","192345psyquk"];return($t=function(){return t})()}const Bt=Jt;function Jt(t,e){const i=$t();return(Jt=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=Jt,i=t();for(;;)try{if(201604===parseInt(e(159))/1+-parseInt(e(130))/2*(-parseInt(e(140))/3)+parseInt(e(149))/4*(parseInt(e(138))/5)+parseInt(e(148))/6*(parseInt(e(133))/7)+-parseInt(e(139))/8*(parseInt(e(142))/9)+-parseInt(e(143))/10+-parseInt(e(134))/11*(parseInt(e(155))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Yt extends It.View{[Bt(145)];[Bt(158)];constructor(t,e){const i=Bt;super(t),this[i(158)]=e,this[i(145)]=e.id;const s=this[i(160)],n=at(t,e[i(154)][i(137)]?i(136):i(157)==e[i(163)]?i(150):i(156));this[i(131)](i(163),e[i(163)]),this[i(151)]({tag:i(152),attributes:{class:[i(146),i(161),s.to(i(163),t=>i(147)+t)],tabindex:-1},children:[{tag:i(141),children:[{tag:i(141),attributes:{class:[i(135)]},children:[{text:n}]},{text:" "+e[i(132)][i(153)]}]}]})}[Bt(144)](){const t=Bt;this[t(162)][t(144)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=394]})(t,e)}var Kt=Gt;function Xt(){var t=["27XdUVFq","141772TFuMnF","1347144wSDECL","3423BYXQHS","author","823288jMAFFS","2533601BlpQlX","set","data","toJSON","249702cOnhuI","246yqNopS","type","rootName","1929200pXpCwK","createdAt","5oEedJm"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(181158===-parseInt(e(407))/1+parseInt(e(400))/2*(parseInt(e(409))/3)+-parseInt(e(408))/4+-parseInt(e(405))/5*(-parseInt(e(399))/6)+parseInt(e(395))/7+parseInt(e(394))/8*(parseInt(e(406))/9)+-parseInt(e(403))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(410)];[Kt(401)];[Kt(397)];[Kt(402)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(410)]=e[i(410)],this[i(401)]=e[i(401)],this[i(397)]=e[i(397)]||{},this[i(402)]=e[i(402)],this[i(396)](i(404),e[i(404)])}[Kt(398)](){var t=Kt;return{id:this.id,authorId:this[t(410)].id,type:this[t(401)],data:this[t(397)],createdAt:this[t(404)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=244]})(t,e)}function ie(){const t=["newRevisionId","4eEdeEv","18239925zKrtqJ","2254105spqvrG","7527mYYGRp","4222016bTNzBw","302012cEQaaJ","_setChanges","changes","1122630iOiWcx","9sGfcDH","7oYcKoS","add","455370koPzOG","298qAkYrS","oldRevisionId"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(518789===-parseInt(e(246))/1+parseInt(e(254))/2*(parseInt(e(244))/3)+parseInt(e(257))/4*(-parseInt(e(259))/5)+-parseInt(e(249))/6*(parseInt(e(251))/7)+-parseInt(e(245))/8+parseInt(e(250))/9*(-parseInt(e(253))/10)+parseInt(e(258))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(256)];[te(255)];[te(248)];constructor(e,i){const s=te;this[s(256)]=e,this[s(255)]=i,this[s(248)]=new t.Collection}[te(247)](t){const e=te;for(const i of t)this[e(248)][e(252)](i)}}var ne=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(){const t=["addMarker:revision-suggestion:deletion","showStack","push","ck-revision-history-root--active","_makeModelFromTape","viewItem","highest","consumable","getCustomProperty","then","for","_setConversion","isAtStart","markerNameToElements","_utils","currentChangeNumber","includes","getIndex","high","isBlock","_getDiff","insertions","elementStart","addClass","isNavigationMode","init","return","_markInsertions","_appendChild","editor","commands","roots","listenTo","oldRevisionId","indexOf","start","resolve","offsetSize","isInline","removeAttribute","enqueueChange","restoreRevision","bottom","revisionHistoryAttachChange","diff","_makeTape","getItems","checkAttribute","_setChanges","abs","dataToMarker","markersEnd","pop","first","change:isEnabled","deletions","requires","getRevisionDocumentData","editingDowncast","data","loadRevisionData","text","addRevision","toViewElement","mapViewToDom","_changeIdToChange","revision-suggestion","revision","authors","isAfter","backward","POSITIVE_INFINITY","schema","revision-viewer","isRemoved","stop","forceDisabled","isOfficialPlugin","createPositionBefore","bindElementToMarker","error","isIncorrect","writer","all","_removeUnsupportedChanges","activeChange","attributesBefore","previousPosition","_data","_makeModelFromViewString","_setDistance","isEnabled","isOnRoot","_revisions","shift","execute","markerName","attributesAfter","4849929JWiqEt","mousedown","ck-suggestion-marker","_fixObsoleteTags","level","updatePosition","dataDowncast","maxOffset","repository","parent","name","vid","removeClass","nextPosition","ck-suggestion-marker--active","ck-revision-history-root-","ck-editor__editable__overlay","getChild","attachChange","getClientRects","enableReadOnlyMode","softBreak","isContent","wrap","newRevisionId","top","span","split","RevisionViewer","destroy","adapter","2926592vcGegS","createAttributeElement","find","unshift","_removeMissingPairs","index","item","changes","set","data-change-id","hasClass","1224TEyRsD","mapper","flat","has","_update","RevisionHistoryUtils","revision:","setAttribute","getAttributes","end","addMarker:revision-suggestion:insertion","type","getAttribute","_findChangeIdFromDomTarget","ck-suggestion-preview-marker-","domEvent","isEqual","2000172MhEdnU","createPositionFromPath","filter","_changeView","suggestion","_cleanMarkers","_sortAndFilterDiffChanges","5chEkRO","nextSibling","compare","markers","_activeViewTarget","getLaterVisibleRevision","uiElement","isAttached","_joinTapes","vid_end","getRevisionRootsAttributes","vid_start","map","consume","locale","_refreshStartEndIndex","_threeWayMerge","target","rootName","keys","markerRange","markerToHighlight","revisionHistory","insert","activeView","comment","side","test","length","forEach","pairId","removeMarker:revision-suggestion","detachRoot","startIndex","sort","code","remove","delete","createRange","ck-suggestion-marker-","distance","479621ISZLMb","range","view","isAdded","revision-comment:","change:activeView","conversion","mouseover","hasAttribute","low","_markMarkers","143fWCuOF","addMarker:revision","isCollapsed","splice","suggestion:","_processTape","RevisionsRepository","isLimit","concat","WidgetToolbarRepository","object","-new","endIndex","userId","change","slice","downcastDispatcher","removeMarker","change:isReady","markersStart","model","next","values","isAtEnd","getRoot","addHighlight","restoreRevisionCallback","_getRevisionsRange","ck-revision-history-root-remove","isReady","config","_getChangeFromId","add","reconvertMarker","change:activeChange","showNextChange","revisionHistoryLabel","domConverter","from","markerToData","bind","plugins","removeMarker:revision","createRevision","element","attributes","observeMarkers","1925420eMiVYa","get","isObject","addRoot","addRevisionData","ck-suggestion-marker-merge","5342OhjiIA","affectsData","catch","editing","deletion","done","merge","string","insertion","forward","elementEnd","isRemoveSuggestion","_getViewForChange","pluginName","diffData","showPreviousChange","right","document","startsWith","getRootNames","toViewPosition","change:numberOfChanges","element:pre","ck-suggestion-marker-split","getDomRoot","getWalker","numberOfChanges","toViewRange","1274076iDUYUD","nodeAfter","isSuggestion","selection","isBefore","changeId","getRevision","_balloon","unbindElementFromMarkerName","createRangeIn","left","_step","findIndex","revision-suggestion:","ck-revision-history-root-add","upcast","isPremiumPlugin","_cleanUp","_markSuggestions","createUIElement","modelRange","elementToAttribute","ck-suggestion-preview-marker","_markMismatchedRemovedTags","isAddSuggestion","refresh","clear","9RBYqIl","attribute:vid","_initInteractions"];return(oe=function(){return t})()}const ae=ce;function ce(t,e){const i=oe();return(ce=function(t,e){return i[t-=158]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(591791===-parseInt(e(255))/1+parseInt(e(319))/2*(-parseInt(e(190))/3)+parseInt(e(347))/4+-parseInt(e(214))/5*(parseInt(e(207))/6)+-parseInt(e(475))/7+parseInt(e(179))/8*(parseInt(e(374))/9)+parseInt(e(313))/10*(parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ue extends G.Plugin{[ae(483)];[ae(178)]=null;[ae(391)];[ae(218)];[ae(210)];[ae(442)];[ae(354)];static get[ae(332)](){return ae(176)}static get[ae(454)](){return!0}static get[ae(363)](){return!0}static get[ae(433)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=ae;super(t),this[e(483)]=this[e(406)][e(307)][e(314)](e(272)),this[e(391)]=this[e(406)][e(307)][e(314)](e(195)),this[e(187)](e(462),null),this[e(187)](e(238),null),this[e(218)]=null,this[e(187)](e(421),null),this[e(187)](e(295),!1),this[e(187)](e(468),!0),this.on(e(431),(t,i,s)=>{const n=e;this[n(462)]=null,this[n(238)]=null,this[n(406)][n(322)][n(257)][n(280)](t=>{const e=n;for(const i of this[e(406)][e(322)][e(257)][e(336)][e(408)])s?t[e(160)](e(164),i):t[e(400)](e(164),i)})}),this[e(306)](e(401)).to(this,e(462),t=>null!==t),this[e(306)](e(392)).to(this,e(295),this,e(421),this,e(462),(t,i,s)=>t&&s?i[e(186)][e(394)](s):0),this[e(306)](e(345)).to(this,e(295),this,e(421),(t,i)=>t?i[e(186)][e(242)]:0),this[e(210)]=null,this[e(442)]=new Map,this[e(354)]=this[e(406)][e(307)][e(314)](It.ContextualBalloon)}[ae(402)](){const t=ae,e=this[t(406)],i=new de(e,{direction:t(447)}),s=new de(e,{direction:t(328)});e[t(407)][t(298)](t(334),i),e[t(407)][t(298)](t(301),s),e[t(407)][t(298)](t(418),new he(e)),this.on(t(340),()=>{const e=t;i[e(372)](),s[e(372)]()}),this[t(388)](),this[t(376)](),e[t(168)](t(450)),e[t(307)][t(193)](t(275))&&e[t(307)][t(314)](t(275))[t(453)](t(450))}async[ae(434)](t){const e=ae;return await this[e(391)][e(437)](t,this[e(178)]),this[e(391)][e(434)](t)}async[ae(224)](t){const e=ae;return await this[e(391)][e(437)](t,this[e(178)]),this[e(391)][e(224)](t)}async[ae(216)](t,e,i=!1){const s=ae;if(!this[s(468)])return;const n=this[s(421)],r=this[s(483)],o=s(326)==typeof t?r[s(353)](t):t,a=s(326)==typeof e?r[s(353)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(421)]&&this[s(421)][s(172)]===c&&this[s(421)][s(410)]===u)return Promise[s(413)]();this[s(295)]=!1,this[s(238)]=null,this[s(462)]=null,this[s(421)]=new se(c,u);const l=this[s(293)](o,a,!0)[s(226)](t=>this[s(391)][s(437)](t,this[s(178)]));return l[s(379)](new Promise(t=>{setTimeout(t,20)})),Promise[s(460)](l)[s(386)](()=>{const t=s;if(!this[t(468)])return;this[t(364)]();const e=this[t(397)](c,u);for(const i of e[t(186)])this[t(442)][t(187)](i.id,i);this[t(406)][t(286)][t(417)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(406)][s(286)][s(336)][s(338)]())i[s(246)](t);for(const t of Object[s(233)](e[s(286)])){const n=i[s(316)](t);for(const r of Object[s(233)](e[s(311)][t]))i[s(197)](r,e[s(311)][t][r],n);i[s(237)](e[s(286)][t],n,0)}}),this[t(421)][t(425)](this[t(213)](e[t(186)])),this[t(295)]=!0})[s(321)](t=>{const e=s;console[e(457)](t),this[e(364)](),n&&(this[e(421)]=n),this[e(295)]=!0})}[ae(317)](t,e){const i=ae,s=this[i(483)][i(309)](t);return s.on(i(194),(t,i,n)=>e(i,n,s)),this[i(483)][i(439)](s),s}[ae(364)](){const t=ae;this[t(462)]=null,this[t(212)](),this[t(210)]&&this[t(210)][t(177)](),this[t(210)]=null,this[t(442)][t(373)](),this[t(406)][t(286)][t(417)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(406)][i(286)][i(336)][i(338)]())e[i(246)](t)})}[ae(213)](t){const e=ae,i=[],s=new Map;for(const t of this[e(406)][e(286)][e(336)][e(338)]()){const n=this[e(406)][e(322)][e(257)][e(343)](t);if(!n)continue;const r=n[e(167)]()[e(185)](0);r&&(i[e(379)](t),s[e(187)](t,r))}return i[e(248)]((t,i)=>{const n=e,r=s[n(314)](t),o=s[n(314)](i);return r.y-o.y||r.x-o.x}),(t=t[e(209)](t=>i[e(393)](t[e(232)])))[e(248)]((t,s)=>i[e(411)](t[e(232)])-i[e(411)](s[e(232)])),t}[ae(422)](t){const e=ae,i=Array[e(304)](t[e(217)])[e(209)](([t,i])=>t[e(337)](e(196))&&!i[e(268)]),s=Array[e(304)](this[e(406)][e(286)][e(356)](t)[e(344)]({singleCharacters:!0}));if(0!=i[e(242)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(175)](":");if(n[e(199)][e(206)](t[e(161)])&&i[e(471)](),(t[e(464)][e(206)](n[e(412)])||t[e(464)][e(446)](n[e(412)]))&&(e(327)==r?t[e(258)]={userId:o}:e(323)==r&&(t[e(451)]={userId:o})),0==i[e(242)])break}return s}[ae(229)](t){const e=ae,i=new Map;for(let s=0;s<t[e(242)];s++)e(438)===t[s][e(201)]?(t[s][e(185)][e(247)]=s,t[s][e(185)][e(278)]=s):(e(399)===t[s][e(201)]?t[s][e(185)][e(247)]=s:e(329)===t[s][e(201)]&&(t[s][e(185)][e(278)]=s),i[e(187)](t[s].id,s));for(const s of i[e(288)]())e(399)===t[s][e(201)]?t[s][e(185)][e(278)]=i[e(314)](t[s][e(244)]):e(329)===t[s][e(201)]&&(t[s][e(185)][e(247)]=i[e(314)](t[s][e(244)]))}[ae(271)](t){const e=ae;for(let i=0;i<t[e(242)];i++){if(e(399)===t[i][e(201)])t[i][e(185)][e(247)]=i;else if(e(329)===t[i][e(201)]){t[i][e(185)][e(278)]=i;const s=t[i][e(185)][e(247)];t[s][e(244)]=t[i].id,t[i][e(244)]=t[s].id}else t[i][e(185)][e(247)]=i,t[i][e(185)][e(278)]=i,t[i][e(244)]=null;t[i][e(285)]||(t[i][e(285)]=[],t[i][e(428)]=[])}}[ae(404)](t,e){const i=ae,s=t[i(209)](t=>!t[i(258)]);for(let t=0;t<e[i(242)];t++)e[t][i(258)]&&(s[t][i(258)]=e[t][i(258)])}[ae(397)](t,e=null){const i=ae,s=this[i(483)][i(353)](t),n=e?this[i(483)][i(353)](e):null,r=this[i(293)](s,n),o=r[r[i(242)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(242)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(233)](e[i(333)]))if(e[i(333)][t][i(166)]){const s=e[i(333)][t][i(166)];s[i(221)]?(u[i(298)](t),l[i(193)](t)&&l[i(314)](t)[i(279)]==s[i(279)]?l[i(251)](t):l[i(187)](t,s)):l[i(193)](t)?(u[i(251)](t),l[i(251)](t)):(u[i(298)](t),l[i(187)](t,s))}else u[i(298)](t)}for(const t of u){const e=l[i(193)](t)&&!l[i(314)](t)[i(221)];let s=e?r[i(242)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(333)][t]){const s=e?o[i(333)][t][i(463)]:o[i(333)][t][i(474)];c[i(311)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(286)]={};for(const e of t[i(445)])a[i(187)](e.id,e);for(const e of u){const s=t[i(333)][e]?t[i(333)][e][i(398)]:"[]",n=t[i(333)][e]?t[i(333)][e][i(432)]:"[]";t[i(286)][e]={insertions:this[i(391)][i(466)](s),deletions:this[i(391)][i(466)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(304)](s[i(286)][t][i(398)][i(217)])[i(209)](([t])=>!t[i(337)](i(196))));let h=0;for(const o of r){const r=this[i(422)](o[i(286)][t][i(398)]);o==s?(e=r,n=e[i(242)],e[i(243)](t=>{t.id=h++}),this[i(271)](e)):this[i(404)](e,r);const a=e[i(209)](t=>!t[i(258)])[i(226)](t=>t.id);let c=0;const l=this[i(422)](o[i(286)][t][i(432)]);l[i(243)](t=>{t[i(451)]?t.id=n++:t.id=a[c++]}),this[i(271)](l),this[i(467)](e,i(258)),this[i(467)](l,i(451)),o==s&&this[i(265)](e,u),e=this[i(222)](e,l),this[i(229)](e),this[i(467)](e,i(451))}e=e[i(209)](t=>!(t[i(258)]&&t[i(451)]));const d=new Map(o[i(286)][t][i(432)][i(217)]),f=new Set(u[i(233)]());for(const t of d[i(233)]())f[i(251)](t);this[i(365)](e,f),this[i(478)](e),e=this[i(183)](e),e=this[i(370)](e),e=this[i(461)](e);const{root:m,changes:p}=this[i(381)](e,a,t);c[i(286)][t]=m;const v=l[i(314)](t);if(v){const e=a[i(314)](v[i(279)]),s=new Qt({author:e,type:v[i(221)]?i(298):i(250),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(182)](s),c[i(311)][t][i(420)]=s.id}c[i(186)]=c[i(186)][i(274)](p)}return c}[ae(265)](t,e){const i=ae;for(let s=0;s<t[i(242)];s++)for(const[n,r]of e)!r[i(268)]&&r[i(412)][i(206)](t[s][i(464)])&&t[s][i(285)][i(379)](n),r[i(199)][i(206)](t[s][i(161)])&&t[s][i(428)][i(379)](n)}[ae(222)](t,e){const i=ae;let s=[],n=0,r=0;for(;n<t[i(242)]||r<e[i(242)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(379)](o);else if(a[i(451)]&&o[i(258)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(230)](t,n,e,r);s=s[i(274)](o),n=a,r=c}else a[i(451)]?(r++,s[i(379)](a)):(n++,s[i(379)](o))}return s}[ae(365)](t,e){const i=ae,s=[];for(let o=0;o<t[i(242)];o++){for(let r=0;r<t[o][i(285)][i(242)];r++){const a=t[o][i(285)][r];if(!e[i(193)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(443)!=c||i(327)!=u&&i(323)!=u||(s[i(182)]({type:u,name:a,userId:l}),t[o][i(285)][i(269)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(428)][i(242)];r++){const a=t[o][i(428)][r];if(!e[i(193)](a))continue;const{group:c,type:u}=n(a);if(i(443)!=c||i(327)!=u&&i(323)!=u)continue;t[o][i(428)][i(269)](r,1),r--;const l=s[i(359)](t=>t[i(158)]==a);l>-1&&s[i(269)](l,1)}}function n(t){const e=i,s=t[e(175)](":");return{group:s[0],type:s[1],subType:s[e(242)]>=5?s[2]:null,id:s[e(242)]<5?s[2]:s[3],authorId:s[e(242)]<5?s[3]:s[4],markerCount:6==s[e(242)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(242)];i++){if(t[e(258)]&&e(327)==s[i][e(201)]&&t[e(258)][e(279)]==s[i][e(279)])return t[e(371)]=s[i],void delete t[e(258)];if(!t[e(258)]&&!t[e(451)]&&e(323)==s[i][e(201)])return void(t[e(330)]=s[i])}}}[ae(467)](t,e){const i=ae;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(187)](o.id,s);for(let s=0;s<t[i(242)];s++){if(i(451)==e&&t[s][i(258)]||i(258)==e&&t[s][i(451)])continue;if(i(438)==t[s][i(201)]){t[s][i(254)]=0;continue}const n=r[i(314)](t[s][i(244)]),o=r[i(314)](t[s].id);t[s][i(254)]=n-o}}[ae(293)](t,e,i=!1){const s=ae,n=[];let r=this[s(483)][s(394)](t),o=this[s(483)][s(394)](e);for(-1==o&&(o=this[s(483)][s(470)][s(242)],i=!1);r<o;)n[s(379)](this[s(483)][s(353)](r)),r++;return i&&n[s(379)](this[s(483)][s(353)](r)),n}[ae(230)](t,e,i,s){const n=ae,r=this[n(406)][n(286)][n(449)];let o=e;for(;t[o]&&t[o][n(258)];)o++;let a=s;for(;i[a]&&i[a][n(451)];)a++;u(t,e,o),u(i,s,a);const c=i[n(281)](s,a)[n(274)](t[n(281)](e,o));return c[n(248)]((t,e)=>t[n(240)]!=e[n(240)]?t[n(240)]-e[n(240)]:t[n(479)]!=e[n(479)]?t[n(479)]-e[n(479)]:t[n(254)]!=e[n(254)]?e[n(254)]-t[n(254)]:!!t[n(258)]!=!!e[n(258)]?-1==t[n(240)]||0==t[n(240)]?t[n(258)]?-1:1:t[n(258)]?1:-1:t[n(184)]-e[n(184)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(448)],c=!0;for(let n=e;n<i;n++)if(r[s(415)](t[n][s(185)])||(c=!1),t[n][s(185)][s(247)]<e&&(o=n),t[n][s(185)][s(278)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(240)]=n<=o?-1:n<a?0:1,t[n][s(184)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(254)]?t[i][s(479)]=u:(u++,t[i][s(479)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(240)]&&(t[n][s(479)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(254)]?t[e][s(479)]=u:(u--,t[e][s(479)]=u,u--)}}[ae(478)](t){const e=ae,i=new Map,s=this[e(406)][e(286)][e(449)];for(let n=1;n<t[e(242)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(438)==c[e(201)])continue;if(c[e(201)]!=u[e(201)])continue;if(!s[e(396)](u[e(185)])||s[e(273)](u[e(185)]))continue;if(!s[e(396)](c[e(185)])||s[e(273)](c[e(185)]))continue;if((t[n][e(258)]||t[n][e(371)])&&t[n-1][e(451)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(451)]||!t[n-1][e(258)]&&!t[n-1][e(371)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(479)]==o[e(479)],h=Math[e(426)](r[e(479)])<Math[e(426)](o[e(479)])&&0==o[e(254)];(l||h)&&(i[e(187)](o.id,r.id),t[e(269)](a,1),n--,r[e(258)]=!1)}for(let s=0;s<t[e(242)];s++)i[e(193)](t[s][e(244)])&&(t[s][e(244)]=i[e(314)](t[s][e(244)]))}[ae(183)](t){const e=ae,i=new Set(t[e(226)](t=>t.id));for(let s=0;s<t[e(242)];s++)i[e(193)](t[s][e(244)])||0==t[s][e(254)]||(t[s][e(458)]=!0);return t[e(209)](t=>!t[e(458)])}[ae(370)](t){const e=ae,i=new Set;for(let s=0;s<t[e(242)];s++){if(i[e(193)](t[s].id)&&t[s][e(451)]&&(t[s][e(458)]=!0),t[s][e(458)])continue;if(0==t[s][e(254)])continue;if(e(399)!=t[s][e(201)])continue;if(null==t[s][e(244)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(244)];)e(399)==t[n][e(201)]?r++:e(329)==t[n][e(201)]&&r--,n++;if(0!=r)if(t[s][e(451)])t[s][e(458)]=!0;else for(;n!=s;)t[n][e(451)]&&0!=t[n][e(254)]&&(t[n][e(458)]=!0,i[e(298)](t[n][e(244)])),n--}return t[e(209)](t=>!t[e(458)])}[ae(461)](t){const e=ae,i=this[e(406)][e(286)][e(449)];for(let s=0;s<t[e(242)];s++){if(!(t[s][e(258)]||t[s][e(371)]||t[s][e(451)]||t[s][e(330)]))continue;if(0==t[s][e(254)])continue;const n=t[s][e(185)];i[e(396)](n)||i[e(273)](n)||(t[s][e(258)]&&delete t[s][e(258)],t[s][e(371)]&&delete t[s][e(371)],t[s][e(330)]&&delete t[s][e(330)],t[s][e(451)]&&(t[s][e(458)]=!0))}return t[e(209)](t=>!t[e(458)])}[ae(381)](t,e,i){const s=ae,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(406)][s(286)],c=a[s(449)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(242)];e++)if(s(399)===t[e][s(201)]){t[e][s(464)]=a[s(208)](n,f);const i=new X.ModelElement(t[e][s(185)][s(158)],t[e][s(185)][s(198)]());u[0][s(405)](i),f[s(379)](0),u[s(182)](i),t[e][s(161)]=a[s(208)](n,f)}else s(329)===t[e][s(201)]?(u[s(471)](),t[e][s(464)]=a[s(208)](n,f),f[s(429)](),f[f[s(242)]-1]++,t[e][s(161)]=a[s(208)](n,f)):(t[e][s(464)]=a[s(208)](n,f),d?d[s(465)]+=t[e][s(185)][s(436)]:d=new X.ModelText(t[e][s(185)][s(436)],t[e][s(185)][s(198)]()),t[e+1]&&s(438)===t[e+1][s(201)]&&v(d,t[e+1][s(185)])||(u[0][s(405)](d),d=null),f[f[s(242)]-1]+=t[e][s(185)][s(414)],t[e][s(161)]=a[s(208)](n,f));for(let e=0;e<t[s(242)];e++){const i=t[e][s(464)],n=t[e][s(161)];for(const n of t[e][s(285)])o[s(187)](n,{start:i,end:null});m(s(330),e,i,n),m(s(371),e,i,n),m(s(451),e,i,n),m(s(258),e,i,n);for(const i of t[e][s(428)]){const t=o[s(314)](i);t?t[s(199)]=n:o[s(187)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(406)][s(286)][s(252)](e[s(412)],e[s(199)]);n[s(217)][s(187)](t,i)}return r[s(248)]((t,e)=>{const i=s,r=n[i(217)][i(314)](i(196)+t.id),o=n[i(217)][i(314)](i(196)+e.id);return r[i(412)][i(351)](o[i(412)])?-1:r[i(412)][i(446)](o[i(412)])?1:r[i(199)][i(351)](o[i(199)])?-1:r[i(199)][i(446)](o[i(199)])?1:i(298)===t[i(201)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(279)]:null,d=i===t[o(242)]-1,f=h[e][0],m=c[o(315)](t[i][o(185)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(199)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(279)]!==u&&(l[e][o(199)]=n,f&&f[o(279)]===l[e][o(279)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(399)!==t[i][o(201)]||f&&f[o(279)]===u||h[e][o(182)]({userId:u,object:t[i][o(185)],change:l[e]}),o(329)===t[i][o(201)]&&f&&f[o(276)]===t[i][o(185)]&&(h[e][o(471)](),l[e]=f[o(280)])),l[e]&&d&&(l[e][o(199)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(185)],f=a[h(449)][h(396)](d)&&!a[h(449)][h(273)](d),m=t[h(348)]==o[h(484)]&&o[h(389)];if(f&&m)return;const p=a[h(252)](t,o),v=e[h(314)](u),g=new Qt({author:v,type:h(258)==l||h(371)==l?h(298):h(250),data:{isSuggestion:h(371)==l||h(330)==l},createdAt:new Date,rootName:i});r[h(379)](g),n[h(217)][h(187)](h(196)+g.id,p)}function v(t,e){const i=s,n=t[i(198)](),r=e[i(198)]();for(const t of n){if(t[1]!==e[i(202)](t[0]))return!1;r[i(287)]()}return r[i(287)]()[i(324)]}}[ae(388)](){const t=ae;this[t(406)][t(261)][t(387)](t(362))[t(427)]({view:t(444)}),this[t(406)][t(261)][t(387)](t(435))[t(235)]({model:t(444),view:e=>{const i=t,s=e[i(473)][i(175)](":")[1],n=this[i(297)](s);if(!n)return null;const r=i(298)==n[i(201)]?i(327):i(323),o=[i(477),i(253)+r];return n[i(436)][i(349)]&&o[i(379)](i(253)+r+i(277)),this[i(462)]==n&&o[i(379)](i(162)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(406)][t(261)][t(387)](t(362))[t(298)](e=>{const i=t;e.on(i(341),(t,e,s)=>{const n=i,r=e[n(382)][n(165)](0);if(!r||!r.is(n(310),n(249)))return;if(!s[n(384)][n(227)](r,{attributes:[n(225),n(223)]}))return;const o=e[n(367)][n(412)][n(348)];s[n(459)][n(197)](n(225),r[n(202)](n(225)),o),s[n(459)][n(197)](n(223),r[n(202)](n(223)),o)},{priority:i(264)})}),this[t(406)][t(261)][t(387)](t(362))[t(298)](e=>{const i=t;e.on(i(310),(t,e,s)=>{const n=i;if(!s[n(384)][n(227)](e[n(382)],{attributes:[n(225),n(223)]}))return;if(e[n(367)][n(268)])return;const r=e[n(367)][n(412)][n(348)];r[n(263)](n(225))||r[n(263)](n(159))||(s[n(459)][n(197)](n(225),e[n(382)][n(202)](n(225)),r),s[n(459)][n(197)](n(223),e[n(382)][n(202)](n(223)),r))},{priority:i(264)})}),this[t(406)][t(261)][t(387)](t(362))[t(368)]({view:{name:t(174),attributes:{vid:!0}},model:{key:t(159),value:e=>e[t(202)](t(159))}}),this[t(406)][t(286)][t(449)].on(t(424),(e,[,i])=>{const s=t;[s(225),s(223),s(159)][s(393)](i)&&(e[s(403)]=!0,e[s(452)]())},{priority:t(383)}),this[t(406)][t(261)][t(387)](t(481))[t(298)](e=>{const i=t;e.on(i(375),(t,e,s)=>{const n=i;if(" "!=e[n(185)][n(436)]||e[n(185)][n(484)][n(482)]>1)return;if(!s[n(384)][n(227)](e[n(185)],t[n(158)]))return;const r=s[n(459)],o=s[n(191)][n(346)](e[n(256)]);r[n(171)](o,r[n(180)](n(174)))})}),this[t(406)][t(261)][t(387)](t(481))[t(305)]({model:t(444)}),this[t(406)][t(322)][t(282)].on(t(267),function(e){const i=t,s=e[i(307)][i(314)](i(176));return(t,n,r)=>{const o=i,a=n[o(473)][o(175)](":")[1],c=s[o(297)](a);if(!c)return null;const u=o(298)==c[o(201)]?o(175):o(325);if(!r[o(384)][o(241)](n[o(234)],t[o(158)]))return;const l=n[o(234)][o(344)](),h=n[o(234)][o(412)],d=e[o(286)][o(449)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(185)];p=p||d[o(170)](e);const i=r[o(191)][o(440)](e);if(i&&i[o(385)](o(291)))return;o(329)==t[o(201)]&&d[o(396)](e)&&!d[o(273)](e)&&(e[o(215)]||h[o(289)]?f&&f[o(484)]==e||(f=e,g(t[o(464)]),v=!0):m=m||t[o(464)])}function g(t){const e=o,i=r[e(459)][e(366)](e(174),{class:e(253)+u}),a=r[e(191)][e(339)](t);c[e(436)][e(349)]&&r[e(459)][e(400)](e(253)+u+e(277),i),s[e(462)]==c&&r[e(459)][e(400)](e(162),i),r[e(459)][e(237)](a,i),r[e(191)][e(456)](i,n[e(473)])}p||v||!m||g(m)}}(this[t(406)]),{priority:t(395)}),this[t(406)][t(322)][t(282)].on(t(308),(e,i,s)=>{const n=t,r=s[n(191)][n(390)](i[n(473)]);if(r)for(const t of r)(t[n(189)](n(342))||t[n(189)](n(318)))&&(s[n(191)][n(355)](t,i[n(473)]),s[n(459)][n(250)](t))},{priority:t(395)}),this[t(406)][t(322)][t(282)].on(t(267),(e,i,s)=>{const n=t,r=i[n(473)][n(175)](":")[1],o=this[n(297)](r);if(!o)return null;const a=n(298)==o[n(201)]?n(175):n(325);if(s[n(384)][n(241)](i[n(234)],e[n(158)]))for(const t of i[n(234)][n(423)]()){if(!t.is(n(310),n(169)))continue;const e=s[n(459)][n(366)](n(174),{class:n(253)+a}),r=s[n(191)][n(339)](this[n(406)][n(286)][n(455)](t));o[n(436)][n(349)]&&s[n(459)][n(400)](n(253)+a+n(277),e),this[n(462)]==o&&s[n(459)][n(400)](n(162),e),s[n(459)][n(237)](r,e),s[n(191)][n(456)](e,i[n(473)])}},{priority:t(395)}),this[t(406)][t(286)][t(336)].on(t(280),()=>{const e=t;this[e(406)][e(322)][e(257)][e(280)](t=>{const i=e;for(const e of this[i(406)][i(286)][i(336)][i(338)]()){const s=this[i(406)][i(286)][i(336)][i(290)](e),n=this[i(406)][i(322)][i(257)][i(336)][i(290)](e);if(n){const e=s[i(202)](i(420));if(t[i(416)](i(188),n),t[i(160)](i(361),n),t[i(160)](i(294),n),t[i(160)](i(380),n),e){const s=this[i(297)](e);if(!s)return null;t[i(197)](i(188),e,n),t[i(400)](i(163)+s[i(201)],n),this[i(462)]==s&&t[i(400)](i(380),n)}}}})}),this[t(406)][t(261)][t(387)](t(362))[t(427)]({view:t(239),model:e=>t(259)+e,converterPriority:t(383)}),this[t(406)][t(261)][t(387)](t(362))[t(427)]({view:t(211),model:e=>t(360)+e,converterPriority:t(383)}),this[t(406)][t(261)][t(387)](t(481))[t(305)]({model:t(443),view:e=>({name:t(270)+e,group:t(443)}),converterPriority:t(383)}),this[t(406)][t(261)][t(387)](t(435))[t(235)]({model:t(443),view:e=>{const i=t,s=e[i(473)][i(175)](":")[1];return i(327)!=s&&i(323)!=s?null:{classes:[i(369),i(204)+s]}}}),this[t(406)][t(322)][t(282)].on(t(377),le(this[t(406)],t(325)),{priority:t(395)}),this[t(406)][t(322)][t(282)].on(t(200),le(this[t(406)],t(175)),{priority:t(395)}),this[t(406)][t(322)][t(282)].on(t(245),(e,i,s)=>{const n=t,r=s[n(191)][n(390)](i[n(473)]);if(r)for(const t of r)t.is(n(220))&&(s[n(191)][n(355)](t,i[n(473)]),s[n(459)][n(250)](t))},{priority:t(395)})}[ae(297)](t){const e=ae;return this[e(442)][e(314)](t)}[ae(331)](t){const e=ae;return this[e(210)]&&this[e(210)][e(177)](),this[e(210)]=new Yt(this[e(406)][e(228)],t),this[e(210)]}[ae(376)](){const t=ae;this[t(406)][t(286)][t(336)][t(350)][t(312)](t(444)),this.on(t(260),(e,i,s,n)=>{const r=t;n&&this[r(354)][r(250)](n),s&&(this[r(354)][r(298)]({view:s,stackId:r(302),position:{target:()=>{const t=r,e=this[t(406)][t(322)],i=this[t(297)](s[t(352)]);let n;if(i[t(436)][t(469)]){const s=e[t(257)][t(343)](i[t(232)]);n=Array[t(304)](s[t(167)]())}else{const i=this[t(406)][t(286)][t(217)][t(314)](t(196)+s[t(352)]);n=Array[t(304)](e[t(191)][t(390)](i[t(158)]))[t(226)](i=>e[t(257)][t(303)][t(441)](i))[t(226)](e=>Array[t(304)](e[t(167)]()))[t(192)]()}return this[t(218)]&&n[t(181)](e=>e[t(173)]-3<=this[t(218)].y&&e[t(419)]+3>=this[t(218)].y&&e[t(357)]-3<=this[t(218)].x&&e[t(335)]+3>=this[t(218)].x)||n[0]}}}),this[r(354)][r(378)](r(302)))}),this.on(t(300),(e,i,s,n)=>{const r=t;this[r(238)]=s?this[r(331)](s):null,this[r(406)][r(286)][r(280)](()=>{const t=r,e=this[t(406)][t(322)];n&&(n[t(436)][t(469)]?e[t(257)][t(280)](i=>{const s=t;i[s(160)](s(380),e[s(257)][s(336)][s(290)](n[s(232)]))}):e[t(299)](t(196)+n.id)),s&&(s[t(436)][t(469)]?e[t(257)][t(280)](i=>{const n=t;i[n(400)](n(380),e[n(257)][n(336)][n(290)](s[n(232)]))}):e[t(299)](t(196)+s.id))})}),this[t(409)](this[t(406)][t(322)][t(257)][t(336)],t(262),(e,i)=>{const s=t;if(this[s(462)])return;const n=this[s(203)](i[s(231)]),r=this[s(442)][s(314)](n);r?(this[s(218)]={x:i[s(205)].x,y:i[s(205)].y},this[s(238)]=this[s(331)](r)):(this[s(218)]=null,this[s(238)]=null)}),this[t(409)](this[t(406)][t(322)][t(257)][t(336)],t(476),(e,i)=>{const s=t,n=this[s(203)](i[s(231)]),r=this[s(442)][s(314)](n);r?(this[s(218)]={x:i[s(205)].x,y:i[s(205)].y},r===this[s(462)]?this[s(354)][s(480)]():this[s(462)]=r):(this[s(218)]=null,this[s(462)]=null)})}[ae(203)](t){const e=ae;do{const i=t[e(202)](e(188));if(i)return i;t=t[e(484)]}while(t);return null}[ae(212)](){const t=ae;this[t(406)][t(286)][t(280)](e=>{const i=t;for(const t of this[i(406)][i(286)][i(217)])e[i(283)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(384)][r(241)](s[r(234)],i[r(158)]))return;const o=s[r(234)][r(344)](),a=s[r(234)][r(412)],c=t[r(286)][r(449)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(185)];h=h||c[r(170)](e);const i=n[r(191)][r(440)](e);if(i&&i[r(385)](r(291)))return;r(329)==t[r(201)]&&c[r(396)](e)&&!c[r(273)](e)&&(e[r(215)]||a[r(289)]?u&&u[r(484)]==e||(u=e,f(t[r(464)]),d=!0):l=l||t[r(464)])}function f(t){const i=r,o=n[i(191)][i(339)](t),a=n[i(459)][i(366)](i(174),{class:i(204)+e});n[i(459)][i(237)](o,a),n[i(191)][i(456)](a,s[i(473)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=ae;super(t);const i=t[e(307)][e(314)](ue);this[e(320)]=!1,this[e(409)](i,e(284),()=>this[e(372)]()),this[e(409)](i,e(431),()=>this[e(372)]())}[ae(472)](){const t=ae,e=this[t(406)],i=e[t(307)][t(314)](ue),s=i[t(295)]?i[t(421)][t(172)]:null;e[t(296)][t(314)](t(236))[t(292)](s)}[ae(372)](){const t=ae,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(406)][t(307)][t(314)](ue),r=n&&s[t(219)](n[t(172)]);this[t(468)]=e&&i&&Boolean(r)}}class de extends G.Command{[ae(358)];constructor(t,{direction:e}){const i=ae;super(t);const s=t[i(307)][i(314)](ue);this[i(320)]=!1,this[i(358)]=i(328)===e?1:-1,this[i(409)](s,i(284),()=>this[i(372)]()),this[i(409)](s,i(431),()=>this[i(372)]()),this[i(409)](s,i(300),()=>this[i(372)]())}[ae(472)](){const e=ae,i=this[e(406)],s=i[e(307)][e(314)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(462)]=n?s[e(421)][e(186)][e(314)](r+this[e(358)]):s[e(421)][e(186)][e(430)],s[e(462)][e(436)][e(469)])o=i[e(322)][e(257)][e(343)](s[e(462)][e(232)]);else{const t=i[e(286)][e(217)][e(314)](e(196)+s[e(462)].id);o=(0,K.getMarkerDomElement)(i[e(322)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[ae(372)](){const t=ae,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(406)][t(307)][t(314)](ue);this[t(468)]=!!(r&&n&&s)&&(!e||(1===this[t(358)]?i<s-1:i>0))}}var fe=i(308),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-=126]})(t,e)}function ve(){const t=["NUMBER_OF_CHANGES","_isStatusLabelVisible","currentChangeNumber","execute","forward","div","35392xPftlT","531VpYJAZ","38479MXWZQR","bindTemplate","bind","2128384FqqXMY","fire","isEnabled","isForwardNavigationEnabled","X_OF_Y_CHANGES","Total","set","numberOfChanges","8265180QcHMBr","No changes","ck-hidden","Show next change","Loading...","757210uGXepO","ck-revision-history-ui__changes-navigation__navigation","1PshFgN","ck-revision-history-ui__changes-navigation","482984sbWFKh","span","isBackwardNavigationEnabled","6493020JOHgaF","3KHHxlR","backward","ck-revision-history-ui__changes-navigation__label","Show previous change","ck-revision-history-ui","isReady","6nsCPjA","_statusText","EDIT_X_OF_Y_REVISIONS","setTemplate","isNavigationMode","ck-revision-history-ui__changes-navigation__wrapper"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(775587===-parseInt(e(146))/1*(-parseInt(e(148))/2)+-parseInt(e(152))/3*(-parseInt(e(131))/4)+-parseInt(e(144))/5+parseInt(e(158))/6*(-parseInt(e(128))/7)+-parseInt(e(126))/8*(-parseInt(e(127))/9)+parseInt(e(151))/10+-parseInt(e(139))/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(129)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(137)](e(162),!1),this[e(137)](e(157),!1),this[e(137)](e(166),0),this[e(137)](e(138),0),this[e(137)](e(134),!1),this[e(137)](e(150),!1),this[e(130)](e(165)).to(this,e(157),this,e(138),(t,e)=>t&&e>0),this[e(130)](e(159)).to(this,e(157),this,e(166),this,e(138),this,e(162),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(143));if(!n)return at(t,o(140));const a=at(t,o(164),n);return r?at(t,o(135),[s+1,n]):a}),s[e(137)]({label:at(t,e(155)),tooltip:!0,icon:_t.IconChevronUp}),n[e(137)]({label:at(t,e(142)),tooltip:!0,icon:_t.IconChevronDown}),s[e(130)](e(133)).to(this,e(150)),n[e(130)](e(133)).to(this,e(134)),s.on(e(167),()=>this[e(132)](e(167),e(153))),n.on(e(167),()=>this[e(132)](e(167),e(168))),this[e(161)]({tag:e(169),attributes:{class:["ck",e(156),e(147)]},children:[{tag:e(149),attributes:{class:[e(163)]},children:[{tag:e(149),attributes:{class:[e(154),i.if(e(165),e(141),t=>!t)]},children:[{text:i.to(e(162),i=>i?at(t,e(160))+": ":at(t,e(136))+": ")}]},{text:i.to(e(159))}]},new It.ToolbarSeparatorView,{tag:e(169),attributes:{class:[e(145)]},children:[s,n]}]})}}var ye=i(772),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-=103]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(734569===parseInt(e(117))/1+-parseInt(e(127))/2+-parseInt(e(113))/3*(-parseInt(e(108))/4)+-parseInt(e(124))/5+-parseInt(e(115))/6+parseInt(e(120))/7*(parseInt(e(126))/8)+-parseInt(e(119))/9*(-parseInt(e(103))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(106);function Ie(){const t=["editing","removeClass","editor","document","45UqIwVd","pluginName","1872360uRPGqn","roots","436677NFszfn","RevisionViewerLoadingOverlay","2090709RPEaAV","70jOQxVL","addClass","show","change","3427655KmMdMV","view","400600EzeIOo","587528aSIcOd","20XemLQM","isOfficialPlugin","isPremiumPlugin","ck-editor__editable__loading-overlay","hide","166372VyUnmF"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(114)](){return be(118)}static get[be(104)](){return!0}static get[be(105)](){return!0}[be(122)](){const t=be,e=this[t(111)][t(109)][t(125)];e[t(123)](i=>{const s=t;for(const t of e[s(112)][s(116)])i[s(121)](_e,t)})}[be(107)](){const t=be,e=this[t(111)][t(109)][t(125)];e[t(123)](i=>{const s=t;for(const t of e[s(112)][s(116)])i[s(110)](_e,t)})}}function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=477]})(t,e)}const Te=Oe;function xe(){const t=["restoreRevision","266859zLSVZl","config","exitToEditing","show","4XwUGIR","9ElQPqw","isEnabled","plugins","1199624XGBvTh","2811270fxWopN","isForwardNavigationEnabled","editor","11hCWlMu","isOfficialPlugin","forward","execute","add","changesNavigation","pluginName","157062bIVfUw","set","get","bind","revisionHistory","isBackwardNavigationEnabled","Restore this revision","listenTo","showNextChange","RevisionViewerUI","2019605CHxoQX","isNavigationMode","909252gAUDmT","35xHiXcr","init","numberOfChanges","requires","isPremiumPlugin","Back to editing","hide","commands","componentFactory","change:isReady","showPreviousChange","16920wegRer","ck-revision-history-ui__back-to-editing","isReady","closeRevisionViewerCallback","currentChangeNumber"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(148057===parseInt(e(486))/1+parseInt(e(496))/2*(-parseInt(e(492))/3)+-parseInt(e(523))/4+-parseInt(e(524))/5*(parseInt(e(511))/6)+parseInt(e(521))/7+parseInt(e(500))/8*(parseInt(e(497))/9)+parseInt(e(501))/10*(parseInt(e(504))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Te(510)](){return Te(520)}static get[Te(505)](){return!0}static get[Te(479)](){return!0}static get[Te(478)](){return[ue,Se]}[Te(525)](){const t=Te,e=this[t(503)],i=e[t(499)][t(513)](ue),s=e[t(499)][t(513)](Se);e.ui[t(483)][t(508)](t(494),i=>{const s=t,n=new It.ButtonView(i);return n[s(512)]({label:at(i,s(480)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(487)}),this[s(518)](n,s(507),()=>{const t=s;e[t(493)][t(513)](t(515))[t(489)]()}),n}),e.ui[t(483)][t(508)](t(491),i=>{const s=t,n=new It.ButtonView(i);return n[s(512)]({label:at(i,s(517)),withText:!0,tooltip:!0}),n[s(514)](s(498)).to(e[s(482)][s(513)](s(491))),this[s(518)](n,s(507),()=>e[s(507)](s(491))),n}),e.ui[t(483)][t(508)](t(509),s=>{const n=t,r=new ge(s),o=e[n(482)][n(513)](n(485)),a=e[n(482)][n(513)](n(519));return r[n(514)](n(516)).to(o,n(498)),r[n(514)](n(502)).to(a,n(498)),r[n(514)](n(488),n(490),n(477),n(522)).to(i),this[n(518)](r,n(507),(t,i)=>{const s=n;e[s(507)](s(506)===i?s(519):s(485))}),r}),s[t(495)](),i.on(t(484),(e,i,n)=>{const r=t;n?s[r(481)]():s[r(495)]()})}}var Ae=i(853),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=De;function Ve(){const t=["ck-revision-history-sidebar__revision-name","1201IGrtlf","ck-tooltip_multi-line","13208IGhLnL","set","Enter the revision name","bindTemplate","placeholder","1239tArenh","span","fieldView","_resizeObserver","render","Revision name","559910kjZHVp","element","_updateTooltipText","3404530BellPJ","184zNjBIO","_tooltipString","12dBaCgw","2538999nNdnrm","855522tyrOws","listenTo","258771yHpvZJ","input","destroy","clientWidth","extendTemplate","scrollWidth","value"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(151453===parseInt(e(374))/1*(parseInt(e(391))/2)+parseInt(e(397))/3*(-parseInt(e(393))/4)+parseInt(e(387))/5+-parseInt(e(395))/6+-parseInt(e(381))/7*(parseInt(e(376))/8)+parseInt(e(394))/9+parseInt(e(390))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(384)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(379)];this[i(377)]({label:at(t,i(386)),_tooltipString:""}),this[i(383)][i(380)]=at(t,i(378)),this[i(370)]({tag:i(382),attributes:{class:[i(373)],"data-cke-tooltip-text":s.to(i(392)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(375)}})}[Me(385)](){const e=Me;super[e(385)](),this[e(384)]=new t.ResizeObserver(this[e(383)][e(388)],()=>this[e(389)]()),this[e(396)](this[e(383)],e(367),()=>this[e(389)]())}[Me(368)](){const t=Me;super[t(368)](),this[t(384)]&&this[t(384)][t(368)]()}[Me(389)](){const t=Me,e=this[t(383)][t(388)];this[t(392)]=e[t(371)]>e[t(369)]&&e[t(372)]||""}}var Ce=i(21),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 Le(t,e){const i=je();return(Le=function(t,e){return i[t-=111]})(t,e)}function je(){const t=["Revision author","ck-revision-history-sidebar__revision-author_creator","Revision creator","setTemplate","0 0 11 10","4947564eHegzx","2IfxVWv","8kJbnsL","ck-revision-history-sidebar__revision-author__name","5937757tpzoUX","2749404LcswhB","80VPSAkX","1563591ZzVZWZ","name","107334LosdiD","698360sEOznN","push","set","6521255tDlvzH","span","ck-revision-history-sidebar__revision-author"];return(je=function(){return t})()}!function(t){const e=Le,i=t();for(;;)try{if(652980===-parseInt(e(112))/1*(parseInt(e(121))/2)+-parseInt(e(118))/3+parseInt(e(116))/4+parseInt(e(124))/5+parseInt(e(111))/6+-parseInt(e(115))/7*(parseInt(e(113))/8)+parseInt(e(120))/9*(-parseInt(e(117))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(123)]({content:_t.IconUser,viewBox:s(131)});const r=["ck",s(126)];i&&r[s(122)](s(128));const o=[{tag:s(125),attributes:{class:["ck",s(114)],title:at(t,s(i?129:127))},children:[n,e[s(119)]]}];this[s(130)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=367]})(t,e)}function We(){var t=["310DDcJTd","1709548fiOXNo","1603308UGeWnw","392838CxGKAC","numeric","140YXIeib","4395EvldDc","13255825ZxNwym","long","toLocaleTimeString","16ufrVap","10xHzaHt","1566816tsKwtl","toLocaleDateString","430281vkhbWu"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(338309===parseInt(e(380))/1+parseInt(e(377))/2*(-parseInt(e(368))/3)+-parseInt(e(378))/4+parseInt(e(373))/5*(parseInt(e(374))/6)+parseInt(e(379))/7*(-parseInt(e(372))/8)+-parseInt(e(376))/9*(parseInt(e(367))/10)+parseInt(e(369))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(111),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=["3629115kfFJrs","isEnabled","593286bMKtsc","stopPropagation","listView","locale","first","3047208qzJlqv","524163lQIgDz","function","ck-on","class","items","menuitem","Restore this revision","model","bindTemplate","isReady","isVisible","ck-revision-history-sidebar__revision__actions","action","15lApNAU","map","Compare against selected","3QObGLK","listenTo","isOpen","isActionsDropdownOpen","13245030ViBhFx","panelPosition","menu","396816xlbiLK","set","828432JDglvr","buttonView","children","_action","add","Show more items","execute","change:isActionsDropdownOpen","name","extendTemplate","source","bind","find","button","Name this revision"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(274988===-parseInt(e(531))/1+-parseInt(e(508))/2+-parseInt(e(499))/3*(parseInt(e(506))/4)+parseInt(e(496))/5*(-parseInt(e(525))/6)+parseInt(e(523))/7+-parseInt(e(530))/8+parseInt(e(503))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(700),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 Je=Ge;function Ye(){const t=["42mewGkK","ck-revision-history-sidebar__revision__controls-wrapper","span","isSelected","597664SWDwEb","deselect","349978QatUgi",".ck-confirm-view","2983035JZzbWM","ck-revision-history-sidebar__revision_highlighted","uiLanguage","_createdAtFormatted","value","ck-revision-history-sidebar__revision-authors","10yvNPKc","ck-revision-history-sidebar__actions_dropdown_open","isEnabled","bindTemplate","3250962IrpBcB","extendTemplate","map","name","authors","set","44121693AXthlQ","ck-revision-history-sidebar__revision","isConfirm","creator","revisionActionsView","isHighlighted","filter","element","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","createdAt","42327SRtVJx","_requireRevisionName","isActionsDropdownOpen","1138146gCeRAY","1eThJDc","revisionNameView","fire","setTemplate","srcElement","ck-revision-history-sidebar__revision-wrapper","_revision","setName","render","select","unshift","fieldView","from","ck-revision-history-sidebar__revision_selected","closest","change","length","div","isReady","listenTo","ck-revision-history-sidebar__revision__date","highlight","ck-reset","248AbGRsd","bind","ck-disabled","unhighlight","220"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(790637===-parseInt(e(170))/1*(parseInt(e(138))/2)+parseInt(e(166))/3*(-parseInt(e(193))/4)+-parseInt(e(140))/5+-parseInt(e(169))/6*(parseInt(e(198))/7)+-parseInt(e(136))/8+parseInt(e(150))/9*(-parseInt(e(146))/10)+parseInt(e(156))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(171)];[Je(160)];[Je(176)];[Je(167)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(149)],a=function(t,e){const i=r,s=Array[i(182)](e[i(154)])[i(162)](t=>t!=e[i(159)]);return e[i(159)]&&s[i(180)](e[i(159)]),s[i(152)](s=>new Pe(t,s,s==e[i(159)]))}(e,i);this.id=i.id,this[r(176)]=i,this[r(167)]=n,this[r(194)](r(153),r(165)).to(i),this[r(194)](r(143)).to(this,r(165),t=>{return i=e[r(142)],(s=t)[(n=ze)(375)](i,{month:n(370),day:n(381)})+", "+s[n(371)](i,{hour:n(381),minute:n(381)});var i,s,n}),this[r(155)](r(201),!1),this[r(155)](r(161),!1),this[r(155)](r(168),!1),this[r(155)](r(188),!1),this[r(155)](r(148),!1),this[r(171)]=new Ee(e,It.createLabeledInputText),this[r(171)][r(181)][r(151)]({attributes:{maxlength:r(197)}}),this[r(171)][r(181)][r(194)](r(144)).to(this,r(153),t=>t||this[r(143)]),this[r(171)][r(194)](r(148)).to(this,r(201),this,r(148),(t,e)=>t&&e),this[r(160)]=s&&s[r(186)]?function(e,i){const s=qe,n=e[s(491)],r=e[s(528)],o=(0,It.createDropdown)(r);o[s(504)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(528)],n={"Compare against selected":at(s,i(498)),"Name this revision":at(s,i(522)),"Restore this revision":at(s,i(489))};return e[i(497)](t=>{const e=i,s=n[t[e(516)]];return s&&s!==t[e(516)]&&(t[e(516)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(521),model:new It.UIModel({label:t[n(516)],class:t[n(534)],withText:!0,role:n(536),_action:t[n(495)]})};i[n(490)][n(519)](n(524)).to(e,n(502),i=>n(532)!=typeof t[n(524)]||!i||t[n(524)](e)),o[n(512)](i)}return o}(e,i);return e[s(519)](s(502)).to(o,s(501)),o[s(509)][s(507)]({label:at(r,s(513)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(517)]({attributes:{class:[s(494),n.if(s(502),s(533))]},on:{click:n.to(t=>t[s(526)]())}}),o.on(s(514),t=>{const i=s;e[i(492)]&&i(532)==typeof t[i(518)][i(511)]&&t[i(518)][i(511)](e)}),(0,It.addListToDropdown)(o,a,{role:s(505)}),o[s(500)](e,s(515),(t,n,r)=>{const a=s;if(r)for(const t of o[a(527)][a(535)]){const s=t[a(510)][a(529)],n=i[a(520)](t=>t[a(495)]===s[a(511)])[a(493)];t[a(493)]=void 0===n||n(e)}}),o}(this,s):"",this[r(160)]&&this[r(160)][r(194)](r(148)).to(this),this[r(173)]({tag:r(187),attributes:{class:["ck",r(192),r(175),o.if(r(158),r(164))]},children:[{tag:r(187),attributes:{class:["ck",r(192),r(157),o.if(r(148),r(195),t=>!t),o.if(r(201),r(183)),o.if(r(161),r(141)),o.if(r(168),r(147))]},children:[this[r(171)],{tag:r(200),attributes:{class:["ck",r(190)]},children:[{text:o.to(r(143))}]},{tag:r(187),attributes:{class:["ck",r(199)]},children:[{tag:"ul",attributes:{class:["ck",r(145)]},children:a}]},this[r(160)]],on:{click:o.to(t=>{const e=r;t[e(174)][e(184)](e(139))||this[e(188)]&&this[e(148)]&&this[e(172)](e(179),{id:this.id})})}}]})}[Je(178)](){const t=Je;super[t(178)]();const e=this[t(171)][t(181)][t(163)];this[t(189)](e,t(185),()=>{const i=t;this[i(167)]&&!e[i(144)]||this[i(172)](i(177),{id:this.id,name:e[i(144)]}),e[i(144)]||(e[i(144)]=this[i(153)]?this[i(153)]:this[i(143)])})}[Je(179)](){this[Je(201)]=!0}[Je(137)](){this[Je(201)]=!1}[Je(191)](){this[Je(161)]=!0}[Je(196)](){this[Je(161)]=!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 si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni 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 Qs(t,e,i)}formatOffset(t,e){return nn(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 Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(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=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(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[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,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 Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}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,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===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,Ps(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,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{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,yn,()=>{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 s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(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 s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(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:Fs()?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 ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es 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 is(t,e){if(Vs(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?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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 Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Js(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={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 wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[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 Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function jn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),zn=/^-?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 Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(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$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,jn),ir=Sn(Mn,Fn,Ln,jn),sr=Sn(Vn,Fn,Ln,jn),nr=Sn(Fn,Ln,jn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,Ln,jn);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 s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},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 ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(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 On(t,[Pn,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 ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.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 si(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?wn.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 Vs(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+=qs(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)(js(e.values,t)||js(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]=en(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,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return 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,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return 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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=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,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_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}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_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 s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}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?wn.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=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.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:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||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:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).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 s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-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])=>tn(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(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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,Xs);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(s);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(n);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})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(js(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(js(i,"a")&&js(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:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(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 s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Jr(t,e,i){return $r(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=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=Ys(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,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.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 s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(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},so=["year","month","day","hour","minute","second","millisecond"],no=["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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.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);[n,r]=Jr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function 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||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.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||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Jr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Yn],[Bn,Yn],[Jn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,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,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.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(wn.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?xs(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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 $s(this.year)}get daysInMonth(){return Js(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Jr(i,e,t)}return qr(this,{ts:s,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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(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;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Js(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Jr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),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:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}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 s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!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 s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);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 s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}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 ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=371]})(t,e)}function vo(t,e){const i=po,s=fo[i(374)](t)[i(373)](e),n=fo[i(375)](),r=n[i(395)]({days:1})[i(387)](i(379));let o,a;return s[i(391)](n,i(379))?(o=s[i(387)](i(379))[i(390)](),a=s[i(372)]()):s[i(391)](r,i(379))?(o=r[i(390)](),a=s[i(372)]()):s[i(391)](n,i(382))?(o=s[i(387)](i(382))[i(390)](),a=s[i(384)]||""):s[i(391)](n,i(386))?(o=s[i(387)](i(392))[i(390)](),a=s[i(381)]||""):(o=s[i(387)](i(386))[i(390)](),a=String(s[i(386)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["setLocale","fromJSDate","local","295369ZkTKQd","146230CXcYUv","16HjoDSu","day","852DDjmvF","monthLong","week","3033448ExmGQg","weekdayLong","150qKaCGC","year","startOf","2xZiCrd","361575FatafU","toJSDate","hasSame","month","1489497ZFdRwy","8950eWawUR","minus","1631886qndzyE","toRelativeCalendar"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(313942===parseInt(e(376))/1+-parseInt(e(388))/2*(-parseInt(e(393))/3)+-parseInt(e(380))/4*(parseInt(e(394))/5)+parseInt(e(371))/6+-parseInt(e(377))/7*(parseInt(e(378))/8)+parseInt(e(389))/9*(-parseInt(e(385))/10)+parseInt(e(383))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(702),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=_o;function wo(){const t=["localizedPeriodName","removeRevision","15vvCEQA","ck-revision-history-sidebar__time-period__revisions","38872VUEYPC","ck-revision-history-sidebar__time-period","locale","1397451dubSDm","createCollection","setTemplate","add","21vQZiOp","addRevision","startDate","div","remove","441LlezYy","select","delegate","ck-revision-history-sidebar__time-period__label","find","6719eUTqbh","390381PDLfGP","6dwAczr","_requireRevisionName","94868WyvoXJ","uiLanguage","84270mpxlVa","_revisionActions","span","revisionViews","2902660rlsMOB","setName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(155820===parseInt(e(394))/1*(-parseInt(e(396))/2)+parseInt(e(395))/3+-parseInt(e(398))/4*(parseInt(e(408))/5)+parseInt(e(400))/6*(parseInt(e(384))/7)+-parseInt(e(410))/8*(-parseInt(e(389))/9)+-parseInt(e(404))/10+parseInt(e(413))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(386)];[bo(403)];[bo(401)];[bo(397)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(412)][n(399)])[n(406)];this[n(386)]=e,this[n(403)]=this[n(381)](),this[n(401)]=i,this[n(397)]=s,this[n(403)][n(391)](n(390)).to(this),this[n(403)][n(391)](n(405)).to(this),this[n(382)]({tag:n(387),attributes:{class:["ck",n(411)]},children:[{tag:n(402),attributes:{class:["ck",n(392)]},children:[{text:r}]},{tag:n(387),attributes:{class:["ck",n(409)]},children:this[n(403)]}]})}[bo(385)](t){const e=bo,i=new Ke(this[e(412)],t,this[e(401)],this[e(397)]);this[e(403)][e(383)](i)}[bo(407)](t){const e=bo,i=this[e(403)][e(393)](e=>e.id===t.id);this[e(403)][e(388)](i)}}var So=i(929),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-=353]})(t,e)}function xo(){const t=["ck-revision-history-sidebar__header","353160taWcHs","152352OHdlVr","522rDJKQO","118161WNSJSB","ck-reset_all","span","div","104sZnnwV","setTemplate","content","54242uxsYJp","ck-revision-history-sidebar__header__label","55biKFqm","Revision history","506350DtUAha","144505mVozTT","15351mnRFZw","8QoYekq"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(124626===parseInt(e(366))/1*(-parseInt(e(354))/2)+parseInt(e(356))/3+-parseInt(e(357))/4+parseInt(e(371))/5+parseInt(e(358))/6*(-parseInt(e(353))/7)+-parseInt(e(363))/8*(-parseInt(e(359))/9)+parseInt(e(370))/10*(parseInt(e(368))/11))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(365)]=_t.IconHistory,this[e(364)]({tag:e(362),attributes:{class:["ck",e(360),e(355)]},children:[i,{tag:e(361),attributes:{class:["ck",e(367)]},children:[at(t,e(369))]}]})}}var Ao=i(390),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;function Mo(){const t=["removeRevision","ck-revision-history-sidebar","ck-disabled","213204ToXnbW","highlight","1349384LtmHMK","selectRevision","bindTemplate","locale","get","set","revisionSetName","timePeriodViews","remove","_requireRevisionName","unhighlight","startDate","_removeRevision","deselect","div","fire","render","_revisions","highlightRevisions","ck-reset","3MLKOsE","select","173144cjseiC","addRevision","_addRevision","114NRIclN","setName","_getTimePeriodViewByStartDate","revisionViews","36500BMlOWp","5203hVALok","1803985hTJkTq","revisionSelected","isEnabled","createCollection","225SXryir","map","some","ck-revision-history-sidebar__timeline","flat","delegate","setTemplate","uiLanguage","ck-rounded-corners","1603558RkfUuJ","63266zxLnBQ","find","_revisionActions","createdAt","getTime","add"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=219]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(448529===parseInt(e(243))/1+parseInt(e(233))/2*(-parseInt(e(265))/3)+-parseInt(e(245))/4+parseInt(e(220))/5+parseInt(e(270))/6*(-parseInt(e(234))/7)+parseInt(e(267))/8*(-parseInt(e(224))/9)+-parseInt(e(274))/10*(-parseInt(e(219))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(252)];[Vo(262)];[Vo(236)];[Vo(254)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(247)];this[n(252)]=this[n(223)](),this[n(252)][n(229)](n(266)).to(this),this[n(252)][n(229)](n(271)).to(this),this[n(262)]=e,this[n(236)]=i,this[n(254)]=s,this.on(n(266),(t,e)=>{const i=n;this[i(260)](i(221),e)}),this.on(n(271),(t,e)=>{const i=n;this[i(260)](i(251),e)}),this[n(250)](n(222),!1),this[n(230)]({tag:n(259),attributes:{class:["ck",n(264),n(232),n(241)]},children:[new No(t),{tag:n(259),attributes:{class:["ck",n(227),r.if(n(222),n(242),t=>!t)]},children:this[n(252)]}]})}[Vo(261)](){const t=Vo;super[t(261)]();for(const e of this[t(262)])this[t(269)](e);this[t(262)].on(t(239),(e,i)=>{this[t(269)](i)}),this[t(262)].on(t(253),(e,i)=>{this[t(257)](i)})}get[Vo(273)](){const t=Vo;return this[t(252)][t(225)](e=>e[t(273)][t(225)](t=>t))[t(228)]()}[Vo(246)](t){const e=Vo;for(const i of this[e(273)])t&&t.id===i.id?i[e(266)]():i[e(258)]()}[Vo(263)](t){const e=Vo;for(const i of this[e(273)])t[e(226)](({id:t})=>t===i.id)?i[e(244)]():i[e(255)]()}[Vo(269)](t){const e=Vo,i=vo(t[e(237)],this[e(248)][e(231)])[e(256)];let s=this[e(252)][e(249)](0);s&&s[e(256)][e(238)]()===i[e(238)]()||(s=new Io(this[e(248)],i,this[e(236)],this[e(254)]),this[e(252)][e(239)](s)),s[e(268)](t)}[Vo(257)](t){const e=Vo,i=vo(t[e(237)],this[e(248)][e(231)])[e(256)];this[e(272)](i)[e(240)](t)}[Vo(272)](t){const e=Vo;return this[e(252)][e(235)](i=>i[e(256)][e(238)]()===t[e(238)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=404]})(t,e)}function Lo(){const t=["isOfficialPlugin","getEarlierVisibleRevision","ready","fieldView","listenTo","2529LFKILd","_handleRevisionSetName","newRevisionId","string","focus","_revisions","isSelected","requires","RevisionsSidebar","selectRevision","defaultRevisionActions","element","176iVXJIJ","696288vGfNxJ","_handleDiffChange","getRevisionsInDiff","assign","_revisionViewer","1VNjtqY","bind","locale","135414FQTzdL","11790XFkYdT","config","revisionSelected","add","revisionHistory.requireRevisionName","availableRevisionActions","isReady","restoreRevision","select","revisionHistory.revisionActions","isVisible","854245TaNJtG","revisionViews","diff","compareAgainstSelected","revisionHistory","586855NNFjhp","pluginName","_revisionsRepository","_createRevisionActions","isEnabled","render","revisionHistory.viewerSidebarContainer","get","getIndex","timePeriodViews","name","_sidebarView","data","getRevision","getLaterVisibleRevision","map","compare","repository","plugins","Compare against selected","remove","131940slMDEy","Name this revision","Restore this revision","change:diff","length","_handleRevisionSelected","_handleEditorDataReady","isPremiumPlugin","highlightRevisions","destroy","setName","1362HvGdVi","nameRevision","revisionSetName","restoreRevisionCallback","action","appendChild","init","editor"];return(Lo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(113236===-parseInt(e(460))/1*(parseInt(e(463))/2)+-parseInt(e(429))/3*(parseInt(e(454))/4)+-parseInt(e(480))/5+parseInt(e(418))/6+-parseInt(e(475))/7+parseInt(e(455))/8+-parseInt(e(442))/9*(-parseInt(e(464))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(459)];[Co(482)];[Co(408)];static[Co(452)]=[Co(478),Co(471),Co(430)];static[Co(469)]=function(){const t=Co;return{compareAgainstSelected:{name:t(416),action:({plugins:e},i)=>{const s=t,n=e[s(404)](ue),r=n[s(414)];let o=n[s(477)][s(444)],a=i.id;r[s(405)](o)>r[s(405)](a)&&([o,a]=[a,o]),n[s(413)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(404)](ue);return!(n[s(414)][s(457)](n[s(477)])[s(422)]>2||i[s(448)])}},restoreRevision:{name:t(420),action:(e,{id:i})=>{const s=t;e[s(465)][s(404)](s(479))[s(432)](i)},isVisible:({plugins:e},i)=>!!e[t(404)](ue)[t(414)][t(411)](i.id)},nameRevision:{name:t(419),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(404)](ue),o=r[n(414)][n(438)](i);r[n(413)](i,o),s[n(446)](),s[n(440)][n(472)]()}}}}();static get[Co(481)](){return Co(450)}static get[Co(437)](){return!0}static get[Co(425)](){return!0}static get[Co(449)](){return[ue]}constructor(t){const e=Co;super(t),this[e(459)]=t[e(415)][e(404)](ue),this[e(482)]=this[e(459)][e(414)],this[e(408)]=null}[Co(435)](){const t=Co,e=this[t(482)][t(447)],i=this[t(483)](),s=this[t(436)][t(465)][t(404)](t(486));this[t(408)]=new Eo(this[t(436)][t(462)],e,i,this[t(436)][t(465)][t(404)](t(468))),this[t(408)].on(t(466),this[t(423)][t(461)](this)),this[t(408)].on(t(431),this[t(443)][t(461)](this)),this[t(408)][t(461)](t(484)).to(this[t(459)]),this[t(408)][t(406)].on(t(467),(e,i)=>{const s=t;i[s(476)].on(s(467),(t,e)=>{const i=s;e[i(461)](i(484),i(470)).to(this[i(459)])})}),this[t(408)][t(485)](),this[t(441)](this[t(436)][t(409)],t(439),this[t(424)][t(461)](this)),this[t(441)](this[t(459)],t(421),this[t(456)][t(461)](this)),s[t(434)](this[t(408)][t(453)])}[Co(427)](){const t=Co;this[t(408)][t(453)][t(417)](),this[t(408)][t(427)]()}[Co(424)](){const t=Co,e=this[t(482)][t(410)](0);if(e){const i=this[t(482)][t(438)](e.id);this[t(459)][t(413)](e,i)}}[Co(423)](t,e){const i=Co,s=this[i(482)][i(410)](e.id),n=this[i(482)][i(438)](s.id);this[i(459)][i(413)](s,n)}[Co(443)](t,e){const i=Co;this[i(482)][i(410)](e.id)[i(428)](e[i(407)])}[Co(456)](t,e,i){const s=Co,n=this[s(482)][s(457)](i);n[s(422)]>2?(this[s(408)][s(426)](n),this[s(408)][s(451)](null)):(this[s(408)][s(426)]([]),this[s(408)][s(451)](n[0]))}[Co(483)](){const t=Co,e=this[t(436)],i=jo[t(469)],s=e[t(465)][t(404)](t(473))||jo[t(452)];if(s[t(422)])return s[t(412)](s=>{const n=t,r=n(445)==typeof s?Object[n(458)]({},i[s]):s;return r[n(433)]=r[n(433)][n(461)](this,e),r[n(474)]&&(r[n(474)]=r[n(474)][n(461)](this,e)),r})}}function Po(t,e){const i=zo();return(Po=function(t,e){return i[t-=159]})(t,e)}function zo(){const t=["toolbar","fire","8076JhgtWp","getRoot","_view","init","48308lwxgrj","isFocused","editable","2694oxhGRg","view","addToolbar","bind","1107215saDnxa","viewportOffset","name","isActive","351VTLyDp","stickyPanel","_elementReplacer","componentFactory","7248MgsRlA","editor","render","_initToolbar","attachDomRoot","restore","config","70UjNmdK","detachDomRoot","get","780qscjvD","destroy","4011YzJxfa","30YrZjbE","fillFromConfig","31944YDTkQY","rootName","replace","element","limiterElement","80inDKcx","_toolbarConfig","focusTracker","setEditableElement","document","editing","ready","viewportTopOffset","253701hBFQcs"];return(zo=function(){return t})()}const Wo=Po;!function(t){const e=Po,i=t();for(;;)try{if(177819===-parseInt(e(200))/1*(parseInt(e(207))/2)+parseInt(e(163))/3*(-parseInt(e(185))/4)+parseInt(e(192))/5+-parseInt(e(188))/6*(-parseInt(e(162))/7)+-parseInt(e(170))/8*(-parseInt(e(178))/9)+parseInt(e(160))/10*(-parseInt(e(165))/11)+-parseInt(e(181))/12*(-parseInt(e(196))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Wo(183)];[Wo(171)];[Wo(198)];get[Wo(189)](){return this[Wo(183)]}constructor(e,i){const s=Wo;super(e),this[s(183)]=i,this[s(171)]=(0,It.normalizeToolbarConfig)(e[s(206)][s(159)](s(179))),this[s(198)]=new t.ElementReplacer}get[Wo(168)](){const t=Wo;return this[t(189)][t(168)]}[Wo(184)](t){const e=Wo,i=this[e(201)],s=this[e(189)],n=i[e(175)][e(189)],r=s[e(187)],o=n[e(174)][e(182)]();r[e(194)]=o[e(166)],s[e(202)]();const a=r[e(168)];this[e(173)](r[e(194)],a),s[e(187)][e(191)](e(186)).to(this[e(172)]),n[e(204)](a),this[e(198)][e(167)](t,this[e(168)]),this[e(203)](),this[e(180)](e(176))}[Wo(161)](){const t=Wo;super[t(161)]();const e=this[t(189)],i=this[t(201)][t(175)][t(189)];this[t(198)][t(205)](),i[t(208)](e[t(187)][t(194)]),e[t(161)]()}[Wo(203)](){const t=Wo,e=this[t(189)];e[t(197)][t(191)](t(195)).to(this[t(172)],t(186)),e[t(197)][t(169)]=e[t(168)],e[t(197)][t(191)](t(177)).to(this,t(193),({top:t})=>t),e[t(179)][t(164)](this[t(171)],this[t(199)]),this[t(190)](e[t(179)])}}var Ho=i(318),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=$o;function $o(t,e){var i=Jo();return($o=function(t,e){return i[t-=413]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(251591===parseInt(e(421))/1+parseInt(e(425))/2*(parseInt(e(415))/3)+-parseInt(e(414))/4+parseInt(e(429))/5+parseInt(e(431))/6+parseInt(e(426))/7+-parseInt(e(420))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Bo extends It.BoxedEditorUIView{[qo(419)];[qo(416)];[qo(413)];get[qo(427)](){return this[qo(419)]}constructor(t,e,i={}){var s=qo;super(t),this[s(416)]=new It.StickyPanelView(t),this[s(413)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(422)]}),this[s(419)]=new It.InlineEditableUIView(t,e)}[qo(418)](){var t=qo;super[t(418)](),this[t(416)][t(430)][t(417)](this[t(413)]),this[t(428)][t(417)](this[t(416)]),this[t(423)][t(417)](this[t(427)])}}function Jo(){var t=["6DcksMU","stickyPanel","add","render","_editable","6995112XOiVUw","83877kTzaaJ","shouldToolbarGroupWhenFull","main","9ewQTmQ","222510qiJoCD","904344uwJGrj","editable","top","1673250NefxWo","content","2207904cuBXhh","toolbar","48932bZgqQs"];return(Jo=function(){return t})()}function Yo(t,e){const i=Ko();return(Yo=function(t,e){return i[t-=279]})(t,e)}const Go=Yo;function Ko(){const t=["updateSourceElement","232954nLHrVY","124170RqydhK","locale","43956zavzfi","createRoot","editing","get","4879878QghpVX","initialData","document","sourceElement","247356AbEfKp","data","create","initPlugins","1977928txMYHR","init","_ui","4ueuEyv","fire","view","destroy","config","model","2552973GxKkWA","7lJvQmS","30nkHgJu","55djwATu","ready"];return(Ko=function(){return t})()}!function(t){const e=Yo,i=t();for(;;)try{if(699106===parseInt(e(301))/1*(parseInt(e(289))/2)+-parseInt(e(295))/3+parseInt(e(304))/4*(-parseInt(e(297))/5)+parseInt(e(308))/6+parseInt(e(296))/7*(parseInt(e(286))/8)+parseInt(e(282))/9+-parseInt(e(302))/10*(-parseInt(e(298))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Go(288)];get ui(){return this[Go(288)]}constructor(t,e){const i=Go;super(e),this[i(281)]=t,this[i(294)][i(280)][i(305)]();const s=new Bo(this[i(303)],this[i(306)][i(291)],{shouldToolbarGroupWhenFull:!0});this[i(288)]=new Uo(this,s)}[Go(292)](){const t=Go;return this[t(300)](),this.ui[t(292)](),super[t(292)]()}static async[Go(284)](t,e){const i=Go,s=new this(t,e);return await s[i(285)](),await s.ui[i(287)](t),await s[i(283)][i(287)](s[i(293)][i(307)](i(279))||""),s[i(290)](i(299)),s}}const Qo=ta;function ta(t,e){const i=sa();return(ta=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(585728===-parseInt(e(418))/1*(parseInt(e(441))/2)+parseInt(e(445))/3+-parseInt(e(421))/4+parseInt(e(407))/5*(-parseInt(e(451))/6)+-parseInt(e(419))/7*(-parseInt(e(465))/8)+-parseInt(e(434))/9*(-parseInt(e(360))/10)+-parseInt(e(430))/11*(-parseInt(e(358))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ea=[Qo(327),Qo(397),Qo(443),Qo(433),Qo(298),Qo(417),Qo(398)];class ia extends G.Plugin{[Qo(330)];static get[Qo(394)](){return Qo(331)}static get[Qo(378)](){return!0}static get[Qo(375)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(305)](t=>String[e(326)](t))[e(424)]("")}super(t),this[e(330)]=e(436),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function sa(){const t=["isReady","AIChatHistory","includes","_enhanceShowRevisionViewerCallback"," ck-tab-panel_disabled","enableReadOnlyMode","setAttribute","addUser","AIQuickActions","2PapmER","4389JbGMKa","_showRevisionViewer","694624vUmmuG","refreshPositioning","save","join","uiLanguage","AITabs","getRevision","getRevisionDocumentData","numeric","3266021MRLfhw","isRevisionViewerOpen","_cleanUp","AIReviewMode","8994951pJoeHh","revisionHistory.showRevisionViewerCallback","end","revision-history-missing-configuration","restrictedEditingException","revisionHistory.requireRevisionName","getMarkersGroup","1120058qSaQZR","data","AIChat","setSelection","1530942pSNOCa","isEnabled","has","isOpen","init","isAnonymous","15690PhiTbI","get","requires","$graveyard","restoreRevision","closeRevisionViewerCallback","Annotations","RevisionsRepository","style","detachRoot","name","roots","adapter","element","11472pcXUgH","change","querySelector","AIBalloon","_getRevisionViewerEditorConfig","Autosave","document","RevisionHistoryUtils","create","destroy","map","parse","keys","ck-tab-panel_disabled","rootName","define","_recalculatePageBreaks","set","RevisionViewer","display","enqueueChange","saveRevision","locale","_closeRevisionViewer","_restoreRevision","from","creator","toolbar","users","changesNavigation","_enhanceCloseRevisionViewerCallback","fromCharCode","RevisionHistoryUI","long","createRangeIn","result","RevisionViewerIntegration","editor","selection","config","revisionHistory.viewerContainer","class","RevisionHistory","insert","exitToEditing","toLocaleTimeString","plugins","addRevisionData","revisionHistory.restoreRevisionCallback","getAttributeKeys","getUser","_update","isReadOnly","getRevisions","catch","removeMarker","Dialog","removeSelectionAttribute","DocumentOutline","disableReadOnlyMode","refreshVisibility","replace","DocumentOutlineUI","12shGanU","isAttached","10WSXiHe","toLocaleDateString","Restored","getRevisionRootsAttributes","revisionHistory.closeRevisionViewerCallback","toJSON",".ck-ai-chat__prompt-input .ck-textarea","PaginationLookup","bind","addRoot","createdAt","model","commands","markers","error","isPremiumPlugin","translations","then","isOfficialPlugin","revisionHistory.editorContainer","removeAttribute","loadRevisionData","block","indexOf","getRoot","_viewerEditor","revisionHistory","revision-history-viewer-opened","repository","none","panelViews","push","update","fromVersion","pluginName","revisionHistory.viewerEditorElement","lazyRoots","RestrictedEditingMode","AIActions","RevisionTracker","remove","hide",".ck-ai-chat-history .ck-input","view","tabindex","Users","toVersion","1580uFIjQx","showRevisionViewerCallback"];return(sa=function(){return t})()}class na extends G.Plugin{[Qo(385)];static get[Qo(394)](){return Qo(337)}static get[Qo(378)](){return!0}static get[Qo(375)](){return!0}static get[Qo(453)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(332)][i(334)][i(452)](i(386)))throw new t.CKEditorError(i(437),this);this[i(385)]=null,this[i(312)](i(431),!1),this[i(332)][i(334)][i(310)](i(435),t=>this[i(420)]({...t,translations:this[i(332)][i(317)][i(376)]})),this[i(332)][i(334)][i(310)](i(364),t=>this[i(318)](t)),this[i(332)][i(334)][i(310)](i(343),t=>this[i(319)](t)),this[i(332)][i(334)][i(310)](i(439),!1),this[i(412)](),this[i(325)]()}set[Qo(463)](t){const e=Qo;this[e(332)][e(341)][e(452)](e(399))[e(463)]=t}get[Qo(463)](){const t=Qo;return this[t(332)][t(341)][t(452)](t(399))[t(463)]}[Qo(342)](t){const e=Qo;return this[e(332)][e(341)][e(452)](e(399))[e(342)](t)}[Qo(427)](t){const e=Qo;return this[e(332)][e(341)][e(452)](e(458))[e(427)](t)}[Qo(348)](t){const e=Qo;return this[e(332)][e(341)][e(452)](e(458))[e(348)](t||{toJSON:!1})}[Qo(299)](){const e=Qo,i=this[e(332)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(341)][e(452)](e(399)),r=i[e(341)][e(452)](e(405))[e(323)];return s[e(322)]=[e(339),e(455),e(324)],delete s[e(396)],s[e(341)][e(391)](ia,ue,Ne,class extends G.Plugin{static get[e(453)](){return[ue,e(405)]}[e(449)](){const s=e,o=this[s(332)][s(341)][s(452)](s(405));for(const t of r)t[s(450)]||o[s(345)](t.id)||o[s(416)](t);const a=n[s(388)][s(348)]();let c=null;const u=this[s(332)][s(341)][s(452)](s(313));u[s(463)]=n[s(463)],u[s(368)](s(446)).to(n),this[s(332)][s(372)][s(452)](s(455))[s(368)](s(446)).to(i,s(347),t=>!t);for(const e of a){const i=null===e[s(321)];if(i&&e[s(406)]===e[s(393)])continue;const r=e[s(365)]();u[s(342)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(346)](r,o);else if(!o){const e=a[u(365)]();e.id=(0,t.uid)(),n[u(316)](e,a[u(406)])[u(377)](t=>{c=t})}}else e[u(346)](r,o)})}}},jo),s}[Qo(412)](){const t=Qo,e=this[t(332)][t(334)][t(452)](t(386))[t(408)];this[t(332)][t(334)][t(312)](t(435),async()=>{const i=t;this[i(332)][i(414)](i(387));const s=this[i(332)][i(341)][i(452)](i(399));if(this[i(332)][i(341)][i(447)](i(300))){const t=this[i(332)][i(341)][i(452)](i(300));await t[i(423)]()}else await s[i(392)]();if(this[i(332)][i(341)][i(447)](i(367))&&this[i(332)][i(341)][i(452)](i(367))[i(311)](),this[i(332)][i(341)][i(447)](i(351))){const t=this[i(332)][i(341)][i(452)](i(351));t[i(448)]&&t[i(401)]()}if(this[i(332)][i(341)][i(447)](i(426))){const t=this[i(332)][i(341)][i(452)](i(426))[i(403)][i(390)];for(const e of t)e[i(336)]=e[i(336)]?e[i(336)]+i(413):i(308);if(this[i(332)][i(341)][i(447)](i(443))){const t=document[i(297)](i(366));t&&t[i(415)](i(404),"-1")}if(this[i(332)][i(341)][i(447)](i(410))){const t=document[i(297)](i(402));t&&t[i(415)](i(404),"-1")}}const n=this[i(299)]();return e(n)[i(377)](t=>{const e=i;return this[e(385)]=t,this[e(332)][e(341)][e(447)](e(457))&&this[e(332)][e(341)][e(452)](e(457))[e(355)](),this[e(332)][e(341)][e(447)](e(353))&&(this[e(332)][e(341)][e(452)](e(357))[e(403)][e(464)][e(459)][e(314)]=e(389)),t})[i(349)](t=>(console[i(374)](t),this[i(332)][i(354)](i(387)),null))})}[Qo(325)](){const t=Qo,e=this[t(332)][t(334)][t(452)](t(386))[t(456)];this[t(332)][t(334)][t(312)](t(364),()=>{const i=t;if(this[i(332)][i(341)][i(447)](i(367))&&this[i(332)][i(341)][i(452)](i(367))[i(311)](),this[i(332)][i(341)][i(447)](i(353))&&(this[i(332)][i(341)][i(452)](i(357))[i(403)][i(464)][i(459)][i(314)]=""),this[i(332)][i(341)][i(447)](i(426))){const t=this[i(332)][i(341)][i(452)](i(426))[i(403)][i(390)];for(const e of t)e[i(336)]=i(308)===e[i(336)]?"":e[i(336)][i(356)](i(413),"");if(this[i(332)][i(341)][i(447)](i(443))){const t=document[i(297)](i(366));t&&t[i(380)](i(404))}if(this[i(332)][i(341)][i(447)](i(410))){const t=document[i(297)](i(402));t&&t[i(380)](i(404))}}return this[i(385)][i(341)][i(452)](i(313))[i(432)](),e(this[i(385)])[i(377)](()=>{const t=i;if(this[t(332)][t(354)](t(387)),this[t(385)]=null,this[t(332)][t(341)][t(447)](t(457))){const e=this[t(332)][t(341)][t(452)](t(457));e[t(355)](),e[t(422)]()}})})}[Qo(420)](t){const e=Qo,i=this[e(332)][e(334)][e(452)](e(379)),s=this[e(332)][e(334)][e(452)](e(335)),n=this[e(332)][e(334)][e(452)](e(395));return Xo[e(303)](n,t)[e(377)](t=>(s[e(459)][e(314)]=e(382),i[e(459)][e(314)]=e(389),this[e(431)]=!0,t))}[Qo(318)](t){const e=Qo,i=this[e(332)][e(334)][e(452)](e(379));return this[e(332)][e(334)][e(452)](e(335))[e(459)][e(314)]=e(389),i[e(459)][e(314)]="",this[e(431)]=!1,t[e(304)]()}async[Qo(319)](t){const e=Qo,i=this[e(332)],s=this[e(385)][e(341)][e(452)](e(313)),n=i[e(341)][e(452)](e(399)),r=i[e(341)][e(452)](e(302)),o=s[e(388)][e(427)](t);let a,c,u;try{await r[e(381)](o,this[e(463)]),a=r[e(428)](o),c=r[e(363)](o)}catch(t){return void console[e(374)](t)}i[e(371)][e(296)](t=>{const s=e;for(const e of Array[s(320)](i[s(371)][s(373)][s(440)](s(438))))t[s(350)](e)}),s[e(409)]=!1,i[e(371)][e(315)](t=>{const s=e;t[s(444)](null),t[s(352)](i[s(371)][s(301)][s(333)][s(344)]());const n=Object[s(307)](a);for(const e of i[s(371)][s(301)][s(462)])s(454)!=e[s(309)]&&e[s(359)]()&&!n[s(411)](e[s(309)])&&t[s(460)](e);for(const e of n){let n=i[s(371)][s(301)][s(384)](e);n&&n[s(359)]()||(n=t[s(369)](e));const r=c[e],o=Object[s(307)](r),u=a[e];for(const e of n[s(344)]())o[s(411)](e)||t[s(380)](e,n);for(const i of o)t[s(415)](i,c[e][i],n);t[s(400)](t[s(329)](n)),t[s(338)](i[s(442)][s(306)](u,n),n,0)}});const l=at(i[e(317)],e(362));return u=o[e(461)]?-1==o[e(461)][e(383)](l)?l+": "+o[e(461)]:o[e(461)]:l+": "+o[e(370)][e(361)](i[e(317)][e(425)],{month:e(328),day:e(429)})+", "+o[e(370)][e(340)](i[e(317)][e(425)],{hour:e(429),minute:e(429)}),await n[e(316)]({name:u}),s[e(409)]=!0,i[e(334)][e(452)](e(386))[e(456)]()}}function ra(){var t=["102826rwxHJg","1186566Clpijr","12DuYGBV","9592723SjRPdc","3444561SiqtXT","5LWCbyp","8ZlLUDe","45247870FyWRDd","2153368ufNIox","1989423MszGPf"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=359]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(827627===parseInt(e(364))/1*(-parseInt(e(366))/2)+-parseInt(e(368))/3+parseInt(e(362))/4*(-parseInt(e(359))/5)+parseInt(e(365))/6+-parseInt(e(367))/7+parseInt(e(360))/8*(-parseInt(e(363))/9)+parseInt(e(361))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|