@ckeditor/ckeditor5-revision-history 45.0.0-alpha.11 → 45.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>pe,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 M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(){const t=["fire","setName","577659scKfzC","authorsIds","12vjcpGB","creatorId","1274526dwHxVk","100xYbWZQ","232ZEReMX","setAttribute","diffData","68257dczJeb","set","6630RdIADt","creator","23875HInlNQ","_update","removeAttribute","map","toJSON","name","createdAt","authors","attributes","511146qunrWi","fromVersion","75771KQuKZg","12485XZlyNu","model","toVersion"];return(L=function(){return t})()}const P=W;function W(t,e){const i=L();return(W=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(280675===parseInt(e(239))/1*(-parseInt(e(247))/2)+-parseInt(e(245))/3+parseInt(e(250))/4*(parseInt(e(258))/5)+-parseInt(e(237))/6+parseInt(e(254))/7*(parseInt(e(251))/8)+-parseInt(e(249))/9+-parseInt(e(256))/10*(-parseInt(e(240))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class z extends((0,t.ObservableMixin)()){id;[P(257)];[P(235)];[P(253)];[P(242)];[P(238)];[P(241)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(257)]=e[i(257)]||null,this[i(235)]=e[i(235)]||[],this[i(253)]=e[i(253)]||null,this[i(242)]=e[i(242)]||0,this[i(238)]=e[i(238)]||0,this[i(255)](i(263),e[i(263)]||""),this[i(255)](i(264),e[i(264)]||new Date),this[i(255)](i(236),e[i(236)]||{})}[P(244)](t){this[P(259)]({name:t})}[P(252)](t,e){const i=P,s=A(this[i(236)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(259)]({attributes:s})}[P(260)](t){const e=P,i=A(this[e(236)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(259)]({attributes:i})}[P(259)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(263),i(264),i(253),i(235),i(236),i(242),i(238),i(248)];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(235)]&&(n[i(246)]=n[i(235)][i(261)]((t=>t.id)),delete n[i(235)]),this[i(243)](i(259),n,e))}[P(262)](){const t=P;return{id:this.id,name:this[t(263)],creatorId:this[t(257)]?this[t(257)].id:null,authorsIds:this[t(235)][t(261)]((t=>t.id)),diffData:this[t(253)],createdAt:this[t(264)],attributes:this[t(236)],fromVersion:this[t(238)],toVersion:this[t(242)]}}}var H=i(782),U=i(211),Z=i(783);const q=B;function $(){const t=["getUser","1138155bLELVr","Users","546lGlqDG","map","2693632CSnnbS","getRevisionsIterator","isNaN","getRevisions","oldRevisionId","pluginName","diffData","name","join","reverse","484pEQzst","isPremiumPlugin","get","creatorId","plugins","attributes","isOfficialPlugin","getIndex","5311608mlykzk","editor","getRevisionsInDiff","createdAt","2581249pxcIyb","337200wvnSdh","createRevision","_revisions","requires","726sCJSvn","toVersion","href","74725EAorFe","getLaterVisibleRevision","RevisionsRepository","getEarlierVisibleRevision","data","later","fromCharCode","earlier","afterInit","addRevision","18tfkHdg","length","10xTRQsH","toJSON","fromVersion","getRevision","add","push","from","authorsIds","newRevisionId"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(712569===parseInt(e(228))/1+-parseInt(e(242))/2*(-parseInt(e(259))/3)+parseInt(e(250))/4+parseInt(e(255))/5+parseInt(e(230))/6*(-parseInt(e(262))/7)+-parseInt(e(232))/8*(parseInt(e(216))/9)+-parseInt(e(218))/10*(parseInt(e(254))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends H.Plugin{[q(257)];static get[q(258)](){return[U.Users]}static get[q(237)](){return q(264)}static get[q(248)](){return!0}static get[q(243)](){return!0}get[q(217)](){const t=q;return this[t(257)][t(217)]}constructor(e){const i=q;super(e),this[i(257)]=new t.Collection}[q(214)](){!async function(e){const i=k([115,57,78,100,85,121,56,104,50,74,117,120,80,122,106,52,105,89,99,118,98,87,76,48,54,53,101,113,112,81,116,97,77,72,67,90,69,107,75,49,55,71,65,103,68,114,86,111,73,51,66,84,83,88,110,108,82,70,109,79,119,102]),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(234)](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([115]);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(231)]((t=>String[e(212)](t)))[e(240)]("")}!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:1743897600;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(261)]);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(256)](t){const e=q,i=this[e(251)][e(246)][e(244)](e(229));return new z({id:t.id,name:t[e(239)],creator:t[e(245)]?i[e(227)](t[e(245)]):null,diffData:t[e(238)]||t[e(266)],authors:t[e(225)][e(231)]((t=>i[e(227)](t))),createdAt:new Date(t[e(253)]),attributes:t[e(247)],fromVersion:t[e(220)],toVersion:t[e(260)]})}[q(215)](t,e=0){const i=q;this[i(257)][i(222)](t,e)}[q(221)](t){const e=q;return this[e(257)][e(244)](t)}[q(235)](t={toJSON:!1}){const e=q,i=Array[e(224)](this[e(257)]);return i[e(241)](),t[e(219)]?i[e(231)]((t=>t[e(219)]())):i}[q(249)](t){const e=q;return this[e(257)][e(249)](t)}[q(265)](t){const e=q,[,i]=this[e(233)](t,{direction:e(213)});return i}[q(263)](t){const e=q,[,i]=this[e(233)](t,{direction:e(267)});return i}[q(252)](t){const e=q,i=[];for(const s of this[e(233)](t[e(226)]))if(i[e(223)](s),s.id===t[e(236)])break;return i}*[q(233)](t,{direction:e=q(213),filter:i=()=>!0}={}){const s=q,n=s(213)===e?1:-1;let r=this[s(257)][s(244)](t),o=this[s(249)](r);for(yield r;r;){if(o+=n,r=this[s(221)](o),!r)return;i(r)&&(yield r)}}}const J=X;function G(){const t=["render","view","data","data-revision-","insertions","get","map","1gEnpVw","htmlProcessor","document","4883385nBeOWb","editor","getRevision","viewChildrenToDom","isAttached","collaboration.channelId","append","processor","16821kdxBUF","length","diffData","attachChange","getRevisionDocumentData","_typeCharToViewClass","5380sBhVVu","2228322XHXujf","config","customProperties","_getViewFromDiffObj","name","loadRevisionData","revision-start","RevisionHistoryUtils","pluginName","isPremiumPlugin","fillerOffset","18931FxSvkL","domConverter","_setCustomProperty","toModel","attributes","createElement","marked","getRevisionRootsAttributes","forEach","string","childNodes","revision-end","innerHTML","isOfficialPlugin","_getTypeCharForViewElement","toData","3RsTcmM","6607620cwPvtY","children","domChildrenToView","editing","_appendChild","parse","constructor","from","attributesAfter","startsWith","div","filter","_removeRevisionMarkers","useFillerType","domDocument","1856Lzlgsv","107390BVmNqq","getFillerOffset","2383440fMQPDI","default","type","_makeModelFromViewString","_viewClassToTypeChar"];return(G=function(){return t})()}function X(t,e){const i=G();return(X=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=X,i=t();for(;;)try{if(962729===-parseInt(e(321))/1*(parseInt(e(307))/2)+-parseInt(e(366))/3*(parseInt(e(309))/4)+-parseInt(e(324))/5+parseInt(e(339))/6+-parseInt(e(332))/7*(-parseInt(e(306))/8)+parseInt(e(367))/9+-parseInt(e(338))/10*(-parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class K extends H.Plugin{static get[J(347)](){return J(346)}static get[J(363)](){return!0}static get[J(348)](){return!0}[J(313)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(337)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(344)](t,e){const i=J;if(t[i(334)]||!e)return;const s=this[i(325)][i(340)][i(319)](i(329)),n=await e[i(326)]({channelId:s,revisionId:t.id});t[i(334)]=n[i(334)]}[J(336)](t){const e=J,i={};for(const s in t[e(334)]){if(t[e(334)][s][e(335)]&&!t[e(334)][s][e(335)][e(328)])continue;const n=this[e(303)](JSON[e(296)](t[e(334)][s][e(318)])),r=this[e(325)][e(294)][e(315)][e(323)],o=new Z.ViewDocumentFragment(r,n[e(320)]((t=>this[e(342)](t,!1))));this[e(325)][e(316)][e(331)][e(304)](e(356)),i[s]=this[e(325)][e(316)][e(331)][e(365)](o),this[e(325)][e(316)][e(331)][e(304)](e(310))}return i}[J(357)](t){const e=J,i={};for(const s in t[e(334)])t[e(334)][s][e(335)]&&!t[e(334)][s][e(335)][e(328)]||(i[s]=t[e(334)][s][e(299)]||{});return i}[J(364)](t){const e=J;return this[e(313)][e(319)](t[e(297)])}[J(342)](t,e){const i=J,s=this[i(325)][i(294)][i(315)][i(323)];if(i(359)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(311)]||"r"==t[i(311)]?[]:t[i(368)][i(320)]((t=>this[i(342)](t,e)));const o=this[i(337)][i(319)](t[i(311)])||Z.ViewElement,a=this[i(325)][i(316)][i(322)][i(351)];if(n=new o(s,t[i(343)],t[i(354)],r),"u"==t[i(311)]&&t[i(368)][0]){const r=t[i(368)][0];if(n[i(314)]=function(t){const e=i,s=t[e(355)](e(301));return s[e(362)]=r,s[e(360)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(295)](n);const e=Array[i(298)](a[i(327)](t,{bind:!1})),r=a[i(305)][i(355)](i(301));r[i(330)](...e),n=Array[i(298)](a[i(293)](r))[0]}}else if("r"==t[i(311)]&&t[i(368)][0]){const r=t[i(368)][0];if(n[i(314)]=function(t){t[i(362)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(295)](n);const e=Array[i(298)](a[i(327)](t,{bind:!1})),r=a[i(305)][i(355)](i(301));r[i(330)](...e);const o=Array[i(298)](a[i(293)](r));o[i(333)]>1?n[i(295)](o):n=o[0]}}if(t[i(341)])for(const[e,s]of t[i(341)])n[i(352)](e,s);const c=void 0===t[i(349)]?null:t[i(349)];return null!==c&&(n[i(308)]=()=>c),n}}[J(312)](t){const e=J,i=JSON[e(296)](t),s=this[e(325)][e(294)][e(315)][e(323)],n=new Z.ViewDocumentFragment(s,i[e(320)]((t=>this[e(342)](t,!0))));return this[e(325)][e(316)][e(353)](n)}[J(303)](t){const e=J;return(t=t[e(302)]((t=>!t[e(343)]||e(345)!==t[e(343)]&&e(361)!==t[e(343)])))[e(358)]((t=>{const i=e;i(359)!=typeof t&&(t[i(368)]=this[i(303)](t[i(368)]),t[i(354)]=t[i(354)][i(302)]((t=>!t[0][i(300)](i(317)))))})),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 M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case 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=ct;function ot(){const t=["_saveMetaData","rootsAttributes","846644xJdTgq","currentRevision","_getViewJson","uiElement","render","_baseIdsRoots","deletion","documentFragment","graveyardPosition","diffData","previousPosition","_revisionDataBuilder","_touchedMarkers","insert","createPositionAfter","RevisionsRepository","5350365udkFNl","_lastFrom","move","addRoot","NEGATIVE_INFINITY","history","reverse","getRevision","nodeAfter","resolve","loadRevisionData","_handleInsertOperation","creatorId","nodes","adapter","afterInit","setSource","_continueCurrentRevision","_authorId","repository","data","creator","64BCgHTq","getMovedRangeStart","createElement","newValue","rootName","revisionHistoryLicenseKeyValid","filter","isAdd","includes","RevisionHistory","keepParagraph","_processRootBeforeSave","vid","deletions","rawElement","some","upcast","loadState","isPremiumPlugin","updateRevisions","_savedMetaData","isReady","version","getAttribute","htmlProcessor","_getBaseVids","stringify","_getVidAttributeName","_reset","_lastTo","trim","revisionHistoryLicenseKeyUsageLimit","merge","expired","_source","_loadedStateData","revisionHistoryLicenseKeyDomainLimit","document","finally","_copyMarkers","_handleMoveOperation","getUser","parent","_makeModelFromViewString","_getTypeCharForViewElement","trialLimit","targetPosition","_markers","max","reinsert","evaluationLimit","removeRootAttribute","start","_revisionId","init","getData","_licenseKeyCheckInterval","split","PENDING_ACTION_REVISION_HISTORY","_createCurrentRevision","remove","domDocument","2365542gxmHWW","end","_setConversion","buildRevisionData","_isInit","_cloneOperation","delete","revisionHistoryLicenseKeyExpired","toVersion","createRangeIn","then","howMany","isOfficialPlugin","_handleSplitOperation","clear","2174120gMxwXQ","stickiness","1620367qFDVHR","6811842ETwmIe","getIndex","getFillerOffset","_pendingAction","_isPendingUpdate","getCurrentRevisionId","_bufferedUpdates","addRevision","pluginName","authors","_markChanges","tableCell","fromEntries","find","getRevisionRootsAttributes","name","source","RealTimeCollaborationClient","_calculateMetaData","_makeRevision","plugins","getRange","_removeMetaData","size","Empty document","for","hasContent","type","keys","_transformMarkers","_utils","getRevisions","fromVersion","collaboration.channelId","position","roots","createPositionBefore","newRange","_idsRoots","detachRoot","ready","outerHTML","getAttributes","startsWith","_diffRoots","_update","bind","_fixOperation","domConverter","map","_makeIdsRoot","attributesBefore","insertionPosition","_generateTape","licenseKey","featureNotAllowed","_getState","_appendChild","domainLimit","attributesAfter","$text","clone","revisionHistoryLicenseKeyEvaluationLimit","reInit","getRootNames","_touchedRoots","_setAttribute","_execute","_fixPosition","from","_handleRootAttributeOperation","4xPAfDB","getChildren","_removePendingAction","vid_end","elementEnd","affectsData","slice","baseVersion","get","getNodeByPath","dataToMarker","paragraph","_operations","_handleRootOperation","addRevisionData","config","set","_startingRevisionId","createPositionFromPath","destroy","insertions","RevisionTracker","isEnabled","getRoot","root","define","offsetSize","invalid","customProperties","initialData","add","string","requires","sendBufferedUpdates","changeRootAttribute","elementStart","_handleMarkerOperation","RevisionHistoryUtils","revision","createdAt","setRevisionData","_prepareViewToSave","shift","createRange","_handleMergeOperation","_touched","innerHTML","children","getTime","_baseRoots","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyNotAllowed","_bufferUpdate","marker","_showLicenseError","_getPreviousFrom","insertion","_startingVersion","fillerOffset","usageLimit","saveRevision","_initialRevisionId","revisionHistoryLicenseKeyTrialLimit","attachChange","locale","toView","_findInsertionIndex","conversion","getTransformedByOperation","values","push","oldRange","$comment","vid_start","Initial revision","getRevisionDocumentData","splitPosition","_createFromRanges","PendingActions","$graveyard","getAncestors","sourcePosition","_diffRootsAttributes","authorsIds","userId","_loadState","isEqual","model","text","addRootAttribute","_createInitialRevision","getWalker","_getFromVersion","_isAttached","revision:","getChild","1717326WmnIXJ","_replaceEditorDataWithRevisionData","getLatestVersion","_applyOperations","item","markers","isAttached","length","dataDowncast","range","initial","update","createRevision","createPositionAt","getCustomProperties","childCount","getOperations","editor","editor-initial-data-replaced-with-revision-data","element","_clone","path","key","revisionHistory.resumeUnsavedRevision","markerToData","sort","offset","getOperation","_baseRootsAttributes","_addPendingAction","_fixRange","_handleOperation","has","_insertChild","Users"];return(ot=function(){return t})()}!function(t){const e=ct,i=t();for(;;)try{if(948498===parseInt(e(305))/1+-parseInt(e(420))/2+-parseInt(e(405))/3+parseInt(e(494))/4*(parseInt(e(321))/5)+-parseInt(e(423))/6+parseInt(e(422))/7*(parseInt(e(343))/8)+parseInt(e(268))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends H.Plugin{[rt(477)];[rt(399)];[rt(306)]=null;[rt(340)];[rt(335)]=null;[rt(316)];[rt(377)];[rt(555)];[rt(429)];[rt(453)];[rt(426)];[rt(338)];[rt(551)];[rt(378)];static get[rt(431)](){return rt(515)}static get[rt(417)](){return!0}static get[rt(361)](){return!0}static get[rt(526)](){return[U.Users,Y,K,H.PendingActions]}constructor(e){const i=rt;super(e),this[i(340)]=this[i(285)][i(443)][i(502)](i(320)),this[i(453)]=this[i(285)][i(443)][i(502)](i(531)),this[i(316)]=new ut(this[i(285)]),this[i(555)]=this[i(285)][i(509)][i(502)](i(456))||i(278),this[i(429)]=new Map,this[i(378)]=null;const s=(0,t.uid)();this[i(377)]={history:this[i(285)][i(259)][i(380)][i(326)],getLatestVersion:()=>Promise[i(330)](this[i(285)][i(259)][i(380)][i(365)]),getCurrentRevisionId:()=>s},this[i(510)](i(364),!1),this[i(510)](i(516),!0),this[i(510)](i(427),!1),this[i(285)][i(509)][i(519)](i(291),!0),this[i(285)][i(561)][i(448)](i(359))[i(504)]({view:i(532)})}[rt(397)](){const t=rt;this[t(407)](),this[t(285)][t(341)].on(t(463),(()=>{const e=t,i=this[e(340)][e(328)](0),s=i&&null===i[e(342)]?i:null;if(this[e(338)]=!!s&&this[e(285)][e(509)][e(502)](e(291)),this[e(285)][e(443)][e(300)](e(440))){const t=this[e(377)][e(428)](),n=this[e(340)][e(328)](t);if(n)this[e(551)]=n[e(455)],this[e(338)]=!1;else{const t=this[e(377)][e(326)][e(506)][e(436)]((t=>!t[e(409)])),n=t?t[e(501)]:this[e(377)][e(326)][e(365)];i?(i[e(413)]<n&&i[e(468)]({toVersion:n}),this[e(338)]?(this[e(377)][e(428)]=()=>s.id,this[e(551)]=s[e(455)]):(this[e(551)]=i[e(413)],this[e(338)]=!1)):(this[e(551)]=n,this[e(338)]=!1)}}else s&&(this[e(285)][e(259)][e(380)][e(326)][e(365)]=Math[e(391)](s[e(413)],this[e(285)][e(259)][e(380)][e(326)][e(365)]),s[e(455)]===s[e(413)]?(0!==s[e(455)]&&(this[e(377)][e(428)]=()=>s.id),this[e(338)]=!1):this[e(338)]&&(this[e(377)][e(428)]=()=>s.id,this[e(551)]=s[e(455)])),this[e(338)]||(this[e(551)]=this[e(285)][e(259)][e(380)][e(365)]);this[e(316)][e(397)](this[e(377)][e(326)]),this[e(262)](this[e(551)]),this[e(402)](this[e(551)]),this[e(335)]&&this[e(527)]()})),this[t(469)](t(364)).to(this,t(427),(t=>!t)),this[t(477)]=this[t(285)][t(509)][t(502)](t(477));const e=this[t(285)];this[t(399)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(348)==r||i(544)==r||i(412)==r||i(379)==r||i(545)==r||i(485)==r||i(556)==r||i(374)==r){delete e[n],s=r,clearInterval(this[i(399)]),this[i(399)]=void 0;break}}i(544)==s&&e[i(548)](i(521)),i(412)==s&&e[i(548)](i(376)),i(379)==s&&e[i(548)](i(481)),i(545)==s&&e[i(548)](i(478),i(352)),i(485)==s&&e[i(548)](i(393)),i(556)==s&&e[i(548)](i(388)),i(374)==s&&e[i(548)](i(553))}),1e3)}async[rt(336)](){const t=rt;if(this[t(340)][t(275)]>0){const e=this[t(340)][t(328)](0),i=await this[t(247)](e),s=await this[t(437)](e);this[t(269)](i,s)}}[rt(513)](){const t=rt;super[t(513)](),this[t(399)]&&clearInterval(this[t(399)])}[rt(337)](t){this[rt(377)]=t}async[rt(279)](){const t=rt,e=await this[t(377)][t(270)]();if(e>this[t(306)][t(413)]){await this[t(257)]();const i=this[t(408)]({revision:this[t(306)],to:e});i[t(432)]=i[t(255)][t(472)]((e=>this[t(285)][t(443)][t(502)](t(302))[t(384)](e))),this[t(306)][t(468)](i)}}async[rt(554)](e={},i=null){const s=rt,n=[];await this[s(257)](),this[s(338)]=!1,i>this[s(306)][s(413)]&&(i=null),null===i&&(i=await this[s(377)][s(270)]());const r=this[s(264)](i),o=this[s(408)]({from:r,to:i});if(this[s(306)][s(413)]<i){const t=this[s(408)]({revision:this[s(306)],from:i,to:i});t[s(432)]=[],t[s(255)]=[],t.id=this[s(306)].id,this[s(306)][s(468)](t,!0),delete t[s(432)],n[s(564)](t)}e[s(333)]=this[s(285)][s(443)][s(502)](s(302)).me.id,e[s(438)]=e[s(438)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(508)](e);n[s(564)](e);const c=this[s(340)][s(424)](a);if(0!==c){const t=this[s(340)][s(328)](c-1);if(t[s(455)]!==i){const r=this[s(316)][s(398)](i,t[s(413)]),o={id:t.id,diffData:r[s(314)],authorsIds:r[s(255)],authors:r[s(255)][s(472)]((t=>this[s(285)][s(443)][s(502)](s(302))[s(384)](t))),fromVersion:i};t===this[s(306)]&&(o[s(533)]=new Date(e[s(533)][s(542)]()+10)),t[s(468)](o,!0),delete o[s(432)],n[s(564)](o)}}if(this[s(335)]){for(const t of n)this[s(546)](t.id,t,!0);this[s(527)]()}return a}[rt(508)](t){const e=rt,i=this[e(340)][e(280)](t);return this[e(335)]&&i.on(e(468),((t,i,s)=>{const n=e;s||(this[n(546)](i.id,i,!0),this[n(527)]())})),this[e(340)][e(430)](i,this[e(560)](i)),i}async[rt(247)](t){const e=rt;return await this[e(453)][e(331)](t,this[e(335)]),this[e(453)][e(247)](t)}async[rt(437)](t){const e=rt;return await this[e(453)][e(331)](t,this[e(335)]),this[e(453)][e(437)](t)}[rt(527)](){const t=rt;if(0===this[t(429)][t(446)])return;if(this[t(427)])return;let e=Array[t(492)](this[t(429)][t(563)]());this[t(429)][t(419)]();for(let i=0;i<e[t(275)];i++){const s=e[i];let n=!1;for(const e of Object[t(451)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(349)]((t=>null!==t)),!e[t(275)])return;for(let i=0;i<e[t(275)];i++){const s=e[i];void 0!==s[t(455)]&&void 0===s[t(413)]&&(s[t(413)]=this[t(340)][t(328)](s.id)[t(413)]),void 0!==s[t(413)]&&void 0===s[t(455)]&&(s[t(455)]=this[t(340)][t(328)](s.id)[t(455)])}const i=this[t(285)][t(509)][t(502)](t(456));this[t(427)]=!0,this[t(297)](),this[t(335)][t(362)](e,i)[t(381)]((()=>{this[t(427)]=!1}))[t(415)]((e=>{const i=t;if(e)for(const t of e)this[i(534)]({id:t.id,createdAt:t[i(533)]});this[i(496)](),this[i(527)]()}))}[rt(408)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(455)],i=null!==i?i:t[s(413)];const n=this[s(316)][s(398)](e,i),r={diffData:n[s(314)],authorsIds:n[s(255)],fromVersion:e,toVersion:i};if(!t||i!==t[s(413)]){const t=i-1,e=this[s(377)][s(326)][s(295)](t);r[s(533)]=e&&e[s(533)]||new Date}if(this[s(378)]&&e===this[s(378)][s(455)])for(const t of this[s(378)][s(432)])r[s(255)][s(351)](t.id)||r[s(255)][s(564)](t.id);return r}[rt(546)](t,e,i){const s=rt;if(this[s(429)][s(300)](t)){const n=this[s(429)][s(502)](t);e=i?{...n,...e}:{...e,...n}}this[s(429)][s(510)](t,e)}[rt(534)](t){const e=rt,i=this[e(340)][e(328)](t.id);if(t[e(533)]&&(t[e(533)]=new Date(t[e(533)])),t[e(255)]){const i=this[e(285)][e(443)][e(502)](e(302));t[e(432)]=t[e(255)][e(472)]((t=>i[e(384)](t)))}i[e(468)](t,!0)}[rt(262)](t){const e=rt,i=this[e(340)][e(328)](this[e(340)][e(275)]-1);if(i)this[e(555)]=i.id;else{const i=!this[e(285)][e(259)][e(380)][e(458)][e(436)]((t=>this[e(285)][e(259)][e(449)](t))),s=this[e(285)][e(443)][e(502)](e(302)).me.id,n=Q(this[e(285)][e(558)],e(i?447:568));this[e(442)]({from:t,to:t,id:this[e(555)],name:n,creatorId:s})}}[rt(402)](t){const e=rt,i=this[e(377)][e(428)]();this[e(306)]=this[e(340)][e(328)](i),this[e(306)]||(this[e(306)]=this[e(442)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(257)](){const t=rt;this[t(338)]&&!this[t(378)]&&(await this[t(453)][t(331)](this[t(306)],this[t(335)]),this[t(316)][t(360)](this[t(306)]),this[t(378)]={fromVersion:this[t(306)][t(455)],authors:this[t(306)][t(432)][t(500)]()})}[rt(269)](e,i){const s=rt;let n=this[s(285)][s(509)][s(502)](s(523)),r=this[s(285)][s(509)][s(502)](s(304));if(void 0===n){n={};for(const t of this[s(285)][s(259)][s(380)][s(487)]())n[t]=""}if(s(525)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(285)][s(259)][s(380)][s(487)]())r[t]={}}let o=!1;const a=Object[s(451)](n),c=Object[s(451)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(373)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(451)](r[t])[s(275)]>0){o=!0;break}}o||(o=c[s(358)]((t=>!this[s(285)][s(259)][s(380)][s(517)](t)))),o&&(0,t.logWarning)(s(286),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(285)][s(509)][s(510)](s(523),e),this[s(285)][s(509)][s(510)](s(304),i)}[rt(297)](){const t=rt;if(!this[t(426)]){const e=this[t(285)][t(443)][t(502)](t(250));this[t(426)]=e[t(524)](Q(this[t(285)][t(558)],t(401)))}}[rt(496)](){const t=rt;this[t(426)]&&(this[t(285)][t(443)][t(502)](t(250))[t(403)](this[t(426)]),this[t(426)]=null)}[rt(560)](t){const e=rt,i=this[e(340)][e(454)]();i[e(327)]();let s=0;for(;s<i[e(275)];){const n=i[s];if(n===this[e(306)]){s++;continue}if(n.id===this[e(555)])break;const r=t[e(413)]-n[e(413)]||t[e(455)]-n[e(455)];if(r>0)break;if(r<0)s++;else{if(!t[e(342)]&&n[e(342)])break;if(n[e(342)]||!t[e(342)]){if(t[e(533)]>n[e(533)])break;s++}else s++}}return s}[rt(264)](t){const e=rt,i=this[e(340)][e(454)]();i[e(327)](),i[e(536)]();const s=i[e(436)]((i=>i[e(413)]<=t))[e(413)];return s<this[e(551)]?this[e(551)]:s}[rt(442)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(408)]({from:e,to:i});o[r(438)]=t,o[r(333)]=s,o.id=n;const a=this[r(508)](o);return this[r(335)]&&this[r(546)](o.id,o,!0),a}[rt(407)](){const t=rt;this[t(285)][t(561)][t(448)](t(276))[t(292)]({model:t(532)})}}function ct(t,e){const i=ot();return(ct=function(t,e){return i[t-=247]})(t,e)}class ut{[rt(285)];[rt(439)];[rt(363)];[rt(322)];[rt(372)];[rt(390)];[rt(467)];[rt(254)];[rt(543)];[rt(296)];[rt(461)];[rt(310)];[rt(539)];[rt(317)];[rt(488)];[rt(396)];[rt(511)];constructor(t){const e=rt;this[e(285)]=t,this[e(363)]=new Map,this[e(322)]=-1,this[e(372)]=-1,this[e(390)]=new Map,this[e(467)]=new Map,this[e(254)]=new Map,this[e(543)]=new Map,this[e(296)]=new Map,this[e(461)]=new Map,this[e(310)]=new Map,this[e(539)]=new Map,this[e(317)]=new Map,this[e(488)]=new Map,this[e(396)]=1}[rt(397)](t){const e=rt;this[e(439)]=t;const i=new Map,s=new Map,n=this[e(285)][e(259)][e(380)][e(458)][e(472)]((t=>t[e(347)]));for(const t of n){const n=this[e(285)][e(259)][e(380)][e(517)](t),r=lt(n);i[e(510)](t,r),s[e(510)](t,Object[e(435)](n[e(465)]()))}const r=Array[e(492)](this[e(285)][e(259)][e(273)])[e(472)]((t=>[t[e(438)],t[e(444)]()])),o=this[e(439)][e(365)];this[e(303)](o,i,r,s),this[e(511)]=this[e(396)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(510)](t,i),c[e(510)](t,{})}this[e(303)](Number[e(325)],a,[],c)}[rt(398)](t,e){const i=rt;if(this[i(322)]===t&&this[i(372)]<=e)this[i(363)][i(446)]>1&&this[i(445)](this[i(372)]),this[i(271)](this[i(372)],e,!0);else{if(!this[i(363)][i(300)](t)){const e=this[i(549)](t);this[i(441)](e,t,!1)}this[i(441)](t,e,!0)}return this[i(322)]=t,this[i(372)]=e,this[i(479)]()}[rt(360)](t){const e=rt,i=this[e(285)][e(443)][e(502)](e(531));this[e(371)](),this[e(322)]=t[e(455)],this[e(372)]=t[e(413)];for(const s in t[e(314)]){const n=t[e(314)][s][e(557)],r=A(t[e(314)][s][e(474)])||{},o=i[e(386)](t[e(314)][s][e(356)]);o[e(347)]=s,o[e(265)]=!n||!n[e(274)],o[e(274)]=()=>o[e(265)],this[e(543)][e(510)](s,o),this[e(296)][e(510)](s,r),n&&this[e(488)][e(510)](s,n);const a=this[e(473)](o);this[e(310)][e(510)](s,a);for(const[t,i]of o[e(273)]){if(!t[e(466)](e(266)))continue;const s=t[e(400)](":")[2];for(const t of i[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),n=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)],r=a[e(503)](n)[e(366)](i);this[e(539)][e(510)](r,{userId:s})}}}this[e(511)]=this[e(396)];const s=[...Array(this[e(396)])[e(451)]()][e(500)](1)[e(349)]((t=>!this[e(539)][e(300)](t)));let n=0;const r=new Map;for(const o in t[e(314)]){const a=t[e(314)][o][e(557)],c=A(t[e(314)][o][e(482)])||{},u=i[e(386)](t[e(314)][o][e(514)]);u[e(347)]=o,u[e(265)]=!a||a[e(274)],u[e(274)]=()=>u[e(265)],this[e(467)][e(510)](o,u),this[e(254)][e(510)](o,c);const l=this[e(473)](u,Number[e(325)]);this[e(461)][e(510)](o,l),r[e(510)](o,u[e(274)]()?c:{});for(const[t,i]of u[e(273)]){if(!t[e(466)](e(266)))continue;const s=t[e(400)](":")[2];for(const t of i[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),n=this[e(396)]++,r=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)];l[e(503)](r)[e(489)](i,n),this[e(539)][e(510)](n,{userId:s})}}for(const t of this[e(285)][e(259)][e(414)](u)[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),r=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)],o=l[e(503)](r);o[e(366)](i)>0||o[e(489)](i,s[n++])}for(const[t,i]of u[e(273)])t[e(466)](e(266))||this[e(390)][e(510)](t,i)}const o=ht(e(251));this[e(543)][e(510)](e(251),o),this[e(310)][e(510)](e(251),this[e(473)](o,1));const a=ht(e(251));this[e(467)][e(510)](e(251),a),this[e(461)][e(510)](e(251),this[e(473)](a,1));const c=Array[e(492)](this[e(467)])[e(472)]((([t,e])=>[t,lt(e)]));this[e(303)](this[e(372)],c,this[e(390)],r)}[rt(486)](){const t=rt;this[t(371)](),this[t(322)]=-1,this[t(372)]=-1,this[t(363)][t(419)](),this[t(397)](this[t(439)])}[rt(303)](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(510)](t,{start:e[n(395)][n(484)](),end:e[n(406)][n(484)](),rootName:e[n(518)][n(347)]});this[n(363)][n(510)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(445)](t){const e=rt;this[e(363)][e(411)](t)}[rt(371)](){const t=rt;this[t(539)][t(419)](),this[t(317)][t(419)](),this[t(488)][t(419)](),this[t(467)][t(419)](),this[t(254)][t(419)](),this[t(543)][t(419)](),this[t(296)][t(419)](),this[t(461)][t(419)](),this[t(310)][t(419)](),this[t(390)][t(419)](),this[t(396)]=1,this[t(511)]=this[t(396)]}[rt(473)](t,e=null){const i=rt;let s=null;t.is(i(312))||(s=new Z.Element(t[i(438)],{vid_start:null===e?this[i(396)]++:e++}));const n=[];for(const s of t[i(495)]())if(s.is(i(287))){n[i(564)](this[i(473)](s,e));const t=n[n[i(275)]-1];null!==e&&(e=t.is(i(287),i(483))?t[i(366)](i(355))+1:t[i(366)](i(497))+1)}else for(let t=0;t<s[i(520)];t++)n[i(564)](new Z.Element(i(483),{vid:null===e?this[i(396)]++:e++}));if(t.is(i(312))){const e=ht(t[i(347)]);return e[i(301)](0,n),e}return s[i(489)](i(497),null===e?this[i(396)]++:e++),s[i(301)](0,n),s}[rt(441)](t,e,i){const s=rt;this[s(371)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(363)][s(502)](t);this[s(543)]=new Map(n),this[s(296)]=new Map(A(o));for(const[t,e]of this[s(543)])if(s(251)!==t&&(this[s(467)][s(510)](t,lt(e)),this[s(254)]=new Map(A(o)),i)){const i=this[s(396)];this[s(461)][s(510)](t,this[s(473)](e)),this[s(310)][s(510)](t,this[s(473)](e,i))}this[s(511)]=this[s(396)],this[s(467)][s(510)](s(251),lt(this[s(543)][s(502)](s(251)))),i&&this[s(461)][s(510)](s(251),this[s(473)](this[s(543)][s(502)](s(251))));for(const[t,e]of r){const i=this[s(543)][s(502)](e[s(347)]),n=this[s(467)][s(502)](e[s(347)]),r=new Z.Range(this[s(491)](e[s(395)],i),this[s(491)](e[s(406)],i)),o=this[s(298)](r,n);i[s(273)][s(510)](t,r),this[s(390)][s(510)](t,o)}this[s(271)](t,e,i)}[rt(271)](t,e,i){const s=rt;for(const n of this[s(439)][s(284)](t,e))this[s(299)](n,i);for(const t of this[s(467)][s(563)]())t[s(273)][s(419)]();for(const[t,e]of this[s(390)])this[s(467)][s(502)](e[s(518)][s(347)])[s(273)][s(510)](t,e[s(484)]());const n=new Map,r=new Map;for(const[t,e]of this[s(467)])n[s(510)](t,lt(e)),r[s(510)](t,this[s(254)][s(502)](t));this[s(303)](e,n,this[s(390)],r)}[rt(549)](t){const e=rt,i=Array[e(492)](this[e(363)][e(451)]());i[e(293)](((t,e)=>t-e)),i[e(327)]();for(const e of i)if(e<t)return e;return Number[e(325)]}[rt(382)](t,e){const i=rt,s=Array[i(492)](e[i(273)])[i(472)]((([e,s])=>[e,this[i(298)](s,t)]));t[i(273)]=new Map(s)}[rt(452)](t){const e=rt;for(const i of this[e(390)][e(563)]()){const s=i[e(562)](t),n=Z.Range[e(249)](s);i[e(395)]=n[e(395)],i[e(406)]=n[e(406)]}}[rt(299)](t,e){const i=rt;if(i(324)!=t[i(450)]&&i(462)!=t[i(450)]){if(i(318)==t[i(450)]){const s=t[i(457)][i(518)][i(347)];this[i(467)][i(300)](s)||(this[i(467)][i(510)](s,ht(s,!0)),this[i(254)][i(510)](s,{}),e&&this[i(461)][i(510)](s,ht(s,!0)))}else{if(i(261)==t[i(450)]||i(394)==t[i(450)]||i(528)==t[i(450)])return void this[i(493)](t);i(547)==t[i(450)]&&this[i(530)](t)}if(i(547)!==t[i(450)]){const e=this[i(410)](t,this[i(467)]);e[i(490)](),this[i(452)](e)}if(e)switch(t[i(450)]){case i(318):this[i(332)](t);break;case i(323):case i(403):case i(392):this[i(383)](t);break;case i(375):this[i(538)](t);break;case i(400):this[i(418)](t)}}else this[i(507)](t,e)}[rt(410)](t,e){const i=rt,s=t[i(484)]();return s[i(339)]=t[i(339)],this[i(470)](s,e),s}[rt(368)](t){const e=rt;return t[e(472)]((t=>{const i=e,s=this[i(370)](t);return Number(t[i(272)][i(366)](s))}))}[rt(476)](t,e){const i=rt;if(t.is(i(287),i(483)))e[i(564)]({item:t,type:i(260)});else{t.is(i(287))&&e[i(564)]({item:t,type:i(529)});for(const s of t[i(495)]())this[i(476)](s,e);t.is(i(287))&&e[i(564)]({item:t,type:i(498)})}return e}[rt(479)](){const t=rt,e=new Map(this[t(539)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(543)][t(451)](),...this[t(467)][t(451)]()]);a[t(411)](t(251));for(const e of a){const i=this[t(467)][t(502)](e)||ht(e,!1),s=this[t(543)][t(502)](e)||ht(e,!1);i[t(274)]()||s[t(274)]()?(n[t(514)][e]=lt(i),n[t(356)][e]=lt(s),this[t(382)](n[t(356)][e],s),this[t(382)](n[t(514)][e],i),r[t(514)][e]=this[t(476)](this[t(461)][t(502)](e),[]),r[t(356)][e]=this[t(476)](this[t(310)][t(502)](e)||ht(e,!1),[])):a[t(411)](e)}for(const n of a){const o=r[t(514)][n];for(const n of o){const r=this[t(370)](n),o=n[t(272)][t(366)](r);i[t(411)](o),o>=this[t(511)]&&s[t(510)](o,e[t(502)](o))}}for(const n of a){const a=r[t(514)][n],c=this[t(368)](r[t(356)][n]);let u=0;for(const n of a){const r=this[t(370)](n),a=n[t(272)][t(366)](r);if(!s[t(300)](a)&&!o[t(300)](a))if(i[t(300)](a))u++;else{if(a!=c[u]){const s=e[t(502)](a)||e[t(502)](c[u]);for(;a!=c[u];)i[t(300)](c[u])||(o[t(510)](c[u],s),e[t(510)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(514)][e];for(const e of n){const n=this[t(370)](e),r=e[t(272)][t(366)](n);if(o[t(300)](r)){const e=o[t(502)](r);i[t(300)](r)||i[t(510)](r,{...e}),s[t(510)](r,{...e})}}}for(const e of i[t(451)]())e>=this[t(511)]&&i[t(411)](e);const c=new Map;for(const e of a){let n=r[t(514)][e];for(const e of n)if(e[t(272)].is(t(287),t(434))){const i=this[t(370)](e),n=e[t(272)][t(366)](i);if(s[t(300)](n)){const i=e[t(272)][t(385)][t(385)][t(366)](t(567)),r=c[t(502)](i)||new Set;r[t(524)](s[t(502)](n)[t(256)]),c[t(510)](i,r)}}n=r[t(356)][e];for(const e of n)if(e[t(272)].is(t(287),t(434))){const s=this[t(370)](e),n=e[t(272)][t(366)](s);if(i[t(300)](n)){const s=e[t(272)][t(385)][t(385)][t(366)](t(567)),r=c[t(502)](s)||new Set;r[t(524)](i[t(502)](n)[t(256)]),c[t(510)](s,r)}}for(const e of c[t(451)]())(s[t(300)](e)||i[t(300)](e))&&c[t(411)](e)}for(const e of a){const n=r[t(514)][e];let o=null,a=null;for(const e of n){const n=this[t(370)](e),r=e[t(272)][t(366)](n),u=c[t(502)](r);u&&t(529)==e[t(450)]&&(o=Array[t(492)](u)[0],a=e[t(272)][t(366)](t(497))),o&&(i[t(510)](r,{userId:o}),s[t(510)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(356)][e],a=n[t(514)][e];for(const{userId:e}of this[t(317)][t(563)]())null!==e&&l[t(524)](e);for(const{userId:e}of this[t(488)][t(563)]())null!==e&&l[t(524)](e);this[t(433)](a,r[t(514)][e],s,t(550),l),this[t(433)](o,r[t(356)][e],i,t(311),l),u[e]={insertions:this[t(535)](a),deletions:this[t(535)](o),attachChange:this[t(488)][t(502)](e)||null,attributesBefore:A(this[t(296)][t(502)](e))||{},attributesAfter:A(this[t(254)][t(502)](e))}}return{diffData:u,authorsIds:Array[t(492)](l)}}[rt(354)](t){const e=rt;for(const[,i]of t[e(273)]){const t=i[e(395)][e(252)]()[e(349)]((t=>e(434)==t[e(438)]));for(const i of t)1==i[e(283)]&&i[e(267)](0).is(e(287),e(505))&&i[e(267)](0)[e(489)](e(353),!0)}}[rt(535)](t){const e=rt;this[e(354)](t);const i=this[e(285)][e(341)][e(559)](t,{}),s=Array[e(492)](i[e(495)]())[e(472)]((t=>this[e(307)](t)));return JSON[e(369)](s)}[rt(307)](t){const e=rt;if(t.is(e(483)))return t[e(341)];{const i=this[e(285)][e(443)][e(502)](e(531)),s=t,n=this[e(285)][e(341)][e(367)][e(471)],r={type:i[e(387)](s),name:s[e(438)],attributes:Array[e(492)](s[e(465)]()),children:Array[e(492)](s[e(495)]())[e(472)]((t=>this[e(307)](t)))};if(t.is(e(308))&&e(566)!=t[e(438)]){const i=t[e(309)](n[e(404)],n);r[e(541)][e(564)](i[e(464)])}else if(t.is(e(357))){const i=n[e(404)][e(345)](s[e(438)]);t[e(309)](i,n),r[e(541)][e(564)](i[e(540)])}const o=Array[e(492)](s[e(282)]());o[e(275)]>0&&(r[e(522)]=o);const a=s[e(425)]();return null!==a&&(r[e(552)]=a),r}}[rt(433)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(285)][r(259)];for(let s=0;s<e[r(275)];s++){const n=this[r(370)](e[s]),c=e[s][r(272)][r(366)](n),h=i[r(502)](c),d=s==e[r(275)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(256)]!=o[r(256)])&&(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(256)],d=l(266)+s+":"+h+":"+c++,f=u[l(537)](i,a);t[l(273)][l(510)](d,f),null!==h&&n[l(524)](h)}}[rt(370)](t){const e=rt;switch(t[e(450)]){case e(529):return e(567);case e(498):return e(497);default:return e(355)}}[rt(470)](t,e){const i=rt;t[i(501)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(502)](n[i(518)][i(347)]);t[s]=this[i(491)](n,r)}if(n instanceof Z.Range){const r=e[i(502)](n[i(518)][i(347)]);t[s]=this[i(298)](n,r)}i(518)===s&&(t[i(518)]=e[i(502)](t[i(518)][i(347)]))}}[rt(298)](t,e){const i=rt;return this[i(285)][i(259)][i(537)](this[i(491)](t[i(395)],e),this[i(491)](t[i(406)],e))}[rt(491)](t,e){const i=rt;return this[i(285)][i(259)][i(512)](e,t[i(289)],t[i(421)])}[rt(332)](t){const e=rt,i=this[e(461)][e(502)](t[e(457)][e(518)][e(347)]),s=this[e(491)](t[e(457)],i),n=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,r=s[e(385)],o=this[e(396)],a=[];for(const i of t[e(334)])if(i.is(e(287)))a[e(564)](this[e(473)](i));else for(let t=0;t<i[e(520)];t++)a[e(564)](new Z.Element(e(483),{vid:this[e(396)]++}));const c=this[e(396)];for(let t=o;t<c;t++)this[e(539)][e(510)](t,{userId:n});r[e(301)](s[e(294)],a)}[rt(383)](t){const e=rt;(t=this[e(410)](t,this[e(461)]))[e(490)]();const i=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(344)](),n=s[e(385)],r=s[e(294)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(267)](e);r.is(a(287),a(483))?s[a(510)](r[a(366)](a(355)),{userId:i}):(s[a(510)](r[a(366)](a(567)),{userId:i}),t(s,r,0,r[a(283)]),s[a(510)](r[a(366)](a(497)),{userId:i}))}}(this[e(539)],n,r,r+t[e(416)])}[rt(538)](t){const e=rt,i=null===(t=this[e(410)](t,this[e(461)]))[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(389)][e(385)],n=t[e(253)][e(385)],r=s[e(366)](e(497)),o=n[e(366)](e(567));s[e(489)](e(497),n[e(366)](e(497))),n[e(489)](e(497),r),this[e(539)][e(510)](o,{userId:i}),this[e(539)][e(510)](r,{userId:i}),t[e(490)]()}[rt(418)](t){const e=rt,i=null===(t=this[e(410)](t,this[e(461)]))[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(313)],n=t[e(248)][e(385)];t[e(490)]();const r=n[e(366)](e(497)),o=t[e(475)][e(329)];if(s){const t=o[e(366)](e(497)),s=n[e(366)](e(497));n[e(489)](e(497),t),o[e(489)](e(497),s),this[e(539)][e(510)](n[e(366)](e(497)),{userId:i}),this[e(539)][e(510)](o[e(366)](e(567)),{userId:i})}else{const t=this[e(396)]++,s=this[e(396)]++;n[e(489)](e(497),t),o[e(489)](e(567),s),o[e(489)](e(497),r),this[e(539)][e(510)](t,{userId:i}),this[e(539)][e(510)](s,{userId:i})}}[rt(530)](t){const e=rt;if(!t[e(499)])return;const i=(t=this[e(410)](t,this[e(467)]))[e(565)]?t[e(565)][e(518)]:null,s=t[e(460)]?t[e(460)][e(518)]:null;i&&this[e(390)][e(411)](t[e(438)]),s&&this[e(390)][e(510)](t[e(438)],t[e(460)][e(484)]());const n=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,r=t[e(438)];if(!this[e(317)][e(300)](r))return void this[e(317)][e(510)](r,{range:t[e(565)],userId:n});const o=this[e(317)][e(502)](r),a=o[e(277)],c=t[e(460)];null==a&&null==c||a&&c&&a[e(258)](c)?this[e(317)][e(411)](t[e(438)]):o[e(256)]=n}[rt(507)](t,e){const i=rt;this[i(467)][i(300)](t[i(347)])?this[i(467)][i(502)](t[i(347)])[i(265)]=t[i(350)]:(this[i(467)][i(510)](t[i(347)],ht(t[i(347)],!0)),this[i(254)][i(510)](t[i(347)],{}),e&&this[i(461)][i(510)](t[i(347)],ht(t[i(347)],!0)));const s=null===t[i(339)]?null:t[i(339)]||this[i(285)][i(443)][i(502)](i(302)).me.id,n=this[i(488)][i(502)](t[i(347)]);n&&n[i(256)]===s?this[i(488)][i(411)](t[i(347)]):this[i(488)][i(510)](t[i(347)],{userId:s,isAttached:t[i(350)]})}[rt(493)](t){const e=rt,i=this[e(254)][e(502)](t[e(518)][e(347)]);null===t[e(346)]?delete i[t[e(290)]]:i[t[e(290)]]=t[e(346)]}}function lt(t){const e=rt,i=ht(t[e(347)],t[e(274)]());for(const s of t[e(495)]()){const t=s[e(288)](!0);i[e(480)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(347)]=t,s[i(265)]=e,s[i(274)]=()=>s[i(265)],s}function dt(t,e,i){const s=rt,n=s(498)==t[s(450)]?i[s(281)](t[s(272)],s(406)):i[s(459)](t[s(272)]);return i[s(512)](e,n[s(289)],n[s(421)])}function ft(t,e,i){const s=rt,n=s(529)==t[s(450)]?i[s(281)](t[s(272)],0):i[s(319)](t[s(272)]);return i[s(512)](e,n[s(289)],n[s(421)])}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=Mt;function Vt(){const t=["858ePDPpD","13684JRKxPa","Name of the revision","fieldView","reset","_createRevisionNameInput","add","optional","arrowdown","locale","554nRROgE","revisionNameInputView","1250yFYzbs","ck-responsive-form","extendTemplate","trim","1694142GRfTlX","arrowup","1005229ApGXnh","keystrokes","arrowleft","stopPropagation","label","6571728KbjTRU","revisionName","element","220","focusTracker","errorText","set","revisionNameInputValue","7140512Kftuht","ck-revision-history-save-revision-form","setTemplate","7OlaOaj","value","listenTo","input","arrowright","form","2348320WyNfxz","render","focus"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=300]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(675690===parseInt(e(301))/1+-parseInt(e(336))/2*(parseInt(e(326))/3)+parseInt(e(327))/4*(parseInt(e(338))/5)+parseInt(e(342))/6+-parseInt(e(317))/7*(parseInt(e(314))/8)+-parseInt(e(306))/9+parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(310)];[At(302)];[At(337)];constructor(e,i){const s=At;super(e),this[s(310)]=new t.FocusTracker,this[s(302)]=new t.KeystrokeHandler,this[s(312)](s(313),""),this[s(337)]=this[s(331)](i),this[s(316)]({tag:s(322),attributes:{class:["ck",s(315),s(339)],tabindex:"-1"},children:[this[s(337)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(324)](){const t=At;super[t(324)](),(0,pt.submitHandler)({view:this}),this[t(310)][t(332)](this[t(337)][t(308)]),this[t(302)][t(319)](this[t(308)]);const e=e=>e[t(304)]();this[t(302)][t(312)](t(321),e),this[t(302)][t(312)](t(303),e),this[t(302)][t(312)](t(300),e),this[t(302)][t(312)](t(334),e)}[At(325)](){const t=At;this[t(337)][t(325)]()}get[At(307)](){const t=At;return this[t(337)][t(329)][t(308)][t(318)][t(341)]()}set[At(307)](t){const e=At;this[e(337)][e(329)][e(308)][e(318)]=t[e(341)]()}[At(330)](){const t=At;this[t(337)][t(329)][t(308)][t(318)]="",this[t(337)][t(311)]=null}[At(331)](t){const e=At,i=new pt.LabeledFieldView(this[e(335)],pt.createLabeledInputText),s=i[e(329)];s[e(340)]({attributes:{maxlength:e(309)}});let n=Q(this[e(335)],e(328));return!t&&(n+=" ("+Q(this[e(335)],e(333))+")"),i[e(305)]=n,s.on(e(320),(()=>{const t=e;this[t(313)]=s[t(308)][t(318)][t(341)]()})),i}}const Dt=Ft;function Ct(){const t=["menu","RevisionTracker","editing","plugins","view","_saveRevisionFormView","_createSaveRevisionFormView","errorText","componentFactory","showRevisionViewerCallback","items","_showDialog","RevisionHistoryUI","children","6mEqIoE","revisionNameInputView","isPremiumPlugin","editor","8548sEPwiT","revisionSave","182tfBYaC","Accept","revisionHistory.requireRevisionName","16VugPAl","reset","Cancel","The revision name cannot be empty.","22656OjEcuT","Open revision history","isReady","panelView","config","locale","isEnabled","362857PjCnlI","Revision history","add","isReadOnly","buttonView","submit","isOpen","550944sbHbcg","Save current revision","15XCPcWQ","set","init","role","delegate","bind","render","requires","execute","revisionName","hide","isOfficialPlugin","_registerMenuComponent","ck-button-action","focus","addMany","pluginName","menuitem","1465250nPRvWd","Dialog","3434472ZjYkJy","revisionHistory","get","show","352792QiRthI","menuBar:revisionHistory","36DNxyAA","saveRevision"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(291104===parseInt(e(239))/1*(-parseInt(e(305))/2)+parseInt(e(301))/3*(-parseInt(e(283))/4)+parseInt(e(259))/5*(parseInt(e(257))/6)+-parseInt(e(307))/7*(parseInt(e(243))/8)+parseInt(e(279))/9+-parseInt(e(277))/10+parseInt(e(250))/11*(parseInt(e(285))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends H.Plugin{static get[Dt(275)](){return Dt(299)}static get[Dt(270)](){return!0}static get[Dt(303)](){return!0}static get[Dt(266)](){return[at]}[Dt(292)];[Dt(261)](){const t=Dt,e=this[t(304)],i=e[t(290)][t(281)](t(288));e.ui[t(295)][t(252)](t(280),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(246)][n(300)],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(264)](n(249)).to(i,n(245),i,n(249),e,n(253),((t,e,i)=>t&&e&&!i)),r[n(254)][n(260)]({icon:mt.IconHistory,label:Q(s,n(251)),tooltip:!0}),u[n(260)]({label:Q(s,n(258)),withText:!0,role:n(276)}),u[n(264)](n(249)).to(i,n(245),i,n(249),e,n(253),((t,e,i)=>t&&e&&!i)),u.on(n(267),(()=>this[n(298)]())),h[n(260)]({label:Q(s,n(244)),withText:!0,role:n(276)}),h[n(264)](n(249)).to(i,n(245),e,n(253),((t,e)=>t&&!e)),h.on(n(267),(()=>{const t=n;e[t(247)][t(281)](t(280))[t(296)](),r[t(256)]=!1,e[t(289)][t(291)][t(273)]()})),c[n(300)][n(252)](u),l[n(300)][n(252)](h),a[n(262)]=n(287),a[n(297)][n(274)]([c,l]),o[n(252)](a),r})),e.ui[t(295)][t(252)](t(284),(()=>this[t(271)]()))}[Dt(271)](){const t=Dt,e=this[t(304)],i=e[t(248)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(254)][t(260)]({icon:mt.IconHistory,label:Q(i,t(251))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(260)]({label:Q(i,t(258))}),o[t(263)](t(267)).to(s),o.on(t(267),(()=>{this[t(298)]()})),r[t(300)][t(252)](o),n[t(297)][t(252)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(260)]({label:Q(i,t(244))}),c[t(263)](t(267)).to(s),c.on(t(267),(()=>{const i=t;e[i(247)][i(281)](i(280))[i(296)]()})),a[t(300)][t(252)](c),n[t(297)][t(252)](a),s[t(246)][t(300)][t(252)](n),s}[Dt(298)](){const t=Dt,e=this[t(304)],i=e[t(248)],s=e[t(290)][t(281)](t(278)),n=e[t(290)][t(281)](t(288));function r(n){const r=t;e[r(247)][r(281)](r(238))&&""===n[r(268)]?n[r(302)][r(294)]=Q(i,r(242)):(e[r(290)][r(281)](at)[r(286)]({name:n[r(268)]}),s[r(269)]())}this[t(292)]||(this[t(293)](),this[t(292)].on(t(255),(()=>r(this[t(292)])))),this[t(292)][t(240)](),s[t(282)]({id:t(306),title:Q(i,t(258)),isModal:!0,content:this[t(292)],actionButtons:[{label:Q(e[t(248)],t(241)),withText:!0,onExecute:()=>s[t(269)]()},{label:Q(e[t(248)],t(237)),class:t(272),withText:!0,onCreate(i){const s=t;i[s(264)](s(249)).to(n,s(245),n,s(249),e,s(253),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(292)])}]})}[Dt(293)](){const t=Dt,e=this[t(304)],i=e[t(248)];this[t(292)]=new Et(i,e[t(247)][t(281)](t(238))),this[t(292)][t(265)]()}}function Lt(){const t=["isSuggestion","changeId","ck-revision-change","Suggested by","Removed by","bindTemplate","add","ck-revision-change__label","element","Added by","4264388tyndUc","39310pOmTbB","1845jIDQIe","setTemplate","data","author","_model","ck-annotation","div","ck-revision-change__","1416685pLBMaw","set","3823715IQHoNo","type","1866uMMydL","16pQWhVn","focus","8535MhbhzT","span","name","1456038XLegPw","2827700CmJiYp"];return(Lt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=Lt();return(Wt=function(t,e){return i[t-=325]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(731096===-parseInt(e(336))/1+parseInt(e(347))/2+parseInt(e(346))/3+parseInt(e(326))/4+-parseInt(e(343))/5*(parseInt(e(340))/6)+-parseInt(e(338))/7*(parseInt(e(341))/8)+parseInt(e(328))/9*(parseInt(e(327))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends pt.View{[Pt(349)];[Pt(332)];constructor(t,e){const i=Pt;super(t),this[i(332)]=e,this[i(349)]=e.id;const s=this[i(353)],n=Q(t,e[i(330)][i(348)]?i(351):i(354)==e[i(339)]?i(325):i(352));this[i(337)](i(339),e[i(339)]),this[i(329)]({tag:i(334),attributes:{class:[i(333),i(350),s.to(i(339),(t=>i(335)+t))],tabindex:-1},children:[{tag:i(344),children:[{tag:i(344),attributes:{class:[i(355)]},children:[{text:n}]},{text:" "+e[i(331)][i(345)]}]}]})}[Pt(342)](){const t=Pt;this[t(356)][t(342)]()}}var Ht=Ut;function Ut(t,e){var i=Zt();return(Ut=function(t,e){return i[t-=300]})(t,e)}function Zt(){var t=["4735980qicGOA","1780JIdwwM","710732BLjqFR","type","72SNeOqX","27RWcakG","1726696dTzwtI","7cNgOIV","114736uZfkeN","3253055BWyHFM","author","226776gFkmbM","createdAt","toJSON","2270536HVlaof","set","rootName","data"];return(Zt=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(492592===-parseInt(e(302))/1+-parseInt(e(306))/2+-parseInt(e(304))/3*(-parseInt(e(308))/4)+-parseInt(e(309))/5+parseInt(e(300))/6*(-parseInt(e(307))/7)+-parseInt(e(314))/8*(parseInt(e(305))/9)+parseInt(e(301))/10*(parseInt(e(311))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ht(310)];[Ht(303)];[Ht(317)];[Ht(316)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(310)]=e[i(310)],this[i(303)]=e[i(303)],this[i(317)]=e[i(317)]||{},this[i(316)]=e[i(316)],this[i(315)](i(312),e[i(312)])}[Ht(313)](){var t=Ht;return{id:this.id,authorId:this[t(310)].id,type:this[t(303)],data:this[t(317)],createdAt:this[t(312)]}}}const $t=Yt;function Bt(){const t=["oldRevisionId","add","76nWfVzE","1668779jSDYSx","3104875FWTaiH","1630860GCGDSq","6MVVSAQ","newRevisionId","changes","90009OFkCme","464yuWpMZ","102702MYiiXs","6617570rVfhLW","_setChanges","34815oQVBZD"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(313016===-parseInt(e(482))/1+parseInt(e(473))/2*(parseInt(e(470))/3)+-parseInt(e(476))/4+-parseInt(e(475))/5+parseInt(e(477))/6*(-parseInt(e(474))/7)+parseInt(e(481))/8*(parseInt(e(480))/9)+parseInt(e(483))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(478)];[$t(471)];[$t(479)];constructor(e,i){const s=$t;this[s(478)]=e,this[s(471)]=i,this[s(479)]=new t.Collection}[$t(484)](t){const e=$t;for(const i of t)this[e(479)][e(472)](i)}}var Gt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Gt.A,Xt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Kt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=337]})(t,e)}function te(){const t=["markerName","refresh","object","span","mapper","currentChangeNumber","clear","find","revisionHistoryLabel","diffData","findIndex","revisionHistoryAttachChange","-new","vid_end","isInline","isAdded","POSITIVE_INFINITY","_data","isOfficialPlugin","ck-suggestion-marker--active","side","_getDiff","text","name","233418WocUTE","writer","loadRevisionData","removeClass","isCollapsed","index","_setChanges","push","_changeIdToChange","element","pop","RevisionViewer","level","getAttributes","_makeModelFromViewString","stop","_markMarkers","type","end","createAttributeElement","test","createPositionBefore","slice","viewItem","ck-revision-history-root-remove","setAttribute","suggestion","for","_sortAndFilterDiffChanges","next","pluginName","getClientRects","changeId","removeMarker","3024414WFMOOd","addRoot","getRoot","_findChangeIdFromDomTarget","plugins","change","data","getAttribute","addMarker:revision","keys","execute","destroy","_step","1208720ErKfVo","isRemoved","ck-suggestion-marker","addRevision","delete","consumable","isSuggestion","isEnabled","comment","isContent","attachChange","toViewRange","softBreak","revision-suggestion:","_threeWayMerge","numberOfChanges","ck-suggestion-marker-split","locale","addRevisionData","revision-suggestion","observeMarkers","createPositionFromPath","markerToData","suggestion:","model","addMarker:revision-suggestion:deletion","bind","revision-comment:","high","bottom","markerRange","attribute:vid","split","pairId","_makeTape","low","filter","876369gyivXi","4XQhpJT","_revisions","_utils","set","_update","highest","modelRange","enqueueChange","adapter","first","wrap","markersStart","_fixObsoleteTags","abs","dataDowncast","827600iqSmkc","RevisionHistoryUtils","isPremiumPlugin","document","error","getLaterVisibleRevision","_processTape","ck-editor__editable__overlay","insertion","isEqual","restoreRevision","domEvent","activeChange","2088740SRuOff","getRevisionRootsAttributes","isAttached","_removeMissingPairs","length","isRemoveSuggestion","dataToMarker","sort","startIndex","isIncorrect","concat","change:isReady","from","hasClass","showNextChange","getCustomProperty","getIndex","isAtStart","previousPosition","_initInteractions","get","code","ck-revision-history-root-add","backward","_markInsertions","_makeModelFromTape","createRange","addClass","elementEnd","nextSibling","indexOf","splice","attributesBefore","getDomRoot","map","resolve","add","start","deletions","nextPosition","rootName","markers","catch","deletion","createRevision","done","createRangeIn","_balloon","domConverter","unbindElementFromMarkerName","change:activeView","isAtEnd","revision-viewer","getWalker","_joinTapes","_removeUnsupportedChanges","listenTo","has","consume","merge","showPreviousChange","elementToAttribute","toViewPosition","vid","bindElementToMarker","downcastDispatcher","forceDisabled","distance","repository","mapViewToDom","showStack","editor","_refreshStartEndIndex","commands","affectsData","_cleanMarkers","target","shift","_activeViewTarget","enableReadOnlyMode","ck-suggestion-preview-marker-","markersEnd","range","createUIElement","getRevision","hasAttribute","view","compare","editingDowncast","ck-suggestion-marker-","forward","string","config","schema","ck-revision-history-root--active","removeMarker:revision","_setConversion","_getRevisionsRange","left","change:isEnabled","conversion","toViewElement","removeAttribute","all","_markMismatchedRemovedTags","uiElement","reconvertMarker","_setDistance","userId","isBefore","getRevisionDocumentData","oldRevisionId","updatePosition","isLimit","addMarker:revision-suggestion:insertion","startsWith","_getChangeFromId","_changeView","detachRoot","activeView","maxOffset","mousedown","vid_start","diff","mouseover","ck-suggestion-marker-merge","upcast","unshift","remove","selection","attributesAfter","values","requires","right","includes","RevisionsRepository","insertions","40RoKTpz","revision","removeMarker:revision-suggestion","revisionHistory","attributes","isBlock","2239698eBqikA","checkAttribute","elementStart","isReady","init","revision:","return","top","authors","_cleanUp","_getViewForChange","flat","change:activeChange","data-change-id","item","offsetSize","changes","change:numberOfChanges","addHighlight","markerNameToElements","forEach","endIndex","isOnRoot","getItems","insert","newRevisionId","getRootNames","_appendChild","nodeAfter","isAfter","element:pre","roots","markerToHighlight","parent","editing","isObject","then","ck-revision-history-root-","isNavigationMode","7kHOYYW","_markSuggestions","WidgetToolbarRepository","getChild","restoreRevisionCallback","isAddSuggestion","ck-suggestion-preview-marker"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(401055===parseInt(e(587))/1+-parseInt(e(346))/2*(parseInt(e(345))/3)+parseInt(e(634))/4+-parseInt(e(374))/5+-parseInt(e(517))/6*(parseInt(e(556))/7)+-parseInt(e(361))/8+parseInt(e(621))/9*(parseInt(e(511))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends H.Plugin{[Kt(442)];[Kt(354)]=null;[Kt(348)];[Kt(452)];[Kt(491)];[Kt(595)];[Kt(421)];static get[Kt(617)](){return Kt(598)}static get[Kt(581)](){return!0}static get[Kt(363)](){return!0}static get[Kt(506)](){return[U.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Kt;super(t),this[e(442)]=this[e(445)][e(625)][e(394)](e(509)),this[e(348)]=this[e(445)][e(625)][e(394)](e(362)),this[e(349)](e(373),null),this[e(349)](e(493),null),this[e(452)]=null,this[e(349)](e(497),null),this[e(349)](e(520),!1),this[e(349)](e(641),!0),this.on(e(473),((t,i,s)=>{const n=e;this[n(373)]=null,this[n(493)]=null,this[n(445)][n(551)][n(460)][n(626)]((t=>{const e=n;for(const i of this[e(445)][e(551)][e(460)][e(364)][e(548)])s?t[e(590)](e(368),i):t[e(401)](e(368),i)}))})),this[e(660)](e(555)).to(this,e(373),(t=>null!==t)),this[e(660)](e(568)).to(this,e(520),this,e(497),this,e(373),((t,i,s)=>t&&s?i[e(533)][e(390)](s):0)),this[e(660)](e(649)).to(this,e(520),this,e(497),((t,i)=>t?i[e(533)][e(378)]:0)),this[e(491)]=null,this[e(595)]=new Map,this[e(421)]=this[e(445)][e(625)][e(394)](pt.ContextualBalloon)}[Kt(521)](){const t=Kt,e=this[t(445)],i=new ne(e,{direction:t(397)}),s=new ne(e,{direction:t(464)});e[t(447)][t(410)](t(434),i),e[t(447)][t(410)](t(388),s),e[t(447)][t(410)](t(371),new se(e)),this.on(t(534),(()=>{const e=t;i[e(564)](),s[e(564)]()})),this[t(470)](),this[t(393)](),e[t(453)](t(426)),e[t(625)][t(431)](t(558))&&e[t(625)][t(394)](t(558))[t(440)](t(426))}async[Kt(484)](t){const e=Kt;return await this[e(348)][e(589)](t,this[e(354)]),this[e(348)][e(484)](t)}async[Kt(375)](t){const e=Kt;return await this[e(348)][e(589)](t,this[e(354)]),this[e(348)][e(375)](t)}async[Kt(461)](t,e,i=!1){const s=Kt;if(!this[s(641)])return;const n=this[s(497)],r=this[s(442)],o=s(465)==typeof t?r[s(458)](t):t,a=s(465)==typeof e?r[s(458)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(497)]&&this[s(497)][s(542)]===c&&this[s(497)][s(485)]===u)return Promise[s(409)]();this[s(520)]=!1,this[s(493)]=null,this[s(373)]=null,this[s(497)]=new Jt(c,u);const l=this[s(471)](o,a,!0)[s(408)]((t=>this[s(348)][s(589)](t,this[s(354)])));return l[s(594)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(477)](l)[s(553)]((()=>{const t=s;if(!this[t(641)])return;this[t(526)]();const e=this[t(584)](c,u);for(const i of e[t(533)])this[t(595)][t(349)](i.id,i);this[t(445)][t(658)][t(353)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(445)][s(658)][s(364)][s(543)]())i[s(492)](t);for(const t of Object[s(630)](e[s(658)])){const n=i[s(622)](t);for(const r of Object[s(630)](e[s(515)][t]))i[s(612)](r,e[s(515)][t][r],n);i[s(541)](e[s(658)][t],n,0)}})),this[t(497)][t(593)](this[t(615)](e[t(533)])),this[t(520)]=!0}))[s(416)]((t=>{const e=s;console[e(365)](t),this[e(526)](),n&&(this[e(497)]=n),this[e(520)]=!0}))}[Kt(652)](t,e){const i=Kt,s=this[i(442)][i(418)](t);return s.on(i(350),((t,i,n)=>e(i,n,s))),this[i(442)][i(637)](s),s}[Kt(526)](){const t=Kt;this[t(373)]=null,this[t(449)](),this[t(491)]&&this[t(491)][t(632)](),this[t(491)]=null,this[t(595)][t(569)](),this[t(445)][t(658)][t(353)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(445)][i(658)][i(364)][i(543)]())e[i(492)](t)}))}[Kt(615)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(445)][e(658)][e(364)][e(543)]()){const n=this[e(445)][e(551)][e(460)][e(407)](t);if(!n)continue;const r=n[e(618)]()[e(531)](0);r&&(i[e(594)](t),s[e(349)](t,r))}return i[e(381)](((t,i)=>{const n=e,r=s[n(394)](t),o=s[n(394)](i);return r.y-o.y||r.x-o.x})),(t=t[e(344)]((t=>i[e(508)](t[e(414)]))))[e(381)](((t,s)=>i[e(404)](t[e(414)])-i[e(404)](s[e(414)]))),t}[Kt(342)](t){const e=Kt,i=Array[e(386)](t[e(415)])[e(344)]((([t,i])=>t[e(489)](e(522))&&!i[e(591)])),s=Array[e(386)](this[e(445)][e(658)][e(420)](t)[e(427)]({singleCharacters:!0}));if(0!=i[e(378)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(340)](":");if(n[e(605)][e(370)](t[e(413)])&&i[e(451)](),(t[e(392)][e(370)](n[e(411)])||t[e(392)][e(546)](n[e(411)]))&&(e(369)==r?t[e(578)]={userId:o}:e(417)==r&&(t[e(635)]={userId:o})),0==i[e(378)])break}return s}[Kt(446)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(378)];s++)e(585)===t[s][e(604)]?(t[s][e(531)][e(382)]=s,t[s][e(531)][e(538)]=s):(e(519)===t[s][e(604)]?t[s][e(531)][e(382)]=s:e(402)===t[s][e(604)]&&(t[s][e(531)][e(538)]=s),i[e(349)](t[s].id,s));for(const s of i[e(505)]())e(519)===t[s][e(604)]?t[s][e(531)][e(538)]=i[e(394)](t[s][e(341)]):e(402)===t[s][e(604)]&&(t[s][e(531)][e(382)]=i[e(394)](t[s][e(341)]))}[Kt(367)](t){const e=Kt;for(let i=0;i<t[e(378)];i++){if(e(519)===t[i][e(604)])t[i][e(531)][e(382)]=i;else if(e(402)===t[i][e(604)]){t[i][e(531)][e(538)]=i;const s=t[i][e(531)][e(382)];t[s][e(341)]=t[i].id,t[i][e(341)]=t[s].id}else t[i][e(531)][e(382)]=i,t[i][e(531)][e(538)]=i,t[i][e(341)]=null;t[i][e(357)]||(t[i][e(357)]=[],t[i][e(455)]=[])}}[Kt(398)](t,e){const i=Kt,s=t[i(344)]((t=>!t[i(578)]));for(let t=0;t<e[i(378)];t++)e[t][i(578)]&&(s[t][i(578)]=e[t][i(578)])}[Kt(584)](t,e=null){const i=Kt,s=this[i(442)][i(458)](t),n=e?this[i(442)][i(458)](e):null,r=this[i(471)](s,n),o=r[r[i(378)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(378)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(630)](e[i(572)]))if(e[i(572)][t][i(644)]){const s=e[i(572)][t][i(644)];s[i(376)]?(u[i(410)](t),l[i(431)](t)&&l[i(394)](t)[i(482)]==s[i(482)]?l[i(638)](t):l[i(349)](t,s)):l[i(431)](t)?(u[i(638)](t),l[i(638)](t)):(u[i(410)](t),l[i(349)](t,s))}else u[i(410)](t)}for(const t of u){const e=l[i(431)](t)&&!l[i(394)](t)[i(376)];let s=e?r[i(378)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(572)][t]){const s=e?o[i(572)][t][i(406)]:o[i(572)][t][i(504)];c[i(515)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(658)]={};for(const e of t[i(525)])a[i(349)](e.id,e);for(const e of u){const s=t[i(572)][e]?t[i(572)][e][i(510)]:"[]",n=t[i(572)][e]?t[i(572)][e][i(412)]:"[]";t[i(658)][e]={insertions:this[i(348)][i(601)](s),deletions:this[i(348)][i(601)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(386)](s[i(658)][t][i(510)][i(415)])[i(344)]((([t])=>!t[i(489)](i(522)))));let h=0;for(const o of r){const r=this[i(342)](o[i(658)][t][i(510)]);o==s?(e=r,n=e[i(378)],e[i(537)]((t=>{t.id=h++})),this[i(367)](e)):this[i(398)](e,r);const a=e[i(344)]((t=>!t[i(578)]))[i(408)]((t=>t.id));let c=0;const l=this[i(342)](o[i(658)][t][i(412)]);l[i(537)]((t=>{t[i(635)]?t.id=n++:t.id=a[c++]})),this[i(367)](l),this[i(481)](e,i(578)),this[i(481)](l,i(635)),o==s&&this[i(603)](e,u),e=this[i(428)](e,l),this[i(446)](e),this[i(481)](e,i(635))}e=e[i(344)]((t=>!(t[i(578)]&&t[i(635)])));const d=new Map(o[i(658)][t][i(412)][i(415)]),f=new Set(u[i(630)]());for(const t of d[i(630)]())f[i(638)](t);this[i(557)](e,f),this[i(358)](e),e=this[i(377)](e),e=this[i(478)](e),e=this[i(429)](e);const{root:m,changes:p}=this[i(399)](e,a,t);c[i(658)][t]=m;const v=l[i(394)](t);if(v){const e=a[i(394)](v[i(482)]),s=new qt({author:e,type:v[i(376)]?i(410):i(502),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(501)](s),c[i(515)][t][i(574)]=s.id}c[i(533)]=c[i(533)][i(384)](p)}return c}[Kt(603)](t,e){const i=Kt;for(let s=0;s<t[i(378)];s++)for(const[n,r]of e)!r[i(591)]&&r[i(411)][i(370)](t[s][i(392)])&&t[s][i(357)][i(594)](n),r[i(605)][i(370)](t[s][i(413)])&&t[s][i(455)][i(594)](n)}[Kt(428)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(378)]||r<e[i(378)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(594)](o);else if(a[i(635)]&&o[i(578)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(648)](t,n,e,r);s=s[i(384)](o),n=a,r=c}else a[i(635)]?(r++,s[i(594)](a)):(n++,s[i(594)](o))}return s}[Kt(557)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(378)];o++){for(let r=0;r<t[o][i(357)][i(378)];r++){const a=t[o][i(357)][r];if(!e[i(431)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(653)!=c||i(369)!=u&&i(417)!=u||(s[i(501)]({type:u,name:a,userId:l}),t[o][i(357)][i(405)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(455)][i(378)];r++){const a=t[o][i(455)][r];if(!e[i(431)](a))continue;const{group:c,type:u}=n(a);if(i(653)!=c||i(369)!=u&&i(417)!=u)continue;t[o][i(455)][i(405)](r,1),r--;const l=s[i(573)]((t=>t[i(586)]==a));l>-1&&s[i(405)](l,1)}}function n(t){const e=i,s=t[e(340)](":");return{group:s[0],type:s[1],subType:s[e(378)]>=5?s[2]:null,id:s[e(378)]<5?s[2]:s[3],authorId:s[e(378)]<5?s[3]:s[4],markerCount:6==s[e(378)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(378)];i++){if(t[e(578)]&&e(369)==s[i][e(604)])return t[e(561)]=s[i],void delete t[e(578)];if(!t[e(578)]&&!t[e(635)]&&e(417)==s[i][e(604)])return void(t[e(379)]=s[i])}}}[Kt(481)](t,e){const i=Kt;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(349)](o.id,s);for(let s=0;s<t[i(378)];s++){if(i(635)==e&&t[s][i(578)]||i(578)==e&&t[s][i(635)])continue;if(i(585)==t[s][i(604)]){t[s][i(441)]=0;continue}const n=r[i(394)](t[s][i(341)]),o=r[i(394)](t[s].id);t[s][i(441)]=n-o}}[Kt(471)](t,e,i=!1){const s=Kt,n=[];let r=this[s(442)][s(390)](t),o=this[s(442)][s(390)](e);for(-1==o&&(o=this[s(442)][s(347)][s(378)],i=!1);r<o;)n[s(594)](this[s(442)][s(458)](r)),r++;return i&&n[s(594)](this[s(442)][s(458)](r)),n}[Kt(648)](t,e,i,s){const n=Kt,r=this[n(445)][n(658)][n(467)];let o=e;for(;t[o]&&t[o][n(578)];)o++;let a=s;for(;i[a]&&i[a][n(635)];)a++;u(t,e,o),u(i,s,a);const c=i[n(609)](s,a)[n(384)](t[n(609)](e,o));return c[n(381)](((t,e)=>t[n(583)]!=e[n(583)]?t[n(583)]-e[n(583)]:t[n(599)]!=e[n(599)]?t[n(599)]-e[n(599)]:t[n(441)]!=e[n(441)]?e[n(441)]-t[n(441)]:!!t[n(578)]!=!!e[n(578)]?-1==t[n(583)]||0==t[n(583)]?t[n(578)]?-1:1:t[n(578)]?1:-1:t[n(592)]-e[n(592)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(579)],c=!0;for(let n=e;n<i;n++)if(r[s(577)](t[n][s(531)])||(c=!1),t[n][s(531)][s(382)]<e&&(o=n),t[n][s(531)][s(538)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(583)]=n<=o?-1:n<a?0:1,t[n][s(592)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(441)]?t[i][s(599)]=u:(u++,t[i][s(599)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(583)]&&(t[n][s(599)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(441)]?t[e][s(599)]=u:(u--,t[e][s(599)]=u,u--)}}[Kt(358)](t){const e=Kt,i=new Map,s=this[e(445)][e(658)][e(467)];for(let n=1;n<t[e(378)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(585)==c[e(604)])continue;if(c[e(604)]!=u[e(604)])continue;if(!s[e(516)](u[e(531)])||s[e(487)](u[e(531)]))continue;if(!s[e(516)](c[e(531)])||s[e(487)](c[e(531)]))continue;if((t[n][e(578)]||t[n][e(561)])&&t[n-1][e(635)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(635)]||!t[n-1][e(578)]&&!t[n-1][e(561)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(599)]==o[e(599)],h=Math[e(359)](r[e(599)])<Math[e(359)](o[e(599)])&&0==o[e(441)];(l||h)&&(i[e(349)](o.id,r.id),t[e(405)](a,1),n--,r[e(578)]=!1)}for(let s=0;s<t[e(378)];s++)i[e(431)](t[s][e(341)])&&(t[s][e(341)]=i[e(394)](t[s][e(341)]))}[Kt(377)](t){const e=Kt,i=new Set(t[e(408)]((t=>t.id)));for(let s=0;s<t[e(378)];s++)i[e(431)](t[s][e(341)])||0==t[s][e(441)]||(t[s][e(383)]=!0);return t[e(344)]((t=>!t[e(383)]))}[Kt(478)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(378)];s++){if(i[e(431)](t[s].id)&&t[s][e(635)]&&(t[s][e(383)]=!0),t[s][e(383)])continue;if(0==t[s][e(441)])continue;if(e(519)!=t[s][e(604)])continue;if(null==t[s][e(341)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(341)];)e(519)==t[n][e(604)]?r++:e(402)==t[n][e(604)]&&r--,n++;if(0!=r)if(t[s][e(635)])t[s][e(383)]=!0;else for(;n!=s;)t[n][e(635)]&&0!=t[n][e(441)]&&(t[n][e(383)]=!0,i[e(410)](t[n][e(341)])),n--}return t[e(344)]((t=>!t[e(383)]))}[Kt(429)](t){const e=Kt,i=this[e(445)][e(658)][e(467)];for(let s=0;s<t[e(378)];s++){if(!(t[s][e(578)]||t[s][e(561)]||t[s][e(635)]||t[s][e(379)]))continue;if(0==t[s][e(441)])continue;const n=t[s][e(531)];i[e(516)](n)||i[e(487)](n)||(t[s][e(578)]&&delete t[s][e(578)],t[s][e(561)]&&delete t[s][e(561)],t[s][e(379)]&&delete t[s][e(379)],t[s][e(635)]&&(t[s][e(383)]=!0))}return t[e(344)]((t=>!t[e(383)]))}[Kt(399)](t,e,i){const s=Kt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(445)][s(658)],c=a[s(467)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(378)];e++)if(s(519)===t[e][s(604)]){t[e][s(392)]=a[s(655)](n,f);const i=new Z.Element(t[e][s(531)][s(586)],t[e][s(531)][s(600)]());u[0][s(544)](i),f[s(594)](0),u[s(501)](i),t[e][s(413)]=a[s(655)](n,f)}else s(402)===t[e][s(604)]?(u[s(451)](),t[e][s(392)]=a[s(655)](n,f),f[s(597)](),f[f[s(378)]-1]++,t[e][s(413)]=a[s(655)](n,f)):(t[e][s(392)]=a[s(655)](n,f),d?d[s(580)]+=t[e][s(531)][s(627)]:d=new Z.Text(t[e][s(531)][s(627)],t[e][s(531)][s(600)]()),t[e+1]&&s(585)===t[e+1][s(604)]&&v(d,t[e+1][s(531)])||(u[0][s(544)](d),d=null),f[f[s(378)]-1]+=t[e][s(531)][s(532)],t[e][s(413)]=a[s(655)](n,f));for(let e=0;e<t[s(378)];e++){const i=t[e][s(392)],n=t[e][s(413)];for(const n of t[e][s(357)])o[s(349)](n,{start:i,end:null});m(s(379),e,i,n),m(s(561),e,i,n),m(s(635),e,i,n),m(s(578),e,i,n);for(const i of t[e][s(455)]){const t=o[s(394)](i);t?t[s(605)]=n:o[s(349)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(445)][s(658)][s(400)](e[s(411)],e[s(605)]);n[s(415)][s(349)](t,i)}return r[s(381)](((t,e)=>{const i=s,r=n[i(415)][i(394)](i(522)+t.id),o=n[i(415)][i(394)](i(522)+e.id);return r[i(411)][i(483)](o[i(411)])?-1:r[i(411)][i(546)](o[i(411)])?1:r[i(605)][i(483)](o[i(605)])?-1:r[i(605)][i(546)](o[i(605)])?1:i(410)===t[i(604)]?-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(482)]:null,d=i===t[o(378)]-1,f=h[e][0],m=c[o(552)](t[i][o(531)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(605)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(482)]!==u&&(l[e][o(605)]=n,f&&f[o(482)]===l[e][o(482)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(519)!==t[i][o(604)]||f&&f[o(482)]===u||h[e][o(501)]({userId:u,object:t[i][o(531)],change:l[e]}),o(402)===t[i][o(604)]&&f&&f[o(565)]===t[i][o(531)]&&(h[e][o(451)](),l[e]=f[o(626)])),l[e]&&d&&(l[e][o(605)]=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(531)],f=a[h(467)][h(516)](d)&&!a[h(467)][h(487)](d),m=t[h(545)]==o[h(550)]&&o[h(391)];if(f&&m)return;const p=a[h(400)](t,o),v=e[h(394)](u),g=new qt({author:v,type:h(578)==l||h(561)==l?h(410):h(502),data:{isSuggestion:h(561)==l||h(379)==l},createdAt:new Date,rootName:i});r[h(594)](g),n[h(415)][h(349)](h(522)+g.id,p)}function v(t,e){const i=s,n=t[i(600)](),r=e[i(600)]();for(const t of n){if(t[1]!==e[i(628)](t[0]))return!1;r[i(616)]()}return r[i(616)]()[i(419)]}}[Kt(470)](){const t=Kt;this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(512)}),this[t(445)][t(474)][t(614)](t(462))[t(549)]({model:t(512),view:e=>{const i=t,s=e[i(563)][i(340)](":")[1],n=this[i(490)](s);if(!n)return null;const r=i(410)==n[i(604)]?i(369):i(417),o=[i(636),i(463)+r];return n[i(627)][i(640)]&&o[i(594)](i(463)+r+i(575)),this[i(373)]==n&&o[i(594)](i(582)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(445)][t(474)][t(614)](t(500))[t(410)]((e=>{const i=t;e.on(i(547),((t,e,s)=>{const n=i,r=e[n(610)][n(559)](0);if(!r||!r.is(n(596),n(395)))return;if(!s[n(639)][n(432)](r,{attributes:[n(496),n(576)]}))return;const o=e[n(352)][n(411)][n(545)];s[n(588)][n(612)](n(496),r[n(628)](n(496)),o),s[n(588)][n(612)](n(576),r[n(628)](n(576)),o)}),{priority:i(343)})})),this[t(445)][t(474)][t(614)](t(500))[t(410)]((e=>{const i=t;e.on(i(596),((t,e,s)=>{const n=i;if(!s[n(639)][n(432)](e[n(610)],{attributes:[n(496),n(576)]}))return;if(e[n(352)][n(591)])return;const r=e[n(352)][n(411)][n(545)];r[n(459)](n(496))||r[n(459)](n(437))||(s[n(588)][n(612)](n(496),e[n(610)][n(628)](n(496)),r),s[n(588)][n(612)](n(576),e[n(610)][n(628)](n(576)),r))}),{priority:i(343)})})),this[t(445)][t(474)][t(614)](t(500))[t(435)]({view:{name:t(566),attributes:{vid:!0}},model:{key:t(437),value:e=>e[t(628)](t(437))}}),this[t(445)][t(658)][t(467)].on(t(518),((e,[,i])=>{const s=t;[s(496),s(576),s(437)][s(508)](i)&&(e[s(523)]=!0,e[s(602)]())}),{priority:t(351)}),this[t(445)][t(474)][t(614)](t(360))[t(410)]((e=>{const i=t;e.on(i(339),((t,e,s)=>{const n=i;if(" "!=e[n(531)][n(627)]||e[n(531)][n(550)][n(494)]>1)return;if(!s[n(639)][n(432)](e[n(531)],t[n(586)]))return;const r=s[n(588)],o=s[n(567)][n(645)](e[n(456)]);r[n(356)](o,r[n(606)](n(566)))}))})),this[t(445)][t(474)][t(614)](t(360))[t(656)]({model:t(512)}),this[t(445)][t(551)][t(439)].on(t(629),function(e){const i=t,s=e[i(625)][i(394)](i(598));return(t,n,r)=>{const o=i,a=n[o(563)][o(340)](":")[1],c=s[o(490)](a);if(!c)return null;const u=o(410)==c[o(604)]?o(340):o(433);if(!r[o(639)][o(607)](n[o(338)],t[o(586)]))return;const l=n[o(338)][o(427)](),h=n[o(338)][o(411)],d=e[o(658)][o(467)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(531)];p=p||d[o(643)](e);const i=r[o(567)][o(475)](e);if(i&&i[o(389)](o(535)))return;o(402)==t[o(604)]&&d[o(516)](e)&&!d[o(487)](e)&&(e[o(403)]||h[o(425)]?f&&f[o(550)]==e||(f=e,g(t[o(392)]),v=!0):m=m||t[o(392)])}function g(t){const e=o,i=r[e(588)][e(457)](e(566),{class:e(463)+u}),a=r[e(567)][e(436)](t);c[e(627)][e(640)]&&r[e(588)][e(401)](e(463)+u+e(575),i),s[e(373)]==c&&r[e(588)][e(401)](e(582),i),r[e(588)][e(541)](a,i),r[e(567)][e(438)](i,n[e(563)])}p||v||!m||g(m)}}(this[t(445)]),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(469),((e,i,s)=>{const n=t,r=s[n(567)][n(536)](i[n(563)]);if(r)for(const t of r)(t[n(387)](n(650))||t[n(387)](n(499)))&&(s[n(567)][n(423)](t,i[n(563)]),s[n(588)][n(502)](t))}),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(629),((e,i,s)=>{const n=t,r=i[n(563)][n(340)](":")[1],o=this[n(490)](r);if(!o)return null;const a=n(410)==o[n(604)]?n(340):n(433);if(s[n(639)][n(607)](i[n(338)],e[n(586)]))for(const t of i[n(338)][n(540)]()){if(!t.is(n(596),n(646)))continue;const e=s[n(588)][n(457)](n(566),{class:n(463)+a}),r=s[n(567)][n(436)](this[n(445)][n(658)][n(608)](t));o[n(627)][n(640)]&&s[n(588)][n(401)](n(463)+a+n(575),e),this[n(373)]==o&&s[n(588)][n(401)](n(582),e),s[n(588)][n(541)](r,e),s[n(567)][n(438)](e,i[n(563)])}}),{priority:t(662)}),this[t(445)][t(658)][t(364)].on(t(626),(()=>{const e=t;this[e(445)][e(551)][e(460)][e(626)]((t=>{const i=e;for(const e of this[i(445)][i(658)][i(364)][i(543)]()){const s=this[i(445)][i(658)][i(364)][i(623)](e),n=this[i(445)][i(551)][i(460)][i(364)][i(623)](e);if(n){const e=s[i(628)](i(574));if(t[i(476)](i(530),n),t[i(590)](i(396),n),t[i(590)](i(611),n),t[i(590)](i(468),n),e){const s=this[i(490)](e);if(!s)return null;t[i(612)](i(530),e,n),t[i(401)](i(554)+s[i(604)],n),this[i(373)]==s&&t[i(401)](i(468),n)}}}}))})),this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(642),model:e=>t(661)+e,converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(613),model:e=>t(647)+e,converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(360))[t(656)]({model:t(653),view:e=>({name:t(657)+e,group:t(653)}),converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(462))[t(549)]({model:t(653),view:e=>{const i=t,s=e[i(563)][i(340)](":")[1];return i(369)!=s&&i(417)!=s?null:{classes:[i(562),i(454)+s]}}}),this[t(445)][t(551)][t(439)].on(t(659),ie(this[t(445)],t(433)),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(488),ie(this[t(445)],t(340)),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(513),((e,i,s)=>{const n=t,r=s[n(567)][n(536)](i[n(563)]);if(r)for(const t of r)t.is(n(479))&&(s[n(567)][n(423)](t,i[n(563)]),s[n(588)][n(502)](t))}),{priority:t(662)})}[Kt(490)](t){const e=Kt;return this[e(595)][e(394)](t)}[Kt(527)](t){const e=Kt;return this[e(491)]&&this[e(491)][e(632)](),this[e(491)]=new zt(this[e(445)][e(651)],t),this[e(491)]}[Kt(393)](){const t=Kt;this[t(445)][t(658)][t(364)][t(503)][t(654)](t(512)),this.on(t(424),((e,i,s,n)=>{const r=t;n&&this[r(421)][r(502)](n),s&&(this[r(421)][r(410)]({view:s,stackId:r(571),position:{target:()=>{const t=r,e=this[t(445)][t(551)],i=this[t(490)](s[t(619)]);let n;if(i[t(627)][t(539)]){const s=e[t(460)][t(407)](i[t(414)]);n=Array[t(386)](s[t(618)]())}else{const i=this[t(445)][t(658)][t(415)][t(394)](t(522)+s[t(619)]);n=Array[t(386)](e[t(567)][t(536)](i[t(586)]))[t(408)]((i=>e[t(460)][t(422)][t(443)](i)))[t(408)]((e=>Array[t(386)](e[t(618)]())))[t(528)]()}return this[t(452)]&&n[t(570)]((e=>e[t(524)]-3<=this[t(452)].y&&e[t(337)]+3>=this[t(452)].y&&e[t(472)]-3<=this[t(452)].x&&e[t(507)]+3>=this[t(452)].x))||n[0]}}}),this[r(421)][r(444)](r(571)))})),this.on(t(529),((e,i,s,n)=>{const r=t;this[r(493)]=s?this[r(527)](s):null,this[r(445)][r(658)][r(626)]((()=>{const t=r,e=this[t(445)][t(551)];n&&(n[t(627)][t(539)]?e[t(460)][t(626)]((i=>{const s=t;i[s(590)](s(468),e[s(460)][s(364)][s(623)](n[s(414)]))})):e[t(480)](t(522)+n.id)),s&&(s[t(627)][t(539)]?e[t(460)][t(626)]((i=>{const n=t;i[n(401)](n(468),e[n(460)][n(364)][n(623)](s[n(414)]))})):e[t(480)](t(522)+s.id))}))})),this[t(430)](this[t(445)][t(551)][t(460)][t(364)],t(498),((e,i)=>{const s=t;if(this[s(373)])return;const n=this[s(624)](i[s(450)]),r=this[s(595)][s(394)](n);r?(this[s(452)]={x:i[s(372)].x,y:i[s(372)].y},this[s(493)]=this[s(527)](r)):(this[s(452)]=null,this[s(493)]=null)})),this[t(430)](this[t(445)][t(551)][t(460)][t(364)],t(495),((e,i)=>{const s=t,n=this[s(624)](i[s(450)]),r=this[s(595)][s(394)](n);r?(this[s(452)]={x:i[s(372)].x,y:i[s(372)].y},r===this[s(373)]?this[s(421)][s(486)]():this[s(373)]=r):(this[s(452)]=null,this[s(373)]=null)}))}[Kt(624)](t){const e=Kt;do{const i=t[e(628)](e(530));if(i)return i;t=t[e(550)]}while(t);return null}[Kt(449)](){const t=Kt;this[t(445)][t(658)][t(626)]((e=>{const i=t;for(const t of this[i(445)][i(658)][i(415)])e[i(620)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(639)][r(607)](s[r(338)],i[r(586)]))return;const o=s[r(338)][r(427)](),a=s[r(338)][r(411)],c=t[r(658)][r(467)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(531)];h=h||c[r(643)](e);const i=n[r(567)][r(475)](e);if(i&&i[r(389)](r(535)))return;r(402)==t[r(604)]&&c[r(516)](e)&&!c[r(487)](e)&&(e[r(403)]||a[r(425)]?u&&u[r(550)]==e||(u=e,f(t[r(392)]),d=!0):l=l||t[r(392)])}function f(t){const i=r,o=n[i(567)][i(436)](t),a=n[i(588)][i(457)](i(566),{class:i(454)+e});n[i(588)][i(541)](o,a),n[i(567)][i(438)](a,s[i(563)])}h||d||!l||f(l)}}class se extends H.Command{constructor(t){const e=Kt;super(t);const i=t[e(625)][e(394)](ee);this[e(448)]=!1,this[e(430)](i,e(385),(()=>this[e(564)]())),this[e(430)](i,e(473),(()=>this[e(564)]()))}[Kt(631)](){const t=Kt,e=this[t(445)],i=e[t(625)][t(394)](ee),s=i[t(520)]?i[t(497)][t(542)]:null;e[t(466)][t(394)](t(514))[t(560)](s)}[Kt(564)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(445)][t(625)][t(394)](ee),r=n&&s[t(366)](n[t(542)]);this[t(641)]=e&&i&&Boolean(r)}}class ne extends H.Command{[Kt(633)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(625)][i(394)](ee);this[i(448)]=!1,this[i(633)]=i(464)===e?1:-1,this[i(430)](s,i(385),(()=>this[i(564)]())),this[i(430)](s,i(473),(()=>this[i(564)]())),this[i(430)](s,i(529),(()=>this[i(564)]()))}[Kt(631)](){const e=Kt,i=this[e(445)],s=i[e(625)][e(394)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(373)]=n?s[e(497)][e(533)][e(394)](r+this[e(633)]):s[e(497)][e(533)][e(355)],s[e(373)][e(627)][e(539)])o=i[e(551)][e(460)][e(407)](s[e(373)][e(414)]);else{const t=i[e(658)][e(415)][e(394)](e(522)+s[e(373)].id);o=(0,U.getMarkerDomElement)(i[e(551)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(564)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(445)][t(625)][t(394)](ee);this[t(641)]=!!(r&&n&&s)&&(!e||(1===this[t(633)]?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-=384]})(t,e)}function ce(){const t=["numberOfChanges","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","fire","1054115CxEbcR","_isStatusLabelVisible","bind","ck-hidden","945432OamUzK","EDIT_X_OF_Y_REVISIONS","span","21CKHcpa","Show previous change","setTemplate","X_OF_Y_CHANGES","forward","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","set","228858JnulRc","57384jHAFro","isReady","NUMBER_OF_CHANGES","Show next change","isForwardNavigationEnabled","isEnabled","7486qgEFhW","_statusText","ck-revision-history-ui__changes-navigation__label","execute","Loading...","27HpnuAf","ck-revision-history-ui","23350wlpHBP","isBackwardNavigationEnabled","44QXDUCH","No changes","Total","3883MTvLdT","currentChangeNumber","backward","isNavigationMode","div","2379072ZpMYgk"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(273649===-parseInt(e(427))/1*(parseInt(e(392))/2)+parseInt(e(412))/3*(-parseInt(e(421))/4)+-parseInt(e(405))/5+-parseInt(e(400))/6+-parseInt(e(420))/7+parseInt(e(409))/8*(parseInt(e(388))/9)+parseInt(e(390))/10*(parseInt(e(395))/11))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(418)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(419)](e(398),!1),this[e(419)](e(422),!1),this[e(419)](e(396),0),this[e(419)](e(401),0),this[e(419)](e(425),!1),this[e(419)](e(391),!1),this[e(407)](e(406)).to(this,e(422),this,e(401),((t,e)=>t&&e>0)),this[e(407)](e(384)).to(this,e(422),this,e(396),this,e(401),this,e(398),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(387));if(!n)return Q(t,o(393));const a=Q(t,o(423),n);return r?Q(t,o(415),[s+1,n]):a})),s[e(419)]({label:Q(t,e(413)),tooltip:!0,icon:mt.IconChevronUp}),n[e(419)]({label:Q(t,e(424)),tooltip:!0,icon:mt.IconChevronDown}),s[e(407)](e(426)).to(this,e(391)),n[e(407)](e(426)).to(this,e(425)),s.on(e(386),(()=>this[e(404)](e(386),e(397)))),n.on(e(386),(()=>this[e(404)](e(386),e(416)))),this[e(414)]({tag:e(399),attributes:{class:["ck",e(389),e(403)]},children:[{tag:e(411),attributes:{class:[e(402)]},children:[{tag:e(411),attributes:{class:[e(385),i.if(e(406),e(408),(t=>!t))]},children:[{text:i.to(e(398),(i=>i?Q(t,e(410))+": ":Q(t,e(394))+": "))}]},{text:i.to(e(384))}]},new pt.ToolbarSeparatorView,{tag:e(399),attributes:{class:[e(417)]},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=ve();return(fe=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(911800===parseInt(e(373))/1+-parseInt(e(367))/2+parseInt(e(370))/3*(-parseInt(e(374))/4)+-parseInt(e(350))/5+parseInt(e(363))/6*(-parseInt(e(365))/7)+parseInt(e(369))/8*(parseInt(e(364))/9)+parseInt(e(359))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=de(371);class pe extends H.Plugin{static get[de(361)](){return de(358)}static get[de(351)](){return!0}static get[de(368)](){return!0}[de(355)](){const t=de,e=this[t(372)][t(352)][t(354)];e[t(357)]((i=>{const s=t;for(const t of e[s(356)][s(362)])i[s(360)](me,t)}))}[de(353)](){const t=de,e=this[t(372)][t(352)][t(354)];e[t(357)]((i=>{const s=t;for(const t of e[s(356)][s(362)])i[s(366)](me,t)}))}}function ve(){const t=["isPremiumPlugin","536NNOKyR","3978obvjHH","ck-editor__editable__loading-overlay","editor","292958MjWRtu","2572psVYpK","6011355HlDepa","isOfficialPlugin","editing","hide","view","show","document","change","RevisionViewerLoadingOverlay","43868680mMXJiE","addClass","pluginName","roots","885072FaVjsq","33147NuhQSl","28qOIYqJ","removeClass","2739700qKoWTk"];return(ve=function(){return t})()}const ge=ke;function ye(){const t=["set","init","showPreviousChange","Restore this revision","444003NAfRDK","pluginName","ck-revision-history-ui__back-to-editing","864tylICh","hide","show","27280913SOEDSU","showNextChange","bind","editor","config","execute","isNavigationMode","135916AyoSqw","currentChangeNumber","listenTo","108815ijveMy","Back to editing","restoreRevision","RevisionViewerUI","changesNavigation","isBackwardNavigationEnabled","change:isReady","49400wtcDOS","32TusUtr","plugins","requires","isPremiumPlugin","forward","78216qYdryP","closeRevisionViewerCallback","numberOfChanges","isReady","revisionHistory","isEnabled","componentFactory","40dkKrmx","get","1415514kUsOxK","isOfficialPlugin","exitToEditing","isForwardNavigationEnabled","commands","95edatTO","add"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=173]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(498841===parseInt(e(199))/1+-parseInt(e(207))/2*(parseInt(e(212))/3)+parseInt(e(196))/4*(-parseInt(e(177))/5)+-parseInt(e(221))/6+parseInt(e(183))/7*(-parseInt(e(219))/8)+-parseInt(e(186))/9*(parseInt(e(206))/10)+parseInt(e(189))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends H.Plugin{static get[ge(184)](){return ge(202)}static get[ge(173)](){return!0}static get[ge(210)](){return!0}static get[ge(209)](){return[ee,pe]}[ge(180)](){const t=ge,e=this[t(192)],i=e[t(208)][t(220)](ee),s=e[t(208)][t(220)](pe);e.ui[t(218)][t(178)](t(174),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(179)]({label:Q(i,s(200)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(185)}),this[s(198)](n,s(194),(()=>{const t=s;e[t(193)][t(220)](t(216))[t(213)]()})),n})),e.ui[t(218)][t(178)](t(201),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(179)]({label:Q(i,s(182)),withText:!0,tooltip:!0}),n[s(191)](s(217)).to(e[s(176)][s(220)](s(201))),this[s(198)](n,s(194),(()=>e[s(194)](s(201)))),n})),e.ui[t(218)][t(178)](t(203),(s=>{const n=t,r=new ue(s),o=e[n(176)][n(220)](n(181)),a=e[n(176)][n(220)](n(190));return r[n(191)](n(204)).to(o,n(217)),r[n(191)](n(175)).to(a,n(217)),r[n(191)](n(215),n(197),n(214),n(195)).to(i),this[n(198)](r,n(194),((t,i)=>{const s=n;e[s(194)](s(211)===i?s(190):s(181))})),r})),s[t(188)](),i.on(t(205),((e,i,n)=>{const r=t;n?s[r(187)]():s[r(188)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=454]})(t,e)}const Se=Ie;function Oe(){const t=["3834688IDMPeS","listenTo","span","_tooltipString","ck-tooltip_multi-line","2674NJWQWN","extendTemplate","fieldView","clientWidth","set","placeholder","538923ptYSjx","1468422aaciMr","_resizeObserver","5696496XUrCdh","element","scrollWidth","_updateTooltipText","73pHyOdE","30ximapx","198558iujKoc","bindTemplate","ck-revision-history-sidebar__revision-name","110ZFlTwO","render","destroy","value","3219198GgDLmg","input","Revision name","Enter the revision name"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(762474===-parseInt(e(477))/1*(-parseInt(e(464))/2)+parseInt(e(455))/3+-parseInt(e(459))/4+-parseInt(e(482))/5*(parseInt(e(479))/6)+parseInt(e(470))/7+parseInt(e(473))/8+-parseInt(e(471))/9*(-parseInt(e(478))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(472)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(480)];this[i(468)]({label:Q(t,i(457)),_tooltipString:""}),this[i(466)][i(469)]=Q(t,i(458)),this[i(465)]({tag:i(461),attributes:{class:[i(481)],"data-cke-tooltip-text":s.to(i(462)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(463)}})}[Se(483)](){const e=Se;super[e(483)](),this[e(472)]=new t.ResizeObserver(this[e(466)][e(474)],(()=>this[e(476)]())),this[e(460)](this[e(466)],e(456),(()=>this[e(476)]()))}[Se(484)](){const t=Se;super[t(484)](),this[t(472)]&&this[t(472)][t(484)]()}[Se(476)](){const t=Se,e=this[t(466)][t(474)];this[t(462)]=e[t(475)]>e[t(467)]&&e[t(454)]||""}}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(){const t=["3leJyIw","setTemplate","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author","push","235782oBmsdT","664APSvRz","ck-revision-history-sidebar__revision-author__name","6754508wzdugJ","2047633VidqgS","Revision author","0 0 11 10","489022OsLuxS","set","3064420DtBrBT","name","124446kEYttn","Revision creator","1478316gJFjLF","span"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(986585===parseInt(e(370))/1+-parseInt(e(354))/2+parseInt(e(358))/3*(-parseInt(e(366))/4)+parseInt(e(372))/5+-parseInt(e(356))/6+-parseInt(e(367))/7+-parseInt(e(364))/8*(-parseInt(e(363))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(371)]({content:mt.IconUser,viewBox:s(369)});const r=["ck",s(361)];i&&r[s(362)](s(360));const o=[{tag:s(357),attributes:{class:["ck",s(365)],title:Q(t,s(i?355:368))},children:[n,e[s(353)]]}];this[s(359)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=179]})(t,e)}function Ee(){var t=["toLocaleTimeString","239244TIJMWb","63QZhrqi","1594042PRDiBz","numeric","3605wwVOep","6eSivJs","1nDFXxX","897704wYahxL","1148190gtvfYR","long","2369400bNPXVB","737syYkJc","5190TScnpK","6084660YqAXJj","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(723711===parseInt(e(188))/1*(-parseInt(e(184))/2)+-parseInt(e(187))/3*(-parseInt(e(189))/4)+-parseInt(e(179))/5+parseInt(e(194))/6*(parseInt(e(186))/7)+-parseInt(e(192))/8+-parseInt(e(183))/9*(-parseInt(e(190))/10)+-parseInt(e(193))/11*(-parseInt(e(182))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=392]})(t,e)}function je(){const t=["8rQNWzg","156758IzkfsM","Restore this revision","isActionsDropdownOpen","stopPropagation","isEnabled","menu","map","buttonView","class","button","2439gKjLQX","find","1023550eRQwBH","items","bindTemplate","1185756JpooBp","13734027lcAMwX","panelPosition","bind","model","function","set","_action","6756065ofOhPO","menuitem","execute","ck-revision-history-sidebar__revision__actions","Name this revision","source","Show more items","ck-on","listView","isVisible","10yBvXLq","72yuomjj","listenTo","3466hhncMV","change:isActionsDropdownOpen","isOpen","extendTemplate","first","locale","Compare against selected","name","add","action","isReady","9546691nmmxci","children"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(862883===-parseInt(e(397))/1+-parseInt(e(421))/2*(-parseInt(e(395))/3)+-parseInt(e(400))/4+-parseInt(e(408))/5+-parseInt(e(419))/6*(parseInt(e(435))/7)+-parseInt(e(434))/8*(-parseInt(e(401))/9)+-parseInt(e(418))/10*(-parseInt(e(432))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const We=ze;function ze(t,e){const i=He();return(ze=function(t,e){return i[t-=431]})(t,e)}function He(){const t=["666819kIICKq","fire","div","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision__controls-wrapper","set","change","listenTo","_requireRevisionName","highlight","name","map","setName","isActionsDropdownOpen","value","revisionNameView","creator","ck-revision-history-sidebar__actions_dropdown_open","uiLanguage","srcElement","deselect","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","closest","element","ck-disabled",".ck-thread__remove-confirm","from","isConfirm","revisionActionsView","8BObxbY","setTemplate","fieldView","createdAt","unshift","715146YwzQIf","authors","940308NJtwVL","1582476ABCMjy","_createdAtFormatted","isReady","isHighlighted","220","_revision","ck-revision-history-sidebar__revision-wrapper","render","bind","isSelected","select","span","1979106pTjfsd","ck-revision-history-sidebar__revision-authors","unhighlight","ck-reset","6830824DvUNoG","filter","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision","extendTemplate","isEnabled","bindTemplate","length","682890LllnxP"];return(He=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(420785===-parseInt(e(456))/1+parseInt(e(493))/2+-parseInt(e(491))/3*(parseInt(e(486))/4)+parseInt(e(455))/5+parseInt(e(443))/6+-parseInt(e(431))/7+parseInt(e(447))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[We(471)];[We(485)];[We(436)];[We(464)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(453)],a=function(t,e){const i=r,s=Array[i(483)](e[i(492)])[i(448)]((t=>t!=e[i(472)]));return e[i(472)]&&s[i(490)](e[i(472)]),s[i(467)]((s=>new Ve(t,s,s==e[i(472)])))}(e,i);this.id=i.id,this[r(436)]=i,this[r(464)]=n,this[r(439)](r(466),r(489)).to(i),this[r(439)](r(432)).to(this,r(489),(t=>{return i=e[r(474)],(s=t)[(n=Me)(180)](i,{month:n(191),day:n(185)})+", "+s[n(181)](i,{hour:n(185),minute:n(185)});var i,s,n})),this[r(461)](r(440),!1),this[r(461)](r(434),!1),this[r(461)](r(469),!1),this[r(461)](r(433),!1),this[r(461)](r(452),!1),this[r(471)]=new Te(e,pt.createLabeledInputText),this[r(471)][r(488)][r(451)]({attributes:{maxlength:r(435)}}),this[r(471)][r(488)][r(439)](r(470)).to(this,r(466),(t=>t||this[r(432)])),this[r(471)][r(439)](r(452)).to(this,r(440),this,r(452),((t,e)=>t&&e)),this[r(485)]=s&&s[r(454)]?function(e,i){const s=Fe,n=e[s(399)],r=e[s(426)],o=(0,pt.createDropdown)(r);o[s(402)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(426)],n={"Compare against selected":Q(s,i(427)),"Name this revision":Q(s,i(412)),"Restore this revision":Q(s,i(436))};return e[i(441)]((t=>{const e=i,s=n[t[e(428)]];return s&&s!==t[e(428)]&&(t[e(428)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(394),model:new pt.ViewModel({label:t[n(428)],class:t[n(393)],withText:!0,role:n(409),_action:t[n(430)]})};i[n(404)][n(403)](n(439)).to(e,n(437),(i=>n(405)!=typeof t[n(439)]||!i||t[n(439)](e))),o[n(429)](i)}return o}(e,i);return e[s(403)](s(437)).to(o,s(423)),o[s(392)][s(406)]({label:Q(r,s(414)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(424)]({attributes:{class:[s(411),n.if(s(437),s(415))]},on:{click:n.to((t=>t[s(438)]()))}}),o.on(s(410),(t=>{const i=s;e[i(431)]&&i(405)==typeof t[i(413)][i(407)]&&t[i(413)][i(407)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(440)}),o[s(420)](e,s(422),((t,n,r)=>{const a=s;if(r)for(const t of o[a(416)][a(398)]){const s=t[a(433)][a(425)],n=i[a(396)]((t=>t[a(430)]===s[a(407)]))[a(417)];t[a(417)]=void 0===n||n(e)}})),o}(this,s):"",this[r(485)]&&this[r(485)][r(439)](r(452)).to(this),this[r(487)]({tag:r(458),attributes:{class:["ck",r(446),r(437),o.if(r(484),r(477))]},children:[{tag:r(458),attributes:{class:["ck",r(446),r(450),o.if(r(452),r(481),(t=>!t)),o.if(r(440),r(449)),o.if(r(434),r(478)),o.if(r(469),r(473))]},children:[this[r(471)],{tag:r(442),attributes:{class:["ck",r(459)]},children:[{text:o.to(r(432))}]},{tag:r(458),attributes:{class:["ck",r(460)]},children:[{tag:"ul",attributes:{class:["ck",r(444)]},children:a}]},this[r(485)]],on:{click:o.to((t=>{const e=r;t[e(475)][e(479)](e(482))||this[e(433)]&&this[e(452)]&&this[e(457)](e(441),{id:this.id})}))}}]})}[We(438)](){const t=We;super[t(438)]();const e=this[t(471)][t(488)][t(480)];this[t(463)](e,t(462),(()=>{const i=t;this[i(464)]&&!e[i(470)]||this[i(457)](i(468),{id:this.id,name:e[i(470)]}),e[i(470)]||(e[i(470)]=this[i(466)]?this[i(466)]:this[i(432)])}))}[We(441)](){this[We(440)]=!0}[We(476)](){this[We(440)]=!1}[We(465)](){this[We(434)]=!0}[We(445)](){this[We(434)]=!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 Xe extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}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 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 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 Ai={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Hi{static fromOpts(t){return Hi.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 Hi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Hi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Hi.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,Ks,(()=>{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 Ui=null;class Zi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}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 Xi({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 Ki,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 Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Hi.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 Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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 Hs(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 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"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];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 Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Hs(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0: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[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Hn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=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),Xn=fn(In),Kn=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||Hi.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:Hi.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||Hi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Hi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Hi.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=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(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,Hs);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=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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 Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function 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(Hi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hr(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 Ur(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 Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Hi.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 Kr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Hi.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 Xr({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,Xr({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:Hi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Hi.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:Hi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Hi.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],[Hn,$n],[Un,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),[Dn,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=Hi.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],[Xn,Kn])}(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,Hi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Hi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?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(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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=Hr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Hr(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":"")+Ur(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?Hr(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),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(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(Hi.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=Hi.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=Hi.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(t,e){const i=oo();return(no=function(t,e){return i[t-=468]})(t,e)}function ro(t,e){const i=no,s=io[i(480)](t)[i(478)](e),n=io[i(475)](),r=n[i(493)]({days:1})[i(489)](i(484));let o,a;return s[i(476)](n,i(484))?(o=s[i(489)](i(484))[i(483)](),a=s[i(487)]()):s[i(476)](r,i(484))?(o=r[i(483)](),a=s[i(487)]()):s[i(476)](n,i(486))?(o=s[i(489)](i(486))[i(483)](),a=s[i(479)]||""):s[i(476)](n,i(472))?(o=s[i(489)](i(490))[i(483)](),a=s[i(482)]||""):(o=s[i(489)](i(472))[i(483)](),a=String(s[i(472)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["startOf","month","4OAXXHZ","10899657RelpXX","minus","176UicJxJ","9920360YIVium","8EZkKil","16793lNVLNy","year","9907wRlQgS","1854xoKmCP","local","hasSame","39210AIPjCG","setLocale","weekdayLong","fromJSDate","737rSSAOR","monthLong","toJSDate","day","220404eSIiLq","week","toRelativeCalendar","5213710GGFmJC"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(790919===-parseInt(e(473))/1*(parseInt(e(468))/2)+parseInt(e(477))/3+parseInt(e(491))/4*(-parseInt(e(488))/5)+parseInt(e(474))/6*(-parseInt(e(471))/7)+parseInt(e(470))/8*(parseInt(e(492))/9)+parseInt(e(469))/10+-parseInt(e(481))/11*(-parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);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=fo();return(lo=function(t,e){return i[t-=378]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(822717===-parseInt(e(395))/1+-parseInt(e(390))/2*(parseInt(e(399))/3)+parseInt(e(394))/4+parseInt(e(392))/5*(parseInt(e(388))/6)+parseInt(e(405))/7*(parseInt(e(396))/8)+-parseInt(e(387))/9+-parseInt(e(401))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(400)];[uo(391)];[uo(397)];[uo(385)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(389)][n(382)])[n(384)];this[n(400)]=e,this[n(391)]=this[n(408)](),this[n(397)]=i,this[n(385)]=s,this[n(391)][n(383)](n(406)).to(this),this[n(391)][n(383)](n(404)).to(this),this[n(393)]({tag:n(381),attributes:{class:["ck",n(380)]},children:[{tag:n(403),attributes:{class:["ck",n(402)]},children:[{text:r}]},{tag:n(381),attributes:{class:["ck",n(379)]},children:this[n(391)]}]})}[uo(398)](t){const e=uo,i=new Ue(this[e(389)],t,this[e(397)],this[e(385)]);this[e(391)][e(409)](i)}[uo(386)](t){const e=uo,i=this[e(391)][e(378)]((e=>e.id===t.id));this[e(391)][e(407)](i)}}function fo(){const t=["revisionViews","5858205HJdFmH","setTemplate","4563412kyQWXR","108462VGSknA","49624GXYRsr","_revisionActions","addRevision","1813782tfBmWW","startDate","252220DiKXEm","ck-revision-history-sidebar__time-period__label","span","setName","238EgImXD","select","remove","createCollection","add","find","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","div","uiLanguage","delegate","localizedPeriodName","_requireRevisionName","removeRevision","8661609JuttTl","6QmTich","locale","2cjdsXT"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=359]})(t,e)}function go(){const t=["9OraEjl","ck-reset_all","span","328koGwNb","11808214ttObSI","Revision history","81bOAcyP","div","119631dyGltW","48264cLOKHT","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","497HlhWLW","1136358laIppD","23745AuufVG","30316IIMYps","setTemplate","5599630HLzbkz","content"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(336648===parseInt(e(374))/1+-parseInt(e(362))/2*(parseInt(e(372))/3)+-parseInt(e(369))/4*(parseInt(e(361))/5)+-parseInt(e(360))/6+parseInt(e(359))/7*(-parseInt(e(375))/8)+parseInt(e(366))/9*(parseInt(e(364))/10)+parseInt(e(370))/11)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(365)]=mt.IconHistory,this[e(363)]({tag:e(373),attributes:{class:["ck",e(367),e(377)]},children:[i,{tag:e(368),attributes:{class:["ck",e(376)]},children:[Q(t,e(371))]}]})}}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=Io();return(wo=function(t,e){return i[t-=124]})(t,e)}const _o=wo;function Io(){const t=["remove","highlightRevisions","825897zGNstB","_addRevision","some","4lxnNAk","startDate","highlight","5584656NpYJNT","createdAt","isEnabled","set","revisionViews","ck-reset","flat","64UonPWe","get","482580ScwBIG","_removeRevision","setTemplate","find","createCollection","select","_revisionActions","div","delegate","298899qCRNRX","map","_revisions","ck-revision-history-sidebar__timeline","70rCyhrN","setName","ck-disabled","addRevision","getTime","timePeriodViews","deselect","revisionSelected","bindTemplate","20IOamPM","removeRevision","revisionSetName","selectRevision","ck-revision-history-sidebar","ck-rounded-corners","render","23661ipBPhy","add","_getTimePeriodViewByStartDate","unhighlight","uiLanguage","locale","_requireRevisionName","2005468DbwZbX","947719qHfget","fire"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(508469===parseInt(e(132))/1+-parseInt(e(131))/2+parseInt(e(136))/3*(-parseInt(e(139))/4)+parseInt(e(173))/5*(parseInt(e(151))/6)+parseInt(e(142))/7+-parseInt(e(149))/8*(parseInt(e(160))/9)+-parseInt(e(164))/10*(parseInt(e(124))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(169)];[_o(162)];[_o(157)];[_o(130)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(172)];this[n(169)]=this[n(155)](),this[n(169)][n(159)](n(156)).to(this),this[n(169)][n(159)](n(165)).to(this),this[n(162)]=e,this[n(157)]=i,this[n(130)]=s,this.on(n(156),((t,e)=>{const i=n;this[i(133)](i(171),e)})),this.on(n(165),((t,e)=>{const i=n;this[i(133)](i(175),e)})),this[n(145)](n(144),!1),this[n(153)]({tag:n(158),attributes:{class:["ck",n(147),n(178),n(177)]},children:[new yo(t),{tag:n(158),attributes:{class:["ck",n(163),r.if(n(144),n(166),(t=>!t))]},children:this[n(169)]}]})}[_o(179)](){const t=_o;super[t(179)]();for(const e of this[t(162)])this[t(137)](e);this[t(162)].on(t(125),((e,i)=>{this[t(137)](i)})),this[t(162)].on(t(134),((e,i)=>{this[t(152)](i)}))}get[_o(146)](){const t=_o;return this[t(169)][t(161)]((e=>e[t(146)][t(161)]((t=>t))))[t(148)]()}[_o(176)](t){const e=_o;for(const i of this[e(146)])t&&t.id===i.id?i[e(156)]():i[e(170)]()}[_o(135)](t){const e=_o;for(const i of this[e(146)])t[e(138)]((({id:t})=>t===i.id))?i[e(141)]():i[e(127)]()}[_o(137)](t){const e=_o,i=ro(t[e(143)],this[e(129)][e(128)])[e(140)];let s=this[e(169)][e(150)](0);s&&s[e(140)][e(168)]()===i[e(168)]()||(s=new ho(this[e(129)],i,this[e(157)],this[e(130)]),this[e(169)][e(125)](s)),s[e(167)](t)}[_o(152)](t){const e=_o,i=ro(t[e(143)],this[e(129)][e(128)])[e(140)];this[e(126)](i)[e(174)](t)}[_o(126)](t){const e=_o;return this[e(169)][e(154)]((i=>i[e(140)][e(168)]()===t[e(168)]()))}}const Oo=No;function To(){const t=["130956ianzjR","add","data","listenTo","getRevisionsInDiff","13AiugpS","6934840pVJNhW","appendChild","RevisionsSidebar","compare","restoreRevision","restoreRevisionCallback","Name this revision","getIndex","length","getEarlierVisibleRevision","compareAgainstSelected","name","string","get","timePeriodViews","element","config","getRevision","editor","nameRevision","_createRevisionActions","_revisionsRepository","Restore this revision","assign","454041ogGXVr","init","requires","136cOLrEy","_revisionViewer","163492BLQYca","repository","isVisible","isOfficialPlugin","selectRevision","2493885DDZEDW","render","revisionSetName","bind","isReady","isEnabled","plugins","map","revisionHistory.requireRevisionName","Compare against selected","revisionHistory.viewerSidebarContainer","setName","select","16142863wFFcsG","isPremiumPlugin","_handleRevisionSetName","availableRevisionActions","_handleDiffChange","isSelected","28MoScri","locale","pluginName","destroy","ready","_sidebarView","defaultRevisionActions","focus","fieldView","newRevisionId","_revisions","action","remove","114843KLzUcq","change:diff","revisionHistory","revisionHistory.revisionActions","revisionSelected","diff","_handleRevisionSelected","_handleEditorDataReady","getLaterVisibleRevision","120azMOnV","revisionViews","highlightRevisions"];return(To=function(){return t})()}!function(t){const e=No,i=t();for(;;)try{if(480844===parseInt(e(420))/1*(-parseInt(e(415))/2)+parseInt(e(403))/3*(-parseInt(e(390))/4)+-parseInt(e(371))/5+parseInt(e(412))/6*(parseInt(e(366))/7)+-parseInt(e(364))/8*(-parseInt(e(361))/9)+-parseInt(e(421))/10+parseInt(e(384))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends H.Plugin{[Oo(365)];[Oo(358)];[Oo(395)];static[Oo(396)]=[Oo(431),Oo(425),Oo(356)];static[Oo(387)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(380),action:({plugins:e},i)=>{const s=t,n=e[s(434)](ee),r=n[s(367)];let o=n[s(408)][s(399)],a=i.id;r[s(428)](o)>r[s(428)](a)&&([o,a]=[a,o]),n[s(424)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(434)](ee);return!(n[s(367)][s(419)](n[s(408)])[s(429)]>2||i[s(389)])}},restoreRevision:{name:t(359),action:(e,{id:i})=>{const s=t;e[s(353)][s(434)](s(405))[s(426)](i)},isVisible:({plugins:e},i)=>!!e[t(434)](ee)[t(367)][t(411)](i.id)},nameRevision:{name:t(427),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(434)](ee),o=r[n(367)][n(430)](i);r[n(424)](i,o),s[n(397)](),s[n(398)][n(383)]()}}}}();static get[Oo(392)](){return Oo(423)}static get[Oo(369)](){return!0}static get[Oo(385)](){return!0}static get[Oo(363)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(365)]=t[e(377)][e(434)](ee),this[e(358)]=this[e(365)][e(367)],this[e(395)]=null}[Oo(362)](){const t=Oo,e=this[t(358)][t(400)],i=this[t(357)](),s=this[t(355)][t(353)][t(434)](t(381));this[t(395)]=new So(this[t(355)][t(391)],e,i,this[t(355)][t(353)][t(434)](t(379))),this[t(395)].on(t(407),this[t(409)][t(374)](this)),this[t(395)].on(t(373),this[t(386)][t(374)](this)),this[t(395)][t(374)](t(376)).to(this[t(365)]),this[t(395)][t(351)].on(t(416),((e,i)=>{const s=t;i[s(413)].on(s(416),((t,e)=>{const i=s;e[i(374)](i(376),i(375)).to(this[i(365)])}))})),this[t(395)][t(372)](),this[t(418)](this[t(355)][t(417)],t(394),this[t(410)][t(374)](this)),this[t(418)](this[t(365)],t(404),this[t(388)][t(374)](this)),s[t(422)](this[t(395)][t(352)])}[Oo(393)](){const t=Oo;this[t(395)][t(352)][t(402)](),this[t(395)][t(393)]()}[Oo(410)](){const t=Oo,e=this[t(358)][t(354)](0);if(e){const i=this[t(358)][t(430)](e.id);this[t(365)][t(424)](e,i)}}[Oo(409)](t,e){const i=Oo,s=this[i(358)][i(354)](e.id),n=this[i(358)][i(430)](s.id);this[i(365)][i(424)](s,n)}[Oo(386)](t,e){const i=Oo;this[i(358)][i(354)](e.id)[i(382)](e[i(432)])}[Oo(388)](t,e,i){const s=Oo,n=this[s(358)][s(419)](i);n[s(429)]>2?(this[s(395)][s(414)](n),this[s(395)][s(370)](null)):(this[s(395)][s(414)]([]),this[s(395)][s(370)](n[0]))}[Oo(357)](){const t=Oo,e=this[t(355)],i=xo[t(387)],s=e[t(353)][t(434)](t(406))||xo[t(396)];if(s[t(429)])return s[t(378)]((s=>{const n=t,r=n(433)==typeof s?Object[n(360)]({},i[s]):s;return r[n(401)]=r[n(401)][n(374)](this,e),r[n(368)]&&(r[n(368)]=r[n(368)][n(374)](this,e)),r}))}}function No(t,e){const i=To();return(No=function(t,e){return i[t-=351]})(t,e)}const Ro=xo;function Ao(){const t=["stickyPanel","addToolbar","componentFactory","isFocused","editable","name","122510rZvxfY","limiterElement","render","destroy","viewportTopOffset","document","replace","init","getRoot","viewportOffset","ready","325820dUILCH","fire","318OVZBuS","18ewpxpO","get","_toolbarConfig","restore","8FZMFJU","element","192dOZsZg","editing","editor","toolbar","2yWGxTp","1270304ZKAAVf","fillFromConfig","396671ClPuJC","27905jdBheJ","config","view","bind","setEditableElement","attachDomRoot","focusTracker","detachDomRoot","isActive","_elementReplacer","613314jCpaFq","_initToolbar","rootName","_view","2804512tpLNqP"];return(Ao=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ao();return(Mo=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(225380===parseInt(e(289))/1*(-parseInt(e(286))/2)+parseInt(e(300))/3*(parseInt(e(329))/4)+-parseInt(e(290))/5*(-parseInt(e(324))/6)+-parseInt(e(287))/7+-parseInt(e(304))/8+parseInt(e(325))/9*(-parseInt(e(311))/10)+parseInt(e(322))/11*(parseInt(e(331))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Eo extends pt.EditorUI{[Vo(303)];[Vo(327)];[Vo(299)];get[Vo(292)](){return this[Vo(303)]}constructor(e,i){const s=Vo;super(e),this[s(303)]=i,this[s(327)]=(0,pt.normalizeToolbarConfig)(e[s(291)][s(326)](s(334))),this[s(299)]=new t.ElementReplacer}get[Vo(330)](){const t=Vo;return this[t(292)][t(330)]}[Vo(318)](t){const e=Vo,i=this[e(333)],s=this[e(292)],n=i[e(332)][e(292)],r=s[e(309)],o=n[e(316)][e(319)]();r[e(310)]=o[e(302)],s[e(313)]();const a=r[e(330)];this[e(294)](r[e(310)],a),s[e(309)][e(293)](e(308)).to(this[e(296)]),n[e(295)](a),this[e(299)][e(317)](t,this[e(330)]),this[e(301)](),this[e(323)](e(321))}[Vo(314)](){const t=Vo;super[t(314)]();const e=this[t(292)],i=this[t(333)][t(332)][t(292)];this[t(299)][t(328)](),i[t(297)](e[t(309)][t(310)]),e[t(314)]()}[Vo(301)](){const t=Vo,e=this[t(292)];e[t(305)][t(293)](t(298)).to(this[t(296)],t(308)),e[t(305)][t(312)]=e[t(330)],e[t(305)][t(293)](t(315)).to(this,t(320),(({top:t})=>t)),e[t(334)][t(288)](this[t(327)],this[t(307)]),this[t(306)](e[t(334)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(){var t=["render","3olSsAC","220HsnfRE","stickyPanel","shouldToolbarGroupWhenFull","11218149tsRdqt","_editable","toolbar","6358000EbPPBm","1203362iHdhNr","92465VaWYxR","editable","4580466KgsTed","add","main","548812HoxJex","content","831047WAJPEf","top"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=345]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(612228===parseInt(e(360))/1+-parseInt(e(347))/2*(parseInt(e(352))/3)+-parseInt(e(353))/4*(-parseInt(e(361))/5)+-parseInt(e(363))/6+-parseInt(e(349))/7+parseInt(e(359))/8+-parseInt(e(356))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(357)];[jo(354)];[jo(358)];get[jo(362)](){return this[jo(357)]}constructor(t,e,i={}){var s=jo;super(t),this[s(354)]=new pt.StickyPanelView(t),this[s(358)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(355)]}),this[s(357)]=new pt.InlineEditableUIView(t,e)}[jo(351)](){var t=jo;super[t(351)](),this[t(354)][t(348)][t(345)](this[t(358)]),this[t(350)][t(345)](this[t(354)]),this[t(346)][t(345)](this[t(362)])}}function Wo(){const t=["26554SJeBwP","create","destroy","createRoot","initPlugins","init","25StgfNK","2361150EmFgWk","locale","editing","data","updateSourceElement","config","5bsHbBH","_ui","view","get","sourceElement","model","625416fGMEwv","61032ccCdug","document","77uDQQWh","265208MhArLC","fire","ready","initialData","143031ffTKIp","1486737bkcfoC","35rsxAOF","108wBPsAp"];return(Wo=function(){return t})()}const zo=Ho;function Ho(t,e){const i=Wo();return(Ho=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(650043===-parseInt(e(344))/1*(parseInt(e(369))/2)+-parseInt(e(365))/3*(-parseInt(e(368))/4)+-parseInt(e(351))/5*(parseInt(e(357))/6)+parseInt(e(367))/7*(-parseInt(e(361))/8)+parseInt(e(366))/9+-parseInt(e(345))/10+parseInt(e(360))/11*(parseInt(e(358))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,H.ElementApiMixin)(H.Editor)){[zo(352)];get ui(){return this[zo(352)]}constructor(t,e){const i=zo;super(e),this[i(355)]=t,this[i(356)][i(359)][i(341)]();const s=new Po(this[i(346)],this[i(347)][i(353)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Eo(this,s)}[zo(371)](){const t=zo;return this[t(349)](),this.ui[t(371)](),super[t(371)]()}static async[zo(370)](t,e){const i=zo,s=new this(t,e);return await s[i(342)](),await s.ui[i(343)](t),await s[i(348)][i(343)](s[i(350)][i(354)](i(364))||""),s[i(362)](i(363)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=426]})(t,e)}function $o(){const t=["removeAttribute","catch","keys","set","toLocaleTimeString","requires","end","getRevisionRootsAttributes","revisionHistory.closeRevisionViewerCallback","uiLanguage","block","init","revision-history-missing-configuration","_enhanceCloseRevisionViewerCallback","createdAt","enableReadOnlyMode","Autosave","getRevisions","_viewerEditor","locale","data","_cleanUp","view","addRoot","_showRevisionViewer","RestrictedEditingMode","RevisionHistoryUI","RevisionHistory","indexOf","getUser","exitToEditing","_restoreRevision","toVersion","refreshPositioning","Dialog","lazyRoots","6121422LoTFsj","has","creator","numeric","element","enqueueChange","hide","DocumentOutline","isPremiumPlugin","adapter","toJSON","includes","document","loadRevisionData","removeMarker","RevisionHistoryUtils","7504OqmWeZ","getRevision","getMarkersGroup","refreshVisibility","roots","removeSelectionAttribute","changesNavigation","setAttribute","RevisionViewer","define","insert","isRevisionViewerOpen","2469800UUgcKU","RevisionTracker","isEnabled","closeRevisionViewerCallback","rootName","isOfficialPlugin","pluginName","destroy","isReady","_closeRevisionViewer","8GYmqZm","RevisionViewerIntegration","change","PaginationLookup","fromVersion","disableReadOnlyMode","users","editor","$graveyard","style","restrictedEditingException","revisionHistory.editorContainer","none","plugins","get","commands","translations","result","long","Restored","1726758MXJqie","save","model","1XHfoum","detachRoot","push","477692iEyIjh","Annotations","config","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer","Users","saveRevision","revisionHistory.requireRevisionName","973820kPWHif","addUser","parse","_getRevisionViewerEditorConfig","display","_update","markers","remove","join","revisionHistory.showRevisionViewerCallback","isReadOnly","toLocaleDateString","fromCharCode","map","createRangeIn","repository","getRevisionDocumentData","_recalculatePageBreaks","isAnonymous","getAttributeKeys","create","_enhanceShowRevisionViewerCallback","DocumentOutlineUI","update","isAttached","restoreRevision","getRoot","name","toolbar","isOpen","setSelection","from","addRevisionData","revisionHistory.viewerEditorElement","selection","then","bind","1546698ZwQiyv","RevisionsRepository","showRevisionViewerCallback","revision-history-viewer-opened","revisionHistory","error"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(375086===parseInt(e(505))/1*(-parseInt(e(508))/2)+-parseInt(e(502))/3+-parseInt(e(516))/4+parseInt(e(472))/5+parseInt(e(553))/6+parseInt(e(460))/7*(parseInt(e(482))/8)+parseInt(e(444))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(434),Zo(433)];class Yo extends H.Plugin{[Zo(499)];static get[Zo(478)](){return Zo(483)}static get[Zo(477)](){return!0}static get[Zo(452)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(529)]((t=>String[e(528)](t)))[e(524)]("")}super(t),this[e(499)]=e(565),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 H.Plugin{[Zo(426)];static get[Zo(478)](){return Zo(435)}static get[Zo(477)](){return!0}static get[Zo(452)](){return!0}static get[Zo(564)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(489)][i(510)][i(496)](i(557)))throw new t.CKEditorError(i(571),this);this[i(426)]=null,this[i(562)](i(471),!1),this[i(489)][i(510)][i(469)](i(525),(t=>this[i(432)]({...t,translations:this[i(489)][i(427)][i(498)]}))),this[i(489)][i(510)][i(469)](i(567),(t=>this[i(481)](t))),this[i(489)][i(510)][i(469)](i(511),(t=>this[i(439)](t))),this[i(489)][i(510)][i(469)](i(515),!1),this[i(537)](),this[i(572)]()}set[Zo(453)](t){const e=Zo;this[e(489)][e(495)][e(496)](e(473))[e(453)]=t}get[Zo(453)](){const t=Zo;return this[t(489)][t(495)][t(496)](t(473))[t(453)]}[Zo(548)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(473))[e(548)](t)}[Zo(461)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(554))[e(461)](t)}[Zo(576)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(554))[e(576)](t||{toJSON:!1})}[Zo(519)](){const e=Zo,i=this[e(489)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(495)][e(496)](e(473)),r=i[e(495)][e(496)](e(513))[e(488)];return s[e(544)]=[e(438),e(541),e(466)],delete s[e(443)],s[e(495)][e(507)](Yo,ee,be,class extends H.Plugin{static get[e(564)](){return[ee,e(513)]}[e(570)](){const s=e,o=this[s(489)][s(495)][s(496)](s(513));for(const t of r)t[s(534)]||o[s(437)](t.id)||o[s(517)](t);const a=n[s(531)][s(576)]();let c=null;const u=this[s(489)][s(495)][s(496)](s(468));u[s(453)]=n[s(453)],u[s(552)](s(474)).to(n),this[s(489)][s(497)][s(496)](s(541))[s(552)](s(474)).to(i,s(526),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(440)]===e[s(486)])continue;const r=e[s(454)]();u[s(548)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(521)](r,o);else if(!o){const e=a[u(454)]();e.id=(0,t.uid)(),n[u(514)](e,a[u(440)])[u(551)]((t=>{c=t}))}}else e[u(521)](r,o)}))}}},Ro),s}[Zo(537)](){const t=Zo,e=this[t(489)][t(510)][t(496)](t(557))[t(555)];this[t(489)][t(510)][t(562)](t(525),(async()=>{const i=t;this[i(489)][i(574)](i(556));const s=this[i(489)][i(495)][i(496)](i(473));if(this[i(489)][i(495)][i(445)](i(575))){const t=this[i(489)][i(495)][i(496)](i(575));await t[i(503)]()}else await s[i(539)]();if(this[i(489)][i(495)][i(445)](i(485))&&this[i(489)][i(495)][i(496)](i(485))[i(533)](),this[i(489)][i(495)][i(445)](i(442))){const t=this[i(489)][i(495)][i(496)](i(442));t[i(545)]&&t[i(450)]()}const n=this[i(519)]();return e(n)[i(551)]((t=>{const e=i;return this[e(426)]=t,this[e(489)][e(495)][e(445)](e(509))&&this[e(489)][e(495)][e(496)](e(509))[e(463)](),this[e(489)][e(495)][e(445)](e(451))&&(this[e(489)][e(495)][e(496)](e(538))[e(430)][e(448)][e(491)][e(520)]=e(494)),t}))[i(560)]((t=>(console[i(558)](t),this[i(489)][i(487)](i(556)),null)))}))}[Zo(572)](){const t=Zo,e=this[t(489)][t(510)][t(496)](t(557))[t(475)];this[t(489)][t(510)][t(562)](t(567),(()=>(this[t(489)][t(495)][t(445)](t(485))&&this[t(489)][t(495)][t(496)](t(485))[t(533)](),this[t(489)][t(495)][t(445)](t(451))&&(this[t(489)][t(495)][t(496)](t(538))[t(430)][t(448)][t(491)][t(520)]=""),this[t(426)][t(495)][t(496)](t(468))[t(429)](),e(this[t(426)])[t(551)]((()=>{const e=t;if(this[e(489)][e(487)](e(556)),this[e(426)]=null,this[e(489)][e(495)][e(445)](e(509))){const t=this[e(489)][e(495)][e(496)](e(509));t[e(463)](),t[e(441)]()}})))))}[Zo(432)](t){const e=Zo,i=this[e(489)][e(510)][e(496)](e(493)),s=this[e(489)][e(510)][e(496)](e(512)),n=this[e(489)][e(510)][e(496)](e(549));return Uo[e(536)](n,t)[e(551)]((t=>(s[e(491)][e(520)]=e(569),i[e(491)][e(520)]=e(494),this[e(471)]=!0,t)))}[Zo(481)](t){const e=Zo,i=this[e(489)][e(510)][e(496)](e(493));return this[e(489)][e(510)][e(496)](e(512))[e(491)][e(520)]=e(494),i[e(491)][e(520)]="",this[e(471)]=!1,t[e(479)]()}async[Zo(439)](t){const e=Zo,i=this[e(489)],s=this[e(426)][e(495)][e(496)](e(468)),n=i[e(495)][e(496)](e(473)),r=i[e(495)][e(496)](e(459)),o=s[e(531)][e(461)](t);let a,c,u;try{await r[e(457)](o,this[e(453)]),a=r[e(532)](o),c=r[e(566)](o)}catch(t){return void console[e(558)](t)}i[e(504)][e(484)]((t=>{const s=e;for(const e of Array[s(547)](i[s(504)][s(522)][s(462)](s(492))))t[s(458)](e)})),s[e(480)]=!1,i[e(504)][e(449)]((t=>{const s=e;t[s(546)](null),t[s(465)](i[s(504)][s(456)][s(550)][s(535)]());const n=Object[s(561)](a);for(const e of i[s(504)][s(456)][s(464)])s(490)!=e[s(476)]&&e[s(540)]()&&!n[s(455)](e[s(476)])&&t[s(506)](e);for(const e of n){let n=i[s(504)][s(456)][s(542)](e);n&&n[s(540)]()||(n=t[s(431)](e));const r=c[e],o=Object[s(561)](r),u=a[e];for(const e of n[s(535)]())o[s(455)](e)||t[s(559)](e,n);for(const i of o)t[s(467)](i,c[e][i],n);t[s(523)](t[s(530)](n)),t[s(470)](i[s(428)][s(518)](u,n),n,0)}}));const l=Q(i[e(427)],e(501));return u=o[e(543)]?-1==o[e(543)][e(436)](l)?l+": "+o[e(543)]:o[e(543)]:l+": "+o[e(573)][e(527)](i[e(427)][e(568)],{month:e(500),day:e(447)})+", "+o[e(573)][e(563)](i[e(427)][e(568)],{hour:e(447),minute:e(447)}),await n[e(514)]({name:u}),s[e(480)]=!0,i[e(510)][e(496)](e(557))[e(475)]()}}function Go(t,e){var i=Xo();return(Go=function(t,e){return i[t-=223]})(t,e)}function Xo(){var t=["202172FPrIzX","82254yduCHw","25pSlmYm","4652760NoRbta","12316491SdgXgV","2488536LjEkHg","2797932niNusD","27sXrZSe","638191tKBSHX"];return(Xo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(518441===-parseInt(e(225))/1+parseInt(e(226))/2*(parseInt(e(224))/3)+-parseInt(e(223))/4+parseInt(e(228))/5*(-parseInt(e(227))/6)+-parseInt(e(229))/7+parseInt(e(231))/8+parseInt(e(230))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo)})(),(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:()=>ee,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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case 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 V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(){const t=["fire","setName","577659scKfzC","authorsIds","12vjcpGB","creatorId","1274526dwHxVk","100xYbWZQ","232ZEReMX","setAttribute","diffData","68257dczJeb","set","6630RdIADt","creator","23875HInlNQ","_update","removeAttribute","map","toJSON","name","createdAt","authors","attributes","511146qunrWi","fromVersion","75771KQuKZg","12485XZlyNu","model","toVersion"];return(L=function(){return t})()}const P=W;function W(t,e){const i=L();return(W=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(280675===parseInt(e(239))/1*(-parseInt(e(247))/2)+-parseInt(e(245))/3+parseInt(e(250))/4*(parseInt(e(258))/5)+-parseInt(e(237))/6+parseInt(e(254))/7*(parseInt(e(251))/8)+-parseInt(e(249))/9+-parseInt(e(256))/10*(-parseInt(e(240))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class z extends((0,t.ObservableMixin)()){id;[P(257)];[P(235)];[P(253)];[P(242)];[P(238)];[P(241)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(257)]=e[i(257)]||null,this[i(235)]=e[i(235)]||[],this[i(253)]=e[i(253)]||null,this[i(242)]=e[i(242)]||0,this[i(238)]=e[i(238)]||0,this[i(255)](i(263),e[i(263)]||""),this[i(255)](i(264),e[i(264)]||new Date),this[i(255)](i(236),e[i(236)]||{})}[P(244)](t){this[P(259)]({name:t})}[P(252)](t,e){const i=P,s=R(this[i(236)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(259)]({attributes:s})}[P(260)](t){const e=P,i=R(this[e(236)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(259)]({attributes:i})}[P(259)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(263),i(264),i(253),i(235),i(236),i(242),i(238),i(248)];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(235)]&&(n[i(246)]=n[i(235)][i(261)]((t=>t.id)),delete n[i(235)]),this[i(243)](i(259),n,e))}[P(262)](){const t=P;return{id:this.id,name:this[t(263)],creatorId:this[t(257)]?this[t(257)].id:null,authorsIds:this[t(235)][t(261)]((t=>t.id)),diffData:this[t(253)],createdAt:this[t(264)],attributes:this[t(236)],fromVersion:this[t(238)],toVersion:this[t(242)]}}}var H=i(782),U=i(211),Z=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=499]})(t,e)}function B(){const t=["RevisionsRepository","data","36550qYgLJW","getRevisions","getRevisionsIterator","diffData","afterInit","join","13378ymTsnQ","addRevision","getIndex","getEarlierVisibleRevision","7GwlGLj","authorsIds","getRevision","getRevisionsInDiff","toJSON","createdAt","281340zHdHNS","172896IWqhUR","requires","getLaterVisibleRevision","attributes","newRevisionId","2UAfkEM","reverse","fromCharCode","from","isNaN","747312gUDJHI","_revisions","later","map","221868wsUjZg","editor","push","plugins","get","add","name","getUser","oldRevisionId","toVersion","creatorId","828054vyQrrM","href","isPremiumPlugin","createRevision","isOfficialPlugin","fromVersion","80zWTCNE","length","earlier","pluginName","Users"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(105451===-parseInt(e(543))/1*(-parseInt(e(504))/2)+parseInt(e(553))/3+-parseInt(e(499))/4+parseInt(e(537))/5+parseInt(e(524))/6*(parseInt(e(547))/7)+parseInt(e(509))/8+-parseInt(e(513))/9*(parseInt(e(530))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends H.Plugin{[q(510)];static get[q(500)](){return[U.Users]}static get[q(533)](){return q(535)}static get[q(528)](){return!0}static get[q(526)](){return!0}get[q(531)](){const t=q;return this[t(510)][t(531)]}constructor(e){const i=q;super(e),this[i(510)]=new t.Collection}[q(541)](){!async function(e){const i=k([66,65,53,86,90,85,56,112,109,54,77,87,98,113,97,50,115,122,100,107,67,108,120,88,70,48,81,72,73,116,82,49,103,84,110,74,68,55,105,78,111,117,106,79,71,51,99,104,119,102,101,89,57,76,114,75,52,118,69,121,83,80]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(508)](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([66]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(512)]((t=>String[e(506)](t)))[e(542)]("")}!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:1743984e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(525)]);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(527)](t){const e=q,i=this[e(514)][e(516)][e(517)](e(534));return new z({id:t.id,name:t[e(519)],creator:t[e(523)]?i[e(520)](t[e(523)]):null,diffData:t[e(540)]||t[e(536)],authors:t[e(548)][e(512)]((t=>i[e(520)](t))),createdAt:new Date(t[e(552)]),attributes:t[e(502)],fromVersion:t[e(529)],toVersion:t[e(522)]})}[q(544)](t,e=0){const i=q;this[i(510)][i(518)](t,e)}[q(549)](t){const e=q;return this[e(510)][e(517)](t)}[q(538)](t={toJSON:!1}){const e=q,i=Array[e(507)](this[e(510)]);return i[e(505)](),t[e(551)]?i[e(512)]((t=>t[e(551)]())):i}[q(545)](t){const e=q;return this[e(510)][e(545)](t)}[q(546)](t){const e=q,[,i]=this[e(539)](t,{direction:e(532)});return i}[q(501)](t){const e=q,[,i]=this[e(539)](t,{direction:e(511)});return i}[q(550)](t){const e=q,i=[];for(const s of this[e(539)](t[e(503)]))if(i[e(515)](s),s.id===t[e(521)])break;return i}*[q(539)](t,{direction:e=q(532),filter:i=()=>!0}={}){const s=q,n=s(532)===e?1:-1;let r=this[s(510)][s(517)](t),o=this[s(545)](r);for(yield r;r;){if(o+=n,r=this[s(549)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["render","view","data","data-revision-","insertions","get","map","1gEnpVw","htmlProcessor","document","4883385nBeOWb","editor","getRevision","viewChildrenToDom","isAttached","collaboration.channelId","append","processor","16821kdxBUF","length","diffData","attachChange","getRevisionDocumentData","_typeCharToViewClass","5380sBhVVu","2228322XHXujf","config","customProperties","_getViewFromDiffObj","name","loadRevisionData","revision-start","RevisionHistoryUtils","pluginName","isPremiumPlugin","fillerOffset","18931FxSvkL","domConverter","_setCustomProperty","toModel","attributes","createElement","marked","getRevisionRootsAttributes","forEach","string","childNodes","revision-end","innerHTML","isOfficialPlugin","_getTypeCharForViewElement","toData","3RsTcmM","6607620cwPvtY","children","domChildrenToView","editing","_appendChild","parse","constructor","from","attributesAfter","startsWith","div","filter","_removeRevisionMarkers","useFillerType","domDocument","1856Lzlgsv","107390BVmNqq","getFillerOffset","2383440fMQPDI","default","type","_makeModelFromViewString","_viewClassToTypeChar"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(962729===-parseInt(e(321))/1*(parseInt(e(307))/2)+-parseInt(e(366))/3*(parseInt(e(309))/4)+-parseInt(e(324))/5+parseInt(e(339))/6+-parseInt(e(332))/7*(-parseInt(e(306))/8)+parseInt(e(367))/9+-parseInt(e(338))/10*(-parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends H.Plugin{static get[J(347)](){return J(346)}static get[J(363)](){return!0}static get[J(348)](){return!0}[J(313)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(337)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(344)](t,e){const i=J;if(t[i(334)]||!e)return;const s=this[i(325)][i(340)][i(319)](i(329)),n=await e[i(326)]({channelId:s,revisionId:t.id});t[i(334)]=n[i(334)]}[J(336)](t){const e=J,i={};for(const s in t[e(334)]){if(t[e(334)][s][e(335)]&&!t[e(334)][s][e(335)][e(328)])continue;const n=this[e(303)](JSON[e(296)](t[e(334)][s][e(318)])),r=this[e(325)][e(294)][e(315)][e(323)],o=new Z.ViewDocumentFragment(r,n[e(320)]((t=>this[e(342)](t,!1))));this[e(325)][e(316)][e(331)][e(304)](e(356)),i[s]=this[e(325)][e(316)][e(331)][e(365)](o),this[e(325)][e(316)][e(331)][e(304)](e(310))}return i}[J(357)](t){const e=J,i={};for(const s in t[e(334)])t[e(334)][s][e(335)]&&!t[e(334)][s][e(335)][e(328)]||(i[s]=t[e(334)][s][e(299)]||{});return i}[J(364)](t){const e=J;return this[e(313)][e(319)](t[e(297)])}[J(342)](t,e){const i=J,s=this[i(325)][i(294)][i(315)][i(323)];if(i(359)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(311)]||"r"==t[i(311)]?[]:t[i(368)][i(320)]((t=>this[i(342)](t,e)));const o=this[i(337)][i(319)](t[i(311)])||Z.ViewElement,a=this[i(325)][i(316)][i(322)][i(351)];if(n=new o(s,t[i(343)],t[i(354)],r),"u"==t[i(311)]&&t[i(368)][0]){const r=t[i(368)][0];if(n[i(314)]=function(t){const e=i,s=t[e(355)](e(301));return s[e(362)]=r,s[e(360)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(295)](n);const e=Array[i(298)](a[i(327)](t,{bind:!1})),r=a[i(305)][i(355)](i(301));r[i(330)](...e),n=Array[i(298)](a[i(293)](r))[0]}}else if("r"==t[i(311)]&&t[i(368)][0]){const r=t[i(368)][0];if(n[i(314)]=function(t){t[i(362)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(295)](n);const e=Array[i(298)](a[i(327)](t,{bind:!1})),r=a[i(305)][i(355)](i(301));r[i(330)](...e);const o=Array[i(298)](a[i(293)](r));o[i(333)]>1?n[i(295)](o):n=o[0]}}if(t[i(341)])for(const[e,s]of t[i(341)])n[i(352)](e,s);const c=void 0===t[i(349)]?null:t[i(349)];return null!==c&&(n[i(308)]=()=>c),n}}[J(312)](t){const e=J,i=JSON[e(296)](t),s=this[e(325)][e(294)][e(315)][e(323)],n=new Z.ViewDocumentFragment(s,i[e(320)]((t=>this[e(342)](t,!0))));return this[e(325)][e(316)][e(353)](n)}[J(303)](t){const e=J;return(t=t[e(302)]((t=>!t[e(343)]||e(345)!==t[e(343)]&&e(361)!==t[e(343)])))[e(358)]((t=>{const i=e;i(359)!=typeof t&&(t[i(368)]=this[i(303)](t[i(368)]),t[i(354)]=t[i(354)][i(302)]((t=>!t[0][i(300)](i(317)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case 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=ct;function ot(){const t=["_saveMetaData","rootsAttributes","846644xJdTgq","currentRevision","_getViewJson","uiElement","render","_baseIdsRoots","deletion","documentFragment","graveyardPosition","diffData","previousPosition","_revisionDataBuilder","_touchedMarkers","insert","createPositionAfter","RevisionsRepository","5350365udkFNl","_lastFrom","move","addRoot","NEGATIVE_INFINITY","history","reverse","getRevision","nodeAfter","resolve","loadRevisionData","_handleInsertOperation","creatorId","nodes","adapter","afterInit","setSource","_continueCurrentRevision","_authorId","repository","data","creator","64BCgHTq","getMovedRangeStart","createElement","newValue","rootName","revisionHistoryLicenseKeyValid","filter","isAdd","includes","RevisionHistory","keepParagraph","_processRootBeforeSave","vid","deletions","rawElement","some","upcast","loadState","isPremiumPlugin","updateRevisions","_savedMetaData","isReady","version","getAttribute","htmlProcessor","_getBaseVids","stringify","_getVidAttributeName","_reset","_lastTo","trim","revisionHistoryLicenseKeyUsageLimit","merge","expired","_source","_loadedStateData","revisionHistoryLicenseKeyDomainLimit","document","finally","_copyMarkers","_handleMoveOperation","getUser","parent","_makeModelFromViewString","_getTypeCharForViewElement","trialLimit","targetPosition","_markers","max","reinsert","evaluationLimit","removeRootAttribute","start","_revisionId","init","getData","_licenseKeyCheckInterval","split","PENDING_ACTION_REVISION_HISTORY","_createCurrentRevision","remove","domDocument","2365542gxmHWW","end","_setConversion","buildRevisionData","_isInit","_cloneOperation","delete","revisionHistoryLicenseKeyExpired","toVersion","createRangeIn","then","howMany","isOfficialPlugin","_handleSplitOperation","clear","2174120gMxwXQ","stickiness","1620367qFDVHR","6811842ETwmIe","getIndex","getFillerOffset","_pendingAction","_isPendingUpdate","getCurrentRevisionId","_bufferedUpdates","addRevision","pluginName","authors","_markChanges","tableCell","fromEntries","find","getRevisionRootsAttributes","name","source","RealTimeCollaborationClient","_calculateMetaData","_makeRevision","plugins","getRange","_removeMetaData","size","Empty document","for","hasContent","type","keys","_transformMarkers","_utils","getRevisions","fromVersion","collaboration.channelId","position","roots","createPositionBefore","newRange","_idsRoots","detachRoot","ready","outerHTML","getAttributes","startsWith","_diffRoots","_update","bind","_fixOperation","domConverter","map","_makeIdsRoot","attributesBefore","insertionPosition","_generateTape","licenseKey","featureNotAllowed","_getState","_appendChild","domainLimit","attributesAfter","$text","clone","revisionHistoryLicenseKeyEvaluationLimit","reInit","getRootNames","_touchedRoots","_setAttribute","_execute","_fixPosition","from","_handleRootAttributeOperation","4xPAfDB","getChildren","_removePendingAction","vid_end","elementEnd","affectsData","slice","baseVersion","get","getNodeByPath","dataToMarker","paragraph","_operations","_handleRootOperation","addRevisionData","config","set","_startingRevisionId","createPositionFromPath","destroy","insertions","RevisionTracker","isEnabled","getRoot","root","define","offsetSize","invalid","customProperties","initialData","add","string","requires","sendBufferedUpdates","changeRootAttribute","elementStart","_handleMarkerOperation","RevisionHistoryUtils","revision","createdAt","setRevisionData","_prepareViewToSave","shift","createRange","_handleMergeOperation","_touched","innerHTML","children","getTime","_baseRoots","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyNotAllowed","_bufferUpdate","marker","_showLicenseError","_getPreviousFrom","insertion","_startingVersion","fillerOffset","usageLimit","saveRevision","_initialRevisionId","revisionHistoryLicenseKeyTrialLimit","attachChange","locale","toView","_findInsertionIndex","conversion","getTransformedByOperation","values","push","oldRange","$comment","vid_start","Initial revision","getRevisionDocumentData","splitPosition","_createFromRanges","PendingActions","$graveyard","getAncestors","sourcePosition","_diffRootsAttributes","authorsIds","userId","_loadState","isEqual","model","text","addRootAttribute","_createInitialRevision","getWalker","_getFromVersion","_isAttached","revision:","getChild","1717326WmnIXJ","_replaceEditorDataWithRevisionData","getLatestVersion","_applyOperations","item","markers","isAttached","length","dataDowncast","range","initial","update","createRevision","createPositionAt","getCustomProperties","childCount","getOperations","editor","editor-initial-data-replaced-with-revision-data","element","_clone","path","key","revisionHistory.resumeUnsavedRevision","markerToData","sort","offset","getOperation","_baseRootsAttributes","_addPendingAction","_fixRange","_handleOperation","has","_insertChild","Users"];return(ot=function(){return t})()}!function(t){const e=ct,i=t();for(;;)try{if(948498===parseInt(e(305))/1+-parseInt(e(420))/2+-parseInt(e(405))/3+parseInt(e(494))/4*(parseInt(e(321))/5)+-parseInt(e(423))/6+parseInt(e(422))/7*(parseInt(e(343))/8)+parseInt(e(268))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends H.Plugin{[rt(477)];[rt(399)];[rt(306)]=null;[rt(340)];[rt(335)]=null;[rt(316)];[rt(377)];[rt(555)];[rt(429)];[rt(453)];[rt(426)];[rt(338)];[rt(551)];[rt(378)];static get[rt(431)](){return rt(515)}static get[rt(417)](){return!0}static get[rt(361)](){return!0}static get[rt(526)](){return[U.Users,Y,X,H.PendingActions]}constructor(e){const i=rt;super(e),this[i(340)]=this[i(285)][i(443)][i(502)](i(320)),this[i(453)]=this[i(285)][i(443)][i(502)](i(531)),this[i(316)]=new ut(this[i(285)]),this[i(555)]=this[i(285)][i(509)][i(502)](i(456))||i(278),this[i(429)]=new Map,this[i(378)]=null;const s=(0,t.uid)();this[i(377)]={history:this[i(285)][i(259)][i(380)][i(326)],getLatestVersion:()=>Promise[i(330)](this[i(285)][i(259)][i(380)][i(365)]),getCurrentRevisionId:()=>s},this[i(510)](i(364),!1),this[i(510)](i(516),!0),this[i(510)](i(427),!1),this[i(285)][i(509)][i(519)](i(291),!0),this[i(285)][i(561)][i(448)](i(359))[i(504)]({view:i(532)})}[rt(397)](){const t=rt;this[t(407)](),this[t(285)][t(341)].on(t(463),(()=>{const e=t,i=this[e(340)][e(328)](0),s=i&&null===i[e(342)]?i:null;if(this[e(338)]=!!s&&this[e(285)][e(509)][e(502)](e(291)),this[e(285)][e(443)][e(300)](e(440))){const t=this[e(377)][e(428)](),n=this[e(340)][e(328)](t);if(n)this[e(551)]=n[e(455)],this[e(338)]=!1;else{const t=this[e(377)][e(326)][e(506)][e(436)]((t=>!t[e(409)])),n=t?t[e(501)]:this[e(377)][e(326)][e(365)];i?(i[e(413)]<n&&i[e(468)]({toVersion:n}),this[e(338)]?(this[e(377)][e(428)]=()=>s.id,this[e(551)]=s[e(455)]):(this[e(551)]=i[e(413)],this[e(338)]=!1)):(this[e(551)]=n,this[e(338)]=!1)}}else s&&(this[e(285)][e(259)][e(380)][e(326)][e(365)]=Math[e(391)](s[e(413)],this[e(285)][e(259)][e(380)][e(326)][e(365)]),s[e(455)]===s[e(413)]?(0!==s[e(455)]&&(this[e(377)][e(428)]=()=>s.id),this[e(338)]=!1):this[e(338)]&&(this[e(377)][e(428)]=()=>s.id,this[e(551)]=s[e(455)])),this[e(338)]||(this[e(551)]=this[e(285)][e(259)][e(380)][e(365)]);this[e(316)][e(397)](this[e(377)][e(326)]),this[e(262)](this[e(551)]),this[e(402)](this[e(551)]),this[e(335)]&&this[e(527)]()})),this[t(469)](t(364)).to(this,t(427),(t=>!t)),this[t(477)]=this[t(285)][t(509)][t(502)](t(477));const e=this[t(285)];this[t(399)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(348)==r||i(544)==r||i(412)==r||i(379)==r||i(545)==r||i(485)==r||i(556)==r||i(374)==r){delete e[n],s=r,clearInterval(this[i(399)]),this[i(399)]=void 0;break}}i(544)==s&&e[i(548)](i(521)),i(412)==s&&e[i(548)](i(376)),i(379)==s&&e[i(548)](i(481)),i(545)==s&&e[i(548)](i(478),i(352)),i(485)==s&&e[i(548)](i(393)),i(556)==s&&e[i(548)](i(388)),i(374)==s&&e[i(548)](i(553))}),1e3)}async[rt(336)](){const t=rt;if(this[t(340)][t(275)]>0){const e=this[t(340)][t(328)](0),i=await this[t(247)](e),s=await this[t(437)](e);this[t(269)](i,s)}}[rt(513)](){const t=rt;super[t(513)](),this[t(399)]&&clearInterval(this[t(399)])}[rt(337)](t){this[rt(377)]=t}async[rt(279)](){const t=rt,e=await this[t(377)][t(270)]();if(e>this[t(306)][t(413)]){await this[t(257)]();const i=this[t(408)]({revision:this[t(306)],to:e});i[t(432)]=i[t(255)][t(472)]((e=>this[t(285)][t(443)][t(502)](t(302))[t(384)](e))),this[t(306)][t(468)](i)}}async[rt(554)](e={},i=null){const s=rt,n=[];await this[s(257)](),this[s(338)]=!1,i>this[s(306)][s(413)]&&(i=null),null===i&&(i=await this[s(377)][s(270)]());const r=this[s(264)](i),o=this[s(408)]({from:r,to:i});if(this[s(306)][s(413)]<i){const t=this[s(408)]({revision:this[s(306)],from:i,to:i});t[s(432)]=[],t[s(255)]=[],t.id=this[s(306)].id,this[s(306)][s(468)](t,!0),delete t[s(432)],n[s(564)](t)}e[s(333)]=this[s(285)][s(443)][s(502)](s(302)).me.id,e[s(438)]=e[s(438)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(508)](e);n[s(564)](e);const c=this[s(340)][s(424)](a);if(0!==c){const t=this[s(340)][s(328)](c-1);if(t[s(455)]!==i){const r=this[s(316)][s(398)](i,t[s(413)]),o={id:t.id,diffData:r[s(314)],authorsIds:r[s(255)],authors:r[s(255)][s(472)]((t=>this[s(285)][s(443)][s(502)](s(302))[s(384)](t))),fromVersion:i};t===this[s(306)]&&(o[s(533)]=new Date(e[s(533)][s(542)]()+10)),t[s(468)](o,!0),delete o[s(432)],n[s(564)](o)}}if(this[s(335)]){for(const t of n)this[s(546)](t.id,t,!0);this[s(527)]()}return a}[rt(508)](t){const e=rt,i=this[e(340)][e(280)](t);return this[e(335)]&&i.on(e(468),((t,i,s)=>{const n=e;s||(this[n(546)](i.id,i,!0),this[n(527)]())})),this[e(340)][e(430)](i,this[e(560)](i)),i}async[rt(247)](t){const e=rt;return await this[e(453)][e(331)](t,this[e(335)]),this[e(453)][e(247)](t)}async[rt(437)](t){const e=rt;return await this[e(453)][e(331)](t,this[e(335)]),this[e(453)][e(437)](t)}[rt(527)](){const t=rt;if(0===this[t(429)][t(446)])return;if(this[t(427)])return;let e=Array[t(492)](this[t(429)][t(563)]());this[t(429)][t(419)]();for(let i=0;i<e[t(275)];i++){const s=e[i];let n=!1;for(const e of Object[t(451)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(349)]((t=>null!==t)),!e[t(275)])return;for(let i=0;i<e[t(275)];i++){const s=e[i];void 0!==s[t(455)]&&void 0===s[t(413)]&&(s[t(413)]=this[t(340)][t(328)](s.id)[t(413)]),void 0!==s[t(413)]&&void 0===s[t(455)]&&(s[t(455)]=this[t(340)][t(328)](s.id)[t(455)])}const i=this[t(285)][t(509)][t(502)](t(456));this[t(427)]=!0,this[t(297)](),this[t(335)][t(362)](e,i)[t(381)]((()=>{this[t(427)]=!1}))[t(415)]((e=>{const i=t;if(e)for(const t of e)this[i(534)]({id:t.id,createdAt:t[i(533)]});this[i(496)](),this[i(527)]()}))}[rt(408)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(455)],i=null!==i?i:t[s(413)];const n=this[s(316)][s(398)](e,i),r={diffData:n[s(314)],authorsIds:n[s(255)],fromVersion:e,toVersion:i};if(!t||i!==t[s(413)]){const t=i-1,e=this[s(377)][s(326)][s(295)](t);r[s(533)]=e&&e[s(533)]||new Date}if(this[s(378)]&&e===this[s(378)][s(455)])for(const t of this[s(378)][s(432)])r[s(255)][s(351)](t.id)||r[s(255)][s(564)](t.id);return r}[rt(546)](t,e,i){const s=rt;if(this[s(429)][s(300)](t)){const n=this[s(429)][s(502)](t);e=i?{...n,...e}:{...e,...n}}this[s(429)][s(510)](t,e)}[rt(534)](t){const e=rt,i=this[e(340)][e(328)](t.id);if(t[e(533)]&&(t[e(533)]=new Date(t[e(533)])),t[e(255)]){const i=this[e(285)][e(443)][e(502)](e(302));t[e(432)]=t[e(255)][e(472)]((t=>i[e(384)](t)))}i[e(468)](t,!0)}[rt(262)](t){const e=rt,i=this[e(340)][e(328)](this[e(340)][e(275)]-1);if(i)this[e(555)]=i.id;else{const i=!this[e(285)][e(259)][e(380)][e(458)][e(436)]((t=>this[e(285)][e(259)][e(449)](t))),s=this[e(285)][e(443)][e(502)](e(302)).me.id,n=Q(this[e(285)][e(558)],e(i?447:568));this[e(442)]({from:t,to:t,id:this[e(555)],name:n,creatorId:s})}}[rt(402)](t){const e=rt,i=this[e(377)][e(428)]();this[e(306)]=this[e(340)][e(328)](i),this[e(306)]||(this[e(306)]=this[e(442)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(257)](){const t=rt;this[t(338)]&&!this[t(378)]&&(await this[t(453)][t(331)](this[t(306)],this[t(335)]),this[t(316)][t(360)](this[t(306)]),this[t(378)]={fromVersion:this[t(306)][t(455)],authors:this[t(306)][t(432)][t(500)]()})}[rt(269)](e,i){const s=rt;let n=this[s(285)][s(509)][s(502)](s(523)),r=this[s(285)][s(509)][s(502)](s(304));if(void 0===n){n={};for(const t of this[s(285)][s(259)][s(380)][s(487)]())n[t]=""}if(s(525)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(285)][s(259)][s(380)][s(487)]())r[t]={}}let o=!1;const a=Object[s(451)](n),c=Object[s(451)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(373)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(451)](r[t])[s(275)]>0){o=!0;break}}o||(o=c[s(358)]((t=>!this[s(285)][s(259)][s(380)][s(517)](t)))),o&&(0,t.logWarning)(s(286),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(285)][s(509)][s(510)](s(523),e),this[s(285)][s(509)][s(510)](s(304),i)}[rt(297)](){const t=rt;if(!this[t(426)]){const e=this[t(285)][t(443)][t(502)](t(250));this[t(426)]=e[t(524)](Q(this[t(285)][t(558)],t(401)))}}[rt(496)](){const t=rt;this[t(426)]&&(this[t(285)][t(443)][t(502)](t(250))[t(403)](this[t(426)]),this[t(426)]=null)}[rt(560)](t){const e=rt,i=this[e(340)][e(454)]();i[e(327)]();let s=0;for(;s<i[e(275)];){const n=i[s];if(n===this[e(306)]){s++;continue}if(n.id===this[e(555)])break;const r=t[e(413)]-n[e(413)]||t[e(455)]-n[e(455)];if(r>0)break;if(r<0)s++;else{if(!t[e(342)]&&n[e(342)])break;if(n[e(342)]||!t[e(342)]){if(t[e(533)]>n[e(533)])break;s++}else s++}}return s}[rt(264)](t){const e=rt,i=this[e(340)][e(454)]();i[e(327)](),i[e(536)]();const s=i[e(436)]((i=>i[e(413)]<=t))[e(413)];return s<this[e(551)]?this[e(551)]:s}[rt(442)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(408)]({from:e,to:i});o[r(438)]=t,o[r(333)]=s,o.id=n;const a=this[r(508)](o);return this[r(335)]&&this[r(546)](o.id,o,!0),a}[rt(407)](){const t=rt;this[t(285)][t(561)][t(448)](t(276))[t(292)]({model:t(532)})}}function ct(t,e){const i=ot();return(ct=function(t,e){return i[t-=247]})(t,e)}class ut{[rt(285)];[rt(439)];[rt(363)];[rt(322)];[rt(372)];[rt(390)];[rt(467)];[rt(254)];[rt(543)];[rt(296)];[rt(461)];[rt(310)];[rt(539)];[rt(317)];[rt(488)];[rt(396)];[rt(511)];constructor(t){const e=rt;this[e(285)]=t,this[e(363)]=new Map,this[e(322)]=-1,this[e(372)]=-1,this[e(390)]=new Map,this[e(467)]=new Map,this[e(254)]=new Map,this[e(543)]=new Map,this[e(296)]=new Map,this[e(461)]=new Map,this[e(310)]=new Map,this[e(539)]=new Map,this[e(317)]=new Map,this[e(488)]=new Map,this[e(396)]=1}[rt(397)](t){const e=rt;this[e(439)]=t;const i=new Map,s=new Map,n=this[e(285)][e(259)][e(380)][e(458)][e(472)]((t=>t[e(347)]));for(const t of n){const n=this[e(285)][e(259)][e(380)][e(517)](t),r=lt(n);i[e(510)](t,r),s[e(510)](t,Object[e(435)](n[e(465)]()))}const r=Array[e(492)](this[e(285)][e(259)][e(273)])[e(472)]((t=>[t[e(438)],t[e(444)]()])),o=this[e(439)][e(365)];this[e(303)](o,i,r,s),this[e(511)]=this[e(396)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(510)](t,i),c[e(510)](t,{})}this[e(303)](Number[e(325)],a,[],c)}[rt(398)](t,e){const i=rt;if(this[i(322)]===t&&this[i(372)]<=e)this[i(363)][i(446)]>1&&this[i(445)](this[i(372)]),this[i(271)](this[i(372)],e,!0);else{if(!this[i(363)][i(300)](t)){const e=this[i(549)](t);this[i(441)](e,t,!1)}this[i(441)](t,e,!0)}return this[i(322)]=t,this[i(372)]=e,this[i(479)]()}[rt(360)](t){const e=rt,i=this[e(285)][e(443)][e(502)](e(531));this[e(371)](),this[e(322)]=t[e(455)],this[e(372)]=t[e(413)];for(const s in t[e(314)]){const n=t[e(314)][s][e(557)],r=R(t[e(314)][s][e(474)])||{},o=i[e(386)](t[e(314)][s][e(356)]);o[e(347)]=s,o[e(265)]=!n||!n[e(274)],o[e(274)]=()=>o[e(265)],this[e(543)][e(510)](s,o),this[e(296)][e(510)](s,r),n&&this[e(488)][e(510)](s,n);const a=this[e(473)](o);this[e(310)][e(510)](s,a);for(const[t,i]of o[e(273)]){if(!t[e(466)](e(266)))continue;const s=t[e(400)](":")[2];for(const t of i[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),n=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)],r=a[e(503)](n)[e(366)](i);this[e(539)][e(510)](r,{userId:s})}}}this[e(511)]=this[e(396)];const s=[...Array(this[e(396)])[e(451)]()][e(500)](1)[e(349)]((t=>!this[e(539)][e(300)](t)));let n=0;const r=new Map;for(const o in t[e(314)]){const a=t[e(314)][o][e(557)],c=R(t[e(314)][o][e(482)])||{},u=i[e(386)](t[e(314)][o][e(514)]);u[e(347)]=o,u[e(265)]=!a||a[e(274)],u[e(274)]=()=>u[e(265)],this[e(467)][e(510)](o,u),this[e(254)][e(510)](o,c);const l=this[e(473)](u,Number[e(325)]);this[e(461)][e(510)](o,l),r[e(510)](o,u[e(274)]()?c:{});for(const[t,i]of u[e(273)]){if(!t[e(466)](e(266)))continue;const s=t[e(400)](":")[2];for(const t of i[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),n=this[e(396)]++,r=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)];l[e(503)](r)[e(489)](i,n),this[e(539)][e(510)](n,{userId:s})}}for(const t of this[e(285)][e(259)][e(414)](u)[e(263)]({singleCharacters:!0})){const i=this[e(370)](t),r=e(498)==t[e(450)]?t[e(315)][e(289)][e(500)](0,-1):t[e(315)][e(289)],o=l[e(503)](r);o[e(366)](i)>0||o[e(489)](i,s[n++])}for(const[t,i]of u[e(273)])t[e(466)](e(266))||this[e(390)][e(510)](t,i)}const o=ht(e(251));this[e(543)][e(510)](e(251),o),this[e(310)][e(510)](e(251),this[e(473)](o,1));const a=ht(e(251));this[e(467)][e(510)](e(251),a),this[e(461)][e(510)](e(251),this[e(473)](a,1));const c=Array[e(492)](this[e(467)])[e(472)]((([t,e])=>[t,lt(e)]));this[e(303)](this[e(372)],c,this[e(390)],r)}[rt(486)](){const t=rt;this[t(371)](),this[t(322)]=-1,this[t(372)]=-1,this[t(363)][t(419)](),this[t(397)](this[t(439)])}[rt(303)](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(510)](t,{start:e[n(395)][n(484)](),end:e[n(406)][n(484)](),rootName:e[n(518)][n(347)]});this[n(363)][n(510)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(445)](t){const e=rt;this[e(363)][e(411)](t)}[rt(371)](){const t=rt;this[t(539)][t(419)](),this[t(317)][t(419)](),this[t(488)][t(419)](),this[t(467)][t(419)](),this[t(254)][t(419)](),this[t(543)][t(419)](),this[t(296)][t(419)](),this[t(461)][t(419)](),this[t(310)][t(419)](),this[t(390)][t(419)](),this[t(396)]=1,this[t(511)]=this[t(396)]}[rt(473)](t,e=null){const i=rt;let s=null;t.is(i(312))||(s=new Z.Element(t[i(438)],{vid_start:null===e?this[i(396)]++:e++}));const n=[];for(const s of t[i(495)]())if(s.is(i(287))){n[i(564)](this[i(473)](s,e));const t=n[n[i(275)]-1];null!==e&&(e=t.is(i(287),i(483))?t[i(366)](i(355))+1:t[i(366)](i(497))+1)}else for(let t=0;t<s[i(520)];t++)n[i(564)](new Z.Element(i(483),{vid:null===e?this[i(396)]++:e++}));if(t.is(i(312))){const e=ht(t[i(347)]);return e[i(301)](0,n),e}return s[i(489)](i(497),null===e?this[i(396)]++:e++),s[i(301)](0,n),s}[rt(441)](t,e,i){const s=rt;this[s(371)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(363)][s(502)](t);this[s(543)]=new Map(n),this[s(296)]=new Map(R(o));for(const[t,e]of this[s(543)])if(s(251)!==t&&(this[s(467)][s(510)](t,lt(e)),this[s(254)]=new Map(R(o)),i)){const i=this[s(396)];this[s(461)][s(510)](t,this[s(473)](e)),this[s(310)][s(510)](t,this[s(473)](e,i))}this[s(511)]=this[s(396)],this[s(467)][s(510)](s(251),lt(this[s(543)][s(502)](s(251)))),i&&this[s(461)][s(510)](s(251),this[s(473)](this[s(543)][s(502)](s(251))));for(const[t,e]of r){const i=this[s(543)][s(502)](e[s(347)]),n=this[s(467)][s(502)](e[s(347)]),r=new Z.Range(this[s(491)](e[s(395)],i),this[s(491)](e[s(406)],i)),o=this[s(298)](r,n);i[s(273)][s(510)](t,r),this[s(390)][s(510)](t,o)}this[s(271)](t,e,i)}[rt(271)](t,e,i){const s=rt;for(const n of this[s(439)][s(284)](t,e))this[s(299)](n,i);for(const t of this[s(467)][s(563)]())t[s(273)][s(419)]();for(const[t,e]of this[s(390)])this[s(467)][s(502)](e[s(518)][s(347)])[s(273)][s(510)](t,e[s(484)]());const n=new Map,r=new Map;for(const[t,e]of this[s(467)])n[s(510)](t,lt(e)),r[s(510)](t,this[s(254)][s(502)](t));this[s(303)](e,n,this[s(390)],r)}[rt(549)](t){const e=rt,i=Array[e(492)](this[e(363)][e(451)]());i[e(293)](((t,e)=>t-e)),i[e(327)]();for(const e of i)if(e<t)return e;return Number[e(325)]}[rt(382)](t,e){const i=rt,s=Array[i(492)](e[i(273)])[i(472)]((([e,s])=>[e,this[i(298)](s,t)]));t[i(273)]=new Map(s)}[rt(452)](t){const e=rt;for(const i of this[e(390)][e(563)]()){const s=i[e(562)](t),n=Z.Range[e(249)](s);i[e(395)]=n[e(395)],i[e(406)]=n[e(406)]}}[rt(299)](t,e){const i=rt;if(i(324)!=t[i(450)]&&i(462)!=t[i(450)]){if(i(318)==t[i(450)]){const s=t[i(457)][i(518)][i(347)];this[i(467)][i(300)](s)||(this[i(467)][i(510)](s,ht(s,!0)),this[i(254)][i(510)](s,{}),e&&this[i(461)][i(510)](s,ht(s,!0)))}else{if(i(261)==t[i(450)]||i(394)==t[i(450)]||i(528)==t[i(450)])return void this[i(493)](t);i(547)==t[i(450)]&&this[i(530)](t)}if(i(547)!==t[i(450)]){const e=this[i(410)](t,this[i(467)]);e[i(490)](),this[i(452)](e)}if(e)switch(t[i(450)]){case i(318):this[i(332)](t);break;case i(323):case i(403):case i(392):this[i(383)](t);break;case i(375):this[i(538)](t);break;case i(400):this[i(418)](t)}}else this[i(507)](t,e)}[rt(410)](t,e){const i=rt,s=t[i(484)]();return s[i(339)]=t[i(339)],this[i(470)](s,e),s}[rt(368)](t){const e=rt;return t[e(472)]((t=>{const i=e,s=this[i(370)](t);return Number(t[i(272)][i(366)](s))}))}[rt(476)](t,e){const i=rt;if(t.is(i(287),i(483)))e[i(564)]({item:t,type:i(260)});else{t.is(i(287))&&e[i(564)]({item:t,type:i(529)});for(const s of t[i(495)]())this[i(476)](s,e);t.is(i(287))&&e[i(564)]({item:t,type:i(498)})}return e}[rt(479)](){const t=rt,e=new Map(this[t(539)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(543)][t(451)](),...this[t(467)][t(451)]()]);a[t(411)](t(251));for(const e of a){const i=this[t(467)][t(502)](e)||ht(e,!1),s=this[t(543)][t(502)](e)||ht(e,!1);i[t(274)]()||s[t(274)]()?(n[t(514)][e]=lt(i),n[t(356)][e]=lt(s),this[t(382)](n[t(356)][e],s),this[t(382)](n[t(514)][e],i),r[t(514)][e]=this[t(476)](this[t(461)][t(502)](e),[]),r[t(356)][e]=this[t(476)](this[t(310)][t(502)](e)||ht(e,!1),[])):a[t(411)](e)}for(const n of a){const o=r[t(514)][n];for(const n of o){const r=this[t(370)](n),o=n[t(272)][t(366)](r);i[t(411)](o),o>=this[t(511)]&&s[t(510)](o,e[t(502)](o))}}for(const n of a){const a=r[t(514)][n],c=this[t(368)](r[t(356)][n]);let u=0;for(const n of a){const r=this[t(370)](n),a=n[t(272)][t(366)](r);if(!s[t(300)](a)&&!o[t(300)](a))if(i[t(300)](a))u++;else{if(a!=c[u]){const s=e[t(502)](a)||e[t(502)](c[u]);for(;a!=c[u];)i[t(300)](c[u])||(o[t(510)](c[u],s),e[t(510)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(514)][e];for(const e of n){const n=this[t(370)](e),r=e[t(272)][t(366)](n);if(o[t(300)](r)){const e=o[t(502)](r);i[t(300)](r)||i[t(510)](r,{...e}),s[t(510)](r,{...e})}}}for(const e of i[t(451)]())e>=this[t(511)]&&i[t(411)](e);const c=new Map;for(const e of a){let n=r[t(514)][e];for(const e of n)if(e[t(272)].is(t(287),t(434))){const i=this[t(370)](e),n=e[t(272)][t(366)](i);if(s[t(300)](n)){const i=e[t(272)][t(385)][t(385)][t(366)](t(567)),r=c[t(502)](i)||new Set;r[t(524)](s[t(502)](n)[t(256)]),c[t(510)](i,r)}}n=r[t(356)][e];for(const e of n)if(e[t(272)].is(t(287),t(434))){const s=this[t(370)](e),n=e[t(272)][t(366)](s);if(i[t(300)](n)){const s=e[t(272)][t(385)][t(385)][t(366)](t(567)),r=c[t(502)](s)||new Set;r[t(524)](i[t(502)](n)[t(256)]),c[t(510)](s,r)}}for(const e of c[t(451)]())(s[t(300)](e)||i[t(300)](e))&&c[t(411)](e)}for(const e of a){const n=r[t(514)][e];let o=null,a=null;for(const e of n){const n=this[t(370)](e),r=e[t(272)][t(366)](n),u=c[t(502)](r);u&&t(529)==e[t(450)]&&(o=Array[t(492)](u)[0],a=e[t(272)][t(366)](t(497))),o&&(i[t(510)](r,{userId:o}),s[t(510)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(356)][e],a=n[t(514)][e];for(const{userId:e}of this[t(317)][t(563)]())null!==e&&l[t(524)](e);for(const{userId:e}of this[t(488)][t(563)]())null!==e&&l[t(524)](e);this[t(433)](a,r[t(514)][e],s,t(550),l),this[t(433)](o,r[t(356)][e],i,t(311),l),u[e]={insertions:this[t(535)](a),deletions:this[t(535)](o),attachChange:this[t(488)][t(502)](e)||null,attributesBefore:R(this[t(296)][t(502)](e))||{},attributesAfter:R(this[t(254)][t(502)](e))}}return{diffData:u,authorsIds:Array[t(492)](l)}}[rt(354)](t){const e=rt;for(const[,i]of t[e(273)]){const t=i[e(395)][e(252)]()[e(349)]((t=>e(434)==t[e(438)]));for(const i of t)1==i[e(283)]&&i[e(267)](0).is(e(287),e(505))&&i[e(267)](0)[e(489)](e(353),!0)}}[rt(535)](t){const e=rt;this[e(354)](t);const i=this[e(285)][e(341)][e(559)](t,{}),s=Array[e(492)](i[e(495)]())[e(472)]((t=>this[e(307)](t)));return JSON[e(369)](s)}[rt(307)](t){const e=rt;if(t.is(e(483)))return t[e(341)];{const i=this[e(285)][e(443)][e(502)](e(531)),s=t,n=this[e(285)][e(341)][e(367)][e(471)],r={type:i[e(387)](s),name:s[e(438)],attributes:Array[e(492)](s[e(465)]()),children:Array[e(492)](s[e(495)]())[e(472)]((t=>this[e(307)](t)))};if(t.is(e(308))&&e(566)!=t[e(438)]){const i=t[e(309)](n[e(404)],n);r[e(541)][e(564)](i[e(464)])}else if(t.is(e(357))){const i=n[e(404)][e(345)](s[e(438)]);t[e(309)](i,n),r[e(541)][e(564)](i[e(540)])}const o=Array[e(492)](s[e(282)]());o[e(275)]>0&&(r[e(522)]=o);const a=s[e(425)]();return null!==a&&(r[e(552)]=a),r}}[rt(433)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(285)][r(259)];for(let s=0;s<e[r(275)];s++){const n=this[r(370)](e[s]),c=e[s][r(272)][r(366)](n),h=i[r(502)](c),d=s==e[r(275)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(256)]!=o[r(256)])&&(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(256)],d=l(266)+s+":"+h+":"+c++,f=u[l(537)](i,a);t[l(273)][l(510)](d,f),null!==h&&n[l(524)](h)}}[rt(370)](t){const e=rt;switch(t[e(450)]){case e(529):return e(567);case e(498):return e(497);default:return e(355)}}[rt(470)](t,e){const i=rt;t[i(501)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(502)](n[i(518)][i(347)]);t[s]=this[i(491)](n,r)}if(n instanceof Z.Range){const r=e[i(502)](n[i(518)][i(347)]);t[s]=this[i(298)](n,r)}i(518)===s&&(t[i(518)]=e[i(502)](t[i(518)][i(347)]))}}[rt(298)](t,e){const i=rt;return this[i(285)][i(259)][i(537)](this[i(491)](t[i(395)],e),this[i(491)](t[i(406)],e))}[rt(491)](t,e){const i=rt;return this[i(285)][i(259)][i(512)](e,t[i(289)],t[i(421)])}[rt(332)](t){const e=rt,i=this[e(461)][e(502)](t[e(457)][e(518)][e(347)]),s=this[e(491)](t[e(457)],i),n=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,r=s[e(385)],o=this[e(396)],a=[];for(const i of t[e(334)])if(i.is(e(287)))a[e(564)](this[e(473)](i));else for(let t=0;t<i[e(520)];t++)a[e(564)](new Z.Element(e(483),{vid:this[e(396)]++}));const c=this[e(396)];for(let t=o;t<c;t++)this[e(539)][e(510)](t,{userId:n});r[e(301)](s[e(294)],a)}[rt(383)](t){const e=rt;(t=this[e(410)](t,this[e(461)]))[e(490)]();const i=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(344)](),n=s[e(385)],r=s[e(294)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(267)](e);r.is(a(287),a(483))?s[a(510)](r[a(366)](a(355)),{userId:i}):(s[a(510)](r[a(366)](a(567)),{userId:i}),t(s,r,0,r[a(283)]),s[a(510)](r[a(366)](a(497)),{userId:i}))}}(this[e(539)],n,r,r+t[e(416)])}[rt(538)](t){const e=rt,i=null===(t=this[e(410)](t,this[e(461)]))[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(389)][e(385)],n=t[e(253)][e(385)],r=s[e(366)](e(497)),o=n[e(366)](e(567));s[e(489)](e(497),n[e(366)](e(497))),n[e(489)](e(497),r),this[e(539)][e(510)](o,{userId:i}),this[e(539)][e(510)](r,{userId:i}),t[e(490)]()}[rt(418)](t){const e=rt,i=null===(t=this[e(410)](t,this[e(461)]))[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,s=t[e(313)],n=t[e(248)][e(385)];t[e(490)]();const r=n[e(366)](e(497)),o=t[e(475)][e(329)];if(s){const t=o[e(366)](e(497)),s=n[e(366)](e(497));n[e(489)](e(497),t),o[e(489)](e(497),s),this[e(539)][e(510)](n[e(366)](e(497)),{userId:i}),this[e(539)][e(510)](o[e(366)](e(567)),{userId:i})}else{const t=this[e(396)]++,s=this[e(396)]++;n[e(489)](e(497),t),o[e(489)](e(567),s),o[e(489)](e(497),r),this[e(539)][e(510)](t,{userId:i}),this[e(539)][e(510)](s,{userId:i})}}[rt(530)](t){const e=rt;if(!t[e(499)])return;const i=(t=this[e(410)](t,this[e(467)]))[e(565)]?t[e(565)][e(518)]:null,s=t[e(460)]?t[e(460)][e(518)]:null;i&&this[e(390)][e(411)](t[e(438)]),s&&this[e(390)][e(510)](t[e(438)],t[e(460)][e(484)]());const n=null===t[e(339)]?null:t[e(339)]||this[e(285)][e(443)][e(502)](e(302)).me.id,r=t[e(438)];if(!this[e(317)][e(300)](r))return void this[e(317)][e(510)](r,{range:t[e(565)],userId:n});const o=this[e(317)][e(502)](r),a=o[e(277)],c=t[e(460)];null==a&&null==c||a&&c&&a[e(258)](c)?this[e(317)][e(411)](t[e(438)]):o[e(256)]=n}[rt(507)](t,e){const i=rt;this[i(467)][i(300)](t[i(347)])?this[i(467)][i(502)](t[i(347)])[i(265)]=t[i(350)]:(this[i(467)][i(510)](t[i(347)],ht(t[i(347)],!0)),this[i(254)][i(510)](t[i(347)],{}),e&&this[i(461)][i(510)](t[i(347)],ht(t[i(347)],!0)));const s=null===t[i(339)]?null:t[i(339)]||this[i(285)][i(443)][i(502)](i(302)).me.id,n=this[i(488)][i(502)](t[i(347)]);n&&n[i(256)]===s?this[i(488)][i(411)](t[i(347)]):this[i(488)][i(510)](t[i(347)],{userId:s,isAttached:t[i(350)]})}[rt(493)](t){const e=rt,i=this[e(254)][e(502)](t[e(518)][e(347)]);null===t[e(346)]?delete i[t[e(290)]]:i[t[e(290)]]=t[e(346)]}}function lt(t){const e=rt,i=ht(t[e(347)],t[e(274)]());for(const s of t[e(495)]()){const t=s[e(288)](!0);i[e(480)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(347)]=t,s[i(265)]=e,s[i(274)]=()=>s[i(265)],s}function dt(t,e,i){const s=rt,n=s(498)==t[s(450)]?i[s(281)](t[s(272)],s(406)):i[s(459)](t[s(272)]);return i[s(512)](e,n[s(289)],n[s(421)])}function ft(t,e,i){const s=rt,n=s(529)==t[s(450)]?i[s(281)](t[s(272)],0):i[s(319)](t[s(272)]);return i[s(512)](e,n[s(289)],n[s(421)])}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 Vt(){const t=["keystrokes","reset","element","arrowleft","1987848RFWTAE","errorText","ck-responsive-form","220","ck-revision-history-save-revision-form","revisionName","fieldView","arrowup","setTemplate","stopPropagation","arrowright","render","Name of the revision","form","label","revisionNameInputValue","8cBvFWF","revisionNameInputView","_createRevisionNameInput","trim","44wKLKWi","990378hpkcmx","value","add","195081YYyUkF","focus","input","locale","optional","318063nyXdhT","set","focusTracker","listenTo","497tUIhKi","extendTemplate","6108LFfDYv","88505daHjpV","2985680UDTAgF","arrowdown"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=310]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(164815===parseInt(e(338))/1+parseInt(e(325))/2*(-parseInt(e(333))/3)+-parseInt(e(329))/4*(-parseInt(e(345))/5)+-parseInt(e(344))/6*(-parseInt(e(342))/7)+parseInt(e(352))/8+-parseInt(e(330))/9+-parseInt(e(346))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[Rt(340)];[Rt(348)];[Rt(326)];constructor(e,i){const s=Rt;super(e),this[s(340)]=new t.FocusTracker,this[s(348)]=new t.KeystrokeHandler,this[s(339)](s(324),""),this[s(326)]=this[s(327)](i),this[s(317)]({tag:s(322),attributes:{class:["ck",s(313),s(311)],tabindex:"-1"},children:[this[s(326)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(320)](){const t=Rt;super[t(320)](),(0,pt.submitHandler)({view:this}),this[t(340)][t(332)](this[t(326)][t(350)]),this[t(348)][t(341)](this[t(350)]);const e=e=>e[t(318)]();this[t(348)][t(339)](t(319),e),this[t(348)][t(339)](t(351),e),this[t(348)][t(339)](t(316),e),this[t(348)][t(339)](t(347),e)}[Rt(334)](){const t=Rt;this[t(326)][t(334)]()}get[Rt(314)](){const t=Rt;return this[t(326)][t(315)][t(350)][t(331)][t(328)]()}set[Rt(314)](t){const e=Rt;this[e(326)][e(315)][e(350)][e(331)]=t[e(328)]()}[Rt(349)](){const t=Rt;this[t(326)][t(315)][t(350)][t(331)]="",this[t(326)][t(310)]=null}[Rt(327)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(336)],pt.createLabeledInputText),s=i[e(315)];s[e(343)]({attributes:{maxlength:e(312)}});let n=Q(this[e(336)],e(321));return!t&&(n+=" ("+Q(this[e(336)],e(337))+")"),i[e(323)]=n,s.on(e(335),(()=>{const t=e;this[t(324)]=s[t(350)][t(331)][t(328)]()})),i}}function Dt(t,e){const i=Ft();return(Dt=function(t,e){return i[t-=166]})(t,e)}const Ct=Dt;function Ft(){const t=["plugins","reset","isReadOnly","Open revision history","isEnabled","pluginName","_registerMenuComponent","isReady","530640OJndLj","editing","489128MJhxJQ","Revision history","show","set","3LSHrXa","revisionNameInputView","Dialog","727418UvxGHC","ck-button-action","The revision name cannot be empty.","_saveRevisionFormView","revisionSave","config","showRevisionViewerCallback","Cancel","submit","675YUtqUg","menuBar:revisionHistory","10nBZMQI","delegate","_createSaveRevisionFormView","role","revisionHistory.requireRevisionName","requires","errorText","panelView","isPremiumPlugin","menu","get","161714MxURMe","editor","items","_showDialog","revisionHistory","execute","focus","bind","buttonView","16KcWkMk","hide","Accept","RevisionHistoryUI","add","isOfficialPlugin","isOpen","init","saveRevision","componentFactory","view","71144yECrmN","114wTblnp","children","menuitem","render","1139337OcLGna","locale","revisionName","RevisionTracker","addMany","Save current revision"];return(Ft=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(185449===parseInt(e(184))/1+-parseInt(e(212))/2*(-parseInt(e(209))/3)+-parseInt(e(205))/4+-parseInt(e(221))/5*(parseInt(e(185))/6)+parseInt(e(234))/7*(-parseInt(e(173))/8)+parseInt(e(189))/9*(-parseInt(e(223))/10)+parseInt(e(203))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends H.Plugin{static get[Ct(200)](){return Ct(176)}static get[Ct(178)](){return!0}static get[Ct(231)](){return!0}static get[Ct(228)](){return[at]}[Ct(215)];[Ct(180)](){const t=Ct,e=this[t(235)],i=e[t(195)][t(233)](t(192));e.ui[t(182)][t(177)](t(168),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(230)][n(186)],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(171)](n(199)).to(i,n(202),i,n(199),e,n(197),((t,e,i)=>t&&e&&!i)),r[n(172)][n(208)]({icon:mt.IconHistory,label:Q(s,n(206)),tooltip:!0}),u[n(208)]({label:Q(s,n(194)),withText:!0,role:n(187)}),u[n(171)](n(199)).to(i,n(202),i,n(199),e,n(197),((t,e,i)=>t&&e&&!i)),u.on(n(169),(()=>this[n(167)]())),h[n(208)]({label:Q(s,n(198)),withText:!0,role:n(187)}),h[n(171)](n(199)).to(i,n(202),e,n(197),((t,e)=>t&&!e)),h.on(n(169),(()=>{const t=n;e[t(217)][t(233)](t(168))[t(218)](),r[t(179)]=!1,e[t(204)][t(183)][t(170)]()})),c[n(186)][n(177)](u),l[n(186)][n(177)](h),a[n(226)]=n(232),a[n(166)][n(193)]([c,l]),o[n(177)](a),r})),e.ui[t(182)][t(177)](t(222),(()=>this[t(201)]()))}[Ct(201)](){const t=Ct,e=this[t(235)],i=e[t(190)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(172)][t(208)]({icon:mt.IconHistory,label:Q(i,t(206))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(208)]({label:Q(i,t(194))}),o[t(224)](t(169)).to(s),o.on(t(169),(()=>{this[t(167)]()})),r[t(186)][t(177)](o),n[t(166)][t(177)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(208)]({label:Q(i,t(198))}),c[t(224)](t(169)).to(s),c.on(t(169),(()=>{const i=t;e[i(217)][i(233)](i(168))[i(218)]()})),a[t(186)][t(177)](c),n[t(166)][t(177)](a),s[t(230)][t(186)][t(177)](n),s}[Ct(167)](){const t=Ct,e=this[t(235)],i=e[t(190)],s=e[t(195)][t(233)](t(211)),n=e[t(195)][t(233)](t(192));function r(n){const r=t;e[r(217)][r(233)](r(227))&&""===n[r(191)]?n[r(210)][r(229)]=Q(i,r(214)):(e[r(195)][r(233)](at)[r(181)]({name:n[r(191)]}),s[r(174)]())}this[t(215)]||(this[t(225)](),this[t(215)].on(t(220),(()=>r(this[t(215)])))),this[t(215)][t(196)](),s[t(207)]({id:t(216),title:Q(i,t(194)),isModal:!0,content:this[t(215)],actionButtons:[{label:Q(e[t(190)],t(219)),withText:!0,onExecute:()=>s[t(174)]()},{label:Q(e[t(190)],t(175)),class:t(213),withText:!0,onCreate(i){const s=t;i[s(171)](s(199)).to(n,s(202),n,s(199),e,s(197),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(215)])}]})}[Ct(225)](){const t=Ct,e=this[t(235)],i=e[t(190)];this[t(215)]=new Et(i,e[t(217)][t(233)](t(227))),this[t(215)][t(188)]()}}function Lt(){const t=["element","isSuggestion","set","div","ck-revision-change","Suggested by","_model","3930608HdIlwI","357027VkrIUz","bindTemplate","30PyPQpM","ck-revision-change__","1036781bTiZto","span","Removed by","name","ck-revision-change__label","data","2394575dEFVMy","changeId","8cqzbwh","setTemplate","ck-annotation","focus","add","11727063xlcOFe","1762607vRwIfs","Added by","author","2021526saaEkc","type"];return(Lt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=Lt();return(Wt=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(764897===-parseInt(e(506))/1+-parseInt(e(523))/2+-parseInt(e(502))/3*(-parseInt(e(514))/4)+-parseInt(e(512))/5+-parseInt(e(504))/6*(-parseInt(e(520))/7)+parseInt(e(501))/8+parseInt(e(519))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends pt.View{[Pt(513)];[Pt(500)];constructor(t,e){const i=Pt;super(t),this[i(500)]=e,this[i(513)]=e.id;const s=this[i(503)],n=Q(t,e[i(511)][i(526)]?i(499):i(518)==e[i(524)]?i(521):i(508));this[i(496)](i(524),e[i(524)]),this[i(515)]({tag:i(497),attributes:{class:[i(516),i(498),s.to(i(524),(t=>i(505)+t))],tabindex:-1},children:[{tag:i(507),children:[{tag:i(507),attributes:{class:[i(510)]},children:[{text:n}]},{text:" "+e[i(522)][i(509)]}]}]})}[Pt(517)](){const t=Pt;this[t(525)][t(517)]()}}var Ht=Ut;function Ut(t,e){var i=Zt();return(Ut=function(t,e){return i[t-=300]})(t,e)}function Zt(){var t=["4735980qicGOA","1780JIdwwM","710732BLjqFR","type","72SNeOqX","27RWcakG","1726696dTzwtI","7cNgOIV","114736uZfkeN","3253055BWyHFM","author","226776gFkmbM","createdAt","toJSON","2270536HVlaof","set","rootName","data"];return(Zt=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(492592===-parseInt(e(302))/1+-parseInt(e(306))/2+-parseInt(e(304))/3*(-parseInt(e(308))/4)+-parseInt(e(309))/5+parseInt(e(300))/6*(-parseInt(e(307))/7)+-parseInt(e(314))/8*(parseInt(e(305))/9)+parseInt(e(301))/10*(parseInt(e(311))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ht(310)];[Ht(303)];[Ht(317)];[Ht(316)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(310)]=e[i(310)],this[i(303)]=e[i(303)],this[i(317)]=e[i(317)]||{},this[i(316)]=e[i(316)],this[i(315)](i(312),e[i(312)])}[Ht(313)](){var t=Ht;return{id:this.id,authorId:this[t(310)].id,type:this[t(303)],data:this[t(317)],createdAt:this[t(312)]}}}const $t=Yt;function Bt(){const t=["oldRevisionId","add","76nWfVzE","1668779jSDYSx","3104875FWTaiH","1630860GCGDSq","6MVVSAQ","newRevisionId","changes","90009OFkCme","464yuWpMZ","102702MYiiXs","6617570rVfhLW","_setChanges","34815oQVBZD"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(313016===-parseInt(e(482))/1+parseInt(e(473))/2*(parseInt(e(470))/3)+-parseInt(e(476))/4+-parseInt(e(475))/5+parseInt(e(477))/6*(-parseInt(e(474))/7)+parseInt(e(481))/8*(parseInt(e(480))/9)+parseInt(e(483))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(478)];[$t(471)];[$t(479)];constructor(e,i){const s=$t;this[s(478)]=e,this[s(471)]=i,this[s(479)]=new t.Collection}[$t(484)](t){const e=$t;for(const i of t)this[e(479)][e(472)](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=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=337]})(t,e)}function te(){const t=["markerName","refresh","object","span","mapper","currentChangeNumber","clear","find","revisionHistoryLabel","diffData","findIndex","revisionHistoryAttachChange","-new","vid_end","isInline","isAdded","POSITIVE_INFINITY","_data","isOfficialPlugin","ck-suggestion-marker--active","side","_getDiff","text","name","233418WocUTE","writer","loadRevisionData","removeClass","isCollapsed","index","_setChanges","push","_changeIdToChange","element","pop","RevisionViewer","level","getAttributes","_makeModelFromViewString","stop","_markMarkers","type","end","createAttributeElement","test","createPositionBefore","slice","viewItem","ck-revision-history-root-remove","setAttribute","suggestion","for","_sortAndFilterDiffChanges","next","pluginName","getClientRects","changeId","removeMarker","3024414WFMOOd","addRoot","getRoot","_findChangeIdFromDomTarget","plugins","change","data","getAttribute","addMarker:revision","keys","execute","destroy","_step","1208720ErKfVo","isRemoved","ck-suggestion-marker","addRevision","delete","consumable","isSuggestion","isEnabled","comment","isContent","attachChange","toViewRange","softBreak","revision-suggestion:","_threeWayMerge","numberOfChanges","ck-suggestion-marker-split","locale","addRevisionData","revision-suggestion","observeMarkers","createPositionFromPath","markerToData","suggestion:","model","addMarker:revision-suggestion:deletion","bind","revision-comment:","high","bottom","markerRange","attribute:vid","split","pairId","_makeTape","low","filter","876369gyivXi","4XQhpJT","_revisions","_utils","set","_update","highest","modelRange","enqueueChange","adapter","first","wrap","markersStart","_fixObsoleteTags","abs","dataDowncast","827600iqSmkc","RevisionHistoryUtils","isPremiumPlugin","document","error","getLaterVisibleRevision","_processTape","ck-editor__editable__overlay","insertion","isEqual","restoreRevision","domEvent","activeChange","2088740SRuOff","getRevisionRootsAttributes","isAttached","_removeMissingPairs","length","isRemoveSuggestion","dataToMarker","sort","startIndex","isIncorrect","concat","change:isReady","from","hasClass","showNextChange","getCustomProperty","getIndex","isAtStart","previousPosition","_initInteractions","get","code","ck-revision-history-root-add","backward","_markInsertions","_makeModelFromTape","createRange","addClass","elementEnd","nextSibling","indexOf","splice","attributesBefore","getDomRoot","map","resolve","add","start","deletions","nextPosition","rootName","markers","catch","deletion","createRevision","done","createRangeIn","_balloon","domConverter","unbindElementFromMarkerName","change:activeView","isAtEnd","revision-viewer","getWalker","_joinTapes","_removeUnsupportedChanges","listenTo","has","consume","merge","showPreviousChange","elementToAttribute","toViewPosition","vid","bindElementToMarker","downcastDispatcher","forceDisabled","distance","repository","mapViewToDom","showStack","editor","_refreshStartEndIndex","commands","affectsData","_cleanMarkers","target","shift","_activeViewTarget","enableReadOnlyMode","ck-suggestion-preview-marker-","markersEnd","range","createUIElement","getRevision","hasAttribute","view","compare","editingDowncast","ck-suggestion-marker-","forward","string","config","schema","ck-revision-history-root--active","removeMarker:revision","_setConversion","_getRevisionsRange","left","change:isEnabled","conversion","toViewElement","removeAttribute","all","_markMismatchedRemovedTags","uiElement","reconvertMarker","_setDistance","userId","isBefore","getRevisionDocumentData","oldRevisionId","updatePosition","isLimit","addMarker:revision-suggestion:insertion","startsWith","_getChangeFromId","_changeView","detachRoot","activeView","maxOffset","mousedown","vid_start","diff","mouseover","ck-suggestion-marker-merge","upcast","unshift","remove","selection","attributesAfter","values","requires","right","includes","RevisionsRepository","insertions","40RoKTpz","revision","removeMarker:revision-suggestion","revisionHistory","attributes","isBlock","2239698eBqikA","checkAttribute","elementStart","isReady","init","revision:","return","top","authors","_cleanUp","_getViewForChange","flat","change:activeChange","data-change-id","item","offsetSize","changes","change:numberOfChanges","addHighlight","markerNameToElements","forEach","endIndex","isOnRoot","getItems","insert","newRevisionId","getRootNames","_appendChild","nodeAfter","isAfter","element:pre","roots","markerToHighlight","parent","editing","isObject","then","ck-revision-history-root-","isNavigationMode","7kHOYYW","_markSuggestions","WidgetToolbarRepository","getChild","restoreRevisionCallback","isAddSuggestion","ck-suggestion-preview-marker"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(401055===parseInt(e(587))/1+-parseInt(e(346))/2*(parseInt(e(345))/3)+parseInt(e(634))/4+-parseInt(e(374))/5+-parseInt(e(517))/6*(parseInt(e(556))/7)+-parseInt(e(361))/8+parseInt(e(621))/9*(parseInt(e(511))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends H.Plugin{[Xt(442)];[Xt(354)]=null;[Xt(348)];[Xt(452)];[Xt(491)];[Xt(595)];[Xt(421)];static get[Xt(617)](){return Xt(598)}static get[Xt(581)](){return!0}static get[Xt(363)](){return!0}static get[Xt(506)](){return[U.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(442)]=this[e(445)][e(625)][e(394)](e(509)),this[e(348)]=this[e(445)][e(625)][e(394)](e(362)),this[e(349)](e(373),null),this[e(349)](e(493),null),this[e(452)]=null,this[e(349)](e(497),null),this[e(349)](e(520),!1),this[e(349)](e(641),!0),this.on(e(473),((t,i,s)=>{const n=e;this[n(373)]=null,this[n(493)]=null,this[n(445)][n(551)][n(460)][n(626)]((t=>{const e=n;for(const i of this[e(445)][e(551)][e(460)][e(364)][e(548)])s?t[e(590)](e(368),i):t[e(401)](e(368),i)}))})),this[e(660)](e(555)).to(this,e(373),(t=>null!==t)),this[e(660)](e(568)).to(this,e(520),this,e(497),this,e(373),((t,i,s)=>t&&s?i[e(533)][e(390)](s):0)),this[e(660)](e(649)).to(this,e(520),this,e(497),((t,i)=>t?i[e(533)][e(378)]:0)),this[e(491)]=null,this[e(595)]=new Map,this[e(421)]=this[e(445)][e(625)][e(394)](pt.ContextualBalloon)}[Xt(521)](){const t=Xt,e=this[t(445)],i=new ne(e,{direction:t(397)}),s=new ne(e,{direction:t(464)});e[t(447)][t(410)](t(434),i),e[t(447)][t(410)](t(388),s),e[t(447)][t(410)](t(371),new se(e)),this.on(t(534),(()=>{const e=t;i[e(564)](),s[e(564)]()})),this[t(470)](),this[t(393)](),e[t(453)](t(426)),e[t(625)][t(431)](t(558))&&e[t(625)][t(394)](t(558))[t(440)](t(426))}async[Xt(484)](t){const e=Xt;return await this[e(348)][e(589)](t,this[e(354)]),this[e(348)][e(484)](t)}async[Xt(375)](t){const e=Xt;return await this[e(348)][e(589)](t,this[e(354)]),this[e(348)][e(375)](t)}async[Xt(461)](t,e,i=!1){const s=Xt;if(!this[s(641)])return;const n=this[s(497)],r=this[s(442)],o=s(465)==typeof t?r[s(458)](t):t,a=s(465)==typeof e?r[s(458)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(497)]&&this[s(497)][s(542)]===c&&this[s(497)][s(485)]===u)return Promise[s(409)]();this[s(520)]=!1,this[s(493)]=null,this[s(373)]=null,this[s(497)]=new Jt(c,u);const l=this[s(471)](o,a,!0)[s(408)]((t=>this[s(348)][s(589)](t,this[s(354)])));return l[s(594)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(477)](l)[s(553)]((()=>{const t=s;if(!this[t(641)])return;this[t(526)]();const e=this[t(584)](c,u);for(const i of e[t(533)])this[t(595)][t(349)](i.id,i);this[t(445)][t(658)][t(353)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(445)][s(658)][s(364)][s(543)]())i[s(492)](t);for(const t of Object[s(630)](e[s(658)])){const n=i[s(622)](t);for(const r of Object[s(630)](e[s(515)][t]))i[s(612)](r,e[s(515)][t][r],n);i[s(541)](e[s(658)][t],n,0)}})),this[t(497)][t(593)](this[t(615)](e[t(533)])),this[t(520)]=!0}))[s(416)]((t=>{const e=s;console[e(365)](t),this[e(526)](),n&&(this[e(497)]=n),this[e(520)]=!0}))}[Xt(652)](t,e){const i=Xt,s=this[i(442)][i(418)](t);return s.on(i(350),((t,i,n)=>e(i,n,s))),this[i(442)][i(637)](s),s}[Xt(526)](){const t=Xt;this[t(373)]=null,this[t(449)](),this[t(491)]&&this[t(491)][t(632)](),this[t(491)]=null,this[t(595)][t(569)](),this[t(445)][t(658)][t(353)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(445)][i(658)][i(364)][i(543)]())e[i(492)](t)}))}[Xt(615)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(445)][e(658)][e(364)][e(543)]()){const n=this[e(445)][e(551)][e(460)][e(407)](t);if(!n)continue;const r=n[e(618)]()[e(531)](0);r&&(i[e(594)](t),s[e(349)](t,r))}return i[e(381)](((t,i)=>{const n=e,r=s[n(394)](t),o=s[n(394)](i);return r.y-o.y||r.x-o.x})),(t=t[e(344)]((t=>i[e(508)](t[e(414)]))))[e(381)](((t,s)=>i[e(404)](t[e(414)])-i[e(404)](s[e(414)]))),t}[Xt(342)](t){const e=Xt,i=Array[e(386)](t[e(415)])[e(344)]((([t,i])=>t[e(489)](e(522))&&!i[e(591)])),s=Array[e(386)](this[e(445)][e(658)][e(420)](t)[e(427)]({singleCharacters:!0}));if(0!=i[e(378)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(340)](":");if(n[e(605)][e(370)](t[e(413)])&&i[e(451)](),(t[e(392)][e(370)](n[e(411)])||t[e(392)][e(546)](n[e(411)]))&&(e(369)==r?t[e(578)]={userId:o}:e(417)==r&&(t[e(635)]={userId:o})),0==i[e(378)])break}return s}[Xt(446)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(378)];s++)e(585)===t[s][e(604)]?(t[s][e(531)][e(382)]=s,t[s][e(531)][e(538)]=s):(e(519)===t[s][e(604)]?t[s][e(531)][e(382)]=s:e(402)===t[s][e(604)]&&(t[s][e(531)][e(538)]=s),i[e(349)](t[s].id,s));for(const s of i[e(505)]())e(519)===t[s][e(604)]?t[s][e(531)][e(538)]=i[e(394)](t[s][e(341)]):e(402)===t[s][e(604)]&&(t[s][e(531)][e(382)]=i[e(394)](t[s][e(341)]))}[Xt(367)](t){const e=Xt;for(let i=0;i<t[e(378)];i++){if(e(519)===t[i][e(604)])t[i][e(531)][e(382)]=i;else if(e(402)===t[i][e(604)]){t[i][e(531)][e(538)]=i;const s=t[i][e(531)][e(382)];t[s][e(341)]=t[i].id,t[i][e(341)]=t[s].id}else t[i][e(531)][e(382)]=i,t[i][e(531)][e(538)]=i,t[i][e(341)]=null;t[i][e(357)]||(t[i][e(357)]=[],t[i][e(455)]=[])}}[Xt(398)](t,e){const i=Xt,s=t[i(344)]((t=>!t[i(578)]));for(let t=0;t<e[i(378)];t++)e[t][i(578)]&&(s[t][i(578)]=e[t][i(578)])}[Xt(584)](t,e=null){const i=Xt,s=this[i(442)][i(458)](t),n=e?this[i(442)][i(458)](e):null,r=this[i(471)](s,n),o=r[r[i(378)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(378)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(630)](e[i(572)]))if(e[i(572)][t][i(644)]){const s=e[i(572)][t][i(644)];s[i(376)]?(u[i(410)](t),l[i(431)](t)&&l[i(394)](t)[i(482)]==s[i(482)]?l[i(638)](t):l[i(349)](t,s)):l[i(431)](t)?(u[i(638)](t),l[i(638)](t)):(u[i(410)](t),l[i(349)](t,s))}else u[i(410)](t)}for(const t of u){const e=l[i(431)](t)&&!l[i(394)](t)[i(376)];let s=e?r[i(378)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(572)][t]){const s=e?o[i(572)][t][i(406)]:o[i(572)][t][i(504)];c[i(515)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(658)]={};for(const e of t[i(525)])a[i(349)](e.id,e);for(const e of u){const s=t[i(572)][e]?t[i(572)][e][i(510)]:"[]",n=t[i(572)][e]?t[i(572)][e][i(412)]:"[]";t[i(658)][e]={insertions:this[i(348)][i(601)](s),deletions:this[i(348)][i(601)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(386)](s[i(658)][t][i(510)][i(415)])[i(344)]((([t])=>!t[i(489)](i(522)))));let h=0;for(const o of r){const r=this[i(342)](o[i(658)][t][i(510)]);o==s?(e=r,n=e[i(378)],e[i(537)]((t=>{t.id=h++})),this[i(367)](e)):this[i(398)](e,r);const a=e[i(344)]((t=>!t[i(578)]))[i(408)]((t=>t.id));let c=0;const l=this[i(342)](o[i(658)][t][i(412)]);l[i(537)]((t=>{t[i(635)]?t.id=n++:t.id=a[c++]})),this[i(367)](l),this[i(481)](e,i(578)),this[i(481)](l,i(635)),o==s&&this[i(603)](e,u),e=this[i(428)](e,l),this[i(446)](e),this[i(481)](e,i(635))}e=e[i(344)]((t=>!(t[i(578)]&&t[i(635)])));const d=new Map(o[i(658)][t][i(412)][i(415)]),f=new Set(u[i(630)]());for(const t of d[i(630)]())f[i(638)](t);this[i(557)](e,f),this[i(358)](e),e=this[i(377)](e),e=this[i(478)](e),e=this[i(429)](e);const{root:m,changes:p}=this[i(399)](e,a,t);c[i(658)][t]=m;const v=l[i(394)](t);if(v){const e=a[i(394)](v[i(482)]),s=new qt({author:e,type:v[i(376)]?i(410):i(502),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(501)](s),c[i(515)][t][i(574)]=s.id}c[i(533)]=c[i(533)][i(384)](p)}return c}[Xt(603)](t,e){const i=Xt;for(let s=0;s<t[i(378)];s++)for(const[n,r]of e)!r[i(591)]&&r[i(411)][i(370)](t[s][i(392)])&&t[s][i(357)][i(594)](n),r[i(605)][i(370)](t[s][i(413)])&&t[s][i(455)][i(594)](n)}[Xt(428)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(378)]||r<e[i(378)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(594)](o);else if(a[i(635)]&&o[i(578)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(648)](t,n,e,r);s=s[i(384)](o),n=a,r=c}else a[i(635)]?(r++,s[i(594)](a)):(n++,s[i(594)](o))}return s}[Xt(557)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(378)];o++){for(let r=0;r<t[o][i(357)][i(378)];r++){const a=t[o][i(357)][r];if(!e[i(431)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(653)!=c||i(369)!=u&&i(417)!=u||(s[i(501)]({type:u,name:a,userId:l}),t[o][i(357)][i(405)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(455)][i(378)];r++){const a=t[o][i(455)][r];if(!e[i(431)](a))continue;const{group:c,type:u}=n(a);if(i(653)!=c||i(369)!=u&&i(417)!=u)continue;t[o][i(455)][i(405)](r,1),r--;const l=s[i(573)]((t=>t[i(586)]==a));l>-1&&s[i(405)](l,1)}}function n(t){const e=i,s=t[e(340)](":");return{group:s[0],type:s[1],subType:s[e(378)]>=5?s[2]:null,id:s[e(378)]<5?s[2]:s[3],authorId:s[e(378)]<5?s[3]:s[4],markerCount:6==s[e(378)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(378)];i++){if(t[e(578)]&&e(369)==s[i][e(604)])return t[e(561)]=s[i],void delete t[e(578)];if(!t[e(578)]&&!t[e(635)]&&e(417)==s[i][e(604)])return void(t[e(379)]=s[i])}}}[Xt(481)](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(349)](o.id,s);for(let s=0;s<t[i(378)];s++){if(i(635)==e&&t[s][i(578)]||i(578)==e&&t[s][i(635)])continue;if(i(585)==t[s][i(604)]){t[s][i(441)]=0;continue}const n=r[i(394)](t[s][i(341)]),o=r[i(394)](t[s].id);t[s][i(441)]=n-o}}[Xt(471)](t,e,i=!1){const s=Xt,n=[];let r=this[s(442)][s(390)](t),o=this[s(442)][s(390)](e);for(-1==o&&(o=this[s(442)][s(347)][s(378)],i=!1);r<o;)n[s(594)](this[s(442)][s(458)](r)),r++;return i&&n[s(594)](this[s(442)][s(458)](r)),n}[Xt(648)](t,e,i,s){const n=Xt,r=this[n(445)][n(658)][n(467)];let o=e;for(;t[o]&&t[o][n(578)];)o++;let a=s;for(;i[a]&&i[a][n(635)];)a++;u(t,e,o),u(i,s,a);const c=i[n(609)](s,a)[n(384)](t[n(609)](e,o));return c[n(381)](((t,e)=>t[n(583)]!=e[n(583)]?t[n(583)]-e[n(583)]:t[n(599)]!=e[n(599)]?t[n(599)]-e[n(599)]:t[n(441)]!=e[n(441)]?e[n(441)]-t[n(441)]:!!t[n(578)]!=!!e[n(578)]?-1==t[n(583)]||0==t[n(583)]?t[n(578)]?-1:1:t[n(578)]?1:-1:t[n(592)]-e[n(592)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(579)],c=!0;for(let n=e;n<i;n++)if(r[s(577)](t[n][s(531)])||(c=!1),t[n][s(531)][s(382)]<e&&(o=n),t[n][s(531)][s(538)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(583)]=n<=o?-1:n<a?0:1,t[n][s(592)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(441)]?t[i][s(599)]=u:(u++,t[i][s(599)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(583)]&&(t[n][s(599)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(441)]?t[e][s(599)]=u:(u--,t[e][s(599)]=u,u--)}}[Xt(358)](t){const e=Xt,i=new Map,s=this[e(445)][e(658)][e(467)];for(let n=1;n<t[e(378)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(585)==c[e(604)])continue;if(c[e(604)]!=u[e(604)])continue;if(!s[e(516)](u[e(531)])||s[e(487)](u[e(531)]))continue;if(!s[e(516)](c[e(531)])||s[e(487)](c[e(531)]))continue;if((t[n][e(578)]||t[n][e(561)])&&t[n-1][e(635)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(635)]||!t[n-1][e(578)]&&!t[n-1][e(561)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(599)]==o[e(599)],h=Math[e(359)](r[e(599)])<Math[e(359)](o[e(599)])&&0==o[e(441)];(l||h)&&(i[e(349)](o.id,r.id),t[e(405)](a,1),n--,r[e(578)]=!1)}for(let s=0;s<t[e(378)];s++)i[e(431)](t[s][e(341)])&&(t[s][e(341)]=i[e(394)](t[s][e(341)]))}[Xt(377)](t){const e=Xt,i=new Set(t[e(408)]((t=>t.id)));for(let s=0;s<t[e(378)];s++)i[e(431)](t[s][e(341)])||0==t[s][e(441)]||(t[s][e(383)]=!0);return t[e(344)]((t=>!t[e(383)]))}[Xt(478)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(378)];s++){if(i[e(431)](t[s].id)&&t[s][e(635)]&&(t[s][e(383)]=!0),t[s][e(383)])continue;if(0==t[s][e(441)])continue;if(e(519)!=t[s][e(604)])continue;if(null==t[s][e(341)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(341)];)e(519)==t[n][e(604)]?r++:e(402)==t[n][e(604)]&&r--,n++;if(0!=r)if(t[s][e(635)])t[s][e(383)]=!0;else for(;n!=s;)t[n][e(635)]&&0!=t[n][e(441)]&&(t[n][e(383)]=!0,i[e(410)](t[n][e(341)])),n--}return t[e(344)]((t=>!t[e(383)]))}[Xt(429)](t){const e=Xt,i=this[e(445)][e(658)][e(467)];for(let s=0;s<t[e(378)];s++){if(!(t[s][e(578)]||t[s][e(561)]||t[s][e(635)]||t[s][e(379)]))continue;if(0==t[s][e(441)])continue;const n=t[s][e(531)];i[e(516)](n)||i[e(487)](n)||(t[s][e(578)]&&delete t[s][e(578)],t[s][e(561)]&&delete t[s][e(561)],t[s][e(379)]&&delete t[s][e(379)],t[s][e(635)]&&(t[s][e(383)]=!0))}return t[e(344)]((t=>!t[e(383)]))}[Xt(399)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(445)][s(658)],c=a[s(467)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(378)];e++)if(s(519)===t[e][s(604)]){t[e][s(392)]=a[s(655)](n,f);const i=new Z.Element(t[e][s(531)][s(586)],t[e][s(531)][s(600)]());u[0][s(544)](i),f[s(594)](0),u[s(501)](i),t[e][s(413)]=a[s(655)](n,f)}else s(402)===t[e][s(604)]?(u[s(451)](),t[e][s(392)]=a[s(655)](n,f),f[s(597)](),f[f[s(378)]-1]++,t[e][s(413)]=a[s(655)](n,f)):(t[e][s(392)]=a[s(655)](n,f),d?d[s(580)]+=t[e][s(531)][s(627)]:d=new Z.Text(t[e][s(531)][s(627)],t[e][s(531)][s(600)]()),t[e+1]&&s(585)===t[e+1][s(604)]&&v(d,t[e+1][s(531)])||(u[0][s(544)](d),d=null),f[f[s(378)]-1]+=t[e][s(531)][s(532)],t[e][s(413)]=a[s(655)](n,f));for(let e=0;e<t[s(378)];e++){const i=t[e][s(392)],n=t[e][s(413)];for(const n of t[e][s(357)])o[s(349)](n,{start:i,end:null});m(s(379),e,i,n),m(s(561),e,i,n),m(s(635),e,i,n),m(s(578),e,i,n);for(const i of t[e][s(455)]){const t=o[s(394)](i);t?t[s(605)]=n:o[s(349)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(445)][s(658)][s(400)](e[s(411)],e[s(605)]);n[s(415)][s(349)](t,i)}return r[s(381)](((t,e)=>{const i=s,r=n[i(415)][i(394)](i(522)+t.id),o=n[i(415)][i(394)](i(522)+e.id);return r[i(411)][i(483)](o[i(411)])?-1:r[i(411)][i(546)](o[i(411)])?1:r[i(605)][i(483)](o[i(605)])?-1:r[i(605)][i(546)](o[i(605)])?1:i(410)===t[i(604)]?-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(482)]:null,d=i===t[o(378)]-1,f=h[e][0],m=c[o(552)](t[i][o(531)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(605)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(482)]!==u&&(l[e][o(605)]=n,f&&f[o(482)]===l[e][o(482)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(519)!==t[i][o(604)]||f&&f[o(482)]===u||h[e][o(501)]({userId:u,object:t[i][o(531)],change:l[e]}),o(402)===t[i][o(604)]&&f&&f[o(565)]===t[i][o(531)]&&(h[e][o(451)](),l[e]=f[o(626)])),l[e]&&d&&(l[e][o(605)]=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(531)],f=a[h(467)][h(516)](d)&&!a[h(467)][h(487)](d),m=t[h(545)]==o[h(550)]&&o[h(391)];if(f&&m)return;const p=a[h(400)](t,o),v=e[h(394)](u),g=new qt({author:v,type:h(578)==l||h(561)==l?h(410):h(502),data:{isSuggestion:h(561)==l||h(379)==l},createdAt:new Date,rootName:i});r[h(594)](g),n[h(415)][h(349)](h(522)+g.id,p)}function v(t,e){const i=s,n=t[i(600)](),r=e[i(600)]();for(const t of n){if(t[1]!==e[i(628)](t[0]))return!1;r[i(616)]()}return r[i(616)]()[i(419)]}}[Xt(470)](){const t=Xt;this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(512)}),this[t(445)][t(474)][t(614)](t(462))[t(549)]({model:t(512),view:e=>{const i=t,s=e[i(563)][i(340)](":")[1],n=this[i(490)](s);if(!n)return null;const r=i(410)==n[i(604)]?i(369):i(417),o=[i(636),i(463)+r];return n[i(627)][i(640)]&&o[i(594)](i(463)+r+i(575)),this[i(373)]==n&&o[i(594)](i(582)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(445)][t(474)][t(614)](t(500))[t(410)]((e=>{const i=t;e.on(i(547),((t,e,s)=>{const n=i,r=e[n(610)][n(559)](0);if(!r||!r.is(n(596),n(395)))return;if(!s[n(639)][n(432)](r,{attributes:[n(496),n(576)]}))return;const o=e[n(352)][n(411)][n(545)];s[n(588)][n(612)](n(496),r[n(628)](n(496)),o),s[n(588)][n(612)](n(576),r[n(628)](n(576)),o)}),{priority:i(343)})})),this[t(445)][t(474)][t(614)](t(500))[t(410)]((e=>{const i=t;e.on(i(596),((t,e,s)=>{const n=i;if(!s[n(639)][n(432)](e[n(610)],{attributes:[n(496),n(576)]}))return;if(e[n(352)][n(591)])return;const r=e[n(352)][n(411)][n(545)];r[n(459)](n(496))||r[n(459)](n(437))||(s[n(588)][n(612)](n(496),e[n(610)][n(628)](n(496)),r),s[n(588)][n(612)](n(576),e[n(610)][n(628)](n(576)),r))}),{priority:i(343)})})),this[t(445)][t(474)][t(614)](t(500))[t(435)]({view:{name:t(566),attributes:{vid:!0}},model:{key:t(437),value:e=>e[t(628)](t(437))}}),this[t(445)][t(658)][t(467)].on(t(518),((e,[,i])=>{const s=t;[s(496),s(576),s(437)][s(508)](i)&&(e[s(523)]=!0,e[s(602)]())}),{priority:t(351)}),this[t(445)][t(474)][t(614)](t(360))[t(410)]((e=>{const i=t;e.on(i(339),((t,e,s)=>{const n=i;if(" "!=e[n(531)][n(627)]||e[n(531)][n(550)][n(494)]>1)return;if(!s[n(639)][n(432)](e[n(531)],t[n(586)]))return;const r=s[n(588)],o=s[n(567)][n(645)](e[n(456)]);r[n(356)](o,r[n(606)](n(566)))}))})),this[t(445)][t(474)][t(614)](t(360))[t(656)]({model:t(512)}),this[t(445)][t(551)][t(439)].on(t(629),function(e){const i=t,s=e[i(625)][i(394)](i(598));return(t,n,r)=>{const o=i,a=n[o(563)][o(340)](":")[1],c=s[o(490)](a);if(!c)return null;const u=o(410)==c[o(604)]?o(340):o(433);if(!r[o(639)][o(607)](n[o(338)],t[o(586)]))return;const l=n[o(338)][o(427)](),h=n[o(338)][o(411)],d=e[o(658)][o(467)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(531)];p=p||d[o(643)](e);const i=r[o(567)][o(475)](e);if(i&&i[o(389)](o(535)))return;o(402)==t[o(604)]&&d[o(516)](e)&&!d[o(487)](e)&&(e[o(403)]||h[o(425)]?f&&f[o(550)]==e||(f=e,g(t[o(392)]),v=!0):m=m||t[o(392)])}function g(t){const e=o,i=r[e(588)][e(457)](e(566),{class:e(463)+u}),a=r[e(567)][e(436)](t);c[e(627)][e(640)]&&r[e(588)][e(401)](e(463)+u+e(575),i),s[e(373)]==c&&r[e(588)][e(401)](e(582),i),r[e(588)][e(541)](a,i),r[e(567)][e(438)](i,n[e(563)])}p||v||!m||g(m)}}(this[t(445)]),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(469),((e,i,s)=>{const n=t,r=s[n(567)][n(536)](i[n(563)]);if(r)for(const t of r)(t[n(387)](n(650))||t[n(387)](n(499)))&&(s[n(567)][n(423)](t,i[n(563)]),s[n(588)][n(502)](t))}),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(629),((e,i,s)=>{const n=t,r=i[n(563)][n(340)](":")[1],o=this[n(490)](r);if(!o)return null;const a=n(410)==o[n(604)]?n(340):n(433);if(s[n(639)][n(607)](i[n(338)],e[n(586)]))for(const t of i[n(338)][n(540)]()){if(!t.is(n(596),n(646)))continue;const e=s[n(588)][n(457)](n(566),{class:n(463)+a}),r=s[n(567)][n(436)](this[n(445)][n(658)][n(608)](t));o[n(627)][n(640)]&&s[n(588)][n(401)](n(463)+a+n(575),e),this[n(373)]==o&&s[n(588)][n(401)](n(582),e),s[n(588)][n(541)](r,e),s[n(567)][n(438)](e,i[n(563)])}}),{priority:t(662)}),this[t(445)][t(658)][t(364)].on(t(626),(()=>{const e=t;this[e(445)][e(551)][e(460)][e(626)]((t=>{const i=e;for(const e of this[i(445)][i(658)][i(364)][i(543)]()){const s=this[i(445)][i(658)][i(364)][i(623)](e),n=this[i(445)][i(551)][i(460)][i(364)][i(623)](e);if(n){const e=s[i(628)](i(574));if(t[i(476)](i(530),n),t[i(590)](i(396),n),t[i(590)](i(611),n),t[i(590)](i(468),n),e){const s=this[i(490)](e);if(!s)return null;t[i(612)](i(530),e,n),t[i(401)](i(554)+s[i(604)],n),this[i(373)]==s&&t[i(401)](i(468),n)}}}}))})),this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(642),model:e=>t(661)+e,converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(500))[t(380)]({view:t(613),model:e=>t(647)+e,converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(360))[t(656)]({model:t(653),view:e=>({name:t(657)+e,group:t(653)}),converterPriority:t(351)}),this[t(445)][t(474)][t(614)](t(462))[t(549)]({model:t(653),view:e=>{const i=t,s=e[i(563)][i(340)](":")[1];return i(369)!=s&&i(417)!=s?null:{classes:[i(562),i(454)+s]}}}),this[t(445)][t(551)][t(439)].on(t(659),ie(this[t(445)],t(433)),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(488),ie(this[t(445)],t(340)),{priority:t(662)}),this[t(445)][t(551)][t(439)].on(t(513),((e,i,s)=>{const n=t,r=s[n(567)][n(536)](i[n(563)]);if(r)for(const t of r)t.is(n(479))&&(s[n(567)][n(423)](t,i[n(563)]),s[n(588)][n(502)](t))}),{priority:t(662)})}[Xt(490)](t){const e=Xt;return this[e(595)][e(394)](t)}[Xt(527)](t){const e=Xt;return this[e(491)]&&this[e(491)][e(632)](),this[e(491)]=new zt(this[e(445)][e(651)],t),this[e(491)]}[Xt(393)](){const t=Xt;this[t(445)][t(658)][t(364)][t(503)][t(654)](t(512)),this.on(t(424),((e,i,s,n)=>{const r=t;n&&this[r(421)][r(502)](n),s&&(this[r(421)][r(410)]({view:s,stackId:r(571),position:{target:()=>{const t=r,e=this[t(445)][t(551)],i=this[t(490)](s[t(619)]);let n;if(i[t(627)][t(539)]){const s=e[t(460)][t(407)](i[t(414)]);n=Array[t(386)](s[t(618)]())}else{const i=this[t(445)][t(658)][t(415)][t(394)](t(522)+s[t(619)]);n=Array[t(386)](e[t(567)][t(536)](i[t(586)]))[t(408)]((i=>e[t(460)][t(422)][t(443)](i)))[t(408)]((e=>Array[t(386)](e[t(618)]())))[t(528)]()}return this[t(452)]&&n[t(570)]((e=>e[t(524)]-3<=this[t(452)].y&&e[t(337)]+3>=this[t(452)].y&&e[t(472)]-3<=this[t(452)].x&&e[t(507)]+3>=this[t(452)].x))||n[0]}}}),this[r(421)][r(444)](r(571)))})),this.on(t(529),((e,i,s,n)=>{const r=t;this[r(493)]=s?this[r(527)](s):null,this[r(445)][r(658)][r(626)]((()=>{const t=r,e=this[t(445)][t(551)];n&&(n[t(627)][t(539)]?e[t(460)][t(626)]((i=>{const s=t;i[s(590)](s(468),e[s(460)][s(364)][s(623)](n[s(414)]))})):e[t(480)](t(522)+n.id)),s&&(s[t(627)][t(539)]?e[t(460)][t(626)]((i=>{const n=t;i[n(401)](n(468),e[n(460)][n(364)][n(623)](s[n(414)]))})):e[t(480)](t(522)+s.id))}))})),this[t(430)](this[t(445)][t(551)][t(460)][t(364)],t(498),((e,i)=>{const s=t;if(this[s(373)])return;const n=this[s(624)](i[s(450)]),r=this[s(595)][s(394)](n);r?(this[s(452)]={x:i[s(372)].x,y:i[s(372)].y},this[s(493)]=this[s(527)](r)):(this[s(452)]=null,this[s(493)]=null)})),this[t(430)](this[t(445)][t(551)][t(460)][t(364)],t(495),((e,i)=>{const s=t,n=this[s(624)](i[s(450)]),r=this[s(595)][s(394)](n);r?(this[s(452)]={x:i[s(372)].x,y:i[s(372)].y},r===this[s(373)]?this[s(421)][s(486)]():this[s(373)]=r):(this[s(452)]=null,this[s(373)]=null)}))}[Xt(624)](t){const e=Xt;do{const i=t[e(628)](e(530));if(i)return i;t=t[e(550)]}while(t);return null}[Xt(449)](){const t=Xt;this[t(445)][t(658)][t(626)]((e=>{const i=t;for(const t of this[i(445)][i(658)][i(415)])e[i(620)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(639)][r(607)](s[r(338)],i[r(586)]))return;const o=s[r(338)][r(427)](),a=s[r(338)][r(411)],c=t[r(658)][r(467)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(531)];h=h||c[r(643)](e);const i=n[r(567)][r(475)](e);if(i&&i[r(389)](r(535)))return;r(402)==t[r(604)]&&c[r(516)](e)&&!c[r(487)](e)&&(e[r(403)]||a[r(425)]?u&&u[r(550)]==e||(u=e,f(t[r(392)]),d=!0):l=l||t[r(392)])}function f(t){const i=r,o=n[i(567)][i(436)](t),a=n[i(588)][i(457)](i(566),{class:i(454)+e});n[i(588)][i(541)](o,a),n[i(567)][i(438)](a,s[i(563)])}h||d||!l||f(l)}}class se extends H.Command{constructor(t){const e=Xt;super(t);const i=t[e(625)][e(394)](ee);this[e(448)]=!1,this[e(430)](i,e(385),(()=>this[e(564)]())),this[e(430)](i,e(473),(()=>this[e(564)]()))}[Xt(631)](){const t=Xt,e=this[t(445)],i=e[t(625)][t(394)](ee),s=i[t(520)]?i[t(497)][t(542)]:null;e[t(466)][t(394)](t(514))[t(560)](s)}[Xt(564)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(445)][t(625)][t(394)](ee),r=n&&s[t(366)](n[t(542)]);this[t(641)]=e&&i&&Boolean(r)}}class ne extends H.Command{[Xt(633)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(625)][i(394)](ee);this[i(448)]=!1,this[i(633)]=i(464)===e?1:-1,this[i(430)](s,i(385),(()=>this[i(564)]())),this[i(430)](s,i(473),(()=>this[i(564)]())),this[i(430)](s,i(529),(()=>this[i(564)]()))}[Xt(631)](){const e=Xt,i=this[e(445)],s=i[e(625)][e(394)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(373)]=n?s[e(497)][e(533)][e(394)](r+this[e(633)]):s[e(497)][e(533)][e(355)],s[e(373)][e(627)][e(539)])o=i[e(551)][e(460)][e(407)](s[e(373)][e(414)]);else{const t=i[e(658)][e(415)][e(394)](e(522)+s[e(373)].id);o=(0,U.getMarkerDomElement)(i[e(551)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(564)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(445)][t(625)][t(394)](ee);this[t(641)]=!!(r&&n&&s)&&(!e||(1===this[t(633)]?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=["setTemplate","_statusText","span","isNavigationMode","No changes","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","8lxQKEQ","Total","ck-hidden","numberOfChanges","3740577dKJDlF","4nzICok","ck-revision-history-ui__changes-navigation__navigation","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","12841eAUJXe","Loading...","X_OF_Y_CHANGES","backward","forward","bind","11013939KGlLkL","6626529ZAXqEI","isEnabled","bindTemplate","Show next change","5110032xrmric","currentChangeNumber","631610bPCqOf","NUMBER_OF_CHANGES","isReady","ck-revision-history-ui__changes-navigation__wrapper","fire","execute","div","ck-revision-history-ui","isBackwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","set","Show previous change","54zBzOqq","16376710ZIXEjd"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(707549===parseInt(e(295))/1*(-parseInt(e(320))/2)+parseInt(e(333))/3*(parseInt(e(334))/4)+parseInt(e(308))/5+-parseInt(e(306))/6+parseInt(e(302))/7+-parseInt(e(329))/8*(-parseInt(e(301))/9)+-parseInt(e(321))/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(304)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(318)](e(325),!1),this[e(318)](e(310),!1),this[e(318)](e(307),0),this[e(318)](e(332),0),this[e(318)](e(328),!1),this[e(318)](e(316),!1),this[e(300)](e(293)).to(this,e(310),this,e(332),((t,e)=>t&&e>0)),this[e(300)](e(323)).to(this,e(310),this,e(307),this,e(332),this,e(325),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(296));if(!n)return Q(t,o(326));const a=Q(t,o(309),n);return r?Q(t,o(297),[s+1,n]):a})),s[e(318)]({label:Q(t,e(319)),tooltip:!0,icon:mt.IconChevronUp}),n[e(318)]({label:Q(t,e(305)),tooltip:!0,icon:mt.IconChevronDown}),s[e(300)](e(303)).to(this,e(316)),n[e(300)](e(303)).to(this,e(328)),s.on(e(313),(()=>this[e(312)](e(313),e(298)))),n.on(e(313),(()=>this[e(312)](e(313),e(299)))),this[e(322)]({tag:e(314),attributes:{class:["ck",e(315),e(327)]},children:[{tag:e(324),attributes:{class:[e(311)]},children:[{tag:e(324),attributes:{class:[e(294),i.if(e(293),e(331),(t=>!t))]},children:[{text:i.to(e(325),(i=>i?Q(t,e(317))+": ":Q(t,e(330))+": "))}]},{text:i.to(e(323))}]},new pt.ToolbarSeparatorView,{tag:e(314),attributes:{class:[e(335)]},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;function de(){const t=["view","show","document","removeClass","61789KesLMB","editing","change","isOfficialPlugin","11FhziTQ","6111462PvSzyY","90WYGvGS","ck-editor__editable__loading-overlay","4097130lPReJl","isPremiumPlugin","addClass","1CpLjfh","168016IpuVxl","RevisionViewerLoadingOverlay","27jMiZaG","1803380UsHshb","15601460mxooFE","pluginName","300520XgdTsx","hide","editor","roots"];return(de=function(){return t})()}const fe=me;function me(t,e){const i=de();return(me=function(t,e){return i[t-=228]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(690530===-parseInt(e(229))/1*(-parseInt(e(233))/2)+-parseInt(e(252))/3+parseInt(e(236))/4*(-parseInt(e(250))/5)+parseInt(e(249))/6+-parseInt(e(244))/7+parseInt(e(230))/8*(-parseInt(e(232))/9)+-parseInt(e(234))/10*(-parseInt(e(248))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=fe(251);class ve extends H.Plugin{static get[fe(235)](){return fe(231)}static get[fe(247)](){return!0}static get[fe(253)](){return!0}[fe(241)](){const t=fe,e=this[t(238)][t(245)][t(240)];e[t(246)]((i=>{const s=t;for(const t of e[s(242)][s(239)])i[s(228)](pe,t)}))}[fe(237)](){const t=fe,e=this[t(238)][t(245)][t(240)];e[t(246)]((i=>{const s=t;for(const t of e[s(242)][s(239)])i[s(243)](pe,t)}))}}const ge=ke;function ye(){const t=["listenTo","Restore this revision","isForwardNavigationEnabled","show","1133zcDvWy","revisionHistory","execute","isReady","exitToEditing","get","init","592QLwtqS","change:isReady","ck-revision-history-ui__back-to-editing","pluginName","closeRevisionViewerCallback","662922qjHynV","isBackwardNavigationEnabled","isEnabled","add","forward","114kmIIfk","plugins","isNavigationMode","Back to editing","showNextChange","showPreviousChange","config","changesNavigation","requires","bind","49404SymWcM","4716xNOvkN","77795JgDpGV","isPremiumPlugin","RevisionViewerUI","commands","isOfficialPlugin","set","editor","90VCBrGv","12pUdxIK","320990JkItGW","239380opOFoE","restoreRevision","15883dkOVrW","numberOfChanges","hide","currentChangeNumber","componentFactory"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=453]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(163419===parseInt(e(476))/1*(parseInt(e(468))/2)+parseInt(e(477))/3*(-parseInt(e(479))/4)+parseInt(e(469))/5*(-parseInt(e(457))/6)+parseInt(e(481))/7*(parseInt(e(497))/8)+-parseInt(e(502))/9+-parseInt(e(478))/10+parseInt(e(490))/11*(parseInt(e(467))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends H.Plugin{static get[ge(500)](){return ge(471)}static get[ge(473)](){return!0}static get[ge(470)](){return!0}static get[ge(465)](){return[ee,ve]}[ge(496)](){const t=ge,e=this[t(475)],i=e[t(458)][t(495)](ee),s=e[t(458)][t(495)](ve);e.ui[t(485)][t(455)](t(494),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(474)]({label:Q(i,s(460)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(499)}),this[s(486)](n,s(492),(()=>{const t=s;e[t(463)][t(495)](t(491))[t(501)]()})),n})),e.ui[t(485)][t(455)](t(480),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(474)]({label:Q(i,s(487)),withText:!0,tooltip:!0}),n[s(466)](s(454)).to(e[s(472)][s(495)](s(480))),this[s(486)](n,s(492),(()=>e[s(492)](s(480)))),n})),e.ui[t(485)][t(455)](t(464),(s=>{const n=t,r=new ue(s),o=e[n(472)][n(495)](n(462)),a=e[n(472)][n(495)](n(461));return r[n(466)](n(453)).to(o,n(454)),r[n(466)](n(488)).to(a,n(454)),r[n(466)](n(493),n(484),n(482),n(459)).to(i),this[n(486)](r,n(492),((t,i)=>{const s=n;e[s(492)](s(456)===i?s(461):s(462))})),r})),s[t(489)](),i.on(t(498),((e,i,n)=>{const r=t;n?s[r(483)]():s[r(489)]()}))}}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=Te();return(Se=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(111441===-parseInt(e(364))/1*(-parseInt(e(387))/2)+parseInt(e(375))/3+parseInt(e(363))/4*(parseInt(e(362))/5)+-parseInt(e(359))/6+-parseInt(e(368))/7*(parseInt(e(376))/8)+-parseInt(e(374))/9*(-parseInt(e(379))/10)+-parseInt(e(390))/11*(parseInt(e(378))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(383)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(369)];this[i(388)]({label:Q(t,i(380)),_tooltipString:""}),this[i(366)][i(373)]=Q(t,i(389)),this[i(371)]({tag:i(372),attributes:{class:[i(360)],"data-cke-tooltip-text":s.to(i(384)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(358)}})}[Ie(365)](){const e=Ie;super[e(365)](),this[e(383)]=new t.ResizeObserver(this[e(366)][e(367)],(()=>this[e(377)]())),this[e(382)](this[e(366)],e(386),(()=>this[e(377)]()))}[Ie(385)](){const t=Ie;super[t(385)](),this[t(383)]&&this[t(383)][t(385)]()}[Ie(377)](){const t=Ie,e=this[t(366)][t(367)];this[t(384)]=e[t(370)]>e[t(361)]&&e[t(381)]||""}}function Te(){const t=["Enter the revision name","3016057EjAcyL","ck-tooltip_multi-line","221796NWNdYp","ck-revision-history-sidebar__revision-name","clientWidth","3335mzAZWX","1328NkOYPD","1249CaSZCu","render","fieldView","element","26054fZjfnD","bindTemplate","scrollWidth","extendTemplate","span","placeholder","108cjNTmy","532407doExge","296khioRQ","_updateTooltipText","12KhPgUN","52270cPngJI","Revision name","value","listenTo","_resizeObserver","_tooltipString","destroy","input","158YKSjem","set"];return(Te=function(){return t})()}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-=249]})(t,e)}function Re(){const t=["ck-revision-history-sidebar__revision-author_creator","50687280AjvqXz","2299025PrCEfP","ck-revision-history-sidebar__revision-author__name","9yVmVmG","63yOSfmk","ck-revision-history-sidebar__revision-author","setTemplate","Revision creator","span","590574ObLJhZ","name","9045112CqmrSC","Revision author","push","3418923OVlMTf","0 0 11 10","968094xblVNR","3HbiUEE","set","5515840ihSzNr"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(882959===parseInt(e(266))/1*(-parseInt(e(265))/2)+-parseInt(e(263))/3+-parseInt(e(268))/4+-parseInt(e(250))/5+-parseInt(e(258))/6*(parseInt(e(253))/7)+-parseInt(e(260))/8*(-parseInt(e(252))/9)+parseInt(e(249))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(267)]({content:mt.IconUser,viewBox:s(264)});const r=["ck",s(254)];i&&r[s(262)](s(269));const o=[{tag:s(257),attributes:{class:["ck",s(251)],title:Q(t,s(i?256:261))},children:[n,e[s(259)]]}];this[s(255)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=179]})(t,e)}function Ee(){var t=["toLocaleTimeString","239244TIJMWb","63QZhrqi","1594042PRDiBz","numeric","3605wwVOep","6eSivJs","1nDFXxX","897704wYahxL","1148190gtvfYR","long","2369400bNPXVB","737syYkJc","5190TScnpK","6084660YqAXJj","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(723711===parseInt(e(188))/1*(-parseInt(e(184))/2)+-parseInt(e(187))/3*(-parseInt(e(189))/4)+-parseInt(e(179))/5+parseInt(e(194))/6*(parseInt(e(186))/7)+-parseInt(e(192))/8+-parseInt(e(183))/9*(-parseInt(e(190))/10)+-parseInt(e(193))/11*(-parseInt(e(182))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=362]})(t,e)}function je(){const t=["panelPosition","isOpen","Name this revision","Show more items","buttonView","button","extendTemplate","class","723930JisSFI","bind","3ImjYaA","ck-on","238642ctrUyT","isReady","items","set","stopPropagation","isVisible","add","8WEOWZa","ck-revision-history-sidebar__revision__actions","413284rpQkEV","1034TjSvVf","8020yySOYs","function","find","bindTemplate","isEnabled","isActionsDropdownOpen","children","action","Restore this revision","source","listenTo","execute","_action","listView","change:isActionsDropdownOpen","29429AmPtAc","294120WuFcbQ","model","7eyMpDx","locale","1859166suQYoL","first","map","Compare against selected","menuitem","name","menu"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(114784===parseInt(e(368))/1+parseInt(e(392))/2*(parseInt(e(390))/3)+-parseInt(e(401))/4+parseInt(e(369))/5+parseInt(e(388))/6*(-parseInt(e(371))/7)+-parseInt(e(399))/8*(-parseInt(e(373))/9)+parseInt(e(403))/10*(-parseInt(e(402))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const We=ze;function ze(t,e){const i=He();return(ze=function(t,e){return i[t-=384]})(t,e)}function He(){const t=["1259064aJrLaO","authors","4dYWkSc","unshift","revisionActionsView","483720LKfRoO","setTemplate","936930zHOFUO","isEnabled","bindTemplate","highlight","220","isHighlighted","closest","isConfirm","element","filter","render","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","from","deselect","ck-reset","ck-revision-history-sidebar__revision__controls-wrapper","isReady","change","bind","ck-revision-history-sidebar__revision-authors","594378xteggC","fire","creator","select","ck-revision-history-sidebar__revision_highlighted","name","uiLanguage","createdAt","ck-revision-history-sidebar__revision-wrapper","_createdAtFormatted","_revision","srcElement","set",".ck-thread__remove-confirm","_requireRevisionName","9NQLPXR","map","39986DvziZj","isActionsDropdownOpen","revisionNameView","ck-disabled","ck-revision-history-sidebar__actions_dropdown_open","div","7NlQjzz","listenTo","3299150pkUiss","span","value","316362gUgyXE","unhighlight","length","setName","extendTemplate","fieldView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isSelected"];return(He=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(150023===parseInt(e(385))/1*(-parseInt(e(429))/2)+-parseInt(e(412))/3+parseInt(e(388))/4+parseInt(e(390))/5+parseInt(e(440))/6*(-parseInt(e(435))/7)+-parseInt(e(448))/8*(parseInt(e(427))/9)+parseInt(e(437))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[We(431)];[We(387)];[We(422)];[We(426)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(392)],a=function(t,e){const i=r,s=Array[i(404)](e[i(384)])[i(399)]((t=>t!=e[i(414)]));return e[i(414)]&&s[i(386)](e[i(414)]),s[i(428)]((s=>new Ve(t,s,s==e[i(414)])))}(e,i);this.id=i.id,this[r(422)]=i,this[r(426)]=n,this[r(410)](r(417),r(419)).to(i),this[r(410)](r(421)).to(this,r(419),(t=>{return i=e[r(418)],(s=t)[(n=Me)(180)](i,{month:n(191),day:n(185)})+", "+s[n(181)](i,{hour:n(185),minute:n(185)});var i,s,n})),this[r(424)](r(447),!1),this[r(424)](r(395),!1),this[r(424)](r(430),!1),this[r(424)](r(408),!1),this[r(424)](r(391),!1),this[r(431)]=new Oe(e,pt.createLabeledInputText),this[r(431)][r(445)][r(444)]({attributes:{maxlength:r(394)}}),this[r(431)][r(445)][r(410)](r(439)).to(this,r(417),(t=>t||this[r(421)])),this[r(431)][r(410)](r(391)).to(this,r(447),this,r(391),((t,e)=>t&&e)),this[r(387)]=s&&s[r(442)]?function(e,i){const s=Fe,n=e[s(406)],r=e[s(372)],o=(0,pt.createDropdown)(r);o[s(380)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(372)],n={"Compare against selected":Q(s,i(376)),"Name this revision":Q(s,i(382)),"Restore this revision":Q(s,i(411))};return e[i(375)]((t=>{const e=i,s=n[t[e(378)]];return s&&s!==t[e(378)]&&(t[e(378)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(385),model:new pt.ViewModel({label:t[n(378)],class:t[n(387)],withText:!0,role:n(377),_action:t[n(410)]})};i[n(370)][n(389)](n(407)).to(e,n(408),(i=>n(404)!=typeof t[n(407)]||!i||t[n(407)](e))),o[n(398)](i)}return o}(e,i);return e[s(389)](s(408)).to(o,s(381)),o[s(384)][s(395)]({label:Q(r,s(383)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(386)]({attributes:{class:[s(400),n.if(s(408),s(391))]},on:{click:n.to((t=>t[s(396)]()))}}),o.on(s(364),(t=>{const i=s;e[i(393)]&&i(404)==typeof t[i(362)][i(365)]&&t[i(362)][i(365)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(379)}),o[s(363)](e,s(367),((t,n,r)=>{const a=s;if(r)for(const t of o[a(366)][a(394)]){const s=t[a(409)][a(374)],n=i[a(405)]((t=>t[a(410)]===s[a(365)]))[a(397)];t[a(397)]=void 0===n||n(e)}})),o}(this,s):"",this[r(387)]&&this[r(387)][r(410)](r(391)).to(this),this[r(389)]({tag:r(434),attributes:{class:["ck",r(406),r(420),o.if(r(397),r(446))]},children:[{tag:r(434),attributes:{class:["ck",r(406),r(402),o.if(r(391),r(432),(t=>!t)),o.if(r(447),r(403)),o.if(r(395),r(416)),o.if(r(430),r(433))]},children:[this[r(431)],{tag:r(438),attributes:{class:["ck",r(401)]},children:[{text:o.to(r(421))}]},{tag:r(434),attributes:{class:["ck",r(407)]},children:[{tag:"ul",attributes:{class:["ck",r(411)]},children:a}]},this[r(387)]],on:{click:o.to((t=>{const e=r;t[e(423)][e(396)](e(425))||this[e(408)]&&this[e(391)]&&this[e(413)](e(415),{id:this.id})}))}}]})}[We(400)](){const t=We;super[t(400)]();const e=this[t(431)][t(445)][t(398)];this[t(436)](e,t(409),(()=>{const i=t;this[i(426)]&&!e[i(439)]||this[i(413)](i(443),{id:this.id,name:e[i(439)]}),e[i(439)]||(e[i(439)]=this[i(417)]?this[i(417)]:this[i(421)])}))}[We(415)](){this[We(447)]=!0}[We(405)](){this[We(447)]=!1}[We(393)](){this[We(395)]=!0}[We(441)](){this[We(395)]=!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 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 Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Hi{static fromOpts(t){return Hi.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 Hi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Hi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Hi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new Wi(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):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 Ui=null;class Zi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}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)||Ai.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=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(){Hi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=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=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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 Hs(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 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]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(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]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Hs(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0: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[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Hn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=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||Hi.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:Hi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Hi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Hi.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=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,Hs);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 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=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((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",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function 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(Hi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hr(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 Ur(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(Mr(i));const s=Hi.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:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Hi.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:Hi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Hi.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:Hi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Hi.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=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Hn,$n],[Un,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),[Dn,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=Hi.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=Ar(t,Hi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Hi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?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(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Hr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Hr(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":"")+Ur(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?Hr(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():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Hi.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=Hi.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=Hi.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(t,e){const i=oo();return(no=function(t,e){return i[t-=424]})(t,e)}function ro(t,e){const i=no,s=io[i(441)](t)[i(435)](e),n=io[i(443)](),r=n[i(445)]({days:1})[i(440)](i(433));let o,a;return s[i(439)](n,i(433))?(o=s[i(440)](i(433))[i(429)](),a=s[i(425)]()):s[i(439)](r,i(433))?(o=r[i(429)](),a=s[i(425)]()):s[i(439)](n,i(424))?(o=s[i(440)](i(424))[i(429)](),a=s[i(436)]||""):s[i(439)](n,i(438))?(o=s[i(440)](i(447))[i(429)](),a=s[i(427)]||""):(o=s[i(440)](i(438))[i(429)](),a=String(s[i(438)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["toRelativeCalendar","662wvmzGs","monthLong","13236KjGfZb","toJSDate","819273jyOGbl","8QpXoKN","56145JvhtqJ","day","40644xudFSx","setLocale","weekdayLong","42ZIQOHK","year","hasSame","startOf","fromJSDate","5BTARQB","local","4806ejptVH","minus","33rUlmcg","month","7611669JCCNpT","7835790IjhzbS","week"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(863052===parseInt(e(444))/1*(-parseInt(e(426))/2)+parseInt(e(432))/3+-parseInt(e(434))/4*(parseInt(e(442))/5)+-parseInt(e(437))/6*(-parseInt(e(430))/7)+-parseInt(e(431))/8*(-parseInt(e(448))/9)+parseInt(e(449))/10+-parseInt(e(446))/11*(parseInt(e(428))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);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=["removeRevision","9WfjTxs","setName","add","addRevision","find","_requireRevisionName","146NrNJeR","4148128KuNUYy","2343JCxQtE","delegate","createCollection","revisionViews","div","localizedPeriodName","_revisionActions","ck-revision-history-sidebar__time-period__label","remove","15842690cXvZXF","353020tnHgZD","setTemplate","span","startDate","select","ck-revision-history-sidebar__time-period__revisions","locale","7IDpqnt","ck-revision-history-sidebar__time-period","2065075nIojas","uiLanguage","1312704QfCFtd","825444robWku"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(269960===parseInt(e(405))/1*(-parseInt(e(403))/2)+-parseInt(e(394))/3+parseInt(e(383))/4+-parseInt(e(392))/5+parseInt(e(395))/6+-parseInt(e(390))/7*(parseInt(e(404))/8)+-parseInt(e(397))/9*(-parseInt(e(382))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(386)];[uo(376)];[uo(379)];[uo(402)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(389)][n(393)])[n(378)];this[n(386)]=e,this[n(376)]=this[n(375)](),this[n(379)]=i,this[n(402)]=s,this[n(376)][n(406)](n(387)).to(this),this[n(376)][n(406)](n(398)).to(this),this[n(384)]({tag:n(377),attributes:{class:["ck",n(391)]},children:[{tag:n(385),attributes:{class:["ck",n(380)]},children:[{text:r}]},{tag:n(377),attributes:{class:["ck",n(388)]},children:this[n(376)]}]})}[uo(400)](t){const e=uo,i=new Ue(this[e(389)],t,this[e(379)],this[e(402)]);this[e(376)][e(399)](i)}[uo(396)](t){const e=uo,i=this[e(376)][e(401)]((e=>e.id===t.id));this[e(376)][e(381)](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=["Revision history","div","5825272qrIwBk","setTemplate","156695iJKHSM","2hlzIVL","ck-reset_all","ck-revision-history-sidebar__header","span","1299385MvrUbv","content","24ThaDtg","1000mnovoq","10NFHDWy","3467277wHHddi","ck-revision-history-sidebar__header__label","44107tFiAWi","1687917NkzvID","700501IFjMCu"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(816069===-parseInt(e(221))/1+-parseInt(e(208))/2*(parseInt(e(220))/3)+parseInt(e(224))/4+parseInt(e(212))/5*(parseInt(e(214))/6)+-parseInt(e(219))/7*(parseInt(e(215))/8)+parseInt(e(217))/9*(parseInt(e(216))/10)+-parseInt(e(226))/11)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(213)]=mt.IconHistory,this[e(225)]({tag:e(223),attributes:{class:["ck",e(209),e(210)]},children:[i,{tag:e(211),attributes:{class:["ck",e(218)]},children:[Q(t,e(222))]}]})}}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(){const t=["revisionViews","353600hvGrNP","map","div","highlight","createdAt","ck-disabled","locale","24rFzWjU","ck-revision-history-sidebar","6611517BRvMVn","_requireRevisionName","createCollection","add","167160pLaywu","select","212415AsgpMZ","ck-rounded-corners","setTemplate","bindTemplate","revisionSetName","selectRevision","startDate","revisionSelected","_removeRevision","247143bdqCIT","addRevision","180278dmiKvo","get","setName","_addRevision","isEnabled","render","highlightRevisions","ck-revision-history-sidebar__timeline","67SWjJHA","getTime","_revisionActions","unhighlight","find","_getTimePeriodViewByStartDate","flat","ck-reset","removeRevision","delegate","deselect","some","2238GvaBCO","set","fire","remove","uiLanguage","timePeriodViews","_revisions"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=377]})(t,e)}const Io=_o;!function(t){const e=_o,i=t();for(;;)try{if(259969===-parseInt(e(420))/1*(-parseInt(e(378))/2)+parseInt(e(410))/3*(-parseInt(e(393))/4)+parseInt(e(401))/5+-parseInt(e(399))/6+-parseInt(e(412))/7+-parseInt(e(386))/8+parseInt(e(395))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[Io(383)];[Io(384)];[Io(422)];[Io(396)];constructor(t,e,i,s){const n=Io;super(t);const r=this[n(404)];this[n(383)]=this[n(397)](),this[n(383)][n(429)](n(400)).to(this),this[n(383)][n(429)](n(414)).to(this),this[n(384)]=e,this[n(422)]=i,this[n(396)]=s,this.on(n(400),((t,e)=>{const i=n;this[i(380)](i(408),e)})),this.on(n(414),((t,e)=>{const i=n;this[i(380)](i(405),e)})),this[n(379)](n(416),!1),this[n(403)]({tag:n(388),attributes:{class:["ck",n(427),n(402),n(394)]},children:[new yo(t),{tag:n(388),attributes:{class:["ck",n(419),r.if(n(416),n(391),(t=>!t))]},children:this[n(383)]}]})}[Io(417)](){const t=Io;super[t(417)]();for(const e of this[t(384)])this[t(415)](e);this[t(384)].on(t(398),((e,i)=>{this[t(415)](i)})),this[t(384)].on(t(381),((e,i)=>{this[t(409)](i)}))}get[Io(385)](){const t=Io;return this[t(383)][t(387)]((e=>e[t(385)][t(387)]((t=>t))))[t(426)]()}[Io(406)](t){const e=Io;for(const i of this[e(385)])t&&t.id===i.id?i[e(400)]():i[e(430)]()}[Io(418)](t){const e=Io;for(const i of this[e(385)])t[e(377)]((({id:t})=>t===i.id))?i[e(389)]():i[e(423)]()}[Io(415)](t){const e=Io,i=ro(t[e(390)],this[e(392)][e(382)])[e(407)];let s=this[e(383)][e(413)](0);s&&s[e(407)][e(421)]()===i[e(421)]()||(s=new fo(this[e(392)],i,this[e(422)],this[e(396)]),this[e(383)][e(398)](s)),s[e(411)](t)}[Io(409)](t){const e=Io,i=ro(t[e(390)],this[e(392)][e(382)])[e(407)];this[e(425)](i)[e(428)](t)}[Io(425)](t){const e=Io;return this[e(383)][e(424)]((i=>i[e(407)][e(421)]()===t[e(421)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=498]})(t,e)}function xo(){const t=["nameRevision","availableRevisionActions","_handleRevisionSelected","select","RevisionsSidebar","isVisible","locale","data","destroy","get","map","newRevisionId","assign","revisionHistory.requireRevisionName","revisionHistory","ready","2389131XvuOnY","revisionHistory.revisionActions","_handleDiffChange","isOfficialPlugin","_revisionViewer","pluginName","139215Tdpitl","revisionSetName","isPremiumPlugin","element","getRevision","28KzkIKu","defaultRevisionActions","diff","10MHOhTv","485pqyvAZ","3569401OIDPli","859593HYtHIg","_revisions","highlightRevisions","repository","render","isEnabled","isReady","string","revisionViews","410xDAReD","_sidebarView","_handleRevisionSetName","_revisionsRepository","getLaterVisibleRevision","_handleEditorDataReady","compare","465324PFKZju","fieldView","appendChild","restoreRevision","restoreRevisionCallback","requires","Compare against selected","selectRevision","change:diff","bind","listenTo","plugins","138744QCWQkp","editor","init","revisionSelected","revisionHistory.viewerSidebarContainer","getIndex","Restore this revision","compareAgainstSelected","length","remove","getEarlierVisibleRevision","focus","config","action","_createRevisionActions","timePeriodViews","name","isSelected","Name this revision","add","setName","8xiIsHa","getRevisionsInDiff"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(143801===parseInt(e(524))/1*(parseInt(e(535))/2)+-parseInt(e(554))/3+parseInt(e(520))/4*(parseInt(e(515))/5)+parseInt(e(542))/6+-parseInt(e(526))/7+parseInt(e(575))/8*(parseInt(e(509))/9)+parseInt(e(523))/10*(-parseInt(e(525))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends H.Plugin{[Oo(513)];[Oo(538)];[Oo(536)];static[Oo(521)]=[Oo(561),Oo(545),Oo(577)];static[Oo(578)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(548),action:({plugins:e},i)=>{const s=t,n=e[s(502)](ee),r=n[s(529)];let o=n[s(522)][s(504)],a=i.id;r[s(559)](o)>r[s(559)](a)&&([o,a]=[a,o]),n[s(541)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(502)](ee);return!(n[s(529)][s(576)](n[s(522)])[s(562)]>2||i[s(571)])}},restoreRevision:{name:t(560),action:(e,{id:i})=>{const s=t;e[s(566)][s(502)](s(507))[s(546)](i)},isVisible:({plugins:e},i)=>!!e[t(502)](ee)[t(529)][t(539)](i.id)},nameRevision:{name:t(572),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(502)](ee),o=r[n(529)][n(564)](i);r[n(541)](i,o),s[n(565)](),s[n(543)][n(580)]()}}}}();static get[Oo(514)](){return Oo(581)}static get[Oo(512)](){return!0}static get[Oo(517)](){return!0}static get[Oo(547)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(513)]=t[e(553)][e(502)](ee),this[e(538)]=this[e(513)][e(529)],this[e(536)]=null}[Oo(556)](){const t=Oo,e=this[t(538)][t(527)],i=this[t(568)](),s=this[t(555)][t(566)][t(502)](t(558));this[t(536)]=new So(this[t(555)][t(499)],e,i,this[t(555)][t(566)][t(502)](t(506))),this[t(536)].on(t(557),this[t(579)][t(551)](this)),this[t(536)].on(t(516),this[t(537)][t(551)](this)),this[t(536)][t(551)](t(531)).to(this[t(513)]),this[t(536)][t(569)].on(t(573),((e,i)=>{const s=t;i[s(534)].on(s(573),((t,e)=>{const i=s;e[i(551)](i(531),i(532)).to(this[i(513)])}))})),this[t(536)][t(530)](),this[t(552)](this[t(555)][t(500)],t(508),this[t(540)][t(551)](this)),this[t(552)](this[t(513)],t(550),this[t(511)][t(551)](this)),s[t(544)](this[t(536)][t(518)])}[Oo(501)](){const t=Oo;this[t(536)][t(518)][t(563)](),this[t(536)][t(501)]()}[Oo(540)](){const t=Oo,e=this[t(538)][t(519)](0);if(e){const i=this[t(538)][t(564)](e.id);this[t(513)][t(541)](e,i)}}[Oo(579)](t,e){const i=Oo,s=this[i(538)][i(519)](e.id),n=this[i(538)][i(564)](s.id);this[i(513)][i(541)](s,n)}[Oo(537)](t,e){const i=Oo;this[i(538)][i(519)](e.id)[i(574)](e[i(570)])}[Oo(511)](t,e,i){const s=Oo,n=this[s(538)][s(576)](i);n[s(562)]>2?(this[s(536)][s(528)](n),this[s(536)][s(549)](null)):(this[s(536)][s(528)]([]),this[s(536)][s(549)](n[0]))}[Oo(568)](){const t=Oo,e=this[t(555)],i=No[t(578)],s=e[t(566)][t(502)](t(510))||No[t(521)];if(s[t(562)])return s[t(503)]((s=>{const n=t,r=n(533)==typeof s?Object[n(505)]({},i[s]):s;return r[n(567)]=r[n(567)][n(551)](this,e),r[n(498)]&&(r[n(498)]=r[n(498)][n(551)](this,e)),r}))}}const Ao=No;function Ro(){const t=["stickyPanel","addToolbar","componentFactory","isFocused","editable","name","122510rZvxfY","limiterElement","render","destroy","viewportTopOffset","document","replace","init","getRoot","viewportOffset","ready","325820dUILCH","fire","318OVZBuS","18ewpxpO","get","_toolbarConfig","restore","8FZMFJU","element","192dOZsZg","editing","editor","toolbar","2yWGxTp","1270304ZKAAVf","fillFromConfig","396671ClPuJC","27905jdBheJ","config","view","bind","setEditableElement","attachDomRoot","focusTracker","detachDomRoot","isActive","_elementReplacer","613314jCpaFq","_initToolbar","rootName","_view","2804512tpLNqP"];return(Ro=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(225380===parseInt(e(289))/1*(-parseInt(e(286))/2)+parseInt(e(300))/3*(parseInt(e(329))/4)+-parseInt(e(290))/5*(-parseInt(e(324))/6)+-parseInt(e(287))/7+-parseInt(e(304))/8+parseInt(e(325))/9*(-parseInt(e(311))/10)+parseInt(e(322))/11*(parseInt(e(331))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends pt.EditorUI{[Vo(303)];[Vo(327)];[Vo(299)];get[Vo(292)](){return this[Vo(303)]}constructor(e,i){const s=Vo;super(e),this[s(303)]=i,this[s(327)]=(0,pt.normalizeToolbarConfig)(e[s(291)][s(326)](s(334))),this[s(299)]=new t.ElementReplacer}get[Vo(330)](){const t=Vo;return this[t(292)][t(330)]}[Vo(318)](t){const e=Vo,i=this[e(333)],s=this[e(292)],n=i[e(332)][e(292)],r=s[e(309)],o=n[e(316)][e(319)]();r[e(310)]=o[e(302)],s[e(313)]();const a=r[e(330)];this[e(294)](r[e(310)],a),s[e(309)][e(293)](e(308)).to(this[e(296)]),n[e(295)](a),this[e(299)][e(317)](t,this[e(330)]),this[e(301)](),this[e(323)](e(321))}[Vo(314)](){const t=Vo;super[t(314)]();const e=this[t(292)],i=this[t(333)][t(332)][t(292)];this[t(299)][t(328)](),i[t(297)](e[t(309)][t(310)]),e[t(314)]()}[Vo(301)](){const t=Vo,e=this[t(292)];e[t(305)][t(293)](t(298)).to(this[t(296)],t(308)),e[t(305)][t(312)]=e[t(330)],e[t(305)][t(293)](t(315)).to(this,t(320),(({top:t})=>t)),e[t(334)][t(288)](this[t(327)],this[t(307)]),this[t(306)](e[t(334)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(){var t=["render","3olSsAC","220HsnfRE","stickyPanel","shouldToolbarGroupWhenFull","11218149tsRdqt","_editable","toolbar","6358000EbPPBm","1203362iHdhNr","92465VaWYxR","editable","4580466KgsTed","add","main","548812HoxJex","content","831047WAJPEf","top"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=345]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(612228===parseInt(e(360))/1+-parseInt(e(347))/2*(parseInt(e(352))/3)+-parseInt(e(353))/4*(-parseInt(e(361))/5)+-parseInt(e(363))/6+-parseInt(e(349))/7+parseInt(e(359))/8+-parseInt(e(356))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(357)];[jo(354)];[jo(358)];get[jo(362)](){return this[jo(357)]}constructor(t,e,i={}){var s=jo;super(t),this[s(354)]=new pt.StickyPanelView(t),this[s(358)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(355)]}),this[s(357)]=new pt.InlineEditableUIView(t,e)}[jo(351)](){var t=jo;super[t(351)](),this[t(354)][t(348)][t(345)](this[t(358)]),this[t(350)][t(345)](this[t(354)]),this[t(346)][t(345)](this[t(362)])}}function Wo(){const t=["26554SJeBwP","create","destroy","createRoot","initPlugins","init","25StgfNK","2361150EmFgWk","locale","editing","data","updateSourceElement","config","5bsHbBH","_ui","view","get","sourceElement","model","625416fGMEwv","61032ccCdug","document","77uDQQWh","265208MhArLC","fire","ready","initialData","143031ffTKIp","1486737bkcfoC","35rsxAOF","108wBPsAp"];return(Wo=function(){return t})()}const zo=Ho;function Ho(t,e){const i=Wo();return(Ho=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(650043===-parseInt(e(344))/1*(parseInt(e(369))/2)+-parseInt(e(365))/3*(-parseInt(e(368))/4)+-parseInt(e(351))/5*(parseInt(e(357))/6)+parseInt(e(367))/7*(-parseInt(e(361))/8)+parseInt(e(366))/9+-parseInt(e(345))/10+parseInt(e(360))/11*(parseInt(e(358))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,H.ElementApiMixin)(H.Editor)){[zo(352)];get ui(){return this[zo(352)]}constructor(t,e){const i=zo;super(e),this[i(355)]=t,this[i(356)][i(359)][i(341)]();const s=new Po(this[i(346)],this[i(347)][i(353)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Eo(this,s)}[zo(371)](){const t=zo;return this[t(349)](),this.ui[t(371)](),super[t(371)]()}static async[zo(370)](t,e){const i=zo,s=new this(t,e);return await s[i(342)](),await s.ui[i(343)](t),await s[i(348)][i(343)](s[i(350)][i(354)](i(364))||""),s[i(362)](i(363)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=426]})(t,e)}function $o(){const t=["removeAttribute","catch","keys","set","toLocaleTimeString","requires","end","getRevisionRootsAttributes","revisionHistory.closeRevisionViewerCallback","uiLanguage","block","init","revision-history-missing-configuration","_enhanceCloseRevisionViewerCallback","createdAt","enableReadOnlyMode","Autosave","getRevisions","_viewerEditor","locale","data","_cleanUp","view","addRoot","_showRevisionViewer","RestrictedEditingMode","RevisionHistoryUI","RevisionHistory","indexOf","getUser","exitToEditing","_restoreRevision","toVersion","refreshPositioning","Dialog","lazyRoots","6121422LoTFsj","has","creator","numeric","element","enqueueChange","hide","DocumentOutline","isPremiumPlugin","adapter","toJSON","includes","document","loadRevisionData","removeMarker","RevisionHistoryUtils","7504OqmWeZ","getRevision","getMarkersGroup","refreshVisibility","roots","removeSelectionAttribute","changesNavigation","setAttribute","RevisionViewer","define","insert","isRevisionViewerOpen","2469800UUgcKU","RevisionTracker","isEnabled","closeRevisionViewerCallback","rootName","isOfficialPlugin","pluginName","destroy","isReady","_closeRevisionViewer","8GYmqZm","RevisionViewerIntegration","change","PaginationLookup","fromVersion","disableReadOnlyMode","users","editor","$graveyard","style","restrictedEditingException","revisionHistory.editorContainer","none","plugins","get","commands","translations","result","long","Restored","1726758MXJqie","save","model","1XHfoum","detachRoot","push","477692iEyIjh","Annotations","config","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer","Users","saveRevision","revisionHistory.requireRevisionName","973820kPWHif","addUser","parse","_getRevisionViewerEditorConfig","display","_update","markers","remove","join","revisionHistory.showRevisionViewerCallback","isReadOnly","toLocaleDateString","fromCharCode","map","createRangeIn","repository","getRevisionDocumentData","_recalculatePageBreaks","isAnonymous","getAttributeKeys","create","_enhanceShowRevisionViewerCallback","DocumentOutlineUI","update","isAttached","restoreRevision","getRoot","name","toolbar","isOpen","setSelection","from","addRevisionData","revisionHistory.viewerEditorElement","selection","then","bind","1546698ZwQiyv","RevisionsRepository","showRevisionViewerCallback","revision-history-viewer-opened","revisionHistory","error"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(375086===parseInt(e(505))/1*(-parseInt(e(508))/2)+-parseInt(e(502))/3+-parseInt(e(516))/4+parseInt(e(472))/5+parseInt(e(553))/6+parseInt(e(460))/7*(parseInt(e(482))/8)+parseInt(e(444))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(434),Zo(433)];class Yo extends H.Plugin{[Zo(499)];static get[Zo(478)](){return Zo(483)}static get[Zo(477)](){return!0}static get[Zo(452)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(529)]((t=>String[e(528)](t)))[e(524)]("")}super(t),this[e(499)]=e(565),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 H.Plugin{[Zo(426)];static get[Zo(478)](){return Zo(435)}static get[Zo(477)](){return!0}static get[Zo(452)](){return!0}static get[Zo(564)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(489)][i(510)][i(496)](i(557)))throw new t.CKEditorError(i(571),this);this[i(426)]=null,this[i(562)](i(471),!1),this[i(489)][i(510)][i(469)](i(525),(t=>this[i(432)]({...t,translations:this[i(489)][i(427)][i(498)]}))),this[i(489)][i(510)][i(469)](i(567),(t=>this[i(481)](t))),this[i(489)][i(510)][i(469)](i(511),(t=>this[i(439)](t))),this[i(489)][i(510)][i(469)](i(515),!1),this[i(537)](),this[i(572)]()}set[Zo(453)](t){const e=Zo;this[e(489)][e(495)][e(496)](e(473))[e(453)]=t}get[Zo(453)](){const t=Zo;return this[t(489)][t(495)][t(496)](t(473))[t(453)]}[Zo(548)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(473))[e(548)](t)}[Zo(461)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(554))[e(461)](t)}[Zo(576)](t){const e=Zo;return this[e(489)][e(495)][e(496)](e(554))[e(576)](t||{toJSON:!1})}[Zo(519)](){const e=Zo,i=this[e(489)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(495)][e(496)](e(473)),r=i[e(495)][e(496)](e(513))[e(488)];return s[e(544)]=[e(438),e(541),e(466)],delete s[e(443)],s[e(495)][e(507)](Yo,ee,be,class extends H.Plugin{static get[e(564)](){return[ee,e(513)]}[e(570)](){const s=e,o=this[s(489)][s(495)][s(496)](s(513));for(const t of r)t[s(534)]||o[s(437)](t.id)||o[s(517)](t);const a=n[s(531)][s(576)]();let c=null;const u=this[s(489)][s(495)][s(496)](s(468));u[s(453)]=n[s(453)],u[s(552)](s(474)).to(n),this[s(489)][s(497)][s(496)](s(541))[s(552)](s(474)).to(i,s(526),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(440)]===e[s(486)])continue;const r=e[s(454)]();u[s(548)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(521)](r,o);else if(!o){const e=a[u(454)]();e.id=(0,t.uid)(),n[u(514)](e,a[u(440)])[u(551)]((t=>{c=t}))}}else e[u(521)](r,o)}))}}},Ao),s}[Zo(537)](){const t=Zo,e=this[t(489)][t(510)][t(496)](t(557))[t(555)];this[t(489)][t(510)][t(562)](t(525),(async()=>{const i=t;this[i(489)][i(574)](i(556));const s=this[i(489)][i(495)][i(496)](i(473));if(this[i(489)][i(495)][i(445)](i(575))){const t=this[i(489)][i(495)][i(496)](i(575));await t[i(503)]()}else await s[i(539)]();if(this[i(489)][i(495)][i(445)](i(485))&&this[i(489)][i(495)][i(496)](i(485))[i(533)](),this[i(489)][i(495)][i(445)](i(442))){const t=this[i(489)][i(495)][i(496)](i(442));t[i(545)]&&t[i(450)]()}const n=this[i(519)]();return e(n)[i(551)]((t=>{const e=i;return this[e(426)]=t,this[e(489)][e(495)][e(445)](e(509))&&this[e(489)][e(495)][e(496)](e(509))[e(463)](),this[e(489)][e(495)][e(445)](e(451))&&(this[e(489)][e(495)][e(496)](e(538))[e(430)][e(448)][e(491)][e(520)]=e(494)),t}))[i(560)]((t=>(console[i(558)](t),this[i(489)][i(487)](i(556)),null)))}))}[Zo(572)](){const t=Zo,e=this[t(489)][t(510)][t(496)](t(557))[t(475)];this[t(489)][t(510)][t(562)](t(567),(()=>(this[t(489)][t(495)][t(445)](t(485))&&this[t(489)][t(495)][t(496)](t(485))[t(533)](),this[t(489)][t(495)][t(445)](t(451))&&(this[t(489)][t(495)][t(496)](t(538))[t(430)][t(448)][t(491)][t(520)]=""),this[t(426)][t(495)][t(496)](t(468))[t(429)](),e(this[t(426)])[t(551)]((()=>{const e=t;if(this[e(489)][e(487)](e(556)),this[e(426)]=null,this[e(489)][e(495)][e(445)](e(509))){const t=this[e(489)][e(495)][e(496)](e(509));t[e(463)](),t[e(441)]()}})))))}[Zo(432)](t){const e=Zo,i=this[e(489)][e(510)][e(496)](e(493)),s=this[e(489)][e(510)][e(496)](e(512)),n=this[e(489)][e(510)][e(496)](e(549));return Uo[e(536)](n,t)[e(551)]((t=>(s[e(491)][e(520)]=e(569),i[e(491)][e(520)]=e(494),this[e(471)]=!0,t)))}[Zo(481)](t){const e=Zo,i=this[e(489)][e(510)][e(496)](e(493));return this[e(489)][e(510)][e(496)](e(512))[e(491)][e(520)]=e(494),i[e(491)][e(520)]="",this[e(471)]=!1,t[e(479)]()}async[Zo(439)](t){const e=Zo,i=this[e(489)],s=this[e(426)][e(495)][e(496)](e(468)),n=i[e(495)][e(496)](e(473)),r=i[e(495)][e(496)](e(459)),o=s[e(531)][e(461)](t);let a,c,u;try{await r[e(457)](o,this[e(453)]),a=r[e(532)](o),c=r[e(566)](o)}catch(t){return void console[e(558)](t)}i[e(504)][e(484)]((t=>{const s=e;for(const e of Array[s(547)](i[s(504)][s(522)][s(462)](s(492))))t[s(458)](e)})),s[e(480)]=!1,i[e(504)][e(449)]((t=>{const s=e;t[s(546)](null),t[s(465)](i[s(504)][s(456)][s(550)][s(535)]());const n=Object[s(561)](a);for(const e of i[s(504)][s(456)][s(464)])s(490)!=e[s(476)]&&e[s(540)]()&&!n[s(455)](e[s(476)])&&t[s(506)](e);for(const e of n){let n=i[s(504)][s(456)][s(542)](e);n&&n[s(540)]()||(n=t[s(431)](e));const r=c[e],o=Object[s(561)](r),u=a[e];for(const e of n[s(535)]())o[s(455)](e)||t[s(559)](e,n);for(const i of o)t[s(467)](i,c[e][i],n);t[s(523)](t[s(530)](n)),t[s(470)](i[s(428)][s(518)](u,n),n,0)}}));const l=Q(i[e(427)],e(501));return u=o[e(543)]?-1==o[e(543)][e(436)](l)?l+": "+o[e(543)]:o[e(543)]:l+": "+o[e(573)][e(527)](i[e(427)][e(568)],{month:e(500),day:e(447)})+", "+o[e(573)][e(563)](i[e(427)][e(568)],{hour:e(447),minute:e(447)}),await n[e(514)]({name:u}),s[e(480)]=!0,i[e(510)][e(496)](e(557))[e(475)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=223]})(t,e)}function Ko(){var t=["202172FPrIzX","82254yduCHw","25pSlmYm","4652760NoRbta","12316491SdgXgV","2488536LjEkHg","2797932niNusD","27sXrZSe","638191tKBSHX"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(518441===-parseInt(e(225))/1+parseInt(e(226))/2*(parseInt(e(224))/3)+-parseInt(e(223))/4+parseInt(e(228))/5*(-parseInt(e(227))/6)+-parseInt(e(229))/7+parseInt(e(231))/8+parseInt(e(230))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();