@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250330.0 → 0.0.0-nightly-20250401.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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]",T="[object Float32Array]",O="[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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;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 T:case O: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)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=U();return(P=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(739134===-parseInt(e(315))/1+-parseInt(e(287))/2*(-parseInt(e(296))/3)+-parseInt(e(307))/4+-parseInt(e(290))/5*(-parseInt(e(298))/6)+parseInt(e(292))/7+parseInt(e(294))/8+parseInt(e(305))/9*(-parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(U);class z extends((0,t.ObservableMixin)()){id;[L(293)];[L(309)];[L(306)];[L(299)];[L(297)];[L(314)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(293)]=e[i(293)]||null,this[i(309)]=e[i(309)]||[],this[i(306)]=e[i(306)]||null,this[i(299)]=e[i(299)]||0,this[i(297)]=e[i(297)]||0,this[i(308)](i(288),e[i(288)]||""),this[i(308)](i(289),e[i(289)]||new Date),this[i(308)](i(304),e[i(304)]||{})}[L(311)](t){this[L(295)]({name:t})}[L(310)](t,e){const i=L,s=R(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(295)]({attributes:s})}[L(312)](t){const e=L,i=R(this[e(304)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(295)]({attributes:i})}[L(295)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(288),i(289),i(306),i(309),i(304),i(299),i(297),i(313)];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(309)]&&(n[i(291)]=n[i(309)][i(301)]((t=>t.id)),delete n[i(309)]),this[i(303)](i(295),n,e))}[L(300)](){const t=L;return{id:this.id,name:this[t(288)],creatorId:this[t(293)]?this[t(293)].id:null,authorsIds:this[t(309)][t(301)]((t=>t.id)),diffData:this[t(306)],createdAt:this[t(289)],attributes:this[t(304)],fromVersion:this[t(297)],toVersion:this[t(299)]}}}function U(){const t=["2800lOirYU","name","createdAt","3965qsQKkA","authorsIds","8585017ZHJQuS","creator","11169432XziSHu","_update","2238Blwsbm","fromVersion","4686XlfJms","toVersion","toJSON","map","1670sxICUK","fire","attributes","81117FwWZlG","diffData","2349084dHNfDI","set","authors","setAttribute","setName","removeAttribute","creatorId","model","1454767jtZaMd"];return(U=function(){return t})()}var W=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=293]})(t,e)}function B(){const t=["afterInit","addRevision","isPremiumPlugin","push","105Bscfgy","add","1531476AGnFtm","oldRevisionId","getLaterVisibleRevision","reverse","createdAt","getRevisions","getRevisionsIterator","getIndex","editor","requires","getEarlierVisibleRevision","2161962IBaZBA","72984rpWiFM","diffData","isOfficialPlugin","RevisionsRepository","fromCharCode","23268lptJdZ","authorsIds","fromVersion","later","creatorId","from","length","join","getUser","116466Sutemx","href","pluginName","Users","name","earlier","createRevision","1633544GnYpHE","59667isspji","8ToKIBZ","plugins","getRevision","isNaN","get","toVersion","attributes","data","newRevisionId","toJSON","_revisions","map","getRevisionsInDiff"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(170981===-parseInt(e(319))/1+parseInt(e(320))/2*(-parseInt(e(297))/3)+parseInt(e(302))/4*(parseInt(e(337))/5)+-parseInt(e(339))/6+parseInt(e(311))/7+parseInt(e(318))/8+parseInt(e(296))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends W.Plugin{[q(330)];static get[q(294)](){return[Z.Users]}static get[q(313)](){return q(300)}static get[q(299)](){return!0}static get[q(335)](){return!0}get[q(308)](){const t=q;return this[t(330)][t(308)]}constructor(e){const i=q;super(e),this[i(330)]=new t.Collection}[q(333)](){!async function(e){const i=k([105,49,98,50,122,102,88,81,90,48,83,70,117,115,78,111,114,119,84,80,74,76,104,67,73,82,108,57,99,103,97,69,120,51,54,107,71,65,101,85,116,77,55,109,113,56,86,53,89,72,52,68,110,121,87,75,66,100,112,118,79,106]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(323)](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([105]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(331)]((t=>String[e(301)](t)))[e(309)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743292800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(312)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(317)](t){const e=q,i=this[e(293)][e(321)][e(324)](e(314));return new z({id:t.id,name:t[e(315)],creator:t[e(306)]?i[e(310)](t[e(306)]):null,diffData:t[e(298)]||t[e(327)],authors:t[e(303)][e(331)]((t=>i[e(310)](t))),createdAt:new Date(t[e(343)]),attributes:t[e(326)],fromVersion:t[e(304)],toVersion:t[e(325)]})}[q(334)](t,e=0){const i=q;this[i(330)][i(338)](t,e)}[q(322)](t){const e=q;return this[e(330)][e(324)](t)}[q(344)](t={toJSON:!1}){const e=q,i=Array[e(307)](this[e(330)]);return i[e(342)](),t[e(329)]?i[e(331)]((t=>t[e(329)]())):i}[q(346)](t){const e=q;return this[e(330)][e(346)](t)}[q(295)](t){const e=q,[,i]=this[e(345)](t,{direction:e(316)});return i}[q(341)](t){const e=q,[,i]=this[e(345)](t,{direction:e(305)});return i}[q(332)](t){const e=q,i=[];for(const s of this[e(345)](t[e(328)]))if(i[e(336)](s),s.id===t[e(340)])break;return i}*[q(345)](t,{direction:e=q(316),filter:i=()=>!0}={}){const s=q,n=s(316)===e?1:-1;let r=this[s(330)][s(324)](t),o=this[s(346)](r);for(yield r;r;){if(o+=n,r=this[s(322)](o),!r)return;i(r)&&(yield r)}}}function J(){const t=["getFillerOffset","insertions","length","startsWith","revision-start","domDocument","parse","4316000uJRATv","customProperties","isPremiumPlugin","processor","_typeCharToViewClass","585382eNiIpH","214959aJzdXl","getRevisionDocumentData","default","type","data-revision-","name","loadRevisionData","map","useFillerType","editing","render","viewChildrenToDom","getRevisionRootsAttributes","children","RevisionHistoryUtils","string","diffData","_appendChild","_viewClassToTypeChar","isOfficialPlugin","createElement","document","_makeModelFromViewString","toModel","_getViewFromDiffObj","_getTypeCharForViewElement","attributesAfter","pluginName","forEach","fillerOffset","20569ZZZaQj","data","htmlProcessor","marked","append","div","getRevision","childNodes","isAttached","3009582VEcckr","attributes","attachChange","toData","collaboration.channelId","get","from","config","domChildrenToView","12rfdcpg","116685VxebLm","filter","revision-end","_removeRevisionMarkers","5225058vdUhqf","view","constructor","2xheddT","domConverter","innerHTML","_setCustomProperty","editor"];return(J=function(){return t})()}const G=K;function K(t,e){const i=J();return(K=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(326434===parseInt(e(427))/1*(parseInt(e(453))/2)+-parseInt(e(397))/3*(parseInt(e(445))/4)+-parseInt(e(446))/5+parseInt(e(436))/6+parseInt(e(396))/7+parseInt(e(391))/8+-parseInt(e(450))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class X extends W.Plugin{static get[G(424)](){return G(411)}static get[G(416)](){return!0}static get[G(393)](){return!0}[G(415)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(395)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(403)](t,e){const i=G;if(t[i(413)]||!e)return;const s=this[i(457)][i(443)][i(441)](i(440)),n=await e[i(433)]({channelId:s,revisionId:t.id});t[i(413)]=n[i(413)]}[G(398)](t){const e=G,i={};for(const s in t[e(413)]){if(t[e(413)][s][e(438)]&&!t[e(413)][s][e(438)][e(435)])continue;const n=this[e(449)](JSON[e(390)](t[e(413)][s][e(459)])),r=this[e(457)][e(406)][e(451)][e(418)],o=new H.ViewDocumentFragment(r,n[e(404)]((t=>this[e(421)](t,!1))));this[e(457)][e(428)][e(394)][e(405)](e(430)),i[s]=this[e(457)][e(428)][e(394)][e(439)](o),this[e(457)][e(428)][e(394)][e(405)](e(399))}return i}[G(409)](t){const e=G,i={};for(const s in t[e(413)])t[e(413)][s][e(438)]&&!t[e(413)][s][e(438)][e(435)]||(i[s]=t[e(413)][s][e(423)]||{});return i}[G(422)](t){const e=G;return this[e(415)][e(441)](t[e(452)])}[G(421)](t,e){const i=G,s=this[i(457)][i(406)][i(451)][i(418)];if(i(412)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(400)]||"r"==t[i(400)]?[]:t[i(410)][i(404)]((t=>this[i(421)](t,e)));const o=this[i(395)][i(441)](t[i(400)])||H.ViewElement,a=this[i(457)][i(428)][i(429)][i(454)];if(n=new o(s,t[i(402)],t[i(437)],r),"u"==t[i(400)]){const r=t[i(410)][0];if(n[i(407)]=function(t){const e=i,s=t[e(417)](e(432));return s[e(455)]=r,s[e(434)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(414)](n);const e=Array[i(442)](a[i(408)](t,{bind:!1})),r=a[i(389)][i(417)](i(432));r[i(431)](...e),n=Array[i(442)](a[i(444)](r))[0]}}else if("r"==t[i(400)]){const r=t[i(410)][0];if(n[i(407)]=function(t){t[i(455)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(414)](n);const e=Array[i(442)](a[i(408)](t,{bind:!1})),r=a[i(389)][i(417)](i(432));r[i(431)](...e);const o=Array[i(442)](a[i(444)](r));o[i(460)]>1?n[i(414)](o):n=o[0]}}if(t[i(392)])for(const[e,s]of t[i(392)])n[i(456)](e,s);const c=t[i(426)]||null;return n[i(458)]=()=>c,n}}[G(419)](t){const e=G,i=JSON[e(390)](t),s=this[e(457)][e(406)][e(451)][e(418)],n=new H.ViewDocumentFragment(s,i[e(404)]((t=>this[e(421)](t,!0))));return this[e(457)][e(428)][e(420)](n)}[G(449)](t){const e=G;return(t=t[e(447)]((t=>!t[e(402)]||e(388)!==t[e(402)]&&e(448)!==t[e(402)])))[e(425)]((t=>{const i=e;i(412)!=typeof t&&(t[i(410)]=this[i(449)](t[i(410)]),t[i(437)]=t[i(437)][i(447)]((t=>!t[0][i(387)](i(401)))))})),t}}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===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)||!et(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=>et(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 T:case O: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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["newRange","loadState","_makeModelFromViewString","createPositionFromPath","isOfficialPlugin","_reset","max","_touchedMarkers","data","revisionHistoryLicenseKeyInvalid","RevisionHistoryUtils","_diffRootsAttributes","getIndex","_lastFrom","from","buildRevisionData","$text","_revisionId","_handleMoveOperation","dataDowncast","hasContent","getCurrentRevisionId","offsetSize","284KvHjbF","getAncestors","howMany","authors","_makeRevision","_execute","$graveyard","_fixRange","fromEntries","_getFromVersion","addRevision","_processRootBeforeSave","move","980955XcIZqx","reInit","resolve","_removePendingAction","_applyOperations","getRoot","attributesAfter","revisionHistoryLicenseKeyExpired","diffData","addRevisionData","_isAttached","customProperties","deletions","featureNotAllowed","sourcePosition","getRevision","RevisionsRepository","currentRevision","version","locale","update","stringify","name","delete","_loadState","isReady","updateRevisions","_authorId","createPositionBefore","item","render","rootName","_fixPosition","createdAt","fillerOffset","marker","createRangeIn","_startingRevisionId","split","_findInsertionIndex","Users","revisionHistoryLicenseKeyValid","setSource","insertion","_generateTape","length","toVersion","sort","initial","_appendChild","_handleRootAttributeOperation","3153uleAvy","createElement","creator","fromVersion","documentFragment","roots","$comment","add","loadRevisionData","getLatestVersion","_touched","text","218UqxiAL","_markers","toView","invalid","getData","_initialRevisionId","_createFromRanges","getRevisions","find","_savedMetaData","_setConversion","rootsAttributes","conversion","_transformMarkers","getChildren","then","map","_createInitialRevision","filter","Initial revision","_addPendingAction","newValue","graveyardPosition","repository","isEnabled","previousPosition","childCount","_replaceEditorDataWithRevisionData","getMovedRangeStart","getRange","attributesBefore","adapter","_isPendingUpdate","attachChange","6kqaImJ","afterInit","revisionHistoryLicenseKeyNotAllowed","domainLimit","outerHTML","ready","39EULhEf","_fixOperation","keys","_licenseKeyCheckInterval","some","paragraph","dataToMarker","expired","insertions","isPremiumPlugin","string","addRoot","offset","_utils","_revisionDataBuilder","path","targetPosition","_getPreviousFrom","_update","_prepareViewToSave","getChild","_baseRoots","_removeMetaData","_calculateMetaData","revisionHistoryLicenseKeyDomainLimit","uiElement","usageLimit","_bufferUpdate","root","_diffRoots","define","push","_setAttribute","licenseKey","domDocument","_copyMarkers","_makeIdsRoot","keepParagraph","_getVidAttributeName","deletion","PendingActions","merge","pluginName","element","remove","_continueCurrentRevision","_source","getRevisionDocumentData","for","set","end","_idsRoots","size","_handleMarkerOperation","clone","_insertChild","_lastTo","evaluationLimit","creatorId","_baseIdsRoots","RevisionHistory","has","revisionHistoryLicenseKeyTrialLimit","_saveMetaData","elementStart","innerHTML","Empty document","revisionHistoryLicenseKeyEvaluationLimit","history","reinsert","_getBaseVids","revision","_operations","RealTimeCollaborationClient","24JaeuQK","userId","_createCurrentRevision","type","_pendingAction","_handleOperation","_baseRootsAttributes","parent","includes","document","4590930jvBRpr","_handleInsertOperation","detachRoot","tableCell","createPositionAfter","888147KtrWcr","finally","trialLimit","markerToData","_isInit","5828009QNXZjP","_cloneOperation","changeRootAttribute","upcast","isAdd","revision:","getFillerOffset","splitPosition","baseVersion","htmlProcessor","getAttributes","position","setRevisionData","values","getOperation","source","_handleSplitOperation","key","_startingVersion","_showLicenseError","rawElement","getUser","initialData","vid_end","clear","elementEnd","init","getWalker","_getViewJson","editor","plugins","authorsIds","model","slice","vid_start","getRootNames","getTransformedByOperation","reverse","stickiness","destroy","_handleRootOperation","trim","children","domConverter","getCustomProperties","createPositionAt","isAttached","affectsData","revisionHistory.resumeUnsavedRevision","oldRange","isEqual","_getTypeCharForViewElement","bind","config","nodeAfter","_touchedRoots","shift","removeRootAttribute","NEGATIVE_INFINITY","createRevision","get","saveRevision","PENDING_ACTION_REVISION_HISTORY","insert","addRootAttribute","createRange","_loadedStateData","sendBufferedUpdates","getAttribute","_markChanges","startsWith","getRevisionRootsAttributes","revisionHistoryLicenseKeyUsageLimit","getOperations","start","range","_handleMergeOperation","requires","_clone","vid","markers","67676EATpKE","getNodeByPath","RevisionTracker","editor-initial-data-replaced-with-revision-data","collaboration.channelId","_getState","getTime","_bufferedUpdates","insertionPosition","nodes"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(250622===-parseInt(e(456))/1*(parseInt(e(416))/2)+-parseInt(e(404))/3*(-parseInt(e(340))/4)+-parseInt(e(353))/5+parseInt(e(450))/6*(parseInt(e(307))/7)+parseInt(e(206))/8*(parseInt(e(221))/9)+-parseInt(e(216))/10+parseInt(e(226))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends W.Plugin{[rt(165)];[rt(459)];[rt(370)]=null;[rt(439)];[rt(447)]=null;[rt(146)];[rt(178)];[rt(421)];[rt(314)];[rt(469)];[rt(210)];[rt(177)];[rt(244)];[rt(292)];static get[rt(174)](){return rt(309)}static get[rt(321)](){return!0}static get[rt(465)](){return!0}static get[rt(303)](){return[Z.Users,Y,X,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(439)]=this[i(255)][i(256)][i(286)](i(369)),this[i(469)]=this[i(255)][i(256)][i(286)](i(327)),this[i(146)]=new ut(this[i(255)]),this[i(421)]=this[i(255)][i(279)][i(286)](i(311))||i(401),this[i(314)]=new Map,this[i(292)]=null;const s=(0,t.uid)();this[i(178)]={history:this[i(255)][i(258)][i(215)][i(200)],getLatestVersion:()=>Promise[i(355)](this[i(255)][i(258)][i(215)][i(371)]),getCurrentRevisionId:()=>s},this[i(181)](i(378),!1),this[i(181)](i(440),!0),this[i(181)](i(448),!1),this[i(255)][i(279)][i(162)](i(274),!0),this[i(255)][i(428)][i(180)](i(229))[i(462)]({view:i(203)})}[rt(252)](){const t=rt;this[t(426)](),this[t(255)][t(325)].on(t(455),(()=>{const e=t,i=this[e(439)][e(368)](0),s=i&&null===i[e(406)]?i:null;if(this[e(177)]=!!s&&this[e(255)][e(279)][e(286)](e(274)),this[e(255)][e(256)][e(193)](e(205))){const t=this[e(178)][e(338)](),n=this[e(439)][e(368)](t);if(n)this[e(244)]=n[e(407)],this[e(177)]=!1;else{const t=this[e(178)][e(200)][e(204)][e(424)]((t=>!t[e(225)])),n=t?t[e(234)]:this[e(178)][e(200)][e(371)];i?(i[e(399)]<n&&i[e(150)]({toVersion:n}),this[e(177)]?(this[e(178)][e(338)]=()=>s.id,this[e(244)]=s[e(407)]):(this[e(244)]=i[e(399)],this[e(177)]=!1)):(this[e(244)]=n,this[e(177)]=!1)}}else s&&(this[e(255)][e(258)][e(215)][e(200)][e(371)]=Math[e(323)](s[e(399)],this[e(255)][e(258)][e(215)][e(200)][e(371)]),s[e(407)]===s[e(399)]?(0!==s[e(407)]&&(this[e(178)][e(338)]=()=>s.id),this[e(177)]=!1):this[e(177)]&&(this[e(178)][e(338)]=()=>s.id,this[e(244)]=s[e(407)])),this[e(177)]||(this[e(244)]=this[e(255)][e(258)][e(215)][e(371)]);this[e(146)][e(252)](this[e(178)][e(200)]),this[e(433)](this[e(244)]),this[e(208)](this[e(244)]),this[e(447)]&&this[e(293)]()})),this[t(278)](t(378)).to(this,t(448),(t=>!t)),this[t(165)]=this[t(255)][t(279)][t(286)](t(165));const e=this[t(255)];this[t(459)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(394)==r||i(326)==r||i(360)==r||i(156)==r||i(452)==r||i(199)==r||i(194)==r||i(298)==r){delete e[n],s=r,clearInterval(this[i(459)]),this[i(459)]=void 0;break}}i(326)==s&&e[i(245)](i(419)),i(360)==s&&e[i(245)](i(463)),i(156)==s&&e[i(245)](i(453)),i(452)==s&&e[i(245)](i(366),i(192)),i(199)==s&&e[i(245)](i(189)),i(194)==s&&e[i(245)](i(223)),i(298)==s&&e[i(245)](i(158))}),1e3)}async[rt(451)](){const t=rt;if(this[t(439)][t(398)]>0){const e=this[t(439)][t(368)](0),i=await this[t(179)](e),s=await this[t(297)](e);this[t(443)](i,s)}}[rt(265)](){const t=rt;super[t(265)](),this[t(459)]&&clearInterval(this[t(459)])}[rt(395)](t){this[rt(178)]=t}async[rt(373)](){const t=rt,e=await this[t(178)][t(413)]();if(e>this[t(370)][t(399)]){await this[t(377)]();const i=this[t(332)]({revision:this[t(370)],to:e});i[t(343)]=i[t(257)][t(432)]((e=>this[t(255)][t(256)][t(286)](t(393))[t(247)](e))),this[t(370)][t(150)](i)}}async[rt(287)](e={},i=null){const s=rt,n=[];await this[s(377)](),this[s(177)]=!1,i>this[s(370)][s(399)]&&(i=null),null===i&&(i=await this[s(178)][s(413)]());const r=this[s(349)](i),o=this[s(332)]({from:r,to:i});if(this[s(370)][s(399)]<i){const t=this[s(332)]({revision:this[s(370)],from:i,to:i});t[s(343)]=[],t[s(257)]=[],t.id=this[s(370)].id,this[s(370)][s(150)](t,!0),delete t[s(343)],n[s(163)](t)}e[s(190)]=this[s(255)][s(256)][s(286)](s(393)).me.id,e[s(375)]=e[s(375)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(362)](e);n[s(163)](e);const c=this[s(439)][s(329)](a);if(0!==c){const t=this[s(439)][s(368)](c-1);if(t[s(407)]!==i){const r=this[s(146)][s(420)](i,t[s(399)]),o={id:t.id,diffData:r[s(361)],authorsIds:r[s(257)],authors:r[s(257)][s(432)]((t=>this[s(255)][s(256)][s(286)](s(393))[s(247)](t))),fromVersion:i};t===this[s(370)]&&(o[s(386)]=new Date(e[s(386)][s(313)]()+10)),t[s(150)](o,!0),delete o[s(343)],n[s(163)](o)}}if(this[s(447)]){for(const t of n)this[s(159)](t.id,t,!0);this[s(293)]()}return a}[rt(362)](t){const e=rt,i=this[e(439)][e(285)](t);return this[e(447)]&&i.on(e(150),((t,i,s)=>{const n=e;s||(this[n(159)](i.id,i,!0),this[n(293)]())})),this[e(439)][e(350)](i,this[e(392)](i)),i}async[rt(179)](t){const e=rt;return await this[e(469)][e(412)](t,this[e(447)]),this[e(469)][e(179)](t)}async[rt(297)](t){const e=rt;return await this[e(469)][e(412)](t,this[e(447)]),this[e(469)][e(297)](t)}[rt(293)](){const t=rt;if(0===this[t(314)][t(184)])return;if(this[t(448)])return;let e=Array[t(331)](this[t(314)][t(239)]());this[t(314)][t(250)]();for(let i=0;i<e[t(398)];i++){const s=e[i];let n=!1;for(const e of Object[t(458)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(434)]((t=>null!==t)),!e[t(398)])return;for(let i=0;i<e[t(398)];i++){const s=e[i];void 0!==s[t(407)]&&void 0===s[t(399)]&&(s[t(399)]=this[t(439)][t(368)](s.id)[t(399)]),void 0!==s[t(399)]&&void 0===s[t(407)]&&(s[t(407)]=this[t(439)][t(368)](s.id)[t(407)])}const i=this[t(255)][t(279)][t(286)](t(311));this[t(448)]=!0,this[t(436)](),this[t(447)][t(379)](e,i)[t(222)]((()=>{this[t(448)]=!1}))[t(431)]((e=>{const i=t;if(e)for(const t of e)this[i(238)]({id:t.id,createdAt:t[i(386)]});this[i(356)](),this[i(293)]()}))}[rt(332)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(407)],i=null!==i?i:t[s(399)];const n=this[s(146)][s(420)](e,i),r={diffData:n[s(361)],authorsIds:n[s(257)],fromVersion:e,toVersion:i};if(!t||i!==t[s(399)]){const t=i-1,e=this[s(178)][s(200)][s(240)](t);r[s(386)]=e&&e[s(386)]||new Date}if(this[s(292)]&&e===this[s(292)][s(407)])for(const t of this[s(292)][s(343)])r[s(257)][s(214)](t.id)||r[s(257)][s(163)](t.id);return r}[rt(159)](t,e,i){const s=rt;if(this[s(314)][s(193)](t)){const n=this[s(314)][s(286)](t);e=i?{...n,...e}:{...e,...n}}this[s(314)][s(181)](t,e)}[rt(238)](t){const e=rt,i=this[e(439)][e(368)](t.id);if(t[e(386)]&&(t[e(386)]=new Date(t[e(386)])),t[e(257)]){const i=this[e(255)][e(256)][e(286)](e(393));t[e(343)]=t[e(257)][e(432)]((t=>i[e(247)](t)))}i[e(150)](t,!0)}[rt(433)](t){const e=rt,i=this[e(439)][e(368)](this[e(439)][e(398)]-1);if(i)this[e(421)]=i.id;else{const i=!this[e(255)][e(258)][e(215)][e(409)][e(424)]((t=>this[e(255)][e(258)][e(337)](t))),s=this[e(255)][e(256)][e(286)](e(393)).me.id,n=Q(this[e(255)][e(372)],e(i?198:435));this[e(344)]({from:t,to:t,id:this[e(421)],name:n,creatorId:s})}}[rt(208)](t){const e=rt,i=this[e(178)][e(338)]();this[e(370)]=this[e(439)][e(368)](i),this[e(370)]||(this[e(370)]=this[e(344)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(377)](){const t=rt;this[t(177)]&&!this[t(292)]&&(await this[t(469)][t(412)](this[t(370)],this[t(447)]),this[t(146)][t(318)](this[t(370)]),this[t(292)]={fromVersion:this[t(370)][t(407)],authors:this[t(370)][t(343)][t(259)]()})}[rt(443)](e,i){const s=rt;let n=this[s(255)][s(279)][s(286)](s(248)),r=this[s(255)][s(279)][s(286)](s(427));if(void 0===n){n={};for(const t of this[s(255)][s(258)][s(215)][s(261)]())n[t]=""}if(s(466)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(255)][s(258)][s(215)][s(261)]())r[t]={}}let o=!1;const a=Object[s(458)](n),c=Object[s(458)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(267)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(458)](r[t])[s(398)]>0){o=!0;break}}o||(o=c[s(460)]((t=>!this[s(255)][s(258)][s(215)][s(358)](t)))),o&&(0,t.logWarning)(s(310),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(255)][s(279)][s(181)](s(248),e),this[s(255)][s(279)][s(181)](s(427),i)}[rt(436)](){const t=rt;if(!this[t(210)]){const e=this[t(255)][t(256)][t(286)](t(172));this[t(210)]=e[t(411)](Q(this[t(255)][t(372)],t(288)))}}[rt(356)](){const t=rt;this[t(210)]&&(this[t(255)][t(256)][t(286)](t(172))[t(176)](this[t(210)]),this[t(210)]=null)}[rt(392)](t){const e=rt,i=this[e(439)][e(423)]();i[e(263)]();let s=0;for(;s<i[e(398)];){const n=i[s];if(n===this[e(370)]){s++;continue}if(n.id===this[e(421)])break;const r=t[e(399)]-n[e(399)]||t[e(407)]-n[e(407)];if(r>0)break;if(r<0)s++;else{if(!t[e(406)]&&n[e(406)])break;if(n[e(406)]||!t[e(406)]){if(t[e(386)]>n[e(386)])break;s++}else s++}}return s}[rt(349)](t){const e=rt,i=this[e(439)][e(423)]();i[e(263)](),i[e(282)]();const s=i[e(424)]((i=>i[e(399)]<=t))[e(399)];return s<this[e(244)]?this[e(244)]:s}[rt(344)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(332)]({from:e,to:i});o[r(375)]=t,o[r(190)]=s,o.id=n;const a=this[r(362)](o);return this[r(447)]&&this[r(159)](o.id,o,!0),a}[rt(426)](){const t=rt;this[t(255)][t(428)][t(180)](t(336))[t(224)]({model:t(203)})}}class ut{[rt(255)];[rt(241)];[rt(425)];[rt(330)];[rt(188)];[rt(417)];[rt(161)];[rt(328)];[rt(153)];[rt(212)];[rt(183)];[rt(191)];[rt(414)];[rt(324)];[rt(281)];[rt(334)];[rt(390)];constructor(t){const e=rt;this[e(255)]=t,this[e(425)]=new Map,this[e(330)]=-1,this[e(188)]=-1,this[e(417)]=new Map,this[e(161)]=new Map,this[e(328)]=new Map,this[e(153)]=new Map,this[e(212)]=new Map,this[e(183)]=new Map,this[e(191)]=new Map,this[e(414)]=new Map,this[e(324)]=new Map,this[e(281)]=new Map,this[e(334)]=1}[rt(252)](t){const e=rt;this[e(241)]=t;const i=new Map,s=new Map,n=this[e(255)][e(258)][e(215)][e(409)][e(432)]((t=>t[e(384)]));for(const t of n){const n=this[e(255)][e(258)][e(215)][e(358)](t),r=lt(n);i[e(181)](t,r),s[e(181)](t,Object[e(348)](n[e(236)]()))}const r=Array[e(331)](this[e(255)][e(258)][e(306)])[e(432)]((t=>[t[e(375)],t[e(445)]()])),o=this[e(241)][e(371)];this[e(195)](o,i,r,s),this[e(390)]=this[e(334)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(181)](t,i),c[e(181)](t,{})}this[e(195)](Number[e(284)],a,[],c)}[rt(420)](t,e){const i=rt;if(this[i(330)]===t&&this[i(188)]<=e)this[i(425)][i(184)]>1&&this[i(154)](this[i(188)]),this[i(357)](this[i(188)],e,!0);else{if(!this[i(425)][i(193)](t)){const e=this[i(149)](t);this[i(155)](e,t,!1)}this[i(155)](t,e,!0)}return this[i(330)]=t,this[i(188)]=e,this[i(312)]()}[rt(318)](t){const e=rt,i=this[e(255)][e(256)][e(286)](e(327));this[e(322)](),this[e(330)]=t[e(407)],this[e(188)]=t[e(399)];for(const s in t[e(361)]){const n=t[e(361)][s][e(449)],r=R(t[e(361)][s][e(446)])||{},o=i[e(319)](t[e(361)][s][e(365)]);o[e(384)]=s,o[e(363)]=!n||!n[e(272)],o[e(272)]=()=>o[e(363)],this[e(153)][e(181)](s,o),this[e(212)][e(181)](s,r),n&&this[e(281)][e(181)](s,n);const a=this[e(168)](o);this[e(191)][e(181)](s,a);for(const[t,i]of o[e(306)]){if(!t[e(296)](e(231)))continue;const s=t[e(391)](":")[2];for(const t of i[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),n=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)],r=a[e(308)](n)[e(294)](i);this[e(414)][e(181)](r,{userId:s})}}}this[e(390)]=this[e(334)];const s=[...Array(this[e(334)])[e(458)]()][e(259)](1)[e(434)]((t=>!this[e(414)][e(193)](t)));let n=0;const r=new Map;for(const o in t[e(361)]){const a=t[e(361)][o][e(449)],c=R(t[e(361)][o][e(359)])||{},u=i[e(319)](t[e(361)][o][e(464)]);u[e(384)]=o,u[e(363)]=!a||a[e(272)],u[e(272)]=()=>u[e(363)],this[e(161)][e(181)](o,u),this[e(328)][e(181)](o,c);const l=this[e(168)](u,Number[e(284)]);this[e(183)][e(181)](o,l),r[e(181)](o,u[e(272)]()?c:{});for(const[t,i]of u[e(306)]){if(!t[e(296)](e(231)))continue;const s=t[e(391)](":")[2];for(const t of i[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),n=this[e(334)]++,r=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)];l[e(308)](r)[e(164)](i,n),this[e(414)][e(181)](n,{userId:s})}}for(const t of this[e(255)][e(258)][e(389)](u)[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),r=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)],o=l[e(308)](r);o[e(294)](i)>0||o[e(164)](i,s[n++])}for(const[t,i]of u[e(306)])t[e(296)](e(231))||this[e(417)][e(181)](t,i)}const o=ht(e(346));this[e(153)][e(181)](e(346),o),this[e(191)][e(181)](e(346),this[e(168)](o,1));const a=ht(e(346));this[e(161)][e(181)](e(346),a),this[e(183)][e(181)](e(346),this[e(168)](a,1));const c=Array[e(331)](this[e(161)])[e(432)]((([t,e])=>[t,lt(e)]));this[e(195)](this[e(188)],c,this[e(417)],r)}[rt(354)](){const t=rt;this[t(322)](),this[t(330)]=-1,this[t(188)]=-1,this[t(425)][t(250)](),this[t(252)](this[t(241)])}[rt(195)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(181)](t,{start:e[n(300)][n(186)](),end:e[n(182)][n(186)](),rootName:e[n(160)][n(384)]});this[n(425)][n(181)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(154)](t){const e=rt;this[e(425)][e(376)](t)}[rt(322)](){const t=rt;this[t(414)][t(250)](),this[t(324)][t(250)](),this[t(281)][t(250)](),this[t(161)][t(250)](),this[t(328)][t(250)](),this[t(153)][t(250)](),this[t(212)][t(250)](),this[t(183)][t(250)](),this[t(191)][t(250)](),this[t(417)][t(250)](),this[t(334)]=1,this[t(390)]=this[t(334)]}[rt(168)](t,e=null){const i=rt;let s=null;t.is(i(408))||(s=new H.Element(t[i(375)],{vid_start:null===e?this[i(334)]++:e++}));const n=[];for(const s of t[i(430)]())if(s.is(i(175))){n[i(163)](this[i(168)](s,e));const t=n[n[i(398)]-1];null!==e&&(e=t.is(i(175),i(333))?t[i(294)](i(305))+1:t[i(294)](i(249))+1)}else for(let t=0;t<s[i(339)];t++)n[i(163)](new H.Element(i(333),{vid:null===e?this[i(334)]++:e++}));if(t.is(i(408))){const e=ht(t[i(384)]);return e[i(187)](0,n),e}return s[i(164)](i(249),null===e?this[i(334)]++:e++),s[i(187)](0,n),s}[rt(155)](t,e,i){const s=rt;this[s(322)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(425)][s(286)](t);this[s(153)]=new Map(n),this[s(212)]=new Map(R(o));for(const[t,e]of this[s(153)])if(s(346)!==t&&(this[s(161)][s(181)](t,lt(e)),this[s(328)]=new Map(R(o)),i)){const i=this[s(334)];this[s(183)][s(181)](t,this[s(168)](e)),this[s(191)][s(181)](t,this[s(168)](e,i))}this[s(390)]=this[s(334)],this[s(161)][s(181)](s(346),lt(this[s(153)][s(286)](s(346)))),i&&this[s(183)][s(181)](s(346),this[s(168)](this[s(153)][s(286)](s(346))));for(const[t,e]of r){const i=this[s(153)][s(286)](e[s(384)]),n=this[s(161)][s(286)](e[s(384)]),r=new H.Range(this[s(385)](e[s(300)],i),this[s(385)](e[s(182)],i)),o=this[s(347)](r,n);i[s(306)][s(181)](t,r),this[s(417)][s(181)](t,o)}this[s(357)](t,e,i)}[rt(357)](t,e,i){const s=rt;for(const n of this[s(241)][s(299)](t,e))this[s(211)](n,i);for(const t of this[s(161)][s(239)]())t[s(306)][s(250)]();for(const[t,e]of this[s(417)])this[s(161)][s(286)](e[s(160)][s(384)])[s(306)][s(181)](t,e[s(186)]());const n=new Map,r=new Map;for(const[t,e]of this[s(161)])n[s(181)](t,lt(e)),r[s(181)](t,this[s(328)][s(286)](t));this[s(195)](e,n,this[s(417)],r)}[rt(149)](t){const e=rt,i=Array[e(331)](this[e(425)][e(458)]());i[e(400)](((t,e)=>t-e)),i[e(263)]();for(const e of i)if(e<t)return e;return Number[e(284)]}[rt(167)](t,e){const i=rt,s=Array[i(331)](e[i(306)])[i(432)]((([e,s])=>[e,this[i(347)](s,t)]));t[i(306)]=new Map(s)}[rt(429)](t){const e=rt;for(const i of this[e(417)][e(239)]()){const s=i[e(262)](t),n=H.Range[e(422)](s);i[e(300)]=n[e(300)],i[e(182)]=n[e(182)]}}[rt(211)](t,e){const i=rt;if(i(467)!=t[i(209)]&&i(218)!=t[i(209)]){if(i(289)==t[i(209)]){const s=t[i(237)][i(160)][i(384)];this[i(161)][i(193)](s)||(this[i(161)][i(181)](s,ht(s,!0)),this[i(328)][i(181)](s,{}),e&&this[i(183)][i(181)](s,ht(s,!0)))}else{if(i(290)==t[i(209)]||i(283)==t[i(209)]||i(228)==t[i(209)])return void this[i(403)](t);i(388)==t[i(209)]&&this[i(185)](t)}if(i(388)!==t[i(209)]){const e=this[i(227)](t,this[i(161)]);e[i(345)](),this[i(429)](e)}if(e)switch(t[i(209)]){case i(289):this[i(217)](t);break;case i(352):case i(176):case i(201):this[i(335)](t);break;case i(173):this[i(302)](t);break;case i(391):this[i(242)](t)}}else this[i(266)](t,e)}[rt(227)](t,e){const i=rt,s=t[i(186)]();return s[i(380)]=t[i(380)],this[i(457)](s,e),s}[rt(202)](t){const e=rt;return t[e(432)]((t=>{const i=e,s=this[i(170)](t);return Number(t[i(382)][i(294)](s))}))}[rt(397)](t,e){const i=rt;if(t.is(i(175),i(333)))e[i(163)]({item:t,type:i(415)});else{t.is(i(175))&&e[i(163)]({item:t,type:i(196)});for(const s of t[i(430)]())this[i(397)](s,e);t.is(i(175))&&e[i(163)]({item:t,type:i(251)})}return e}[rt(312)](){const t=rt,e=new Map(this[t(414)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(153)][t(458)](),...this[t(161)][t(458)]()]);a[t(376)](t(346));for(const e of a){const i=this[t(161)][t(286)](e)||ht(e,!1),s=this[t(153)][t(286)](e)||ht(e,!1);i[t(272)]()||s[t(272)]()?(n[t(464)][e]=lt(i),n[t(365)][e]=lt(s),this[t(167)](n[t(365)][e],s),this[t(167)](n[t(464)][e],i),r[t(464)][e]=this[t(397)](this[t(183)][t(286)](e),[]),r[t(365)][e]=this[t(397)](this[t(191)][t(286)](e)||ht(e,!1),[])):a[t(376)](e)}for(const n of a){const o=r[t(464)][n];for(const n of o){const r=this[t(170)](n),o=n[t(382)][t(294)](r);i[t(376)](o),o>=this[t(390)]&&s[t(181)](o,e[t(286)](o))}}for(const n of a){const a=r[t(464)][n],c=this[t(202)](r[t(365)][n]);let u=0;for(const n of a){const r=this[t(170)](n),a=n[t(382)][t(294)](r);if(!s[t(193)](a)&&!o[t(193)](a))if(i[t(193)](a))u++;else{if(a!=c[u]){const s=e[t(286)](a)||e[t(286)](c[u]);for(;a!=c[u];)i[t(193)](c[u])||(o[t(181)](c[u],s),e[t(181)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(464)][e];for(const e of n){const n=this[t(170)](e),r=e[t(382)][t(294)](n);if(o[t(193)](r)){const e=o[t(286)](r);i[t(193)](r)||i[t(181)](r,{...e}),s[t(181)](r,{...e})}}}for(const e of i[t(458)]())e>=this[t(390)]&&i[t(376)](e);const c=new Map;for(const e of a){let n=r[t(464)][e];for(const e of n)if(e[t(382)].is(t(175),t(219))){const i=this[t(170)](e),n=e[t(382)][t(294)](i);if(s[t(193)](n)){const i=e[t(382)][t(213)][t(213)][t(294)](t(260)),r=c[t(286)](i)||new Set;r[t(411)](s[t(286)](n)[t(207)]),c[t(181)](i,r)}}n=r[t(365)][e];for(const e of n)if(e[t(382)].is(t(175),t(219))){const s=this[t(170)](e),n=e[t(382)][t(294)](s);if(i[t(193)](n)){const s=e[t(382)][t(213)][t(213)][t(294)](t(260)),r=c[t(286)](s)||new Set;r[t(411)](i[t(286)](n)[t(207)]),c[t(181)](s,r)}}for(const e of c[t(458)]())(s[t(193)](e)||i[t(193)](e))&&c[t(376)](e)}for(const e of a){const n=r[t(464)][e];let o=null,a=null;for(const e of n){const n=this[t(170)](e),r=e[t(382)][t(294)](n),u=c[t(286)](r);u&&t(196)==e[t(209)]&&(o=Array[t(331)](u)[0],a=e[t(382)][t(294)](t(249))),o&&(i[t(181)](r,{userId:o}),s[t(181)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(365)][e],a=n[t(464)][e];for(const{userId:e}of this[t(324)][t(239)]())null!==e&&l[t(411)](e);for(const{userId:e}of this[t(281)][t(239)]())null!==e&&l[t(411)](e);this[t(295)](a,r[t(464)][e],s,t(396),l),this[t(295)](o,r[t(365)][e],i,t(171),l),u[e]={insertions:this[t(151)](a),deletions:this[t(151)](o),attachChange:this[t(281)][t(286)](e)||null,attributesBefore:R(this[t(212)][t(286)](e))||{},attributesAfter:R(this[t(328)][t(286)](e))}}return{diffData:u,authorsIds:Array[t(331)](l)}}[rt(351)](t){const e=rt;for(const[,i]of t[e(306)]){const t=i[e(300)][e(341)]()[e(434)]((t=>e(219)==t[e(375)]));for(const i of t)1==i[e(442)]&&i[e(152)](0).is(e(175),e(461))&&i[e(152)](0)[e(164)](e(169),!0)}}[rt(151)](t){const e=rt;this[e(351)](t);const i=this[e(255)][e(325)][e(418)](t,{}),s=Array[e(331)](i[e(430)]())[e(432)]((t=>this[e(254)](t)));return JSON[e(374)](s)}[rt(254)](t){const e=rt;if(t.is(e(333)))return t[e(325)];{const i=this[e(255)][e(256)][e(286)](e(327)),s=t,n=this[e(255)][e(325)][e(235)][e(269)],r={type:i[e(277)](s),name:s[e(375)],attributes:Array[e(331)](s[e(236)]()),children:Array[e(331)](s[e(430)]())[e(432)]((t=>this[e(254)](t)))};if(t.is(e(157))&&e(410)!=t[e(375)]){const i=t[e(383)](n[e(166)],n);r[e(268)][e(163)](i[e(454)])}else if(t.is(e(246))){const i=n[e(166)][e(405)](s[e(375)]);t[e(383)](i,n),r[e(268)][e(163)](i[e(197)])}const o=Array[e(331)](s[e(270)]());o[e(398)]>0&&(r[e(364)]=o);const a=s[e(232)]();return null!==a&&(r[e(387)]=a),r}}[rt(295)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(255)][r(258)];for(let s=0;s<e[r(398)];s++){const n=this[r(170)](e[s]),c=e[s][r(382)][r(294)](n),h=i[r(286)](c),d=s==e[r(398)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(207)]!=o[r(207)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(207)],d=l(231)+s+":"+h+":"+c++,f=u[l(291)](i,a);t[l(306)][l(181)](d,f),null!==h&&n[l(411)](h)}}[rt(170)](t){const e=rt;switch(t[e(209)]){case e(196):return e(260);case e(251):return e(249);default:return e(305)}}[rt(457)](t,e){const i=rt;t[i(234)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(286)](n[i(160)][i(384)]);t[s]=this[i(385)](n,r)}if(n instanceof H.Range){const r=e[i(286)](n[i(160)][i(384)]);t[s]=this[i(347)](n,r)}i(160)===s&&(t[i(160)]=e[i(286)](t[i(160)][i(384)]))}}[rt(347)](t,e){const i=rt;return this[i(255)][i(258)][i(291)](this[i(385)](t[i(300)],e),this[i(385)](t[i(182)],e))}[rt(385)](t,e){const i=rt;return this[i(255)][i(258)][i(320)](e,t[i(147)],t[i(264)])}[rt(217)](t){const e=rt,i=this[e(183)][e(286)](t[e(237)][e(160)][e(384)]),s=this[e(385)](t[e(237)],i),n=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,r=s[e(213)],o=this[e(334)],a=[];for(const i of t[e(316)])if(i.is(e(175)))a[e(163)](this[e(168)](i));else for(let t=0;t<i[e(339)];t++)a[e(163)](new H.Element(e(333),{vid:this[e(334)]++}));const c=this[e(334)];for(let t=o;t<c;t++)this[e(414)][e(181)](t,{userId:n});r[e(187)](s[e(468)],a)}[rt(335)](t){const e=rt;(t=this[e(227)](t,this[e(183)]))[e(345)]();const i=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(444)](),n=s[e(213)],r=s[e(468)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(152)](e);r.is(a(175),a(333))?s[a(181)](r[a(294)](a(305)),{userId:i}):(s[a(181)](r[a(294)](a(260)),{userId:i}),t(s,r,0,r[a(442)]),s[a(181)](r[a(294)](a(249)),{userId:i}))}}(this[e(414)],n,r,r+t[e(342)])}[rt(302)](t){const e=rt,i=null===(t=this[e(227)](t,this[e(183)]))[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(148)][e(213)],n=t[e(367)][e(213)],r=s[e(294)](e(249)),o=n[e(294)](e(260));s[e(164)](e(249),n[e(294)](e(249))),n[e(164)](e(249),r),this[e(414)][e(181)](o,{userId:i}),this[e(414)][e(181)](r,{userId:i}),t[e(345)]()}[rt(242)](t){const e=rt,i=null===(t=this[e(227)](t,this[e(183)]))[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(438)],n=t[e(233)][e(213)];t[e(345)]();const r=n[e(294)](e(249)),o=t[e(315)][e(280)];if(s){const t=o[e(294)](e(249)),s=n[e(294)](e(249));n[e(164)](e(249),t),o[e(164)](e(249),s),this[e(414)][e(181)](n[e(294)](e(249)),{userId:i}),this[e(414)][e(181)](o[e(294)](e(260)),{userId:i})}else{const t=this[e(334)]++,s=this[e(334)]++;n[e(164)](e(249),t),o[e(164)](e(260),s),o[e(164)](e(249),r),this[e(414)][e(181)](t,{userId:i}),this[e(414)][e(181)](s,{userId:i})}}[rt(185)](t){const e=rt;if(!t[e(273)])return;const i=(t=this[e(227)](t,this[e(161)]))[e(275)]?t[e(275)][e(160)]:null,s=t[e(317)]?t[e(317)][e(160)]:null;i&&this[e(417)][e(376)](t[e(375)]),s&&this[e(417)][e(181)](t[e(375)],t[e(317)][e(186)]());const n=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,r=t[e(375)];if(!this[e(324)][e(193)](r))return void this[e(324)][e(181)](r,{range:t[e(275)],userId:n});const o=this[e(324)][e(286)](r),a=o[e(301)],c=t[e(317)];null==a&&null==c||a&&c&&a[e(276)](c)?this[e(324)][e(376)](t[e(375)]):o[e(207)]=n}[rt(266)](t,e){const i=rt;this[i(161)][i(193)](t[i(384)])?this[i(161)][i(286)](t[i(384)])[i(363)]=t[i(230)]:(this[i(161)][i(181)](t[i(384)],ht(t[i(384)],!0)),this[i(328)][i(181)](t[i(384)],{}),e&&this[i(183)][i(181)](t[i(384)],ht(t[i(384)],!0)));const s=null===t[i(380)]?null:t[i(380)]||this[i(255)][i(256)][i(286)](i(393)).me.id,n=this[i(281)][i(286)](t[i(384)]);n&&n[i(207)]===s?this[i(281)][i(376)](t[i(384)]):this[i(281)][i(181)](t[i(384)],{userId:s,isAttached:t[i(230)]})}[rt(403)](t){const e=rt,i=this[e(328)][e(286)](t[e(160)][e(384)]);null===t[e(437)]?delete i[t[e(243)]]:i[t[e(243)]]=t[e(437)]}}function lt(t){const e=rt,i=ht(t[e(384)],t[e(272)]());for(const s of t[e(430)]()){const t=s[e(304)](!0);i[e(402)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(384)]=t,s[i(363)]=e,s[i(272)]=()=>s[i(363)],s}function dt(t,e,i){const s=rt,n=s(251)==t[s(209)]?i[s(271)](t[s(382)],s(182)):i[s(381)](t[s(382)]);return i[s(320)](e,n[s(147)],n[s(264)])}function ft(t,e,i){const s=rt,n=s(196)==t[s(209)]?i[s(271)](t[s(382)],0):i[s(220)](t[s(382)]);return i[s(320)](e,n[s(147)],n[s(264)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Tt=i.n(St),Ot=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Tt();gt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Tt();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=324]})(t,e)}function Mt(){const t=["220","value","423865ytcgBV","arrowright","label","render","errorText","form","input","_createRevisionNameInput","8480248AkndJK","Name of the revision","ck-responsive-form","revisionNameInputView","locale","keystrokes","reset","2773904LTpwql","fieldView","22635lnGXmf","focus","arrowup","optional","extendTemplate","2468kXiyUC","stopPropagation","focusTracker","915ytRKCq","set","arrowleft","revisionName","element","revisionNameInputValue","203706RWAVQD","add","arrowdown","30gHKVvx","setTemplate","ck-revision-history-save-revision-form","trim","1610OAbZDl","1841916tVokgr","listenTo"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(632128===-parseInt(e(351))/1+-parseInt(e(347))/2+-parseInt(e(333))/3*(parseInt(e(330))/4)+parseInt(e(325))/5*(-parseInt(e(342))/6)+-parseInt(e(366))/7+-parseInt(e(359))/8+-parseInt(e(339))/9*(-parseInt(e(346))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[Rt(332)];[Rt(364)];[Rt(362)];constructor(e,i){const s=Rt;super(e),this[s(332)]=new t.FocusTracker,this[s(364)]=new t.KeystrokeHandler,this[s(334)](s(338),""),this[s(362)]=this[s(358)](i),this[s(343)]({tag:s(356),attributes:{class:["ck",s(344),s(361)],tabindex:"-1"},children:[this[s(362)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(354)](){const t=Rt;super[t(354)](),(0,pt.submitHandler)({view:this}),this[t(332)][t(340)](this[t(362)][t(337)]),this[t(364)][t(348)](this[t(337)]);const e=e=>e[t(331)]();this[t(364)][t(334)](t(352),e),this[t(364)][t(334)](t(335),e),this[t(364)][t(334)](t(327),e),this[t(364)][t(334)](t(341),e)}[Rt(326)](){const t=Rt;this[t(362)][t(326)]()}get[Rt(336)](){const t=Rt;return this[t(362)][t(324)][t(337)][t(350)][t(345)]()}set[Rt(336)](t){const e=Rt;this[e(362)][e(324)][e(337)][e(350)]=t[e(345)]()}[Rt(365)](){const t=Rt;this[t(362)][t(324)][t(337)][t(350)]="",this[t(362)][t(355)]=null}[Rt(358)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(363)],pt.createLabeledInputText),s=i[e(324)];s[e(329)]({attributes:{maxlength:e(349)}});let n=Q(this[e(363)],e(360));return!t&&(n+=" ("+Q(this[e(363)],e(328))+")"),i[e(353)]=n,s.on(e(357),(()=>{const t=e;this[t(338)]=s[t(337)][t(350)][t(345)]()})),i}}const Dt=Ft;function Ct(){const t=["48184IFAXrg","revisionSave","view","config","locale","isOfficialPlugin","errorText","set","Revision history","Dialog","menuitem","2451681reJWBq","RevisionTracker","pluginName","30726333IZPeiJ","1dGHvAe","editing","show","isReadOnly","panelView","showRevisionViewerCallback","delegate","ck-button-action","75QMTFKU","buttonView","isPremiumPlugin","2879498tHeugF","_showDialog","isEnabled","focus","_registerMenuComponent","addMany","18smmNge","_saveRevisionFormView","menu","3368690nWvqUf","render","revisionName","bind","add","role","requires","reset","Open revision history","hide","_createSaveRevisionFormView","Cancel","submit","editor","menuBar:revisionHistory","221928JWqFZp","children","isReady","get","plugins","componentFactory","revisionHistory","revisionHistory.requireRevisionName","isOpen","revisionNameInputView","Save current revision","execute","saveRevision","623PKoSam","RevisionHistoryUI","44598ZatcvN","Accept","The revision name cannot be empty.","items","init"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=428]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(729471===parseInt(e(494))/1*(parseInt(e(435))/2)+parseInt(e(490))/3+-parseInt(e(459))/4+-parseInt(e(432))/5*(-parseInt(e(474))/6)+parseInt(e(472))/7*(parseInt(e(479))/8)+parseInt(e(441))/9*(parseInt(e(444))/10)+-parseInt(e(493))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends W.Plugin{static get[Dt(492)](){return Dt(473)}static get[Dt(484)](){return!0}static get[Dt(434)](){return!0}static get[Dt(450)](){return[ct]}[Dt(442)];[Dt(478)](){const t=Dt,e=this[t(457)],i=e[t(463)][t(462)](t(491));e.ui[t(464)][t(448)](t(465),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(428)][n(460)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(447)](n(437)).to(i,n(461),i,n(437),e,n(497),((t,e,i)=>t&&e&&!i)),r[n(433)][n(486)]({icon:mt.IconHistory,label:Q(s,n(487)),tooltip:!0}),u[n(486)]({label:Q(s,n(469)),withText:!0,role:n(489)}),u[n(447)](n(437)).to(i,n(461),i,n(437),e,n(497),((t,e,i)=>t&&e&&!i)),u.on(n(470),(()=>this[n(436)]())),h[n(486)]({label:Q(s,n(452)),withText:!0,role:n(489)}),h[n(447)](n(437)).to(i,n(461),e,n(497),((t,e)=>t&&!e)),h.on(n(470),(()=>{const t=n;e[t(482)][t(462)](t(465))[t(429)](),r[t(467)]=!1,e[t(495)][t(481)][t(438)]()})),c[n(460)][n(448)](u),l[n(460)][n(448)](h),a[n(449)]=n(443),a[n(477)][n(440)]([c,l]),o[n(448)](a),r})),e.ui[t(464)][t(448)](t(458),(()=>this[t(439)]()))}[Dt(439)](){const t=Dt,e=this[t(457)],i=e[t(483)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(433)][t(486)]({icon:mt.IconHistory,label:Q(i,t(487))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(486)]({label:Q(i,t(469))}),o[t(430)](t(470)).to(s),o.on(t(470),(()=>{this[t(436)]()})),r[t(460)][t(448)](o),n[t(477)][t(448)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(486)]({label:Q(i,t(452))}),c[t(430)](t(470)).to(s),c.on(t(470),(()=>{const i=t;e[i(482)][i(462)](i(465))[i(429)]()})),a[t(460)][t(448)](c),n[t(477)][t(448)](a),s[t(428)][t(460)][t(448)](n),s}[Dt(436)](){const t=Dt,e=this[t(457)],i=e[t(483)],s=e[t(463)][t(462)](t(488)),n=e[t(463)][t(462)](t(491));function r(n){const r=t;e[r(482)][r(462)](r(466))&&""===n[r(446)]?n[r(468)][r(485)]=Q(i,r(476)):(e[r(463)][r(462)](ct)[r(471)]({name:n[r(446)]}),s[r(453)]())}this[t(442)]||(this[t(454)](),this[t(442)].on(t(456),(()=>r(this[t(442)])))),this[t(442)][t(451)](),s[t(496)]({id:t(480),title:Q(i,t(469)),isModal:!0,content:this[t(442)],actionButtons:[{label:Q(e[t(483)],t(455)),withText:!0,onExecute:()=>s[t(453)]()},{label:Q(e[t(483)],t(475)),class:t(431),withText:!0,onCreate(i){const s=t;i[s(447)](s(437)).to(n,s(461),n,s(437),e,s(497),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(442)])}]})}[Dt(454)](){const t=Dt,e=this[t(457)],i=e[t(483)];this[t(442)]=new Et(i,e[t(482)][t(462)](t(466))),this[t(442)][t(445)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=330]})(t,e)}function zt(){const t=["ck-annotation","Suggested by","ck-revision-change","focus","span","type","2726460UEqTHg","Removed by","7876236KFIoqp","setTemplate","isSuggestion","div","6767418RHULYI","291414yNBVaK","ck-revision-change__","bindTemplate","data","4040100wpGNJp","1414572yVZFKo","element","set","2rsAmDI","_model","name","ck-revision-change__label","add","author","21733536VYJenz","changeId","Added by"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(721835===parseInt(e(356))/1+-parseInt(e(334))/2*(parseInt(e(331))/3)+parseInt(e(330))/4+-parseInt(e(349))/5+-parseInt(e(351))/6+-parseInt(e(355))/7+parseInt(e(340))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[Lt(341)];[Lt(335)];constructor(t,e){const i=Lt;super(t),this[i(335)]=e,this[i(341)]=e.id;const s=this[i(358)],n=Q(t,e[i(359)][i(353)]?i(344):i(338)==e[i(348)]?i(342):i(350));this[i(333)](i(348),e[i(348)]),this[i(352)]({tag:i(354),attributes:{class:[i(343),i(345),s.to(i(348),(t=>i(357)+t))],tabindex:-1},children:[{tag:i(347),children:[{tag:i(347),attributes:{class:[i(337)]},children:[{text:n}]},{text:" "+e[i(339)][i(336)]}]}]})}[Lt(346)](){const t=Lt;this[t(332)][t(346)]()}}function Wt(){var t=["52wrPEMm","createdAt","984650PAuQdV","4063654uKqpKE","3399522iFjnjy","rootName","data","17008136vlYKct","148450ZGwkKH","1494064MvUmKQ","5265102zteNnQ","type","author","set","toJSON"];return(Wt=function(){return t})()}function Zt(t,e){var i=Wt();return(Zt=function(t,e){return i[t-=372]})(t,e)}var Ht=Zt;!function(t){for(var e=Zt,i=t();;)try{if(613548===-parseInt(e(384))/1+parseInt(e(376))/2+parseInt(e(386))/3+parseInt(e(382))/4*(parseInt(e(375))/5)+parseInt(e(377))/6+parseInt(e(385))/7+-parseInt(e(374))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class qt extends((0,t.ObservableMixin)()){id;[Ht(379)];[Ht(378)];[Ht(373)];[Ht(372)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(379)]=e[i(379)],this[i(378)]=e[i(378)],this[i(373)]=e[i(373)]||{},this[i(372)]=e[i(372)],this[i(380)](i(383),e[i(383)])}[Ht(381)](){var t=Ht;return{id:this.id,authorId:this[t(379)].id,type:this[t(378)],data:this[t(373)],createdAt:this[t(383)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=136]})(t,e)}function Yt(){const t=["296100qCDFCF","1377276tAeNYg","newRevisionId","195251GPZCLA","1064825GiTmxx","add","changes","5097652rBUGqF","1766438eodIeZ","3819225WAtXTp","oldRevisionId","_setChanges"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(710811===-parseInt(e(144))/1+parseInt(e(136))/2+parseInt(e(141))/3+parseInt(e(147))/4+-parseInt(e(137))/5+-parseInt(e(140))/6+-parseInt(e(143))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(142)];[$t(138)];[$t(146)];constructor(e,i){const s=$t;this[s(142)]=e,this[s(138)]=i,this[s(146)]=new t.Collection}[$t(139)](t){const e=$t;for(const i of t)this[e(146)][e(145)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Tt();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["abs","_refreshStartEndIndex","config","error","diff","execute","element","distance","revision-suggestion:","roots","removeMarker:revision-suggestion","isAtEnd","suggestion","nextPosition","isObject","authors","_changeIdToChange","revision","viewItem","revisionHistory","detachRoot","insert","nextSibling","remove","getClientRects","_cleanMarkers","data","reconvertMarker","isNavigationMode","_findChangeIdFromDomTarget","_initInteractions","ck-revision-history-root--active","commands","getChild","concat","sort","model","elementStart","change:activeView","merge","keys","showStack","writer","createUIElement","target","_setDistance","forEach","isAfter","addRevisionData","modelRange","restoreRevisionCallback","low","bindElementToMarker","ck-suggestion-preview-marker-","item","nodeAfter","level","ck-suggestion-marker","createRange","_makeModelFromTape","941064Tburyo","wrap","isCollapsed","RevisionViewer","deletion","dataDowncast","_step","getRevisionDocumentData","elementEnd","oldRevisionId","ck-editor__editable__overlay","isOfficialPlugin","includes","ck-revision-history-root-remove","isSuggestion","mouseover","uiElement","then","editor","repository","markerToData","getItems","previousPosition","RevisionHistoryUtils","catch","isEnabled","ck-suggestion-marker--active","vid_start","domConverter","consume","numberOfChanges","name","getRevisionRootsAttributes","isLimit","splice","isOnRoot","editingDowncast","isBefore","bind","hasClass","listenTo","change","init","right","_markInsertions","userId","removeMarker","parent","WidgetToolbarRepository","_threeWayMerge","8XffRzf","element:pre","checkAttribute","getRoot","map","_balloon","getRootNames","type","_getRevisionsRange","markerName","plugins","POSITIVE_INFINITY","getAttribute","dataToMarker","_cleanUp","insertion","start","825587dMZsgD","diffData","markers","view","revisionHistoryLabel","31149qfCrVk","startsWith","revision-suggestion","changeId","requires","loadRevisionData","isInline","restoreRevision","_data","endIndex","8bOYPoh","setAttribute","forward","createPositionBefore","indexOf","ck-revision-history-root-","highest","_markMismatchedRemovedTags","consumable","markerToHighlight","document","add","length","getIndex","isAdded","push","findIndex","activeView","ck-suggestion-preview-marker","_removeUnsupportedChanges","getDomRoot","values","affectsData","attributesAfter","upcast","schema","toViewPosition","_getChangeFromId","isRemoveSuggestion","showPreviousChange","code","insertions","_activeViewTarget","filter","addRevision","vid","deletions","_setConversion","toViewElement","top","mapViewToDom","revision:","removeMarker:revision","enqueueChange","getLaterVisibleRevision","createAttributeElement","flat","_fixObsoleteTags","addMarker:revision-suggestion:insertion","_makeTape","pairId","isPremiumPlugin","vid_end","addClass","mousedown","isEqual","isBlock","markersStart","getRevision","unshift","pop","range","selection","refresh","ck-suggestion-marker-merge","createRevision","isReady","domEvent","_getViewForChange","change:numberOfChanges","split","change:isEnabled","_setChanges","revision-viewer","attributes","bottom","mapper","_appendChild","removeClass","isAddSuggestion","_changeView","comment","attachChange","editing","_markSuggestions","stop","addRoot","revisionHistoryAttachChange","first","elementToAttribute","2143728JXOlcg","resolve","markersEnd","isRemoved","maxOffset","_utils","currentChangeNumber","set","updatePosition","return","softBreak","done","adapter","text","attribute:vid","showNextChange","changes","createPositionFromPath","getWalker","addMarker:revision-suggestion:deletion","end","-new","has","get","high","forceDisabled","ck-suggestion-marker-","getCustomProperty","index","markerRange","backward","slice","rootName","createRangeIn","_removeMissingPairs","ck-revision-history-root-add","from","all","markerNameToElements","_processTape","hasAttribute","isAtStart","suggestion:","newRevisionId","attributesBefore","downcastDispatcher","delete","destroy","conversion","locale","compare","shift","unbindElementFromMarkerName","ck-suggestion-marker-split","activeChange","_markMarkers","RevisionsRepository","pluginName","_revisions","left","_getDiff","removeAttribute","side","span","revision-comment:","next","find","object","enableReadOnlyMode","isAttached","517996YPYuJx","string","8452764wAJwYZ","addMarker:revision","_makeModelFromViewString","getAttributes","957855XejjVi","addHighlight","for","change:activeChange","change:isReady","data-change-id","startIndex","isIncorrect","_joinTapes","clear","toViewRange","isContent","observeMarkers","test","_update","_sortAndFilterDiffChanges","offsetSize"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(312224===parseInt(e(576))/1+parseInt(e(334))/2+-parseInt(e(406))/3*(parseInt(e(416))/4)+-parseInt(e(582))/5+parseInt(e(506))/6+-parseInt(e(401))/7*(-parseInt(e(384))/8)+-parseInt(e(578))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends W.Plugin{[Xt(353)];[Xt(518)]=null;[Xt(511)];[Xt(448)];[Xt(496)];[Xt(615)];[Xt(389)];static get[Xt(563)](){return Xt(337)}static get[Xt(345)](){return!0}static get[Xt(467)](){return!0}static get[Xt(410)](){return[Z.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(353)]=this[e(352)][e(394)][e(529)](e(562)),this[e(511)]=this[e(352)][e(394)][e(529)](e(357)),this[e(513)](e(560),null),this[e(513)](e(433),null),this[e(448)]=null,this[e(513)](e(603),null),this[e(513)](e(482),!1),this[e(513)](e(359),!0),this.on(e(487),((t,i,s)=>{const n=e;this[n(560)]=null,this[n(433)]=null,this[n(352)][n(499)][n(404)][n(375)]((t=>{const e=n;for(const i of this[e(352)][e(499)][e(404)][e(426)][e(608)])s?t[e(494)](e(344),i):t[e(469)](e(344),i)}))})),this[e(372)](e(627)).to(this,e(560),(t=>null!==t)),this[e(372)](e(512)).to(this,e(482),this,e(603),this,e(560),((t,i,s)=>t&&s?i[e(522)][e(429)](s):0)),this[e(372)](e(364)).to(this,e(482),this,e(603),((t,i)=>t?i[e(522)][e(428)]:0)),this[e(496)]=null,this[e(615)]=new Map,this[e(389)]=this[e(352)][e(394)][e(529)](pt.ContextualBalloon)}[Xt(376)](){const t=Xt,e=this[t(352)],i=new ne(e,{direction:t(536)}),s=new ne(e,{direction:t(418)});e[t(631)][t(427)](t(445),i),e[t(631)][t(427)](t(521),s),e[t(631)][t(427)](t(413),new se(e)),this.on(t(485),(()=>{const e=t;i[e(479)](),s[e(479)]()})),this[t(453)](),this[t(629)](),e[t(574)](t(489)),e[t(394)][t(528)](t(382))&&e[t(394)][t(529)](t(382))[t(531)](t(489))}async[Xt(341)](t){const e=Xt;return await this[e(511)][e(411)](t,this[e(518)]),this[e(511)][e(341)](t)}async[Xt(366)](t){const e=Xt;return await this[e(511)][e(411)](t,this[e(518)]),this[e(511)][e(366)](t)}async[Xt(556)](t,e,i=!1){const s=Xt;if(!this[s(359)])return;const n=this[s(603)],r=this[s(353)],o=s(577)==typeof t?r[s(474)](t):t,a=s(577)==typeof e?r[s(474)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(603)]&&this[s(603)][s(549)]===c&&this[s(603)][s(343)]===u)return Promise[s(507)]();this[s(482)]=!1,this[s(433)]=null,this[s(560)]=null,this[s(603)]=new Jt(c,u);const l=this[s(392)](o,a,!0)[s(388)]((t=>this[s(511)][s(411)](t,this[s(518)])));return l[s(431)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(543)](l)[s(351)]((()=>{const t=s;if(!this[t(359)])return;this[t(398)]();const e=this[t(566)](c,u);for(const i of e[t(522)])this[t(615)][t(513)](i.id,i);this[t(352)][t(635)][t(459)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(352)][s(635)][s(426)][s(390)]())i[s(619)](t);for(const t of Object[s(314)](e[s(635)])){const n=i[s(502)](t);for(const r of Object[s(314)](e[s(490)][t]))i[s(417)](r,e[s(490)][t][r],n);i[s(620)](e[s(635)][t],n,0)}})),this[t(603)][t(488)](this[t(597)](e[t(522)])),this[t(482)]=!0}))[s(358)]((t=>{const e=s;console[e(602)](t),this[e(398)](),n&&(this[e(603)]=n),this[e(482)]=!0}))}[Xt(322)](t,e){const i=Xt,s=this[i(353)][i(481)](t);return s.on(i(596),((t,i,n)=>e(i,n,s))),this[i(353)][i(450)](s),s}[Xt(398)](){const t=Xt;this[t(560)]=null,this[t(624)](),this[t(496)]&&this[t(496)][t(553)](),this[t(496)]=null,this[t(615)][t(591)](),this[t(352)][t(635)][t(459)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(352)][i(635)][i(426)][i(390)]())e[i(619)](t)}))}[Xt(597)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(352)][e(635)][e(426)][e(390)]()){const n=this[e(352)][e(499)][e(404)][e(436)](t);if(!n)continue;const r=n[e(623)]()[e(328)](0);r&&(i[e(431)](t),s[e(513)](t,r))}return i[e(634)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(449)]((t=>i[e(346)](t[e(538)]))))[e(634)](((t,s)=>i[e(420)](t[e(538)])-i[e(420)](s[e(538)]))),t}[Xt(465)](t){const e=Xt,i=Array[e(542)](t[e(403)])[e(449)]((([t,i])=>t[e(407)](e(457))&&!i[e(336)])),s=Array[e(542)](this[e(352)][e(635)][e(539)](t)[e(524)]({singleCharacters:!0}));if(0!=i[e(428)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(486)](":");if(n[e(526)][e(471)](t[e(612)])&&i[e(557)](),(t[e(356)][e(471)](n[e(400)])||t[e(356)][e(321)](n[e(400)]))&&(e(399)==r?t[e(430)]={userId:o}:e(338)==r&&(t[e(509)]={userId:o})),0==i[e(428)])break}return s}[Xt(600)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(428)];s++)e(519)===t[s][e(391)]?(t[s][e(328)][e(588)]=s,t[s][e(328)][e(415)]=s):(e(636)===t[s][e(391)]?t[s][e(328)][e(588)]=s:e(342)===t[s][e(391)]&&(t[s][e(328)][e(415)]=s),i[e(513)](t[s].id,s));for(const s of i[e(437)]())e(636)===t[s][e(391)]?t[s][e(328)][e(415)]=i[e(529)](t[s][e(466)]):e(342)===t[s][e(391)]&&(t[s][e(328)][e(588)]=i[e(529)](t[s][e(466)]))}[Xt(545)](t){const e=Xt;for(let i=0;i<t[e(428)];i++){if(e(636)===t[i][e(391)])t[i][e(328)][e(588)]=i;else if(e(342)===t[i][e(391)]){t[i][e(328)][e(415)]=i;const s=t[i][e(328)][e(588)];t[s][e(466)]=t[i].id,t[i][e(466)]=t[s].id}else t[i][e(328)][e(588)]=i,t[i][e(328)][e(415)]=i,t[i][e(466)]=null;t[i][e(473)]||(t[i][e(473)]=[],t[i][e(508)]=[])}}[Xt(378)](t,e){const i=Xt,s=t[i(449)]((t=>!t[i(430)]));for(let t=0;t<e[i(428)];t++)e[t][i(430)]&&(s[t][i(430)]=e[t][i(430)])}[Xt(566)](t,e=null){const i=Xt,s=this[i(353)][i(474)](t),n=e?this[i(353)][i(474)](e):null,r=this[i(392)](s,n),o=r[r[i(428)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(428)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(314)](e[i(402)]))if(e[i(402)][t][i(498)]){const s=e[i(402)][t][i(498)];s[i(575)]?(u[i(427)](t),l[i(528)](t)&&l[i(529)](t)[i(379)]==s[i(379)]?l[i(552)](t):l[i(513)](t,s)):l[i(528)](t)?(u[i(552)](t),l[i(552)](t)):(u[i(427)](t),l[i(513)](t,s))}else u[i(427)](t)}for(const t of u){const e=l[i(528)](t)&&!l[i(529)](t)[i(575)];let s=e?r[i(428)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(402)][t]){const s=e?o[i(402)][t][i(550)]:o[i(402)][t][i(439)];c[i(490)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(635)]={};for(const e of t[i(614)])a[i(513)](e.id,e);for(const e of u){const s=t[i(402)][e]?t[i(402)][e][i(447)]:"[]",n=t[i(402)][e]?t[i(402)][e][i(452)]:"[]";t[i(635)][e]={insertions:this[i(511)][i(580)](s),deletions:this[i(511)][i(580)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(542)](s[i(635)][t][i(447)][i(403)])[i(449)]((([t])=>!t[i(407)](i(457)))));let h=0;for(const o of r){const r=this[i(465)](o[i(635)][t][i(447)]);o==s?(e=r,n=e[i(428)],e[i(320)]((t=>{t.id=h++})),this[i(545)](e)):this[i(378)](e,r);const a=e[i(449)]((t=>!t[i(430)]))[i(388)]((t=>t.id));let c=0;const l=this[i(465)](o[i(635)][t][i(452)]);l[i(320)]((t=>{t[i(509)]?t.id=n++:t.id=a[c++]})),this[i(545)](l),this[i(319)](e,i(430)),this[i(319)](l,i(509)),o==s&&this[i(561)](e,u),e=this[i(590)](e,l),this[i(600)](e),this[i(319)](e,i(509))}e=e[i(449)]((t=>!(t[i(430)]&&t[i(509)])));const d=new Map(o[i(635)][t][i(452)][i(403)]),f=new Set(u[i(314)]());for(const t of d[i(314)]())f[i(552)](t);this[i(500)](e,f),this[i(463)](e),e=this[i(540)](e),e=this[i(423)](e),e=this[i(435)](e);const{root:m,changes:p}=this[i(333)](e,a,t);c[i(635)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(379)]),s=new qt({author:e,type:v[i(575)]?i(427):i(622),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(475)](s),c[i(490)][t][i(503)]=s.id}c[i(522)]=c[i(522)][i(633)](p)}return c}[Xt(561)](t,e){const i=Xt;for(let s=0;s<t[i(428)];s++)for(const[n,r]of e)!r[i(336)]&&r[i(400)][i(471)](t[s][i(356)])&&t[s][i(473)][i(431)](n),r[i(526)][i(471)](t[s][i(612)])&&t[s][i(508)][i(431)](n)}[Xt(590)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(428)]||r<e[i(428)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(431)](o);else if(a[i(509)]&&o[i(430)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(383)](t,n,e,r);s=s[i(633)](o),n=a,r=c}else a[i(509)]?(r++,s[i(431)](a)):(n++,s[i(431)](o))}return s}[Xt(500)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(428)];o++){for(let r=0;r<t[o][i(473)][i(428)];r++){const a=t[o][i(473)][r];if(!e[i(528)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(408)!=c||i(399)!=u&&i(338)!=u||(s[i(475)]({type:u,name:a,userId:l}),t[o][i(473)][i(368)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(508)][i(428)];r++){const a=t[o][i(508)][r];if(!e[i(528)](a))continue;const{group:c,type:u}=n(a);if(i(408)!=c||i(399)!=u&&i(338)!=u)continue;t[o][i(508)][i(368)](r,1),r--;const l=s[i(432)]((t=>t[i(365)]==a));l>-1&&s[i(368)](l,1)}}function n(t){const e=i,s=t[e(486)](":");return{group:s[0],type:s[1],subType:s[e(428)]>=5?s[2]:null,id:s[e(428)]<5?s[2]:s[3],authorId:s[e(428)]<5?s[3]:s[4],markerCount:6==s[e(428)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(428)];i++){if(t[e(430)]&&e(399)==s[i][e(391)])return t[e(495)]=s[i],void delete t[e(430)];if(!t[e(430)]&&!t[e(509)]&&e(338)==s[i][e(391)])return void(t[e(444)]=s[i])}}}[Xt(319)](t,e){const i=Xt;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(513)](o.id,s);for(let s=0;s<t[i(428)];s++){if(i(509)==e&&t[s][i(430)]||i(430)==e&&t[s][i(509)])continue;if(i(519)==t[s][i(391)]){t[s][i(606)]=0;continue}const n=r[i(529)](t[s][i(466)]),o=r[i(529)](t[s].id);t[s][i(606)]=n-o}}[Xt(392)](t,e,i=!1){const s=Xt,n=[];let r=this[s(353)][s(429)](t),o=this[s(353)][s(429)](e);for(-1==o&&(o=this[s(353)][s(564)][s(428)],i=!1);r<o;)n[s(431)](this[s(353)][s(474)](r)),r++;return i&&n[s(431)](this[s(353)][s(474)](r)),n}[Xt(383)](t,e,i,s){const n=Xt,r=this[n(352)][n(635)][n(441)];let o=e;for(;t[o]&&t[o][n(430)];)o++;let a=s;for(;i[a]&&i[a][n(509)];)a++;u(t,e,o),u(i,s,a);const c=i[n(537)](s,a)[n(633)](t[n(537)](e,o));return c[n(634)](((t,e)=>t[n(568)]!=e[n(568)]?t[n(568)]-e[n(568)]:t[n(330)]!=e[n(330)]?t[n(330)]-e[n(330)]:t[n(606)]!=e[n(606)]?e[n(606)]-t[n(606)]:!!t[n(430)]!=!!e[n(430)]?-1==t[n(568)]||0==t[n(568)]?t[n(430)]?-1:1:t[n(430)]?1:-1:t[n(534)]-e[n(534)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(395)],c=!0;for(let n=e;n<i;n++)if(r[s(412)](t[n][s(328)])||(c=!1),t[n][s(328)][s(588)]<e&&(o=n),t[n][s(328)][s(415)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(568)]=n<=o?-1:n<a?0:1,t[n][s(534)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(606)]?t[i][s(330)]=u:(u++,t[i][s(330)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(568)]&&(t[n][s(330)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(606)]?t[e][s(330)]=u:(u--,t[e][s(330)]=u,u--)}}[Xt(463)](t){const e=Xt,i=new Map,s=this[e(352)][e(635)][e(441)];for(let n=1;n<t[e(428)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(519)==c[e(391)])continue;if(c[e(391)]!=u[e(391)])continue;if(!s[e(472)](u[e(328)])||s[e(367)](u[e(328)]))continue;if(!s[e(472)](c[e(328)])||s[e(367)](c[e(328)]))continue;if((t[n][e(430)]||t[n][e(495)])&&t[n-1][e(509)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(509)]||!t[n-1][e(430)]&&!t[n-1][e(495)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(330)]==o[e(330)],h=Math[e(599)](r[e(330)])<Math[e(599)](o[e(330)])&&0==o[e(606)];(l||h)&&(i[e(513)](o.id,r.id),t[e(368)](a,1),n--,r[e(430)]=!1)}for(let s=0;s<t[e(428)];s++)i[e(528)](t[s][e(466)])&&(t[s][e(466)]=i[e(529)](t[s][e(466)]))}[Xt(540)](t){const e=Xt,i=new Set(t[e(388)]((t=>t.id)));for(let s=0;s<t[e(428)];s++)i[e(528)](t[s][e(466)])||0==t[s][e(606)]||(t[s][e(589)]=!0);return t[e(449)]((t=>!t[e(589)]))}[Xt(423)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(428)];s++){if(i[e(528)](t[s].id)&&t[s][e(509)]&&(t[s][e(589)]=!0),t[s][e(589)])continue;if(0==t[s][e(606)])continue;if(e(636)!=t[s][e(391)])continue;if(null==t[s][e(466)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(466)];)e(636)==t[n][e(391)]?r++:e(342)==t[n][e(391)]&&r--,n++;if(0!=r)if(t[s][e(509)])t[s][e(589)]=!0;else for(;n!=s;)t[n][e(509)]&&0!=t[n][e(606)]&&(t[n][e(589)]=!0,i[e(427)](t[n][e(466)])),n--}return t[e(449)]((t=>!t[e(589)]))}[Xt(435)](t){const e=Xt,i=this[e(352)][e(635)][e(441)];for(let s=0;s<t[e(428)];s++){if(!(t[s][e(430)]||t[s][e(495)]||t[s][e(509)]||t[s][e(444)]))continue;if(0==t[s][e(606)])continue;const n=t[s][e(328)];i[e(472)](n)||i[e(367)](n)||(t[s][e(430)]&&delete t[s][e(430)],t[s][e(495)]&&delete t[s][e(495)],t[s][e(444)]&&delete t[s][e(444)],t[s][e(509)]&&(t[s][e(589)]=!0))}return t[e(449)]((t=>!t[e(589)]))}[Xt(333)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(352)][s(635)],c=a[s(441)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(428)];e++)if(s(636)===t[e][s(391)]){t[e][s(356)]=a[s(523)](n,f);const i=new H.Element(t[e][s(328)][s(365)],t[e][s(328)][s(581)]());u[0][s(493)](i),f[s(431)](0),u[s(475)](i),t[e][s(612)]=a[s(523)](n,f)}else s(342)===t[e][s(391)]?(u[s(557)](),t[e][s(356)]=a[s(523)](n,f),f[s(476)](),f[f[s(428)]-1]++,t[e][s(612)]=a[s(523)](n,f)):(t[e][s(356)]=a[s(523)](n,f),d?d[s(414)]+=t[e][s(328)][s(625)]:d=new H.Text(t[e][s(328)][s(625)],t[e][s(328)][s(581)]()),t[e+1]&&s(519)===t[e+1][s(391)]&&v(d,t[e+1][s(328)])||(u[0][s(493)](d),d=null),f[f[s(428)]-1]+=t[e][s(328)][s(598)],t[e][s(612)]=a[s(523)](n,f));for(let e=0;e<t[s(428)];e++){const i=t[e][s(356)],n=t[e][s(612)];for(const n of t[e][s(473)])o[s(513)](n,{start:i,end:null});m(s(444),e,i,n),m(s(495),e,i,n),m(s(509),e,i,n),m(s(430),e,i,n);for(const i of t[e][s(508)]){const t=o[s(529)](i);t?t[s(526)]=n:o[s(513)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(352)][s(635)][s(332)](e[s(400)],e[s(526)]);n[s(403)][s(513)](t,i)}return r[s(634)](((t,e)=>{const i=s,r=n[i(403)][i(529)](i(457)+t.id),o=n[i(403)][i(529)](i(457)+e.id);return r[i(400)][i(371)](o[i(400)])?-1:r[i(400)][i(321)](o[i(400)])?1:r[i(526)][i(371)](o[i(526)])?-1:r[i(526)][i(321)](o[i(526)])?1:i(427)===t[i(391)]?-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(379)]:null,d=i===t[o(428)]-1,f=h[e][0],m=c[o(613)](t[i][o(328)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(526)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(379)]!==u&&(l[e][o(526)]=n,f&&f[o(379)]===l[e][o(379)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(636)!==t[i][o(391)]||f&&f[o(379)]===u||h[e][o(475)]({userId:u,object:t[i][o(328)],change:l[e]}),o(342)===t[i][o(391)]&&f&&f[o(573)]===t[i][o(328)]&&(h[e][o(557)](),l[e]=f[o(375)])),l[e]&&d&&(l[e][o(526)]=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(328)],f=a[h(441)][h(472)](d)&&!a[h(441)][h(367)](d),m=t[h(329)]==o[h(381)]&&o[h(547)];if(f&&m)return;const p=a[h(332)](t,o),v=e[h(529)](u),g=new qt({author:v,type:h(430)==l||h(495)==l?h(427):h(622),data:{isSuggestion:h(495)==l||h(444)==l},createdAt:new Date,rootName:i});r[h(431)](g),n[h(403)][h(513)](h(457)+g.id,p)}function v(t,e){const i=s,n=t[i(581)](),r=e[i(581)]();for(const t of n){if(t[1]!==e[i(396)](t[0]))return!1;r[i(571)]()}return r[i(571)]()[i(517)]}}[Xt(453)](){const t=Xt;this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(616)}),this[t(352)][t(554)][t(584)](t(370))[t(425)]({model:t(616),view:e=>{const i=t,s=e[i(393)][i(486)](":")[1],n=this[i(443)](s);if(!n)return null;const r=i(427)==n[i(391)]?i(399):i(338),o=[i(331),i(532)+r];return n[i(625)][i(348)]&&o[i(431)](i(532)+r+i(527)),this[i(560)]==n&&o[i(431)](i(360)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(352)][t(554)][t(584)](t(440))[t(427)]((e=>{const i=t;e.on(i(385),((t,e,s)=>{const n=i,r=e[n(617)][n(632)](0);if(!r||!r.is(n(605),n(446)))return;if(!s[n(424)][n(363)](r,{attributes:[n(361),n(468)]}))return;const o=e[n(323)][n(400)][n(329)];s[n(316)][n(417)](n(361),r[n(396)](n(361)),o),s[n(316)][n(417)](n(468),r[n(396)](n(468)),o)}),{priority:i(325)})})),this[t(352)][t(554)][t(584)](t(440))[t(427)]((e=>{const i=t;e.on(i(605),((t,e,s)=>{const n=i;if(!s[n(424)][n(363)](e[n(617)],{attributes:[n(361),n(468)]}))return;if(e[n(323)][n(336)])return;const r=e[n(323)][n(400)][n(329)];r[n(546)](n(361))||r[n(546)](n(451))||(s[n(316)][n(417)](n(361),e[n(617)][n(396)](n(361)),r),s[n(316)][n(417)](n(468),e[n(617)][n(396)](n(468)),r))}),{priority:i(325)})})),this[t(352)][t(554)][t(584)](t(440))[t(505)]({view:{name:t(569),attributes:{vid:!0}},model:{key:t(451),value:e=>e[t(396)](t(451))}}),this[t(352)][t(635)][t(441)].on(t(386),((e,[,i])=>{const s=t;[s(361),s(468),s(451)][s(346)](i)&&(e[s(515)]=!0,e[s(501)]())}),{priority:t(422)}),this[t(352)][t(554)][t(584)](t(339))[t(427)]((e=>{const i=t;e.on(i(520),((t,e,s)=>{const n=i;if(" "!=e[n(328)][n(625)]||e[n(328)][n(381)][n(510)]>1)return;if(!s[n(424)][n(363)](e[n(328)],t[n(365)]))return;const r=s[n(316)],o=s[n(492)][n(592)](e[n(477)]);r[n(335)](o,r[n(461)](n(569)))}))})),this[t(352)][t(554)][t(584)](t(339))[t(354)]({model:t(616)}),this[t(352)][t(499)][t(551)].on(t(579),function(e){const i=t,s=e[i(394)][i(529)](i(337));return(t,n,r)=>{const o=i,a=n[o(393)][o(486)](":")[1],c=s[o(443)](a);if(!c)return null;const u=o(427)==c[o(391)]?o(486):o(313);if(!r[o(424)][o(595)](n[o(535)],t[o(365)]))return;const l=n[o(535)][o(524)](),h=n[o(535)][o(400)],d=e[o(635)][o(441)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(328)];p=p||d[o(593)](e);const i=r[o(492)][o(454)](e);if(i&&i[o(533)](o(583)))return;o(342)==t[o(391)]&&d[o(472)](e)&&!d[o(367)](e)&&(e[o(621)]||h[o(610)]?f&&f[o(381)]==e||(f=e,g(t[o(356)]),v=!0):m=m||t[o(356)])}function g(t){const e=o,i=r[e(316)][e(317)](e(569),{class:e(532)+u}),a=r[e(492)][e(442)](t);c[e(625)][e(348)]&&r[e(316)][e(469)](e(532)+u+e(527),i),s[e(560)]==c&&r[e(316)][e(469)](e(360),i),r[e(316)][e(620)](a,i),r[e(492)][e(326)](i,n[e(393)])}p||v||!m||g(m)}}(this[t(352)]),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(458),((e,i,s)=>{const n=t,r=s[n(492)][n(544)](i[n(393)]);if(r)for(const t of r)(t[n(373)](n(559))||t[n(373)](n(480)))&&(s[n(492)][n(558)](t,i[n(393)]),s[n(316)][n(622)](t))}),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(579),((e,i,s)=>{const n=t,r=i[n(393)][n(486)](":")[1],o=this[n(443)](r);if(!o)return null;const a=n(427)==o[n(391)]?n(486):n(313);if(s[n(424)][n(595)](i[n(535)],e[n(365)]))for(const t of i[n(535)][n(355)]()){if(!t.is(n(605),n(516)))continue;const e=s[n(316)][n(317)](n(569),{class:n(532)+a}),r=s[n(492)][n(442)](this[n(352)][n(635)][n(419)](t));o[n(625)][n(348)]&&s[n(316)][n(469)](n(532)+a+n(527),e),this[n(560)]==o&&s[n(316)][n(469)](n(360),e),s[n(316)][n(620)](r,e),s[n(492)][n(326)](e,i[n(393)])}}),{priority:t(530)}),this[t(352)][t(635)][t(426)].on(t(375),(()=>{const e=t;this[e(352)][e(499)][e(404)][e(375)]((t=>{const i=e;for(const e of this[i(352)][i(635)][i(426)][i(390)]()){const s=this[i(352)][i(635)][i(426)][i(387)](e),n=this[i(352)][i(499)][i(404)][i(426)][i(387)](e);if(n){const e=s[i(396)](i(503));if(t[i(567)](i(587),n),t[i(494)](i(541),n),t[i(494)](i(347),n),t[i(494)](i(630),n),e){const s=this[i(443)](e);if(!s)return null;t[i(417)](i(587),e,n),t[i(469)](i(421)+s[i(391)],n),this[i(560)]==s&&t[i(469)](i(630),n)}}}}))})),this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(497),model:e=>t(570)+e,converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(611),model:e=>t(607)+e,converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(339))[t(354)]({model:t(408),view:e=>({name:t(548)+e,group:t(408)}),converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(370))[t(425)]({model:t(408),view:e=>{const i=t,s=e[i(393)][i(486)](":")[1];return i(399)!=s&&i(338)!=s?null:{classes:[i(434),i(327)+s]}}}),this[t(352)][t(499)][t(551)].on(t(525),ie(this[t(352)],t(313)),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(464),ie(this[t(352)],t(486)),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(609),((e,i,s)=>{const n=t,r=s[n(492)][n(544)](i[n(393)]);if(r)for(const t of r)t.is(n(350))&&(s[n(492)][n(558)](t,i[n(393)]),s[n(316)][n(622)](t))}),{priority:t(530)})}[Xt(443)](t){const e=Xt;return this[e(615)][e(529)](t)}[Xt(484)](t){const e=Xt;return this[e(496)]&&this[e(496)][e(553)](),this[e(496)]=new Ut(this[e(352)][e(555)],t),this[e(496)]}[Xt(629)](){const t=Xt;this[t(352)][t(635)][t(426)][t(478)][t(594)](t(616)),this.on(t(312),((e,i,s,n)=>{const r=t;n&&this[r(389)][r(622)](n),s&&(this[r(389)][r(427)]({view:s,stackId:r(405),position:{target:()=>{const t=r,e=this[t(352)][t(499)],i=this[t(443)](s[t(409)]);let n;if(i[t(625)][t(369)]){const s=e[t(404)][t(436)](i[t(538)]);n=Array[t(542)](s[t(623)]())}else{const i=this[t(352)][t(635)][t(403)][t(529)](t(457)+s[t(409)]);n=Array[t(542)](e[t(492)][t(544)](i[t(365)]))[t(388)]((i=>e[t(404)][t(362)][t(456)](i)))[t(388)]((e=>Array[t(542)](e[t(623)]())))[t(462)]()}return this[t(448)]&&n[t(572)]((e=>e[t(455)]-3<=this[t(448)].y&&e[t(491)]+3>=this[t(448)].y&&e[t(565)]-3<=this[t(448)].x&&e[t(377)]+3>=this[t(448)].x))||n[0]}}}),this[r(389)][r(315)](r(405)))})),this.on(t(585),((e,i,s,n)=>{const r=t;this[r(433)]=s?this[r(484)](s):null,this[r(352)][r(635)][r(375)]((()=>{const t=r,e=this[t(352)][t(499)];n&&(n[t(625)][t(369)]?e[t(404)][t(375)]((i=>{const s=t;i[s(494)](s(630),e[s(404)][s(426)][s(387)](n[s(538)]))})):e[t(626)](t(457)+n.id)),s&&(s[t(625)][t(369)]?e[t(404)][t(375)]((i=>{const n=t;i[n(469)](n(630),e[n(404)][n(426)][n(387)](s[n(538)]))})):e[t(626)](t(457)+s.id))}))})),this[t(374)](this[t(352)][t(499)][t(404)][t(426)],t(349),((e,i)=>{const s=t;if(this[s(560)])return;const n=this[s(628)](i[s(318)]),r=this[s(615)][s(529)](n);r?(this[s(448)]={x:i[s(483)].x,y:i[s(483)].y},this[s(433)]=this[s(484)](r)):(this[s(448)]=null,this[s(433)]=null)})),this[t(374)](this[t(352)][t(499)][t(404)][t(426)],t(470),((e,i)=>{const s=t,n=this[s(628)](i[s(318)]),r=this[s(615)][s(529)](n);r?(this[s(448)]={x:i[s(483)].x,y:i[s(483)].y},r===this[s(560)]?this[s(389)][s(514)]():this[s(560)]=r):(this[s(448)]=null,this[s(560)]=null)}))}[Xt(628)](t){const e=Xt;do{const i=t[e(396)](e(587));if(i)return i;t=t[e(381)]}while(t);return null}[Xt(624)](){const t=Xt;this[t(352)][t(635)][t(375)]((e=>{const i=t;for(const t of this[i(352)][i(635)][i(403)])e[i(380)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(424)][r(595)](s[r(535)],i[r(365)]))return;const o=s[r(535)][r(524)](),a=s[r(535)][r(400)],c=t[r(635)][r(441)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(328)];h=h||c[r(593)](e);const i=n[r(492)][r(454)](e);if(i&&i[r(533)](r(583)))return;r(342)==t[r(391)]&&c[r(472)](e)&&!c[r(367)](e)&&(e[r(621)]||a[r(610)]?u&&u[r(381)]==e||(u=e,f(t[r(356)]),d=!0):l=l||t[r(356)])}function f(t){const i=r,o=n[i(492)][i(442)](t),a=n[i(316)][i(317)](i(569),{class:i(327)+e});n[i(316)][i(620)](o,a),n[i(492)][i(326)](a,s[i(393)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(394)][e(529)](ee);this[e(438)]=!1,this[e(374)](i,e(586),(()=>this[e(479)]())),this[e(374)](i,e(487),(()=>this[e(479)]()))}[Xt(604)](){const t=Xt,e=this[t(352)],i=e[t(394)][t(529)](ee),s=i[t(482)]?i[t(603)][t(549)]:null;e[t(601)][t(529)](t(618))[t(324)](s)}[Xt(479)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(352)][t(394)][t(529)](ee),r=n&&s[t(460)](n[t(549)]);this[t(359)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(340)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(394)][i(529)](ee);this[i(438)]=!1,this[i(340)]=i(418)===e?1:-1,this[i(374)](s,i(586),(()=>this[i(479)]())),this[i(374)](s,i(487),(()=>this[i(479)]())),this[i(374)](s,i(585),(()=>this[i(479)]()))}[Xt(604)](){const e=Xt,i=this[e(352)],s=i[e(394)][e(529)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(560)]=n?s[e(603)][e(522)][e(529)](r+this[e(340)]):s[e(603)][e(522)][e(504)],s[e(560)][e(625)][e(369)])o=i[e(499)][e(404)][e(436)](s[e(560)][e(538)]);else{const t=i[e(635)][e(403)][e(529)](e(457)+s[e(560)].id);o=(0,Z.getMarkerDomElement)(i[e(499)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(479)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(352)][t(394)][t(529)](ee);this[t(359)]=!!(r&&n&&s)&&(!e||(1===this[t(340)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Tt();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(227623===parseInt(e(277))/1*(parseInt(e(257))/2)+parseInt(e(255))/3*(-parseInt(e(283))/4)+-parseInt(e(281))/5+parseInt(e(274))/6+parseInt(e(268))/7*(-parseInt(e(285))/8)+parseInt(e(250))/9*(parseInt(e(258))/10)+parseInt(e(278))/11*(parseInt(e(284))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(288)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(265)](e(253),!1),this[e(265)](e(260),!1),this[e(265)](e(262),0),this[e(265)](e(254),0),this[e(265)](e(280),!1),this[e(265)](e(261),!1),this[e(252)](e(272)).to(this,e(260),this,e(254),((t,e)=>t&&e>0)),this[e(252)](e(282)).to(this,e(260),this,e(262),this,e(254),this,e(253),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(292));if(!n)return Q(t,o(251));const a=Q(t,o(256),n);return r?Q(t,o(271),[s+1,n]):a})),s[e(265)]({label:Q(t,e(293)),tooltip:!0,icon:mt.IconChevronUp}),n[e(265)]({label:Q(t,e(270)),tooltip:!0,icon:mt.IconChevronDown}),s[e(252)](e(267)).to(this,e(261)),n[e(252)](e(267)).to(this,e(280)),s.on(e(249),(()=>this[e(276)](e(249),e(291)))),n.on(e(249),(()=>this[e(276)](e(249),e(259)))),this[e(273)]({tag:e(286),attributes:{class:["ck",e(290),e(264)]},children:[{tag:e(263),attributes:{class:[e(279)]},children:[{tag:e(263),attributes:{class:[e(289),i.if(e(272),e(287),(t=>!t))]},children:[{text:i.to(e(253),(i=>i?Q(t,e(266))+": ":Q(t,e(269))+": "))}]},{text:i.to(e(282))}]},new pt.ToolbarSeparatorView,{tag:e(286),attributes:{class:[e(275)]},children:[s,n]}]})}}function ue(){const t=["Loading...","Show previous change","execute","496206nVHrFe","No changes","bind","isNavigationMode","numberOfChanges","3GmDWqY","NUMBER_OF_CHANGES","2fcoVKx","70LzjrZs","forward","isReady","isBackwardNavigationEnabled","currentChangeNumber","span","ck-revision-history-ui__changes-navigation","set","EDIT_X_OF_Y_REVISIONS","isEnabled","830949jweIlq","Total","Show next change","X_OF_Y_CHANGES","_isStatusLabelVisible","setTemplate","1923192RecrAG","ck-revision-history-ui__changes-navigation__navigation","fire","74139MvTwWj","1770439faNPWt","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","778015YhcaQc","_statusText","808844SHPAbD","12JKExUo","24uWMFdn","div","ck-hidden","bindTemplate","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","backward"];return(ue=function(){return t})()}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Tt();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;!function(t){const e=me,i=t();for(;;)try{if(342926===parseInt(e(153))/1*(-parseInt(e(170))/2)+parseInt(e(156))/3+-parseInt(e(154))/4*(-parseInt(e(148))/5)+-parseInt(e(165))/6*(-parseInt(e(160))/7)+parseInt(e(161))/8+parseInt(e(147))/9+-parseInt(e(150))/10*(parseInt(e(167))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const fe=de(159);function me(t,e){const i=pe();return(me=function(t,e){return i[t-=145]})(t,e)}function pe(){const t=["change","326CkkqEs","roots","RevisionViewerLoadingOverlay","1481481VvvcGM","140BMnhcq","document","200690jkUiQx","editing","pluginName","1766iysqwu","59688JosRnn","view","1988220RlFAEY","isOfficialPlugin","show","ck-editor__editable__loading-overlay","14XYYnWX","5028576nHpheG","hide","addClass","removeClass","786666pybKgi","isPremiumPlugin","825UBoEHL","editor"];return(pe=function(){return t})()}class ve extends W.Plugin{static get[de(152)](){return de(146)}static get[de(157)](){return!0}static get[de(166)](){return!0}[de(158)](){const t=de,e=this[t(168)][t(151)][t(155)];e[t(169)]((i=>{const s=t;for(const t of e[s(149)][s(145)])i[s(163)](fe,t)}))}[de(162)](){const t=de,e=this[t(168)][t(151)][t(155)];e[t(169)]((i=>{const s=t;for(const t of e[s(149)][s(145)])i[s(164)](fe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=413]})(t,e)}function ke(){const t=["closeRevisionViewerCallback","forward","4486155pJybRo","get","revisionHistory","isForwardNavigationEnabled","config","5153924YRNZlz","5181702hgXLXq","add","45qNquWO","21wbtEsT","show","commands","Restore this revision","componentFactory","change:isReady","isReady","restoreRevision","requires","bind","isPremiumPlugin","3262604JzRcTP","execute","RevisionViewerUI","set","2122616lZlnlp","init","82146fzWzAg","pluginName","changesNavigation","isBackwardNavigationEnabled","isNavigationMode","showPreviousChange","91592ckSExL","Back to editing","isOfficialPlugin","editor","showNextChange","plugins","exitToEditing","listenTo","isEnabled","hide","ck-revision-history-ui__back-to-editing","numberOfChanges","currentChangeNumber"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(972118===parseInt(e(439))/1+parseInt(e(427))/2+-parseInt(e(413))/3+-parseInt(e(459))/4+parseInt(e(454))/5+parseInt(e(433))/6*(parseInt(e(416))/7)+parseInt(e(431))/8*(parseInt(e(415))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends W.Plugin{static get[ge(434)](){return ge(429)}static get[ge(441)](){return!0}static get[ge(426)](){return!0}static get[ge(424)](){return[ee,ve]}[ge(432)](){const t=ge,e=this[t(442)],i=e[t(444)][t(455)](ee),s=e[t(444)][t(455)](ve);e.ui[t(420)][t(414)](t(445),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(430)]({label:Q(i,s(440)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(449)}),this[s(446)](n,s(428),(()=>{const t=s;e[t(458)][t(455)](t(456))[t(452)]()})),n})),e.ui[t(420)][t(414)](t(423),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(430)]({label:Q(i,s(419)),withText:!0,tooltip:!0}),n[s(425)](s(447)).to(e[s(418)][s(455)](s(423))),this[s(446)](n,s(428),(()=>e[s(428)](s(423)))),n})),e.ui[t(420)][t(414)](t(435),(s=>{const n=t,r=new ce(s),o=e[n(418)][n(455)](n(438)),a=e[n(418)][n(455)](n(443));return r[n(425)](n(436)).to(o,n(447)),r[n(425)](n(457)).to(a,n(447)),r[n(425)](n(422),n(451),n(450),n(437)).to(i),this[n(446)](r,n(428),((t,i)=>{const s=n;e[s(428)](s(453)===i?s(443):s(438))})),r})),s[t(417)](),i.on(t(421),((e,i,n)=>{const r=t;n?s[r(448)]():s[r(417)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Tt();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Te;function Se(){const t=["370902syBiIv","listenTo","placeholder","2885481zhqJeJ","634046espfgd","span","Enter the revision name","destroy","_tooltipString","set","ck-revision-history-sidebar__revision-name","extendTemplate","render","input","8SFAIsp","_resizeObserver","100560ywWUTX","scrollWidth","55btUbho","fieldView","_updateTooltipText","bindTemplate","352655JHGEfY","clientWidth","42orrIrv","ck-tooltip_multi-line","20PYQHuN","value","element","612321FeNTcg","Revision name","1499740MPbRHH"];return(Se=function(){return t})()}function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=465]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(214908===-parseInt(e(478))/1+parseInt(e(492))/2+parseInt(e(485))/3+-parseInt(e(472))/4*(parseInt(e(474))/5)+parseInt(e(480))/6*(parseInt(e(488))/7)+parseInt(e(470))/8*(-parseInt(e(491))/9)+-parseInt(e(482))/10*(-parseInt(e(487))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends pt.LabeledFieldView{[Ie(471)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(477)];this[i(465)]({label:Q(t,i(486)),_tooltipString:""}),this[i(475)][i(490)]=Q(t,i(494)),this[i(467)]({tag:i(493),attributes:{class:[i(466)],"data-cke-tooltip-text":s.to(i(496)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(481)}})}[Ie(468)](){const e=Ie;super[e(468)](),this[e(471)]=new t.ResizeObserver(this[e(475)][e(484)],(()=>this[e(476)]())),this[e(489)](this[e(475)],e(469),(()=>this[e(476)]()))}[Ie(495)](){const t=Ie;super[t(495)](),this[t(471)]&&this[t(471)][t(495)]()}[Ie(476)](){const t=Ie,e=this[t(475)][t(484)];this[t(496)]=e[t(473)]>e[t(479)]&&e[t(483)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Tt();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=324]})(t,e)}function Re(){const t=["293936UPSEMh","0 0 11 10","4995529BCAsfD","1595696lidDKh","ck-revision-history-sidebar__revision-author__name","42eNmxba","Revision author","484060SkOinG","250175Eiguqb","6ipbHCT","setTemplate","Revision creator","ck-revision-history-sidebar__revision-author","push","set","name","ck-revision-history-sidebar__revision-author_creator","2587527KQLRam","793908bQGzAV","span"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(458685===parseInt(e(324))/1+parseInt(e(335))/2+-parseInt(e(326))/3*(parseInt(e(337))/4)+parseInt(e(325))/5*(parseInt(e(342))/6)+-parseInt(e(339))/7+-parseInt(e(340))/8+parseInt(e(334))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(331)]({content:mt.IconUser,viewBox:s(338)});const r=["ck",s(329)];i&&r[s(330)](s(333));const o=[{tag:s(336),attributes:{class:["ck",s(341)],title:Q(t,s(i?328:343))},children:[n,e[s(332)]]}];this[s(327)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=270]})(t,e)}function Ee(){var t=["2218065wMcxgb","10TvkMTD","1820346XVdObS","126AsGShZ","10BQAeDM","524792InoTcN","long","15656JuechC","7466753wmPNIT","numeric","toLocaleDateString","1984774sKHtey","354300XVhHdT","104BzYdOc","toLocaleTimeString"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(560823===-parseInt(e(278))/1*(-parseInt(e(272))/2)+-parseInt(e(280))/3+-parseInt(e(277))/4+parseInt(e(284))/5*(parseInt(e(282))/6)+parseInt(e(273))/7+-parseInt(e(270))/8*(parseInt(e(283))/9)+parseInt(e(281))/10*(-parseInt(e(276))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Tt();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=366]})(t,e)}function je(){const t=["Compare against selected","Restore this revision","set","isVisible","stopPropagation","menu","3124297AvIXUF","listView","75912oxWxgH","20NMBlAj","map","add","locale","ck-on","function","change:isActionsDropdownOpen","isEnabled","831705BCarpx","source","Name this revision","ck-revision-history-sidebar__revision__actions","isOpen","class","bind","bindTemplate","isActionsDropdownOpen","72rpdLMf","items","name","find","2939586aNGKav","menuitem","buttonView","97567VLTYqy","listenTo","first","189616roHTUr","extendTemplate","5815ipkRGe","button","execute","_action","model","isReady","1008gPXoIY","children","Show more items","action","panelPosition","46pFsaqV"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(390947===-parseInt(e(369))/1+-parseInt(e(385))/2*(-parseInt(e(394))/3)+-parseInt(e(380))/4*(-parseInt(e(374))/5)+parseInt(e(366))/6+-parseInt(e(403))/7+parseInt(e(372))/8*(-parseInt(e(412))/9)+-parseInt(e(395))/10*(parseInt(e(392))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Tt();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function Ue(){const t=["set","ck-disabled","filter","unshift","authors","63Uhcxar","uiLanguage","select","map","isSelected","220","1769614yfTgXp","376668fJeird","name","unhighlight","928506LSdoBG","setTemplate","createdAt","120oQsTNi","isReady","extendTemplate","highlight","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","setName","isConfirm","length","ck-reset","ck-revision-history-sidebar__revision__controls-wrapper","_createdAtFormatted",".ck-thread__remove-confirm","revisionNameView","change","623320ycSVAy","closest","ck-revision-history-sidebar__revision-wrapper","render","srcElement","value","7WyzSmB","447120KTZpxB","ck-revision-history-sidebar__revision_highlighted","_revision","_requireRevisionName","creator","fieldView","ck-revision-history-sidebar__revision-authors","isEnabled","from","revisionActionsView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bindTemplate","listenTo","isActionsDropdownOpen","span","1154185DgJuIS","element","9nROZug","ck-revision-history-sidebar__revision_selected","fire","bind","1033480cNSoeK","8FusyOR","div","deselect","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision__date"];return(Ue=function(){return t})()}function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(326946===parseInt(e(244))/1+-parseInt(e(283))/2*(-parseInt(e(261))/3)+parseInt(e(266))/4*(parseInt(e(259))/5)+parseInt(e(286))/6+parseInt(e(243))/7*(-parseInt(e(265))/8)+parseInt(e(276))/9*(parseInt(e(237))/10)+parseInt(e(282))/11*(-parseInt(e(289))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(235)];[ze(253)];[ze(246)];[ze(247)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(255)],a=function(t,e){const i=r,s=Array[i(252)](e[i(275)])[i(273)]((t=>t!=e[i(248)]));return e[i(248)]&&s[i(274)](e[i(248)]),s[i(279)]((s=>new Ve(t,s,s==e[i(248)])))}(e,i);this.id=i.id,this[r(246)]=i,this[r(247)]=n,this[r(264)](r(284),r(288)).to(i),this[r(264)](r(233)).to(this,r(288),(t=>{return i=e[r(277)],(s=t)[(n=Me)(275)](i,{month:n(271),day:n(274)})+", "+s[n(279)](i,{hour:n(274),minute:n(274)});var i,s,n})),this[r(271)](r(280),!1),this[r(271)](r(227),!1),this[r(271)](r(257),!1),this[r(271)](r(290),!1),this[r(271)](r(251),!1),this[r(235)]=new Oe(e,pt.createLabeledInputText),this[r(235)][r(249)][r(224)]({attributes:{maxlength:r(281)}}),this[r(235)][r(249)][r(264)](r(242)).to(this,r(284),(t=>t||this[r(233)])),this[r(235)][r(264)](r(251)).to(this,r(280),this,r(251),((t,e)=>t&&e)),this[r(253)]=s&&s[r(230)]?function(e,i){const s=Fe,n=e[s(410)],r=e[s(398)],o=(0,pt.createDropdown)(r);o[s(384)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(398)],n={"Compare against selected":Q(s,i(386)),"Name this revision":Q(s,i(405)),"Restore this revision":Q(s,i(387))};return e[i(396)]((t=>{const e=i,s=n[t[e(414)]];return s&&s!==t[e(414)]&&(t[e(414)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(375),model:new pt.ViewModel({label:t[n(414)],class:t[n(408)],withText:!0,role:n(367),_action:t[n(383)]})};i[n(378)][n(409)](n(402)).to(e,n(411),(i=>n(400)!=typeof t[n(402)]||!i||t[n(402)](e))),o[n(397)](i)}return o}(e,i);return e[s(409)](s(411)).to(o,s(407)),o[s(368)][s(388)]({label:Q(r,s(382)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(373)]({attributes:{class:[s(406),n.if(s(411),s(399))]},on:{click:n.to((t=>t[s(390)]()))}}),o.on(s(376),(t=>{const i=s;e[i(379)]&&i(400)==typeof t[i(404)][i(377)]&&t[i(404)][i(377)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(391)}),o[s(370)](e,s(401),((t,n,r)=>{const a=s;if(r)for(const t of o[a(393)][a(413)]){const s=t[a(381)][a(371)],n=i[a(415)]((t=>t[a(383)]===s[a(377)]))[a(389)];t[a(389)]=void 0===n||n(e)}})),o}(this,s):"",this[r(253)]&&this[r(253)][r(264)](r(251)).to(this),this[r(287)]({tag:r(267),attributes:{class:["ck",r(231),r(239),o.if(r(229),r(254))]},children:[{tag:r(267),attributes:{class:["ck",r(231),r(269),o.if(r(251),r(272),(t=>!t)),o.if(r(280),r(262)),o.if(r(227),r(245)),o.if(r(257),r(226))]},children:[this[r(235)],{tag:r(258),attributes:{class:["ck",r(270)]},children:[{text:o.to(r(233))}]},{tag:r(267),attributes:{class:["ck",r(232)]},children:[{tag:"ul",attributes:{class:["ck",r(250)]},children:a}]},this[r(253)]],on:{click:o.to((t=>{const e=r;t[e(241)][e(238)](e(234))||this[e(290)]&&this[e(251)]&&this[e(263)](e(278),{id:this.id})}))}}]})}[ze(240)](){const t=ze;super[t(240)]();const e=this[t(235)][t(249)][t(260)];this[t(256)](e,t(236),(()=>{const i=t;this[i(247)]&&!e[i(242)]||this[i(263)](i(228),{id:this.id,name:e[i(242)]}),e[i(242)]||(e[i(242)]=this[i(284)]?this[i(284)]:this[i(233)])}))}[ze(278)](){this[ze(280)]=!0}[ze(268)](){this[ze(280)]=!1}[ze(225)](){this[ze(227)]=!0}[ze(285)](){this[ze(227)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Ti extends Ii{static get instance(){return null===Si&&(Si=new Ti),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ts()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ti.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Ti.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Wi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function Tn(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function On(t,e){return[{hours:Tn(t,e,0),minutes:Tn(t,e+1,0),seconds:Tn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:Tn(t,e),month:Tn(t,e+1,1),day:Tn(t,e+2,1)},null,e+3]}),On,xn,Nn),$n=mn(wn,On,xn,Nn),Bn=mn(_n,On,xn,Nn),Yn=mn(On,xn,Nn);const Jn=mn(On);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(On,xn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ts(),localeWeek:Os()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Tr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Tr||(Tr=io.fromMillis(1555555555555)),Tr)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 Qr(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Us(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,qn],[Wn,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=218]})(t,e)}function ro(){const t=["monthLong","setLocale","19656330JjUeBh","startOf","247167BJvAbc","week","2274bnbFOx","fromJSDate","day","6dBNEwv","160iApQFx","local","179354aOEbJs","weekdayLong","1779064aGactL","minus","616413MfmDlD","3170VFeuoE","hasSame","month","toJSDate","4527135XxBNjE","toRelativeCalendar","year"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(240)](t)[i(234)](e),n=io[i(220)](),r=n[i(224)]({days:1})[i(236)](i(241));let o,a;return s[i(227)](n,i(241))?(o=s[i(236)](i(241))[i(229)](),a=s[i(231)]()):s[i(227)](r,i(241))?(o=r[i(229)](),a=s[i(231)]()):s[i(227)](n,i(238))?(o=s[i(236)](i(238))[i(229)](),a=s[i(222)]||""):s[i(227)](n,i(232))?(o=s[i(236)](i(228))[i(229)](),a=s[i(233)]||""):(o=s[i(236)](i(232))[i(229)](),a=String(s[i(232)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(376452===-parseInt(e(225))/1+-parseInt(e(218))/2*(-parseInt(e(237))/3)+-parseInt(e(223))/4+-parseInt(e(226))/5*(-parseInt(e(239))/6)+-parseInt(e(221))/7*(parseInt(e(219))/8)+-parseInt(e(230))/9+parseInt(e(235))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Tt();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["815165OmnYeT","5400246VTDqds","ck-revision-history-sidebar__time-period","delegate","9387Bzcowl","setTemplate","1988ErGxqO","uiLanguage","remove","removeRevision","revisionViews","5081895DaIRIh","span","select","setName","localizedPeriodName","103620IXKdwi","ck-revision-history-sidebar__time-period__revisions","addRevision","_requireRevisionName","_revisionActions","add","startDate","1829355ofymsv","div","1656THycVY","ck-revision-history-sidebar__time-period__label","locale","createCollection","11855ymDHXn","find"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(967018===-parseInt(e(279))/1+parseInt(e(295))/2+parseInt(e(302))/3+parseInt(e(285))/4*(parseInt(e(277))/5)+-parseInt(e(280))/6+parseInt(e(283))/7*(parseInt(e(304))/8)+parseInt(e(290))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(301)];[uo(289)];[uo(299)];[uo(298)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(275)][n(286)])[n(294)];this[n(301)]=e,this[n(289)]=this[n(276)](),this[n(299)]=i,this[n(298)]=s,this[n(289)][n(282)](n(292)).to(this),this[n(289)][n(282)](n(293)).to(this),this[n(284)]({tag:n(303),attributes:{class:["ck",n(281)]},children:[{tag:n(291),attributes:{class:["ck",n(305)]},children:[{text:r}]},{tag:n(303),attributes:{class:["ck",n(296)]},children:this[n(289)]}]})}[uo(297)](t){const e=uo,i=new Ze(this[e(275)],t,this[e(299)],this[e(298)]);this[e(289)][e(300)](i)}[uo(288)](t){const e=uo,i=this[e(289)][e(278)]((e=>e.id===t.id));this[e(289)][e(287)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Tt();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["5468264VFAMgP","content","3vhnoPJ","8535387UKfAKg","setTemplate","172NmjGHT","11127208WnMSIs","div","span","379284nLANKD","ck-revision-history-sidebar__header__label","Revision history","9MGskpc","1749845rKStwV","ck-reset_all","ck-revision-history-sidebar__header","6vmoRby","946gfRBbI","7028iHDBxW","2938190itQJnE"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=132]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(710848===parseInt(e(138))/1*(-parseInt(e(151))/2)+parseInt(e(135))/3*(parseInt(e(133))/4)+-parseInt(e(146))/5*(-parseInt(e(149))/6)+parseInt(e(136))/7+parseInt(e(139))/8+parseInt(e(145))/9*(-parseInt(e(132))/10)+-parseInt(e(150))/11*(parseInt(e(142))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(134)]=mt.IconHistory,this[e(137)]({tag:e(140),attributes:{class:["ck",e(147),e(148)]},children:[i,{tag:e(141),attributes:{class:["ck",e(143)]},children:[Q(t,e(144))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Tt();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=138]})(t,e)}const _o=wo;function Io(){const t=["fire","1222296FiHLrY","getTime","138206ozsJDt","63pRSgRA","some","removeRevision","27199560wxCEms","revisionViews","setName","set","ck-rounded-corners","deselect","_requireRevisionName","revisionSelected","unhighlight","add","uiLanguage","addRevision","flat","_revisions","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","1123224ZEjsUD","remove","selectRevision","startDate","bindTemplate","createCollection","_addRevision","createdAt","timePeriodViews","21vinvMh","3092289pjxyDj","div","locale","ck-reset","revisionSetName","_getTimePeriodViewByStartDate","find","delegate","1062ABwfrm","map","highlight","ck-disabled","isEnabled","highlightRevisions","setTemplate","get","15567462MIafat","44810OWdrgG","render","select","_removeRevision","_revisionActions"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(918641===-parseInt(e(189))/1*(-parseInt(e(160))/2)+-parseInt(e(190))/3+-parseInt(e(180))/4+parseInt(e(152))/5*(-parseInt(e(143))/6)+parseInt(e(161))/7*(parseInt(e(158))/8)+-parseInt(e(151))/9+parseInt(e(164))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(188)];[_o(177)];[_o(156)];[_o(170)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(184)];this[n(188)]=this[n(185)](),this[n(188)][n(142)](n(154)).to(this),this[n(188)][n(142)](n(166)).to(this),this[n(177)]=e,this[n(156)]=i,this[n(170)]=s,this.on(n(154),((t,e)=>{const i=n;this[i(157)](i(171),e)})),this.on(n(166),((t,e)=>{const i=n;this[i(157)](i(139),e)})),this[n(167)](n(147),!1),this[n(149)]({tag:n(191),attributes:{class:["ck",n(138),n(168),n(179)]},children:[new yo(t),{tag:n(191),attributes:{class:["ck",n(178),r.if(n(147),n(146),(t=>!t))]},children:this[n(188)]}]})}[_o(153)](){const t=_o;super[t(153)]();for(const e of this[t(177)])this[t(186)](e);this[t(177)].on(t(173),((e,i)=>{this[t(186)](i)})),this[t(177)].on(t(181),((e,i)=>{this[t(155)](i)}))}get[_o(165)](){const t=_o;return this[t(188)][t(144)]((e=>e[t(165)][t(144)]((t=>t))))[t(176)]()}[_o(182)](t){const e=_o;for(const i of this[e(165)])t&&t.id===i.id?i[e(154)]():i[e(169)]()}[_o(148)](t){const e=_o;for(const i of this[e(165)])t[e(162)]((({id:t})=>t===i.id))?i[e(145)]():i[e(172)]()}[_o(186)](t){const e=_o,i=oo(t[e(187)],this[e(192)][e(174)])[e(183)];let s=this[e(188)][e(150)](0);s&&s[e(183)][e(159)]()===i[e(159)]()||(s=new fo(this[e(192)],i,this[e(156)],this[e(170)]),this[e(188)][e(173)](s)),s[e(175)](t)}[_o(155)](t){const e=_o,i=oo(t[e(187)],this[e(192)][e(174)])[e(183)];this[e(140)](i)[e(163)](t)}[_o(140)](t){const e=_o;return this[e(188)][e(141)]((i=>i[e(183)][e(159)]()===t[e(159)]()))}}const To=xo;function Oo(){const t=["getIndex","data","Restore this revision","pluginName","string","603MXsyIT","Compare against selected","newRevisionId","destroy","_revisionViewer","isOfficialPlugin","_handleDiffChange","focus","defaultRevisionActions","getRevision","appendChild","remove","_sidebarView","restoreRevision","isReady","3299205jDXMKk","name","isPremiumPlugin","add","plugins","init","listenTo","setName","assign","revisionHistory.viewerSidebarContainer","bind","length","select","6546169GkxFIm","fieldView","change:diff","revisionHistory.revisionActions","requires","action","isVisible","Name this revision","ready","compare","revisionHistory.requireRevisionName","_handleRevisionSelected","render","revisionSetName","5560xTwvrD","selectRevision","restoreRevisionCallback","12214870gKnpbj","137421DVbItI","diff","repository","66632TpZbHd","revisionViews","isEnabled","revisionHistory","isSelected","get","nameRevision","_handleRevisionSetName","2177370RzIvDT","compareAgainstSelected","element","_revisions","availableRevisionActions","12ENNzxH","revisionSelected","353syZNOL","map","locale","_createRevisionActions","timePeriodViews","RevisionsSidebar","getLaterVisibleRevision","getRevisionsInDiff","_revisionsRepository","getEarlierVisibleRevision","highlightRevisions","config","_handleEditorDataReady","editor"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(665546===-parseInt(e(357))/1*(-parseInt(e(418))/2)+parseInt(e(422))/3*(-parseInt(e(355))/4)+-parseInt(e(391))/5+-parseInt(e(350))/6+-parseInt(e(404))/7+-parseInt(e(342))/8*(-parseInt(e(376))/9)+parseInt(e(421))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class No extends W.Plugin{[To(380)];[To(365)];[To(388)];static[To(384)]=[To(351),To(389),To(348)];static[To(354)]=function(){const t=To;return{compareAgainstSelected:{name:t(377),action:({plugins:e},i)=>{const s=t,n=e[s(347)](ee),r=n[s(341)];let o=n[s(423)][s(378)],a=i.id;r[s(371)](o)>r[s(371)](a)&&([o,a]=[a,o]),n[s(413)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(347)](ee);return!(n[s(341)][s(364)](n[s(423)])[s(402)]>2||i[s(346)])}},restoreRevision:{name:t(373),action:(e,{id:i})=>{const s=t;e[s(368)][s(347)](s(345))[s(420)](i)},isVisible:({plugins:e},i)=>!!e[t(347)](ee)[t(341)][t(363)](i.id)},nameRevision:{name:t(411),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(347)](ee),o=r[n(341)][n(366)](i);r[n(413)](i,o),s[n(383)](),s[n(405)][n(403)]()}}}}();static get[To(374)](){return To(362)}static get[To(381)](){return!0}static get[To(393)](){return!0}static get[To(408)](){return[ee]}constructor(t){const e=To;super(t),this[e(380)]=t[e(395)][e(347)](ee),this[e(365)]=this[e(380)][e(341)],this[e(388)]=null}[To(396)](){const t=To,e=this[t(365)][t(353)],i=this[t(360)](),s=this[t(370)][t(368)][t(347)](t(400));this[t(388)]=new So(this[t(370)][t(359)],e,i,this[t(370)][t(368)][t(347)](t(414))),this[t(388)].on(t(356),this[t(415)][t(401)](this)),this[t(388)].on(t(417),this[t(349)][t(401)](this)),this[t(388)][t(401)](t(344)).to(this[t(380)]),this[t(388)][t(361)].on(t(394),((e,i)=>{const s=t;i[s(343)].on(s(394),((t,e)=>{const i=s;e[i(401)](i(344),i(390)).to(this[i(380)])}))})),this[t(388)][t(416)](),this[t(397)](this[t(370)][t(372)],t(412),this[t(369)][t(401)](this)),this[t(397)](this[t(380)],t(406),this[t(382)][t(401)](this)),s[t(386)](this[t(388)][t(352)])}[To(379)](){const t=To;this[t(388)][t(352)][t(387)](),this[t(388)][t(379)]()}[To(369)](){const t=To,e=this[t(365)][t(385)](0);if(e){const i=this[t(365)][t(366)](e.id);this[t(380)][t(413)](e,i)}}[To(415)](t,e){const i=To,s=this[i(365)][i(385)](e.id),n=this[i(365)][i(366)](s.id);this[i(380)][i(413)](s,n)}[To(349)](t,e){const i=To;this[i(365)][i(385)](e.id)[i(398)](e[i(392)])}[To(382)](t,e,i){const s=To,n=this[s(365)][s(364)](i);n[s(402)]>2?(this[s(388)][s(367)](n),this[s(388)][s(419)](null)):(this[s(388)][s(367)]([]),this[s(388)][s(419)](n[0]))}[To(360)](){const t=To,e=this[t(370)],i=No[t(354)],s=e[t(368)][t(347)](t(407))||No[t(384)];if(s[t(402)])return s[t(358)]((s=>{const n=t,r=n(375)==typeof s?Object[n(399)]({},i[s]):s;return r[n(409)]=r[n(409)][n(401)](this,e),r[n(410)]&&(r[n(410)]=r[n(410)][n(401)](this,e)),r}))}}const Ao=No,Ro=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(683497===parseInt(e(123))/1*(-parseInt(e(139))/2)+-parseInt(e(128))/3*(-parseInt(e(159))/4)+-parseInt(e(141))/5*(-parseInt(e(130))/6)+-parseInt(e(153))/7+parseInt(e(152))/8*(parseInt(e(119))/9)+parseInt(e(138))/10*(parseInt(e(133))/11)+-parseInt(e(134))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ro(137)];[Ro(157)];[Ro(164)];get[Ro(142)](){return this[Ro(137)]}constructor(e,i){const s=Ro;super(e),this[s(137)]=i,this[s(157)]=(0,pt.normalizeToolbarConfig)(e[s(151)][s(156)](s(127))),this[s(164)]=new t.ElementReplacer}get[Ro(149)](){const t=Ro;return this[t(142)][t(149)]}[Ro(166)](t){const e=Ro,i=this[e(125)],s=this[e(142)],n=i[e(126)][e(142)],r=s[e(122)],o=n[e(165)][e(121)]();r[e(147)]=o[e(161)],s[e(135)]();const a=r[e(149)];this[e(132)](r[e(147)],a),s[e(122)][e(120)](e(160)).to(this[e(129)]),n[e(144)](a),this[e(164)][e(158)](t,this[e(149)]),this[e(154)](),this[e(143)](e(146))}[Ro(148)](){const t=Ro;super[t(148)]();const e=this[t(142)],i=this[t(125)][t(126)][t(142)];this[t(164)][t(145)](),i[t(155)](e[t(122)][t(147)]),e[t(148)]()}[Ro(154)](){const t=Ro,e=this[t(142)];e[t(136)][t(120)](t(162)).to(this[t(129)],t(160)),e[t(136)][t(167)]=e[t(149)],e[t(136)][t(120)](t(124)).to(this,t(163),(({top:t})=>t)),e[t(127)][t(150)](this[t(157)],this[t(140)]),this[t(131)](e[t(127)])}}function Eo(){const t=["9348240VOBPia","render","stickyPanel","_view","20470nqjaoV","2704016mtNmsY","componentFactory","3502120GHnaol","view","fire","attachDomRoot","restore","ready","name","destroy","element","fillFromConfig","config","16NFMVlR","4064928zLfYhf","_initToolbar","detachDomRoot","get","_toolbarConfig","replace","4YUURTL","isFocused","rootName","isActive","viewportOffset","_elementReplacer","document","init","limiterElement","1609515xcJVKr","bind","getRoot","editable","1yLuvUg","viewportTopOffset","editor","editing","toolbar","3554022ZSrcFG","focusTracker","6kzxbZd","addToolbar","setEditableElement","6193ZrAYgE"];return(Eo=function(){return t})()}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Tt();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=386]})(t,e)}function Lo(){var t=["add","render","2OrvYNI","3869372zzgKGH","121865dgTeQN","2716056nSKzrL","52988760vlFXMo","shouldToolbarGroupWhenFull","2156475VyaXih","_editable","main","content","toolbar","16nqWRxP","editable","732790WXvxPi","stickyPanel","5495490ykIDCh","222qkYlxm","top"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(589479===-parseInt(e(403))/1+parseInt(e(390))/2*(-parseInt(e(396))/3)+-parseInt(e(391))/4+-parseInt(e(392))/5*(parseInt(e(386))/6)+-parseInt(e(405))/7+-parseInt(e(401))/8*(parseInt(e(393))/9)+parseInt(e(394))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(397)];[Fo(404)];[Fo(400)];get[Fo(402)](){return this[Fo(397)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(404)]=new pt.StickyPanelView(t),this[s(400)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(395)]}),this[s(397)]=new pt.InlineEditableUIView(t,e)}[Fo(389)](){var t=Fo;super[t(389)](),this[t(404)][t(399)][t(388)](this[t(400)]),this[t(387)][t(388)](this[t(404)]),this[t(398)][t(388)](this[t(402)])}}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=102]})(t,e)}function Uo(){const t=["sourceElement","initPlugins","locale","5RRhyME","model","624218neknbp","initialData","config","249960rQweFt","2283468LcBqYg","init","_ui","view","create","713631AxoxKW","359527XoeOSm","editing","document","get","createRoot","504730wMslaB","ready","updateSourceElement","fire","30qPpPgC","destroy","27krUZsr","3115950feUxRR","data"];return(Uo=function(){return t})()}const Wo=zo;!function(t){const e=zo,i=t();for(;;)try{if(294332===parseInt(e(130))/1+-parseInt(e(106))/2+parseInt(e(129))/3+-parseInt(e(124))/4*(parseInt(e(118))/5)+parseInt(e(110))/6*(-parseInt(e(120))/7)+parseInt(e(123))/8+parseInt(e(112))/9*(parseInt(e(113))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,W.ElementApiMixin)(W.Editor)){[Wo(126)];get ui(){return this[Wo(126)]}constructor(t,e){const i=Wo;super(e),this[i(115)]=t,this[i(119)][i(103)][i(105)]();const s=new Po(this[i(117)],this[i(102)][i(127)],{shouldToolbarGroupWhenFull:!0});this[i(126)]=new Mo(this,s)}[Wo(111)](){const t=Wo;return this[t(108)](),this.ui[t(111)](),super[t(111)]()}static async[Wo(128)](t,e){const i=Wo,s=new this(t,e);return await s[i(116)](),await s.ui[i(125)](t),await s[i(114)][i(125)](s[i(122)][i(104)](i(121))||""),s[i(109)](i(107)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=387]})(t,e)}function $o(){const t=["addUser","Users","Dialog","DocumentOutline","revisionHistory","uiLanguage","toLocaleTimeString","RevisionViewerIntegration","plugins","includes","RevisionsRepository","fromCharCode","RevisionHistory","changesNavigation","toVersion","revisionHistory.showRevisionViewerCallback","16719059gmOdCI","remove","enableReadOnlyMode","setAttribute","markers","data","addRevisionData","removeMarker","getRoot","roots","has","model","block","map","saveRevision","insert","_restoreRevision","showRevisionViewerCallback","disableReadOnlyMode","restrictedEditingException","getRevisionRootsAttributes","refreshVisibility","2506024ZgTTIf","bind","toJSON","rootName","revisionHistory.requireRevisionName","indexOf","Autosave","change","fromVersion","create","isPremiumPlugin","element","name","long","503662bMwegX","Annotations","createdAt","none","loadRevisionData","refreshPositioning","parse","hide","editor","revisionHistory.editorContainer","RevisionHistoryUtils","save","selection","from","end","_cleanUp","repository","addRoot","locale","isOfficialPlugin","isRevisionViewerOpen","restoreRevision","$graveyard","_enhanceCloseRevisionViewerCallback","revisionHistory.closeRevisionViewerCallback","getMarkersGroup","isOpen","then","destroy","enqueueChange","2849940cWGItt","getRevisions","removeSelectionAttribute","_enhanceShowRevisionViewerCallback","exitToEditing","getUser","setSelection","adapter","init","push","_recalculatePageBreaks","isAttached","_getRevisionViewerEditorConfig","PaginationLookup","pluginName","getRevision","RestrictedEditingMode","users","error","createRangeIn","6546816iRyriU","removeAttribute","getRevisionDocumentData","RevisionViewer","commands","numeric","requires","toLocaleDateString","lazyRoots","result","closeRevisionViewerCallback","_update","keys","revisionHistory.restoreRevisionCallback","catch","define","_viewerEditor","join","RevisionHistoryUI","Restored","creator","style","_closeRevisionViewer","display","getAttributeKeys","revision-history-missing-configuration","revisionHistory.viewerContainer","view","detachRoot","DocumentOutlineUI","719279EhXzkZ","_showRevisionViewer","set","translations","config","toolbar","document","isEnabled","RevisionTracker","revision-history-viewer-opened","3180486FtFyQV","isReadOnly","update","isAnonymous","get","revisionHistory.viewerEditorElement","isReady"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(677453===parseInt(e(487))/1+parseInt(e(407))/2+parseInt(e(497))/3+-parseInt(e(393))/4+parseInt(e(437))/5+parseInt(e(457))/6+-parseInt(e(520))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(475),Ho(453)];class Yo extends W.Plugin{[Ho(466)];static get[Ho(451)](){return Ho(511)}static get[Ho(426)](){return!0}static get[Ho(403)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(533)]((t=>String[e(515)](t)))[e(474)]("")}super(t),this[e(466)]=e(421),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 Jo extends W.Plugin{[Ho(473)];static get[Ho(451)](){return Ho(516)}static get[Ho(426)](){return!0}static get[Ho(403)](){return!0}static get[Ho(463)](){return[ct,jt]}constructor(e){const i=Ho;if(super(e),!this[i(415)][i(491)][i(501)](i(508)))throw new t.CKEditorError(i(482),this);this[i(473)]=null,this[i(489)](i(427),!1),this[i(415)][i(491)][i(472)](i(519),(t=>this[i(488)]({...t,translations:this[i(415)][i(425)][i(490)]}))),this[i(415)][i(491)][i(472)](i(431),(t=>this[i(479)](t))),this[i(415)][i(491)][i(472)](i(470),(t=>this[i(387)](t))),this[i(415)][i(491)][i(472)](i(397),!1),this[i(440)](),this[i(430)]()}set[Ho(444)](t){const e=Ho;this[e(415)][e(512)][e(501)](e(495))[e(444)]=t}get[Ho(444)](){const t=Ho;return this[t(415)][t(512)][t(501)](t(495))[t(444)]}[Ho(526)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(495))[e(526)](t)}[Ho(452)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(514))[e(452)](t)}[Ho(438)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(514))[e(438)](t||{toJSON:!1})}[Ho(449)](){const e=Ho,i=this[e(415)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(512)][e(501)](e(495)),r=i[e(512)][e(501)](e(505))[e(454)];return s[e(492)]=[e(441),e(428),e(517)],delete s[e(465)],s[e(512)][e(446)](Yo,ee,be,class extends W.Plugin{static get[e(463)](){return[ee,e(505)]}[e(445)](){const s=e,o=this[s(415)][s(512)][s(501)](s(505));for(const t of r)t[s(500)]||o[s(442)](t.id)||o[s(504)](t);const a=n[s(423)][s(438)]();let c=null;const u=this[s(415)][s(512)][s(501)](s(460));u[s(444)]=n[s(444)],u[s(394)](s(494)).to(n),this[s(415)][s(461)][s(501)](s(428))[s(394)](s(494)).to(i,s(498),(t=>!t));for(const e of a){const i=null===e[s(477)];if(i&&e[s(518)]===e[s(401)])continue;const r=e[s(395)]();u[s(526)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(468)](r,o);else if(!o){const e=a[u(395)]();e.id=(0,t.uid)(),n[u(534)](e,a[u(518)])[u(434)]((t=>{c=t}))}}else e[u(468)](r,o)}))}}},Ao),s}[Ho(440)](){const t=Ho,e=this[t(415)][t(491)][t(501)](t(508))[t(388)];this[t(415)][t(491)][t(489)](t(519),(async()=>{const i=t;this[i(415)][i(522)](i(496));const s=this[i(415)][i(512)][i(501)](i(495));if(this[i(415)][i(512)][i(530)](i(399))){const t=this[i(415)][i(512)][i(501)](i(399));await t[i(418)]()}else await s[i(499)]();if(this[i(415)][i(512)][i(530)](i(450))&&this[i(415)][i(512)][i(501)](i(450))[i(447)](),this[i(415)][i(512)][i(530)](i(506))){const t=this[i(415)][i(512)][i(501)](i(506));t[i(433)]&&t[i(414)]()}const n=this[i(449)]();return e(n)[i(434)]((t=>{const e=i;return this[e(473)]=t,this[e(415)][e(512)][e(530)](e(408))&&this[e(415)][e(512)][e(501)](e(408))[e(392)](),this[e(415)][e(512)][e(530)](e(507))&&(this[e(415)][e(512)][e(501)](e(486))[e(484)][e(404)][e(478)][e(480)]=e(410)),t}))[i(471)]((t=>(console[i(455)](t),this[i(415)][i(389)](i(496)),null)))}))}[Ho(430)](){const t=Ho,e=this[t(415)][t(491)][t(501)](t(508))[t(467)];this[t(415)][t(491)][t(489)](t(431),(()=>(this[t(415)][t(512)][t(530)](t(450))&&this[t(415)][t(512)][t(501)](t(450))[t(447)](),this[t(415)][t(512)][t(530)](t(507))&&(this[t(415)][t(512)][t(501)](t(486))[t(484)][t(404)][t(478)][t(480)]=""),this[t(473)][t(512)][t(501)](t(460))[t(422)](),e(this[t(473)])[t(434)]((()=>{const e=t;if(this[e(415)][e(389)](e(496)),this[e(473)]=null,this[e(415)][e(512)][e(530)](e(408))){const t=this[e(415)][e(512)][e(501)](e(408));t[e(392)](),t[e(412)]()}})))))}[Ho(488)](t){const e=Ho,i=this[e(415)][e(491)][e(501)](e(416)),s=this[e(415)][e(491)][e(501)](e(483)),n=this[e(415)][e(491)][e(501)](e(502));return Zo[e(402)](n,t)[e(434)]((t=>(s[e(478)][e(480)]=e(532),i[e(478)][e(480)]=e(410),this[e(427)]=!0,t)))}[Ho(479)](t){const e=Ho,i=this[e(415)][e(491)][e(501)](e(416));return this[e(415)][e(491)][e(501)](e(483))[e(478)][e(480)]=e(410),i[e(478)][e(480)]="",this[e(427)]=!1,t[e(435)]()}async[Ho(387)](t){const e=Ho,i=this[e(415)],s=this[e(473)][e(512)][e(501)](e(460)),n=i[e(512)][e(501)](e(495)),r=i[e(512)][e(501)](e(417)),o=s[e(423)][e(452)](t);let a,c,u;try{await r[e(411)](o,this[e(444)]),a=r[e(459)](o),c=r[e(391)](o)}catch(t){return void console[e(455)](t)}i[e(531)][e(400)]((t=>{const s=e;for(const e of Array[s(420)](i[s(531)][s(524)][s(432)](s(390))))t[s(527)](e)})),s[e(503)]=!1,i[e(531)][e(436)]((t=>{const s=e;t[s(443)](null),t[s(439)](i[s(531)][s(493)][s(419)][s(481)]());const n=Object[s(469)](a);for(const e of i[s(531)][s(493)][s(529)])s(429)!=e[s(396)]&&e[s(448)]()&&!n[s(513)](e[s(396)])&&t[s(485)](e);for(const e of n){let n=i[s(531)][s(493)][s(528)](e);n&&n[s(448)]()||(n=t[s(424)](e));const r=c[e],o=Object[s(469)](r),u=a[e];for(const e of n[s(481)]())o[s(513)](e)||t[s(458)](e,n);for(const i of o)t[s(523)](i,c[e][i],n);t[s(521)](t[s(456)](n)),t[s(535)](i[s(525)][s(413)](u,n),n,0)}}));const l=Q(i[e(425)],e(476));return u=o[e(405)]?-1==o[e(405)][e(398)](l)?l+": "+o[e(405)]:o[e(405)]:l+": "+o[e(409)][e(464)](i[e(425)][e(509)],{month:e(406),day:e(462)})+", "+o[e(409)][e(510)](i[e(425)][e(509)],{hour:e(462),minute:e(462)}),await n[e(534)]({name:u}),s[e(503)]=!0,i[e(491)][e(501)](e(508))[e(467)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=476]})(t,e)}function Ko(){var t=["2527024zJqRkG","812648ZjVycN","2630RYZdEv","17987877bhSAmM","474705OSSKNK","822RTHGwZ","64029nznXUM","179LIeBTF","2470105JXehTQ"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(643345===-parseInt(e(484))/1*(parseInt(e(479))/2)+parseInt(e(481))/3+-parseInt(e(478))/4+parseInt(e(476))/5+-parseInt(e(482))/6*(parseInt(e(483))/7)+-parseInt(e(477))/8+parseInt(e(480))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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)}const M=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function D(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 V(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?V(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(739134===-parseInt(e(315))/1+-parseInt(e(287))/2*(-parseInt(e(296))/3)+-parseInt(e(307))/4+-parseInt(e(290))/5*(-parseInt(e(298))/6)+parseInt(e(292))/7+parseInt(e(294))/8+parseInt(e(305))/9*(-parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(293)];[L(309)];[L(306)];[L(299)];[L(297)];[L(314)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(293)]=e[i(293)]||null,this[i(309)]=e[i(309)]||[],this[i(306)]=e[i(306)]||null,this[i(299)]=e[i(299)]||0,this[i(297)]=e[i(297)]||0,this[i(308)](i(288),e[i(288)]||""),this[i(308)](i(289),e[i(289)]||new Date),this[i(308)](i(304),e[i(304)]||{})}[L(311)](t){this[L(295)]({name:t})}[L(310)](t,e){const i=L,s=R(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(295)]({attributes:s})}[L(312)](t){const e=L,i=R(this[e(304)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(295)]({attributes:i})}[L(295)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(288),i(289),i(306),i(309),i(304),i(299),i(297),i(313)];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(309)]&&(n[i(291)]=n[i(309)][i(301)]((t=>t.id)),delete n[i(309)]),this[i(303)](i(295),n,e))}[L(300)](){const t=L;return{id:this.id,name:this[t(288)],creatorId:this[t(293)]?this[t(293)].id:null,authorsIds:this[t(309)][t(301)]((t=>t.id)),diffData:this[t(306)],createdAt:this[t(289)],attributes:this[t(304)],fromVersion:this[t(297)],toVersion:this[t(299)]}}}function W(){const t=["2800lOirYU","name","createdAt","3965qsQKkA","authorsIds","8585017ZHJQuS","creator","11169432XziSHu","_update","2238Blwsbm","fromVersion","4686XlfJms","toVersion","toJSON","map","1670sxICUK","fire","attributes","81117FwWZlG","diffData","2349084dHNfDI","set","authors","setAttribute","setName","removeAttribute","creatorId","model","1454767jtZaMd"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["push","creatorId","getEarlierVisibleRevision","name","getRevisions","href","from","join","map","authorsIds","toVersion","RevisionsRepository","58ctJhDp","151549qITFxA","getLaterVisibleRevision","9048430DaAcFO","1556124RqyWrZ","length","174232XbFdOx","14811IuBTfz","afterInit","data","plugins","newRevisionId","oldRevisionId","add","pluginName","626515zZKIdi","toJSON","attributes","get","requires","getIndex","createRevision","diffData","91bfPeEt","earlier","later","editor","isNaN","createdAt","isPremiumPlugin","Users","getUser","199872AAujYf","getRevisionsIterator","isOfficialPlugin","addRevision","8bzEYZK","fromCharCode","getRevisionsInDiff","getRevision","reverse","_revisions","fromVersion"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(142340===parseInt(e(318))/1+-parseInt(e(317))/2*(parseInt(e(324))/3)+parseInt(e(298))/4*(-parseInt(e(332))/5)+-parseInt(e(321))/6+parseInt(e(285))/7*(-parseInt(e(323))/8)+parseInt(e(294))/9+parseInt(e(320))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(303)];static get[q(281)](){return[Z.Users]}static get[q(331)](){return q(316)}static get[q(296)](){return!0}static get[q(291)](){return!0}get[q(322)](){const t=q;return this[t(303)][t(322)]}constructor(e){const i=q;super(e),this[i(303)]=new t.Collection}[q(325)](){!async function(e){const i=k([72,48,80,76,73,65,99,71,56,86,113,74,89,108,51,101,79,118,57,116,88,109,82,55,83,122,78,68,97,49,50,121,52,112,120,117,111,90,106,104,102,119,110,103,69,100,105,66,54,98,85,84,107,115,81,70,77,53,114,67,75,87]),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(289)](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([72]);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=B;return t[e(313)]((t=>String[e(299)](t)))[e(312)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743465600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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(310)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(283)](t){const e=q,i=this[e(288)][e(327)][e(280)](e(292));return new z({id:t.id,name:t[e(308)],creator:t[e(306)]?i[e(293)](t[e(306)]):null,diffData:t[e(284)]||t[e(326)],authors:t[e(314)][e(313)]((t=>i[e(293)](t))),createdAt:new Date(t[e(290)]),attributes:t[e(279)],fromVersion:t[e(304)],toVersion:t[e(315)]})}[q(297)](t,e=0){const i=q;this[i(303)][i(330)](t,e)}[q(301)](t){const e=q;return this[e(303)][e(280)](t)}[q(309)](t={toJSON:!1}){const e=q,i=Array[e(311)](this[e(303)]);return i[e(302)](),t[e(333)]?i[e(313)]((t=>t[e(333)]())):i}[q(282)](t){const e=q;return this[e(303)][e(282)](t)}[q(307)](t){const e=q,[,i]=this[e(295)](t,{direction:e(286)});return i}[q(319)](t){const e=q,[,i]=this[e(295)](t,{direction:e(287)});return i}[q(300)](t){const e=q,i=[];for(const s of this[e(295)](t[e(328)]))if(i[e(305)](s),s.id===t[e(329)])break;return i}*[q(295)](t,{direction:e=q(286),filter:i=()=>!0}={}){const s=q,n=s(286)===e?1:-1;let r=this[s(303)][s(280)](t),o=this[s(282)](r);for(yield r;r;){if(o+=n,r=this[s(301)](o),!r)return;i(r)&&(yield r)}}}function J(){const t=["getFillerOffset","insertions","length","startsWith","revision-start","domDocument","parse","4316000uJRATv","customProperties","isPremiumPlugin","processor","_typeCharToViewClass","585382eNiIpH","214959aJzdXl","getRevisionDocumentData","default","type","data-revision-","name","loadRevisionData","map","useFillerType","editing","render","viewChildrenToDom","getRevisionRootsAttributes","children","RevisionHistoryUtils","string","diffData","_appendChild","_viewClassToTypeChar","isOfficialPlugin","createElement","document","_makeModelFromViewString","toModel","_getViewFromDiffObj","_getTypeCharForViewElement","attributesAfter","pluginName","forEach","fillerOffset","20569ZZZaQj","data","htmlProcessor","marked","append","div","getRevision","childNodes","isAttached","3009582VEcckr","attributes","attachChange","toData","collaboration.channelId","get","from","config","domChildrenToView","12rfdcpg","116685VxebLm","filter","revision-end","_removeRevisionMarkers","5225058vdUhqf","view","constructor","2xheddT","domConverter","innerHTML","_setCustomProperty","editor"];return(J=function(){return t})()}const G=K;function K(t,e){const i=J();return(K=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(326434===parseInt(e(427))/1*(parseInt(e(453))/2)+-parseInt(e(397))/3*(parseInt(e(445))/4)+-parseInt(e(446))/5+parseInt(e(436))/6+parseInt(e(396))/7+parseInt(e(391))/8+-parseInt(e(450))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class X extends U.Plugin{static get[G(424)](){return G(411)}static get[G(416)](){return!0}static get[G(393)](){return!0}[G(415)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(395)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(403)](t,e){const i=G;if(t[i(413)]||!e)return;const s=this[i(457)][i(443)][i(441)](i(440)),n=await e[i(433)]({channelId:s,revisionId:t.id});t[i(413)]=n[i(413)]}[G(398)](t){const e=G,i={};for(const s in t[e(413)]){if(t[e(413)][s][e(438)]&&!t[e(413)][s][e(438)][e(435)])continue;const n=this[e(449)](JSON[e(390)](t[e(413)][s][e(459)])),r=this[e(457)][e(406)][e(451)][e(418)],o=new H.ViewDocumentFragment(r,n[e(404)]((t=>this[e(421)](t,!1))));this[e(457)][e(428)][e(394)][e(405)](e(430)),i[s]=this[e(457)][e(428)][e(394)][e(439)](o),this[e(457)][e(428)][e(394)][e(405)](e(399))}return i}[G(409)](t){const e=G,i={};for(const s in t[e(413)])t[e(413)][s][e(438)]&&!t[e(413)][s][e(438)][e(435)]||(i[s]=t[e(413)][s][e(423)]||{});return i}[G(422)](t){const e=G;return this[e(415)][e(441)](t[e(452)])}[G(421)](t,e){const i=G,s=this[i(457)][i(406)][i(451)][i(418)];if(i(412)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(400)]||"r"==t[i(400)]?[]:t[i(410)][i(404)]((t=>this[i(421)](t,e)));const o=this[i(395)][i(441)](t[i(400)])||H.ViewElement,a=this[i(457)][i(428)][i(429)][i(454)];if(n=new o(s,t[i(402)],t[i(437)],r),"u"==t[i(400)]){const r=t[i(410)][0];if(n[i(407)]=function(t){const e=i,s=t[e(417)](e(432));return s[e(455)]=r,s[e(434)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(414)](n);const e=Array[i(442)](a[i(408)](t,{bind:!1})),r=a[i(389)][i(417)](i(432));r[i(431)](...e),n=Array[i(442)](a[i(444)](r))[0]}}else if("r"==t[i(400)]){const r=t[i(410)][0];if(n[i(407)]=function(t){t[i(455)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(414)](n);const e=Array[i(442)](a[i(408)](t,{bind:!1})),r=a[i(389)][i(417)](i(432));r[i(431)](...e);const o=Array[i(442)](a[i(444)](r));o[i(460)]>1?n[i(414)](o):n=o[0]}}if(t[i(392)])for(const[e,s]of t[i(392)])n[i(456)](e,s);const c=t[i(426)]||null;return n[i(458)]=()=>c,n}}[G(419)](t){const e=G,i=JSON[e(390)](t),s=this[e(457)][e(406)][e(451)][e(418)],n=new H.ViewDocumentFragment(s,i[e(404)]((t=>this[e(421)](t,!0))));return this[e(457)][e(428)][e(420)](n)}[G(449)](t){const e=G;return(t=t[e(447)]((t=>!t[e(402)]||e(388)!==t[e(402)]&&e(448)!==t[e(402)])))[e(425)]((t=>{const i=e;i(412)!=typeof t&&(t[i(410)]=this[i(449)](t[i(410)]),t[i(437)]=t[i(437)][i(447)]((t=>!t[0][i(387)](i(401)))))})),t}}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const E=(s=s??new Map).get(t),D=s.get(i);if(null!=E&&null!=D)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["newRange","loadState","_makeModelFromViewString","createPositionFromPath","isOfficialPlugin","_reset","max","_touchedMarkers","data","revisionHistoryLicenseKeyInvalid","RevisionHistoryUtils","_diffRootsAttributes","getIndex","_lastFrom","from","buildRevisionData","$text","_revisionId","_handleMoveOperation","dataDowncast","hasContent","getCurrentRevisionId","offsetSize","284KvHjbF","getAncestors","howMany","authors","_makeRevision","_execute","$graveyard","_fixRange","fromEntries","_getFromVersion","addRevision","_processRootBeforeSave","move","980955XcIZqx","reInit","resolve","_removePendingAction","_applyOperations","getRoot","attributesAfter","revisionHistoryLicenseKeyExpired","diffData","addRevisionData","_isAttached","customProperties","deletions","featureNotAllowed","sourcePosition","getRevision","RevisionsRepository","currentRevision","version","locale","update","stringify","name","delete","_loadState","isReady","updateRevisions","_authorId","createPositionBefore","item","render","rootName","_fixPosition","createdAt","fillerOffset","marker","createRangeIn","_startingRevisionId","split","_findInsertionIndex","Users","revisionHistoryLicenseKeyValid","setSource","insertion","_generateTape","length","toVersion","sort","initial","_appendChild","_handleRootAttributeOperation","3153uleAvy","createElement","creator","fromVersion","documentFragment","roots","$comment","add","loadRevisionData","getLatestVersion","_touched","text","218UqxiAL","_markers","toView","invalid","getData","_initialRevisionId","_createFromRanges","getRevisions","find","_savedMetaData","_setConversion","rootsAttributes","conversion","_transformMarkers","getChildren","then","map","_createInitialRevision","filter","Initial revision","_addPendingAction","newValue","graveyardPosition","repository","isEnabled","previousPosition","childCount","_replaceEditorDataWithRevisionData","getMovedRangeStart","getRange","attributesBefore","adapter","_isPendingUpdate","attachChange","6kqaImJ","afterInit","revisionHistoryLicenseKeyNotAllowed","domainLimit","outerHTML","ready","39EULhEf","_fixOperation","keys","_licenseKeyCheckInterval","some","paragraph","dataToMarker","expired","insertions","isPremiumPlugin","string","addRoot","offset","_utils","_revisionDataBuilder","path","targetPosition","_getPreviousFrom","_update","_prepareViewToSave","getChild","_baseRoots","_removeMetaData","_calculateMetaData","revisionHistoryLicenseKeyDomainLimit","uiElement","usageLimit","_bufferUpdate","root","_diffRoots","define","push","_setAttribute","licenseKey","domDocument","_copyMarkers","_makeIdsRoot","keepParagraph","_getVidAttributeName","deletion","PendingActions","merge","pluginName","element","remove","_continueCurrentRevision","_source","getRevisionDocumentData","for","set","end","_idsRoots","size","_handleMarkerOperation","clone","_insertChild","_lastTo","evaluationLimit","creatorId","_baseIdsRoots","RevisionHistory","has","revisionHistoryLicenseKeyTrialLimit","_saveMetaData","elementStart","innerHTML","Empty document","revisionHistoryLicenseKeyEvaluationLimit","history","reinsert","_getBaseVids","revision","_operations","RealTimeCollaborationClient","24JaeuQK","userId","_createCurrentRevision","type","_pendingAction","_handleOperation","_baseRootsAttributes","parent","includes","document","4590930jvBRpr","_handleInsertOperation","detachRoot","tableCell","createPositionAfter","888147KtrWcr","finally","trialLimit","markerToData","_isInit","5828009QNXZjP","_cloneOperation","changeRootAttribute","upcast","isAdd","revision:","getFillerOffset","splitPosition","baseVersion","htmlProcessor","getAttributes","position","setRevisionData","values","getOperation","source","_handleSplitOperation","key","_startingVersion","_showLicenseError","rawElement","getUser","initialData","vid_end","clear","elementEnd","init","getWalker","_getViewJson","editor","plugins","authorsIds","model","slice","vid_start","getRootNames","getTransformedByOperation","reverse","stickiness","destroy","_handleRootOperation","trim","children","domConverter","getCustomProperties","createPositionAt","isAttached","affectsData","revisionHistory.resumeUnsavedRevision","oldRange","isEqual","_getTypeCharForViewElement","bind","config","nodeAfter","_touchedRoots","shift","removeRootAttribute","NEGATIVE_INFINITY","createRevision","get","saveRevision","PENDING_ACTION_REVISION_HISTORY","insert","addRootAttribute","createRange","_loadedStateData","sendBufferedUpdates","getAttribute","_markChanges","startsWith","getRevisionRootsAttributes","revisionHistoryLicenseKeyUsageLimit","getOperations","start","range","_handleMergeOperation","requires","_clone","vid","markers","67676EATpKE","getNodeByPath","RevisionTracker","editor-initial-data-replaced-with-revision-data","collaboration.channelId","_getState","getTime","_bufferedUpdates","insertionPosition","nodes"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(250622===-parseInt(e(456))/1*(parseInt(e(416))/2)+-parseInt(e(404))/3*(-parseInt(e(340))/4)+-parseInt(e(353))/5+parseInt(e(450))/6*(parseInt(e(307))/7)+parseInt(e(206))/8*(parseInt(e(221))/9)+-parseInt(e(216))/10+parseInt(e(226))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends U.Plugin{[rt(165)];[rt(459)];[rt(370)]=null;[rt(439)];[rt(447)]=null;[rt(146)];[rt(178)];[rt(421)];[rt(314)];[rt(469)];[rt(210)];[rt(177)];[rt(244)];[rt(292)];static get[rt(174)](){return rt(309)}static get[rt(321)](){return!0}static get[rt(465)](){return!0}static get[rt(303)](){return[Z.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(439)]=this[i(255)][i(256)][i(286)](i(369)),this[i(469)]=this[i(255)][i(256)][i(286)](i(327)),this[i(146)]=new ut(this[i(255)]),this[i(421)]=this[i(255)][i(279)][i(286)](i(311))||i(401),this[i(314)]=new Map,this[i(292)]=null;const s=(0,t.uid)();this[i(178)]={history:this[i(255)][i(258)][i(215)][i(200)],getLatestVersion:()=>Promise[i(355)](this[i(255)][i(258)][i(215)][i(371)]),getCurrentRevisionId:()=>s},this[i(181)](i(378),!1),this[i(181)](i(440),!0),this[i(181)](i(448),!1),this[i(255)][i(279)][i(162)](i(274),!0),this[i(255)][i(428)][i(180)](i(229))[i(462)]({view:i(203)})}[rt(252)](){const t=rt;this[t(426)](),this[t(255)][t(325)].on(t(455),(()=>{const e=t,i=this[e(439)][e(368)](0),s=i&&null===i[e(406)]?i:null;if(this[e(177)]=!!s&&this[e(255)][e(279)][e(286)](e(274)),this[e(255)][e(256)][e(193)](e(205))){const t=this[e(178)][e(338)](),n=this[e(439)][e(368)](t);if(n)this[e(244)]=n[e(407)],this[e(177)]=!1;else{const t=this[e(178)][e(200)][e(204)][e(424)]((t=>!t[e(225)])),n=t?t[e(234)]:this[e(178)][e(200)][e(371)];i?(i[e(399)]<n&&i[e(150)]({toVersion:n}),this[e(177)]?(this[e(178)][e(338)]=()=>s.id,this[e(244)]=s[e(407)]):(this[e(244)]=i[e(399)],this[e(177)]=!1)):(this[e(244)]=n,this[e(177)]=!1)}}else s&&(this[e(255)][e(258)][e(215)][e(200)][e(371)]=Math[e(323)](s[e(399)],this[e(255)][e(258)][e(215)][e(200)][e(371)]),s[e(407)]===s[e(399)]?(0!==s[e(407)]&&(this[e(178)][e(338)]=()=>s.id),this[e(177)]=!1):this[e(177)]&&(this[e(178)][e(338)]=()=>s.id,this[e(244)]=s[e(407)])),this[e(177)]||(this[e(244)]=this[e(255)][e(258)][e(215)][e(371)]);this[e(146)][e(252)](this[e(178)][e(200)]),this[e(433)](this[e(244)]),this[e(208)](this[e(244)]),this[e(447)]&&this[e(293)]()})),this[t(278)](t(378)).to(this,t(448),(t=>!t)),this[t(165)]=this[t(255)][t(279)][t(286)](t(165));const e=this[t(255)];this[t(459)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(394)==r||i(326)==r||i(360)==r||i(156)==r||i(452)==r||i(199)==r||i(194)==r||i(298)==r){delete e[n],s=r,clearInterval(this[i(459)]),this[i(459)]=void 0;break}}i(326)==s&&e[i(245)](i(419)),i(360)==s&&e[i(245)](i(463)),i(156)==s&&e[i(245)](i(453)),i(452)==s&&e[i(245)](i(366),i(192)),i(199)==s&&e[i(245)](i(189)),i(194)==s&&e[i(245)](i(223)),i(298)==s&&e[i(245)](i(158))}),1e3)}async[rt(451)](){const t=rt;if(this[t(439)][t(398)]>0){const e=this[t(439)][t(368)](0),i=await this[t(179)](e),s=await this[t(297)](e);this[t(443)](i,s)}}[rt(265)](){const t=rt;super[t(265)](),this[t(459)]&&clearInterval(this[t(459)])}[rt(395)](t){this[rt(178)]=t}async[rt(373)](){const t=rt,e=await this[t(178)][t(413)]();if(e>this[t(370)][t(399)]){await this[t(377)]();const i=this[t(332)]({revision:this[t(370)],to:e});i[t(343)]=i[t(257)][t(432)]((e=>this[t(255)][t(256)][t(286)](t(393))[t(247)](e))),this[t(370)][t(150)](i)}}async[rt(287)](e={},i=null){const s=rt,n=[];await this[s(377)](),this[s(177)]=!1,i>this[s(370)][s(399)]&&(i=null),null===i&&(i=await this[s(178)][s(413)]());const r=this[s(349)](i),o=this[s(332)]({from:r,to:i});if(this[s(370)][s(399)]<i){const t=this[s(332)]({revision:this[s(370)],from:i,to:i});t[s(343)]=[],t[s(257)]=[],t.id=this[s(370)].id,this[s(370)][s(150)](t,!0),delete t[s(343)],n[s(163)](t)}e[s(190)]=this[s(255)][s(256)][s(286)](s(393)).me.id,e[s(375)]=e[s(375)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(362)](e);n[s(163)](e);const c=this[s(439)][s(329)](a);if(0!==c){const t=this[s(439)][s(368)](c-1);if(t[s(407)]!==i){const r=this[s(146)][s(420)](i,t[s(399)]),o={id:t.id,diffData:r[s(361)],authorsIds:r[s(257)],authors:r[s(257)][s(432)]((t=>this[s(255)][s(256)][s(286)](s(393))[s(247)](t))),fromVersion:i};t===this[s(370)]&&(o[s(386)]=new Date(e[s(386)][s(313)]()+10)),t[s(150)](o,!0),delete o[s(343)],n[s(163)](o)}}if(this[s(447)]){for(const t of n)this[s(159)](t.id,t,!0);this[s(293)]()}return a}[rt(362)](t){const e=rt,i=this[e(439)][e(285)](t);return this[e(447)]&&i.on(e(150),((t,i,s)=>{const n=e;s||(this[n(159)](i.id,i,!0),this[n(293)]())})),this[e(439)][e(350)](i,this[e(392)](i)),i}async[rt(179)](t){const e=rt;return await this[e(469)][e(412)](t,this[e(447)]),this[e(469)][e(179)](t)}async[rt(297)](t){const e=rt;return await this[e(469)][e(412)](t,this[e(447)]),this[e(469)][e(297)](t)}[rt(293)](){const t=rt;if(0===this[t(314)][t(184)])return;if(this[t(448)])return;let e=Array[t(331)](this[t(314)][t(239)]());this[t(314)][t(250)]();for(let i=0;i<e[t(398)];i++){const s=e[i];let n=!1;for(const e of Object[t(458)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(434)]((t=>null!==t)),!e[t(398)])return;for(let i=0;i<e[t(398)];i++){const s=e[i];void 0!==s[t(407)]&&void 0===s[t(399)]&&(s[t(399)]=this[t(439)][t(368)](s.id)[t(399)]),void 0!==s[t(399)]&&void 0===s[t(407)]&&(s[t(407)]=this[t(439)][t(368)](s.id)[t(407)])}const i=this[t(255)][t(279)][t(286)](t(311));this[t(448)]=!0,this[t(436)](),this[t(447)][t(379)](e,i)[t(222)]((()=>{this[t(448)]=!1}))[t(431)]((e=>{const i=t;if(e)for(const t of e)this[i(238)]({id:t.id,createdAt:t[i(386)]});this[i(356)](),this[i(293)]()}))}[rt(332)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(407)],i=null!==i?i:t[s(399)];const n=this[s(146)][s(420)](e,i),r={diffData:n[s(361)],authorsIds:n[s(257)],fromVersion:e,toVersion:i};if(!t||i!==t[s(399)]){const t=i-1,e=this[s(178)][s(200)][s(240)](t);r[s(386)]=e&&e[s(386)]||new Date}if(this[s(292)]&&e===this[s(292)][s(407)])for(const t of this[s(292)][s(343)])r[s(257)][s(214)](t.id)||r[s(257)][s(163)](t.id);return r}[rt(159)](t,e,i){const s=rt;if(this[s(314)][s(193)](t)){const n=this[s(314)][s(286)](t);e=i?{...n,...e}:{...e,...n}}this[s(314)][s(181)](t,e)}[rt(238)](t){const e=rt,i=this[e(439)][e(368)](t.id);if(t[e(386)]&&(t[e(386)]=new Date(t[e(386)])),t[e(257)]){const i=this[e(255)][e(256)][e(286)](e(393));t[e(343)]=t[e(257)][e(432)]((t=>i[e(247)](t)))}i[e(150)](t,!0)}[rt(433)](t){const e=rt,i=this[e(439)][e(368)](this[e(439)][e(398)]-1);if(i)this[e(421)]=i.id;else{const i=!this[e(255)][e(258)][e(215)][e(409)][e(424)]((t=>this[e(255)][e(258)][e(337)](t))),s=this[e(255)][e(256)][e(286)](e(393)).me.id,n=Q(this[e(255)][e(372)],e(i?198:435));this[e(344)]({from:t,to:t,id:this[e(421)],name:n,creatorId:s})}}[rt(208)](t){const e=rt,i=this[e(178)][e(338)]();this[e(370)]=this[e(439)][e(368)](i),this[e(370)]||(this[e(370)]=this[e(344)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(377)](){const t=rt;this[t(177)]&&!this[t(292)]&&(await this[t(469)][t(412)](this[t(370)],this[t(447)]),this[t(146)][t(318)](this[t(370)]),this[t(292)]={fromVersion:this[t(370)][t(407)],authors:this[t(370)][t(343)][t(259)]()})}[rt(443)](e,i){const s=rt;let n=this[s(255)][s(279)][s(286)](s(248)),r=this[s(255)][s(279)][s(286)](s(427));if(void 0===n){n={};for(const t of this[s(255)][s(258)][s(215)][s(261)]())n[t]=""}if(s(466)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(255)][s(258)][s(215)][s(261)]())r[t]={}}let o=!1;const a=Object[s(458)](n),c=Object[s(458)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(267)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(458)](r[t])[s(398)]>0){o=!0;break}}o||(o=c[s(460)]((t=>!this[s(255)][s(258)][s(215)][s(358)](t)))),o&&(0,t.logWarning)(s(310),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(255)][s(279)][s(181)](s(248),e),this[s(255)][s(279)][s(181)](s(427),i)}[rt(436)](){const t=rt;if(!this[t(210)]){const e=this[t(255)][t(256)][t(286)](t(172));this[t(210)]=e[t(411)](Q(this[t(255)][t(372)],t(288)))}}[rt(356)](){const t=rt;this[t(210)]&&(this[t(255)][t(256)][t(286)](t(172))[t(176)](this[t(210)]),this[t(210)]=null)}[rt(392)](t){const e=rt,i=this[e(439)][e(423)]();i[e(263)]();let s=0;for(;s<i[e(398)];){const n=i[s];if(n===this[e(370)]){s++;continue}if(n.id===this[e(421)])break;const r=t[e(399)]-n[e(399)]||t[e(407)]-n[e(407)];if(r>0)break;if(r<0)s++;else{if(!t[e(406)]&&n[e(406)])break;if(n[e(406)]||!t[e(406)]){if(t[e(386)]>n[e(386)])break;s++}else s++}}return s}[rt(349)](t){const e=rt,i=this[e(439)][e(423)]();i[e(263)](),i[e(282)]();const s=i[e(424)]((i=>i[e(399)]<=t))[e(399)];return s<this[e(244)]?this[e(244)]:s}[rt(344)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(332)]({from:e,to:i});o[r(375)]=t,o[r(190)]=s,o.id=n;const a=this[r(362)](o);return this[r(447)]&&this[r(159)](o.id,o,!0),a}[rt(426)](){const t=rt;this[t(255)][t(428)][t(180)](t(336))[t(224)]({model:t(203)})}}class ut{[rt(255)];[rt(241)];[rt(425)];[rt(330)];[rt(188)];[rt(417)];[rt(161)];[rt(328)];[rt(153)];[rt(212)];[rt(183)];[rt(191)];[rt(414)];[rt(324)];[rt(281)];[rt(334)];[rt(390)];constructor(t){const e=rt;this[e(255)]=t,this[e(425)]=new Map,this[e(330)]=-1,this[e(188)]=-1,this[e(417)]=new Map,this[e(161)]=new Map,this[e(328)]=new Map,this[e(153)]=new Map,this[e(212)]=new Map,this[e(183)]=new Map,this[e(191)]=new Map,this[e(414)]=new Map,this[e(324)]=new Map,this[e(281)]=new Map,this[e(334)]=1}[rt(252)](t){const e=rt;this[e(241)]=t;const i=new Map,s=new Map,n=this[e(255)][e(258)][e(215)][e(409)][e(432)]((t=>t[e(384)]));for(const t of n){const n=this[e(255)][e(258)][e(215)][e(358)](t),r=lt(n);i[e(181)](t,r),s[e(181)](t,Object[e(348)](n[e(236)]()))}const r=Array[e(331)](this[e(255)][e(258)][e(306)])[e(432)]((t=>[t[e(375)],t[e(445)]()])),o=this[e(241)][e(371)];this[e(195)](o,i,r,s),this[e(390)]=this[e(334)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(181)](t,i),c[e(181)](t,{})}this[e(195)](Number[e(284)],a,[],c)}[rt(420)](t,e){const i=rt;if(this[i(330)]===t&&this[i(188)]<=e)this[i(425)][i(184)]>1&&this[i(154)](this[i(188)]),this[i(357)](this[i(188)],e,!0);else{if(!this[i(425)][i(193)](t)){const e=this[i(149)](t);this[i(155)](e,t,!1)}this[i(155)](t,e,!0)}return this[i(330)]=t,this[i(188)]=e,this[i(312)]()}[rt(318)](t){const e=rt,i=this[e(255)][e(256)][e(286)](e(327));this[e(322)](),this[e(330)]=t[e(407)],this[e(188)]=t[e(399)];for(const s in t[e(361)]){const n=t[e(361)][s][e(449)],r=R(t[e(361)][s][e(446)])||{},o=i[e(319)](t[e(361)][s][e(365)]);o[e(384)]=s,o[e(363)]=!n||!n[e(272)],o[e(272)]=()=>o[e(363)],this[e(153)][e(181)](s,o),this[e(212)][e(181)](s,r),n&&this[e(281)][e(181)](s,n);const a=this[e(168)](o);this[e(191)][e(181)](s,a);for(const[t,i]of o[e(306)]){if(!t[e(296)](e(231)))continue;const s=t[e(391)](":")[2];for(const t of i[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),n=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)],r=a[e(308)](n)[e(294)](i);this[e(414)][e(181)](r,{userId:s})}}}this[e(390)]=this[e(334)];const s=[...Array(this[e(334)])[e(458)]()][e(259)](1)[e(434)]((t=>!this[e(414)][e(193)](t)));let n=0;const r=new Map;for(const o in t[e(361)]){const a=t[e(361)][o][e(449)],c=R(t[e(361)][o][e(359)])||{},u=i[e(319)](t[e(361)][o][e(464)]);u[e(384)]=o,u[e(363)]=!a||a[e(272)],u[e(272)]=()=>u[e(363)],this[e(161)][e(181)](o,u),this[e(328)][e(181)](o,c);const l=this[e(168)](u,Number[e(284)]);this[e(183)][e(181)](o,l),r[e(181)](o,u[e(272)]()?c:{});for(const[t,i]of u[e(306)]){if(!t[e(296)](e(231)))continue;const s=t[e(391)](":")[2];for(const t of i[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),n=this[e(334)]++,r=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)];l[e(308)](r)[e(164)](i,n),this[e(414)][e(181)](n,{userId:s})}}for(const t of this[e(255)][e(258)][e(389)](u)[e(253)]({singleCharacters:!0})){const i=this[e(170)](t),r=e(251)==t[e(209)]?t[e(441)][e(147)][e(259)](0,-1):t[e(441)][e(147)],o=l[e(308)](r);o[e(294)](i)>0||o[e(164)](i,s[n++])}for(const[t,i]of u[e(306)])t[e(296)](e(231))||this[e(417)][e(181)](t,i)}const o=ht(e(346));this[e(153)][e(181)](e(346),o),this[e(191)][e(181)](e(346),this[e(168)](o,1));const a=ht(e(346));this[e(161)][e(181)](e(346),a),this[e(183)][e(181)](e(346),this[e(168)](a,1));const c=Array[e(331)](this[e(161)])[e(432)]((([t,e])=>[t,lt(e)]));this[e(195)](this[e(188)],c,this[e(417)],r)}[rt(354)](){const t=rt;this[t(322)](),this[t(330)]=-1,this[t(188)]=-1,this[t(425)][t(250)](),this[t(252)](this[t(241)])}[rt(195)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(181)](t,{start:e[n(300)][n(186)](),end:e[n(182)][n(186)](),rootName:e[n(160)][n(384)]});this[n(425)][n(181)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(154)](t){const e=rt;this[e(425)][e(376)](t)}[rt(322)](){const t=rt;this[t(414)][t(250)](),this[t(324)][t(250)](),this[t(281)][t(250)](),this[t(161)][t(250)](),this[t(328)][t(250)](),this[t(153)][t(250)](),this[t(212)][t(250)](),this[t(183)][t(250)](),this[t(191)][t(250)](),this[t(417)][t(250)](),this[t(334)]=1,this[t(390)]=this[t(334)]}[rt(168)](t,e=null){const i=rt;let s=null;t.is(i(408))||(s=new H.Element(t[i(375)],{vid_start:null===e?this[i(334)]++:e++}));const n=[];for(const s of t[i(430)]())if(s.is(i(175))){n[i(163)](this[i(168)](s,e));const t=n[n[i(398)]-1];null!==e&&(e=t.is(i(175),i(333))?t[i(294)](i(305))+1:t[i(294)](i(249))+1)}else for(let t=0;t<s[i(339)];t++)n[i(163)](new H.Element(i(333),{vid:null===e?this[i(334)]++:e++}));if(t.is(i(408))){const e=ht(t[i(384)]);return e[i(187)](0,n),e}return s[i(164)](i(249),null===e?this[i(334)]++:e++),s[i(187)](0,n),s}[rt(155)](t,e,i){const s=rt;this[s(322)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(425)][s(286)](t);this[s(153)]=new Map(n),this[s(212)]=new Map(R(o));for(const[t,e]of this[s(153)])if(s(346)!==t&&(this[s(161)][s(181)](t,lt(e)),this[s(328)]=new Map(R(o)),i)){const i=this[s(334)];this[s(183)][s(181)](t,this[s(168)](e)),this[s(191)][s(181)](t,this[s(168)](e,i))}this[s(390)]=this[s(334)],this[s(161)][s(181)](s(346),lt(this[s(153)][s(286)](s(346)))),i&&this[s(183)][s(181)](s(346),this[s(168)](this[s(153)][s(286)](s(346))));for(const[t,e]of r){const i=this[s(153)][s(286)](e[s(384)]),n=this[s(161)][s(286)](e[s(384)]),r=new H.Range(this[s(385)](e[s(300)],i),this[s(385)](e[s(182)],i)),o=this[s(347)](r,n);i[s(306)][s(181)](t,r),this[s(417)][s(181)](t,o)}this[s(357)](t,e,i)}[rt(357)](t,e,i){const s=rt;for(const n of this[s(241)][s(299)](t,e))this[s(211)](n,i);for(const t of this[s(161)][s(239)]())t[s(306)][s(250)]();for(const[t,e]of this[s(417)])this[s(161)][s(286)](e[s(160)][s(384)])[s(306)][s(181)](t,e[s(186)]());const n=new Map,r=new Map;for(const[t,e]of this[s(161)])n[s(181)](t,lt(e)),r[s(181)](t,this[s(328)][s(286)](t));this[s(195)](e,n,this[s(417)],r)}[rt(149)](t){const e=rt,i=Array[e(331)](this[e(425)][e(458)]());i[e(400)](((t,e)=>t-e)),i[e(263)]();for(const e of i)if(e<t)return e;return Number[e(284)]}[rt(167)](t,e){const i=rt,s=Array[i(331)](e[i(306)])[i(432)]((([e,s])=>[e,this[i(347)](s,t)]));t[i(306)]=new Map(s)}[rt(429)](t){const e=rt;for(const i of this[e(417)][e(239)]()){const s=i[e(262)](t),n=H.Range[e(422)](s);i[e(300)]=n[e(300)],i[e(182)]=n[e(182)]}}[rt(211)](t,e){const i=rt;if(i(467)!=t[i(209)]&&i(218)!=t[i(209)]){if(i(289)==t[i(209)]){const s=t[i(237)][i(160)][i(384)];this[i(161)][i(193)](s)||(this[i(161)][i(181)](s,ht(s,!0)),this[i(328)][i(181)](s,{}),e&&this[i(183)][i(181)](s,ht(s,!0)))}else{if(i(290)==t[i(209)]||i(283)==t[i(209)]||i(228)==t[i(209)])return void this[i(403)](t);i(388)==t[i(209)]&&this[i(185)](t)}if(i(388)!==t[i(209)]){const e=this[i(227)](t,this[i(161)]);e[i(345)](),this[i(429)](e)}if(e)switch(t[i(209)]){case i(289):this[i(217)](t);break;case i(352):case i(176):case i(201):this[i(335)](t);break;case i(173):this[i(302)](t);break;case i(391):this[i(242)](t)}}else this[i(266)](t,e)}[rt(227)](t,e){const i=rt,s=t[i(186)]();return s[i(380)]=t[i(380)],this[i(457)](s,e),s}[rt(202)](t){const e=rt;return t[e(432)]((t=>{const i=e,s=this[i(170)](t);return Number(t[i(382)][i(294)](s))}))}[rt(397)](t,e){const i=rt;if(t.is(i(175),i(333)))e[i(163)]({item:t,type:i(415)});else{t.is(i(175))&&e[i(163)]({item:t,type:i(196)});for(const s of t[i(430)]())this[i(397)](s,e);t.is(i(175))&&e[i(163)]({item:t,type:i(251)})}return e}[rt(312)](){const t=rt,e=new Map(this[t(414)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(153)][t(458)](),...this[t(161)][t(458)]()]);a[t(376)](t(346));for(const e of a){const i=this[t(161)][t(286)](e)||ht(e,!1),s=this[t(153)][t(286)](e)||ht(e,!1);i[t(272)]()||s[t(272)]()?(n[t(464)][e]=lt(i),n[t(365)][e]=lt(s),this[t(167)](n[t(365)][e],s),this[t(167)](n[t(464)][e],i),r[t(464)][e]=this[t(397)](this[t(183)][t(286)](e),[]),r[t(365)][e]=this[t(397)](this[t(191)][t(286)](e)||ht(e,!1),[])):a[t(376)](e)}for(const n of a){const o=r[t(464)][n];for(const n of o){const r=this[t(170)](n),o=n[t(382)][t(294)](r);i[t(376)](o),o>=this[t(390)]&&s[t(181)](o,e[t(286)](o))}}for(const n of a){const a=r[t(464)][n],c=this[t(202)](r[t(365)][n]);let u=0;for(const n of a){const r=this[t(170)](n),a=n[t(382)][t(294)](r);if(!s[t(193)](a)&&!o[t(193)](a))if(i[t(193)](a))u++;else{if(a!=c[u]){const s=e[t(286)](a)||e[t(286)](c[u]);for(;a!=c[u];)i[t(193)](c[u])||(o[t(181)](c[u],s),e[t(181)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(464)][e];for(const e of n){const n=this[t(170)](e),r=e[t(382)][t(294)](n);if(o[t(193)](r)){const e=o[t(286)](r);i[t(193)](r)||i[t(181)](r,{...e}),s[t(181)](r,{...e})}}}for(const e of i[t(458)]())e>=this[t(390)]&&i[t(376)](e);const c=new Map;for(const e of a){let n=r[t(464)][e];for(const e of n)if(e[t(382)].is(t(175),t(219))){const i=this[t(170)](e),n=e[t(382)][t(294)](i);if(s[t(193)](n)){const i=e[t(382)][t(213)][t(213)][t(294)](t(260)),r=c[t(286)](i)||new Set;r[t(411)](s[t(286)](n)[t(207)]),c[t(181)](i,r)}}n=r[t(365)][e];for(const e of n)if(e[t(382)].is(t(175),t(219))){const s=this[t(170)](e),n=e[t(382)][t(294)](s);if(i[t(193)](n)){const s=e[t(382)][t(213)][t(213)][t(294)](t(260)),r=c[t(286)](s)||new Set;r[t(411)](i[t(286)](n)[t(207)]),c[t(181)](s,r)}}for(const e of c[t(458)]())(s[t(193)](e)||i[t(193)](e))&&c[t(376)](e)}for(const e of a){const n=r[t(464)][e];let o=null,a=null;for(const e of n){const n=this[t(170)](e),r=e[t(382)][t(294)](n),u=c[t(286)](r);u&&t(196)==e[t(209)]&&(o=Array[t(331)](u)[0],a=e[t(382)][t(294)](t(249))),o&&(i[t(181)](r,{userId:o}),s[t(181)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(365)][e],a=n[t(464)][e];for(const{userId:e}of this[t(324)][t(239)]())null!==e&&l[t(411)](e);for(const{userId:e}of this[t(281)][t(239)]())null!==e&&l[t(411)](e);this[t(295)](a,r[t(464)][e],s,t(396),l),this[t(295)](o,r[t(365)][e],i,t(171),l),u[e]={insertions:this[t(151)](a),deletions:this[t(151)](o),attachChange:this[t(281)][t(286)](e)||null,attributesBefore:R(this[t(212)][t(286)](e))||{},attributesAfter:R(this[t(328)][t(286)](e))}}return{diffData:u,authorsIds:Array[t(331)](l)}}[rt(351)](t){const e=rt;for(const[,i]of t[e(306)]){const t=i[e(300)][e(341)]()[e(434)]((t=>e(219)==t[e(375)]));for(const i of t)1==i[e(442)]&&i[e(152)](0).is(e(175),e(461))&&i[e(152)](0)[e(164)](e(169),!0)}}[rt(151)](t){const e=rt;this[e(351)](t);const i=this[e(255)][e(325)][e(418)](t,{}),s=Array[e(331)](i[e(430)]())[e(432)]((t=>this[e(254)](t)));return JSON[e(374)](s)}[rt(254)](t){const e=rt;if(t.is(e(333)))return t[e(325)];{const i=this[e(255)][e(256)][e(286)](e(327)),s=t,n=this[e(255)][e(325)][e(235)][e(269)],r={type:i[e(277)](s),name:s[e(375)],attributes:Array[e(331)](s[e(236)]()),children:Array[e(331)](s[e(430)]())[e(432)]((t=>this[e(254)](t)))};if(t.is(e(157))&&e(410)!=t[e(375)]){const i=t[e(383)](n[e(166)],n);r[e(268)][e(163)](i[e(454)])}else if(t.is(e(246))){const i=n[e(166)][e(405)](s[e(375)]);t[e(383)](i,n),r[e(268)][e(163)](i[e(197)])}const o=Array[e(331)](s[e(270)]());o[e(398)]>0&&(r[e(364)]=o);const a=s[e(232)]();return null!==a&&(r[e(387)]=a),r}}[rt(295)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(255)][r(258)];for(let s=0;s<e[r(398)];s++){const n=this[r(170)](e[s]),c=e[s][r(382)][r(294)](n),h=i[r(286)](c),d=s==e[r(398)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(207)]!=o[r(207)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(207)],d=l(231)+s+":"+h+":"+c++,f=u[l(291)](i,a);t[l(306)][l(181)](d,f),null!==h&&n[l(411)](h)}}[rt(170)](t){const e=rt;switch(t[e(209)]){case e(196):return e(260);case e(251):return e(249);default:return e(305)}}[rt(457)](t,e){const i=rt;t[i(234)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(286)](n[i(160)][i(384)]);t[s]=this[i(385)](n,r)}if(n instanceof H.Range){const r=e[i(286)](n[i(160)][i(384)]);t[s]=this[i(347)](n,r)}i(160)===s&&(t[i(160)]=e[i(286)](t[i(160)][i(384)]))}}[rt(347)](t,e){const i=rt;return this[i(255)][i(258)][i(291)](this[i(385)](t[i(300)],e),this[i(385)](t[i(182)],e))}[rt(385)](t,e){const i=rt;return this[i(255)][i(258)][i(320)](e,t[i(147)],t[i(264)])}[rt(217)](t){const e=rt,i=this[e(183)][e(286)](t[e(237)][e(160)][e(384)]),s=this[e(385)](t[e(237)],i),n=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,r=s[e(213)],o=this[e(334)],a=[];for(const i of t[e(316)])if(i.is(e(175)))a[e(163)](this[e(168)](i));else for(let t=0;t<i[e(339)];t++)a[e(163)](new H.Element(e(333),{vid:this[e(334)]++}));const c=this[e(334)];for(let t=o;t<c;t++)this[e(414)][e(181)](t,{userId:n});r[e(187)](s[e(468)],a)}[rt(335)](t){const e=rt;(t=this[e(227)](t,this[e(183)]))[e(345)]();const i=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(444)](),n=s[e(213)],r=s[e(468)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(152)](e);r.is(a(175),a(333))?s[a(181)](r[a(294)](a(305)),{userId:i}):(s[a(181)](r[a(294)](a(260)),{userId:i}),t(s,r,0,r[a(442)]),s[a(181)](r[a(294)](a(249)),{userId:i}))}}(this[e(414)],n,r,r+t[e(342)])}[rt(302)](t){const e=rt,i=null===(t=this[e(227)](t,this[e(183)]))[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(148)][e(213)],n=t[e(367)][e(213)],r=s[e(294)](e(249)),o=n[e(294)](e(260));s[e(164)](e(249),n[e(294)](e(249))),n[e(164)](e(249),r),this[e(414)][e(181)](o,{userId:i}),this[e(414)][e(181)](r,{userId:i}),t[e(345)]()}[rt(242)](t){const e=rt,i=null===(t=this[e(227)](t,this[e(183)]))[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,s=t[e(438)],n=t[e(233)][e(213)];t[e(345)]();const r=n[e(294)](e(249)),o=t[e(315)][e(280)];if(s){const t=o[e(294)](e(249)),s=n[e(294)](e(249));n[e(164)](e(249),t),o[e(164)](e(249),s),this[e(414)][e(181)](n[e(294)](e(249)),{userId:i}),this[e(414)][e(181)](o[e(294)](e(260)),{userId:i})}else{const t=this[e(334)]++,s=this[e(334)]++;n[e(164)](e(249),t),o[e(164)](e(260),s),o[e(164)](e(249),r),this[e(414)][e(181)](t,{userId:i}),this[e(414)][e(181)](s,{userId:i})}}[rt(185)](t){const e=rt;if(!t[e(273)])return;const i=(t=this[e(227)](t,this[e(161)]))[e(275)]?t[e(275)][e(160)]:null,s=t[e(317)]?t[e(317)][e(160)]:null;i&&this[e(417)][e(376)](t[e(375)]),s&&this[e(417)][e(181)](t[e(375)],t[e(317)][e(186)]());const n=null===t[e(380)]?null:t[e(380)]||this[e(255)][e(256)][e(286)](e(393)).me.id,r=t[e(375)];if(!this[e(324)][e(193)](r))return void this[e(324)][e(181)](r,{range:t[e(275)],userId:n});const o=this[e(324)][e(286)](r),a=o[e(301)],c=t[e(317)];null==a&&null==c||a&&c&&a[e(276)](c)?this[e(324)][e(376)](t[e(375)]):o[e(207)]=n}[rt(266)](t,e){const i=rt;this[i(161)][i(193)](t[i(384)])?this[i(161)][i(286)](t[i(384)])[i(363)]=t[i(230)]:(this[i(161)][i(181)](t[i(384)],ht(t[i(384)],!0)),this[i(328)][i(181)](t[i(384)],{}),e&&this[i(183)][i(181)](t[i(384)],ht(t[i(384)],!0)));const s=null===t[i(380)]?null:t[i(380)]||this[i(255)][i(256)][i(286)](i(393)).me.id,n=this[i(281)][i(286)](t[i(384)]);n&&n[i(207)]===s?this[i(281)][i(376)](t[i(384)]):this[i(281)][i(181)](t[i(384)],{userId:s,isAttached:t[i(230)]})}[rt(403)](t){const e=rt,i=this[e(328)][e(286)](t[e(160)][e(384)]);null===t[e(437)]?delete i[t[e(243)]]:i[t[e(243)]]=t[e(437)]}}function lt(t){const e=rt,i=ht(t[e(384)],t[e(272)]());for(const s of t[e(430)]()){const t=s[e(304)](!0);i[e(402)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(384)]=t,s[i(363)]=e,s[i(272)]=()=>s[i(363)],s}function dt(t,e,i){const s=rt,n=s(251)==t[s(209)]?i[s(271)](t[s(382)],s(182)):i[s(381)](t[s(382)]);return i[s(320)](e,n[s(147)],n[s(264)])}function ft(t,e,i){const s=rt,n=s(196)==t[s(209)]?i[s(271)](t[s(382)],0):i[s(220)](t[s(382)]);return i[s(320)](e,n[s(147)],n[s(264)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Mt(){const t=["revisionName","label","5493588RLAWUN","2119760qARXHF","arrowright","65965LlxMhx","focusTracker","locale","11tZSQcr","stopPropagation","fieldView","add","value","ck-responsive-form","_createRevisionNameInput","render","240LqaGBx","ck-revision-history-save-revision-form","optional","revisionNameInputValue","1841qoNmdN","arrowup","arrowdown","focus","trim","element","1108WuqZYg","extendTemplate","revisionNameInputView","11756zWYrZQ","keystrokes","9IriAjV","arrowleft","220","errorText","listenTo","15518480vWCiSM","816QIgeDX","setTemplate","Name of the revision","3147298okUexn","set","form","reset","input"];return(Mt=function(){return t})()}function Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=181]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(971479===parseInt(e(184))/1*(parseInt(e(190))/2)+parseInt(e(201))/3*(-parseInt(e(193))/4)+-parseInt(e(214))/5*(parseInt(e(225))/6)+parseInt(e(204))/7+parseInt(e(212))/8*(-parseInt(e(195))/9)+parseInt(e(200))/10+parseInt(e(217))/11*(-parseInt(e(211))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[Rt(215)];[Rt(194)];[Rt(192)];constructor(e,i){const s=Rt;super(e),this[s(215)]=new t.FocusTracker,this[s(194)]=new t.KeystrokeHandler,this[s(205)](s(183),""),this[s(192)]=this[s(223)](i),this[s(202)]({tag:s(206),attributes:{class:["ck",s(181),s(222)],tabindex:"-1"},children:[this[s(192)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(224)](){const t=Rt;super[t(224)](),(0,pt.submitHandler)({view:this}),this[t(215)][t(220)](this[t(192)][t(189)]),this[t(194)][t(199)](this[t(189)]);const e=e=>e[t(218)]();this[t(194)][t(205)](t(213),e),this[t(194)][t(205)](t(196),e),this[t(194)][t(205)](t(185),e),this[t(194)][t(205)](t(186),e)}[Rt(187)](){const t=Rt;this[t(192)][t(187)]()}get[Rt(209)](){const t=Rt;return this[t(192)][t(219)][t(189)][t(221)][t(188)]()}set[Rt(209)](t){const e=Rt;this[e(192)][e(219)][e(189)][e(221)]=t[e(188)]()}[Rt(207)](){const t=Rt;this[t(192)][t(219)][t(189)][t(221)]="",this[t(192)][t(198)]=null}[Rt(223)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(216)],pt.createLabeledInputText),s=i[e(219)];s[e(191)]({attributes:{maxlength:e(197)}});let n=Q(this[e(216)],e(203));return!t&&(n+=" ("+Q(this[e(216)],e(182))+")"),i[e(210)]=n,s.on(e(208),(()=>{const t=e;this[t(183)]=s[t(189)][t(221)][t(188)]()})),i}}const Vt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=437]})(t,e)}function Ft(){const t=["_showDialog","add","reset","items","isEnabled","menuBar:revisionHistory","48bpMEAq","editor","isReadOnly","894964QDLfOA","saveRevision","revisionName","isPremiumPlugin","Save current revision","revisionHistory.requireRevisionName","Revision history","children","showRevisionViewerCallback","requires","Cancel","2398392ntbzAn","_saveRevisionFormView","menu","hide","Dialog","isOpen","bind","set","menuitem","editing","20228lKISJB","Accept","componentFactory","pluginName","Open revision history","get","The revision name cannot be empty.","ck-button-action","execute","init","role","submit","272797BfUjxD","view","render","buttonView","locale","isReady","_createSaveRevisionFormView","2071233aaizpd","addMany","RevisionTracker","delegate","plugins","1557174bMjjAY","errorText","RevisionHistoryUI","3359305cZngUW","config","focus","revisionSave","panelView","revisionHistory","revisionNameInputView","isOfficialPlugin","_registerMenuComponent","show","150kBUrwK"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(658793===parseInt(e(442))/1+parseInt(e(500))/2+-parseInt(e(466))/3+parseInt(e(489))/4+-parseInt(e(469))/5+-parseInt(e(479))/6*(parseInt(e(454))/7)+-parseInt(e(486))/8*(-parseInt(e(461))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Vt(445)](){return Vt(468)}static get[Vt(476)](){return!0}static get[Vt(492)](){return!0}static get[Vt(498)](){return[ct]}[Vt(501)];[Vt(451)](){const t=Vt,e=this[t(487)],i=e[t(465)][t(447)](t(463));e.ui[t(444)][t(481)](t(474),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(473)][n(496)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(438)](n(484)).to(i,n(459),i,n(484),e,n(488),((t,e,i)=>t&&e&&!i)),r[n(457)][n(439)]({icon:mt.IconHistory,label:Q(s,n(495)),tooltip:!0}),u[n(439)]({label:Q(s,n(493)),withText:!0,role:n(440)}),u[n(438)](n(484)).to(i,n(459),i,n(484),e,n(488),((t,e,i)=>t&&e&&!i)),u.on(n(450),(()=>this[n(480)]())),h[n(439)]({label:Q(s,n(446)),withText:!0,role:n(440)}),h[n(438)](n(484)).to(i,n(459),e,n(488),((t,e)=>t&&!e)),h.on(n(450),(()=>{const t=n;e[t(470)][t(447)](t(474))[t(497)](),r[t(437)]=!1,e[t(441)][t(455)][t(471)]()})),c[n(496)][n(481)](u),l[n(496)][n(481)](h),a[n(452)]=n(502),a[n(483)][n(462)]([c,l]),o[n(481)](a),r})),e.ui[t(444)][t(481)](t(485),(()=>this[t(477)]()))}[Vt(477)](){const t=Vt,e=this[t(487)],i=e[t(458)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(457)][t(439)]({icon:mt.IconHistory,label:Q(i,t(495))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(439)]({label:Q(i,t(493))}),o[t(464)](t(450)).to(s),o.on(t(450),(()=>{this[t(480)]()})),r[t(496)][t(481)](o),n[t(483)][t(481)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(439)]({label:Q(i,t(446))}),c[t(464)](t(450)).to(s),c.on(t(450),(()=>{const i=t;e[i(470)][i(447)](i(474))[i(497)]()})),a[t(496)][t(481)](c),n[t(483)][t(481)](a),s[t(473)][t(496)][t(481)](n),s}[Vt(480)](){const t=Vt,e=this[t(487)],i=e[t(458)],s=e[t(465)][t(447)](t(504)),n=e[t(465)][t(447)](t(463));function r(n){const r=t;e[r(470)][r(447)](r(494))&&""===n[r(491)]?n[r(475)][r(467)]=Q(i,r(448)):(e[r(465)][r(447)](ct)[r(490)]({name:n[r(491)]}),s[r(503)]())}this[t(501)]||(this[t(460)](),this[t(501)].on(t(453),(()=>r(this[t(501)])))),this[t(501)][t(482)](),s[t(478)]({id:t(472),title:Q(i,t(493)),isModal:!0,content:this[t(501)],actionButtons:[{label:Q(e[t(458)],t(499)),withText:!0,onExecute:()=>s[t(503)]()},{label:Q(e[t(458)],t(443)),class:t(449),withText:!0,onCreate(i){const s=t;i[s(438)](s(484)).to(n,s(459),n,s(484),e,s(488),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(501)])}]})}[Vt(460)](){const t=Vt,e=this[t(487)],i=e[t(458)];this[t(501)]=new Dt(i,e[t(470)][t(447)](t(494))),this[t(501)][t(456)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=190]})(t,e)}function zt(){const t=["2184128UcbRdC","65EEpPwW","2724564yGnhXK","180781cgLHVK","ck-revision-change__label","4945878ZdLOxP","changeId","ck-revision-change__","add","data","author","isSuggestion","setTemplate","span","_model","type","set","427563ovWXaE","14JUsMIq","name","Removed by","ck-annotation","Added by","focus","517980MBQKAt","Suggested by","ck-revision-change","element","div","4581766TDYcuK","bindTemplate"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(739817===-parseInt(e(210))/1+-parseInt(e(194))/2*(parseInt(e(193))/3)+-parseInt(e(209))/4+-parseInt(e(208))/5*(-parseInt(e(200))/6)+parseInt(e(205))/7+parseInt(e(207))/8+parseInt(e(212))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Lt(213)];[Lt(190)];constructor(t,e){const i=Lt;super(t),this[i(190)]=e,this[i(213)]=e.id;const s=this[i(206)],n=Q(t,e[i(216)][i(218)]?i(201):i(215)==e[i(191)]?i(198):i(196));this[i(192)](i(191),e[i(191)]),this[i(219)]({tag:i(204),attributes:{class:[i(197),i(202),s.to(i(191),(t=>i(214)+t))],tabindex:-1},children:[{tag:i(220),children:[{tag:i(220),attributes:{class:[i(211)]},children:[{text:n}]},{text:" "+e[i(217)][i(195)]}]}]})}[Lt(199)](){const t=Lt;this[t(203)][t(199)]()}}function Ut(){var t=["52wrPEMm","createdAt","984650PAuQdV","4063654uKqpKE","3399522iFjnjy","rootName","data","17008136vlYKct","148450ZGwkKH","1494064MvUmKQ","5265102zteNnQ","type","author","set","toJSON"];return(Ut=function(){return t})()}function Zt(t,e){var i=Ut();return(Zt=function(t,e){return i[t-=372]})(t,e)}var Ht=Zt;!function(t){for(var e=Zt,i=t();;)try{if(613548===-parseInt(e(384))/1+parseInt(e(376))/2+parseInt(e(386))/3+parseInt(e(382))/4*(parseInt(e(375))/5)+parseInt(e(377))/6+parseInt(e(385))/7+-parseInt(e(374))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends((0,t.ObservableMixin)()){id;[Ht(379)];[Ht(378)];[Ht(373)];[Ht(372)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(379)]=e[i(379)],this[i(378)]=e[i(378)],this[i(373)]=e[i(373)]||{},this[i(372)]=e[i(372)],this[i(380)](i(383),e[i(383)])}[Ht(381)](){var t=Ht;return{id:this.id,authorId:this[t(379)].id,type:this[t(378)],data:this[t(373)],createdAt:this[t(383)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=136]})(t,e)}function Yt(){const t=["296100qCDFCF","1377276tAeNYg","newRevisionId","195251GPZCLA","1064825GiTmxx","add","changes","5097652rBUGqF","1766438eodIeZ","3819225WAtXTp","oldRevisionId","_setChanges"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(710811===-parseInt(e(144))/1+parseInt(e(136))/2+parseInt(e(141))/3+parseInt(e(147))/4+-parseInt(e(137))/5+-parseInt(e(140))/6+-parseInt(e(143))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(142)];[$t(138)];[$t(146)];constructor(e,i){const s=$t;this[s(142)]=e,this[s(138)]=i,this[s(146)]=new t.Collection}[$t(139)](t){const e=$t;for(const i of t)this[e(146)][e(145)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["abs","_refreshStartEndIndex","config","error","diff","execute","element","distance","revision-suggestion:","roots","removeMarker:revision-suggestion","isAtEnd","suggestion","nextPosition","isObject","authors","_changeIdToChange","revision","viewItem","revisionHistory","detachRoot","insert","nextSibling","remove","getClientRects","_cleanMarkers","data","reconvertMarker","isNavigationMode","_findChangeIdFromDomTarget","_initInteractions","ck-revision-history-root--active","commands","getChild","concat","sort","model","elementStart","change:activeView","merge","keys","showStack","writer","createUIElement","target","_setDistance","forEach","isAfter","addRevisionData","modelRange","restoreRevisionCallback","low","bindElementToMarker","ck-suggestion-preview-marker-","item","nodeAfter","level","ck-suggestion-marker","createRange","_makeModelFromTape","941064Tburyo","wrap","isCollapsed","RevisionViewer","deletion","dataDowncast","_step","getRevisionDocumentData","elementEnd","oldRevisionId","ck-editor__editable__overlay","isOfficialPlugin","includes","ck-revision-history-root-remove","isSuggestion","mouseover","uiElement","then","editor","repository","markerToData","getItems","previousPosition","RevisionHistoryUtils","catch","isEnabled","ck-suggestion-marker--active","vid_start","domConverter","consume","numberOfChanges","name","getRevisionRootsAttributes","isLimit","splice","isOnRoot","editingDowncast","isBefore","bind","hasClass","listenTo","change","init","right","_markInsertions","userId","removeMarker","parent","WidgetToolbarRepository","_threeWayMerge","8XffRzf","element:pre","checkAttribute","getRoot","map","_balloon","getRootNames","type","_getRevisionsRange","markerName","plugins","POSITIVE_INFINITY","getAttribute","dataToMarker","_cleanUp","insertion","start","825587dMZsgD","diffData","markers","view","revisionHistoryLabel","31149qfCrVk","startsWith","revision-suggestion","changeId","requires","loadRevisionData","isInline","restoreRevision","_data","endIndex","8bOYPoh","setAttribute","forward","createPositionBefore","indexOf","ck-revision-history-root-","highest","_markMismatchedRemovedTags","consumable","markerToHighlight","document","add","length","getIndex","isAdded","push","findIndex","activeView","ck-suggestion-preview-marker","_removeUnsupportedChanges","getDomRoot","values","affectsData","attributesAfter","upcast","schema","toViewPosition","_getChangeFromId","isRemoveSuggestion","showPreviousChange","code","insertions","_activeViewTarget","filter","addRevision","vid","deletions","_setConversion","toViewElement","top","mapViewToDom","revision:","removeMarker:revision","enqueueChange","getLaterVisibleRevision","createAttributeElement","flat","_fixObsoleteTags","addMarker:revision-suggestion:insertion","_makeTape","pairId","isPremiumPlugin","vid_end","addClass","mousedown","isEqual","isBlock","markersStart","getRevision","unshift","pop","range","selection","refresh","ck-suggestion-marker-merge","createRevision","isReady","domEvent","_getViewForChange","change:numberOfChanges","split","change:isEnabled","_setChanges","revision-viewer","attributes","bottom","mapper","_appendChild","removeClass","isAddSuggestion","_changeView","comment","attachChange","editing","_markSuggestions","stop","addRoot","revisionHistoryAttachChange","first","elementToAttribute","2143728JXOlcg","resolve","markersEnd","isRemoved","maxOffset","_utils","currentChangeNumber","set","updatePosition","return","softBreak","done","adapter","text","attribute:vid","showNextChange","changes","createPositionFromPath","getWalker","addMarker:revision-suggestion:deletion","end","-new","has","get","high","forceDisabled","ck-suggestion-marker-","getCustomProperty","index","markerRange","backward","slice","rootName","createRangeIn","_removeMissingPairs","ck-revision-history-root-add","from","all","markerNameToElements","_processTape","hasAttribute","isAtStart","suggestion:","newRevisionId","attributesBefore","downcastDispatcher","delete","destroy","conversion","locale","compare","shift","unbindElementFromMarkerName","ck-suggestion-marker-split","activeChange","_markMarkers","RevisionsRepository","pluginName","_revisions","left","_getDiff","removeAttribute","side","span","revision-comment:","next","find","object","enableReadOnlyMode","isAttached","517996YPYuJx","string","8452764wAJwYZ","addMarker:revision","_makeModelFromViewString","getAttributes","957855XejjVi","addHighlight","for","change:activeChange","change:isReady","data-change-id","startIndex","isIncorrect","_joinTapes","clear","toViewRange","isContent","observeMarkers","test","_update","_sortAndFilterDiffChanges","offsetSize"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(312224===parseInt(e(576))/1+parseInt(e(334))/2+-parseInt(e(406))/3*(parseInt(e(416))/4)+-parseInt(e(582))/5+parseInt(e(506))/6+-parseInt(e(401))/7*(-parseInt(e(384))/8)+-parseInt(e(578))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Xt(353)];[Xt(518)]=null;[Xt(511)];[Xt(448)];[Xt(496)];[Xt(615)];[Xt(389)];static get[Xt(563)](){return Xt(337)}static get[Xt(345)](){return!0}static get[Xt(467)](){return!0}static get[Xt(410)](){return[Z.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(353)]=this[e(352)][e(394)][e(529)](e(562)),this[e(511)]=this[e(352)][e(394)][e(529)](e(357)),this[e(513)](e(560),null),this[e(513)](e(433),null),this[e(448)]=null,this[e(513)](e(603),null),this[e(513)](e(482),!1),this[e(513)](e(359),!0),this.on(e(487),((t,i,s)=>{const n=e;this[n(560)]=null,this[n(433)]=null,this[n(352)][n(499)][n(404)][n(375)]((t=>{const e=n;for(const i of this[e(352)][e(499)][e(404)][e(426)][e(608)])s?t[e(494)](e(344),i):t[e(469)](e(344),i)}))})),this[e(372)](e(627)).to(this,e(560),(t=>null!==t)),this[e(372)](e(512)).to(this,e(482),this,e(603),this,e(560),((t,i,s)=>t&&s?i[e(522)][e(429)](s):0)),this[e(372)](e(364)).to(this,e(482),this,e(603),((t,i)=>t?i[e(522)][e(428)]:0)),this[e(496)]=null,this[e(615)]=new Map,this[e(389)]=this[e(352)][e(394)][e(529)](pt.ContextualBalloon)}[Xt(376)](){const t=Xt,e=this[t(352)],i=new ne(e,{direction:t(536)}),s=new ne(e,{direction:t(418)});e[t(631)][t(427)](t(445),i),e[t(631)][t(427)](t(521),s),e[t(631)][t(427)](t(413),new se(e)),this.on(t(485),(()=>{const e=t;i[e(479)](),s[e(479)]()})),this[t(453)](),this[t(629)](),e[t(574)](t(489)),e[t(394)][t(528)](t(382))&&e[t(394)][t(529)](t(382))[t(531)](t(489))}async[Xt(341)](t){const e=Xt;return await this[e(511)][e(411)](t,this[e(518)]),this[e(511)][e(341)](t)}async[Xt(366)](t){const e=Xt;return await this[e(511)][e(411)](t,this[e(518)]),this[e(511)][e(366)](t)}async[Xt(556)](t,e,i=!1){const s=Xt;if(!this[s(359)])return;const n=this[s(603)],r=this[s(353)],o=s(577)==typeof t?r[s(474)](t):t,a=s(577)==typeof e?r[s(474)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(603)]&&this[s(603)][s(549)]===c&&this[s(603)][s(343)]===u)return Promise[s(507)]();this[s(482)]=!1,this[s(433)]=null,this[s(560)]=null,this[s(603)]=new Jt(c,u);const l=this[s(392)](o,a,!0)[s(388)]((t=>this[s(511)][s(411)](t,this[s(518)])));return l[s(431)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(543)](l)[s(351)]((()=>{const t=s;if(!this[t(359)])return;this[t(398)]();const e=this[t(566)](c,u);for(const i of e[t(522)])this[t(615)][t(513)](i.id,i);this[t(352)][t(635)][t(459)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(352)][s(635)][s(426)][s(390)]())i[s(619)](t);for(const t of Object[s(314)](e[s(635)])){const n=i[s(502)](t);for(const r of Object[s(314)](e[s(490)][t]))i[s(417)](r,e[s(490)][t][r],n);i[s(620)](e[s(635)][t],n,0)}})),this[t(603)][t(488)](this[t(597)](e[t(522)])),this[t(482)]=!0}))[s(358)]((t=>{const e=s;console[e(602)](t),this[e(398)](),n&&(this[e(603)]=n),this[e(482)]=!0}))}[Xt(322)](t,e){const i=Xt,s=this[i(353)][i(481)](t);return s.on(i(596),((t,i,n)=>e(i,n,s))),this[i(353)][i(450)](s),s}[Xt(398)](){const t=Xt;this[t(560)]=null,this[t(624)](),this[t(496)]&&this[t(496)][t(553)](),this[t(496)]=null,this[t(615)][t(591)](),this[t(352)][t(635)][t(459)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(352)][i(635)][i(426)][i(390)]())e[i(619)](t)}))}[Xt(597)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(352)][e(635)][e(426)][e(390)]()){const n=this[e(352)][e(499)][e(404)][e(436)](t);if(!n)continue;const r=n[e(623)]()[e(328)](0);r&&(i[e(431)](t),s[e(513)](t,r))}return i[e(634)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(449)]((t=>i[e(346)](t[e(538)]))))[e(634)](((t,s)=>i[e(420)](t[e(538)])-i[e(420)](s[e(538)]))),t}[Xt(465)](t){const e=Xt,i=Array[e(542)](t[e(403)])[e(449)]((([t,i])=>t[e(407)](e(457))&&!i[e(336)])),s=Array[e(542)](this[e(352)][e(635)][e(539)](t)[e(524)]({singleCharacters:!0}));if(0!=i[e(428)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(486)](":");if(n[e(526)][e(471)](t[e(612)])&&i[e(557)](),(t[e(356)][e(471)](n[e(400)])||t[e(356)][e(321)](n[e(400)]))&&(e(399)==r?t[e(430)]={userId:o}:e(338)==r&&(t[e(509)]={userId:o})),0==i[e(428)])break}return s}[Xt(600)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(428)];s++)e(519)===t[s][e(391)]?(t[s][e(328)][e(588)]=s,t[s][e(328)][e(415)]=s):(e(636)===t[s][e(391)]?t[s][e(328)][e(588)]=s:e(342)===t[s][e(391)]&&(t[s][e(328)][e(415)]=s),i[e(513)](t[s].id,s));for(const s of i[e(437)]())e(636)===t[s][e(391)]?t[s][e(328)][e(415)]=i[e(529)](t[s][e(466)]):e(342)===t[s][e(391)]&&(t[s][e(328)][e(588)]=i[e(529)](t[s][e(466)]))}[Xt(545)](t){const e=Xt;for(let i=0;i<t[e(428)];i++){if(e(636)===t[i][e(391)])t[i][e(328)][e(588)]=i;else if(e(342)===t[i][e(391)]){t[i][e(328)][e(415)]=i;const s=t[i][e(328)][e(588)];t[s][e(466)]=t[i].id,t[i][e(466)]=t[s].id}else t[i][e(328)][e(588)]=i,t[i][e(328)][e(415)]=i,t[i][e(466)]=null;t[i][e(473)]||(t[i][e(473)]=[],t[i][e(508)]=[])}}[Xt(378)](t,e){const i=Xt,s=t[i(449)]((t=>!t[i(430)]));for(let t=0;t<e[i(428)];t++)e[t][i(430)]&&(s[t][i(430)]=e[t][i(430)])}[Xt(566)](t,e=null){const i=Xt,s=this[i(353)][i(474)](t),n=e?this[i(353)][i(474)](e):null,r=this[i(392)](s,n),o=r[r[i(428)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(428)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(314)](e[i(402)]))if(e[i(402)][t][i(498)]){const s=e[i(402)][t][i(498)];s[i(575)]?(u[i(427)](t),l[i(528)](t)&&l[i(529)](t)[i(379)]==s[i(379)]?l[i(552)](t):l[i(513)](t,s)):l[i(528)](t)?(u[i(552)](t),l[i(552)](t)):(u[i(427)](t),l[i(513)](t,s))}else u[i(427)](t)}for(const t of u){const e=l[i(528)](t)&&!l[i(529)](t)[i(575)];let s=e?r[i(428)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(402)][t]){const s=e?o[i(402)][t][i(550)]:o[i(402)][t][i(439)];c[i(490)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(635)]={};for(const e of t[i(614)])a[i(513)](e.id,e);for(const e of u){const s=t[i(402)][e]?t[i(402)][e][i(447)]:"[]",n=t[i(402)][e]?t[i(402)][e][i(452)]:"[]";t[i(635)][e]={insertions:this[i(511)][i(580)](s),deletions:this[i(511)][i(580)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(542)](s[i(635)][t][i(447)][i(403)])[i(449)]((([t])=>!t[i(407)](i(457)))));let h=0;for(const o of r){const r=this[i(465)](o[i(635)][t][i(447)]);o==s?(e=r,n=e[i(428)],e[i(320)]((t=>{t.id=h++})),this[i(545)](e)):this[i(378)](e,r);const a=e[i(449)]((t=>!t[i(430)]))[i(388)]((t=>t.id));let c=0;const l=this[i(465)](o[i(635)][t][i(452)]);l[i(320)]((t=>{t[i(509)]?t.id=n++:t.id=a[c++]})),this[i(545)](l),this[i(319)](e,i(430)),this[i(319)](l,i(509)),o==s&&this[i(561)](e,u),e=this[i(590)](e,l),this[i(600)](e),this[i(319)](e,i(509))}e=e[i(449)]((t=>!(t[i(430)]&&t[i(509)])));const d=new Map(o[i(635)][t][i(452)][i(403)]),f=new Set(u[i(314)]());for(const t of d[i(314)]())f[i(552)](t);this[i(500)](e,f),this[i(463)](e),e=this[i(540)](e),e=this[i(423)](e),e=this[i(435)](e);const{root:m,changes:p}=this[i(333)](e,a,t);c[i(635)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(379)]),s=new qt({author:e,type:v[i(575)]?i(427):i(622),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(475)](s),c[i(490)][t][i(503)]=s.id}c[i(522)]=c[i(522)][i(633)](p)}return c}[Xt(561)](t,e){const i=Xt;for(let s=0;s<t[i(428)];s++)for(const[n,r]of e)!r[i(336)]&&r[i(400)][i(471)](t[s][i(356)])&&t[s][i(473)][i(431)](n),r[i(526)][i(471)](t[s][i(612)])&&t[s][i(508)][i(431)](n)}[Xt(590)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(428)]||r<e[i(428)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(431)](o);else if(a[i(509)]&&o[i(430)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(383)](t,n,e,r);s=s[i(633)](o),n=a,r=c}else a[i(509)]?(r++,s[i(431)](a)):(n++,s[i(431)](o))}return s}[Xt(500)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(428)];o++){for(let r=0;r<t[o][i(473)][i(428)];r++){const a=t[o][i(473)][r];if(!e[i(528)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(408)!=c||i(399)!=u&&i(338)!=u||(s[i(475)]({type:u,name:a,userId:l}),t[o][i(473)][i(368)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(508)][i(428)];r++){const a=t[o][i(508)][r];if(!e[i(528)](a))continue;const{group:c,type:u}=n(a);if(i(408)!=c||i(399)!=u&&i(338)!=u)continue;t[o][i(508)][i(368)](r,1),r--;const l=s[i(432)]((t=>t[i(365)]==a));l>-1&&s[i(368)](l,1)}}function n(t){const e=i,s=t[e(486)](":");return{group:s[0],type:s[1],subType:s[e(428)]>=5?s[2]:null,id:s[e(428)]<5?s[2]:s[3],authorId:s[e(428)]<5?s[3]:s[4],markerCount:6==s[e(428)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(428)];i++){if(t[e(430)]&&e(399)==s[i][e(391)])return t[e(495)]=s[i],void delete t[e(430)];if(!t[e(430)]&&!t[e(509)]&&e(338)==s[i][e(391)])return void(t[e(444)]=s[i])}}}[Xt(319)](t,e){const i=Xt;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(513)](o.id,s);for(let s=0;s<t[i(428)];s++){if(i(509)==e&&t[s][i(430)]||i(430)==e&&t[s][i(509)])continue;if(i(519)==t[s][i(391)]){t[s][i(606)]=0;continue}const n=r[i(529)](t[s][i(466)]),o=r[i(529)](t[s].id);t[s][i(606)]=n-o}}[Xt(392)](t,e,i=!1){const s=Xt,n=[];let r=this[s(353)][s(429)](t),o=this[s(353)][s(429)](e);for(-1==o&&(o=this[s(353)][s(564)][s(428)],i=!1);r<o;)n[s(431)](this[s(353)][s(474)](r)),r++;return i&&n[s(431)](this[s(353)][s(474)](r)),n}[Xt(383)](t,e,i,s){const n=Xt,r=this[n(352)][n(635)][n(441)];let o=e;for(;t[o]&&t[o][n(430)];)o++;let a=s;for(;i[a]&&i[a][n(509)];)a++;u(t,e,o),u(i,s,a);const c=i[n(537)](s,a)[n(633)](t[n(537)](e,o));return c[n(634)](((t,e)=>t[n(568)]!=e[n(568)]?t[n(568)]-e[n(568)]:t[n(330)]!=e[n(330)]?t[n(330)]-e[n(330)]:t[n(606)]!=e[n(606)]?e[n(606)]-t[n(606)]:!!t[n(430)]!=!!e[n(430)]?-1==t[n(568)]||0==t[n(568)]?t[n(430)]?-1:1:t[n(430)]?1:-1:t[n(534)]-e[n(534)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(395)],c=!0;for(let n=e;n<i;n++)if(r[s(412)](t[n][s(328)])||(c=!1),t[n][s(328)][s(588)]<e&&(o=n),t[n][s(328)][s(415)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(568)]=n<=o?-1:n<a?0:1,t[n][s(534)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(606)]?t[i][s(330)]=u:(u++,t[i][s(330)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(568)]&&(t[n][s(330)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(606)]?t[e][s(330)]=u:(u--,t[e][s(330)]=u,u--)}}[Xt(463)](t){const e=Xt,i=new Map,s=this[e(352)][e(635)][e(441)];for(let n=1;n<t[e(428)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(519)==c[e(391)])continue;if(c[e(391)]!=u[e(391)])continue;if(!s[e(472)](u[e(328)])||s[e(367)](u[e(328)]))continue;if(!s[e(472)](c[e(328)])||s[e(367)](c[e(328)]))continue;if((t[n][e(430)]||t[n][e(495)])&&t[n-1][e(509)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(509)]||!t[n-1][e(430)]&&!t[n-1][e(495)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(330)]==o[e(330)],h=Math[e(599)](r[e(330)])<Math[e(599)](o[e(330)])&&0==o[e(606)];(l||h)&&(i[e(513)](o.id,r.id),t[e(368)](a,1),n--,r[e(430)]=!1)}for(let s=0;s<t[e(428)];s++)i[e(528)](t[s][e(466)])&&(t[s][e(466)]=i[e(529)](t[s][e(466)]))}[Xt(540)](t){const e=Xt,i=new Set(t[e(388)]((t=>t.id)));for(let s=0;s<t[e(428)];s++)i[e(528)](t[s][e(466)])||0==t[s][e(606)]||(t[s][e(589)]=!0);return t[e(449)]((t=>!t[e(589)]))}[Xt(423)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(428)];s++){if(i[e(528)](t[s].id)&&t[s][e(509)]&&(t[s][e(589)]=!0),t[s][e(589)])continue;if(0==t[s][e(606)])continue;if(e(636)!=t[s][e(391)])continue;if(null==t[s][e(466)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(466)];)e(636)==t[n][e(391)]?r++:e(342)==t[n][e(391)]&&r--,n++;if(0!=r)if(t[s][e(509)])t[s][e(589)]=!0;else for(;n!=s;)t[n][e(509)]&&0!=t[n][e(606)]&&(t[n][e(589)]=!0,i[e(427)](t[n][e(466)])),n--}return t[e(449)]((t=>!t[e(589)]))}[Xt(435)](t){const e=Xt,i=this[e(352)][e(635)][e(441)];for(let s=0;s<t[e(428)];s++){if(!(t[s][e(430)]||t[s][e(495)]||t[s][e(509)]||t[s][e(444)]))continue;if(0==t[s][e(606)])continue;const n=t[s][e(328)];i[e(472)](n)||i[e(367)](n)||(t[s][e(430)]&&delete t[s][e(430)],t[s][e(495)]&&delete t[s][e(495)],t[s][e(444)]&&delete t[s][e(444)],t[s][e(509)]&&(t[s][e(589)]=!0))}return t[e(449)]((t=>!t[e(589)]))}[Xt(333)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(352)][s(635)],c=a[s(441)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(428)];e++)if(s(636)===t[e][s(391)]){t[e][s(356)]=a[s(523)](n,f);const i=new H.Element(t[e][s(328)][s(365)],t[e][s(328)][s(581)]());u[0][s(493)](i),f[s(431)](0),u[s(475)](i),t[e][s(612)]=a[s(523)](n,f)}else s(342)===t[e][s(391)]?(u[s(557)](),t[e][s(356)]=a[s(523)](n,f),f[s(476)](),f[f[s(428)]-1]++,t[e][s(612)]=a[s(523)](n,f)):(t[e][s(356)]=a[s(523)](n,f),d?d[s(414)]+=t[e][s(328)][s(625)]:d=new H.Text(t[e][s(328)][s(625)],t[e][s(328)][s(581)]()),t[e+1]&&s(519)===t[e+1][s(391)]&&v(d,t[e+1][s(328)])||(u[0][s(493)](d),d=null),f[f[s(428)]-1]+=t[e][s(328)][s(598)],t[e][s(612)]=a[s(523)](n,f));for(let e=0;e<t[s(428)];e++){const i=t[e][s(356)],n=t[e][s(612)];for(const n of t[e][s(473)])o[s(513)](n,{start:i,end:null});m(s(444),e,i,n),m(s(495),e,i,n),m(s(509),e,i,n),m(s(430),e,i,n);for(const i of t[e][s(508)]){const t=o[s(529)](i);t?t[s(526)]=n:o[s(513)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(352)][s(635)][s(332)](e[s(400)],e[s(526)]);n[s(403)][s(513)](t,i)}return r[s(634)](((t,e)=>{const i=s,r=n[i(403)][i(529)](i(457)+t.id),o=n[i(403)][i(529)](i(457)+e.id);return r[i(400)][i(371)](o[i(400)])?-1:r[i(400)][i(321)](o[i(400)])?1:r[i(526)][i(371)](o[i(526)])?-1:r[i(526)][i(321)](o[i(526)])?1:i(427)===t[i(391)]?-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(379)]:null,d=i===t[o(428)]-1,f=h[e][0],m=c[o(613)](t[i][o(328)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(526)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(379)]!==u&&(l[e][o(526)]=n,f&&f[o(379)]===l[e][o(379)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(636)!==t[i][o(391)]||f&&f[o(379)]===u||h[e][o(475)]({userId:u,object:t[i][o(328)],change:l[e]}),o(342)===t[i][o(391)]&&f&&f[o(573)]===t[i][o(328)]&&(h[e][o(557)](),l[e]=f[o(375)])),l[e]&&d&&(l[e][o(526)]=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(328)],f=a[h(441)][h(472)](d)&&!a[h(441)][h(367)](d),m=t[h(329)]==o[h(381)]&&o[h(547)];if(f&&m)return;const p=a[h(332)](t,o),v=e[h(529)](u),g=new qt({author:v,type:h(430)==l||h(495)==l?h(427):h(622),data:{isSuggestion:h(495)==l||h(444)==l},createdAt:new Date,rootName:i});r[h(431)](g),n[h(403)][h(513)](h(457)+g.id,p)}function v(t,e){const i=s,n=t[i(581)](),r=e[i(581)]();for(const t of n){if(t[1]!==e[i(396)](t[0]))return!1;r[i(571)]()}return r[i(571)]()[i(517)]}}[Xt(453)](){const t=Xt;this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(616)}),this[t(352)][t(554)][t(584)](t(370))[t(425)]({model:t(616),view:e=>{const i=t,s=e[i(393)][i(486)](":")[1],n=this[i(443)](s);if(!n)return null;const r=i(427)==n[i(391)]?i(399):i(338),o=[i(331),i(532)+r];return n[i(625)][i(348)]&&o[i(431)](i(532)+r+i(527)),this[i(560)]==n&&o[i(431)](i(360)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(352)][t(554)][t(584)](t(440))[t(427)]((e=>{const i=t;e.on(i(385),((t,e,s)=>{const n=i,r=e[n(617)][n(632)](0);if(!r||!r.is(n(605),n(446)))return;if(!s[n(424)][n(363)](r,{attributes:[n(361),n(468)]}))return;const o=e[n(323)][n(400)][n(329)];s[n(316)][n(417)](n(361),r[n(396)](n(361)),o),s[n(316)][n(417)](n(468),r[n(396)](n(468)),o)}),{priority:i(325)})})),this[t(352)][t(554)][t(584)](t(440))[t(427)]((e=>{const i=t;e.on(i(605),((t,e,s)=>{const n=i;if(!s[n(424)][n(363)](e[n(617)],{attributes:[n(361),n(468)]}))return;if(e[n(323)][n(336)])return;const r=e[n(323)][n(400)][n(329)];r[n(546)](n(361))||r[n(546)](n(451))||(s[n(316)][n(417)](n(361),e[n(617)][n(396)](n(361)),r),s[n(316)][n(417)](n(468),e[n(617)][n(396)](n(468)),r))}),{priority:i(325)})})),this[t(352)][t(554)][t(584)](t(440))[t(505)]({view:{name:t(569),attributes:{vid:!0}},model:{key:t(451),value:e=>e[t(396)](t(451))}}),this[t(352)][t(635)][t(441)].on(t(386),((e,[,i])=>{const s=t;[s(361),s(468),s(451)][s(346)](i)&&(e[s(515)]=!0,e[s(501)]())}),{priority:t(422)}),this[t(352)][t(554)][t(584)](t(339))[t(427)]((e=>{const i=t;e.on(i(520),((t,e,s)=>{const n=i;if(" "!=e[n(328)][n(625)]||e[n(328)][n(381)][n(510)]>1)return;if(!s[n(424)][n(363)](e[n(328)],t[n(365)]))return;const r=s[n(316)],o=s[n(492)][n(592)](e[n(477)]);r[n(335)](o,r[n(461)](n(569)))}))})),this[t(352)][t(554)][t(584)](t(339))[t(354)]({model:t(616)}),this[t(352)][t(499)][t(551)].on(t(579),function(e){const i=t,s=e[i(394)][i(529)](i(337));return(t,n,r)=>{const o=i,a=n[o(393)][o(486)](":")[1],c=s[o(443)](a);if(!c)return null;const u=o(427)==c[o(391)]?o(486):o(313);if(!r[o(424)][o(595)](n[o(535)],t[o(365)]))return;const l=n[o(535)][o(524)](),h=n[o(535)][o(400)],d=e[o(635)][o(441)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(328)];p=p||d[o(593)](e);const i=r[o(492)][o(454)](e);if(i&&i[o(533)](o(583)))return;o(342)==t[o(391)]&&d[o(472)](e)&&!d[o(367)](e)&&(e[o(621)]||h[o(610)]?f&&f[o(381)]==e||(f=e,g(t[o(356)]),v=!0):m=m||t[o(356)])}function g(t){const e=o,i=r[e(316)][e(317)](e(569),{class:e(532)+u}),a=r[e(492)][e(442)](t);c[e(625)][e(348)]&&r[e(316)][e(469)](e(532)+u+e(527),i),s[e(560)]==c&&r[e(316)][e(469)](e(360),i),r[e(316)][e(620)](a,i),r[e(492)][e(326)](i,n[e(393)])}p||v||!m||g(m)}}(this[t(352)]),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(458),((e,i,s)=>{const n=t,r=s[n(492)][n(544)](i[n(393)]);if(r)for(const t of r)(t[n(373)](n(559))||t[n(373)](n(480)))&&(s[n(492)][n(558)](t,i[n(393)]),s[n(316)][n(622)](t))}),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(579),((e,i,s)=>{const n=t,r=i[n(393)][n(486)](":")[1],o=this[n(443)](r);if(!o)return null;const a=n(427)==o[n(391)]?n(486):n(313);if(s[n(424)][n(595)](i[n(535)],e[n(365)]))for(const t of i[n(535)][n(355)]()){if(!t.is(n(605),n(516)))continue;const e=s[n(316)][n(317)](n(569),{class:n(532)+a}),r=s[n(492)][n(442)](this[n(352)][n(635)][n(419)](t));o[n(625)][n(348)]&&s[n(316)][n(469)](n(532)+a+n(527),e),this[n(560)]==o&&s[n(316)][n(469)](n(360),e),s[n(316)][n(620)](r,e),s[n(492)][n(326)](e,i[n(393)])}}),{priority:t(530)}),this[t(352)][t(635)][t(426)].on(t(375),(()=>{const e=t;this[e(352)][e(499)][e(404)][e(375)]((t=>{const i=e;for(const e of this[i(352)][i(635)][i(426)][i(390)]()){const s=this[i(352)][i(635)][i(426)][i(387)](e),n=this[i(352)][i(499)][i(404)][i(426)][i(387)](e);if(n){const e=s[i(396)](i(503));if(t[i(567)](i(587),n),t[i(494)](i(541),n),t[i(494)](i(347),n),t[i(494)](i(630),n),e){const s=this[i(443)](e);if(!s)return null;t[i(417)](i(587),e,n),t[i(469)](i(421)+s[i(391)],n),this[i(560)]==s&&t[i(469)](i(630),n)}}}}))})),this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(497),model:e=>t(570)+e,converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(440))[t(397)]({view:t(611),model:e=>t(607)+e,converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(339))[t(354)]({model:t(408),view:e=>({name:t(548)+e,group:t(408)}),converterPriority:t(422)}),this[t(352)][t(554)][t(584)](t(370))[t(425)]({model:t(408),view:e=>{const i=t,s=e[i(393)][i(486)](":")[1];return i(399)!=s&&i(338)!=s?null:{classes:[i(434),i(327)+s]}}}),this[t(352)][t(499)][t(551)].on(t(525),ie(this[t(352)],t(313)),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(464),ie(this[t(352)],t(486)),{priority:t(530)}),this[t(352)][t(499)][t(551)].on(t(609),((e,i,s)=>{const n=t,r=s[n(492)][n(544)](i[n(393)]);if(r)for(const t of r)t.is(n(350))&&(s[n(492)][n(558)](t,i[n(393)]),s[n(316)][n(622)](t))}),{priority:t(530)})}[Xt(443)](t){const e=Xt;return this[e(615)][e(529)](t)}[Xt(484)](t){const e=Xt;return this[e(496)]&&this[e(496)][e(553)](),this[e(496)]=new Wt(this[e(352)][e(555)],t),this[e(496)]}[Xt(629)](){const t=Xt;this[t(352)][t(635)][t(426)][t(478)][t(594)](t(616)),this.on(t(312),((e,i,s,n)=>{const r=t;n&&this[r(389)][r(622)](n),s&&(this[r(389)][r(427)]({view:s,stackId:r(405),position:{target:()=>{const t=r,e=this[t(352)][t(499)],i=this[t(443)](s[t(409)]);let n;if(i[t(625)][t(369)]){const s=e[t(404)][t(436)](i[t(538)]);n=Array[t(542)](s[t(623)]())}else{const i=this[t(352)][t(635)][t(403)][t(529)](t(457)+s[t(409)]);n=Array[t(542)](e[t(492)][t(544)](i[t(365)]))[t(388)]((i=>e[t(404)][t(362)][t(456)](i)))[t(388)]((e=>Array[t(542)](e[t(623)]())))[t(462)]()}return this[t(448)]&&n[t(572)]((e=>e[t(455)]-3<=this[t(448)].y&&e[t(491)]+3>=this[t(448)].y&&e[t(565)]-3<=this[t(448)].x&&e[t(377)]+3>=this[t(448)].x))||n[0]}}}),this[r(389)][r(315)](r(405)))})),this.on(t(585),((e,i,s,n)=>{const r=t;this[r(433)]=s?this[r(484)](s):null,this[r(352)][r(635)][r(375)]((()=>{const t=r,e=this[t(352)][t(499)];n&&(n[t(625)][t(369)]?e[t(404)][t(375)]((i=>{const s=t;i[s(494)](s(630),e[s(404)][s(426)][s(387)](n[s(538)]))})):e[t(626)](t(457)+n.id)),s&&(s[t(625)][t(369)]?e[t(404)][t(375)]((i=>{const n=t;i[n(469)](n(630),e[n(404)][n(426)][n(387)](s[n(538)]))})):e[t(626)](t(457)+s.id))}))})),this[t(374)](this[t(352)][t(499)][t(404)][t(426)],t(349),((e,i)=>{const s=t;if(this[s(560)])return;const n=this[s(628)](i[s(318)]),r=this[s(615)][s(529)](n);r?(this[s(448)]={x:i[s(483)].x,y:i[s(483)].y},this[s(433)]=this[s(484)](r)):(this[s(448)]=null,this[s(433)]=null)})),this[t(374)](this[t(352)][t(499)][t(404)][t(426)],t(470),((e,i)=>{const s=t,n=this[s(628)](i[s(318)]),r=this[s(615)][s(529)](n);r?(this[s(448)]={x:i[s(483)].x,y:i[s(483)].y},r===this[s(560)]?this[s(389)][s(514)]():this[s(560)]=r):(this[s(448)]=null,this[s(560)]=null)}))}[Xt(628)](t){const e=Xt;do{const i=t[e(396)](e(587));if(i)return i;t=t[e(381)]}while(t);return null}[Xt(624)](){const t=Xt;this[t(352)][t(635)][t(375)]((e=>{const i=t;for(const t of this[i(352)][i(635)][i(403)])e[i(380)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(424)][r(595)](s[r(535)],i[r(365)]))return;const o=s[r(535)][r(524)](),a=s[r(535)][r(400)],c=t[r(635)][r(441)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(328)];h=h||c[r(593)](e);const i=n[r(492)][r(454)](e);if(i&&i[r(533)](r(583)))return;r(342)==t[r(391)]&&c[r(472)](e)&&!c[r(367)](e)&&(e[r(621)]||a[r(610)]?u&&u[r(381)]==e||(u=e,f(t[r(356)]),d=!0):l=l||t[r(356)])}function f(t){const i=r,o=n[i(492)][i(442)](t),a=n[i(316)][i(317)](i(569),{class:i(327)+e});n[i(316)][i(620)](o,a),n[i(492)][i(326)](a,s[i(393)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(394)][e(529)](ee);this[e(438)]=!1,this[e(374)](i,e(586),(()=>this[e(479)]())),this[e(374)](i,e(487),(()=>this[e(479)]()))}[Xt(604)](){const t=Xt,e=this[t(352)],i=e[t(394)][t(529)](ee),s=i[t(482)]?i[t(603)][t(549)]:null;e[t(601)][t(529)](t(618))[t(324)](s)}[Xt(479)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(352)][t(394)][t(529)](ee),r=n&&s[t(460)](n[t(549)]);this[t(359)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(340)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(394)][i(529)](ee);this[i(438)]=!1,this[i(340)]=i(418)===e?1:-1,this[i(374)](s,i(586),(()=>this[i(479)]())),this[i(374)](s,i(487),(()=>this[i(479)]())),this[i(374)](s,i(585),(()=>this[i(479)]()))}[Xt(604)](){const e=Xt,i=this[e(352)],s=i[e(394)][e(529)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(560)]=n?s[e(603)][e(522)][e(529)](r+this[e(340)]):s[e(603)][e(522)][e(504)],s[e(560)][e(625)][e(369)])o=i[e(499)][e(404)][e(436)](s[e(560)][e(538)]);else{const t=i[e(635)][e(403)][e(529)](e(457)+s[e(560)].id);o=(0,Z.getMarkerDomElement)(i[e(499)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(479)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(352)][t(394)][t(529)](ee);this[t(359)]=!!(r&&n&&s)&&(!e||(1===this[t(340)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["_isStatusLabelVisible","forward","192SWWrZq","isReady","isEnabled","NUMBER_OF_CHANGES","Show next change","bind","1016391JzjsSL","ck-revision-history-ui","Loading...","344kdGONH","execute","9095155TWyLFX","X_OF_Y_CHANGES","backward","isForwardNavigationEnabled","No changes","98121lSoYyO","12285728sXfJcC","ck-revision-history-ui__changes-navigation","690399lrNkwX","span","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","9148806hhLgBh","fire","ck-hidden","3588078YCPaDS","_statusText","div","Total","setTemplate","isBackwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label","isNavigationMode","bindTemplate","Show previous change","set","numberOfChanges"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(917557===-parseInt(e(395))/1+parseInt(e(416))/2+-parseInt(e(405))/3*(parseInt(e(431))/4)+-parseInt(e(400))/5+-parseInt(e(413))/6+parseInt(e(406))/7+parseInt(e(398))/8*(parseInt(e(408))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(425)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(427)](e(424),!1),this[e(427)](e(432),!1),this[e(427)](e(412),0),this[e(427)](e(428),0),this[e(427)](e(403),!1),this[e(427)](e(421),!1),this[e(436)](e(429)).to(this,e(432),this,e(428),((t,e)=>t&&e>0)),this[e(436)](e(417)).to(this,e(432),this,e(412),this,e(428),this,e(424),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(397));if(!n)return Q(t,o(404));const a=Q(t,o(434),n);return r?Q(t,o(401),[s+1,n]):a})),s[e(427)]({label:Q(t,e(426)),tooltip:!0,icon:mt.IconChevronUp}),n[e(427)]({label:Q(t,e(435)),tooltip:!0,icon:mt.IconChevronDown}),s[e(436)](e(433)).to(this,e(421)),n[e(436)](e(433)).to(this,e(403)),s.on(e(399),(()=>this[e(414)](e(399),e(402)))),n.on(e(399),(()=>this[e(414)](e(399),e(430)))),this[e(420)]({tag:e(418),attributes:{class:["ck",e(396),e(407)]},children:[{tag:e(409),attributes:{class:[e(411)]},children:[{tag:e(409),attributes:{class:[e(423),i.if(e(429),e(415),(t=>!t))]},children:[{text:i.to(e(424),(i=>i?Q(t,e(422))+": ":Q(t,e(419))+": "))}]},{text:i.to(e(417))}]},new pt.ToolbarSeparatorView,{tag:e(418),attributes:{class:[e(410)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;function fe(){const t=["3gNHLqA","change","3927832vrtyHF","249489JvVCzq","420jbIOWQ","2857340Xvabjd","document","isPremiumPlugin","pluginName","roots","4608112lZPNbD","4397841jqawuH","7800QTEoeE","view","addClass","editor","isOfficialPlugin","show","removeClass","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","3641675YsmgDu","hide","editing","1AeRjvU"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(961237===-parseInt(e(265))/1*(-parseInt(e(271))/2)+-parseInt(e(266))/3*(parseInt(e(251))/4)+parseInt(e(262))/5+parseInt(e(253))/6+parseInt(e(252))/7+parseInt(e(268))/8+parseInt(e(269))/9*(-parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(261);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=248]})(t,e)}class ve extends U.Plugin{static get[de(249)](){return de(260)}static get[de(257)](){return!0}static get[de(248)](){return!0}[de(258)](){const t=de,e=this[t(256)][t(264)][t(254)];e[t(267)]((i=>{const s=t;for(const t of e[s(272)][s(250)])i[s(255)](me,t)}))}[de(263)](){const t=de,e=this[t(256)][t(264)][t(254)];e[t(267)]((i=>{const s=t;for(const t of e[s(272)][s(250)])i[s(259)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=359]})(t,e)}function ke(){const t=["plugins","closeRevisionViewerCallback","isEnabled","Restore this revision","4hSnwOn","isBackwardNavigationEnabled","get","2597706IstBzB","revisionHistory","1037893IynSDz","commands","requires","Back to editing","910iwGjif","currentChangeNumber","componentFactory","14301MaMzVS","execute","33294ctreoi","showPreviousChange","init","editor","config","change:isReady","set","isNavigationMode","ck-revision-history-ui__back-to-editing","listenTo","numberOfChanges","isForwardNavigationEnabled","forward","exitToEditing","show","RevisionViewerUI","add","56smDWuR","5626895JZqnUA","2580472HbxqGM","isReady","isOfficialPlugin","2yoUDfL","hide","changesNavigation","bind","isPremiumPlugin","restoreRevision","pluginName","3805725DbuurW","showNextChange"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(654793===-parseInt(e(405))/1*(-parseInt(e(387))/2)+parseInt(e(403))/3+-parseInt(e(400))/4*(parseInt(e(383))/5)+-parseInt(e(365))/6*(-parseInt(e(382))/7)+parseInt(e(384))/8+-parseInt(e(363))/9*(parseInt(e(360))/10)+-parseInt(e(394))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(393)](){return ge(380)}static get[ge(386)](){return!0}static get[ge(391)](){return!0}static get[ge(407)](){return[ee,ve]}[ge(367)](){const t=ge,e=this[t(368)],i=e[t(396)][t(402)](ee),s=e[t(396)][t(402)](ve);e.ui[t(362)][t(381)](t(378),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(371)]({label:Q(i,s(359)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(373)}),this[s(374)](n,s(364),(()=>{const t=s;e[t(369)][t(402)](t(404))[t(397)]()})),n})),e.ui[t(362)][t(381)](t(392),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(371)]({label:Q(i,s(399)),withText:!0,tooltip:!0}),n[s(390)](s(398)).to(e[s(406)][s(402)](s(392))),this[s(374)](n,s(364),(()=>e[s(364)](s(392)))),n})),e.ui[t(362)][t(381)](t(389),(s=>{const n=t,r=new ue(s),o=e[n(406)][n(402)](n(366)),a=e[n(406)][n(402)](n(395));return r[n(390)](n(401)).to(o,n(398)),r[n(390)](n(376)).to(a,n(398)),r[n(390)](n(385),n(361),n(375),n(372)).to(i),this[n(374)](r,n(364),((t,i)=>{const s=n;e[s(364)](s(377)===i?s(395):s(366))})),r})),s[t(379)](),i.on(t(370),((e,i,n)=>{const r=t;n?s[r(388)]():s[r(379)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=427]})(t,e)}const Se=Ie;function Oe(){const t=["set","render","bindTemplate","ck-revision-history-sidebar__revision-name","2IUsyou","span","extendTemplate","clientWidth","1787250WbQdkg","element","_updateTooltipText","placeholder","value","_resizeObserver","ck-tooltip_multi-line","destroy","830638pbkSvw","24WkEDdX","29260090xoeKWJ","9425339SdVErY","Enter the revision name","200zqSsJb","scrollWidth","_tooltipString","fieldView","1725564ncVtdD","518553lXeEMP","input","6923124DsUyWv","Revision name","listenTo"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(965738===parseInt(e(429))/1*(parseInt(e(448))/2)+parseInt(e(438))/3+-parseInt(e(441))/4+-parseInt(e(452))/5*(-parseInt(e(430))/6)+parseInt(e(432))/7+parseInt(e(434))/8*(parseInt(e(439))/9)+-parseInt(e(431))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(457)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(446)];this[i(444)]({label:Q(t,i(442)),_tooltipString:""}),this[i(437)][i(455)]=Q(t,i(433)),this[i(450)]({tag:i(449),attributes:{class:[i(447)],"data-cke-tooltip-text":s.to(i(436)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(427)}})}[Se(445)](){const e=Se;super[e(445)](),this[e(457)]=new t.ResizeObserver(this[e(437)][e(453)],(()=>this[e(454)]())),this[e(443)](this[e(437)],e(440),(()=>this[e(454)]()))}[Se(428)](){const t=Se;super[t(428)](),this[t(457)]&&this[t(457)][t(428)]()}[Se(454)](){const t=Se,e=this[t(437)][t(453)];this[t(436)]=e[t(435)]>e[t(451)]&&e[t(456)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Me();return(Ae=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(935420===-parseInt(e(448))/1*(parseInt(e(438))/2)+-parseInt(e(440))/3+-parseInt(e(439))/4+-parseInt(e(446))/5*(-parseInt(e(443))/6)+parseInt(e(452))/7+parseInt(e(444))/8+parseInt(e(454))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Re extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(451)]({content:mt.IconUser,viewBox:s(437)});const r=["ck",s(447)];i&&r[s(441)](s(455));const o=[{tag:s(456),attributes:{class:["ck",s(445)],title:Q(t,s(i?442:449))},children:[n,e[s(453)]]}];this[s(450)]({tag:"li",attributes:{class:r},children:o})}}function Me(){const t=["18324SIkeel","9259632OYOQhh","ck-revision-history-sidebar__revision-author__name","125uhbjQx","ck-revision-history-sidebar__revision-author","660851TqwcLv","Revision author","setTemplate","set","2054192uCguaD","name","15063894YeDesz","ck-revision-history-sidebar__revision-author_creator","span","0 0 11 10","2MohtjE","1004292RoYFNZ","4061046sVvJHN","push","Revision creator"];return(Me=function(){return t})()}function Ee(t,e){var i=De();return(Ee=function(t,e){return i[t-=270]})(t,e)}function De(){var t=["2218065wMcxgb","10TvkMTD","1820346XVdObS","126AsGShZ","10BQAeDM","524792InoTcN","long","15656JuechC","7466753wmPNIT","numeric","toLocaleDateString","1984774sKHtey","354300XVhHdT","104BzYdOc","toLocaleTimeString"];return(De=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(560823===-parseInt(e(278))/1*(-parseInt(e(272))/2)+-parseInt(e(280))/3+-parseInt(e(277))/4+parseInt(e(284))/5*(parseInt(e(282))/6)+parseInt(e(273))/7+-parseInt(e(270))/8*(parseInt(e(283))/9)+parseInt(e(281))/10*(-parseInt(e(276))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(){const t=["name","_action","isOpen","55AMqdnv","change:isActionsDropdownOpen","execute","bindTemplate","locale","708171BUUZef","listenTo","action","children","11417976kQzeKD","12eWyYpi","isEnabled","4189024kNCujP","source","isActionsDropdownOpen","Restore this revision","isReady","isVisible","find","class","menu","3HXpcte","set","Show more items","407324vWXEds","Name this revision","items","ck-on","menuitem","stopPropagation","Compare against selected","listView","extendTemplate","buttonView","function","add","2842760GpoTwm","model","8uHFtpy","map","ck-revision-history-sidebar__revision__actions","4565140zigWUK","1146320lFCYjg","button","first","bind","panelPosition"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(958472===parseInt(e(469))/1+-parseInt(e(456))/2+-parseInt(e(435))/3*(-parseInt(e(438))/4)+parseInt(e(450))/5*(parseInt(e(474))/6)+parseInt(e(476))/7+parseInt(e(452))/8*(parseInt(e(473))/9)+-parseInt(e(455))/10*(parseInt(e(464))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function We(){const t=["ck-revision-history-sidebar__revision__date","_createdAtFormatted","4ZeewHI","ck-revision-history-sidebar__revision","220","isReady","render","ck-revision-history-sidebar__revision__controls-wrapper","_requireRevisionName","ck-revision-history-sidebar__actions_dropdown_open","name","unhighlight","isSelected","setTemplate","authors","1168696KoJKcY","revisionActionsView","110MUfSMi","ck-disabled","createdAt","closest","ck-revision-history-sidebar__revision-wrapper","isEnabled","element","div","set","7397610cEBoZe","isActionsDropdownOpen","fieldView","creator","ck-revision-history-sidebar__revision-authors","length","_revision","listenTo","isConfirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","ck-revision-history-sidebar__revision_highlighted","592204eFaUhM","deselect","span","bind","4119138HtcBLY","3140575BJIRgt","extendTemplate","change","1QFDVum",".ck-thread__remove-confirm","fire","ck-reset","from","ck-revision-history-sidebar__revision_selected","srcElement","select","uiLanguage","unshift","bindTemplate","value","setName","highlight","23652MvScsX","filter","map","7vQrMAh","1176177esaPDM","isHighlighted"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=223]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(517782===-parseInt(e(275))/1*(-parseInt(e(267))/2)+parseInt(e(227))/3*(-parseInt(e(231))/4)+-parseInt(e(272))/5+parseInt(e(271))/6+-parseInt(e(226))/7*(parseInt(e(244))/8)+-parseInt(e(223))/9*(-parseInt(e(246))/10)+parseInt(e(255))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(265)];[ze(245)];[ze(261)];[ze(237)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(285)],a=function(t,e){const i=r,s=Array[i(279)](e[i(243)])[i(224)]((t=>t!=e[i(258)]));return e[i(258)]&&s[i(284)](e[i(258)]),s[i(225)]((s=>new Re(t,s,s==e[i(258)])))}(e,i);this.id=i.id,this[r(261)]=i,this[r(237)]=n,this[r(270)](r(239),r(248)).to(i),this[r(270)](r(230)).to(this,r(248),(t=>{return i=e[r(283)],(s=t)[(n=Ee)(275)](i,{month:n(271),day:n(274)})+", "+s[n(279)](i,{hour:n(274),minute:n(274)});var i,s,n})),this[r(254)](r(241),!1),this[r(254)](r(228),!1),this[r(254)](r(256),!1),this[r(254)](r(234),!1),this[r(254)](r(251),!1),this[r(265)]=new Te(e,pt.createLabeledInputText),this[r(265)][r(257)][r(273)]({attributes:{maxlength:r(233)}}),this[r(265)][r(257)][r(270)](r(286)).to(this,r(239),(t=>t||this[r(230)])),this[r(265)][r(270)](r(251)).to(this,r(241),this,r(251),((t,e)=>t&&e)),this[r(245)]=s&&s[r(260)]?function(e,i){const s=je,n=e[s(467)],r=e[s(468)],o=(0,pt.createDropdown)(r);o[s(460)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(468)],n={"Compare against selected":Q(s,i(444)),"Name this revision":Q(s,i(439)),"Restore this revision":Q(s,i(429))};return e[i(453)]((t=>{const e=i,s=n[t[e(461)]];return s&&s!==t[e(461)]&&(t[e(461)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(457),model:new pt.ViewModel({label:t[n(461)],class:t[n(433)],withText:!0,role:n(442),_action:t[n(471)]})};i[n(451)][n(459)](n(475)).to(e,n(478),(i=>n(448)!=typeof t[n(475)]||!i||t[n(475)](e))),o[n(449)](i)}return o}(e,i);return e[s(459)](s(478)).to(o,s(463)),o[s(447)][s(436)]({label:Q(r,s(437)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(446)]({attributes:{class:[s(454),n.if(s(478),s(441))]},on:{click:n.to((t=>t[s(443)]()))}}),o.on(s(466),(t=>{const i=s;e[i(430)]&&i(448)==typeof t[i(477)][i(462)]&&t[i(477)][i(462)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(434)}),o[s(470)](e,s(465),((t,n,r)=>{const a=s;if(r)for(const t of o[a(445)][a(440)]){const s=t[a(472)][a(458)],n=i[a(432)]((t=>t[a(471)]===s[a(462)]))[a(431)];t[a(431)]=void 0===n||n(e)}})),o}(this,s):"",this[r(245)]&&this[r(245)][r(270)](r(251)).to(this),this[r(242)]({tag:r(253),attributes:{class:["ck",r(278),r(250),o.if(r(263),r(264))]},children:[{tag:r(253),attributes:{class:["ck",r(278),r(232),o.if(r(251),r(247),(t=>!t)),o.if(r(241),r(280)),o.if(r(228),r(266)),o.if(r(256),r(238))]},children:[this[r(265)],{tag:r(269),attributes:{class:["ck",r(229)]},children:[{text:o.to(r(230))}]},{tag:r(253),attributes:{class:["ck",r(236)]},children:[{tag:"ul",attributes:{class:["ck",r(259)]},children:a}]},this[r(245)]],on:{click:o.to((t=>{const e=r;t[e(281)][e(249)](e(276))||this[e(234)]&&this[e(251)]&&this[e(277)](e(282),{id:this.id})}))}}]})}[ze(235)](){const t=ze;super[t(235)]();const e=this[t(265)][t(257)][t(252)];this[t(262)](e,t(274),(()=>{const i=t;this[i(237)]&&!e[i(286)]||this[i(277)](i(287),{id:this.id,name:e[i(286)]}),e[i(286)]||(e[i(286)]=this[i(239)]?this[i(239)]:this[i(230)])}))}[ze(282)](){this[ze(241)]=!0}[ze(268)](){this[ze(241)]=!1}[ze(288)](){this[ze(228)]=!0}[ze(240)](){this[ze(228)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Mi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Di={};let Vi={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ai.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=Ei(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Di={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Ms(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Mr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 Qr(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.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=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=218]})(t,e)}function ro(){const t=["monthLong","setLocale","19656330JjUeBh","startOf","247167BJvAbc","week","2274bnbFOx","fromJSDate","day","6dBNEwv","160iApQFx","local","179354aOEbJs","weekdayLong","1779064aGactL","minus","616413MfmDlD","3170VFeuoE","hasSame","month","toJSDate","4527135XxBNjE","toRelativeCalendar","year"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(240)](t)[i(234)](e),n=io[i(220)](),r=n[i(224)]({days:1})[i(236)](i(241));let o,a;return s[i(227)](n,i(241))?(o=s[i(236)](i(241))[i(229)](),a=s[i(231)]()):s[i(227)](r,i(241))?(o=r[i(229)](),a=s[i(231)]()):s[i(227)](n,i(238))?(o=s[i(236)](i(238))[i(229)](),a=s[i(222)]||""):s[i(227)](n,i(232))?(o=s[i(236)](i(228))[i(229)](),a=s[i(233)]||""):(o=s[i(236)](i(232))[i(229)](),a=String(s[i(232)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(376452===-parseInt(e(225))/1+-parseInt(e(218))/2*(-parseInt(e(237))/3)+-parseInt(e(223))/4+-parseInt(e(226))/5*(-parseInt(e(239))/6)+-parseInt(e(221))/7*(parseInt(e(219))/8)+-parseInt(e(230))/9+parseInt(e(235))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;!function(t){const e=ho,i=t();for(;;)try{if(674004===parseInt(e(371))/1+parseInt(e(377))/2*(parseInt(e(369))/3)+-parseInt(e(383))/4*(-parseInt(e(374))/5)+-parseInt(e(354))/6*(-parseInt(e(360))/7)+parseInt(e(375))/8*(-parseInt(e(362))/9)+-parseInt(e(370))/10*(parseInt(e(368))/11)+parseInt(e(357))/12*(-parseInt(e(349))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class lo extends pt.View{[uo(380)];[uo(359)];[uo(378)];[uo(379)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(351)][n(356)])[n(353)];this[n(380)]=e,this[n(359)]=this[n(365)](),this[n(378)]=i,this[n(379)]=s,this[n(359)][n(366)](n(358)).to(this),this[n(359)][n(366)](n(364)).to(this),this[n(367)]({tag:n(373),attributes:{class:["ck",n(361)]},children:[{tag:n(376),attributes:{class:["ck",n(355)]},children:[{text:r}]},{tag:n(373),attributes:{class:["ck",n(350)]},children:this[n(359)]}]})}[uo(372)](t){const e=uo,i=new Ze(this[e(351)],t,this[e(378)],this[e(379)]);this[e(359)][e(363)](i)}[uo(381)](t){const e=uo,i=this[e(359)][e(352)]((e=>e.id===t.id));this[e(359)][e(382)](i)}}function ho(t,e){const i=fo();return(ho=function(t,e){return i[t-=349]})(t,e)}function fo(){const t=["11ngsLaM","3814485vLdxgQ","7337690OAwYGU","1070095iEvLRd","addRevision","div","1157295dkVxRy","8IEfXNE","span","2yZDQBF","_revisionActions","_requireRevisionName","startDate","removeRevision","remove","16ldgVQx","13wFfJwO","ck-revision-history-sidebar__time-period__revisions","locale","find","localizedPeriodName","474nFBPtt","ck-revision-history-sidebar__time-period__label","uiLanguage","16200696SrXhLF","select","revisionViews","13342BOIBHZ","ck-revision-history-sidebar__time-period","5941521xFoFrd","add","setName","createCollection","delegate","setTemplate"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["20810TtGQDt","766289VxyhnD","setTemplate","Revision history","10gbkOkZ","ck-revision-history-sidebar__header__label","18hbjGEe","content","ck-revision-history-sidebar__header","13990368sGgMuk","2526cxaMuX","div","span","43751781FoHIin","248379jbUtOF","3508836FbpWkJ","ck-reset_all","11117596adXiMg"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(881040===-parseInt(e(353))/1+parseInt(e(358))/2*(-parseInt(e(366))/3)+-parseInt(e(367))/4+parseInt(e(370))/5*(-parseInt(e(362))/6)+-parseInt(e(369))/7+parseInt(e(361))/8+-parseInt(e(365))/9*(-parseInt(e(356))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(359)]=mt.IconHistory,this[e(354)]({tag:e(363),attributes:{class:["ck",e(368),e(360)]},children:[i,{tag:e(364),attributes:{class:["ck",e(357)]},children:[Q(t,e(355))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=481]})(t,e)}function Io(){const t=["3413170TFaTGF","10587808gTKDxa","get","addRevision","13043120dmGsFY","4190295eLrYjE","deselect","17079249BeuaXt","map","div","37657gRaNjM","remove","createCollection","bindTemplate","render","add","flat","highlight","set","revisionViews","delegate","setTemplate","4pquDGj","157094xASXcE","revisionSelected","9pWJdQm","_requireRevisionName","_getTimePeriodViewByStartDate","setName","removeRevision","_revisions","getTime","unhighlight","_removeRevision","_revisionActions","ck-revision-history-sidebar","318WEKwJD","find","some","highlightRevisions","ck-rounded-corners","fire","timePeriodViews","ck-reset","ck-disabled","startDate","createdAt","revisionSetName","86RBsFIu","selectRevision","ck-revision-history-sidebar__timeline","isEnabled","_addRevision","locale","select","uiLanguage"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(842545===-parseInt(e(495))/1*(parseInt(e(533))/2)+-parseInt(e(490))/3*(-parseInt(e(507))/4)+parseInt(e(485))/5+parseInt(e(521))/6*(-parseInt(e(508))/7)+parseInt(e(486))/8+-parseInt(e(510))/9*(parseInt(e(489))/10)+parseInt(e(492))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(527)];[wo(515)];[wo(519)];[wo(511)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(498)];this[n(527)]=this[n(497)](),this[n(527)][n(505)](n(483)).to(this),this[n(527)][n(505)](n(513)).to(this),this[n(515)]=e,this[n(519)]=i,this[n(511)]=s,this.on(n(483),((t,e)=>{const i=n;this[i(526)](i(509),e)})),this.on(n(513),((t,e)=>{const i=n;this[i(526)](i(532),e)})),this[n(503)](n(536),!1),this[n(506)]({tag:n(494),attributes:{class:["ck",n(528),n(525),n(520)]},children:[new yo(t),{tag:n(494),attributes:{class:["ck",n(535),r.if(n(536),n(529),(t=>!t))]},children:this[n(527)]}]})}[wo(499)](){const t=wo;super[t(499)]();for(const e of this[t(515)])this[t(481)](e);this[t(515)].on(t(500),((e,i)=>{this[t(481)](i)})),this[t(515)].on(t(496),((e,i)=>{this[t(518)](i)}))}get[wo(504)](){const t=wo;return this[t(527)][t(493)]((e=>e[t(504)][t(493)]((t=>t))))[t(501)]()}[wo(534)](t){const e=wo;for(const i of this[e(504)])t&&t.id===i.id?i[e(483)]():i[e(491)]()}[wo(524)](t){const e=wo;for(const i of this[e(504)])t[e(523)]((({id:t})=>t===i.id))?i[e(502)]():i[e(517)]()}[wo(481)](t){const e=wo,i=oo(t[e(531)],this[e(482)][e(484)])[e(530)];let s=this[e(527)][e(487)](0);s&&s[e(530)][e(516)]()===i[e(516)]()||(s=new lo(this[e(482)],i,this[e(519)],this[e(511)]),this[e(527)][e(500)](s)),s[e(488)](t)}[wo(518)](t){const e=wo,i=oo(t[e(531)],this[e(482)][e(484)])[e(530)];this[e(512)](i)[e(514)](t)}[wo(512)](t){const e=wo;return this[e(527)][e(522)]((i=>i[e(530)][e(516)]()===t[e(516)]()))}}function Oo(t,e){const i=No();return(Oo=function(t,e){return i[t-=410]})(t,e)}const To=Oo;!function(t){const e=Oo,i=t();for(;;)try{if(891477===parseInt(e(459))/1+parseInt(e(458))/2+parseInt(e(475))/3+parseInt(e(430))/4+parseInt(e(457))/5+parseInt(e(490))/6*(parseInt(e(417))/7)+-parseInt(e(461))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[To(411)];[To(456)];[To(471)];static[To(434)]=[To(470),To(447),To(466)];static[To(419)]=function(){const t=To;return{compareAgainstSelected:{name:t(467),action:({plugins:e},i)=>{const s=t,n=e[s(479)](ee),r=n[s(462)];let o=n[s(484)][s(414)],a=i.id;r[s(425)](o)>r[s(425)](a)&&([o,a]=[a,o]),n[s(474)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(479)](ee);return!(n[s(462)][s(415)](n[s(484)])[s(438)]>2||i[s(450)])}},restoreRevision:{name:t(423),action:(e,{id:i})=>{const s=t;e[s(410)][s(479)](s(435))[s(468)](i)},isVisible:({plugins:e},i)=>!!e[t(479)](ee)[t(462)][t(454)](i.id)},nameRevision:{name:t(440),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(479)](ee),o=r[n(462)][n(416)](i);r[n(474)](i,o),s[n(481)](),s[n(439)][n(448)]()}}}}();static get[To(455)](){return To(483)}static get[To(473)](){return!0}static get[To(489)](){return!0}static get[To(429)](){return[ee]}constructor(t){const e=To;super(t),this[e(411)]=t[e(437)][e(479)](ee),this[e(456)]=this[e(411)][e(462)],this[e(471)]=null}[To(427)](){const t=To,e=this[t(456)][t(452)],i=this[t(436)](),s=this[t(433)][t(410)][t(479)](t(446));this[t(471)]=new So(this[t(433)][t(445)],e,i,this[t(433)][t(410)][t(479)](t(478))),this[t(471)].on(t(487),this[t(432)][t(441)](this)),this[t(471)].on(t(421),this[t(472)][t(441)](this)),this[t(471)][t(441)](t(424)).to(this[t(411)]),this[t(471)][t(422)].on(t(412),((e,i)=>{const s=t;i[s(477)].on(s(412),((t,e)=>{const i=s;e[i(441)](i(424),i(488)).to(this[i(411)])}))})),this[t(471)][t(442)](),this[t(480)](this[t(433)][t(431)],t(418),this[t(449)][t(441)](this)),this[t(480)](this[t(411)],t(469),this[t(451)][t(441)](this)),s[t(465)](this[t(471)][t(428)])}[To(413)](){const t=To;this[t(471)][t(428)][t(482)](),this[t(471)][t(413)]()}[To(449)](){const t=To,e=this[t(456)][t(476)](0);if(e){const i=this[t(456)][t(416)](e.id);this[t(411)][t(474)](e,i)}}[To(432)](t,e){const i=To,s=this[i(456)][i(476)](e.id),n=this[i(456)][i(416)](s.id);this[i(411)][i(474)](s,n)}[To(472)](t,e){const i=To;this[i(456)][i(476)](e.id)[i(426)](e[i(453)])}[To(451)](t,e,i){const s=To,n=this[s(456)][s(415)](i);n[s(438)]>2?(this[s(471)][s(460)](n),this[s(471)][s(464)](null)):(this[s(471)][s(460)]([]),this[s(471)][s(464)](n[0]))}[To(436)](){const t=To,e=this[t(433)],i=xo[t(419)],s=e[t(410)][t(479)](t(485))||xo[t(434)];if(s[t(438)])return s[t(486)]((s=>{const n=t,r=n(444)==typeof s?Object[n(420)]({},i[s]):s;return r[n(463)]=r[n(463)][n(441)](this,e),r[n(443)]&&(r[n(443)]=r[n(443)][n(441)](this,e)),r}))}}function No(){const t=["Restore this revision","isEnabled","getIndex","setName","init","element","requires","5347380MgDCuR","data","_handleRevisionSelected","editor","defaultRevisionActions","revisionHistory","_createRevisionActions","plugins","length","fieldView","Name this revision","bind","render","isVisible","string","locale","revisionHistory.viewerSidebarContainer","restoreRevision","select","_handleEditorDataReady","isSelected","_handleDiffChange","_revisions","name","getLaterVisibleRevision","pluginName","_revisionsRepository","7212100aWXPwR","1794400yItOnx","53353oJqFTF","highlightRevisions","38510176OqUMZL","repository","action","selectRevision","appendChild","nameRevision","Compare against selected","restoreRevisionCallback","change:diff","compareAgainstSelected","_sidebarView","_handleRevisionSetName","isOfficialPlugin","compare","4213890YavAYZ","getRevision","revisionViews","revisionHistory.requireRevisionName","get","listenTo","focus","remove","RevisionsSidebar","diff","revisionHistory.revisionActions","map","revisionSelected","isReady","isPremiumPlugin","198WHIXNe","config","_revisionViewer","add","destroy","newRevisionId","getRevisionsInDiff","getEarlierVisibleRevision","121079nciJUi","ready","availableRevisionActions","assign","revisionSetName","timePeriodViews"];return(No=function(){return t})()}const Ao=xo,Ro=Mo;function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(683497===parseInt(e(123))/1*(-parseInt(e(139))/2)+-parseInt(e(128))/3*(-parseInt(e(159))/4)+-parseInt(e(141))/5*(-parseInt(e(130))/6)+-parseInt(e(153))/7+parseInt(e(152))/8*(parseInt(e(119))/9)+parseInt(e(138))/10*(parseInt(e(133))/11)+-parseInt(e(134))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends pt.EditorUI{[Ro(137)];[Ro(157)];[Ro(164)];get[Ro(142)](){return this[Ro(137)]}constructor(e,i){const s=Ro;super(e),this[s(137)]=i,this[s(157)]=(0,pt.normalizeToolbarConfig)(e[s(151)][s(156)](s(127))),this[s(164)]=new t.ElementReplacer}get[Ro(149)](){const t=Ro;return this[t(142)][t(149)]}[Ro(166)](t){const e=Ro,i=this[e(125)],s=this[e(142)],n=i[e(126)][e(142)],r=s[e(122)],o=n[e(165)][e(121)]();r[e(147)]=o[e(161)],s[e(135)]();const a=r[e(149)];this[e(132)](r[e(147)],a),s[e(122)][e(120)](e(160)).to(this[e(129)]),n[e(144)](a),this[e(164)][e(158)](t,this[e(149)]),this[e(154)](),this[e(143)](e(146))}[Ro(148)](){const t=Ro;super[t(148)]();const e=this[t(142)],i=this[t(125)][t(126)][t(142)];this[t(164)][t(145)](),i[t(155)](e[t(122)][t(147)]),e[t(148)]()}[Ro(154)](){const t=Ro,e=this[t(142)];e[t(136)][t(120)](t(162)).to(this[t(129)],t(160)),e[t(136)][t(167)]=e[t(149)],e[t(136)][t(120)](t(124)).to(this,t(163),(({top:t})=>t)),e[t(127)][t(150)](this[t(157)],this[t(140)]),this[t(131)](e[t(127)])}}function Do(){const t=["9348240VOBPia","render","stickyPanel","_view","20470nqjaoV","2704016mtNmsY","componentFactory","3502120GHnaol","view","fire","attachDomRoot","restore","ready","name","destroy","element","fillFromConfig","config","16NFMVlR","4064928zLfYhf","_initToolbar","detachDomRoot","get","_toolbarConfig","replace","4YUURTL","isFocused","rootName","isActive","viewportOffset","_elementReplacer","document","init","limiterElement","1609515xcJVKr","bind","getRoot","editable","1yLuvUg","viewportTopOffset","editor","editing","toolbar","3554022ZSrcFG","focusTracker","6kzxbZd","addToolbar","setEditableElement","6193ZrAYgE"];return(Do=function(){return t})()}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=386]})(t,e)}function Lo(){var t=["add","render","2OrvYNI","3869372zzgKGH","121865dgTeQN","2716056nSKzrL","52988760vlFXMo","shouldToolbarGroupWhenFull","2156475VyaXih","_editable","main","content","toolbar","16nqWRxP","editable","732790WXvxPi","stickyPanel","5495490ykIDCh","222qkYlxm","top"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(589479===-parseInt(e(403))/1+parseInt(e(390))/2*(-parseInt(e(396))/3)+-parseInt(e(391))/4+-parseInt(e(392))/5*(parseInt(e(386))/6)+-parseInt(e(405))/7+-parseInt(e(401))/8*(parseInt(e(393))/9)+parseInt(e(394))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(397)];[Fo(404)];[Fo(400)];get[Fo(402)](){return this[Fo(397)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(404)]=new pt.StickyPanelView(t),this[s(400)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(395)]}),this[s(397)]=new pt.InlineEditableUIView(t,e)}[Fo(389)](){var t=Fo;super[t(389)](),this[t(404)][t(399)][t(388)](this[t(400)]),this[t(387)][t(388)](this[t(404)]),this[t(398)][t(388)](this[t(402)])}}function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=102]})(t,e)}function Wo(){const t=["sourceElement","initPlugins","locale","5RRhyME","model","624218neknbp","initialData","config","249960rQweFt","2283468LcBqYg","init","_ui","view","create","713631AxoxKW","359527XoeOSm","editing","document","get","createRoot","504730wMslaB","ready","updateSourceElement","fire","30qPpPgC","destroy","27krUZsr","3115950feUxRR","data"];return(Wo=function(){return t})()}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(294332===parseInt(e(130))/1+-parseInt(e(106))/2+parseInt(e(129))/3+-parseInt(e(124))/4*(parseInt(e(118))/5)+parseInt(e(110))/6*(-parseInt(e(120))/7)+parseInt(e(123))/8+parseInt(e(112))/9*(parseInt(e(113))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Uo(126)];get ui(){return this[Uo(126)]}constructor(t,e){const i=Uo;super(e),this[i(115)]=t,this[i(119)][i(103)][i(105)]();const s=new Po(this[i(117)],this[i(102)][i(127)],{shouldToolbarGroupWhenFull:!0});this[i(126)]=new Eo(this,s)}[Uo(111)](){const t=Uo;return this[t(108)](),this.ui[t(111)](),super[t(111)]()}static async[Uo(128)](t,e){const i=Uo,s=new this(t,e);return await s[i(116)](),await s.ui[i(125)](t),await s[i(114)][i(125)](s[i(122)][i(104)](i(121))||""),s[i(109)](i(107)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=387]})(t,e)}function $o(){const t=["addUser","Users","Dialog","DocumentOutline","revisionHistory","uiLanguage","toLocaleTimeString","RevisionViewerIntegration","plugins","includes","RevisionsRepository","fromCharCode","RevisionHistory","changesNavigation","toVersion","revisionHistory.showRevisionViewerCallback","16719059gmOdCI","remove","enableReadOnlyMode","setAttribute","markers","data","addRevisionData","removeMarker","getRoot","roots","has","model","block","map","saveRevision","insert","_restoreRevision","showRevisionViewerCallback","disableReadOnlyMode","restrictedEditingException","getRevisionRootsAttributes","refreshVisibility","2506024ZgTTIf","bind","toJSON","rootName","revisionHistory.requireRevisionName","indexOf","Autosave","change","fromVersion","create","isPremiumPlugin","element","name","long","503662bMwegX","Annotations","createdAt","none","loadRevisionData","refreshPositioning","parse","hide","editor","revisionHistory.editorContainer","RevisionHistoryUtils","save","selection","from","end","_cleanUp","repository","addRoot","locale","isOfficialPlugin","isRevisionViewerOpen","restoreRevision","$graveyard","_enhanceCloseRevisionViewerCallback","revisionHistory.closeRevisionViewerCallback","getMarkersGroup","isOpen","then","destroy","enqueueChange","2849940cWGItt","getRevisions","removeSelectionAttribute","_enhanceShowRevisionViewerCallback","exitToEditing","getUser","setSelection","adapter","init","push","_recalculatePageBreaks","isAttached","_getRevisionViewerEditorConfig","PaginationLookup","pluginName","getRevision","RestrictedEditingMode","users","error","createRangeIn","6546816iRyriU","removeAttribute","getRevisionDocumentData","RevisionViewer","commands","numeric","requires","toLocaleDateString","lazyRoots","result","closeRevisionViewerCallback","_update","keys","revisionHistory.restoreRevisionCallback","catch","define","_viewerEditor","join","RevisionHistoryUI","Restored","creator","style","_closeRevisionViewer","display","getAttributeKeys","revision-history-missing-configuration","revisionHistory.viewerContainer","view","detachRoot","DocumentOutlineUI","719279EhXzkZ","_showRevisionViewer","set","translations","config","toolbar","document","isEnabled","RevisionTracker","revision-history-viewer-opened","3180486FtFyQV","isReadOnly","update","isAnonymous","get","revisionHistory.viewerEditorElement","isReady"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(677453===parseInt(e(487))/1+parseInt(e(407))/2+parseInt(e(497))/3+-parseInt(e(393))/4+parseInt(e(437))/5+parseInt(e(457))/6+-parseInt(e(520))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(475),Ho(453)];class Yo extends U.Plugin{[Ho(466)];static get[Ho(451)](){return Ho(511)}static get[Ho(426)](){return!0}static get[Ho(403)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(533)]((t=>String[e(515)](t)))[e(474)]("")}super(t),this[e(466)]=e(421),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 Jo extends U.Plugin{[Ho(473)];static get[Ho(451)](){return Ho(516)}static get[Ho(426)](){return!0}static get[Ho(403)](){return!0}static get[Ho(463)](){return[ct,jt]}constructor(e){const i=Ho;if(super(e),!this[i(415)][i(491)][i(501)](i(508)))throw new t.CKEditorError(i(482),this);this[i(473)]=null,this[i(489)](i(427),!1),this[i(415)][i(491)][i(472)](i(519),(t=>this[i(488)]({...t,translations:this[i(415)][i(425)][i(490)]}))),this[i(415)][i(491)][i(472)](i(431),(t=>this[i(479)](t))),this[i(415)][i(491)][i(472)](i(470),(t=>this[i(387)](t))),this[i(415)][i(491)][i(472)](i(397),!1),this[i(440)](),this[i(430)]()}set[Ho(444)](t){const e=Ho;this[e(415)][e(512)][e(501)](e(495))[e(444)]=t}get[Ho(444)](){const t=Ho;return this[t(415)][t(512)][t(501)](t(495))[t(444)]}[Ho(526)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(495))[e(526)](t)}[Ho(452)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(514))[e(452)](t)}[Ho(438)](t){const e=Ho;return this[e(415)][e(512)][e(501)](e(514))[e(438)](t||{toJSON:!1})}[Ho(449)](){const e=Ho,i=this[e(415)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(512)][e(501)](e(495)),r=i[e(512)][e(501)](e(505))[e(454)];return s[e(492)]=[e(441),e(428),e(517)],delete s[e(465)],s[e(512)][e(446)](Yo,ee,be,class extends U.Plugin{static get[e(463)](){return[ee,e(505)]}[e(445)](){const s=e,o=this[s(415)][s(512)][s(501)](s(505));for(const t of r)t[s(500)]||o[s(442)](t.id)||o[s(504)](t);const a=n[s(423)][s(438)]();let c=null;const u=this[s(415)][s(512)][s(501)](s(460));u[s(444)]=n[s(444)],u[s(394)](s(494)).to(n),this[s(415)][s(461)][s(501)](s(428))[s(394)](s(494)).to(i,s(498),(t=>!t));for(const e of a){const i=null===e[s(477)];if(i&&e[s(518)]===e[s(401)])continue;const r=e[s(395)]();u[s(526)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(468)](r,o);else if(!o){const e=a[u(395)]();e.id=(0,t.uid)(),n[u(534)](e,a[u(518)])[u(434)]((t=>{c=t}))}}else e[u(468)](r,o)}))}}},Ao),s}[Ho(440)](){const t=Ho,e=this[t(415)][t(491)][t(501)](t(508))[t(388)];this[t(415)][t(491)][t(489)](t(519),(async()=>{const i=t;this[i(415)][i(522)](i(496));const s=this[i(415)][i(512)][i(501)](i(495));if(this[i(415)][i(512)][i(530)](i(399))){const t=this[i(415)][i(512)][i(501)](i(399));await t[i(418)]()}else await s[i(499)]();if(this[i(415)][i(512)][i(530)](i(450))&&this[i(415)][i(512)][i(501)](i(450))[i(447)](),this[i(415)][i(512)][i(530)](i(506))){const t=this[i(415)][i(512)][i(501)](i(506));t[i(433)]&&t[i(414)]()}const n=this[i(449)]();return e(n)[i(434)]((t=>{const e=i;return this[e(473)]=t,this[e(415)][e(512)][e(530)](e(408))&&this[e(415)][e(512)][e(501)](e(408))[e(392)](),this[e(415)][e(512)][e(530)](e(507))&&(this[e(415)][e(512)][e(501)](e(486))[e(484)][e(404)][e(478)][e(480)]=e(410)),t}))[i(471)]((t=>(console[i(455)](t),this[i(415)][i(389)](i(496)),null)))}))}[Ho(430)](){const t=Ho,e=this[t(415)][t(491)][t(501)](t(508))[t(467)];this[t(415)][t(491)][t(489)](t(431),(()=>(this[t(415)][t(512)][t(530)](t(450))&&this[t(415)][t(512)][t(501)](t(450))[t(447)](),this[t(415)][t(512)][t(530)](t(507))&&(this[t(415)][t(512)][t(501)](t(486))[t(484)][t(404)][t(478)][t(480)]=""),this[t(473)][t(512)][t(501)](t(460))[t(422)](),e(this[t(473)])[t(434)]((()=>{const e=t;if(this[e(415)][e(389)](e(496)),this[e(473)]=null,this[e(415)][e(512)][e(530)](e(408))){const t=this[e(415)][e(512)][e(501)](e(408));t[e(392)](),t[e(412)]()}})))))}[Ho(488)](t){const e=Ho,i=this[e(415)][e(491)][e(501)](e(416)),s=this[e(415)][e(491)][e(501)](e(483)),n=this[e(415)][e(491)][e(501)](e(502));return Zo[e(402)](n,t)[e(434)]((t=>(s[e(478)][e(480)]=e(532),i[e(478)][e(480)]=e(410),this[e(427)]=!0,t)))}[Ho(479)](t){const e=Ho,i=this[e(415)][e(491)][e(501)](e(416));return this[e(415)][e(491)][e(501)](e(483))[e(478)][e(480)]=e(410),i[e(478)][e(480)]="",this[e(427)]=!1,t[e(435)]()}async[Ho(387)](t){const e=Ho,i=this[e(415)],s=this[e(473)][e(512)][e(501)](e(460)),n=i[e(512)][e(501)](e(495)),r=i[e(512)][e(501)](e(417)),o=s[e(423)][e(452)](t);let a,c,u;try{await r[e(411)](o,this[e(444)]),a=r[e(459)](o),c=r[e(391)](o)}catch(t){return void console[e(455)](t)}i[e(531)][e(400)]((t=>{const s=e;for(const e of Array[s(420)](i[s(531)][s(524)][s(432)](s(390))))t[s(527)](e)})),s[e(503)]=!1,i[e(531)][e(436)]((t=>{const s=e;t[s(443)](null),t[s(439)](i[s(531)][s(493)][s(419)][s(481)]());const n=Object[s(469)](a);for(const e of i[s(531)][s(493)][s(529)])s(429)!=e[s(396)]&&e[s(448)]()&&!n[s(513)](e[s(396)])&&t[s(485)](e);for(const e of n){let n=i[s(531)][s(493)][s(528)](e);n&&n[s(448)]()||(n=t[s(424)](e));const r=c[e],o=Object[s(469)](r),u=a[e];for(const e of n[s(481)]())o[s(513)](e)||t[s(458)](e,n);for(const i of o)t[s(523)](i,c[e][i],n);t[s(521)](t[s(456)](n)),t[s(535)](i[s(525)][s(413)](u,n),n,0)}}));const l=Q(i[e(425)],e(476));return u=o[e(405)]?-1==o[e(405)][e(398)](l)?l+": "+o[e(405)]:o[e(405)]:l+": "+o[e(409)][e(464)](i[e(425)][e(509)],{month:e(406),day:e(462)})+", "+o[e(409)][e(510)](i[e(425)][e(509)],{hour:e(462),minute:e(462)}),await n[e(534)]({name:u}),s[e(503)]=!0,i[e(491)][e(501)](e(508))[e(467)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=476]})(t,e)}function Ko(){var t=["2527024zJqRkG","812648ZjVycN","2630RYZdEv","17987877bhSAmM","474705OSSKNK","822RTHGwZ","64029nznXUM","179LIeBTF","2470105JXehTQ"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(643345===-parseInt(e(484))/1*(parseInt(e(479))/2)+parseInt(e(481))/3+-parseInt(e(478))/4+parseInt(e(476))/5+-parseInt(e(482))/6*(parseInt(e(483))/7)+-parseInt(e(477))/8+parseInt(e(480))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();