@ckeditor/ckeditor5-revision-history 47.2.0-alpha.7 → 47.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},111:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},124:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},246:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},265:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},318:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},374:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},450:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},700:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},702:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},732:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},772:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},774:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},853:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},929:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(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 W(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=j(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,U(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["21607040IKitmR","setAttribute","4454175mgWcPZ","fire","createdAt","set","model","8cMapjo","authors","20UCueiq","4927581PhOcsd","120UchTCQ","attributes","map","authorsIds","_update","diffData","toJSON","name","16586xipFjN","removeAttribute","fromVersion","3449957aDDZmb","creatorId","345005JAlWDK","2065938roSFQS","22IvycoV","setName","creator","toVersion"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(801845===parseInt(e(292))/1*(-parseInt(e(284))/2)+-parseInt(e(305))/3+parseInt(e(312))/4*(parseInt(e(297))/5)+-parseInt(e(298))/6+parseInt(e(295))/7*(-parseInt(e(310))/8)+-parseInt(e(283))/9+parseInt(e(303))/10*(parseInt(e(299))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(301)];[$(311)];[$(289)];[$(302)];[$(294)];[$(309)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(301)]=e[i(301)]||null,this[i(311)]=e[i(311)]||[],this[i(289)]=e[i(289)]||null,this[i(302)]=e[i(302)]||0,this[i(294)]=e[i(294)]||0,this[i(308)](i(291),e[i(291)]||""),this[i(308)](i(307),e[i(307)]||new Date),this[i(308)](i(285),e[i(285)]||{})}[$(300)](t){this[$(288)]({name:t})}[$(304)](t,e){const i=$,s=R(this[i(285)]);W(s,t,e),this[i(288)]({attributes:s})}[$(293)](t){const e=$,i=R(this[e(285)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(288)]({attributes:i})}[$(288)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(291),i(307),i(289),i(311),i(285),i(302),i(294),i(296)];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(311)]&&(n[i(287)]=n[i(311)][i(286)](t=>t.id),delete n[i(311)]),this[i(306)](i(288),n,e))}[$(290)](){const t=$;return{id:this.id,name:this[t(291)],creatorId:this[t(301)]?this[t(301)].id:null,authorsIds:this[t(311)][t(286)](t=>t.id),diffData:this[t(289)],createdAt:this[t(307)],attributes:this[t(285)],fromVersion:this[t(294)],toVersion:this[t(302)]}}}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["_revisions","593751LtqGTo","getIndex","from","fromCharCode","plugins","creatorId","oldRevisionId","href","join","name","getUser","attributes","push","644848VwAhru","3309fiSFjS","get","toVersion","fromVersion","5dTGJiF","toJSON","data","isNaN","earlier","869068SjpFBn","requires","createRevision","getEarlierVisibleRevision","reverse","getLaterVisibleRevision","Users","later","3055488olPCnS","3476556pvNSnZ","428SRyGxn","createdAt","diffData","isOfficialPlugin","2716525MaNhQN","authorsIds","getRevisions","add","editor","getRevision","addRevision","map","afterInit","pluginName","getRevisionsInDiff","newRevisionId","getRevisionsIterator","isPremiumPlugin","RevisionsRepository","length"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(317153===-parseInt(e(259))/1+-parseInt(e(238))/2*(parseInt(e(273))/3)+-parseInt(e(282))/4*(parseInt(e(277))/5)+parseInt(e(236))/6+parseInt(e(242))/7+parseInt(e(272))/8+parseInt(e(237))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(258)];static get[Q(283)](){return[K.Users]}static get[Q(251)](){return Q(256)}static get[Q(241)](){return!0}static get[Q(255)](){return!0}get[Q(257)](){const t=Q;return this[t(258)][t(257)]}constructor(e){const i=Q;super(e),this[i(258)]=new t.Collection}[Q(250)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(280)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(249)](t=>String[e(262)](t))[e(267)]("")}!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:1762300800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(266)]);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(284)](t){const e=Q,i=this[e(246)][e(263)][e(274)](e(234));return new J({id:t.id,name:t[e(268)],creator:t[e(264)]?i[e(269)](t[e(264)]):null,diffData:t[e(240)]||t[e(279)],authors:t[e(243)][e(249)](t=>i[e(269)](t)),createdAt:new Date(t[e(239)]),attributes:t[e(270)],fromVersion:t[e(276)],toVersion:t[e(275)]})}[Q(248)](t,e=0){const i=Q;this[i(258)][i(245)](t,e)}[Q(247)](t){const e=Q;return this[e(258)][e(274)](t)}[Q(244)](t={toJSON:!1}){const e=Q,i=Array[e(261)](this[e(258)]);return i[e(286)](),t[e(278)]?i[e(249)](t=>t[e(278)]()):i}[Q(260)](t){const e=Q;return this[e(258)][e(260)](t)}[Q(285)](t){const e=Q,[,i]=this[e(254)](t,{direction:e(281)});return i}[Q(233)](t){const e=Q,[,i]=this[e(254)](t,{direction:e(235)});return i}[Q(252)](t){const e=Q,i=[];for(const s of this[e(254)](t[e(253)]))if(i[e(271)](s),s.id===t[e(265)])break;return i}*[Q(254)](t,{direction:e=Q(281),filter:i=()=>!0}={}){const s=Q,n=s(281)===e?1:-1;let r=this[s(258)][s(274)](t),o=this[s(260)](r);for(yield r;r;){if(o+=n,r=this[s(247)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(316240===parseInt(e(243))/1*(-parseInt(e(266))/2)+parseInt(e(244))/3+-parseInt(e(260))/4+parseInt(e(256))/5*(-parseInt(e(269))/6)+-parseInt(e(237))/7+parseInt(e(270))/8+-parseInt(e(268))/9*(-parseInt(e(274))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(238)](){return st(263)}static get[st(212)](){return!0}static get[st(208)](){return!0}[st(214)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(227)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(277)](t,e){const i=st;if(t[i(204)]||!e)return;const s=this[i(249)][i(246)][i(219)](i(240)),n=await e[i(273)]({channelId:s,revisionId:t.id});t[i(204)]=n[i(204)]}[st(209)](t){const e=st,i={};for(const s in t[e(204)]){if(t[e(204)][s][e(230)]&&!t[e(204)][s][e(230)][e(259)])continue;const n=this[e(231)](JSON[e(215)](t[e(204)][s][e(275)])),r=this[e(249)][e(258)][e(264)][e(265)],o=new X.ViewDocumentFragment(r,n[e(242)](t=>this[e(222)](t,!1)));this[e(249)][e(206)][e(262)][e(255)](e(234)),i[s]=this[e(249)][e(206)][e(262)][e(223)](o),this[e(249)][e(206)][e(262)][e(255)](e(211))}return i}[st(271)](t){const e=st,i={};for(const s in t[e(204)])t[e(204)][s][e(230)]&&!t[e(204)][s][e(230)][e(259)]||(i[s]=t[e(204)][s][e(245)]||{});return i}[st(233)](t){const e=st;return this[e(214)][e(219)](t[e(220)])}[st(222)](t,e){const i=st,s=this[i(249)][i(258)][i(264)][i(265)];if(i(232)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(225)]||"r"==t[i(225)]?[]:t[i(218)][i(242)](t=>this[i(222)](t,e));const o=this[i(227)][i(219)](t[i(225)])||X.ViewElement,a=this[i(249)][i(206)][i(229)][i(276)];if(n=new o(s,t[i(247)],t[i(203)],r),"u"==t[i(225)]&&t[i(218)][0]){const r=t[i(218)][0];if(n[i(205)]=function(t){const e=i,s=t[e(216)](e(236));return s[e(235)]=r,s[e(257)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(207)](a[i(251)](t,{bind:!1})),r=a[i(253)][i(216)](i(236));r[i(272)](...e),n=Array[i(207)](a[i(252)](r))[0]}}else if("r"==t[i(225)]&&t[i(218)][0]){const r=t[i(218)][0];if(n[i(205)]=function(t){t[i(235)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(207)](a[i(251)](t,{bind:!1})),r=a[i(253)][i(216)](i(236));r[i(272)](...e);const o=Array[i(207)](a[i(252)](r));o[i(224)]>1?n[i(228)](o):n=o[0]}}if(t[i(250)])for(const[e,s]of t[i(250)])n[i(239)](e,s);const c=void 0===t[i(226)]?null:t[i(226)];return null!==c&&(n[i(248)]=()=>c),n}}[st(210)](t){const e=st,i=JSON[e(215)](t),s=this[e(249)][e(258)][e(264)][e(265)],n=new X.ViewDocumentFragment(s,i[e(242)](t=>this[e(222)](t,!0)));return this[e(249)][e(206)][e(213)](n)}[st(231)](t){const e=st;return(t=t[e(261)](t=>!t[e(247)]||e(241)!==t[e(247)]&&e(267)!==t[e(247)]))[e(217)](t=>{const i=e;i(232)!=typeof t&&(t[i(218)]=this[i(231)](t[i(218)]),t[i(203)]=t[i(203)][i(261)](t=>!t[0][i(221)](i(254))))}),t}}function ot(){const t=["render","data","from","isPremiumPlugin","getRevisionDocumentData","_makeModelFromViewString","default","isOfficialPlugin","toModel","_viewClassToTypeChar","parse","createElement","forEach","children","get","constructor","startsWith","_getViewFromDiffObj","toData","length","type","fillerOffset","_typeCharToViewClass","_appendChild","htmlProcessor","attachChange","_removeRevisionMarkers","string","_getTypeCharForViewElement","marked","innerHTML","div","1630419VUczsJ","pluginName","_setCustomProperty","collaboration.channelId","revision-start","map","1021WNWFIw","277989qloVFJ","attributesAfter","config","name","getFillerOffset","editor","customProperties","viewChildrenToDom","domChildrenToView","domDocument","data-revision-","useFillerType","865efkPdM","childNodes","editing","isAttached","1236316oYANDY","filter","processor","RevisionHistoryUtils","view","document","454qnLHLb","revision-end","9DfFcKs","21264hAqLDI","2174152nvAfAt","getRevisionRootsAttributes","append","getRevision","13386830FdNiyk","insertions","domConverter","loadRevisionData","attributes","diffData"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=bt;function mt(){const t=["stringify","_markChanges","_reset","updateRevisions","Initial revision","paragraph","getIndex","markerToData","getUser","initialData","values","uiElement","revisionHistoryLicenseKeyTrialLimit","hasContent","size","_getTypeCharForViewElement","has","pluginName","removeRootAttribute","slice","_licenseKeyCheckInterval","_initialRevisionId","nodeAfter","some","_createFromRanges","_pendingAction","attributesAfter","dataDowncast","revisionHistoryLicenseKeyValid","_cloneOperation","usageLimit","_setAttribute","_saveMetaData","_handleMoveOperation","domConverter","3oMgqRk","loadState","string","_operations","keepParagraph","revisionHistoryLicenseKeyNotAllowed","_calculateMetaData","destroy","htmlProcessor","creator","_startingRevisionId","invalid","update","conversion","featureNotAllowed","9872390nvIcst","revisionHistory.resumeUnsavedRevision","text","marker","finally","key","tableCell","revision","getFillerOffset","then","RevisionHistory","setSource","getTime","_handleOperation","offset","getMovedRangeStart","editor","_touchedMarkers","_removePendingAction","_bufferedUpdates","start","parent","1734223hkGyoP","RevisionsRepository","PENDING_ACTION_REVISION_HISTORY","getChild","reInit","rootsAttributes","_continueCurrentRevision","createPositionBefore","currentRevision","_createInitialRevision","licenseKey","resolve","config","init","vid","_replaceEditorDataWithRevisionData","_diffRootsAttributes","_processRootBeforeSave","map","fillerOffset","_fixRange","fromEntries","addRoot","nodes","revisionHistoryLicenseKeyExpired","range","getChildren","createPositionAt","delete","from","rawElement","move","position","getRange","locale","RevisionTracker","afterInit","sourcePosition","authorsIds","_handleInsertOperation","_update","isEnabled","getRevision","type","revisionHistoryLicenseKeyUsageLimit","collaboration.channelId","getOperations","bind","createRange","isAttached","insertion","getRevisions","_handleRootAttributeOperation","getRevisionDocumentData","getWalker","upcast","_makeModelFromViewString","_clone","authors","add","insertionPosition","expired","howMany","newValue","getLatestVersion","addRootAttribute","splitPosition","addRevision","_generateTape","data","_fixPosition","NEGATIVE_INFINITY","_isInit","vid_start","createPositionAfter","initial","isPremiumPlugin","plugins","_markers","createPositionFromPath","getRoot","version","trim","getAttribute","customProperties","getCurrentRevisionId","rootName","insertions","_removeMetaData","getData","_source","addRevisionData","setRevisionData","oldRange","_getState","for","_makeIdsRoot","adapter","_transformMarkers","domDocument","attachChange","end","_insertChild","model","ready","_diffRoots","reverse","get","createdAt","_isAttached","_revisionDataBuilder","toView","_getPreviousFrom","_makeRevision","$text","creatorId","deletions","sort","split","_showLicenseError","clone","_getViewJson","filter","_handleRootOperation","trialLimit","fromVersion","find","affectsData","max","_lastTo","vid_end","getTransformedByOperation","_handleSplitOperation","$comment","isAdd","_getBaseVids","_applyOperations","_touchedRoots","getNodeByPath","_lastFrom","_setConversion","attributesBefore","_utils","28346736xDSZys","deletion","_baseRootsAttributes","2225686LaEjKD","length","_getFromVersion","childCount","_revisionId","_execute","push","path","_baseIdsRoots","children","revisionHistoryLicenseKeyDomainLimit","RealTimeCollaborationClient","_startingVersion","saveRevision","_appendChild","_authorId","repository","domainLimit","createElement","userId","PendingActions","_idsRoots","element","_findInsertionIndex","getCustomProperties","source","8372526JoEZhu","getRevisionRootsAttributes","outerHTML","_handleMergeOperation","getAttributes","documentFragment","remove","newRange","insert","merge","name","detachRoot","isReady","$graveyard","keys","revisionHistoryLicenseKeyInvalid","startsWith","RevisionHistoryUtils","_getVidAttributeName","elementStart","evaluationLimit","includes","Empty document","editor-initial-data-replaced-with-revision-data","targetPosition","markers","getOperation","_savedMetaData","changeRootAttribute","_isPendingUpdate","document","root","sendBufferedUpdates","_fixOperation","offsetSize","buildRevisionData","previousPosition","isOfficialPlugin","toVersion","getAncestors","innerHTML","_prepareViewToSave","elementEnd","442292MWRfzJ","Users","_loadState","define","_touched","dataToMarker","set","_addPendingAction","requires","reinsert","revisionHistoryLicenseKeyEvaluationLimit","_createCurrentRevision","roots","loadRevisionData","isEqual","_bufferUpdate","revision:","createRangeIn","item","2751756UHWoWI","clear","_handleMarkerOperation","_loadedStateData","diffData","shift","createRevision","getRootNames","history","_baseRoots","baseVersion","stickiness","_copyMarkers","graveyardPosition","render"];return(mt=function(){return t})()}!function(t){const e=bt,i=t();for(;;)try{if(992798===-parseInt(e(538))/1+parseInt(e(684))/2*(-parseInt(e(501))/3)+parseInt(e(753))/4+parseInt(e(516))/5+-parseInt(e(710))/6+-parseInt(e(451))/7+parseInt(e(681))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(548)];[ft(486)];[ft(546)]=null;[ft(700)];[ft(635)]=null;[ft(648)];[ft(628)];[ft(487)];[ft(535)];[ft(680)];[ft(491)];[ft(544)];[ft(696)];[ft(454)];static get[ft(483)](){return ft(573)}static get[ft(747)](){return!0}static get[ft(614)](){return!0}static get[ft(761)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(700)]=this[i(532)][i(615)][i(645)](i(539)),this[i(680)]=this[i(532)][i(615)][i(645)](i(727)),this[i(648)]=new vt(this[i(532)]),this[i(487)]=this[i(532)][i(550)][i(645)](i(583))||i(613),this[i(535)]=new Map,this[i(454)]=null;const s=(0,t.uid)();this[i(628)]={history:this[i(532)][i(641)][i(740)][i(459)],getLatestVersion:()=>Promise[i(549)](this[i(532)][i(641)][i(740)][i(619)]),getCurrentRevisionId:()=>s},this[i(759)](i(722),!1),this[i(759)](i(579),!0),this[i(759)](i(739),!1),this[i(532)][i(550)][i(756)](i(517),!0),this[i(532)][i(514)][i(633)](i(593))[i(758)]({view:i(523)})}[ft(551)](){const t=ft;this[t(678)](),this[t(532)][t(607)].on(t(642),()=>{const e=t,i=this[e(700)][e(580)](0),s=i&&null===i[e(510)]?i:null;if(this[e(544)]=!!s&&this[e(532)][e(550)][e(645)](e(517)),this[e(532)][e(615)][e(482)](e(695))){const t=this[e(628)][e(623)](),n=this[e(700)][e(580)](t);if(n)this[e(696)]=n[e(663)],this[e(544)]=!1;else{const t=this[e(628)][e(459)][e(504)][e(664)](t=>!t[e(610)]),n=t?t[e(461)]:this[e(628)][e(459)][e(619)];i?(i[e(748)]<n&&i[e(578)]({toVersion:n}),this[e(544)]?(this[e(628)][e(623)]=()=>s.id,this[e(696)]=s[e(663)]):(this[e(696)]=i[e(748)],this[e(544)]=!1)):(this[e(696)]=n,this[e(544)]=!1)}}else s&&(this[e(532)][e(641)][e(740)][e(459)][e(619)]=Math[e(666)](s[e(748)],this[e(532)][e(641)][e(740)][e(459)][e(619)]),s[e(663)]===s[e(748)]?(0!==s[e(663)]&&(this[e(628)][e(623)]=()=>s.id),this[e(544)]=!1):this[e(544)]&&(this[e(628)][e(623)]=()=>s.id,this[e(696)]=s[e(663)])),this[e(544)]||(this[e(696)]=this[e(532)][e(641)][e(740)][e(619)]);this[e(648)][e(551)](this[e(628)][e(459)]),this[e(547)](this[e(696)]),this[e(764)](this[e(696)]),this[e(635)]&&this[e(742)]()}),this[t(585)](t(722)).to(this,t(739),t=>!t),this[t(548)]=this[t(532)][t(550)][t(645)](t(548));const e=this[t(532)];this[t(486)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(494)==r||i(725)==r||i(562)==r||i(694)==r||i(506)==r||i(763)==r||i(478)==r||i(582)==r){delete e[n],s=r,clearInterval(this[i(486)]),this[i(486)]=void 0;break}}i(725)==s&&e[i(657)](i(512)),i(562)==s&&e[i(657)](i(599)),i(694)==s&&e[i(657)](i(701)),i(506)==s&&e[i(657)](i(515),i(526)),i(763)==s&&e[i(657)](i(730)),i(478)==s&&e[i(657)](i(662)),i(582)==s&&e[i(657)](i(496))},1e3)}async[ft(574)](){const t=ft;if(this[t(700)][t(685)]>0){const e=this[t(700)][t(580)](0),i=await this[t(591)](e),s=await this[t(711)](e);this[t(553)](i,s)}}[ft(508)](){const t=ft;super[t(508)](),this[t(486)]&&clearInterval(this[t(486)])}[ft(527)](t){this[ft(628)]=t}async[ft(513)](){const t=ft,e=await this[t(628)][t(602)]();if(e>this[t(546)][t(748)]){await this[t(755)]();const i=this[t(745)]({revision:this[t(546)],to:e});i[t(596)]=i[t(576)][t(556)](e=>this[t(532)][t(615)][t(645)](t(754))[t(474)](e)),this[t(546)][t(578)](i)}}async[ft(697)](e={},i=null){const s=ft,n=[];await this[s(755)](),this[s(544)]=!1,i>this[s(546)][s(748)]&&(i=null),null===i&&(i=await this[s(628)][s(602)]());const r=this[s(686)](i),o=this[s(745)]({from:r,to:i});if(this[s(546)][s(748)]<i){const t=this[s(745)]({revision:this[s(546)],from:i,to:i});t[s(596)]=[],t[s(576)]=[],t.id=this[s(546)].id,this[s(546)][s(578)](t,!0),delete t[s(596)],n[s(690)](t)}e[s(653)]=this[s(532)][s(615)][s(645)](s(754)).me.id,e[s(720)]=e[s(720)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(629)](e);n[s(690)](e);const c=this[s(700)][s(472)](a);if(0!==c){const t=this[s(700)][s(580)](c-1);if(t[s(663)]!==i){const r=this[s(648)][s(627)](i,t[s(748)]),o={id:t.id,diffData:r[s(455)],authorsIds:r[s(576)],authors:r[s(576)][s(556)](t=>this[s(532)][s(615)][s(645)](s(754))[s(474)](t)),fromVersion:i};t===this[s(546)]&&(o[s(646)]=new Date(e[s(646)][s(528)]()+10)),t[s(578)](o,!0),delete o[s(596)],n[s(690)](o)}}if(this[s(635)]){for(const t of n)this[s(768)](t.id,t,!0);this[s(742)]()}return a}[ft(629)](t){const e=ft,i=this[e(700)][e(457)](t);return this[e(635)]&&i.on(e(578),(t,i,s)=>{const n=e;s||(this[n(768)](i.id,i,!0),this[n(742)]())}),this[e(700)][e(605)](i,this[e(707)](i)),i}async[ft(591)](t){const e=ft;return await this[e(680)][e(766)](t,this[e(635)]),this[e(680)][e(591)](t)}async[ft(711)](t){const e=ft;return await this[e(680)][e(766)](t,this[e(635)]),this[e(680)][e(711)](t)}[ft(742)](){const t=ft;if(0===this[t(535)][t(480)])return;if(this[t(739)])return;let e=Array[t(567)](this[t(535)][t(476)]());this[t(535)][t(452)]();for(let i=0;i<e[t(685)];i++){const s=e[i];let n=!1;for(const e of Object[t(724)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(660)](t=>null!==t),!e[t(685)])return;for(let i=0;i<e[t(685)];i++){const s=e[i];void 0!==s[t(663)]&&void 0===s[t(748)]&&(s[t(748)]=this[t(700)][t(580)](s.id)[t(748)]),void 0!==s[t(748)]&&void 0===s[t(663)]&&(s[t(663)]=this[t(700)][t(580)](s.id)[t(663)])}const i=this[t(532)][t(550)][t(645)](t(583));this[t(739)]=!0,this[t(760)](),this[t(635)][t(469)](e,i)[t(520)](()=>{this[t(739)]=!1})[t(525)](e=>{const i=t;if(e)for(const t of e)this[i(630)]({id:t.id,createdAt:t[i(646)]});this[i(534)](),this[i(742)]()})}[ft(745)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(663)],i=null!==i?i:t[s(748)];const n=this[s(648)][s(627)](e,i),r={diffData:n[s(455)],authorsIds:n[s(576)],fromVersion:e,toVersion:i};if(!t||i!==t[s(748)]){const t=i-1,e=this[s(628)][s(459)][s(736)](t);r[s(646)]=e&&e[s(646)]||new Date}if(this[s(454)]&&e===this[s(454)][s(663)])for(const t of this[s(454)][s(596)])r[s(576)][s(731)](t.id)||r[s(576)][s(690)](t.id);return r}[ft(768)](t,e,i){const s=ft;if(this[s(535)][s(482)](t)){const n=this[s(535)][s(645)](t);e=i?{...n,...e}:{...e,...n}}this[s(535)][s(759)](t,e)}[ft(630)](t){const e=ft,i=this[e(700)][e(580)](t.id);if(t[e(646)]&&(t[e(646)]=new Date(t[e(646)])),t[e(576)]){const i=this[e(532)][e(615)][e(645)](e(754));t[e(596)]=t[e(576)][e(556)](t=>i[e(474)](t))}i[e(578)](t,!0)}[ft(547)](t){const e=ft,i=this[e(700)][e(580)](this[e(700)][e(685)]-1);if(i)this[e(487)]=i.id;else{const i=!this[e(532)][e(641)][e(740)][e(765)][e(664)](t=>this[e(532)][e(641)][e(479)](t)),s=this[e(532)][e(615)][e(645)](e(754)).me.id,n=at(this[e(532)][e(572)],e(i?732:470));this[e(651)]({from:t,to:t,id:this[e(487)],name:n,creatorId:s})}}[ft(764)](t){const e=ft,i=this[e(628)][e(623)]();this[e(546)]=this[e(700)][e(580)](i),this[e(546)]||(this[e(546)]=this[e(651)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(755)](){const t=ft;this[t(544)]&&!this[t(454)]&&(await this[t(680)][t(766)](this[t(546)],this[t(635)]),this[t(648)][t(502)](this[t(546)]),this[t(454)]={fromVersion:this[t(546)][t(663)],authors:this[t(546)][t(596)][t(485)]()})}[ft(553)](e,i){const s=ft;let n=this[s(532)][s(550)][s(645)](s(475)),r=this[s(532)][s(550)][s(645)](s(543));if(void 0===n){n={};for(const t of this[s(532)][s(641)][s(740)][s(458)]())n[t]=""}if(s(503)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(532)][s(641)][s(740)][s(458)]())r[t]={}}let o=!1;const a=Object[s(724)](n),c=Object[s(724)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(620)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(724)](r[t])[s(685)]>0){o=!0;break}}o||(o=c[s(489)](t=>!this[s(532)][s(641)][s(740)][s(618)](t))),o&&(0,t.logWarning)(s(733),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(532)][s(550)][s(759)](s(475),e),this[s(532)][s(550)][s(759)](s(543),i)}[ft(760)](){const t=ft;if(!this[t(491)]){const e=this[t(532)][t(615)][t(645)](t(704));this[t(491)]=e[t(597)](at(this[t(532)][t(572)],t(540)))}}[ft(534)](){const t=ft;this[t(491)]&&(this[t(532)][t(615)][t(645)](t(704))[t(716)](this[t(491)]),this[t(491)]=null)}[ft(707)](t){const e=ft,i=this[e(700)][e(589)]();i[e(644)]();let s=0;for(;s<i[e(685)];){const n=i[s];if(n===this[e(546)]){s++;continue}if(n.id===this[e(487)])break;const r=t[e(748)]-n[e(748)]||t[e(663)]-n[e(663)];if(r>0)break;if(r<0)s++;else{if(!t[e(510)]&&n[e(510)])break;if(n[e(510)]||!t[e(510)]){if(t[e(646)]>n[e(646)])break;s++}else s++}}return s}[ft(686)](t){const e=ft,i=this[e(700)][e(589)]();i[e(644)](),i[e(456)]();const s=i[e(664)](i=>i[e(748)]<=t)[e(748)];return s<this[e(696)]?this[e(696)]:s}[ft(651)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(745)]({from:e,to:i});o[r(720)]=t,o[r(653)]=s,o.id=n;const a=this[r(629)](o);return this[r(635)]&&this[r(768)](o.id,o,!0),a}[ft(678)](){const t=ft;this[t(532)][t(514)][t(633)](t(493))[t(473)]({model:t(523)})}}class vt{[ft(532)];[ft(709)];[ft(737)];[ft(677)];[ft(667)];[ft(616)];[ft(643)];[ft(554)];[ft(460)];[ft(683)];[ft(705)];[ft(692)];[ft(757)];[ft(533)];[ft(675)];[ft(688)];[ft(511)];constructor(t){const e=ft;this[e(532)]=t,this[e(737)]=new Map,this[e(677)]=-1,this[e(667)]=-1,this[e(616)]=new Map,this[e(643)]=new Map,this[e(554)]=new Map,this[e(460)]=new Map,this[e(683)]=new Map,this[e(705)]=new Map,this[e(692)]=new Map,this[e(757)]=new Map,this[e(533)]=new Map,this[e(675)]=new Map,this[e(688)]=1}[ft(551)](t){const e=ft;this[e(709)]=t;const i=new Map,s=new Map,n=this[e(532)][e(641)][e(740)][e(765)][e(556)](t=>t[e(624)]);for(const t of n){const n=this[e(532)][e(641)][e(740)][e(618)](t),r=gt(n);i[e(759)](t,r),s[e(759)](t,Object[e(559)](n[e(714)]()))}const r=Array[e(567)](this[e(532)][e(641)][e(735)])[e(556)](t=>[t[e(720)],t[e(571)]()]),o=this[e(709)][e(619)];this[e(498)](o,i,r,s),this[e(511)]=this[e(688)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(759)](t,i),c[e(759)](t,{})}this[e(498)](Number[e(609)],a,[],c)}[ft(627)](t,e){const i=ft;if(this[i(677)]===t&&this[i(667)]<=e)this[i(737)][i(480)]>1&&this[i(626)](this[i(667)]),this[i(674)](this[i(667)],e,!0);else{if(!this[i(737)][i(482)](t)){const e=this[i(650)](t);this[i(507)](e,t,!1)}this[i(507)](t,e,!0)}return this[i(677)]=t,this[i(667)]=e,this[i(632)]()}[ft(502)](t){const e=ft;if(!this[e(737)][e(482)](t[e(663)])){const i=this[e(650)](t[e(663)]);this[e(507)](i,t[e(663)],!1)}this[e(507)](t[e(663)],t[e(748)],!1);const i=this[e(532)][e(615)][e(645)](e(727));this[e(468)](),this[e(677)]=t[e(663)],this[e(667)]=t[e(748)];for(const s in t[e(455)]){const n=t[e(455)][s][e(638)],r=R(t[e(455)][s][e(679)])||{},o=i[e(594)](t[e(455)][s][e(654)]);o[e(624)]=s,o[e(647)]=!n||!n[e(587)],o[e(587)]=()=>o[e(647)],this[e(460)][e(759)](s,o),this[e(683)][e(759)](s,r),n&&this[e(675)][e(759)](s,n);const a=this[e(634)](o);this[e(692)][e(759)](s,a);for(const[t,i]of o[e(735)]){if(!t[e(726)](e(448)))continue;const s=t[e(656)](":")[2];for(const t of i[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),n=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)],r=a[e(676)](n)[e(621)](i);this[e(757)][e(759)](r,{userId:s})}o[e(735)][e(566)](t)}}this[e(511)]=this[e(688)];const s=[...Array(this[e(688)])[e(724)]()][e(485)](1)[e(660)](t=>!this[e(757)][e(482)](t));let n=0;const r=new Map;for(const o in t[e(455)]){const a=t[e(455)][o][e(638)],c=R(t[e(455)][o][e(492)])||{},u=i[e(594)](t[e(455)][o][e(625)]);u[e(624)]=o,u[e(647)]=!a||a[e(587)],u[e(587)]=()=>u[e(647)],this[e(643)][e(759)](o,u),this[e(554)][e(759)](o,c);const l=this[e(634)](u,Number[e(609)]);this[e(705)][e(759)](o,l),r[e(759)](o,u[e(587)]()?c:{});for(const[t,i]of u[e(735)]){if(!t[e(726)](e(448)))continue;const s=t[e(656)](":")[2];for(const t of i[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),n=this[e(688)]++,r=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)];l[e(676)](r)[e(497)](i,n),this[e(757)][e(759)](n,{userId:s})}u[e(735)][e(566)](t)}for(const t of this[e(532)][e(641)][e(449)](u)[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),r=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)],o=l[e(676)](r);o[e(621)](i)>0||o[e(497)](i,s[n++])}for(const[t,i]of u[e(735)])t[e(726)](e(448))||this[e(616)][e(759)](t,i)}const{roots:o}=this[e(737)][e(645)](t[e(663)]),{roots:a}=this[e(737)][e(645)](t[e(748)]),c=gt(o[e(645)](e(723)));this[e(460)][e(759)](e(723),c),this[e(692)][e(759)](e(723),this[e(634)](c,Number[e(609)]));const u=gt(a[e(645)](e(723)));this[e(643)][e(759)](e(723),u),this[e(705)][e(759)](e(723),this[e(634)](u));const l=Array[e(567)](this[e(643)])[e(556)](([t,e])=>[t,gt(e)]);this[e(498)](this[e(667)],l,this[e(616)],r)}[ft(542)](){const t=ft;this[t(468)](),this[t(677)]=-1,this[t(667)]=-1,this[t(737)][t(452)](),this[t(551)](this[t(709)])}[ft(498)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(759)](t,{start:e[n(536)][n(658)](),end:e[n(639)][n(658)](),rootName:e[n(741)][n(624)]});this[n(737)][n(759)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(626)](t){const e=ft;this[e(737)][e(566)](t)}[ft(468)](){const t=ft;this[t(757)][t(452)](),this[t(533)][t(452)](),this[t(675)][t(452)](),this[t(643)][t(452)](),this[t(554)][t(452)](),this[t(460)][t(452)](),this[t(683)][t(452)](),this[t(705)][t(452)](),this[t(692)][t(452)](),this[t(616)][t(452)](),this[t(688)]=1,this[t(511)]=this[t(688)]}[ft(634)](t,e=null){const i=ft;let s=null;t.is(i(715))||(s=new X.ModelElement(t[i(720)],{vid_start:null===e?this[i(688)]++:e++}));const n=[];for(const s of t[i(564)]())if(s.is(i(706))){n[i(690)](this[i(634)](s,e));const t=n[n[i(685)]-1];null!==e&&(e=t.is(i(706),i(652))?t[i(621)](i(552))+1:t[i(621)](i(668))+1)}else for(let t=0;t<s[i(744)];t++)n[i(690)](new X.ModelElement(i(652),{vid:null===e?this[i(688)]++:e++}));if(t.is(i(715))){const e=yt(t[i(624)]);return e[i(640)](0,n),e}return s[i(497)](i(668),null===e?this[i(688)]++:e++),s[i(640)](0,n),s}[ft(507)](t,e,i){const s=ft;this[s(468)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(737)][s(645)](t);this[s(460)]=new Map(n),this[s(683)]=new Map(R(o));for(const[t,e]of this[s(460)])if(s(723)!==t&&(this[s(643)][s(759)](t,gt(e)),this[s(554)]=new Map(R(o)),i)){const i=this[s(688)];this[s(705)][s(759)](t,this[s(634)](e)),this[s(692)][s(759)](t,this[s(634)](e,i))}this[s(511)]=this[s(688)],this[s(643)][s(759)](s(723),gt(this[s(460)][s(645)](s(723)))),i&&this[s(705)][s(759)](s(723),this[s(634)](this[s(460)][s(645)](s(723))));for(const[t,e]of r){const i=this[s(460)][s(645)](e[s(624)]),n=this[s(643)][s(645)](e[s(624)]),r=new X.ModelRange(this[s(608)](e[s(536)],i),this[s(608)](e[s(639)],i)),o=this[s(558)](r,n);i[s(735)][s(759)](t,r),this[s(616)][s(759)](t,o)}this[s(674)](t,e,i)}[ft(674)](t,e,i){const s=ft;for(const n of this[s(709)][s(584)](t,e))this[s(529)](n,i);for(const t of this[s(643)][s(476)]())t[s(735)][s(452)]();for(const[t,e]of this[s(616)])this[s(643)][s(645)](e[s(741)][s(624)])[s(735)][s(759)](t,e[s(658)]());const n=new Map,r=new Map;for(const[t,e]of this[s(643)])n[s(759)](t,gt(e)),r[s(759)](t,this[s(554)][s(645)](t));this[s(498)](e,n,this[s(616)],r)}[ft(650)](t){const e=ft,i=Array[e(567)](this[e(737)][e(724)]());i[e(655)]((t,e)=>t-e),i[e(644)]();for(const e of i)if(e<t)return e;return Number[e(609)]}[ft(463)](t,e){const i=ft,s=Array[i(567)](e[i(735)])[i(556)](([e,s])=>[e,this[i(558)](s,t)]);t[i(735)]=new Map(s)}[ft(636)](t){const e=ft;for(const i of this[e(616)][e(476)]()){const s=i[e(669)](t),n=X.ModelRange[e(490)](s);i[e(536)]=n[e(536)],i[e(639)]=n[e(639)]}}[ft(529)](t,e){const i=ft;if(i(560)!=t[i(581)]&&i(721)!=t[i(581)]){if(i(718)==t[i(581)]){const s=t[i(570)][i(741)][i(624)];this[i(643)][i(482)](s)||(this[i(643)][i(759)](s,yt(s,!0)),this[i(554)][i(759)](s,{}),e&&this[i(705)][i(759)](s,yt(s,!0)))}else{if(i(603)==t[i(581)]||i(484)==t[i(581)]||i(738)==t[i(581)])return void this[i(590)](t);i(519)==t[i(581)]&&this[i(453)](t)}if(i(519)!==t[i(581)]){const e=this[i(495)](t,this[i(643)]);e[i(689)](),this[i(636)](e)}if(e)switch(t[i(581)]){case i(718):this[i(577)](t);break;case i(569):case i(716):case i(762):this[i(499)](t);break;case i(719):this[i(713)](t);break;case i(656):this[i(670)](t)}}else this[i(661)](t,e)}[ft(495)](t,e){const i=ft,s=t[i(658)]();return s[i(699)]=t[i(699)],this[i(743)](s,e),s}[ft(673)](t){const e=ft;return t[e(556)](t=>{const i=e,s=this[i(728)](t);return Number(t[i(450)][i(621)](s))})}[ft(606)](t,e){const i=ft;if(t.is(i(706),i(652)))e[i(690)]({item:t,type:i(518)});else{t.is(i(706))&&e[i(690)]({item:t,type:i(729)});for(const s of t[i(564)]())this[i(606)](s,e);t.is(i(706))&&e[i(690)]({item:t,type:i(752)})}return e}[ft(632)](){const t=ft,e=new Map(this[t(757)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(460)][t(724)](),...this[t(643)][t(724)]()]);a[t(566)](t(723));for(const e of a){const i=this[t(643)][t(645)](e)||yt(e,!1),s=this[t(460)][t(645)](e)||yt(e,!1);i[t(587)]()||s[t(587)]()?(n[t(625)][e]=gt(i),n[t(654)][e]=gt(s),this[t(463)](n[t(654)][e],s),this[t(463)](n[t(625)][e],i),r[t(625)][e]=this[t(606)](this[t(705)][t(645)](e),[]),r[t(654)][e]=this[t(606)](this[t(692)][t(645)](e)||yt(e,!1),[])):a[t(566)](e)}for(const n of a){const o=r[t(625)][n];for(const n of o){const r=this[t(728)](n),o=n[t(450)][t(621)](r);i[t(566)](o),o>=this[t(511)]&&s[t(759)](o,e[t(645)](o))}}for(const n of a){const a=r[t(625)][n],c=this[t(673)](r[t(654)][n]);let u=0;for(const n of a){const r=this[t(728)](n),a=n[t(450)][t(621)](r);if(!s[t(482)](a)&&!o[t(482)](a))if(i[t(482)](a))u++;else{if(a!=c[u]){const s=e[t(645)](a)||e[t(645)](c[u]);for(;a!=c[u];)i[t(482)](c[u])||(o[t(759)](c[u],s),e[t(759)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(625)][e];for(const e of n){const n=this[t(728)](e),r=e[t(450)][t(621)](n);if(o[t(482)](r)){const e=o[t(645)](r);i[t(482)](r)||i[t(759)](r,{...e}),s[t(759)](r,{...e})}}}for(const e of i[t(724)]())e>=this[t(511)]&&i[t(566)](e);const c=new Map;for(const e of a){let n=r[t(625)][e];for(const e of n)if(e[t(450)].is(t(706),t(522))){const i=this[t(728)](e),n=e[t(450)][t(621)](i);if(s[t(482)](n)){const i=e[t(450)][t(537)][t(537)][t(621)](t(611)),r=c[t(645)](i)||new Set;r[t(597)](s[t(645)](n)[t(703)]),c[t(759)](i,r)}}n=r[t(654)][e];for(const e of n)if(e[t(450)].is(t(706),t(522))){const s=this[t(728)](e),n=e[t(450)][t(621)](s);if(i[t(482)](n)){const s=e[t(450)][t(537)][t(537)][t(621)](t(611)),r=c[t(645)](s)||new Set;r[t(597)](i[t(645)](n)[t(703)]),c[t(759)](s,r)}}for(const e of c[t(724)]())(s[t(482)](e)||i[t(482)](e))&&c[t(566)](e)}for(const e of a){const n=r[t(625)][e];let o=null,a=null;for(const e of n){const n=this[t(728)](e),r=e[t(450)][t(621)](n),u=c[t(645)](r);u&&t(729)==e[t(581)]&&(o=Array[t(567)](u)[0],a=e[t(450)][t(621)](t(668))),o&&(i[t(759)](r,{userId:o}),s[t(759)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(654)][e],a=n[t(625)][e];for(const{userId:e}of this[t(533)][t(476)]())null!==e&&l[t(597)](e);for(const{userId:e}of this[t(675)][t(476)]())null!==e&&l[t(597)](e);this[t(467)](a,r[t(625)][e],s,t(588),l),this[t(467)](o,r[t(654)][e],i,t(682),l),u[e]={insertions:this[t(751)](a),deletions:this[t(751)](o),attachChange:this[t(675)][t(645)](e)||null,attributesBefore:R(this[t(683)][t(645)](e))||{},attributesAfter:R(this[t(554)][t(645)](e))}}return{diffData:u,authorsIds:Array[t(567)](l)}}[ft(555)](t){const e=ft;for(const[,i]of t[e(735)]){const t=i[e(536)][e(749)]()[e(660)](t=>e(522)==t[e(720)]);for(const i of t)1==i[e(687)]&&i[e(541)](0).is(e(706),e(471))&&i[e(541)](0)[e(497)](e(505),!0)}}[ft(751)](t){const e=ft;this[e(555)](t);const i=this[e(532)][e(607)][e(649)](t,{}),s=Array[e(567)](i[e(564)]())[e(556)](t=>this[e(659)](t));return JSON[e(466)](s)}[ft(659)](t){const e=ft;if(t.is(e(652)))return t[e(607)];{const i=this[e(532)][e(615)][e(645)](e(727)),s=t,n=this[e(532)][e(607)][e(509)][e(500)],r={type:i[e(481)](s),name:s[e(720)],attributes:Array[e(567)](s[e(714)]()),children:Array[e(567)](s[e(564)]())[e(556)](t=>this[e(659)](t))};if(t.is(e(477))&&e(671)!=t[e(720)]){const i=t[e(465)](n[e(637)],n);r[e(693)][e(690)](i[e(712)])}else if(t.is(e(568))){const i=n[e(637)][e(702)](s[e(720)]);t[e(465)](i,n),r[e(693)][e(690)](i[e(750)])}const o=Array[e(567)](s[e(708)]());o[e(685)]>0&&(r[e(622)]=o);const a=s[e(524)]();return null!==a&&(r[e(557)]=a),r}}[ft(467)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(532)][r(641)];for(let s=0;s<e[r(685)];s++){const n=this[r(728)](e[s]),c=e[s][r(450)][r(621)](n),h=i[r(645)](c),d=s==e[r(685)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(703)]!=o[r(703)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(703)],d=l(448)+s+":"+h+":"+c++,f=u[l(586)](i,a);t[l(735)][l(759)](d,f),null!==h&&n[l(597)](h)}}[ft(728)](t){const e=ft;switch(t[e(581)]){case e(729):return e(611);case e(752):return e(668);default:return e(552)}}[ft(743)](t,e){const i=ft;t[i(461)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(645)](n[i(741)][i(624)]);t[s]=this[i(608)](n,r)}if(n instanceof X.ModelRange){const r=e[i(645)](n[i(741)][i(624)]);t[s]=this[i(558)](n,r)}i(741)===s&&(t[i(741)]=e[i(645)](t[i(741)][i(624)]))}}[ft(558)](t,e){const i=ft;return this[i(532)][i(641)][i(586)](this[i(608)](t[i(536)],e),this[i(608)](t[i(639)],e))}[ft(608)](t,e){const i=ft;return this[i(532)][i(641)][i(617)](e,t[i(691)],t[i(462)])}[ft(577)](t){const e=ft,i=this[e(705)][e(645)](t[e(570)][e(741)][e(624)]),s=this[e(608)](t[e(570)],i),n=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,r=s[e(537)],o=this[e(688)],a=[];for(const i of t[e(561)])if(i.is(e(706)))a[e(690)](this[e(634)](i));else for(let t=0;t<i[e(744)];t++)a[e(690)](new X.ModelElement(e(652),{vid:this[e(688)]++}));const c=this[e(688)];for(let t=o;t<c;t++)this[e(757)][e(759)](t,{userId:n});r[e(640)](s[e(530)],a)}[ft(499)](t){const e=ft;(t=this[e(495)](t,this[e(705)]))[e(689)]();const i=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(531)](),n=s[e(537)],r=s[e(530)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(541)](e);r.is(a(706),a(652))?s[a(759)](r[a(621)](a(552)),{userId:i}):(s[a(759)](r[a(621)](a(611)),{userId:i}),t(s,r,0,r[a(687)]),s[a(759)](r[a(621)](a(668)),{userId:i}))}}(this[e(757)],n,r,r+t[e(600)])}[ft(713)](t){const e=ft,i=null===(t=this[e(495)](t,this[e(705)]))[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(734)][e(537)],n=t[e(575)][e(537)],r=s[e(621)](e(668)),o=n[e(621)](e(611));s[e(497)](e(668),n[e(621)](e(668))),n[e(497)](e(668),r),this[e(757)][e(759)](o,{userId:i}),this[e(757)][e(759)](r,{userId:i}),t[e(689)]()}[ft(670)](t){const e=ft,i=null===(t=this[e(495)](t,this[e(705)]))[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(464)],n=t[e(604)][e(537)];t[e(689)]();const r=n[e(621)](e(668)),o=t[e(598)][e(488)];if(s){const t=o[e(621)](e(668)),s=n[e(621)](e(668));n[e(497)](e(668),t),o[e(497)](e(668),s),this[e(757)][e(759)](n[e(621)](e(668)),{userId:i}),this[e(757)][e(759)](o[e(621)](e(611)),{userId:i})}else{const t=this[e(688)]++,s=this[e(688)]++;n[e(497)](e(668),t),o[e(497)](e(611),s),o[e(497)](e(668),r),this[e(757)][e(759)](t,{userId:i}),this[e(757)][e(759)](s,{userId:i})}}[ft(453)](t){const e=ft;if(!t[e(665)])return;const i=(t=this[e(495)](t,this[e(643)]))[e(631)]?t[e(631)][e(741)]:null,s=t[e(717)]?t[e(717)][e(741)]:null;i&&this[e(616)][e(566)](t[e(720)]),s&&this[e(616)][e(759)](t[e(720)],t[e(717)][e(658)]());const n=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,r=t[e(720)];if(!this[e(533)][e(482)](r))return void this[e(533)][e(759)](r,{range:t[e(631)],userId:n});const o=this[e(533)][e(645)](r),a=o[e(563)],c=t[e(717)];null==a&&null==c||a&&c&&a[e(767)](c)?this[e(533)][e(566)](t[e(720)]):o[e(703)]=n}[ft(661)](t,e){const i=ft;this[i(643)][i(482)](t[i(624)])?this[i(643)][i(645)](t[i(624)])[i(647)]=t[i(672)]:(this[i(643)][i(759)](t[i(624)],yt(t[i(624)],!0)),this[i(554)][i(759)](t[i(624)],{}),e&&this[i(705)][i(759)](t[i(624)],yt(t[i(624)],!0)));const s=null===t[i(699)]?null:t[i(699)]||this[i(532)][i(615)][i(645)](i(754)).me.id,n=this[i(675)][i(645)](t[i(624)]);n&&n[i(703)]===s?this[i(675)][i(566)](t[i(624)]):this[i(675)][i(759)](t[i(624)],{userId:s,isAttached:t[i(672)]})}[ft(590)](t){const e=ft,i=this[e(554)][e(645)](t[e(741)][e(624)]);null===t[e(601)]?delete i[t[e(521)]]:i[t[e(521)]]=t[e(601)]}}function gt(t){const e=ft,i=yt(t[e(624)],t[e(587)]());for(const s of t[e(564)]()){const t=s[e(595)](!0);i[e(698)](t)}return i}function yt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(624)]=t,s[i(647)]=e,s[i(587)]=()=>s[i(647)],s}function kt(t,e,i){const s=ft,n=s(752)==t[s(581)]?i[s(565)](t[s(450)],s(639)):i[s(545)](t[s(450)]);return i[s(617)](e,n[s(691)],n[s(462)])}function bt(t,e){const i=mt();return(bt=function(t,e){return i[t-=448]})(t,e)}function wt(t,e,i){const s=ft,n=s(729)==t[s(581)]?i[s(565)](t[s(450)],0):i[s(612)](t[s(450)]);return i[s(617)](e,n[s(691)],n[s(462)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),xt=i.n(Tt),Nt=i(265),At=i.n(Nt),Rt=i(410),Mt=i.n(Rt),Vt=i(238),Et=i.n(Vt),Dt=i(246),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(124),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Et();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=jt;function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=416]})(t,e)}function zt(){const t=["400AvapBm","fieldView","extendTemplate","788kqiaYN","ck-responsive-form","locale","listenTo","arrowup","initializeCssTransitionDisablerMixin","1041hARJFn","220","add","element","setTemplate","_createRevisionNameInput","reset","keystrokes","revisionName","revisionNameInputView","render","arrowdown","238288oixzsl","optional","Name of the revision","arrowright","focus","20zWOFIr","errorText","trim","169620oLyukA","stopPropagation","1148562CoFecJ","revisionNameInputValue","form","7EpGGzP","arrowleft","174224jlWRCP","ck-revision-history-save-revision-form","1107880uqAMgr","input","label","focusTracker","set","value"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(120926===parseInt(e(430))/1+parseInt(e(427))/2*(-parseInt(e(436))/3)+parseInt(e(419))/4*(parseInt(e(453))/5)+parseInt(e(456))/6+-parseInt(e(417))/7*(parseInt(e(448))/8)+parseInt(e(458))/9+-parseInt(e(421))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(424)];[Lt(443)];[Lt(445)];constructor(e,i){const s=Lt;super(e),this[s(424)]=new t.FocusTracker,this[s(443)]=new t.KeystrokeHandler,this[s(425)](s(459),""),this[s(445)]=this[s(441)](i),this[s(440)]({tag:s(416),attributes:{class:["ck",s(420),s(431)],tabindex:"-1"},children:[this[s(445)]]}),this[s(435)]()}[Lt(446)](){const t=Lt;super[t(446)](),(0,It.submitHandler)({view:this}),this[t(424)][t(438)](this[t(445)][t(439)]),this[t(443)][t(433)](this[t(439)]);const e=e=>e[t(457)]();this[t(443)][t(425)](t(451),e),this[t(443)][t(425)](t(418),e),this[t(443)][t(425)](t(434),e),this[t(443)][t(425)](t(447),e)}[Lt(452)](){const t=Lt;this[t(445)][t(452)]()}get[Lt(444)](){const t=Lt;return this[t(445)][t(428)][t(439)][t(426)][t(455)]()}set[Lt(444)](t){const e=Lt;this[e(445)][e(428)][e(439)][e(426)]=t[e(455)]()}[Lt(442)](){const t=Lt;this[t(445)][t(428)][t(439)][t(426)]="",this[t(445)][t(454)]=null}[Lt(441)](t){const e=Lt,i=new It.LabeledFieldView(this[e(432)],It.createLabeledInputText),s=i[e(428)];s[e(429)]({attributes:{maxlength:e(437)}});let n=at(this[e(432)],e(450));return!t&&(n+=" ("+at(this[e(432)],e(449))+")"),i[e(423)]=n,s.on(e(422),()=>{const t=e;this[t(459)]=s[t(439)][t(426)][t(455)]()}),i}}const Wt=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=366]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(225912===-parseInt(e(369))/1*(parseInt(e(382))/2)+parseInt(e(392))/3+parseInt(e(370))/4*(parseInt(e(396))/5)+-parseInt(e(397))/6+parseInt(e(424))/7*(parseInt(e(425))/8)+-parseInt(e(394))/9+parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends G.Plugin{static get[Wt(375)](){return Wt(419)}static get[Wt(410)](){return!0}static get[Wt(389)](){return!0}static get[Wt(368)](){return[pt]}[Wt(416)];[Wt(387)](){const t=Wt,e=this[t(414)],i=e[t(373)][t(426)](t(404));e.ui[t(417)][t(378)](t(374),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(402)][n(429)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(415)](n(383)).to(i,n(384),i,n(383),e,n(434),(t,e,i)=>t&&e&&!i),r[n(412)][n(376)]({icon:_t.IconHistory,label:at(s,n(372)),tooltip:!0}),u[n(376)]({label:at(s,n(379)),withText:!0,role:n(400)}),u[n(415)](n(383)).to(i,n(384),i,n(383),e,n(434),(t,e,i)=>t&&e&&!i),u.on(n(407),()=>this[n(381)]()),h[n(376)]({label:at(s,n(367)),withText:!0,role:n(400)}),h[n(415)](n(383)).to(i,n(384),e,n(434),(t,e)=>t&&!e),h.on(n(407),()=>{const t=n;e[t(411)][t(426)](t(374))[t(405)](),r[t(413)]=!1,e[t(380)][t(385)][t(423)]()}),c[n(429)][n(378)](u),l[n(429)][n(378)](h),a[n(420)]=n(418),a[n(399)][n(371)]([c,l]),o[n(378)](a),r}),e.ui[t(417)][t(378)](t(403),()=>this[t(432)]())}[Wt(432)](){const t=Wt,e=this[t(414)],i=e[t(406)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(412)][t(376)]({icon:_t.IconHistory,label:at(i,t(372))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(376)]({label:at(i,t(379))}),o[t(408)](t(407)).to(s),o.on(t(407),()=>{this[t(381)]()}),r[t(429)][t(378)](o),n[t(399)][t(378)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(376)]({label:at(i,t(367))}),c[t(408)](t(407)).to(s),c.on(t(407),()=>{const i=t;e[i(411)][i(426)](i(374))[i(405)]()}),a[t(429)][t(378)](c),n[t(399)][t(378)](a),s[t(402)][t(429)][t(378)](n),s}[Wt(381)](){const t=Wt,e=this[t(414)],i=e[t(406)],s=e[t(373)][t(426)](t(431)),n=e[t(373)][t(426)](t(404));function r(n){const r=t;e[r(411)][r(426)](r(409))&&""===n[r(393)]?n[r(427)][r(395)]=at(i,r(366)):(e[r(373)][r(426)](pt)[r(430)]({name:n[r(393)]}),s[r(422)]())}this[t(416)]||(this[t(386)](),this[t(416)].on(t(391),()=>r(this[t(416)]))),this[t(416)][t(398)](),s[t(388)]({id:t(390),title:at(i,t(379)),isModal:!0,content:this[t(416)],actionButtons:[{label:at(e[t(406)],t(401)),withText:!0,onExecute:()=>s[t(422)]()},{label:at(e[t(406)],t(377)),class:t(421),withText:!0,onCreate(i){const s=t;i[s(415)](s(383)).to(n,s(384),n,s(383),e,s(434),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(416)])}]})}[Wt(386)](){const t=Wt,e=this[t(414)],i=e[t(406)];this[t(416)]=new Ut(i,e[t(411)][t(426)](t(409))),this[t(416)][t(433)]()}}function qt(){const t=["showRevisionViewerCallback","locale","execute","delegate","revisionHistory.requireRevisionName","isOfficialPlugin","config","buttonView","isOpen","editor","bind","_saveRevisionFormView","componentFactory","menu","RevisionHistoryUI","role","ck-button-action","hide","focus","14301ftzrKX","544PVSfTZ","get","revisionNameInputView","10969850yAAUEf","children","saveRevision","Dialog","_registerMenuComponent","render","isReadOnly","The revision name cannot be empty.","Open revision history","requires","405755SXHpcY","16OxznRz","addMany","Revision history","plugins","revisionHistory","pluginName","set","Accept","add","Save current revision","editing","_showDialog","2MGPgap","isEnabled","isReady","view","_createSaveRevisionFormView","init","show","isPremiumPlugin","revisionSave","submit","340959hjaTSy","revisionName","3234825MTYNei","errorText","50905weCiPm","2395164IGvJFx","reset","items","menuitem","Cancel","panelView","menuBar:revisionHistory","RevisionTracker"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=217]})(t,e)}function Yt(){const t=["176718FfCqZo","578648zGtMQz","ck-revision-change","ck-annotation","Removed by","isSuggestion","bindTemplate","changeId","210fzWinC","set","data","Added by","Suggested by","1258hNVHan","590535CaoVYQ","name","focus","2952483BKgBwE","div","4eZeFVx","ck-revision-change__label","element","add","setTemplate","type","81ZwlVRP","8720880tUdNyk","span","1359VMpasP","ck-revision-change__","author","_model","1274455kQdxFT"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(567621===-parseInt(e(221))/1*(parseInt(e(239))/2)+parseInt(e(243))/3*(parseInt(e(245))/4)+-parseInt(e(225))/5+-parseInt(e(226))/6*(parseInt(e(234))/7)+parseInt(e(227))/8*(parseInt(e(218))/9)+parseInt(e(219))/10+parseInt(e(240))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(233)];[$t(224)];constructor(t,e){const i=$t;super(t),this[i(224)]=e,this[i(233)]=e.id;const s=this[i(232)],n=at(t,e[i(236)][i(231)]?i(238):i(248)==e[i(217)]?i(237):i(230));this[i(235)](i(217),e[i(217)]),this[i(249)]({tag:i(244),attributes:{class:[i(229),i(228),s.to(i(217),t=>i(222)+t)],tabindex:-1},children:[{tag:i(220),children:[{tag:i(220),attributes:{class:[i(246)]},children:[{text:n}]},{text:" "+e[i(223)][i(241)]}]}]})}[$t(242)](){const t=$t;this[t(247)][t(242)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=305]})(t,e)}function Xt(){var t=["2503660CcTtQy","2448FSPwhh","1210ylgqhM","358038jdWhlX","1163592OwWPGT","21IwhppC","author","createdAt","set","8483992KJecQu","9OdOgiE","798198FwpCUh","type","rootName","data","308475zvjOgC","1Rpdise","toJSON"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(200656===-parseInt(e(307))/1*(-parseInt(e(312))/2)+-parseInt(e(306))/3+-parseInt(e(310))/4*(-parseInt(e(311))/5)+parseInt(e(320))/6*(-parseInt(e(314))/7)+-parseInt(e(313))/8+parseInt(e(319))/9*(-parseInt(e(309))/10)+parseInt(e(318))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(315)];[Gt(321)];[Gt(305)];[Gt(322)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(315)]=e[i(315)],this[i(321)]=e[i(321)],this[i(305)]=e[i(305)]||{},this[i(322)]=e[i(322)],this[i(317)](i(316),e[i(316)])}[Gt(308)](){var t=Gt;return{id:this.id,authorId:this[t(315)].id,type:this[t(321)],data:this[t(305)],createdAt:this[t(316)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=296]})(t,e)}function ie(){const t=["76344xnVfGg","1214361lhcXle","_setChanges","newRevisionId","14GwLiXW","changes","28145lPaICF","6093rwrCBx","oldRevisionId","178964dooMHG","18790czduNy","add","492NqIxbG","294408utdZQe","984666PJTySs"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(271620===parseInt(e(309))/1+-parseInt(e(310))/2+-parseInt(e(297))/3+parseInt(e(305))/4+-parseInt(e(302))/5*(parseInt(e(308))/6)+parseInt(e(300))/7*(parseInt(e(296))/8)+-parseInt(e(303))/9*(-parseInt(e(306))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(299)];[te(304)];[te(301)];constructor(e,i){const s=te;this[s(299)]=e,this[s(304)]=i,this[s(301)]=new t.Collection}[te(298)](t){const e=te;for(const i of t)this[e(301)][e(307)](i)}}var ne=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["detachRoot","execute","addRoot","element","high","catch","attributesBefore","_findChangeIdFromDomTarget","6UrFfHE","uiElement","suggestion:","selection","domConverter","splice","removeClass","index","_cleanUp","consumable","bottom","addMarker:revision-suggestion:insertion","stop","suggestion","revisionHistory","2428047rKcHfb","hasAttribute","createUIElement","addRevision","_changeIdToChange","flat","isObject","backward","editing","createPositionBefore","plugins","left","repository","getRevision","change","createPositionFromPath","side","change:isReady","isAdded","roots","forEach","markers","_setConversion","split","getRoot","RevisionsRepository","ck-revision-history-root-remove","_threeWayMerge","nextPosition","isBlock","insertions","getDomRoot","isIncorrect","push","changeId","POSITIVE_INFINITY","attributesAfter","attributes","test","consume","184zffnik","affectsData","viewItem","isCollapsed","unbindElementFromMarkerName","add","concat","currentChangeNumber","-new","_changeView","getAttribute","change:activeView","isAtStart","change:isEnabled","_removeMissingPairs","_appendChild","isEqual","includes","3186970irJXAJ","enqueueChange","isOfficialPlugin","string","elementStart","_markMismatchedRemovedTags","from","isRemoveSuggestion","revision-viewer","pairId","mapper","markerNameToElements","userId","activeView","createRevision","revision-suggestion","get","top","clear","startIndex","text","_setDistance","revision-suggestion:","getItems","find","getRevisionRootsAttributes","showStack","attribute:vid","getCustomProperty","_step","_balloon","showNextChange","diffData","comment","mousedown","document","40YQBKMm","object","error","bindElementToMarker","dataDowncast","rootName","isNavigationMode","isInline","level","isReady","abs","editor","isContent","elementEnd","_getRevisionsRange","toViewPosition","insertion","_markInsertions","elementToAttribute","init","_makeModelFromViewString","oldRevisionId","right","revisionHistoryAttachChange","markersEnd","writer","removeMarker","next","restoreRevision","isAttached","isAfter","startsWith","softBreak","hasClass","item","getAttributes","revisionHistoryLabel","_markMarkers","low","bind","_initInteractions","maxOffset","4470662ARVkkA","_makeModelFromTape","merge","markersStart","ck-suggestion-marker--active","forceDisabled","ck-suggestion-marker-split","WidgetToolbarRepository","keys","addClass","2556144hkvTqQ","_sortAndFilterDiffChanges","_update","getLaterVisibleRevision","_cleanMarkers","type","addMarker:revision-suggestion:deletion","upcast","modelRange","wrap","getChild","RevisionHistoryUtils","return","toViewRange","15408wIWlxR","isEnabled","_joinTapes","authors","isLimit","addMarker:revision","all","revision-comment:","_utils","getClientRects","map","markerToHighlight","nodeAfter","pop","conversion","getWalker","end","221908SJKBsW","slice","nextSibling","for","RevisionViewer","isBefore","revision","revision:","_activeViewTarget","previousPosition","updatePosition","restoreRevisionCallback","observeMarkers","removeAttribute","requires","data","removeMarker:revision-suggestion","compare","vid_end","distance","createRangeIn","getRevisionDocumentData","range","enableReadOnlyMode","setAttribute","downcastDispatcher","addRevisionData","ck-suggestion-marker-merge","ck-revision-history-root-add","resolve","numberOfChanges","schema","addHighlight","ck-revision-history-root-","filter","diff","then","markerName","done","offsetSize","change:numberOfChanges","vid_start","createRange","deletion","commands","createAttributeElement","sort","mouseover","highest","_refreshStartEndIndex","isRemoved","reconvertMarker","shift","target","refresh","change:activeChange","values","parent","newRevisionId","attachChange","_setChanges","isSuggestion","getRootNames","name","_removeUnsupportedChanges","markerToData","isAddSuggestion","toViewElement","_revisions","delete","span","model","editingDowncast","_makeTape","_fixObsoleteTags","locale","destroy","markerRange","getIndex","config","dataToMarker","isAtEnd","582803UxOKey","ck-suggestion-marker","domEvent","findIndex","_markSuggestions","isOnRoot","ck-suggestion-preview-marker","vid","start","first","has","_getDiff","isPremiumPlugin","insert","remove","pluginName","changes","removeMarker:revision","_processTape","_getChangeFromId","endIndex","showPreviousChange","checkAttribute","adapter","mapViewToDom","code","element:pre","activeChange","data-change-id","_data","view","forward","unshift","_getViewForChange","ck-suggestion-marker-","length","ck-suggestion-preview-marker-","set","deletions","indexOf","ck-revision-history-root--active","ck-editor__editable__overlay","listenTo","loadRevisionData"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(358183===parseInt(e(686))/1+-parseInt(e(604))/2+-parseInt(e(587))/3*(parseInt(e(467))/4)+-parseInt(e(485))/5+parseInt(e(738))/6*(-parseInt(e(563))/7)+parseInt(e(573))/8+parseInt(e(753))/9*(parseInt(e(521))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(439)];[oe(709)]=null;[oe(595)];[oe(612)];[oe(476)];[oe(757)];[oe(515)];static get[oe(701)](){return oe(608)}static get[oe(487)](){return!0}static get[oe(698)](){return!0}static get[oe(618)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(439)]=this[e(532)][e(437)][e(501)](e(452)),this[e(595)]=this[e(532)][e(437)][e(501)](e(584)),this[e(723)](e(713),null),this[e(723)](e(498),null),this[e(612)]=null,this[e(723)](e(639),null),this[e(723)](e(530),!1),this[e(723)](e(588),!0),this.on(e(480),(t,i,s)=>{const n=e;this[n(713)]=null,this[n(498)]=null,this[n(532)][n(761)][n(716)][n(441)](t=>{const e=n;for(const i of this[e(532)][e(761)][e(716)][e(520)][e(446)])s?t[e(744)](e(727),i):t[e(572)](e(727),i)})}),this[e(560)](e(527)).to(this,e(713),t=>null!==t),this[e(560)](e(474)).to(this,e(530),this,e(639),this,e(713),(t,i,s)=>t&&s?i[e(702)][e(682)](s):0),this[e(560)](e(634)).to(this,e(530),this,e(639),(t,i)=>t?i[e(702)][e(721)]:0),this[e(476)]=null,this[e(757)]=new Map,this[e(515)]=this[e(532)][e(437)][e(501)](It.ContextualBalloon)}[oe(540)](){const t=oe,e=this[t(532)],i=new de(e,{direction:t(760)}),s=new de(e,{direction:t(717)});e[t(648)][t(472)](t(707),i),e[t(648)][t(472)](t(516),s),e[t(648)][t(472)](t(549),new he(e)),this.on(t(644),()=>{const e=t;i[e(658)](),s[e(658)]()}),this[t(449)](),this[t(561)](),e[t(627)](t(493)),e[t(437)][t(696)](t(570))&&e[t(437)][t(501)](t(570))[t(568)](t(493))}async[oe(625)](t){const e=oe;return await this[e(595)][e(729)](t,this[e(709)]),this[e(595)][e(625)](t)}async[oe(510)](t){const e=oe;return await this[e(595)][e(729)](t,this[e(709)]),this[e(595)][e(510)](t)}async[oe(621)](t,e,i=!1){const s=oe;if(!this[s(588)])return;const n=this[s(639)],r=this[s(439)],o=s(488)==typeof t?r[s(440)](t):t,a=s(488)==typeof e?r[s(440)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(639)]&&this[s(639)][s(662)]===c&&this[s(639)][s(542)]===u)return Promise[s(633)]();this[s(530)]=!1,this[s(498)]=null,this[s(713)]=null,this[s(639)]=new se(c,u);const l=this[s(535)](o,a,!0)[s(597)](t=>this[s(595)][s(729)](t,this[s(709)]));return l[s(460)](new Promise(t=>{setTimeout(t,20)})),Promise[s(593)](l)[s(640)](()=>{const t=s;if(!this[t(588)])return;this[t(746)]();const e=this[t(697)](c,u);for(const i of e[t(702)])this[t(757)][t(723)](i.id,i);this[t(532)][t(675)][t(486)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(532)][s(675)][s(520)][s(666)]())i[s(730)](t);for(const t of Object[s(571)](e[s(675)])){const n=i[s(732)](t);for(const r of Object[s(571)](e[s(464)][t]))i[s(628)](r,e[s(464)][t][r],n);i[s(699)](e[s(675)][t],n,0)}}),this[t(639)][t(664)](this[t(574)](e[t(702)])),this[t(530)]=!0})[s(735)](t=>{const e=s;console[e(523)](t),this[e(746)](),n&&(this[e(639)]=n),this[e(530)]=!0})}[oe(630)](t,e){const i=oe,s=this[i(439)][i(499)](t);return s.on(i(575),(t,i,n)=>e(i,n,s)),this[i(439)][i(756)](s),s}[oe(746)](){const t=oe;this[t(713)]=null,this[t(577)](),this[t(476)]&&this[t(476)][t(680)](),this[t(476)]=null,this[t(757)][t(503)](),this[t(532)][t(675)][t(486)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(532)][i(675)][i(520)][i(666)]())e[i(730)](t)})}[oe(574)](t){const e=oe,i=[],s=new Map;for(const t of this[e(532)][e(675)][e(520)][e(666)]()){const n=this[e(532)][e(761)][e(716)][e(458)](t);if(!n)continue;const r=n[e(596)]()[e(555)](0);r&&(i[e(460)](t),s[e(723)](t,r))}return i[e(650)]((t,i)=>{const n=e,r=s[n(501)](t),o=s[n(501)](i);return r.y-o.y||r.x-o.x}),(t=t[e(638)](t=>i[e(484)](t[e(526)])))[e(650)]((t,s)=>i[e(725)](t[e(526)])-i[e(725)](s[e(526)])),t}[oe(677)](t){const e=oe,i=Array[e(491)](t[e(448)])[e(638)](([t,i])=>t[e(552)](e(611))&&!i[e(470)]),s=Array[e(491)](this[e(532)][e(675)][e(624)](t)[e(602)]({singleCharacters:!0}));if(0!=i[e(721)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(450)](":");if(n[e(603)][e(483)](t[e(455)])&&i[e(656)](),(t[e(613)][e(483)](n[e(694)])||t[e(613)][e(551)](n[e(694)]))&&(e(537)==r?t[e(445)]={userId:o}:e(647)==r&&(t[e(654)]={userId:o})),0==i[e(721)])break}return s}[oe(653)](t){const e=oe,i=new Map;for(let s=0;s<t[e(721)];s++)e(505)===t[s][e(578)]?(t[s][e(555)][e(504)]=s,t[s][e(555)][e(706)]=s):(e(489)===t[s][e(578)]?t[s][e(555)][e(504)]=s:e(534)===t[s][e(578)]&&(t[s][e(555)][e(706)]=s),i[e(723)](t[s].id,s));for(const s of i[e(660)]())e(489)===t[s][e(578)]?t[s][e(555)][e(706)]=i[e(501)](t[s][e(494)]):e(534)===t[s][e(578)]&&(t[s][e(555)][e(504)]=i[e(501)](t[s][e(494)]))}[oe(704)](t){const e=oe;for(let i=0;i<t[e(721)];i++){if(e(489)===t[i][e(578)])t[i][e(555)][e(504)]=i;else if(e(534)===t[i][e(578)]){t[i][e(555)][e(706)]=i;const s=t[i][e(555)][e(504)];t[s][e(494)]=t[i].id,t[i][e(494)]=t[s].id}else t[i][e(555)][e(504)]=i,t[i][e(555)][e(706)]=i,t[i][e(494)]=null;t[i][e(566)]||(t[i][e(566)]=[],t[i][e(545)]=[])}}[oe(538)](t,e){const i=oe,s=t[i(638)](t=>!t[i(445)]);for(let t=0;t<e[i(721)];t++)e[t][i(445)]&&(s[t][i(445)]=e[t][i(445)])}[oe(697)](t,e=null){const i=oe,s=this[i(439)][i(440)](t),n=e?this[i(439)][i(440)](e):null,r=this[i(535)](s,n),o=r[r[i(721)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(721)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(571)](e[i(517)]))if(e[i(517)][t][i(663)]){const s=e[i(517)][t][i(663)];s[i(550)]?(u[i(472)](t),l[i(696)](t)&&l[i(501)](t)[i(497)]==s[i(497)]?l[i(673)](t):l[i(723)](t,s)):l[i(696)](t)?(u[i(673)](t),l[i(673)](t)):(u[i(472)](t),l[i(723)](t,s))}else u[i(472)](t)}for(const t of u){const e=l[i(696)](t)&&!l[i(501)](t)[i(550)];let s=e?r[i(721)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(517)][t]){const s=e?o[i(517)][t][i(736)]:o[i(517)][t][i(463)];c[i(464)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(675)]={};for(const e of t[i(590)])a[i(723)](e.id,e);for(const e of u){const s=t[i(517)][e]?t[i(517)][e][i(457)]:"[]",n=t[i(517)][e]?t[i(517)][e][i(724)]:"[]";t[i(675)][e]={insertions:this[i(595)][i(541)](s),deletions:this[i(595)][i(541)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(491)](s[i(675)][t][i(457)][i(448)])[i(638)](([t])=>!t[i(552)](i(611))));let h=0;for(const o of r){const r=this[i(677)](o[i(675)][t][i(457)]);o==s?(e=r,n=e[i(721)],e[i(447)](t=>{t.id=h++}),this[i(704)](e)):this[i(538)](e,r);const a=e[i(638)](t=>!t[i(445)])[i(597)](t=>t.id);let c=0;const l=this[i(677)](o[i(675)][t][i(724)]);l[i(447)](t=>{t[i(654)]?t.id=n++:t.id=a[c++]}),this[i(704)](l),this[i(506)](e,i(445)),this[i(506)](l,i(654)),o==s&&this[i(558)](e,u),e=this[i(589)](e,l),this[i(653)](e),this[i(506)](e,i(654))}e=e[i(638)](t=>!(t[i(445)]&&t[i(654)]));const d=new Map(o[i(675)][t][i(724)][i(448)]),f=new Set(u[i(571)]());for(const t of d[i(571)]())f[i(673)](t);this[i(690)](e,f),this[i(678)](e),e=this[i(481)](e),e=this[i(490)](e),e=this[i(668)](e);const{root:m,changes:p}=this[i(564)](e,a,t);c[i(675)][t]=m;const v=l[i(501)](t);if(v){const e=a[i(501)](v[i(497)]),s=new Qt({author:e,type:v[i(550)]?i(472):i(700),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(718)](s),c[i(464)][t][i(544)]=s.id}c[i(702)]=c[i(702)][i(473)](p)}return c}[oe(558)](t,e){const i=oe;for(let s=0;s<t[i(721)];s++)for(const[n,r]of e)!r[i(470)]&&r[i(694)][i(483)](t[s][i(613)])&&t[s][i(566)][i(460)](n),r[i(603)][i(483)](t[s][i(455)])&&t[s][i(545)][i(460)](n)}[oe(589)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(721)]||r<e[i(721)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(460)](o);else if(a[i(654)]&&o[i(445)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(454)](t,n,e,r);s=s[i(473)](o),n=a,r=c}else a[i(654)]?(r++,s[i(460)](a)):(n++,s[i(460)](o))}return s}[oe(690)](t,e){const i=oe,s=[];for(let o=0;o<t[i(721)];o++){for(let r=0;r<t[o][i(566)][i(721)];r++){const a=t[o][i(566)][r];if(!e[i(696)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(500)!=c||i(537)!=u&&i(647)!=u||(s[i(718)]({type:u,name:a,userId:l}),t[o][i(566)][i(743)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(545)][i(721)];r++){const a=t[o][i(545)][r];if(!e[i(696)](a))continue;const{group:c,type:u}=n(a);if(i(500)!=c||i(537)!=u&&i(647)!=u)continue;t[o][i(545)][i(743)](r,1),r--;const l=s[i(689)](t=>t[i(667)]==a);l>-1&&s[i(743)](l,1)}}function n(t){const e=i,s=t[e(450)](":");return{group:s[0],type:s[1],subType:s[e(721)]>=5?s[2]:null,id:s[e(721)]<5?s[2]:s[3],authorId:s[e(721)]<5?s[3]:s[4],markerCount:6==s[e(721)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(721)];i++){if(t[e(445)]&&e(537)==s[i][e(578)]&&t[e(445)][e(497)]==s[i][e(497)])return t[e(670)]=s[i],void delete t[e(445)];if(!t[e(445)]&&!t[e(654)]&&e(647)==s[i][e(578)])return void(t[e(492)]=s[i])}}}[oe(506)](t,e){const i=oe;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(723)](o.id,s);for(let s=0;s<t[i(721)];s++){if(i(654)==e&&t[s][i(445)]||i(445)==e&&t[s][i(654)])continue;if(i(505)==t[s][i(578)]){t[s][i(623)]=0;continue}const n=r[i(501)](t[s][i(494)]),o=r[i(501)](t[s].id);t[s][i(623)]=n-o}}[oe(535)](t,e,i=!1){const s=oe,n=[];let r=this[s(439)][s(682)](t),o=this[s(439)][s(682)](e);for(-1==o&&(o=this[s(439)][s(672)][s(721)],i=!1);r<o;)n[s(460)](this[s(439)][s(440)](r)),r++;return i&&n[s(460)](this[s(439)][s(440)](r)),n}[oe(454)](t,e,i,s){const n=oe,r=this[n(532)][n(675)][n(635)];let o=e;for(;t[o]&&t[o][n(445)];)o++;let a=s;for(;i[a]&&i[a][n(654)];)a++;u(t,e,o),u(i,s,a);const c=i[n(605)](s,a)[n(473)](t[n(605)](e,o));return c[n(650)]((t,e)=>t[n(443)]!=e[n(443)]?t[n(443)]-e[n(443)]:t[n(529)]!=e[n(529)]?t[n(529)]-e[n(529)]:t[n(623)]!=e[n(623)]?e[n(623)]-t[n(623)]:!!t[n(445)]!=!!e[n(445)]?-1==t[n(443)]||0==t[n(443)]?t[n(445)]?-1:1:t[n(445)]?1:-1:t[n(745)]-e[n(745)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(462)],c=!0;for(let n=e;n<i;n++)if(r[s(528)](t[n][s(555)])||(c=!1),t[n][s(555)][s(504)]<e&&(o=n),t[n][s(555)][s(706)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(443)]=n<=o?-1:n<a?0:1,t[n][s(745)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(623)]?t[i][s(529)]=u:(u++,t[i][s(529)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(443)]&&(t[n][s(529)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(623)]?t[e][s(529)]=u:(u--,t[e][s(529)]=u,u--)}}[oe(678)](t){const e=oe,i=new Map,s=this[e(532)][e(675)][e(635)];for(let n=1;n<t[e(721)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(505)==c[e(578)])continue;if(c[e(578)]!=u[e(578)])continue;if(!s[e(456)](u[e(555)])||s[e(591)](u[e(555)]))continue;if(!s[e(456)](c[e(555)])||s[e(591)](c[e(555)]))continue;if((t[n][e(445)]||t[n][e(670)])&&t[n-1][e(654)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(654)]||!t[n-1][e(445)]&&!t[n-1][e(670)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(529)]==o[e(529)],h=Math[e(531)](r[e(529)])<Math[e(531)](o[e(529)])&&0==o[e(623)];(l||h)&&(i[e(723)](o.id,r.id),t[e(743)](a,1),n--,r[e(445)]=!1)}for(let s=0;s<t[e(721)];s++)i[e(696)](t[s][e(494)])&&(t[s][e(494)]=i[e(501)](t[s][e(494)]))}[oe(481)](t){const e=oe,i=new Set(t[e(597)](t=>t.id));for(let s=0;s<t[e(721)];s++)i[e(696)](t[s][e(494)])||0==t[s][e(623)]||(t[s][e(459)]=!0);return t[e(638)](t=>!t[e(459)])}[oe(490)](t){const e=oe,i=new Set;for(let s=0;s<t[e(721)];s++){if(i[e(696)](t[s].id)&&t[s][e(654)]&&(t[s][e(459)]=!0),t[s][e(459)])continue;if(0==t[s][e(623)])continue;if(e(489)!=t[s][e(578)])continue;if(null==t[s][e(494)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(494)];)e(489)==t[n][e(578)]?r++:e(534)==t[n][e(578)]&&r--,n++;if(0!=r)if(t[s][e(654)])t[s][e(459)]=!0;else for(;n!=s;)t[n][e(654)]&&0!=t[n][e(623)]&&(t[n][e(459)]=!0,i[e(472)](t[n][e(494)])),n--}return t[e(638)](t=>!t[e(459)])}[oe(668)](t){const e=oe,i=this[e(532)][e(675)][e(635)];for(let s=0;s<t[e(721)];s++){if(!(t[s][e(445)]||t[s][e(670)]||t[s][e(654)]||t[s][e(492)]))continue;if(0==t[s][e(623)])continue;const n=t[s][e(555)];i[e(456)](n)||i[e(591)](n)||(t[s][e(445)]&&delete t[s][e(445)],t[s][e(670)]&&delete t[s][e(670)],t[s][e(492)]&&delete t[s][e(492)],t[s][e(654)]&&(t[s][e(459)]=!0))}return t[e(638)](t=>!t[e(459)])}[oe(564)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(532)][s(675)],c=a[s(635)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(721)];e++)if(s(489)===t[e][s(578)]){t[e][s(613)]=a[s(442)](n,f);const i=new X.ModelElement(t[e][s(555)][s(667)],t[e][s(555)][s(556)]());u[0][s(482)](i),f[s(460)](0),u[s(718)](i),t[e][s(455)]=a[s(442)](n,f)}else s(534)===t[e][s(578)]?(u[s(656)](),t[e][s(613)]=a[s(442)](n,f),f[s(600)](),f[f[s(721)]-1]++,t[e][s(455)]=a[s(442)](n,f)):(t[e][s(613)]=a[s(442)](n,f),d?d[s(715)]+=t[e][s(555)][s(619)]:d=new X.ModelText(t[e][s(555)][s(619)],t[e][s(555)][s(556)]()),t[e+1]&&s(505)===t[e+1][s(578)]&&v(d,t[e+1][s(555)])||(u[0][s(482)](d),d=null),f[f[s(721)]-1]+=t[e][s(555)][s(643)],t[e][s(455)]=a[s(442)](n,f));for(let e=0;e<t[s(721)];e++){const i=t[e][s(613)],n=t[e][s(455)];for(const n of t[e][s(566)])o[s(723)](n,{start:i,end:null});m(s(492),e,i,n),m(s(670),e,i,n),m(s(654),e,i,n),m(s(445),e,i,n);for(const i of t[e][s(545)]){const t=o[s(501)](i);t?t[s(603)]=n:o[s(723)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(532)][s(675)][s(646)](e[s(694)],e[s(603)]);n[s(448)][s(723)](t,i)}return r[s(650)]((t,e)=>{const i=s,r=n[i(448)][i(501)](i(611)+t.id),o=n[i(448)][i(501)](i(611)+e.id);return r[i(694)][i(609)](o[i(694)])?-1:r[i(694)][i(551)](o[i(694)])?1:r[i(603)][i(609)](o[i(603)])?-1:r[i(603)][i(551)](o[i(603)])?1:i(472)===t[i(578)]?-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(497)]:null,d=i===t[o(721)]-1,f=h[e][0],m=c[o(759)](t[i][o(555)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(603)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(497)]!==u&&(l[e][o(603)]=n,f&&f[o(497)]===l[e][o(497)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(489)!==t[i][o(578)]||f&&f[o(497)]===u||h[e][o(718)]({userId:u,object:t[i][o(555)],change:l[e]}),o(534)===t[i][o(578)]&&f&&f[o(522)]===t[i][o(555)]&&(h[e][o(656)](),l[e]=f[o(441)])),l[e]&&d&&(l[e][o(603)]=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(555)],f=a[h(635)][h(456)](d)&&!a[h(635)][h(591)](d),m=t[h(599)]==o[h(661)]&&o[h(479)];if(f&&m)return;const p=a[h(646)](t,o),v=e[h(501)](u),g=new Qt({author:v,type:h(445)==l||h(670)==l?h(472):h(700),data:{isSuggestion:h(670)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(460)](g),n[h(448)][h(723)](h(611)+g.id,p)}function v(t,e){const i=s,n=t[i(556)](),r=e[i(556)]();for(const t of n){if(t[1]!==e[i(477)](t[0]))return!1;r[i(548)]()}return r[i(548)]()[i(642)]}}[oe(449)](){const t=oe;this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(610)}),this[t(532)][t(601)][t(607)](t(676))[t(598)]({model:t(610),view:e=>{const i=t,s=e[i(641)][i(450)](":")[1],n=this[i(705)](s);if(!n)return null;const r=i(472)==n[i(578)]?i(537):i(647),o=[i(687),i(720)+r];return n[i(619)][i(665)]&&o[i(460)](i(720)+r+i(475)),this[i(713)]==n&&o[i(460)](i(567)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(532)][t(601)][t(607)](t(580))[t(472)](e=>{const i=t;e.on(i(712),(t,e,s)=>{const n=i,r=e[n(469)][n(583)](0);if(!r||!r.is(n(733),n(711)))return;if(!s[n(747)][n(466)](r,{attributes:[n(645),n(622)]}))return;const o=e[n(581)][n(694)][n(599)];s[n(546)][n(628)](n(645),r[n(477)](n(645)),o),s[n(546)][n(628)](n(622),r[n(477)](n(622)),o)},{priority:i(559)})}),this[t(532)][t(601)][t(607)](t(580))[t(472)](e=>{const i=t;e.on(i(733),(t,e,s)=>{const n=i;if(!s[n(747)][n(466)](e[n(469)],{attributes:[n(645),n(622)]}))return;if(e[n(581)][n(470)])return;const r=e[n(581)][n(694)][n(599)];r[n(754)](n(645))||r[n(754)](n(693))||(s[n(546)][n(628)](n(645),e[n(469)][n(477)](n(645)),r),s[n(546)][n(628)](n(622),e[n(469)][n(477)](n(622)),r))},{priority:i(559)})}),this[t(532)][t(601)][t(607)](t(580))[t(539)]({view:{name:t(674),attributes:{vid:!0}},model:{key:t(693),value:e=>e[t(477)](t(693))}}),this[t(532)][t(675)][t(635)].on(t(708),(e,[,i])=>{const s=t;[s(645),s(622),s(693)][s(484)](i)&&(e[s(585)]=!0,e[s(750)]())},{priority:t(652)}),this[t(532)][t(601)][t(607)](t(525))[t(472)](e=>{const i=t;e.on(i(512),(t,e,s)=>{const n=i;if(" "!=e[n(555)][n(619)]||e[n(555)][n(661)][n(562)]>1)return;if(!s[n(747)][n(466)](e[n(555)],t[n(667)]))return;const r=s[n(546)],o=s[n(495)][n(586)](e[n(626)]);r[n(582)](o,r[n(649)](n(674)))})}),this[t(532)][t(601)][t(607)](t(525))[t(669)]({model:t(610)}),this[t(532)][t(761)][t(629)].on(t(592),function(e){const i=t,s=e[i(437)][i(501)](i(608));return(t,n,r)=>{const o=i,a=n[o(641)][o(450)](":")[1],c=s[o(705)](a);if(!c)return null;const u=o(472)==c[o(578)]?o(450):o(565);if(!r[o(747)][o(465)](n[o(681)],t[o(667)]))return;const l=n[o(681)][o(602)](),h=n[o(681)][o(694)],d=e[o(675)][o(635)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(555)];p=p||d[o(533)](e);const i=r[o(495)][o(671)](e);if(i&&i[o(513)](o(636)))return;o(534)==t[o(578)]&&d[o(456)](e)&&!d[o(591)](e)&&(e[o(606)]||h[o(685)]?f&&f[o(661)]==e||(f=e,g(t[o(613)]),v=!0):m=m||t[o(613)])}function g(t){const e=o,i=r[e(546)][e(755)](e(674),{class:e(720)+u}),a=r[e(495)][e(536)](t);c[e(619)][e(665)]&&r[e(546)][e(572)](e(720)+u+e(475),i),s[e(713)]==c&&r[e(546)][e(572)](e(567),i),r[e(546)][e(699)](a,i),r[e(495)][e(524)](i,n[e(641)])}p||v||!m||g(m)}}(this[t(532)]),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(703),(e,i,s)=>{const n=t,r=s[n(495)][n(496)](i[n(641)]);if(r)for(const t of r)(t[n(554)](n(569))||t[n(554)](n(631)))&&(s[n(495)][n(471)](t,i[n(641)]),s[n(546)][n(700)](t))},{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(592),(e,i,s)=>{const n=t,r=i[n(641)][n(450)](":")[1],o=this[n(705)](r);if(!o)return null;const a=n(472)==o[n(578)]?n(450):n(565);if(s[n(747)][n(465)](i[n(681)],e[n(667)]))for(const t of i[n(681)][n(508)]()){if(!t.is(n(733),n(553)))continue;const e=s[n(546)][n(755)](n(674),{class:n(720)+a}),r=s[n(495)][n(536)](this[n(532)][n(675)][n(762)](t));o[n(619)][n(665)]&&s[n(546)][n(572)](n(720)+a+n(475),e),this[n(713)]==o&&s[n(546)][n(572)](n(567),e),s[n(546)][n(699)](r,e),s[n(495)][n(524)](e,i[n(641)])}},{priority:t(734)}),this[t(532)][t(675)][t(520)].on(t(441),()=>{const e=t;this[e(532)][e(761)][e(716)][e(441)](t=>{const i=e;for(const e of this[i(532)][i(675)][i(520)][i(666)]()){const s=this[i(532)][i(675)][i(520)][i(451)](e),n=this[i(532)][i(761)][i(716)][i(520)][i(451)](e);if(n){const e=s[i(477)](i(544));if(t[i(617)](i(714),n),t[i(744)](i(632),n),t[i(744)](i(453),n),t[i(744)](i(726),n),e){const s=this[i(705)](e);if(!s)return null;t[i(628)](i(714),e,n),t[i(572)](i(637)+s[i(578)],n),this[i(713)]==s&&t[i(572)](i(726),n)}}}})}),this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(518),model:e=>t(594)+e,converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(751),model:e=>t(507)+e,converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(525))[t(669)]({model:t(500),view:e=>({name:t(740)+e,group:t(500)}),converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(676))[t(598)]({model:t(500),view:e=>{const i=t,s=e[i(641)][i(450)](":")[1];return i(537)!=s&&i(647)!=s?null:{classes:[i(692),i(722)+s]}}}),this[t(532)][t(761)][t(629)].on(t(579),le(this[t(532)],t(565)),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(749),le(this[t(532)],t(450)),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(620),(e,i,s)=>{const n=t,r=s[n(495)][n(496)](i[n(641)]);if(r)for(const t of r)t.is(n(739))&&(s[n(495)][n(471)](t,i[n(641)]),s[n(546)][n(700)](t))},{priority:t(734)})}[oe(705)](t){const e=oe;return this[e(757)][e(501)](t)}[oe(719)](t){const e=oe;return this[e(476)]&&this[e(476)][e(680)](),this[e(476)]=new Jt(this[e(532)][e(679)],t),this[e(476)]}[oe(561)](){const t=oe;this[t(532)][t(675)][t(520)][t(741)][t(616)](t(610)),this.on(t(478),(e,i,s,n)=>{const r=t;n&&this[r(515)][r(700)](n),s&&(this[r(515)][r(472)]({view:s,stackId:r(557),position:{target:()=>{const t=r,e=this[t(532)][t(761)],i=this[t(705)](s[t(461)]);let n;if(i[t(619)][t(691)]){const s=e[t(716)][t(458)](i[t(526)]);n=Array[t(491)](s[t(596)]())}else{const i=this[t(532)][t(675)][t(448)][t(501)](t(611)+s[t(461)]);n=Array[t(491)](e[t(495)][t(496)](i[t(667)]))[t(597)](i=>e[t(716)][t(742)][t(710)](i))[t(597)](e=>Array[t(491)](e[t(596)]()))[t(758)]()}return this[t(612)]&&n[t(509)](e=>e[t(502)]-3<=this[t(612)].y&&e[t(748)]+3>=this[t(612)].y&&e[t(438)]-3<=this[t(612)].x&&e[t(543)]+3>=this[t(612)].x)||n[0]}}}),this[r(515)][r(511)](r(557)))}),this.on(t(659),(e,i,s,n)=>{const r=t;this[r(498)]=s?this[r(719)](s):null,this[r(532)][r(675)][r(441)](()=>{const t=r,e=this[t(532)][t(761)];n&&(n[t(619)][t(691)]?e[t(716)][t(441)](i=>{const s=t;i[s(744)](s(726),e[s(716)][s(520)][s(451)](n[s(526)]))}):e[t(655)](t(611)+n.id)),s&&(s[t(619)][t(691)]?e[t(716)][t(441)](i=>{const n=t;i[n(572)](n(726),e[n(716)][n(520)][n(451)](s[n(526)]))}):e[t(655)](t(611)+s.id))})}),this[t(728)](this[t(532)][t(761)][t(716)][t(520)],t(651),(e,i)=>{const s=t;if(this[s(713)])return;const n=this[s(737)](i[s(657)]),r=this[s(757)][s(501)](n);r?(this[s(612)]={x:i[s(688)].x,y:i[s(688)].y},this[s(498)]=this[s(719)](r)):(this[s(612)]=null,this[s(498)]=null)}),this[t(728)](this[t(532)][t(761)][t(716)][t(520)],t(519),(e,i)=>{const s=t,n=this[s(737)](i[s(657)]),r=this[s(757)][s(501)](n);r?(this[s(612)]={x:i[s(688)].x,y:i[s(688)].y},r===this[s(713)]?this[s(515)][s(614)]():this[s(713)]=r):(this[s(612)]=null,this[s(713)]=null)})}[oe(737)](t){const e=oe;do{const i=t[e(477)](e(714));if(i)return i;t=t[e(661)]}while(t);return null}[oe(577)](){const t=oe;this[t(532)][t(675)][t(441)](e=>{const i=t;for(const t of this[i(532)][i(675)][i(448)])e[i(547)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(747)][r(465)](s[r(681)],i[r(667)]))return;const o=s[r(681)][r(602)](),a=s[r(681)][r(694)],c=t[r(675)][r(635)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(555)];h=h||c[r(533)](e);const i=n[r(495)][r(671)](e);if(i&&i[r(513)](r(636)))return;r(534)==t[r(578)]&&c[r(456)](e)&&!c[r(591)](e)&&(e[r(606)]||a[r(685)]?u&&u[r(661)]==e||(u=e,f(t[r(613)]),d=!0):l=l||t[r(613)])}function f(t){const i=r,o=n[i(495)][i(536)](t),a=n[i(546)][i(755)](i(674),{class:i(722)+e});n[i(546)][i(699)](o,a),n[i(495)][i(524)](a,s[i(641)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(437)][e(501)](ue);this[e(468)]=!1,this[e(728)](i,e(444),()=>this[e(658)]()),this[e(728)](i,e(480),()=>this[e(658)]())}[oe(731)](){const t=oe,e=this[t(532)],i=e[t(437)][t(501)](ue),s=i[t(530)]?i[t(639)][t(662)]:null;e[t(683)][t(501)](t(752))[t(615)](s)}[oe(658)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(532)][t(437)][t(501)](ue),r=n&&s[t(576)](n[t(662)]);this[t(588)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(514)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(437)][i(501)](ue);this[i(468)]=!1,this[i(514)]=i(717)===e?1:-1,this[i(728)](s,i(444),()=>this[i(658)]()),this[i(728)](s,i(480),()=>this[i(658)]()),this[i(728)](s,i(659),()=>this[i(658)]())}[oe(731)](){const e=oe,i=this[e(532)],s=i[e(437)][e(501)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(713)]=n?s[e(639)][e(702)][e(501)](r+this[e(514)]):s[e(639)][e(702)][e(695)],s[e(713)][e(619)][e(691)])o=i[e(761)][e(716)][e(458)](s[e(713)][e(526)]);else{const t=i[e(675)][e(448)][e(501)](e(611)+s[e(713)].id);o=(0,K.getMarkerDomElement)(i[e(761)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(658)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(532)][t(437)][t(501)](ue);this[t(588)]=!!(r&&n&&s)&&(!e||(1===this[t(514)]?i<s-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=172]})(t,e)}function ve(){const t=["No changes","ck-revision-history-ui","currentChangeNumber","427826PzrjaO","_isStatusLabelVisible","4TbHewU","567828RmwnJz","isNavigationMode","set","3333072UwPORr","X_OF_Y_CHANGES","isEnabled","span","899709BhJhPq","bindTemplate","div","Show next change","setTemplate","Loading...","NUMBER_OF_CHANGES","Total","ck-hidden","ck-revision-history-ui__changes-navigation__label","isReady","ck-revision-history-ui__changes-navigation__navigation","2138980oveAQO","ck-revision-history-ui__changes-navigation","_statusText","forward","backward","isForwardNavigationEnabled","878394iCJbsZ","90ArLOKX","bind","numberOfChanges","279117HkFJDn","execute","EDIT_X_OF_Y_REVISIONS","isBackwardNavigationEnabled","24dVCRxs","ck-revision-history-ui__changes-navigation__wrapper","Show previous change","fire"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(752929===parseInt(e(203))/1+parseInt(e(185))/2+-parseInt(e(210))/3*(parseInt(e(202))/4)+parseInt(e(179))/5+parseInt(e(193))/6*(-parseInt(e(200))/7)+-parseInt(e(206))/8+-parseInt(e(189))/9*(-parseInt(e(186))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(211)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(205)](e(204),!1),this[e(205)](e(177),!1),this[e(205)](e(199),0),this[e(205)](e(188),0),this[e(205)](e(184),!1),this[e(205)](e(192),!1),this[e(187)](e(201)).to(this,e(177),this,e(188),(t,e)=>t&&e>0),this[e(187)](e(181)).to(this,e(177),this,e(199),this,e(188),this,e(204),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(172));if(!n)return at(t,o(197));const a=at(t,o(173),n);return r?at(t,o(207),[s+1,n]):a}),s[e(205)]({label:at(t,e(195)),tooltip:!0,icon:_t.IconChevronUp}),n[e(205)]({label:at(t,e(213)),tooltip:!0,icon:_t.IconChevronDown}),s[e(187)](e(208)).to(this,e(192)),n[e(187)](e(208)).to(this,e(184)),s.on(e(190),()=>this[e(196)](e(190),e(183))),n.on(e(190),()=>this[e(196)](e(190),e(182))),this[e(214)]({tag:e(212),attributes:{class:["ck",e(198),e(180)]},children:[{tag:e(209),attributes:{class:[e(194)]},children:[{tag:e(209),attributes:{class:[e(176),i.if(e(201),e(175),t=>!t)]},children:[{text:i.to(e(204),i=>i?at(t,e(191))+": ":at(t,e(174))+": ")}]},{text:i.to(e(181))}]},new It.ToolbarSeparatorView,{tag:e(212),attributes:{class:[e(178)]},children:[s,n]}]})}}var ye=i(772),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=134]})(t,e)}function _e(){const t=["isPremiumPlugin","564kmAkQn","353561elvbmI","326209XOJJFX","view","removeClass","8ktyIcA","show","3710SXPGOq","addClass","RevisionViewerLoadingOverlay","change","pluginName","3UmnTSW","10uTdHth","36UNzEPy","editing","1757313tYngDO","roots","hide","ck-editor__editable__loading-overlay","editor","75GCDuxH","isOfficialPlugin","1855447PJUxBz","244258MAMLKC","35576ElbMlq","document"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(335757===-parseInt(e(145))/1+parseInt(e(139))/2*(-parseInt(e(155))/3)+-parseInt(e(140))/4*(parseInt(e(136))/5)+-parseInt(e(157))/6*(-parseInt(e(150))/7)+-parseInt(e(148))/8*(parseInt(e(159))/9)+-parseInt(e(156))/10*(parseInt(e(138))/11)+parseInt(e(143))/12*(parseInt(e(144))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(134);class Se extends G.Plugin{static get[be(154)](){return be(152)}static get[be(137)](){return!0}static get[be(142)](){return!0}[be(149)](){const t=be,e=this[t(135)][t(158)][t(146)];e[t(153)](i=>{const s=t;for(const t of e[s(141)][s(160)])i[s(151)](Ie,t)})}[be(161)](){const t=be,e=this[t(135)][t(158)][t(146)];e[t(153)](i=>{const s=t;for(const t of e[s(141)][s(160)])i[s(147)](Ie,t)})}}const Oe=xe;function Te(){const t=["editor","config","change:isReady","isEnabled","isReady","779594jnsFMl","24rXqHYS","pluginName","isBackwardNavigationEnabled","componentFactory","6SqSUyl","restoreRevision","revisionHistory","requires","changesNavigation","exitToEditing","plugins","listenTo","isNavigationMode","RevisionViewerUI","show","ck-revision-history-ui__back-to-editing","showNextChange","1683AFMqPa","numberOfChanges","3782165QUYLpn","3447178MXuhiY","3318416OCOiVb","127242eRLvQG","currentChangeNumber","1412150xVapbe","Back to editing","isOfficialPlugin","206700lqSCKp","hide","commands","isPremiumPlugin","Restore this revision","execute","closeRevisionViewerCallback","bind","add","init","forward","get","isForwardNavigationEnabled","showPreviousChange","set","3GaurUj"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(752524===-parseInt(e(347))/1+-parseInt(e(322))/2+parseInt(e(316))/3*(-parseInt(e(344))/4)+parseInt(e(342))/5*(parseInt(e(327))/6)+-parseInt(e(343))/7+-parseInt(e(323))/8*(parseInt(e(345))/9)+parseInt(e(301))/10*(parseInt(e(340))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(324)](){return Oe(336)}static get[Oe(300)](){return!0}static get[Oe(304)](){return!0}static get[Oe(330)](){return[ue,Se]}[Oe(310)](){const t=Oe,e=this[t(317)],i=e[t(333)][t(312)](ue),s=e[t(333)][t(312)](Se);e.ui[t(326)][t(309)](t(332),i=>{const s=t,n=new It.ButtonView(i);return n[s(315)]({label:at(i,s(299)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(338)}),this[s(334)](n,s(306),()=>{const t=s;e[t(318)][t(312)](t(329))[t(307)]()}),n}),e.ui[t(326)][t(309)](t(328),i=>{const s=t,n=new It.ButtonView(i);return n[s(315)]({label:at(i,s(305)),withText:!0,tooltip:!0}),n[s(308)](s(320)).to(e[s(303)][s(312)](s(328))),this[s(334)](n,s(306),()=>e[s(306)](s(328))),n}),e.ui[t(326)][t(309)](t(331),s=>{const n=t,r=new ge(s),o=e[n(303)][n(312)](n(314)),a=e[n(303)][n(312)](n(339));return r[n(308)](n(325)).to(o,n(320)),r[n(308)](n(313)).to(a,n(320)),r[n(308)](n(321),n(346),n(341),n(335)).to(i),this[n(334)](r,n(306),(t,i)=>{const s=n;e[s(306)](s(311)===i?s(339):s(314))}),r}),s[t(337)](),i.on(t(319),(e,i,n)=>{const r=t;n?s[r(302)]():s[r(337)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["_updateTooltipText","1176LkzaUR","Enter the revision name","span","Revision name","extendTemplate","bindTemplate","711598dHFoMo","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","7490PelmHt","6TQNOni","input","2047860vOczQd","_resizeObserver","set","element","scrollWidth","placeholder","822370qlTgOI","destroy","_tooltipString","listenTo","clientWidth","value","13438480STdIaf","1198443ugQfaS","4vCjEkU","render","516185mbwlFl","fieldView"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(447059===-parseInt(e(443))/1+-parseInt(e(455))/2+-parseInt(e(431))/3*(-parseInt(e(432))/4)+parseInt(e(434))/5*(-parseInt(e(447))/6)+-parseInt(e(446))/7*(-parseInt(e(437))/8)+-parseInt(e(449))/9+parseInt(e(430))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(450)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(442)];this[i(451)]({label:at(t,i(440)),_tooltipString:""}),this[i(435)][i(454)]=at(t,i(438)),this[i(441)]({tag:i(439),attributes:{class:[i(445)],"data-cke-tooltip-text":s.to(i(457)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(444)}})}[Me(433)](){const e=Me;super[e(433)](),this[e(450)]=new t.ResizeObserver(this[e(435)][e(452)],()=>this[e(436)]()),this[e(458)](this[e(435)],e(448),()=>this[e(436)]())}[Me(456)](){const t=Me;super[t(456)](),this[t(450)]&&this[t(450)][t(456)]()}[Me(436)](){const t=Me,e=this[t(435)][t(452)];this[t(457)]=e[t(453)]>e[t(459)]&&e[t(429)]||""}}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(t,e){const i=Le();return(Pe=function(t,e){return i[t-=442]})(t,e)}function Le(){const t=["1623096TDISzE","Revision author","setTemplate","push","0 0 11 10","4949840CGoAsL","ck-revision-history-sidebar__revision-author_creator","set","name","10hVERPs","ck-revision-history-sidebar__revision-author__name","10795563vWHOwP","152752VRpGkb","14sKzeWz","93NILIDH","7394216hqkVqI","1053790HlsnHa","524140lfTBKg","span","ck-revision-history-sidebar__revision-author","Revision creator"];return(Le=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(592134===-parseInt(e(456))/1+-parseInt(e(457))/2+parseInt(e(454))/3*(parseInt(e(452))/4)+parseInt(e(445))/5+parseInt(e(461))/6*(-parseInt(e(453))/7)+-parseInt(e(455))/8+parseInt(e(451))/9*(parseInt(e(449))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class je extends It.View{constructor(t,e,i){const s=Pe;super(t);const n=new It.IconView;n[s(447)]({content:_t.IconUser,viewBox:s(444)});const r=["ck",s(459)];i&&r[s(443)](s(446));const o=[{tag:s(458),attributes:{class:["ck",s(450)],title:at(t,s(i?460:462))},children:[n,e[s(448)]]}];this[s(442)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["11944SaRjPL","792702HHfHUI","6ixCgzP","toLocaleDateString","toLocaleTimeString","3591420QHdYHJ","2034ytXaAb","4wJKReL","long","103449wTkDSW","2721418bmMBve","11329mXBjAB","numeric","5371872EdaPVa","15KiEEQb"];return(ze=function(){return t})()}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=176]})(t,e)}!function(t){for(var e=Ue,i=t();;)try{if(200135===-parseInt(e(190))/1*(-parseInt(e(181))/2)+-parseInt(e(188))/3*(parseInt(e(186))/4)+parseInt(e(178))/5*(-parseInt(e(180))/6)+parseInt(e(189))/7+parseInt(e(179))/8*(parseInt(e(185))/9)+parseInt(e(184))/10+-parseInt(e(177))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(111),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=337]})(t,e)}function qe(){const t=["119595dHrQcA","buttonView","824290ovIFCs","stopPropagation","2226LoHoTY","children","listenTo","action","5607RsxMXZ","4913696PnbIEu","Name this revision","bindTemplate","Compare against selected","panelPosition","isEnabled","execute","class","bind","3648546qiORyc","menuitem","extendTemplate","button","6CLXKsX","isVisible","isReady","name","model","set","listView","isOpen","locale","isActionsDropdownOpen","add","Show more items","menu","4WItpvs","source","map","315076NksvRX","first","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","ck-on","11QrtHZZ","_action","Restore this revision","1151270yiDDdp","function","find","items"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(333565===parseInt(e(347))/1+parseInt(e(381))/2*(-parseInt(e(359))/3)+parseInt(e(344))/4*(parseInt(e(361))/5)+parseInt(e(363))/6*(parseInt(e(367))/7)+-parseInt(e(368))/8+parseInt(e(377))/9+parseInt(e(355))/10*(-parseInt(e(352))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["923303fEtFtc","render","div","authors","value","isSelected",".ck-confirm-view","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","creator","change","fieldView","extendTemplate","element","select","ck-disabled","9RmoPUy","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","16630670RJDlMe","filter","setName","createdAt","_requireRevisionName","isEnabled","map","ck-revision-history-sidebar__revision-authors","_revision","ck-revision-history-sidebar__revision","15yrZVLc","set","2709036oJPxIY","revisionActionsView","3MWklXD","isConfirm","ck-revision-history-sidebar__revision__controls-wrapper","fire","span","uiLanguage","ck-revision-history-sidebar__revision-wrapper","7fazLcM","isReady","from","9466776zYZftp","ck-revision-history-sidebar__revision_selected","557476qTzZJW","41032cfRCcy","bindTemplate","ck-reset","srcElement","bind","isActionsDropdownOpen","unhighlight","highlight","unshift","_createdAtFormatted","listenTo","revisionNameView","closest","8918514CrpeIa","length","setTemplate","deselect","name","220","11BktsII","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(870998===-parseInt(e(237))/1+-parseInt(e(215))/2*(-parseInt(e(269))/3)+parseInt(e(281))/4*(-parseInt(e(265))/5)+parseInt(e(228))/6+parseInt(e(276))/7*(-parseInt(e(279))/8)+-parseInt(e(252))/9*(-parseInt(e(255))/10)+parseInt(e(234))/11*(parseInt(e(267))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(226)];[Ye(268)];[Ye(263)];[Ye(259)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(216)],a=function(t,e){const i=r,s=Array[i(278)](e[i(240)])[i(256)](t=>t!=e[i(245)]);return e[i(245)]&&s[i(223)](e[i(245)]),s[i(261)](s=>new je(t,s,s==e[i(245)]))}(e,i);this.id=i.id,this[r(263)]=i,this[r(259)]=n,this[r(219)](r(232),r(258)).to(i),this[r(219)](r(224)).to(this,r(258),t=>{return i=e[r(274)],(s=t)[(n=Ue)(182)](i,{month:n(187),day:n(176)})+", "+s[n(183)](i,{hour:n(176),minute:n(176)});var i,s,n}),this[r(266)](r(242),!1),this[r(266)](r(254),!1),this[r(266)](r(220),!1),this[r(266)](r(277),!1),this[r(266)](r(260),!1),this[r(226)]=new De(e,It.createLabeledInputText),this[r(226)][r(247)][r(248)]({attributes:{maxlength:r(233)}}),this[r(226)][r(247)][r(219)](r(241)).to(this,r(232),t=>t||this[r(224)]),this[r(226)][r(219)](r(260)).to(this,r(242),this,r(260),(t,e)=>t&&e),this[r(268)]=s&&s[r(229)]?function(e,i){const s=Ze,n=e[s(370)],r=e[s(339)],o=(0,It.createDropdown)(r);o[s(372)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(339)],n={"Compare against selected":at(s,i(371)),"Name this revision":at(s,i(369)),"Restore this revision":at(s,i(354))};return e[i(346)](t=>{const e=i,s=n[t[e(384)]];return s&&s!==t[e(384)]&&(t[e(384)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(380),model:new It.UIModel({label:t[n(384)],class:t[n(375)],withText:!0,role:n(378),_action:t[n(366)]})};i[n(385)][n(376)](n(373)).to(e,n(340),i=>n(356)!=typeof t[n(373)]||!i||t[n(373)](e)),o[n(341)](i)}return o}(e,i);return e[s(376)](s(340)).to(o,s(338)),o[s(360)][s(386)]({label:at(r,s(342)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(379)]({attributes:{class:[s(349),n.if(s(340),s(351))]},on:{click:n.to(t=>t[s(362)]())}}),o.on(s(374),t=>{const i=s;e[i(383)]&&i(356)==typeof t[i(345)][i(353)]&&t[i(345)][i(353)](e)}),(0,It.addListToDropdown)(o,a,{role:s(343)}),o[s(365)](e,s(350),(t,n,r)=>{const a=s;if(r)for(const t of o[a(337)][a(358)]){const s=t[a(364)][a(348)],n=i[a(357)](t=>t[a(366)]===s[a(353)])[a(382)];t[a(382)]=void 0===n||n(e)}}),o}(this,s):"",this[r(268)]&&this[r(268)][r(219)](r(260)).to(this),this[r(230)]({tag:r(239),attributes:{class:["ck",r(217),r(275),o.if(r(270),r(244))]},children:[{tag:r(239),attributes:{class:["ck",r(217),r(264),o.if(r(260),r(251),t=>!t),o.if(r(242),r(280)),o.if(r(254),r(236)),o.if(r(220),r(253))]},children:[this[r(226)],{tag:r(273),attributes:{class:["ck",r(235)]},children:[{text:o.to(r(224))}]},{tag:r(239),attributes:{class:["ck",r(271)]},children:[{tag:"ul",attributes:{class:["ck",r(262)]},children:a}]},this[r(268)]],on:{click:o.to(t=>{const e=r;t[e(218)][e(227)](e(243))||this[e(277)]&&this[e(260)]&&this[e(272)](e(250),{id:this.id})})}}]})}[Ye(238)](){const t=Ye;super[t(238)]();const e=this[t(226)][t(247)][t(249)];this[t(225)](e,t(246),()=>{const i=t;this[i(259)]&&!e[i(241)]||this[i(272)](i(257),{id:this.id,name:e[i(241)]}),e[i(241)]||(e[i(241)]=this[i(232)]?this[i(232)]:this[i(224)])})}[Ye(250)](){this[Ye(242)]=!0}[Ye(231)](){this[Ye(242)]=!1}[Ye(222)](){this[Ye(254)]=!0}[Ye(221)](){this[Ye(254)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{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=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Us(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{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&&Pi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=js(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,ji.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Pi.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=js(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Pi.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ps(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 Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Us(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ws(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Ws(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Pn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Un(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(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 Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Pn,Ln),ir=Sn(Mn,Fn,Pn,Ln),sr=Sn(Vn,Fn,Pn,Ln),nr=Sn(Fn,Pn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,Pn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Un])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[jn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Pi.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Pi.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(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,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Wr(n))}static fromMillis(t,e={}){if(Es(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ps(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ps(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Pr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=214]})(t,e)}function vo(t,e){const i=po,s=fo[i(223)](t)[i(214)](e),n=fo[i(228)](),r=n[i(224)]({days:1})[i(237)](i(236));let o,a;return s[i(216)](n,i(236))?(o=s[i(237)](i(236))[i(231)](),a=s[i(234)]()):s[i(216)](r,i(236))?(o=r[i(231)](),a=s[i(234)]()):s[i(216)](n,i(221))?(o=s[i(237)](i(221))[i(231)](),a=s[i(229)]||""):s[i(216)](n,i(230))?(o=s[i(237)](i(233))[i(231)](),a=s[i(222)]||""):(o=s[i(237)](i(230))[i(231)](),a=String(s[i(230)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["5444jwIjMs","1507764gFqrUJ","local","weekdayLong","year","toJSDate","1851575xOaDXg","month","toRelativeCalendar","478560Xwupij","day","startOf","setLocale","1236519uvHVcV","hasSame","3922970TlCFnF","9ZjuOPC","56kdFUFl","60952yOuCLk","week","monthLong","fromJSDate","minus","34aULQaE"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(206758===parseInt(e(226))/1*(parseInt(e(225))/2)+-parseInt(e(215))/3+-parseInt(e(227))/4+parseInt(e(232))/5+parseInt(e(235))/6+parseInt(e(219))/7*(parseInt(e(220))/8)+-parseInt(e(218))/9*(-parseInt(e(217))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=133]})(t,e)}function _o(){const t=["_requireRevisionName","locale","remove","27952DNwtbZ","revisionViews","15937956GWTaLD","addRevision","uiLanguage","1RdhylO","5538930wdOMkQ","ck-revision-history-sidebar__time-period__revisions","389626bgwkyP","delegate","createCollection","14964IEHNaZ","removeRevision","5344416aalmaz","find","div","_revisionActions","18TVNMoJ","77wuMSsm","span","select","600CzLTIH","ck-revision-history-sidebar__time-period__label","startDate","localizedPeriodName","setTemplate","add","21YXNXJM","setName","652312XsIlgX","ck-revision-history-sidebar__time-period"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(575899===-parseInt(e(160))/1*(-parseInt(e(163))/2)+parseInt(e(148))/3*(parseInt(e(155))/4)+parseInt(e(142))/5*(-parseInt(e(166))/6)+-parseInt(e(139))/7*(-parseInt(e(150))/8)+-parseInt(e(138))/9*(parseInt(e(161))/10)+-parseInt(e(134))/11+parseInt(e(157))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(144)];[bo(156)];[bo(137)];[bo(152)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(153)][n(159)])[n(145)];this[n(144)]=e,this[n(156)]=this[n(165)](),this[n(137)]=i,this[n(152)]=s,this[n(156)][n(164)](n(141)).to(this),this[n(156)][n(164)](n(149)).to(this),this[n(146)]({tag:n(136),attributes:{class:["ck",n(151)]},children:[{tag:n(140),attributes:{class:["ck",n(143)]},children:[{text:r}]},{tag:n(136),attributes:{class:["ck",n(162)]},children:this[n(156)]}]})}[bo(158)](t){const e=bo,i=new Ke(this[e(153)],t,this[e(137)],this[e(152)]);this[e(156)][e(147)](i)}[bo(133)](t){const e=bo,i=this[e(156)][e(135)](e=>e.id===t.id);this[e(156)][e(154)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["108273Ysnglo","setTemplate","content","1684zxPkxy","span","4179704CdNvFg","1838760FEwfeO","1778346hmrgyh","Revision history","20oypTLY","966rvEtUi","1355598fqKKqi","468stfZTv","ck-revision-history-sidebar__header","ck-reset_all","19545NmsNem","ck-revision-history-sidebar__header__label","div"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(351082===parseInt(e(307))/1+-parseInt(e(310))/2*(-parseInt(e(317))/3)+parseInt(e(319))/4*(-parseInt(e(304))/5)+-parseInt(e(318))/6+-parseInt(e(313))/7+parseInt(e(312))/8+-parseInt(e(314))/9*(-parseInt(e(316))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(309)]=_t.IconHistory,this[e(308)]({tag:e(306),attributes:{class:["ck",e(303),e(320)]},children:[i,{tag:e(311),attributes:{class:["ck",e(305)]},children:[at(t,e(315))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(){const t=["revisionViews","unhighlight","233813BYOyIB","select","getTime","highlightRevisions","div","remove","setName","ck-revision-history-sidebar","uiLanguage","62052AolBaW","fire","568gLSfaM","flat","_revisionActions","setTemplate","3okzjBj","addRevision","selectRevision","render","createCollection","ck-revision-history-sidebar__timeline","2624840KMsfPw","_removeRevision","_requireRevisionName","removeRevision","revisionSetName","startDate","deselect","timePeriodViews","get","3925107ssOtWL","find","highlight","revisionSelected","171505nJcLyo","createdAt","_getTimePeriodViewByStartDate","ck-disabled","delegate","40033IrprZr","ck-reset","isEnabled","locale","set","bindTemplate","_addRevision","ck-rounded-corners","some","34800ZZgQGD","_revisions","add","66ApqPNI","map"];return(Mo=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Mo();return(Eo=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(374021===-parseInt(e(292))/1+-parseInt(e(285))/2+-parseInt(e(307))/3*(-parseInt(e(301))/4)+-parseInt(e(271))/5*(-parseInt(e(288))/6)+parseInt(e(276))/7*(parseInt(e(303))/8)+-parseInt(e(267))/9+parseInt(e(258))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends It.View{[Vo(265)];[Vo(286)];[Vo(305)];[Vo(260)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(281)];this[n(265)]=this[n(256)](),this[n(265)][n(275)](n(293)).to(this),this[n(265)][n(275)](n(298)).to(this),this[n(286)]=e,this[n(305)]=i,this[n(260)]=s,this.on(n(293),(t,e)=>{const i=n;this[i(302)](i(270),e)}),this.on(n(298),(t,e)=>{const i=n;this[i(302)](i(262),e)}),this[n(280)](n(278),!1),this[n(306)]({tag:n(296),attributes:{class:["ck",n(277),n(283),n(299)]},children:[new No(t),{tag:n(296),attributes:{class:["ck",n(257),r.if(n(278),n(274),t=>!t)]},children:this[n(265)]}]})}[Vo(310)](){const t=Vo;super[t(310)]();for(const e of this[t(286)])this[t(282)](e);this[t(286)].on(t(287),(e,i)=>{this[t(282)](i)}),this[t(286)].on(t(297),(e,i)=>{this[t(259)](i)})}get[Vo(290)](){const t=Vo;return this[t(265)][t(289)](e=>e[t(290)][t(289)](t=>t))[t(304)]()}[Vo(309)](t){const e=Vo;for(const i of this[e(290)])t&&t.id===i.id?i[e(293)]():i[e(264)]()}[Vo(295)](t){const e=Vo;for(const i of this[e(290)])t[e(284)](({id:t})=>t===i.id)?i[e(269)]():i[e(291)]()}[Vo(282)](t){const e=Vo,i=vo(t[e(272)],this[e(279)][e(300)])[e(263)];let s=this[e(265)][e(266)](0);s&&s[e(263)][e(294)]()===i[e(294)]()||(s=new Io(this[e(279)],i,this[e(305)],this[e(260)]),this[e(265)][e(287)](s)),s[e(308)](t)}[Vo(259)](t){const e=Vo,i=vo(t[e(272)],this[e(279)][e(300)])[e(263)];this[e(273)](i)[e(261)](t)}[Vo(273)](t){const e=Vo;return this[e(265)][e(268)](i=>i[e(263)][e(294)]()===t[e(294)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=449]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(728772===parseInt(e(505))/1*(-parseInt(e(470))/2)+-parseInt(e(452))/3*(parseInt(e(527))/4)+-parseInt(e(532))/5+parseInt(e(450))/6*(parseInt(e(516))/7)+-parseInt(e(514))/8*(-parseInt(e(479))/9)+-parseInt(e(465))/10*(parseInt(e(508))/11)+parseInt(e(451))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends G.Plugin{[Co(510)];[Co(519)];[Co(463)];static[Co(515)]=[Co(487),Co(458),Co(523)];static[Co(462)]=function(){const t=Co;return{compareAgainstSelected:{name:t(530),action:({plugins:e},i)=>{const s=t,n=e[s(489)](ue),r=n[s(524)];let o=n[s(521)][s(457)],a=i.id;r[s(453)](o)>r[s(453)](a)&&([o,a]=[a,o]),n[s(456)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(489)](ue);return!(n[s(524)][s(449)](n[s(521)])[s(490)]>2||i[s(494)])}},restoreRevision:{name:t(526),action:(e,{id:i})=>{const s=t;e[s(528)][s(489)](s(484))[s(468)](i)},isVisible:({plugins:e},i)=>!!e[t(489)](ue)[t(524)][t(502)](i.id)},nameRevision:{name:t(473),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(489)](ue),o=r[n(524)][n(482)](i);r[n(456)](i,o),s[n(513)](),s[n(531)][n(464)]()}}}}();static get[Co(493)](){return Co(520)}static get[Co(533)](){return!0}static get[Co(485)](){return!0}static get[Co(455)](){return[ue]}constructor(t){const e=Co;super(t),this[e(510)]=t[e(525)][e(489)](ue),this[e(519)]=this[e(510)][e(524)],this[e(463)]=null}[Co(492)](){const t=Co,e=this[t(519)][t(512)],i=this[t(500)](),s=this[t(491)][t(528)][t(489)](t(486));this[t(463)]=new Do(this[t(491)][t(459)],e,i,this[t(491)][t(528)][t(489)](t(471))),this[t(463)].on(t(454),this[t(507)][t(518)](this)),this[t(463)].on(t(497),this[t(488)][t(518)](this)),this[t(463)][t(518)](t(495)).to(this[t(510)]),this[t(463)][t(509)].on(t(461),(e,i)=>{const s=t;i[s(499)].on(s(461),(t,e)=>{const i=s;e[i(518)](i(495),i(467)).to(this[i(510)])})}),this[t(463)][t(476)](),this[t(474)](this[t(491)][t(460)],t(517),this[t(475)][t(518)](this)),this[t(474)](this[t(510)],t(466),this[t(480)][t(518)](this)),s[t(478)](this[t(463)][t(472)])}[Co(511)](){const t=Co;this[t(463)][t(472)][t(501)](),this[t(463)][t(511)]()}[Co(475)](){const t=Co,e=this[t(519)][t(503)](0);if(e){const i=this[t(519)][t(482)](e.id);this[t(510)][t(456)](e,i)}}[Co(507)](t,e){const i=Co,s=this[i(519)][i(503)](e.id),n=this[i(519)][i(482)](s.id);this[i(510)][i(456)](s,n)}[Co(488)](t,e){const i=Co;this[i(519)][i(503)](e.id)[i(498)](e[i(481)])}[Co(480)](t,e,i){const s=Co,n=this[s(519)][s(449)](i);n[s(490)]>2?(this[s(463)][s(496)](n),this[s(463)][s(477)](null)):(this[s(463)][s(496)]([]),this[s(463)][s(477)](n[0]))}[Co(500)](){const t=Co,e=this[t(491)],i=Po[t(462)],s=e[t(528)][t(489)](t(483))||Po[t(515)];if(s[t(490)])return s[t(529)](s=>{const n=t,r=n(504)==typeof s?Object[n(469)]({},i[s]):s;return r[n(522)]=r[n(522)][n(518)](this,e),r[n(506)]&&(r[n(506)]=r[n(506)][n(518)](this,e)),r})}}function Lo(){const t=["init","pluginName","isSelected","isEnabled","highlightRevisions","revisionSetName","setName","revisionViews","_createRevisionActions","remove","getLaterVisibleRevision","getRevision","string","1297781bSrEFI","isVisible","_handleRevisionSelected","11SmIFQR","timePeriodViews","_revisionViewer","destroy","_revisions","focus","728MuafKu","defaultRevisionActions","7bhfWEQ","ready","bind","_revisionsRepository","RevisionsSidebar","diff","action","nameRevision","repository","plugins","Restore this revision","64CVDpEI","config","map","Compare against selected","fieldView","5382210RmdDOc","isOfficialPlugin","getRevisionsInDiff","2808294YuFMUY","46396704tiBDRG","142860rsUwFI","getIndex","revisionSelected","requires","compare","newRevisionId","restoreRevision","locale","data","add","availableRevisionActions","_sidebarView","select","12624090mBTeZs","change:diff","isReady","restoreRevisionCallback","assign","2naOKMP","revisionHistory.requireRevisionName","element","Name this revision","listenTo","_handleEditorDataReady","render","selectRevision","appendChild","78417vpmHUu","_handleDiffChange","name","getEarlierVisibleRevision","revisionHistory.revisionActions","revisionHistory","isPremiumPlugin","revisionHistory.viewerSidebarContainer","compareAgainstSelected","_handleRevisionSetName","get","length","editor"];return(Lo=function(){return t})()}const jo=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=426]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(957216===-parseInt(e(453))/1+-parseInt(e(438))/2*(-parseInt(e(463))/3)+-parseInt(e(428))/4*(-parseInt(e(459))/5)+-parseInt(e(441))/6+parseInt(e(470))/7+-parseInt(e(446))/8*(-parseInt(e(457))/9)+parseInt(e(437))/10*(-parseInt(e(469))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[jo(432)];[jo(449)];[jo(472)];get[jo(454)](){return this[jo(432)]}constructor(e,i){const s=jo;super(e),this[s(432)]=i,this[s(449)]=(0,It.normalizeToolbarConfig)(e[s(435)][s(445)](s(426))),this[s(472)]=new t.ElementReplacer}get[jo(450)](){const t=jo;return this[t(454)][t(450)]}[jo(442)](t){const e=jo,i=this[e(473)],s=this[e(454)],n=i[e(467)][e(454)],r=s[e(433)],o=n[e(455)][e(451)]();r[e(444)]=o[e(456)],s[e(434)]();const a=r[e(450)];this[e(427)](r[e(444)],a),s[e(433)][e(439)](e(452)).to(this[e(429)]),n[e(462)](a),this[e(472)][e(436)](t,this[e(450)]),this[e(466)](),this[e(447)](e(448))}[jo(458)](){const t=jo;super[t(458)]();const e=this[t(454)],i=this[t(473)][t(467)][t(454)];this[t(472)][t(471)](),i[t(443)](e[t(433)][t(444)]),e[t(458)]()}[jo(466)](){const t=jo,e=this[t(454)];e[t(440)][t(439)](t(465)).to(this[t(429)],t(452)),e[t(440)][t(430)]=e[t(450)],e[t(440)][t(439)](t(431)).to(this,t(464),({top:t})=>t),e[t(426)][t(461)](this[t(449)],this[t(468)]),this[t(460)](e[t(426)])}}function Wo(){const t=["element","getRoot","isFocused","390004EXJOhg","view","document","rootName","9QFgbeH","destroy","70VItFaE","addToolbar","fillFromConfig","attachDomRoot","3594bHJKFs","viewportOffset","isActive","_initToolbar","editing","componentFactory","87670XTXRJD","2634128ZlqGmM","restore","_elementReplacer","editor","toolbar","setEditableElement","447148HFTIRq","focusTracker","limiterElement","viewportTopOffset","_view","editable","render","config","replace","690rpImlo","502UOJjEY","bind","stickyPanel","11486094bvdGcM","init","detachDomRoot","name","get","12555832tcANWi","fire","ready","_toolbarConfig"];return(Wo=function(){return t})()}var Ho=i(318),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Yo();return($o=function(t,e){return i[t-=284]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(908173===-parseInt(e(294))/1+parseInt(e(303))/2*(-parseInt(e(292))/3)+parseInt(e(296))/4+parseInt(e(295))/5*(-parseInt(e(287))/6)+-parseInt(e(301))/7*(-parseInt(e(290))/8)+parseInt(e(289))/9+parseInt(e(285))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[qo(286)];[qo(302)];[qo(300)];get[qo(293)](){return this[qo(286)]}constructor(t,e,i={}){var s=qo;super(t),this[s(302)]=new It.StickyPanelView(t),this[s(300)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(297)]}),this[s(286)]=new It.InlineEditableUIView(t,e)}[qo(299)](){var t=qo;super[t(299)](),this[t(302)][t(298)][t(288)](this[t(300)]),this[t(284)][t(288)](this[t(302)]),this[t(291)][t(288)](this[t(293)])}}function Yo(){var t=["7703316YokEjl","36008YFRNaX","main","4527210EfjlaZ","editable","820567lruOph","10YzrKYw","4568328CbpGqC","shouldToolbarGroupWhenFull","content","render","toolbar","1939uBnBFm","stickyPanel","2IcYYWH","top","17244610otXYff","_editable","5194302bSMsEA","add"];return(Yo=function(){return t})()}const Jo=Ko;function Go(){const t=["initialData","234InIjLO","164BHvtec","view","updateSourceElement","get","_ui","initPlugins","3814970SILnGz","2784495MHUmYC","3853512qdIYHc","sourceElement","createRoot","4735XHAZJa","fire","destroy","init","model","7926480idcOwk","ready","document","editing","locale","config","5803712LbQIaF","data","3JbEmGV","35655eXKMjm","create"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(516357===parseInt(e(291))/1*(-parseInt(e(280))/2)+parseInt(e(275))/3*(-parseInt(e(288))/4)+parseInt(e(276))/5*(parseInt(e(279))/6)+-parseInt(e(287))/7+parseInt(e(273))/8+parseInt(e(267))/9+parseInt(e(286))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(284)];get ui(){return this[Jo(284)]}constructor(t,e){const i=Jo;super(e),this[i(289)]=t,this[i(295)][i(269)][i(290)]();const s=new Bo(this[i(271)],this[i(270)][i(281)],{shouldToolbarGroupWhenFull:!0});this[i(284)]=new Uo(this,s)}[Jo(293)](){const t=Jo;return this[t(282)](),this.ui[t(293)](),super[t(293)]()}static async[Jo(277)](t,e){const i=Jo,s=new this(t,e);return await s[i(285)](),await s.ui[i(294)](t),await s[i(274)][i(294)](s[i(272)][i(283)](i(278))||""),s[i(292)](i(268)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(717405===-parseInt(e(600))/1+-parseInt(e(588))/2+parseInt(e(530))/3+-parseInt(e(605))/4+-parseInt(e(574))/5+-parseInt(e(570))/6+-parseInt(e(516))/7*(-parseInt(e(546))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(562),Qo(618),Qo(569),Qo(513),Qo(655),Qo(568),Qo(628)];function ia(){const t=["RevisionTracker","style","pluginName","define","closeRevisionViewerCallback","ck-tab-panel_disabled","users","adapter","revisionHistory","bind","repository","editor","AIChatHistory","set","isReady","_viewerEditor","refreshPositioning","AIReviewMode","getMarkersGroup","uiLanguage","44464UqYovs","_recalculatePageBreaks","destroy","getRevisionRootsAttributes","toJSON","catch","element","refreshVisibility","isOfficialPlugin","detachRoot","replace","addUser","long","addRoot","2490354uKTWwA","isPremiumPlugin","revision-history-missing-configuration","enqueueChange","create","revision-history-viewer-opened","getUser","PaginationLookup","document","panelViews","hide","toLocaleTimeString","locale","removeSelectionAttribute","plugins","saveRevision","4704hJxbZC","removeAttribute","join","display","result","selection","fromVersion","toolbar","toLocaleDateString","push",".ck-ai-chat-history .ck-input","enableReadOnlyMode","insert","save","translations","_getRevisionViewerEditorConfig","RevisionHistoryUI","createRangeIn","indexOf","isAnonymous","restrictedEditingException","get","AIQuickActions","AIChat","2969874lIbyiL","setAttribute","revisionHistory.editorContainer","rootName","4172885wDgBVX","fromCharCode","keys","createdAt","getRoot","revisionHistory.showRevisionViewerCallback","requires","from","roots","init","RevisionHistory","error","markers","revisionHistory.viewerContainer","2455034sIorVw","numeric","_restoreRevision","revisionHistory.restoreRevisionCallback","commands","RevisionViewer","querySelector","view","getRevision","Users","update","loadRevisionData","811474dVPCyf","block","data","_update","revisionHistory.closeRevisionViewerCallback","1916568rucYaK","_cleanUp","getAttributeKeys","Autosave","_enhanceShowRevisionViewerCallback","$graveyard","lazyRoots","class","_closeRevisionViewer","remove","Restored","_enhanceCloseRevisionViewerCallback","creator","RestrictedEditingMode","RevisionHistoryUtils","disableReadOnlyMode","then","isEnabled","restoreRevision","isReadOnly","tabindex","name","getRevisions","AIActions","_showRevisionViewer","has","RevisionViewerIntegration","Annotations","isAttached","addRevisionData",".ck-ai-chat__prompt-input .ck-textarea","model","exitToEditing"," ck-tab-panel_disabled","setSelection","isRevisionViewerOpen","changesNavigation","DocumentOutlineUI","none","DocumentOutline","toVersion","RevisionsRepository","revisionHistory.viewerEditorElement","end","parse","map","includes","showRevisionViewerCallback","revisionHistory.requireRevisionName","Dialog","AIBalloon","isOpen","getRevisionDocumentData","config","change","AITabs","removeMarker"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(550)];static get[Qo(664)](){return Qo(631)}static get[Qo(524)](){return!0}static get[Qo(531)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(650)](t=>String[e(575)](t))[e(548)]("")}super(t),this[e(550)]=e(648),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(511)];static get[Qo(664)](){return Qo(584)}static get[Qo(524)](){return!0}static get[Qo(531)](){return!0}static get[Qo(580)](){return[pt,Zt]}constructor(e){const i=Qo;if(super(e),!this[i(507)][i(658)][i(567)](i(504)))throw new t.CKEditorError(i(532),this);this[i(511)]=null,this[i(509)](i(640),!1),this[i(507)][i(658)][i(499)](i(579),t=>this[i(629)]({...t,translations:this[i(507)][i(542)][i(560)]})),this[i(507)][i(658)][i(499)](i(604),t=>this[i(613)](t)),this[i(507)][i(658)][i(499)](i(591),t=>this[i(590)](t)),this[i(507)][i(658)][i(499)](i(653),!1),this[i(609)](),this[i(616)]()}set[Qo(503)](t){const e=Qo;this[e(507)][e(544)][e(567)](e(662))[e(503)]=t}get[Qo(503)](){const t=Qo;return this[t(507)][t(544)][t(567)](t(662))[t(503)]}[Qo(634)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(662))[e(634)](t)}[Qo(596)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(646))[e(596)](t)}[Qo(627)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(646))[e(627)](t||{toJSON:!1})}[Qo(561)](){const e=Qo,i=this[e(507)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(544)][e(567)](e(662)),r=i[e(544)][e(567)](e(597))[e(502)];return s[e(553)]=[e(637),e(623),e(641)],delete s[e(611)],s[e(544)][e(555)](sa,ue,Ne,class extends G.Plugin{static get[e(580)](){return[ue,e(597)]}[e(583)](){const s=e,o=this[s(507)][s(544)][s(567)](s(597));for(const t of r)t[s(565)]||o[s(536)](t.id)||o[s(527)](t);const a=n[s(506)][s(627)]();let c=null;const u=this[s(507)][s(544)][s(567)](s(593));u[s(503)]=n[s(503)],u[s(505)](s(622)).to(n),this[s(507)][s(592)][s(567)](s(623))[s(505)](s(622)).to(i,s(624),t=>!t);for(const e of a){const i=null===e[s(617)];if(i&&e[s(645)]===e[s(552)])continue;const r=e[s(520)]();u[s(634)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(603)](r,o);else if(!o){const e=a[u(520)]();e.id=(0,t.uid)(),n[u(545)](e,a[u(645)])[u(621)](t=>{c=t})}}else e[u(603)](r,o)})}}},Po),s}[Qo(609)](){const t=Qo,e=this[t(507)][t(658)][t(567)](t(504))[t(652)];this[t(507)][t(658)][t(509)](t(579),async()=>{const i=t;this[i(507)][i(557)](i(535));const s=this[i(507)][i(544)][i(567)](i(662));if(this[i(507)][i(544)][i(630)](i(608))){const t=this[i(507)][i(544)][i(567)](i(608));await t[i(559)]()}else await s[i(598)]();if(this[i(507)][i(544)][i(630)](i(537))&&this[i(507)][i(544)][i(567)](i(537))[i(517)](),this[i(507)][i(544)][i(630)](i(654))){const t=this[i(507)][i(544)][i(567)](i(654));t[i(656)]&&t[i(540)]()}if(this[i(507)][i(544)][i(630)](i(660))){const t=this[i(507)][i(544)][i(567)](i(660))[i(595)][i(539)];for(const e of t)e[i(612)]=e[i(612)]?e[i(612)]+i(638):i(501);if(this[i(507)][i(544)][i(630)](i(569))){const t=document[i(594)](i(635));t&&t[i(571)](i(625),"-1")}if(this[i(507)][i(544)][i(630)](i(508))){const t=document[i(594)](i(556));t&&t[i(571)](i(625),"-1")}}const n=this[i(561)]();return e(n)[i(621)](t=>{const e=i;return this[e(511)]=t,this[e(507)][e(544)][e(630)](e(632))&&this[e(507)][e(544)][e(567)](e(632))[e(523)](),this[e(507)][e(544)][e(630)](e(644))&&(this[e(507)][e(544)][e(567)](e(642))[e(595)][e(522)][e(663)][e(549)]=e(643)),t})[i(521)](t=>(console[i(585)](t),this[i(507)][i(620)](i(535)),null))})}[Qo(616)](){const t=Qo,e=this[t(507)][t(658)][t(567)](t(504))[t(500)];this[t(507)][t(658)][t(509)](t(604),()=>{const i=t;if(this[i(507)][i(544)][i(630)](i(537))&&this[i(507)][i(544)][i(567)](i(537))[i(517)](),this[i(507)][i(544)][i(630)](i(644))&&(this[i(507)][i(544)][i(567)](i(642))[i(595)][i(522)][i(663)][i(549)]=""),this[i(507)][i(544)][i(630)](i(660))){const t=this[i(507)][i(544)][i(567)](i(660))[i(595)][i(539)];for(const e of t)e[i(612)]=i(501)===e[i(612)]?"":e[i(612)][i(526)](i(638),"");if(this[i(507)][i(544)][i(630)](i(569))){const t=document[i(594)](i(635));t&&t[i(547)](i(625))}if(this[i(507)][i(544)][i(630)](i(508))){const t=document[i(594)](i(556));t&&t[i(547)](i(625))}}return this[i(511)][i(544)][i(567)](i(593))[i(606)](),e(this[i(511)])[i(621)](()=>{const t=i;if(this[t(507)][t(620)](t(535)),this[t(511)]=null,this[t(507)][t(544)][t(630)](t(632))){const e=this[t(507)][t(544)][t(567)](t(632));e[t(523)](),e[t(512)]()}})})}[Qo(629)](t){const e=Qo,i=this[e(507)][e(658)][e(567)](e(572)),s=this[e(507)][e(658)][e(567)](e(587)),n=this[e(507)][e(658)][e(567)](e(647));return Xo[e(534)](n,t)[e(621)](t=>(s[e(663)][e(549)]=e(601),i[e(663)][e(549)]=e(643),this[e(640)]=!0,t))}[Qo(613)](t){const e=Qo,i=this[e(507)][e(658)][e(567)](e(572));return this[e(507)][e(658)][e(567)](e(587))[e(663)][e(549)]=e(643),i[e(663)][e(549)]="",this[e(640)]=!1,t[e(518)]()}async[Qo(590)](t){const e=Qo,i=this[e(507)],s=this[e(511)][e(544)][e(567)](e(593)),n=i[e(544)][e(567)](e(662)),r=i[e(544)][e(567)](e(619)),o=s[e(506)][e(596)](t);let a,c,u;try{await r[e(599)](o,this[e(503)]),a=r[e(657)](o),c=r[e(519)](o)}catch(t){return void console[e(585)](t)}i[e(636)][e(659)](t=>{const s=e;for(const e of Array[s(581)](i[s(636)][s(586)][s(514)](s(566))))t[s(661)](e)}),s[e(510)]=!1,i[e(636)][e(533)](t=>{const s=e;t[s(639)](null),t[s(543)](i[s(636)][s(538)][s(551)][s(607)]());const n=Object[s(576)](a);for(const e of i[s(636)][s(538)][s(582)])s(610)!=e[s(573)]&&e[s(633)]()&&!n[s(651)](e[s(573)])&&t[s(525)](e);for(const e of n){let n=i[s(636)][s(538)][s(578)](e);n&&n[s(633)]()||(n=t[s(529)](e));const r=c[e],o=Object[s(576)](r),u=a[e];for(const e of n[s(607)]())o[s(651)](e)||t[s(547)](e,n);for(const i of o)t[s(571)](i,c[e][i],n);t[s(614)](t[s(563)](n)),t[s(558)](i[s(602)][s(649)](u,n),n,0)}});const l=at(i[e(542)],e(615));return u=o[e(626)]?-1==o[e(626)][e(564)](l)?l+": "+o[e(626)]:o[e(626)]:l+": "+o[e(577)][e(554)](i[e(542)][e(515)],{month:e(528),day:e(589)})+", "+o[e(577)][e(541)](i[e(542)][e(515)],{hour:e(589),minute:e(589)}),await n[e(545)]({name:u}),s[e(510)]=!0,i[e(658)][e(567)](e(504))[e(500)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=118]})(t,e)}function oa(){var t=["557696DTGUDo","16569477RABmQu","604GUPTwC","386748pkPztb","49OmNyaa","9759FCzvbU","2940215qDxztV","1790770JnQLiV","2974736lnApFu"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(503482===parseInt(e(124))/1+-parseInt(e(122))/2+parseInt(e(120))/3*(-parseInt(e(126))/4)+-parseInt(e(121))/5+parseInt(e(118))/6*(parseInt(e(119))/7)+-parseInt(e(123))/8+parseInt(e(125))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},111:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},124:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},246:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},265:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},318:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},374:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},450:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},700:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},702:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},732:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},772:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},774:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},853:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},929:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(453),n=i.n(s),r=i(374),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["21607040IKitmR","setAttribute","4454175mgWcPZ","fire","createdAt","set","model","8cMapjo","authors","20UCueiq","4927581PhOcsd","120UchTCQ","attributes","map","authorsIds","_update","diffData","toJSON","name","16586xipFjN","removeAttribute","fromVersion","3449957aDDZmb","creatorId","345005JAlWDK","2065938roSFQS","22IvycoV","setName","creator","toVersion"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(801845===parseInt(e(292))/1*(-parseInt(e(284))/2)+-parseInt(e(305))/3+parseInt(e(312))/4*(parseInt(e(297))/5)+-parseInt(e(298))/6+parseInt(e(295))/7*(-parseInt(e(310))/8)+-parseInt(e(283))/9+parseInt(e(303))/10*(parseInt(e(299))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(301)];[$(311)];[$(289)];[$(302)];[$(294)];[$(309)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(301)]=e[i(301)]||null,this[i(311)]=e[i(311)]||[],this[i(289)]=e[i(289)]||null,this[i(302)]=e[i(302)]||0,this[i(294)]=e[i(294)]||0,this[i(308)](i(291),e[i(291)]||""),this[i(308)](i(307),e[i(307)]||new Date),this[i(308)](i(285),e[i(285)]||{})}[$(300)](t){this[$(288)]({name:t})}[$(304)](t,e){const i=$,s=R(this[i(285)]);U(s,t,e),this[i(288)]({attributes:s})}[$(293)](t){const e=$,i=R(this[e(285)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(288)]({attributes:i})}[$(288)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(291),i(307),i(289),i(311),i(285),i(302),i(294),i(296)];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(311)]&&(n[i(287)]=n[i(311)][i(286)](t=>t.id),delete n[i(311)]),this[i(306)](i(288),n,e))}[$(290)](){const t=$;return{id:this.id,name:this[t(291)],creatorId:this[t(301)]?this[t(301)].id:null,authorsIds:this[t(311)][t(286)](t=>t.id),diffData:this[t(289)],createdAt:this[t(307)],attributes:this[t(285)],fromVersion:this[t(294)],toVersion:this[t(302)]}}}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["_revisions","593751LtqGTo","getIndex","from","fromCharCode","plugins","creatorId","oldRevisionId","href","join","name","getUser","attributes","push","644848VwAhru","3309fiSFjS","get","toVersion","fromVersion","5dTGJiF","toJSON","data","isNaN","earlier","869068SjpFBn","requires","createRevision","getEarlierVisibleRevision","reverse","getLaterVisibleRevision","Users","later","3055488olPCnS","3476556pvNSnZ","428SRyGxn","createdAt","diffData","isOfficialPlugin","2716525MaNhQN","authorsIds","getRevisions","add","editor","getRevision","addRevision","map","afterInit","pluginName","getRevisionsInDiff","newRevisionId","getRevisionsIterator","isPremiumPlugin","RevisionsRepository","length"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(317153===-parseInt(e(259))/1+-parseInt(e(238))/2*(parseInt(e(273))/3)+-parseInt(e(282))/4*(parseInt(e(277))/5)+parseInt(e(236))/6+parseInt(e(242))/7+parseInt(e(272))/8+parseInt(e(237))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(258)];static get[Q(283)](){return[K.Users]}static get[Q(251)](){return Q(256)}static get[Q(241)](){return!0}static get[Q(255)](){return!0}get[Q(257)](){const t=Q;return this[t(258)][t(257)]}constructor(e){const i=Q;super(e),this[i(258)]=new t.Collection}[Q(250)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(280)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(249)](t=>String[e(262)](t))[e(267)]("")}!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:1762300800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(266)]);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(284)](t){const e=Q,i=this[e(246)][e(263)][e(274)](e(234));return new J({id:t.id,name:t[e(268)],creator:t[e(264)]?i[e(269)](t[e(264)]):null,diffData:t[e(240)]||t[e(279)],authors:t[e(243)][e(249)](t=>i[e(269)](t)),createdAt:new Date(t[e(239)]),attributes:t[e(270)],fromVersion:t[e(276)],toVersion:t[e(275)]})}[Q(248)](t,e=0){const i=Q;this[i(258)][i(245)](t,e)}[Q(247)](t){const e=Q;return this[e(258)][e(274)](t)}[Q(244)](t={toJSON:!1}){const e=Q,i=Array[e(261)](this[e(258)]);return i[e(286)](),t[e(278)]?i[e(249)](t=>t[e(278)]()):i}[Q(260)](t){const e=Q;return this[e(258)][e(260)](t)}[Q(285)](t){const e=Q,[,i]=this[e(254)](t,{direction:e(281)});return i}[Q(233)](t){const e=Q,[,i]=this[e(254)](t,{direction:e(235)});return i}[Q(252)](t){const e=Q,i=[];for(const s of this[e(254)](t[e(253)]))if(i[e(271)](s),s.id===t[e(265)])break;return i}*[Q(254)](t,{direction:e=Q(281),filter:i=()=>!0}={}){const s=Q,n=s(281)===e?1:-1;let r=this[s(258)][s(274)](t),o=this[s(260)](r);for(yield r;r;){if(o+=n,r=this[s(247)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(316240===parseInt(e(243))/1*(-parseInt(e(266))/2)+parseInt(e(244))/3+-parseInt(e(260))/4+parseInt(e(256))/5*(-parseInt(e(269))/6)+-parseInt(e(237))/7+parseInt(e(270))/8+-parseInt(e(268))/9*(-parseInt(e(274))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(238)](){return st(263)}static get[st(212)](){return!0}static get[st(208)](){return!0}[st(214)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(227)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(277)](t,e){const i=st;if(t[i(204)]||!e)return;const s=this[i(249)][i(246)][i(219)](i(240)),n=await e[i(273)]({channelId:s,revisionId:t.id});t[i(204)]=n[i(204)]}[st(209)](t){const e=st,i={};for(const s in t[e(204)]){if(t[e(204)][s][e(230)]&&!t[e(204)][s][e(230)][e(259)])continue;const n=this[e(231)](JSON[e(215)](t[e(204)][s][e(275)])),r=this[e(249)][e(258)][e(264)][e(265)],o=new X.ViewDocumentFragment(r,n[e(242)](t=>this[e(222)](t,!1)));this[e(249)][e(206)][e(262)][e(255)](e(234)),i[s]=this[e(249)][e(206)][e(262)][e(223)](o),this[e(249)][e(206)][e(262)][e(255)](e(211))}return i}[st(271)](t){const e=st,i={};for(const s in t[e(204)])t[e(204)][s][e(230)]&&!t[e(204)][s][e(230)][e(259)]||(i[s]=t[e(204)][s][e(245)]||{});return i}[st(233)](t){const e=st;return this[e(214)][e(219)](t[e(220)])}[st(222)](t,e){const i=st,s=this[i(249)][i(258)][i(264)][i(265)];if(i(232)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(225)]||"r"==t[i(225)]?[]:t[i(218)][i(242)](t=>this[i(222)](t,e));const o=this[i(227)][i(219)](t[i(225)])||X.ViewElement,a=this[i(249)][i(206)][i(229)][i(276)];if(n=new o(s,t[i(247)],t[i(203)],r),"u"==t[i(225)]&&t[i(218)][0]){const r=t[i(218)][0];if(n[i(205)]=function(t){const e=i,s=t[e(216)](e(236));return s[e(235)]=r,s[e(257)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(207)](a[i(251)](t,{bind:!1})),r=a[i(253)][i(216)](i(236));r[i(272)](...e),n=Array[i(207)](a[i(252)](r))[0]}}else if("r"==t[i(225)]&&t[i(218)][0]){const r=t[i(218)][0];if(n[i(205)]=function(t){t[i(235)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(207)](a[i(251)](t,{bind:!1})),r=a[i(253)][i(216)](i(236));r[i(272)](...e);const o=Array[i(207)](a[i(252)](r));o[i(224)]>1?n[i(228)](o):n=o[0]}}if(t[i(250)])for(const[e,s]of t[i(250)])n[i(239)](e,s);const c=void 0===t[i(226)]?null:t[i(226)];return null!==c&&(n[i(248)]=()=>c),n}}[st(210)](t){const e=st,i=JSON[e(215)](t),s=this[e(249)][e(258)][e(264)][e(265)],n=new X.ViewDocumentFragment(s,i[e(242)](t=>this[e(222)](t,!0)));return this[e(249)][e(206)][e(213)](n)}[st(231)](t){const e=st;return(t=t[e(261)](t=>!t[e(247)]||e(241)!==t[e(247)]&&e(267)!==t[e(247)]))[e(217)](t=>{const i=e;i(232)!=typeof t&&(t[i(218)]=this[i(231)](t[i(218)]),t[i(203)]=t[i(203)][i(261)](t=>!t[0][i(221)](i(254))))}),t}}function ot(){const t=["render","data","from","isPremiumPlugin","getRevisionDocumentData","_makeModelFromViewString","default","isOfficialPlugin","toModel","_viewClassToTypeChar","parse","createElement","forEach","children","get","constructor","startsWith","_getViewFromDiffObj","toData","length","type","fillerOffset","_typeCharToViewClass","_appendChild","htmlProcessor","attachChange","_removeRevisionMarkers","string","_getTypeCharForViewElement","marked","innerHTML","div","1630419VUczsJ","pluginName","_setCustomProperty","collaboration.channelId","revision-start","map","1021WNWFIw","277989qloVFJ","attributesAfter","config","name","getFillerOffset","editor","customProperties","viewChildrenToDom","domChildrenToView","domDocument","data-revision-","useFillerType","865efkPdM","childNodes","editing","isAttached","1236316oYANDY","filter","processor","RevisionHistoryUtils","view","document","454qnLHLb","revision-end","9DfFcKs","21264hAqLDI","2174152nvAfAt","getRevisionRootsAttributes","append","getRevision","13386830FdNiyk","insertions","domConverter","loadRevisionData","attributes","diffData"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=bt;function mt(){const t=["stringify","_markChanges","_reset","updateRevisions","Initial revision","paragraph","getIndex","markerToData","getUser","initialData","values","uiElement","revisionHistoryLicenseKeyTrialLimit","hasContent","size","_getTypeCharForViewElement","has","pluginName","removeRootAttribute","slice","_licenseKeyCheckInterval","_initialRevisionId","nodeAfter","some","_createFromRanges","_pendingAction","attributesAfter","dataDowncast","revisionHistoryLicenseKeyValid","_cloneOperation","usageLimit","_setAttribute","_saveMetaData","_handleMoveOperation","domConverter","3oMgqRk","loadState","string","_operations","keepParagraph","revisionHistoryLicenseKeyNotAllowed","_calculateMetaData","destroy","htmlProcessor","creator","_startingRevisionId","invalid","update","conversion","featureNotAllowed","9872390nvIcst","revisionHistory.resumeUnsavedRevision","text","marker","finally","key","tableCell","revision","getFillerOffset","then","RevisionHistory","setSource","getTime","_handleOperation","offset","getMovedRangeStart","editor","_touchedMarkers","_removePendingAction","_bufferedUpdates","start","parent","1734223hkGyoP","RevisionsRepository","PENDING_ACTION_REVISION_HISTORY","getChild","reInit","rootsAttributes","_continueCurrentRevision","createPositionBefore","currentRevision","_createInitialRevision","licenseKey","resolve","config","init","vid","_replaceEditorDataWithRevisionData","_diffRootsAttributes","_processRootBeforeSave","map","fillerOffset","_fixRange","fromEntries","addRoot","nodes","revisionHistoryLicenseKeyExpired","range","getChildren","createPositionAt","delete","from","rawElement","move","position","getRange","locale","RevisionTracker","afterInit","sourcePosition","authorsIds","_handleInsertOperation","_update","isEnabled","getRevision","type","revisionHistoryLicenseKeyUsageLimit","collaboration.channelId","getOperations","bind","createRange","isAttached","insertion","getRevisions","_handleRootAttributeOperation","getRevisionDocumentData","getWalker","upcast","_makeModelFromViewString","_clone","authors","add","insertionPosition","expired","howMany","newValue","getLatestVersion","addRootAttribute","splitPosition","addRevision","_generateTape","data","_fixPosition","NEGATIVE_INFINITY","_isInit","vid_start","createPositionAfter","initial","isPremiumPlugin","plugins","_markers","createPositionFromPath","getRoot","version","trim","getAttribute","customProperties","getCurrentRevisionId","rootName","insertions","_removeMetaData","getData","_source","addRevisionData","setRevisionData","oldRange","_getState","for","_makeIdsRoot","adapter","_transformMarkers","domDocument","attachChange","end","_insertChild","model","ready","_diffRoots","reverse","get","createdAt","_isAttached","_revisionDataBuilder","toView","_getPreviousFrom","_makeRevision","$text","creatorId","deletions","sort","split","_showLicenseError","clone","_getViewJson","filter","_handleRootOperation","trialLimit","fromVersion","find","affectsData","max","_lastTo","vid_end","getTransformedByOperation","_handleSplitOperation","$comment","isAdd","_getBaseVids","_applyOperations","_touchedRoots","getNodeByPath","_lastFrom","_setConversion","attributesBefore","_utils","28346736xDSZys","deletion","_baseRootsAttributes","2225686LaEjKD","length","_getFromVersion","childCount","_revisionId","_execute","push","path","_baseIdsRoots","children","revisionHistoryLicenseKeyDomainLimit","RealTimeCollaborationClient","_startingVersion","saveRevision","_appendChild","_authorId","repository","domainLimit","createElement","userId","PendingActions","_idsRoots","element","_findInsertionIndex","getCustomProperties","source","8372526JoEZhu","getRevisionRootsAttributes","outerHTML","_handleMergeOperation","getAttributes","documentFragment","remove","newRange","insert","merge","name","detachRoot","isReady","$graveyard","keys","revisionHistoryLicenseKeyInvalid","startsWith","RevisionHistoryUtils","_getVidAttributeName","elementStart","evaluationLimit","includes","Empty document","editor-initial-data-replaced-with-revision-data","targetPosition","markers","getOperation","_savedMetaData","changeRootAttribute","_isPendingUpdate","document","root","sendBufferedUpdates","_fixOperation","offsetSize","buildRevisionData","previousPosition","isOfficialPlugin","toVersion","getAncestors","innerHTML","_prepareViewToSave","elementEnd","442292MWRfzJ","Users","_loadState","define","_touched","dataToMarker","set","_addPendingAction","requires","reinsert","revisionHistoryLicenseKeyEvaluationLimit","_createCurrentRevision","roots","loadRevisionData","isEqual","_bufferUpdate","revision:","createRangeIn","item","2751756UHWoWI","clear","_handleMarkerOperation","_loadedStateData","diffData","shift","createRevision","getRootNames","history","_baseRoots","baseVersion","stickiness","_copyMarkers","graveyardPosition","render"];return(mt=function(){return t})()}!function(t){const e=bt,i=t();for(;;)try{if(992798===-parseInt(e(538))/1+parseInt(e(684))/2*(-parseInt(e(501))/3)+parseInt(e(753))/4+parseInt(e(516))/5+-parseInt(e(710))/6+-parseInt(e(451))/7+parseInt(e(681))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(548)];[ft(486)];[ft(546)]=null;[ft(700)];[ft(635)]=null;[ft(648)];[ft(628)];[ft(487)];[ft(535)];[ft(680)];[ft(491)];[ft(544)];[ft(696)];[ft(454)];static get[ft(483)](){return ft(573)}static get[ft(747)](){return!0}static get[ft(614)](){return!0}static get[ft(761)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(700)]=this[i(532)][i(615)][i(645)](i(539)),this[i(680)]=this[i(532)][i(615)][i(645)](i(727)),this[i(648)]=new vt(this[i(532)]),this[i(487)]=this[i(532)][i(550)][i(645)](i(583))||i(613),this[i(535)]=new Map,this[i(454)]=null;const s=(0,t.uid)();this[i(628)]={history:this[i(532)][i(641)][i(740)][i(459)],getLatestVersion:()=>Promise[i(549)](this[i(532)][i(641)][i(740)][i(619)]),getCurrentRevisionId:()=>s},this[i(759)](i(722),!1),this[i(759)](i(579),!0),this[i(759)](i(739),!1),this[i(532)][i(550)][i(756)](i(517),!0),this[i(532)][i(514)][i(633)](i(593))[i(758)]({view:i(523)})}[ft(551)](){const t=ft;this[t(678)](),this[t(532)][t(607)].on(t(642),()=>{const e=t,i=this[e(700)][e(580)](0),s=i&&null===i[e(510)]?i:null;if(this[e(544)]=!!s&&this[e(532)][e(550)][e(645)](e(517)),this[e(532)][e(615)][e(482)](e(695))){const t=this[e(628)][e(623)](),n=this[e(700)][e(580)](t);if(n)this[e(696)]=n[e(663)],this[e(544)]=!1;else{const t=this[e(628)][e(459)][e(504)][e(664)](t=>!t[e(610)]),n=t?t[e(461)]:this[e(628)][e(459)][e(619)];i?(i[e(748)]<n&&i[e(578)]({toVersion:n}),this[e(544)]?(this[e(628)][e(623)]=()=>s.id,this[e(696)]=s[e(663)]):(this[e(696)]=i[e(748)],this[e(544)]=!1)):(this[e(696)]=n,this[e(544)]=!1)}}else s&&(this[e(532)][e(641)][e(740)][e(459)][e(619)]=Math[e(666)](s[e(748)],this[e(532)][e(641)][e(740)][e(459)][e(619)]),s[e(663)]===s[e(748)]?(0!==s[e(663)]&&(this[e(628)][e(623)]=()=>s.id),this[e(544)]=!1):this[e(544)]&&(this[e(628)][e(623)]=()=>s.id,this[e(696)]=s[e(663)])),this[e(544)]||(this[e(696)]=this[e(532)][e(641)][e(740)][e(619)]);this[e(648)][e(551)](this[e(628)][e(459)]),this[e(547)](this[e(696)]),this[e(764)](this[e(696)]),this[e(635)]&&this[e(742)]()}),this[t(585)](t(722)).to(this,t(739),t=>!t),this[t(548)]=this[t(532)][t(550)][t(645)](t(548));const e=this[t(532)];this[t(486)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(494)==r||i(725)==r||i(562)==r||i(694)==r||i(506)==r||i(763)==r||i(478)==r||i(582)==r){delete e[n],s=r,clearInterval(this[i(486)]),this[i(486)]=void 0;break}}i(725)==s&&e[i(657)](i(512)),i(562)==s&&e[i(657)](i(599)),i(694)==s&&e[i(657)](i(701)),i(506)==s&&e[i(657)](i(515),i(526)),i(763)==s&&e[i(657)](i(730)),i(478)==s&&e[i(657)](i(662)),i(582)==s&&e[i(657)](i(496))},1e3)}async[ft(574)](){const t=ft;if(this[t(700)][t(685)]>0){const e=this[t(700)][t(580)](0),i=await this[t(591)](e),s=await this[t(711)](e);this[t(553)](i,s)}}[ft(508)](){const t=ft;super[t(508)](),this[t(486)]&&clearInterval(this[t(486)])}[ft(527)](t){this[ft(628)]=t}async[ft(513)](){const t=ft,e=await this[t(628)][t(602)]();if(e>this[t(546)][t(748)]){await this[t(755)]();const i=this[t(745)]({revision:this[t(546)],to:e});i[t(596)]=i[t(576)][t(556)](e=>this[t(532)][t(615)][t(645)](t(754))[t(474)](e)),this[t(546)][t(578)](i)}}async[ft(697)](e={},i=null){const s=ft,n=[];await this[s(755)](),this[s(544)]=!1,i>this[s(546)][s(748)]&&(i=null),null===i&&(i=await this[s(628)][s(602)]());const r=this[s(686)](i),o=this[s(745)]({from:r,to:i});if(this[s(546)][s(748)]<i){const t=this[s(745)]({revision:this[s(546)],from:i,to:i});t[s(596)]=[],t[s(576)]=[],t.id=this[s(546)].id,this[s(546)][s(578)](t,!0),delete t[s(596)],n[s(690)](t)}e[s(653)]=this[s(532)][s(615)][s(645)](s(754)).me.id,e[s(720)]=e[s(720)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(629)](e);n[s(690)](e);const c=this[s(700)][s(472)](a);if(0!==c){const t=this[s(700)][s(580)](c-1);if(t[s(663)]!==i){const r=this[s(648)][s(627)](i,t[s(748)]),o={id:t.id,diffData:r[s(455)],authorsIds:r[s(576)],authors:r[s(576)][s(556)](t=>this[s(532)][s(615)][s(645)](s(754))[s(474)](t)),fromVersion:i};t===this[s(546)]&&(o[s(646)]=new Date(e[s(646)][s(528)]()+10)),t[s(578)](o,!0),delete o[s(596)],n[s(690)](o)}}if(this[s(635)]){for(const t of n)this[s(768)](t.id,t,!0);this[s(742)]()}return a}[ft(629)](t){const e=ft,i=this[e(700)][e(457)](t);return this[e(635)]&&i.on(e(578),(t,i,s)=>{const n=e;s||(this[n(768)](i.id,i,!0),this[n(742)]())}),this[e(700)][e(605)](i,this[e(707)](i)),i}async[ft(591)](t){const e=ft;return await this[e(680)][e(766)](t,this[e(635)]),this[e(680)][e(591)](t)}async[ft(711)](t){const e=ft;return await this[e(680)][e(766)](t,this[e(635)]),this[e(680)][e(711)](t)}[ft(742)](){const t=ft;if(0===this[t(535)][t(480)])return;if(this[t(739)])return;let e=Array[t(567)](this[t(535)][t(476)]());this[t(535)][t(452)]();for(let i=0;i<e[t(685)];i++){const s=e[i];let n=!1;for(const e of Object[t(724)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(660)](t=>null!==t),!e[t(685)])return;for(let i=0;i<e[t(685)];i++){const s=e[i];void 0!==s[t(663)]&&void 0===s[t(748)]&&(s[t(748)]=this[t(700)][t(580)](s.id)[t(748)]),void 0!==s[t(748)]&&void 0===s[t(663)]&&(s[t(663)]=this[t(700)][t(580)](s.id)[t(663)])}const i=this[t(532)][t(550)][t(645)](t(583));this[t(739)]=!0,this[t(760)](),this[t(635)][t(469)](e,i)[t(520)](()=>{this[t(739)]=!1})[t(525)](e=>{const i=t;if(e)for(const t of e)this[i(630)]({id:t.id,createdAt:t[i(646)]});this[i(534)](),this[i(742)]()})}[ft(745)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(663)],i=null!==i?i:t[s(748)];const n=this[s(648)][s(627)](e,i),r={diffData:n[s(455)],authorsIds:n[s(576)],fromVersion:e,toVersion:i};if(!t||i!==t[s(748)]){const t=i-1,e=this[s(628)][s(459)][s(736)](t);r[s(646)]=e&&e[s(646)]||new Date}if(this[s(454)]&&e===this[s(454)][s(663)])for(const t of this[s(454)][s(596)])r[s(576)][s(731)](t.id)||r[s(576)][s(690)](t.id);return r}[ft(768)](t,e,i){const s=ft;if(this[s(535)][s(482)](t)){const n=this[s(535)][s(645)](t);e=i?{...n,...e}:{...e,...n}}this[s(535)][s(759)](t,e)}[ft(630)](t){const e=ft,i=this[e(700)][e(580)](t.id);if(t[e(646)]&&(t[e(646)]=new Date(t[e(646)])),t[e(576)]){const i=this[e(532)][e(615)][e(645)](e(754));t[e(596)]=t[e(576)][e(556)](t=>i[e(474)](t))}i[e(578)](t,!0)}[ft(547)](t){const e=ft,i=this[e(700)][e(580)](this[e(700)][e(685)]-1);if(i)this[e(487)]=i.id;else{const i=!this[e(532)][e(641)][e(740)][e(765)][e(664)](t=>this[e(532)][e(641)][e(479)](t)),s=this[e(532)][e(615)][e(645)](e(754)).me.id,n=at(this[e(532)][e(572)],e(i?732:470));this[e(651)]({from:t,to:t,id:this[e(487)],name:n,creatorId:s})}}[ft(764)](t){const e=ft,i=this[e(628)][e(623)]();this[e(546)]=this[e(700)][e(580)](i),this[e(546)]||(this[e(546)]=this[e(651)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(755)](){const t=ft;this[t(544)]&&!this[t(454)]&&(await this[t(680)][t(766)](this[t(546)],this[t(635)]),this[t(648)][t(502)](this[t(546)]),this[t(454)]={fromVersion:this[t(546)][t(663)],authors:this[t(546)][t(596)][t(485)]()})}[ft(553)](e,i){const s=ft;let n=this[s(532)][s(550)][s(645)](s(475)),r=this[s(532)][s(550)][s(645)](s(543));if(void 0===n){n={};for(const t of this[s(532)][s(641)][s(740)][s(458)]())n[t]=""}if(s(503)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(532)][s(641)][s(740)][s(458)]())r[t]={}}let o=!1;const a=Object[s(724)](n),c=Object[s(724)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(620)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(724)](r[t])[s(685)]>0){o=!0;break}}o||(o=c[s(489)](t=>!this[s(532)][s(641)][s(740)][s(618)](t))),o&&(0,t.logWarning)(s(733),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(532)][s(550)][s(759)](s(475),e),this[s(532)][s(550)][s(759)](s(543),i)}[ft(760)](){const t=ft;if(!this[t(491)]){const e=this[t(532)][t(615)][t(645)](t(704));this[t(491)]=e[t(597)](at(this[t(532)][t(572)],t(540)))}}[ft(534)](){const t=ft;this[t(491)]&&(this[t(532)][t(615)][t(645)](t(704))[t(716)](this[t(491)]),this[t(491)]=null)}[ft(707)](t){const e=ft,i=this[e(700)][e(589)]();i[e(644)]();let s=0;for(;s<i[e(685)];){const n=i[s];if(n===this[e(546)]){s++;continue}if(n.id===this[e(487)])break;const r=t[e(748)]-n[e(748)]||t[e(663)]-n[e(663)];if(r>0)break;if(r<0)s++;else{if(!t[e(510)]&&n[e(510)])break;if(n[e(510)]||!t[e(510)]){if(t[e(646)]>n[e(646)])break;s++}else s++}}return s}[ft(686)](t){const e=ft,i=this[e(700)][e(589)]();i[e(644)](),i[e(456)]();const s=i[e(664)](i=>i[e(748)]<=t)[e(748)];return s<this[e(696)]?this[e(696)]:s}[ft(651)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(745)]({from:e,to:i});o[r(720)]=t,o[r(653)]=s,o.id=n;const a=this[r(629)](o);return this[r(635)]&&this[r(768)](o.id,o,!0),a}[ft(678)](){const t=ft;this[t(532)][t(514)][t(633)](t(493))[t(473)]({model:t(523)})}}class vt{[ft(532)];[ft(709)];[ft(737)];[ft(677)];[ft(667)];[ft(616)];[ft(643)];[ft(554)];[ft(460)];[ft(683)];[ft(705)];[ft(692)];[ft(757)];[ft(533)];[ft(675)];[ft(688)];[ft(511)];constructor(t){const e=ft;this[e(532)]=t,this[e(737)]=new Map,this[e(677)]=-1,this[e(667)]=-1,this[e(616)]=new Map,this[e(643)]=new Map,this[e(554)]=new Map,this[e(460)]=new Map,this[e(683)]=new Map,this[e(705)]=new Map,this[e(692)]=new Map,this[e(757)]=new Map,this[e(533)]=new Map,this[e(675)]=new Map,this[e(688)]=1}[ft(551)](t){const e=ft;this[e(709)]=t;const i=new Map,s=new Map,n=this[e(532)][e(641)][e(740)][e(765)][e(556)](t=>t[e(624)]);for(const t of n){const n=this[e(532)][e(641)][e(740)][e(618)](t),r=gt(n);i[e(759)](t,r),s[e(759)](t,Object[e(559)](n[e(714)]()))}const r=Array[e(567)](this[e(532)][e(641)][e(735)])[e(556)](t=>[t[e(720)],t[e(571)]()]),o=this[e(709)][e(619)];this[e(498)](o,i,r,s),this[e(511)]=this[e(688)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(759)](t,i),c[e(759)](t,{})}this[e(498)](Number[e(609)],a,[],c)}[ft(627)](t,e){const i=ft;if(this[i(677)]===t&&this[i(667)]<=e)this[i(737)][i(480)]>1&&this[i(626)](this[i(667)]),this[i(674)](this[i(667)],e,!0);else{if(!this[i(737)][i(482)](t)){const e=this[i(650)](t);this[i(507)](e,t,!1)}this[i(507)](t,e,!0)}return this[i(677)]=t,this[i(667)]=e,this[i(632)]()}[ft(502)](t){const e=ft;if(!this[e(737)][e(482)](t[e(663)])){const i=this[e(650)](t[e(663)]);this[e(507)](i,t[e(663)],!1)}this[e(507)](t[e(663)],t[e(748)],!1);const i=this[e(532)][e(615)][e(645)](e(727));this[e(468)](),this[e(677)]=t[e(663)],this[e(667)]=t[e(748)];for(const s in t[e(455)]){const n=t[e(455)][s][e(638)],r=R(t[e(455)][s][e(679)])||{},o=i[e(594)](t[e(455)][s][e(654)]);o[e(624)]=s,o[e(647)]=!n||!n[e(587)],o[e(587)]=()=>o[e(647)],this[e(460)][e(759)](s,o),this[e(683)][e(759)](s,r),n&&this[e(675)][e(759)](s,n);const a=this[e(634)](o);this[e(692)][e(759)](s,a);for(const[t,i]of o[e(735)]){if(!t[e(726)](e(448)))continue;const s=t[e(656)](":")[2];for(const t of i[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),n=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)],r=a[e(676)](n)[e(621)](i);this[e(757)][e(759)](r,{userId:s})}o[e(735)][e(566)](t)}}this[e(511)]=this[e(688)];const s=[...Array(this[e(688)])[e(724)]()][e(485)](1)[e(660)](t=>!this[e(757)][e(482)](t));let n=0;const r=new Map;for(const o in t[e(455)]){const a=t[e(455)][o][e(638)],c=R(t[e(455)][o][e(492)])||{},u=i[e(594)](t[e(455)][o][e(625)]);u[e(624)]=o,u[e(647)]=!a||a[e(587)],u[e(587)]=()=>u[e(647)],this[e(643)][e(759)](o,u),this[e(554)][e(759)](o,c);const l=this[e(634)](u,Number[e(609)]);this[e(705)][e(759)](o,l),r[e(759)](o,u[e(587)]()?c:{});for(const[t,i]of u[e(735)]){if(!t[e(726)](e(448)))continue;const s=t[e(656)](":")[2];for(const t of i[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),n=this[e(688)]++,r=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)];l[e(676)](r)[e(497)](i,n),this[e(757)][e(759)](n,{userId:s})}u[e(735)][e(566)](t)}for(const t of this[e(532)][e(641)][e(449)](u)[e(592)]({singleCharacters:!0})){const i=this[e(728)](t),r=e(752)==t[e(581)]?t[e(746)][e(691)][e(485)](0,-1):t[e(746)][e(691)],o=l[e(676)](r);o[e(621)](i)>0||o[e(497)](i,s[n++])}for(const[t,i]of u[e(735)])t[e(726)](e(448))||this[e(616)][e(759)](t,i)}const{roots:o}=this[e(737)][e(645)](t[e(663)]),{roots:a}=this[e(737)][e(645)](t[e(748)]),c=gt(o[e(645)](e(723)));this[e(460)][e(759)](e(723),c),this[e(692)][e(759)](e(723),this[e(634)](c,Number[e(609)]));const u=gt(a[e(645)](e(723)));this[e(643)][e(759)](e(723),u),this[e(705)][e(759)](e(723),this[e(634)](u));const l=Array[e(567)](this[e(643)])[e(556)](([t,e])=>[t,gt(e)]);this[e(498)](this[e(667)],l,this[e(616)],r)}[ft(542)](){const t=ft;this[t(468)](),this[t(677)]=-1,this[t(667)]=-1,this[t(737)][t(452)](),this[t(551)](this[t(709)])}[ft(498)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(759)](t,{start:e[n(536)][n(658)](),end:e[n(639)][n(658)](),rootName:e[n(741)][n(624)]});this[n(737)][n(759)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(626)](t){const e=ft;this[e(737)][e(566)](t)}[ft(468)](){const t=ft;this[t(757)][t(452)](),this[t(533)][t(452)](),this[t(675)][t(452)](),this[t(643)][t(452)](),this[t(554)][t(452)](),this[t(460)][t(452)](),this[t(683)][t(452)](),this[t(705)][t(452)](),this[t(692)][t(452)](),this[t(616)][t(452)](),this[t(688)]=1,this[t(511)]=this[t(688)]}[ft(634)](t,e=null){const i=ft;let s=null;t.is(i(715))||(s=new X.ModelElement(t[i(720)],{vid_start:null===e?this[i(688)]++:e++}));const n=[];for(const s of t[i(564)]())if(s.is(i(706))){n[i(690)](this[i(634)](s,e));const t=n[n[i(685)]-1];null!==e&&(e=t.is(i(706),i(652))?t[i(621)](i(552))+1:t[i(621)](i(668))+1)}else for(let t=0;t<s[i(744)];t++)n[i(690)](new X.ModelElement(i(652),{vid:null===e?this[i(688)]++:e++}));if(t.is(i(715))){const e=yt(t[i(624)]);return e[i(640)](0,n),e}return s[i(497)](i(668),null===e?this[i(688)]++:e++),s[i(640)](0,n),s}[ft(507)](t,e,i){const s=ft;this[s(468)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(737)][s(645)](t);this[s(460)]=new Map(n),this[s(683)]=new Map(R(o));for(const[t,e]of this[s(460)])if(s(723)!==t&&(this[s(643)][s(759)](t,gt(e)),this[s(554)]=new Map(R(o)),i)){const i=this[s(688)];this[s(705)][s(759)](t,this[s(634)](e)),this[s(692)][s(759)](t,this[s(634)](e,i))}this[s(511)]=this[s(688)],this[s(643)][s(759)](s(723),gt(this[s(460)][s(645)](s(723)))),i&&this[s(705)][s(759)](s(723),this[s(634)](this[s(460)][s(645)](s(723))));for(const[t,e]of r){const i=this[s(460)][s(645)](e[s(624)]),n=this[s(643)][s(645)](e[s(624)]),r=new X.ModelRange(this[s(608)](e[s(536)],i),this[s(608)](e[s(639)],i)),o=this[s(558)](r,n);i[s(735)][s(759)](t,r),this[s(616)][s(759)](t,o)}this[s(674)](t,e,i)}[ft(674)](t,e,i){const s=ft;for(const n of this[s(709)][s(584)](t,e))this[s(529)](n,i);for(const t of this[s(643)][s(476)]())t[s(735)][s(452)]();for(const[t,e]of this[s(616)])this[s(643)][s(645)](e[s(741)][s(624)])[s(735)][s(759)](t,e[s(658)]());const n=new Map,r=new Map;for(const[t,e]of this[s(643)])n[s(759)](t,gt(e)),r[s(759)](t,this[s(554)][s(645)](t));this[s(498)](e,n,this[s(616)],r)}[ft(650)](t){const e=ft,i=Array[e(567)](this[e(737)][e(724)]());i[e(655)]((t,e)=>t-e),i[e(644)]();for(const e of i)if(e<t)return e;return Number[e(609)]}[ft(463)](t,e){const i=ft,s=Array[i(567)](e[i(735)])[i(556)](([e,s])=>[e,this[i(558)](s,t)]);t[i(735)]=new Map(s)}[ft(636)](t){const e=ft;for(const i of this[e(616)][e(476)]()){const s=i[e(669)](t),n=X.ModelRange[e(490)](s);i[e(536)]=n[e(536)],i[e(639)]=n[e(639)]}}[ft(529)](t,e){const i=ft;if(i(560)!=t[i(581)]&&i(721)!=t[i(581)]){if(i(718)==t[i(581)]){const s=t[i(570)][i(741)][i(624)];this[i(643)][i(482)](s)||(this[i(643)][i(759)](s,yt(s,!0)),this[i(554)][i(759)](s,{}),e&&this[i(705)][i(759)](s,yt(s,!0)))}else{if(i(603)==t[i(581)]||i(484)==t[i(581)]||i(738)==t[i(581)])return void this[i(590)](t);i(519)==t[i(581)]&&this[i(453)](t)}if(i(519)!==t[i(581)]){const e=this[i(495)](t,this[i(643)]);e[i(689)](),this[i(636)](e)}if(e)switch(t[i(581)]){case i(718):this[i(577)](t);break;case i(569):case i(716):case i(762):this[i(499)](t);break;case i(719):this[i(713)](t);break;case i(656):this[i(670)](t)}}else this[i(661)](t,e)}[ft(495)](t,e){const i=ft,s=t[i(658)]();return s[i(699)]=t[i(699)],this[i(743)](s,e),s}[ft(673)](t){const e=ft;return t[e(556)](t=>{const i=e,s=this[i(728)](t);return Number(t[i(450)][i(621)](s))})}[ft(606)](t,e){const i=ft;if(t.is(i(706),i(652)))e[i(690)]({item:t,type:i(518)});else{t.is(i(706))&&e[i(690)]({item:t,type:i(729)});for(const s of t[i(564)]())this[i(606)](s,e);t.is(i(706))&&e[i(690)]({item:t,type:i(752)})}return e}[ft(632)](){const t=ft,e=new Map(this[t(757)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(460)][t(724)](),...this[t(643)][t(724)]()]);a[t(566)](t(723));for(const e of a){const i=this[t(643)][t(645)](e)||yt(e,!1),s=this[t(460)][t(645)](e)||yt(e,!1);i[t(587)]()||s[t(587)]()?(n[t(625)][e]=gt(i),n[t(654)][e]=gt(s),this[t(463)](n[t(654)][e],s),this[t(463)](n[t(625)][e],i),r[t(625)][e]=this[t(606)](this[t(705)][t(645)](e),[]),r[t(654)][e]=this[t(606)](this[t(692)][t(645)](e)||yt(e,!1),[])):a[t(566)](e)}for(const n of a){const o=r[t(625)][n];for(const n of o){const r=this[t(728)](n),o=n[t(450)][t(621)](r);i[t(566)](o),o>=this[t(511)]&&s[t(759)](o,e[t(645)](o))}}for(const n of a){const a=r[t(625)][n],c=this[t(673)](r[t(654)][n]);let u=0;for(const n of a){const r=this[t(728)](n),a=n[t(450)][t(621)](r);if(!s[t(482)](a)&&!o[t(482)](a))if(i[t(482)](a))u++;else{if(a!=c[u]){const s=e[t(645)](a)||e[t(645)](c[u]);for(;a!=c[u];)i[t(482)](c[u])||(o[t(759)](c[u],s),e[t(759)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(625)][e];for(const e of n){const n=this[t(728)](e),r=e[t(450)][t(621)](n);if(o[t(482)](r)){const e=o[t(645)](r);i[t(482)](r)||i[t(759)](r,{...e}),s[t(759)](r,{...e})}}}for(const e of i[t(724)]())e>=this[t(511)]&&i[t(566)](e);const c=new Map;for(const e of a){let n=r[t(625)][e];for(const e of n)if(e[t(450)].is(t(706),t(522))){const i=this[t(728)](e),n=e[t(450)][t(621)](i);if(s[t(482)](n)){const i=e[t(450)][t(537)][t(537)][t(621)](t(611)),r=c[t(645)](i)||new Set;r[t(597)](s[t(645)](n)[t(703)]),c[t(759)](i,r)}}n=r[t(654)][e];for(const e of n)if(e[t(450)].is(t(706),t(522))){const s=this[t(728)](e),n=e[t(450)][t(621)](s);if(i[t(482)](n)){const s=e[t(450)][t(537)][t(537)][t(621)](t(611)),r=c[t(645)](s)||new Set;r[t(597)](i[t(645)](n)[t(703)]),c[t(759)](s,r)}}for(const e of c[t(724)]())(s[t(482)](e)||i[t(482)](e))&&c[t(566)](e)}for(const e of a){const n=r[t(625)][e];let o=null,a=null;for(const e of n){const n=this[t(728)](e),r=e[t(450)][t(621)](n),u=c[t(645)](r);u&&t(729)==e[t(581)]&&(o=Array[t(567)](u)[0],a=e[t(450)][t(621)](t(668))),o&&(i[t(759)](r,{userId:o}),s[t(759)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(654)][e],a=n[t(625)][e];for(const{userId:e}of this[t(533)][t(476)]())null!==e&&l[t(597)](e);for(const{userId:e}of this[t(675)][t(476)]())null!==e&&l[t(597)](e);this[t(467)](a,r[t(625)][e],s,t(588),l),this[t(467)](o,r[t(654)][e],i,t(682),l),u[e]={insertions:this[t(751)](a),deletions:this[t(751)](o),attachChange:this[t(675)][t(645)](e)||null,attributesBefore:R(this[t(683)][t(645)](e))||{},attributesAfter:R(this[t(554)][t(645)](e))}}return{diffData:u,authorsIds:Array[t(567)](l)}}[ft(555)](t){const e=ft;for(const[,i]of t[e(735)]){const t=i[e(536)][e(749)]()[e(660)](t=>e(522)==t[e(720)]);for(const i of t)1==i[e(687)]&&i[e(541)](0).is(e(706),e(471))&&i[e(541)](0)[e(497)](e(505),!0)}}[ft(751)](t){const e=ft;this[e(555)](t);const i=this[e(532)][e(607)][e(649)](t,{}),s=Array[e(567)](i[e(564)]())[e(556)](t=>this[e(659)](t));return JSON[e(466)](s)}[ft(659)](t){const e=ft;if(t.is(e(652)))return t[e(607)];{const i=this[e(532)][e(615)][e(645)](e(727)),s=t,n=this[e(532)][e(607)][e(509)][e(500)],r={type:i[e(481)](s),name:s[e(720)],attributes:Array[e(567)](s[e(714)]()),children:Array[e(567)](s[e(564)]())[e(556)](t=>this[e(659)](t))};if(t.is(e(477))&&e(671)!=t[e(720)]){const i=t[e(465)](n[e(637)],n);r[e(693)][e(690)](i[e(712)])}else if(t.is(e(568))){const i=n[e(637)][e(702)](s[e(720)]);t[e(465)](i,n),r[e(693)][e(690)](i[e(750)])}const o=Array[e(567)](s[e(708)]());o[e(685)]>0&&(r[e(622)]=o);const a=s[e(524)]();return null!==a&&(r[e(557)]=a),r}}[ft(467)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(532)][r(641)];for(let s=0;s<e[r(685)];s++){const n=this[r(728)](e[s]),c=e[s][r(450)][r(621)](n),h=i[r(645)](c),d=s==e[r(685)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(703)]!=o[r(703)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(703)],d=l(448)+s+":"+h+":"+c++,f=u[l(586)](i,a);t[l(735)][l(759)](d,f),null!==h&&n[l(597)](h)}}[ft(728)](t){const e=ft;switch(t[e(581)]){case e(729):return e(611);case e(752):return e(668);default:return e(552)}}[ft(743)](t,e){const i=ft;t[i(461)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(645)](n[i(741)][i(624)]);t[s]=this[i(608)](n,r)}if(n instanceof X.ModelRange){const r=e[i(645)](n[i(741)][i(624)]);t[s]=this[i(558)](n,r)}i(741)===s&&(t[i(741)]=e[i(645)](t[i(741)][i(624)]))}}[ft(558)](t,e){const i=ft;return this[i(532)][i(641)][i(586)](this[i(608)](t[i(536)],e),this[i(608)](t[i(639)],e))}[ft(608)](t,e){const i=ft;return this[i(532)][i(641)][i(617)](e,t[i(691)],t[i(462)])}[ft(577)](t){const e=ft,i=this[e(705)][e(645)](t[e(570)][e(741)][e(624)]),s=this[e(608)](t[e(570)],i),n=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,r=s[e(537)],o=this[e(688)],a=[];for(const i of t[e(561)])if(i.is(e(706)))a[e(690)](this[e(634)](i));else for(let t=0;t<i[e(744)];t++)a[e(690)](new X.ModelElement(e(652),{vid:this[e(688)]++}));const c=this[e(688)];for(let t=o;t<c;t++)this[e(757)][e(759)](t,{userId:n});r[e(640)](s[e(530)],a)}[ft(499)](t){const e=ft;(t=this[e(495)](t,this[e(705)]))[e(689)]();const i=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(531)](),n=s[e(537)],r=s[e(530)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(541)](e);r.is(a(706),a(652))?s[a(759)](r[a(621)](a(552)),{userId:i}):(s[a(759)](r[a(621)](a(611)),{userId:i}),t(s,r,0,r[a(687)]),s[a(759)](r[a(621)](a(668)),{userId:i}))}}(this[e(757)],n,r,r+t[e(600)])}[ft(713)](t){const e=ft,i=null===(t=this[e(495)](t,this[e(705)]))[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(734)][e(537)],n=t[e(575)][e(537)],r=s[e(621)](e(668)),o=n[e(621)](e(611));s[e(497)](e(668),n[e(621)](e(668))),n[e(497)](e(668),r),this[e(757)][e(759)](o,{userId:i}),this[e(757)][e(759)](r,{userId:i}),t[e(689)]()}[ft(670)](t){const e=ft,i=null===(t=this[e(495)](t,this[e(705)]))[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,s=t[e(464)],n=t[e(604)][e(537)];t[e(689)]();const r=n[e(621)](e(668)),o=t[e(598)][e(488)];if(s){const t=o[e(621)](e(668)),s=n[e(621)](e(668));n[e(497)](e(668),t),o[e(497)](e(668),s),this[e(757)][e(759)](n[e(621)](e(668)),{userId:i}),this[e(757)][e(759)](o[e(621)](e(611)),{userId:i})}else{const t=this[e(688)]++,s=this[e(688)]++;n[e(497)](e(668),t),o[e(497)](e(611),s),o[e(497)](e(668),r),this[e(757)][e(759)](t,{userId:i}),this[e(757)][e(759)](s,{userId:i})}}[ft(453)](t){const e=ft;if(!t[e(665)])return;const i=(t=this[e(495)](t,this[e(643)]))[e(631)]?t[e(631)][e(741)]:null,s=t[e(717)]?t[e(717)][e(741)]:null;i&&this[e(616)][e(566)](t[e(720)]),s&&this[e(616)][e(759)](t[e(720)],t[e(717)][e(658)]());const n=null===t[e(699)]?null:t[e(699)]||this[e(532)][e(615)][e(645)](e(754)).me.id,r=t[e(720)];if(!this[e(533)][e(482)](r))return void this[e(533)][e(759)](r,{range:t[e(631)],userId:n});const o=this[e(533)][e(645)](r),a=o[e(563)],c=t[e(717)];null==a&&null==c||a&&c&&a[e(767)](c)?this[e(533)][e(566)](t[e(720)]):o[e(703)]=n}[ft(661)](t,e){const i=ft;this[i(643)][i(482)](t[i(624)])?this[i(643)][i(645)](t[i(624)])[i(647)]=t[i(672)]:(this[i(643)][i(759)](t[i(624)],yt(t[i(624)],!0)),this[i(554)][i(759)](t[i(624)],{}),e&&this[i(705)][i(759)](t[i(624)],yt(t[i(624)],!0)));const s=null===t[i(699)]?null:t[i(699)]||this[i(532)][i(615)][i(645)](i(754)).me.id,n=this[i(675)][i(645)](t[i(624)]);n&&n[i(703)]===s?this[i(675)][i(566)](t[i(624)]):this[i(675)][i(759)](t[i(624)],{userId:s,isAttached:t[i(672)]})}[ft(590)](t){const e=ft,i=this[e(554)][e(645)](t[e(741)][e(624)]);null===t[e(601)]?delete i[t[e(521)]]:i[t[e(521)]]=t[e(601)]}}function gt(t){const e=ft,i=yt(t[e(624)],t[e(587)]());for(const s of t[e(564)]()){const t=s[e(595)](!0);i[e(698)](t)}return i}function yt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(624)]=t,s[i(647)]=e,s[i(587)]=()=>s[i(647)],s}function kt(t,e,i){const s=ft,n=s(752)==t[s(581)]?i[s(565)](t[s(450)],s(639)):i[s(545)](t[s(450)]);return i[s(617)](e,n[s(691)],n[s(462)])}function bt(t,e){const i=mt();return(bt=function(t,e){return i[t-=448]})(t,e)}function wt(t,e,i){const s=ft,n=s(729)==t[s(581)]?i[s(565)](t[s(450)],0):i[s(612)](t[s(450)]);return i[s(617)](e,n[s(691)],n[s(462)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),xt=i.n(Tt),Nt=i(265),At=i.n(Nt),Rt=i(410),Mt=i.n(Rt),Vt=i(238),Et=i.n(Vt),Dt=i(246),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(124),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=416]})(t,e)}function zt(){const t=["400AvapBm","fieldView","extendTemplate","788kqiaYN","ck-responsive-form","locale","listenTo","arrowup","initializeCssTransitionDisablerMixin","1041hARJFn","220","add","element","setTemplate","_createRevisionNameInput","reset","keystrokes","revisionName","revisionNameInputView","render","arrowdown","238288oixzsl","optional","Name of the revision","arrowright","focus","20zWOFIr","errorText","trim","169620oLyukA","stopPropagation","1148562CoFecJ","revisionNameInputValue","form","7EpGGzP","arrowleft","174224jlWRCP","ck-revision-history-save-revision-form","1107880uqAMgr","input","label","focusTracker","set","value"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(120926===parseInt(e(430))/1+parseInt(e(427))/2*(-parseInt(e(436))/3)+parseInt(e(419))/4*(parseInt(e(453))/5)+parseInt(e(456))/6+-parseInt(e(417))/7*(parseInt(e(448))/8)+parseInt(e(458))/9+-parseInt(e(421))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(424)];[Lt(443)];[Lt(445)];constructor(e,i){const s=Lt;super(e),this[s(424)]=new t.FocusTracker,this[s(443)]=new t.KeystrokeHandler,this[s(425)](s(459),""),this[s(445)]=this[s(441)](i),this[s(440)]({tag:s(416),attributes:{class:["ck",s(420),s(431)],tabindex:"-1"},children:[this[s(445)]]}),this[s(435)]()}[Lt(446)](){const t=Lt;super[t(446)](),(0,It.submitHandler)({view:this}),this[t(424)][t(438)](this[t(445)][t(439)]),this[t(443)][t(433)](this[t(439)]);const e=e=>e[t(457)]();this[t(443)][t(425)](t(451),e),this[t(443)][t(425)](t(418),e),this[t(443)][t(425)](t(434),e),this[t(443)][t(425)](t(447),e)}[Lt(452)](){const t=Lt;this[t(445)][t(452)]()}get[Lt(444)](){const t=Lt;return this[t(445)][t(428)][t(439)][t(426)][t(455)]()}set[Lt(444)](t){const e=Lt;this[e(445)][e(428)][e(439)][e(426)]=t[e(455)]()}[Lt(442)](){const t=Lt;this[t(445)][t(428)][t(439)][t(426)]="",this[t(445)][t(454)]=null}[Lt(441)](t){const e=Lt,i=new It.LabeledFieldView(this[e(432)],It.createLabeledInputText),s=i[e(428)];s[e(429)]({attributes:{maxlength:e(437)}});let n=at(this[e(432)],e(450));return!t&&(n+=" ("+at(this[e(432)],e(449))+")"),i[e(423)]=n,s.on(e(422),()=>{const t=e;this[t(459)]=s[t(439)][t(426)][t(455)]()}),i}}const Ut=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=366]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(225912===-parseInt(e(369))/1*(parseInt(e(382))/2)+parseInt(e(392))/3+parseInt(e(370))/4*(parseInt(e(396))/5)+-parseInt(e(397))/6+parseInt(e(424))/7*(parseInt(e(425))/8)+-parseInt(e(394))/9+parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends G.Plugin{static get[Ut(375)](){return Ut(419)}static get[Ut(410)](){return!0}static get[Ut(389)](){return!0}static get[Ut(368)](){return[pt]}[Ut(416)];[Ut(387)](){const t=Ut,e=this[t(414)],i=e[t(373)][t(426)](t(404));e.ui[t(417)][t(378)](t(374),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(402)][n(429)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(415)](n(383)).to(i,n(384),i,n(383),e,n(434),(t,e,i)=>t&&e&&!i),r[n(412)][n(376)]({icon:_t.IconHistory,label:at(s,n(372)),tooltip:!0}),u[n(376)]({label:at(s,n(379)),withText:!0,role:n(400)}),u[n(415)](n(383)).to(i,n(384),i,n(383),e,n(434),(t,e,i)=>t&&e&&!i),u.on(n(407),()=>this[n(381)]()),h[n(376)]({label:at(s,n(367)),withText:!0,role:n(400)}),h[n(415)](n(383)).to(i,n(384),e,n(434),(t,e)=>t&&!e),h.on(n(407),()=>{const t=n;e[t(411)][t(426)](t(374))[t(405)](),r[t(413)]=!1,e[t(380)][t(385)][t(423)]()}),c[n(429)][n(378)](u),l[n(429)][n(378)](h),a[n(420)]=n(418),a[n(399)][n(371)]([c,l]),o[n(378)](a),r}),e.ui[t(417)][t(378)](t(403),()=>this[t(432)]())}[Ut(432)](){const t=Ut,e=this[t(414)],i=e[t(406)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(412)][t(376)]({icon:_t.IconHistory,label:at(i,t(372))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(376)]({label:at(i,t(379))}),o[t(408)](t(407)).to(s),o.on(t(407),()=>{this[t(381)]()}),r[t(429)][t(378)](o),n[t(399)][t(378)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(376)]({label:at(i,t(367))}),c[t(408)](t(407)).to(s),c.on(t(407),()=>{const i=t;e[i(411)][i(426)](i(374))[i(405)]()}),a[t(429)][t(378)](c),n[t(399)][t(378)](a),s[t(402)][t(429)][t(378)](n),s}[Ut(381)](){const t=Ut,e=this[t(414)],i=e[t(406)],s=e[t(373)][t(426)](t(431)),n=e[t(373)][t(426)](t(404));function r(n){const r=t;e[r(411)][r(426)](r(409))&&""===n[r(393)]?n[r(427)][r(395)]=at(i,r(366)):(e[r(373)][r(426)](pt)[r(430)]({name:n[r(393)]}),s[r(422)]())}this[t(416)]||(this[t(386)](),this[t(416)].on(t(391),()=>r(this[t(416)]))),this[t(416)][t(398)](),s[t(388)]({id:t(390),title:at(i,t(379)),isModal:!0,content:this[t(416)],actionButtons:[{label:at(e[t(406)],t(401)),withText:!0,onExecute:()=>s[t(422)]()},{label:at(e[t(406)],t(377)),class:t(421),withText:!0,onCreate(i){const s=t;i[s(415)](s(383)).to(n,s(384),n,s(383),e,s(434),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(416)])}]})}[Ut(386)](){const t=Ut,e=this[t(414)],i=e[t(406)];this[t(416)]=new Wt(i,e[t(411)][t(426)](t(409))),this[t(416)][t(433)]()}}function qt(){const t=["showRevisionViewerCallback","locale","execute","delegate","revisionHistory.requireRevisionName","isOfficialPlugin","config","buttonView","isOpen","editor","bind","_saveRevisionFormView","componentFactory","menu","RevisionHistoryUI","role","ck-button-action","hide","focus","14301ftzrKX","544PVSfTZ","get","revisionNameInputView","10969850yAAUEf","children","saveRevision","Dialog","_registerMenuComponent","render","isReadOnly","The revision name cannot be empty.","Open revision history","requires","405755SXHpcY","16OxznRz","addMany","Revision history","plugins","revisionHistory","pluginName","set","Accept","add","Save current revision","editing","_showDialog","2MGPgap","isEnabled","isReady","view","_createSaveRevisionFormView","init","show","isPremiumPlugin","revisionSave","submit","340959hjaTSy","revisionName","3234825MTYNei","errorText","50905weCiPm","2395164IGvJFx","reset","items","menuitem","Cancel","panelView","menuBar:revisionHistory","RevisionTracker"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=217]})(t,e)}function Yt(){const t=["176718FfCqZo","578648zGtMQz","ck-revision-change","ck-annotation","Removed by","isSuggestion","bindTemplate","changeId","210fzWinC","set","data","Added by","Suggested by","1258hNVHan","590535CaoVYQ","name","focus","2952483BKgBwE","div","4eZeFVx","ck-revision-change__label","element","add","setTemplate","type","81ZwlVRP","8720880tUdNyk","span","1359VMpasP","ck-revision-change__","author","_model","1274455kQdxFT"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(567621===-parseInt(e(221))/1*(parseInt(e(239))/2)+parseInt(e(243))/3*(parseInt(e(245))/4)+-parseInt(e(225))/5+-parseInt(e(226))/6*(parseInt(e(234))/7)+parseInt(e(227))/8*(parseInt(e(218))/9)+parseInt(e(219))/10+parseInt(e(240))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(233)];[$t(224)];constructor(t,e){const i=$t;super(t),this[i(224)]=e,this[i(233)]=e.id;const s=this[i(232)],n=at(t,e[i(236)][i(231)]?i(238):i(248)==e[i(217)]?i(237):i(230));this[i(235)](i(217),e[i(217)]),this[i(249)]({tag:i(244),attributes:{class:[i(229),i(228),s.to(i(217),t=>i(222)+t)],tabindex:-1},children:[{tag:i(220),children:[{tag:i(220),attributes:{class:[i(246)]},children:[{text:n}]},{text:" "+e[i(223)][i(241)]}]}]})}[$t(242)](){const t=$t;this[t(247)][t(242)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=305]})(t,e)}function Xt(){var t=["2503660CcTtQy","2448FSPwhh","1210ylgqhM","358038jdWhlX","1163592OwWPGT","21IwhppC","author","createdAt","set","8483992KJecQu","9OdOgiE","798198FwpCUh","type","rootName","data","308475zvjOgC","1Rpdise","toJSON"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(200656===-parseInt(e(307))/1*(-parseInt(e(312))/2)+-parseInt(e(306))/3+-parseInt(e(310))/4*(-parseInt(e(311))/5)+parseInt(e(320))/6*(-parseInt(e(314))/7)+-parseInt(e(313))/8+parseInt(e(319))/9*(-parseInt(e(309))/10)+parseInt(e(318))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(315)];[Gt(321)];[Gt(305)];[Gt(322)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(315)]=e[i(315)],this[i(321)]=e[i(321)],this[i(305)]=e[i(305)]||{},this[i(322)]=e[i(322)],this[i(317)](i(316),e[i(316)])}[Gt(308)](){var t=Gt;return{id:this.id,authorId:this[t(315)].id,type:this[t(321)],data:this[t(305)],createdAt:this[t(316)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=296]})(t,e)}function ie(){const t=["76344xnVfGg","1214361lhcXle","_setChanges","newRevisionId","14GwLiXW","changes","28145lPaICF","6093rwrCBx","oldRevisionId","178964dooMHG","18790czduNy","add","492NqIxbG","294408utdZQe","984666PJTySs"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(271620===parseInt(e(309))/1+-parseInt(e(310))/2+-parseInt(e(297))/3+parseInt(e(305))/4+-parseInt(e(302))/5*(parseInt(e(308))/6)+parseInt(e(300))/7*(parseInt(e(296))/8)+-parseInt(e(303))/9*(-parseInt(e(306))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(299)];[te(304)];[te(301)];constructor(e,i){const s=te;this[s(299)]=e,this[s(304)]=i,this[s(301)]=new t.Collection}[te(298)](t){const e=te;for(const i of t)this[e(301)][e(307)](i)}}var ne=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["detachRoot","execute","addRoot","element","high","catch","attributesBefore","_findChangeIdFromDomTarget","6UrFfHE","uiElement","suggestion:","selection","domConverter","splice","removeClass","index","_cleanUp","consumable","bottom","addMarker:revision-suggestion:insertion","stop","suggestion","revisionHistory","2428047rKcHfb","hasAttribute","createUIElement","addRevision","_changeIdToChange","flat","isObject","backward","editing","createPositionBefore","plugins","left","repository","getRevision","change","createPositionFromPath","side","change:isReady","isAdded","roots","forEach","markers","_setConversion","split","getRoot","RevisionsRepository","ck-revision-history-root-remove","_threeWayMerge","nextPosition","isBlock","insertions","getDomRoot","isIncorrect","push","changeId","POSITIVE_INFINITY","attributesAfter","attributes","test","consume","184zffnik","affectsData","viewItem","isCollapsed","unbindElementFromMarkerName","add","concat","currentChangeNumber","-new","_changeView","getAttribute","change:activeView","isAtStart","change:isEnabled","_removeMissingPairs","_appendChild","isEqual","includes","3186970irJXAJ","enqueueChange","isOfficialPlugin","string","elementStart","_markMismatchedRemovedTags","from","isRemoveSuggestion","revision-viewer","pairId","mapper","markerNameToElements","userId","activeView","createRevision","revision-suggestion","get","top","clear","startIndex","text","_setDistance","revision-suggestion:","getItems","find","getRevisionRootsAttributes","showStack","attribute:vid","getCustomProperty","_step","_balloon","showNextChange","diffData","comment","mousedown","document","40YQBKMm","object","error","bindElementToMarker","dataDowncast","rootName","isNavigationMode","isInline","level","isReady","abs","editor","isContent","elementEnd","_getRevisionsRange","toViewPosition","insertion","_markInsertions","elementToAttribute","init","_makeModelFromViewString","oldRevisionId","right","revisionHistoryAttachChange","markersEnd","writer","removeMarker","next","restoreRevision","isAttached","isAfter","startsWith","softBreak","hasClass","item","getAttributes","revisionHistoryLabel","_markMarkers","low","bind","_initInteractions","maxOffset","4470662ARVkkA","_makeModelFromTape","merge","markersStart","ck-suggestion-marker--active","forceDisabled","ck-suggestion-marker-split","WidgetToolbarRepository","keys","addClass","2556144hkvTqQ","_sortAndFilterDiffChanges","_update","getLaterVisibleRevision","_cleanMarkers","type","addMarker:revision-suggestion:deletion","upcast","modelRange","wrap","getChild","RevisionHistoryUtils","return","toViewRange","15408wIWlxR","isEnabled","_joinTapes","authors","isLimit","addMarker:revision","all","revision-comment:","_utils","getClientRects","map","markerToHighlight","nodeAfter","pop","conversion","getWalker","end","221908SJKBsW","slice","nextSibling","for","RevisionViewer","isBefore","revision","revision:","_activeViewTarget","previousPosition","updatePosition","restoreRevisionCallback","observeMarkers","removeAttribute","requires","data","removeMarker:revision-suggestion","compare","vid_end","distance","createRangeIn","getRevisionDocumentData","range","enableReadOnlyMode","setAttribute","downcastDispatcher","addRevisionData","ck-suggestion-marker-merge","ck-revision-history-root-add","resolve","numberOfChanges","schema","addHighlight","ck-revision-history-root-","filter","diff","then","markerName","done","offsetSize","change:numberOfChanges","vid_start","createRange","deletion","commands","createAttributeElement","sort","mouseover","highest","_refreshStartEndIndex","isRemoved","reconvertMarker","shift","target","refresh","change:activeChange","values","parent","newRevisionId","attachChange","_setChanges","isSuggestion","getRootNames","name","_removeUnsupportedChanges","markerToData","isAddSuggestion","toViewElement","_revisions","delete","span","model","editingDowncast","_makeTape","_fixObsoleteTags","locale","destroy","markerRange","getIndex","config","dataToMarker","isAtEnd","582803UxOKey","ck-suggestion-marker","domEvent","findIndex","_markSuggestions","isOnRoot","ck-suggestion-preview-marker","vid","start","first","has","_getDiff","isPremiumPlugin","insert","remove","pluginName","changes","removeMarker:revision","_processTape","_getChangeFromId","endIndex","showPreviousChange","checkAttribute","adapter","mapViewToDom","code","element:pre","activeChange","data-change-id","_data","view","forward","unshift","_getViewForChange","ck-suggestion-marker-","length","ck-suggestion-preview-marker-","set","deletions","indexOf","ck-revision-history-root--active","ck-editor__editable__overlay","listenTo","loadRevisionData"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(358183===parseInt(e(686))/1+-parseInt(e(604))/2+-parseInt(e(587))/3*(parseInt(e(467))/4)+-parseInt(e(485))/5+parseInt(e(738))/6*(-parseInt(e(563))/7)+parseInt(e(573))/8+parseInt(e(753))/9*(parseInt(e(521))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(439)];[oe(709)]=null;[oe(595)];[oe(612)];[oe(476)];[oe(757)];[oe(515)];static get[oe(701)](){return oe(608)}static get[oe(487)](){return!0}static get[oe(698)](){return!0}static get[oe(618)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(439)]=this[e(532)][e(437)][e(501)](e(452)),this[e(595)]=this[e(532)][e(437)][e(501)](e(584)),this[e(723)](e(713),null),this[e(723)](e(498),null),this[e(612)]=null,this[e(723)](e(639),null),this[e(723)](e(530),!1),this[e(723)](e(588),!0),this.on(e(480),(t,i,s)=>{const n=e;this[n(713)]=null,this[n(498)]=null,this[n(532)][n(761)][n(716)][n(441)](t=>{const e=n;for(const i of this[e(532)][e(761)][e(716)][e(520)][e(446)])s?t[e(744)](e(727),i):t[e(572)](e(727),i)})}),this[e(560)](e(527)).to(this,e(713),t=>null!==t),this[e(560)](e(474)).to(this,e(530),this,e(639),this,e(713),(t,i,s)=>t&&s?i[e(702)][e(682)](s):0),this[e(560)](e(634)).to(this,e(530),this,e(639),(t,i)=>t?i[e(702)][e(721)]:0),this[e(476)]=null,this[e(757)]=new Map,this[e(515)]=this[e(532)][e(437)][e(501)](It.ContextualBalloon)}[oe(540)](){const t=oe,e=this[t(532)],i=new de(e,{direction:t(760)}),s=new de(e,{direction:t(717)});e[t(648)][t(472)](t(707),i),e[t(648)][t(472)](t(516),s),e[t(648)][t(472)](t(549),new he(e)),this.on(t(644),()=>{const e=t;i[e(658)](),s[e(658)]()}),this[t(449)](),this[t(561)](),e[t(627)](t(493)),e[t(437)][t(696)](t(570))&&e[t(437)][t(501)](t(570))[t(568)](t(493))}async[oe(625)](t){const e=oe;return await this[e(595)][e(729)](t,this[e(709)]),this[e(595)][e(625)](t)}async[oe(510)](t){const e=oe;return await this[e(595)][e(729)](t,this[e(709)]),this[e(595)][e(510)](t)}async[oe(621)](t,e,i=!1){const s=oe;if(!this[s(588)])return;const n=this[s(639)],r=this[s(439)],o=s(488)==typeof t?r[s(440)](t):t,a=s(488)==typeof e?r[s(440)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(639)]&&this[s(639)][s(662)]===c&&this[s(639)][s(542)]===u)return Promise[s(633)]();this[s(530)]=!1,this[s(498)]=null,this[s(713)]=null,this[s(639)]=new se(c,u);const l=this[s(535)](o,a,!0)[s(597)](t=>this[s(595)][s(729)](t,this[s(709)]));return l[s(460)](new Promise(t=>{setTimeout(t,20)})),Promise[s(593)](l)[s(640)](()=>{const t=s;if(!this[t(588)])return;this[t(746)]();const e=this[t(697)](c,u);for(const i of e[t(702)])this[t(757)][t(723)](i.id,i);this[t(532)][t(675)][t(486)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(532)][s(675)][s(520)][s(666)]())i[s(730)](t);for(const t of Object[s(571)](e[s(675)])){const n=i[s(732)](t);for(const r of Object[s(571)](e[s(464)][t]))i[s(628)](r,e[s(464)][t][r],n);i[s(699)](e[s(675)][t],n,0)}}),this[t(639)][t(664)](this[t(574)](e[t(702)])),this[t(530)]=!0})[s(735)](t=>{const e=s;console[e(523)](t),this[e(746)](),n&&(this[e(639)]=n),this[e(530)]=!0})}[oe(630)](t,e){const i=oe,s=this[i(439)][i(499)](t);return s.on(i(575),(t,i,n)=>e(i,n,s)),this[i(439)][i(756)](s),s}[oe(746)](){const t=oe;this[t(713)]=null,this[t(577)](),this[t(476)]&&this[t(476)][t(680)](),this[t(476)]=null,this[t(757)][t(503)](),this[t(532)][t(675)][t(486)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(532)][i(675)][i(520)][i(666)]())e[i(730)](t)})}[oe(574)](t){const e=oe,i=[],s=new Map;for(const t of this[e(532)][e(675)][e(520)][e(666)]()){const n=this[e(532)][e(761)][e(716)][e(458)](t);if(!n)continue;const r=n[e(596)]()[e(555)](0);r&&(i[e(460)](t),s[e(723)](t,r))}return i[e(650)]((t,i)=>{const n=e,r=s[n(501)](t),o=s[n(501)](i);return r.y-o.y||r.x-o.x}),(t=t[e(638)](t=>i[e(484)](t[e(526)])))[e(650)]((t,s)=>i[e(725)](t[e(526)])-i[e(725)](s[e(526)])),t}[oe(677)](t){const e=oe,i=Array[e(491)](t[e(448)])[e(638)](([t,i])=>t[e(552)](e(611))&&!i[e(470)]),s=Array[e(491)](this[e(532)][e(675)][e(624)](t)[e(602)]({singleCharacters:!0}));if(0!=i[e(721)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(450)](":");if(n[e(603)][e(483)](t[e(455)])&&i[e(656)](),(t[e(613)][e(483)](n[e(694)])||t[e(613)][e(551)](n[e(694)]))&&(e(537)==r?t[e(445)]={userId:o}:e(647)==r&&(t[e(654)]={userId:o})),0==i[e(721)])break}return s}[oe(653)](t){const e=oe,i=new Map;for(let s=0;s<t[e(721)];s++)e(505)===t[s][e(578)]?(t[s][e(555)][e(504)]=s,t[s][e(555)][e(706)]=s):(e(489)===t[s][e(578)]?t[s][e(555)][e(504)]=s:e(534)===t[s][e(578)]&&(t[s][e(555)][e(706)]=s),i[e(723)](t[s].id,s));for(const s of i[e(660)]())e(489)===t[s][e(578)]?t[s][e(555)][e(706)]=i[e(501)](t[s][e(494)]):e(534)===t[s][e(578)]&&(t[s][e(555)][e(504)]=i[e(501)](t[s][e(494)]))}[oe(704)](t){const e=oe;for(let i=0;i<t[e(721)];i++){if(e(489)===t[i][e(578)])t[i][e(555)][e(504)]=i;else if(e(534)===t[i][e(578)]){t[i][e(555)][e(706)]=i;const s=t[i][e(555)][e(504)];t[s][e(494)]=t[i].id,t[i][e(494)]=t[s].id}else t[i][e(555)][e(504)]=i,t[i][e(555)][e(706)]=i,t[i][e(494)]=null;t[i][e(566)]||(t[i][e(566)]=[],t[i][e(545)]=[])}}[oe(538)](t,e){const i=oe,s=t[i(638)](t=>!t[i(445)]);for(let t=0;t<e[i(721)];t++)e[t][i(445)]&&(s[t][i(445)]=e[t][i(445)])}[oe(697)](t,e=null){const i=oe,s=this[i(439)][i(440)](t),n=e?this[i(439)][i(440)](e):null,r=this[i(535)](s,n),o=r[r[i(721)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(721)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(571)](e[i(517)]))if(e[i(517)][t][i(663)]){const s=e[i(517)][t][i(663)];s[i(550)]?(u[i(472)](t),l[i(696)](t)&&l[i(501)](t)[i(497)]==s[i(497)]?l[i(673)](t):l[i(723)](t,s)):l[i(696)](t)?(u[i(673)](t),l[i(673)](t)):(u[i(472)](t),l[i(723)](t,s))}else u[i(472)](t)}for(const t of u){const e=l[i(696)](t)&&!l[i(501)](t)[i(550)];let s=e?r[i(721)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(517)][t]){const s=e?o[i(517)][t][i(736)]:o[i(517)][t][i(463)];c[i(464)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(675)]={};for(const e of t[i(590)])a[i(723)](e.id,e);for(const e of u){const s=t[i(517)][e]?t[i(517)][e][i(457)]:"[]",n=t[i(517)][e]?t[i(517)][e][i(724)]:"[]";t[i(675)][e]={insertions:this[i(595)][i(541)](s),deletions:this[i(595)][i(541)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(491)](s[i(675)][t][i(457)][i(448)])[i(638)](([t])=>!t[i(552)](i(611))));let h=0;for(const o of r){const r=this[i(677)](o[i(675)][t][i(457)]);o==s?(e=r,n=e[i(721)],e[i(447)](t=>{t.id=h++}),this[i(704)](e)):this[i(538)](e,r);const a=e[i(638)](t=>!t[i(445)])[i(597)](t=>t.id);let c=0;const l=this[i(677)](o[i(675)][t][i(724)]);l[i(447)](t=>{t[i(654)]?t.id=n++:t.id=a[c++]}),this[i(704)](l),this[i(506)](e,i(445)),this[i(506)](l,i(654)),o==s&&this[i(558)](e,u),e=this[i(589)](e,l),this[i(653)](e),this[i(506)](e,i(654))}e=e[i(638)](t=>!(t[i(445)]&&t[i(654)]));const d=new Map(o[i(675)][t][i(724)][i(448)]),f=new Set(u[i(571)]());for(const t of d[i(571)]())f[i(673)](t);this[i(690)](e,f),this[i(678)](e),e=this[i(481)](e),e=this[i(490)](e),e=this[i(668)](e);const{root:m,changes:p}=this[i(564)](e,a,t);c[i(675)][t]=m;const v=l[i(501)](t);if(v){const e=a[i(501)](v[i(497)]),s=new Qt({author:e,type:v[i(550)]?i(472):i(700),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(718)](s),c[i(464)][t][i(544)]=s.id}c[i(702)]=c[i(702)][i(473)](p)}return c}[oe(558)](t,e){const i=oe;for(let s=0;s<t[i(721)];s++)for(const[n,r]of e)!r[i(470)]&&r[i(694)][i(483)](t[s][i(613)])&&t[s][i(566)][i(460)](n),r[i(603)][i(483)](t[s][i(455)])&&t[s][i(545)][i(460)](n)}[oe(589)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(721)]||r<e[i(721)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(460)](o);else if(a[i(654)]&&o[i(445)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(454)](t,n,e,r);s=s[i(473)](o),n=a,r=c}else a[i(654)]?(r++,s[i(460)](a)):(n++,s[i(460)](o))}return s}[oe(690)](t,e){const i=oe,s=[];for(let o=0;o<t[i(721)];o++){for(let r=0;r<t[o][i(566)][i(721)];r++){const a=t[o][i(566)][r];if(!e[i(696)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(500)!=c||i(537)!=u&&i(647)!=u||(s[i(718)]({type:u,name:a,userId:l}),t[o][i(566)][i(743)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(545)][i(721)];r++){const a=t[o][i(545)][r];if(!e[i(696)](a))continue;const{group:c,type:u}=n(a);if(i(500)!=c||i(537)!=u&&i(647)!=u)continue;t[o][i(545)][i(743)](r,1),r--;const l=s[i(689)](t=>t[i(667)]==a);l>-1&&s[i(743)](l,1)}}function n(t){const e=i,s=t[e(450)](":");return{group:s[0],type:s[1],subType:s[e(721)]>=5?s[2]:null,id:s[e(721)]<5?s[2]:s[3],authorId:s[e(721)]<5?s[3]:s[4],markerCount:6==s[e(721)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(721)];i++){if(t[e(445)]&&e(537)==s[i][e(578)]&&t[e(445)][e(497)]==s[i][e(497)])return t[e(670)]=s[i],void delete t[e(445)];if(!t[e(445)]&&!t[e(654)]&&e(647)==s[i][e(578)])return void(t[e(492)]=s[i])}}}[oe(506)](t,e){const i=oe;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(723)](o.id,s);for(let s=0;s<t[i(721)];s++){if(i(654)==e&&t[s][i(445)]||i(445)==e&&t[s][i(654)])continue;if(i(505)==t[s][i(578)]){t[s][i(623)]=0;continue}const n=r[i(501)](t[s][i(494)]),o=r[i(501)](t[s].id);t[s][i(623)]=n-o}}[oe(535)](t,e,i=!1){const s=oe,n=[];let r=this[s(439)][s(682)](t),o=this[s(439)][s(682)](e);for(-1==o&&(o=this[s(439)][s(672)][s(721)],i=!1);r<o;)n[s(460)](this[s(439)][s(440)](r)),r++;return i&&n[s(460)](this[s(439)][s(440)](r)),n}[oe(454)](t,e,i,s){const n=oe,r=this[n(532)][n(675)][n(635)];let o=e;for(;t[o]&&t[o][n(445)];)o++;let a=s;for(;i[a]&&i[a][n(654)];)a++;u(t,e,o),u(i,s,a);const c=i[n(605)](s,a)[n(473)](t[n(605)](e,o));return c[n(650)]((t,e)=>t[n(443)]!=e[n(443)]?t[n(443)]-e[n(443)]:t[n(529)]!=e[n(529)]?t[n(529)]-e[n(529)]:t[n(623)]!=e[n(623)]?e[n(623)]-t[n(623)]:!!t[n(445)]!=!!e[n(445)]?-1==t[n(443)]||0==t[n(443)]?t[n(445)]?-1:1:t[n(445)]?1:-1:t[n(745)]-e[n(745)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(462)],c=!0;for(let n=e;n<i;n++)if(r[s(528)](t[n][s(555)])||(c=!1),t[n][s(555)][s(504)]<e&&(o=n),t[n][s(555)][s(706)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(443)]=n<=o?-1:n<a?0:1,t[n][s(745)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(623)]?t[i][s(529)]=u:(u++,t[i][s(529)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(443)]&&(t[n][s(529)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(623)]?t[e][s(529)]=u:(u--,t[e][s(529)]=u,u--)}}[oe(678)](t){const e=oe,i=new Map,s=this[e(532)][e(675)][e(635)];for(let n=1;n<t[e(721)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(505)==c[e(578)])continue;if(c[e(578)]!=u[e(578)])continue;if(!s[e(456)](u[e(555)])||s[e(591)](u[e(555)]))continue;if(!s[e(456)](c[e(555)])||s[e(591)](c[e(555)]))continue;if((t[n][e(445)]||t[n][e(670)])&&t[n-1][e(654)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(654)]||!t[n-1][e(445)]&&!t[n-1][e(670)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(529)]==o[e(529)],h=Math[e(531)](r[e(529)])<Math[e(531)](o[e(529)])&&0==o[e(623)];(l||h)&&(i[e(723)](o.id,r.id),t[e(743)](a,1),n--,r[e(445)]=!1)}for(let s=0;s<t[e(721)];s++)i[e(696)](t[s][e(494)])&&(t[s][e(494)]=i[e(501)](t[s][e(494)]))}[oe(481)](t){const e=oe,i=new Set(t[e(597)](t=>t.id));for(let s=0;s<t[e(721)];s++)i[e(696)](t[s][e(494)])||0==t[s][e(623)]||(t[s][e(459)]=!0);return t[e(638)](t=>!t[e(459)])}[oe(490)](t){const e=oe,i=new Set;for(let s=0;s<t[e(721)];s++){if(i[e(696)](t[s].id)&&t[s][e(654)]&&(t[s][e(459)]=!0),t[s][e(459)])continue;if(0==t[s][e(623)])continue;if(e(489)!=t[s][e(578)])continue;if(null==t[s][e(494)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(494)];)e(489)==t[n][e(578)]?r++:e(534)==t[n][e(578)]&&r--,n++;if(0!=r)if(t[s][e(654)])t[s][e(459)]=!0;else for(;n!=s;)t[n][e(654)]&&0!=t[n][e(623)]&&(t[n][e(459)]=!0,i[e(472)](t[n][e(494)])),n--}return t[e(638)](t=>!t[e(459)])}[oe(668)](t){const e=oe,i=this[e(532)][e(675)][e(635)];for(let s=0;s<t[e(721)];s++){if(!(t[s][e(445)]||t[s][e(670)]||t[s][e(654)]||t[s][e(492)]))continue;if(0==t[s][e(623)])continue;const n=t[s][e(555)];i[e(456)](n)||i[e(591)](n)||(t[s][e(445)]&&delete t[s][e(445)],t[s][e(670)]&&delete t[s][e(670)],t[s][e(492)]&&delete t[s][e(492)],t[s][e(654)]&&(t[s][e(459)]=!0))}return t[e(638)](t=>!t[e(459)])}[oe(564)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(532)][s(675)],c=a[s(635)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(721)];e++)if(s(489)===t[e][s(578)]){t[e][s(613)]=a[s(442)](n,f);const i=new X.ModelElement(t[e][s(555)][s(667)],t[e][s(555)][s(556)]());u[0][s(482)](i),f[s(460)](0),u[s(718)](i),t[e][s(455)]=a[s(442)](n,f)}else s(534)===t[e][s(578)]?(u[s(656)](),t[e][s(613)]=a[s(442)](n,f),f[s(600)](),f[f[s(721)]-1]++,t[e][s(455)]=a[s(442)](n,f)):(t[e][s(613)]=a[s(442)](n,f),d?d[s(715)]+=t[e][s(555)][s(619)]:d=new X.ModelText(t[e][s(555)][s(619)],t[e][s(555)][s(556)]()),t[e+1]&&s(505)===t[e+1][s(578)]&&v(d,t[e+1][s(555)])||(u[0][s(482)](d),d=null),f[f[s(721)]-1]+=t[e][s(555)][s(643)],t[e][s(455)]=a[s(442)](n,f));for(let e=0;e<t[s(721)];e++){const i=t[e][s(613)],n=t[e][s(455)];for(const n of t[e][s(566)])o[s(723)](n,{start:i,end:null});m(s(492),e,i,n),m(s(670),e,i,n),m(s(654),e,i,n),m(s(445),e,i,n);for(const i of t[e][s(545)]){const t=o[s(501)](i);t?t[s(603)]=n:o[s(723)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(532)][s(675)][s(646)](e[s(694)],e[s(603)]);n[s(448)][s(723)](t,i)}return r[s(650)]((t,e)=>{const i=s,r=n[i(448)][i(501)](i(611)+t.id),o=n[i(448)][i(501)](i(611)+e.id);return r[i(694)][i(609)](o[i(694)])?-1:r[i(694)][i(551)](o[i(694)])?1:r[i(603)][i(609)](o[i(603)])?-1:r[i(603)][i(551)](o[i(603)])?1:i(472)===t[i(578)]?-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(497)]:null,d=i===t[o(721)]-1,f=h[e][0],m=c[o(759)](t[i][o(555)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(603)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(497)]!==u&&(l[e][o(603)]=n,f&&f[o(497)]===l[e][o(497)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(489)!==t[i][o(578)]||f&&f[o(497)]===u||h[e][o(718)]({userId:u,object:t[i][o(555)],change:l[e]}),o(534)===t[i][o(578)]&&f&&f[o(522)]===t[i][o(555)]&&(h[e][o(656)](),l[e]=f[o(441)])),l[e]&&d&&(l[e][o(603)]=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(555)],f=a[h(635)][h(456)](d)&&!a[h(635)][h(591)](d),m=t[h(599)]==o[h(661)]&&o[h(479)];if(f&&m)return;const p=a[h(646)](t,o),v=e[h(501)](u),g=new Qt({author:v,type:h(445)==l||h(670)==l?h(472):h(700),data:{isSuggestion:h(670)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(460)](g),n[h(448)][h(723)](h(611)+g.id,p)}function v(t,e){const i=s,n=t[i(556)](),r=e[i(556)]();for(const t of n){if(t[1]!==e[i(477)](t[0]))return!1;r[i(548)]()}return r[i(548)]()[i(642)]}}[oe(449)](){const t=oe;this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(610)}),this[t(532)][t(601)][t(607)](t(676))[t(598)]({model:t(610),view:e=>{const i=t,s=e[i(641)][i(450)](":")[1],n=this[i(705)](s);if(!n)return null;const r=i(472)==n[i(578)]?i(537):i(647),o=[i(687),i(720)+r];return n[i(619)][i(665)]&&o[i(460)](i(720)+r+i(475)),this[i(713)]==n&&o[i(460)](i(567)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(532)][t(601)][t(607)](t(580))[t(472)](e=>{const i=t;e.on(i(712),(t,e,s)=>{const n=i,r=e[n(469)][n(583)](0);if(!r||!r.is(n(733),n(711)))return;if(!s[n(747)][n(466)](r,{attributes:[n(645),n(622)]}))return;const o=e[n(581)][n(694)][n(599)];s[n(546)][n(628)](n(645),r[n(477)](n(645)),o),s[n(546)][n(628)](n(622),r[n(477)](n(622)),o)},{priority:i(559)})}),this[t(532)][t(601)][t(607)](t(580))[t(472)](e=>{const i=t;e.on(i(733),(t,e,s)=>{const n=i;if(!s[n(747)][n(466)](e[n(469)],{attributes:[n(645),n(622)]}))return;if(e[n(581)][n(470)])return;const r=e[n(581)][n(694)][n(599)];r[n(754)](n(645))||r[n(754)](n(693))||(s[n(546)][n(628)](n(645),e[n(469)][n(477)](n(645)),r),s[n(546)][n(628)](n(622),e[n(469)][n(477)](n(622)),r))},{priority:i(559)})}),this[t(532)][t(601)][t(607)](t(580))[t(539)]({view:{name:t(674),attributes:{vid:!0}},model:{key:t(693),value:e=>e[t(477)](t(693))}}),this[t(532)][t(675)][t(635)].on(t(708),(e,[,i])=>{const s=t;[s(645),s(622),s(693)][s(484)](i)&&(e[s(585)]=!0,e[s(750)]())},{priority:t(652)}),this[t(532)][t(601)][t(607)](t(525))[t(472)](e=>{const i=t;e.on(i(512),(t,e,s)=>{const n=i;if(" "!=e[n(555)][n(619)]||e[n(555)][n(661)][n(562)]>1)return;if(!s[n(747)][n(466)](e[n(555)],t[n(667)]))return;const r=s[n(546)],o=s[n(495)][n(586)](e[n(626)]);r[n(582)](o,r[n(649)](n(674)))})}),this[t(532)][t(601)][t(607)](t(525))[t(669)]({model:t(610)}),this[t(532)][t(761)][t(629)].on(t(592),function(e){const i=t,s=e[i(437)][i(501)](i(608));return(t,n,r)=>{const o=i,a=n[o(641)][o(450)](":")[1],c=s[o(705)](a);if(!c)return null;const u=o(472)==c[o(578)]?o(450):o(565);if(!r[o(747)][o(465)](n[o(681)],t[o(667)]))return;const l=n[o(681)][o(602)](),h=n[o(681)][o(694)],d=e[o(675)][o(635)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(555)];p=p||d[o(533)](e);const i=r[o(495)][o(671)](e);if(i&&i[o(513)](o(636)))return;o(534)==t[o(578)]&&d[o(456)](e)&&!d[o(591)](e)&&(e[o(606)]||h[o(685)]?f&&f[o(661)]==e||(f=e,g(t[o(613)]),v=!0):m=m||t[o(613)])}function g(t){const e=o,i=r[e(546)][e(755)](e(674),{class:e(720)+u}),a=r[e(495)][e(536)](t);c[e(619)][e(665)]&&r[e(546)][e(572)](e(720)+u+e(475),i),s[e(713)]==c&&r[e(546)][e(572)](e(567),i),r[e(546)][e(699)](a,i),r[e(495)][e(524)](i,n[e(641)])}p||v||!m||g(m)}}(this[t(532)]),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(703),(e,i,s)=>{const n=t,r=s[n(495)][n(496)](i[n(641)]);if(r)for(const t of r)(t[n(554)](n(569))||t[n(554)](n(631)))&&(s[n(495)][n(471)](t,i[n(641)]),s[n(546)][n(700)](t))},{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(592),(e,i,s)=>{const n=t,r=i[n(641)][n(450)](":")[1],o=this[n(705)](r);if(!o)return null;const a=n(472)==o[n(578)]?n(450):n(565);if(s[n(747)][n(465)](i[n(681)],e[n(667)]))for(const t of i[n(681)][n(508)]()){if(!t.is(n(733),n(553)))continue;const e=s[n(546)][n(755)](n(674),{class:n(720)+a}),r=s[n(495)][n(536)](this[n(532)][n(675)][n(762)](t));o[n(619)][n(665)]&&s[n(546)][n(572)](n(720)+a+n(475),e),this[n(713)]==o&&s[n(546)][n(572)](n(567),e),s[n(546)][n(699)](r,e),s[n(495)][n(524)](e,i[n(641)])}},{priority:t(734)}),this[t(532)][t(675)][t(520)].on(t(441),()=>{const e=t;this[e(532)][e(761)][e(716)][e(441)](t=>{const i=e;for(const e of this[i(532)][i(675)][i(520)][i(666)]()){const s=this[i(532)][i(675)][i(520)][i(451)](e),n=this[i(532)][i(761)][i(716)][i(520)][i(451)](e);if(n){const e=s[i(477)](i(544));if(t[i(617)](i(714),n),t[i(744)](i(632),n),t[i(744)](i(453),n),t[i(744)](i(726),n),e){const s=this[i(705)](e);if(!s)return null;t[i(628)](i(714),e,n),t[i(572)](i(637)+s[i(578)],n),this[i(713)]==s&&t[i(572)](i(726),n)}}}})}),this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(518),model:e=>t(594)+e,converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(580))[t(684)]({view:t(751),model:e=>t(507)+e,converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(525))[t(669)]({model:t(500),view:e=>({name:t(740)+e,group:t(500)}),converterPriority:t(652)}),this[t(532)][t(601)][t(607)](t(676))[t(598)]({model:t(500),view:e=>{const i=t,s=e[i(641)][i(450)](":")[1];return i(537)!=s&&i(647)!=s?null:{classes:[i(692),i(722)+s]}}}),this[t(532)][t(761)][t(629)].on(t(579),le(this[t(532)],t(565)),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(749),le(this[t(532)],t(450)),{priority:t(734)}),this[t(532)][t(761)][t(629)].on(t(620),(e,i,s)=>{const n=t,r=s[n(495)][n(496)](i[n(641)]);if(r)for(const t of r)t.is(n(739))&&(s[n(495)][n(471)](t,i[n(641)]),s[n(546)][n(700)](t))},{priority:t(734)})}[oe(705)](t){const e=oe;return this[e(757)][e(501)](t)}[oe(719)](t){const e=oe;return this[e(476)]&&this[e(476)][e(680)](),this[e(476)]=new Jt(this[e(532)][e(679)],t),this[e(476)]}[oe(561)](){const t=oe;this[t(532)][t(675)][t(520)][t(741)][t(616)](t(610)),this.on(t(478),(e,i,s,n)=>{const r=t;n&&this[r(515)][r(700)](n),s&&(this[r(515)][r(472)]({view:s,stackId:r(557),position:{target:()=>{const t=r,e=this[t(532)][t(761)],i=this[t(705)](s[t(461)]);let n;if(i[t(619)][t(691)]){const s=e[t(716)][t(458)](i[t(526)]);n=Array[t(491)](s[t(596)]())}else{const i=this[t(532)][t(675)][t(448)][t(501)](t(611)+s[t(461)]);n=Array[t(491)](e[t(495)][t(496)](i[t(667)]))[t(597)](i=>e[t(716)][t(742)][t(710)](i))[t(597)](e=>Array[t(491)](e[t(596)]()))[t(758)]()}return this[t(612)]&&n[t(509)](e=>e[t(502)]-3<=this[t(612)].y&&e[t(748)]+3>=this[t(612)].y&&e[t(438)]-3<=this[t(612)].x&&e[t(543)]+3>=this[t(612)].x)||n[0]}}}),this[r(515)][r(511)](r(557)))}),this.on(t(659),(e,i,s,n)=>{const r=t;this[r(498)]=s?this[r(719)](s):null,this[r(532)][r(675)][r(441)](()=>{const t=r,e=this[t(532)][t(761)];n&&(n[t(619)][t(691)]?e[t(716)][t(441)](i=>{const s=t;i[s(744)](s(726),e[s(716)][s(520)][s(451)](n[s(526)]))}):e[t(655)](t(611)+n.id)),s&&(s[t(619)][t(691)]?e[t(716)][t(441)](i=>{const n=t;i[n(572)](n(726),e[n(716)][n(520)][n(451)](s[n(526)]))}):e[t(655)](t(611)+s.id))})}),this[t(728)](this[t(532)][t(761)][t(716)][t(520)],t(651),(e,i)=>{const s=t;if(this[s(713)])return;const n=this[s(737)](i[s(657)]),r=this[s(757)][s(501)](n);r?(this[s(612)]={x:i[s(688)].x,y:i[s(688)].y},this[s(498)]=this[s(719)](r)):(this[s(612)]=null,this[s(498)]=null)}),this[t(728)](this[t(532)][t(761)][t(716)][t(520)],t(519),(e,i)=>{const s=t,n=this[s(737)](i[s(657)]),r=this[s(757)][s(501)](n);r?(this[s(612)]={x:i[s(688)].x,y:i[s(688)].y},r===this[s(713)]?this[s(515)][s(614)]():this[s(713)]=r):(this[s(612)]=null,this[s(713)]=null)})}[oe(737)](t){const e=oe;do{const i=t[e(477)](e(714));if(i)return i;t=t[e(661)]}while(t);return null}[oe(577)](){const t=oe;this[t(532)][t(675)][t(441)](e=>{const i=t;for(const t of this[i(532)][i(675)][i(448)])e[i(547)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(747)][r(465)](s[r(681)],i[r(667)]))return;const o=s[r(681)][r(602)](),a=s[r(681)][r(694)],c=t[r(675)][r(635)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(555)];h=h||c[r(533)](e);const i=n[r(495)][r(671)](e);if(i&&i[r(513)](r(636)))return;r(534)==t[r(578)]&&c[r(456)](e)&&!c[r(591)](e)&&(e[r(606)]||a[r(685)]?u&&u[r(661)]==e||(u=e,f(t[r(613)]),d=!0):l=l||t[r(613)])}function f(t){const i=r,o=n[i(495)][i(536)](t),a=n[i(546)][i(755)](i(674),{class:i(722)+e});n[i(546)][i(699)](o,a),n[i(495)][i(524)](a,s[i(641)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(437)][e(501)](ue);this[e(468)]=!1,this[e(728)](i,e(444),()=>this[e(658)]()),this[e(728)](i,e(480),()=>this[e(658)]())}[oe(731)](){const t=oe,e=this[t(532)],i=e[t(437)][t(501)](ue),s=i[t(530)]?i[t(639)][t(662)]:null;e[t(683)][t(501)](t(752))[t(615)](s)}[oe(658)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(532)][t(437)][t(501)](ue),r=n&&s[t(576)](n[t(662)]);this[t(588)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(514)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(437)][i(501)](ue);this[i(468)]=!1,this[i(514)]=i(717)===e?1:-1,this[i(728)](s,i(444),()=>this[i(658)]()),this[i(728)](s,i(480),()=>this[i(658)]()),this[i(728)](s,i(659),()=>this[i(658)]())}[oe(731)](){const e=oe,i=this[e(532)],s=i[e(437)][e(501)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(713)]=n?s[e(639)][e(702)][e(501)](r+this[e(514)]):s[e(639)][e(702)][e(695)],s[e(713)][e(619)][e(691)])o=i[e(761)][e(716)][e(458)](s[e(713)][e(526)]);else{const t=i[e(675)][e(448)][e(501)](e(611)+s[e(713)].id);o=(0,K.getMarkerDomElement)(i[e(761)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(658)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(532)][t(437)][t(501)](ue);this[t(588)]=!!(r&&n&&s)&&(!e||(1===this[t(514)]?i<s-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(911827===parseInt(e(157))/1*(-parseInt(e(163))/2)+-parseInt(e(156))/3+parseInt(e(189))/4*(parseInt(e(158))/5)+parseInt(e(173))/6+-parseInt(e(159))/7+parseInt(e(188))/8+-parseInt(e(166))/9*(-parseInt(e(155))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(190)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(154)](e(168),!1),this[e(154)](e(170),!1),this[e(154)](e(171),0),this[e(154)](e(180),0),this[e(154)](e(165),!1),this[e(154)](e(192),!1),this[e(181)](e(179)).to(this,e(170),this,e(180),(t,e)=>t&&e>0),this[e(181)](e(161)).to(this,e(170),this,e(171),this,e(180),this,e(168),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(164));if(!n)return at(t,o(186));const a=at(t,o(150),n);return r?at(t,o(160),[s+1,n]):a}),s[e(154)]({label:at(t,e(177)),tooltip:!0,icon:_t.IconChevronUp}),n[e(154)]({label:at(t,e(183)),tooltip:!0,icon:_t.IconChevronDown}),s[e(181)](e(167)).to(this,e(192)),n[e(181)](e(167)).to(this,e(165)),s.on(e(153),()=>this[e(191)](e(153),e(162))),n.on(e(153),()=>this[e(191)](e(153),e(176))),this[e(178)]({tag:e(185),attributes:{class:["ck",e(184),e(175)]},children:[{tag:e(174),attributes:{class:[e(187)]},children:[{tag:e(174),attributes:{class:[e(169),i.if(e(179),e(151),t=>!t)]},children:[{text:i.to(e(168),i=>i?at(t,e(152))+": ":at(t,e(182))+": ")}]},{text:i.to(e(161))}]},new It.ToolbarSeparatorView,{tag:e(185),attributes:{class:[e(172)]},children:[s,n]}]})}}function ge(){const t=["Total","Show next change","ck-revision-history-ui","div","No changes","ck-revision-history-ui__changes-navigation__wrapper","1332216ZObxxX","538960UjIauj","bindTemplate","fire","isBackwardNavigationEnabled","NUMBER_OF_CHANGES","ck-hidden","EDIT_X_OF_Y_REVISIONS","execute","set","270UtpbZs","790602wkFPzh","10TtdgLc","25WucpiG","7098581OThAFK","X_OF_Y_CHANGES","_statusText","backward","359388xCQWCn","Loading...","isForwardNavigationEnabled","448002LOpMBw","isEnabled","isNavigationMode","ck-revision-history-ui__changes-navigation__label","isReady","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","10812906tMXyMy","span","ck-revision-history-ui__changes-navigation","forward","Show previous change","setTemplate","_isStatusLabelVisible","numberOfChanges","bind"];return(ge=function(){return t})()}var ye=i(772),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=134]})(t,e)}function _e(){const t=["isPremiumPlugin","564kmAkQn","353561elvbmI","326209XOJJFX","view","removeClass","8ktyIcA","show","3710SXPGOq","addClass","RevisionViewerLoadingOverlay","change","pluginName","3UmnTSW","10uTdHth","36UNzEPy","editing","1757313tYngDO","roots","hide","ck-editor__editable__loading-overlay","editor","75GCDuxH","isOfficialPlugin","1855447PJUxBz","244258MAMLKC","35576ElbMlq","document"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(335757===-parseInt(e(145))/1+parseInt(e(139))/2*(-parseInt(e(155))/3)+-parseInt(e(140))/4*(parseInt(e(136))/5)+-parseInt(e(157))/6*(-parseInt(e(150))/7)+-parseInt(e(148))/8*(parseInt(e(159))/9)+-parseInt(e(156))/10*(parseInt(e(138))/11)+parseInt(e(143))/12*(parseInt(e(144))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(134);class Se extends G.Plugin{static get[be(154)](){return be(152)}static get[be(137)](){return!0}static get[be(142)](){return!0}[be(149)](){const t=be,e=this[t(135)][t(158)][t(146)];e[t(153)](i=>{const s=t;for(const t of e[s(141)][s(160)])i[s(151)](Ie,t)})}[be(161)](){const t=be,e=this[t(135)][t(158)][t(146)];e[t(153)](i=>{const s=t;for(const t of e[s(141)][s(160)])i[s(147)](Ie,t)})}}const Oe=xe;function Te(){const t=["componentFactory","execute","config","currentChangeNumber","isNavigationMode","plugins","closeRevisionViewerCallback","bind","restoreRevision","10bcmaEo","isReady","isOfficialPlugin","showNextChange","isEnabled","get","33QAAriZ","init","ck-revision-history-ui__back-to-editing","set","4869820dtsSVs","pluginName","Back to editing","Restore this revision","exitToEditing","show","727120mhgCLp","requires","hide","8eCRnHg","isPremiumPlugin","1315685UUTamz","5510whYpxM","forward","commands","add","isBackwardNavigationEnabled","change:isReady","numberOfChanges","RevisionViewerUI","1282345GkFGqs","6rwAnVK","listenTo","1182504rHyedr","editor","revisionHistory","showPreviousChange","6VwXhqo","32247WDmjas","changesNavigation","isForwardNavigationEnabled"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=352]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(296187===-parseInt(e(352))/1*(-parseInt(e(374))/2)+-parseInt(e(383))/3*(parseInt(e(368))/4)+-parseInt(e(382))/5*(-parseInt(e(389))/6)+parseInt(e(373))/7+parseInt(e(371))/8*(-parseInt(e(390))/9)+parseInt(e(362))/10+parseInt(e(358))/11*(-parseInt(e(385))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(363)](){return Oe(381)}static get[Oe(354)](){return!0}static get[Oe(372)](){return!0}static get[Oe(369)](){return[ue,Se]}[Oe(359)](){const t=Oe,e=this[t(386)],i=e[t(398)][t(357)](ue),s=e[t(398)][t(357)](Se);e.ui[t(393)][t(377)](t(366),i=>{const s=t,n=new It.ButtonView(i);return n[s(361)]({label:at(i,s(364)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(360)}),this[s(384)](n,s(394),()=>{const t=s;e[t(395)][t(357)](t(387))[t(399)]()}),n}),e.ui[t(393)][t(377)](t(401),i=>{const s=t,n=new It.ButtonView(i);return n[s(361)]({label:at(i,s(365)),withText:!0,tooltip:!0}),n[s(400)](s(356)).to(e[s(376)][s(357)](s(401))),this[s(384)](n,s(394),()=>e[s(394)](s(401))),n}),e.ui[t(393)][t(377)](t(391),s=>{const n=t,r=new ve(s),o=e[n(376)][n(357)](n(388)),a=e[n(376)][n(357)](n(355));return r[n(400)](n(378)).to(o,n(356)),r[n(400)](n(392)).to(a,n(356)),r[n(400)](n(353),n(396),n(380),n(397)).to(i),this[n(384)](r,n(394),(t,i)=>{const s=n;e[s(394)](s(375)===i?s(355):s(388))}),r}),s[t(367)](),i.on(t(379),(e,i,n)=>{const r=t;n?s[r(370)]():s[r(367)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["_updateTooltipText","1176LkzaUR","Enter the revision name","span","Revision name","extendTemplate","bindTemplate","711598dHFoMo","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","7490PelmHt","6TQNOni","input","2047860vOczQd","_resizeObserver","set","element","scrollWidth","placeholder","822370qlTgOI","destroy","_tooltipString","listenTo","clientWidth","value","13438480STdIaf","1198443ugQfaS","4vCjEkU","render","516185mbwlFl","fieldView"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(447059===-parseInt(e(443))/1+-parseInt(e(455))/2+-parseInt(e(431))/3*(-parseInt(e(432))/4)+parseInt(e(434))/5*(-parseInt(e(447))/6)+-parseInt(e(446))/7*(-parseInt(e(437))/8)+-parseInt(e(449))/9+parseInt(e(430))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(450)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(442)];this[i(451)]({label:at(t,i(440)),_tooltipString:""}),this[i(435)][i(454)]=at(t,i(438)),this[i(441)]({tag:i(439),attributes:{class:[i(445)],"data-cke-tooltip-text":s.to(i(457)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(444)}})}[Me(433)](){const e=Me;super[e(433)](),this[e(450)]=new t.ResizeObserver(this[e(435)][e(452)],()=>this[e(436)]()),this[e(458)](this[e(435)],e(448),()=>this[e(436)]())}[Me(456)](){const t=Me;super[t(456)](),this[t(450)]&&this[t(450)][t(456)]()}[Me(436)](){const t=Me,e=this[t(435)][t(452)];this[t(457)]=e[t(453)]>e[t(459)]&&e[t(429)]||""}}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=442]})(t,e)}function Le(){const t=["1623096TDISzE","Revision author","setTemplate","push","0 0 11 10","4949840CGoAsL","ck-revision-history-sidebar__revision-author_creator","set","name","10hVERPs","ck-revision-history-sidebar__revision-author__name","10795563vWHOwP","152752VRpGkb","14sKzeWz","93NILIDH","7394216hqkVqI","1053790HlsnHa","524140lfTBKg","span","ck-revision-history-sidebar__revision-author","Revision creator"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(592134===-parseInt(e(456))/1+-parseInt(e(457))/2+parseInt(e(454))/3*(parseInt(e(452))/4)+parseInt(e(445))/5+parseInt(e(461))/6*(-parseInt(e(453))/7)+-parseInt(e(455))/8+parseInt(e(451))/9*(parseInt(e(449))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(447)]({content:_t.IconUser,viewBox:s(444)});const r=["ck",s(459)];i&&r[s(443)](s(446));const o=[{tag:s(458),attributes:{class:["ck",s(450)],title:at(t,s(i?460:462))},children:[n,e[s(448)]]}];this[s(442)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["11944SaRjPL","792702HHfHUI","6ixCgzP","toLocaleDateString","toLocaleTimeString","3591420QHdYHJ","2034ytXaAb","4wJKReL","long","103449wTkDSW","2721418bmMBve","11329mXBjAB","numeric","5371872EdaPVa","15KiEEQb"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=176]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(200135===-parseInt(e(190))/1*(-parseInt(e(181))/2)+-parseInt(e(188))/3*(parseInt(e(186))/4)+parseInt(e(178))/5*(-parseInt(e(180))/6)+parseInt(e(189))/7+parseInt(e(179))/8*(parseInt(e(185))/9)+parseInt(e(184))/10+-parseInt(e(177))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(111),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=337]})(t,e)}function qe(){const t=["119595dHrQcA","buttonView","824290ovIFCs","stopPropagation","2226LoHoTY","children","listenTo","action","5607RsxMXZ","4913696PnbIEu","Name this revision","bindTemplate","Compare against selected","panelPosition","isEnabled","execute","class","bind","3648546qiORyc","menuitem","extendTemplate","button","6CLXKsX","isVisible","isReady","name","model","set","listView","isOpen","locale","isActionsDropdownOpen","add","Show more items","menu","4WItpvs","source","map","315076NksvRX","first","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","ck-on","11QrtHZZ","_action","Restore this revision","1151270yiDDdp","function","find","items"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(333565===parseInt(e(347))/1+parseInt(e(381))/2*(-parseInt(e(359))/3)+parseInt(e(344))/4*(parseInt(e(361))/5)+parseInt(e(363))/6*(parseInt(e(367))/7)+-parseInt(e(368))/8+parseInt(e(377))/9+parseInt(e(355))/10*(-parseInt(e(352))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["923303fEtFtc","render","div","authors","value","isSelected",".ck-confirm-view","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","creator","change","fieldView","extendTemplate","element","select","ck-disabled","9RmoPUy","ck-revision-history-sidebar__actions_dropdown_open","isHighlighted","16630670RJDlMe","filter","setName","createdAt","_requireRevisionName","isEnabled","map","ck-revision-history-sidebar__revision-authors","_revision","ck-revision-history-sidebar__revision","15yrZVLc","set","2709036oJPxIY","revisionActionsView","3MWklXD","isConfirm","ck-revision-history-sidebar__revision__controls-wrapper","fire","span","uiLanguage","ck-revision-history-sidebar__revision-wrapper","7fazLcM","isReady","from","9466776zYZftp","ck-revision-history-sidebar__revision_selected","557476qTzZJW","41032cfRCcy","bindTemplate","ck-reset","srcElement","bind","isActionsDropdownOpen","unhighlight","highlight","unshift","_createdAtFormatted","listenTo","revisionNameView","closest","8918514CrpeIa","length","setTemplate","deselect","name","220","11BktsII","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(870998===-parseInt(e(237))/1+-parseInt(e(215))/2*(-parseInt(e(269))/3)+parseInt(e(281))/4*(-parseInt(e(265))/5)+parseInt(e(228))/6+parseInt(e(276))/7*(-parseInt(e(279))/8)+-parseInt(e(252))/9*(-parseInt(e(255))/10)+parseInt(e(234))/11*(parseInt(e(267))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(226)];[Ye(268)];[Ye(263)];[Ye(259)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(216)],a=function(t,e){const i=r,s=Array[i(278)](e[i(240)])[i(256)](t=>t!=e[i(245)]);return e[i(245)]&&s[i(223)](e[i(245)]),s[i(261)](s=>new Pe(t,s,s==e[i(245)]))}(e,i);this.id=i.id,this[r(263)]=i,this[r(259)]=n,this[r(219)](r(232),r(258)).to(i),this[r(219)](r(224)).to(this,r(258),t=>{return i=e[r(274)],(s=t)[(n=We)(182)](i,{month:n(187),day:n(176)})+", "+s[n(183)](i,{hour:n(176),minute:n(176)});var i,s,n}),this[r(266)](r(242),!1),this[r(266)](r(254),!1),this[r(266)](r(220),!1),this[r(266)](r(277),!1),this[r(266)](r(260),!1),this[r(226)]=new De(e,It.createLabeledInputText),this[r(226)][r(247)][r(248)]({attributes:{maxlength:r(233)}}),this[r(226)][r(247)][r(219)](r(241)).to(this,r(232),t=>t||this[r(224)]),this[r(226)][r(219)](r(260)).to(this,r(242),this,r(260),(t,e)=>t&&e),this[r(268)]=s&&s[r(229)]?function(e,i){const s=Ze,n=e[s(370)],r=e[s(339)],o=(0,It.createDropdown)(r);o[s(372)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(339)],n={"Compare against selected":at(s,i(371)),"Name this revision":at(s,i(369)),"Restore this revision":at(s,i(354))};return e[i(346)](t=>{const e=i,s=n[t[e(384)]];return s&&s!==t[e(384)]&&(t[e(384)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(380),model:new It.UIModel({label:t[n(384)],class:t[n(375)],withText:!0,role:n(378),_action:t[n(366)]})};i[n(385)][n(376)](n(373)).to(e,n(340),i=>n(356)!=typeof t[n(373)]||!i||t[n(373)](e)),o[n(341)](i)}return o}(e,i);return e[s(376)](s(340)).to(o,s(338)),o[s(360)][s(386)]({label:at(r,s(342)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(379)]({attributes:{class:[s(349),n.if(s(340),s(351))]},on:{click:n.to(t=>t[s(362)]())}}),o.on(s(374),t=>{const i=s;e[i(383)]&&i(356)==typeof t[i(345)][i(353)]&&t[i(345)][i(353)](e)}),(0,It.addListToDropdown)(o,a,{role:s(343)}),o[s(365)](e,s(350),(t,n,r)=>{const a=s;if(r)for(const t of o[a(337)][a(358)]){const s=t[a(364)][a(348)],n=i[a(357)](t=>t[a(366)]===s[a(353)])[a(382)];t[a(382)]=void 0===n||n(e)}}),o}(this,s):"",this[r(268)]&&this[r(268)][r(219)](r(260)).to(this),this[r(230)]({tag:r(239),attributes:{class:["ck",r(217),r(275),o.if(r(270),r(244))]},children:[{tag:r(239),attributes:{class:["ck",r(217),r(264),o.if(r(260),r(251),t=>!t),o.if(r(242),r(280)),o.if(r(254),r(236)),o.if(r(220),r(253))]},children:[this[r(226)],{tag:r(273),attributes:{class:["ck",r(235)]},children:[{text:o.to(r(224))}]},{tag:r(239),attributes:{class:["ck",r(271)]},children:[{tag:"ul",attributes:{class:["ck",r(262)]},children:a}]},this[r(268)]],on:{click:o.to(t=>{const e=r;t[e(218)][e(227)](e(243))||this[e(277)]&&this[e(260)]&&this[e(272)](e(250),{id:this.id})})}}]})}[Ye(238)](){const t=Ye;super[t(238)]();const e=this[t(226)][t(247)][t(249)];this[t(225)](e,t(246),()=>{const i=t;this[i(259)]&&!e[i(241)]||this[i(272)](i(257),{id:this.id,name:e[i(241)]}),e[i(241)]||(e[i(241)]=this[i(232)]?this[i(232)]:this[i(224)])})}[Ye(250)](){this[Ye(242)]=!0}[Ye(231)](){this[Ye(242)]=!1}[Ye(222)](){this[Ye(254)]=!0}[Ye(221)](){this[Ye(254)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{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&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(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 Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(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 Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(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,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=214]})(t,e)}function vo(t,e){const i=po,s=fo[i(223)](t)[i(214)](e),n=fo[i(228)](),r=n[i(224)]({days:1})[i(237)](i(236));let o,a;return s[i(216)](n,i(236))?(o=s[i(237)](i(236))[i(231)](),a=s[i(234)]()):s[i(216)](r,i(236))?(o=r[i(231)](),a=s[i(234)]()):s[i(216)](n,i(221))?(o=s[i(237)](i(221))[i(231)](),a=s[i(229)]||""):s[i(216)](n,i(230))?(o=s[i(237)](i(233))[i(231)](),a=s[i(222)]||""):(o=s[i(237)](i(230))[i(231)](),a=String(s[i(230)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["5444jwIjMs","1507764gFqrUJ","local","weekdayLong","year","toJSDate","1851575xOaDXg","month","toRelativeCalendar","478560Xwupij","day","startOf","setLocale","1236519uvHVcV","hasSame","3922970TlCFnF","9ZjuOPC","56kdFUFl","60952yOuCLk","week","monthLong","fromJSDate","minus","34aULQaE"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(206758===parseInt(e(226))/1*(parseInt(e(225))/2)+-parseInt(e(215))/3+-parseInt(e(227))/4+parseInt(e(232))/5+parseInt(e(235))/6+parseInt(e(219))/7*(parseInt(e(220))/8)+-parseInt(e(218))/9*(-parseInt(e(217))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=422]})(t,e)}function _o(){const t=["span","find","addRevision","4803148cInWia","2420632jgxMza","localizedPeriodName","7004965IJribc","select","add","946988yKpykP","remove","1411128uMcZTc","setName","div","removeRevision","ck-revision-history-sidebar__time-period","uiLanguage","232ISHDUM","5483274Qrlxsh","createCollection","locale","_requireRevisionName","revisionViews","delegate","ck-revision-history-sidebar__time-period__revisions","_revisionActions","ck-revision-history-sidebar__time-period__label","625722aUdTIN","startDate","setTemplate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(796693===-parseInt(e(442))/1+-parseInt(e(435))/2+parseInt(e(428))/3+-parseInt(e(434))/4+parseInt(e(437))/5+-parseInt(e(449))/6+-parseInt(e(440))/7*(-parseInt(e(448))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(429)];[bo(423)];[bo(426)];[bo(422)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(451)][n(447)])[n(436)];this[n(429)]=e,this[n(423)]=this[n(450)](),this[n(426)]=i,this[n(422)]=s,this[n(423)][n(424)](n(438)).to(this),this[n(423)][n(424)](n(443)).to(this),this[n(430)]({tag:n(444),attributes:{class:["ck",n(446)]},children:[{tag:n(431),attributes:{class:["ck",n(427)]},children:[{text:r}]},{tag:n(444),attributes:{class:["ck",n(425)]},children:this[n(423)]}]})}[bo(433)](t){const e=bo,i=new Ke(this[e(451)],t,this[e(426)],this[e(422)]);this[e(423)][e(439)](i)}[bo(445)](t){const e=bo,i=this[e(423)][e(432)](e=>e.id===t.id);this[e(423)][e(441)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["108273Ysnglo","setTemplate","content","1684zxPkxy","span","4179704CdNvFg","1838760FEwfeO","1778346hmrgyh","Revision history","20oypTLY","966rvEtUi","1355598fqKKqi","468stfZTv","ck-revision-history-sidebar__header","ck-reset_all","19545NmsNem","ck-revision-history-sidebar__header__label","div"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(351082===parseInt(e(307))/1+-parseInt(e(310))/2*(-parseInt(e(317))/3)+parseInt(e(319))/4*(-parseInt(e(304))/5)+-parseInt(e(318))/6+-parseInt(e(313))/7+parseInt(e(312))/8+-parseInt(e(314))/9*(-parseInt(e(316))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(309)]=_t.IconHistory,this[e(308)]({tag:e(306),attributes:{class:["ck",e(303),e(320)]},children:[i,{tag:e(311),attributes:{class:["ck",e(305)]},children:[at(t,e(315))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Vo(){const t=["div","map","addRevision","set","selectRevision","ck-rounded-corners","createdAt","8488eALEKx","1190630CBtbeM","getTime","render","_removeRevision","setTemplate","find","flat","_revisionActions","removeRevision","_requireRevisionName","isEnabled","highlight","ck-disabled","highlightRevisions","deselect","revisionSelected","2888685QIqwgW","_revisions","822yMZxnw","createCollection","some","delegate","1195874jioWNH","select","revisionSetName","fire","ck-reset","unhighlight","uiLanguage","bindTemplate","startDate","4790KhmtxI","8elyfEs","remove","timePeriodViews","revisionViews","_getTimePeriodViewByStartDate","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","locale","_addRevision","get","670658hOkCrp","4814850lixpTU","5856BWazlQ","setName","add"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(956797===parseInt(e(323))/1+-parseInt(e(303))/2+parseInt(e(299))/3*(parseInt(e(335))/4)+parseInt(e(312))/5*(parseInt(e(325))/6)+parseInt(e(336))/7*(parseInt(e(313))/8)+-parseInt(e(352))/9+-parseInt(e(324))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(315)];[Mo(353)];[Mo(343)];[Mo(345)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(310)];this[n(315)]=this[n(300)](),this[n(315)][n(302)](n(304)).to(this),this[n(315)][n(302)](n(326)).to(this),this[n(353)]=e,this[n(343)]=i,this[n(345)]=s,this.on(n(304),(t,e)=>{const i=n;this[i(306)](i(351),e)}),this.on(n(326),(t,e)=>{const i=n;this[i(306)](i(305),e)}),this[n(331)](n(346),!1),this[n(340)]({tag:n(328),attributes:{class:["ck",n(307),n(333),n(319)]},children:[new No(t),{tag:n(328),attributes:{class:["ck",n(318),r.if(n(346),n(348),t=>!t)]},children:this[n(315)]}]})}[Mo(338)](){const t=Mo;super[t(338)]();for(const e of this[t(353)])this[t(321)](e);this[t(353)].on(t(327),(e,i)=>{this[t(321)](i)}),this[t(353)].on(t(314),(e,i)=>{this[t(339)](i)})}get[Mo(316)](){const t=Mo;return this[t(315)][t(329)](e=>e[t(316)][t(329)](t=>t))[t(342)]()}[Mo(332)](t){const e=Mo;for(const i of this[e(316)])t&&t.id===i.id?i[e(304)]():i[e(350)]()}[Mo(349)](t){const e=Mo;for(const i of this[e(316)])t[e(301)](({id:t})=>t===i.id)?i[e(347)]():i[e(308)]()}[Mo(321)](t){const e=Mo,i=vo(t[e(334)],this[e(320)][e(309)])[e(311)];let s=this[e(315)][e(322)](0);s&&s[e(311)][e(337)]()===i[e(337)]()||(s=new Io(this[e(320)],i,this[e(343)],this[e(345)]),this[e(315)][e(327)](s)),s[e(330)](t)}[Mo(339)](t){const e=Mo,i=vo(t[e(334)],this[e(320)][e(309)])[e(311)];this[e(317)](i)[e(344)](t)}[Mo(317)](t){const e=Mo;return this[e(315)][e(341)](i=>i[e(311)][e(337)]()===t[e(337)]())}}function Co(t,e){const i=jo();return(Co=function(t,e){return i[t-=131]})(t,e)}const Fo=Co;function jo(){const t=["317064wZpsBN","275jDsACB","compareAgainstSelected","editor","bind","Name this revision","isSelected","map","revisionHistory","277218uiedRu","getRevision","isReady","getIndex","restoreRevision","get","revisionViews","remove","_sidebarView","action","isPremiumPlugin","1078AjkUjx","selectRevision","availableRevisionActions","10569492kdAYOF","config","ready","getRevisionsInDiff","revisionSetName","getLaterVisibleRevision","nameRevision","Compare against selected","434XgeuNe","revisionHistory.revisionActions","_handleRevisionSetName","element","length","timePeriodViews","requires","assign","defaultRevisionActions","listenTo","name","_handleRevisionSelected","render","RevisionsSidebar","diff","repository","compare","data","_createRevisionActions","isVisible","67792xxbKOg","fieldView","select","isOfficialPlugin","string","highlightRevisions","init","473251OuJGez","restoreRevisionCallback","locale","_revisionViewer","focus","getEarlierVisibleRevision","_revisionsRepository","plugins","103224dCUDtS","destroy","newRevisionId","_revisions","add","Restore this revision","isEnabled","revisionHistory.viewerSidebarContainer","3lGqLuf","_handleEditorDataReady","appendChild","32740jTDQCh","_handleDiffChange","pluginName","setName","change:diff","revisionHistory.requireRevisionName","revisionSelected"];return(jo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(693035===-parseInt(e(139))/1+-parseInt(e(174))/2*(-parseInt(e(155))/3)+-parseInt(e(132))/4*(parseInt(e(166))/5)+parseInt(e(147))/6*(parseInt(e(196))/7)+parseInt(e(165))/8+parseInt(e(188))/9+-parseInt(e(158))/10*(parseInt(e(185))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Fo(142)];[Fo(145)];[Fo(182)];static[Fo(204)]=[Fo(167),Fo(178),Fo(194)];static[Fo(187)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(195),action:({plugins:e},i)=>{const s=t,n=e[s(179)](ue),r=n[s(211)];let o=n[s(210)][s(149)],a=i.id;r[s(177)](o)>r[s(177)](a)&&([o,a]=[a,o]),n[s(212)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(179)](ue);return!(n[s(211)][s(191)](n[s(210)])[s(200)]>2||i[s(171)])}},restoreRevision:{name:t(152),action:(e,{id:i})=>{const s=t;e[s(189)][s(179)](s(173))[s(140)](i)},isVisible:({plugins:e},i)=>!!e[t(179)](ue)[t(211)][t(193)](i.id)},nameRevision:{name:t(170),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(179)](ue),o=r[n(211)][n(144)](i);r[n(212)](i,o),s[n(143)](),s[n(133)][n(134)]()}}}}();static get[Fo(160)](){return Fo(209)}static get[Fo(135)](){return!0}static get[Fo(184)](){return!0}static get[Fo(202)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(142)]=t[e(146)][e(179)](ue),this[e(145)]=this[e(142)][e(211)],this[e(182)]=null}[Fo(138)](){const t=Fo,e=this[t(145)][t(150)],i=this[t(214)](),s=this[t(168)][t(189)][t(179)](t(154));this[t(182)]=new Do(this[t(168)][t(141)],e,i,this[t(168)][t(189)][t(179)](t(163))),this[t(182)].on(t(164),this[t(207)][t(169)](this)),this[t(182)].on(t(192),this[t(198)][t(169)](this)),this[t(182)][t(169)](t(153)).to(this[t(142)]),this[t(182)][t(201)].on(t(151),(e,i)=>{const s=t;i[s(180)].on(s(151),(t,e)=>{const i=s;e[i(169)](i(153),i(176)).to(this[i(142)])})}),this[t(182)][t(208)](),this[t(205)](this[t(168)][t(213)],t(190),this[t(156)][t(169)](this)),this[t(205)](this[t(142)],t(162),this[t(159)][t(169)](this)),s[t(157)](this[t(182)][t(199)])}[Fo(148)](){const t=Fo;this[t(182)][t(199)][t(181)](),this[t(182)][t(148)]()}[Fo(156)](){const t=Fo,e=this[t(145)][t(175)](0);if(e){const i=this[t(145)][t(144)](e.id);this[t(142)][t(212)](e,i)}}[Fo(207)](t,e){const i=Fo,s=this[i(145)][i(175)](e.id),n=this[i(145)][i(144)](s.id);this[i(142)][i(212)](s,n)}[Fo(198)](t,e){const i=Fo;this[i(145)][i(175)](e.id)[i(161)](e[i(206)])}[Fo(159)](t,e,i){const s=Fo,n=this[s(145)][s(191)](i);n[s(200)]>2?(this[s(182)][s(137)](n),this[s(182)][s(186)](null)):(this[s(182)][s(137)]([]),this[s(182)][s(186)](n[0]))}[Fo(214)](){const t=Fo,e=this[t(168)],i=Lo[t(187)],s=e[t(189)][t(179)](t(197))||Lo[t(204)];if(s[t(200)])return s[t(172)](s=>{const n=t,r=n(136)==typeof s?Object[n(203)]({},i[s]):s;return r[n(183)]=r[n(183)][n(169)](this,e),r[n(131)]&&(r[n(131)]=r[n(131)][n(169)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=426]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(957216===-parseInt(e(453))/1+-parseInt(e(438))/2*(-parseInt(e(463))/3)+-parseInt(e(428))/4*(-parseInt(e(459))/5)+-parseInt(e(441))/6+parseInt(e(470))/7+-parseInt(e(446))/8*(-parseInt(e(457))/9)+parseInt(e(437))/10*(-parseInt(e(469))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends It.EditorUI{[Po(432)];[Po(449)];[Po(472)];get[Po(454)](){return this[Po(432)]}constructor(e,i){const s=Po;super(e),this[s(432)]=i,this[s(449)]=(0,It.normalizeToolbarConfig)(e[s(435)][s(445)](s(426))),this[s(472)]=new t.ElementReplacer}get[Po(450)](){const t=Po;return this[t(454)][t(450)]}[Po(442)](t){const e=Po,i=this[e(473)],s=this[e(454)],n=i[e(467)][e(454)],r=s[e(433)],o=n[e(455)][e(451)]();r[e(444)]=o[e(456)],s[e(434)]();const a=r[e(450)];this[e(427)](r[e(444)],a),s[e(433)][e(439)](e(452)).to(this[e(429)]),n[e(462)](a),this[e(472)][e(436)](t,this[e(450)]),this[e(466)](),this[e(447)](e(448))}[Po(458)](){const t=Po;super[t(458)]();const e=this[t(454)],i=this[t(473)][t(467)][t(454)];this[t(472)][t(471)](),i[t(443)](e[t(433)][t(444)]),e[t(458)]()}[Po(466)](){const t=Po,e=this[t(454)];e[t(440)][t(439)](t(465)).to(this[t(429)],t(452)),e[t(440)][t(430)]=e[t(450)],e[t(440)][t(439)](t(431)).to(this,t(464),({top:t})=>t),e[t(426)][t(461)](this[t(449)],this[t(468)]),this[t(460)](e[t(426)])}}function Uo(){const t=["element","getRoot","isFocused","390004EXJOhg","view","document","rootName","9QFgbeH","destroy","70VItFaE","addToolbar","fillFromConfig","attachDomRoot","3594bHJKFs","viewportOffset","isActive","_initToolbar","editing","componentFactory","87670XTXRJD","2634128ZlqGmM","restore","_elementReplacer","editor","toolbar","setEditableElement","447148HFTIRq","focusTracker","limiterElement","viewportTopOffset","_view","editable","render","config","replace","690rpImlo","502UOJjEY","bind","stickyPanel","11486094bvdGcM","init","detachDomRoot","name","get","12555832tcANWi","fire","ready","_toolbarConfig"];return(Uo=function(){return t})()}var Ho=i(318),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Yo();return($o=function(t,e){return i[t-=284]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(908173===-parseInt(e(294))/1+parseInt(e(303))/2*(-parseInt(e(292))/3)+parseInt(e(296))/4+parseInt(e(295))/5*(-parseInt(e(287))/6)+-parseInt(e(301))/7*(-parseInt(e(290))/8)+parseInt(e(289))/9+parseInt(e(285))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[qo(286)];[qo(302)];[qo(300)];get[qo(293)](){return this[qo(286)]}constructor(t,e,i={}){var s=qo;super(t),this[s(302)]=new It.StickyPanelView(t),this[s(300)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(297)]}),this[s(286)]=new It.InlineEditableUIView(t,e)}[qo(299)](){var t=qo;super[t(299)](),this[t(302)][t(298)][t(288)](this[t(300)]),this[t(284)][t(288)](this[t(302)]),this[t(291)][t(288)](this[t(293)])}}function Yo(){var t=["7703316YokEjl","36008YFRNaX","main","4527210EfjlaZ","editable","820567lruOph","10YzrKYw","4568328CbpGqC","shouldToolbarGroupWhenFull","content","render","toolbar","1939uBnBFm","stickyPanel","2IcYYWH","top","17244610otXYff","_editable","5194302bSMsEA","add"];return(Yo=function(){return t})()}const Jo=Ko;function Go(){const t=["initialData","234InIjLO","164BHvtec","view","updateSourceElement","get","_ui","initPlugins","3814970SILnGz","2784495MHUmYC","3853512qdIYHc","sourceElement","createRoot","4735XHAZJa","fire","destroy","init","model","7926480idcOwk","ready","document","editing","locale","config","5803712LbQIaF","data","3JbEmGV","35655eXKMjm","create"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(516357===parseInt(e(291))/1*(-parseInt(e(280))/2)+parseInt(e(275))/3*(-parseInt(e(288))/4)+parseInt(e(276))/5*(parseInt(e(279))/6)+-parseInt(e(287))/7+parseInt(e(273))/8+parseInt(e(267))/9+parseInt(e(286))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(284)];get ui(){return this[Jo(284)]}constructor(t,e){const i=Jo;super(e),this[i(289)]=t,this[i(295)][i(269)][i(290)]();const s=new Bo(this[i(271)],this[i(270)][i(281)],{shouldToolbarGroupWhenFull:!0});this[i(284)]=new Wo(this,s)}[Jo(293)](){const t=Jo;return this[t(282)](),this.ui[t(293)](),super[t(293)]()}static async[Jo(277)](t,e){const i=Jo,s=new this(t,e);return await s[i(285)](),await s.ui[i(294)](t),await s[i(274)][i(294)](s[i(272)][i(283)](i(278))||""),s[i(292)](i(268)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(717405===-parseInt(e(600))/1+-parseInt(e(588))/2+parseInt(e(530))/3+-parseInt(e(605))/4+-parseInt(e(574))/5+-parseInt(e(570))/6+-parseInt(e(516))/7*(-parseInt(e(546))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(562),Qo(618),Qo(569),Qo(513),Qo(655),Qo(568),Qo(628)];function ia(){const t=["RevisionTracker","style","pluginName","define","closeRevisionViewerCallback","ck-tab-panel_disabled","users","adapter","revisionHistory","bind","repository","editor","AIChatHistory","set","isReady","_viewerEditor","refreshPositioning","AIReviewMode","getMarkersGroup","uiLanguage","44464UqYovs","_recalculatePageBreaks","destroy","getRevisionRootsAttributes","toJSON","catch","element","refreshVisibility","isOfficialPlugin","detachRoot","replace","addUser","long","addRoot","2490354uKTWwA","isPremiumPlugin","revision-history-missing-configuration","enqueueChange","create","revision-history-viewer-opened","getUser","PaginationLookup","document","panelViews","hide","toLocaleTimeString","locale","removeSelectionAttribute","plugins","saveRevision","4704hJxbZC","removeAttribute","join","display","result","selection","fromVersion","toolbar","toLocaleDateString","push",".ck-ai-chat-history .ck-input","enableReadOnlyMode","insert","save","translations","_getRevisionViewerEditorConfig","RevisionHistoryUI","createRangeIn","indexOf","isAnonymous","restrictedEditingException","get","AIQuickActions","AIChat","2969874lIbyiL","setAttribute","revisionHistory.editorContainer","rootName","4172885wDgBVX","fromCharCode","keys","createdAt","getRoot","revisionHistory.showRevisionViewerCallback","requires","from","roots","init","RevisionHistory","error","markers","revisionHistory.viewerContainer","2455034sIorVw","numeric","_restoreRevision","revisionHistory.restoreRevisionCallback","commands","RevisionViewer","querySelector","view","getRevision","Users","update","loadRevisionData","811474dVPCyf","block","data","_update","revisionHistory.closeRevisionViewerCallback","1916568rucYaK","_cleanUp","getAttributeKeys","Autosave","_enhanceShowRevisionViewerCallback","$graveyard","lazyRoots","class","_closeRevisionViewer","remove","Restored","_enhanceCloseRevisionViewerCallback","creator","RestrictedEditingMode","RevisionHistoryUtils","disableReadOnlyMode","then","isEnabled","restoreRevision","isReadOnly","tabindex","name","getRevisions","AIActions","_showRevisionViewer","has","RevisionViewerIntegration","Annotations","isAttached","addRevisionData",".ck-ai-chat__prompt-input .ck-textarea","model","exitToEditing"," ck-tab-panel_disabled","setSelection","isRevisionViewerOpen","changesNavigation","DocumentOutlineUI","none","DocumentOutline","toVersion","RevisionsRepository","revisionHistory.viewerEditorElement","end","parse","map","includes","showRevisionViewerCallback","revisionHistory.requireRevisionName","Dialog","AIBalloon","isOpen","getRevisionDocumentData","config","change","AITabs","removeMarker"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(550)];static get[Qo(664)](){return Qo(631)}static get[Qo(524)](){return!0}static get[Qo(531)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(650)](t=>String[e(575)](t))[e(548)]("")}super(t),this[e(550)]=e(648),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(511)];static get[Qo(664)](){return Qo(584)}static get[Qo(524)](){return!0}static get[Qo(531)](){return!0}static get[Qo(580)](){return[pt,Zt]}constructor(e){const i=Qo;if(super(e),!this[i(507)][i(658)][i(567)](i(504)))throw new t.CKEditorError(i(532),this);this[i(511)]=null,this[i(509)](i(640),!1),this[i(507)][i(658)][i(499)](i(579),t=>this[i(629)]({...t,translations:this[i(507)][i(542)][i(560)]})),this[i(507)][i(658)][i(499)](i(604),t=>this[i(613)](t)),this[i(507)][i(658)][i(499)](i(591),t=>this[i(590)](t)),this[i(507)][i(658)][i(499)](i(653),!1),this[i(609)](),this[i(616)]()}set[Qo(503)](t){const e=Qo;this[e(507)][e(544)][e(567)](e(662))[e(503)]=t}get[Qo(503)](){const t=Qo;return this[t(507)][t(544)][t(567)](t(662))[t(503)]}[Qo(634)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(662))[e(634)](t)}[Qo(596)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(646))[e(596)](t)}[Qo(627)](t){const e=Qo;return this[e(507)][e(544)][e(567)](e(646))[e(627)](t||{toJSON:!1})}[Qo(561)](){const e=Qo,i=this[e(507)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(544)][e(567)](e(662)),r=i[e(544)][e(567)](e(597))[e(502)];return s[e(553)]=[e(637),e(623),e(641)],delete s[e(611)],s[e(544)][e(555)](sa,ue,Ne,class extends G.Plugin{static get[e(580)](){return[ue,e(597)]}[e(583)](){const s=e,o=this[s(507)][s(544)][s(567)](s(597));for(const t of r)t[s(565)]||o[s(536)](t.id)||o[s(527)](t);const a=n[s(506)][s(627)]();let c=null;const u=this[s(507)][s(544)][s(567)](s(593));u[s(503)]=n[s(503)],u[s(505)](s(622)).to(n),this[s(507)][s(592)][s(567)](s(623))[s(505)](s(622)).to(i,s(624),t=>!t);for(const e of a){const i=null===e[s(617)];if(i&&e[s(645)]===e[s(552)])continue;const r=e[s(520)]();u[s(634)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(603)](r,o);else if(!o){const e=a[u(520)]();e.id=(0,t.uid)(),n[u(545)](e,a[u(645)])[u(621)](t=>{c=t})}}else e[u(603)](r,o)})}}},Lo),s}[Qo(609)](){const t=Qo,e=this[t(507)][t(658)][t(567)](t(504))[t(652)];this[t(507)][t(658)][t(509)](t(579),async()=>{const i=t;this[i(507)][i(557)](i(535));const s=this[i(507)][i(544)][i(567)](i(662));if(this[i(507)][i(544)][i(630)](i(608))){const t=this[i(507)][i(544)][i(567)](i(608));await t[i(559)]()}else await s[i(598)]();if(this[i(507)][i(544)][i(630)](i(537))&&this[i(507)][i(544)][i(567)](i(537))[i(517)](),this[i(507)][i(544)][i(630)](i(654))){const t=this[i(507)][i(544)][i(567)](i(654));t[i(656)]&&t[i(540)]()}if(this[i(507)][i(544)][i(630)](i(660))){const t=this[i(507)][i(544)][i(567)](i(660))[i(595)][i(539)];for(const e of t)e[i(612)]=e[i(612)]?e[i(612)]+i(638):i(501);if(this[i(507)][i(544)][i(630)](i(569))){const t=document[i(594)](i(635));t&&t[i(571)](i(625),"-1")}if(this[i(507)][i(544)][i(630)](i(508))){const t=document[i(594)](i(556));t&&t[i(571)](i(625),"-1")}}const n=this[i(561)]();return e(n)[i(621)](t=>{const e=i;return this[e(511)]=t,this[e(507)][e(544)][e(630)](e(632))&&this[e(507)][e(544)][e(567)](e(632))[e(523)](),this[e(507)][e(544)][e(630)](e(644))&&(this[e(507)][e(544)][e(567)](e(642))[e(595)][e(522)][e(663)][e(549)]=e(643)),t})[i(521)](t=>(console[i(585)](t),this[i(507)][i(620)](i(535)),null))})}[Qo(616)](){const t=Qo,e=this[t(507)][t(658)][t(567)](t(504))[t(500)];this[t(507)][t(658)][t(509)](t(604),()=>{const i=t;if(this[i(507)][i(544)][i(630)](i(537))&&this[i(507)][i(544)][i(567)](i(537))[i(517)](),this[i(507)][i(544)][i(630)](i(644))&&(this[i(507)][i(544)][i(567)](i(642))[i(595)][i(522)][i(663)][i(549)]=""),this[i(507)][i(544)][i(630)](i(660))){const t=this[i(507)][i(544)][i(567)](i(660))[i(595)][i(539)];for(const e of t)e[i(612)]=i(501)===e[i(612)]?"":e[i(612)][i(526)](i(638),"");if(this[i(507)][i(544)][i(630)](i(569))){const t=document[i(594)](i(635));t&&t[i(547)](i(625))}if(this[i(507)][i(544)][i(630)](i(508))){const t=document[i(594)](i(556));t&&t[i(547)](i(625))}}return this[i(511)][i(544)][i(567)](i(593))[i(606)](),e(this[i(511)])[i(621)](()=>{const t=i;if(this[t(507)][t(620)](t(535)),this[t(511)]=null,this[t(507)][t(544)][t(630)](t(632))){const e=this[t(507)][t(544)][t(567)](t(632));e[t(523)](),e[t(512)]()}})})}[Qo(629)](t){const e=Qo,i=this[e(507)][e(658)][e(567)](e(572)),s=this[e(507)][e(658)][e(567)](e(587)),n=this[e(507)][e(658)][e(567)](e(647));return Xo[e(534)](n,t)[e(621)](t=>(s[e(663)][e(549)]=e(601),i[e(663)][e(549)]=e(643),this[e(640)]=!0,t))}[Qo(613)](t){const e=Qo,i=this[e(507)][e(658)][e(567)](e(572));return this[e(507)][e(658)][e(567)](e(587))[e(663)][e(549)]=e(643),i[e(663)][e(549)]="",this[e(640)]=!1,t[e(518)]()}async[Qo(590)](t){const e=Qo,i=this[e(507)],s=this[e(511)][e(544)][e(567)](e(593)),n=i[e(544)][e(567)](e(662)),r=i[e(544)][e(567)](e(619)),o=s[e(506)][e(596)](t);let a,c,u;try{await r[e(599)](o,this[e(503)]),a=r[e(657)](o),c=r[e(519)](o)}catch(t){return void console[e(585)](t)}i[e(636)][e(659)](t=>{const s=e;for(const e of Array[s(581)](i[s(636)][s(586)][s(514)](s(566))))t[s(661)](e)}),s[e(510)]=!1,i[e(636)][e(533)](t=>{const s=e;t[s(639)](null),t[s(543)](i[s(636)][s(538)][s(551)][s(607)]());const n=Object[s(576)](a);for(const e of i[s(636)][s(538)][s(582)])s(610)!=e[s(573)]&&e[s(633)]()&&!n[s(651)](e[s(573)])&&t[s(525)](e);for(const e of n){let n=i[s(636)][s(538)][s(578)](e);n&&n[s(633)]()||(n=t[s(529)](e));const r=c[e],o=Object[s(576)](r),u=a[e];for(const e of n[s(607)]())o[s(651)](e)||t[s(547)](e,n);for(const i of o)t[s(571)](i,c[e][i],n);t[s(614)](t[s(563)](n)),t[s(558)](i[s(602)][s(649)](u,n),n,0)}});const l=at(i[e(542)],e(615));return u=o[e(626)]?-1==o[e(626)][e(564)](l)?l+": "+o[e(626)]:o[e(626)]:l+": "+o[e(577)][e(554)](i[e(542)][e(515)],{month:e(528),day:e(589)})+", "+o[e(577)][e(541)](i[e(542)][e(515)],{hour:e(589),minute:e(589)}),await n[e(545)]({name:u}),s[e(510)]=!0,i[e(658)][e(567)](e(504))[e(500)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=118]})(t,e)}function oa(){var t=["557696DTGUDo","16569477RABmQu","604GUPTwC","386748pkPztb","49OmNyaa","9759FCzvbU","2940215qDxztV","1790770JnQLiV","2974736lnApFu"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(503482===parseInt(e(124))/1+-parseInt(e(122))/2+parseInt(e(120))/3*(-parseInt(e(126))/4)+-parseInt(e(121))/5+parseInt(e(118))/6*(parseInt(e(119))/7)+-parseInt(e(123))/8+parseInt(e(125))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();