@ckeditor/ckeditor5-revision-history 45.0.0-alpha.4 → 45.0.0-alpha.5

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:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>Qt,RevisionViewerEditor:()=>Uo,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 D(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 V(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 E(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?E(e)?F(t,V(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 L(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}}function j(t,e){const i=P();return(j=function(t,e){return i[t-=448]})(t,e)}function P(){const t=["setName","392516ucGfZc","diffData","name","createdAt","1JxNhJP","authorsIds","map","_update","creator","fire","fromVersion","creatorId","model","2021888dfKcyh","177928CNDDfx","777600IabjAt","removeAttribute","toJSON","5OxVBAD","authors","1858710mHPzWA","attributes","1565872xNwYrq","976464AjVwQw","toVersion","setAttribute","set"];return(P=function(){return t})()}const z=j;!function(t){const e=j,i=t();for(;;)try{if(167677===parseInt(e(458))/1*(parseInt(e(454))/2)+-parseInt(e(449))/3+parseInt(e(468))/4*(parseInt(e(472))/5)+parseInt(e(474))/6+-parseInt(e(448))/7+parseInt(e(467))/8+-parseInt(e(469))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[z(462)];[z(473)];[z(455)];[z(450)];[z(464)];[z(466)];constructor(e){const i=z;super(),this.id=e.id||(0,t.uid)(),this[i(462)]=e[i(462)]||null,this[i(473)]=e[i(473)]||[],this[i(455)]=e[i(455)]||null,this[i(450)]=e[i(450)]||0,this[i(464)]=e[i(464)]||0,this[i(452)](i(456),e[i(456)]||""),this[i(452)](i(457),e[i(457)]||new Date),this[i(452)](i(475),e[i(475)]||{})}[z(453)](t){this[z(461)]({name:t})}[z(451)](t,e){const i=z,s=R(this[i(475)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(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]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(461)]({attributes:s})}[z(470)](t){const e=z,i=R(this[e(475)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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]&&E(e))return L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(461)]({attributes:i})}[z(461)](t,e=!1){const i=z;let s=!1;const n={id:this.id},r=[i(456),i(457),i(455),i(473),i(475),i(450),i(464),i(465)];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(473)]&&(n[i(459)]=n[i(473)][i(460)]((t=>t.id)),delete n[i(473)]),this[i(463)](i(461),n,e))}[z(471)](){const t=z;return{id:this.id,name:this[t(456)],creatorId:this[t(462)]?this[t(462)].id:null,authorsIds:this[t(473)][t(460)]((t=>t.id)),diffData:this[t(455)],createdAt:this[t(457)],attributes:this[t(475)],fromVersion:this[t(464)],toVersion:this[t(450)]}}}var Z=i(782),U=i(211),H=i(783);const $=q;function q(t,e){const i=B();return(q=function(t,e){return i[t-=232]})(t,e)}function B(){const t=["6825348ASwpWS","plugins","attributes","getUser","fromVersion","createdAt","getRevisionsIterator","createRevision","21984DEmpEi","getRevisionsInDiff","fromCharCode","toVersion","pluginName","newRevisionId","getIndex","href","join","Users","creatorId","9787232tqjsMK","29562219dwBJVK","name","toJSON","isOfficialPlugin","from","authorsIds","isNaN","RevisionsRepository","map","addRevision","2LIlyFZ","get","data","earlier","5700520iWfYzD","getRevisions","reverse","diffData","afterInit","push","35leXhjG","getEarlierVisibleRevision","297251kKGhev","editor","3132168qpFSYB","isPremiumPlugin","getLaterVisibleRevision","oldRevisionId","_revisions","later","getRevision","length","add","requires"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(897010===-parseInt(e(253))/1*(parseInt(e(241))/2)+-parseInt(e(255))/3+-parseInt(e(265))/4+parseInt(e(251))/5*(-parseInt(e(273))/6)+parseInt(e(284))/7+-parseInt(e(245))/8+parseInt(e(285))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends Z.Plugin{[$(259)];static get[$(264)](){return[U.Users]}static get[$(277)](){return $(238)}static get[$(234)](){return!0}static get[$(256)](){return!0}get[$(262)](){const t=$;return this[t(259)][t(262)]}constructor(e){const i=$;super(e),this[i(259)]=new t.Collection}[$(249)](){!async function(e){const i=k([107,110,70,105,122,102,106,121,72,113,98,71,48,114,66,65,56,52,109,119,49,76,97,88,84,112,82,99,117,87,111,79,81,116,78,85,67,51,68,89,69,74,90,100,86,55,118,57,53,120,104,73,115,54,83,101,77,50,80,103,75,108]),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=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(237)](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([107]);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=q;return t[e(239)]((t=>String[e(275)](t)))[e(281)]("")}!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=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(280)]);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)}[$(272)](t){const e=$,i=this[e(254)][e(266)][e(242)](e(282));return new W({id:t.id,name:t[e(232)],creator:t[e(283)]?i[e(268)](t[e(283)]):null,diffData:t[e(248)]||t[e(243)],authors:t[e(236)][e(239)]((t=>i[e(268)](t))),createdAt:new Date(t[e(270)]),attributes:t[e(267)],fromVersion:t[e(269)],toVersion:t[e(276)]})}[$(240)](t,e=0){const i=$;this[i(259)][i(263)](t,e)}[$(261)](t){const e=$;return this[e(259)][e(242)](t)}[$(246)](t={toJSON:!1}){const e=$,i=Array[e(235)](this[e(259)]);return i[e(247)](),t[e(233)]?i[e(239)]((t=>t[e(233)]())):i}[$(279)](t){const e=$;return this[e(259)][e(279)](t)}[$(252)](t){const e=$,[,i]=this[e(271)](t,{direction:e(244)});return i}[$(257)](t){const e=$,[,i]=this[e(271)](t,{direction:e(260)});return i}[$(274)](t){const e=$,i=[];for(const s of this[e(271)](t[e(278)]))if(i[e(250)](s),s.id===t[e(258)])break;return i}*[$(271)](t,{direction:e=$(244),filter:i=()=>!0}={}){const s=$,n=s(244)===e?1:-1;let r=this[s(259)][s(242)](t),o=this[s(279)](r);for(yield r;r;){if(o+=n,r=this[s(261)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=308]})(t,e)}function K(){const t=["editing","_getTypeCharForViewElement","map","useFillerType","constructor","length","_makeModelFromViewString","domChildrenToView","3346392jlfJJR","diffData","type","957gUCals","attachChange","childNodes","isOfficialPlugin","fillerOffset","startsWith","loadRevisionData","19cPxhbE","toData","_removeRevisionMarkers","pluginName","get","isPremiumPlugin","filter","5394MbVcrC","innerHTML","view","marked","_typeCharToViewClass","45534wtBRpo","document","editor","viewChildrenToDom","append","forEach","2446308ZdVXfj","render","htmlProcessor","66447PFzfrv","config","createElement","processor","insertions","attributesAfter","string","div","_viewClassToTypeChar","revision-start","152142XPKtlx","_setCustomProperty","children","data","RevisionHistoryUtils","_getViewFromDiffObj","revision-end","collaboration.channelId","domDocument","76yUsCQC","default","85kCchmX","getRevision","42550yHnoKM","getRevisionRootsAttributes","isAttached","getFillerOffset","toModel","from","488KfZvEA","attributes","customProperties","domConverter","name","parse","data-revision-","getRevisionDocumentData","_appendChild"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(283129===parseInt(e(358))/1*(parseInt(e(370))/2)+-parseInt(e(365))/3*(parseInt(e(321))/4)+parseInt(e(323))/5*(parseInt(e(312))/6)+parseInt(e(348))/7+parseInt(e(331))/8*(-parseInt(e(379))/9)+parseInt(e(325))/10*(-parseInt(e(351))/11)+-parseInt(e(376))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends Z.Plugin{static get[G(361)](){return G(316)}static get[G(354)](){return!0}static get[G(363)](){return!0}[G(310)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(369)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(357)](t,e){const i=G;if(t[i(349)]||!e)return;const s=this[i(372)][i(380)][i(362)](i(319)),n=await e[i(324)]({channelId:s,revisionId:t.id});t[i(349)]=n[i(349)]}[G(338)](t){const e=G,i={};for(const s in t[e(349)]){if(t[e(349)][s][e(352)]&&!t[e(349)][s][e(352)][e(327)])continue;const n=this[e(360)](JSON[e(336)](t[e(349)][s][e(383)])),r=this[e(372)][e(340)][e(367)][e(371)],o=new H.ViewDocumentFragment(r,n[e(342)]((t=>this[e(317)](t,!1))));this[e(372)][e(315)][e(382)][e(343)](e(368)),i[s]=this[e(372)][e(315)][e(382)][e(359)](o),this[e(372)][e(315)][e(382)][e(343)](e(322))}return i}[G(326)](t){const e=G,i={};for(const s in t[e(349)])t[e(349)][s][e(352)]&&!t[e(349)][s][e(352)][e(327)]||(i[s]=t[e(349)][s][e(384)]||{});return i}[G(341)](t){const e=G;return this[e(310)][e(362)](t[e(344)])}[G(317)](t,e){const i=G,s=this[i(372)][i(340)][i(367)][i(371)];if(i(308)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(350)]||"r"==t[i(350)]?[]:t[i(314)][i(342)]((t=>this[i(317)](t,e)));const o=this[i(369)][i(362)](t[i(350)])||H.ViewElement,a=this[i(372)][i(315)][i(378)][i(334)];if(n=new o(s,t[i(335)],t[i(332)],r),"u"==t[i(350)]){const r=t[i(314)][0];if(n[i(377)]=function(t){const e=i,s=t[e(381)](e(309));return s[e(366)]=r,s[e(353)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(339)](n);const e=Array[i(330)](a[i(373)](t,{bind:!1})),r=a[i(320)][i(381)](i(309));r[i(374)](...e),n=Array[i(330)](a[i(347)](r))[0]}}else if("r"==t[i(350)]){const r=t[i(314)][0];if(n[i(377)]=function(t){t[i(366)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(339)](n);const e=Array[i(330)](a[i(373)](t,{bind:!1})),r=a[i(320)][i(381)](i(309));r[i(374)](...e);const o=Array[i(330)](a[i(347)](r));o[i(345)]>1?n[i(339)](o):n=o[0]}}if(t[i(333)])for(const[e,s]of t[i(333)])n[i(313)](e,s);const c=t[i(355)]||null;return n[i(328)]=()=>c,n}}[G(346)](t){const e=G,i=JSON[e(336)](t),s=this[e(372)][e(340)][e(367)][e(371)],n=new H.ViewDocumentFragment(s,i[e(342)]((t=>this[e(317)](t,!0))));return this[e(372)][e(315)][e(329)](n)}[G(360)](t){const e=G;return(t=t[e(364)]((t=>!t[e(335)]||e(311)!==t[e(335)]&&e(318)!==t[e(335)])))[e(375)]((t=>{const i=e;i(308)!=typeof t&&(t[i(314)]=this[i(360)](t[i(314)]),t[i(332)]=t[i(332)][i(364)]((t=>!t[0][i(356)](i(337)))))})),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 D=(s=s??new Map).get(t),V=s.get(i);if(null!=D&&null!=V)return D===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=ot;function ot(t,e){const i=ct();return(ot=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(854940===parseInt(e(528))/1+parseInt(e(465))/2*(-parseInt(e(425))/3)+-parseInt(e(449))/4+-parseInt(e(564))/5+-parseInt(e(372))/6*(-parseInt(e(502))/7)+-parseInt(e(344))/8+-parseInt(e(406))/9*(-parseInt(e(538))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class at extends Z.Plugin{[rt(545)];[rt(395)];[rt(578)]=null;[rt(291)];[rt(541)]=null;[rt(343)];[rt(478)];[rt(333)];[rt(473)];[rt(308)];[rt(267)];[rt(377)];[rt(492)];[rt(374)];static get[rt(514)](){return rt(419)}static get[rt(365)](){return!0}static get[rt(506)](){return!0}static get[rt(303)](){return[U.Users,Y,X,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(291)]=this[i(413)][i(393)][i(283)](i(278)),this[i(308)]=this[i(413)][i(393)][i(283)](i(274)),this[i(343)]=new ut(this[i(413)]),this[i(333)]=this[i(413)][i(431)][i(283)](i(287))||i(338),this[i(473)]=new Map,this[i(374)]=null;const s=(0,t.uid)();this[i(478)]={history:this[i(413)][i(463)][i(544)][i(533)],getLatestVersion:()=>Promise[i(346)](this[i(413)][i(463)][i(544)][i(487)]),getCurrentRevisionId:()=>s},this[i(575)](i(432),!1),this[i(575)](i(415),!0),this[i(575)](i(537),!1),this[i(413)][i(431)][i(330)](i(288),!0),this[i(413)][i(459)][i(429)](i(511))[i(491)]({view:i(359)})}[rt(531)](){const t=rt;this[t(376)](),this[t(413)][t(453)].on(t(271),(()=>{const e=t,i=this[e(291)][e(399)](0),s=i&&null===i[e(565)]?i:null;if(this[e(377)]=!!s&&this[e(413)][e(431)][e(283)](e(288)),this[e(413)][e(393)][e(331)](e(507))){const t=this[e(478)][e(286)](),n=this[e(291)][e(399)](t);if(n)this[e(492)]=n[e(520)],this[e(377)]=!1;else{const t=this[e(478)][e(533)][e(360)][e(400)]((t=>!t[e(357)])),n=t?t[e(394)]:this[e(478)][e(533)][e(487)];i?(i[e(421)]<n&&i[e(363)]({toVersion:n}),this[e(377)]?(this[e(478)][e(286)]=()=>s.id,this[e(492)]=s[e(520)]):(this[e(492)]=i[e(421)],this[e(377)]=!1)):(this[e(492)]=n,this[e(377)]=!1)}}else s&&(this[e(413)][e(463)][e(544)][e(533)][e(487)]=Math[e(300)](s[e(421)],this[e(413)][e(463)][e(544)][e(533)][e(487)]),s[e(520)]===s[e(421)]?(0!==s[e(520)]&&(this[e(478)][e(286)]=()=>s.id),this[e(377)]=!1):this[e(377)]&&(this[e(478)][e(286)]=()=>s.id,this[e(492)]=s[e(520)])),this[e(377)]||(this[e(492)]=this[e(413)][e(463)][e(544)][e(487)]);this[e(343)][e(531)](this[e(478)][e(533)]),this[e(504)](this[e(492)]),this[e(468)](this[e(492)]),this[e(541)]&&this[e(434)]()})),this[t(329)](t(432)).to(this,t(537),(t=>!t)),this[t(545)]=this[t(413)][t(431)][t(283)](t(545));const e=this[t(413)];this[t(395)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(466)==r||i(369)==r||i(273)==r||i(571)==r||i(510)==r||i(490)==r||i(554)==r||i(479)==r){delete e[n],s=r,clearInterval(this[i(395)]),this[i(395)]=void 0;break}}i(369)==s&&e[i(310)](i(430)),i(273)==s&&e[i(310)](i(340)),i(571)==s&&e[i(310)](i(383)),i(510)==s&&e[i(310)](i(548),i(327)),i(490)==s&&e[i(310)](i(443)),i(554)==s&&e[i(310)](i(403)),i(479)==s&&e[i(310)](i(472))}),1e3)}async[rt(589)](){const t=rt;if(this[t(291)][t(373)]>0){const e=this[t(291)][t(399)](0),i=await this[t(428)](e),s=await this[t(301)](e);this[t(290)](i,s)}}[rt(319)](){const t=rt;super[t(319)](),this[t(395)]&&clearInterval(this[t(395)])}[rt(391)](t){this[rt(478)]=t}async[rt(326)](){const t=rt,e=await this[t(478)][t(496)]();if(e>this[t(578)][t(421)]){await this[t(582)]();const i=this[t(351)]({revision:this[t(578)],to:e});i[t(282)]=i[t(404)][t(387)]((e=>this[t(413)][t(393)][t(283)](t(499))[t(471)](e))),this[t(578)][t(363)](i)}}async[rt(384)](e={},i=null){const s=rt,n=[];await this[s(582)](),this[s(377)]=!1,i>this[s(578)][s(421)]&&(i=null),null===i&&(i=await this[s(478)][s(496)]());const r=this[s(407)](i),o=this[s(351)]({from:r,to:i});if(this[s(578)][s(421)]<i){const t=this[s(351)]({revision:this[s(578)],from:i,to:i});t[s(282)]=[],t[s(404)]=[],t.id=this[s(578)].id,this[s(578)][s(363)](t,!0),delete t[s(282)],n[s(388)](t)}e[s(574)]=this[s(413)][s(393)][s(283)](s(499)).me.id,e[s(521)]=e[s(521)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(335)](e);n[s(388)](e);const c=this[s(291)][s(302)](a);if(0!==c){const t=this[s(291)][s(399)](c-1);if(t[s(520)]!==i){const r=this[s(343)][s(433)](i,t[s(421)]),o={id:t.id,diffData:r[s(410)],authorsIds:r[s(404)],authors:r[s(404)][s(387)]((t=>this[s(413)][s(393)][s(283)](s(499))[s(471)](t))),fromVersion:i};t===this[s(578)]&&(o[s(296)]=new Date(e[s(296)][s(285)]()+10)),t[s(363)](o,!0),delete o[s(282)],n[s(388)](o)}}if(this[s(541)]){for(const t of n)this[s(355)](t.id,t,!0);this[s(434)]()}return a}[rt(335)](t){const e=rt,i=this[e(291)][e(567)](t);return this[e(541)]&&i.on(e(363),((t,i,s)=>{const n=e;s||(this[n(355)](i.id,i,!0),this[n(434)]())})),this[e(291)][e(577)](i,this[e(270)](i)),i}async[rt(428)](t){const e=rt;return await this[e(308)][e(284)](t,this[e(541)]),this[e(308)][e(428)](t)}async[rt(301)](t){const e=rt;return await this[e(308)][e(284)](t,this[e(541)]),this[e(308)][e(301)](t)}[rt(434)](){const t=rt;if(0===this[t(473)][t(566)])return;if(this[t(537)])return;let e=Array[t(482)](this[t(473)][t(501)]());this[t(473)][t(314)]();for(let i=0;i<e[t(373)];i++){const s=e[i];let n=!1;for(const e of Object[t(316)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(436)]((t=>null!==t)),!e[t(373)])return;for(let i=0;i<e[t(373)];i++){const s=e[i];void 0!==s[t(520)]&&void 0===s[t(421)]&&(s[t(421)]=this[t(291)][t(399)](s.id)[t(421)]),void 0!==s[t(421)]&&void 0===s[t(520)]&&(s[t(520)]=this[t(291)][t(399)](s.id)[t(520)])}const i=this[t(413)][t(431)][t(283)](t(287));this[t(537)]=!0,this[t(500)](),this[t(541)][t(573)](e,i)[t(440)]((()=>{this[t(537)]=!1}))[t(563)]((e=>{const i=t;if(e)for(const t of e)this[i(480)]({id:t.id,createdAt:t[i(296)]});this[i(398)](),this[i(434)]()}))}[rt(351)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(520)],i=null!==i?i:t[s(421)];const n=this[s(343)][s(433)](e,i),r={diffData:n[s(410)],authorsIds:n[s(404)],fromVersion:e,toVersion:i};if(!t||i!==t[s(421)]){const t=i-1,e=this[s(478)][s(533)][s(585)](t);r[s(296)]=e&&e[s(296)]||new Date}if(this[s(374)]&&e===this[s(374)][s(520)])for(const t of this[s(374)][s(282)])r[s(404)][s(321)](t.id)||r[s(404)][s(388)](t.id);return r}[rt(355)](t,e,i){const s=rt;if(this[s(473)][s(331)](t)){const n=this[s(473)][s(283)](t);e=i?{...n,...e}:{...e,...n}}this[s(473)][s(575)](t,e)}[rt(480)](t){const e=rt,i=this[e(291)][e(399)](t.id);if(t[e(296)]&&(t[e(296)]=new Date(t[e(296)])),t[e(404)]){const i=this[e(413)][e(393)][e(283)](e(499));t[e(282)]=t[e(404)][e(387)]((t=>i[e(471)](t)))}i[e(363)](t,!0)}[rt(504)](t){const e=rt,i=this[e(291)][e(399)](this[e(291)][e(373)]-1);if(i)this[e(333)]=i.id;else{const i=!this[e(413)][e(463)][e(544)][e(437)][e(400)]((t=>this[e(413)][e(463)][e(304)](t))),s=this[e(413)][e(393)][e(283)](e(499)).me.id,n=Q(this[e(413)][e(323)],e(i?584:581));this[e(525)]({from:t,to:t,id:this[e(333)],name:n,creatorId:s})}}[rt(468)](t){const e=rt,i=this[e(478)][e(286)]();this[e(578)]=this[e(291)][e(399)](i),this[e(578)]||(this[e(578)]=this[e(525)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(582)](){const t=rt;this[t(377)]&&!this[t(374)]&&(await this[t(308)][t(284)](this[t(578)],this[t(541)]),this[t(343)][t(534)](this[t(578)]),this[t(374)]={fromVersion:this[t(578)][t(520)],authors:this[t(578)][t(282)][t(272)]()})}[rt(290)](e,i){const s=rt;let n=this[s(413)][s(431)][s(283)](s(515)),r=this[s(413)][s(431)][s(283)](s(439));if(void 0===n){n={};for(const t of this[s(413)][s(463)][s(544)][s(455)]())n[t]=""}if(s(579)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(413)][s(463)][s(544)][s(455)]())r[t]={}}let o=!1;const a=Object[s(316)](n),c=Object[s(316)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(276)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(316)](r[t])[s(373)]>0){o=!0;break}}o||(o=c[s(549)]((t=>!this[s(413)][s(463)][s(544)][s(518)](t)))),o&&(0,t.logWarning)(s(281),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(413)][s(431)][s(575)](s(515),e),this[s(413)][s(431)][s(575)](s(439),i)}[rt(500)](){const t=rt;if(!this[t(267)]){const e=this[t(413)][t(393)][t(283)](t(558));this[t(267)]=e[t(318)](Q(this[t(413)][t(323)],t(328)))}}[rt(398)](){const t=rt;this[t(267)]&&(this[t(413)][t(393)][t(283)](t(558))[t(417)](this[t(267)]),this[t(267)]=null)}[rt(270)](t){const e=rt,i=this[e(291)][e(467)]();i[e(294)]();let s=0;for(;s<i[e(373)];){const n=i[s];if(n===this[e(578)]){s++;continue}if(n.id===this[e(333)])break;const r=t[e(421)]-n[e(421)]||t[e(520)]-n[e(520)];if(r>0)break;if(r<0)s++;else{if(!t[e(565)]&&n[e(565)])break;if(n[e(565)]||!t[e(565)]){if(t[e(296)]>n[e(296)])break;s++}else s++}}return s}[rt(407)](t){const e=rt,i=this[e(291)][e(467)]();i[e(294)](),i[e(452)]();const s=i[e(400)]((i=>i[e(421)]<=t))[e(421)];return s<this[e(492)]?this[e(492)]:s}[rt(525)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(351)]({from:e,to:i});o[r(521)]=t,o[r(574)]=s,o.id=n;const a=this[r(335)](o);return this[r(541)]&&this[r(355)](o.id,o,!0),a}[rt(376)](){const t=rt;this[t(413)][t(459)][t(429)](t(498))[t(560)]({model:t(359)})}}function ct(){const t=["_removeMetaData","children","revisionHistoryLicenseKeyEvaluationLimit","dataToMarker","_startingVersion","merge","_handleMoveOperation","getMovedRangeStart","getLatestVersion","howMany","dataDowncast","Users","_addPendingAction","values","154672HIUYPi","isAdd","_createInitialRevision","_prepareViewToSave","isPremiumPlugin","RealTimeCollaborationClient","deletion","elementEnd","revisionHistoryLicenseKeyNotAllowed","upcast","insertionPosition","createPositionBefore","pluginName","initialData","isEqual","_getViewJson","getRoot","sourcePosition","fromVersion","name","split","type","insert","_makeRevision","oldRange","toView","1102304rLIJXZ","_lastFrom","_touched","init","graveyardPosition","history","loadState","end","newRange","_isPendingUpdate","39965790FUIbQF","markers","_baseRoots","adapter","getRange","_applyOperations","document","licenseKey","_makeIdsRoot","rootName","featureNotAllowed","some","_fixPosition","isAttached","documentFragment","createPositionAfter","revisionHistoryLicenseKeyTrialLimit","_revisionId","keepParagraph","marker","PendingActions","move","markerToData","_handleMergeOperation","getCustomProperties","then","1232340fseNDO","creator","size","createRevision","$graveyard","range","vid","revisionHistoryLicenseKeyDomainLimit","_touchedRoots","updateRevisions","creatorId","set","vid_start","addRevision","currentRevision","string","elementStart","Initial revision","_loadState","getChild","Empty document","getOperation","_touchedMarkers","addRoot","_startingRevisionId","afterInit","_pendingAction","stickiness","_copyMarkers","_findInsertionIndex","ready","slice","revisionHistoryLicenseKeyExpired","RevisionHistoryUtils","_reset","trim","_makeModelFromViewString","RevisionsRepository","_getPreviousFrom","_createFromRanges","editor-initial-data-replaced-with-revision-data","authors","get","loadRevisionData","getTime","getCurrentRevisionId","collaboration.channelId","revisionHistory.resumeUnsavedRevision","_markChanges","_replaceEditorDataWithRevisionData","repository","_markers","getOperations","reverse","detachRoot","createdAt","domConverter","userId","changeRootAttribute","max","getRevisionRootsAttributes","getIndex","requires","hasContent","getAttributes","key","_calculateMetaData","_utils","_getTypeCharForViewElement","_showLicenseError","stringify","_getState","_isAttached","clear","reInit","keys","_execute","add","destroy","_handleOperation","includes","_handleInsertOperation","locale","_clone","getAncestors","update","RevisionHistory","PENDING_ACTION_REVISION_HISTORY","bind","define","has","_diffRoots","_initialRevisionId","customProperties","addRevisionData","getNodeByPath","fromEntries","initial","startsWith","expired","createRange","createPositionFromPath","_revisionDataBuilder","9816552dmbEsa","insertions","resolve","childCount","_processRootBeforeSave","createElement","_getBaseVids","buildRevisionData","affectsData","offsetSize","offset","_bufferUpdate","createRangeIn","_isInit","element","revision","_operations","uiElement","sort","_update","start","isOfficialPlugin","_handleRootAttributeOperation","path","_handleMarkerOperation","revisionHistoryLicenseKeyInvalid","deletions","splitPosition","48tdAdWG","length","_loadedStateData","_handleRootOperation","_setConversion","_continueCurrentRevision","getChildren","addRootAttribute","_baseRootsAttributes","htmlProcessor","_setAttribute","domainLimit","saveRevision","text","nodes","map","push","delete","domDocument","setSource","tableCell","plugins","baseVersion","_licenseKeyCheckInterval","getWalker","revision:","_removePendingAction","getRevision","find","nodeAfter","parent","trialLimit","authorsIds","previousPosition","9WkSiDX","_getFromVersion","attachChange","source","diffData","_cloneOperation","_insertChild","editor","_saveMetaData","isEnabled","removeRootAttribute","remove","NEGATIVE_INFINITY","RevisionTracker","paragraph","toVersion","clone","_lastTo","createPositionAt","6lJyPPj","_generateTape","getFillerOffset","getRevisionDocumentData","for","invalid","config","isReady","getData","sendBufferedUpdates","_handleSplitOperation","filter","roots","targetPosition","rootsAttributes","finally","_authorId","insertion","evaluationLimit","_fixOperation","_baseIdsRoots","_fixRange","attributesBefore","root","6619920gZEpwn","getTransformedByOperation","vid_end","shift","data","$comment","getRootNames","_getVidAttributeName","getAttribute","reinsert","conversion","_idsRoots","attributesAfter","render","model","rawElement","1292194TSWeaY","revisionHistoryLicenseKeyValid","getRevisions","_createCurrentRevision","position","newValue","getUser","usageLimit","_bufferedUpdates","outerHTML","_transformMarkers","_savedMetaData","_appendChild","_source","revisionHistoryLicenseKeyUsageLimit","setRevisionData","_diffRootsAttributes","from","item","innerHTML","$text","fillerOffset","version"];return(ct=function(){return t})()}class ut{[rt(413)];[rt(409)];[rt(476)];[rt(529)];[rt(423)];[rt(292)];[rt(332)];[rt(481)];[rt(540)];[rt(380)];[rt(460)];[rt(445)];[rt(530)];[rt(586)];[rt(572)];[rt(555)];[rt(588)];constructor(t){const e=rt;this[e(413)]=t,this[e(476)]=new Map,this[e(529)]=-1,this[e(423)]=-1,this[e(292)]=new Map,this[e(332)]=new Map,this[e(481)]=new Map,this[e(540)]=new Map,this[e(380)]=new Map,this[e(460)]=new Map,this[e(445)]=new Map,this[e(530)]=new Map,this[e(586)]=new Map,this[e(572)]=new Map,this[e(555)]=1}[rt(531)](t){const e=rt;this[e(409)]=t;const i=new Map,s=new Map,n=this[e(413)][e(463)][e(544)][e(437)][e(387)]((t=>t[e(547)]));for(const t of n){const n=this[e(413)][e(463)][e(544)][e(518)](t),r=lt(n);i[e(575)](t,r),s[e(575)](t,Object[e(337)](n[e(305)]()))}const r=Array[e(482)](this[e(413)][e(463)][e(539)])[e(387)]((t=>[t[e(521)],t[e(542)]()])),o=this[e(409)][e(487)];this[e(414)](o,i,r,s),this[e(588)]=this[e(555)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(575)](t,i),c[e(575)](t,{})}this[e(414)](Number[e(418)],a,[],c)}[rt(433)](t,e){const i=rt;if(this[i(529)]===t&&this[i(423)]<=e)this[i(476)][i(566)]>1&&this[i(488)](this[i(423)]),this[i(543)](this[i(423)],e,!0);else{if(!this[i(476)][i(331)](t)){const e=this[i(279)](t);this[i(307)](e,t,!1)}this[i(307)](t,e,!0)}return this[i(529)]=t,this[i(423)]=e,this[i(312)]()}[rt(534)](t){const e=rt,i=this[e(413)][e(393)][e(283)](e(274));this[e(275)](),this[e(529)]=t[e(520)],this[e(423)]=t[e(421)];for(const s in t[e(410)]){const n=t[e(410)][s][e(408)],r=R(t[e(410)][s][e(447)])||{},o=i[e(277)](t[e(410)][s][e(370)]);o[e(547)]=s,o[e(313)]=!n||!n[e(551)],o[e(551)]=()=>o[e(313)],this[e(540)][e(575)](s,o),this[e(380)][e(575)](s,r),n&&this[e(572)][e(575)](s,n);const a=this[e(546)](o);this[e(445)][e(575)](s,a);for(const[t,i]of o[e(539)]){if(!t[e(339)](e(397)))continue;const s=t[e(522)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),n=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)],r=a[e(336)](n)[e(457)](i);this[e(530)][e(575)](r,{userId:s})}}}this[e(588)]=this[e(555)];const s=[...Array(this[e(555)])[e(316)]()][e(272)](1)[e(436)]((t=>!this[e(530)][e(331)](t)));let n=0;const r=new Map;for(const o in t[e(410)]){const a=t[e(410)][o][e(408)],c=R(t[e(410)][o][e(461)])||{},u=i[e(277)](t[e(410)][o][e(345)]);u[e(547)]=o,u[e(313)]=!a||a[e(551)],u[e(551)]=()=>u[e(313)],this[e(332)][e(575)](o,u),this[e(481)][e(575)](o,c);const l=this[e(546)](u,Number[e(418)]);this[e(460)][e(575)](o,l),r[e(575)](o,u[e(551)]()?c:{});for(const[t,i]of u[e(539)]){if(!t[e(339)](e(397)))continue;const s=t[e(522)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),n=this[e(555)]++,r=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)];l[e(336)](r)[e(382)](i,n),this[e(530)][e(575)](n,{userId:s})}}for(const t of this[e(413)][e(463)][e(356)](u)[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),r=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)],o=l[e(336)](r);o[e(457)](i)>0||o[e(382)](i,s[n++])}for(const[t,i]of u[e(539)])t[e(339)](e(397))||this[e(292)][e(575)](t,i)}const o=ht(e(568));this[e(540)][e(575)](e(568),o),this[e(445)][e(575)](e(568),this[e(546)](o,1));const a=ht(e(568));this[e(332)][e(575)](e(568),a),this[e(460)][e(575)](e(568),this[e(546)](a,1));const c=Array[e(482)](this[e(332)])[e(387)]((([t,e])=>[t,lt(e)]));this[e(414)](this[e(423)],c,this[e(292)],r)}[rt(315)](){const t=rt;this[t(275)](),this[t(529)]=-1,this[t(423)]=-1,this[t(476)][t(314)](),this[t(531)](this[t(409)])}[rt(414)](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(575)](t,{start:e[n(364)][n(422)](),end:e[n(535)][n(422)](),rootName:e[n(448)][n(547)]});this[n(476)][n(575)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(488)](t){const e=rt;this[e(476)][e(389)](t)}[rt(275)](){const t=rt;this[t(530)][t(314)](),this[t(586)][t(314)](),this[t(572)][t(314)](),this[t(332)][t(314)](),this[t(481)][t(314)](),this[t(540)][t(314)](),this[t(380)][t(314)](),this[t(460)][t(314)](),this[t(445)][t(314)](),this[t(292)][t(314)](),this[t(555)]=1,this[t(588)]=this[t(555)]}[rt(546)](t,e=null){const i=rt;let s=null;t.is(i(552))||(s=new H.Element(t[i(521)],{vid_start:null===e?this[i(555)]++:e++}));const n=[];for(const s of t[i(378)]())if(s.is(i(358))){n[i(388)](this[i(546)](s,e));const t=n[n[i(373)]-1];null!==e&&(e=t.is(i(358),i(485))?t[i(457)](i(570))+1:t[i(457)](i(451))+1)}else for(let t=0;t<s[i(353)];t++)n[i(388)](new H.Element(i(485),{vid:null===e?this[i(555)]++:e++}));if(t.is(i(552))){const e=ht(t[i(547)]);return e[i(412)](0,n),e}return s[i(382)](i(451),null===e?this[i(555)]++:e++),s[i(412)](0,n),s}[rt(307)](t,e,i){const s=rt;this[s(275)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(476)][s(283)](t);this[s(540)]=new Map(n),this[s(380)]=new Map(R(o));for(const[t,e]of this[s(540)])if(s(568)!==t&&(this[s(332)][s(575)](t,lt(e)),this[s(481)]=new Map(R(o)),i)){const i=this[s(555)];this[s(460)][s(575)](t,this[s(546)](e)),this[s(445)][s(575)](t,this[s(546)](e,i))}this[s(588)]=this[s(555)],this[s(332)][s(575)](s(568),lt(this[s(540)][s(283)](s(568)))),i&&this[s(460)][s(575)](s(568),this[s(546)](this[s(540)][s(283)](s(568))));for(const[t,e]of r){const i=this[s(540)][s(283)](e[s(547)]),n=this[s(332)][s(283)](e[s(547)]),r=new H.Range(this[s(550)](e[s(364)],i),this[s(550)](e[s(535)],i)),o=this[s(446)](r,n);i[s(539)][s(575)](t,r),this[s(292)][s(575)](t,o)}this[s(543)](t,e,i)}[rt(543)](t,e,i){const s=rt;for(const n of this[s(409)][s(293)](t,e))this[s(320)](n,i);for(const t of this[s(332)][s(501)]())t[s(539)][s(314)]();for(const[t,e]of this[s(292)])this[s(332)][s(283)](e[s(448)][s(547)])[s(539)][s(575)](t,e[s(422)]());const n=new Map,r=new Map;for(const[t,e]of this[s(332)])n[s(575)](t,lt(e)),r[s(575)](t,this[s(481)][s(283)](t));this[s(414)](e,n,this[s(292)],r)}[rt(279)](t){const e=rt,i=Array[e(482)](this[e(476)][e(316)]());i[e(362)](((t,e)=>t-e)),i[e(294)]();for(const e of i)if(e<t)return e;return Number[e(418)]}[rt(269)](t,e){const i=rt,s=Array[i(482)](e[i(539)])[i(387)]((([e,s])=>[e,this[i(446)](s,t)]));t[i(539)]=new Map(s)}[rt(475)](t){const e=rt;for(const i of this[e(292)][e(501)]()){const s=i[e(450)](t),n=H.Range[e(280)](s);i[e(364)]=n[e(364)],i[e(535)]=n[e(535)]}}[rt(320)](t,e){const i=rt;if(i(587)!=t[i(523)]&&i(295)!=t[i(523)]){if(i(524)==t[i(523)]){const s=t[i(469)][i(448)][i(547)];this[i(332)][i(331)](s)||(this[i(332)][i(575)](s,ht(s,!0)),this[i(481)][i(575)](s,{}),e&&this[i(460)][i(575)](s,ht(s,!0)))}else{if(i(379)==t[i(523)]||i(416)==t[i(523)]||i(299)==t[i(523)])return void this[i(366)](t);i(557)==t[i(523)]&&this[i(368)](t)}if(i(557)!==t[i(523)]){const e=this[i(411)](t,this[i(332)]);e[i(317)](),this[i(475)](e)}if(e)switch(t[i(523)]){case i(524):this[i(322)](t);break;case i(559):case i(417):case i(458):this[i(494)](t);break;case i(493):this[i(561)](t);break;case i(522):this[i(435)](t)}}else this[i(375)](t,e)}[rt(411)](t,e){const i=rt,s=t[i(422)]();return s[i(441)]=t[i(441)],this[i(444)](s,e),s}[rt(350)](t){const e=rt;return t[e(387)]((t=>{const i=e,s=this[i(456)](t);return Number(t[i(483)][i(457)](s))}))}[rt(426)](t,e){const i=rt;if(t.is(i(358),i(485)))e[i(388)]({item:t,type:i(385)});else{t.is(i(358))&&e[i(388)]({item:t,type:i(580)});for(const s of t[i(378)]())this[i(426)](s,e);t.is(i(358))&&e[i(388)]({item:t,type:i(509)})}return e}[rt(312)](){const t=rt,e=new Map(this[t(530)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(540)][t(316)](),...this[t(332)][t(316)]()]);a[t(389)](t(568));for(const e of a){const i=this[t(332)][t(283)](e)||ht(e,!1),s=this[t(540)][t(283)](e)||ht(e,!1);i[t(551)]()||s[t(551)]()?(n[t(345)][e]=lt(i),n[t(370)][e]=lt(s),this[t(269)](n[t(370)][e],s),this[t(269)](n[t(345)][e],i),r[t(345)][e]=this[t(426)](this[t(460)][t(283)](e),[]),r[t(370)][e]=this[t(426)](this[t(445)][t(283)](e)||ht(e,!1),[])):a[t(389)](e)}for(const n of a){const o=r[t(345)][n];for(const n of o){const r=this[t(456)](n),o=n[t(483)][t(457)](r);i[t(389)](o),o>=this[t(588)]&&s[t(575)](o,e[t(283)](o))}}for(const n of a){const a=r[t(345)][n],c=this[t(350)](r[t(370)][n]);let u=0;for(const n of a){const r=this[t(456)](n),a=n[t(483)][t(457)](r);if(!s[t(331)](a)&&!o[t(331)](a))if(i[t(331)](a))u++;else{if(a!=c[u]){const s=e[t(283)](a)||e[t(283)](c[u]);for(;a!=c[u];)i[t(331)](c[u])||(o[t(575)](c[u],s),e[t(575)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(345)][e];for(const e of n){const n=this[t(456)](e),r=e[t(483)][t(457)](n);if(o[t(331)](r)){const e=o[t(283)](r);i[t(331)](r)||i[t(575)](r,{...e}),s[t(575)](r,{...e})}}}for(const e of i[t(316)]())e>=this[t(588)]&&i[t(389)](e);const c=new Map;for(const e of a){let n=r[t(345)][e];for(const e of n)if(e[t(483)].is(t(358),t(392))){const i=this[t(456)](e),n=e[t(483)][t(457)](i);if(s[t(331)](n)){const i=e[t(483)][t(402)][t(402)][t(457)](t(576)),r=c[t(283)](i)||new Set;r[t(318)](s[t(283)](n)[t(298)]),c[t(575)](i,r)}}n=r[t(370)][e];for(const e of n)if(e[t(483)].is(t(358),t(392))){const s=this[t(456)](e),n=e[t(483)][t(457)](s);if(i[t(331)](n)){const s=e[t(483)][t(402)][t(402)][t(457)](t(576)),r=c[t(283)](s)||new Set;r[t(318)](i[t(283)](n)[t(298)]),c[t(575)](s,r)}}for(const e of c[t(316)]())(s[t(331)](e)||i[t(331)](e))&&c[t(389)](e)}for(const e of a){const n=r[t(345)][e];let o=null,a=null;for(const e of n){const n=this[t(456)](e),r=e[t(483)][t(457)](n),u=c[t(283)](r);u&&t(580)==e[t(523)]&&(o=Array[t(482)](u)[0],a=e[t(483)][t(457)](t(451))),o&&(i[t(575)](r,{userId:o}),s[t(575)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(370)][e],a=n[t(345)][e];for(const{userId:e}of this[t(586)][t(501)]())null!==e&&l[t(318)](e);for(const{userId:e}of this[t(572)][t(501)]())null!==e&&l[t(318)](e);this[t(289)](a,r[t(345)][e],s,t(442),l),this[t(289)](o,r[t(370)][e],i,t(508),l),u[e]={insertions:this[t(505)](a),deletions:this[t(505)](o),attachChange:this[t(572)][t(283)](e)||null,attributesBefore:R(this[t(380)][t(283)](e))||{},attributesAfter:R(this[t(481)][t(283)](e))}}return{diffData:u,authorsIds:Array[t(482)](l)}}[rt(348)](t){const e=rt;for(const[,i]of t[e(539)]){const t=i[e(364)][e(325)]()[e(436)]((t=>e(392)==t[e(521)]));for(const i of t)1==i[e(347)]&&i[e(583)](0).is(e(358),e(420))&&i[e(583)](0)[e(382)](e(556),!0)}}[rt(505)](t){const e=rt;this[e(348)](t);const i=this[e(413)][e(453)][e(527)](t,{}),s=Array[e(482)](i[e(378)]())[e(387)]((t=>this[e(517)](t)));return JSON[e(311)](s)}[rt(517)](t){const e=rt;if(t.is(e(485)))return t[e(453)];{const i=this[e(413)][e(393)][e(283)](e(274)),s=t,n=this[e(413)][e(453)][e(381)][e(297)],r={type:i[e(309)](s),name:s[e(521)],attributes:Array[e(482)](s[e(305)]()),children:Array[e(482)](s[e(378)]())[e(387)]((t=>this[e(517)](t)))};if(t.is(e(361))&&e(454)!=t[e(521)]){const i=t[e(462)](n[e(390)],n);r[e(489)][e(388)](i[e(474)])}else if(t.is(e(464))){const i=n[e(390)][e(349)](s[e(521)]);t[e(462)](i,n),r[e(489)][e(388)](i[e(484)])}const o=Array[e(482)](s[e(562)]());o[e(373)]>0&&(r[e(334)]=o);const a=s[e(427)]();return null!==a&&(r[e(486)]=a),r}}[rt(289)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(413)][r(463)];for(let s=0;s<e[r(373)];s++){const n=this[r(456)](e[s]),c=e[s][r(483)][r(457)](n),h=i[r(283)](c),d=s==e[r(373)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(298)]!=o[r(298)])&&(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(298)],d=l(397)+s+":"+h+":"+c++,f=u[l(341)](i,a);t[l(539)][l(575)](d,f),null!==h&&n[l(318)](h)}}[rt(456)](t){const e=rt;switch(t[e(523)]){case e(580):return e(576);case e(509):return e(451);default:return e(570)}}[rt(444)](t,e){const i=rt;t[i(394)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(283)](n[i(448)][i(547)]);t[s]=this[i(550)](n,r)}if(n instanceof H.Range){const r=e[i(283)](n[i(448)][i(547)]);t[s]=this[i(446)](n,r)}i(448)===s&&(t[i(448)]=e[i(283)](t[i(448)][i(547)]))}}[rt(446)](t,e){const i=rt;return this[i(413)][i(463)][i(341)](this[i(550)](t[i(364)],e),this[i(550)](t[i(535)],e))}[rt(550)](t,e){const i=rt;return this[i(413)][i(463)][i(342)](e,t[i(367)],t[i(268)])}[rt(322)](t){const e=rt,i=this[e(460)][e(283)](t[e(469)][e(448)][e(547)]),s=this[e(550)](t[e(469)],i),n=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,r=s[e(402)],o=this[e(555)],a=[];for(const i of t[e(386)])if(i.is(e(358)))a[e(388)](this[e(546)](i));else for(let t=0;t<i[e(353)];t++)a[e(388)](new H.Element(e(485),{vid:this[e(555)]++}));const c=this[e(555)];for(let t=o;t<c;t++)this[e(530)][e(575)](t,{userId:n});r[e(412)](s[e(354)],a)}[rt(494)](t){const e=rt;(t=this[e(411)](t,this[e(460)]))[e(317)]();const i=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(495)](),n=s[e(402)],r=s[e(354)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(583)](e);r.is(a(358),a(485))?s[a(575)](r[a(457)](a(570)),{userId:i}):(s[a(575)](r[a(457)](a(576)),{userId:i}),t(s,r,0,r[a(347)]),s[a(575)](r[a(457)](a(451)),{userId:i}))}}(this[e(530)],n,r,r+t[e(497)])}[rt(561)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(460)]))[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(438)][e(402)],n=t[e(519)][e(402)],r=s[e(457)](e(451)),o=n[e(457)](e(576));s[e(382)](e(451),n[e(457)](e(451))),n[e(382)](e(451),r),this[e(530)][e(575)](o,{userId:i}),this[e(530)][e(575)](r,{userId:i}),t[e(317)]()}[rt(435)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(460)]))[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(532)],n=t[e(371)][e(402)];t[e(317)]();const r=n[e(457)](e(451)),o=t[e(512)][e(401)];if(s){const t=o[e(457)](e(451)),s=n[e(457)](e(451));n[e(382)](e(451),t),o[e(382)](e(451),s),this[e(530)][e(575)](n[e(457)](e(451)),{userId:i}),this[e(530)][e(575)](o[e(457)](e(576)),{userId:i})}else{const t=this[e(555)]++,s=this[e(555)]++;n[e(382)](e(451),t),o[e(382)](e(576),s),o[e(382)](e(451),r),this[e(530)][e(575)](t,{userId:i}),this[e(530)][e(575)](s,{userId:i})}}[rt(368)](t){const e=rt;if(!t[e(352)])return;const i=(t=this[e(411)](t,this[e(332)]))[e(526)]?t[e(526)][e(448)]:null,s=t[e(536)]?t[e(536)][e(448)]:null;i&&this[e(292)][e(389)](t[e(521)]),s&&this[e(292)][e(575)](t[e(521)],t[e(536)][e(422)]());const n=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,r=t[e(521)];if(!this[e(586)][e(331)](r))return void this[e(586)][e(575)](r,{range:t[e(526)],userId:n});const o=this[e(586)][e(283)](r),a=o[e(569)],c=t[e(536)];null==a&&null==c||a&&c&&a[e(516)](c)?this[e(586)][e(389)](t[e(521)]):o[e(298)]=n}[rt(375)](t,e){const i=rt;this[i(332)][i(331)](t[i(547)])?this[i(332)][i(283)](t[i(547)])[i(313)]=t[i(503)]:(this[i(332)][i(575)](t[i(547)],ht(t[i(547)],!0)),this[i(481)][i(575)](t[i(547)],{}),e&&this[i(460)][i(575)](t[i(547)],ht(t[i(547)],!0)));const s=null===t[i(441)]?null:t[i(441)]||this[i(413)][i(393)][i(283)](i(499)).me.id,n=this[i(572)][i(283)](t[i(547)]);n&&n[i(298)]===s?this[i(572)][i(389)](t[i(547)]):this[i(572)][i(575)](t[i(547)],{userId:s,isAttached:t[i(503)]})}[rt(366)](t){const e=rt,i=this[e(481)][e(283)](t[e(448)][e(547)]);null===t[e(470)]?delete i[t[e(306)]]:i[t[e(306)]]=t[e(470)]}}function lt(t){const e=rt,i=ht(t[e(547)],t[e(551)]());for(const s of t[e(378)]()){const t=s[e(324)](!0);i[e(477)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(547)]=t,s[i(313)]=e,s[i(551)]=()=>s[i(313)],s}function dt(t,e,i){const s=rt,n=s(509)==t[s(523)]?i[s(424)](t[s(483)],s(535)):i[s(513)](t[s(483)]);return i[s(342)](e,n[s(367)],n[s(268)])}function ft(t,e,i){const s=rt,n=s(580)==t[s(523)]?i[s(424)](t[s(483)],0):i[s(553)](t[s(483)]);return i[s(342)](e,n[s(367)],n[s(268)])}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=Mt;function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=116]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(770730===-parseInt(e(127))/1+-parseInt(e(147))/2*(parseInt(e(128))/3)+parseInt(e(146))/4+-parseInt(e(136))/5*(-parseInt(e(121))/6)+-parseInt(e(135))/7*(-parseInt(e(141))/8)+-parseInt(e(156))/9*(-parseInt(e(138))/10)+-parseInt(e(137))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Dt extends pt.View{[Rt(118)];[Rt(131)];[Rt(149)];constructor(e,i){const s=Rt;super(e),this[s(118)]=new t.FocusTracker,this[s(131)]=new t.KeystrokeHandler,this[s(140)](s(157),""),this[s(149)]=this[s(129)](i),this[s(159)]({tag:s(130),attributes:{class:["ck",s(125),s(123)],tabindex:"-1"},children:[this[s(149)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(116)](){const t=Rt;super[t(116)](),(0,pt.submitHandler)({view:this}),this[t(118)][t(119)](this[t(149)][t(120)]),this[t(131)][t(132)](this[t(120)]);const e=e=>e[t(150)]();this[t(131)][t(140)](t(122),e),this[t(131)][t(140)](t(133),e),this[t(131)][t(140)](t(154),e),this[t(131)][t(140)](t(126),e)}[Rt(155)](){const t=Rt;this[t(149)][t(155)]()}get[Rt(148)](){const t=Rt;return this[t(149)][t(139)][t(120)][t(145)][t(142)]()}set[Rt(148)](t){const e=Rt;this[e(149)][e(139)][e(120)][e(145)]=t[e(142)]()}[Rt(152)](){const t=Rt;this[t(149)][t(139)][t(120)][t(145)]="",this[t(149)][t(143)]=null}[Rt(129)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(144)],pt.createLabeledInputText),s=i[e(139)];s[e(151)]({attributes:{maxlength:e(124)}});let n=Q(this[e(144)],e(134));return!t&&(n+=" ("+Q(this[e(144)],e(153))+")"),i[e(158)]=n,s.on(e(117),(()=>{const t=e;this[t(157)]=s[t(120)][t(145)][t(142)]()})),i}}function Vt(){const t=["arrowdown","1091595MZeUvp","3220179LVxDNV","_createRevisionNameInput","form","keystrokes","listenTo","arrowleft","Name of the revision","217BTokXK","5GXTiFk","8470770zojrxz","8976070RsfNnv","fieldView","set","319768LtLCWb","trim","errorText","locale","value","5841560ZcdVuN","2lbiBSF","revisionName","revisionNameInputView","stopPropagation","extendTemplate","reset","optional","arrowup","focus","9ShWzEa","revisionNameInputValue","label","setTemplate","render","input","focusTracker","add","element","652140DyAOwn","arrowright","ck-responsive-form","220","ck-revision-history-save-revision-form"];return(Vt=function(){return t})()}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=365]})(t,e)}function Ft(){const t=["showRevisionViewerCallback","children","editing","render","set","addMany","items","8LZnqwS","role","isPremiumPlugin","saveRevision","delegate","4086666teEFxm","ck-button-action","isOpen","panelView","componentFactory","reset","bind","Cancel","config","RevisionHistoryUI","locale","revisionName","1598015whQhsk","isOfficialPlugin","errorText","pluginName","editor","6SiXgJN","buttonView","plugins","revisionSave","show","_createSaveRevisionFormView","get","isEnabled","_showDialog","requires","82514KEbVqm","revisionHistory.requireRevisionName","353668rncczK","menuitem","The revision name cannot be empty.","_registerMenuComponent","Save current revision","add","hide","9076111NjWFmd","submit","Revision history","Accept","revisionHistory","revisionNameInputView","isReadOnly","init","view","10BCqQrr","RevisionTracker","1570308LrHiwG","menuBar:revisionHistory","3AciNal","menu","Open revision history","Dialog","isReady","focus","_saveRevisionFormView","execute","2184476OHSwTE"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(284278===-parseInt(e(422))/1*(-parseInt(e(400))/2)+parseInt(e(420))/3+parseInt(e(430))/4+parseInt(e(385))/5*(parseInt(e(390))/6)+parseInt(e(402))/7+-parseInt(e(368))/8*(parseInt(e(373))/9)+parseInt(e(418))/10*(-parseInt(e(409))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends Z.Plugin{static get[Et(388)](){return Et(382)}static get[Et(386)](){return!0}static get[Et(370)](){return!0}static get[Et(399)](){return[at]}[Et(428)];[Et(416)](){const t=Et,e=this[t(389)],i=e[t(392)][t(396)](t(419));e.ui[t(377)][t(407)](t(413),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(376)][n(432)],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(379)](n(397)).to(i,n(426),i,n(397),e,n(415),((t,e,i)=>t&&e&&!i)),r[n(391)][n(365)]({icon:mt.IconHistory,label:Q(s,n(411)),tooltip:!0}),u[n(365)]({label:Q(s,n(406)),withText:!0,role:n(403)}),u[n(379)](n(397)).to(i,n(426),i,n(397),e,n(415),((t,e,i)=>t&&e&&!i)),u.on(n(429),(()=>this[n(398)]())),h[n(365)]({label:Q(s,n(424)),withText:!0,role:n(403)}),h[n(379)](n(397)).to(i,n(426),e,n(415),((t,e)=>t&&!e)),h.on(n(429),(()=>{const t=n;e[t(381)][t(396)](t(413))[t(431)](),r[t(375)]=!1,e[t(433)][t(417)][t(427)]()})),c[n(432)][n(407)](u),l[n(432)][n(407)](h),a[n(369)]=n(423),a[n(367)][n(366)]([c,l]),o[n(407)](a),r})),e.ui[t(377)][t(407)](t(421),(()=>this[t(405)]()))}[Et(405)](){const t=Et,e=this[t(389)],i=e[t(383)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(391)][t(365)]({icon:mt.IconHistory,label:Q(i,t(411))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(365)]({label:Q(i,t(406))}),o[t(372)](t(429)).to(s),o.on(t(429),(()=>{this[t(398)]()})),r[t(432)][t(407)](o),n[t(367)][t(407)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(365)]({label:Q(i,t(424))}),c[t(372)](t(429)).to(s),c.on(t(429),(()=>{const i=t;e[i(381)][i(396)](i(413))[i(431)]()})),a[t(432)][t(407)](c),n[t(367)][t(407)](a),s[t(376)][t(432)][t(407)](n),s}[Et(398)](){const t=Et,e=this[t(389)],i=e[t(383)],s=e[t(392)][t(396)](t(425)),n=e[t(392)][t(396)](t(419));function r(n){const r=t;e[r(381)][r(396)](r(401))&&""===n[r(384)]?n[r(414)][r(387)]=Q(i,r(404)):(e[r(392)][r(396)](at)[r(371)]({name:n[r(384)]}),s[r(408)]())}this[t(428)]||(this[t(395)](),this[t(428)].on(t(410),(()=>r(this[t(428)])))),this[t(428)][t(378)](),s[t(394)]({id:t(393),title:Q(i,t(406)),isModal:!0,content:this[t(428)],actionButtons:[{label:Q(e[t(383)],t(380)),withText:!0,onExecute:()=>s[t(408)]()},{label:Q(e[t(383)],t(412)),class:t(374),withText:!0,onCreate(i){const s=t;i[s(379)](s(397)).to(n,s(426),n,s(397),e,s(415),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(428)])}]})}[Et(395)](){const t=Et,e=this[t(389)],i=e[t(383)];this[t(428)]=new Dt(i,e[t(381)][t(396)](t(401))),this[t(428)][t(434)]()}}const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=180]})(t,e)}function zt(){const t=["ck-revision-change","author","set","focus","name","ck-revision-change__label","156550PcBCLl","Suggested by","_model","data","ck-annotation","306yNAggv","3967974VXqDpi","2397592Ausyhf","setTemplate","38373489GxIbyk","changeId","Added by","5mBLSnn","63492rVyQna","isSuggestion","type","span","10741311PllzOz","bindTemplate","6YYrPgP","10GWokJl","add","element","ck-revision-change__","div","Removed by","12381416lHVZBw"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(914799===parseInt(e(196))/1*(parseInt(e(203))/2)+parseInt(e(189))/3+parseInt(e(190))/4*(-parseInt(e(195))/5)+-parseInt(e(202))/6*(parseInt(e(200))/7)+-parseInt(e(209))/8+-parseInt(e(188))/9*(parseInt(e(183))/10)+parseInt(e(192))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[jt(193)];[jt(185)];constructor(t,e){const i=jt;super(t),this[i(185)]=e,this[i(193)]=e.id;const s=this[i(201)],n=Q(t,e[i(186)][i(197)]?i(184):i(204)==e[i(198)]?i(194):i(208));this[i(212)](i(198),e[i(198)]),this[i(191)]({tag:i(207),attributes:{class:[i(187),i(210),s.to(i(198),(t=>i(206)+t))],tabindex:-1},children:[{tag:i(199),children:[{tag:i(199),attributes:{class:[i(182)]},children:[{text:n}]},{text:" "+e[i(211)][i(181)]}]}]})}[jt(180)](){const t=jt;this[t(205)][t(180)]()}}var Zt=Ut;function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=366]})(t,e)}function Ht(){var t=["8gsPjOB","332601jhbuyE","14788ReyLKD","55904NSBdym","toJSON","author","20320752egmuuN","rootName","3643387VZjjnP","898783qLvOjC","createdAt","1267NSYXKo","type","10VfXanG","data","21018TPSWmw","set","1055hmjEkp","216jBXItZ"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(564036===parseInt(e(372))/1+parseInt(e(382))/2*(parseInt(e(383))/3)+-parseInt(e(384))/4*(-parseInt(e(380))/5)+-parseInt(e(378))/6*(-parseInt(e(374))/7)+-parseInt(e(366))/8*(parseInt(e(381))/9)+parseInt(e(376))/10*(-parseInt(e(371))/11)+-parseInt(e(369))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends((0,t.ObservableMixin)()){id;[Zt(368)];[Zt(375)];[Zt(377)];[Zt(370)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)],this[i(375)]=e[i(375)],this[i(377)]=e[i(377)]||{},this[i(370)]=e[i(370)],this[i(379)](i(373),e[i(373)])}[Zt(367)](){var t=Zt;return{id:this.id,authorId:this[t(368)].id,type:this[t(375)],data:this[t(377)],createdAt:this[t(373)]}}}function qt(){const t=["add","8xrtGPi","48257DVPILx","6124WqAVLh","2185245sIRHLW","newRevisionId","696bGUnSC","4cnGggD","2853500OVgGRr","1609902bkwQhy","_setChanges","88977Oxxpis","changes","oldRevisionId","188cBUvnk","114WFzFYd","750165QapYLc"];return(qt=function(){return t})()}function Bt(t,e){const i=qt();return(Bt=function(t,e){return i[t-=111]})(t,e)}const Yt=Bt;!function(t){const e=Bt,i=t();for(;;)try{if(349445===parseInt(e(124))/1*(-parseInt(e(118))/2)+-parseInt(e(113))/3*(-parseInt(e(111))/4)+-parseInt(e(120))/5+parseInt(e(119))/6*(parseInt(e(115))/7)+-parseInt(e(122))/8*(parseInt(e(125))/9)+parseInt(e(112))/10+parseInt(e(123))/11*(parseInt(e(127))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Gt{[Yt(126)];[Yt(117)];[Yt(116)];constructor(e,i){const s=Yt;this[s(126)]=e,this[s(117)]=i,this[s(116)]=new t.Collection}[Yt(114)](t){const e=Yt;for(const i of t)this[e(116)][e(121)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=te;!function(t){const e=te,i=t();for(;;)try{if(277015===parseInt(e(513))/1+parseInt(e(276))/2*(-parseInt(e(459))/3)+-parseInt(e(255))/4+-parseInt(e(406))/5*(-parseInt(e(380))/6)+-parseInt(e(511))/7+-parseInt(e(550))/8*(parseInt(e(514))/9)+parseInt(e(381))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class Qt extends Z.Plugin{[Xt(490)];[Xt(520)]=null;[Xt(477)];[Xt(326)];[Xt(332)];[Xt(484)];[Xt(247)];static get[Xt(298)](){return Xt(430)}static get[Xt(284)](){return!0}static get[Xt(466)](){return!0}static get[Xt(341)](){return[U.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(490)]=this[e(375)][e(347)][e(300)](e(257)),this[e(477)]=this[e(375)][e(347)][e(300)](e(248)),this[e(417)](e(530),null),this[e(417)](e(470),null),this[e(326)]=null,this[e(417)](e(426),null),this[e(417)](e(303),!1),this[e(417)](e(444),!0),this.on(e(410),((t,i,s)=>{const n=e;this[n(530)]=null,this[n(470)]=null,this[n(375)][n(229)][n(360)][n(439)]((t=>{const e=n;for(const i of this[e(375)][e(229)][e(360)][e(245)][e(547)])s?t[e(471)](e(258),i):t[e(277)](e(258),i)}))})),this[e(535)](e(528)).to(this,e(530),(t=>null!==t)),this[e(535)](e(487)).to(this,e(303),this,e(426),this,e(530),((t,i,s)=>t&&s?i[e(464)][e(301)](s):0)),this[e(535)](e(320)).to(this,e(303),this,e(426),((t,i)=>t?i[e(464)][e(264)]:0)),this[e(332)]=null,this[e(484)]=new Map,this[e(247)]=this[e(375)][e(347)][e(300)](pt.ContextualBalloon)}[Xt(431)](){const t=Xt,e=this[t(375)],i=new ne(e,{direction:t(488)}),s=new ne(e,{direction:t(244)});e[t(289)][t(447)](t(339),i),e[t(289)][t(447)](t(352),s),e[t(289)][t(447)](t(405),new se(e)),this.on(t(278),(()=>{const e=t;i[e(453)](),s[e(453)]()})),this[t(541)](),this[t(331)](),e[t(334)](t(465)),e[t(347)][t(330)](t(268))&&e[t(347)][t(300)](t(268))[t(378)](t(465))}async[Xt(263)](t){const e=Xt;return await this[e(477)][e(462)](t,this[e(520)]),this[e(477)][e(263)](t)}async[Xt(391)](t){const e=Xt;return await this[e(477)][e(462)](t,this[e(520)]),this[e(477)][e(391)](t)}async[Xt(472)](t,e,i=!1){const s=Xt;if(!this[s(444)])return;const n=this[s(426)],r=this[s(490)],o=s(343)==typeof t?r[s(240)](t):t,a=s(343)==typeof e?r[s(240)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(426)]&&this[s(426)][s(273)]===c&&this[s(426)][s(382)]===u)return Promise[s(379)]();this[s(303)]=!1,this[s(470)]=null,this[s(530)]=null,this[s(426)]=new Gt(c,u);const l=this[s(549)](o,a,!0)[s(254)]((t=>this[s(477)][s(462)](t,this[s(520)])));return l[s(414)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(440)](l)[s(262)]((()=>{const t=s;if(!this[t(444)])return;this[t(265)]();const e=this[t(251)](c,u);for(const i of e[t(464)])this[t(484)][t(417)](i.id,i);this[t(375)][t(456)][t(527)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(375)][s(456)][s(245)][s(243)]())i[s(327)](t);for(const t of Object[s(241)](e[s(456)])){const n=i[s(403)](t);for(const r of Object[s(241)](e[s(458)][t]))i[s(291)](r,e[s(458)][t][r],n);i[s(512)](e[s(456)][t],n,0)}})),this[t(426)][t(305)](this[t(306)](e[t(464)])),this[t(303)]=!0}))[s(402)]((t=>{const e=s;console[e(494)](t),this[e(265)](),n&&(this[e(426)]=n),this[e(303)]=!0}))}[Xt(518)](t,e){const i=Xt,s=this[i(490)][i(446)](t);return s.on(i(522),((t,i,n)=>e(i,n,s))),this[i(490)][i(393)](s),s}[Xt(265)](){const t=Xt;this[t(530)]=null,this[t(358)](),this[t(332)]&&this[t(332)][t(280)](),this[t(332)]=null,this[t(484)][t(329)](),this[t(375)][t(456)][t(527)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(375)][i(456)][i(245)][i(243)]())e[i(327)](t)}))}[Xt(306)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(375)][e(456)][e(245)][e(243)]()){const n=this[e(375)][e(229)][e(360)][e(450)](t);if(!n)continue;const r=n[e(365)]()[e(336)](0);r&&(i[e(414)](t),s[e(417)](t,r))}return i[e(340)](((t,i)=>{const n=e,r=s[n(300)](t),o=s[n(300)](i);return r.y-o.y||r.x-o.x})),(t=t[e(235)]((t=>i[e(338)](t[e(325)]))))[e(340)](((t,s)=>i[e(537)](t[e(325)])-i[e(537)](s[e(325)]))),t}[Xt(526)](t){const e=Xt,i=Array[e(396)](t[e(389)])[e(235)]((([t,i])=>t[e(316)](e(524))&&!i[e(373)])),s=Array[e(396)](this[e(375)][e(456)][e(500)](t)[e(314)]({singleCharacters:!0}));if(0!=i[e(264)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(368)](":");if(n[e(497)][e(261)](t[e(533)])&&i[e(460)](),(t[e(319)][e(261)](n[e(515)])||t[e(319)][e(519)](n[e(515)]))&&(e(469)==r?t[e(432)]={userId:o}:e(422)==r&&(t[e(545)]={userId:o})),0==i[e(264)])break}return s}[Xt(302)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(264)];s++)e(230)===t[s][e(272)]?(t[s][e(336)][e(517)]=s,t[s][e(336)][e(242)]=s):(e(397)===t[s][e(272)]?t[s][e(336)][e(517)]=s:e(474)===t[s][e(272)]&&(t[s][e(336)][e(242)]=s),i[e(417)](t[s].id,s));for(const s of i[e(413)]())e(397)===t[s][e(272)]?t[s][e(336)][e(242)]=i[e(300)](t[s][e(355)]):e(474)===t[s][e(272)]&&(t[s][e(336)][e(517)]=i[e(300)](t[s][e(355)]))}[Xt(307)](t){const e=Xt;for(let i=0;i<t[e(264)];i++){if(e(397)===t[i][e(272)])t[i][e(336)][e(517)]=i;else if(e(474)===t[i][e(272)]){t[i][e(336)][e(242)]=i;const s=t[i][e(336)][e(517)];t[s][e(355)]=t[i].id,t[i][e(355)]=t[s].id}else t[i][e(336)][e(517)]=i,t[i][e(336)][e(242)]=i,t[i][e(355)]=null;t[i][e(324)]||(t[i][e(324)]=[],t[i][e(226)]=[])}}[Xt(286)](t,e){const i=Xt,s=t[i(235)]((t=>!t[i(432)]));for(let t=0;t<e[i(264)];t++)e[t][i(432)]&&(s[t][i(432)]=e[t][i(432)])}[Xt(251)](t,e=null){const i=Xt,s=this[i(490)][i(240)](t),n=e?this[i(490)][i(240)](e):null,r=this[i(549)](s,n),o=r[r[i(264)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(264)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(241)](e[i(525)]))if(e[i(525)][t][i(335)]){const s=e[i(525)][t][i(335)];s[i(543)]?(u[i(447)](t),l[i(330)](t)&&l[i(300)](t)[i(333)]==s[i(333)]?l[i(313)](t):l[i(417)](t,s)):l[i(330)](t)?(u[i(313)](t),l[i(313)](t)):(u[i(447)](t),l[i(417)](t,s))}else u[i(447)](t)}for(const t of u){const e=l[i(330)](t)&&!l[i(300)](t)[i(543)];let s=e?r[i(264)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(525)][t]){const s=e?o[i(525)][t][i(407)]:o[i(525)][t][i(516)];c[i(458)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(456)]={};for(const e of t[i(362)])a[i(417)](e.id,e);for(const e of u){const s=t[i(525)][e]?t[i(525)][e][i(492)]:"[]",n=t[i(525)][e]?t[i(525)][e][i(463)]:"[]";t[i(456)][e]={insertions:this[i(477)][i(428)](s),deletions:this[i(477)][i(428)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(396)](s[i(456)][t][i(492)][i(389)])[i(235)]((([t])=>!t[i(316)](i(524)))));let h=0;for(const o of r){const r=this[i(526)](o[i(456)][t][i(492)]);o==s?(e=r,n=e[i(264)],e[i(337)]((t=>{t.id=h++})),this[i(307)](e)):this[i(286)](e,r);const a=e[i(235)]((t=>!t[i(432)]))[i(254)]((t=>t.id));let c=0;const l=this[i(526)](o[i(456)][t][i(463)]);l[i(337)]((t=>{t[i(545)]?t.id=n++:t.id=a[c++]})),this[i(307)](l),this[i(398)](e,i(432)),this[i(398)](l,i(545)),o==s&&this[i(419)](e,u),e=this[i(311)](e,l),this[i(302)](e),this[i(398)](e,i(545))}e=e[i(235)]((t=>!(t[i(432)]&&t[i(545)])));const d=new Map(o[i(456)][t][i(463)][i(389)]),f=new Set(u[i(241)]());for(const t of d[i(241)]())f[i(313)](t);this[i(480)](e,f),this[i(536)](e),e=this[i(478)](e),e=this[i(321)](e),e=this[i(318)](e);const{root:m,changes:p}=this[i(412)](e,a,t);c[i(456)][t]=m;const v=l[i(300)](t);if(v){const e=a[i(300)](v[i(333)]),s=new $t({author:e,type:v[i(543)]?i(447):i(267),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(346)](s),c[i(458)][t][i(452)]=s.id}c[i(464)]=c[i(464)][i(451)](p)}return c}[Xt(419)](t,e){const i=Xt;for(let s=0;s<t[i(264)];s++)for(const[n,r]of e)!r[i(373)]&&r[i(515)][i(261)](t[s][i(319)])&&t[s][i(324)][i(414)](n),r[i(497)][i(261)](t[s][i(533)])&&t[s][i(226)][i(414)](n)}[Xt(311)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(264)]||r<e[i(264)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(414)](o);else if(a[i(545)]&&o[i(432)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(351)](t,n,e,r);s=s[i(451)](o),n=a,r=c}else a[i(545)]?(r++,s[i(414)](a)):(n++,s[i(414)](o))}return s}[Xt(480)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(264)];o++){for(let r=0;r<t[o][i(324)][i(264)];r++){const a=t[o][i(324)][r];if(!e[i(330)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(293)!=c||i(469)!=u&&i(422)!=u||(s[i(346)]({type:u,name:a,userId:l}),t[o][i(324)][i(498)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(226)][i(264)];r++){const a=t[o][i(226)][r];if(!e[i(330)](a))continue;const{group:c,type:u}=n(a);if(i(293)!=c||i(469)!=u&&i(422)!=u)continue;t[o][i(226)][i(498)](r,1),r--;const l=s[i(376)]((t=>t[i(542)]==a));l>-1&&s[i(498)](l,1)}}function n(t){const e=i,s=t[e(368)](":");return{group:s[0],type:s[1],subType:s[e(264)]>=5?s[2]:null,id:s[e(264)]<5?s[2]:s[3],authorId:s[e(264)]<5?s[3]:s[4],markerCount:6==s[e(264)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(264)];i++){if(t[e(432)]&&e(469)==s[i][e(272)])return t[e(531)]=s[i],void delete t[e(432)];if(!t[e(432)]&&!t[e(545)]&&e(422)==s[i][e(272)])return void(t[e(411)]=s[i])}}}[Xt(398)](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(417)](o.id,s);for(let s=0;s<t[i(264)];s++){if(i(545)==e&&t[s][i(432)]||i(432)==e&&t[s][i(545)])continue;if(i(230)==t[s][i(272)]){t[s][i(479)]=0;continue}const n=r[i(300)](t[s][i(355)]),o=r[i(300)](t[s].id);t[s][i(479)]=n-o}}[Xt(549)](t,e,i=!1){const s=Xt,n=[];let r=this[s(490)][s(301)](t),o=this[s(490)][s(301)](e);for(-1==o&&(o=this[s(490)][s(308)][s(264)],i=!1);r<o;)n[s(414)](this[s(490)][s(240)](r)),r++;return i&&n[s(414)](this[s(490)][s(240)](r)),n}[Xt(351)](t,e,i,s){const n=Xt,r=this[n(375)][n(456)][n(461)];let o=e;for(;t[o]&&t[o][n(432)];)o++;let a=s;for(;i[a]&&i[a][n(545)];)a++;u(t,e,o),u(i,s,a);const c=i[n(250)](s,a)[n(451)](t[n(250)](e,o));return c[n(340)](((t,e)=>t[n(532)]!=e[n(532)]?t[n(532)]-e[n(532)]:t[n(504)]!=e[n(504)]?t[n(504)]-e[n(504)]:t[n(479)]!=e[n(479)]?e[n(479)]-t[n(479)]:!!t[n(432)]!=!!e[n(432)]?-1==t[n(532)]||0==t[n(532)]?t[n(432)]?-1:1:t[n(432)]?1:-1:t[n(437)]-e[n(437)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(387)],c=!0;for(let n=e;n<i;n++)if(r[s(372)](t[n][s(336)])||(c=!1),t[n][s(336)][s(517)]<e&&(o=n),t[n][s(336)][s(242)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(532)]=n<=o?-1:n<a?0:1,t[n][s(437)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(479)]?t[i][s(504)]=u:(u++,t[i][s(504)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(532)]&&(t[n][s(504)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(479)]?t[e][s(504)]=u:(u--,t[e][s(504)]=u,u--)}}[Xt(536)](t){const e=Xt,i=new Map,s=this[e(375)][e(456)][e(461)];for(let n=1;n<t[e(264)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(230)==c[e(272)])continue;if(c[e(272)]!=u[e(272)])continue;if(!s[e(357)](u[e(336)])||s[e(299)](u[e(336)]))continue;if(!s[e(357)](c[e(336)])||s[e(299)](c[e(336)]))continue;if((t[n][e(432)]||t[n][e(531)])&&t[n-1][e(545)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(545)]||!t[n-1][e(432)]&&!t[n-1][e(531)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(504)]==o[e(504)],h=Math[e(506)](r[e(504)])<Math[e(506)](o[e(504)])&&0==o[e(479)];(l||h)&&(i[e(417)](o.id,r.id),t[e(498)](a,1),n--,r[e(432)]=!1)}for(let s=0;s<t[e(264)];s++)i[e(330)](t[s][e(355)])&&(t[s][e(355)]=i[e(300)](t[s][e(355)]))}[Xt(478)](t){const e=Xt,i=new Set(t[e(254)]((t=>t.id)));for(let s=0;s<t[e(264)];s++)i[e(330)](t[s][e(355)])||0==t[s][e(479)]||(t[s][e(374)]=!0);return t[e(235)]((t=>!t[e(374)]))}[Xt(321)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(264)];s++){if(i[e(330)](t[s].id)&&t[s][e(545)]&&(t[s][e(374)]=!0),t[s][e(374)])continue;if(0==t[s][e(479)])continue;if(e(397)!=t[s][e(272)])continue;if(null==t[s][e(355)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(355)];)e(397)==t[n][e(272)]?r++:e(474)==t[n][e(272)]&&r--,n++;if(0!=r)if(t[s][e(545)])t[s][e(374)]=!0;else for(;n!=s;)t[n][e(545)]&&0!=t[n][e(479)]&&(t[n][e(374)]=!0,i[e(447)](t[n][e(355)])),n--}return t[e(235)]((t=>!t[e(374)]))}[Xt(318)](t){const e=Xt,i=this[e(375)][e(456)][e(461)];for(let s=0;s<t[e(264)];s++){if(!(t[s][e(432)]||t[s][e(531)]||t[s][e(545)]||t[s][e(411)]))continue;if(0==t[s][e(479)])continue;const n=t[s][e(336)];i[e(357)](n)||i[e(299)](n)||(t[s][e(432)]&&delete t[s][e(432)],t[s][e(531)]&&delete t[s][e(531)],t[s][e(411)]&&delete t[s][e(411)],t[s][e(545)]&&(t[s][e(374)]=!0))}return t[e(235)]((t=>!t[e(374)]))}[Xt(412)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(375)][s(456)],c=a[s(461)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(264)];e++)if(s(397)===t[e][s(272)]){t[e][s(319)]=a[s(377)](n,f);const i=new H.Element(t[e][s(336)][s(542)],t[e][s(336)][s(309)]());u[0][s(540)](i),f[s(414)](0),u[s(346)](i),t[e][s(533)]=a[s(377)](n,f)}else s(474)===t[e][s(272)]?(u[s(460)](),t[e][s(319)]=a[s(377)](n,f),f[s(344)](),f[f[s(264)]-1]++,t[e][s(533)]=a[s(377)](n,f)):(t[e][s(319)]=a[s(377)](n,f),d?d[s(288)]+=t[e][s(336)][s(238)]:d=new H.Text(t[e][s(336)][s(238)],t[e][s(336)][s(309)]()),t[e+1]&&s(230)===t[e+1][s(272)]&&v(d,t[e+1][s(336)])||(u[0][s(540)](d),d=null),f[f[s(264)]-1]+=t[e][s(336)][s(328)],t[e][s(533)]=a[s(377)](n,f));for(let e=0;e<t[s(264)];e++){const i=t[e][s(319)],n=t[e][s(533)];for(const n of t[e][s(324)])o[s(417)](n,{start:i,end:null});m(s(411),e,i,n),m(s(531),e,i,n),m(s(545),e,i,n),m(s(432),e,i,n);for(const i of t[e][s(226)]){const t=o[s(300)](i);t?t[s(497)]=n:o[s(417)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(375)][s(456)][s(236)](e[s(515)],e[s(497)]);n[s(389)][s(417)](t,i)}return r[s(340)](((t,e)=>{const i=s,r=n[i(389)][i(300)](i(524)+t.id),o=n[i(389)][i(300)](i(524)+e.id);return r[i(515)][i(285)](o[i(515)])?-1:r[i(515)][i(519)](o[i(515)])?1:r[i(497)][i(285)](o[i(497)])?-1:r[i(497)][i(519)](o[i(497)])?1:i(447)===t[i(272)]?-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(333)]:null,d=i===t[o(264)]-1,f=h[e][0],m=c[o(493)](t[i][o(336)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(497)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(333)]!==u&&(l[e][o(497)]=n,f&&f[o(333)]===l[e][o(333)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(397)!==t[i][o(272)]||f&&f[o(333)]===u||h[e][o(346)]({userId:u,object:t[i][o(336)],change:l[e]}),o(474)===t[i][o(272)]&&f&&f[o(232)]===t[i][o(336)]&&(h[e][o(460)](),l[e]=f[o(439)])),l[e]&&d&&(l[e][o(497)]=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(336)],f=a[h(461)][h(357)](d)&&!a[h(461)][h(299)](d),m=t[h(454)]==o[h(364)]&&o[h(348)];if(f&&m)return;const p=a[h(236)](t,o),v=e[h(300)](u),g=new $t({author:v,type:h(432)==l||h(531)==l?h(447):h(267),data:{isSuggestion:h(531)==l||h(411)==l},createdAt:new Date,rootName:i});r[h(414)](g),n[h(389)][h(417)](h(524)+g.id,p)}function v(t,e){const i=s,n=t[i(309)](),r=e[i(309)]();for(const t of n){if(t[1]!==e[i(481)](t[0]))return!1;r[i(544)]()}return r[i(544)]()[i(502)]}}[Xt(541)](){const t=Xt;this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(304)}),this[t(375)][t(295)][t(370)](t(503))[t(345)]({model:t(304),view:e=>{const i=t,s=e[i(435)][i(368)](":")[1],n=this[i(279)](s);if(!n)return null;const r=i(447)==n[i(272)]?i(469):i(422),o=[i(290),i(281)+r];return n[i(238)][i(505)]&&o[i(414)](i(281)+r+i(249)),this[i(530)]==n&&o[i(414)](i(483)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(375)][t(295)][t(370)](t(501))[t(447)]((e=>{const i=t;e.on(i(409),((t,e,s)=>{const n=i,r=e[n(491)][n(359)](0);if(!r||!r.is(n(266),n(228)))return;if(!s[n(467)][n(548)](r,{attributes:[n(349),n(312)]}))return;const o=e[n(539)][n(515)][n(454)];s[n(270)][n(291)](n(349),r[n(481)](n(349)),o),s[n(270)][n(291)](n(312),r[n(481)](n(312)),o)}),{priority:i(443)})})),this[t(375)][t(295)][t(370)](t(501))[t(447)]((e=>{const i=t;e.on(i(266),((t,e,s)=>{const n=i;if(!s[n(467)][n(548)](e[n(491)],{attributes:[n(349),n(312)]}))return;if(e[n(539)][n(373)])return;const r=e[n(539)][n(515)][n(454)];r[n(448)](n(349))||r[n(448)](n(482))||(s[n(270)][n(291)](n(349),e[n(491)][n(481)](n(349)),r),s[n(270)][n(291)](n(312),e[n(491)][n(481)](n(312)),r))}),{priority:i(443)})})),this[t(375)][t(295)][t(370)](t(501))[t(371)]({view:{name:t(350),attributes:{vid:!0}},model:{key:t(482),value:e=>e[t(481)](t(482))}}),this[t(375)][t(456)][t(461)].on(t(421),((e,[,i])=>{const s=t;[s(349),s(312),s(482)][s(338)](i)&&(e[s(269)]=!0,e[s(315)]())}),{priority:t(457)}),this[t(375)][t(295)][t(370)](t(259))[t(447)]((e=>{const i=t;e.on(i(296),((t,e,s)=>{const n=i;if(" "!=e[n(336)][n(238)]||e[n(336)][n(364)][n(342)]>1)return;if(!s[n(467)][n(548)](e[n(336)],t[n(542)]))return;const r=s[n(270)],o=s[n(274)][n(260)](e[n(441)]);r[n(404)](o,r[n(227)](n(350)))}))})),this[t(375)][t(295)][t(370)](t(259))[t(455)]({model:t(304)}),this[t(375)][t(229)][t(521)].on(t(400),function(e){const i=t,s=e[i(347)][i(300)](i(430));return(t,n,r)=>{const o=i,a=n[o(435)][o(368)](":")[1],c=s[o(279)](a);if(!c)return null;const u=o(447)==c[o(272)]?o(368):o(271);if(!r[o(467)][o(225)](n[o(485)],t[o(542)]))return;const l=n[o(485)][o(314)](),h=n[o(485)][o(515)],d=e[o(456)][o(461)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(336)];p=p||d[o(401)](e);const i=r[o(274)][o(499)](e);if(i&&i[o(425)](o(392)))return;o(474)==t[o(272)]&&d[o(357)](e)&&!d[o(299)](e)&&(e[o(234)]||h[o(367)]?f&&f[o(364)]==e||(f=e,g(t[o(319)]),v=!0):m=m||t[o(319)])}function g(t){const e=o,i=r[e(270)][e(363)](e(350),{class:e(281)+u}),a=r[e(274)][e(475)](t);c[e(238)][e(505)]&&r[e(270)][e(277)](e(281)+u+e(249),i),s[e(530)]==c&&r[e(270)][e(277)](e(483),i),r[e(270)][e(512)](a,i),r[e(274)][e(508)](i,n[e(435)])}p||v||!m||g(m)}}(this[t(375)]),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(416),((e,i,s)=>{const n=t,r=s[n(274)][n(476)](i[n(435)]);if(r)for(const t of r)(t[n(282)](n(509))||t[n(282)](n(442)))&&(s[n(274)][n(510)](t,i[n(435)]),s[n(270)][n(267)](t))}),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(400),((e,i,s)=>{const n=t,r=i[n(435)][n(368)](":")[1],o=this[n(279)](r);if(!o)return null;const a=n(447)==o[n(272)]?n(368):n(271);if(s[n(467)][n(225)](i[n(485)],e[n(542)]))for(const t of i[n(485)][n(356)]()){if(!t.is(n(266),n(496)))continue;const e=s[n(270)][n(363)](n(350),{class:n(281)+a}),r=s[n(274)][n(475)](this[n(375)][n(456)][n(292)](t));o[n(238)][n(505)]&&s[n(270)][n(277)](n(281)+a+n(249),e),this[n(530)]==o&&s[n(270)][n(277)](n(483),e),s[n(270)][n(512)](r,e),s[n(274)][n(508)](e,i[n(435)])}}),{priority:t(449)}),this[t(375)][t(456)][t(245)].on(t(439),(()=>{const e=t;this[e(375)][e(229)][e(360)][e(439)]((t=>{const i=e;for(const e of this[i(375)][i(456)][i(245)][i(243)]()){const s=this[i(375)][i(456)][i(245)][i(275)](e),n=this[i(375)][i(229)][i(360)][i(245)][i(275)](e);if(n){const e=s[i(481)](i(452));if(t[i(385)](i(390),n),t[i(471)](i(433),n),t[i(471)](i(283),n),t[i(471)](i(361),n),e){const s=this[i(279)](e);if(!s)return null;t[i(291)](i(390),e,n),t[i(277)](i(420)+s[i(272)],n),this[i(530)]==s&&t[i(277)](i(361),n)}}}}))})),this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(495),model:e=>t(523)+e,converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(486),model:e=>t(399)+e,converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(259))[t(455)]({model:t(293),view:e=>({name:t(546)+e,group:t(293)}),converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(503))[t(345)]({model:t(293),view:e=>{const i=t,s=e[i(435)][i(368)](":")[1];return i(469)!=s&&i(422)!=s?null:{classes:[i(388),i(424)+s]}}}),this[t(375)][t(229)][t(521)].on(t(231),ie(this[t(375)],t(271)),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(354),ie(this[t(375)],t(368)),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(418),((e,i,s)=>{const n=t,r=s[n(274)][n(476)](i[n(435)]);if(r)for(const t of r)t.is(n(415))&&(s[n(274)][n(510)](t,i[n(435)]),s[n(270)][n(267)](t))}),{priority:t(449)})}[Xt(279)](t){const e=Xt;return this[e(484)][e(300)](t)}[Xt(383)](t){const e=Xt;return this[e(332)]&&this[e(332)][e(280)](),this[e(332)]=new Wt(this[e(375)][e(429)],t),this[e(332)]}[Xt(331)](){const t=Xt;this[t(375)][t(456)][t(245)][t(322)][t(353)](t(304)),this.on(t(445),((e,i,s,n)=>{const r=t;n&&this[r(247)][r(267)](n),s&&(this[r(247)][r(447)]({view:s,stackId:r(395),position:{target:()=>{const t=r,e=this[t(375)][t(229)],i=this[t(279)](s[t(366)]);let n;if(i[t(238)][t(507)]){const s=e[t(360)][t(450)](i[t(325)]);n=Array[t(396)](s[t(365)]())}else{const i=this[t(375)][t(456)][t(389)][t(300)](t(524)+s[t(366)]);n=Array[t(396)](e[t(274)][t(476)](i[t(542)]))[t(254)]((i=>e[t(360)][t(233)][t(534)](i)))[t(254)]((e=>Array[t(396)](e[t(365)]())))[t(384)]()}return this[t(326)]&&n[t(386)]((e=>e[t(538)]-3<=this[t(326)].y&&e[t(317)]+3>=this[t(326)].y&&e[t(323)]-3<=this[t(326)].x&&e[t(239)]+3>=this[t(326)].x))||n[0]}}}),this[r(247)][r(473)](r(395)))})),this.on(t(310),((e,i,s,n)=>{const r=t;this[r(470)]=s?this[r(383)](s):null,this[r(375)][r(456)][r(439)]((()=>{const t=r,e=this[t(375)][t(229)];n&&(n[t(238)][t(507)]?e[t(360)][t(439)]((i=>{const s=t;i[s(471)](s(361),e[s(360)][s(245)][s(275)](n[s(325)]))})):e[t(369)](t(524)+n.id)),s&&(s[t(238)][t(507)]?e[t(360)][t(439)]((i=>{const n=t;i[n(277)](n(361),e[n(360)][n(245)][n(275)](s[n(325)]))})):e[t(369)](t(524)+s.id))}))})),this[t(434)](this[t(375)][t(229)][t(360)][t(245)],t(468),((e,i)=>{const s=t;if(this[s(530)])return;const n=this[s(237)](i[s(253)]),r=this[s(484)][s(300)](n);r?(this[s(326)]={x:i[s(423)].x,y:i[s(423)].y},this[s(470)]=this[s(383)](r)):(this[s(326)]=null,this[s(470)]=null)})),this[t(434)](this[t(375)][t(229)][t(360)][t(245)],t(408),((e,i)=>{const s=t,n=this[s(237)](i[s(253)]),r=this[s(484)][s(300)](n);r?(this[s(326)]={x:i[s(423)].x,y:i[s(423)].y},r===this[s(530)]?this[s(247)][s(287)]():this[s(530)]=r):(this[s(326)]=null,this[s(530)]=null)}))}[Xt(237)](t){const e=Xt;do{const i=t[e(481)](e(390));if(i)return i;t=t[e(364)]}while(t);return null}[Xt(358)](){const t=Xt;this[t(375)][t(456)][t(439)]((e=>{const i=t;for(const t of this[i(375)][i(456)][i(389)])e[i(297)](t)}))}}function te(t,e){const i=ee();return(te=function(t,e){return i[t-=225]})(t,e)}function ee(){const t=["_markMarkers","ck-revision-history-root-","checkAttribute","deletion","domEvent","ck-suggestion-preview-marker-","getCustomProperty","diff","affectsData","_makeModelFromViewString","locale","RevisionViewer","init","isAdded","ck-revision-history-root-add","listenTo","markerName","config","index","revisionHistory","change","all","range","ck-suggestion-marker-merge","low","isEnabled","change:activeView","createRevision","add","hasAttribute","high","getDomRoot","concat","revisionHistoryAttachChange","refresh","nodeAfter","markerToData","model","highest","attributes","3RgFYKA","shift","schema","loadRevisionData","deletions","changes","revision-viewer","isPremiumPlugin","consumable","mouseover","insertion","activeView","removeClass","compare","showStack","elementEnd","toViewPosition","markerNameToElements","_utils","_removeMissingPairs","distance","_markSuggestions","getAttribute","vid","ck-suggestion-marker--active","_changeIdToChange","markerRange","suggestion","currentChangeNumber","backward","execute","repository","viewItem","insertions","isObject","error","comment","softBreak","end","splice","toViewElement","createRangeIn","upcast","done","editingDowncast","level","isSuggestion","abs","isOnRoot","bindElementToMarker","ck-suggestion-marker-split","unbindElementFromMarkerName","434896AkhUvb","insert","300765CrNuSt","266904VpTLWT","start","attributesAfter","startIndex","addRevisionData","isAfter","adapter","downcastDispatcher","_update","revision-comment:","revision:","diffData","_makeTape","enqueueChange","isNavigationMode","change:isReady","activeChange","isAddSuggestion","side","nextPosition","mapViewToDom","bind","_fixObsoleteTags","indexOf","top","modelRange","_appendChild","_setConversion","name","isAttached","next","isRemoved","suggestion:","roots","consume","_getRevisionsRange","64UHGFpS","test","markersEnd","createAttributeElement","code","editing","text","addMarker:revision-suggestion:deletion","object","domConverter","nextSibling","filter","createRange","_findChangeIdFromDomTarget","data","right","getRevision","keys","endIndex","getRootNames","forward","document","_step","_balloon","RevisionHistoryUtils","-new","slice","_getDiff","getLaterVisibleRevision","target","map","878248dAgdSW","dataToMarker","RevisionsRepository","ck-editor__editable__overlay","dataDowncast","toViewRange","isEqual","then","getRevisionDocumentData","length","_cleanUp","element","remove","WidgetToolbarRepository","return","writer","merge","type","newRevisionId","mapper","getRoot","968066UcGQUt","addClass","change:numberOfChanges","_getChangeFromId","destroy","ck-suggestion-marker-","hasClass","ck-revision-history-root-remove","isOfficialPlugin","isBefore","_markInsertions","updatePosition","_data","commands","ck-suggestion-marker","setAttribute","createPositionBefore","revision-suggestion","first","conversion","attribute:vid","removeMarker","pluginName","isLimit","get","getIndex","_refreshStartEndIndex","isReady","revision","_setChanges","_sortAndFilterDiffChanges","_processTape","_revisions","getAttributes","change:activeChange","_joinTapes","vid_end","delete","getWalker","stop","startsWith","bottom","_removeUnsupportedChanges","previousPosition","numberOfChanges","_markMismatchedRemovedTags","selection","left","markersStart","rootName","_activeViewTarget","detachRoot","offsetSize","clear","has","_initInteractions","_changeView","userId","enableReadOnlyMode","attachChange","item","forEach","includes","showPreviousChange","sort","requires","maxOffset","string","pop","markerToHighlight","unshift","plugins","isAtStart","vid_start","span","_threeWayMerge","showNextChange","observeMarkers","addMarker:revision-suggestion:insertion","pairId","getItems","isBlock","_cleanMarkers","getChild","view","ck-revision-history-root--active","authors","createUIElement","parent","getClientRects","changeId","isAtEnd","split","reconvertMarker","for","elementToAttribute","isInline","isCollapsed","isIncorrect","editor","findIndex","createPositionFromPath","forceDisabled","resolve","1254DEPJaw","8993830TIeOAF","oldRevisionId","_getViewForChange","flat","removeAttribute","find","POSITIVE_INFINITY","ck-suggestion-preview-marker","markers","data-change-id","getRevisionRootsAttributes","addHighlight","addRevision","restoreRevisionCallback","revisionHistoryLabel","from","elementStart","_setDistance","revision-suggestion:","addMarker:revision","isContent","catch","addRoot","wrap","restoreRevision","1910ROZhed","attributesBefore","mousedown","element:pre","change:isEnabled","isRemoveSuggestion","_makeModelFromTape","values","push","uiElement","removeMarker:revision","set","removeMarker:revision-suggestion"];return(ee=function(){return t})()}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(467)][r(225)](s[r(485)],i[r(542)]))return;const o=s[r(485)][r(314)](),a=s[r(485)][r(515)],c=t[r(456)][r(461)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(336)];h=h||c[r(401)](e);const i=n[r(274)][r(499)](e);if(i&&i[r(425)](r(392)))return;r(474)==t[r(272)]&&c[r(357)](e)&&!c[r(299)](e)&&(e[r(234)]||a[r(367)]?u&&u[r(364)]==e||(u=e,f(t[r(319)]),d=!0):l=l||t[r(319)])}function f(t){const i=r,o=n[i(274)][i(475)](t),a=n[i(270)][i(363)](i(350),{class:i(424)+e});n[i(270)][i(512)](o,a),n[i(274)][i(508)](a,s[i(435)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(347)][e(300)](Qt);this[e(427)]=!1,this[e(434)](i,e(529),(()=>this[e(453)]())),this[e(434)](i,e(410),(()=>this[e(453)]()))}[Xt(489)](){const t=Xt,e=this[t(375)],i=e[t(347)][t(300)](Qt),s=i[t(303)]?i[t(426)][t(273)]:null;e[t(436)][t(300)](t(438))[t(394)](s)}[Xt(453)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(375)][t(347)][t(300)](Qt),r=n&&s[t(252)](n[t(273)]);this[t(444)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(246)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(347)][i(300)](Qt);this[i(427)]=!1,this[i(246)]=i(244)===e?1:-1,this[i(434)](s,i(529),(()=>this[i(453)]())),this[i(434)](s,i(410),(()=>this[i(453)]())),this[i(434)](s,i(310),(()=>this[i(453)]()))}[Xt(489)](){const e=Xt,i=this[e(375)],s=i[e(347)][e(300)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(530)]=n?s[e(426)][e(464)][e(300)](r+this[e(246)]):s[e(426)][e(464)][e(294)],s[e(530)][e(238)][e(507)])o=i[e(229)][e(360)][e(450)](s[e(530)][e(325)]);else{const t=i[e(456)][e(389)][e(300)](e(524)+s[e(530)].id);o=(0,U.getMarkerDomElement)(i[e(229)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(453)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(375)][t(347)][t(300)](Qt);this[t(444)]=!!(r&&n&&s)&&(!e||(1===this[t(246)]?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(t,e){const i=ce();return(ae=function(t,e){return i[t-=332]})(t,e)}function ce(){const t=["isNavigationMode","2JzDpmN","ck-revision-history-ui__changes-navigation__navigation","Loading...","span","_statusText","1512130HvlTzw","numberOfChanges","4774132LQWRTx","setTemplate","2429404zDEYDw","36PaYUHS","ck-revision-history-ui","bindTemplate","X_OF_Y_CHANGES","9tDmpuf","Show previous change","backward","currentChangeNumber","fire","EDIT_X_OF_Y_REVISIONS","73598iRwDfA","bind","Show next change","_isStatusLabelVisible","1075521gMJmsl","ck-hidden","isForwardNavigationEnabled","forward","set","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","isEnabled","279610uggvNv","div","66coQexk","Total","execute","isBackwardNavigationEnabled","8voHZSl","4709747CdWHGv","ck-revision-history-ui__changes-navigation","isReady","No changes","ck-revision-history-ui__changes-navigation__label"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(356114===-parseInt(e(336))/1+parseInt(e(361))/2*(-parseInt(e(340))/3)+-parseInt(e(370))/4+parseInt(e(348))/5*(parseInt(e(350))/6)+-parseInt(e(355))/7*(parseInt(e(354))/8)+parseInt(e(375))/9*(parseInt(e(366))/10)+parseInt(e(368))/11*(parseInt(e(371))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(373)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(344)](e(360),!1),this[e(344)](e(357),!1),this[e(344)](e(333),0),this[e(344)](e(367),0),this[e(344)](e(342),!1),this[e(344)](e(353),!1),this[e(337)](e(339)).to(this,e(357),this,e(367),((t,e)=>t&&e>0)),this[e(337)](e(365)).to(this,e(357),this,e(333),this,e(367),this,e(360),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(363));if(!n)return Q(t,o(358));const a=Q(t,o(345),n);return r?Q(t,o(374),[s+1,n]):a})),s[e(344)]({label:Q(t,e(376)),tooltip:!0,icon:mt.IconChevronUp}),n[e(344)]({label:Q(t,e(338)),tooltip:!0,icon:mt.IconChevronDown}),s[e(337)](e(347)).to(this,e(353)),n[e(337)](e(347)).to(this,e(342)),s.on(e(352),(()=>this[e(334)](e(352),e(332)))),n.on(e(352),(()=>this[e(334)](e(352),e(343)))),this[e(369)]({tag:e(349),attributes:{class:["ck",e(372),e(356)]},children:[{tag:e(364),attributes:{class:[e(346)]},children:[{tag:e(364),attributes:{class:[e(359),i.if(e(339),e(341),(t=>!t))]},children:[{text:i.to(e(360),(i=>i?Q(t,e(335))+": ":Q(t,e(351))+": "))}]},{text:i.to(e(365))}]},new pt.ToolbarSeparatorView,{tag:e(349),attributes:{class:[e(362)]},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=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(138199===parseInt(e(241))/1+parseInt(e(254))/2+parseInt(e(240))/3*(parseInt(e(246))/4)+parseInt(e(253))/5*(-parseInt(e(257))/6)+parseInt(e(239))/7+parseInt(e(236))/8+parseInt(e(244))/9*(-parseInt(e(248))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(256);function pe(){const t=["15cJCqrV","196848nUyStR","view","RevisionViewerLoadingOverlay","9dGEMgX","isOfficialPlugin","101540PqFqId","editing","7963390ntCxsv","pluginName","hide","show","addClass","68135fiOvXz","453540AKtZeC","change","ck-editor__editable__loading-overlay","24neYdXD","editor","document","roots","1432176aEDxQP","isPremiumPlugin","removeClass","1816367gDwmjx"];return(pe=function(){return t})()}class ve extends Z.Plugin{static get[de(249)](){return de(243)}static get[de(245)](){return!0}static get[de(237)](){return!0}[de(251)](){const t=de,e=this[t(258)][t(247)][t(242)];e[t(255)]((i=>{const s=t;for(const t of e[s(259)][s(260)])i[s(252)](me,t)}))}[de(250)](){const t=de,e=this[t(258)][t(247)][t(242)];e[t(255)]((i=>{const s=t;for(const t of e[s(259)][s(260)])i[s(238)](me,t)}))}}function ge(){const t=["isOfficialPlugin","ck-revision-history-ui__back-to-editing","bind","showNextChange","hide","changesNavigation","768334XhBkNT","exitToEditing","show","editor","1111559zIINIs","currentChangeNumber","3290289ZmQhCZ","commands","isBackwardNavigationEnabled","change:isReady","numberOfChanges","restoreRevision","2DjkpgL","set","plugins","closeRevisionViewerCallback","pluginName","init","54iJKsNG","5DmPbbJ","listenTo","Back to editing","7228916KnTwxZ","16325460uKOwBr","isEnabled","isNavigationMode","forward","execute","isPremiumPlugin","add","get","componentFactory","RevisionViewerUI","requires","44FQdIgW","revisionHistory","13058392EbMZcg","Restore this revision","config","isReady","isForwardNavigationEnabled","10429070HQUzTl","showPreviousChange"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=244]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(962294===-parseInt(e(248))/1+-parseInt(e(256))/2*(parseInt(e(250))/3)+-parseInt(e(266))/4*(parseInt(e(263))/5)+parseInt(e(262))/6*(parseInt(e(244))/7)+parseInt(e(280))/8+-parseInt(e(267))/9+parseInt(e(285))/10*(parseInt(e(278))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends Z.Plugin{static get[ye(260)](){return ye(276)}static get[ye(287)](){return!0}static get[ye(272)](){return!0}static get[ye(277)](){return[Qt,ve]}[ye(261)](){const t=ye,e=this[t(247)],i=e[t(258)][t(274)](Qt),s=e[t(258)][t(274)](ve);e.ui[t(275)][t(273)](t(245),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(257)]({label:Q(i,s(265)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(288)}),this[s(264)](n,s(271),(()=>{const t=s;e[t(282)][t(274)](t(279))[t(259)]()})),n})),e.ui[t(275)][t(273)](t(255),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(257)]({label:Q(i,s(281)),withText:!0,tooltip:!0}),n[s(289)](s(268)).to(e[s(251)][s(274)](s(255))),this[s(264)](n,s(271),(()=>e[s(271)](s(255)))),n})),e.ui[t(275)][t(273)](t(292),(s=>{const n=t,r=new ue(s),o=e[n(251)][n(274)](n(286)),a=e[n(251)][n(274)](n(290));return r[n(289)](n(252)).to(o,n(268)),r[n(289)](n(284)).to(a,n(268)),r[n(289)](n(283),n(249),n(254),n(269)).to(i),this[n(264)](r,n(271),((t,i)=>{const s=n;e[s(271)](s(270)===i?s(290):s(286))})),r})),s[t(246)](),i.on(t(253),((e,i,n)=>{const r=t;n?s[r(291)]():s[r(246)]()}))}}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;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=302]})(t,e)}function Oe(){const t=["_tooltipString","261jwyHNF","set","render","span","1408638ovVMsy","5316NTuDPZ","fieldView","value","_updateTooltipText","1945Alkmun","destroy","12830nUjtiL","7WXgCrL","Revision name","listenTo","scrollWidth","extendTemplate","5308712ZxTBmk","ck-revision-history-sidebar__revision-name","placeholder","element","2355444tvEsbU","_resizeObserver","Enter the revision name","779101Zryvsu","input","1412430NlmfaS","ck-tooltip_multi-line","clientWidth","bindTemplate"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(429175===parseInt(e(332))/1+-parseInt(e(312))/2+-parseInt(e(303))/3+parseInt(e(313))/4*(parseInt(e(317))/5)+-parseInt(e(329))/6+parseInt(e(320))/7*(parseInt(e(325))/8)+parseInt(e(308))/9*(parseInt(e(319))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(330)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(306)];this[i(309)]({label:Q(t,i(321)),_tooltipString:""}),this[i(314)][i(327)]=Q(t,i(331)),this[i(324)]({tag:i(311),attributes:{class:[i(326)],"data-cke-tooltip-text":s.to(i(307)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(304)}})}[Ie(310)](){const e=Ie;super[e(310)](),this[e(330)]=new t.ResizeObserver(this[e(314)][e(328)],(()=>this[e(316)]())),this[e(322)](this[e(314)],e(302),(()=>this[e(316)]()))}[Ie(318)](){const t=Ie;super[t(318)](),this[t(330)]&&this[t(330)][t(318)]()}[Ie(316)](){const t=Ie,e=this[t(314)][t(328)];this[t(307)]=e[t(323)]>e[t(305)]&&e[t(315)]||""}}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=Re();return(Ae=function(t,e){return i[t-=306]})(t,e)}function Re(){const t=["name","setTemplate","6IjCDYE","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author","27195Vvsbzk","Revision author","2871460nSZFzd","span","Revision creator","3815195GvFBBK","575964XwiQTW","set","0 0 11 10","349919wGqTph","26715711HbYZpP","3084dzxlkv","615Whawqp","ck-revision-history-sidebar__revision-author__name","push","1256spZofA","27YhuynA"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(608539===-parseInt(e(306))/1*(parseInt(e(316))/2)+parseInt(e(309))/3*(-parseInt(e(308))/4)+parseInt(e(324))/5+parseInt(e(325))/6+-parseInt(e(319))/7*(parseInt(e(312))/8)+parseInt(e(313))/9*(-parseInt(e(321))/10)+parseInt(e(307))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(326)]({content:mt.IconUser,viewBox:s(327)});const r=["ck",s(318)];i&&r[s(311)](s(317));const o=[{tag:s(322),attributes:{class:["ck",s(310)],title:Q(t,s(i?323:320))},children:[n,e[s(314)]]}];this[s(315)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Ve();return(De=function(t,e){return i[t-=302]})(t,e)}function Ve(){var t=["6600591MdLeGQ","30TZgkUR","68KJHvjc","9ROibsY","17181228mmUTgJ","toLocaleDateString","486484DHhbfF","269304NOnrcH","600358NcWhBd","7292dVxBXm","toLocaleTimeString","20aggHOx","782904XWJNgu","long","numeric","133wQGMZv"];return(Ve=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(416364===parseInt(e(305))/1*(-parseInt(e(314))/2)+parseInt(e(315))/3*(parseInt(e(302))/4)+-parseInt(e(307))/5*(-parseInt(e(308))/6)+-parseInt(e(311))/7*(-parseInt(e(303))/8)+parseInt(e(312))/9+parseInt(e(313))/10*(-parseInt(e(304))/11)+-parseInt(e(316))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=188]})(t,e)}function Le(){const t=["67192hkvUNF","isVisible","Restore this revision","function","panelPosition","4203633GETyQt","ck-on","class","ck-revision-history-sidebar__revision__actions","items","children","menu","isReady","find","75964cGsnJr","change:isActionsDropdownOpen","extendTemplate","Show more items","stopPropagation","model","button","menuitem","locale","bind","isActionsDropdownOpen","Compare against selected","846rZrovg","source","listView","366673hNAfZS","first","isOpen","listenTo","422074iowJIZ","_action","action","701268IETjum","name","Name this revision","20TMlJmT","buttonView","set","add","map","isEnabled","bindTemplate","290724iDSHnF","execute"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(356244===parseInt(e(230))/1+-parseInt(e(234))/2+-parseInt(e(199))/3+parseInt(e(215))/4+parseInt(e(192))/5*(parseInt(e(189))/6)+parseInt(e(206))/7+-parseInt(e(201))/8*(parseInt(e(227))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ze;function We(){const t=["_revision","element","closest","span","4869612rYjSrz","isHighlighted","8NhsGnl","ck-revision-history-sidebar__revision__date","bindTemplate","listenTo","2114379NfxfCI","filter","highlight","extendTemplate","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","revisionNameView","select","uiLanguage","setName","698066NvQatX","isSelected","unhighlight","_createdAtFormatted","ck-revision-history-sidebar__revision_highlighted","1884lRiHQO","bind","636947ISxSMf","deselect","length","value","ck-revision-history-sidebar__revision","creator","_requireRevisionName","change",".ck-thread__remove-confirm","isEnabled","ck-revision-history-sidebar__revision_selected","revisionActionsView","createdAt","map","from","setTemplate","ck-reset","2401KALMke","render","srcElement","fieldView","isActionsDropdownOpen","unshift","220","isConfirm","isReady","ck-disabled","authors","692109kBMUet","536XtEbvu","div","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","fire","24630FYoaIX","name","set","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","20NIMsDi"];return(We=function(){return t})()}function Ze(t,e){const i=We();return(Ze=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(402748===parseInt(e(491))/1+parseInt(e(484))/2+-parseInt(e(453))/3+-parseInt(e(454))/4*(-parseInt(e(459))/5)+-parseInt(e(489))/6*(-parseInt(e(508))/7)+parseInt(e(470))/8*(-parseInt(e(474))/9)+parseInt(e(463))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(480)];[ze(502)];[ze(464)];[ze(497)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(472)],a=function(t,e){const i=r,s=Array[i(505)](e[i(452)])[i(475)]((t=>t!=e[i(496)]));return e[i(496)]&&s[i(447)](e[i(496)]),s[i(504)]((s=>new Me(t,s,s==e[i(496)])))}(e,i);this.id=i.id,this[r(464)]=i,this[r(497)]=n,this[r(490)](r(460),r(503)).to(i),this[r(490)](r(487)).to(this,r(503),(t=>{return i=e[r(482)],(s=t)[(n=De)(317)](i,{month:n(309),day:n(310)})+", "+s[n(306)](i,{hour:n(310),minute:n(310)});var i,s,n})),this[r(461)](r(485),!1),this[r(461)](r(469),!1),this[r(461)](r(446),!1),this[r(461)](r(450),!1),this[r(461)](r(500),!1),this[r(480)]=new Te(e,pt.createLabeledInputText),this[r(480)][r(445)][r(477)]({attributes:{maxlength:r(448)}}),this[r(480)][r(445)][r(490)](r(494)).to(this,r(460),(t=>t||this[r(487)])),this[r(480)][r(490)](r(500)).to(this,r(485),this,r(500),((t,e)=>t&&e)),this[r(502)]=s&&s[r(493)]?function(e,i){const s=Fe,n=e[s(198)],r=e[s(223)],o=(0,pt.createDropdown)(r);o[s(205)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(223)],n={"Compare against selected":Q(s,i(226)),"Name this revision":Q(s,i(191)),"Restore this revision":Q(s,i(203))};return e[i(196)]((t=>{const e=i,s=n[t[e(190)]];return s&&s!==t[e(190)]&&(t[e(190)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(221),model:new pt.ViewModel({label:t[n(190)],class:t[n(208)],withText:!0,role:n(222),_action:t[n(188)]})};i[n(220)][n(224)](n(197)).to(e,n(225),(i=>n(204)!=typeof t[n(197)]||!i||t[n(197)](e))),o[n(195)](i)}return o}(e,i);return e[s(224)](s(225)).to(o,s(232)),o[s(193)][s(194)]({label:Q(r,s(218)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(217)]({attributes:{class:[s(209),n.if(s(225),s(207))]},on:{click:n.to((t=>t[s(219)]()))}}),o.on(s(200),(t=>{const i=s;e[i(213)]&&i(204)==typeof t[i(228)][i(235)]&&t[i(228)][i(235)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(212)}),o[s(233)](e,s(216),((t,n,r)=>{const a=s;if(r)for(const t of o[a(229)][a(210)]){const s=t[a(211)][a(231)],n=i[a(214)]((t=>t[a(188)]===s[a(235)]))[a(202)];t[a(202)]=void 0===n||n(e)}})),o}(this,s):"",this[r(502)]&&this[r(502)][r(490)](r(500)).to(this),this[r(506)]({tag:r(455),attributes:{class:["ck",r(507),r(479),o.if(r(449),r(462))]},children:[{tag:r(455),attributes:{class:["ck",r(507),r(495),o.if(r(500),r(451),(t=>!t)),o.if(r(485),r(501)),o.if(r(469),r(488)),o.if(r(446),r(457))]},children:[this[r(480)],{tag:r(467),attributes:{class:["ck",r(471)]},children:[{text:o.to(r(487))}]},{tag:r(455),attributes:{class:["ck",r(456)]},children:[{tag:"ul",attributes:{class:["ck",r(478)]},children:a}]},this[r(502)]],on:{click:o.to((t=>{const e=r;t[e(510)][e(466)](e(499))||this[e(450)]&&this[e(500)]&&this[e(458)](e(481),{id:this.id})}))}}]})}[ze(509)](){const t=ze;super[t(509)]();const e=this[t(480)][t(445)][t(465)];this[t(473)](e,t(498),(()=>{const i=t;this[i(497)]&&!e[i(494)]||this[i(458)](i(483),{id:this.id,name:e[i(494)]}),e[i(494)]||(e[i(494)]=this[i(460)]?this[i(460)]:this[i(487)])}))}[ze(481)](){this[ze(485)]=!0}[ze(492)](){this[ze(485)]=!1}[ze(476)](){this[ze(469)]=!0}[ze(486)](){this[ze(469)]=!1}}class He extends Error{}class $e extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe 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 Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je 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 Us(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 Us(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 Di(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 Vi={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[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=Di(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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[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 Zi{static fromOpts(t){return Zi.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 Zi(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.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=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(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?Zi.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 Li(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 Li(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 Li(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 Li(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 ji(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 Ui=null;class Hi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}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 $i 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 qi(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 $i(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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[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 qi(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(){Zi.resetCache(),Ai.resetCache(),io.resetCache(),Ji={}}}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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(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,js(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 Je("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 Je("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 Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?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(Ls(t)-s+n)/7}function Zs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(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 $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=$s(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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["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[...Js];case"long":return[...Gs];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]]=Ds(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:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Ds(e)):Ds(e),month:Js.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(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=Vn(e,n,s,i,r,o,a);let f;return f=c?Dn[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$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),$n=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),qn=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=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||Zi.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 Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Zi.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 Je(`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,Gn])}(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 Je("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 Ge(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]=$s(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,...qs(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 Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(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 qi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.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+=Gi.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,Zs);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=Es(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 Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(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 Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return 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,js(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(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(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 Ur(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},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(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 Ge(t);return e}(t)}}function Kr(t,e){const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Zi.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]=jr(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:Dr(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=Lr(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||Zi.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=qi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Zi.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:qi(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Je(`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:qi(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Zi.fromObject(e),n=qs(t,Jr),{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=Lr(a,c);m?(p=Yr,v=$r,g=ps(g,r,o)):u?(p=Gr,v=qr,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,Ls(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]=jr(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,$n],[Zn,qn],[Un,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),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.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,[Jn,$n],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(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=Lr(a,r),l=Lr(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 js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(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=qi(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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(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=qs(t,Jr),{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(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(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=Zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(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":"")+Ur(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?Zr(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 Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("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(Zi.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=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`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 Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["local","3340rTSYbk","week","614013IhCQRy","toRelativeCalendar","month","monthLong","384IYJUjY","setLocale","613824ivZSEe","1773904KcAodh","fromJSDate","toJSDate","weekdayLong","year","5664hvqhIz","6037119qixZyb","hasSame","day","minus","4550gFVqex","startOf","4667850NjBHRt"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=269]})(t,e)}function oo(t,e){const i=ro,s=io[i(284)](t)[i(281)](e),n=io[i(273)](),r=n[i(269)]({days:1})[i(271)](i(291));let o,a;return s[i(290)](n,i(291))?(o=s[i(271)](i(291))[i(285)](),a=s[i(277)]()):s[i(290)](r,i(291))?(o=r[i(285)](),a=s[i(277)]()):s[i(290)](n,i(275))?(o=s[i(271)](i(275))[i(285)](),a=s[i(286)]||""):s[i(290)](n,i(287))?(o=s[i(271)](i(278))[i(285)](),a=s[i(279)]||""):(o=s[i(271)](i(287))[i(285)](),a=String(s[i(287)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(522226===-parseInt(e(276))/1+parseInt(e(274))/2*(parseInt(e(280))/3)+parseInt(e(282))/4+parseInt(e(272))/5+-parseInt(e(288))/6*(parseInt(e(270))/7)+-parseInt(e(283))/8+parseInt(e(289))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);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 lo(){const t=["add","find","setTemplate","11624229bOMZGv","_requireRevisionName","_revisionActions","196MxmXHd","locale","3669216RkCLgt","localizedPeriodName","revisionViews","366OHPTLE","span","ck-revision-history-sidebar__time-period__revisions","startDate","select","removeRevision","ck-revision-history-sidebar__time-period","255535qLmFYf","remove","5198605FYbNHX","setName","115168nITAWE","2470QvPqNI","div","createCollection","3290784MfYmXN","uiLanguage","addRevision","ck-revision-history-sidebar__time-period__label","delegate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(623817===parseInt(e(231))/1+parseInt(e(236))/2*(parseInt(e(224))/3)+parseInt(e(221))/4+-parseInt(e(233))/5+-parseInt(e(239))/6+parseInt(e(250))/7*(-parseInt(e(235))/8)+parseInt(e(247))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(227)];[uo(223)];[uo(249)];[uo(248)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(220)][n(240)])[n(222)];this[n(227)]=e,this[n(223)]=this[n(238)](),this[n(249)]=i,this[n(248)]=s,this[n(223)][n(243)](n(228)).to(this),this[n(223)][n(243)](n(234)).to(this),this[n(246)]({tag:n(237),attributes:{class:["ck",n(230)]},children:[{tag:n(225),attributes:{class:["ck",n(242)]},children:[{text:r}]},{tag:n(237),attributes:{class:["ck",n(226)]},children:this[n(223)]}]})}[uo(241)](t){const e=uo,i=new Ue(this[e(220)],t,this[e(249)],this[e(248)]);this[e(223)][e(244)](i)}[uo(229)](t){const e=uo,i=this[e(223)][e(245)]((e=>e.id===t.id));this[e(223)][e(232)](i)}}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(t,e){const i=go();return(vo=function(t,e){return i[t-=232]})(t,e)}function go(){const t=["507708LjOGLh","ck-reset_all","content","108PBSMRh","645459DOPoKY","ck-revision-history-sidebar__header","206RqyxvX","div","12922080RYmTBA","97pukdOP","Revision history","ck-revision-history-sidebar__header__label","37625yEaogw","35JDYLpR","7960257sHjTPZ","setTemplate","span","1497360mrsfKl"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(609658===parseInt(e(241))/1*(parseInt(e(238))/2)+-parseInt(e(236))/3+parseInt(e(235))/4*(-parseInt(e(244))/5)+-parseInt(e(232))/6*(-parseInt(e(245))/7)+parseInt(e(249))/8+-parseInt(e(246))/9+parseInt(e(240))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(234)]=mt.IconHistory,this[e(247)]({tag:e(239),attributes:{class:["ck",e(233),e(237)]},children:[i,{tag:e(248),attributes:{class:["ck",e(243)]},children:[Q(t,e(242))]}]})}}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;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=295]})(t,e)}function _o(){const t=["add","flat","highlightRevisions","delegate","selectRevision","1318968vpKdHw","setTemplate","startDate","createCollection","some","ck-rounded-corners","323007OZGMIc","remove","map","1722966yxRuWG","158500cbqepI","_removeRevision","timePeriodViews","bindTemplate","set","uiLanguage","ck-reset","createdAt","ck-disabled","ck-revision-history-sidebar","render","2JOnivK","getTime","_addRevision","1874271MWtpKz","fire","highlight","1304048jwGKYL","_requireRevisionName","div","get","1174495lyzUzY","unhighlight","addRevision","ck-revision-history-sidebar__timeline","revisionViews","deselect","revisionSelected","select","_revisions","locale","_getTimePeriodViewByStartDate","_revisionActions","revisionSetName","removeRevision","find","setName","isEnabled"];return(_o=function(){return t})()}const Io=wo;!function(t){const e=wo,i=t();for(;;)try{if(261039===parseInt(e(333))/1*(parseInt(e(295))/2)+-parseInt(e(327))/3+-parseInt(e(337))/4+parseInt(e(305))/5+parseInt(e(336))/6+-parseInt(e(298))/7+parseInt(e(301))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[Io(339)];[Io(313)];[Io(316)];[Io(302)];constructor(t,e,i,s){const n=Io;super(t);const r=this[n(340)];this[n(339)]=this[n(330)](),this[n(339)][n(325)](n(312)).to(this),this[n(339)][n(325)](n(320)).to(this),this[n(313)]=e,this[n(316)]=i,this[n(302)]=s,this.on(n(312),((t,e)=>{const i=n;this[i(299)](i(311),e)})),this.on(n(320),((t,e)=>{const i=n;this[i(299)](i(317),e)})),this[n(341)](n(321),!1),this[n(328)]({tag:n(303),attributes:{class:["ck",n(343),n(332),n(346)]},children:[new yo(t),{tag:n(303),attributes:{class:["ck",n(308),r.if(n(321),n(345),(t=>!t))]},children:this[n(339)]}]})}[Io(347)](){const t=Io;super[t(347)]();for(const e of this[t(313)])this[t(297)](e);this[t(313)].on(t(322),((e,i)=>{this[t(297)](i)})),this[t(313)].on(t(334),((e,i)=>{this[t(338)](i)}))}get[Io(309)](){const t=Io;return this[t(339)][t(335)]((e=>e[t(309)][t(335)]((t=>t))))[t(323)]()}[Io(326)](t){const e=Io;for(const i of this[e(309)])t&&t.id===i.id?i[e(312)]():i[e(310)]()}[Io(324)](t){const e=Io;for(const i of this[e(309)])t[e(331)]((({id:t})=>t===i.id))?i[e(300)]():i[e(306)]()}[Io(297)](t){const e=Io,i=oo(t[e(344)],this[e(314)][e(342)])[e(329)];let s=this[e(339)][e(304)](0);s&&s[e(329)][e(296)]()===i[e(296)]()||(s=new fo(this[e(314)],i,this[e(316)],this[e(302)]),this[e(339)][e(322)](s)),s[e(307)](t)}[Io(338)](t){const e=Io,i=oo(t[e(344)],this[e(314)][e(342)])[e(329)];this[e(315)](i)[e(318)](t)}[Io(315)](t){const e=Io;return this[e(339)][e(319)]((i=>i[e(329)][e(296)]()===t[e(296)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=255]})(t,e)}function xo(){const t=["revisionViews","608490HvsSfR","diff","highlightRevisions","_revisions","init","_sidebarView","11PuFvkX","isVisible","selectRevision","repository","length","compare","2028335PuMinM","revisionSetName","editor","getRevision","string","ready","map","requires","locale","add","isEnabled","4Gqqszb","RevisionsSidebar","isReady","_handleDiffChange","assign","_handleEditorDataReady","newRevisionId","revisionSelected","revisionHistory.requireRevisionName","bind","754548frkFiF","Compare against selected","1872056CKgvbi","4lqHIAG","_createRevisionActions","element","action","availableRevisionActions","28eCryOm","_handleRevisionSetName","_revisionsRepository","change:diff","9rBGnKf","plugins","select","data","get","defaultRevisionActions","restoreRevision","revisionHistory.viewerSidebarContainer","5765150vKynKe","isOfficialPlugin","getEarlierVisibleRevision","revisionHistory.revisionActions","listenTo","revisionHistory","restoreRevisionCallback","_handleRevisionSelected","appendChild","isPremiumPlugin","focus","remove","Name this revision","getIndex","config","pluginName","nameRevision","getLaterVisibleRevision","timePeriodViews","156rqtWRd","name","fieldView","compareAgainstSelected","getRevisionsInDiff","Restore this revision","destroy","setName","render","1447342mzaIYq","_revisionViewer","isSelected","423191rlIhjo"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(289410===parseInt(e(285))/1+-parseInt(e(310))/2*(-parseInt(e(320))/3)+-parseInt(e(323))/4*(-parseInt(e(299))/5)+-parseInt(e(287))/6*(parseInt(e(328))/7)+-parseInt(e(322))/8*(-parseInt(e(332))/9)+-parseInt(e(340))/10*(-parseInt(e(293))/11)+-parseInt(e(273))/12*(parseInt(e(282))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends Z.Plugin{[Oo(283)];[Oo(330)];[Oo(292)];static[Oo(337)]=[Oo(276),Oo(338),Oo(270)];static[Oo(327)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(321),action:({plugins:e},i)=>{const s=t,n=e[s(336)](Qt),r=n[s(296)];let o=n[s(288)][s(316)],a=i.id;r[s(267)](o)>r[s(267)](a)&&([o,a]=[a,o]),n[s(298)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(336)](Qt);return!(n[s(296)][s(277)](n[s(288)])[s(297)]>2||i[s(284)])}},restoreRevision:{name:t(278),action:(e,{id:i})=>{const s=t;e[s(268)][s(336)](s(259))[s(260)](i)},isVisible:({plugins:e},i)=>!!e[t(336)](Qt)[t(296)][t(271)](i.id)},nameRevision:{name:t(266),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(336)](Qt),o=r[n(296)][n(256)](i);r[n(298)](i,o),s[n(264)](),s[n(275)][n(334)]()}}}}();static get[Oo(269)](){return Oo(311)}static get[Oo(255)](){return!0}static get[Oo(263)](){return!0}static get[Oo(306)](){return[Qt]}constructor(t){const e=Oo;super(t),this[e(283)]=t[e(333)][e(336)](Qt),this[e(330)]=this[e(283)][e(296)],this[e(292)]=null}[Oo(291)](){const t=Oo,e=this[t(330)][t(290)],i=this[t(324)](),s=this[t(301)][t(268)][t(336)](t(339));this[t(292)]=new So(this[t(301)][t(307)],e,i,this[t(301)][t(268)][t(336)](t(318))),this[t(292)].on(t(317),this[t(261)][t(319)](this)),this[t(292)].on(t(300),this[t(329)][t(319)](this)),this[t(292)][t(319)](t(309)).to(this[t(283)]),this[t(292)][t(272)].on(t(308),((e,i)=>{const s=t;i[s(286)].on(s(308),((t,e)=>{const i=s;e[i(319)](i(309),i(312)).to(this[i(283)])}))})),this[t(292)][t(281)](),this[t(258)](this[t(301)][t(335)],t(304),this[t(315)][t(319)](this)),this[t(258)](this[t(283)],t(331),this[t(313)][t(319)](this)),s[t(262)](this[t(292)][t(325)])}[Oo(279)](){const t=Oo;this[t(292)][t(325)][t(265)](),this[t(292)][t(279)]()}[Oo(315)](){const t=Oo,e=this[t(330)][t(302)](0);if(e){const i=this[t(330)][t(256)](e.id);this[t(283)][t(298)](e,i)}}[Oo(261)](t,e){const i=Oo,s=this[i(330)][i(302)](e.id),n=this[i(330)][i(256)](s.id);this[i(283)][i(298)](s,n)}[Oo(329)](t,e){const i=Oo;this[i(330)][i(302)](e.id)[i(280)](e[i(274)])}[Oo(313)](t,e,i){const s=Oo,n=this[s(330)][s(277)](i);n[s(297)]>2?(this[s(292)][s(289)](n),this[s(292)][s(295)](null)):(this[s(292)][s(289)]([]),this[s(292)][s(295)](n[0]))}[Oo(324)](){const t=Oo,e=this[t(301)],i=No[t(327)],s=e[t(268)][t(336)](t(257))||No[t(337)];if(s[t(297)])return s[t(305)]((s=>{const n=t,r=n(303)==typeof s?Object[n(314)]({},i[s]):s;return r[n(326)]=r[n(326)][n(319)](this,e),r[n(294)]&&(r[n(294)]=r[n(294)][n(319)](this,e)),r}))}}const Ao=No,Ro=Mo;function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=116]})(t,e)}function Do(){const t=["isFocused","981652QMezMT","viewportOffset","name","get","addToolbar","116BWPKqo","detachDomRoot","_view","setEditableElement","editable","view","document","_elementReplacer","882504tmweCp","getRoot","toolbar","2800584orcsGu","focusTracker","editor","destroy","replace","componentFactory","editing","attachDomRoot","config","fillFromConfig","limiterElement","ready","rootName","init","fire","_toolbarConfig","element","stickyPanel","isActive","render","_initToolbar","21DwMsxI","bind","1275633aBsLfJ","viewportTopOffset","1326XPIrSk","1941630yvAiiB","249365FanAGK","restore"];return(Do=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(290457===parseInt(e(139))/1+-parseInt(e(142))/2+parseInt(e(137))/3*(-parseInt(e(147))/4)+-parseInt(e(138))/5+parseInt(e(155))/6*(parseInt(e(133))/7)+parseInt(e(158))/8+parseInt(e(135))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends pt.EditorUI{[Ro(149)];[Ro(127)];[Ro(154)];get[Ro(152)](){return this[Ro(149)]}constructor(e,i){const s=Ro;super(e),this[s(149)]=i,this[s(127)]=(0,pt.normalizeToolbarConfig)(e[s(120)][s(145)](s(157))),this[s(154)]=new t.ElementReplacer}get[Ro(128)](){const t=Ro;return this[t(152)][t(128)]}[Ro(125)](t){const e=Ro,i=this[e(160)],s=this[e(152)],n=i[e(118)][e(152)],r=s[e(151)],o=n[e(153)][e(156)]();r[e(144)]=o[e(124)],s[e(131)]();const a=r[e(128)];this[e(150)](r[e(144)],a),s[e(151)][e(134)](e(141)).to(this[e(159)]),n[e(119)](a),this[e(154)][e(116)](t,this[e(128)]),this[e(132)](),this[e(126)](e(123))}[Ro(161)](){const t=Ro;super[t(161)]();const e=this[t(152)],i=this[t(160)][t(118)][t(152)];this[t(154)][t(140)](),i[t(148)](e[t(151)][t(144)]),e[t(161)]()}[Ro(132)](){const t=Ro,e=this[t(152)];e[t(129)][t(134)](t(130)).to(this[t(159)],t(141)),e[t(129)][t(122)]=e[t(128)],e[t(129)][t(134)](t(136)).to(this,t(143),(({top:t})=>t)),e[t(157)][t(121)](this[t(127)],this[t(117)]),this[t(146)](e[t(157)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=133]})(t,e)}function jo(){var t=["3311GYOyCZ","add","420348BAeYiY","301927MUMCpN","content","top","13913977FPkZcI","2602BAunMS","1383Rautgr","3771830mMEbgg","14860eWZfSk","shouldToolbarGroupWhenFull","4077AcDXSn","1640lUKNqb","toolbar","stickyPanel","render","6eCUEUh","editable","main","_editable"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(436305===-parseInt(e(150))/1+-parseInt(e(133))/2*(parseInt(e(134))/3)+-parseInt(e(149))/4+-parseInt(e(135))/5*(-parseInt(e(143))/6)+parseInt(e(147))/7*(parseInt(e(139))/8)+parseInt(e(138))/9*(-parseInt(e(136))/10)+parseInt(e(153))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(146)];[Fo(141)];[Fo(140)];get[Fo(144)](){return this[Fo(146)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(141)]=new pt.StickyPanelView(t),this[s(140)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(137)]}),this[s(146)]=new pt.InlineEditableUIView(t,e)}[Fo(142)](){var t=Fo;super[t(142)](),this[t(141)][t(151)][t(148)](this[t(140)]),this[t(152)][t(148)](this[t(141)]),this[t(145)][t(148)](this[t(144)])}}const zo=Zo;function Wo(){const t=["6358232YWVvjA","init","initPlugins","30lMDAJZ","destroy","get","7QiSYnm","_ui","config","1ILzTMR","1028406UZahsr","model","117WzpvnT","1694693ijlNOy","initialData","create","sourceElement","fire","view","10HjyvHh","data","createRoot","updateSourceElement","locale","editing","11017272mmDcgN","6705144eKCafv","2326010COWBbm","ready","document","80348ZoHuJk"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=239]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(632266===-parseInt(e(256))/1*(-parseInt(e(243))/2)+-parseInt(e(259))/3*(parseInt(e(246))/4)+parseInt(e(250))/5*(parseInt(e(257))/6)+-parseInt(e(253))/7*(parseInt(e(247))/8)+-parseInt(e(242))/9+-parseInt(e(266))/10*(parseInt(e(260))/11)+parseInt(e(241))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(254)];get ui(){return this[zo(254)]}constructor(t,e){const i=zo;super(e),this[i(263)]=t,this[i(258)][i(245)][i(268)]();const s=new Po(this[i(239)],this[i(240)][i(265)],{shouldToolbarGroupWhenFull:!0});this[i(254)]=new Vo(this,s)}[zo(251)](){const t=zo;return this[t(269)](),this.ui[t(251)](),super[t(251)]()}static async[zo(262)](t,e){const i=zo,s=new this(t,e);return await s[i(249)](),await s.ui[i(248)](t),await s[i(267)][i(248)](s[i(255)][i(252)](i(261))||""),s[i(264)](i(244)),s}}const Ho=$o;function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=214]})(t,e)}function qo(){const t=["numeric","selection","revisionHistory","hide","RevisionHistoryUI","editor","RevisionViewerIntegration","includes","addRevisionData","isAttached","toLocaleTimeString","PaginationLookup","refreshVisibility","RevisionViewer","DocumentOutline","isOfficialPlugin","document","RevisionHistory","enqueueChange","toLocaleDateString","_enhanceCloseRevisionViewerCallback","push","isEnabled","$graveyard","data","toVersion","display","detachRoot","createRangeIn","closeRevisionViewerCallback","init","toJSON","getRevisions","Restored","uiLanguage","has","translations","147156bgGFIM","addRoot","long","revisionHistory.requireRevisionName","_getRevisionViewerEditorConfig","getRevisionRootsAttributes","pluginName","disableReadOnlyMode","4ZAVGvI","insert","bind","map","revision-history-viewer-opened","Autosave","locale","getRevision","getMarkersGroup","define","revisionHistory.closeRevisionViewerCallback","plugins","getUser","changesNavigation","RevisionsRepository","toolbar","result","exitToEditing","parse","adapter","isAnonymous","1858165CHXpYE","getRevisionDocumentData","config","_cleanUp","revisionHistory.showRevisionViewerCallback","fromVersion","roots","users","setAttribute","RevisionTracker","change","showRevisionViewerCallback","view","name","element","end","restoreRevision","loadRevisionData","4460373ItVbMS","_restoreRevision","model","1127bWFadF","fromCharCode","removeMarker","removeSelectionAttribute","_update","then","760578PNbsLn","set","lazyRoots","16278hEoCIX","save","isReady","Users","create","get","revision-history-missing-configuration","getAttributeKeys","enableReadOnlyMode","creator","Annotations","repository","style","_viewerEditor","commands","isReadOnly","Dialog","30unnPCy","_showRevisionViewer","setSelection","remove","isPremiumPlugin","destroy","_closeRevisionViewer","update","_enhanceShowRevisionViewerCallback","revisionHistory.editorContainer","saveRevision","keys","isOpen","indexOf","getRoot","markers","from","RestrictedEditingMode","catch","createdAt","refreshPositioning","restrictedEditingException","1689848DRKeFy","revisionHistory.viewerEditorElement","none","requires","_recalculatePageBreaks","rootName","DocumentOutlineUI","revisionHistory.viewerContainer","19272200cshLkn","error","join","block","isRevisionViewerOpen","removeAttribute","revisionHistory.restoreRevisionCallback","RevisionHistoryUtils","addUser"];return(qo=function(){return t})()}!function(t){const e=$o,i=t();for(;;)try{if(387168===-parseInt(e(359))/1+parseInt(e(227))/2*(parseInt(e(303))/3)+-parseInt(e(311))/4*(parseInt(e(332))/5)+parseInt(e(362))/6*(-parseInt(e(353))/7)+-parseInt(e(249))/8+-parseInt(e(350))/9+parseInt(e(257))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(270),Ho(244)];class Yo extends Z.Plugin{[Ho(327)];static get[Ho(309)](){return Ho(272)}static get[Ho(281)](){return!0}static get[Ho(231)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(314)]((t=>String[e(354)](t)))[e(259)]("")}super(t),this[e(327)]=e(347),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 Go extends Z.Plugin{[Ho(223)];static get[Ho(309)](){return Ho(283)}static get[Ho(281)](){return!0}static get[Ho(231)](){return!0}static get[Ho(252)](){return[at,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(271)][i(334)][i(215)](i(268)))throw new t.CKEditorError(i(216),this);this[i(223)]=null,this[i(360)](i(261),!1),this[i(271)][i(334)][i(320)](i(336),(t=>this[i(228)]({...t,translations:this[i(271)][i(317)][i(302)]}))),this[i(271)][i(334)][i(320)](i(321),(t=>this[i(233)](t))),this[i(271)][i(334)][i(320)](i(263),(t=>this[i(351)](t))),this[i(271)][i(334)][i(320)](i(306),!1),this[i(235)](),this[i(286)]()}set[Ho(330)](t){const e=Ho;this[e(271)][e(322)][e(215)](e(341))[e(330)]=t}get[Ho(330)](){const t=Ho;return this[t(271)][t(322)][t(215)](t(341))[t(330)]}[Ho(274)](t){const e=Ho;return this[e(271)][e(322)][e(215)](e(341))[e(274)](t)}[Ho(318)](t){const e=Ho;return this[e(271)][e(322)][e(215)](e(325))[e(318)](t)}[Ho(298)](t){const e=Ho;return this[e(271)][e(322)][e(215)](e(325))[e(298)](t||{toJSON:!1})}[Ho(307)](){const e=Ho,i=this[e(271)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(322)][e(215)](e(341)),r=i[e(322)][e(215)](e(365))[e(339)];return s[e(326)]=[e(328),e(348),e(324)],delete s[e(361)],s[e(322)][e(287)](Yo,Qt,be,class extends Z.Plugin{static get[e(252)](){return[Qt,e(365)]}[e(296)](){const s=e,o=this[s(271)][s(322)][s(215)](s(365));for(const t of r)t[s(331)]||o[s(323)](t.id)||o[s(265)](t);const a=n[s(221)][s(298)]();let c=null;const u=this[s(271)][s(322)][s(215)](s(279));u[s(330)]=n[s(330)],u[s(313)](s(288)).to(n),this[s(271)][s(224)][s(215)](s(348))[s(313)](s(288)).to(i,s(225),(t=>!t));for(const e of a){const i=null===e[s(219)];if(i&&e[s(291)]===e[s(337)])continue;const r=e[s(297)]();u[s(274)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(357)](r,o);else if(!o){const e=a[u(297)]();e.id=(0,t.uid)(),n[u(237)](e,a[u(291)])[u(358)]((t=>{c=t}))}}else e[u(357)](r,o)}))}}},Ao),s}[Ho(235)](){const t=Ho,e=this[t(271)][t(334)][t(215)](t(268))[t(343)];this[t(271)][t(334)][t(360)](t(336),(async()=>{const i=t;this[i(271)][i(218)](i(315));const s=this[i(271)][i(322)][i(215)](i(341));if(this[i(271)][i(322)][i(301)](i(316))){const t=this[i(271)][i(322)][i(215)](i(316));await t[i(363)]()}else await s[i(234)]();if(this[i(271)][i(322)][i(301)](i(277))&&this[i(271)][i(322)][i(215)](i(277))[i(253)](),this[i(271)][i(322)][i(301)](i(226))){const t=this[i(271)][i(322)][i(215)](i(226));t[i(239)]&&t[i(269)]()}const n=this[i(307)]();return e(n)[i(358)]((t=>{const e=i;return this[e(223)]=t,this[e(271)][e(322)][e(301)](e(220))&&this[e(271)][e(322)][e(215)](e(220))[e(278)](),this[e(271)][e(322)][e(301)](e(280))&&(this[e(271)][e(322)][e(215)](e(255))[e(344)][e(346)][e(222)][e(292)]=e(251)),t}))[i(245)]((t=>(console[i(258)](t),this[i(271)][i(310)](i(315)),null)))}))}[Ho(286)](){const t=Ho,e=this[t(271)][t(334)][t(215)](t(268))[t(295)];this[t(271)][t(334)][t(360)](t(321),(()=>(this[t(271)][t(322)][t(301)](t(277))&&this[t(271)][t(322)][t(215)](t(277))[t(253)](),this[t(271)][t(322)][t(301)](t(280))&&(this[t(271)][t(322)][t(215)](t(255))[t(344)][t(346)][t(222)][t(292)]=""),this[t(223)][t(322)][t(215)](t(279))[t(335)](),e(this[t(223)])[t(358)]((()=>{const e=t;if(this[e(271)][e(310)](e(315)),this[e(223)]=null,this[e(271)][e(322)][e(301)](e(220))){const t=this[e(271)][e(322)][e(215)](e(220));t[e(278)](),t[e(247)]()}})))))}[Ho(228)](t){const e=Ho,i=this[e(271)][e(334)][e(215)](e(236)),s=this[e(271)][e(334)][e(215)](e(256)),n=this[e(271)][e(334)][e(215)](e(250));return Uo[e(214)](n,t)[e(358)]((t=>(s[e(222)][e(292)]=e(260),i[e(222)][e(292)]=e(251),this[e(261)]=!0,t)))}[Ho(233)](t){const e=Ho,i=this[e(271)][e(334)][e(215)](e(236));return this[e(271)][e(334)][e(215)](e(256))[e(222)][e(292)]=e(251),i[e(222)][e(292)]="",this[e(261)]=!1,t[e(232)]()}async[Ho(351)](t){const e=Ho,i=this[e(271)],s=this[e(223)][e(322)][e(215)](e(279)),n=i[e(322)][e(215)](e(341)),r=i[e(322)][e(215)](e(264)),o=s[e(221)][e(318)](t);let a,c,u;try{await r[e(349)](o,this[e(330)]),a=r[e(333)](o),c=r[e(308)](o)}catch(t){return void console[e(258)](t)}i[e(352)][e(342)]((t=>{const s=e;for(const e of Array[s(243)](i[s(352)][s(242)][s(319)](s(248))))t[s(355)](e)})),s[e(364)]=!1,i[e(352)][e(284)]((t=>{const s=e;t[s(229)](null),t[s(356)](i[s(352)][s(282)][s(267)][s(217)]());const n=Object[s(238)](a);for(const e of i[s(352)][s(282)][s(338)])s(289)!=e[s(254)]&&e[s(275)]()&&!n[s(273)](e[s(254)])&&t[s(293)](e);for(const e of n){let n=i[s(352)][s(282)][s(241)](e);n&&n[s(275)]()||(n=t[s(304)](e));const r=c[e],o=Object[s(238)](r),u=a[e];for(const e of n[s(217)]())o[s(273)](e)||t[s(262)](e,n);for(const i of o)t[s(340)](i,c[e][i],n);t[s(230)](t[s(294)](n)),t[s(312)](i[s(290)][s(329)](u,n),n,0)}}));const l=Q(i[e(317)],e(299));return u=o[e(345)]?-1==o[e(345)][e(240)](l)?l+": "+o[e(345)]:o[e(345)]:l+": "+o[e(246)][e(285)](i[e(317)][e(300)],{month:e(305),day:e(266)})+", "+o[e(246)][e(276)](i[e(317)][e(300)],{hour:e(266),minute:e(266)}),await n[e(237)]({name:u}),s[e(364)]=!0,i[e(334)][e(215)](e(268))[e(295)]()}}function Jo(){var t=["68qAVVKv","459434rJujTq","1234492mlVzyJ","293256SWpcvy","49971BWnCFd","2331290XUTLrx","494456arOiCr","1198980wwLudy"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=498]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(597165===-parseInt(e(503))/1+parseInt(e(499))/2+parseInt(e(498))/3*(-parseInt(e(502))/4)+parseInt(e(501))/5+parseInt(e(505))/6+-parseInt(e(504))/7+parseInt(e(500))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(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:()=>at,RevisionViewer:()=>Qt,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});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,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;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,R);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,R));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,R));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,R);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,R),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,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),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,R),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,R),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 R(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 A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function D(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 M(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 E(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?E(e)?F(t,M(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}}function L(t,e){const i=P();return(L=function(t,e){return i[t-=448]})(t,e)}function P(){const t=["setName","392516ucGfZc","diffData","name","createdAt","1JxNhJP","authorsIds","map","_update","creator","fire","fromVersion","creatorId","model","2021888dfKcyh","177928CNDDfx","777600IabjAt","removeAttribute","toJSON","5OxVBAD","authors","1858710mHPzWA","attributes","1565872xNwYrq","976464AjVwQw","toVersion","setAttribute","set"];return(P=function(){return t})()}const W=L;!function(t){const e=L,i=t();for(;;)try{if(167677===parseInt(e(458))/1*(parseInt(e(454))/2)+-parseInt(e(449))/3+parseInt(e(468))/4*(parseInt(e(472))/5)+parseInt(e(474))/6+-parseInt(e(448))/7+parseInt(e(467))/8+-parseInt(e(469))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class z extends((0,t.ObservableMixin)()){id;[W(462)];[W(473)];[W(455)];[W(450)];[W(464)];[W(466)];constructor(e){const i=W;super(),this.id=e.id||(0,t.uid)(),this[i(462)]=e[i(462)]||null,this[i(473)]=e[i(473)]||[],this[i(455)]=e[i(455)]||null,this[i(450)]=e[i(450)]||0,this[i(464)]=e[i(464)]||0,this[i(452)](i(456),e[i(456)]||""),this[i(452)](i(457),e[i(457)]||new Date),this[i(452)](i(475),e[i(475)]||{})}[W(453)](t){this[W(461)]({name:t})}[W(451)](t,e){const i=W,s=A(this[i(475)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(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]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(461)]({attributes:s})}[W(470)](t){const e=W,i=A(this[e(475)]);(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]&&E(e))return j(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(461)]({attributes:i})}[W(461)](t,e=!1){const i=W;let s=!1;const n={id:this.id},r=[i(456),i(457),i(455),i(473),i(475),i(450),i(464),i(465)];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(473)]&&(n[i(459)]=n[i(473)][i(460)]((t=>t.id)),delete n[i(473)]),this[i(463)](i(461),n,e))}[W(471)](){const t=W;return{id:this.id,name:this[t(456)],creatorId:this[t(462)]?this[t(462)].id:null,authorsIds:this[t(473)][t(460)]((t=>t.id)),diffData:this[t(455)],createdAt:this[t(457)],attributes:this[t(475)],fromVersion:this[t(464)],toVersion:this[t(450)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["isNaN","requires","toJSON","attributes","getLaterVisibleRevision","earlier","getRevisions","oldRevisionId","push","1003746NvItDx","pluginName","fromCharCode","720990IicKsC","newRevisionId","getIndex","Users","getEarlierVisibleRevision","reverse","authorsIds","12zpHrpW","afterInit","creatorId","getRevision","get","diffData","editor","later","RevisionsRepository","getUser","createRevision","length","isPremiumPlugin","name","href","1346248vZaqST","1003105tAmiiN","isOfficialPlugin","getRevisionsInDiff","plugins","add","getRevisionsIterator","data","map","9ORVESa","from","createdAt","_revisions","fromVersion","addRevision","toVersion","2070KQskhz","33DqcFiR","join","5419337vXqMtO","71036qkTfzx","3312sEViKF"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(419376===-parseInt(e(419))/1+-parseInt(e(430))/2+-parseInt(e(415))/3*(-parseInt(e(420))/4)+-parseInt(e(400))/5*(parseInt(e(384))/6)+parseInt(e(418))/7+parseInt(e(399))/8*(-parseInt(e(408))/9)+parseInt(e(433))/10*(parseInt(e(416))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(411)];static get[q(422)](){return[H.Users]}static get[q(431)](){return q(392)}static get[q(401)](){return!0}static get[q(396)](){return!0}get[q(395)](){const t=q;return this[t(411)][t(395)]}constructor(e){const i=q;super(e),this[i(411)]=new t.Collection}[q(385)](){!async function(e){const i=k([104,48,74,114,83,106,109,69,53,86,87,79,111,112,121,82,72,55,57,110,71,108,113,78,99,119,105,98,67,70,90,81,52,102,77,97,73,56,120,49,122,118,100,85,76,65,115,89,51,54,117,68,88,101,103,107,84,50,80,66,75,116]),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(421)](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([104]);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(407)]((t=>String[e(432)](t)))[e(417)]("")}!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:1743379200;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(398)]);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(394)](t){const e=q,i=this[e(390)][e(403)][e(388)](e(436));return new z({id:t.id,name:t[e(397)],creator:t[e(386)]?i[e(393)](t[e(386)]):null,diffData:t[e(389)]||t[e(406)],authors:t[e(439)][e(407)]((t=>i[e(393)](t))),createdAt:new Date(t[e(410)]),attributes:t[e(424)],fromVersion:t[e(412)],toVersion:t[e(414)]})}[q(413)](t,e=0){const i=q;this[i(411)][i(404)](t,e)}[q(387)](t){const e=q;return this[e(411)][e(388)](t)}[q(427)](t={toJSON:!1}){const e=q,i=Array[e(409)](this[e(411)]);return i[e(438)](),t[e(423)]?i[e(407)]((t=>t[e(423)]())):i}[q(435)](t){const e=q;return this[e(411)][e(435)](t)}[q(437)](t){const e=q,[,i]=this[e(405)](t,{direction:e(426)});return i}[q(425)](t){const e=q,[,i]=this[e(405)](t,{direction:e(391)});return i}[q(402)](t){const e=q,i=[];for(const s of this[e(405)](t[e(434)]))if(i[e(429)](s),s.id===t[e(428)])break;return i}*[q(405)](t,{direction:e=q(426),filter:i=()=>!0}={}){const s=q,n=s(426)===e?1:-1;let r=this[s(411)][s(388)](t),o=this[s(435)](r);for(yield r;r;){if(o+=n,r=this[s(387)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=308]})(t,e)}function K(){const t=["editing","_getTypeCharForViewElement","map","useFillerType","constructor","length","_makeModelFromViewString","domChildrenToView","3346392jlfJJR","diffData","type","957gUCals","attachChange","childNodes","isOfficialPlugin","fillerOffset","startsWith","loadRevisionData","19cPxhbE","toData","_removeRevisionMarkers","pluginName","get","isPremiumPlugin","filter","5394MbVcrC","innerHTML","view","marked","_typeCharToViewClass","45534wtBRpo","document","editor","viewChildrenToDom","append","forEach","2446308ZdVXfj","render","htmlProcessor","66447PFzfrv","config","createElement","processor","insertions","attributesAfter","string","div","_viewClassToTypeChar","revision-start","152142XPKtlx","_setCustomProperty","children","data","RevisionHistoryUtils","_getViewFromDiffObj","revision-end","collaboration.channelId","domDocument","76yUsCQC","default","85kCchmX","getRevision","42550yHnoKM","getRevisionRootsAttributes","isAttached","getFillerOffset","toModel","from","488KfZvEA","attributes","customProperties","domConverter","name","parse","data-revision-","getRevisionDocumentData","_appendChild"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(283129===parseInt(e(358))/1*(parseInt(e(370))/2)+-parseInt(e(365))/3*(parseInt(e(321))/4)+parseInt(e(323))/5*(parseInt(e(312))/6)+parseInt(e(348))/7+parseInt(e(331))/8*(-parseInt(e(379))/9)+parseInt(e(325))/10*(-parseInt(e(351))/11)+-parseInt(e(376))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[J(361)](){return J(316)}static get[J(354)](){return!0}static get[J(363)](){return!0}[J(310)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(369)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(357)](t,e){const i=J;if(t[i(349)]||!e)return;const s=this[i(372)][i(380)][i(362)](i(319)),n=await e[i(324)]({channelId:s,revisionId:t.id});t[i(349)]=n[i(349)]}[J(338)](t){const e=J,i={};for(const s in t[e(349)]){if(t[e(349)][s][e(352)]&&!t[e(349)][s][e(352)][e(327)])continue;const n=this[e(360)](JSON[e(336)](t[e(349)][s][e(383)])),r=this[e(372)][e(340)][e(367)][e(371)],o=new Z.ViewDocumentFragment(r,n[e(342)]((t=>this[e(317)](t,!1))));this[e(372)][e(315)][e(382)][e(343)](e(368)),i[s]=this[e(372)][e(315)][e(382)][e(359)](o),this[e(372)][e(315)][e(382)][e(343)](e(322))}return i}[J(326)](t){const e=J,i={};for(const s in t[e(349)])t[e(349)][s][e(352)]&&!t[e(349)][s][e(352)][e(327)]||(i[s]=t[e(349)][s][e(384)]||{});return i}[J(341)](t){const e=J;return this[e(310)][e(362)](t[e(344)])}[J(317)](t,e){const i=J,s=this[i(372)][i(340)][i(367)][i(371)];if(i(308)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(350)]||"r"==t[i(350)]?[]:t[i(314)][i(342)]((t=>this[i(317)](t,e)));const o=this[i(369)][i(362)](t[i(350)])||Z.ViewElement,a=this[i(372)][i(315)][i(378)][i(334)];if(n=new o(s,t[i(335)],t[i(332)],r),"u"==t[i(350)]){const r=t[i(314)][0];if(n[i(377)]=function(t){const e=i,s=t[e(381)](e(309));return s[e(366)]=r,s[e(353)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(339)](n);const e=Array[i(330)](a[i(373)](t,{bind:!1})),r=a[i(320)][i(381)](i(309));r[i(374)](...e),n=Array[i(330)](a[i(347)](r))[0]}}else if("r"==t[i(350)]){const r=t[i(314)][0];if(n[i(377)]=function(t){t[i(366)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(339)](n);const e=Array[i(330)](a[i(373)](t,{bind:!1})),r=a[i(320)][i(381)](i(309));r[i(374)](...e);const o=Array[i(330)](a[i(347)](r));o[i(345)]>1?n[i(339)](o):n=o[0]}}if(t[i(333)])for(const[e,s]of t[i(333)])n[i(313)](e,s);const c=t[i(355)]||null;return n[i(328)]=()=>c,n}}[J(346)](t){const e=J,i=JSON[e(336)](t),s=this[e(372)][e(340)][e(367)][e(371)],n=new Z.ViewDocumentFragment(s,i[e(342)]((t=>this[e(317)](t,!0))));return this[e(372)][e(315)][e(329)](n)}[J(360)](t){const e=J;return(t=t[e(364)]((t=>!t[e(335)]||e(311)!==t[e(335)]&&e(318)!==t[e(335)])))[e(375)]((t=>{const i=e;i(308)!=typeof t&&(t[i(314)]=this[i(360)](t[i(314)]),t[i(332)]=t[i(332)][i(364)]((t=>!t[0][i(356)](i(337)))))})),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),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&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 A,V;const D=(s=s??new Map).get(t),M=s.get(i);if(null!=D&&null!=M)return D===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=ot;function ot(t,e){const i=ct();return(ot=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(854940===parseInt(e(528))/1+parseInt(e(465))/2*(-parseInt(e(425))/3)+-parseInt(e(449))/4+-parseInt(e(564))/5+-parseInt(e(372))/6*(-parseInt(e(502))/7)+-parseInt(e(344))/8+-parseInt(e(406))/9*(-parseInt(e(538))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class at extends U.Plugin{[rt(545)];[rt(395)];[rt(578)]=null;[rt(291)];[rt(541)]=null;[rt(343)];[rt(478)];[rt(333)];[rt(473)];[rt(308)];[rt(267)];[rt(377)];[rt(492)];[rt(374)];static get[rt(514)](){return rt(419)}static get[rt(365)](){return!0}static get[rt(506)](){return!0}static get[rt(303)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(291)]=this[i(413)][i(393)][i(283)](i(278)),this[i(308)]=this[i(413)][i(393)][i(283)](i(274)),this[i(343)]=new ut(this[i(413)]),this[i(333)]=this[i(413)][i(431)][i(283)](i(287))||i(338),this[i(473)]=new Map,this[i(374)]=null;const s=(0,t.uid)();this[i(478)]={history:this[i(413)][i(463)][i(544)][i(533)],getLatestVersion:()=>Promise[i(346)](this[i(413)][i(463)][i(544)][i(487)]),getCurrentRevisionId:()=>s},this[i(575)](i(432),!1),this[i(575)](i(415),!0),this[i(575)](i(537),!1),this[i(413)][i(431)][i(330)](i(288),!0),this[i(413)][i(459)][i(429)](i(511))[i(491)]({view:i(359)})}[rt(531)](){const t=rt;this[t(376)](),this[t(413)][t(453)].on(t(271),(()=>{const e=t,i=this[e(291)][e(399)](0),s=i&&null===i[e(565)]?i:null;if(this[e(377)]=!!s&&this[e(413)][e(431)][e(283)](e(288)),this[e(413)][e(393)][e(331)](e(507))){const t=this[e(478)][e(286)](),n=this[e(291)][e(399)](t);if(n)this[e(492)]=n[e(520)],this[e(377)]=!1;else{const t=this[e(478)][e(533)][e(360)][e(400)]((t=>!t[e(357)])),n=t?t[e(394)]:this[e(478)][e(533)][e(487)];i?(i[e(421)]<n&&i[e(363)]({toVersion:n}),this[e(377)]?(this[e(478)][e(286)]=()=>s.id,this[e(492)]=s[e(520)]):(this[e(492)]=i[e(421)],this[e(377)]=!1)):(this[e(492)]=n,this[e(377)]=!1)}}else s&&(this[e(413)][e(463)][e(544)][e(533)][e(487)]=Math[e(300)](s[e(421)],this[e(413)][e(463)][e(544)][e(533)][e(487)]),s[e(520)]===s[e(421)]?(0!==s[e(520)]&&(this[e(478)][e(286)]=()=>s.id),this[e(377)]=!1):this[e(377)]&&(this[e(478)][e(286)]=()=>s.id,this[e(492)]=s[e(520)])),this[e(377)]||(this[e(492)]=this[e(413)][e(463)][e(544)][e(487)]);this[e(343)][e(531)](this[e(478)][e(533)]),this[e(504)](this[e(492)]),this[e(468)](this[e(492)]),this[e(541)]&&this[e(434)]()})),this[t(329)](t(432)).to(this,t(537),(t=>!t)),this[t(545)]=this[t(413)][t(431)][t(283)](t(545));const e=this[t(413)];this[t(395)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(466)==r||i(369)==r||i(273)==r||i(571)==r||i(510)==r||i(490)==r||i(554)==r||i(479)==r){delete e[n],s=r,clearInterval(this[i(395)]),this[i(395)]=void 0;break}}i(369)==s&&e[i(310)](i(430)),i(273)==s&&e[i(310)](i(340)),i(571)==s&&e[i(310)](i(383)),i(510)==s&&e[i(310)](i(548),i(327)),i(490)==s&&e[i(310)](i(443)),i(554)==s&&e[i(310)](i(403)),i(479)==s&&e[i(310)](i(472))}),1e3)}async[rt(589)](){const t=rt;if(this[t(291)][t(373)]>0){const e=this[t(291)][t(399)](0),i=await this[t(428)](e),s=await this[t(301)](e);this[t(290)](i,s)}}[rt(319)](){const t=rt;super[t(319)](),this[t(395)]&&clearInterval(this[t(395)])}[rt(391)](t){this[rt(478)]=t}async[rt(326)](){const t=rt,e=await this[t(478)][t(496)]();if(e>this[t(578)][t(421)]){await this[t(582)]();const i=this[t(351)]({revision:this[t(578)],to:e});i[t(282)]=i[t(404)][t(387)]((e=>this[t(413)][t(393)][t(283)](t(499))[t(471)](e))),this[t(578)][t(363)](i)}}async[rt(384)](e={},i=null){const s=rt,n=[];await this[s(582)](),this[s(377)]=!1,i>this[s(578)][s(421)]&&(i=null),null===i&&(i=await this[s(478)][s(496)]());const r=this[s(407)](i),o=this[s(351)]({from:r,to:i});if(this[s(578)][s(421)]<i){const t=this[s(351)]({revision:this[s(578)],from:i,to:i});t[s(282)]=[],t[s(404)]=[],t.id=this[s(578)].id,this[s(578)][s(363)](t,!0),delete t[s(282)],n[s(388)](t)}e[s(574)]=this[s(413)][s(393)][s(283)](s(499)).me.id,e[s(521)]=e[s(521)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(335)](e);n[s(388)](e);const c=this[s(291)][s(302)](a);if(0!==c){const t=this[s(291)][s(399)](c-1);if(t[s(520)]!==i){const r=this[s(343)][s(433)](i,t[s(421)]),o={id:t.id,diffData:r[s(410)],authorsIds:r[s(404)],authors:r[s(404)][s(387)]((t=>this[s(413)][s(393)][s(283)](s(499))[s(471)](t))),fromVersion:i};t===this[s(578)]&&(o[s(296)]=new Date(e[s(296)][s(285)]()+10)),t[s(363)](o,!0),delete o[s(282)],n[s(388)](o)}}if(this[s(541)]){for(const t of n)this[s(355)](t.id,t,!0);this[s(434)]()}return a}[rt(335)](t){const e=rt,i=this[e(291)][e(567)](t);return this[e(541)]&&i.on(e(363),((t,i,s)=>{const n=e;s||(this[n(355)](i.id,i,!0),this[n(434)]())})),this[e(291)][e(577)](i,this[e(270)](i)),i}async[rt(428)](t){const e=rt;return await this[e(308)][e(284)](t,this[e(541)]),this[e(308)][e(428)](t)}async[rt(301)](t){const e=rt;return await this[e(308)][e(284)](t,this[e(541)]),this[e(308)][e(301)](t)}[rt(434)](){const t=rt;if(0===this[t(473)][t(566)])return;if(this[t(537)])return;let e=Array[t(482)](this[t(473)][t(501)]());this[t(473)][t(314)]();for(let i=0;i<e[t(373)];i++){const s=e[i];let n=!1;for(const e of Object[t(316)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(436)]((t=>null!==t)),!e[t(373)])return;for(let i=0;i<e[t(373)];i++){const s=e[i];void 0!==s[t(520)]&&void 0===s[t(421)]&&(s[t(421)]=this[t(291)][t(399)](s.id)[t(421)]),void 0!==s[t(421)]&&void 0===s[t(520)]&&(s[t(520)]=this[t(291)][t(399)](s.id)[t(520)])}const i=this[t(413)][t(431)][t(283)](t(287));this[t(537)]=!0,this[t(500)](),this[t(541)][t(573)](e,i)[t(440)]((()=>{this[t(537)]=!1}))[t(563)]((e=>{const i=t;if(e)for(const t of e)this[i(480)]({id:t.id,createdAt:t[i(296)]});this[i(398)](),this[i(434)]()}))}[rt(351)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(520)],i=null!==i?i:t[s(421)];const n=this[s(343)][s(433)](e,i),r={diffData:n[s(410)],authorsIds:n[s(404)],fromVersion:e,toVersion:i};if(!t||i!==t[s(421)]){const t=i-1,e=this[s(478)][s(533)][s(585)](t);r[s(296)]=e&&e[s(296)]||new Date}if(this[s(374)]&&e===this[s(374)][s(520)])for(const t of this[s(374)][s(282)])r[s(404)][s(321)](t.id)||r[s(404)][s(388)](t.id);return r}[rt(355)](t,e,i){const s=rt;if(this[s(473)][s(331)](t)){const n=this[s(473)][s(283)](t);e=i?{...n,...e}:{...e,...n}}this[s(473)][s(575)](t,e)}[rt(480)](t){const e=rt,i=this[e(291)][e(399)](t.id);if(t[e(296)]&&(t[e(296)]=new Date(t[e(296)])),t[e(404)]){const i=this[e(413)][e(393)][e(283)](e(499));t[e(282)]=t[e(404)][e(387)]((t=>i[e(471)](t)))}i[e(363)](t,!0)}[rt(504)](t){const e=rt,i=this[e(291)][e(399)](this[e(291)][e(373)]-1);if(i)this[e(333)]=i.id;else{const i=!this[e(413)][e(463)][e(544)][e(437)][e(400)]((t=>this[e(413)][e(463)][e(304)](t))),s=this[e(413)][e(393)][e(283)](e(499)).me.id,n=Q(this[e(413)][e(323)],e(i?584:581));this[e(525)]({from:t,to:t,id:this[e(333)],name:n,creatorId:s})}}[rt(468)](t){const e=rt,i=this[e(478)][e(286)]();this[e(578)]=this[e(291)][e(399)](i),this[e(578)]||(this[e(578)]=this[e(525)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(582)](){const t=rt;this[t(377)]&&!this[t(374)]&&(await this[t(308)][t(284)](this[t(578)],this[t(541)]),this[t(343)][t(534)](this[t(578)]),this[t(374)]={fromVersion:this[t(578)][t(520)],authors:this[t(578)][t(282)][t(272)]()})}[rt(290)](e,i){const s=rt;let n=this[s(413)][s(431)][s(283)](s(515)),r=this[s(413)][s(431)][s(283)](s(439));if(void 0===n){n={};for(const t of this[s(413)][s(463)][s(544)][s(455)]())n[t]=""}if(s(579)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(413)][s(463)][s(544)][s(455)]())r[t]={}}let o=!1;const a=Object[s(316)](n),c=Object[s(316)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(276)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(316)](r[t])[s(373)]>0){o=!0;break}}o||(o=c[s(549)]((t=>!this[s(413)][s(463)][s(544)][s(518)](t)))),o&&(0,t.logWarning)(s(281),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(413)][s(431)][s(575)](s(515),e),this[s(413)][s(431)][s(575)](s(439),i)}[rt(500)](){const t=rt;if(!this[t(267)]){const e=this[t(413)][t(393)][t(283)](t(558));this[t(267)]=e[t(318)](Q(this[t(413)][t(323)],t(328)))}}[rt(398)](){const t=rt;this[t(267)]&&(this[t(413)][t(393)][t(283)](t(558))[t(417)](this[t(267)]),this[t(267)]=null)}[rt(270)](t){const e=rt,i=this[e(291)][e(467)]();i[e(294)]();let s=0;for(;s<i[e(373)];){const n=i[s];if(n===this[e(578)]){s++;continue}if(n.id===this[e(333)])break;const r=t[e(421)]-n[e(421)]||t[e(520)]-n[e(520)];if(r>0)break;if(r<0)s++;else{if(!t[e(565)]&&n[e(565)])break;if(n[e(565)]||!t[e(565)]){if(t[e(296)]>n[e(296)])break;s++}else s++}}return s}[rt(407)](t){const e=rt,i=this[e(291)][e(467)]();i[e(294)](),i[e(452)]();const s=i[e(400)]((i=>i[e(421)]<=t))[e(421)];return s<this[e(492)]?this[e(492)]:s}[rt(525)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(351)]({from:e,to:i});o[r(521)]=t,o[r(574)]=s,o.id=n;const a=this[r(335)](o);return this[r(541)]&&this[r(355)](o.id,o,!0),a}[rt(376)](){const t=rt;this[t(413)][t(459)][t(429)](t(498))[t(560)]({model:t(359)})}}function ct(){const t=["_removeMetaData","children","revisionHistoryLicenseKeyEvaluationLimit","dataToMarker","_startingVersion","merge","_handleMoveOperation","getMovedRangeStart","getLatestVersion","howMany","dataDowncast","Users","_addPendingAction","values","154672HIUYPi","isAdd","_createInitialRevision","_prepareViewToSave","isPremiumPlugin","RealTimeCollaborationClient","deletion","elementEnd","revisionHistoryLicenseKeyNotAllowed","upcast","insertionPosition","createPositionBefore","pluginName","initialData","isEqual","_getViewJson","getRoot","sourcePosition","fromVersion","name","split","type","insert","_makeRevision","oldRange","toView","1102304rLIJXZ","_lastFrom","_touched","init","graveyardPosition","history","loadState","end","newRange","_isPendingUpdate","39965790FUIbQF","markers","_baseRoots","adapter","getRange","_applyOperations","document","licenseKey","_makeIdsRoot","rootName","featureNotAllowed","some","_fixPosition","isAttached","documentFragment","createPositionAfter","revisionHistoryLicenseKeyTrialLimit","_revisionId","keepParagraph","marker","PendingActions","move","markerToData","_handleMergeOperation","getCustomProperties","then","1232340fseNDO","creator","size","createRevision","$graveyard","range","vid","revisionHistoryLicenseKeyDomainLimit","_touchedRoots","updateRevisions","creatorId","set","vid_start","addRevision","currentRevision","string","elementStart","Initial revision","_loadState","getChild","Empty document","getOperation","_touchedMarkers","addRoot","_startingRevisionId","afterInit","_pendingAction","stickiness","_copyMarkers","_findInsertionIndex","ready","slice","revisionHistoryLicenseKeyExpired","RevisionHistoryUtils","_reset","trim","_makeModelFromViewString","RevisionsRepository","_getPreviousFrom","_createFromRanges","editor-initial-data-replaced-with-revision-data","authors","get","loadRevisionData","getTime","getCurrentRevisionId","collaboration.channelId","revisionHistory.resumeUnsavedRevision","_markChanges","_replaceEditorDataWithRevisionData","repository","_markers","getOperations","reverse","detachRoot","createdAt","domConverter","userId","changeRootAttribute","max","getRevisionRootsAttributes","getIndex","requires","hasContent","getAttributes","key","_calculateMetaData","_utils","_getTypeCharForViewElement","_showLicenseError","stringify","_getState","_isAttached","clear","reInit","keys","_execute","add","destroy","_handleOperation","includes","_handleInsertOperation","locale","_clone","getAncestors","update","RevisionHistory","PENDING_ACTION_REVISION_HISTORY","bind","define","has","_diffRoots","_initialRevisionId","customProperties","addRevisionData","getNodeByPath","fromEntries","initial","startsWith","expired","createRange","createPositionFromPath","_revisionDataBuilder","9816552dmbEsa","insertions","resolve","childCount","_processRootBeforeSave","createElement","_getBaseVids","buildRevisionData","affectsData","offsetSize","offset","_bufferUpdate","createRangeIn","_isInit","element","revision","_operations","uiElement","sort","_update","start","isOfficialPlugin","_handleRootAttributeOperation","path","_handleMarkerOperation","revisionHistoryLicenseKeyInvalid","deletions","splitPosition","48tdAdWG","length","_loadedStateData","_handleRootOperation","_setConversion","_continueCurrentRevision","getChildren","addRootAttribute","_baseRootsAttributes","htmlProcessor","_setAttribute","domainLimit","saveRevision","text","nodes","map","push","delete","domDocument","setSource","tableCell","plugins","baseVersion","_licenseKeyCheckInterval","getWalker","revision:","_removePendingAction","getRevision","find","nodeAfter","parent","trialLimit","authorsIds","previousPosition","9WkSiDX","_getFromVersion","attachChange","source","diffData","_cloneOperation","_insertChild","editor","_saveMetaData","isEnabled","removeRootAttribute","remove","NEGATIVE_INFINITY","RevisionTracker","paragraph","toVersion","clone","_lastTo","createPositionAt","6lJyPPj","_generateTape","getFillerOffset","getRevisionDocumentData","for","invalid","config","isReady","getData","sendBufferedUpdates","_handleSplitOperation","filter","roots","targetPosition","rootsAttributes","finally","_authorId","insertion","evaluationLimit","_fixOperation","_baseIdsRoots","_fixRange","attributesBefore","root","6619920gZEpwn","getTransformedByOperation","vid_end","shift","data","$comment","getRootNames","_getVidAttributeName","getAttribute","reinsert","conversion","_idsRoots","attributesAfter","render","model","rawElement","1292194TSWeaY","revisionHistoryLicenseKeyValid","getRevisions","_createCurrentRevision","position","newValue","getUser","usageLimit","_bufferedUpdates","outerHTML","_transformMarkers","_savedMetaData","_appendChild","_source","revisionHistoryLicenseKeyUsageLimit","setRevisionData","_diffRootsAttributes","from","item","innerHTML","$text","fillerOffset","version"];return(ct=function(){return t})()}class ut{[rt(413)];[rt(409)];[rt(476)];[rt(529)];[rt(423)];[rt(292)];[rt(332)];[rt(481)];[rt(540)];[rt(380)];[rt(460)];[rt(445)];[rt(530)];[rt(586)];[rt(572)];[rt(555)];[rt(588)];constructor(t){const e=rt;this[e(413)]=t,this[e(476)]=new Map,this[e(529)]=-1,this[e(423)]=-1,this[e(292)]=new Map,this[e(332)]=new Map,this[e(481)]=new Map,this[e(540)]=new Map,this[e(380)]=new Map,this[e(460)]=new Map,this[e(445)]=new Map,this[e(530)]=new Map,this[e(586)]=new Map,this[e(572)]=new Map,this[e(555)]=1}[rt(531)](t){const e=rt;this[e(409)]=t;const i=new Map,s=new Map,n=this[e(413)][e(463)][e(544)][e(437)][e(387)]((t=>t[e(547)]));for(const t of n){const n=this[e(413)][e(463)][e(544)][e(518)](t),r=lt(n);i[e(575)](t,r),s[e(575)](t,Object[e(337)](n[e(305)]()))}const r=Array[e(482)](this[e(413)][e(463)][e(539)])[e(387)]((t=>[t[e(521)],t[e(542)]()])),o=this[e(409)][e(487)];this[e(414)](o,i,r,s),this[e(588)]=this[e(555)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(575)](t,i),c[e(575)](t,{})}this[e(414)](Number[e(418)],a,[],c)}[rt(433)](t,e){const i=rt;if(this[i(529)]===t&&this[i(423)]<=e)this[i(476)][i(566)]>1&&this[i(488)](this[i(423)]),this[i(543)](this[i(423)],e,!0);else{if(!this[i(476)][i(331)](t)){const e=this[i(279)](t);this[i(307)](e,t,!1)}this[i(307)](t,e,!0)}return this[i(529)]=t,this[i(423)]=e,this[i(312)]()}[rt(534)](t){const e=rt,i=this[e(413)][e(393)][e(283)](e(274));this[e(275)](),this[e(529)]=t[e(520)],this[e(423)]=t[e(421)];for(const s in t[e(410)]){const n=t[e(410)][s][e(408)],r=A(t[e(410)][s][e(447)])||{},o=i[e(277)](t[e(410)][s][e(370)]);o[e(547)]=s,o[e(313)]=!n||!n[e(551)],o[e(551)]=()=>o[e(313)],this[e(540)][e(575)](s,o),this[e(380)][e(575)](s,r),n&&this[e(572)][e(575)](s,n);const a=this[e(546)](o);this[e(445)][e(575)](s,a);for(const[t,i]of o[e(539)]){if(!t[e(339)](e(397)))continue;const s=t[e(522)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),n=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)],r=a[e(336)](n)[e(457)](i);this[e(530)][e(575)](r,{userId:s})}}}this[e(588)]=this[e(555)];const s=[...Array(this[e(555)])[e(316)]()][e(272)](1)[e(436)]((t=>!this[e(530)][e(331)](t)));let n=0;const r=new Map;for(const o in t[e(410)]){const a=t[e(410)][o][e(408)],c=A(t[e(410)][o][e(461)])||{},u=i[e(277)](t[e(410)][o][e(345)]);u[e(547)]=o,u[e(313)]=!a||a[e(551)],u[e(551)]=()=>u[e(313)],this[e(332)][e(575)](o,u),this[e(481)][e(575)](o,c);const l=this[e(546)](u,Number[e(418)]);this[e(460)][e(575)](o,l),r[e(575)](o,u[e(551)]()?c:{});for(const[t,i]of u[e(539)]){if(!t[e(339)](e(397)))continue;const s=t[e(522)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),n=this[e(555)]++,r=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)];l[e(336)](r)[e(382)](i,n),this[e(530)][e(575)](n,{userId:s})}}for(const t of this[e(413)][e(463)][e(356)](u)[e(396)]({singleCharacters:!0})){const i=this[e(456)](t),r=e(509)==t[e(523)]?t[e(405)][e(367)][e(272)](0,-1):t[e(405)][e(367)],o=l[e(336)](r);o[e(457)](i)>0||o[e(382)](i,s[n++])}for(const[t,i]of u[e(539)])t[e(339)](e(397))||this[e(292)][e(575)](t,i)}const o=ht(e(568));this[e(540)][e(575)](e(568),o),this[e(445)][e(575)](e(568),this[e(546)](o,1));const a=ht(e(568));this[e(332)][e(575)](e(568),a),this[e(460)][e(575)](e(568),this[e(546)](a,1));const c=Array[e(482)](this[e(332)])[e(387)]((([t,e])=>[t,lt(e)]));this[e(414)](this[e(423)],c,this[e(292)],r)}[rt(315)](){const t=rt;this[t(275)](),this[t(529)]=-1,this[t(423)]=-1,this[t(476)][t(314)](),this[t(531)](this[t(409)])}[rt(414)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(575)](t,{start:e[n(364)][n(422)](),end:e[n(535)][n(422)](),rootName:e[n(448)][n(547)]});this[n(476)][n(575)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(488)](t){const e=rt;this[e(476)][e(389)](t)}[rt(275)](){const t=rt;this[t(530)][t(314)](),this[t(586)][t(314)](),this[t(572)][t(314)](),this[t(332)][t(314)](),this[t(481)][t(314)](),this[t(540)][t(314)](),this[t(380)][t(314)](),this[t(460)][t(314)](),this[t(445)][t(314)](),this[t(292)][t(314)](),this[t(555)]=1,this[t(588)]=this[t(555)]}[rt(546)](t,e=null){const i=rt;let s=null;t.is(i(552))||(s=new Z.Element(t[i(521)],{vid_start:null===e?this[i(555)]++:e++}));const n=[];for(const s of t[i(378)]())if(s.is(i(358))){n[i(388)](this[i(546)](s,e));const t=n[n[i(373)]-1];null!==e&&(e=t.is(i(358),i(485))?t[i(457)](i(570))+1:t[i(457)](i(451))+1)}else for(let t=0;t<s[i(353)];t++)n[i(388)](new Z.Element(i(485),{vid:null===e?this[i(555)]++:e++}));if(t.is(i(552))){const e=ht(t[i(547)]);return e[i(412)](0,n),e}return s[i(382)](i(451),null===e?this[i(555)]++:e++),s[i(412)](0,n),s}[rt(307)](t,e,i){const s=rt;this[s(275)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(476)][s(283)](t);this[s(540)]=new Map(n),this[s(380)]=new Map(A(o));for(const[t,e]of this[s(540)])if(s(568)!==t&&(this[s(332)][s(575)](t,lt(e)),this[s(481)]=new Map(A(o)),i)){const i=this[s(555)];this[s(460)][s(575)](t,this[s(546)](e)),this[s(445)][s(575)](t,this[s(546)](e,i))}this[s(588)]=this[s(555)],this[s(332)][s(575)](s(568),lt(this[s(540)][s(283)](s(568)))),i&&this[s(460)][s(575)](s(568),this[s(546)](this[s(540)][s(283)](s(568))));for(const[t,e]of r){const i=this[s(540)][s(283)](e[s(547)]),n=this[s(332)][s(283)](e[s(547)]),r=new Z.Range(this[s(550)](e[s(364)],i),this[s(550)](e[s(535)],i)),o=this[s(446)](r,n);i[s(539)][s(575)](t,r),this[s(292)][s(575)](t,o)}this[s(543)](t,e,i)}[rt(543)](t,e,i){const s=rt;for(const n of this[s(409)][s(293)](t,e))this[s(320)](n,i);for(const t of this[s(332)][s(501)]())t[s(539)][s(314)]();for(const[t,e]of this[s(292)])this[s(332)][s(283)](e[s(448)][s(547)])[s(539)][s(575)](t,e[s(422)]());const n=new Map,r=new Map;for(const[t,e]of this[s(332)])n[s(575)](t,lt(e)),r[s(575)](t,this[s(481)][s(283)](t));this[s(414)](e,n,this[s(292)],r)}[rt(279)](t){const e=rt,i=Array[e(482)](this[e(476)][e(316)]());i[e(362)](((t,e)=>t-e)),i[e(294)]();for(const e of i)if(e<t)return e;return Number[e(418)]}[rt(269)](t,e){const i=rt,s=Array[i(482)](e[i(539)])[i(387)]((([e,s])=>[e,this[i(446)](s,t)]));t[i(539)]=new Map(s)}[rt(475)](t){const e=rt;for(const i of this[e(292)][e(501)]()){const s=i[e(450)](t),n=Z.Range[e(280)](s);i[e(364)]=n[e(364)],i[e(535)]=n[e(535)]}}[rt(320)](t,e){const i=rt;if(i(587)!=t[i(523)]&&i(295)!=t[i(523)]){if(i(524)==t[i(523)]){const s=t[i(469)][i(448)][i(547)];this[i(332)][i(331)](s)||(this[i(332)][i(575)](s,ht(s,!0)),this[i(481)][i(575)](s,{}),e&&this[i(460)][i(575)](s,ht(s,!0)))}else{if(i(379)==t[i(523)]||i(416)==t[i(523)]||i(299)==t[i(523)])return void this[i(366)](t);i(557)==t[i(523)]&&this[i(368)](t)}if(i(557)!==t[i(523)]){const e=this[i(411)](t,this[i(332)]);e[i(317)](),this[i(475)](e)}if(e)switch(t[i(523)]){case i(524):this[i(322)](t);break;case i(559):case i(417):case i(458):this[i(494)](t);break;case i(493):this[i(561)](t);break;case i(522):this[i(435)](t)}}else this[i(375)](t,e)}[rt(411)](t,e){const i=rt,s=t[i(422)]();return s[i(441)]=t[i(441)],this[i(444)](s,e),s}[rt(350)](t){const e=rt;return t[e(387)]((t=>{const i=e,s=this[i(456)](t);return Number(t[i(483)][i(457)](s))}))}[rt(426)](t,e){const i=rt;if(t.is(i(358),i(485)))e[i(388)]({item:t,type:i(385)});else{t.is(i(358))&&e[i(388)]({item:t,type:i(580)});for(const s of t[i(378)]())this[i(426)](s,e);t.is(i(358))&&e[i(388)]({item:t,type:i(509)})}return e}[rt(312)](){const t=rt,e=new Map(this[t(530)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(540)][t(316)](),...this[t(332)][t(316)]()]);a[t(389)](t(568));for(const e of a){const i=this[t(332)][t(283)](e)||ht(e,!1),s=this[t(540)][t(283)](e)||ht(e,!1);i[t(551)]()||s[t(551)]()?(n[t(345)][e]=lt(i),n[t(370)][e]=lt(s),this[t(269)](n[t(370)][e],s),this[t(269)](n[t(345)][e],i),r[t(345)][e]=this[t(426)](this[t(460)][t(283)](e),[]),r[t(370)][e]=this[t(426)](this[t(445)][t(283)](e)||ht(e,!1),[])):a[t(389)](e)}for(const n of a){const o=r[t(345)][n];for(const n of o){const r=this[t(456)](n),o=n[t(483)][t(457)](r);i[t(389)](o),o>=this[t(588)]&&s[t(575)](o,e[t(283)](o))}}for(const n of a){const a=r[t(345)][n],c=this[t(350)](r[t(370)][n]);let u=0;for(const n of a){const r=this[t(456)](n),a=n[t(483)][t(457)](r);if(!s[t(331)](a)&&!o[t(331)](a))if(i[t(331)](a))u++;else{if(a!=c[u]){const s=e[t(283)](a)||e[t(283)](c[u]);for(;a!=c[u];)i[t(331)](c[u])||(o[t(575)](c[u],s),e[t(575)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(345)][e];for(const e of n){const n=this[t(456)](e),r=e[t(483)][t(457)](n);if(o[t(331)](r)){const e=o[t(283)](r);i[t(331)](r)||i[t(575)](r,{...e}),s[t(575)](r,{...e})}}}for(const e of i[t(316)]())e>=this[t(588)]&&i[t(389)](e);const c=new Map;for(const e of a){let n=r[t(345)][e];for(const e of n)if(e[t(483)].is(t(358),t(392))){const i=this[t(456)](e),n=e[t(483)][t(457)](i);if(s[t(331)](n)){const i=e[t(483)][t(402)][t(402)][t(457)](t(576)),r=c[t(283)](i)||new Set;r[t(318)](s[t(283)](n)[t(298)]),c[t(575)](i,r)}}n=r[t(370)][e];for(const e of n)if(e[t(483)].is(t(358),t(392))){const s=this[t(456)](e),n=e[t(483)][t(457)](s);if(i[t(331)](n)){const s=e[t(483)][t(402)][t(402)][t(457)](t(576)),r=c[t(283)](s)||new Set;r[t(318)](i[t(283)](n)[t(298)]),c[t(575)](s,r)}}for(const e of c[t(316)]())(s[t(331)](e)||i[t(331)](e))&&c[t(389)](e)}for(const e of a){const n=r[t(345)][e];let o=null,a=null;for(const e of n){const n=this[t(456)](e),r=e[t(483)][t(457)](n),u=c[t(283)](r);u&&t(580)==e[t(523)]&&(o=Array[t(482)](u)[0],a=e[t(483)][t(457)](t(451))),o&&(i[t(575)](r,{userId:o}),s[t(575)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(370)][e],a=n[t(345)][e];for(const{userId:e}of this[t(586)][t(501)]())null!==e&&l[t(318)](e);for(const{userId:e}of this[t(572)][t(501)]())null!==e&&l[t(318)](e);this[t(289)](a,r[t(345)][e],s,t(442),l),this[t(289)](o,r[t(370)][e],i,t(508),l),u[e]={insertions:this[t(505)](a),deletions:this[t(505)](o),attachChange:this[t(572)][t(283)](e)||null,attributesBefore:A(this[t(380)][t(283)](e))||{},attributesAfter:A(this[t(481)][t(283)](e))}}return{diffData:u,authorsIds:Array[t(482)](l)}}[rt(348)](t){const e=rt;for(const[,i]of t[e(539)]){const t=i[e(364)][e(325)]()[e(436)]((t=>e(392)==t[e(521)]));for(const i of t)1==i[e(347)]&&i[e(583)](0).is(e(358),e(420))&&i[e(583)](0)[e(382)](e(556),!0)}}[rt(505)](t){const e=rt;this[e(348)](t);const i=this[e(413)][e(453)][e(527)](t,{}),s=Array[e(482)](i[e(378)]())[e(387)]((t=>this[e(517)](t)));return JSON[e(311)](s)}[rt(517)](t){const e=rt;if(t.is(e(485)))return t[e(453)];{const i=this[e(413)][e(393)][e(283)](e(274)),s=t,n=this[e(413)][e(453)][e(381)][e(297)],r={type:i[e(309)](s),name:s[e(521)],attributes:Array[e(482)](s[e(305)]()),children:Array[e(482)](s[e(378)]())[e(387)]((t=>this[e(517)](t)))};if(t.is(e(361))&&e(454)!=t[e(521)]){const i=t[e(462)](n[e(390)],n);r[e(489)][e(388)](i[e(474)])}else if(t.is(e(464))){const i=n[e(390)][e(349)](s[e(521)]);t[e(462)](i,n),r[e(489)][e(388)](i[e(484)])}const o=Array[e(482)](s[e(562)]());o[e(373)]>0&&(r[e(334)]=o);const a=s[e(427)]();return null!==a&&(r[e(486)]=a),r}}[rt(289)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(413)][r(463)];for(let s=0;s<e[r(373)];s++){const n=this[r(456)](e[s]),c=e[s][r(483)][r(457)](n),h=i[r(283)](c),d=s==e[r(373)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(298)]!=o[r(298)])&&(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(298)],d=l(397)+s+":"+h+":"+c++,f=u[l(341)](i,a);t[l(539)][l(575)](d,f),null!==h&&n[l(318)](h)}}[rt(456)](t){const e=rt;switch(t[e(523)]){case e(580):return e(576);case e(509):return e(451);default:return e(570)}}[rt(444)](t,e){const i=rt;t[i(394)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(283)](n[i(448)][i(547)]);t[s]=this[i(550)](n,r)}if(n instanceof Z.Range){const r=e[i(283)](n[i(448)][i(547)]);t[s]=this[i(446)](n,r)}i(448)===s&&(t[i(448)]=e[i(283)](t[i(448)][i(547)]))}}[rt(446)](t,e){const i=rt;return this[i(413)][i(463)][i(341)](this[i(550)](t[i(364)],e),this[i(550)](t[i(535)],e))}[rt(550)](t,e){const i=rt;return this[i(413)][i(463)][i(342)](e,t[i(367)],t[i(268)])}[rt(322)](t){const e=rt,i=this[e(460)][e(283)](t[e(469)][e(448)][e(547)]),s=this[e(550)](t[e(469)],i),n=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,r=s[e(402)],o=this[e(555)],a=[];for(const i of t[e(386)])if(i.is(e(358)))a[e(388)](this[e(546)](i));else for(let t=0;t<i[e(353)];t++)a[e(388)](new Z.Element(e(485),{vid:this[e(555)]++}));const c=this[e(555)];for(let t=o;t<c;t++)this[e(530)][e(575)](t,{userId:n});r[e(412)](s[e(354)],a)}[rt(494)](t){const e=rt;(t=this[e(411)](t,this[e(460)]))[e(317)]();const i=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(495)](),n=s[e(402)],r=s[e(354)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(583)](e);r.is(a(358),a(485))?s[a(575)](r[a(457)](a(570)),{userId:i}):(s[a(575)](r[a(457)](a(576)),{userId:i}),t(s,r,0,r[a(347)]),s[a(575)](r[a(457)](a(451)),{userId:i}))}}(this[e(530)],n,r,r+t[e(497)])}[rt(561)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(460)]))[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(438)][e(402)],n=t[e(519)][e(402)],r=s[e(457)](e(451)),o=n[e(457)](e(576));s[e(382)](e(451),n[e(457)](e(451))),n[e(382)](e(451),r),this[e(530)][e(575)](o,{userId:i}),this[e(530)][e(575)](r,{userId:i}),t[e(317)]()}[rt(435)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(460)]))[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,s=t[e(532)],n=t[e(371)][e(402)];t[e(317)]();const r=n[e(457)](e(451)),o=t[e(512)][e(401)];if(s){const t=o[e(457)](e(451)),s=n[e(457)](e(451));n[e(382)](e(451),t),o[e(382)](e(451),s),this[e(530)][e(575)](n[e(457)](e(451)),{userId:i}),this[e(530)][e(575)](o[e(457)](e(576)),{userId:i})}else{const t=this[e(555)]++,s=this[e(555)]++;n[e(382)](e(451),t),o[e(382)](e(576),s),o[e(382)](e(451),r),this[e(530)][e(575)](t,{userId:i}),this[e(530)][e(575)](s,{userId:i})}}[rt(368)](t){const e=rt;if(!t[e(352)])return;const i=(t=this[e(411)](t,this[e(332)]))[e(526)]?t[e(526)][e(448)]:null,s=t[e(536)]?t[e(536)][e(448)]:null;i&&this[e(292)][e(389)](t[e(521)]),s&&this[e(292)][e(575)](t[e(521)],t[e(536)][e(422)]());const n=null===t[e(441)]?null:t[e(441)]||this[e(413)][e(393)][e(283)](e(499)).me.id,r=t[e(521)];if(!this[e(586)][e(331)](r))return void this[e(586)][e(575)](r,{range:t[e(526)],userId:n});const o=this[e(586)][e(283)](r),a=o[e(569)],c=t[e(536)];null==a&&null==c||a&&c&&a[e(516)](c)?this[e(586)][e(389)](t[e(521)]):o[e(298)]=n}[rt(375)](t,e){const i=rt;this[i(332)][i(331)](t[i(547)])?this[i(332)][i(283)](t[i(547)])[i(313)]=t[i(503)]:(this[i(332)][i(575)](t[i(547)],ht(t[i(547)],!0)),this[i(481)][i(575)](t[i(547)],{}),e&&this[i(460)][i(575)](t[i(547)],ht(t[i(547)],!0)));const s=null===t[i(441)]?null:t[i(441)]||this[i(413)][i(393)][i(283)](i(499)).me.id,n=this[i(572)][i(283)](t[i(547)]);n&&n[i(298)]===s?this[i(572)][i(389)](t[i(547)]):this[i(572)][i(575)](t[i(547)],{userId:s,isAttached:t[i(503)]})}[rt(366)](t){const e=rt,i=this[e(481)][e(283)](t[e(448)][e(547)]);null===t[e(470)]?delete i[t[e(306)]]:i[t[e(306)]]=t[e(470)]}}function lt(t){const e=rt,i=ht(t[e(547)],t[e(551)]());for(const s of t[e(378)]()){const t=s[e(324)](!0);i[e(477)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(547)]=t,s[i(313)]=e,s[i(551)]=()=>s[i(313)],s}function dt(t,e,i){const s=rt,n=s(509)==t[s(523)]?i[s(424)](t[s(483)],s(535)):i[s(513)](t[s(483)]);return i[s(342)](e,n[s(367)],n[s(268)])}function ft(t,e,i){const s=rt,n=s(580)==t[s(523)]?i[s(424)](t[s(483)],0):i[s(553)](t[s(483)]);return i[s(342)](e,n[s(367)],n[s(268)])}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),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=231]})(t,e)}function Dt(){const t=["setTemplate","3034110KPJaLl","set","add","stopPropagation","220","ck-revision-history-save-revision-form","form","12jCxHZl","arrowright","1744883bnDjdx","element","revisionName","fieldView","6935193bClnLV","arrowup","149519hecRPH","reset","arrowdown","listenTo","extendTemplate","value","159MeHvDo","revisionNameInputValue","trim","input","8CFfCrv","23156wlLZDu","arrowleft","label","1756880IZpRwb","focusTracker","ck-responsive-form","locale","Name of the revision","keystrokes","revisionNameInputView","errorText","1679216nneWec","_createRevisionNameInput","render","focus","optional"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(399064===-parseInt(e(237))/1+-parseInt(e(248))/2*(-parseInt(e(243))/3)+parseInt(e(259))/4+-parseInt(e(251))/5*(parseInt(e(272))/6)+-parseInt(e(231))/7+parseInt(e(247))/8*(parseInt(e(235))/9)+-parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Mt extends pt.View{[At(252)];[At(256)];[At(257)];constructor(e,i){const s=At;super(e),this[s(252)]=new t.FocusTracker,this[s(256)]=new t.KeystrokeHandler,this[s(266)](s(244),""),this[s(257)]=this[s(260)](i),this[s(264)]({tag:s(271),attributes:{class:["ck",s(270),s(253)],tabindex:"-1"},children:[this[s(257)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(261)](){const t=At;super[t(261)](),(0,pt.submitHandler)({view:this}),this[t(252)][t(267)](this[t(257)][t(232)]),this[t(256)][t(240)](this[t(232)]);const e=e=>e[t(268)]();this[t(256)][t(266)](t(273),e),this[t(256)][t(266)](t(249),e),this[t(256)][t(266)](t(236),e),this[t(256)][t(266)](t(239),e)}[At(262)](){const t=At;this[t(257)][t(262)]()}get[At(233)](){const t=At;return this[t(257)][t(234)][t(232)][t(242)][t(245)]()}set[At(233)](t){const e=At;this[e(257)][e(234)][e(232)][e(242)]=t[e(245)]()}[At(238)](){const t=At;this[t(257)][t(234)][t(232)][t(242)]="",this[t(257)][t(258)]=null}[At(260)](t){const e=At,i=new pt.LabeledFieldView(this[e(254)],pt.createLabeledInputText),s=i[e(234)];s[e(241)]({attributes:{maxlength:e(269)}});let n=Q(this[e(254)],e(255));return!t&&(n+=" ("+Q(this[e(254)],e(263))+")"),i[e(250)]=n,s.on(e(246),(()=>{const t=e;this[t(244)]=s[t(232)][t(242)][t(245)]()})),i}}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=418]})(t,e)}function Ft(){const t=["isPremiumPlugin","246911FwFfPj","RevisionHistoryUI","addMany","locale","requires","items","Revision history","Open revision history","pluginName","Dialog","bind","isOfficialPlugin","delegate","475300dzFqXB","hide","focus","Save current revision","10nivIWD","editor","editing","revisionName","136iieCHK","1328388RhfHNS","show","view","add","init","saveRevision","918792tGXStO","errorText","_registerMenuComponent","revisionNameInputView","ck-button-action","_showDialog","1824942jViYht","The revision name cannot be empty.","16044795OJERmJ","panelView","render","Cancel","menuitem","componentFactory","_createSaveRevisionFormView","Accept","execute","isReady","buttonView","config","isReadOnly","revisionSave","set","_saveRevisionFormView","children","489193GAukqC","plugins","reset","revisionHistory","get","revisionHistory.requireRevisionName","submit","isEnabled","menu","menuBar:revisionHistory","role","RevisionTracker","isOpen","showRevisionViewerCallback"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(402498===-parseInt(e(484))/1+-parseInt(e(453))/2+parseInt(e(459))/3+parseInt(e(444))/4*(-parseInt(e(448))/5)+parseInt(e(465))/6+-parseInt(e(431))/7*(parseInt(e(452))/8)+parseInt(e(467))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Et(439)](){return Et(432)}static get[Et(442)](){return!0}static get[Et(430)](){return!0}static get[Et(435)](){return[at]}[Et(482)];[Et(457)](){const t=Et,e=this[t(449)],i=e[t(485)][t(420)](t(427));e.ui[t(472)][t(456)](t(419),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(468)][n(483)],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(441)](n(423)).to(i,n(476),i,n(423),e,n(479),((t,e,i)=>t&&e&&!i)),r[n(477)][n(481)]({icon:mt.IconHistory,label:Q(s,n(437)),tooltip:!0}),u[n(481)]({label:Q(s,n(447)),withText:!0,role:n(471)}),u[n(441)](n(423)).to(i,n(476),i,n(423),e,n(479),((t,e,i)=>t&&e&&!i)),u.on(n(475),(()=>this[n(464)]())),h[n(481)]({label:Q(s,n(438)),withText:!0,role:n(471)}),h[n(441)](n(423)).to(i,n(476),e,n(479),((t,e)=>t&&!e)),h.on(n(475),(()=>{const t=n;e[t(478)][t(420)](t(419))[t(429)](),r[t(428)]=!1,e[t(450)][t(455)][t(446)]()})),c[n(483)][n(456)](u),l[n(483)][n(456)](h),a[n(426)]=n(424),a[n(436)][n(433)]([c,l]),o[n(456)](a),r})),e.ui[t(472)][t(456)](t(425),(()=>this[t(461)]()))}[Et(461)](){const t=Et,e=this[t(449)],i=e[t(434)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(477)][t(481)]({icon:mt.IconHistory,label:Q(i,t(437))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(481)]({label:Q(i,t(447))}),o[t(443)](t(475)).to(s),o.on(t(475),(()=>{this[t(464)]()})),r[t(483)][t(456)](o),n[t(436)][t(456)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(481)]({label:Q(i,t(438))}),c[t(443)](t(475)).to(s),c.on(t(475),(()=>{const i=t;e[i(478)][i(420)](i(419))[i(429)]()})),a[t(483)][t(456)](c),n[t(436)][t(456)](a),s[t(468)][t(483)][t(456)](n),s}[Et(464)](){const t=Et,e=this[t(449)],i=e[t(434)],s=e[t(485)][t(420)](t(440)),n=e[t(485)][t(420)](t(427));function r(n){const r=t;e[r(478)][r(420)](r(421))&&""===n[r(451)]?n[r(462)][r(460)]=Q(i,r(466)):(e[r(485)][r(420)](at)[r(458)]({name:n[r(451)]}),s[r(445)]())}this[t(482)]||(this[t(473)](),this[t(482)].on(t(422),(()=>r(this[t(482)])))),this[t(482)][t(418)](),s[t(454)]({id:t(480),title:Q(i,t(447)),isModal:!0,content:this[t(482)],actionButtons:[{label:Q(e[t(434)],t(470)),withText:!0,onExecute:()=>s[t(445)]()},{label:Q(e[t(434)],t(474)),class:t(463),withText:!0,onCreate(i){const s=t;i[s(441)](s(423)).to(n,s(476),n,s(423),e,s(479),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(482)])}]})}[Et(473)](){const t=Et,e=this[t(449)],i=e[t(434)];this[t(482)]=new Mt(i,e[t(478)][t(420)](t(421))),this[t(482)][t(469)]()}}function Lt(){const t=["setTemplate","2500519gSQrTq","changeId","ck-revision-change__label","element","ck-revision-change__","164776ZMlYyU","isSuggestion","div","Removed by","author","add","bindTemplate","749541Szglyf","1711146JQTxZO","4173350whtIBW","ck-revision-change","type","459UgKBcv","1019752DNbgYc","ck-annotation","data","name","4TdODAP","_model","set","focus","span","Suggested by","Added by","1335786tWgvsR"];return(Lt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=Lt();return(Wt=function(t,e){return i[t-=269]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(459684===parseInt(e(271))/1+-parseInt(e(277))/2+parseInt(e(272))/3+-parseInt(e(281))/4*(-parseInt(e(273))/5)+parseInt(e(288))/6+-parseInt(e(290))/7+parseInt(e(295))/8*(-parseInt(e(276))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends pt.View{[Pt(291)];[Pt(282)];constructor(t,e){const i=Pt;super(t),this[i(282)]=e,this[i(291)]=e.id;const s=this[i(270)],n=Q(t,e[i(279)][i(296)]?i(286):i(269)==e[i(275)]?i(287):i(298));this[i(283)](i(275),e[i(275)]),this[i(289)]({tag:i(297),attributes:{class:[i(278),i(274),s.to(i(275),(t=>i(294)+t))],tabindex:-1},children:[{tag:i(285),children:[{tag:i(285),attributes:{class:[i(292)]},children:[{text:n}]},{text:" "+e[i(299)][i(280)]}]}]})}[Pt(284)](){const t=Pt;this[t(293)][t(284)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=366]})(t,e)}function Zt(){var t=["8gsPjOB","332601jhbuyE","14788ReyLKD","55904NSBdym","toJSON","author","20320752egmuuN","rootName","3643387VZjjnP","898783qLvOjC","createdAt","1267NSYXKo","type","10VfXanG","data","21018TPSWmw","set","1055hmjEkp","216jBXItZ"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(564036===parseInt(e(372))/1+parseInt(e(382))/2*(parseInt(e(383))/3)+-parseInt(e(384))/4*(-parseInt(e(380))/5)+-parseInt(e(378))/6*(-parseInt(e(374))/7)+-parseInt(e(366))/8*(parseInt(e(381))/9)+parseInt(e(376))/10*(-parseInt(e(371))/11)+-parseInt(e(369))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(368)];[Ut(375)];[Ut(377)];[Ut(370)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)],this[i(375)]=e[i(375)],this[i(377)]=e[i(377)]||{},this[i(370)]=e[i(370)],this[i(379)](i(373),e[i(373)])}[Ut(367)](){var t=Ut;return{id:this.id,authorId:this[t(368)].id,type:this[t(375)],data:this[t(377)],createdAt:this[t(373)]}}}function $t(){const t=["add","8xrtGPi","48257DVPILx","6124WqAVLh","2185245sIRHLW","newRevisionId","696bGUnSC","4cnGggD","2853500OVgGRr","1609902bkwQhy","_setChanges","88977Oxxpis","changes","oldRevisionId","188cBUvnk","114WFzFYd","750165QapYLc"];return($t=function(){return t})()}function Bt(t,e){const i=$t();return(Bt=function(t,e){return i[t-=111]})(t,e)}const Yt=Bt;!function(t){const e=Bt,i=t();for(;;)try{if(349445===parseInt(e(124))/1*(-parseInt(e(118))/2)+-parseInt(e(113))/3*(-parseInt(e(111))/4)+-parseInt(e(120))/5+parseInt(e(119))/6*(parseInt(e(115))/7)+-parseInt(e(122))/8*(parseInt(e(125))/9)+parseInt(e(112))/10+parseInt(e(123))/11*(parseInt(e(127))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt{[Yt(126)];[Yt(117)];[Yt(116)];constructor(e,i){const s=Yt;this[s(126)]=e,this[s(117)]=i,this[s(116)]=new t.Collection}[Yt(114)](t){const e=Yt;for(const i of t)this[e(116)][e(121)](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(t){const e=te,i=t();for(;;)try{if(277015===parseInt(e(513))/1+parseInt(e(276))/2*(-parseInt(e(459))/3)+-parseInt(e(255))/4+-parseInt(e(406))/5*(-parseInt(e(380))/6)+-parseInt(e(511))/7+-parseInt(e(550))/8*(parseInt(e(514))/9)+parseInt(e(381))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class Qt extends U.Plugin{[Xt(490)];[Xt(520)]=null;[Xt(477)];[Xt(326)];[Xt(332)];[Xt(484)];[Xt(247)];static get[Xt(298)](){return Xt(430)}static get[Xt(284)](){return!0}static get[Xt(466)](){return!0}static get[Xt(341)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(490)]=this[e(375)][e(347)][e(300)](e(257)),this[e(477)]=this[e(375)][e(347)][e(300)](e(248)),this[e(417)](e(530),null),this[e(417)](e(470),null),this[e(326)]=null,this[e(417)](e(426),null),this[e(417)](e(303),!1),this[e(417)](e(444),!0),this.on(e(410),((t,i,s)=>{const n=e;this[n(530)]=null,this[n(470)]=null,this[n(375)][n(229)][n(360)][n(439)]((t=>{const e=n;for(const i of this[e(375)][e(229)][e(360)][e(245)][e(547)])s?t[e(471)](e(258),i):t[e(277)](e(258),i)}))})),this[e(535)](e(528)).to(this,e(530),(t=>null!==t)),this[e(535)](e(487)).to(this,e(303),this,e(426),this,e(530),((t,i,s)=>t&&s?i[e(464)][e(301)](s):0)),this[e(535)](e(320)).to(this,e(303),this,e(426),((t,i)=>t?i[e(464)][e(264)]:0)),this[e(332)]=null,this[e(484)]=new Map,this[e(247)]=this[e(375)][e(347)][e(300)](pt.ContextualBalloon)}[Xt(431)](){const t=Xt,e=this[t(375)],i=new ne(e,{direction:t(488)}),s=new ne(e,{direction:t(244)});e[t(289)][t(447)](t(339),i),e[t(289)][t(447)](t(352),s),e[t(289)][t(447)](t(405),new se(e)),this.on(t(278),(()=>{const e=t;i[e(453)](),s[e(453)]()})),this[t(541)](),this[t(331)](),e[t(334)](t(465)),e[t(347)][t(330)](t(268))&&e[t(347)][t(300)](t(268))[t(378)](t(465))}async[Xt(263)](t){const e=Xt;return await this[e(477)][e(462)](t,this[e(520)]),this[e(477)][e(263)](t)}async[Xt(391)](t){const e=Xt;return await this[e(477)][e(462)](t,this[e(520)]),this[e(477)][e(391)](t)}async[Xt(472)](t,e,i=!1){const s=Xt;if(!this[s(444)])return;const n=this[s(426)],r=this[s(490)],o=s(343)==typeof t?r[s(240)](t):t,a=s(343)==typeof e?r[s(240)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(426)]&&this[s(426)][s(273)]===c&&this[s(426)][s(382)]===u)return Promise[s(379)]();this[s(303)]=!1,this[s(470)]=null,this[s(530)]=null,this[s(426)]=new Jt(c,u);const l=this[s(549)](o,a,!0)[s(254)]((t=>this[s(477)][s(462)](t,this[s(520)])));return l[s(414)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(440)](l)[s(262)]((()=>{const t=s;if(!this[t(444)])return;this[t(265)]();const e=this[t(251)](c,u);for(const i of e[t(464)])this[t(484)][t(417)](i.id,i);this[t(375)][t(456)][t(527)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(375)][s(456)][s(245)][s(243)]())i[s(327)](t);for(const t of Object[s(241)](e[s(456)])){const n=i[s(403)](t);for(const r of Object[s(241)](e[s(458)][t]))i[s(291)](r,e[s(458)][t][r],n);i[s(512)](e[s(456)][t],n,0)}})),this[t(426)][t(305)](this[t(306)](e[t(464)])),this[t(303)]=!0}))[s(402)]((t=>{const e=s;console[e(494)](t),this[e(265)](),n&&(this[e(426)]=n),this[e(303)]=!0}))}[Xt(518)](t,e){const i=Xt,s=this[i(490)][i(446)](t);return s.on(i(522),((t,i,n)=>e(i,n,s))),this[i(490)][i(393)](s),s}[Xt(265)](){const t=Xt;this[t(530)]=null,this[t(358)](),this[t(332)]&&this[t(332)][t(280)](),this[t(332)]=null,this[t(484)][t(329)](),this[t(375)][t(456)][t(527)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(375)][i(456)][i(245)][i(243)]())e[i(327)](t)}))}[Xt(306)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(375)][e(456)][e(245)][e(243)]()){const n=this[e(375)][e(229)][e(360)][e(450)](t);if(!n)continue;const r=n[e(365)]()[e(336)](0);r&&(i[e(414)](t),s[e(417)](t,r))}return i[e(340)](((t,i)=>{const n=e,r=s[n(300)](t),o=s[n(300)](i);return r.y-o.y||r.x-o.x})),(t=t[e(235)]((t=>i[e(338)](t[e(325)]))))[e(340)](((t,s)=>i[e(537)](t[e(325)])-i[e(537)](s[e(325)]))),t}[Xt(526)](t){const e=Xt,i=Array[e(396)](t[e(389)])[e(235)]((([t,i])=>t[e(316)](e(524))&&!i[e(373)])),s=Array[e(396)](this[e(375)][e(456)][e(500)](t)[e(314)]({singleCharacters:!0}));if(0!=i[e(264)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(368)](":");if(n[e(497)][e(261)](t[e(533)])&&i[e(460)](),(t[e(319)][e(261)](n[e(515)])||t[e(319)][e(519)](n[e(515)]))&&(e(469)==r?t[e(432)]={userId:o}:e(422)==r&&(t[e(545)]={userId:o})),0==i[e(264)])break}return s}[Xt(302)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(264)];s++)e(230)===t[s][e(272)]?(t[s][e(336)][e(517)]=s,t[s][e(336)][e(242)]=s):(e(397)===t[s][e(272)]?t[s][e(336)][e(517)]=s:e(474)===t[s][e(272)]&&(t[s][e(336)][e(242)]=s),i[e(417)](t[s].id,s));for(const s of i[e(413)]())e(397)===t[s][e(272)]?t[s][e(336)][e(242)]=i[e(300)](t[s][e(355)]):e(474)===t[s][e(272)]&&(t[s][e(336)][e(517)]=i[e(300)](t[s][e(355)]))}[Xt(307)](t){const e=Xt;for(let i=0;i<t[e(264)];i++){if(e(397)===t[i][e(272)])t[i][e(336)][e(517)]=i;else if(e(474)===t[i][e(272)]){t[i][e(336)][e(242)]=i;const s=t[i][e(336)][e(517)];t[s][e(355)]=t[i].id,t[i][e(355)]=t[s].id}else t[i][e(336)][e(517)]=i,t[i][e(336)][e(242)]=i,t[i][e(355)]=null;t[i][e(324)]||(t[i][e(324)]=[],t[i][e(226)]=[])}}[Xt(286)](t,e){const i=Xt,s=t[i(235)]((t=>!t[i(432)]));for(let t=0;t<e[i(264)];t++)e[t][i(432)]&&(s[t][i(432)]=e[t][i(432)])}[Xt(251)](t,e=null){const i=Xt,s=this[i(490)][i(240)](t),n=e?this[i(490)][i(240)](e):null,r=this[i(549)](s,n),o=r[r[i(264)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(264)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(241)](e[i(525)]))if(e[i(525)][t][i(335)]){const s=e[i(525)][t][i(335)];s[i(543)]?(u[i(447)](t),l[i(330)](t)&&l[i(300)](t)[i(333)]==s[i(333)]?l[i(313)](t):l[i(417)](t,s)):l[i(330)](t)?(u[i(313)](t),l[i(313)](t)):(u[i(447)](t),l[i(417)](t,s))}else u[i(447)](t)}for(const t of u){const e=l[i(330)](t)&&!l[i(300)](t)[i(543)];let s=e?r[i(264)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(525)][t]){const s=e?o[i(525)][t][i(407)]:o[i(525)][t][i(516)];c[i(458)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(456)]={};for(const e of t[i(362)])a[i(417)](e.id,e);for(const e of u){const s=t[i(525)][e]?t[i(525)][e][i(492)]:"[]",n=t[i(525)][e]?t[i(525)][e][i(463)]:"[]";t[i(456)][e]={insertions:this[i(477)][i(428)](s),deletions:this[i(477)][i(428)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(396)](s[i(456)][t][i(492)][i(389)])[i(235)]((([t])=>!t[i(316)](i(524)))));let h=0;for(const o of r){const r=this[i(526)](o[i(456)][t][i(492)]);o==s?(e=r,n=e[i(264)],e[i(337)]((t=>{t.id=h++})),this[i(307)](e)):this[i(286)](e,r);const a=e[i(235)]((t=>!t[i(432)]))[i(254)]((t=>t.id));let c=0;const l=this[i(526)](o[i(456)][t][i(463)]);l[i(337)]((t=>{t[i(545)]?t.id=n++:t.id=a[c++]})),this[i(307)](l),this[i(398)](e,i(432)),this[i(398)](l,i(545)),o==s&&this[i(419)](e,u),e=this[i(311)](e,l),this[i(302)](e),this[i(398)](e,i(545))}e=e[i(235)]((t=>!(t[i(432)]&&t[i(545)])));const d=new Map(o[i(456)][t][i(463)][i(389)]),f=new Set(u[i(241)]());for(const t of d[i(241)]())f[i(313)](t);this[i(480)](e,f),this[i(536)](e),e=this[i(478)](e),e=this[i(321)](e),e=this[i(318)](e);const{root:m,changes:p}=this[i(412)](e,a,t);c[i(456)][t]=m;const v=l[i(300)](t);if(v){const e=a[i(300)](v[i(333)]),s=new qt({author:e,type:v[i(543)]?i(447):i(267),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(346)](s),c[i(458)][t][i(452)]=s.id}c[i(464)]=c[i(464)][i(451)](p)}return c}[Xt(419)](t,e){const i=Xt;for(let s=0;s<t[i(264)];s++)for(const[n,r]of e)!r[i(373)]&&r[i(515)][i(261)](t[s][i(319)])&&t[s][i(324)][i(414)](n),r[i(497)][i(261)](t[s][i(533)])&&t[s][i(226)][i(414)](n)}[Xt(311)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(264)]||r<e[i(264)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(414)](o);else if(a[i(545)]&&o[i(432)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(351)](t,n,e,r);s=s[i(451)](o),n=a,r=c}else a[i(545)]?(r++,s[i(414)](a)):(n++,s[i(414)](o))}return s}[Xt(480)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(264)];o++){for(let r=0;r<t[o][i(324)][i(264)];r++){const a=t[o][i(324)][r];if(!e[i(330)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(293)!=c||i(469)!=u&&i(422)!=u||(s[i(346)]({type:u,name:a,userId:l}),t[o][i(324)][i(498)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(226)][i(264)];r++){const a=t[o][i(226)][r];if(!e[i(330)](a))continue;const{group:c,type:u}=n(a);if(i(293)!=c||i(469)!=u&&i(422)!=u)continue;t[o][i(226)][i(498)](r,1),r--;const l=s[i(376)]((t=>t[i(542)]==a));l>-1&&s[i(498)](l,1)}}function n(t){const e=i,s=t[e(368)](":");return{group:s[0],type:s[1],subType:s[e(264)]>=5?s[2]:null,id:s[e(264)]<5?s[2]:s[3],authorId:s[e(264)]<5?s[3]:s[4],markerCount:6==s[e(264)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(264)];i++){if(t[e(432)]&&e(469)==s[i][e(272)])return t[e(531)]=s[i],void delete t[e(432)];if(!t[e(432)]&&!t[e(545)]&&e(422)==s[i][e(272)])return void(t[e(411)]=s[i])}}}[Xt(398)](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(417)](o.id,s);for(let s=0;s<t[i(264)];s++){if(i(545)==e&&t[s][i(432)]||i(432)==e&&t[s][i(545)])continue;if(i(230)==t[s][i(272)]){t[s][i(479)]=0;continue}const n=r[i(300)](t[s][i(355)]),o=r[i(300)](t[s].id);t[s][i(479)]=n-o}}[Xt(549)](t,e,i=!1){const s=Xt,n=[];let r=this[s(490)][s(301)](t),o=this[s(490)][s(301)](e);for(-1==o&&(o=this[s(490)][s(308)][s(264)],i=!1);r<o;)n[s(414)](this[s(490)][s(240)](r)),r++;return i&&n[s(414)](this[s(490)][s(240)](r)),n}[Xt(351)](t,e,i,s){const n=Xt,r=this[n(375)][n(456)][n(461)];let o=e;for(;t[o]&&t[o][n(432)];)o++;let a=s;for(;i[a]&&i[a][n(545)];)a++;u(t,e,o),u(i,s,a);const c=i[n(250)](s,a)[n(451)](t[n(250)](e,o));return c[n(340)](((t,e)=>t[n(532)]!=e[n(532)]?t[n(532)]-e[n(532)]:t[n(504)]!=e[n(504)]?t[n(504)]-e[n(504)]:t[n(479)]!=e[n(479)]?e[n(479)]-t[n(479)]:!!t[n(432)]!=!!e[n(432)]?-1==t[n(532)]||0==t[n(532)]?t[n(432)]?-1:1:t[n(432)]?1:-1:t[n(437)]-e[n(437)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(387)],c=!0;for(let n=e;n<i;n++)if(r[s(372)](t[n][s(336)])||(c=!1),t[n][s(336)][s(517)]<e&&(o=n),t[n][s(336)][s(242)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(532)]=n<=o?-1:n<a?0:1,t[n][s(437)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(479)]?t[i][s(504)]=u:(u++,t[i][s(504)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(532)]&&(t[n][s(504)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(479)]?t[e][s(504)]=u:(u--,t[e][s(504)]=u,u--)}}[Xt(536)](t){const e=Xt,i=new Map,s=this[e(375)][e(456)][e(461)];for(let n=1;n<t[e(264)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(230)==c[e(272)])continue;if(c[e(272)]!=u[e(272)])continue;if(!s[e(357)](u[e(336)])||s[e(299)](u[e(336)]))continue;if(!s[e(357)](c[e(336)])||s[e(299)](c[e(336)]))continue;if((t[n][e(432)]||t[n][e(531)])&&t[n-1][e(545)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(545)]||!t[n-1][e(432)]&&!t[n-1][e(531)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(504)]==o[e(504)],h=Math[e(506)](r[e(504)])<Math[e(506)](o[e(504)])&&0==o[e(479)];(l||h)&&(i[e(417)](o.id,r.id),t[e(498)](a,1),n--,r[e(432)]=!1)}for(let s=0;s<t[e(264)];s++)i[e(330)](t[s][e(355)])&&(t[s][e(355)]=i[e(300)](t[s][e(355)]))}[Xt(478)](t){const e=Xt,i=new Set(t[e(254)]((t=>t.id)));for(let s=0;s<t[e(264)];s++)i[e(330)](t[s][e(355)])||0==t[s][e(479)]||(t[s][e(374)]=!0);return t[e(235)]((t=>!t[e(374)]))}[Xt(321)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(264)];s++){if(i[e(330)](t[s].id)&&t[s][e(545)]&&(t[s][e(374)]=!0),t[s][e(374)])continue;if(0==t[s][e(479)])continue;if(e(397)!=t[s][e(272)])continue;if(null==t[s][e(355)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(355)];)e(397)==t[n][e(272)]?r++:e(474)==t[n][e(272)]&&r--,n++;if(0!=r)if(t[s][e(545)])t[s][e(374)]=!0;else for(;n!=s;)t[n][e(545)]&&0!=t[n][e(479)]&&(t[n][e(374)]=!0,i[e(447)](t[n][e(355)])),n--}return t[e(235)]((t=>!t[e(374)]))}[Xt(318)](t){const e=Xt,i=this[e(375)][e(456)][e(461)];for(let s=0;s<t[e(264)];s++){if(!(t[s][e(432)]||t[s][e(531)]||t[s][e(545)]||t[s][e(411)]))continue;if(0==t[s][e(479)])continue;const n=t[s][e(336)];i[e(357)](n)||i[e(299)](n)||(t[s][e(432)]&&delete t[s][e(432)],t[s][e(531)]&&delete t[s][e(531)],t[s][e(411)]&&delete t[s][e(411)],t[s][e(545)]&&(t[s][e(374)]=!0))}return t[e(235)]((t=>!t[e(374)]))}[Xt(412)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(375)][s(456)],c=a[s(461)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(264)];e++)if(s(397)===t[e][s(272)]){t[e][s(319)]=a[s(377)](n,f);const i=new Z.Element(t[e][s(336)][s(542)],t[e][s(336)][s(309)]());u[0][s(540)](i),f[s(414)](0),u[s(346)](i),t[e][s(533)]=a[s(377)](n,f)}else s(474)===t[e][s(272)]?(u[s(460)](),t[e][s(319)]=a[s(377)](n,f),f[s(344)](),f[f[s(264)]-1]++,t[e][s(533)]=a[s(377)](n,f)):(t[e][s(319)]=a[s(377)](n,f),d?d[s(288)]+=t[e][s(336)][s(238)]:d=new Z.Text(t[e][s(336)][s(238)],t[e][s(336)][s(309)]()),t[e+1]&&s(230)===t[e+1][s(272)]&&v(d,t[e+1][s(336)])||(u[0][s(540)](d),d=null),f[f[s(264)]-1]+=t[e][s(336)][s(328)],t[e][s(533)]=a[s(377)](n,f));for(let e=0;e<t[s(264)];e++){const i=t[e][s(319)],n=t[e][s(533)];for(const n of t[e][s(324)])o[s(417)](n,{start:i,end:null});m(s(411),e,i,n),m(s(531),e,i,n),m(s(545),e,i,n),m(s(432),e,i,n);for(const i of t[e][s(226)]){const t=o[s(300)](i);t?t[s(497)]=n:o[s(417)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(375)][s(456)][s(236)](e[s(515)],e[s(497)]);n[s(389)][s(417)](t,i)}return r[s(340)](((t,e)=>{const i=s,r=n[i(389)][i(300)](i(524)+t.id),o=n[i(389)][i(300)](i(524)+e.id);return r[i(515)][i(285)](o[i(515)])?-1:r[i(515)][i(519)](o[i(515)])?1:r[i(497)][i(285)](o[i(497)])?-1:r[i(497)][i(519)](o[i(497)])?1:i(447)===t[i(272)]?-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(333)]:null,d=i===t[o(264)]-1,f=h[e][0],m=c[o(493)](t[i][o(336)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(497)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(333)]!==u&&(l[e][o(497)]=n,f&&f[o(333)]===l[e][o(333)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(397)!==t[i][o(272)]||f&&f[o(333)]===u||h[e][o(346)]({userId:u,object:t[i][o(336)],change:l[e]}),o(474)===t[i][o(272)]&&f&&f[o(232)]===t[i][o(336)]&&(h[e][o(460)](),l[e]=f[o(439)])),l[e]&&d&&(l[e][o(497)]=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(336)],f=a[h(461)][h(357)](d)&&!a[h(461)][h(299)](d),m=t[h(454)]==o[h(364)]&&o[h(348)];if(f&&m)return;const p=a[h(236)](t,o),v=e[h(300)](u),g=new qt({author:v,type:h(432)==l||h(531)==l?h(447):h(267),data:{isSuggestion:h(531)==l||h(411)==l},createdAt:new Date,rootName:i});r[h(414)](g),n[h(389)][h(417)](h(524)+g.id,p)}function v(t,e){const i=s,n=t[i(309)](),r=e[i(309)]();for(const t of n){if(t[1]!==e[i(481)](t[0]))return!1;r[i(544)]()}return r[i(544)]()[i(502)]}}[Xt(541)](){const t=Xt;this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(304)}),this[t(375)][t(295)][t(370)](t(503))[t(345)]({model:t(304),view:e=>{const i=t,s=e[i(435)][i(368)](":")[1],n=this[i(279)](s);if(!n)return null;const r=i(447)==n[i(272)]?i(469):i(422),o=[i(290),i(281)+r];return n[i(238)][i(505)]&&o[i(414)](i(281)+r+i(249)),this[i(530)]==n&&o[i(414)](i(483)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(375)][t(295)][t(370)](t(501))[t(447)]((e=>{const i=t;e.on(i(409),((t,e,s)=>{const n=i,r=e[n(491)][n(359)](0);if(!r||!r.is(n(266),n(228)))return;if(!s[n(467)][n(548)](r,{attributes:[n(349),n(312)]}))return;const o=e[n(539)][n(515)][n(454)];s[n(270)][n(291)](n(349),r[n(481)](n(349)),o),s[n(270)][n(291)](n(312),r[n(481)](n(312)),o)}),{priority:i(443)})})),this[t(375)][t(295)][t(370)](t(501))[t(447)]((e=>{const i=t;e.on(i(266),((t,e,s)=>{const n=i;if(!s[n(467)][n(548)](e[n(491)],{attributes:[n(349),n(312)]}))return;if(e[n(539)][n(373)])return;const r=e[n(539)][n(515)][n(454)];r[n(448)](n(349))||r[n(448)](n(482))||(s[n(270)][n(291)](n(349),e[n(491)][n(481)](n(349)),r),s[n(270)][n(291)](n(312),e[n(491)][n(481)](n(312)),r))}),{priority:i(443)})})),this[t(375)][t(295)][t(370)](t(501))[t(371)]({view:{name:t(350),attributes:{vid:!0}},model:{key:t(482),value:e=>e[t(481)](t(482))}}),this[t(375)][t(456)][t(461)].on(t(421),((e,[,i])=>{const s=t;[s(349),s(312),s(482)][s(338)](i)&&(e[s(269)]=!0,e[s(315)]())}),{priority:t(457)}),this[t(375)][t(295)][t(370)](t(259))[t(447)]((e=>{const i=t;e.on(i(296),((t,e,s)=>{const n=i;if(" "!=e[n(336)][n(238)]||e[n(336)][n(364)][n(342)]>1)return;if(!s[n(467)][n(548)](e[n(336)],t[n(542)]))return;const r=s[n(270)],o=s[n(274)][n(260)](e[n(441)]);r[n(404)](o,r[n(227)](n(350)))}))})),this[t(375)][t(295)][t(370)](t(259))[t(455)]({model:t(304)}),this[t(375)][t(229)][t(521)].on(t(400),function(e){const i=t,s=e[i(347)][i(300)](i(430));return(t,n,r)=>{const o=i,a=n[o(435)][o(368)](":")[1],c=s[o(279)](a);if(!c)return null;const u=o(447)==c[o(272)]?o(368):o(271);if(!r[o(467)][o(225)](n[o(485)],t[o(542)]))return;const l=n[o(485)][o(314)](),h=n[o(485)][o(515)],d=e[o(456)][o(461)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(336)];p=p||d[o(401)](e);const i=r[o(274)][o(499)](e);if(i&&i[o(425)](o(392)))return;o(474)==t[o(272)]&&d[o(357)](e)&&!d[o(299)](e)&&(e[o(234)]||h[o(367)]?f&&f[o(364)]==e||(f=e,g(t[o(319)]),v=!0):m=m||t[o(319)])}function g(t){const e=o,i=r[e(270)][e(363)](e(350),{class:e(281)+u}),a=r[e(274)][e(475)](t);c[e(238)][e(505)]&&r[e(270)][e(277)](e(281)+u+e(249),i),s[e(530)]==c&&r[e(270)][e(277)](e(483),i),r[e(270)][e(512)](a,i),r[e(274)][e(508)](i,n[e(435)])}p||v||!m||g(m)}}(this[t(375)]),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(416),((e,i,s)=>{const n=t,r=s[n(274)][n(476)](i[n(435)]);if(r)for(const t of r)(t[n(282)](n(509))||t[n(282)](n(442)))&&(s[n(274)][n(510)](t,i[n(435)]),s[n(270)][n(267)](t))}),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(400),((e,i,s)=>{const n=t,r=i[n(435)][n(368)](":")[1],o=this[n(279)](r);if(!o)return null;const a=n(447)==o[n(272)]?n(368):n(271);if(s[n(467)][n(225)](i[n(485)],e[n(542)]))for(const t of i[n(485)][n(356)]()){if(!t.is(n(266),n(496)))continue;const e=s[n(270)][n(363)](n(350),{class:n(281)+a}),r=s[n(274)][n(475)](this[n(375)][n(456)][n(292)](t));o[n(238)][n(505)]&&s[n(270)][n(277)](n(281)+a+n(249),e),this[n(530)]==o&&s[n(270)][n(277)](n(483),e),s[n(270)][n(512)](r,e),s[n(274)][n(508)](e,i[n(435)])}}),{priority:t(449)}),this[t(375)][t(456)][t(245)].on(t(439),(()=>{const e=t;this[e(375)][e(229)][e(360)][e(439)]((t=>{const i=e;for(const e of this[i(375)][i(456)][i(245)][i(243)]()){const s=this[i(375)][i(456)][i(245)][i(275)](e),n=this[i(375)][i(229)][i(360)][i(245)][i(275)](e);if(n){const e=s[i(481)](i(452));if(t[i(385)](i(390),n),t[i(471)](i(433),n),t[i(471)](i(283),n),t[i(471)](i(361),n),e){const s=this[i(279)](e);if(!s)return null;t[i(291)](i(390),e,n),t[i(277)](i(420)+s[i(272)],n),this[i(530)]==s&&t[i(277)](i(361),n)}}}}))})),this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(495),model:e=>t(523)+e,converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(501))[t(256)]({view:t(486),model:e=>t(399)+e,converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(259))[t(455)]({model:t(293),view:e=>({name:t(546)+e,group:t(293)}),converterPriority:t(457)}),this[t(375)][t(295)][t(370)](t(503))[t(345)]({model:t(293),view:e=>{const i=t,s=e[i(435)][i(368)](":")[1];return i(469)!=s&&i(422)!=s?null:{classes:[i(388),i(424)+s]}}}),this[t(375)][t(229)][t(521)].on(t(231),ie(this[t(375)],t(271)),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(354),ie(this[t(375)],t(368)),{priority:t(449)}),this[t(375)][t(229)][t(521)].on(t(418),((e,i,s)=>{const n=t,r=s[n(274)][n(476)](i[n(435)]);if(r)for(const t of r)t.is(n(415))&&(s[n(274)][n(510)](t,i[n(435)]),s[n(270)][n(267)](t))}),{priority:t(449)})}[Xt(279)](t){const e=Xt;return this[e(484)][e(300)](t)}[Xt(383)](t){const e=Xt;return this[e(332)]&&this[e(332)][e(280)](),this[e(332)]=new zt(this[e(375)][e(429)],t),this[e(332)]}[Xt(331)](){const t=Xt;this[t(375)][t(456)][t(245)][t(322)][t(353)](t(304)),this.on(t(445),((e,i,s,n)=>{const r=t;n&&this[r(247)][r(267)](n),s&&(this[r(247)][r(447)]({view:s,stackId:r(395),position:{target:()=>{const t=r,e=this[t(375)][t(229)],i=this[t(279)](s[t(366)]);let n;if(i[t(238)][t(507)]){const s=e[t(360)][t(450)](i[t(325)]);n=Array[t(396)](s[t(365)]())}else{const i=this[t(375)][t(456)][t(389)][t(300)](t(524)+s[t(366)]);n=Array[t(396)](e[t(274)][t(476)](i[t(542)]))[t(254)]((i=>e[t(360)][t(233)][t(534)](i)))[t(254)]((e=>Array[t(396)](e[t(365)]())))[t(384)]()}return this[t(326)]&&n[t(386)]((e=>e[t(538)]-3<=this[t(326)].y&&e[t(317)]+3>=this[t(326)].y&&e[t(323)]-3<=this[t(326)].x&&e[t(239)]+3>=this[t(326)].x))||n[0]}}}),this[r(247)][r(473)](r(395)))})),this.on(t(310),((e,i,s,n)=>{const r=t;this[r(470)]=s?this[r(383)](s):null,this[r(375)][r(456)][r(439)]((()=>{const t=r,e=this[t(375)][t(229)];n&&(n[t(238)][t(507)]?e[t(360)][t(439)]((i=>{const s=t;i[s(471)](s(361),e[s(360)][s(245)][s(275)](n[s(325)]))})):e[t(369)](t(524)+n.id)),s&&(s[t(238)][t(507)]?e[t(360)][t(439)]((i=>{const n=t;i[n(277)](n(361),e[n(360)][n(245)][n(275)](s[n(325)]))})):e[t(369)](t(524)+s.id))}))})),this[t(434)](this[t(375)][t(229)][t(360)][t(245)],t(468),((e,i)=>{const s=t;if(this[s(530)])return;const n=this[s(237)](i[s(253)]),r=this[s(484)][s(300)](n);r?(this[s(326)]={x:i[s(423)].x,y:i[s(423)].y},this[s(470)]=this[s(383)](r)):(this[s(326)]=null,this[s(470)]=null)})),this[t(434)](this[t(375)][t(229)][t(360)][t(245)],t(408),((e,i)=>{const s=t,n=this[s(237)](i[s(253)]),r=this[s(484)][s(300)](n);r?(this[s(326)]={x:i[s(423)].x,y:i[s(423)].y},r===this[s(530)]?this[s(247)][s(287)]():this[s(530)]=r):(this[s(326)]=null,this[s(530)]=null)}))}[Xt(237)](t){const e=Xt;do{const i=t[e(481)](e(390));if(i)return i;t=t[e(364)]}while(t);return null}[Xt(358)](){const t=Xt;this[t(375)][t(456)][t(439)]((e=>{const i=t;for(const t of this[i(375)][i(456)][i(389)])e[i(297)](t)}))}}function te(t,e){const i=ee();return(te=function(t,e){return i[t-=225]})(t,e)}function ee(){const t=["_markMarkers","ck-revision-history-root-","checkAttribute","deletion","domEvent","ck-suggestion-preview-marker-","getCustomProperty","diff","affectsData","_makeModelFromViewString","locale","RevisionViewer","init","isAdded","ck-revision-history-root-add","listenTo","markerName","config","index","revisionHistory","change","all","range","ck-suggestion-marker-merge","low","isEnabled","change:activeView","createRevision","add","hasAttribute","high","getDomRoot","concat","revisionHistoryAttachChange","refresh","nodeAfter","markerToData","model","highest","attributes","3RgFYKA","shift","schema","loadRevisionData","deletions","changes","revision-viewer","isPremiumPlugin","consumable","mouseover","insertion","activeView","removeClass","compare","showStack","elementEnd","toViewPosition","markerNameToElements","_utils","_removeMissingPairs","distance","_markSuggestions","getAttribute","vid","ck-suggestion-marker--active","_changeIdToChange","markerRange","suggestion","currentChangeNumber","backward","execute","repository","viewItem","insertions","isObject","error","comment","softBreak","end","splice","toViewElement","createRangeIn","upcast","done","editingDowncast","level","isSuggestion","abs","isOnRoot","bindElementToMarker","ck-suggestion-marker-split","unbindElementFromMarkerName","434896AkhUvb","insert","300765CrNuSt","266904VpTLWT","start","attributesAfter","startIndex","addRevisionData","isAfter","adapter","downcastDispatcher","_update","revision-comment:","revision:","diffData","_makeTape","enqueueChange","isNavigationMode","change:isReady","activeChange","isAddSuggestion","side","nextPosition","mapViewToDom","bind","_fixObsoleteTags","indexOf","top","modelRange","_appendChild","_setConversion","name","isAttached","next","isRemoved","suggestion:","roots","consume","_getRevisionsRange","64UHGFpS","test","markersEnd","createAttributeElement","code","editing","text","addMarker:revision-suggestion:deletion","object","domConverter","nextSibling","filter","createRange","_findChangeIdFromDomTarget","data","right","getRevision","keys","endIndex","getRootNames","forward","document","_step","_balloon","RevisionHistoryUtils","-new","slice","_getDiff","getLaterVisibleRevision","target","map","878248dAgdSW","dataToMarker","RevisionsRepository","ck-editor__editable__overlay","dataDowncast","toViewRange","isEqual","then","getRevisionDocumentData","length","_cleanUp","element","remove","WidgetToolbarRepository","return","writer","merge","type","newRevisionId","mapper","getRoot","968066UcGQUt","addClass","change:numberOfChanges","_getChangeFromId","destroy","ck-suggestion-marker-","hasClass","ck-revision-history-root-remove","isOfficialPlugin","isBefore","_markInsertions","updatePosition","_data","commands","ck-suggestion-marker","setAttribute","createPositionBefore","revision-suggestion","first","conversion","attribute:vid","removeMarker","pluginName","isLimit","get","getIndex","_refreshStartEndIndex","isReady","revision","_setChanges","_sortAndFilterDiffChanges","_processTape","_revisions","getAttributes","change:activeChange","_joinTapes","vid_end","delete","getWalker","stop","startsWith","bottom","_removeUnsupportedChanges","previousPosition","numberOfChanges","_markMismatchedRemovedTags","selection","left","markersStart","rootName","_activeViewTarget","detachRoot","offsetSize","clear","has","_initInteractions","_changeView","userId","enableReadOnlyMode","attachChange","item","forEach","includes","showPreviousChange","sort","requires","maxOffset","string","pop","markerToHighlight","unshift","plugins","isAtStart","vid_start","span","_threeWayMerge","showNextChange","observeMarkers","addMarker:revision-suggestion:insertion","pairId","getItems","isBlock","_cleanMarkers","getChild","view","ck-revision-history-root--active","authors","createUIElement","parent","getClientRects","changeId","isAtEnd","split","reconvertMarker","for","elementToAttribute","isInline","isCollapsed","isIncorrect","editor","findIndex","createPositionFromPath","forceDisabled","resolve","1254DEPJaw","8993830TIeOAF","oldRevisionId","_getViewForChange","flat","removeAttribute","find","POSITIVE_INFINITY","ck-suggestion-preview-marker","markers","data-change-id","getRevisionRootsAttributes","addHighlight","addRevision","restoreRevisionCallback","revisionHistoryLabel","from","elementStart","_setDistance","revision-suggestion:","addMarker:revision","isContent","catch","addRoot","wrap","restoreRevision","1910ROZhed","attributesBefore","mousedown","element:pre","change:isEnabled","isRemoveSuggestion","_makeModelFromTape","values","push","uiElement","removeMarker:revision","set","removeMarker:revision-suggestion"];return(ee=function(){return t})()}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(467)][r(225)](s[r(485)],i[r(542)]))return;const o=s[r(485)][r(314)](),a=s[r(485)][r(515)],c=t[r(456)][r(461)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(336)];h=h||c[r(401)](e);const i=n[r(274)][r(499)](e);if(i&&i[r(425)](r(392)))return;r(474)==t[r(272)]&&c[r(357)](e)&&!c[r(299)](e)&&(e[r(234)]||a[r(367)]?u&&u[r(364)]==e||(u=e,f(t[r(319)]),d=!0):l=l||t[r(319)])}function f(t){const i=r,o=n[i(274)][i(475)](t),a=n[i(270)][i(363)](i(350),{class:i(424)+e});n[i(270)][i(512)](o,a),n[i(274)][i(508)](a,s[i(435)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(347)][e(300)](Qt);this[e(427)]=!1,this[e(434)](i,e(529),(()=>this[e(453)]())),this[e(434)](i,e(410),(()=>this[e(453)]()))}[Xt(489)](){const t=Xt,e=this[t(375)],i=e[t(347)][t(300)](Qt),s=i[t(303)]?i[t(426)][t(273)]:null;e[t(436)][t(300)](t(438))[t(394)](s)}[Xt(453)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(375)][t(347)][t(300)](Qt),r=n&&s[t(252)](n[t(273)]);this[t(444)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(246)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(347)][i(300)](Qt);this[i(427)]=!1,this[i(246)]=i(244)===e?1:-1,this[i(434)](s,i(529),(()=>this[i(453)]())),this[i(434)](s,i(410),(()=>this[i(453)]())),this[i(434)](s,i(310),(()=>this[i(453)]()))}[Xt(489)](){const e=Xt,i=this[e(375)],s=i[e(347)][e(300)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(530)]=n?s[e(426)][e(464)][e(300)](r+this[e(246)]):s[e(426)][e(464)][e(294)],s[e(530)][e(238)][e(507)])o=i[e(229)][e(360)][e(450)](s[e(530)][e(325)]);else{const t=i[e(456)][e(389)][e(300)](e(524)+s[e(530)].id);o=(0,H.getMarkerDomElement)(i[e(229)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(453)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(375)][t(347)][t(300)](Qt);this[t(444)]=!!(r&&n&&s)&&(!e||(1===this[t(246)]?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=["execute","2109831vrGbHH","841237vMOAFj","ck-revision-history-ui__changes-navigation__wrapper","19140270BGCHiA","isEnabled","span","6846201kWqZfh","isReady","_statusText","div","EDIT_X_OF_Y_REVISIONS","_isStatusLabelVisible","NUMBER_OF_CHANGES","numberOfChanges","set","isForwardNavigationEnabled","No changes","ck-revision-history-ui","Loading...","1299624zoSmfG","currentChangeNumber","35NdozgG","backward","isNavigationMode","2ftaSPV","bind","setTemplate","1665472lLUjlc","Show previous change","fire","4WaFahC","isBackwardNavigationEnabled","bindTemplate","X_OF_Y_CHANGES","ck-hidden","ck-revision-history-ui__changes-navigation__label","1721496XktmMP","forward","Total","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","Show next change"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(840138===-parseInt(e(356))/1*(-parseInt(e(336))/2)+parseInt(e(355))/3*(parseInt(e(342))/4)+parseInt(e(333))/5*(parseInt(e(331))/6)+parseInt(e(348))/7+parseInt(e(339))/8+-parseInt(e(361))/9+-parseInt(e(358))/10)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(344)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(326)](e(335),!1),this[e(326)](e(362),!1),this[e(326)](e(332),0),this[e(326)](e(368),0),this[e(326)](e(327),!1),this[e(326)](e(343),!1),this[e(337)](e(366)).to(this,e(362),this,e(368),((t,e)=>t&&e>0)),this[e(337)](e(363)).to(this,e(362),this,e(332),this,e(368),this,e(335),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(330));if(!n)return Q(t,o(328));const a=Q(t,o(367),n);return r?Q(t,o(345),[s+1,n]):a})),s[e(326)]({label:Q(t,e(340)),tooltip:!0,icon:mt.IconChevronUp}),n[e(326)]({label:Q(t,e(353)),tooltip:!0,icon:mt.IconChevronDown}),s[e(337)](e(359)).to(this,e(343)),n[e(337)](e(359)).to(this,e(327)),s.on(e(354),(()=>this[e(341)](e(354),e(334)))),n.on(e(354),(()=>this[e(341)](e(354),e(349)))),this[e(338)]({tag:e(364),attributes:{class:["ck",e(329),e(352)]},children:[{tag:e(360),attributes:{class:[e(357)]},children:[{tag:e(360),attributes:{class:[e(347),i.if(e(366),e(346),(t=>!t))]},children:[{text:i.to(e(335),(i=>i?Q(t,e(365))+": ":Q(t,e(350))+": "))}]},{text:i.to(e(363))}]},new pt.ToolbarSeparatorView,{tag:e(364),attributes:{class:[e(351)]},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=["addClass","document","76967YnZosW","removeClass","2855085ezhzyb","8CsYYQK","editing","isOfficialPlugin","ck-editor__editable__loading-overlay","4205776eLDTru","roots","16221sYFntT","editor","7wuoWMN","isPremiumPlugin","9sBFqKd","show","2316JejKdL","18fpbasn","1134780jOpHGp","370223laaLuC","RevisionViewerLoadingOverlay","92942lorovT","hide","pluginName","change","view"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(354574===parseInt(e(285))/1*(parseInt(e(294))/2)+parseInt(e(283))/3*(parseInt(e(304))/4)+parseInt(e(303))/5+parseInt(e(290))/6*(parseInt(e(292))/7)+-parseInt(e(281))/8*(-parseInt(e(287))/9)+parseInt(e(291))/10+parseInt(e(301))/11*(-parseInt(e(289))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(280);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=280]})(t,e)}class ve extends U.Plugin{static get[de(296)](){return de(293)}static get[de(306)](){return!0}static get[de(286)](){return!0}[de(288)](){const t=de,e=this[t(284)][t(305)][t(298)];e[t(297)]((i=>{const s=t;for(const t of e[s(300)][s(282)])i[s(299)](me,t)}))}[de(295)](){const t=de,e=this[t(284)][t(305)][t(298)];e[t(297)]((i=>{const s=t;for(const t of e[s(300)][s(282)])i[s(302)](me,t)}))}}function ge(t,e){const i=ke();return(ge=function(t,e){return i[t-=165]})(t,e)}const ye=ge;function ke(){const t=["get","18qPeaWU","showNextChange","editor","currentChangeNumber","ck-revision-history-ui__back-to-editing","restoreRevision","407738nXKMqg","RevisionViewerUI","pluginName","isBackwardNavigationEnabled","changesNavigation","showPreviousChange","componentFactory","forward","bind","isEnabled","change:isReady","show","commands","isReady","plugins","requires","4171924FOdDdU","listenTo","Back to editing","Restore this revision","init","execute","hide","closeRevisionViewerCallback","4285400rygVZv","isOfficialPlugin","2683290RuGVBn","400628Pofajg","isNavigationMode","15mFFxId","isPremiumPlugin","config","numberOfChanges","5005045CGcVma","revisionHistory","isForwardNavigationEnabled","7KbvKDH","5305550ltlKEv","add","exitToEditing","set"];return(ke=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(582055===-parseInt(e(172))/1+parseInt(e(193))/2*(-parseInt(e(174))/3)+-parseInt(e(209))/4+parseInt(e(178))/5+parseInt(e(171))/6*(parseInt(e(181))/7)+parseInt(e(169))/8+parseInt(e(187))/9*(parseInt(e(182))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ye(195)](){return ye(194)}static get[ye(170)](){return!0}static get[ye(175)](){return!0}static get[ye(208)](){return[Qt,ve]}[ye(165)](){const t=ye,e=this[t(189)],i=e[t(207)][t(186)](Qt),s=e[t(207)][t(186)](ve);e.ui[t(199)][t(183)](t(184),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(185)]({label:Q(i,s(211)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(191)}),this[s(210)](n,s(166),(()=>{const t=s;e[t(176)][t(186)](t(179))[t(168)]()})),n})),e.ui[t(199)][t(183)](t(192),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(185)]({label:Q(i,s(212)),withText:!0,tooltip:!0}),n[s(201)](s(202)).to(e[s(205)][s(186)](s(192))),this[s(210)](n,s(166),(()=>e[s(166)](s(192)))),n})),e.ui[t(199)][t(183)](t(197),(s=>{const n=t,r=new ue(s),o=e[n(205)][n(186)](n(198)),a=e[n(205)][n(186)](n(188));return r[n(201)](n(196)).to(o,n(202)),r[n(201)](n(180)).to(a,n(202)),r[n(201)](n(206),n(190),n(177),n(173)).to(i),this[n(210)](r,n(166),((t,i)=>{const s=n;e[s(166)](s(200)===i?s(188):s(198))})),r})),s[t(204)](),i.on(t(203),((e,i,n)=>{const r=t;n?s[r(167)]():s[r(204)]()}))}}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;const Ie=Oe;function Se(){const t=["placeholder","bindTemplate","destroy","_resizeObserver","_updateTooltipText","90BdDHYw","393938CTOCfS","4NGzkVa","input","value","36eVJOdU","ck-tooltip_multi-line","9884050CmyMsh","Enter the revision name","clientWidth","1822330GwqSbq","fieldView","ck-revision-history-sidebar__revision-name","extendTemplate","4707368XrURUy","178884gMSYbi","19355llWYpS","961026kPrezQ","span","set","render","scrollWidth","_tooltipString","element","10qggxqA","Revision name","listenTo"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(440610===parseInt(e(151))/1*(-parseInt(e(152))/2)+parseInt(e(167))/3+parseInt(e(165))/4*(-parseInt(e(174))/5)+-parseInt(e(150))/6*(parseInt(e(166))/7)+-parseInt(e(164))/8+-parseInt(e(155))/9*(-parseInt(e(160))/10)+parseInt(e(157))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(180)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(178)];this[i(169)]({label:Q(t,i(175)),_tooltipString:""}),this[i(161)][i(177)]=Q(t,i(158)),this[i(163)]({tag:i(168),attributes:{class:[i(162)],"data-cke-tooltip-text":s.to(i(172)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(156)}})}[Ie(170)](){const e=Ie;super[e(170)](),this[e(180)]=new t.ResizeObserver(this[e(161)][e(173)],(()=>this[e(149)]())),this[e(176)](this[e(161)],e(153),(()=>this[e(149)]()))}[Ie(179)](){const t=Ie;super[t(179)](),this[t(180)]&&this[t(180)][t(179)]()}[Ie(149)](){const t=Ie,e=this[t(161)][t(173)];this[t(172)]=e[t(171)]>e[t(159)]&&e[t(154)]||""}}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 Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=413]})(t,e)}function Ae(){const t=["span","ck-revision-history-sidebar__revision-author","7977512SuDdOz","push","132054BGgSfY","setTemplate","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","Revision creator","2891845tJOKFQ","ck-revision-history-sidebar__revision-author__name","name","1919477JNUtcB","3138540fNEGsM","193994MGXNAe","Revision author","705228wLXish","6VQbebR","set"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(335790===-parseInt(e(415))/1*(-parseInt(e(418))/2)+-parseInt(e(424))/3+parseInt(e(417))/4+-parseInt(e(429))/5+-parseInt(e(414))/6+-parseInt(e(413))/7+parseInt(e(422))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(419)]({content:mt.IconUser,viewBox:s(427)});const r=["ck",s(421)];i&&r[s(423)](s(426));const o=[{tag:s(420),attributes:{class:["ck",s(430)],title:Q(t,s(i?428:416))},children:[n,e[s(431)]]}];this[s(425)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Me();return(De=function(t,e){return i[t-=302]})(t,e)}function Me(){var t=["6600591MdLeGQ","30TZgkUR","68KJHvjc","9ROibsY","17181228mmUTgJ","toLocaleDateString","486484DHhbfF","269304NOnrcH","600358NcWhBd","7292dVxBXm","toLocaleTimeString","20aggHOx","782904XWJNgu","long","numeric","133wQGMZv"];return(Me=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(416364===parseInt(e(305))/1*(-parseInt(e(314))/2)+parseInt(e(315))/3*(parseInt(e(302))/4)+-parseInt(e(307))/5*(-parseInt(e(308))/6)+-parseInt(e(311))/7*(-parseInt(e(303))/8)+parseInt(e(312))/9+parseInt(e(313))/10*(-parseInt(e(304))/11)+-parseInt(e(316))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["function","children","class","listView","ck-revision-history-sidebar__revision__actions","290xKfqzk","items","isActionsDropdownOpen","map","find","Restore this revision","2jZHxWz","listenTo","menuitem","isOpen","add","buttonView","609191wHZItX","6663783wxQCjq","locale","1581076fSyqbY","468923jBJtkE","ck-on","1836309rNCuhX","9PZVIYK","change:isActionsDropdownOpen","5WurcWk","button","bindTemplate","Name this revision","isVisible","panelPosition","Compare against selected","execute","13498320qWDLBa","model","source","89976lXakoA","1131kyKseL","isEnabled","first","name","Show more items","bind","action","6VFOJNB","stopPropagation","menu","extendTemplate","_action","isReady","set"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=462]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(999779===-parseInt(e(491))/1+-parseInt(e(481))/2*(parseInt(e(493))/3)+parseInt(e(490))/4*(parseInt(e(496))/5)+-parseInt(e(463))/6*(-parseInt(e(488))/7)+-parseInt(e(504))/8*(-parseInt(e(494))/9)+parseInt(e(475))/10*(-parseInt(e(487))/11)+-parseInt(e(507))/12*(-parseInt(e(508))/13))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 We=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=118]})(t,e)}function Ue(){const t=["highlight","345YgSpot","listenTo","5738348YDuJrr","from","isReady","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","value","5484EfCxrC","filter","_requireRevisionName","isHighlighted","extendTemplate","504064ioXhTU","220","revisionNameView","unshift","fieldView","isActionsDropdownOpen","isConfirm","deselect","div","ck-revision-history-sidebar__revision__date","element","bind","2983494xaPeqB",".ck-thread__remove-confirm","render","ck-revision-history-sidebar__actions_dropdown_open","set","span","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-authors","srcElement","bindTemplate","change","uiLanguage","unhighlight","map","select","419878HDpSFn","isSelected","ck-reset","1428075lIIxer","creator","length","setTemplate","createdAt","name","_revision","isEnabled","ck-revision-history-sidebar__revision","9FXiTnd","closest","_createdAtFormatted","2DtnUxa","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","7522830RwUvXI","setName","revisionActionsView","fire","ck-disabled","ck-revision-history-sidebar__revision-wrapper"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(434544===parseInt(e(165))/1+-parseInt(e(180))/2*(-parseInt(e(168))/3)+-parseInt(e(133))/4*(parseInt(e(125))/5)+-parseInt(e(150))/6+parseInt(e(127))/7+parseInt(e(138))/8+parseInt(e(177))/9*(-parseInt(e(118))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(140)];[We(120)];[We(174)];[We(135)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(159)],a=function(t,e){const i=r,s=Array[i(128)](e[i(181)])[i(134)]((t=>t!=e[i(169)]));return e[i(169)]&&s[i(141)](e[i(169)]),s[i(163)]((s=>new Ve(t,s,s==e[i(169)])))}(e,i);this.id=i.id,this[r(174)]=i,this[r(135)]=n,this[r(149)](r(173),r(172)).to(i),this[r(149)](r(179)).to(this,r(172),(t=>{return i=e[r(161)],(s=t)[(n=De)(317)](i,{month:n(309),day:n(310)})+", "+s[n(306)](i,{hour:n(310),minute:n(310)});var i,s,n})),this[r(154)](r(166),!1),this[r(154)](r(136),!1),this[r(154)](r(143),!1),this[r(154)](r(129),!1),this[r(154)](r(175),!1),this[r(140)]=new Te(e,pt.createLabeledInputText),this[r(140)][r(142)][r(137)]({attributes:{maxlength:r(139)}}),this[r(140)][r(142)][r(149)](r(132)).to(this,r(173),(t=>t||this[r(179)])),this[r(140)][r(149)](r(175)).to(this,r(166),this,r(175),((t,e)=>t&&e)),this[r(120)]=s&&s[r(170)]?function(e,i){const s=je,n=e[s(498)],r=e[s(489)],o=(0,pt.createDropdown)(r);o[s(501)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(489)],n={"Compare against selected":Q(s,i(502)),"Name this revision":Q(s,i(499)),"Restore this revision":Q(s,i(480))};return e[i(478)]((t=>{const e=i,s=n[t[e(511)]];return s&&s!==t[e(511)]&&(t[e(511)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(497),model:new pt.ViewModel({label:t[n(511)],class:t[n(472)],withText:!0,role:n(483),_action:t[n(462)]})};i[n(505)][n(513)](n(509)).to(e,n(477),(i=>n(470)!=typeof t[n(509)]||!i||t[n(509)](e))),o[n(485)](i)}return o}(e,i);return e[s(513)](s(477)).to(o,s(484)),o[s(486)][s(469)]({label:Q(r,s(512)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(466)]({attributes:{class:[s(474),n.if(s(477),s(492))]},on:{click:n.to((t=>t[s(464)]()))}}),o.on(s(503),(t=>{const i=s;e[i(468)]&&i(470)==typeof t[i(506)][i(467)]&&t[i(506)][i(467)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(465)}),o[s(482)](e,s(495),((t,n,r)=>{const a=s;if(r)for(const t of o[a(473)][a(476)]){const s=t[a(471)][a(510)],n=i[a(479)]((t=>t[a(462)]===s[a(467)]))[a(500)];t[a(500)]=void 0===n||n(e)}})),o}(this,s):"",this[r(120)]&&this[r(120)][r(149)](r(175)).to(this),this[r(171)]({tag:r(146),attributes:{class:["ck",r(167),r(123),o.if(r(144),r(182))]},children:[{tag:r(146),attributes:{class:["ck",r(167),r(176),o.if(r(175),r(122),(t=>!t)),o.if(r(166),r(156)),o.if(r(136),r(131)),o.if(r(143),r(153))]},children:[this[r(140)],{tag:r(155),attributes:{class:["ck",r(147)]},children:[{text:o.to(r(179))}]},{tag:r(146),attributes:{class:["ck",r(130)]},children:[{tag:"ul",attributes:{class:["ck",r(157)]},children:a}]},this[r(120)]],on:{click:o.to((t=>{const e=r;t[e(158)][e(178)](e(151))||this[e(129)]&&this[e(175)]&&this[e(121)](e(164),{id:this.id})}))}}]})}[We(152)](){const t=We;super[t(152)]();const e=this[t(140)][t(142)][t(148)];this[t(126)](e,t(160),(()=>{const i=t;this[i(135)]&&!e[i(132)]||this[i(121)](i(119),{id:this.id,name:e[i(132)]}),e[i(132)]||(e[i(132)]=this[i(173)]?this[i(173)]:this[i(179)])}))}[We(164)](){this[We(166)]=!0}[We(145)](){this[We(166)]=!1}[We(124)](){this[We(136)]=!0}[We(162)](){this[We(136)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{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 Hs(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 Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(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 Ai={};let Vi={};function Di(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 Mi={};let Ei={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[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&&Ri.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=Di(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 Wi{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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[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 zi={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=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Ei={}}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=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(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,Rs(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 Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[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):zi}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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(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?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.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=Rs(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(),Ri.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=zs(c,e,i)):u>zs(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=As(t.month,1,12),s=As(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=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(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 Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(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 Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(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 Hs(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 Zs(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]]=Ds(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:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(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=Mn(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Zs(l,h),[d,new Zi(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[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=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,[An,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,[Rn,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 Ri.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])=>Zs(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=Rr(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=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(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=Es(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 Rr(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 Ar="Invalid DateTime",Vr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(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 Wr(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 zr(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+=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 Hr(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 Zr={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(Dr(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]=Zr[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:Dr(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=Zi.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(Dr(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: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(Dr(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=Zr);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=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(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=As(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,[zn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return Wr(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),[En,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,Wn])}(t);return Wr(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):Wr(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 Wr(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=Rr(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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(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?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(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(Zi.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(Dr(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):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}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+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(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":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(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")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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):Wr(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(){const t=["setLocale","4227811QcEAGK","304362YlwIfy","weekdayLong","3074VGFYsq","month","80buEjor","3696mqDATZ","minus","685THLhHq","day","2358942tghaiK","2373498HTTrLq","40zioEgY","startOf","1308406PZJDnd","157FDiFCl","fromJSDate","toJSDate","week","toRelativeCalendar","monthLong","year","hasSame","local"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=464]})(t,e)}function oo(t,e){const i=ro,s=io[i(473)](t)[i(481)](e),n=io[i(480)](),r=n[i(464)]({days:1})[i(470)](i(466));let o,a;return s[i(479)](n,i(466))?(o=s[i(470)](i(466))[i(474)](),a=s[i(476)]()):s[i(479)](r,i(466))?(o=r[i(474)](),a=s[i(476)]()):s[i(479)](n,i(475))?(o=s[i(470)](i(475))[i(474)](),a=s[i(484)]||""):s[i(479)](n,i(478))?(o=s[i(470)](i(486))[i(474)](),a=s[i(477)]||""):(o=s[i(470)](i(478))[i(474)](),a=String(s[i(478)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(458289===parseInt(e(472))/1*(parseInt(e(485))/2)+-parseInt(e(468))/3+parseInt(e(488))/4*(-parseInt(e(465))/5)+parseInt(e(467))/6+parseInt(e(482))/7+-parseInt(e(487))/8*(parseInt(e(483))/9)+parseInt(e(469))/10*(parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);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=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=182]})(t,e)}function ho(){const t=["span","18aygiaK","9kvwJQi","find","3712130QVCiFk","1355037kRFrVv","revisionViews","ck-revision-history-sidebar__time-period","724796Lmbjfn","2UyjzpP","startDate","ck-revision-history-sidebar__time-period__label","remove","uiLanguage","1560735FkUDFz","add","_requireRevisionName","setName","_revisionActions","select","locale","6766920WOyqiq","createCollection","356517RQCvCc","2699983stBOWC","div","localizedPeriodName","8JfvxjU","addRevision","removeRevision","ck-revision-history-sidebar__time-period__revisions","delegate","setTemplate"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(497175===parseInt(e(187))/1*(parseInt(e(188))/2)+-parseInt(e(184))/3*(-parseInt(e(206))/4)+-parseInt(e(193))/5+-parseInt(e(213))/6*(-parseInt(e(202))/7)+parseInt(e(200))/8*(-parseInt(e(214))/9)+-parseInt(e(183))/10+parseInt(e(203))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(189)];[uo(185)];[uo(197)];[uo(195)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(199)][n(192)])[n(205)];this[n(189)]=e,this[n(185)]=this[n(201)](),this[n(197)]=i,this[n(195)]=s,this[n(185)][n(210)](n(198)).to(this),this[n(185)][n(210)](n(196)).to(this),this[n(211)]({tag:n(204),attributes:{class:["ck",n(186)]},children:[{tag:n(212),attributes:{class:["ck",n(190)]},children:[{text:r}]},{tag:n(204),attributes:{class:["ck",n(209)]},children:this[n(185)]}]})}[uo(207)](t){const e=uo,i=new He(this[e(199)],t,this[e(197)],this[e(195)]);this[e(185)][e(194)](i)}[uo(208)](t){const e=uo,i=this[e(185)][e(182)]((e=>e.id===t.id));this[e(185)][e(191)](i)}}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=["ck-reset_all","6058854UTNMMi","span","setTemplate","4RTQvuo","215577xXnueZ","2355644oFBKHf","1441863LxWQXp","178590EIKPHG","4317096cBQsjM","Revision history","635971YLmlOc","312JljsbD","ck-revision-history-sidebar__header","content","ck-revision-history-sidebar__header__label","div"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=434]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(605084===parseInt(e(435))/1+parseInt(e(447))/2+-parseInt(e(448))/3+parseInt(e(445))/4*(-parseInt(e(449))/5)+-parseInt(e(442))/6+-parseInt(e(450))/7+-parseInt(e(436))/8*(-parseInt(e(446))/9))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(438)]=mt.IconHistory,this[e(444)]({tag:e(440),attributes:{class:["ck",e(441),e(437)]},children:[i,{tag:e(443),attributes:{class:["ck",e(439)]},children:[Q(t,e(434))]}]})}}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=Io;function _o(){const t=["ck-revision-history-sidebar","set","_requireRevisionName","revisionViews","47968uTSVkJ","timePeriodViews","_revisionActions","ck-revision-history-sidebar__timeline","getTime","_addRevision","_revisions","6kZdXCC","fire","134774ubfFBC","createdAt","1068504BGQjSh","div","_removeRevision","removeRevision","749022XURjpw","unhighlight","ck-disabled","select","deselect","1925cPOafV","setTemplate","startDate","highlightRevisions","add","remove","revisionSetName","map","locale","uiLanguage","some","655QFiOsR","26630wKcdsW","flat","bindTemplate","createCollection","render","selectRevision","isEnabled","highlight","setName","26565VnWzwx","find","9SoetXi","get","delegate","_getTimePeriodViewByStartDate","ck-reset","addRevision","ck-rounded-corners","revisionSelected","4972wdBstd"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(107929===-parseInt(e(504))/1+-parseInt(e(513))/2*(parseInt(e(511))/3)+-parseInt(e(499))/4*(parseInt(e(479))/5)+parseInt(e(519))/6+-parseInt(e(489))/7+-parseInt(e(515))/8*(parseInt(e(491))/9)+-parseInt(e(480))/10*(-parseInt(e(524))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(505)];[wo(510)];[wo(506)];[wo(502)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(482)];this[n(505)]=this[n(483)](),this[n(505)][n(493)](n(522)).to(this),this[n(505)][n(493)](n(488)).to(this),this[n(510)]=e,this[n(506)]=i,this[n(502)]=s,this.on(n(522),((t,e)=>{const i=n;this[i(512)](i(498),e)})),this.on(n(488),((t,e)=>{const i=n;this[i(512)](i(474),e)})),this[n(501)](n(486),!1),this[n(525)]({tag:n(516),attributes:{class:["ck",n(495),n(497),n(500)]},children:[new yo(t),{tag:n(516),attributes:{class:["ck",n(507),r.if(n(486),n(521),(t=>!t))]},children:this[n(505)]}]})}[wo(484)](){const t=wo;super[t(484)]();for(const e of this[t(510)])this[t(509)](e);this[t(510)].on(t(472),((e,i)=>{this[t(509)](i)})),this[t(510)].on(t(473),((e,i)=>{this[t(517)](i)}))}get[wo(503)](){const t=wo;return this[t(505)][t(475)]((e=>e[t(503)][t(475)]((t=>t))))[t(481)]()}[wo(485)](t){const e=wo;for(const i of this[e(503)])t&&t.id===i.id?i[e(522)]():i[e(523)]()}[wo(471)](t){const e=wo;for(const i of this[e(503)])t[e(478)]((({id:t})=>t===i.id))?i[e(487)]():i[e(520)]()}[wo(509)](t){const e=wo,i=oo(t[e(514)],this[e(476)][e(477)])[e(526)];let s=this[e(505)][e(492)](0);s&&s[e(526)][e(508)]()===i[e(508)]()||(s=new fo(this[e(476)],i,this[e(506)],this[e(502)]),this[e(505)][e(472)](s)),s[e(496)](t)}[wo(517)](t){const e=wo,i=oo(t[e(514)],this[e(476)][e(477)])[e(526)];this[e(494)](i)[e(518)](t)}[wo(494)](t){const e=wo;return this[e(505)][e(490)]((i=>i[e(526)][e(508)]()===t[e(508)]()))}}function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=151]})(t,e)}const To=Oo;function xo(){const t=["_handleEditorDataReady","compareAgainstSelected","6960hzrQxZ","timePeriodViews","string","remove","requires","_handleRevisionSetName","length","2438127gPCRoE","highlightRevisions","_sidebarView","bind","init","53872852eIVFgf","getRevision","restoreRevision","_revisionsRepository","isPremiumPlugin","4241480bxxOok","10510920IlDhSD","getRevisionsInDiff","isVisible","change:diff","restoreRevisionCallback","selectRevision","getLaterVisibleRevision","RevisionsSidebar","ready","listenTo","defaultRevisionActions","_handleRevisionSelected","revisionSelected","9nTkHUG","8nonTeE","nameRevision","_revisions","10577DFmpWJ","repository","get","getEarlierVisibleRevision","revisionSetName","availableRevisionActions","_handleDiffChange","appendChild","revisionViews","setName","revisionHistory.viewerSidebarContainer","38wzKxMg","destroy","Compare against selected","render","diff","isSelected","fieldView","7991340JfxuHV","revisionHistory","config","focus","Name this revision","isEnabled","name","editor","select","_revisionViewer","data","newRevisionId","action","isReady","revisionHistory.revisionActions","_createRevisionActions","pluginName","isOfficialPlugin","48823fRjeBY","revisionHistory.requireRevisionName","plugins","element","compare","map","Restore this revision","getIndex","locale","assign","add"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(881493===-parseInt(e(185))/1*(parseInt(e(160))/2)+parseInt(e(205))/3*(parseInt(e(230))/4)+-parseInt(e(215))/5+-parseInt(e(216))/6+parseInt(e(233))/7*(-parseInt(e(198))/8)+parseInt(e(229))/9*(-parseInt(e(167))/10)+parseInt(e(210))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[To(176)];[To(213)];[To(207)];static[To(226)]=[To(197),To(212),To(231)];static[To(154)]=function(){const t=To;return{compareAgainstSelected:{name:t(162),action:({plugins:e},i)=>{const s=t,n=e[s(151)](Qt),r=n[s(234)];let o=n[s(164)][s(178)],a=i.id;r[s(192)](o)>r[s(192)](a)&&([o,a]=[a,o]),n[s(189)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(151)](Qt);return!(n[s(234)][s(217)](n[s(164)])[s(204)]>2||i[s(165)])}},restoreRevision:{name:t(191),action:(e,{id:i})=>{const s=t;e[s(169)][s(151)](s(168))[s(220)](i)},isVisible:({plugins:e},i)=>!!e[t(151)](Qt)[t(234)][t(222)](i.id)},nameRevision:{name:t(171),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(151)](Qt),o=r[n(234)][n(152)](i);r[n(189)](i,o),s[n(170)](),s[n(166)][n(175)]()}}}}();static get[To(183)](){return To(223)}static get[To(184)](){return!0}static get[To(214)](){return!0}static get[To(202)](){return[Qt]}constructor(t){const e=To;super(t),this[e(176)]=t[e(187)][e(151)](Qt),this[e(213)]=this[e(176)][e(234)],this[e(207)]=null}[To(209)](){const t=To,e=this[t(213)][t(232)],i=this[t(182)](),s=this[t(174)][t(169)][t(151)](t(159));this[t(207)]=new So(this[t(174)][t(193)],e,i,this[t(174)][t(169)][t(151)](t(186))),this[t(207)].on(t(228),this[t(227)][t(208)](this)),this[t(207)].on(t(153),this[t(203)][t(208)](this)),this[t(207)][t(208)](t(172)).to(this[t(176)]),this[t(207)][t(199)].on(t(195),((e,i)=>{const s=t;i[s(157)].on(s(195),((t,e)=>{const i=s;e[i(208)](i(172),i(180)).to(this[i(176)])}))})),this[t(207)][t(163)](),this[t(225)](this[t(174)][t(177)],t(224),this[t(196)][t(208)](this)),this[t(225)](this[t(176)],t(219),this[t(155)][t(208)](this)),s[t(156)](this[t(207)][t(188)])}[To(161)](){const t=To;this[t(207)][t(188)][t(201)](),this[t(207)][t(161)]()}[To(196)](){const t=To,e=this[t(213)][t(211)](0);if(e){const i=this[t(213)][t(152)](e.id);this[t(176)][t(189)](e,i)}}[To(227)](t,e){const i=To,s=this[i(213)][i(211)](e.id),n=this[i(213)][i(152)](s.id);this[i(176)][i(189)](s,n)}[To(203)](t,e){const i=To;this[i(213)][i(211)](e.id)[i(158)](e[i(173)])}[To(155)](t,e,i){const s=To,n=this[s(213)][s(217)](i);n[s(204)]>2?(this[s(207)][s(206)](n),this[s(207)][s(221)](null)):(this[s(207)][s(206)]([]),this[s(207)][s(221)](n[0]))}[To(182)](){const t=To,e=this[t(174)],i=No[t(154)],s=e[t(169)][t(151)](t(181))||No[t(226)];if(s[t(204)])return s[t(190)]((s=>{const n=t,r=n(200)==typeof s?Object[n(194)]({},i[s]):s;return r[n(179)]=r[n(179)][n(208)](this,e),r[n(218)]&&(r[n(218)]=r[n(218)][n(208)](this,e)),r}))}}const Ro=No,Ao=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=116]})(t,e)}function Do(){const t=["isFocused","981652QMezMT","viewportOffset","name","get","addToolbar","116BWPKqo","detachDomRoot","_view","setEditableElement","editable","view","document","_elementReplacer","882504tmweCp","getRoot","toolbar","2800584orcsGu","focusTracker","editor","destroy","replace","componentFactory","editing","attachDomRoot","config","fillFromConfig","limiterElement","ready","rootName","init","fire","_toolbarConfig","element","stickyPanel","isActive","render","_initToolbar","21DwMsxI","bind","1275633aBsLfJ","viewportTopOffset","1326XPIrSk","1941630yvAiiB","249365FanAGK","restore"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(290457===parseInt(e(139))/1+-parseInt(e(142))/2+parseInt(e(137))/3*(-parseInt(e(147))/4)+-parseInt(e(138))/5+parseInt(e(155))/6*(parseInt(e(133))/7)+parseInt(e(158))/8+parseInt(e(135))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Mo extends pt.EditorUI{[Ao(149)];[Ao(127)];[Ao(154)];get[Ao(152)](){return this[Ao(149)]}constructor(e,i){const s=Ao;super(e),this[s(149)]=i,this[s(127)]=(0,pt.normalizeToolbarConfig)(e[s(120)][s(145)](s(157))),this[s(154)]=new t.ElementReplacer}get[Ao(128)](){const t=Ao;return this[t(152)][t(128)]}[Ao(125)](t){const e=Ao,i=this[e(160)],s=this[e(152)],n=i[e(118)][e(152)],r=s[e(151)],o=n[e(153)][e(156)]();r[e(144)]=o[e(124)],s[e(131)]();const a=r[e(128)];this[e(150)](r[e(144)],a),s[e(151)][e(134)](e(141)).to(this[e(159)]),n[e(119)](a),this[e(154)][e(116)](t,this[e(128)]),this[e(132)](),this[e(126)](e(123))}[Ao(161)](){const t=Ao;super[t(161)]();const e=this[t(152)],i=this[t(160)][t(118)][t(152)];this[t(154)][t(140)](),i[t(148)](e[t(151)][t(144)]),e[t(161)]()}[Ao(132)](){const t=Ao,e=this[t(152)];e[t(129)][t(134)](t(130)).to(this[t(159)],t(141)),e[t(129)][t(122)]=e[t(128)],e[t(129)][t(134)](t(136)).to(this,t(143),(({top:t})=>t)),e[t(157)][t(121)](this[t(127)],this[t(117)]),this[t(146)](e[t(157)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=133]})(t,e)}function Lo(){var t=["3311GYOyCZ","add","420348BAeYiY","301927MUMCpN","content","top","13913977FPkZcI","2602BAunMS","1383Rautgr","3771830mMEbgg","14860eWZfSk","shouldToolbarGroupWhenFull","4077AcDXSn","1640lUKNqb","toolbar","stickyPanel","render","6eCUEUh","editable","main","_editable"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(436305===-parseInt(e(150))/1+-parseInt(e(133))/2*(parseInt(e(134))/3)+-parseInt(e(149))/4+-parseInt(e(135))/5*(-parseInt(e(143))/6)+parseInt(e(147))/7*(parseInt(e(139))/8)+parseInt(e(138))/9*(-parseInt(e(136))/10)+parseInt(e(153))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(146)];[Fo(141)];[Fo(140)];get[Fo(144)](){return this[Fo(146)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(141)]=new pt.StickyPanelView(t),this[s(140)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(137)]}),this[s(146)]=new pt.InlineEditableUIView(t,e)}[Fo(142)](){var t=Fo;super[t(142)](),this[t(141)][t(151)][t(148)](this[t(140)]),this[t(152)][t(148)](this[t(141)]),this[t(145)][t(148)](this[t(144)])}}const Wo=Uo;function zo(){const t=["6358232YWVvjA","init","initPlugins","30lMDAJZ","destroy","get","7QiSYnm","_ui","config","1ILzTMR","1028406UZahsr","model","117WzpvnT","1694693ijlNOy","initialData","create","sourceElement","fire","view","10HjyvHh","data","createRoot","updateSourceElement","locale","editing","11017272mmDcgN","6705144eKCafv","2326010COWBbm","ready","document","80348ZoHuJk"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=239]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(632266===-parseInt(e(256))/1*(-parseInt(e(243))/2)+-parseInt(e(259))/3*(parseInt(e(246))/4)+parseInt(e(250))/5*(parseInt(e(257))/6)+-parseInt(e(253))/7*(parseInt(e(247))/8)+-parseInt(e(242))/9+-parseInt(e(266))/10*(parseInt(e(260))/11)+parseInt(e(241))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(254)];get ui(){return this[Wo(254)]}constructor(t,e){const i=Wo;super(e),this[i(263)]=t,this[i(258)][i(245)][i(268)]();const s=new Po(this[i(239)],this[i(240)][i(265)],{shouldToolbarGroupWhenFull:!0});this[i(254)]=new Mo(this,s)}[Wo(251)](){const t=Wo;return this[t(269)](),this.ui[t(251)](),super[t(251)]()}static async[Wo(262)](t,e){const i=Wo,s=new this(t,e);return await s[i(249)](),await s.ui[i(248)](t),await s[i(267)][i(248)](s[i(255)][i(252)](i(261))||""),s[i(264)](i(244)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=214]})(t,e)}function $o(){const t=["numeric","selection","revisionHistory","hide","RevisionHistoryUI","editor","RevisionViewerIntegration","includes","addRevisionData","isAttached","toLocaleTimeString","PaginationLookup","refreshVisibility","RevisionViewer","DocumentOutline","isOfficialPlugin","document","RevisionHistory","enqueueChange","toLocaleDateString","_enhanceCloseRevisionViewerCallback","push","isEnabled","$graveyard","data","toVersion","display","detachRoot","createRangeIn","closeRevisionViewerCallback","init","toJSON","getRevisions","Restored","uiLanguage","has","translations","147156bgGFIM","addRoot","long","revisionHistory.requireRevisionName","_getRevisionViewerEditorConfig","getRevisionRootsAttributes","pluginName","disableReadOnlyMode","4ZAVGvI","insert","bind","map","revision-history-viewer-opened","Autosave","locale","getRevision","getMarkersGroup","define","revisionHistory.closeRevisionViewerCallback","plugins","getUser","changesNavigation","RevisionsRepository","toolbar","result","exitToEditing","parse","adapter","isAnonymous","1858165CHXpYE","getRevisionDocumentData","config","_cleanUp","revisionHistory.showRevisionViewerCallback","fromVersion","roots","users","setAttribute","RevisionTracker","change","showRevisionViewerCallback","view","name","element","end","restoreRevision","loadRevisionData","4460373ItVbMS","_restoreRevision","model","1127bWFadF","fromCharCode","removeMarker","removeSelectionAttribute","_update","then","760578PNbsLn","set","lazyRoots","16278hEoCIX","save","isReady","Users","create","get","revision-history-missing-configuration","getAttributeKeys","enableReadOnlyMode","creator","Annotations","repository","style","_viewerEditor","commands","isReadOnly","Dialog","30unnPCy","_showRevisionViewer","setSelection","remove","isPremiumPlugin","destroy","_closeRevisionViewer","update","_enhanceShowRevisionViewerCallback","revisionHistory.editorContainer","saveRevision","keys","isOpen","indexOf","getRoot","markers","from","RestrictedEditingMode","catch","createdAt","refreshPositioning","restrictedEditingException","1689848DRKeFy","revisionHistory.viewerEditorElement","none","requires","_recalculatePageBreaks","rootName","DocumentOutlineUI","revisionHistory.viewerContainer","19272200cshLkn","error","join","block","isRevisionViewerOpen","removeAttribute","revisionHistory.restoreRevisionCallback","RevisionHistoryUtils","addUser"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(387168===-parseInt(e(359))/1+parseInt(e(227))/2*(parseInt(e(303))/3)+-parseInt(e(311))/4*(parseInt(e(332))/5)+parseInt(e(362))/6*(-parseInt(e(353))/7)+-parseInt(e(249))/8+-parseInt(e(350))/9+parseInt(e(257))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(270),Zo(244)];class Yo extends U.Plugin{[Zo(327)];static get[Zo(309)](){return Zo(272)}static get[Zo(281)](){return!0}static get[Zo(231)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(314)]((t=>String[e(354)](t)))[e(259)]("")}super(t),this[e(327)]=e(347),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{[Zo(223)];static get[Zo(309)](){return Zo(283)}static get[Zo(281)](){return!0}static get[Zo(231)](){return!0}static get[Zo(252)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(271)][i(334)][i(215)](i(268)))throw new t.CKEditorError(i(216),this);this[i(223)]=null,this[i(360)](i(261),!1),this[i(271)][i(334)][i(320)](i(336),(t=>this[i(228)]({...t,translations:this[i(271)][i(317)][i(302)]}))),this[i(271)][i(334)][i(320)](i(321),(t=>this[i(233)](t))),this[i(271)][i(334)][i(320)](i(263),(t=>this[i(351)](t))),this[i(271)][i(334)][i(320)](i(306),!1),this[i(235)](),this[i(286)]()}set[Zo(330)](t){const e=Zo;this[e(271)][e(322)][e(215)](e(341))[e(330)]=t}get[Zo(330)](){const t=Zo;return this[t(271)][t(322)][t(215)](t(341))[t(330)]}[Zo(274)](t){const e=Zo;return this[e(271)][e(322)][e(215)](e(341))[e(274)](t)}[Zo(318)](t){const e=Zo;return this[e(271)][e(322)][e(215)](e(325))[e(318)](t)}[Zo(298)](t){const e=Zo;return this[e(271)][e(322)][e(215)](e(325))[e(298)](t||{toJSON:!1})}[Zo(307)](){const e=Zo,i=this[e(271)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(322)][e(215)](e(341)),r=i[e(322)][e(215)](e(365))[e(339)];return s[e(326)]=[e(328),e(348),e(324)],delete s[e(361)],s[e(322)][e(287)](Yo,Qt,be,class extends U.Plugin{static get[e(252)](){return[Qt,e(365)]}[e(296)](){const s=e,o=this[s(271)][s(322)][s(215)](s(365));for(const t of r)t[s(331)]||o[s(323)](t.id)||o[s(265)](t);const a=n[s(221)][s(298)]();let c=null;const u=this[s(271)][s(322)][s(215)](s(279));u[s(330)]=n[s(330)],u[s(313)](s(288)).to(n),this[s(271)][s(224)][s(215)](s(348))[s(313)](s(288)).to(i,s(225),(t=>!t));for(const e of a){const i=null===e[s(219)];if(i&&e[s(291)]===e[s(337)])continue;const r=e[s(297)]();u[s(274)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(357)](r,o);else if(!o){const e=a[u(297)]();e.id=(0,t.uid)(),n[u(237)](e,a[u(291)])[u(358)]((t=>{c=t}))}}else e[u(357)](r,o)}))}}},Ro),s}[Zo(235)](){const t=Zo,e=this[t(271)][t(334)][t(215)](t(268))[t(343)];this[t(271)][t(334)][t(360)](t(336),(async()=>{const i=t;this[i(271)][i(218)](i(315));const s=this[i(271)][i(322)][i(215)](i(341));if(this[i(271)][i(322)][i(301)](i(316))){const t=this[i(271)][i(322)][i(215)](i(316));await t[i(363)]()}else await s[i(234)]();if(this[i(271)][i(322)][i(301)](i(277))&&this[i(271)][i(322)][i(215)](i(277))[i(253)](),this[i(271)][i(322)][i(301)](i(226))){const t=this[i(271)][i(322)][i(215)](i(226));t[i(239)]&&t[i(269)]()}const n=this[i(307)]();return e(n)[i(358)]((t=>{const e=i;return this[e(223)]=t,this[e(271)][e(322)][e(301)](e(220))&&this[e(271)][e(322)][e(215)](e(220))[e(278)](),this[e(271)][e(322)][e(301)](e(280))&&(this[e(271)][e(322)][e(215)](e(255))[e(344)][e(346)][e(222)][e(292)]=e(251)),t}))[i(245)]((t=>(console[i(258)](t),this[i(271)][i(310)](i(315)),null)))}))}[Zo(286)](){const t=Zo,e=this[t(271)][t(334)][t(215)](t(268))[t(295)];this[t(271)][t(334)][t(360)](t(321),(()=>(this[t(271)][t(322)][t(301)](t(277))&&this[t(271)][t(322)][t(215)](t(277))[t(253)](),this[t(271)][t(322)][t(301)](t(280))&&(this[t(271)][t(322)][t(215)](t(255))[t(344)][t(346)][t(222)][t(292)]=""),this[t(223)][t(322)][t(215)](t(279))[t(335)](),e(this[t(223)])[t(358)]((()=>{const e=t;if(this[e(271)][e(310)](e(315)),this[e(223)]=null,this[e(271)][e(322)][e(301)](e(220))){const t=this[e(271)][e(322)][e(215)](e(220));t[e(278)](),t[e(247)]()}})))))}[Zo(228)](t){const e=Zo,i=this[e(271)][e(334)][e(215)](e(236)),s=this[e(271)][e(334)][e(215)](e(256)),n=this[e(271)][e(334)][e(215)](e(250));return Ho[e(214)](n,t)[e(358)]((t=>(s[e(222)][e(292)]=e(260),i[e(222)][e(292)]=e(251),this[e(261)]=!0,t)))}[Zo(233)](t){const e=Zo,i=this[e(271)][e(334)][e(215)](e(236));return this[e(271)][e(334)][e(215)](e(256))[e(222)][e(292)]=e(251),i[e(222)][e(292)]="",this[e(261)]=!1,t[e(232)]()}async[Zo(351)](t){const e=Zo,i=this[e(271)],s=this[e(223)][e(322)][e(215)](e(279)),n=i[e(322)][e(215)](e(341)),r=i[e(322)][e(215)](e(264)),o=s[e(221)][e(318)](t);let a,c,u;try{await r[e(349)](o,this[e(330)]),a=r[e(333)](o),c=r[e(308)](o)}catch(t){return void console[e(258)](t)}i[e(352)][e(342)]((t=>{const s=e;for(const e of Array[s(243)](i[s(352)][s(242)][s(319)](s(248))))t[s(355)](e)})),s[e(364)]=!1,i[e(352)][e(284)]((t=>{const s=e;t[s(229)](null),t[s(356)](i[s(352)][s(282)][s(267)][s(217)]());const n=Object[s(238)](a);for(const e of i[s(352)][s(282)][s(338)])s(289)!=e[s(254)]&&e[s(275)]()&&!n[s(273)](e[s(254)])&&t[s(293)](e);for(const e of n){let n=i[s(352)][s(282)][s(241)](e);n&&n[s(275)]()||(n=t[s(304)](e));const r=c[e],o=Object[s(238)](r),u=a[e];for(const e of n[s(217)]())o[s(273)](e)||t[s(262)](e,n);for(const i of o)t[s(340)](i,c[e][i],n);t[s(230)](t[s(294)](n)),t[s(312)](i[s(290)][s(329)](u,n),n,0)}}));const l=Q(i[e(317)],e(299));return u=o[e(345)]?-1==o[e(345)][e(240)](l)?l+": "+o[e(345)]:o[e(345)]:l+": "+o[e(246)][e(285)](i[e(317)][e(300)],{month:e(305),day:e(266)})+", "+o[e(246)][e(276)](i[e(317)][e(300)],{hour:e(266),minute:e(266)}),await n[e(237)]({name:u}),s[e(364)]=!0,i[e(334)][e(215)](e(268))[e(295)]()}}function Go(){var t=["68qAVVKv","459434rJujTq","1234492mlVzyJ","293256SWpcvy","49971BWnCFd","2331290XUTLrx","494456arOiCr","1198980wwLudy"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=498]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(597165===-parseInt(e(503))/1+parseInt(e(499))/2+parseInt(e(498))/3*(-parseInt(e(502))/4)+parseInt(e(501))/5+parseInt(e(505))/6+-parseInt(e(504))/7+parseInt(e(500))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();