@ckeditor/ckeditor5-revision-history 45.2.1-alpha.7 → 45.2.1-alpha.9

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:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ot,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,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==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;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 E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function 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,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(155199===-parseInt(e(297))/1*(parseInt(e(305))/2)+-parseInt(e(316))/3+parseInt(e(309))/4*(-parseInt(e(311))/5)+-parseInt(e(300))/6+parseInt(e(317))/7*(-parseInt(e(303))/8)+parseInt(e(290))/9*(parseInt(e(292))/10)+-parseInt(e(315))/11*(-parseInt(e(313))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(308)];[L(320)];[L(304)];[L(301)];[L(299)];[L(293)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(308)]=e[i(308)]||null,this[i(320)]=e[i(320)]||[],this[i(304)]=e[i(304)]||null,this[i(301)]=e[i(301)]||0,this[i(299)]=e[i(299)]||0,this[i(314)](i(306),e[i(306)]||""),this[i(314)](i(310),e[i(310)]||new Date),this[i(314)](i(296),e[i(296)]||{})}[L(298)](t){this[L(302)]({name:t})}[L(319)](t,e){const i=L,s=A(this[i(296)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(302)]({attributes:s})}[L(307)](t){const e=L,i=A(this[e(296)]);(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,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(302)]({attributes:i})}[L(302)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(306),i(310),i(304),i(320),i(296),i(301),i(299),i(318)];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(320)]&&(n[i(291)]=n[i(320)][i(295)](t=>t.id),delete n[i(320)]),this[i(294)](i(302),n,e))}[L(312)](){const t=L;return{id:this.id,name:this[t(306)],creatorId:this[t(308)]?this[t(308)].id:null,authorsIds:this[t(320)][t(295)](t=>t.id),diffData:this[t(304)],createdAt:this[t(310)],attributes:this[t(296)],fromVersion:this[t(299)],toVersion:this[t(301)]}}}function W(){const t=["138782BtmESc","name","removeAttribute","creator","52bHEICK","createdAt","44635qDHKRo","toJSON","4175664MgZnTg","set","22qtDNBJ","445317XeLiNY","314748cyWLbz","creatorId","setAttribute","authors","153DclWCv","authorsIds","73940cPyGIE","model","fire","map","attributes","1Lqmtbi","setName","fromVersion","1186020sRgOmK","toVersion","_update","24fspydg","diffData"];return(W=function(){return t})()}var U=i(782),H=i(211),Z=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(422841===-parseInt(e(391))/1*(-parseInt(e(362))/2)+parseInt(e(365))/3+parseInt(e(382))/4+parseInt(e(376))/5+parseInt(e(360))/6*(parseInt(e(366))/7)+parseInt(e(385))/8+parseInt(e(355))/9*(-parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(341)];static get[q(348)](){return[H.Users]}static get[q(377)](){return q(387)}static get[q(353)](){return!0}static get[q(345)](){return!0}get[q(390)](){const t=q;return this[t(341)][t(390)]}constructor(e){const i=q;super(e),this[i(341)]=new t.Collection}[q(340)](){!async function(e){const i=k([65,57,105,112,100,71,49,87,84,53,97,121,75,102,119,55,67,116,117,101,76,52,108,88,70,98,114,99,81,120,110,78,77,90,80,113,106,107,50,122,54,56,48,79,69,66,72,118,111,109,115,73,103,83,89,86,51,82,104,74,85,68]),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(392)](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([65]);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(379)](t=>String[e(346)](t))[e(384)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1750464e3;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(363)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[q(338)](t){const e=q,i=this[e(347)][e(383)][e(388)](e(361));return new z({id:t.id,name:t[e(371)],creator:t[e(389)]?i[e(343)](t[e(389)]):null,diffData:t[e(370)]||t[e(357)],authors:t[e(339)][e(379)](t=>i[e(343)](t)),createdAt:new Date(t[e(374)]),attributes:t[e(349)],fromVersion:t[e(386)],toVersion:t[e(372)]})}[q(344)](t,e=0){const i=q;this[i(341)][i(354)](t,e)}[q(351)](t){const e=q;return this[e(341)][e(388)](t)}[q(358)](t={toJSON:!1}){const e=q,i=Array[e(368)](this[e(341)]);return i[e(381)](),t[e(356)]?i[e(379)](t=>t[e(356)]()):i}[q(364)](t){const e=q;return this[e(341)][e(364)](t)}[q(378)](t){const e=q,[,i]=this[e(369)](t,{direction:e(342)});return i}[q(352)](t){const e=q,[,i]=this[e(369)](t,{direction:e(359)});return i}[q(350)](t){const e=q,i=[];for(const s of this[e(369)](t[e(375)]))if(i[e(367)](s),s.id===t[e(380)])break;return i}*[q(369)](t,{direction:e=q(342),filter:i=()=>!0}={}){const s=q,n=s(342)===e?1:-1;let r=this[s(341)][s(388)](t),o=this[s(364)](r);for(yield r;r;){if(o+=n,r=this[s(351)](o),!r)return;i(r)&&(yield r)}}}function B(){const t=["_revisions","earlier","getUser","addRevision","isPremiumPlugin","fromCharCode","editor","requires","attributes","getRevisionsInDiff","getRevision","getLaterVisibleRevision","isOfficialPlugin","add","3368331nmrKxh","toJSON","data","getRevisions","later","6ejIzbp","Users","4vqpTqP","href","getIndex","1805082fVfZqN","1264942DYvgeF","push","from","getRevisionsIterator","diffData","name","toVersion","40TiwoHe","createdAt","newRevisionId","1456885DAaGnl","pluginName","getEarlierVisibleRevision","map","oldRevisionId","reverse","1367936wphSGb","plugins","join","2879408YjLWcx","fromVersion","RevisionsRepository","get","creatorId","length","72095vahORy","isNaN","createRevision","authorsIds","afterInit"];return(B=function(){return t})()}function G(){const t=["domChildrenToView","childNodes","customProperties","append","554983OwudYE","_setCustomProperty","type","_appendChild","350216LQFaXg","attributesAfter","from","data","config","8venDHz","children","processor","useFillerType","revision-end","marked","_getViewFromDiffObj","401704SBXeaw","isAttached","htmlProcessor","6308940CbhNCE","loadRevisionData","collaboration.channelId","map","innerHTML","attributes","toData","insertions","domConverter","isPremiumPlugin","toModel","domDocument","editing","string","editor","name","_makeModelFromViewString","filter","constructor","RevisionHistoryUtils","diffData","revision-start","fillerOffset","render","getFillerOffset","div","isOfficialPlugin","attachChange","forEach","getRevisionRootsAttributes","view","getRevisionDocumentData","parse","_removeRevisionMarkers","viewChildrenToDom","pluginName","document","_viewClassToTypeChar","startsWith","_getTypeCharForViewElement","9814992NgKoNc","length","get","createElement","2812817CPeLWU","data-revision-","default","getRevision","_typeCharToViewClass","53949yjCicW"];return(G=function(){return t})()}const J=X;function X(t,e){const i=G();return(X=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=X,i=t();for(;;)try{if(876287===parseInt(e(378))/1+parseInt(e(382))/2+parseInt(e(373))/3+parseInt(e(394))/4+parseInt(e(397))/5+-parseInt(e(364))/6+-parseInt(e(368))/7*(-parseInt(e(387))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class K extends U.Plugin{static get[J(359)](){return J(343)}static get[J(350)](){return!0}static get[J(406)](){return!0}[J(361)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(372)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(398)](t,e){const i=J;if(t[i(344)]||!e)return;const s=this[i(411)][i(386)][i(366)](i(399)),n=await e[i(371)]({channelId:s,revisionId:t.id});t[i(344)]=n[i(344)]}[J(355)](t){const e=J,i={};for(const s in t[e(344)]){if(t[e(344)][s][e(351)]&&!t[e(344)][s][e(351)][e(395)])continue;const n=this[e(357)](JSON[e(356)](t[e(344)][s][e(404)])),r=this[e(411)][e(409)][e(354)][e(360)],o=new Z.ViewDocumentFragment(r,n[e(400)](t=>this[e(393)](t,!1)));this[e(411)][e(385)][e(389)][e(390)](e(392)),i[s]=this[e(411)][e(385)][e(389)][e(403)](o),this[e(411)][e(385)][e(389)][e(390)](e(370))}return i}[J(353)](t){const e=J,i={};for(const s in t[e(344)])t[e(344)][s][e(351)]&&!t[e(344)][s][e(351)][e(395)]||(i[s]=t[e(344)][s][e(383)]||{});return i}[J(363)](t){const e=J;return this[e(361)][e(366)](t[e(342)])}[J(393)](t,e){const i=J,s=this[i(411)][i(409)][i(354)][i(360)];if(i(410)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(380)]||"r"==t[i(380)]?[]:t[i(388)][i(400)](t=>this[i(393)](t,e));const o=this[i(372)][i(366)](t[i(380)])||Z.ViewElement,a=this[i(411)][i(385)][i(396)][i(405)];if(n=new o(s,t[i(339)],t[i(402)],r),"u"==t[i(380)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(347)]=function(t){const e=i,s=t[e(367)](e(349));return s[e(401)]=r,s[e(375)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(381)](n);const e=Array[i(384)](a[i(358)](t,{bind:!1})),r=a[i(408)][i(367)](i(349));r[i(377)](...e),n=Array[i(384)](a[i(374)](r))[0]}}else if("r"==t[i(380)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(347)]=function(t){t[i(401)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(381)](n);const e=Array[i(384)](a[i(358)](t,{bind:!1})),r=a[i(408)][i(367)](i(349));r[i(377)](...e);const o=Array[i(384)](a[i(374)](r));o[i(365)]>1?n[i(381)](o):n=o[0]}}if(t[i(376)])for(const[e,s]of t[i(376)])n[i(379)](e,s);const c=void 0===t[i(346)]?null:t[i(346)];return null!==c&&(n[i(348)]=()=>c),n}}[J(340)](t){const e=J,i=JSON[e(356)](t),s=this[e(411)][e(409)][e(354)][e(360)],n=new Z.ViewDocumentFragment(s,i[e(400)](t=>this[e(393)](t,!0)));return this[e(411)][e(385)][e(407)](n)}[J(357)](t){const e=J;return(t=t[e(341)](t=>!t[e(339)]||e(345)!==t[e(339)]&&e(391)!==t[e(339)]))[e(352)](t=>{const i=e;i(410)!=typeof t&&(t[i(388)]=this[i(357)](t[i(388)]),t[i(402)]=t[i(402)][i(341)](t=>!t[0][i(362)](i(369))))}),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)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}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,E;const V=(s=s??new Map).get(t),M=s.get(i);if(null!=V&&null!=M)return V===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=ht;!function(t){const e=ht,i=t();for(;;)try{if(900215===parseInt(e(352))/1+-parseInt(e(333))/2+-parseInt(e(265))/3+-parseInt(e(406))/4+-parseInt(e(485))/5+-parseInt(e(372))/6+parseInt(e(444))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class ot extends U.Plugin{[rt(364)];[rt(231)];[rt(244)]=null;[rt(441)];[rt(282)]=null;[rt(187)];[rt(307)];[rt(389)];[rt(354)];[rt(370)];[rt(356)];[rt(445)];[rt(342)];[rt(262)];static get[rt(413)](){return rt(448)}static get[rt(463)](){return!0}static get[rt(349)](){return!0}static get[rt(296)](){return[H.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(441)]=this[i(255)][i(486)][i(249)](i(479)),this[i(370)]=this[i(255)][i(486)][i(249)](i(263)),this[i(187)]=new at(this[i(255)]),this[i(389)]=this[i(255)][i(204)][i(249)](i(377))||i(218),this[i(354)]=new Map,this[i(262)]=null;const s=(0,t.uid)();this[i(307)]={history:this[i(255)][i(250)][i(207)][i(484)],getLatestVersion:()=>Promise[i(434)](this[i(255)][i(250)][i(207)][i(438)]),getCurrentRevisionId:()=>s},this[i(199)](i(264),!1),this[i(199)](i(303),!0),this[i(199)](i(350),!1),this[i(255)][i(204)][i(208)](i(254),!0),this[i(255)][i(189)][i(466)](i(173))[i(383)]({view:i(420)})}[rt(478)](){const t=rt;this[t(411)](),this[t(255)][t(457)].on(t(277),()=>{const e=t,i=this[e(441)][e(368)](0),s=i&&null===i[e(286)]?i:null;if(this[e(445)]=!!s&&this[e(255)][e(204)][e(249)](e(254)),this[e(255)][e(486)][e(360)](e(362))){const t=this[e(307)][e(194)](),n=this[e(441)][e(368)](t);if(n)this[e(342)]=n[e(216)],this[e(445)]=!1;else{const t=this[e(307)][e(484)][e(450)][e(348)](t=>!t[e(481)]),n=t?t[e(308)]:this[e(307)][e(484)][e(438)];i?(i[e(325)]<n&&i[e(276)]({toVersion:n}),this[e(445)]?(this[e(307)][e(194)]=()=>s.id,this[e(342)]=s[e(216)]):(this[e(342)]=i[e(325)],this[e(445)]=!1)):(this[e(342)]=n,this[e(445)]=!1)}}else s&&(this[e(255)][e(250)][e(207)][e(484)][e(438)]=Math[e(281)](s[e(325)],this[e(255)][e(250)][e(207)][e(484)][e(438)]),s[e(216)]===s[e(325)]?(0!==s[e(216)]&&(this[e(307)][e(194)]=()=>s.id),this[e(445)]=!1):this[e(445)]&&(this[e(307)][e(194)]=()=>s.id,this[e(342)]=s[e(216)])),this[e(445)]||(this[e(342)]=this[e(255)][e(250)][e(207)][e(438)]);this[e(187)][e(478)](this[e(307)][e(484)]),this[e(446)](this[e(342)]),this[e(220)](this[e(342)]),this[e(282)]&&this[e(344)]()}),this[t(298)](t(264)).to(this,t(350),t=>!t),this[t(364)]=this[t(255)][t(204)][t(249)](t(364));const e=this[t(255)];this[t(231)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(467)==r||i(477)==r||i(427)==r||i(230)==r||i(412)==r||i(198)==r||i(425)==r||i(318)==r){delete e[n],s=r,clearInterval(this[i(231)]),this[i(231)]=void 0;break}}i(477)==s&&e[i(212)](i(293)),i(427)==s&&e[i(212)](i(233)),i(230)==s&&e[i(212)](i(403)),i(412)==s&&e[i(212)](i(353),i(329)),i(198)==s&&e[i(212)](i(186)),i(425)==s&&e[i(212)](i(253)),i(318)==s&&e[i(212)](i(299))},1e3)}async[rt(169)](){const t=rt;if(this[t(441)][t(273)]>0){const e=this[t(441)][t(368)](0),i=await this[t(454)](e),s=await this[t(170)](e);this[t(200)](i,s)}}[rt(283)](){const t=rt;super[t(283)](),this[t(231)]&&clearInterval(this[t(231)])}[rt(470)](t){this[rt(307)]=t}async[rt(396)](){const t=rt,e=await this[t(307)][t(181)]();if(e>this[t(244)][t(325)]){await this[t(313)]();const i=this[t(223)]({revision:this[t(244)],to:e});i[t(381)]=i[t(407)][t(355)](e=>this[t(255)][t(486)][t(249)](t(345))[t(436)](e)),this[t(244)][t(276)](i)}}async[rt(278)](e={},i=null){const s=rt,n=[];await this[s(313)](),this[s(445)]=!1,i>this[s(244)][s(325)]&&(i=null),null===i&&(i=await this[s(307)][s(181)]());const r=this[s(247)](i),o=this[s(223)]({from:r,to:i});if(this[s(244)][s(325)]<i){const t=this[s(223)]({revision:this[s(244)],from:i,to:i});t[s(381)]=[],t[s(407)]=[],t.id=this[s(244)].id,this[s(244)][s(276)](t,!0),delete t[s(381)],n[s(416)](t)}e[s(184)]=this[s(255)][s(486)][s(249)](s(345)).me.id,e[s(330)]=e[s(330)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(192)](e);n[s(416)](e);const c=this[s(441)][s(332)](a);if(0!==c){const t=this[s(441)][s(368)](c-1);if(t[s(216)]!==i){const r=this[s(187)][s(435)](i,t[s(325)]),o={id:t.id,diffData:r[s(409)],authorsIds:r[s(407)],authors:r[s(407)][s(355)](t=>this[s(255)][s(486)][s(249)](s(345))[s(436)](t)),fromVersion:i};t===this[s(244)]&&(o[s(219)]=new Date(e[s(219)][s(246)]()+10)),t[s(276)](o,!0),delete o[s(381)],n[s(416)](o)}}if(this[s(282)]){for(const t of n)this[s(316)](t.id,t,!0);this[s(344)]()}return a}[rt(192)](t){const e=rt,i=this[e(441)][e(284)](t);return this[e(282)]&&i.on(e(276),(t,i,s)=>{const n=e;s||(this[n(316)](i.id,i,!0),this[n(344)]())}),this[e(441)][e(432)](i,this[e(201)](i)),i}async[rt(454)](t){const e=rt;return await this[e(370)][e(336)](t,this[e(282)]),this[e(370)][e(454)](t)}async[rt(170)](t){const e=rt;return await this[e(370)][e(336)](t,this[e(282)]),this[e(370)][e(170)](t)}[rt(344)](){const t=rt;if(0===this[t(354)][t(321)])return;if(this[t(350)])return;let e=Array[t(225)](this[t(354)][t(373)]());this[t(354)][t(346)]();for(let i=0;i<e[t(273)];i++){const s=e[i];let n=!1;for(const e of Object[t(210)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(269)](t=>null!==t),!e[t(273)])return;for(let i=0;i<e[t(273)];i++){const s=e[i];void 0!==s[t(216)]&&void 0===s[t(325)]&&(s[t(325)]=this[t(441)][t(368)](s.id)[t(325)]),void 0!==s[t(325)]&&void 0===s[t(216)]&&(s[t(216)]=this[t(441)][t(368)](s.id)[t(216)])}const i=this[t(255)][t(204)][t(249)](t(377));this[t(350)]=!0,this[t(471)](),this[t(282)][t(452)](e,i)[t(237)](()=>{this[t(350)]=!1})[t(314)](e=>{const i=t;if(e)for(const t of e)this[i(461)]({id:t.id,createdAt:t[i(219)]});this[i(456)](),this[i(344)]()})}[rt(223)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(216)],i=null!==i?i:t[s(325)];const n=this[s(187)][s(435)](e,i),r={diffData:n[s(409)],authorsIds:n[s(407)],fromVersion:e,toVersion:i};if(!t||i!==t[s(325)]){const t=i-1,e=this[s(307)][s(484)][s(167)](t);r[s(219)]=e&&e[s(219)]||new Date}if(this[s(262)]&&e===this[s(262)][s(216)])for(const t of this[s(262)][s(381)])r[s(407)][s(270)](t.id)||r[s(407)][s(416)](t.id);return r}[rt(316)](t,e,i){const s=rt;if(this[s(354)][s(360)](t)){const n=this[s(354)][s(249)](t);e=i?{...n,...e}:{...e,...n}}this[s(354)][s(199)](t,e)}[rt(461)](t){const e=rt,i=this[e(441)][e(368)](t.id);if(t[e(219)]&&(t[e(219)]=new Date(t[e(219)])),t[e(407)]){const i=this[e(255)][e(486)][e(249)](e(345));t[e(381)]=t[e(407)][e(355)](t=>i[e(436)](t))}i[e(276)](t,!0)}[rt(446)](t){const e=rt,i=this[e(441)][e(368)](this[e(441)][e(273)]-1);if(i)this[e(389)]=i.id;else{const i=!this[e(255)][e(250)][e(207)][e(366)][e(348)](t=>this[e(255)][e(250)][e(221)](t)),s=this[e(255)][e(486)][e(249)](e(345)).me.id,n=Q(this[e(255)][e(418)],e(i?213:297));this[e(326)]({from:t,to:t,id:this[e(389)],name:n,creatorId:s})}}[rt(220)](t){const e=rt,i=this[e(307)][e(194)]();this[e(244)]=this[e(441)][e(368)](i),this[e(244)]||(this[e(244)]=this[e(326)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(313)](){const t=rt;this[t(445)]&&!this[t(262)]&&(await this[t(370)][t(336)](this[t(244)],this[t(282)]),this[t(187)][t(245)](this[t(244)]),this[t(262)]={fromVersion:this[t(244)][t(216)],authors:this[t(244)][t(381)][t(203)]()})}[rt(200)](e,i){const s=rt;let n=this[s(255)][s(204)][s(249)](s(267)),r=this[s(255)][s(204)][s(249)](s(431));if(void 0===n){n={};for(const t of this[s(255)][s(250)][s(207)][s(379)]())n[t]=""}if(s(462)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(255)][s(250)][s(207)][s(379)]())r[t]={}}let o=!1;const a=Object[s(210)](n),c=Object[s(210)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(415)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(210)](r[t])[s(273)]>0){o=!0;break}}o||(o=c[s(257)](t=>!this[s(255)][s(250)][s(207)][s(217)](t))),o&&(0,t.logWarning)(s(236),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(255)][s(204)][s(199)](s(267),e),this[s(255)][s(204)][s(199)](s(431),i)}[rt(471)](){const t=rt;if(!this[t(356)]){const e=this[t(255)][t(486)][t(249)](t(188));this[t(356)]=e[t(239)](Q(this[t(255)][t(418)],t(243)))}}[rt(456)](){const t=rt;this[t(356)]&&(this[t(255)][t(486)][t(249)](t(188))[t(222)](this[t(356)]),this[t(356)]=null)}[rt(201)](t){const e=rt,i=this[e(441)][e(238)]();i[e(474)]();let s=0;for(;s<i[e(273)];){const n=i[s];if(n===this[e(244)]){s++;continue}if(n.id===this[e(389)])break;const r=t[e(325)]-n[e(325)]||t[e(216)]-n[e(216)];if(r>0)break;if(r<0)s++;else{if(!t[e(286)]&&n[e(286)])break;if(n[e(286)]||!t[e(286)]){if(t[e(219)]>n[e(219)])break;s++}else s++}}return s}[rt(247)](t){const e=rt,i=this[e(441)][e(238)]();i[e(474)](),i[e(279)]();const s=i[e(348)](i=>i[e(325)]<=t)[e(325)];return s<this[e(342)]?this[e(342)]:s}[rt(326)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(223)]({from:e,to:i});o[r(330)]=t,o[r(184)]=s,o.id=n;const a=this[r(192)](o);return this[r(282)]&&this[r(316)](o.id,o,!0),a}[rt(411)](){const t=rt;this[t(255)][t(189)][t(466)](t(440))[t(476)]({model:t(420)})}}class at{[rt(255)];[rt(232)];[rt(294)];[rt(168)];[rt(422)];[rt(196)];[rt(433)];[rt(365)];[rt(331)];[rt(191)];[rt(224)];[rt(175)];[rt(287)];[rt(394)];[rt(429)];[rt(469)];[rt(386)];constructor(t){const e=rt;this[e(255)]=t,this[e(294)]=new Map,this[e(168)]=-1,this[e(422)]=-1,this[e(196)]=new Map,this[e(433)]=new Map,this[e(365)]=new Map,this[e(331)]=new Map,this[e(191)]=new Map,this[e(224)]=new Map,this[e(175)]=new Map,this[e(287)]=new Map,this[e(394)]=new Map,this[e(429)]=new Map,this[e(469)]=1}[rt(478)](t){const e=rt;this[e(232)]=t;const i=new Map,s=new Map,n=this[e(255)][e(250)][e(207)][e(366)][e(355)](t=>t[e(209)]);for(const t of n){const n=this[e(255)][e(250)][e(207)][e(217)](t),r=ct(n);i[e(199)](t,r),s[e(199)](t,Object[e(408)](n[e(443)]()))}const r=Array[e(225)](this[e(255)][e(250)][e(385)])[e(355)](t=>[t[e(330)],t[e(458)]()]),o=this[e(232)][e(438)];this[e(312)](o,i,r,s),this[e(386)]=this[e(469)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(199)](t,i),c[e(199)](t,{})}this[e(312)](Number[e(397)],a,[],c)}[rt(435)](t,e){const i=rt;if(this[i(168)]===t&&this[i(422)]<=e)this[i(294)][i(321)]>1&&this[i(393)](this[i(422)]),this[i(259)](this[i(422)],e,!0);else{if(!this[i(294)][i(360)](t)){const e=this[i(437)](t);this[i(328)](e,t,!1)}this[i(328)](t,e,!0)}return this[i(168)]=t,this[i(422)]=e,this[i(475)]()}[rt(245)](t){const e=rt,i=this[e(255)][e(486)][e(249)](e(263));this[e(426)](),this[e(168)]=t[e(216)],this[e(422)]=t[e(325)];for(const s in t[e(409)]){const n=t[e(409)][s][e(305)],r=A(t[e(409)][s][e(483)])||{},o=i[e(182)](t[e(409)][s][e(399)]);o[e(209)]=s,o[e(205)]=!n||!n[e(234)],o[e(234)]=()=>o[e(205)],this[e(331)][e(199)](s,o),this[e(191)][e(199)](s,r),n&&this[e(429)][e(199)](s,n);const a=this[e(376)](o);this[e(175)][e(199)](s,a);for(const[t,i]of o[e(385)]){if(!t[e(417)](e(320)))continue;const s=t[e(227)](":")[2];for(const t of i[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),n=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)],r=a[e(285)](n)[e(482)](i);this[e(287)][e(199)](r,{userId:s})}}}this[e(386)]=this[e(469)];const s=[...Array(this[e(469)])[e(210)]()][e(203)](1)[e(269)](t=>!this[e(287)][e(360)](t));let n=0;const r=new Map;for(const o in t[e(409)]){const a=t[e(409)][o][e(305)],c=A(t[e(409)][o][e(172)])||{},u=i[e(182)](t[e(409)][o][e(395)]);u[e(209)]=o,u[e(205)]=!a||a[e(234)],u[e(234)]=()=>u[e(205)],this[e(433)][e(199)](o,u),this[e(365)][e(199)](o,c);const l=this[e(376)](u,Number[e(397)]);this[e(224)][e(199)](o,l),r[e(199)](o,u[e(234)]()?c:{});for(const[t,i]of u[e(385)]){if(!t[e(417)](e(320)))continue;const s=t[e(227)](":")[2];for(const t of i[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),n=this[e(469)]++,r=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)];l[e(285)](r)[e(357)](i,n),this[e(287)][e(199)](n,{userId:s})}}for(const t of this[e(255)][e(250)][e(472)](u)[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),r=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)],o=l[e(285)](r);o[e(482)](i)>0||o[e(357)](i,s[n++])}for(const[t,i]of u[e(385)])t[e(417)](e(320))||this[e(196)][e(199)](t,i)}const o=ut(e(421));this[e(331)][e(199)](e(421),o),this[e(175)][e(199)](e(421),this[e(376)](o,1));const a=ut(e(421));this[e(433)][e(199)](e(421),a),this[e(224)][e(199)](e(421),this[e(376)](a,1));const c=Array[e(225)](this[e(433)])[e(355)](([t,e])=>[t,ct(e)]);this[e(312)](this[e(422)],c,this[e(196)],r)}[rt(202)](){const t=rt;this[t(426)](),this[t(168)]=-1,this[t(422)]=-1,this[t(294)][t(346)](),this[t(478)](this[t(232)])}[rt(312)](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(199)](t,{start:e[n(382)][n(449)](),end:e[n(180)][n(449)](),rootName:e[n(428)][n(209)]});this[n(294)][n(199)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(393)](t){const e=rt;this[e(294)][e(248)](t)}[rt(426)](){const t=rt;this[t(287)][t(346)](),this[t(394)][t(346)](),this[t(429)][t(346)](),this[t(433)][t(346)](),this[t(365)][t(346)](),this[t(331)][t(346)](),this[t(191)][t(346)](),this[t(224)][t(346)](),this[t(175)][t(346)](),this[t(196)][t(346)](),this[t(469)]=1,this[t(386)]=this[t(469)]}[rt(376)](t,e=null){const i=rt;let s=null;t.is(i(459))||(s=new Z.Element(t[i(330)],{vid_start:null===e?this[i(469)]++:e++}));const n=[];for(const s of t[i(226)]())if(s.is(i(256))){n[i(416)](this[i(376)](s,e));const t=n[n[i(273)]-1];null!==e&&(e=t.is(i(256),i(260))?t[i(482)](i(392))+1:t[i(482)](i(359))+1)}else for(let t=0;t<s[i(185)];t++)n[i(416)](new Z.Element(i(260),{vid:null===e?this[i(469)]++:e++}));if(t.is(i(459))){const e=ut(t[i(209)]);return e[i(280)](0,n),e}return s[i(357)](i(359),null===e?this[i(469)]++:e++),s[i(280)](0,n),s}[rt(328)](t,e,i){const s=rt;this[s(426)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(294)][s(249)](t);this[s(331)]=new Map(n),this[s(191)]=new Map(A(o));for(const[t,e]of this[s(331)])if(s(421)!==t&&(this[s(433)][s(199)](t,ct(e)),this[s(365)]=new Map(A(o)),i)){const i=this[s(469)];this[s(224)][s(199)](t,this[s(376)](e)),this[s(175)][s(199)](t,this[s(376)](e,i))}this[s(386)]=this[s(469)],this[s(433)][s(199)](s(421),ct(this[s(331)][s(249)](s(421)))),i&&this[s(224)][s(199)](s(421),this[s(376)](this[s(331)][s(249)](s(421))));for(const[t,e]of r){const i=this[s(331)][s(249)](e[s(209)]),n=this[s(433)][s(249)](e[s(209)]),r=new Z.Range(this[s(451)](e[s(382)],i),this[s(451)](e[s(180)],i)),o=this[s(179)](r,n);i[s(385)][s(199)](t,r),this[s(196)][s(199)](t,o)}this[s(259)](t,e,i)}[rt(259)](t,e,i){const s=rt;for(const n of this[s(232)][s(380)](t,e))this[s(300)](n,i);for(const t of this[s(433)][s(373)]())t[s(385)][s(346)]();for(const[t,e]of this[s(196)])this[s(433)][s(249)](e[s(428)][s(209)])[s(385)][s(199)](t,e[s(449)]());const n=new Map,r=new Map;for(const[t,e]of this[s(433)])n[s(199)](t,ct(e)),r[s(199)](t,this[s(365)][s(249)](t));this[s(312)](e,n,this[s(196)],r)}[rt(437)](t){const e=rt,i=Array[e(225)](this[e(294)][e(210)]());i[e(292)]((t,e)=>t-e),i[e(474)]();for(const e of i)if(e<t)return e;return Number[e(397)]}[rt(229)](t,e){const i=rt,s=Array[i(225)](e[i(385)])[i(355)](([e,s])=>[e,this[i(179)](s,t)]);t[i(385)]=new Map(s)}[rt(302)](t){const e=rt;for(const i of this[e(196)][e(373)]()){const s=i[e(419)](t),n=Z.Range[e(375)](s);i[e(382)]=n[e(382)],i[e(180)]=n[e(180)]}}[rt(300)](t,e){const i=rt;if(i(322)!=t[i(190)]&&i(178)!=t[i(190)]){if(i(228)==t[i(190)]){const s=t[i(388)][i(428)][i(209)];this[i(433)][i(360)](s)||(this[i(433)][i(199)](s,ut(s,!0)),this[i(365)][i(199)](s,{}),e&&this[i(224)][i(199)](s,ut(s,!0)))}else{if(i(402)==t[i(190)]||i(351)==t[i(190)]||i(410)==t[i(190)])return void this[i(317)](t);i(361)==t[i(190)]&&this[i(341)](t)}if(i(361)!==t[i(190)]){const e=this[i(288)](t,this[i(433)]);e[i(214)](),this[i(302)](e)}if(e)switch(t[i(190)]){case i(228):this[i(197)](t);break;case i(211):case i(222):case i(455):this[i(309)](t);break;case i(473):this[i(414)](t);break;case i(227):this[i(371)](t)}}else this[i(315)](t,e)}[rt(288)](t,e){const i=rt,s=t[i(449)]();return s[i(468)]=t[i(468)],this[i(442)](s,e),s}[rt(374)](t){const e=rt;return t[e(355)](t=>{const i=e,s=this[i(319)](t);return Number(t[i(367)][i(482)](s))})}[rt(174)](t,e){const i=rt;if(t.is(i(256),i(260)))e[i(416)]({item:t,type:i(310)});else{t.is(i(256))&&e[i(416)]({item:t,type:i(358)});for(const s of t[i(226)]())this[i(174)](s,e);t.is(i(256))&&e[i(416)]({item:t,type:i(272)})}return e}[rt(475)](){const t=rt,e=new Map(this[t(287)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(331)][t(210)](),...this[t(433)][t(210)]()]);a[t(248)](t(421));for(const e of a){const i=this[t(433)][t(249)](e)||ut(e,!1),s=this[t(331)][t(249)](e)||ut(e,!1);i[t(234)]()||s[t(234)]()?(n[t(395)][e]=ct(i),n[t(399)][e]=ct(s),this[t(229)](n[t(399)][e],s),this[t(229)](n[t(395)][e],i),r[t(395)][e]=this[t(174)](this[t(224)][t(249)](e),[]),r[t(399)][e]=this[t(174)](this[t(175)][t(249)](e)||ut(e,!1),[])):a[t(248)](e)}for(const n of a){const o=r[t(395)][n];for(const n of o){const r=this[t(319)](n),o=n[t(367)][t(482)](r);i[t(248)](o),o>=this[t(386)]&&s[t(199)](o,e[t(249)](o))}}for(const n of a){const a=r[t(395)][n],c=this[t(374)](r[t(399)][n]);let u=0;for(const n of a){const r=this[t(319)](n),a=n[t(367)][t(482)](r);if(!s[t(360)](a)&&!o[t(360)](a))if(i[t(360)](a))u++;else{if(a!=c[u]){const s=e[t(249)](a)||e[t(249)](c[u]);for(;a!=c[u];)i[t(360)](c[u])||(o[t(199)](c[u],s),e[t(199)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(395)][e];for(const e of n){const n=this[t(319)](e),r=e[t(367)][t(482)](n);if(o[t(360)](r)){const e=o[t(249)](r);i[t(360)](r)||i[t(199)](r,{...e}),s[t(199)](r,{...e})}}}for(const e of i[t(210)]())e>=this[t(386)]&&i[t(248)](e);const c=new Map;for(const e of a){let n=r[t(395)][e];for(const e of n)if(e[t(367)].is(t(256),t(251))){const i=this[t(319)](e),n=e[t(367)][t(482)](i);if(s[t(360)](n)){const i=e[t(367)][t(266)][t(266)][t(482)](t(193)),r=c[t(249)](i)||new Set;r[t(239)](s[t(249)](n)[t(400)]),c[t(199)](i,r)}}n=r[t(399)][e];for(const e of n)if(e[t(367)].is(t(256),t(251))){const s=this[t(319)](e),n=e[t(367)][t(482)](s);if(i[t(360)](n)){const s=e[t(367)][t(266)][t(266)][t(482)](t(193)),r=c[t(249)](s)||new Set;r[t(239)](i[t(249)](n)[t(400)]),c[t(199)](s,r)}}for(const e of c[t(210)]())(s[t(360)](e)||i[t(360)](e))&&c[t(248)](e)}for(const e of a){const n=r[t(395)][e];let o=null,a=null;for(const e of n){const n=this[t(319)](e),r=e[t(367)][t(482)](n),u=c[t(249)](r);u&&t(358)==e[t(190)]&&(o=Array[t(225)](u)[0],a=e[t(367)][t(482)](t(359))),o&&(i[t(199)](r,{userId:o}),s[t(199)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(399)][e],a=n[t(395)][e];for(const{userId:e}of this[t(394)][t(373)]())null!==e&&l[t(239)](e);for(const{userId:e}of this[t(429)][t(373)]())null!==e&&l[t(239)](e);this[t(453)](a,r[t(395)][e],s,t(323),l),this[t(453)](o,r[t(399)][e],i,t(384),l),u[e]={insertions:this[t(235)](a),deletions:this[t(235)](o),attachChange:this[t(429)][t(249)](e)||null,attributesBefore:A(this[t(191)][t(249)](e))||{},attributesAfter:A(this[t(365)][t(249)](e))}}return{diffData:u,authorsIds:Array[t(225)](l)}}[rt(363)](t){const e=rt;for(const[,i]of t[e(385)]){const t=i[e(382)][e(242)]()[e(269)](t=>e(251)==t[e(330)]);for(const i of t)1==i[e(464)]&&i[e(401)](0).is(e(256),e(430))&&i[e(401)](0)[e(357)](e(343),!0)}}[rt(235)](t){const e=rt;this[e(363)](t);const i=this[e(255)][e(457)][e(391)](t,{}),s=Array[e(225)](i[e(226)]())[e(355)](t=>this[e(334)](t));return JSON[e(252)](s)}[rt(334)](t){const e=rt;if(t.is(e(260)))return t[e(457)];{const i=this[e(255)][e(486)][e(249)](e(263)),s=t,n=this[e(255)][e(457)][e(398)][e(261)],r={type:i[e(347)](s),name:s[e(330)],attributes:Array[e(225)](s[e(443)]()),children:Array[e(225)](s[e(226)]())[e(355)](t=>this[e(334)](t))};if(t.is(e(369))&&e(378)!=t[e(330)]){const i=t[e(171)](n[e(271)],n);r[e(335)][e(416)](i[e(340)])}else if(t.is(e(465))){const i=n[e(271)][e(390)](s[e(330)]);t[e(171)](i,n),r[e(335)][e(416)](i[e(241)])}const o=Array[e(225)](s[e(338)]());o[e(273)]>0&&(r[e(215)]=o);const a=s[e(289)]();return null!==a&&(r[e(447)]=a),r}}[rt(453)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(255)][r(250)];for(let s=0;s<e[r(273)];s++){const n=this[r(319)](e[s]),c=e[s][r(367)][r(482)](n),h=i[r(249)](c),d=s==e[r(273)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(400)]!=o[r(400)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(400)],d=l(320)+s+":"+h+":"+c++,f=u[l(290)](i,a);t[l(385)][l(199)](d,f),null!==h&&n[l(239)](h)}}[rt(319)](t){const e=rt;switch(t[e(190)]){case e(358):return e(193);case e(272):return e(359);default:return e(392)}}[rt(442)](t,e){const i=rt;t[i(308)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(249)](n[i(428)][i(209)]);t[s]=this[i(451)](n,r)}if(n instanceof Z.Range){const r=e[i(249)](n[i(428)][i(209)]);t[s]=this[i(179)](n,r)}i(428)===s&&(t[i(428)]=e[i(249)](t[i(428)][i(209)]))}}[rt(179)](t,e){const i=rt;return this[i(255)][i(250)][i(290)](this[i(451)](t[i(382)],e),this[i(451)](t[i(180)],e))}[rt(451)](t,e){const i=rt;return this[i(255)][i(250)][i(195)](e,t[i(206)],t[i(306)])}[rt(197)](t){const e=rt,i=this[e(224)][e(249)](t[e(388)][e(428)][e(209)]),s=this[e(451)](t[e(388)],i),n=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,r=s[e(266)],o=this[e(469)],a=[];for(const i of t[e(404)])if(i.is(e(256)))a[e(416)](this[e(376)](i));else for(let t=0;t<i[e(185)];t++)a[e(416)](new Z.Element(e(260),{vid:this[e(469)]++}));const c=this[e(469)];for(let t=o;t<c;t++)this[e(287)][e(199)](t,{userId:n});r[e(280)](s[e(304)],a)}[rt(309)](t){const e=rt;(t=this[e(288)](t,this[e(224)]))[e(214)]();const i=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(327)](),n=s[e(266)],r=s[e(304)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(401)](e);r.is(a(256),a(260))?s[a(199)](r[a(482)](a(392)),{userId:i}):(s[a(199)](r[a(482)](a(193)),{userId:i}),t(s,r,0,r[a(464)]),s[a(199)](r[a(482)](a(359)),{userId:i}))}}(this[e(287)],n,r,r+t[e(295)])}[rt(414)](t){const e=rt,i=null===(t=this[e(288)](t,this[e(224)]))[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(337)][e(266)],n=t[e(460)][e(266)],r=s[e(482)](e(359)),o=n[e(482)](e(193));s[e(357)](e(359),n[e(482)](e(359))),n[e(357)](e(359),r),this[e(287)][e(199)](o,{userId:i}),this[e(287)][e(199)](r,{userId:i}),t[e(214)]()}[rt(371)](t){const e=rt,i=null===(t=this[e(288)](t,this[e(224)]))[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(275)],n=t[e(387)][e(266)];t[e(214)]();const r=n[e(482)](e(359)),o=t[e(424)][e(183)];if(s){const t=o[e(482)](e(359)),s=n[e(482)](e(359));n[e(357)](e(359),t),o[e(357)](e(359),s),this[e(287)][e(199)](n[e(482)](e(359)),{userId:i}),this[e(287)][e(199)](o[e(482)](e(193)),{userId:i})}else{const t=this[e(469)]++,s=this[e(469)]++;n[e(357)](e(359),t),o[e(357)](e(193),s),o[e(357)](e(359),r),this[e(287)][e(199)](t,{userId:i}),this[e(287)][e(199)](s,{userId:i})}}[rt(341)](t){const e=rt;if(!t[e(480)])return;const i=(t=this[e(288)](t,this[e(433)]))[e(405)]?t[e(405)][e(428)]:null,s=t[e(301)]?t[e(301)][e(428)]:null;i&&this[e(196)][e(248)](t[e(330)]),s&&this[e(196)][e(199)](t[e(330)],t[e(301)][e(449)]());const n=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,r=t[e(330)];if(!this[e(394)][e(360)](r))return void this[e(394)][e(199)](r,{range:t[e(405)],userId:n});const o=this[e(394)][e(249)](r),a=o[e(268)],c=t[e(301)];null==a&&null==c||a&&c&&a[e(311)](c)?this[e(394)][e(248)](t[e(330)]):o[e(400)]=n}[rt(315)](t,e){const i=rt;this[i(433)][i(360)](t[i(209)])?this[i(433)][i(249)](t[i(209)])[i(205)]=t[i(423)]:(this[i(433)][i(199)](t[i(209)],ut(t[i(209)],!0)),this[i(365)][i(199)](t[i(209)],{}),e&&this[i(224)][i(199)](t[i(209)],ut(t[i(209)],!0)));const s=null===t[i(468)]?null:t[i(468)]||this[i(255)][i(486)][i(249)](i(345)).me.id,n=this[i(429)][i(249)](t[i(209)]);n&&n[i(400)]===s?this[i(429)][i(248)](t[i(209)]):this[i(429)][i(199)](t[i(209)],{userId:s,isAttached:t[i(423)]})}[rt(317)](t){const e=rt,i=this[e(365)][e(249)](t[e(428)][e(209)]);null===t[e(240)]?delete i[t[e(258)]]:i[t[e(258)]]=t[e(240)]}}function ct(t){const e=rt,i=ut(t[e(209)],t[e(234)]());for(const s of t[e(226)]()){const t=s[e(176)](!0);i[e(291)](t)}return i}function ut(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(209)]=t,s[i(205)]=e,s[i(234)]=()=>s[i(205)],s}function lt(t,e,i){const s=rt,n=s(272)==t[s(190)]?i[s(439)](t[s(367)],s(180)):i[s(339)](t[s(367)]);return i[s(195)](e,n[s(206)],n[s(306)])}function ht(t,e){const i=ft();return(ht=function(t,e){return i[t-=167]})(t,e)}function dt(t,e,i){const s=rt,n=s(358)==t[s(190)]?i[s(439)](t[s(367)],0):i[s(324)](t[s(367)]);return i[s(195)](e,n[s(206)],n[s(306)])}function ft(){const t=["text","isEqual","_saveMetaData","_loadState","then","_handleRootOperation","_bufferUpdate","_handleRootAttributeOperation","revisionHistoryLicenseKeyUsageLimit","_getVidAttributeName","revision:","size","addRoot","insertion","createPositionAfter","toVersion","_makeRevision","getMovedRangeStart","_calculateMetaData","RevisionHistory","name","_baseRoots","getIndex","1170156cVhRGS","_getViewJson","children","loadRevisionData","targetPosition","getCustomProperties","createPositionBefore","outerHTML","_handleMarkerOperation","_startingVersion","keepParagraph","sendBufferedUpdates","Users","clear","_getTypeCharForViewElement","find","isPremiumPlugin","_isPendingUpdate","removeRootAttribute","1354906nQSNSr","featureNotAllowed","_bufferedUpdates","map","_pendingAction","_setAttribute","elementStart","vid_end","has","marker","RealTimeCollaborationClient","_processRootBeforeSave","licenseKey","_diffRootsAttributes","roots","item","getRevision","uiElement","_utils","_handleSplitOperation","871872oWjHlu","values","_getBaseVids","_createFromRanges","_makeIdsRoot","collaboration.channelId","$comment","getRootNames","getOperations","authors","start","dataToMarker","deletion","markers","_startingRevisionId","splitPosition","position","_initialRevisionId","createElement","toView","vid","_removeMetaData","_touchedMarkers","insertions","update","NEGATIVE_INFINITY","htmlProcessor","deletions","userId","getChild","addRootAttribute","domainLimit","nodes","oldRange","2897436OfXaGb","authorsIds","fromEntries","diffData","changeRootAttribute","_setConversion","revisionHistoryLicenseKeyNotAllowed","pluginName","_handleMergeOperation","trim","push","startsWith","locale","getTransformedByOperation","revision","$graveyard","_lastTo","isAdd","insertionPosition","revisionHistoryLicenseKeyTrialLimit","_reset","revisionHistoryLicenseKeyExpired","root","_touchedRoots","paragraph","rootsAttributes","addRevision","_diffRoots","resolve","getData","getUser","_getPreviousFrom","version","createPositionAt","dataDowncast","repository","_fixOperation","getAttributes","23981181urtdLm","_continueCurrentRevision","_createInitialRevision","fillerOffset","RevisionTracker","clone","_operations","_fixPosition","updateRevisions","_markChanges","getRevisionDocumentData","reinsert","_removePendingAction","data","getRange","documentFragment","sourcePosition","setRevisionData","string","isOfficialPlugin","childCount","rawElement","for","revisionHistoryLicenseKeyValid","_authorId","_revisionId","setSource","_addPendingAction","createRangeIn","merge","reverse","_getState","markerToData","revisionHistoryLicenseKeyInvalid","init","RevisionsRepository","affectsData","_isInit","getAttribute","attributesBefore","history","7967480DMwDhR","plugins","getOperation","_lastFrom","afterInit","getRevisionRootsAttributes","render","attributesAfter","upcast","_generateTape","_baseIdsRoots","_clone","previousPosition","detachRoot","_fixRange","end","getLatestVersion","_makeModelFromViewString","nodeAfter","creatorId","offsetSize","evaluationLimit","_revisionDataBuilder","PendingActions","conversion","type","_baseRootsAttributes","addRevisionData","vid_start","getCurrentRevisionId","createPositionFromPath","_markers","_handleInsertOperation","revisionHistoryLicenseKeyEvaluationLimit","set","_replaceEditorDataWithRevisionData","_findInsertionIndex","reInit","slice","config","_isAttached","path","document","define","rootName","keys","move","_showLicenseError","Empty document","_execute","customProperties","fromVersion","getRoot","initial","createdAt","_createCurrentRevision","hasContent","remove","buildRevisionData","_idsRoots","from","getChildren","split","insert","_copyMarkers","revisionHistoryLicenseKeyDomainLimit","_licenseKeyCheckInterval","source","expired","isAttached","_prepareViewToSave","editor-initial-data-replaced-with-revision-data","finally","getRevisions","add","newValue","innerHTML","getAncestors","PENDING_ACTION_REVISION_HISTORY","currentRevision","loadState","getTime","_getFromVersion","delete","get","model","tableCell","stringify","trialLimit","revisionHistory.resumeUnsavedRevision","editor","element","some","key","_applyOperations","$text","domConverter","_loadedStateData","RevisionHistoryUtils","isReady","2496987CUGoGk","parent","initialData","range","filter","includes","domDocument","elementEnd","length","getWalker","graveyardPosition","_update","ready","saveRevision","shift","_insertChild","max","adapter","destroy","createRevision","getNodeByPath","creator","_touched","_cloneOperation","getFillerOffset","createRange","_appendChild","sort","invalid","_savedMetaData","howMany","requires","Initial revision","bind","usageLimit","_handleOperation","newRange","_transformMarkers","isEnabled","offset","attachChange","stickiness","_source","baseVersion","_handleMoveOperation"];return(ft=function(){return t})()}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=Et;function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=131]})(t,e)}function Vt(){const t=["revisionName","arrowup","18uwkzYv","setTemplate","value","220","arrowdown","render","1501384xEDaSz","90CVgkGA","set","add","fieldView","element","1408624Xqmags","Name of the revision","arrowright","extendTemplate","220EDrgvp","reset","revisionNameInputValue","listenTo","form","_createRevisionNameInput","optional","focusTracker","658217AsxrTX","2557050pDLpwM","stopPropagation","247692hJigcI","arrowleft","ck-revision-history-save-revision-form","focus","input","revisionNameInputView","errorText","label","ck-responsive-form","keystrokes","33532piahHr","482050JxOigW","locale","trim","81GYXyXO"];return(Vt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(946399===parseInt(e(171))/1+parseInt(e(142))/2*(parseInt(e(159))/3)+-parseInt(e(152))/4+-parseInt(e(140))/5+parseInt(e(166))/6*(-parseInt(e(139))/7)+-parseInt(e(165))/8*(-parseInt(e(156))/9)+-parseInt(e(153))/10*(parseInt(e(131))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[At(138)];[At(151)];[At(147)];constructor(e,i){const s=At;super(e),this[s(138)]=new t.FocusTracker,this[s(151)]=new t.KeystrokeHandler,this[s(167)](s(133),""),this[s(147)]=this[s(136)](i),this[s(160)]({tag:s(135),attributes:{class:["ck",s(144),s(150)],tabindex:"-1"},children:[this[s(147)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(164)](){const t=At;super[t(164)](),(0,pt.submitHandler)({view:this}),this[t(138)][t(168)](this[t(147)][t(170)]),this[t(151)][t(134)](this[t(170)]);const e=e=>e[t(141)]();this[t(151)][t(167)](t(173),e),this[t(151)][t(167)](t(143),e),this[t(151)][t(167)](t(158),e),this[t(151)][t(167)](t(163),e)}[At(145)](){const t=At;this[t(147)][t(145)]()}get[At(157)](){const t=At;return this[t(147)][t(169)][t(170)][t(161)][t(155)]()}set[At(157)](t){const e=At;this[e(147)][e(169)][e(170)][e(161)]=t[e(155)]()}[At(132)](){const t=At;this[t(147)][t(169)][t(170)][t(161)]="",this[t(147)][t(148)]=null}[At(136)](t){const e=At,i=new pt.LabeledFieldView(this[e(154)],pt.createLabeledInputText),s=i[e(169)];s[e(174)]({attributes:{maxlength:e(162)}});let n=Q(this[e(154)],e(172));return!t&&(n+=" ("+Q(this[e(154)],e(137))+")"),i[e(149)]=n,s.on(e(146),()=>{const t=e;this[t(133)]=s[t(170)][t(161)][t(155)]()}),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=302]})(t,e)}function Ft(){const t=["Dialog","saveRevision","get","view","Accept","execute","RevisionTracker","componentFactory","focus","revisionHistory","revisionName","revisionNameInputView","isOfficialPlugin","isReadOnly","141233HbQUSY","242392rHNYki","10zqzdpU","addMany","menu","buttonView","plugins","locale","revisionSave","ck-button-action","5013848DMNXkB","submit","_registerMenuComponent","editing","bind","set","add","hide","menuBar:revisionHistory","_saveRevisionFormView","pluginName","config","2541810TJKJYp","showRevisionViewerCallback","5490432JCHxTr","render","init","requires","15qaKQRh","panelView","The revision name cannot be empty.","Open revision history","1945350vGZoKH","items","reset","Cancel","revisionHistory.requireRevisionName","menuitem","_showDialog","isReady","isEnabled","Revision history","isPremiumPlugin","show","children","delegate","11228454InfXpq","Save current revision","editor","_createSaveRevisionFormView","errorText","role","isOpen","RevisionHistoryUI"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(378810===-parseInt(e(367))/1*(-parseInt(e(369))/2)+parseInt(e(331))/3+-parseInt(e(368))/4*(parseInt(e(327))/5)+parseInt(e(321))/6+parseInt(e(309))/7+-parseInt(e(323))/8+-parseInt(e(345))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Dt(319)](){return Dt(352)}static get[Dt(365)](){return!0}static get[Dt(341)](){return!0}static get[Dt(326)](){return[ot]}[Dt(318)];[Dt(325)](){const t=Dt,e=this[t(347)],i=e[t(305)][t(355)](t(359));e.ui[t(360)][t(315)](t(362),s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(328)][n(343)],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(313)](n(339)).to(i,n(338),i,n(339),e,n(366),(t,e,i)=>t&&e&&!i),r[n(304)][n(314)]({icon:mt.IconHistory,label:Q(s,n(340)),tooltip:!0}),u[n(314)]({label:Q(s,n(346)),withText:!0,role:n(336)}),u[n(313)](n(339)).to(i,n(338),i,n(339),e,n(366),(t,e,i)=>t&&e&&!i),u.on(n(358),()=>this[n(337)]()),h[n(314)]({label:Q(s,n(330)),withText:!0,role:n(336)}),h[n(313)](n(339)).to(i,n(338),e,n(366),(t,e)=>t&&!e),h.on(n(358),()=>{const t=n;e[t(320)][t(355)](t(362))[t(322)](),r[t(351)]=!1,e[t(312)][t(356)][t(361)]()}),c[n(343)][n(315)](u),l[n(343)][n(315)](h),a[n(350)]=n(303),a[n(332)][n(302)]([c,l]),o[n(315)](a),r}),e.ui[t(360)][t(315)](t(317),()=>this[t(311)]())}[Dt(311)](){const t=Dt,e=this[t(347)],i=e[t(306)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(304)][t(314)]({icon:mt.IconHistory,label:Q(i,t(340))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(314)]({label:Q(i,t(346))}),o[t(344)](t(358)).to(s),o.on(t(358),()=>{this[t(337)]()}),r[t(343)][t(315)](o),n[t(332)][t(315)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(314)]({label:Q(i,t(330))}),c[t(344)](t(358)).to(s),c.on(t(358),()=>{const i=t;e[i(320)][i(355)](i(362))[i(322)]()}),a[t(343)][t(315)](c),n[t(332)][t(315)](a),s[t(328)][t(343)][t(315)](n),s}[Dt(337)](){const t=Dt,e=this[t(347)],i=e[t(306)],s=e[t(305)][t(355)](t(353)),n=e[t(305)][t(355)](t(359));function r(n){const r=t;e[r(320)][r(355)](r(335))&&""===n[r(363)]?n[r(364)][r(349)]=Q(i,r(329)):(e[r(305)][r(355)](ot)[r(354)]({name:n[r(363)]}),s[r(316)]())}this[t(318)]||(this[t(348)](),this[t(318)].on(t(310),()=>r(this[t(318)]))),this[t(318)][t(333)](),s[t(342)]({id:t(307),title:Q(i,t(346)),isModal:!0,content:this[t(318)],actionButtons:[{label:Q(e[t(306)],t(334)),withText:!0,onExecute:()=>s[t(316)]()},{label:Q(e[t(306)],t(357)),class:t(308),withText:!0,onCreate(i){const s=t;i[s(313)](s(339)).to(n,s(338),n,s(339),e,s(366),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(318)])}]})}[Dt(348)](){const t=Dt,e=this[t(347)],i=e[t(306)];this[t(318)]=new Mt(i,e[t(320)][t(355)](t(335))),this[t(318)][t(324)]()}}const Lt=zt;function Pt(){const t=["9338868yGkSrb","isSuggestion","name","element","13008438NJrhQg","data","changeId","44iDRjyW","author","ck-revision-change","type","ck-revision-change__","span","Added by","setTemplate","30628ufLNQf","add","_model","ck-annotation","92BKrjWr","103715hAFuch","3919540gPKbxl","Removed by","focus","1833YOcYyI","div","17563dGrfET","Suggested by","set","ck-revision-change__label","466OcoCZd","976CbHbGO","bindTemplate"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=229]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(783990===parseInt(e(230))/1+parseInt(e(245))/2*(-parseInt(e(239))/3)+parseInt(e(234))/4*(-parseInt(e(235))/5)+parseInt(e(248))/6+-parseInt(e(241))/7*(parseInt(e(246))/8)+-parseInt(e(252))/9+parseInt(e(236))/10*(parseInt(e(255))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[Lt(254)];[Lt(232)];constructor(t,e){const i=Lt;super(t),this[i(232)]=e,this[i(254)]=e.id;const s=this[i(247)],n=Q(t,e[i(253)][i(249)]?i(242):i(231)==e[i(258)]?i(261):i(237));this[i(243)](i(258),e[i(258)]),this[i(229)]({tag:i(240),attributes:{class:[i(233),i(257),s.to(i(258),t=>i(259)+t)],tabindex:-1},children:[{tag:i(260),children:[{tag:i(260),attributes:{class:[i(244)]},children:[{text:n}]},{text:" "+e[i(256)][i(250)]}]}]})}[Lt(238)](){const t=Lt;this[t(251)][t(238)]()}}var Ut=Ht;function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=240]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(170273===parseInt(e(252))/1+parseInt(e(244))/2*(parseInt(e(253))/3)+-parseInt(e(247))/4*(-parseInt(e(243))/5)+parseInt(e(241))/6+-parseInt(e(251))/7*(-parseInt(e(254))/8)+parseInt(e(246))/9*(-parseInt(e(249))/10)+-parseInt(e(257))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(256)];[Ut(242)];[Ut(240)];[Ut(248)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(256)]=e[i(256)],this[i(242)]=e[i(242)],this[i(240)]=e[i(240)]||{},this[i(248)]=e[i(248)],this[i(250)](i(255),e[i(255)])}[Ut(245)](){var t=Ut;return{id:this.id,authorId:this[t(256)].id,type:this[t(242)],data:this[t(240)],createdAt:this[t(255)]}}}function qt(){var t=["2205fAOiIN","568972YzdcpJ","rootName","6070kzGseT","set","2807YTfuEm","220019kCfeBr","15ZkkEUc","4624iyUpSG","createdAt","author","8956915YPcPoZ","data","2022918NohjIv","type","5hYLKNo","80824STpFUK","toJSON"];return(qt=function(){return t})()}const $t=Yt;function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=478]})(t,e)}function Bt(){const t=["4655EtWXEq","add","403534ssWvnj","274515sxrAWf","7WHUpWU","84uVUBEH","oldRevisionId","10705554mRurkj","1305887EnatnY","20aSeWks","2578395rqWrWV","changes","_setChanges","newRevisionId","3751404loreZE","8XbxAYo"];return(Bt=function(){return t})()}!function(t){const e=Yt,i=t();for(;;)try{if(735978===-parseInt(e(487))/1+-parseInt(e(486))/2+-parseInt(e(478))/3+parseInt(e(489))/4*(parseInt(e(484))/5)+-parseInt(e(482))/6*(-parseInt(e(488))/7)+-parseInt(e(483))/8*(-parseInt(e(491))/9)+-parseInt(e(493))/10*(-parseInt(e(492))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(481)];[$t(490)];[$t(479)];constructor(e,i){const s=$t;this[s(481)]=e,this[s(490)]=i,this[s(479)]=new t.Collection}[$t(480)](t){const e=$t;for(const i of t)this[e(479)][e(485)](i)}}var Jt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Kt=Qt;function Qt(t,e){const i=ee();return(Qt=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=Qt,i=t();for(;;)try{if(685766===parseInt(e(553))/1*(parseInt(e(647))/2)+parseInt(e(525))/3*(parseInt(e(539))/4)+-parseInt(e(669))/5*(-parseInt(e(450))/6)+parseInt(e(448))/7*(parseInt(e(611))/8)+parseInt(e(510))/9*(parseInt(e(498))/10)+parseInt(e(589))/11*(-parseInt(e(569))/12)+-parseInt(e(633))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class te extends U.Plugin{[Kt(654)];[Kt(449)]=null;[Kt(378)];[Kt(635)];[Kt(538)];[Kt(588)];[Kt(618)];static get[Kt(531)](){return Kt(349)}static get[Kt(651)](){return!0}static get[Kt(370)](){return!0}static get[Kt(470)](){return[H.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Kt;super(t),this[e(654)]=this[e(489)][e(429)][e(457)](e(495)),this[e(378)]=this[e(489)][e(429)][e(457)](e(667)),this[e(527)](e(417),null),this[e(527)](e(394),null),this[e(635)]=null,this[e(527)](e(612),null),this[e(527)](e(614),!1),this[e(527)](e(347),!0),this.on(e(613),(t,i,s)=>{const n=e;this[n(417)]=null,this[n(394)]=null,this[n(489)][n(497)][n(492)][n(358)](t=>{const e=n;for(const i of this[e(489)][e(497)][e(492)][e(600)][e(506)])s?t[e(558)](e(376),i):t[e(617)](e(376),i)})}),this[e(546)](e(428)).to(this,e(417),t=>null!==t),this[e(546)](e(599)).to(this,e(614),this,e(612),this,e(417),(t,i,s)=>t&&s?i[e(438)][e(374)](s):0),this[e(546)](e(650)).to(this,e(614),this,e(612),(t,i)=>t?i[e(438)][e(362)]:0),this[e(538)]=null,this[e(588)]=new Map,this[e(618)]=this[e(489)][e(429)][e(457)](pt.ContextualBalloon)}[Kt(432)](){const t=Kt,e=this[t(489)],i=new ne(e,{direction:t(453)}),s=new ne(e,{direction:t(662)});e[t(547)][t(494)](t(608),i),e[t(547)][t(494)](t(520),s),e[t(547)][t(494)](t(486),new se(e)),this.on(t(443),()=>{const e=t;i[e(355)](),s[e(355)]()}),this[t(592)](),this[t(446)](),e[t(591)](t(357)),e[t(429)][t(642)](t(582))&&e[t(429)][t(457)](t(582))[t(660)](t(357))}async[Kt(488)](t){const e=Kt;return await this[e(378)][e(427)](t,this[e(449)]),this[e(378)][e(488)](t)}async[Kt(356)](t){const e=Kt;return await this[e(378)][e(427)](t,this[e(449)]),this[e(378)][e(356)](t)}async[Kt(372)](t,e,i=!1){const s=Kt;if(!this[s(347)])return;const n=this[s(612)],r=this[s(654)],o=s(670)==typeof t?r[s(619)](t):t,a=s(670)==typeof e?r[s(619)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(612)]&&this[s(612)][s(412)]===c&&this[s(612)][s(671)]===u)return Promise[s(395)]();this[s(614)]=!1,this[s(394)]=null,this[s(417)]=null,this[s(612)]=new Gt(c,u);const l=this[s(628)](o,a,!0)[s(380)](t=>this[s(378)][s(427)](t,this[s(449)]));return l[s(392)](new Promise(t=>{setTimeout(t,20)})),Promise[s(632)](l)[s(571)](()=>{const t=s;if(!this[t(347)])return;this[t(416)]();const e=this[t(484)](c,u);for(const i of e[t(438)])this[t(588)][t(527)](i.id,i);this[t(489)][t(423)][t(643)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(489)][s(423)][s(600)][s(386)]())i[s(516)](t);for(const t of Object[s(630)](e[s(423)])){const n=i[s(637)](t);for(const r of Object[s(630)](e[s(442)][t]))i[s(587)](r,e[s(442)][t][r],n);i[s(348)](e[s(423)][t],n,0)}}),this[t(612)][t(369)](this[t(629)](e[t(438)])),this[t(614)]=!0})[s(593)](t=>{const e=s;console[e(672)](t),this[e(416)](),n&&(this[e(612)]=n),this[e(614)]=!0})}[Kt(452)](t,e){const i=Kt,s=this[i(654)][i(545)](t);return s.on(i(540),(t,i,n)=>e(i,n,s)),this[i(654)][i(666)](s),s}[Kt(416)](){const t=Kt;this[t(417)]=null,this[t(567)](),this[t(538)]&&this[t(538)][t(640)](),this[t(538)]=null,this[t(588)][t(580)](),this[t(489)][t(423)][t(643)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(489)][i(423)][i(600)][i(386)]())e[i(516)](t)})}[Kt(629)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(489)][e(423)][e(600)][e(386)]()){const n=this[e(489)][e(497)][e(492)][e(353)](t);if(!n)continue;const r=n[e(661)]()[e(623)](0);r&&(i[e(392)](t),s[e(527)](t,r))}return i[e(536)]((t,i)=>{const n=e,r=s[n(457)](t),o=s[n(457)](i);return r.y-o.y||r.x-o.x}),(t=t[e(668)](t=>i[e(656)](t[e(364)])))[e(536)]((t,s)=>i[e(413)](t[e(364)])-i[e(413)](s[e(364)])),t}[Kt(624)](t){const e=Kt,i=Array[e(444)](t[e(585)])[e(668)](([t,i])=>t[e(464)](e(621))&&!i[e(456)]),s=Array[e(444)](this[e(489)][e(423)][e(403)](t)[e(577)]({singleCharacters:!0}));if(0!=i[e(362)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(409)](":");if(n[e(407)][e(361)](t[e(363)])&&i[e(401)](),(t[e(471)][e(361)](n[e(360)])||t[e(471)][e(425)](n[e(360)]))&&(e(532)==r?t[e(398)]={userId:o}:e(674)==r&&(t[e(675)]={userId:o})),0==i[e(362)])break}return s}[Kt(542)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(362)];s++)e(602)===t[s][e(359)]?(t[s][e(623)][e(414)]=s,t[s][e(623)][e(397)]=s):(e(491)===t[s][e(359)]?t[s][e(623)][e(414)]=s:e(477)===t[s][e(359)]&&(t[s][e(623)][e(397)]=s),i[e(527)](t[s].id,s));for(const s of i[e(503)]())e(491)===t[s][e(359)]?t[s][e(623)][e(397)]=i[e(457)](t[s][e(626)]):e(477)===t[s][e(359)]&&(t[s][e(623)][e(414)]=i[e(457)](t[s][e(626)]))}[Kt(393)](t){const e=Kt;for(let i=0;i<t[e(362)];i++){if(e(491)===t[i][e(359)])t[i][e(623)][e(414)]=i;else if(e(477)===t[i][e(359)]){t[i][e(623)][e(397)]=i;const s=t[i][e(623)][e(414)];t[s][e(626)]=t[i].id,t[i][e(626)]=t[s].id}else t[i][e(623)][e(414)]=i,t[i][e(623)][e(397)]=i,t[i][e(626)]=null;t[i][e(368)]||(t[i][e(368)]=[],t[i][e(537)]=[])}}[Kt(622)](t,e){const i=Kt,s=t[i(668)](t=>!t[i(398)]);for(let t=0;t<e[i(362)];t++)e[t][i(398)]&&(s[t][i(398)]=e[t][i(398)])}[Kt(484)](t,e=null){const i=Kt,s=this[i(654)][i(619)](t),n=e?this[i(654)][i(619)](e):null,r=this[i(628)](s,n),o=r[r[i(362)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(362)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(630)](e[i(479)]))if(e[i(479)][t][i(499)]){const s=e[i(479)][t][i(499)];s[i(556)]?(u[i(494)](t),l[i(642)](t)&&l[i(457)](t)[i(426)]==s[i(426)]?l[i(351)](t):l[i(527)](t,s)):l[i(642)](t)?(u[i(351)](t),l[i(351)](t)):(u[i(494)](t),l[i(527)](t,s))}else u[i(494)](t)}for(const t of u){const e=l[i(642)](t)&&!l[i(457)](t)[i(556)];let s=e?r[i(362)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(479)][t]){const s=e?o[i(479)][t][i(658)]:o[i(479)][t][i(451)];c[i(442)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(423)]={};for(const e of t[i(441)])a[i(527)](e.id,e);for(const e of u){const s=t[i(479)][e]?t[i(479)][e][i(530)]:"[]",n=t[i(479)][e]?t[i(479)][e][i(566)]:"[]";t[i(423)][e]={insertions:this[i(378)][i(511)](s),deletions:this[i(378)][i(511)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(444)](s[i(423)][t][i(530)][i(585)])[i(668)](([t])=>!t[i(464)](i(621))));let h=0;for(const o of r){const r=this[i(624)](o[i(423)][t][i(530)]);o==s?(e=r,n=e[i(362)],e[i(673)](t=>{t.id=h++}),this[i(393)](e)):this[i(622)](e,r);const a=e[i(668)](t=>!t[i(398)])[i(380)](t=>t.id);let c=0;const l=this[i(624)](o[i(423)][t][i(566)]);l[i(673)](t=>{t[i(675)]?t.id=n++:t.id=a[c++]}),this[i(393)](l),this[i(509)](e,i(398)),this[i(509)](l,i(675)),o==s&&this[i(373)](e,u),e=this[i(385)](e,l),this[i(542)](e),this[i(509)](e,i(675))}e=e[i(668)](t=>!(t[i(398)]&&t[i(675)]));const d=new Map(o[i(423)][t][i(566)][i(585)]),f=new Set(u[i(630)]());for(const t of d[i(630)]())f[i(351)](t);this[i(396)](e,f),this[i(406)](e),e=this[i(461)](e),e=this[i(594)](e),e=this[i(549)](e);const{root:m,changes:p}=this[i(578)](e,a,t);c[i(423)][t]=m;const v=l[i(457)](t);if(v){const e=a[i(457)](v[i(426)]),s=new Zt({author:e,type:v[i(556)]?i(494):i(529),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(655)](s),c[i(442)][t][i(433)]=s.id}c[i(438)]=c[i(438)][i(508)](p)}return c}[Kt(373)](t,e){const i=Kt;for(let s=0;s<t[i(362)];s++)for(const[n,r]of e)!r[i(456)]&&r[i(360)][i(361)](t[s][i(471)])&&t[s][i(368)][i(392)](n),r[i(407)][i(361)](t[s][i(363)])&&t[s][i(537)][i(392)](n)}[Kt(385)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(362)]||r<e[i(362)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(392)](o);else if(a[i(675)]&&o[i(398)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(657)](t,n,e,r);s=s[i(508)](o),n=a,r=c}else a[i(675)]?(r++,s[i(392)](a)):(n++,s[i(392)](o))}return s}[Kt(396)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(362)];o++){for(let r=0;r<t[o][i(368)][i(362)];r++){const a=t[o][i(368)][r];if(!e[i(642)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(419)!=c||i(532)!=u&&i(674)!=u||(s[i(655)]({type:u,name:a,userId:l}),t[o][i(368)][i(365)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(537)][i(362)];r++){const a=t[o][i(537)][r];if(!e[i(642)](a))continue;const{group:c,type:u}=n(a);if(i(419)!=c||i(532)!=u&&i(674)!=u)continue;t[o][i(537)][i(365)](r,1),r--;const l=s[i(631)](t=>t[i(460)]==a);l>-1&&s[i(365)](l,1)}}function n(t){const e=i,s=t[e(409)](":");return{group:s[0],type:s[1],subType:s[e(362)]>=5?s[2]:null,id:s[e(362)]<5?s[2]:s[3],authorId:s[e(362)]<5?s[3]:s[4],markerCount:6==s[e(362)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(362)];i++){if(t[e(398)]&&e(532)==s[i][e(359)]&&t[e(398)][e(426)]==s[i][e(426)])return t[e(502)]=s[i],void delete t[e(398)];if(!t[e(398)]&&!t[e(675)]&&e(674)==s[i][e(359)])return void(t[e(482)]=s[i])}}}[Kt(509)](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(527)](o.id,s);for(let s=0;s<t[i(362)];s++){if(i(675)==e&&t[s][i(398)]||i(398)==e&&t[s][i(675)])continue;if(i(602)==t[s][i(359)]){t[s][i(383)]=0;continue}const n=r[i(457)](t[s][i(626)]),o=r[i(457)](t[s].id);t[s][i(383)]=n-o}}[Kt(628)](t,e,i=!1){const s=Kt,n=[];let r=this[s(654)][s(374)](t),o=this[s(654)][s(374)](e);for(-1==o&&(o=this[s(654)][s(474)][s(362)],i=!1);r<o;)n[s(392)](this[s(654)][s(619)](r)),r++;return i&&n[s(392)](this[s(654)][s(619)](r)),n}[Kt(657)](t,e,i,s){const n=Kt,r=this[n(489)][n(423)][n(475)];let o=e;for(;t[o]&&t[o][n(398)];)o++;let a=s;for(;i[a]&&i[a][n(675)];)a++;u(t,e,o),u(i,s,a);const c=i[n(424)](s,a)[n(508)](t[n(424)](e,o));return c[n(536)]((t,e)=>t[n(560)]!=e[n(560)]?t[n(560)]-e[n(560)]:t[n(391)]!=e[n(391)]?t[n(391)]-e[n(391)]:t[n(383)]!=e[n(383)]?e[n(383)]-t[n(383)]:!!t[n(398)]!=!!e[n(398)]?-1==t[n(560)]||0==t[n(560)]?t[n(398)]?-1:1:t[n(398)]?1:-1:t[n(480)]-e[n(480)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(519)],c=!0;for(let n=e;n<i;n++)if(r[s(467)](t[n][s(623)])||(c=!1),t[n][s(623)][s(414)]<e&&(o=n),t[n][s(623)][s(397)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(560)]=n<=o?-1:n<a?0:1,t[n][s(480)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(383)]?t[i][s(391)]=u:(u++,t[i][s(391)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(560)]&&(t[n][s(391)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(383)]?t[e][s(391)]=u:(u--,t[e][s(391)]=u,u--)}}[Kt(406)](t){const e=Kt,i=new Map,s=this[e(489)][e(423)][e(475)];for(let n=1;n<t[e(362)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(602)==c[e(359)])continue;if(c[e(359)]!=u[e(359)])continue;if(!s[e(518)](u[e(623)])||s[e(564)](u[e(623)]))continue;if(!s[e(518)](c[e(623)])||s[e(564)](c[e(623)]))continue;if((t[n][e(398)]||t[n][e(502)])&&t[n-1][e(675)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(675)]||!t[n-1][e(398)]&&!t[n-1][e(502)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(391)]==o[e(391)],h=Math[e(473)](r[e(391)])<Math[e(473)](o[e(391)])&&0==o[e(383)];(l||h)&&(i[e(527)](o.id,r.id),t[e(365)](a,1),n--,r[e(398)]=!1)}for(let s=0;s<t[e(362)];s++)i[e(642)](t[s][e(626)])&&(t[s][e(626)]=i[e(457)](t[s][e(626)]))}[Kt(461)](t){const e=Kt,i=new Set(t[e(380)](t=>t.id));for(let s=0;s<t[e(362)];s++)i[e(642)](t[s][e(626)])||0==t[s][e(383)]||(t[s][e(454)]=!0);return t[e(668)](t=>!t[e(454)])}[Kt(594)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(362)];s++){if(i[e(642)](t[s].id)&&t[s][e(675)]&&(t[s][e(454)]=!0),t[s][e(454)])continue;if(0==t[s][e(383)])continue;if(e(491)!=t[s][e(359)])continue;if(null==t[s][e(626)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(626)];)e(491)==t[n][e(359)]?r++:e(477)==t[n][e(359)]&&r--,n++;if(0!=r)if(t[s][e(675)])t[s][e(454)]=!0;else for(;n!=s;)t[n][e(675)]&&0!=t[n][e(383)]&&(t[n][e(454)]=!0,i[e(494)](t[n][e(626)])),n--}return t[e(668)](t=>!t[e(454)])}[Kt(549)](t){const e=Kt,i=this[e(489)][e(423)][e(475)];for(let s=0;s<t[e(362)];s++){if(!(t[s][e(398)]||t[s][e(502)]||t[s][e(675)]||t[s][e(482)]))continue;if(0==t[s][e(383)])continue;const n=t[s][e(623)];i[e(518)](n)||i[e(564)](n)||(t[s][e(398)]&&delete t[s][e(398)],t[s][e(502)]&&delete t[s][e(502)],t[s][e(482)]&&delete t[s][e(482)],t[s][e(675)]&&(t[s][e(454)]=!0))}return t[e(668)](t=>!t[e(454)])}[Kt(578)](t,e,i){const s=Kt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(489)][s(423)],c=a[s(475)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(362)];e++)if(s(491)===t[e][s(359)]){t[e][s(471)]=a[s(402)](n,f);const i=new Z.Element(t[e][s(623)][s(460)],t[e][s(623)][s(534)]());u[0][s(641)](i),f[s(392)](0),u[s(655)](i),t[e][s(363)]=a[s(402)](n,f)}else s(477)===t[e][s(359)]?(u[s(401)](),t[e][s(471)]=a[s(402)](n,f),f[s(375)](),f[f[s(362)]-1]++,t[e][s(363)]=a[s(402)](n,f)):(t[e][s(471)]=a[s(402)](n,f),d?d[s(541)]+=t[e][s(623)][s(436)]:d=new Z.Text(t[e][s(623)][s(436)],t[e][s(623)][s(534)]()),t[e+1]&&s(602)===t[e+1][s(359)]&&v(d,t[e+1][s(623)])||(u[0][s(641)](d),d=null),f[f[s(362)]-1]+=t[e][s(623)][s(648)],t[e][s(363)]=a[s(402)](n,f));for(let e=0;e<t[s(362)];e++){const i=t[e][s(471)],n=t[e][s(363)];for(const n of t[e][s(368)])o[s(527)](n,{start:i,end:null});m(s(482),e,i,n),m(s(502),e,i,n),m(s(675),e,i,n),m(s(398),e,i,n);for(const i of t[e][s(537)]){const t=o[s(457)](i);t?t[s(407)]=n:o[s(527)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(489)][s(423)][s(465)](e[s(360)],e[s(407)]);n[s(585)][s(527)](t,i)}return r[s(536)]((t,e)=>{const i=s,r=n[i(585)][i(457)](i(621)+t.id),o=n[i(585)][i(457)](i(621)+e.id);return r[i(360)][i(431)](o[i(360)])?-1:r[i(360)][i(425)](o[i(360)])?1:r[i(407)][i(431)](o[i(407)])?-1:r[i(407)][i(425)](o[i(407)])?1:i(494)===t[i(359)]?-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(426)]:null,d=i===t[o(362)]-1,f=h[e][0],m=c[o(469)](t[i][o(623)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(407)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(426)]!==u&&(l[e][o(407)]=n,f&&f[o(426)]===l[e][o(426)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(491)!==t[i][o(359)]||f&&f[o(426)]===u||h[e][o(655)]({userId:u,object:t[i][o(623)],change:l[e]}),o(477)===t[i][o(359)]&&f&&f[o(598)]===t[i][o(623)]&&(h[e][o(401)](),l[e]=f[o(358)])),l[e]&&d&&(l[e][o(407)]=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(623)],f=a[h(475)][h(518)](d)&&!a[h(475)][h(564)](d),m=t[h(601)]==o[h(664)]&&o[h(634)];if(f&&m)return;const p=a[h(465)](t,o),v=e[h(457)](u),g=new Zt({author:v,type:h(398)==l||h(502)==l?h(494):h(529),data:{isSuggestion:h(502)==l||h(482)==l},createdAt:new Date,rootName:i});r[h(392)](g),n[h(585)][h(527)](h(621)+g.id,p)}function v(t,e){const i=s,n=t[i(534)](),r=e[i(534)]();for(const t of n){if(t[1]!==e[i(596)](t[0]))return!1;r[i(610)]()}return r[i(610)]()[i(352)]}}[Kt(592)](){const t=Kt;this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(665)}),this[t(489)][t(638)][t(575)](t(493))[t(563)]({model:t(665),view:e=>{const i=t,s=e[i(615)][i(409)](":")[1],n=this[i(371)](s);if(!n)return null;const r=i(494)==n[i(359)]?i(532):i(674),o=[i(521),i(559)+r];return n[i(436)][i(605)]&&o[i(392)](i(559)+r+i(485)),this[i(417)]==n&&o[i(392)](i(430)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(489)][t(638)][t(575)](t(367))[t(494)](e=>{const i=t;e.on(i(544),(t,e,s)=>{const n=i,r=e[n(645)][n(565)](0);if(!r||!r.is(n(616),n(408)))return;if(!s[n(440)][n(458)](r,{attributes:[n(607),n(554)]}))return;const o=e[n(501)][n(360)][n(601)];s[n(649)][n(587)](n(607),r[n(596)](n(607)),o),s[n(649)][n(587)](n(554),r[n(596)](n(554)),o)},{priority:i(459)})}),this[t(489)][t(638)][t(575)](t(367))[t(494)](e=>{const i=t;e.on(i(616),(t,e,s)=>{const n=i;if(!s[n(440)][n(458)](e[n(645)],{attributes:[n(607),n(554)]}))return;if(e[n(501)][n(456)])return;const r=e[n(501)][n(360)][n(601)];r[n(507)](n(607))||r[n(507)](n(663))||(s[n(649)][n(587)](n(607),e[n(645)][n(596)](n(607)),r),s[n(649)][n(587)](n(554),e[n(645)][n(596)](n(554)),r))},{priority:i(459)})}),this[t(489)][t(638)][t(575)](t(367))[t(512)]({view:{name:t(579),attributes:{vid:!0}},model:{key:t(663),value:e=>e[t(596)](t(663))}}),this[t(489)][t(423)][t(475)].on(t(439),(e,[,i])=>{const s=t;[s(607),s(554),s(663)][s(656)](i)&&(e[s(404)]=!0,e[s(595)]())},{priority:t(523)}),this[t(489)][t(638)][t(575)](t(504))[t(494)](e=>{const i=t;e.on(i(515),(t,e,s)=>{const n=i;if(" "!=e[n(623)][n(436)]||e[n(623)][n(664)][n(636)]>1)return;if(!s[n(440)][n(458)](e[n(623)],t[n(460)]))return;const r=s[n(649)],o=s[n(437)][n(422)](e[n(405)]);r[n(382)](o,r[n(513)](n(579)))})}),this[t(489)][t(638)][t(575)](t(504))[t(445)]({model:t(665)}),this[t(489)][t(497)][t(568)].on(t(500),function(e){const i=t,s=e[i(429)][i(457)](i(349));return(t,n,r)=>{const o=i,a=n[o(615)][o(409)](":")[1],c=s[o(371)](a);if(!c)return null;const u=o(494)==c[o(359)]?o(409):o(526);if(!r[o(440)][o(387)](n[o(557)],t[o(460)]))return;const l=n[o(557)][o(577)](),h=n[o(557)][o(360)],d=e[o(423)][o(475)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(623)];p=p||d[o(476)](e);const i=r[o(437)][o(411)](e);if(i&&i[o(400)](o(659)))return;o(477)==t[o(359)]&&d[o(518)](e)&&!d[o(564)](e)&&(e[o(535)]||h[o(514)]?f&&f[o(664)]==e||(f=e,g(t[o(471)]),v=!0):m=m||t[o(471)])}function g(t){const e=o,i=r[e(649)][e(543)](e(579),{class:e(559)+u}),a=r[e(437)][e(389)](t);c[e(436)][e(605)]&&r[e(649)][e(617)](e(559)+u+e(485),i),s[e(417)]==c&&r[e(649)][e(617)](e(430),i),r[e(649)][e(348)](a,i),r[e(437)][e(620)](i,n[e(615)])}p||v||!m||g(m)}}(this[t(489)]),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(528),(e,i,s)=>{const n=t,r=s[n(437)][n(533)](i[n(615)]);if(r)for(const t of r)(t[n(384)](n(466))||t[n(384)](n(652)))&&(s[n(437)][n(573)](t,i[n(615)]),s[n(649)][n(529)](t))},{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(500),(e,i,s)=>{const n=t,r=i[n(615)][n(409)](":")[1],o=this[n(371)](r);if(!o)return null;const a=n(494)==o[n(359)]?n(409):n(526);if(s[n(440)][n(387)](i[n(557)],e[n(460)]))for(const t of i[n(557)][n(415)]()){if(!t.is(n(616),n(639)))continue;const e=s[n(649)][n(543)](n(579),{class:n(559)+a}),r=s[n(437)][n(389)](this[n(489)][n(423)][n(421)](t));o[n(436)][n(605)]&&s[n(649)][n(617)](n(559)+a+n(485),e),this[n(417)]==o&&s[n(649)][n(617)](n(430),e),s[n(649)][n(348)](r,e),s[n(437)][n(620)](e,i[n(615)])}},{priority:t(570)}),this[t(489)][t(423)][t(600)].on(t(358),()=>{const e=t;this[e(489)][e(497)][e(492)][e(358)](t=>{const i=e;for(const e of this[i(489)][i(423)][i(600)][i(386)]()){const s=this[i(489)][i(423)][i(600)][i(517)](e),n=this[i(489)][i(497)][i(492)][i(600)][i(517)](e);if(n){const e=s[i(596)](i(433));if(t[i(522)](i(399),n),t[i(558)](i(481),n),t[i(558)](i(576),n),t[i(558)](i(552),n),e){const s=this[i(371)](e);if(!s)return null;t[i(587)](i(399),e,n),t[i(617)](i(418)+s[i(359)],n),this[i(417)]==s&&t[i(617)](i(552),n)}}}})}),this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(581),model:e=>t(455)+e,converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(606),model:e=>t(462)+e,converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(504))[t(445)]({model:t(419),view:e=>({name:t(590)+e,group:t(419)}),converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(493))[t(563)]({model:t(419),view:e=>{const i=t,s=e[i(615)][i(409)](":")[1];return i(532)!=s&&i(674)!=s?null:{classes:[i(468),i(584)+s]}}}),this[t(489)][t(497)][t(568)].on(t(390),ie(this[t(489)],t(526)),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(366),ie(this[t(489)],t(409)),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(487),(e,i,s)=>{const n=t,r=s[n(437)][n(533)](i[n(615)]);if(r)for(const t of r)t.is(n(646))&&(s[n(437)][n(573)](t,i[n(615)]),s[n(649)][n(529)](t))},{priority:t(570)})}[Kt(371)](t){const e=Kt;return this[e(588)][e(457)](t)}[Kt(627)](t){const e=Kt;return this[e(538)]&&this[e(538)][e(640)](),this[e(538)]=new Wt(this[e(489)][e(472)],t),this[e(538)]}[Kt(446)](){const t=Kt;this[t(489)][t(423)][t(600)][t(505)][t(603)](t(665)),this.on(t(548),(e,i,s,n)=>{const r=t;n&&this[r(618)][r(529)](n),s&&(this[r(618)][r(494)]({view:s,stackId:r(496),position:{target:()=>{const t=r,e=this[t(489)][t(497)],i=this[t(371)](s[t(562)]);let n;if(i[t(436)][t(478)]){const s=e[t(492)][t(353)](i[t(364)]);n=Array[t(444)](s[t(661)]())}else{const i=this[t(489)][t(423)][t(585)][t(457)](t(621)+s[t(562)]);n=Array[t(444)](e[t(437)][t(533)](i[t(460)]))[t(380)](i=>e[t(492)][t(574)][t(354)](i))[t(380)](e=>Array[t(444)](e[t(661)]()))[t(597)]()}return this[t(635)]&&n[t(583)](e=>e[t(388)]-3<=this[t(635)].y&&e[t(586)]+3>=this[t(635)].y&&e[t(555)]-3<=this[t(635)].x&&e[t(410)]+3>=this[t(635)].x)||n[0]}}}),this[r(618)][r(435)](r(496)))}),this.on(t(572),(e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(627)](s):null,this[r(489)][r(423)][r(358)](()=>{const t=r,e=this[t(489)][t(497)];n&&(n[t(436)][t(478)]?e[t(492)][t(358)](i=>{const s=t;i[s(558)](s(552),e[s(492)][s(600)][s(517)](n[s(364)]))}):e[t(381)](t(621)+n.id)),s&&(s[t(436)][t(478)]?e[t(492)][t(358)](i=>{const n=t;i[n(617)](n(552),e[n(492)][n(600)][n(517)](s[n(364)]))}):e[t(381)](t(621)+s.id))})}),this[t(609)](this[t(489)][t(497)][t(492)][t(600)],t(561),(e,i)=>{const s=t;if(this[s(417)])return;const n=this[s(551)](i[s(653)]),r=this[s(588)][s(457)](n);r?(this[s(635)]={x:i[s(350)].x,y:i[s(350)].y},this[s(394)]=this[s(627)](r)):(this[s(635)]=null,this[s(394)]=null)}),this[t(609)](this[t(489)][t(497)][t(492)][t(600)],t(434),(e,i)=>{const s=t,n=this[s(551)](i[s(653)]),r=this[s(588)][s(457)](n);r?(this[s(635)]={x:i[s(350)].x,y:i[s(350)].y},r===this[s(417)]?this[s(618)][s(524)]():this[s(417)]=r):(this[s(635)]=null,this[s(417)]=null)})}[Kt(551)](t){const e=Kt;do{const i=t[e(596)](e(399));if(i)return i;t=t[e(664)]}while(t);return null}[Kt(567)](){const t=Kt;this[t(489)][t(423)][t(358)](e=>{const i=t;for(const t of this[i(489)][i(423)][i(585)])e[i(550)](t)})}}function ee(){const t=["repository","unshift","includes","_threeWayMerge","attributesBefore","addHighlight","forceDisabled","getClientRects","forward","vid","parent","revision","addRevision","RevisionHistoryUtils","filter","5GHxNCk","string","oldRevisionId","error","forEach","deletion","isRemoved","isEnabled","insert","RevisionViewer","domEvent","delete","done","getDomRoot","mapViewToDom","refresh","getRevisionRootsAttributes","revision-viewer","change","type","start","isEqual","length","nextPosition","rootName","splice","addMarker:revision-suggestion:insertion","upcast","markersStart","_setChanges","isPremiumPlugin","_getChangeFromId","compare","_markMarkers","getIndex","pop","ck-editor__editable__overlay","execute","_utils","revisionHistory","map","reconvertMarker","wrap","distance","hasClass","_joinTapes","getRootNames","test","top","toViewPosition","addMarker:revision-suggestion:deletion","level","push","_processTape","activeView","resolve","_markSuggestions","endIndex","isAdded","data-change-id","getCustomProperty","shift","createPositionFromPath","createRangeIn","return","range","_fixObsoleteTags","end","code","split","right","toViewElement","newRevisionId","indexOf","startIndex","getItems","_cleanUp","activeChange","ck-revision-history-root-","revision-suggestion","dataToMarker","createPositionBefore","toViewRange","model","slice","isAfter","userId","loadRevisionData","isNavigationMode","plugins","ck-suggestion-marker--active","isBefore","init","revisionHistoryAttachChange","mousedown","showStack","data","mapper","changes","checkAttribute","consumable","authors","attributes","change:numberOfChanges","from","markerToData","_initInteractions","config","4483423OObkos","adapter","2796060SYwEgi","attributesAfter","addRevisionData","backward","isIncorrect","revision-comment:","isCollapsed","get","consume","low","name","_removeMissingPairs","revision-suggestion:","_step","startsWith","createRange","ck-suggestion-marker-split","isInline","ck-suggestion-preview-marker","isObject","requires","previousPosition","locale","abs","_revisions","schema","isContent","elementEnd","isOnRoot","diffData","index","ck-revision-history-root-add","isRemoveSuggestion","first","_getDiff","-new","restoreRevision","removeMarker:revision-suggestion","getRevisionDocumentData","editor","restoreRevisionCallback","elementStart","view","editingDowncast","add","RevisionsRepository","revisionHistoryLabel","editing","10649370QCXbQz","attachChange","addMarker:revision","modelRange","isAddSuggestion","values","dataDowncast","selection","roots","hasAttribute","concat","_setDistance","9ERnzQV","_makeModelFromViewString","elementToAttribute","createAttributeElement","isAtEnd","attribute:vid","detachRoot","getRoot","isBlock","POSITIVE_INFINITY","showNextChange","ck-suggestion-marker","removeAttribute","highest","updatePosition","9cGedNT","merge","set","removeMarker:revision","remove","insertions","pluginName","insertion","markerNameToElements","getAttributes","nextSibling","sort","markersEnd","_changeView","795016FOknMq","_update","_data","_refreshStartEndIndex","createUIElement","element:pre","createRevision","bind","commands","change:activeView","_removeUnsupportedChanges","removeMarker","_findChangeIdFromDomTarget","ck-revision-history-root--active","2qYRzHi","vid_end","left","isAttached","markerRange","removeClass","ck-suggestion-marker-","side","mouseover","changeId","markerToHighlight","isLimit","getChild","deletions","_cleanMarkers","downcastDispatcher","588408OVnrxh","high","then","change:activeChange","unbindElementFromMarkerName","domConverter","for","ck-revision-history-root-remove","getWalker","_makeModelFromTape","span","clear","comment","WidgetToolbarRepository","find","ck-suggestion-preview-marker-","markers","bottom","setAttribute","_changeIdToChange","44zAIaIX","suggestion:","enableReadOnlyMode","_setConversion","catch","_markMismatchedRemovedTags","stop","getAttribute","flat","object","currentChangeNumber","document","nodeAfter","text","observeMarkers","affectsData","isSuggestion","suggestion","vid_start","showPreviousChange","listenTo","next","8QIGrsz","diff","change:isEnabled","isReady","markerName","element","addClass","_balloon","getRevision","bindElementToMarker","revision:","_markInsertions","item","_makeTape","getLaterVisibleRevision","pairId","_getViewForChange","_getRevisionsRange","_sortAndFilterDiffChanges","keys","findIndex","all","29022006IMcxIo","isAtStart","_activeViewTarget","maxOffset","addRoot","conversion","softBreak","destroy","_appendChild","has","enqueueChange","change:isReady","viewItem","uiElement","346666nrOFhV","offsetSize","writer","numberOfChanges","isOfficialPlugin","ck-suggestion-marker-merge","target"];return(ee=function(){return t})()}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(440)][r(387)](s[r(557)],i[r(460)]))return;const o=s[r(557)][r(577)](),a=s[r(557)][r(360)],c=t[r(423)][r(475)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(623)];h=h||c[r(476)](e);const i=n[r(437)][r(411)](e);if(i&&i[r(400)](r(659)))return;r(477)==t[r(359)]&&c[r(518)](e)&&!c[r(564)](e)&&(e[r(535)]||a[r(514)]?u&&u[r(664)]==e||(u=e,f(t[r(471)]),d=!0):l=l||t[r(471)])}function f(t){const i=r,o=n[i(437)][i(389)](t),a=n[i(649)][i(543)](i(579),{class:i(584)+e});n[i(649)][i(348)](o,a),n[i(437)][i(620)](a,s[i(615)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Kt;super(t);const i=t[e(429)][e(457)](te);this[e(604)]=!1,this[e(609)](i,e(644),()=>this[e(355)]()),this[e(609)](i,e(613),()=>this[e(355)]())}[Kt(377)](){const t=Kt,e=this[t(489)],i=e[t(429)][t(457)](te),s=i[t(614)]?i[t(612)][t(412)]:null;e[t(447)][t(457)](t(379))[t(490)](s)}[Kt(355)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(489)][t(429)][t(457)](te),r=n&&s[t(625)](n[t(412)]);this[t(347)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Kt(463)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(429)][i(457)](te);this[i(604)]=!1,this[i(463)]=i(662)===e?1:-1,this[i(609)](s,i(644),()=>this[i(355)]()),this[i(609)](s,i(613),()=>this[i(355)]()),this[i(609)](s,i(572),()=>this[i(355)]())}[Kt(377)](){const e=Kt,i=this[e(489)],s=i[e(429)][e(457)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(417)]=n?s[e(612)][e(438)][e(457)](r+this[e(463)]):s[e(612)][e(438)][e(483)],s[e(417)][e(436)][e(478)])o=i[e(497)][e(492)][e(353)](s[e(417)][e(364)]);else{const t=i[e(423)][e(585)][e(457)](e(621)+s[e(417)].id);o=(0,H.getMarkerDomElement)(i[e(497)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(355)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(489)][t(429)][t(457)](te);this[t(347)]=!!(r&&n&&s)&&(!e||(1===this[t(463)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["_isStatusLabelVisible","5cjcsKu","isNavigationMode","ck-revision-history-ui__changes-navigation__navigation","_statusText","bindTemplate","set","forward","isBackwardNavigationEnabled","50UQPABF","currentChangeNumber","Show previous change","ck-revision-history-ui","bind","2785277aKmcEb","No changes","Total","6310845uqyoFk","Loading...","526662KOhUzA","1180DoedZg","5627118qwfyBc","291651WLjSZl","isForwardNavigationEnabled","span","fire","div","36naCIVj","isEnabled","ck-hidden","execute","Show next change","1741280SJIYHi","numberOfChanges","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__label","isReady","backward","X_OF_Y_CHANGES","setTemplate","EDIT_X_OF_Y_REVISIONS","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","797CrenpN"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(513884===-parseInt(e(210))/1*(parseInt(e(231))/2)+parseInt(e(233))/3*(parseInt(e(238))/4)+parseInt(e(212))/5*(parseInt(e(230))/6)+parseInt(e(232))/7+-parseInt(e(199))/8+parseInt(e(228))/9+parseInt(e(220))/10*(-parseInt(e(225))/11))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(216)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(217)](e(213),!1),this[e(217)](e(203),!1),this[e(217)](e(221),0),this[e(217)](e(200),0),this[e(217)](e(234),!1),this[e(217)](e(219),!1),this[e(224)](e(211)).to(this,e(203),this,e(200),(t,e)=>t&&e>0),this[e(224)](e(215)).to(this,e(203),this,e(221),this,e(200),this,e(213),(i,s,n,r)=>{const o=e;if(!i)return Q(t,o(229));if(!n)return Q(t,o(226));const a=Q(t,o(208),n);return r?Q(t,o(205),[s+1,n]):a}),s[e(217)]({label:Q(t,e(222)),tooltip:!0,icon:mt.IconChevronUp}),n[e(217)]({label:Q(t,e(198)),tooltip:!0,icon:mt.IconChevronDown}),s[e(224)](e(239)).to(this,e(219)),n[e(224)](e(239)).to(this,e(234)),s.on(e(197),()=>this[e(236)](e(197),e(204))),n.on(e(197),()=>this[e(236)](e(197),e(218))),this[e(206)]({tag:e(237),attributes:{class:["ck",e(223),e(209)]},children:[{tag:e(235),attributes:{class:[e(201)]},children:[{tag:e(235),attributes:{class:[e(202),i.if(e(211),e(240),t=>!t)]},children:[{text:i.to(e(213),i=>i?Q(t,e(207))+": ":Q(t,e(227))+": ")}]},{text:i.to(e(215))}]},new pt.ToolbarSeparatorView,{tag:e(237),attributes:{class:[e(214)]},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-=233]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(554576===parseInt(e(244))/1*(parseInt(e(254))/2)+parseInt(e(242))/3+parseInt(e(237))/4*(-parseInt(e(247))/5)+-parseInt(e(233))/6+-parseInt(e(235))/7*(-parseInt(e(239))/8)+-parseInt(e(246))/9+parseInt(e(256))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=de(240);class pe extends U.Plugin{static get[de(249)](){return de(255)}static get[de(257)](){return!0}static get[de(236)](){return!0}[de(248)](){const t=de,e=this[t(234)][t(253)][t(250)];e[t(245)](i=>{const s=t;for(const t of e[s(258)][s(241)])i[s(251)](me,t)})}[de(252)](){const t=de,e=this[t(234)][t(253)][t(250)];e[t(245)](i=>{const s=t;for(const t of e[s(258)][s(241)])i[s(243)](me,t)})}}function ve(){const t=["removeClass","1PrZGnZ","change","6895728mIRGGl","1670dPVypC","show","pluginName","view","addClass","hide","editing","39986zTjmOp","RevisionViewerLoadingOverlay","132950eXJCyI","isOfficialPlugin","document","5749368ZmpVDz","editor","7rjvcai","isPremiumPlugin","8552KCApBp","2189CIrRcP","1382424gUpdzz","ck-editor__editable__loading-overlay","roots","463761cidKBL"];return(ve=function(){return t})()}function ge(t,e){const i=ke();return(ge=function(t,e){return i[t-=150]})(t,e)}const ye=ge;function ke(){const t=["requires","componentFactory","pluginName","isReady","init","plugins","8469783UbaMge","listenTo","set","showPreviousChange","isPremiumPlugin","1047524kAhRfu","hide","RevisionViewerUI","show","bind","numberOfChanges","exitToEditing","1149855paZAYG","config","isOfficialPlugin","get","revisionHistory","2xtuWiq","473729FjnLmv","Restore this revision","isForwardNavigationEnabled","9SDDBrZ","add","commands","editor","forward","isNavigationMode","restoreRevision","change:isReady","9413454cSdtWu","closeRevisionViewerCallback","Back to editing","ck-revision-history-ui__back-to-editing","showNextChange","execute","isBackwardNavigationEnabled","changesNavigation","isEnabled","1433895LlnnQt","currentChangeNumber","5809032PRXMYE"];return(ke=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(919523===-parseInt(e(177))/1*(-parseInt(e(176))/2)+parseInt(e(180))/3*(-parseInt(e(164))/4)+-parseInt(e(150))/5+parseInt(e(188))/6+parseInt(e(171))/7+parseInt(e(152))/8+-parseInt(e(159))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ye(155)](){return ye(166)}static get[ye(173)](){return!0}static get[ye(163)](){return!0}static get[ye(153)](){return[te,pe]}[ye(157)](){const t=ye,e=this[t(183)],i=e[t(158)][t(174)](te),s=e[t(158)][t(174)](pe);e.ui[t(154)][t(181)](t(170),i=>{const s=t,n=new pt.ButtonView(i);return n[s(161)]({label:Q(i,s(190)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(191)}),this[s(160)](n,s(193),()=>{const t=s;e[t(172)][t(174)](t(175))[t(189)]()}),n}),e.ui[t(154)][t(181)](t(186),i=>{const s=t,n=new pt.ButtonView(i);return n[s(161)]({label:Q(i,s(178)),withText:!0,tooltip:!0}),n[s(168)](s(196)).to(e[s(182)][s(174)](s(186))),this[s(160)](n,s(193),()=>e[s(193)](s(186))),n}),e.ui[t(154)][t(181)](t(195),s=>{const n=t,r=new ue(s),o=e[n(182)][n(174)](n(162)),a=e[n(182)][n(174)](n(192));return r[n(168)](n(194)).to(o,n(196)),r[n(168)](n(179)).to(a,n(196)),r[n(168)](n(156),n(151),n(169),n(185)).to(i),this[n(160)](r,n(193),(t,i)=>{const s=n;e[s(193)](s(184)===i?s(192):s(162))}),r}),s[t(167)](),i.on(t(187),(e,i,n)=>{const r=t;n?s[r(165)]():s[r(167)]()})}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["scrollWidth","bindTemplate","destroy","clientWidth","1469889AtqHAq","ck-tooltip_multi-line","listenTo","_resizeObserver","1963129qeKShE","230OPfyYy","input","1056744joZkYk","value","_updateTooltipText","ck-revision-history-sidebar__revision-name","2166735yQYLYT","18963648ZymGyY","24BZBmXQ","4668TLAbJm","Revision name","58245pWSGmW","placeholder","extendTemplate","124HWjSyF","span","set","_tooltipString","6EnQAoj","render","element","6bALfkb","Enter the revision name","fieldView"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=182]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(303668===parseInt(e(187))/1*(-parseInt(e(182))/2)+parseInt(e(191))/3*(-parseInt(e(208))/4)+parseInt(e(212))/5+parseInt(e(194))/6*(-parseInt(e(205))/7)+parseInt(e(214))/8*(-parseInt(e(201))/9)+parseInt(e(206))/10*(-parseInt(e(184))/11)+parseInt(e(213))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(204)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(198)];this[i(189)]({label:Q(t,i(183)),_tooltipString:""}),this[i(196)][i(185)]=Q(t,i(195)),this[i(186)]({tag:i(188),attributes:{class:[i(211)],"data-cke-tooltip-text":s.to(i(190)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(202)}})}[Ie(192)](){const e=Ie;super[e(192)](),this[e(204)]=new t.ResizeObserver(this[e(196)][e(193)],()=>this[e(210)]()),this[e(203)](this[e(196)],e(207),()=>this[e(210)]())}[Ie(199)](){const t=Ie;super[t(199)](),this[t(204)]&&this[t(204)][t(199)]()}[Ie(210)](){const t=Ie,e=this[t(196)][t(193)];this[t(190)]=e[t(197)]>e[t(200)]&&e[t(209)]||""}}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=["set","3140577EOoQiH","ck-revision-history-sidebar__revision-author_creator","span","push","16gIvnsc","30009IZcHqQ","4284205KmlteH","Revision creator","1023680YuuWPK","name","50aifoRT","ck-revision-history-sidebar__revision-author__name","492042GJabsD","ck-revision-history-sidebar__revision-author","Revision author","13282380DxMsEF","0 0 11 10","5041878wMUrtc","setTemplate","4QRRhZm"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=411]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(446675===-parseInt(e(416))/1*(-parseInt(e(421))/2)+parseInt(e(423))/3*(parseInt(e(430))/4)+parseInt(e(417))/5+-parseInt(e(428))/6+parseInt(e(419))/7+parseInt(e(415))/8*(parseInt(e(411))/9)+-parseInt(e(426))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ee extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(431)]({content:mt.IconUser,viewBox:s(427)});const r=["ck",s(424)];i&&r[s(414)](s(412));const o=[{tag:s(413),attributes:{class:["ck",s(422)],title:Q(t,s(i?418:425))},children:[n,e[s(420)]]}];this[s(429)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["toLocaleDateString","toLocaleTimeString","121790nSVdNz","numeric","18cjIhqx","99gMpdav","8188784jsEglj","6nAHafV","long","1016692EVgdMZ","1227900nHvJVp","12530987IxtRLs","7212815skluEW","86868puqYwg"];return(Ve=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=279]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(916357===parseInt(e(292))/1+parseInt(e(285))/2+parseInt(e(281))/3*(parseInt(e(289))/4)+-parseInt(e(288))/5+parseInt(e(283))/6*(parseInt(e(287))/7)+-parseInt(e(282))/8+-parseInt(e(280))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);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(){const t=["first","27XILPte","function","isEnabled","button","10810yUgHHA","set","map","ck-on","3811kfhgey","name","Restore this revision","find","336738nimRmM","source","class","206grWyCR","children","isActionsDropdownOpen","40ADqEwM","listView","model","42Ijawuu","listenTo","items","add","Compare against selected","extendTemplate","buttonView","change:isActionsDropdownOpen","isReady","bindTemplate","995019ztttWl","execute","stopPropagation","panelPosition","ck-revision-history-sidebar__revision__actions","menuitem","1001DNcoBt","36110XwIXGj","isVisible","Show more items","isOpen","10090980ZqHEUK","menu","Name this revision","297256EXSNam","_action","locale","bind","action"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(214697===-parseInt(e(113))/1*(parseInt(e(120))/2)+-parseInt(e(136))/3+parseInt(e(123))/4*(-parseInt(e(109))/5)+-parseInt(e(117))/6*(-parseInt(e(126))/7)+parseInt(e(150))/8*(parseInt(e(156))/9)+-parseInt(e(143))/10*(parseInt(e(142))/11)+parseInt(e(147))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=He();return(We=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(428219===-parseInt(e(534))/1*(parseInt(e(499))/2)+parseInt(e(486))/3*(-parseInt(e(493))/4)+-parseInt(e(539))/5+-parseInt(e(503))/6*(parseInt(e(494))/7)+parseInt(e(535))/8+parseInt(e(516))/9*(-parseInt(e(543))/10)+-parseInt(e(487))/11*(-parseInt(e(521))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class Ue extends((0,H.ConfirmMixin)(pt.View)){id;[ze(533)];[ze(482)];[ze(524)];[ze(542)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(498)],a=function(t,e){const i=r,s=Array[i(518)](e[i(525)])[i(546)](t=>t!=e[i(537)]);return e[i(537)]&&s[i(509)](e[i(537)]),s[i(547)](s=>new Ee(t,s,s==e[i(537)]))}(e,i);this.id=i.id,this[r(524)]=i,this[r(542)]=n,this[r(489)](r(529),r(531)).to(i),this[r(489)](r(495)).to(this,r(531),t=>{return i=e[r(505)],(s=t)[(n=Me)(290)](i,{month:n(284),day:n(279)})+", "+s[n(291)](i,{hour:n(279),minute:n(279)});var i,s,n}),this[r(507)](r(502),!1),this[r(507)](r(513),!1),this[r(507)](r(500),!1),this[r(507)](r(506),!1),this[r(507)](r(481),!1),this[r(533)]=new Te(e,pt.createLabeledInputText),this[r(533)][r(483)][r(514)]({attributes:{maxlength:r(530)}}),this[r(533)][r(483)][r(489)](r(485)).to(this,r(529),t=>t||this[r(495)]),this[r(533)][r(489)](r(481)).to(this,r(502),this,r(481),(t,e)=>t&&e),this[r(482)]=s&&s[r(496)]?function(e,i){const s=je,n=e[s(135)],r=e[s(152)],o=(0,pt.createDropdown)(r);o[s(139)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(152)],n={"Compare against selected":Q(s,i(130)),"Name this revision":Q(s,i(149)),"Restore this revision":Q(s,i(115))};return e[i(111)](t=>{const e=i,s=n[t[e(114)]];return s&&s!==t[e(114)]&&(t[e(114)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(159),model:new pt.ViewModel({label:t[n(114)],class:t[n(119)],withText:!0,role:n(141),_action:t[n(154)]})};i[n(125)][n(153)](n(158)).to(e,n(122),i=>n(157)!=typeof t[n(158)]||!i||t[n(158)](e)),o[n(129)](i)}return o}(e,i);return e[s(153)](s(122)).to(o,s(146)),o[s(132)][s(110)]({label:Q(r,s(145)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(131)]({attributes:{class:[s(140),n.if(s(122),s(112))]},on:{click:n.to(t=>t[s(138)]())}}),o.on(s(137),t=>{const i=s;e[i(134)]&&i(157)==typeof t[i(118)][i(151)]&&t[i(118)][i(151)](e)}),(0,pt.addListToDropdown)(o,a,{role:s(148)}),o[s(127)](e,s(133),(t,n,r)=>{const a=s;if(r)for(const t of o[a(124)][a(128)]){const s=t[a(121)][a(155)],n=i[a(116)](t=>t[a(154)]===s[a(151)])[a(144)];t[a(144)]=void 0===n||n(e)}}),o}(this,s):"",this[r(482)]&&this[r(482)][r(489)](r(481)).to(this),this[r(544)]({tag:r(538),attributes:{class:["ck",r(540),r(526),o.if(r(501),r(491))]},children:[{tag:r(538),attributes:{class:["ck",r(540),r(511),o.if(r(481),r(545),t=>!t),o.if(r(502),r(541)),o.if(r(513),r(484)),o.if(r(500),r(512))]},children:[this[r(533)],{tag:r(523),attributes:{class:["ck",r(532)]},children:[{text:o.to(r(495))}]},{tag:r(538),attributes:{class:["ck",r(492)]},children:[{tag:"ul",attributes:{class:["ck",r(510)]},children:a}]},this[r(482)]],on:{click:o.to(t=>{const e=r;t[e(522)][e(519)](e(520))||this[e(506)]&&this[e(481)]&&this[e(508)](e(527),{id:this.id})})}}]})}[ze(497)](){const t=ze;super[t(497)]();const e=this[t(533)][t(483)][t(490)];this[t(488)](e,t(504),()=>{const i=t;this[i(542)]&&!e[i(485)]||this[i(508)](i(517),{id:this.id,name:e[i(485)]}),e[i(485)]||(e[i(485)]=this[i(529)]?this[i(529)]:this[i(495)])})}[ze(527)](){this[ze(502)]=!0}[ze(528)](){this[ze(502)]=!1}[ze(515)](){this[ze(513)]=!0}[ze(536)](){this[ze(513)]=!1}}function He(){const t=["element","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__controls-wrapper","11548QtFsjz","313439RfnRoX","_createdAtFormatted","length","render","bindTemplate","26kIkyLc","isActionsDropdownOpen","isConfirm","isSelected","78QFuPlT","change","uiLanguage","isReady","set","fire","unshift","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","extendTemplate","highlight","2601jjcjYm","setName","from","closest",".ck-thread__remove-confirm","39588tBwVVT","srcElement","span","_revision","authors","ck-revision-history-sidebar__revision-wrapper","select","deselect","name","220","createdAt","ck-revision-history-sidebar__revision__date","revisionNameView","56261WghDwI","6563984jIjMVa","unhighlight","creator","div","1850790tssstO","ck-reset","ck-revision-history-sidebar__revision_selected","_requireRevisionName","22480mMkjzo","setTemplate","ck-disabled","filter","map","isEnabled","revisionActionsView","fieldView","ck-revision-history-sidebar__revision_highlighted","value","33GJyXXm","6578oITmcc","listenTo","bind"];return(He=function(){return t})()}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 Ye extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je 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 Hs(t,e,i)}formatOffset(t,e){return Ys(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Ys(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 Ei={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Mi={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,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 zi(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):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ys(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ys(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Ys(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 Yi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Yi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Xi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Yi[i]}${e}`)),Ji[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(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(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,...Bs(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Bs(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Bs(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 Be("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 Je("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 Je("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 Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`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 Ys(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}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],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[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Es(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]]=Vs(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:Vs(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 En(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(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=Mn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn(function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]},Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Yn=mn(_n,Tn,xn,Nn),Bn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=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||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,En])}(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,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Ye(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map(e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of rr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Yi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[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,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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 Be("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",Er=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(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},Yr=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Yr)_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:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return 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:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Br,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Yr,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,Ws(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,[Wn,qn],[Un,$n],[Hn,Yn],[Zn,Bn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Xn,Kn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map(t=>t.val).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(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(Vr(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,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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 Je("min requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["toJSDate","205EgWbrZ","local","2095452vzqHKI","monthLong","month","14IiVzTZ","setLocale","1578092oCoPMS","year","3717657KBcciU","fromJSDate","20afmVSh","2029816cyNcLf","day","7876rvMHRS","hasSame","toRelativeCalendar","minus","371975NumkVO","3xJazjF","weekdayLong","week","17255425dRYHSo","startOf"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=218]})(t,e)}function oo(t,e){const i=ro,s=io[i(230)](t)[i(226)](e),n=io[i(221)](),r=n[i(237)]({days:1})[i(218)](i(233));let o,a;return s[i(235)](n,i(233))?(o=s[i(218)](i(233))[i(219)](),a=s[i(236)]()):s[i(235)](r,i(233))?(o=r[i(219)](),a=s[i(236)]()):s[i(235)](n,i(241))?(o=s[i(218)](i(241))[i(219)](),a=s[i(240)]||""):s[i(235)](n,i(228))?(o=s[i(218)](i(224))[i(219)](),a=s[i(223)]||""):(o=s[i(218)](i(228))[i(219)](),a=String(s[i(228)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(636144===-parseInt(e(220))/1*(-parseInt(e(234))/2)+parseInt(e(239))/3*(-parseInt(e(227))/4)+-parseInt(e(238))/5+parseInt(e(222))/6*(-parseInt(e(225))/7)+parseInt(e(232))/8+parseInt(e(229))/9*(-parseInt(e(231))/10)+parseInt(e(242))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=225]})(t,e)}const lo=uo;function ho(){const t=["4tsslLf","3IqRYpw","localizedPeriodName","find","locale","createCollection","span","revisionViews","setTemplate","35877vuShYb","8471507SUUlYG","27018FjHVIr","2443855ShelLC","removeRevision","722580ztxBOK","_requireRevisionName","setName","_revisionActions","select","startDate","ck-revision-history-sidebar__time-period__revisions","68702NhrEdL","delegate","add","addRevision","ck-revision-history-sidebar__time-period__label","div","14itxMaY","ck-revision-history-sidebar__time-period","uiLanguage","1262292Xcthqs","remove","1032TvAxCs"];return(ho=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(266696===parseInt(e(236))/1*(parseInt(e(256))/2)+parseInt(e(244))/3*(-parseInt(e(235))/4)+-parseInt(e(247))/5+-parseInt(e(232))/6*(parseInt(e(229))/7)+parseInt(e(234))/8*(parseInt(e(246))/9)+-parseInt(e(249))/10+parseInt(e(245))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[lo(254)];[lo(242)];[lo(252)];[lo(250)];constructor(t,e,i,s){const n=lo;super(t);const r=oo(e,this[n(239)][n(231)])[n(237)];this[n(254)]=e,this[n(242)]=this[n(240)](),this[n(252)]=i,this[n(250)]=s,this[n(242)][n(257)](n(253)).to(this),this[n(242)][n(257)](n(251)).to(this),this[n(243)]({tag:n(228),attributes:{class:["ck",n(230)]},children:[{tag:n(241),attributes:{class:["ck",n(227)]},children:[{text:r}]},{tag:n(228),attributes:{class:["ck",n(255)]},children:this[n(242)]}]})}[lo(226)](t){const e=lo,i=new Ue(this[e(239)],t,this[e(252)],this[e(250)]);this[e(242)][e(225)](i)}[lo(248)](t){const e=lo,i=this[e(242)][e(238)](e=>e.id===t.id);this[e(242)][e(233)](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=["content","851706YoietC","Revision history","4DtqOsL","span","1016591ezGjAH","div","1468NLAFNM","setTemplate","2770632LpCFLI","4377fgaVzZ","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","4823622XPkEVr","9086200VnEeSH","5826490gfNpIC","ck-reset_all","7Papvpc"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=422]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(642573===-parseInt(e(429))/1+parseInt(e(431))/2*(parseInt(e(434))/3)+-parseInt(e(427))/4*(-parseInt(e(439))/5)+-parseInt(e(425))/6*(-parseInt(e(423))/7)+-parseInt(e(433))/8+parseInt(e(437))/9+-parseInt(e(438))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(424)]=mt.IconHistory,this[e(432)]({tag:e(430),attributes:{class:["ck",e(422),e(436)]},children:[i,{tag:e(428),attributes:{class:["ck",e(435)]},children:[Q(t,e(426))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=450]})(t,e)}function Io(){const t=["createdAt","2583848oMMpue","remove","fire","delegate","_revisionActions","div","setName","set","uiLanguage","7EWOOTV","highlightRevisions","ck-disabled","8084593iUQMwi","some","_requireRevisionName","_addRevision","revisionSetName","bindTemplate","5OipVSr","isEnabled","getTime","deselect","4396224LOOSVJ","highlight","startDate","find","render","_revisions","createCollection","unhighlight","selectRevision","255122JXsTLv","ck-revision-history-sidebar","addRevision","8030241jCMjGE","ck-revision-history-sidebar__timeline","8EyLmMi","removeRevision","3387004GnDGdD","revisionSelected","ck-rounded-corners","revisionViews","flat","add","ck-reset","_removeRevision","10tGqpeA","select","setTemplate","536982DsPmqK","locale","map","get","timePeriodViews","_getTimePeriodViewByStartDate"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(605168===-parseInt(e(455))/1*(-parseInt(e(450))/2)+parseInt(e(468))/3+-parseInt(e(457))/4*(parseInt(e(493))/5)+parseInt(e(497))/6*(parseInt(e(484))/7)+-parseInt(e(475))/8+parseInt(e(453))/9*(-parseInt(e(465))/10)+parseInt(e(487))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(472)];[wo(502)];[wo(479)];[wo(489)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(492)];this[n(472)]=this[n(503)](),this[n(472)][n(478)](n(466)).to(this),this[n(472)][n(478)](n(481)).to(this),this[n(502)]=e,this[n(479)]=i,this[n(489)]=s,this.on(n(466),(t,e)=>{const i=n;this[i(477)](i(458),e)}),this.on(n(481),(t,e)=>{const i=n;this[i(477)](i(491),e)}),this[n(482)](n(494),!1),this[n(467)]({tag:n(480),attributes:{class:["ck",n(463),n(459),n(451)]},children:[new yo(t),{tag:n(480),attributes:{class:["ck",n(454),r.if(n(494),n(486),t=>!t)]},children:this[n(472)]}]})}[wo(501)](){const t=wo;super[t(501)]();for(const e of this[t(502)])this[t(490)](e);this[t(502)].on(t(462),(e,i)=>{this[t(490)](i)}),this[t(502)].on(t(476),(e,i)=>{this[t(464)](i)})}get[wo(460)](){const t=wo;return this[t(472)][t(470)](e=>e[t(460)][t(470)](t=>t))[t(461)]()}[wo(505)](t){const e=wo;for(const i of this[e(460)])t&&t.id===i.id?i[e(466)]():i[e(496)]()}[wo(485)](t){const e=wo;for(const i of this[e(460)])t[e(488)](({id:t})=>t===i.id)?i[e(498)]():i[e(504)]()}[wo(490)](t){const e=wo,i=oo(t[e(474)],this[e(469)][e(483)])[e(499)];let s=this[e(472)][e(471)](0);s&&s[e(499)][e(495)]()===i[e(495)]()||(s=new fo(this[e(469)],i,this[e(479)],this[e(489)]),this[e(472)][e(462)](s)),s[e(452)](t)}[wo(464)](t){const e=wo,i=oo(t[e(474)],this[e(469)][e(483)])[e(499)];this[e(473)](i)[e(456)](t)}[wo(473)](t){const e=wo;return this[e(472)][e(500)](i=>i[e(499)][e(495)]()===t[e(495)]())}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=419]})(t,e)}function xo(){const t=["appendChild","locale","string","select","assign","_revisionsRepository","isReady","highlightRevisions","element","revisionHistory","getRevisionsInDiff","12440WdQoPq","1098265iZgkFZ","Compare against selected","revisionHistory.revisionActions","restoreRevision","2166HoZUWW","_sidebarView","pluginName","length","repository","Name this revision","getIndex","2708277ODZXKF","revisionSetName","getEarlierVisibleRevision","get","listenTo","1838ZyEOqQ","70UePQxc","_createRevisionActions","isEnabled","map","_revisions","revisionViews","revisionHistory.viewerSidebarContainer","config","selectRevision","newRevisionId","ready","2153548OyaZOu","destroy","name","isVisible","_handleEditorDataReady","render","fieldView","244127GTnlRE","isPremiumPlugin","change:diff","_handleRevisionSelected","init","revisionHistory.requireRevisionName","diff","nameRevision","10705HPRzcQ","1488NNbYeQ","data","restoreRevisionCallback","bind","_handleDiffChange","compareAgainstSelected","getRevision","availableRevisionActions","remove","_revisionViewer","revisionSelected","RevisionsSidebar","add","isOfficialPlugin","getLaterVisibleRevision","compare","editor","_handleRevisionSetName","requires","setName","isSelected","action","focus","plugins","Restore this revision","207iJsYNA","defaultRevisionActions","timePeriodViews"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(374681===parseInt(e(470))/1+parseInt(e(451))/2*(parseInt(e(439))/3)+parseInt(e(463))/4+parseInt(e(478))/5*(parseInt(e(479))/6)+parseInt(e(435))/7+parseInt(e(434))/8*(-parseInt(e(420))/9)+-parseInt(e(452))/10*(parseInt(e(446))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(488)];[Oo(428)];[Oo(440)];static[Oo(421)]=[Oo(484),Oo(438),Oo(477)];static[Oo(486)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(436),action:({plugins:e},i)=>{const s=t,n=e[s(449)](te),r=n[s(443)];let o=n[s(476)][s(461)],a=i.id;r[s(445)](o)>r[s(445)](a)&&([o,a]=[a,o]),n[s(494)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(449)](te);return!(n[s(443)][s(433)](n[s(476)])[s(442)]>2||i[s(499)])}},restoreRevision:{name:t(419),action:(e,{id:i})=>{const s=t;e[s(459)][s(449)](s(432))[s(481)](i)},isVisible:({plugins:e},i)=>!!e[t(449)](te)[t(443)][t(493)](i.id)},nameRevision:{name:t(444),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(449)](te),o=r[n(443)][n(448)](i);r[n(494)](i,o),s[n(501)](),s[n(469)][n(426)]()}}}}();static get[Oo(441)](){return Oo(490)}static get[Oo(492)](){return!0}static get[Oo(471)](){return!0}static get[Oo(497)](){return[te]}constructor(t){const e=Oo;super(t),this[e(488)]=t[e(502)][e(449)](te),this[e(428)]=this[e(488)][e(443)],this[e(440)]=null}[Oo(474)](){const t=Oo,e=this[t(428)][t(456)],i=this[t(453)](),s=this[t(495)][t(459)][t(449)](t(458));this[t(440)]=new So(this[t(495)][t(424)],e,i,this[t(495)][t(459)][t(449)](t(475))),this[t(440)].on(t(489),this[t(473)][t(482)](this)),this[t(440)].on(t(447),this[t(496)][t(482)](this)),this[t(440)][t(482)](t(454)).to(this[t(488)]),this[t(440)][t(422)].on(t(491),(e,i)=>{const s=t;i[s(457)].on(s(491),(t,e)=>{const i=s;e[i(482)](i(454),i(429)).to(this[i(488)])})}),this[t(440)][t(468)](),this[t(450)](this[t(495)][t(480)],t(462),this[t(467)][t(482)](this)),this[t(450)](this[t(488)],t(472),this[t(483)][t(482)](this)),s[t(423)](this[t(440)][t(431)])}[Oo(464)](){const t=Oo;this[t(440)][t(431)][t(487)](),this[t(440)][t(464)]()}[Oo(467)](){const t=Oo,e=this[t(428)][t(485)](0);if(e){const i=this[t(428)][t(448)](e.id);this[t(488)][t(494)](e,i)}}[Oo(473)](t,e){const i=Oo,s=this[i(428)][i(485)](e.id),n=this[i(428)][i(448)](s.id);this[i(488)][i(494)](s,n)}[Oo(496)](t,e){const i=Oo;this[i(428)][i(485)](e.id)[i(498)](e[i(465)])}[Oo(483)](t,e,i){const s=Oo,n=this[s(428)][s(433)](i);n[s(442)]>2?(this[s(440)][s(430)](n),this[s(440)][s(460)](null)):(this[s(440)][s(430)]([]),this[s(440)][s(460)](n[0]))}[Oo(453)](){const t=Oo,e=this[t(495)],i=No[t(486)],s=e[t(459)][t(449)](t(437))||No[t(421)];if(s[t(442)])return s[t(455)](s=>{const n=t,r=n(425)==typeof s?Object[n(427)]({},i[s]):s;return r[n(500)]=r[n(500)][n(482)](this,e),r[n(466)]&&(r[n(466)]=r[n(466)][n(482)](this,e)),r})}}const Ro=No,Ao=Vo;function Eo(){const t=["302790jLMFfU","175ztshyt","get","_toolbarConfig","restore","componentFactory","render","3884860zOwsOC","view","limiterElement","327570UpkXdo","40OglXCE","focusTracker","detachDomRoot","name","addToolbar","viewportTopOffset","fillFromConfig","fire","bind","viewportOffset","44554872tQqEFX","ready","4950cUSssf","rootName","replace","element","destroy","config","isFocused","attachDomRoot","11vNjjNJ","toolbar","113IFusWm","_initToolbar","_view","setEditableElement","editor","init","12898OqYTcX","getRoot","4908725BItPTn","editable","isActive","_elementReplacer","stickyPanel","7328jqFjzr","editing","document"];return(Eo=function(){return t})()}function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(754563===parseInt(e(133))/1*(-parseInt(e(139))/2)+parseInt(e(149))/3*(parseInt(e(111))/4)+-parseInt(e(141))/5+-parseInt(e(110))/6*(parseInt(e(101))/7)+parseInt(e(146))/8*(-parseInt(e(123))/9)+-parseInt(e(107))/10+parseInt(e(131))/11*(parseInt(e(121))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ao(135)];[Ao(103)];[Ao(144)];get[Ao(108)](){return this[Ao(135)]}constructor(e,i){const s=Ao;super(e),this[s(135)]=i,this[s(103)]=(0,pt.normalizeToolbarConfig)(e[s(128)][s(102)](s(132))),this[s(144)]=new t.ElementReplacer}get[Ao(126)](){const t=Ao;return this[t(108)][t(126)]}[Ao(138)](t){const e=Ao,i=this[e(137)],s=this[e(108)],n=i[e(147)][e(108)],r=s[e(142)],o=n[e(148)][e(140)]();r[e(114)]=o[e(124)],s[e(106)]();const a=r[e(126)];this[e(136)](r[e(114)],a),s[e(142)][e(119)](e(129)).to(this[e(112)]),n[e(130)](a),this[e(144)][e(125)](t,this[e(126)]),this[e(134)](),this[e(118)](e(122))}[Ao(127)](){const t=Ao;super[t(127)]();const e=this[t(108)],i=this[t(137)][t(147)][t(108)];this[t(144)][t(104)](),i[t(113)](e[t(142)][t(114)]),e[t(127)]()}[Ao(134)](){const t=Ao,e=this[t(108)];e[t(145)][t(119)](t(143)).to(this[t(112)],t(129)),e[t(145)][t(109)]=e[t(126)],e[t(145)][t(119)](t(116)).to(this,t(120),({top:t})=>t),e[t(132)][t(117)](this[t(103)],this[t(105)]),this[t(115)](e[t(132)])}}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;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=316]})(t,e)}function Lo(){var t=["content","shouldToolbarGroupWhenFull","3UukohH","939568VDsVEb","12dGtUzs","7365423TovGtx","18RMxHmK","add","main","11MuPZnm","32VllVAd","top","_editable","toolbar","26536AnqtTd","stickyPanel","164950TMufft","85535lNDBrg","render","57686RNDhqm","255230WccPvL","6WpIVvJ","editable"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(120587===-parseInt(e(338))/1+parseInt(e(318))/2*(-parseInt(e(324))/3)+parseInt(e(332))/4*(-parseInt(e(316))/5)+-parseInt(e(320))/6*(parseInt(e(325))/7)+-parseInt(e(336))/8*(parseInt(e(328))/9)+-parseInt(e(319))/10*(-parseInt(e(331))/11)+-parseInt(e(326))/12*(-parseInt(e(327))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(334)];[Fo(337)];[Fo(335)];get[Fo(321)](){return this[Fo(334)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(337)]=new pt.StickyPanelView(t),this[s(335)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(323)]}),this[s(334)]=new pt.InlineEditableUIView(t,e)}[Fo(317)](){var t=Fo;super[t(317)](),this[t(337)][t(322)][t(329)](this[t(335)]),this[t(333)][t(329)](this[t(337)]),this[t(330)][t(329)](this[t(321)])}}function zo(){const t=["view","destroy","init","sourceElement","ready","editing","initialData","333pMCjMz","locale","get","config","createRoot","2chaVga","initPlugins","1366530RUayTg","fire","_ui","2508728GdNyey","5246752wuSevG","updateSourceElement","6139390QXUBHF","create","8719890XRzedv","data","model","28104uxnSML","437928CJtiHA","document"];return(zo=function(){return t})()}const Wo=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(916352===-parseInt(e(227))/1+parseInt(e(225))/2*(-parseInt(e(211))/3)+parseInt(e(230))/4+parseInt(e(205))/5+parseInt(e(207))/6+-parseInt(e(231))/7+parseInt(e(210))/8*(-parseInt(e(220))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(229)];get ui(){return this[Wo(229)]}constructor(t,e){const i=Wo;super(e),this[i(216)]=t,this[i(209)][i(212)][i(224)]();const s=new Po(this[i(221)],this[i(218)][i(213)],{shouldToolbarGroupWhenFull:!0});this[i(229)]=new Mo(this,s)}[Wo(214)](){const t=Wo;return this[t(204)](),this.ui[t(214)](),super[t(214)]()}static async[Wo(206)](t,e){const i=Wo,s=new this(t,e);return await s[i(226)](),await s.ui[i(215)](t),await s[i(208)][i(215)](s[i(223)][i(222)](i(219))||""),s[i(228)](i(217)),s}}const Zo=Bo;function qo(){const t=["revisionHistory.closeRevisionViewerCallback","_update","changesNavigation","toJSON","getMarkersGroup","removeMarker","Annotations","DocumentOutlineUI","exitToEditing","toolbar","RevisionHistoryUI","display","join","refreshVisibility","remove","numeric","restrictedEditingException","_showRevisionViewer","view","getUser","create","revision-history-missing-configuration","from","roots","createdAt","addRoot","setSelection","restoreRevision","isRevisionViewerOpen","279nOOpcz","getRevisions","revisionHistory.restoreRevisionCallback","plugins","1357509zCmCsB","getRevisionRootsAttributes","markers","config","bind","init","has","createRangeIn","isReady","block","_cleanUp","_viewerEditor","removeSelectionAttribute","_closeRevisionViewer","showRevisionViewerCallback","lazyRoots","hide","isOpen","_recalculatePageBreaks","isEnabled","insert","revisionHistory.requireRevisionName","20wgYwHu","235096uDlbPF","revisionHistory","closeRevisionViewerCallback","toLocaleDateString","destroy","catch","editor","RevisionHistory","map","getRevision","revisionHistory.showRevisionViewerCallback","revision-history-viewer-opened","isReadOnly","set","users","define","data","enableReadOnlyMode","68PZnUwu","RevisionTracker","indexOf","10980057heeRas","RevisionHistoryUtils","revisionHistory.editorContainer","Users","requires","removeAttribute","commands","RevisionViewer","style","$graveyard","RestrictedEditingMode","_enhanceShowRevisionViewerCallback","disableReadOnlyMode","detachRoot","element","translations","addUser","result","_enhanceCloseRevisionViewerCallback","pluginName","toVersion","_restoreRevision","selection","change","revisionHistory.viewerContainer","Dialog","fromCharCode","save","Autosave","parse","_getRevisionViewerEditorConfig","addRevisionData","RevisionViewerIntegration","setAttribute","255275vIXnDq","model","get","Restored","toLocaleTimeString","none","RevisionsRepository","includes","locale","document","enqueueChange","586203WyGntA","revisionHistory.viewerEditorElement","isOfficialPlugin","isAnonymous","keys","getRoot","isPremiumPlugin","refreshPositioning","push","1458672DLjChU","uiLanguage","then","saveRevision","rootName","loadRevisionData","name","1050976zrvvAo","creator","getAttributeKeys","fromVersion","adapter","error","isAttached","28XbdLDA","getRevisionDocumentData","PaginationLookup","update","long","DocumentOutline","repository","end"];return(qo=function(){return t})()}!function(t){const e=Bo,i=t();for(;;)try{if(583330===parseInt(e(531))/1+parseInt(e(394))/2+parseInt(e(442))/3+-parseInt(e(483))/4*(parseInt(e(520))/5)+-parseInt(e(387))/6*(-parseInt(e(401))/7)+parseInt(e(465))/8*(parseInt(e(438))/9)+-parseInt(e(464))/10*(parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Zo(419),Zo(496)];class Yo extends U.Plugin{[Zo(503)];static get[Zo(505)](){return Zo(518)}static get[Zo(533)](){return!0}static get[Zo(537)](){return!0}constructor(t){const e=Zo;function i(t){const e=Bo;return t[e(473)](t=>String[e(512)](t))[e(421)]("")}super(t),this[e(503)]=e(408),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Bo(t,e){const i=qo();return(Bo=function(t,e){return i[t-=387]})(t,e)}class Go extends U.Plugin{[Zo(453)];static get[Zo(505)](){return Zo(472)}static get[Zo(533)](){return!0}static get[Zo(537)](){return!0}static get[Zo(490)](){return[ot,jt]}constructor(e){const i=Zo;if(super(e),!this[i(471)][i(445)][i(522)](i(466)))throw new t.CKEditorError(i(430),this);this[i(453)]=null,this[i(478)](i(437),!1),this[i(471)][i(445)][i(480)](i(475),t=>this[i(426)]({...t,translations:this[i(471)][i(528)][i(501)]})),this[i(471)][i(445)][i(480)](i(409),t=>this[i(455)](t)),this[i(471)][i(445)][i(480)](i(440),t=>this[i(507)](t)),this[i(471)][i(445)][i(480)](i(463),!1),this[i(497)](),this[i(504)]()}set[Zo(398)](t){const e=Zo;this[e(471)][e(441)][e(522)](e(484))[e(398)]=t}get[Zo(398)](){const t=Zo;return this[t(471)][t(441)][t(522)](t(484))[t(398)]}[Zo(517)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(484))[e(517)](t)}[Zo(474)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(526))[e(474)](t)}[Zo(439)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(526))[e(439)](t||{toJSON:!1})}[Zo(516)](){const e=Zo,i=this[e(471)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(441)][e(522)](e(484)),r=i[e(441)][e(522)](e(489))[e(479)];return s[e(418)]=[e(417),e(436),e(411)],delete s[e(457)],s[e(441)][e(539)](Yo,te,be,class extends U.Plugin{static get[e(490)](){return[te,e(489)]}[e(447)](){const s=e,o=this[s(471)][s(441)][s(522)](s(489));for(const t of r)t[s(534)]||o[s(428)](t.id)||o[s(502)](t);const a=n[s(407)][s(439)]();let c=null;const u=this[s(471)][s(441)][s(522)](s(493));u[s(398)]=n[s(398)],u[s(446)](s(461)).to(n),this[s(471)][s(492)][s(522)](s(436))[s(446)](s(461)).to(i,s(477),t=>!t);for(const e of a){const i=null===e[s(395)];if(i&&e[s(506)]===e[s(397)])continue;const r=e[s(412)]();u[s(517)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(410)](r,o);else if(!o){const e=a[u(412)]();e.id=(0,t.uid)(),n[u(390)](e,a[u(506)])[u(389)](t=>{c=t})}}else e[u(410)](r,o)})}}},Ro),s}[Zo(497)](){const t=Zo,e=this[t(471)][t(445)][t(522)](t(466))[t(456)];this[t(471)][t(445)][t(478)](t(475),async()=>{const i=t;this[i(471)][i(482)](i(476));const s=this[i(471)][i(441)][i(522)](i(484));if(this[i(471)][i(441)][i(448)](i(514))){const t=this[i(471)][i(441)][i(522)](i(514));await t[i(513)]()}else await s[i(404)]();if(this[i(471)][i(441)][i(448)](i(403))&&this[i(471)][i(441)][i(522)](i(403))[i(460)](),this[i(471)][i(441)][i(448)](i(511))){const t=this[i(471)][i(441)][i(522)](i(511));t[i(459)]&&t[i(458)]()}const n=this[i(516)]();return e(n)[i(389)](t=>{const e=i;return this[e(453)]=t,this[e(471)][e(441)][e(448)](e(415))&&this[e(471)][e(441)][e(522)](e(415))[e(422)](),this[e(471)][e(441)][e(448)](e(406))&&(this[e(471)][e(441)][e(522)](e(416))[e(427)][e(500)][e(494)][e(420)]=e(525)),t})[i(470)](t=>(console[i(399)](t),this[i(471)][i(498)](i(476)),null))})}[Zo(504)](){const t=Zo,e=this[t(471)][t(445)][t(522)](t(466))[t(467)];this[t(471)][t(445)][t(478)](t(409),()=>(this[t(471)][t(441)][t(448)](t(403))&&this[t(471)][t(441)][t(522)](t(403))[t(460)](),this[t(471)][t(441)][t(448)](t(406))&&(this[t(471)][t(441)][t(522)](t(416))[t(427)][t(500)][t(494)][t(420)]=""),this[t(453)][t(441)][t(522)](t(493))[t(452)](),e(this[t(453)])[t(389)](()=>{const e=t;if(this[e(471)][e(498)](e(476)),this[e(453)]=null,this[e(471)][e(441)][e(448)](e(415))){const t=this[e(471)][e(441)][e(522)](e(415));t[e(422)](),t[e(538)]()}})))}[Zo(426)](t){const e=Zo,i=this[e(471)][e(445)][e(522)](e(488)),s=this[e(471)][e(445)][e(522)](e(510)),n=this[e(471)][e(445)][e(522)](e(532));return Ho[e(429)](n,t)[e(389)](t=>(s[e(494)][e(420)]=e(451),i[e(494)][e(420)]=e(525),this[e(437)]=!0,t))}[Zo(455)](t){const e=Zo,i=this[e(471)][e(445)][e(522)](e(488));return this[e(471)][e(445)][e(522)](e(510))[e(494)][e(420)]=e(525),i[e(494)][e(420)]="",this[e(437)]=!1,t[e(469)]()}async[Zo(507)](t){const e=Zo,i=this[e(471)],s=this[e(453)][e(441)][e(522)](e(493)),n=i[e(441)][e(522)](e(484)),r=i[e(441)][e(522)](e(487)),o=s[e(407)][e(474)](t);let a,c,u;try{await r[e(392)](o,this[e(398)]),a=r[e(402)](o),c=r[e(443)](o)}catch(t){return void console[e(399)](t)}i[e(521)][e(509)](t=>{const s=e;for(const e of Array[s(431)](i[s(521)][s(444)][s(413)](s(425))))t[s(414)](e)}),s[e(450)]=!1,i[e(521)][e(530)](t=>{const s=e;t[s(435)](null),t[s(454)](i[s(521)][s(529)][s(508)][s(396)]());const n=Object[s(535)](a);for(const e of i[s(521)][s(529)][s(432)])s(495)!=e[s(391)]&&e[s(400)]()&&!n[s(527)](e[s(391)])&&t[s(499)](e);for(const e of n){let n=i[s(521)][s(529)][s(536)](e);n&&n[s(400)]()||(n=t[s(434)](e));const r=c[e],o=Object[s(535)](r),u=a[e];for(const e of n[s(396)]())o[s(527)](e)||t[s(491)](e,n);for(const i of o)t[s(519)](i,c[e][i],n);t[s(423)](t[s(449)](n)),t[s(462)](i[s(481)][s(515)](u,n),n,0)}});const l=Q(i[e(528)],e(523));return u=o[e(393)]?-1==o[e(393)][e(485)](l)?l+": "+o[e(393)]:o[e(393)]:l+": "+o[e(433)][e(468)](i[e(528)][e(388)],{month:e(405),day:e(424)})+", "+o[e(433)][e(524)](i[e(528)][e(388)],{hour:e(424),minute:e(424)}),await n[e(390)]({name:u}),s[e(450)]=!0,i[e(445)][e(522)](e(466))[e(467)]()}}function Jo(t,e){var i=Xo();return(Jo=function(t,e){return i[t-=359]})(t,e)}function Xo(){var t=["1243AhTWnN","2387tVeUMj","23387TxcAee","5kOccoR","1001082OYulqU","37456dfNVEW","4448454slHLZO","26OtXgVq","8211402GbaVEs","12008350codRTe","337572dWXEqP","4CEnjIZ"];return(Xo=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(858758===parseInt(e(365))/1*(parseInt(e(370))/2)+parseInt(e(369))/3*(-parseInt(e(362))/4)+parseInt(e(366))/5*(parseInt(e(367))/6)+-parseInt(e(364))/7*(parseInt(e(368))/8)+-parseInt(e(359))/9+parseInt(e(360))/10+parseInt(e(363))/11*(parseInt(e(361))/12))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:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ot,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;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 E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function 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,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(155199===-parseInt(e(297))/1*(parseInt(e(305))/2)+-parseInt(e(316))/3+parseInt(e(309))/4*(-parseInt(e(311))/5)+-parseInt(e(300))/6+parseInt(e(317))/7*(-parseInt(e(303))/8)+parseInt(e(290))/9*(parseInt(e(292))/10)+-parseInt(e(315))/11*(-parseInt(e(313))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(308)];[L(320)];[L(304)];[L(301)];[L(299)];[L(293)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(308)]=e[i(308)]||null,this[i(320)]=e[i(320)]||[],this[i(304)]=e[i(304)]||null,this[i(301)]=e[i(301)]||0,this[i(299)]=e[i(299)]||0,this[i(314)](i(306),e[i(306)]||""),this[i(314)](i(310),e[i(310)]||new Date),this[i(314)](i(296),e[i(296)]||{})}[L(298)](t){this[L(302)]({name:t})}[L(319)](t,e){const i=L,s=A(this[i(296)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(302)]({attributes:s})}[L(307)](t){const e=L,i=A(this[e(296)]);(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,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(302)]({attributes:i})}[L(302)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(306),i(310),i(304),i(320),i(296),i(301),i(299),i(318)];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(320)]&&(n[i(291)]=n[i(320)][i(295)](t=>t.id),delete n[i(320)]),this[i(294)](i(302),n,e))}[L(312)](){const t=L;return{id:this.id,name:this[t(306)],creatorId:this[t(308)]?this[t(308)].id:null,authorsIds:this[t(320)][t(295)](t=>t.id),diffData:this[t(304)],createdAt:this[t(310)],attributes:this[t(296)],fromVersion:this[t(299)],toVersion:this[t(301)]}}}function z(){const t=["138782BtmESc","name","removeAttribute","creator","52bHEICK","createdAt","44635qDHKRo","toJSON","4175664MgZnTg","set","22qtDNBJ","445317XeLiNY","314748cyWLbz","creatorId","setAttribute","authors","153DclWCv","authorsIds","73940cPyGIE","model","fire","map","attributes","1Lqmtbi","setName","fromVersion","1186020sRgOmK","toVersion","_update","24fspydg","diffData"];return(z=function(){return t})()}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["name","newRevisionId","5mwbJoJ","getRevisions","getRevision","creatorId","createdAt","317188HvHzTg","authorsIds","getUser","get","pluginName","data","getEarlierVisibleRevision","diffData","1305048hmRFcy","250416mrEOuQ","map","reverse","join","later","attributes","1443969AaNbGg","add","afterInit","765nJMQPg","fromVersion","href","414136GDFymK","1150592HWBNVy","isPremiumPlugin","getIndex","oldRevisionId","RevisionsRepository","182030RWJetb","toJSON","fromCharCode","isOfficialPlugin","toVersion","_revisions","requires","push","91zsEIOd","getRevisionsInDiff","earlier","Users","getRevisionsIterator","addRevision","plugins","length","from","isNaN","getLaterVisibleRevision","createRevision","editor"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=317]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(366543===-parseInt(e(333))/1+parseInt(e(355))/2+-parseInt(e(348))/3+-parseInt(e(341))/4*(parseInt(e(328))/5)+parseInt(e(342))/6+-parseInt(e(368))/7*(parseInt(e(354))/8)+-parseInt(e(351))/9*(-parseInt(e(360))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(365)];static get[q(366)](){return[H.Users]}static get[q(337)](){return q(359)}static get[q(363)](){return!0}static get[q(356)](){return!0}get[q(320)](){const t=q;return this[t(365)][t(320)]}constructor(e){const i=q;super(e),this[i(365)]=new t.Collection}[q(350)](){!async function(e){const i=k([75,110,121,82,74,107,77,84,73,78,80,65,119,117,81,112,66,71,51,97,113,56,50,104,88,89,102,55,48,54,106,87,67,68,83,70,86,122,85,120,49,79,100,53,111,69,105,114,72,116,76,90,101,99,98,52,103,115,57,118,109,108]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(322)](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([75]);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(343)](t=>String[e(362)](t))[e(345)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1750636800;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(353)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[q(324)](t){const e=q,i=this[e(325)][e(319)][e(336)](e(371));return new W({id:t.id,name:t[e(326)],creator:t[e(331)]?i[e(335)](t[e(331)]):null,diffData:t[e(340)]||t[e(338)],authors:t[e(334)][e(343)](t=>i[e(335)](t)),createdAt:new Date(t[e(332)]),attributes:t[e(347)],fromVersion:t[e(352)],toVersion:t[e(364)]})}[q(318)](t,e=0){const i=q;this[i(365)][i(349)](t,e)}[q(330)](t){const e=q;return this[e(365)][e(336)](t)}[q(329)](t={toJSON:!1}){const e=q,i=Array[e(321)](this[e(365)]);return i[e(344)](),t[e(361)]?i[e(343)](t=>t[e(361)]()):i}[q(357)](t){const e=q;return this[e(365)][e(357)](t)}[q(339)](t){const e=q,[,i]=this[e(317)](t,{direction:e(370)});return i}[q(323)](t){const e=q,[,i]=this[e(317)](t,{direction:e(346)});return i}[q(369)](t){const e=q,i=[];for(const s of this[e(317)](t[e(327)]))if(i[e(367)](s),s.id===t[e(358)])break;return i}*[q(317)](t,{direction:e=q(370),filter:i=()=>!0}={}){const s=q,n=s(370)===e?1:-1;let r=this[s(365)][s(336)](t),o=this[s(357)](r);for(yield r;r;){if(o+=n,r=this[s(330)](o),!r)return;i(r)&&(yield r)}}}function J(){const t=["domChildrenToView","childNodes","customProperties","append","554983OwudYE","_setCustomProperty","type","_appendChild","350216LQFaXg","attributesAfter","from","data","config","8venDHz","children","processor","useFillerType","revision-end","marked","_getViewFromDiffObj","401704SBXeaw","isAttached","htmlProcessor","6308940CbhNCE","loadRevisionData","collaboration.channelId","map","innerHTML","attributes","toData","insertions","domConverter","isPremiumPlugin","toModel","domDocument","editing","string","editor","name","_makeModelFromViewString","filter","constructor","RevisionHistoryUtils","diffData","revision-start","fillerOffset","render","getFillerOffset","div","isOfficialPlugin","attachChange","forEach","getRevisionRootsAttributes","view","getRevisionDocumentData","parse","_removeRevisionMarkers","viewChildrenToDom","pluginName","document","_viewClassToTypeChar","startsWith","_getTypeCharForViewElement","9814992NgKoNc","length","get","createElement","2812817CPeLWU","data-revision-","default","getRevision","_typeCharToViewClass","53949yjCicW"];return(J=function(){return t})()}const G=K;function K(t,e){const i=J();return(K=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(876287===parseInt(e(378))/1+parseInt(e(382))/2+parseInt(e(373))/3+parseInt(e(394))/4+parseInt(e(397))/5+-parseInt(e(364))/6+-parseInt(e(368))/7*(-parseInt(e(387))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class X extends U.Plugin{static get[G(359)](){return G(343)}static get[G(350)](){return!0}static get[G(406)](){return!0}[G(361)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(372)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(398)](t,e){const i=G;if(t[i(344)]||!e)return;const s=this[i(411)][i(386)][i(366)](i(399)),n=await e[i(371)]({channelId:s,revisionId:t.id});t[i(344)]=n[i(344)]}[G(355)](t){const e=G,i={};for(const s in t[e(344)]){if(t[e(344)][s][e(351)]&&!t[e(344)][s][e(351)][e(395)])continue;const n=this[e(357)](JSON[e(356)](t[e(344)][s][e(404)])),r=this[e(411)][e(409)][e(354)][e(360)],o=new Z.ViewDocumentFragment(r,n[e(400)](t=>this[e(393)](t,!1)));this[e(411)][e(385)][e(389)][e(390)](e(392)),i[s]=this[e(411)][e(385)][e(389)][e(403)](o),this[e(411)][e(385)][e(389)][e(390)](e(370))}return i}[G(353)](t){const e=G,i={};for(const s in t[e(344)])t[e(344)][s][e(351)]&&!t[e(344)][s][e(351)][e(395)]||(i[s]=t[e(344)][s][e(383)]||{});return i}[G(363)](t){const e=G;return this[e(361)][e(366)](t[e(342)])}[G(393)](t,e){const i=G,s=this[i(411)][i(409)][i(354)][i(360)];if(i(410)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(380)]||"r"==t[i(380)]?[]:t[i(388)][i(400)](t=>this[i(393)](t,e));const o=this[i(372)][i(366)](t[i(380)])||Z.ViewElement,a=this[i(411)][i(385)][i(396)][i(405)];if(n=new o(s,t[i(339)],t[i(402)],r),"u"==t[i(380)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(347)]=function(t){const e=i,s=t[e(367)](e(349));return s[e(401)]=r,s[e(375)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(381)](n);const e=Array[i(384)](a[i(358)](t,{bind:!1})),r=a[i(408)][i(367)](i(349));r[i(377)](...e),n=Array[i(384)](a[i(374)](r))[0]}}else if("r"==t[i(380)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(347)]=function(t){t[i(401)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(381)](n);const e=Array[i(384)](a[i(358)](t,{bind:!1})),r=a[i(408)][i(367)](i(349));r[i(377)](...e);const o=Array[i(384)](a[i(374)](r));o[i(365)]>1?n[i(381)](o):n=o[0]}}if(t[i(376)])for(const[e,s]of t[i(376)])n[i(379)](e,s);const c=void 0===t[i(346)]?null:t[i(346)];return null!==c&&(n[i(348)]=()=>c),n}}[G(340)](t){const e=G,i=JSON[e(356)](t),s=this[e(411)][e(409)][e(354)][e(360)],n=new Z.ViewDocumentFragment(s,i[e(400)](t=>this[e(393)](t,!0)));return this[e(411)][e(385)][e(407)](n)}[G(357)](t){const e=G;return(t=t[e(341)](t=>!t[e(339)]||e(345)!==t[e(339)]&&e(391)!==t[e(339)]))[e(352)](t=>{const i=e;i(410)!=typeof t&&(t[i(388)]=this[i(357)](t[i(388)]),t[i(402)]=t[i(402)][i(341)](t=>!t[0][i(362)](i(369))))}),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)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}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,E;const V=(s=s??new Map).get(t),M=s.get(i);if(null!=V&&null!=M)return V===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=ht;!function(t){const e=ht,i=t();for(;;)try{if(900215===parseInt(e(352))/1+-parseInt(e(333))/2+-parseInt(e(265))/3+-parseInt(e(406))/4+-parseInt(e(485))/5+-parseInt(e(372))/6+parseInt(e(444))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class ot extends U.Plugin{[rt(364)];[rt(231)];[rt(244)]=null;[rt(441)];[rt(282)]=null;[rt(187)];[rt(307)];[rt(389)];[rt(354)];[rt(370)];[rt(356)];[rt(445)];[rt(342)];[rt(262)];static get[rt(413)](){return rt(448)}static get[rt(463)](){return!0}static get[rt(349)](){return!0}static get[rt(296)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(441)]=this[i(255)][i(486)][i(249)](i(479)),this[i(370)]=this[i(255)][i(486)][i(249)](i(263)),this[i(187)]=new at(this[i(255)]),this[i(389)]=this[i(255)][i(204)][i(249)](i(377))||i(218),this[i(354)]=new Map,this[i(262)]=null;const s=(0,t.uid)();this[i(307)]={history:this[i(255)][i(250)][i(207)][i(484)],getLatestVersion:()=>Promise[i(434)](this[i(255)][i(250)][i(207)][i(438)]),getCurrentRevisionId:()=>s},this[i(199)](i(264),!1),this[i(199)](i(303),!0),this[i(199)](i(350),!1),this[i(255)][i(204)][i(208)](i(254),!0),this[i(255)][i(189)][i(466)](i(173))[i(383)]({view:i(420)})}[rt(478)](){const t=rt;this[t(411)](),this[t(255)][t(457)].on(t(277),()=>{const e=t,i=this[e(441)][e(368)](0),s=i&&null===i[e(286)]?i:null;if(this[e(445)]=!!s&&this[e(255)][e(204)][e(249)](e(254)),this[e(255)][e(486)][e(360)](e(362))){const t=this[e(307)][e(194)](),n=this[e(441)][e(368)](t);if(n)this[e(342)]=n[e(216)],this[e(445)]=!1;else{const t=this[e(307)][e(484)][e(450)][e(348)](t=>!t[e(481)]),n=t?t[e(308)]:this[e(307)][e(484)][e(438)];i?(i[e(325)]<n&&i[e(276)]({toVersion:n}),this[e(445)]?(this[e(307)][e(194)]=()=>s.id,this[e(342)]=s[e(216)]):(this[e(342)]=i[e(325)],this[e(445)]=!1)):(this[e(342)]=n,this[e(445)]=!1)}}else s&&(this[e(255)][e(250)][e(207)][e(484)][e(438)]=Math[e(281)](s[e(325)],this[e(255)][e(250)][e(207)][e(484)][e(438)]),s[e(216)]===s[e(325)]?(0!==s[e(216)]&&(this[e(307)][e(194)]=()=>s.id),this[e(445)]=!1):this[e(445)]&&(this[e(307)][e(194)]=()=>s.id,this[e(342)]=s[e(216)])),this[e(445)]||(this[e(342)]=this[e(255)][e(250)][e(207)][e(438)]);this[e(187)][e(478)](this[e(307)][e(484)]),this[e(446)](this[e(342)]),this[e(220)](this[e(342)]),this[e(282)]&&this[e(344)]()}),this[t(298)](t(264)).to(this,t(350),t=>!t),this[t(364)]=this[t(255)][t(204)][t(249)](t(364));const e=this[t(255)];this[t(231)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(467)==r||i(477)==r||i(427)==r||i(230)==r||i(412)==r||i(198)==r||i(425)==r||i(318)==r){delete e[n],s=r,clearInterval(this[i(231)]),this[i(231)]=void 0;break}}i(477)==s&&e[i(212)](i(293)),i(427)==s&&e[i(212)](i(233)),i(230)==s&&e[i(212)](i(403)),i(412)==s&&e[i(212)](i(353),i(329)),i(198)==s&&e[i(212)](i(186)),i(425)==s&&e[i(212)](i(253)),i(318)==s&&e[i(212)](i(299))},1e3)}async[rt(169)](){const t=rt;if(this[t(441)][t(273)]>0){const e=this[t(441)][t(368)](0),i=await this[t(454)](e),s=await this[t(170)](e);this[t(200)](i,s)}}[rt(283)](){const t=rt;super[t(283)](),this[t(231)]&&clearInterval(this[t(231)])}[rt(470)](t){this[rt(307)]=t}async[rt(396)](){const t=rt,e=await this[t(307)][t(181)]();if(e>this[t(244)][t(325)]){await this[t(313)]();const i=this[t(223)]({revision:this[t(244)],to:e});i[t(381)]=i[t(407)][t(355)](e=>this[t(255)][t(486)][t(249)](t(345))[t(436)](e)),this[t(244)][t(276)](i)}}async[rt(278)](e={},i=null){const s=rt,n=[];await this[s(313)](),this[s(445)]=!1,i>this[s(244)][s(325)]&&(i=null),null===i&&(i=await this[s(307)][s(181)]());const r=this[s(247)](i),o=this[s(223)]({from:r,to:i});if(this[s(244)][s(325)]<i){const t=this[s(223)]({revision:this[s(244)],from:i,to:i});t[s(381)]=[],t[s(407)]=[],t.id=this[s(244)].id,this[s(244)][s(276)](t,!0),delete t[s(381)],n[s(416)](t)}e[s(184)]=this[s(255)][s(486)][s(249)](s(345)).me.id,e[s(330)]=e[s(330)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(192)](e);n[s(416)](e);const c=this[s(441)][s(332)](a);if(0!==c){const t=this[s(441)][s(368)](c-1);if(t[s(216)]!==i){const r=this[s(187)][s(435)](i,t[s(325)]),o={id:t.id,diffData:r[s(409)],authorsIds:r[s(407)],authors:r[s(407)][s(355)](t=>this[s(255)][s(486)][s(249)](s(345))[s(436)](t)),fromVersion:i};t===this[s(244)]&&(o[s(219)]=new Date(e[s(219)][s(246)]()+10)),t[s(276)](o,!0),delete o[s(381)],n[s(416)](o)}}if(this[s(282)]){for(const t of n)this[s(316)](t.id,t,!0);this[s(344)]()}return a}[rt(192)](t){const e=rt,i=this[e(441)][e(284)](t);return this[e(282)]&&i.on(e(276),(t,i,s)=>{const n=e;s||(this[n(316)](i.id,i,!0),this[n(344)]())}),this[e(441)][e(432)](i,this[e(201)](i)),i}async[rt(454)](t){const e=rt;return await this[e(370)][e(336)](t,this[e(282)]),this[e(370)][e(454)](t)}async[rt(170)](t){const e=rt;return await this[e(370)][e(336)](t,this[e(282)]),this[e(370)][e(170)](t)}[rt(344)](){const t=rt;if(0===this[t(354)][t(321)])return;if(this[t(350)])return;let e=Array[t(225)](this[t(354)][t(373)]());this[t(354)][t(346)]();for(let i=0;i<e[t(273)];i++){const s=e[i];let n=!1;for(const e of Object[t(210)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(269)](t=>null!==t),!e[t(273)])return;for(let i=0;i<e[t(273)];i++){const s=e[i];void 0!==s[t(216)]&&void 0===s[t(325)]&&(s[t(325)]=this[t(441)][t(368)](s.id)[t(325)]),void 0!==s[t(325)]&&void 0===s[t(216)]&&(s[t(216)]=this[t(441)][t(368)](s.id)[t(216)])}const i=this[t(255)][t(204)][t(249)](t(377));this[t(350)]=!0,this[t(471)](),this[t(282)][t(452)](e,i)[t(237)](()=>{this[t(350)]=!1})[t(314)](e=>{const i=t;if(e)for(const t of e)this[i(461)]({id:t.id,createdAt:t[i(219)]});this[i(456)](),this[i(344)]()})}[rt(223)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(216)],i=null!==i?i:t[s(325)];const n=this[s(187)][s(435)](e,i),r={diffData:n[s(409)],authorsIds:n[s(407)],fromVersion:e,toVersion:i};if(!t||i!==t[s(325)]){const t=i-1,e=this[s(307)][s(484)][s(167)](t);r[s(219)]=e&&e[s(219)]||new Date}if(this[s(262)]&&e===this[s(262)][s(216)])for(const t of this[s(262)][s(381)])r[s(407)][s(270)](t.id)||r[s(407)][s(416)](t.id);return r}[rt(316)](t,e,i){const s=rt;if(this[s(354)][s(360)](t)){const n=this[s(354)][s(249)](t);e=i?{...n,...e}:{...e,...n}}this[s(354)][s(199)](t,e)}[rt(461)](t){const e=rt,i=this[e(441)][e(368)](t.id);if(t[e(219)]&&(t[e(219)]=new Date(t[e(219)])),t[e(407)]){const i=this[e(255)][e(486)][e(249)](e(345));t[e(381)]=t[e(407)][e(355)](t=>i[e(436)](t))}i[e(276)](t,!0)}[rt(446)](t){const e=rt,i=this[e(441)][e(368)](this[e(441)][e(273)]-1);if(i)this[e(389)]=i.id;else{const i=!this[e(255)][e(250)][e(207)][e(366)][e(348)](t=>this[e(255)][e(250)][e(221)](t)),s=this[e(255)][e(486)][e(249)](e(345)).me.id,n=Q(this[e(255)][e(418)],e(i?213:297));this[e(326)]({from:t,to:t,id:this[e(389)],name:n,creatorId:s})}}[rt(220)](t){const e=rt,i=this[e(307)][e(194)]();this[e(244)]=this[e(441)][e(368)](i),this[e(244)]||(this[e(244)]=this[e(326)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(313)](){const t=rt;this[t(445)]&&!this[t(262)]&&(await this[t(370)][t(336)](this[t(244)],this[t(282)]),this[t(187)][t(245)](this[t(244)]),this[t(262)]={fromVersion:this[t(244)][t(216)],authors:this[t(244)][t(381)][t(203)]()})}[rt(200)](e,i){const s=rt;let n=this[s(255)][s(204)][s(249)](s(267)),r=this[s(255)][s(204)][s(249)](s(431));if(void 0===n){n={};for(const t of this[s(255)][s(250)][s(207)][s(379)]())n[t]=""}if(s(462)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(255)][s(250)][s(207)][s(379)]())r[t]={}}let o=!1;const a=Object[s(210)](n),c=Object[s(210)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(415)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(210)](r[t])[s(273)]>0){o=!0;break}}o||(o=c[s(257)](t=>!this[s(255)][s(250)][s(207)][s(217)](t))),o&&(0,t.logWarning)(s(236),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(255)][s(204)][s(199)](s(267),e),this[s(255)][s(204)][s(199)](s(431),i)}[rt(471)](){const t=rt;if(!this[t(356)]){const e=this[t(255)][t(486)][t(249)](t(188));this[t(356)]=e[t(239)](Q(this[t(255)][t(418)],t(243)))}}[rt(456)](){const t=rt;this[t(356)]&&(this[t(255)][t(486)][t(249)](t(188))[t(222)](this[t(356)]),this[t(356)]=null)}[rt(201)](t){const e=rt,i=this[e(441)][e(238)]();i[e(474)]();let s=0;for(;s<i[e(273)];){const n=i[s];if(n===this[e(244)]){s++;continue}if(n.id===this[e(389)])break;const r=t[e(325)]-n[e(325)]||t[e(216)]-n[e(216)];if(r>0)break;if(r<0)s++;else{if(!t[e(286)]&&n[e(286)])break;if(n[e(286)]||!t[e(286)]){if(t[e(219)]>n[e(219)])break;s++}else s++}}return s}[rt(247)](t){const e=rt,i=this[e(441)][e(238)]();i[e(474)](),i[e(279)]();const s=i[e(348)](i=>i[e(325)]<=t)[e(325)];return s<this[e(342)]?this[e(342)]:s}[rt(326)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(223)]({from:e,to:i});o[r(330)]=t,o[r(184)]=s,o.id=n;const a=this[r(192)](o);return this[r(282)]&&this[r(316)](o.id,o,!0),a}[rt(411)](){const t=rt;this[t(255)][t(189)][t(466)](t(440))[t(476)]({model:t(420)})}}class at{[rt(255)];[rt(232)];[rt(294)];[rt(168)];[rt(422)];[rt(196)];[rt(433)];[rt(365)];[rt(331)];[rt(191)];[rt(224)];[rt(175)];[rt(287)];[rt(394)];[rt(429)];[rt(469)];[rt(386)];constructor(t){const e=rt;this[e(255)]=t,this[e(294)]=new Map,this[e(168)]=-1,this[e(422)]=-1,this[e(196)]=new Map,this[e(433)]=new Map,this[e(365)]=new Map,this[e(331)]=new Map,this[e(191)]=new Map,this[e(224)]=new Map,this[e(175)]=new Map,this[e(287)]=new Map,this[e(394)]=new Map,this[e(429)]=new Map,this[e(469)]=1}[rt(478)](t){const e=rt;this[e(232)]=t;const i=new Map,s=new Map,n=this[e(255)][e(250)][e(207)][e(366)][e(355)](t=>t[e(209)]);for(const t of n){const n=this[e(255)][e(250)][e(207)][e(217)](t),r=ct(n);i[e(199)](t,r),s[e(199)](t,Object[e(408)](n[e(443)]()))}const r=Array[e(225)](this[e(255)][e(250)][e(385)])[e(355)](t=>[t[e(330)],t[e(458)]()]),o=this[e(232)][e(438)];this[e(312)](o,i,r,s),this[e(386)]=this[e(469)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(199)](t,i),c[e(199)](t,{})}this[e(312)](Number[e(397)],a,[],c)}[rt(435)](t,e){const i=rt;if(this[i(168)]===t&&this[i(422)]<=e)this[i(294)][i(321)]>1&&this[i(393)](this[i(422)]),this[i(259)](this[i(422)],e,!0);else{if(!this[i(294)][i(360)](t)){const e=this[i(437)](t);this[i(328)](e,t,!1)}this[i(328)](t,e,!0)}return this[i(168)]=t,this[i(422)]=e,this[i(475)]()}[rt(245)](t){const e=rt,i=this[e(255)][e(486)][e(249)](e(263));this[e(426)](),this[e(168)]=t[e(216)],this[e(422)]=t[e(325)];for(const s in t[e(409)]){const n=t[e(409)][s][e(305)],r=A(t[e(409)][s][e(483)])||{},o=i[e(182)](t[e(409)][s][e(399)]);o[e(209)]=s,o[e(205)]=!n||!n[e(234)],o[e(234)]=()=>o[e(205)],this[e(331)][e(199)](s,o),this[e(191)][e(199)](s,r),n&&this[e(429)][e(199)](s,n);const a=this[e(376)](o);this[e(175)][e(199)](s,a);for(const[t,i]of o[e(385)]){if(!t[e(417)](e(320)))continue;const s=t[e(227)](":")[2];for(const t of i[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),n=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)],r=a[e(285)](n)[e(482)](i);this[e(287)][e(199)](r,{userId:s})}}}this[e(386)]=this[e(469)];const s=[...Array(this[e(469)])[e(210)]()][e(203)](1)[e(269)](t=>!this[e(287)][e(360)](t));let n=0;const r=new Map;for(const o in t[e(409)]){const a=t[e(409)][o][e(305)],c=A(t[e(409)][o][e(172)])||{},u=i[e(182)](t[e(409)][o][e(395)]);u[e(209)]=o,u[e(205)]=!a||a[e(234)],u[e(234)]=()=>u[e(205)],this[e(433)][e(199)](o,u),this[e(365)][e(199)](o,c);const l=this[e(376)](u,Number[e(397)]);this[e(224)][e(199)](o,l),r[e(199)](o,u[e(234)]()?c:{});for(const[t,i]of u[e(385)]){if(!t[e(417)](e(320)))continue;const s=t[e(227)](":")[2];for(const t of i[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),n=this[e(469)]++,r=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)];l[e(285)](r)[e(357)](i,n),this[e(287)][e(199)](n,{userId:s})}}for(const t of this[e(255)][e(250)][e(472)](u)[e(274)]({singleCharacters:!0})){const i=this[e(319)](t),r=e(272)==t[e(190)]?t[e(177)][e(206)][e(203)](0,-1):t[e(177)][e(206)],o=l[e(285)](r);o[e(482)](i)>0||o[e(357)](i,s[n++])}for(const[t,i]of u[e(385)])t[e(417)](e(320))||this[e(196)][e(199)](t,i)}const o=ut(e(421));this[e(331)][e(199)](e(421),o),this[e(175)][e(199)](e(421),this[e(376)](o,1));const a=ut(e(421));this[e(433)][e(199)](e(421),a),this[e(224)][e(199)](e(421),this[e(376)](a,1));const c=Array[e(225)](this[e(433)])[e(355)](([t,e])=>[t,ct(e)]);this[e(312)](this[e(422)],c,this[e(196)],r)}[rt(202)](){const t=rt;this[t(426)](),this[t(168)]=-1,this[t(422)]=-1,this[t(294)][t(346)](),this[t(478)](this[t(232)])}[rt(312)](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(199)](t,{start:e[n(382)][n(449)](),end:e[n(180)][n(449)](),rootName:e[n(428)][n(209)]});this[n(294)][n(199)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(393)](t){const e=rt;this[e(294)][e(248)](t)}[rt(426)](){const t=rt;this[t(287)][t(346)](),this[t(394)][t(346)](),this[t(429)][t(346)](),this[t(433)][t(346)](),this[t(365)][t(346)](),this[t(331)][t(346)](),this[t(191)][t(346)](),this[t(224)][t(346)](),this[t(175)][t(346)](),this[t(196)][t(346)](),this[t(469)]=1,this[t(386)]=this[t(469)]}[rt(376)](t,e=null){const i=rt;let s=null;t.is(i(459))||(s=new Z.Element(t[i(330)],{vid_start:null===e?this[i(469)]++:e++}));const n=[];for(const s of t[i(226)]())if(s.is(i(256))){n[i(416)](this[i(376)](s,e));const t=n[n[i(273)]-1];null!==e&&(e=t.is(i(256),i(260))?t[i(482)](i(392))+1:t[i(482)](i(359))+1)}else for(let t=0;t<s[i(185)];t++)n[i(416)](new Z.Element(i(260),{vid:null===e?this[i(469)]++:e++}));if(t.is(i(459))){const e=ut(t[i(209)]);return e[i(280)](0,n),e}return s[i(357)](i(359),null===e?this[i(469)]++:e++),s[i(280)](0,n),s}[rt(328)](t,e,i){const s=rt;this[s(426)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(294)][s(249)](t);this[s(331)]=new Map(n),this[s(191)]=new Map(A(o));for(const[t,e]of this[s(331)])if(s(421)!==t&&(this[s(433)][s(199)](t,ct(e)),this[s(365)]=new Map(A(o)),i)){const i=this[s(469)];this[s(224)][s(199)](t,this[s(376)](e)),this[s(175)][s(199)](t,this[s(376)](e,i))}this[s(386)]=this[s(469)],this[s(433)][s(199)](s(421),ct(this[s(331)][s(249)](s(421)))),i&&this[s(224)][s(199)](s(421),this[s(376)](this[s(331)][s(249)](s(421))));for(const[t,e]of r){const i=this[s(331)][s(249)](e[s(209)]),n=this[s(433)][s(249)](e[s(209)]),r=new Z.Range(this[s(451)](e[s(382)],i),this[s(451)](e[s(180)],i)),o=this[s(179)](r,n);i[s(385)][s(199)](t,r),this[s(196)][s(199)](t,o)}this[s(259)](t,e,i)}[rt(259)](t,e,i){const s=rt;for(const n of this[s(232)][s(380)](t,e))this[s(300)](n,i);for(const t of this[s(433)][s(373)]())t[s(385)][s(346)]();for(const[t,e]of this[s(196)])this[s(433)][s(249)](e[s(428)][s(209)])[s(385)][s(199)](t,e[s(449)]());const n=new Map,r=new Map;for(const[t,e]of this[s(433)])n[s(199)](t,ct(e)),r[s(199)](t,this[s(365)][s(249)](t));this[s(312)](e,n,this[s(196)],r)}[rt(437)](t){const e=rt,i=Array[e(225)](this[e(294)][e(210)]());i[e(292)]((t,e)=>t-e),i[e(474)]();for(const e of i)if(e<t)return e;return Number[e(397)]}[rt(229)](t,e){const i=rt,s=Array[i(225)](e[i(385)])[i(355)](([e,s])=>[e,this[i(179)](s,t)]);t[i(385)]=new Map(s)}[rt(302)](t){const e=rt;for(const i of this[e(196)][e(373)]()){const s=i[e(419)](t),n=Z.Range[e(375)](s);i[e(382)]=n[e(382)],i[e(180)]=n[e(180)]}}[rt(300)](t,e){const i=rt;if(i(322)!=t[i(190)]&&i(178)!=t[i(190)]){if(i(228)==t[i(190)]){const s=t[i(388)][i(428)][i(209)];this[i(433)][i(360)](s)||(this[i(433)][i(199)](s,ut(s,!0)),this[i(365)][i(199)](s,{}),e&&this[i(224)][i(199)](s,ut(s,!0)))}else{if(i(402)==t[i(190)]||i(351)==t[i(190)]||i(410)==t[i(190)])return void this[i(317)](t);i(361)==t[i(190)]&&this[i(341)](t)}if(i(361)!==t[i(190)]){const e=this[i(288)](t,this[i(433)]);e[i(214)](),this[i(302)](e)}if(e)switch(t[i(190)]){case i(228):this[i(197)](t);break;case i(211):case i(222):case i(455):this[i(309)](t);break;case i(473):this[i(414)](t);break;case i(227):this[i(371)](t)}}else this[i(315)](t,e)}[rt(288)](t,e){const i=rt,s=t[i(449)]();return s[i(468)]=t[i(468)],this[i(442)](s,e),s}[rt(374)](t){const e=rt;return t[e(355)](t=>{const i=e,s=this[i(319)](t);return Number(t[i(367)][i(482)](s))})}[rt(174)](t,e){const i=rt;if(t.is(i(256),i(260)))e[i(416)]({item:t,type:i(310)});else{t.is(i(256))&&e[i(416)]({item:t,type:i(358)});for(const s of t[i(226)]())this[i(174)](s,e);t.is(i(256))&&e[i(416)]({item:t,type:i(272)})}return e}[rt(475)](){const t=rt,e=new Map(this[t(287)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(331)][t(210)](),...this[t(433)][t(210)]()]);a[t(248)](t(421));for(const e of a){const i=this[t(433)][t(249)](e)||ut(e,!1),s=this[t(331)][t(249)](e)||ut(e,!1);i[t(234)]()||s[t(234)]()?(n[t(395)][e]=ct(i),n[t(399)][e]=ct(s),this[t(229)](n[t(399)][e],s),this[t(229)](n[t(395)][e],i),r[t(395)][e]=this[t(174)](this[t(224)][t(249)](e),[]),r[t(399)][e]=this[t(174)](this[t(175)][t(249)](e)||ut(e,!1),[])):a[t(248)](e)}for(const n of a){const o=r[t(395)][n];for(const n of o){const r=this[t(319)](n),o=n[t(367)][t(482)](r);i[t(248)](o),o>=this[t(386)]&&s[t(199)](o,e[t(249)](o))}}for(const n of a){const a=r[t(395)][n],c=this[t(374)](r[t(399)][n]);let u=0;for(const n of a){const r=this[t(319)](n),a=n[t(367)][t(482)](r);if(!s[t(360)](a)&&!o[t(360)](a))if(i[t(360)](a))u++;else{if(a!=c[u]){const s=e[t(249)](a)||e[t(249)](c[u]);for(;a!=c[u];)i[t(360)](c[u])||(o[t(199)](c[u],s),e[t(199)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(395)][e];for(const e of n){const n=this[t(319)](e),r=e[t(367)][t(482)](n);if(o[t(360)](r)){const e=o[t(249)](r);i[t(360)](r)||i[t(199)](r,{...e}),s[t(199)](r,{...e})}}}for(const e of i[t(210)]())e>=this[t(386)]&&i[t(248)](e);const c=new Map;for(const e of a){let n=r[t(395)][e];for(const e of n)if(e[t(367)].is(t(256),t(251))){const i=this[t(319)](e),n=e[t(367)][t(482)](i);if(s[t(360)](n)){const i=e[t(367)][t(266)][t(266)][t(482)](t(193)),r=c[t(249)](i)||new Set;r[t(239)](s[t(249)](n)[t(400)]),c[t(199)](i,r)}}n=r[t(399)][e];for(const e of n)if(e[t(367)].is(t(256),t(251))){const s=this[t(319)](e),n=e[t(367)][t(482)](s);if(i[t(360)](n)){const s=e[t(367)][t(266)][t(266)][t(482)](t(193)),r=c[t(249)](s)||new Set;r[t(239)](i[t(249)](n)[t(400)]),c[t(199)](s,r)}}for(const e of c[t(210)]())(s[t(360)](e)||i[t(360)](e))&&c[t(248)](e)}for(const e of a){const n=r[t(395)][e];let o=null,a=null;for(const e of n){const n=this[t(319)](e),r=e[t(367)][t(482)](n),u=c[t(249)](r);u&&t(358)==e[t(190)]&&(o=Array[t(225)](u)[0],a=e[t(367)][t(482)](t(359))),o&&(i[t(199)](r,{userId:o}),s[t(199)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(399)][e],a=n[t(395)][e];for(const{userId:e}of this[t(394)][t(373)]())null!==e&&l[t(239)](e);for(const{userId:e}of this[t(429)][t(373)]())null!==e&&l[t(239)](e);this[t(453)](a,r[t(395)][e],s,t(323),l),this[t(453)](o,r[t(399)][e],i,t(384),l),u[e]={insertions:this[t(235)](a),deletions:this[t(235)](o),attachChange:this[t(429)][t(249)](e)||null,attributesBefore:A(this[t(191)][t(249)](e))||{},attributesAfter:A(this[t(365)][t(249)](e))}}return{diffData:u,authorsIds:Array[t(225)](l)}}[rt(363)](t){const e=rt;for(const[,i]of t[e(385)]){const t=i[e(382)][e(242)]()[e(269)](t=>e(251)==t[e(330)]);for(const i of t)1==i[e(464)]&&i[e(401)](0).is(e(256),e(430))&&i[e(401)](0)[e(357)](e(343),!0)}}[rt(235)](t){const e=rt;this[e(363)](t);const i=this[e(255)][e(457)][e(391)](t,{}),s=Array[e(225)](i[e(226)]())[e(355)](t=>this[e(334)](t));return JSON[e(252)](s)}[rt(334)](t){const e=rt;if(t.is(e(260)))return t[e(457)];{const i=this[e(255)][e(486)][e(249)](e(263)),s=t,n=this[e(255)][e(457)][e(398)][e(261)],r={type:i[e(347)](s),name:s[e(330)],attributes:Array[e(225)](s[e(443)]()),children:Array[e(225)](s[e(226)]())[e(355)](t=>this[e(334)](t))};if(t.is(e(369))&&e(378)!=t[e(330)]){const i=t[e(171)](n[e(271)],n);r[e(335)][e(416)](i[e(340)])}else if(t.is(e(465))){const i=n[e(271)][e(390)](s[e(330)]);t[e(171)](i,n),r[e(335)][e(416)](i[e(241)])}const o=Array[e(225)](s[e(338)]());o[e(273)]>0&&(r[e(215)]=o);const a=s[e(289)]();return null!==a&&(r[e(447)]=a),r}}[rt(453)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(255)][r(250)];for(let s=0;s<e[r(273)];s++){const n=this[r(319)](e[s]),c=e[s][r(367)][r(482)](n),h=i[r(249)](c),d=s==e[r(273)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(400)]!=o[r(400)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(400)],d=l(320)+s+":"+h+":"+c++,f=u[l(290)](i,a);t[l(385)][l(199)](d,f),null!==h&&n[l(239)](h)}}[rt(319)](t){const e=rt;switch(t[e(190)]){case e(358):return e(193);case e(272):return e(359);default:return e(392)}}[rt(442)](t,e){const i=rt;t[i(308)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(249)](n[i(428)][i(209)]);t[s]=this[i(451)](n,r)}if(n instanceof Z.Range){const r=e[i(249)](n[i(428)][i(209)]);t[s]=this[i(179)](n,r)}i(428)===s&&(t[i(428)]=e[i(249)](t[i(428)][i(209)]))}}[rt(179)](t,e){const i=rt;return this[i(255)][i(250)][i(290)](this[i(451)](t[i(382)],e),this[i(451)](t[i(180)],e))}[rt(451)](t,e){const i=rt;return this[i(255)][i(250)][i(195)](e,t[i(206)],t[i(306)])}[rt(197)](t){const e=rt,i=this[e(224)][e(249)](t[e(388)][e(428)][e(209)]),s=this[e(451)](t[e(388)],i),n=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,r=s[e(266)],o=this[e(469)],a=[];for(const i of t[e(404)])if(i.is(e(256)))a[e(416)](this[e(376)](i));else for(let t=0;t<i[e(185)];t++)a[e(416)](new Z.Element(e(260),{vid:this[e(469)]++}));const c=this[e(469)];for(let t=o;t<c;t++)this[e(287)][e(199)](t,{userId:n});r[e(280)](s[e(304)],a)}[rt(309)](t){const e=rt;(t=this[e(288)](t,this[e(224)]))[e(214)]();const i=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(327)](),n=s[e(266)],r=s[e(304)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(401)](e);r.is(a(256),a(260))?s[a(199)](r[a(482)](a(392)),{userId:i}):(s[a(199)](r[a(482)](a(193)),{userId:i}),t(s,r,0,r[a(464)]),s[a(199)](r[a(482)](a(359)),{userId:i}))}}(this[e(287)],n,r,r+t[e(295)])}[rt(414)](t){const e=rt,i=null===(t=this[e(288)](t,this[e(224)]))[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(337)][e(266)],n=t[e(460)][e(266)],r=s[e(482)](e(359)),o=n[e(482)](e(193));s[e(357)](e(359),n[e(482)](e(359))),n[e(357)](e(359),r),this[e(287)][e(199)](o,{userId:i}),this[e(287)][e(199)](r,{userId:i}),t[e(214)]()}[rt(371)](t){const e=rt,i=null===(t=this[e(288)](t,this[e(224)]))[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,s=t[e(275)],n=t[e(387)][e(266)];t[e(214)]();const r=n[e(482)](e(359)),o=t[e(424)][e(183)];if(s){const t=o[e(482)](e(359)),s=n[e(482)](e(359));n[e(357)](e(359),t),o[e(357)](e(359),s),this[e(287)][e(199)](n[e(482)](e(359)),{userId:i}),this[e(287)][e(199)](o[e(482)](e(193)),{userId:i})}else{const t=this[e(469)]++,s=this[e(469)]++;n[e(357)](e(359),t),o[e(357)](e(193),s),o[e(357)](e(359),r),this[e(287)][e(199)](t,{userId:i}),this[e(287)][e(199)](s,{userId:i})}}[rt(341)](t){const e=rt;if(!t[e(480)])return;const i=(t=this[e(288)](t,this[e(433)]))[e(405)]?t[e(405)][e(428)]:null,s=t[e(301)]?t[e(301)][e(428)]:null;i&&this[e(196)][e(248)](t[e(330)]),s&&this[e(196)][e(199)](t[e(330)],t[e(301)][e(449)]());const n=null===t[e(468)]?null:t[e(468)]||this[e(255)][e(486)][e(249)](e(345)).me.id,r=t[e(330)];if(!this[e(394)][e(360)](r))return void this[e(394)][e(199)](r,{range:t[e(405)],userId:n});const o=this[e(394)][e(249)](r),a=o[e(268)],c=t[e(301)];null==a&&null==c||a&&c&&a[e(311)](c)?this[e(394)][e(248)](t[e(330)]):o[e(400)]=n}[rt(315)](t,e){const i=rt;this[i(433)][i(360)](t[i(209)])?this[i(433)][i(249)](t[i(209)])[i(205)]=t[i(423)]:(this[i(433)][i(199)](t[i(209)],ut(t[i(209)],!0)),this[i(365)][i(199)](t[i(209)],{}),e&&this[i(224)][i(199)](t[i(209)],ut(t[i(209)],!0)));const s=null===t[i(468)]?null:t[i(468)]||this[i(255)][i(486)][i(249)](i(345)).me.id,n=this[i(429)][i(249)](t[i(209)]);n&&n[i(400)]===s?this[i(429)][i(248)](t[i(209)]):this[i(429)][i(199)](t[i(209)],{userId:s,isAttached:t[i(423)]})}[rt(317)](t){const e=rt,i=this[e(365)][e(249)](t[e(428)][e(209)]);null===t[e(240)]?delete i[t[e(258)]]:i[t[e(258)]]=t[e(240)]}}function ct(t){const e=rt,i=ut(t[e(209)],t[e(234)]());for(const s of t[e(226)]()){const t=s[e(176)](!0);i[e(291)](t)}return i}function ut(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(209)]=t,s[i(205)]=e,s[i(234)]=()=>s[i(205)],s}function lt(t,e,i){const s=rt,n=s(272)==t[s(190)]?i[s(439)](t[s(367)],s(180)):i[s(339)](t[s(367)]);return i[s(195)](e,n[s(206)],n[s(306)])}function ht(t,e){const i=ft();return(ht=function(t,e){return i[t-=167]})(t,e)}function dt(t,e,i){const s=rt,n=s(358)==t[s(190)]?i[s(439)](t[s(367)],0):i[s(324)](t[s(367)]);return i[s(195)](e,n[s(206)],n[s(306)])}function ft(){const t=["text","isEqual","_saveMetaData","_loadState","then","_handleRootOperation","_bufferUpdate","_handleRootAttributeOperation","revisionHistoryLicenseKeyUsageLimit","_getVidAttributeName","revision:","size","addRoot","insertion","createPositionAfter","toVersion","_makeRevision","getMovedRangeStart","_calculateMetaData","RevisionHistory","name","_baseRoots","getIndex","1170156cVhRGS","_getViewJson","children","loadRevisionData","targetPosition","getCustomProperties","createPositionBefore","outerHTML","_handleMarkerOperation","_startingVersion","keepParagraph","sendBufferedUpdates","Users","clear","_getTypeCharForViewElement","find","isPremiumPlugin","_isPendingUpdate","removeRootAttribute","1354906nQSNSr","featureNotAllowed","_bufferedUpdates","map","_pendingAction","_setAttribute","elementStart","vid_end","has","marker","RealTimeCollaborationClient","_processRootBeforeSave","licenseKey","_diffRootsAttributes","roots","item","getRevision","uiElement","_utils","_handleSplitOperation","871872oWjHlu","values","_getBaseVids","_createFromRanges","_makeIdsRoot","collaboration.channelId","$comment","getRootNames","getOperations","authors","start","dataToMarker","deletion","markers","_startingRevisionId","splitPosition","position","_initialRevisionId","createElement","toView","vid","_removeMetaData","_touchedMarkers","insertions","update","NEGATIVE_INFINITY","htmlProcessor","deletions","userId","getChild","addRootAttribute","domainLimit","nodes","oldRange","2897436OfXaGb","authorsIds","fromEntries","diffData","changeRootAttribute","_setConversion","revisionHistoryLicenseKeyNotAllowed","pluginName","_handleMergeOperation","trim","push","startsWith","locale","getTransformedByOperation","revision","$graveyard","_lastTo","isAdd","insertionPosition","revisionHistoryLicenseKeyTrialLimit","_reset","revisionHistoryLicenseKeyExpired","root","_touchedRoots","paragraph","rootsAttributes","addRevision","_diffRoots","resolve","getData","getUser","_getPreviousFrom","version","createPositionAt","dataDowncast","repository","_fixOperation","getAttributes","23981181urtdLm","_continueCurrentRevision","_createInitialRevision","fillerOffset","RevisionTracker","clone","_operations","_fixPosition","updateRevisions","_markChanges","getRevisionDocumentData","reinsert","_removePendingAction","data","getRange","documentFragment","sourcePosition","setRevisionData","string","isOfficialPlugin","childCount","rawElement","for","revisionHistoryLicenseKeyValid","_authorId","_revisionId","setSource","_addPendingAction","createRangeIn","merge","reverse","_getState","markerToData","revisionHistoryLicenseKeyInvalid","init","RevisionsRepository","affectsData","_isInit","getAttribute","attributesBefore","history","7967480DMwDhR","plugins","getOperation","_lastFrom","afterInit","getRevisionRootsAttributes","render","attributesAfter","upcast","_generateTape","_baseIdsRoots","_clone","previousPosition","detachRoot","_fixRange","end","getLatestVersion","_makeModelFromViewString","nodeAfter","creatorId","offsetSize","evaluationLimit","_revisionDataBuilder","PendingActions","conversion","type","_baseRootsAttributes","addRevisionData","vid_start","getCurrentRevisionId","createPositionFromPath","_markers","_handleInsertOperation","revisionHistoryLicenseKeyEvaluationLimit","set","_replaceEditorDataWithRevisionData","_findInsertionIndex","reInit","slice","config","_isAttached","path","document","define","rootName","keys","move","_showLicenseError","Empty document","_execute","customProperties","fromVersion","getRoot","initial","createdAt","_createCurrentRevision","hasContent","remove","buildRevisionData","_idsRoots","from","getChildren","split","insert","_copyMarkers","revisionHistoryLicenseKeyDomainLimit","_licenseKeyCheckInterval","source","expired","isAttached","_prepareViewToSave","editor-initial-data-replaced-with-revision-data","finally","getRevisions","add","newValue","innerHTML","getAncestors","PENDING_ACTION_REVISION_HISTORY","currentRevision","loadState","getTime","_getFromVersion","delete","get","model","tableCell","stringify","trialLimit","revisionHistory.resumeUnsavedRevision","editor","element","some","key","_applyOperations","$text","domConverter","_loadedStateData","RevisionHistoryUtils","isReady","2496987CUGoGk","parent","initialData","range","filter","includes","domDocument","elementEnd","length","getWalker","graveyardPosition","_update","ready","saveRevision","shift","_insertChild","max","adapter","destroy","createRevision","getNodeByPath","creator","_touched","_cloneOperation","getFillerOffset","createRange","_appendChild","sort","invalid","_savedMetaData","howMany","requires","Initial revision","bind","usageLimit","_handleOperation","newRange","_transformMarkers","isEnabled","offset","attachChange","stickiness","_source","baseVersion","_handleMoveOperation"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Et(){const t=["errorText","stopPropagation","revisionNameInputValue","keystrokes","input","arrowleft","reset","Name of the revision","optional","extendTemplate","element","listenTo","revisionNameInputView","arrowup","91WsOsTc","form","705700gWLqcx","_createRevisionNameInput","value","label","fieldView","ck-responsive-form","add","ck-revision-history-save-revision-form","set","40wcCzBQ","28772XGzpef","render","468306NFOjvb","locale","arrowright","focusTracker","trim","focus","revisionName","353336WRfqoa","2372388GkfifB","arrowdown","2582558HhGZeZ","3Zwyrwq","5509629TqgXcF","setTemplate","23BryvLJ","220"];return(Et=function(){return t})()}function Vt(t,e){const i=Et();return(Vt=function(t,e){return i[t-=475]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(852978===parseInt(e(498))/1*(-parseInt(e(482))/2)+-parseInt(e(495))/3*(-parseInt(e(492))/4)+-parseInt(e(516))/5+-parseInt(e(484))/6*(-parseInt(e(514))/7)+parseInt(e(491))/8+parseInt(e(496))/9+parseInt(e(481))/10*(-parseInt(e(494))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Mt extends pt.View{[At(487)];[At(503)];[At(512)];constructor(e,i){const s=At;super(e),this[s(487)]=new t.FocusTracker,this[s(503)]=new t.KeystrokeHandler,this[s(480)](s(502),""),this[s(512)]=this[s(517)](i),this[s(497)]({tag:s(515),attributes:{class:["ck",s(479),s(477)],tabindex:"-1"},children:[this[s(512)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(483)](){const t=At;super[t(483)](),(0,pt.submitHandler)({view:this}),this[t(487)][t(478)](this[t(512)][t(510)]),this[t(503)][t(511)](this[t(510)]);const e=e=>e[t(501)]();this[t(503)][t(480)](t(486),e),this[t(503)][t(480)](t(505),e),this[t(503)][t(480)](t(513),e),this[t(503)][t(480)](t(493),e)}[At(489)](){const t=At;this[t(512)][t(489)]()}get[At(490)](){const t=At;return this[t(512)][t(476)][t(510)][t(518)][t(488)]()}set[At(490)](t){const e=At;this[e(512)][e(476)][e(510)][e(518)]=t[e(488)]()}[At(506)](){const t=At;this[t(512)][t(476)][t(510)][t(518)]="",this[t(512)][t(500)]=null}[At(517)](t){const e=At,i=new pt.LabeledFieldView(this[e(485)],pt.createLabeledInputText),s=i[e(476)];s[e(509)]({attributes:{maxlength:e(499)}});let n=Q(this[e(485)],e(507));return!t&&(n+=" ("+Q(this[e(485)],e(508))+")"),i[e(475)]=n,s.on(e(504),()=>{const t=e;this[t(502)]=s[t(510)][t(518)][t(488)]()}),i}}function Dt(t,e){const i=Ft();return(Dt=function(t,e){return i[t-=351]})(t,e)}const Ct=Dt;function Ft(){const t=["requires","Open revision history","isReady","Revision history","items","hide","23858FwYtKu","_showDialog","showRevisionViewerCallback","Save current revision","5nZdbru","add","revisionNameInputView","Dialog","2120dQDRAY","menuitem","submit","revisionHistory","The revision name cannot be empty.","role","42690WvaNWo","bind","init","revisionSave","menuBar:revisionHistory","buttonView","isEnabled","get","isOpen","470aIiueB","componentFactory","pluginName","RevisionHistoryUI","_createSaveRevisionFormView","panelView","565166enhWuw","865864jkfFWE","RevisionTracker","show","45aKKRPp","reset","_registerMenuComponent","config","render","Accept","revisionName","delegate","revisionHistory.requireRevisionName","focus","children","75581sIQpHJ","2250CKCdrG","Cancel","editing","isOfficialPlugin","menu","execute","plugins","ck-button-action","saveRevision","set","editor","addMany","_saveRevisionFormView","isReadOnly","isPremiumPlugin","errorText","314550qIsCGU","view","locale"];return(Ft=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(148153===-parseInt(e(415))/1+parseInt(e(401))/2*(parseInt(e(364))/3)+parseInt(e(361))/4*(-parseInt(e(405))/5)+parseInt(e(392))/6+-parseInt(e(360))/7+parseInt(e(409))/8*(-parseInt(e(376))/9)+parseInt(e(354))/10*(parseInt(e(375))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Ct(356)](){return Ct(357)}static get[Ct(379)](){return!0}static get[Ct(390)](){return!0}static get[Ct(395)](){return[ot]}[Ct(388)];[Ct(417)](){const t=Ct,e=this[t(386)],i=e[t(382)][t(352)](t(362));e.ui[t(355)][t(406)](t(412),s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(359)][n(374)],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(416)](n(351)).to(i,n(397),i,n(351),e,n(389),(t,e,i)=>t&&e&&!i),r[n(420)][n(385)]({icon:mt.IconHistory,label:Q(s,n(398)),tooltip:!0}),u[n(385)]({label:Q(s,n(404)),withText:!0,role:n(410)}),u[n(416)](n(351)).to(i,n(397),i,n(351),e,n(389),(t,e,i)=>t&&e&&!i),u.on(n(381),()=>this[n(402)]()),h[n(385)]({label:Q(s,n(396)),withText:!0,role:n(410)}),h[n(416)](n(351)).to(i,n(397),e,n(389),(t,e)=>t&&!e),h.on(n(381),()=>{const t=n;e[t(367)][t(352)](t(412))[t(403)](),r[t(353)]=!1,e[t(378)][t(393)][t(373)]()}),c[n(374)][n(406)](u),l[n(374)][n(406)](h),a[n(414)]=n(380),a[n(399)][n(387)]([c,l]),o[n(406)](a),r}),e.ui[t(355)][t(406)](t(419),()=>this[t(366)]())}[Ct(366)](){const t=Ct,e=this[t(386)],i=e[t(394)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(420)][t(385)]({icon:mt.IconHistory,label:Q(i,t(398))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(385)]({label:Q(i,t(404))}),o[t(371)](t(381)).to(s),o.on(t(381),()=>{this[t(402)]()}),r[t(374)][t(406)](o),n[t(399)][t(406)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(385)]({label:Q(i,t(396))}),c[t(371)](t(381)).to(s),c.on(t(381),()=>{const i=t;e[i(367)][i(352)](i(412))[i(403)]()}),a[t(374)][t(406)](c),n[t(399)][t(406)](a),s[t(359)][t(374)][t(406)](n),s}[Ct(402)](){const t=Ct,e=this[t(386)],i=e[t(394)],s=e[t(382)][t(352)](t(408)),n=e[t(382)][t(352)](t(362));function r(n){const r=t;e[r(367)][r(352)](r(372))&&""===n[r(370)]?n[r(407)][r(391)]=Q(i,r(413)):(e[r(382)][r(352)](ot)[r(384)]({name:n[r(370)]}),s[r(400)]())}this[t(388)]||(this[t(358)](),this[t(388)].on(t(411),()=>r(this[t(388)]))),this[t(388)][t(365)](),s[t(363)]({id:t(418),title:Q(i,t(404)),isModal:!0,content:this[t(388)],actionButtons:[{label:Q(e[t(394)],t(377)),withText:!0,onExecute:()=>s[t(400)]()},{label:Q(e[t(394)],t(369)),class:t(383),withText:!0,onCreate(i){const s=t;i[s(416)](s(351)).to(n,s(397),n,s(351),e,s(389),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(388)])}]})}[Ct(358)](){const t=Ct,e=this[t(386)],i=e[t(394)];this[t(388)]=new Mt(i,e[t(367)][t(352)](t(372))),this[t(388)][t(368)]()}}const Lt=Wt;function Pt(){const t=["Removed by","data","setTemplate","element","827850Vsciim","type","74510iblcnc","set","72fRTedT","isSuggestion","name","3WKZEXb","ck-annotation","_model","bindTemplate","author","2314244nJpKpU","42BARHbU","Added by","add","focus","div","ck-revision-change__","517848Jecygb","6445260sshJue","changeId","Suggested by","ck-revision-change","534100RCxQFx","span","ck-revision-change__label","4761gbCzif"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=361]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(383875===-parseInt(e(378))/1+parseInt(e(391))/2+parseInt(e(366))/3*(parseInt(e(371))/4)+parseInt(e(361))/5+parseInt(e(372))/6*(parseInt(e(383))/7)+parseInt(e(363))/8*(parseInt(e(386))/9)+-parseInt(e(379))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends pt.View{[Lt(380)];[Lt(368)];constructor(t,e){const i=Lt;super(t),this[i(368)]=e,this[i(380)]=e.id;const s=this[i(369)],n=Q(t,e[i(388)][i(364)]?i(381):i(374)==e[i(392)]?i(373):i(387));this[i(362)](i(392),e[i(392)]),this[i(389)]({tag:i(376),attributes:{class:[i(367),i(382),s.to(i(392),t=>i(377)+t)],tabindex:-1},children:[{tag:i(384),children:[{tag:i(384),attributes:{class:[i(385)]},children:[{text:n}]},{text:" "+e[i(370)][i(365)]}]}]})}[Lt(375)](){const t=Lt;this[t(390)][t(375)]()}}var Ut=Ht;function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=240]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(170273===parseInt(e(252))/1+parseInt(e(244))/2*(parseInt(e(253))/3)+-parseInt(e(247))/4*(-parseInt(e(243))/5)+parseInt(e(241))/6+-parseInt(e(251))/7*(-parseInt(e(254))/8)+parseInt(e(246))/9*(-parseInt(e(249))/10)+-parseInt(e(257))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(256)];[Ut(242)];[Ut(240)];[Ut(248)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(256)]=e[i(256)],this[i(242)]=e[i(242)],this[i(240)]=e[i(240)]||{},this[i(248)]=e[i(248)],this[i(250)](i(255),e[i(255)])}[Ut(245)](){var t=Ut;return{id:this.id,authorId:this[t(256)].id,type:this[t(242)],data:this[t(240)],createdAt:this[t(255)]}}}function qt(){var t=["2205fAOiIN","568972YzdcpJ","rootName","6070kzGseT","set","2807YTfuEm","220019kCfeBr","15ZkkEUc","4624iyUpSG","createdAt","author","8956915YPcPoZ","data","2022918NohjIv","type","5hYLKNo","80824STpFUK","toJSON"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=478]})(t,e)}function Yt(){const t=["4655EtWXEq","add","403534ssWvnj","274515sxrAWf","7WHUpWU","84uVUBEH","oldRevisionId","10705554mRurkj","1305887EnatnY","20aSeWks","2578395rqWrWV","changes","_setChanges","newRevisionId","3751404loreZE","8XbxAYo"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(735978===-parseInt(e(487))/1+-parseInt(e(486))/2+-parseInt(e(478))/3+parseInt(e(489))/4*(parseInt(e(484))/5)+-parseInt(e(482))/6*(-parseInt(e(488))/7)+-parseInt(e(483))/8*(-parseInt(e(491))/9)+-parseInt(e(493))/10*(-parseInt(e(492))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(481)];[$t(490)];[$t(479)];constructor(e,i){const s=$t;this[s(481)]=e,this[s(490)]=i,this[s(479)]=new t.Collection}[$t(480)](t){const e=$t;for(const i of t)this[e(479)][e(485)](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=ee();return(Qt=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=Qt,i=t();for(;;)try{if(685766===parseInt(e(553))/1*(parseInt(e(647))/2)+parseInt(e(525))/3*(parseInt(e(539))/4)+-parseInt(e(669))/5*(-parseInt(e(450))/6)+parseInt(e(448))/7*(parseInt(e(611))/8)+parseInt(e(510))/9*(parseInt(e(498))/10)+parseInt(e(589))/11*(-parseInt(e(569))/12)+-parseInt(e(633))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class te extends U.Plugin{[Xt(654)];[Xt(449)]=null;[Xt(378)];[Xt(635)];[Xt(538)];[Xt(588)];[Xt(618)];static get[Xt(531)](){return Xt(349)}static get[Xt(651)](){return!0}static get[Xt(370)](){return!0}static get[Xt(470)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(654)]=this[e(489)][e(429)][e(457)](e(495)),this[e(378)]=this[e(489)][e(429)][e(457)](e(667)),this[e(527)](e(417),null),this[e(527)](e(394),null),this[e(635)]=null,this[e(527)](e(612),null),this[e(527)](e(614),!1),this[e(527)](e(347),!0),this.on(e(613),(t,i,s)=>{const n=e;this[n(417)]=null,this[n(394)]=null,this[n(489)][n(497)][n(492)][n(358)](t=>{const e=n;for(const i of this[e(489)][e(497)][e(492)][e(600)][e(506)])s?t[e(558)](e(376),i):t[e(617)](e(376),i)})}),this[e(546)](e(428)).to(this,e(417),t=>null!==t),this[e(546)](e(599)).to(this,e(614),this,e(612),this,e(417),(t,i,s)=>t&&s?i[e(438)][e(374)](s):0),this[e(546)](e(650)).to(this,e(614),this,e(612),(t,i)=>t?i[e(438)][e(362)]:0),this[e(538)]=null,this[e(588)]=new Map,this[e(618)]=this[e(489)][e(429)][e(457)](pt.ContextualBalloon)}[Xt(432)](){const t=Xt,e=this[t(489)],i=new ne(e,{direction:t(453)}),s=new ne(e,{direction:t(662)});e[t(547)][t(494)](t(608),i),e[t(547)][t(494)](t(520),s),e[t(547)][t(494)](t(486),new se(e)),this.on(t(443),()=>{const e=t;i[e(355)](),s[e(355)]()}),this[t(592)](),this[t(446)](),e[t(591)](t(357)),e[t(429)][t(642)](t(582))&&e[t(429)][t(457)](t(582))[t(660)](t(357))}async[Xt(488)](t){const e=Xt;return await this[e(378)][e(427)](t,this[e(449)]),this[e(378)][e(488)](t)}async[Xt(356)](t){const e=Xt;return await this[e(378)][e(427)](t,this[e(449)]),this[e(378)][e(356)](t)}async[Xt(372)](t,e,i=!1){const s=Xt;if(!this[s(347)])return;const n=this[s(612)],r=this[s(654)],o=s(670)==typeof t?r[s(619)](t):t,a=s(670)==typeof e?r[s(619)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(612)]&&this[s(612)][s(412)]===c&&this[s(612)][s(671)]===u)return Promise[s(395)]();this[s(614)]=!1,this[s(394)]=null,this[s(417)]=null,this[s(612)]=new Jt(c,u);const l=this[s(628)](o,a,!0)[s(380)](t=>this[s(378)][s(427)](t,this[s(449)]));return l[s(392)](new Promise(t=>{setTimeout(t,20)})),Promise[s(632)](l)[s(571)](()=>{const t=s;if(!this[t(347)])return;this[t(416)]();const e=this[t(484)](c,u);for(const i of e[t(438)])this[t(588)][t(527)](i.id,i);this[t(489)][t(423)][t(643)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(489)][s(423)][s(600)][s(386)]())i[s(516)](t);for(const t of Object[s(630)](e[s(423)])){const n=i[s(637)](t);for(const r of Object[s(630)](e[s(442)][t]))i[s(587)](r,e[s(442)][t][r],n);i[s(348)](e[s(423)][t],n,0)}}),this[t(612)][t(369)](this[t(629)](e[t(438)])),this[t(614)]=!0})[s(593)](t=>{const e=s;console[e(672)](t),this[e(416)](),n&&(this[e(612)]=n),this[e(614)]=!0})}[Xt(452)](t,e){const i=Xt,s=this[i(654)][i(545)](t);return s.on(i(540),(t,i,n)=>e(i,n,s)),this[i(654)][i(666)](s),s}[Xt(416)](){const t=Xt;this[t(417)]=null,this[t(567)](),this[t(538)]&&this[t(538)][t(640)](),this[t(538)]=null,this[t(588)][t(580)](),this[t(489)][t(423)][t(643)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(489)][i(423)][i(600)][i(386)]())e[i(516)](t)})}[Xt(629)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(489)][e(423)][e(600)][e(386)]()){const n=this[e(489)][e(497)][e(492)][e(353)](t);if(!n)continue;const r=n[e(661)]()[e(623)](0);r&&(i[e(392)](t),s[e(527)](t,r))}return i[e(536)]((t,i)=>{const n=e,r=s[n(457)](t),o=s[n(457)](i);return r.y-o.y||r.x-o.x}),(t=t[e(668)](t=>i[e(656)](t[e(364)])))[e(536)]((t,s)=>i[e(413)](t[e(364)])-i[e(413)](s[e(364)])),t}[Xt(624)](t){const e=Xt,i=Array[e(444)](t[e(585)])[e(668)](([t,i])=>t[e(464)](e(621))&&!i[e(456)]),s=Array[e(444)](this[e(489)][e(423)][e(403)](t)[e(577)]({singleCharacters:!0}));if(0!=i[e(362)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(409)](":");if(n[e(407)][e(361)](t[e(363)])&&i[e(401)](),(t[e(471)][e(361)](n[e(360)])||t[e(471)][e(425)](n[e(360)]))&&(e(532)==r?t[e(398)]={userId:o}:e(674)==r&&(t[e(675)]={userId:o})),0==i[e(362)])break}return s}[Xt(542)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(362)];s++)e(602)===t[s][e(359)]?(t[s][e(623)][e(414)]=s,t[s][e(623)][e(397)]=s):(e(491)===t[s][e(359)]?t[s][e(623)][e(414)]=s:e(477)===t[s][e(359)]&&(t[s][e(623)][e(397)]=s),i[e(527)](t[s].id,s));for(const s of i[e(503)]())e(491)===t[s][e(359)]?t[s][e(623)][e(397)]=i[e(457)](t[s][e(626)]):e(477)===t[s][e(359)]&&(t[s][e(623)][e(414)]=i[e(457)](t[s][e(626)]))}[Xt(393)](t){const e=Xt;for(let i=0;i<t[e(362)];i++){if(e(491)===t[i][e(359)])t[i][e(623)][e(414)]=i;else if(e(477)===t[i][e(359)]){t[i][e(623)][e(397)]=i;const s=t[i][e(623)][e(414)];t[s][e(626)]=t[i].id,t[i][e(626)]=t[s].id}else t[i][e(623)][e(414)]=i,t[i][e(623)][e(397)]=i,t[i][e(626)]=null;t[i][e(368)]||(t[i][e(368)]=[],t[i][e(537)]=[])}}[Xt(622)](t,e){const i=Xt,s=t[i(668)](t=>!t[i(398)]);for(let t=0;t<e[i(362)];t++)e[t][i(398)]&&(s[t][i(398)]=e[t][i(398)])}[Xt(484)](t,e=null){const i=Xt,s=this[i(654)][i(619)](t),n=e?this[i(654)][i(619)](e):null,r=this[i(628)](s,n),o=r[r[i(362)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(362)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(630)](e[i(479)]))if(e[i(479)][t][i(499)]){const s=e[i(479)][t][i(499)];s[i(556)]?(u[i(494)](t),l[i(642)](t)&&l[i(457)](t)[i(426)]==s[i(426)]?l[i(351)](t):l[i(527)](t,s)):l[i(642)](t)?(u[i(351)](t),l[i(351)](t)):(u[i(494)](t),l[i(527)](t,s))}else u[i(494)](t)}for(const t of u){const e=l[i(642)](t)&&!l[i(457)](t)[i(556)];let s=e?r[i(362)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(479)][t]){const s=e?o[i(479)][t][i(658)]:o[i(479)][t][i(451)];c[i(442)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(423)]={};for(const e of t[i(441)])a[i(527)](e.id,e);for(const e of u){const s=t[i(479)][e]?t[i(479)][e][i(530)]:"[]",n=t[i(479)][e]?t[i(479)][e][i(566)]:"[]";t[i(423)][e]={insertions:this[i(378)][i(511)](s),deletions:this[i(378)][i(511)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(444)](s[i(423)][t][i(530)][i(585)])[i(668)](([t])=>!t[i(464)](i(621))));let h=0;for(const o of r){const r=this[i(624)](o[i(423)][t][i(530)]);o==s?(e=r,n=e[i(362)],e[i(673)](t=>{t.id=h++}),this[i(393)](e)):this[i(622)](e,r);const a=e[i(668)](t=>!t[i(398)])[i(380)](t=>t.id);let c=0;const l=this[i(624)](o[i(423)][t][i(566)]);l[i(673)](t=>{t[i(675)]?t.id=n++:t.id=a[c++]}),this[i(393)](l),this[i(509)](e,i(398)),this[i(509)](l,i(675)),o==s&&this[i(373)](e,u),e=this[i(385)](e,l),this[i(542)](e),this[i(509)](e,i(675))}e=e[i(668)](t=>!(t[i(398)]&&t[i(675)]));const d=new Map(o[i(423)][t][i(566)][i(585)]),f=new Set(u[i(630)]());for(const t of d[i(630)]())f[i(351)](t);this[i(396)](e,f),this[i(406)](e),e=this[i(461)](e),e=this[i(594)](e),e=this[i(549)](e);const{root:m,changes:p}=this[i(578)](e,a,t);c[i(423)][t]=m;const v=l[i(457)](t);if(v){const e=a[i(457)](v[i(426)]),s=new Zt({author:e,type:v[i(556)]?i(494):i(529),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(655)](s),c[i(442)][t][i(433)]=s.id}c[i(438)]=c[i(438)][i(508)](p)}return c}[Xt(373)](t,e){const i=Xt;for(let s=0;s<t[i(362)];s++)for(const[n,r]of e)!r[i(456)]&&r[i(360)][i(361)](t[s][i(471)])&&t[s][i(368)][i(392)](n),r[i(407)][i(361)](t[s][i(363)])&&t[s][i(537)][i(392)](n)}[Xt(385)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(362)]||r<e[i(362)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(392)](o);else if(a[i(675)]&&o[i(398)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(657)](t,n,e,r);s=s[i(508)](o),n=a,r=c}else a[i(675)]?(r++,s[i(392)](a)):(n++,s[i(392)](o))}return s}[Xt(396)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(362)];o++){for(let r=0;r<t[o][i(368)][i(362)];r++){const a=t[o][i(368)][r];if(!e[i(642)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(419)!=c||i(532)!=u&&i(674)!=u||(s[i(655)]({type:u,name:a,userId:l}),t[o][i(368)][i(365)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(537)][i(362)];r++){const a=t[o][i(537)][r];if(!e[i(642)](a))continue;const{group:c,type:u}=n(a);if(i(419)!=c||i(532)!=u&&i(674)!=u)continue;t[o][i(537)][i(365)](r,1),r--;const l=s[i(631)](t=>t[i(460)]==a);l>-1&&s[i(365)](l,1)}}function n(t){const e=i,s=t[e(409)](":");return{group:s[0],type:s[1],subType:s[e(362)]>=5?s[2]:null,id:s[e(362)]<5?s[2]:s[3],authorId:s[e(362)]<5?s[3]:s[4],markerCount:6==s[e(362)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(362)];i++){if(t[e(398)]&&e(532)==s[i][e(359)]&&t[e(398)][e(426)]==s[i][e(426)])return t[e(502)]=s[i],void delete t[e(398)];if(!t[e(398)]&&!t[e(675)]&&e(674)==s[i][e(359)])return void(t[e(482)]=s[i])}}}[Xt(509)](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(527)](o.id,s);for(let s=0;s<t[i(362)];s++){if(i(675)==e&&t[s][i(398)]||i(398)==e&&t[s][i(675)])continue;if(i(602)==t[s][i(359)]){t[s][i(383)]=0;continue}const n=r[i(457)](t[s][i(626)]),o=r[i(457)](t[s].id);t[s][i(383)]=n-o}}[Xt(628)](t,e,i=!1){const s=Xt,n=[];let r=this[s(654)][s(374)](t),o=this[s(654)][s(374)](e);for(-1==o&&(o=this[s(654)][s(474)][s(362)],i=!1);r<o;)n[s(392)](this[s(654)][s(619)](r)),r++;return i&&n[s(392)](this[s(654)][s(619)](r)),n}[Xt(657)](t,e,i,s){const n=Xt,r=this[n(489)][n(423)][n(475)];let o=e;for(;t[o]&&t[o][n(398)];)o++;let a=s;for(;i[a]&&i[a][n(675)];)a++;u(t,e,o),u(i,s,a);const c=i[n(424)](s,a)[n(508)](t[n(424)](e,o));return c[n(536)]((t,e)=>t[n(560)]!=e[n(560)]?t[n(560)]-e[n(560)]:t[n(391)]!=e[n(391)]?t[n(391)]-e[n(391)]:t[n(383)]!=e[n(383)]?e[n(383)]-t[n(383)]:!!t[n(398)]!=!!e[n(398)]?-1==t[n(560)]||0==t[n(560)]?t[n(398)]?-1:1:t[n(398)]?1:-1:t[n(480)]-e[n(480)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(519)],c=!0;for(let n=e;n<i;n++)if(r[s(467)](t[n][s(623)])||(c=!1),t[n][s(623)][s(414)]<e&&(o=n),t[n][s(623)][s(397)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(560)]=n<=o?-1:n<a?0:1,t[n][s(480)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(383)]?t[i][s(391)]=u:(u++,t[i][s(391)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(560)]&&(t[n][s(391)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(383)]?t[e][s(391)]=u:(u--,t[e][s(391)]=u,u--)}}[Xt(406)](t){const e=Xt,i=new Map,s=this[e(489)][e(423)][e(475)];for(let n=1;n<t[e(362)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(602)==c[e(359)])continue;if(c[e(359)]!=u[e(359)])continue;if(!s[e(518)](u[e(623)])||s[e(564)](u[e(623)]))continue;if(!s[e(518)](c[e(623)])||s[e(564)](c[e(623)]))continue;if((t[n][e(398)]||t[n][e(502)])&&t[n-1][e(675)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(675)]||!t[n-1][e(398)]&&!t[n-1][e(502)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(391)]==o[e(391)],h=Math[e(473)](r[e(391)])<Math[e(473)](o[e(391)])&&0==o[e(383)];(l||h)&&(i[e(527)](o.id,r.id),t[e(365)](a,1),n--,r[e(398)]=!1)}for(let s=0;s<t[e(362)];s++)i[e(642)](t[s][e(626)])&&(t[s][e(626)]=i[e(457)](t[s][e(626)]))}[Xt(461)](t){const e=Xt,i=new Set(t[e(380)](t=>t.id));for(let s=0;s<t[e(362)];s++)i[e(642)](t[s][e(626)])||0==t[s][e(383)]||(t[s][e(454)]=!0);return t[e(668)](t=>!t[e(454)])}[Xt(594)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(362)];s++){if(i[e(642)](t[s].id)&&t[s][e(675)]&&(t[s][e(454)]=!0),t[s][e(454)])continue;if(0==t[s][e(383)])continue;if(e(491)!=t[s][e(359)])continue;if(null==t[s][e(626)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(626)];)e(491)==t[n][e(359)]?r++:e(477)==t[n][e(359)]&&r--,n++;if(0!=r)if(t[s][e(675)])t[s][e(454)]=!0;else for(;n!=s;)t[n][e(675)]&&0!=t[n][e(383)]&&(t[n][e(454)]=!0,i[e(494)](t[n][e(626)])),n--}return t[e(668)](t=>!t[e(454)])}[Xt(549)](t){const e=Xt,i=this[e(489)][e(423)][e(475)];for(let s=0;s<t[e(362)];s++){if(!(t[s][e(398)]||t[s][e(502)]||t[s][e(675)]||t[s][e(482)]))continue;if(0==t[s][e(383)])continue;const n=t[s][e(623)];i[e(518)](n)||i[e(564)](n)||(t[s][e(398)]&&delete t[s][e(398)],t[s][e(502)]&&delete t[s][e(502)],t[s][e(482)]&&delete t[s][e(482)],t[s][e(675)]&&(t[s][e(454)]=!0))}return t[e(668)](t=>!t[e(454)])}[Xt(578)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(489)][s(423)],c=a[s(475)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(362)];e++)if(s(491)===t[e][s(359)]){t[e][s(471)]=a[s(402)](n,f);const i=new Z.Element(t[e][s(623)][s(460)],t[e][s(623)][s(534)]());u[0][s(641)](i),f[s(392)](0),u[s(655)](i),t[e][s(363)]=a[s(402)](n,f)}else s(477)===t[e][s(359)]?(u[s(401)](),t[e][s(471)]=a[s(402)](n,f),f[s(375)](),f[f[s(362)]-1]++,t[e][s(363)]=a[s(402)](n,f)):(t[e][s(471)]=a[s(402)](n,f),d?d[s(541)]+=t[e][s(623)][s(436)]:d=new Z.Text(t[e][s(623)][s(436)],t[e][s(623)][s(534)]()),t[e+1]&&s(602)===t[e+1][s(359)]&&v(d,t[e+1][s(623)])||(u[0][s(641)](d),d=null),f[f[s(362)]-1]+=t[e][s(623)][s(648)],t[e][s(363)]=a[s(402)](n,f));for(let e=0;e<t[s(362)];e++){const i=t[e][s(471)],n=t[e][s(363)];for(const n of t[e][s(368)])o[s(527)](n,{start:i,end:null});m(s(482),e,i,n),m(s(502),e,i,n),m(s(675),e,i,n),m(s(398),e,i,n);for(const i of t[e][s(537)]){const t=o[s(457)](i);t?t[s(407)]=n:o[s(527)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(489)][s(423)][s(465)](e[s(360)],e[s(407)]);n[s(585)][s(527)](t,i)}return r[s(536)]((t,e)=>{const i=s,r=n[i(585)][i(457)](i(621)+t.id),o=n[i(585)][i(457)](i(621)+e.id);return r[i(360)][i(431)](o[i(360)])?-1:r[i(360)][i(425)](o[i(360)])?1:r[i(407)][i(431)](o[i(407)])?-1:r[i(407)][i(425)](o[i(407)])?1:i(494)===t[i(359)]?-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(426)]:null,d=i===t[o(362)]-1,f=h[e][0],m=c[o(469)](t[i][o(623)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(407)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(426)]!==u&&(l[e][o(407)]=n,f&&f[o(426)]===l[e][o(426)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(491)!==t[i][o(359)]||f&&f[o(426)]===u||h[e][o(655)]({userId:u,object:t[i][o(623)],change:l[e]}),o(477)===t[i][o(359)]&&f&&f[o(598)]===t[i][o(623)]&&(h[e][o(401)](),l[e]=f[o(358)])),l[e]&&d&&(l[e][o(407)]=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(623)],f=a[h(475)][h(518)](d)&&!a[h(475)][h(564)](d),m=t[h(601)]==o[h(664)]&&o[h(634)];if(f&&m)return;const p=a[h(465)](t,o),v=e[h(457)](u),g=new Zt({author:v,type:h(398)==l||h(502)==l?h(494):h(529),data:{isSuggestion:h(502)==l||h(482)==l},createdAt:new Date,rootName:i});r[h(392)](g),n[h(585)][h(527)](h(621)+g.id,p)}function v(t,e){const i=s,n=t[i(534)](),r=e[i(534)]();for(const t of n){if(t[1]!==e[i(596)](t[0]))return!1;r[i(610)]()}return r[i(610)]()[i(352)]}}[Xt(592)](){const t=Xt;this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(665)}),this[t(489)][t(638)][t(575)](t(493))[t(563)]({model:t(665),view:e=>{const i=t,s=e[i(615)][i(409)](":")[1],n=this[i(371)](s);if(!n)return null;const r=i(494)==n[i(359)]?i(532):i(674),o=[i(521),i(559)+r];return n[i(436)][i(605)]&&o[i(392)](i(559)+r+i(485)),this[i(417)]==n&&o[i(392)](i(430)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(489)][t(638)][t(575)](t(367))[t(494)](e=>{const i=t;e.on(i(544),(t,e,s)=>{const n=i,r=e[n(645)][n(565)](0);if(!r||!r.is(n(616),n(408)))return;if(!s[n(440)][n(458)](r,{attributes:[n(607),n(554)]}))return;const o=e[n(501)][n(360)][n(601)];s[n(649)][n(587)](n(607),r[n(596)](n(607)),o),s[n(649)][n(587)](n(554),r[n(596)](n(554)),o)},{priority:i(459)})}),this[t(489)][t(638)][t(575)](t(367))[t(494)](e=>{const i=t;e.on(i(616),(t,e,s)=>{const n=i;if(!s[n(440)][n(458)](e[n(645)],{attributes:[n(607),n(554)]}))return;if(e[n(501)][n(456)])return;const r=e[n(501)][n(360)][n(601)];r[n(507)](n(607))||r[n(507)](n(663))||(s[n(649)][n(587)](n(607),e[n(645)][n(596)](n(607)),r),s[n(649)][n(587)](n(554),e[n(645)][n(596)](n(554)),r))},{priority:i(459)})}),this[t(489)][t(638)][t(575)](t(367))[t(512)]({view:{name:t(579),attributes:{vid:!0}},model:{key:t(663),value:e=>e[t(596)](t(663))}}),this[t(489)][t(423)][t(475)].on(t(439),(e,[,i])=>{const s=t;[s(607),s(554),s(663)][s(656)](i)&&(e[s(404)]=!0,e[s(595)]())},{priority:t(523)}),this[t(489)][t(638)][t(575)](t(504))[t(494)](e=>{const i=t;e.on(i(515),(t,e,s)=>{const n=i;if(" "!=e[n(623)][n(436)]||e[n(623)][n(664)][n(636)]>1)return;if(!s[n(440)][n(458)](e[n(623)],t[n(460)]))return;const r=s[n(649)],o=s[n(437)][n(422)](e[n(405)]);r[n(382)](o,r[n(513)](n(579)))})}),this[t(489)][t(638)][t(575)](t(504))[t(445)]({model:t(665)}),this[t(489)][t(497)][t(568)].on(t(500),function(e){const i=t,s=e[i(429)][i(457)](i(349));return(t,n,r)=>{const o=i,a=n[o(615)][o(409)](":")[1],c=s[o(371)](a);if(!c)return null;const u=o(494)==c[o(359)]?o(409):o(526);if(!r[o(440)][o(387)](n[o(557)],t[o(460)]))return;const l=n[o(557)][o(577)](),h=n[o(557)][o(360)],d=e[o(423)][o(475)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(623)];p=p||d[o(476)](e);const i=r[o(437)][o(411)](e);if(i&&i[o(400)](o(659)))return;o(477)==t[o(359)]&&d[o(518)](e)&&!d[o(564)](e)&&(e[o(535)]||h[o(514)]?f&&f[o(664)]==e||(f=e,g(t[o(471)]),v=!0):m=m||t[o(471)])}function g(t){const e=o,i=r[e(649)][e(543)](e(579),{class:e(559)+u}),a=r[e(437)][e(389)](t);c[e(436)][e(605)]&&r[e(649)][e(617)](e(559)+u+e(485),i),s[e(417)]==c&&r[e(649)][e(617)](e(430),i),r[e(649)][e(348)](a,i),r[e(437)][e(620)](i,n[e(615)])}p||v||!m||g(m)}}(this[t(489)]),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(528),(e,i,s)=>{const n=t,r=s[n(437)][n(533)](i[n(615)]);if(r)for(const t of r)(t[n(384)](n(466))||t[n(384)](n(652)))&&(s[n(437)][n(573)](t,i[n(615)]),s[n(649)][n(529)](t))},{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(500),(e,i,s)=>{const n=t,r=i[n(615)][n(409)](":")[1],o=this[n(371)](r);if(!o)return null;const a=n(494)==o[n(359)]?n(409):n(526);if(s[n(440)][n(387)](i[n(557)],e[n(460)]))for(const t of i[n(557)][n(415)]()){if(!t.is(n(616),n(639)))continue;const e=s[n(649)][n(543)](n(579),{class:n(559)+a}),r=s[n(437)][n(389)](this[n(489)][n(423)][n(421)](t));o[n(436)][n(605)]&&s[n(649)][n(617)](n(559)+a+n(485),e),this[n(417)]==o&&s[n(649)][n(617)](n(430),e),s[n(649)][n(348)](r,e),s[n(437)][n(620)](e,i[n(615)])}},{priority:t(570)}),this[t(489)][t(423)][t(600)].on(t(358),()=>{const e=t;this[e(489)][e(497)][e(492)][e(358)](t=>{const i=e;for(const e of this[i(489)][i(423)][i(600)][i(386)]()){const s=this[i(489)][i(423)][i(600)][i(517)](e),n=this[i(489)][i(497)][i(492)][i(600)][i(517)](e);if(n){const e=s[i(596)](i(433));if(t[i(522)](i(399),n),t[i(558)](i(481),n),t[i(558)](i(576),n),t[i(558)](i(552),n),e){const s=this[i(371)](e);if(!s)return null;t[i(587)](i(399),e,n),t[i(617)](i(418)+s[i(359)],n),this[i(417)]==s&&t[i(617)](i(552),n)}}}})}),this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(581),model:e=>t(455)+e,converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(367))[t(420)]({view:t(606),model:e=>t(462)+e,converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(504))[t(445)]({model:t(419),view:e=>({name:t(590)+e,group:t(419)}),converterPriority:t(523)}),this[t(489)][t(638)][t(575)](t(493))[t(563)]({model:t(419),view:e=>{const i=t,s=e[i(615)][i(409)](":")[1];return i(532)!=s&&i(674)!=s?null:{classes:[i(468),i(584)+s]}}}),this[t(489)][t(497)][t(568)].on(t(390),ie(this[t(489)],t(526)),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(366),ie(this[t(489)],t(409)),{priority:t(570)}),this[t(489)][t(497)][t(568)].on(t(487),(e,i,s)=>{const n=t,r=s[n(437)][n(533)](i[n(615)]);if(r)for(const t of r)t.is(n(646))&&(s[n(437)][n(573)](t,i[n(615)]),s[n(649)][n(529)](t))},{priority:t(570)})}[Xt(371)](t){const e=Xt;return this[e(588)][e(457)](t)}[Xt(627)](t){const e=Xt;return this[e(538)]&&this[e(538)][e(640)](),this[e(538)]=new zt(this[e(489)][e(472)],t),this[e(538)]}[Xt(446)](){const t=Xt;this[t(489)][t(423)][t(600)][t(505)][t(603)](t(665)),this.on(t(548),(e,i,s,n)=>{const r=t;n&&this[r(618)][r(529)](n),s&&(this[r(618)][r(494)]({view:s,stackId:r(496),position:{target:()=>{const t=r,e=this[t(489)][t(497)],i=this[t(371)](s[t(562)]);let n;if(i[t(436)][t(478)]){const s=e[t(492)][t(353)](i[t(364)]);n=Array[t(444)](s[t(661)]())}else{const i=this[t(489)][t(423)][t(585)][t(457)](t(621)+s[t(562)]);n=Array[t(444)](e[t(437)][t(533)](i[t(460)]))[t(380)](i=>e[t(492)][t(574)][t(354)](i))[t(380)](e=>Array[t(444)](e[t(661)]()))[t(597)]()}return this[t(635)]&&n[t(583)](e=>e[t(388)]-3<=this[t(635)].y&&e[t(586)]+3>=this[t(635)].y&&e[t(555)]-3<=this[t(635)].x&&e[t(410)]+3>=this[t(635)].x)||n[0]}}}),this[r(618)][r(435)](r(496)))}),this.on(t(572),(e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(627)](s):null,this[r(489)][r(423)][r(358)](()=>{const t=r,e=this[t(489)][t(497)];n&&(n[t(436)][t(478)]?e[t(492)][t(358)](i=>{const s=t;i[s(558)](s(552),e[s(492)][s(600)][s(517)](n[s(364)]))}):e[t(381)](t(621)+n.id)),s&&(s[t(436)][t(478)]?e[t(492)][t(358)](i=>{const n=t;i[n(617)](n(552),e[n(492)][n(600)][n(517)](s[n(364)]))}):e[t(381)](t(621)+s.id))})}),this[t(609)](this[t(489)][t(497)][t(492)][t(600)],t(561),(e,i)=>{const s=t;if(this[s(417)])return;const n=this[s(551)](i[s(653)]),r=this[s(588)][s(457)](n);r?(this[s(635)]={x:i[s(350)].x,y:i[s(350)].y},this[s(394)]=this[s(627)](r)):(this[s(635)]=null,this[s(394)]=null)}),this[t(609)](this[t(489)][t(497)][t(492)][t(600)],t(434),(e,i)=>{const s=t,n=this[s(551)](i[s(653)]),r=this[s(588)][s(457)](n);r?(this[s(635)]={x:i[s(350)].x,y:i[s(350)].y},r===this[s(417)]?this[s(618)][s(524)]():this[s(417)]=r):(this[s(635)]=null,this[s(417)]=null)})}[Xt(551)](t){const e=Xt;do{const i=t[e(596)](e(399));if(i)return i;t=t[e(664)]}while(t);return null}[Xt(567)](){const t=Xt;this[t(489)][t(423)][t(358)](e=>{const i=t;for(const t of this[i(489)][i(423)][i(585)])e[i(550)](t)})}}function ee(){const t=["repository","unshift","includes","_threeWayMerge","attributesBefore","addHighlight","forceDisabled","getClientRects","forward","vid","parent","revision","addRevision","RevisionHistoryUtils","filter","5GHxNCk","string","oldRevisionId","error","forEach","deletion","isRemoved","isEnabled","insert","RevisionViewer","domEvent","delete","done","getDomRoot","mapViewToDom","refresh","getRevisionRootsAttributes","revision-viewer","change","type","start","isEqual","length","nextPosition","rootName","splice","addMarker:revision-suggestion:insertion","upcast","markersStart","_setChanges","isPremiumPlugin","_getChangeFromId","compare","_markMarkers","getIndex","pop","ck-editor__editable__overlay","execute","_utils","revisionHistory","map","reconvertMarker","wrap","distance","hasClass","_joinTapes","getRootNames","test","top","toViewPosition","addMarker:revision-suggestion:deletion","level","push","_processTape","activeView","resolve","_markSuggestions","endIndex","isAdded","data-change-id","getCustomProperty","shift","createPositionFromPath","createRangeIn","return","range","_fixObsoleteTags","end","code","split","right","toViewElement","newRevisionId","indexOf","startIndex","getItems","_cleanUp","activeChange","ck-revision-history-root-","revision-suggestion","dataToMarker","createPositionBefore","toViewRange","model","slice","isAfter","userId","loadRevisionData","isNavigationMode","plugins","ck-suggestion-marker--active","isBefore","init","revisionHistoryAttachChange","mousedown","showStack","data","mapper","changes","checkAttribute","consumable","authors","attributes","change:numberOfChanges","from","markerToData","_initInteractions","config","4483423OObkos","adapter","2796060SYwEgi","attributesAfter","addRevisionData","backward","isIncorrect","revision-comment:","isCollapsed","get","consume","low","name","_removeMissingPairs","revision-suggestion:","_step","startsWith","createRange","ck-suggestion-marker-split","isInline","ck-suggestion-preview-marker","isObject","requires","previousPosition","locale","abs","_revisions","schema","isContent","elementEnd","isOnRoot","diffData","index","ck-revision-history-root-add","isRemoveSuggestion","first","_getDiff","-new","restoreRevision","removeMarker:revision-suggestion","getRevisionDocumentData","editor","restoreRevisionCallback","elementStart","view","editingDowncast","add","RevisionsRepository","revisionHistoryLabel","editing","10649370QCXbQz","attachChange","addMarker:revision","modelRange","isAddSuggestion","values","dataDowncast","selection","roots","hasAttribute","concat","_setDistance","9ERnzQV","_makeModelFromViewString","elementToAttribute","createAttributeElement","isAtEnd","attribute:vid","detachRoot","getRoot","isBlock","POSITIVE_INFINITY","showNextChange","ck-suggestion-marker","removeAttribute","highest","updatePosition","9cGedNT","merge","set","removeMarker:revision","remove","insertions","pluginName","insertion","markerNameToElements","getAttributes","nextSibling","sort","markersEnd","_changeView","795016FOknMq","_update","_data","_refreshStartEndIndex","createUIElement","element:pre","createRevision","bind","commands","change:activeView","_removeUnsupportedChanges","removeMarker","_findChangeIdFromDomTarget","ck-revision-history-root--active","2qYRzHi","vid_end","left","isAttached","markerRange","removeClass","ck-suggestion-marker-","side","mouseover","changeId","markerToHighlight","isLimit","getChild","deletions","_cleanMarkers","downcastDispatcher","588408OVnrxh","high","then","change:activeChange","unbindElementFromMarkerName","domConverter","for","ck-revision-history-root-remove","getWalker","_makeModelFromTape","span","clear","comment","WidgetToolbarRepository","find","ck-suggestion-preview-marker-","markers","bottom","setAttribute","_changeIdToChange","44zAIaIX","suggestion:","enableReadOnlyMode","_setConversion","catch","_markMismatchedRemovedTags","stop","getAttribute","flat","object","currentChangeNumber","document","nodeAfter","text","observeMarkers","affectsData","isSuggestion","suggestion","vid_start","showPreviousChange","listenTo","next","8QIGrsz","diff","change:isEnabled","isReady","markerName","element","addClass","_balloon","getRevision","bindElementToMarker","revision:","_markInsertions","item","_makeTape","getLaterVisibleRevision","pairId","_getViewForChange","_getRevisionsRange","_sortAndFilterDiffChanges","keys","findIndex","all","29022006IMcxIo","isAtStart","_activeViewTarget","maxOffset","addRoot","conversion","softBreak","destroy","_appendChild","has","enqueueChange","change:isReady","viewItem","uiElement","346666nrOFhV","offsetSize","writer","numberOfChanges","isOfficialPlugin","ck-suggestion-marker-merge","target"];return(ee=function(){return t})()}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(440)][r(387)](s[r(557)],i[r(460)]))return;const o=s[r(557)][r(577)](),a=s[r(557)][r(360)],c=t[r(423)][r(475)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(623)];h=h||c[r(476)](e);const i=n[r(437)][r(411)](e);if(i&&i[r(400)](r(659)))return;r(477)==t[r(359)]&&c[r(518)](e)&&!c[r(564)](e)&&(e[r(535)]||a[r(514)]?u&&u[r(664)]==e||(u=e,f(t[r(471)]),d=!0):l=l||t[r(471)])}function f(t){const i=r,o=n[i(437)][i(389)](t),a=n[i(649)][i(543)](i(579),{class:i(584)+e});n[i(649)][i(348)](o,a),n[i(437)][i(620)](a,s[i(615)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(429)][e(457)](te);this[e(604)]=!1,this[e(609)](i,e(644),()=>this[e(355)]()),this[e(609)](i,e(613),()=>this[e(355)]())}[Xt(377)](){const t=Xt,e=this[t(489)],i=e[t(429)][t(457)](te),s=i[t(614)]?i[t(612)][t(412)]:null;e[t(447)][t(457)](t(379))[t(490)](s)}[Xt(355)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(489)][t(429)][t(457)](te),r=n&&s[t(625)](n[t(412)]);this[t(347)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(463)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(429)][i(457)](te);this[i(604)]=!1,this[i(463)]=i(662)===e?1:-1,this[i(609)](s,i(644),()=>this[i(355)]()),this[i(609)](s,i(613),()=>this[i(355)]()),this[i(609)](s,i(572),()=>this[i(355)]())}[Xt(377)](){const e=Xt,i=this[e(489)],s=i[e(429)][e(457)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(417)]=n?s[e(612)][e(438)][e(457)](r+this[e(463)]):s[e(612)][e(438)][e(483)],s[e(417)][e(436)][e(478)])o=i[e(497)][e(492)][e(353)](s[e(417)][e(364)]);else{const t=i[e(423)][e(585)][e(457)](e(621)+s[e(417)].id);o=(0,H.getMarkerDomElement)(i[e(497)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(355)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(489)][t(429)][t(457)](te);this[t(347)]=!!(r&&n&&s)&&(!e||(1===this[t(463)]?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-=394]})(t,e)}function ce(){const t=["ck-revision-history-ui","X_OF_Y_CHANGES","_statusText","isEnabled","forward","9cvwfBP","Show previous change","Loading...","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__navigation","457450OPMEbh","83372lpzjqc","EDIT_X_OF_Y_REVISIONS","272874pdURIl","3129968PjXlEQ","36930NpKRgw","isBackwardNavigationEnabled","isReady","NUMBER_OF_CHANGES","ck-hidden","bindTemplate","ck-revision-history-ui__changes-navigation","set","fire","bind","803992DaLpZF","ck-revision-history-ui__changes-navigation__label","currentChangeNumber","1014657zdRzZc","div","isForwardNavigationEnabled","Show next change","setTemplate","execute","backward","isNavigationMode","_isStatusLabelVisible","Total","No changes","numberOfChanges","span"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(148068===parseInt(e(408))/1+parseInt(e(406))/2*(parseInt(e(400))/3)+parseInt(e(420))/4+parseInt(e(405))/5+-parseInt(e(410))/6+-parseInt(e(423))/7+-parseInt(e(409))/8)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(415)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(417)](e(430),!1),this[e(417)](e(412),!1),this[e(417)](e(422),0),this[e(417)](e(434),0),this[e(417)](e(425),!1),this[e(417)](e(411),!1),this[e(419)](e(431)).to(this,e(412),this,e(434),(t,e)=>t&&e>0),this[e(419)](e(397)).to(this,e(412),this,e(422),this,e(434),this,e(430),(i,s,n,r)=>{const o=e;if(!i)return Q(t,o(402));if(!n)return Q(t,o(433));const a=Q(t,o(413),n);return r?Q(t,o(396),[s+1,n]):a}),s[e(417)]({label:Q(t,e(401)),tooltip:!0,icon:mt.IconChevronUp}),n[e(417)]({label:Q(t,e(426)),tooltip:!0,icon:mt.IconChevronDown}),s[e(419)](e(398)).to(this,e(411)),n[e(419)](e(398)).to(this,e(425)),s.on(e(428),()=>this[e(418)](e(428),e(429))),n.on(e(428),()=>this[e(418)](e(428),e(399))),this[e(427)]({tag:e(424),attributes:{class:["ck",e(395),e(416)]},children:[{tag:e(394),attributes:{class:[e(403)]},children:[{tag:e(394),attributes:{class:[e(421),i.if(e(431),e(414),t=>!t)]},children:[{text:i.to(e(430),i=>i?Q(t,e(407))+": ":Q(t,e(432))+": ")}]},{text:i.to(e(397))}]},new pt.ToolbarSeparatorView,{tag:e(424),attributes:{class:[e(404)]},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=["9CPhMaP","644975SSJGBT","pluginName","8408kRMBwt","6xnUPJW","show","ck-editor__editable__loading-overlay","addClass","5539932qdeFyl","isPremiumPlugin","roots","3914778jIoZtW","change","editor","RevisionViewerLoadingOverlay","editing","isOfficialPlugin","removeClass","document","8873810lCesbG","6026665smnEsm","1551208KJQNSG","view","6846qqKfFl","hide"];return(de=function(){return t})()}const fe=me;function me(t,e){const i=de();return(me=function(t,e){return i[t-=361]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(790710===parseInt(e(380))/1+parseInt(e(375))/2+-parseInt(e(365))/3+parseInt(e(362))/4+-parseInt(e(374))/5*(-parseInt(e(383))/6)+-parseInt(e(377))/7*(parseInt(e(382))/8)+parseInt(e(379))/9*(-parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=fe(385);class ve extends U.Plugin{static get[fe(381)](){return fe(368)}static get[fe(370)](){return!0}static get[fe(363)](){return!0}[fe(384)](){const t=fe,e=this[t(367)][t(369)][t(376)];e[t(366)](i=>{const s=t;for(const t of e[s(372)][s(364)])i[s(361)](pe,t)})}[fe(378)](){const t=fe,e=this[t(367)][t(369)][t(376)];e[t(366)](i=>{const s=t;for(const t of e[s(372)][s(364)])i[s(371)](pe,t)})}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=109]})(t,e)}function ke(){const t=["changesNavigation","commands","config","set","init","listenTo","3634iMACGu","80rvigwH","25383941ssyGxF","add","RevisionViewerUI","showNextChange","842728iPMcpp","show","get","10jPDHyg","exitToEditing","currentChangeNumber","isBackwardNavigationEnabled","isReady","ck-revision-history-ui__back-to-editing","3315447exigIc","isNavigationMode","numberOfChanges","3206028JtTYkS","pluginName","isForwardNavigationEnabled","874219EDXvhf","807363pMRbMA","forward","requires","bind","isPremiumPlugin","showPreviousChange","Back to editing","change:isReady","Restore this revision","closeRevisionViewerCallback","hide","isOfficialPlugin","revisionHistory","execute","plugins","restoreRevision","4iCWgqw","componentFactory","7XaetSJ","isEnabled","editor"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(572125===-parseInt(e(155))/1+-parseInt(e(134))/2+parseInt(e(149))/3*(-parseInt(e(123))/4)+-parseInt(e(143))/5*(-parseInt(e(152))/6)+parseInt(e(125))/7*(-parseInt(e(140))/8)+parseInt(e(156))/9*(-parseInt(e(135))/10)+parseInt(e(136))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(153)](){return ge(138)}static get[ge(118)](){return!0}static get[ge(111)](){return!0}static get[ge(109)](){return[te,ve]}[ge(132)](){const t=ge,e=this[t(127)],i=e[t(121)][t(142)](te),s=e[t(121)][t(142)](ve);e.ui[t(124)][t(137)](t(144),i=>{const s=t,n=new pt.ButtonView(i);return n[s(131)]({label:Q(i,s(113)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(148)}),this[s(133)](n,s(120),()=>{const t=s;e[t(130)][t(142)](t(119))[t(116)]()}),n}),e.ui[t(124)][t(137)](t(122),i=>{const s=t,n=new pt.ButtonView(i);return n[s(131)]({label:Q(i,s(115)),withText:!0,tooltip:!0}),n[s(110)](s(126)).to(e[s(129)][s(142)](s(122))),this[s(133)](n,s(120),()=>e[s(120)](s(122))),n}),e.ui[t(124)][t(137)](t(128),s=>{const n=t,r=new ue(s),o=e[n(129)][n(142)](n(112)),a=e[n(129)][n(142)](n(139));return r[n(110)](n(146)).to(o,n(126)),r[n(110)](n(154)).to(a,n(126)),r[n(110)](n(147),n(145),n(151),n(150)).to(i),this[n(133)](r,n(120),(t,i)=>{const s=n;e[s(120)](s(157)===i?s(139):s(112))}),r}),s[t(141)](),i.on(t(114),(e,i,n)=>{const r=t;n?s[r(117)]():s[r(141)]()})}}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(){const t=["scrollWidth","bindTemplate","3dtHKFr","span","4ruUIsA","render","_resizeObserver","_tooltipString","ck-revision-history-sidebar__revision-name","destroy","listenTo","9767254nBJbIi","extendTemplate","8yCmWEj","set","placeholder","fieldView","535hbxHGd","clientWidth","10881612CjwlbL","_updateTooltipText","10423660DTKlby","element","input","75024UKtfRj","Enter the revision name","12154472fdllQP","ck-tooltip_multi-line","value","852447BwABYq","3962388phEWfa","Revision name"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Ie();return(Oe=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(900491===parseInt(e(322))/1*(parseInt(e(297))/2)+parseInt(e(295))/3*(parseInt(e(323))/4)+parseInt(e(310))/5*(-parseInt(e(317))/6)+-parseInt(e(304))/7*(parseInt(e(306))/8)+-parseInt(e(312))/9+parseInt(e(314))/10+parseInt(e(319))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Se(299)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(294)];this[i(307)]({label:Q(t,i(324)),_tooltipString:""}),this[i(309)][i(308)]=Q(t,i(318)),this[i(305)]({tag:i(296),attributes:{class:[i(301)],"data-cke-tooltip-text":s.to(i(300)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(320)}})}[Se(298)](){const e=Se;super[e(298)](),this[e(299)]=new t.ResizeObserver(this[e(309)][e(315)],()=>this[e(313)]()),this[e(303)](this[e(309)],e(316),()=>this[e(313)]())}[Se(302)](){const t=Se;super[t(302)](),this[t(299)]&&this[t(299)][t(302)]()}[Se(313)](){const t=Se,e=this[t(309)][t(315)];this[t(300)]=e[t(325)]>e[t(311)]&&e[t(321)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=213]})(t,e)}function Ae(){const t=["0 0 11 10","15GhNJky","ck-revision-history-sidebar__revision-author__name","Revision creator","53797vkubTR","ck-revision-history-sidebar__revision-author_creator","name","466062sGMsYs","2302ihuurH","38101ckYQvQ","set","Revision author","ck-revision-history-sidebar__revision-author","2303600umVdFe","19038220aMbgFL","2605662QzPVWH","span","920grGKSc","1266tCavKF","push","setTemplate"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(326539===parseInt(e(221))/1+-parseInt(e(225))/2*(parseInt(e(214))/3)+-parseInt(e(230))/4+parseInt(e(218))/5*(-parseInt(e(224))/6)+parseInt(e(226))/7*(-parseInt(e(213))/8)+parseInt(e(232))/9+parseInt(e(231))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(227)]({content:mt.IconUser,viewBox:s(217)});const r=["ck",s(229)];i&&r[s(215)](s(222));const o=[{tag:s(233),attributes:{class:["ck",s(219)],title:Q(t,s(i?220:228))},children:[n,e[s(223)]]}];this[s(216)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["toLocaleDateString","toLocaleTimeString","121790nSVdNz","numeric","18cjIhqx","99gMpdav","8188784jsEglj","6nAHafV","long","1016692EVgdMZ","1227900nHvJVp","12530987IxtRLs","7212815skluEW","86868puqYwg"];return(Ve=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=279]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(916357===parseInt(e(292))/1+parseInt(e(285))/2+parseInt(e(281))/3*(parseInt(e(289))/4)+-parseInt(e(288))/5+parseInt(e(283))/6*(parseInt(e(287))/7)+-parseInt(e(282))/8+-parseInt(e(280))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);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(){const t=["ck-revision-history-sidebar__revision__actions","isOpen","10856904tvPCnZ","listenTo","items","65519Nhqmaf","listView","action","Name this revision","1459935BbWZIB","menuitem","source","find","change:isActionsDropdownOpen","class","set","bindTemplate","model","menu","isReady","isEnabled","858739slQlqp","panelPosition","174474bSjEYC","name","isActionsDropdownOpen","locale","add","execute","children","stopPropagation","6ddOrVu","973496jxtZzK","first","buttonView","Compare against selected","button","ck-on","extendTemplate","bind","Show more items","_action","function","743012EAOmDt","Restore this revision","map","isVisible"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=129]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(203892===-parseInt(e(151))/1+-parseInt(e(142))/2+-parseInt(e(169))/3+-parseInt(e(131))/4+-parseInt(e(155))/5+parseInt(e(130))/6*(-parseInt(e(167))/7)+parseInt(e(148))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const We=Ue;function ze(){const t=["ck-revision-history-sidebar__revision","srcElement","element","revisionNameView","createdAt","isHighlighted","ck-reset","span","select","set","_createdAtFormatted","authors","8814215ggKvaJ","value","fieldView","ck-revision-history-sidebar__revision-wrapper","extendTemplate","438410YZTfkY","isReady","220","9dkCOTc","651539pUlxLN","map","revisionActionsView",".ck-thread__remove-confirm","bind","ck-revision-history-sidebar__revision-authors","unhighlight","7695424twiMbw","ck-revision-history-sidebar__revision_selected","deselect","filter","isActionsDropdownOpen","_revision","name","listenTo","ck-revision-history-sidebar__revision__date","length","99jvDgYY","42muinCE","bindTemplate","highlight","isConfirm","from","closest","ck-revision-history-sidebar__revision__controls-wrapper","ck-disabled","uiLanguage","unshift","isEnabled","fire","div","654704eAHBAu","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__actions_dropdown_open","change","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1klVIHt","7609767ydPxeF","isSelected","creator","setTemplate","render","_requireRevisionName","1787140UwaaXX"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=419]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(898180===-parseInt(e(465))/1*(parseInt(e(472))/2)+-parseInt(e(427))/3*(parseInt(e(459))/4)+parseInt(e(419))/5+-parseInt(e(446))/6*(parseInt(e(428))/7)+parseInt(e(435))/8+-parseInt(e(445))/9*(parseInt(e(424))/10)+parseInt(e(466))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(476)];[We(430)];[We(440)];[We(471)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(447)],a=function(t,e){const i=r,s=Array[i(450)](e[i(484)])[i(438)](t=>t!=e[i(468)]);return e[i(468)]&&s[i(455)](e[i(468)]),s[i(429)](s=>new Ee(t,s,s==e[i(468)]))}(e,i);this.id=i.id,this[r(440)]=i,this[r(471)]=n,this[r(432)](r(441),r(477)).to(i),this[r(432)](r(483)).to(this,r(477),t=>{return i=e[r(454)],(s=t)[(n=Me)(290)](i,{month:n(284),day:n(279)})+", "+s[n(291)](i,{hour:n(279),minute:n(279)});var i,s,n}),this[r(482)](r(467),!1),this[r(482)](r(478),!1),this[r(482)](r(439),!1),this[r(482)](r(425),!1),this[r(482)](r(456),!1),this[r(476)]=new Te(e,pt.createLabeledInputText),this[r(476)][r(421)][r(423)]({attributes:{maxlength:r(426)}}),this[r(476)][r(421)][r(432)](r(420)).to(this,r(441),t=>t||this[r(483)]),this[r(476)][r(432)](r(456)).to(this,r(467),this,r(456),(t,e)=>t&&e),this[r(430)]=s&&s[r(444)]?function(e,i){const s=je,n=e[s(162)],r=e[s(172)],o=(0,pt.createDropdown)(r);o[s(168)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(172)],n={"Compare against selected":Q(s,i(134)),"Name this revision":Q(s,i(154)),"Restore this revision":Q(s,i(143))};return e[i(144)](t=>{const e=i,s=n[t[e(170)]];return s&&s!==t[e(170)]&&(t[e(170)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(135),model:new pt.ViewModel({label:t[n(170)],class:t[n(160)],withText:!0,role:n(156),_action:t[n(153)]})};i[n(163)][n(138)](n(166)).to(e,n(171),i=>n(141)!=typeof t[n(166)]||!i||t[n(166)](e)),o[n(173)](i)}return o}(e,i);return e[s(138)](s(171)).to(o,s(147)),o[s(133)][s(161)]({label:Q(r,s(139)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(137)]({attributes:{class:[s(146),n.if(s(171),s(136))]},on:{click:n.to(t=>t[s(129)]())}}),o.on(s(174),t=>{const i=s;e[i(165)]&&i(141)==typeof t[i(157)][i(140)]&&t[i(157)][i(140)](e)}),(0,pt.addListToDropdown)(o,a,{role:s(164)}),o[s(149)](e,s(159),(t,n,r)=>{const a=s;if(r)for(const t of o[a(152)][a(150)]){const s=t[a(175)][a(132)],n=i[a(158)](t=>t[a(153)]===s[a(140)])[a(145)];t[a(145)]=void 0===n||n(e)}}),o}(this,s):"",this[r(430)]&&this[r(430)][r(432)](r(456)).to(this),this[r(469)]({tag:r(458),attributes:{class:["ck",r(479),r(422),o.if(r(449),r(464))]},children:[{tag:r(458),attributes:{class:["ck",r(479),r(473),o.if(r(456),r(453),t=>!t),o.if(r(467),r(436)),o.if(r(478),r(460)),o.if(r(439),r(461))]},children:[this[r(476)],{tag:r(480),attributes:{class:["ck",r(443)]},children:[{text:o.to(r(483))}]},{tag:r(458),attributes:{class:["ck",r(452)]},children:[{tag:"ul",attributes:{class:["ck",r(433)]},children:a}]},this[r(430)]],on:{click:o.to(t=>{const e=r;t[e(474)][e(451)](e(431))||this[e(425)]&&this[e(456)]&&this[e(457)](e(481),{id:this.id})})}}]})}[We(470)](){const t=We;super[t(470)]();const e=this[t(476)][t(421)][t(475)];this[t(442)](e,t(462),()=>{const i=t;this[i(471)]&&!e[i(420)]||this[i(457)](i(463),{id:this.id,name:e[i(420)]}),e[i(420)]||(e[i(420)]=this[i(441)]?this[i(441)]:this[i(483)])})}[We(481)](){this[We(467)]=!0}[We(437)](){this[We(467)]=!1}[We(448)](){this[We(478)]=!0}[We(434)](){this[We(478)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ei={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Mi={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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=Vi(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 Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return ji(this,t,sn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return ji(this,void 0,()=>nn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ji(this,t,cn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!As(t,1,7)))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function 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 Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(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 Es(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]]=Vs(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:Vs(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 En(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(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=Mn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn(function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]},Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),rr.reduce((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,En])}(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of rr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex(t=>br(i)===br(t))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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",Er=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function 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(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(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(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map(t=>t.val).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["toJSDate","205EgWbrZ","local","2095452vzqHKI","monthLong","month","14IiVzTZ","setLocale","1578092oCoPMS","year","3717657KBcciU","fromJSDate","20afmVSh","2029816cyNcLf","day","7876rvMHRS","hasSame","toRelativeCalendar","minus","371975NumkVO","3xJazjF","weekdayLong","week","17255425dRYHSo","startOf"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=218]})(t,e)}function oo(t,e){const i=ro,s=io[i(230)](t)[i(226)](e),n=io[i(221)](),r=n[i(237)]({days:1})[i(218)](i(233));let o,a;return s[i(235)](n,i(233))?(o=s[i(218)](i(233))[i(219)](),a=s[i(236)]()):s[i(235)](r,i(233))?(o=r[i(219)](),a=s[i(236)]()):s[i(235)](n,i(241))?(o=s[i(218)](i(241))[i(219)](),a=s[i(240)]||""):s[i(235)](n,i(228))?(o=s[i(218)](i(224))[i(219)](),a=s[i(223)]||""):(o=s[i(218)](i(228))[i(219)](),a=String(s[i(228)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(636144===-parseInt(e(220))/1*(-parseInt(e(234))/2)+parseInt(e(239))/3*(-parseInt(e(227))/4)+-parseInt(e(238))/5+parseInt(e(222))/6*(-parseInt(e(225))/7)+parseInt(e(232))/8+parseInt(e(229))/9*(-parseInt(e(231))/10)+parseInt(e(242))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(986897===parseInt(e(389))/1*(-parseInt(e(390))/2)+parseInt(e(387))/3+-parseInt(e(402))/4*(-parseInt(e(395))/5)+-parseInt(e(372))/6*(-parseInt(e(383))/7)+parseInt(e(388))/8*(-parseInt(e(385))/9)+parseInt(e(398))/10*(parseInt(e(381))/11)+-parseInt(e(404))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(377)];[uo(401)];[uo(373)];[uo(399)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(396)][n(391)])[n(393)];this[n(377)]=e,this[n(401)]=this[n(379)](),this[n(373)]=i,this[n(399)]=s,this[n(401)][n(384)](n(397)).to(this),this[n(401)][n(384)](n(375)).to(this),this[n(374)]({tag:n(400),attributes:{class:["ck",n(382)]},children:[{tag:n(394),attributes:{class:["ck",n(392)]},children:[{text:r}]},{tag:n(400),attributes:{class:["ck",n(405)]},children:this[n(401)]}]})}[uo(403)](t){const e=uo,i=new He(this[e(396)],t,this[e(373)],this[e(399)]);this[e(401)][e(386)](i)}[uo(378)](t){const e=uo,i=this[e(401)][e(380)](e=>e.id===t.id);this[e(401)][e(376)](i)}}function fo(){const t=["addRevision","20899836XUDCcn","ck-revision-history-sidebar__time-period__revisions","47046XBHAOo","_revisionActions","setTemplate","setName","remove","startDate","removeRevision","createCollection","find","154aQoKVf","ck-revision-history-sidebar__time-period","959zmnnSn","delegate","6903TDoavV","add","5320077PFjCJl","9784DHMQlw","18FDRukA","154586dGMSyI","uiLanguage","ck-revision-history-sidebar__time-period__label","localizedPeriodName","span","167995MQyPJO","locale","select","834800EfaZUI","_requireRevisionName","div","revisionViews","124XJAlVz"];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-=239]})(t,e)}function go(){const t=["ck-revision-history-sidebar__header__label","5750340FfsiPr","ck-reset_all","span","3481596ozXgff","32MVwRuX","5060274tioPak","Revision history","div","36919lewRVc","2121868meIZtO","2408YJCRMW","setTemplate","2492001ZLpfQV","5cTcxOC","ck-revision-history-sidebar__header","content","13573udlITl"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(425764===parseInt(e(253))/1*(parseInt(e(249))/2)+parseInt(e(239))/3+-parseInt(e(254))/4+parseInt(e(240))/5*(-parseInt(e(250))/6)+-parseInt(e(243))/7*(parseInt(e(255))/8)+parseInt(e(248))/9+parseInt(e(245))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(242)]=mt.IconHistory,this[e(256)]({tag:e(252),attributes:{class:["ck",e(246),e(241)]},children:[i,{tag:e(247),attributes:{class:["ck",e(244)]},children:[Q(t,e(251))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=303]})(t,e)}function Io(){const t=["removeRevision","12284937dZMwWw","flat","ck-revision-history-sidebar","bindTemplate","_requireRevisionName","setName","addRevision","ck-rounded-corners","add","ck-disabled","1427883ZopIxn","5077844LzkuyN","delegate","deselect","highlight","startDate","6438848MwLvKQ","get","revisionSelected","createCollection","isEnabled","391890zzCWXd","find","ck-reset","uiLanguage","84003vxERUC","revisionSetName","some","highlightRevisions","_removeRevision","set","_revisionActions","remove","getTime","revisionViews","locale","_revisions","render","ck-revision-history-sidebar__timeline","4LDNKJN","selectRevision","1507885jbfLNq","fire","createdAt","setTemplate","_getTimePeriodViewByStartDate","_addRevision","select","map","unhighlight","timePeriodViews","18pQxStf","div"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(913713===parseInt(e(325))/1+-parseInt(e(339))/2*(parseInt(e(310))/3)+parseInt(e(311))/4+parseInt(e(341))/5+parseInt(e(321))/6+parseInt(e(354))/7+parseInt(e(316))/8*(-parseInt(e(351))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(350)];[wo(336)];[wo(331)];[wo(304)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(303)];this[n(350)]=this[n(319)](),this[n(350)][n(312)](n(347)).to(this),this[n(350)][n(312)](n(305)).to(this),this[n(336)]=e,this[n(331)]=i,this[n(304)]=s,this.on(n(347),(t,e)=>{const i=n;this[i(342)](i(318),e)}),this.on(n(305),(t,e)=>{const i=n;this[i(342)](i(326),e)}),this[n(330)](n(320),!1),this[n(344)]({tag:n(352),attributes:{class:["ck",n(323),n(307),n(356)]},children:[new yo(t),{tag:n(352),attributes:{class:["ck",n(338),r.if(n(320),n(309),t=>!t)]},children:this[n(350)]}]})}[wo(337)](){const t=wo;super[t(337)]();for(const e of this[t(336)])this[t(346)](e);this[t(336)].on(t(308),(e,i)=>{this[t(346)](i)}),this[t(336)].on(t(332),(e,i)=>{this[t(329)](i)})}get[wo(334)](){const t=wo;return this[t(350)][t(348)](e=>e[t(334)][t(348)](t=>t))[t(355)]()}[wo(340)](t){const e=wo;for(const i of this[e(334)])t&&t.id===i.id?i[e(347)]():i[e(313)]()}[wo(328)](t){const e=wo;for(const i of this[e(334)])t[e(327)](({id:t})=>t===i.id)?i[e(314)]():i[e(349)]()}[wo(346)](t){const e=wo,i=oo(t[e(343)],this[e(335)][e(324)])[e(315)];let s=this[e(350)][e(317)](0);s&&s[e(315)][e(333)]()===i[e(333)]()||(s=new ho(this[e(335)],i,this[e(331)],this[e(304)]),this[e(350)][e(308)](s)),s[e(306)](t)}[wo(329)](t){const e=wo,i=oo(t[e(343)],this[e(335)][e(324)])[e(315)];this[e(345)](i)[e(353)](t)}[wo(345)](t){const e=wo;return this[e(350)][e(322)](i=>i[e(315)][e(333)]()===t[e(333)]())}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=339]})(t,e)}function xo(){const t=["timePeriodViews","fieldView","isPremiumPlugin","_sidebarView","config","revisionSelected","appendChild","render","getRevisionsInDiff","revisionViews","repository","init","plugins","length","element","restoreRevision","focus","availableRevisionActions","remove","765gWwJYc","_handleRevisionSetName","isOfficialPlugin","143185SkeCbq","destroy","revisionHistory","setName","_revisionsRepository","Compare against selected","13343nctbRa","name","getRevision","_handleEditorDataReady","requires","20710srpJPW","getIndex","4385892ISYsPy","nameRevision","bind","isSelected","select","change:diff","pluginName","diff","selectRevision","ready","revisionHistory.requireRevisionName","compare","compareAgainstSelected","76690OwicTK","20568iERWAY","isReady","restoreRevisionCallback","getLaterVisibleRevision","757508DOTTVU","locale","isEnabled","_revisions","action","505947atJHCy","RevisionsSidebar","Restore this revision","editor","revisionHistory.viewerSidebarContainer","add","15DTTsJr","_revisionViewer","_createRevisionActions","19FddhTS","newRevisionId","get","defaultRevisionActions","assign","revisionHistory.revisionActions","listenTo","string","getEarlierVisibleRevision","_handleDiffChange","isVisible","highlightRevisions","Name this revision","revisionSetName","map","_handleRevisionSelected","data"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(414114===parseInt(e(394))/1*(-parseInt(e(375))/2)+parseInt(e(385))/3+parseInt(e(380))/4*(-parseInt(e(391))/5)+-parseInt(e(362))/6+-parseInt(e(349))/7+-parseInt(e(376))/8*(parseInt(e(346))/9)+-parseInt(e(360))/10*(-parseInt(e(355))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(392)];[Oo(353)];[Oo(414)];static[Oo(397)]=[Oo(374),Oo(342),Oo(363)];static[Oo(344)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(354),action:({plugins:e},i)=>{const s=t,n=e[s(396)](te),r=n[s(421)];let o=n[s(369)][s(395)],a=i.id;r[s(361)](o)>r[s(361)](a)&&([o,a]=[a,o]),n[s(373)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(396)](te);return!(n[s(421)][s(419)](n[s(369)])[s(340)]>2||i[s(365)])}},restoreRevision:{name:t(387),action:(e,{id:i})=>{const s=t;e[s(415)][s(396)](s(351))[s(378)](i)},isVisible:({plugins:e},i)=>!!e[t(396)](te)[t(421)][t(379)](i.id)},nameRevision:{name:t(406),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(396)](te),o=r[n(421)][n(402)](i);r[n(373)](i,o),s[n(343)](),s[n(412)][n(366)]()}}}}();static get[Oo(368)](){return Oo(386)}static get[Oo(348)](){return!0}static get[Oo(413)](){return!0}static get[Oo(359)](){return[te]}constructor(t){const e=Oo;super(t),this[e(392)]=t[e(339)][e(396)](te),this[e(353)]=this[e(392)][e(421)],this[e(414)]=null}[Oo(422)](){const t=Oo,e=this[t(353)][t(383)],i=this[t(393)](),s=this[t(388)][t(415)][t(396)](t(389));this[t(414)]=new So(this[t(388)][t(381)],e,i,this[t(388)][t(415)][t(396)](t(372))),this[t(414)].on(t(416),this[t(409)][t(364)](this)),this[t(414)].on(t(407),this[t(347)][t(364)](this)),this[t(414)][t(364)](t(382)).to(this[t(392)]),this[t(414)][t(411)].on(t(390),(e,i)=>{const s=t;i[s(420)].on(s(390),(t,e)=>{const i=s;e[i(364)](i(382),i(377)).to(this[i(392)])})}),this[t(414)][t(418)](),this[t(400)](this[t(388)][t(410)],t(371),this[t(358)][t(364)](this)),this[t(400)](this[t(392)],t(367),this[t(403)][t(364)](this)),s[t(417)](this[t(414)][t(341)])}[Oo(350)](){const t=Oo;this[t(414)][t(341)][t(345)](),this[t(414)][t(350)]()}[Oo(358)](){const t=Oo,e=this[t(353)][t(357)](0);if(e){const i=this[t(353)][t(402)](e.id);this[t(392)][t(373)](e,i)}}[Oo(409)](t,e){const i=Oo,s=this[i(353)][i(357)](e.id),n=this[i(353)][i(402)](s.id);this[i(392)][i(373)](s,n)}[Oo(347)](t,e){const i=Oo;this[i(353)][i(357)](e.id)[i(352)](e[i(356)])}[Oo(403)](t,e,i){const s=Oo,n=this[s(353)][s(419)](i);n[s(340)]>2?(this[s(414)][s(405)](n),this[s(414)][s(370)](null)):(this[s(414)][s(405)]([]),this[s(414)][s(370)](n[0]))}[Oo(393)](){const t=Oo,e=this[t(388)],i=No[t(344)],s=e[t(415)][t(396)](t(399))||No[t(397)];if(s[t(340)])return s[t(408)](s=>{const n=t,r=n(401)==typeof s?Object[n(398)]({},i[s]):s;return r[n(384)]=r[n(384)][n(364)](this,e),r[n(404)]&&(r[n(404)]=r[n(404)][n(364)](this,e)),r})}}const Ro=No,Ao=Vo;function Eo(){const t=["302790jLMFfU","175ztshyt","get","_toolbarConfig","restore","componentFactory","render","3884860zOwsOC","view","limiterElement","327570UpkXdo","40OglXCE","focusTracker","detachDomRoot","name","addToolbar","viewportTopOffset","fillFromConfig","fire","bind","viewportOffset","44554872tQqEFX","ready","4950cUSssf","rootName","replace","element","destroy","config","isFocused","attachDomRoot","11vNjjNJ","toolbar","113IFusWm","_initToolbar","_view","setEditableElement","editor","init","12898OqYTcX","getRoot","4908725BItPTn","editable","isActive","_elementReplacer","stickyPanel","7328jqFjzr","editing","document"];return(Eo=function(){return t})()}function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(754563===parseInt(e(133))/1*(-parseInt(e(139))/2)+parseInt(e(149))/3*(parseInt(e(111))/4)+-parseInt(e(141))/5+-parseInt(e(110))/6*(parseInt(e(101))/7)+parseInt(e(146))/8*(-parseInt(e(123))/9)+-parseInt(e(107))/10+parseInt(e(131))/11*(parseInt(e(121))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ao(135)];[Ao(103)];[Ao(144)];get[Ao(108)](){return this[Ao(135)]}constructor(e,i){const s=Ao;super(e),this[s(135)]=i,this[s(103)]=(0,pt.normalizeToolbarConfig)(e[s(128)][s(102)](s(132))),this[s(144)]=new t.ElementReplacer}get[Ao(126)](){const t=Ao;return this[t(108)][t(126)]}[Ao(138)](t){const e=Ao,i=this[e(137)],s=this[e(108)],n=i[e(147)][e(108)],r=s[e(142)],o=n[e(148)][e(140)]();r[e(114)]=o[e(124)],s[e(106)]();const a=r[e(126)];this[e(136)](r[e(114)],a),s[e(142)][e(119)](e(129)).to(this[e(112)]),n[e(130)](a),this[e(144)][e(125)](t,this[e(126)]),this[e(134)](),this[e(118)](e(122))}[Ao(127)](){const t=Ao;super[t(127)]();const e=this[t(108)],i=this[t(137)][t(147)][t(108)];this[t(144)][t(104)](),i[t(113)](e[t(142)][t(114)]),e[t(127)]()}[Ao(134)](){const t=Ao,e=this[t(108)];e[t(145)][t(119)](t(143)).to(this[t(112)],t(129)),e[t(145)][t(109)]=e[t(126)],e[t(145)][t(119)](t(116)).to(this,t(120),({top:t})=>t),e[t(132)][t(117)](this[t(103)],this[t(105)]),this[t(115)](e[t(132)])}}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;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=316]})(t,e)}function Lo(){var t=["content","shouldToolbarGroupWhenFull","3UukohH","939568VDsVEb","12dGtUzs","7365423TovGtx","18RMxHmK","add","main","11MuPZnm","32VllVAd","top","_editable","toolbar","26536AnqtTd","stickyPanel","164950TMufft","85535lNDBrg","render","57686RNDhqm","255230WccPvL","6WpIVvJ","editable"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(120587===-parseInt(e(338))/1+parseInt(e(318))/2*(-parseInt(e(324))/3)+parseInt(e(332))/4*(-parseInt(e(316))/5)+-parseInt(e(320))/6*(parseInt(e(325))/7)+-parseInt(e(336))/8*(parseInt(e(328))/9)+-parseInt(e(319))/10*(-parseInt(e(331))/11)+-parseInt(e(326))/12*(-parseInt(e(327))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(334)];[Fo(337)];[Fo(335)];get[Fo(321)](){return this[Fo(334)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(337)]=new pt.StickyPanelView(t),this[s(335)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(323)]}),this[s(334)]=new pt.InlineEditableUIView(t,e)}[Fo(317)](){var t=Fo;super[t(317)](),this[t(337)][t(322)][t(329)](this[t(335)]),this[t(333)][t(329)](this[t(337)]),this[t(330)][t(329)](this[t(321)])}}function Wo(){const t=["view","destroy","init","sourceElement","ready","editing","initialData","333pMCjMz","locale","get","config","createRoot","2chaVga","initPlugins","1366530RUayTg","fire","_ui","2508728GdNyey","5246752wuSevG","updateSourceElement","6139390QXUBHF","create","8719890XRzedv","data","model","28104uxnSML","437928CJtiHA","document"];return(Wo=function(){return t})()}const zo=Uo;function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(916352===-parseInt(e(227))/1+parseInt(e(225))/2*(-parseInt(e(211))/3)+parseInt(e(230))/4+parseInt(e(205))/5+parseInt(e(207))/6+-parseInt(e(231))/7+parseInt(e(210))/8*(-parseInt(e(220))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(229)];get ui(){return this[zo(229)]}constructor(t,e){const i=zo;super(e),this[i(216)]=t,this[i(209)][i(212)][i(224)]();const s=new Po(this[i(221)],this[i(218)][i(213)],{shouldToolbarGroupWhenFull:!0});this[i(229)]=new Mo(this,s)}[zo(214)](){const t=zo;return this[t(204)](),this.ui[t(214)](),super[t(214)]()}static async[zo(206)](t,e){const i=zo,s=new this(t,e);return await s[i(226)](),await s.ui[i(215)](t),await s[i(208)][i(215)](s[i(223)][i(222)](i(219))||""),s[i(228)](i(217)),s}}const Zo=Yo;function qo(){const t=["revisionHistory.closeRevisionViewerCallback","_update","changesNavigation","toJSON","getMarkersGroup","removeMarker","Annotations","DocumentOutlineUI","exitToEditing","toolbar","RevisionHistoryUI","display","join","refreshVisibility","remove","numeric","restrictedEditingException","_showRevisionViewer","view","getUser","create","revision-history-missing-configuration","from","roots","createdAt","addRoot","setSelection","restoreRevision","isRevisionViewerOpen","279nOOpcz","getRevisions","revisionHistory.restoreRevisionCallback","plugins","1357509zCmCsB","getRevisionRootsAttributes","markers","config","bind","init","has","createRangeIn","isReady","block","_cleanUp","_viewerEditor","removeSelectionAttribute","_closeRevisionViewer","showRevisionViewerCallback","lazyRoots","hide","isOpen","_recalculatePageBreaks","isEnabled","insert","revisionHistory.requireRevisionName","20wgYwHu","235096uDlbPF","revisionHistory","closeRevisionViewerCallback","toLocaleDateString","destroy","catch","editor","RevisionHistory","map","getRevision","revisionHistory.showRevisionViewerCallback","revision-history-viewer-opened","isReadOnly","set","users","define","data","enableReadOnlyMode","68PZnUwu","RevisionTracker","indexOf","10980057heeRas","RevisionHistoryUtils","revisionHistory.editorContainer","Users","requires","removeAttribute","commands","RevisionViewer","style","$graveyard","RestrictedEditingMode","_enhanceShowRevisionViewerCallback","disableReadOnlyMode","detachRoot","element","translations","addUser","result","_enhanceCloseRevisionViewerCallback","pluginName","toVersion","_restoreRevision","selection","change","revisionHistory.viewerContainer","Dialog","fromCharCode","save","Autosave","parse","_getRevisionViewerEditorConfig","addRevisionData","RevisionViewerIntegration","setAttribute","255275vIXnDq","model","get","Restored","toLocaleTimeString","none","RevisionsRepository","includes","locale","document","enqueueChange","586203WyGntA","revisionHistory.viewerEditorElement","isOfficialPlugin","isAnonymous","keys","getRoot","isPremiumPlugin","refreshPositioning","push","1458672DLjChU","uiLanguage","then","saveRevision","rootName","loadRevisionData","name","1050976zrvvAo","creator","getAttributeKeys","fromVersion","adapter","error","isAttached","28XbdLDA","getRevisionDocumentData","PaginationLookup","update","long","DocumentOutline","repository","end"];return(qo=function(){return t})()}!function(t){const e=Yo,i=t();for(;;)try{if(583330===parseInt(e(531))/1+parseInt(e(394))/2+parseInt(e(442))/3+-parseInt(e(483))/4*(parseInt(e(520))/5)+-parseInt(e(387))/6*(-parseInt(e(401))/7)+parseInt(e(465))/8*(parseInt(e(438))/9)+-parseInt(e(464))/10*(parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Zo(419),Zo(496)];class Bo extends U.Plugin{[Zo(503)];static get[Zo(505)](){return Zo(518)}static get[Zo(533)](){return!0}static get[Zo(537)](){return!0}constructor(t){const e=Zo;function i(t){const e=Yo;return t[e(473)](t=>String[e(512)](t))[e(421)]("")}super(t),this[e(503)]=e(408),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(t,e){const i=qo();return(Yo=function(t,e){return i[t-=387]})(t,e)}class Jo extends U.Plugin{[Zo(453)];static get[Zo(505)](){return Zo(472)}static get[Zo(533)](){return!0}static get[Zo(537)](){return!0}static get[Zo(490)](){return[ot,jt]}constructor(e){const i=Zo;if(super(e),!this[i(471)][i(445)][i(522)](i(466)))throw new t.CKEditorError(i(430),this);this[i(453)]=null,this[i(478)](i(437),!1),this[i(471)][i(445)][i(480)](i(475),t=>this[i(426)]({...t,translations:this[i(471)][i(528)][i(501)]})),this[i(471)][i(445)][i(480)](i(409),t=>this[i(455)](t)),this[i(471)][i(445)][i(480)](i(440),t=>this[i(507)](t)),this[i(471)][i(445)][i(480)](i(463),!1),this[i(497)](),this[i(504)]()}set[Zo(398)](t){const e=Zo;this[e(471)][e(441)][e(522)](e(484))[e(398)]=t}get[Zo(398)](){const t=Zo;return this[t(471)][t(441)][t(522)](t(484))[t(398)]}[Zo(517)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(484))[e(517)](t)}[Zo(474)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(526))[e(474)](t)}[Zo(439)](t){const e=Zo;return this[e(471)][e(441)][e(522)](e(526))[e(439)](t||{toJSON:!1})}[Zo(516)](){const e=Zo,i=this[e(471)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(441)][e(522)](e(484)),r=i[e(441)][e(522)](e(489))[e(479)];return s[e(418)]=[e(417),e(436),e(411)],delete s[e(457)],s[e(441)][e(539)](Bo,te,be,class extends U.Plugin{static get[e(490)](){return[te,e(489)]}[e(447)](){const s=e,o=this[s(471)][s(441)][s(522)](s(489));for(const t of r)t[s(534)]||o[s(428)](t.id)||o[s(502)](t);const a=n[s(407)][s(439)]();let c=null;const u=this[s(471)][s(441)][s(522)](s(493));u[s(398)]=n[s(398)],u[s(446)](s(461)).to(n),this[s(471)][s(492)][s(522)](s(436))[s(446)](s(461)).to(i,s(477),t=>!t);for(const e of a){const i=null===e[s(395)];if(i&&e[s(506)]===e[s(397)])continue;const r=e[s(412)]();u[s(517)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(410)](r,o);else if(!o){const e=a[u(412)]();e.id=(0,t.uid)(),n[u(390)](e,a[u(506)])[u(389)](t=>{c=t})}}else e[u(410)](r,o)})}}},Ro),s}[Zo(497)](){const t=Zo,e=this[t(471)][t(445)][t(522)](t(466))[t(456)];this[t(471)][t(445)][t(478)](t(475),async()=>{const i=t;this[i(471)][i(482)](i(476));const s=this[i(471)][i(441)][i(522)](i(484));if(this[i(471)][i(441)][i(448)](i(514))){const t=this[i(471)][i(441)][i(522)](i(514));await t[i(513)]()}else await s[i(404)]();if(this[i(471)][i(441)][i(448)](i(403))&&this[i(471)][i(441)][i(522)](i(403))[i(460)](),this[i(471)][i(441)][i(448)](i(511))){const t=this[i(471)][i(441)][i(522)](i(511));t[i(459)]&&t[i(458)]()}const n=this[i(516)]();return e(n)[i(389)](t=>{const e=i;return this[e(453)]=t,this[e(471)][e(441)][e(448)](e(415))&&this[e(471)][e(441)][e(522)](e(415))[e(422)](),this[e(471)][e(441)][e(448)](e(406))&&(this[e(471)][e(441)][e(522)](e(416))[e(427)][e(500)][e(494)][e(420)]=e(525)),t})[i(470)](t=>(console[i(399)](t),this[i(471)][i(498)](i(476)),null))})}[Zo(504)](){const t=Zo,e=this[t(471)][t(445)][t(522)](t(466))[t(467)];this[t(471)][t(445)][t(478)](t(409),()=>(this[t(471)][t(441)][t(448)](t(403))&&this[t(471)][t(441)][t(522)](t(403))[t(460)](),this[t(471)][t(441)][t(448)](t(406))&&(this[t(471)][t(441)][t(522)](t(416))[t(427)][t(500)][t(494)][t(420)]=""),this[t(453)][t(441)][t(522)](t(493))[t(452)](),e(this[t(453)])[t(389)](()=>{const e=t;if(this[e(471)][e(498)](e(476)),this[e(453)]=null,this[e(471)][e(441)][e(448)](e(415))){const t=this[e(471)][e(441)][e(522)](e(415));t[e(422)](),t[e(538)]()}})))}[Zo(426)](t){const e=Zo,i=this[e(471)][e(445)][e(522)](e(488)),s=this[e(471)][e(445)][e(522)](e(510)),n=this[e(471)][e(445)][e(522)](e(532));return Ho[e(429)](n,t)[e(389)](t=>(s[e(494)][e(420)]=e(451),i[e(494)][e(420)]=e(525),this[e(437)]=!0,t))}[Zo(455)](t){const e=Zo,i=this[e(471)][e(445)][e(522)](e(488));return this[e(471)][e(445)][e(522)](e(510))[e(494)][e(420)]=e(525),i[e(494)][e(420)]="",this[e(437)]=!1,t[e(469)]()}async[Zo(507)](t){const e=Zo,i=this[e(471)],s=this[e(453)][e(441)][e(522)](e(493)),n=i[e(441)][e(522)](e(484)),r=i[e(441)][e(522)](e(487)),o=s[e(407)][e(474)](t);let a,c,u;try{await r[e(392)](o,this[e(398)]),a=r[e(402)](o),c=r[e(443)](o)}catch(t){return void console[e(399)](t)}i[e(521)][e(509)](t=>{const s=e;for(const e of Array[s(431)](i[s(521)][s(444)][s(413)](s(425))))t[s(414)](e)}),s[e(450)]=!1,i[e(521)][e(530)](t=>{const s=e;t[s(435)](null),t[s(454)](i[s(521)][s(529)][s(508)][s(396)]());const n=Object[s(535)](a);for(const e of i[s(521)][s(529)][s(432)])s(495)!=e[s(391)]&&e[s(400)]()&&!n[s(527)](e[s(391)])&&t[s(499)](e);for(const e of n){let n=i[s(521)][s(529)][s(536)](e);n&&n[s(400)]()||(n=t[s(434)](e));const r=c[e],o=Object[s(535)](r),u=a[e];for(const e of n[s(396)]())o[s(527)](e)||t[s(491)](e,n);for(const i of o)t[s(519)](i,c[e][i],n);t[s(423)](t[s(449)](n)),t[s(462)](i[s(481)][s(515)](u,n),n,0)}});const l=Q(i[e(528)],e(523));return u=o[e(393)]?-1==o[e(393)][e(485)](l)?l+": "+o[e(393)]:o[e(393)]:l+": "+o[e(433)][e(468)](i[e(528)][e(388)],{month:e(405),day:e(424)})+", "+o[e(433)][e(524)](i[e(528)][e(388)],{hour:e(424),minute:e(424)}),await n[e(390)]({name:u}),s[e(450)]=!0,i[e(445)][e(522)](e(466))[e(467)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=359]})(t,e)}function Ko(){var t=["1243AhTWnN","2387tVeUMj","23387TxcAee","5kOccoR","1001082OYulqU","37456dfNVEW","4448454slHLZO","26OtXgVq","8211402GbaVEs","12008350codRTe","337572dWXEqP","4CEnjIZ"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(858758===parseInt(e(365))/1*(parseInt(e(370))/2)+parseInt(e(369))/3*(-parseInt(e(362))/4)+parseInt(e(366))/5*(parseInt(e(367))/6)+-parseInt(e(364))/7*(parseInt(e(368))/8)+-parseInt(e(359))/9+parseInt(e(360))/10+parseInt(e(363))/11*(parseInt(e(361))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();