@ckeditor/ckeditor5-revision-history 47.2.0-alpha.3 → 47.2.0-alpha.4

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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>xe,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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 N(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=N(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,N(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(N(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=N(t[s],s,i,n,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 n.set(t,e),x(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),x(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),x(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,x(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),x(e,t,i,n,A),e}return t}function x(t,i,n=t,s,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]=N(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return N(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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 x(e,t),e}case u:{const e={};return x(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 n=t[e];Object.hasOwn(t,e)&&V(n,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 U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=373]})(t,e)}function Y(){const t=["toJSON","map","diffData","1092bNIYsg","name","_update","11585101KQPnjk","5109rPhUcy","createdAt","creatorId","removeAttribute","toVersion","2vWHyjx","4890972fzgxIC","4uoskun","fromVersion","9060Uiixfk","12832104urrviH","380dsqhoz","attributes","7LfSqxm","12EgsDaS","setName","439643rSvXpe","creator","fire","2430EsUdlm","setAttribute","52902dPOeTt","set","authors","authorsIds","model"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(986681===parseInt(e(383))/1*(parseInt(e(405))/2)+parseInt(e(373))/3*(-parseInt(e(374))/4)+parseInt(e(386))/5*(-parseInt(e(376))/6)+parseInt(e(380))/7*(parseInt(e(377))/8)+-parseInt(e(388))/9*(-parseInt(e(378))/10)+-parseInt(e(399))/11*(-parseInt(e(381))/12)+-parseInt(e(400))/13*(-parseInt(e(396))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class G extends((0,t.ObservableMixin)()){id;[q(384)];[q(390)];[q(395)];[q(404)];[q(375)];[q(392)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(384)]=e[i(384)]||null,this[i(390)]=e[i(390)]||[],this[i(395)]=e[i(395)]||null,this[i(404)]=e[i(404)]||0,this[i(375)]=e[i(375)]||0,this[i(389)](i(397),e[i(397)]||""),this[i(389)](i(401),e[i(401)]||new Date),this[i(389)](i(379),e[i(379)]||{})}[q(382)](t){this[q(398)]({name:t})}[q(387)](t,e){const i=q,n=R(this[i(379)]);W(n,t,e),this[i(398)]({attributes:n})}[q(403)](t){const e=q,i=R(this[e(379)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(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]&&Z(e))return $(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(398)]({attributes:i})}[q(398)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(397),i(401),i(395),i(390),i(379),i(404),i(375),i(402)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(390)]&&(s[i(391)]=s[i(390)][i(394)](t=>t.id),delete s[i(390)]),this[i(385)](i(398),s,e))}[q(393)](){const t=q;return{id:this.id,name:this[t(397)],creatorId:this[t(384)]?this[t(384)].id:null,authorsIds:this[t(390)][t(394)](t=>t.id),diffData:this[t(395)],createdAt:this[t(401)],attributes:this[t(379)],fromVersion:this[t(375)],toVersion:this[t(404)]}}}var J=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["length","creatorId","diffData","178101WaeRaa","toVersion","newRevisionId","fromCharCode","get","join","getEarlierVisibleRevision","1874144QMHDBu","80QitGyp","1743NqBHKg","afterInit","13050488XPDOFU","toJSON","earlier","isNaN","name","authorsIds","getRevision","from","_revisions","Users","getIndex","addRevision","1538ZFGGgB","getLaterVisibleRevision","getRevisions","oldRevisionId","plugins","requires","reverse","1820vjOSKT","pluginName","later","createRevision","RevisionsRepository","isPremiumPlugin","attributes","getUser","getRevisionsInDiff","23754ueuzHr","getRevisionsIterator","push","284036NvdMes","data","createdAt","editor","add","isOfficialPlugin","fromVersion","24OKEexu","1272LJilCN","10068OrvgSA","href","map"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(504773===parseInt(e(128))/1+parseInt(e(166))/2*(-parseInt(e(136))/3)+-parseInt(e(137))/4*(parseInt(e(173))/5)+-parseInt(e(125))/6*(parseInt(e(152))/7)+parseInt(e(150))/8+parseInt(e(143))/9*(-parseInt(e(151))/10)+-parseInt(e(154))/11*(-parseInt(e(135))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[Q(162)];static get[Q(171)](){return[K.Users]}static get[Q(174)](){return Q(120)}static get[Q(133)](){return!0}static get[Q(121)](){return!0}get[Q(140)](){const t=Q;return this[t(162)][t(140)]}constructor(e){const i=Q;super(e),this[i(162)]=new t.Collection}[Q(153)](){!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]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),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(157)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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 n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)}):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(139)](t=>String[e(146)](t))[e(148)]("")}!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()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),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,s,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])])?s/1e3:1761955200;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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(138)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[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=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||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(176)](t){const e=Q,i=this[e(131)][e(170)][e(147)](e(163));return new G({id:t.id,name:t[e(158)],creator:t[e(141)]?i[e(123)](t[e(141)]):null,diffData:t[e(142)]||t[e(129)],authors:t[e(159)][e(139)](t=>i[e(123)](t)),createdAt:new Date(t[e(130)]),attributes:t[e(122)],fromVersion:t[e(134)],toVersion:t[e(144)]})}[Q(165)](t,e=0){const i=Q;this[i(162)][i(132)](t,e)}[Q(160)](t){const e=Q;return this[e(162)][e(147)](t)}[Q(168)](t={toJSON:!1}){const e=Q,i=Array[e(161)](this[e(162)]);return i[e(172)](),t[e(155)]?i[e(139)](t=>t[e(155)]()):i}[Q(164)](t){const e=Q;return this[e(162)][e(164)](t)}[Q(149)](t){const e=Q,[,i]=this[e(126)](t,{direction:e(156)});return i}[Q(167)](t){const e=Q,[,i]=this[e(126)](t,{direction:e(175)});return i}[Q(124)](t){const e=Q,i=[];for(const n of this[e(126)](t[e(145)]))if(i[e(127)](n),n.id===t[e(169)])break;return i}*[Q(126)](t,{direction:e=Q(156),filter:i=()=>!0}={}){const n=Q,s=n(156)===e?1:-1;let r=this[n(162)][n(147)](t),o=this[n(164)](r);for(yield r;r;){if(o+=s,r=this[n(160)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["innerHTML","length","39110TwWMxv","4088051AzfUFk","processor","_getTypeCharForViewElement","document","_removeRevisionMarkers","_viewClassToTypeChar","createElement","toModel","toData","from","useFillerType","_getViewFromDiffObj","revision-end","3861SqaLbP","children","insertions","collaboration.channelId","_setCustomProperty","data","isAttached","loadRevisionData","append","isOfficialPlugin","fillerOffset","getRevisionDocumentData","RevisionHistoryUtils","name","editor","forEach","249015ZXdaTy","1220yVuomy","isPremiumPlugin","string","diffData","filter","div","1988208piQZdT","startsWith","viewChildrenToDom","type","constructor","getRevisionRootsAttributes","6rMnszk","pluginName","12TTdSjs","customProperties","map","htmlProcessor","attributes","default","config","domDocument","7SbkLvu","domChildrenToView","view","_typeCharToViewClass","marked","312888FfVSiA","_makeModelFromViewString","getFillerOffset","attachChange","get","attributesAfter","domConverter","92165lkJUrX","8BnlqnI","editing","revision-start","_appendChild","data-revision-","render","parse","childNodes","getRevision"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(190418===-parseInt(e(190))/1*(parseInt(e(224))/2)+-parseInt(e(254))/3*(-parseInt(e(213))/4)+parseInt(e(212))/5+-parseInt(e(205))/6+parseInt(e(200))/7*(-parseInt(e(184))/8)+parseInt(e(238))/9*(parseInt(e(255))/10)+-parseInt(e(225))/11*(-parseInt(e(192))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(191)](){return nt(250)}static get[nt(247)](){return!0}static get[nt(256)](){return!0}[nt(230)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(203)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(245)](t,e){const i=nt;if(t[i(258)]||!e)return;const n=this[i(252)][i(198)][i(209)](i(241)),s=await e[i(221)]({channelId:n,revisionId:t.id});t[i(258)]=s[i(258)]}[nt(249)](t){const e=nt,i={};for(const n in t[e(258)]){if(t[e(258)][n][e(208)]&&!t[e(258)][n][e(208)][e(244)])continue;const s=this[e(229)](JSON[e(219)](t[e(258)][n][e(240)])),r=this[e(252)][e(214)][e(202)][e(228)],o=new X.ViewDocumentFragment(r,s[e(194)](t=>this[e(236)](t,!1)));this[e(252)][e(243)][e(226)][e(235)](e(204)),i[n]=this[e(252)][e(243)][e(226)][e(233)](o),this[e(252)][e(243)][e(226)][e(235)](e(197))}return i}[nt(189)](t){const e=nt,i={};for(const n in t[e(258)])t[e(258)][n][e(208)]&&!t[e(258)][n][e(208)][e(244)]||(i[n]=t[e(258)][n][e(210)]||{});return i}[nt(227)](t){const e=nt;return this[e(230)][e(209)](t[e(188)])}[nt(236)](t,e){const i=nt,n=this[i(252)][i(214)][i(202)][i(228)];if(i(257)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(187)]||"r"==t[i(187)]?[]:t[i(239)][i(194)](t=>this[i(236)](t,e));const o=this[i(203)][i(209)](t[i(187)])||X.ViewElement,a=this[i(252)][i(243)][i(195)][i(211)];if(s=new o(n,t[i(251)],t[i(196)],r),"u"==t[i(187)]&&t[i(239)][0]){const r=t[i(239)][0];if(s[i(218)]=function(t){const e=i,n=t[e(231)](e(183));return n[e(222)]=r,n[e(220)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(216)](s);const e=Array[i(234)](a[i(186)](t,{bind:!1})),r=a[i(199)][i(231)](i(183));r[i(246)](...e),s=Array[i(234)](a[i(201)](r))[0]}}else if("r"==t[i(187)]&&t[i(239)][0]){const r=t[i(239)][0];if(s[i(218)]=function(t){t[i(222)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(216)](s);const e=Array[i(234)](a[i(186)](t,{bind:!1})),r=a[i(199)][i(231)](i(183));r[i(246)](...e);const o=Array[i(234)](a[i(201)](r));o[i(223)]>1?s[i(216)](o):s=o[0]}}if(t[i(193)])for(const[e,n]of t[i(193)])s[i(242)](e,n);const c=void 0===t[i(248)]?null:t[i(248)];return null!==c&&(s[i(207)]=()=>c),s}}[nt(206)](t){const e=nt,i=JSON[e(219)](t),n=this[e(252)][e(214)][e(202)][e(228)],s=new X.ViewDocumentFragment(n,i[e(194)](t=>this[e(236)](t,!0)));return this[e(252)][e(243)][e(232)](s)}[nt(229)](t){const e=nt;return(t=t[e(259)](t=>!t[e(251)]||e(215)!==t[e(251)]&&e(237)!==t[e(251)]))[e(253)](t=>{const i=e;i(257)!=typeof t&&(t[i(239)]=this[i(229)](t[i(239)]),t[i(196)]=t[i(196)][i(259)](t=>!t[0][i(185)](i(217))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("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,n,s,r,o){const a=o(t,e,i,n,s,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,n,N){if(Object.is(t,i))return!0;let x=s(t),A=s(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){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=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,N));if(-1===a)return!1;s.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,n,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,N)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,N))return!1}return!0}default:return!1}}finally{n.delete(t),n.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=kt;!function(t){const e=kt,i=t();for(;;)try{if(315607===-parseInt(e(209))/1+parseInt(e(195))/2*(-parseInt(e(308))/3)+-parseInt(e(425))/4+parseInt(e(295))/5*(parseInt(e(228))/6)+parseInt(e(338))/7+parseInt(e(397))/8+parseInt(e(280))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class mt extends J.Plugin{[ft(269)];[ft(346)];[ft(288)]=null;[ft(235)];[ft(417)]=null;[ft(318)];[ft(298)];[ft(264)];[ft(432)];[ft(293)];[ft(446)];[ft(377)];[ft(475)];[ft(205)];static get[ft(483)](){return ft(187)}static get[ft(382)](){return!0}static get[ft(332)](){return!0}static get[ft(301)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(235)]=this[i(380)][i(478)][i(460)](i(324)),this[i(293)]=this[i(380)][i(478)][i(460)](i(358)),this[i(318)]=new vt(this[i(380)]),this[i(264)]=this[i(380)][i(394)][i(460)](i(420))||i(184),this[i(432)]=new Map,this[i(205)]=null;const n=(0,t.uid)();this[i(298)]={history:this[i(380)][i(300)][i(472)][i(371)],getLatestVersion:()=>Promise[i(341)](this[i(380)][i(300)][i(472)][i(407)]),getCurrentRevisionId:()=>n},this[i(181)](i(268),!1),this[i(181)](i(464),!0),this[i(181)](i(309),!1),this[i(380)][i(394)][i(466)](i(248),!0),this[i(380)][i(314)][i(227)](i(253))[i(334)]({view:i(230)})}[ft(226)](){const t=ft;this[t(178)](),this[t(380)][t(234)].on(t(414),()=>{const e=t,i=this[e(235)][e(302)](0),n=i&&null===i[e(261)]?i:null;if(this[e(377)]=!!n&&this[e(380)][e(394)][e(460)](e(248)),this[e(380)][e(478)][e(458)](e(434))){const t=this[e(298)][e(400)](),s=this[e(235)][e(302)](t);if(s)this[e(475)]=s[e(217)],this[e(377)]=!1;else{const t=this[e(298)][e(371)][e(204)][e(491)](t=>!t[e(372)]),s=t?t[e(176)]:this[e(298)][e(371)][e(407)];i?(i[e(374)]<s&&i[e(493)]({toVersion:s}),this[e(377)]?(this[e(298)][e(400)]=()=>n.id,this[e(475)]=n[e(217)]):(this[e(475)]=i[e(374)],this[e(377)]=!1)):(this[e(475)]=s,this[e(377)]=!1)}}else n&&(this[e(380)][e(300)][e(472)][e(371)][e(407)]=Math[e(321)](n[e(374)],this[e(380)][e(300)][e(472)][e(371)][e(407)]),n[e(217)]===n[e(374)]?(0!==n[e(217)]&&(this[e(298)][e(400)]=()=>n.id),this[e(377)]=!1):this[e(377)]&&(this[e(298)][e(400)]=()=>n.id,this[e(475)]=n[e(217)])),this[e(377)]||(this[e(475)]=this[e(380)][e(300)][e(472)][e(407)]);this[e(318)][e(226)](this[e(298)][e(371)]),this[e(387)](this[e(475)]),this[e(185)](this[e(475)]),this[e(417)]&&this[e(267)]()}),this[t(378)](t(268)).to(this,t(309),t=>!t),this[t(269)]=this[t(380)][t(394)][t(460)](t(269));const e=this[t(380)];this[t(346)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(255)==r||i(386)==r||i(361)==r||i(260)==r||i(198)==r||i(424)==r||i(343)==r||i(212)==r){delete e[s],n=r,clearInterval(this[i(346)]),this[i(346)]=void 0;break}}i(386)==n&&e[i(286)](i(370)),i(361)==n&&e[i(286)](i(229)),i(260)==n&&e[i(286)](i(247)),i(198)==n&&e[i(286)](i(381),i(496)),i(424)==n&&e[i(286)](i(257)),i(343)==n&&e[i(286)](i(423)),i(212)==n&&e[i(286)](i(258))},1e3)}async[ft(211)](){const t=ft;if(this[t(235)][t(444)]>0){const e=this[t(235)][t(302)](0),i=await this[t(208)](e),n=await this[t(274)](e);this[t(422)](i,n)}}[ft(242)](){const t=ft;super[t(242)](),this[t(346)]&&clearInterval(this[t(346)])}[ft(443)](t){this[ft(298)]=t}async[ft(344)](){const t=ft,e=await this[t(298)][t(232)]();if(e>this[t(288)][t(374)]){await this[t(474)]();const i=this[t(465)]({revision:this[t(288)],to:e});i[t(454)]=i[t(490)][t(388)](e=>this[t(380)][t(478)][t(460)](t(427))[t(290)](e)),this[t(288)][t(493)](i)}}async[ft(439)](e={},i=null){const n=ft,s=[];await this[n(474)](),this[n(377)]=!1,i>this[n(288)][n(374)]&&(i=null),null===i&&(i=await this[n(298)][n(232)]());const r=this[n(481)](i),o=this[n(465)]({from:r,to:i});if(this[n(288)][n(374)]<i){const t=this[n(465)]({revision:this[n(288)],from:i,to:i});t[n(454)]=[],t[n(490)]=[],t.id=this[n(288)].id,this[n(288)][n(493)](t,!0),delete t[n(454)],s[n(452)](t)}e[n(436)]=this[n(380)][n(478)][n(460)](n(427)).me.id,e[n(216)]=e[n(216)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(459)](e);s[n(452)](e);const c=this[n(235)][n(448)](a);if(0!==c){const t=this[n(235)][n(302)](c-1);if(t[n(217)]!==i){const r=this[n(318)][n(233)](i,t[n(374)]),o={id:t.id,diffData:r[n(357)],authorsIds:r[n(490)],authors:r[n(490)][n(388)](t=>this[n(380)][n(478)][n(460)](n(427))[n(290)](t)),fromVersion:i};t===this[n(288)]&&(o[n(368)]=new Date(e[n(368)][n(252)]()+10)),t[n(493)](o,!0),delete o[n(454)],s[n(452)](o)}}if(this[n(417)]){for(const t of s)this[n(416)](t.id,t,!0);this[n(267)]()}return a}[ft(459)](t){const e=ft,i=this[e(235)][e(457)](t);return this[e(417)]&&i.on(e(493),(t,i,n)=>{const s=e;n||(this[s(416)](i.id,i,!0),this[s(267)]())}),this[e(235)][e(315)](i,this[e(451)](i)),i}async[ft(208)](t){const e=ft;return await this[e(293)][e(437)](t,this[e(417)]),this[e(293)][e(208)](t)}async[ft(274)](t){const e=ft;return await this[e(293)][e(437)](t,this[e(417)]),this[e(293)][e(274)](t)}[ft(267)](){const t=ft;if(0===this[t(432)][t(408)])return;if(this[t(309)])return;let e=Array[t(319)](this[t(432)][t(265)]());this[t(432)][t(355)]();for(let i=0;i<e[t(444)];i++){const n=e[i];let s=!1;for(const e of Object[t(360)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(450)](t=>null!==t),!e[t(444)])return;for(let i=0;i<e[t(444)];i++){const n=e[i];void 0!==n[t(217)]&&void 0===n[t(374)]&&(n[t(374)]=this[t(235)][t(302)](n.id)[t(374)]),void 0!==n[t(374)]&&void 0===n[t(217)]&&(n[t(217)]=this[t(235)][t(302)](n.id)[t(217)])}const i=this[t(380)][t(394)][t(460)](t(420));this[t(309)]=!0,this[t(305)](),this[t(417)][t(376)](e,i)[t(389)](()=>{this[t(309)]=!1})[t(402)](e=>{const i=t;if(e)for(const t of e)this[i(411)]({id:t.id,createdAt:t[i(368)]});this[i(479)](),this[i(267)]()})}[ft(465)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(217)],i=null!==i?i:t[n(374)];const s=this[n(318)][n(233)](e,i),r={diffData:s[n(357)],authorsIds:s[n(490)],fromVersion:e,toVersion:i};if(!t||i!==t[n(374)]){const t=i-1,e=this[n(298)][n(371)][n(206)](t);r[n(368)]=e&&e[n(368)]||new Date}if(this[n(205)]&&e===this[n(205)][n(217)])for(const t of this[n(205)][n(454)])r[n(490)][n(384)](t.id)||r[n(490)][n(452)](t.id);return r}[ft(416)](t,e,i){const n=ft;if(this[n(432)][n(458)](t)){const s=this[n(432)][n(460)](t);e=i?{...s,...e}:{...e,...s}}this[n(432)][n(181)](t,e)}[ft(411)](t){const e=ft,i=this[e(235)][e(302)](t.id);if(t[e(368)]&&(t[e(368)]=new Date(t[e(368)])),t[e(490)]){const i=this[e(380)][e(478)][e(460)](e(427));t[e(454)]=t[e(490)][e(388)](t=>i[e(290)](t))}i[e(493)](t,!0)}[ft(387)](t){const e=ft,i=this[e(235)][e(302)](this[e(235)][e(444)]-1);if(i)this[e(264)]=i.id;else{const i=!this[e(380)][e(300)][e(472)][e(193)][e(491)](t=>this[e(380)][e(300)][e(327)](t)),n=this[e(380)][e(478)][e(460)](e(427)).me.id,s=at(this[e(380)][e(441)],e(i?292:462));this[e(289)]({from:t,to:t,id:this[e(264)],name:s,creatorId:n})}}[ft(185)](t){const e=ft,i=this[e(298)][e(400)]();this[e(288)]=this[e(235)][e(302)](i),this[e(288)]||(this[e(288)]=this[e(289)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(474)](){const t=ft;this[t(377)]&&!this[t(205)]&&(await this[t(293)][t(437)](this[t(288)],this[t(417)]),this[t(318)][t(366)](this[t(288)]),this[t(205)]={fromVersion:this[t(288)][t(217)],authors:this[t(288)][t(454)][t(480)]()})}[ft(422)](e,i){const n=ft;let s=this[n(380)][n(394)][n(460)](n(297)),r=this[n(380)][n(394)][n(460)](n(283));if(void 0===s){s={};for(const t of this[n(380)][n(300)][n(472)][n(438)]())s[t]=""}if(n(316)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(380)][n(300)][n(472)][n(438)]())r[t]={}}let o=!1;const a=Object[n(360)](s),c=Object[n(360)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(482)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(360)](r[t])[n(444)]>0){o=!0;break}}o||(o=c[n(213)](t=>!this[n(380)][n(300)][n(472)][n(287)](t))),o&&(0,t.logWarning)(n(306),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(380)][n(394)][n(181)](n(297),e),this[n(380)][n(394)][n(181)](n(283),i)}[ft(305)](){const t=ft;if(!this[t(446)]){const e=this[t(380)][t(478)][t(460)](t(429));this[t(446)]=e[t(273)](at(this[t(380)][t(441)],t(243)))}}[ft(479)](){const t=ft;this[t(446)]&&(this[t(380)][t(478)][t(460)](t(429))[t(323)](this[t(446)]),this[t(446)]=null)}[ft(451)](t){const e=ft,i=this[e(235)][e(218)]();i[e(282)]();let n=0;for(;n<i[e(444)];){const s=i[n];if(s===this[e(288)]){n++;continue}if(s.id===this[e(264)])break;const r=t[e(374)]-s[e(374)]||t[e(217)]-s[e(217)];if(r>0)break;if(r<0)n++;else{if(!t[e(261)]&&s[e(261)])break;if(s[e(261)]||!t[e(261)]){if(t[e(368)]>s[e(368)])break;n++}else n++}}return n}[ft(481)](t){const e=ft,i=this[e(235)][e(218)]();i[e(282)](),i[e(199)]();const n=i[e(491)](i=>i[e(374)]<=t)[e(374)];return n<this[e(475)]?this[e(475)]:n}[ft(289)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(465)]({from:e,to:i});o[r(216)]=t,o[r(436)]=n,o.id=s;const a=this[r(459)](o);return this[r(417)]&&this[r(416)](o.id,o,!0),a}[ft(178)](){const t=ft;this[t(380)][t(314)][t(227)](t(349))[t(200)]({model:t(230)})}}function pt(){const t=["revisionHistoryLicenseKeyDomainLimit","creator","howMany","revision:","_initialRevisionId","values","_baseRoots","sendBufferedUpdates","isReady","licenseKey","_copyMarkers","getTransformedByOperation","range","add","getRevisionRootsAttributes","insertionPosition","vid_start","markers","createPositionBefore","attributesAfter","4913604NqkERl","_diffRoots","reverse","rootsAttributes","attributesBefore","NEGATIVE_INFINITY","_showLicenseError","getRoot","currentRevision","_makeRevision","getUser","_generateTape","Empty document","_utils","position","830wHdyZD","newValue","initialData","_source","end","model","requires","getRevision","clone","_revisionId","_addPendingAction","editor-initial-data-replaced-with-revision-data","_fixRange","9SMdbpv","_isPendingUpdate","isAdd","fromEntries","_clone","marker","conversion","addRevision","string","_getBaseVids","_revisionDataBuilder","from","sourcePosition","max","_fixPosition","remove","RevisionsRepository","getCustomProperties","createRange","hasContent","_transformMarkers","deletion","createRangeIn","$graveyard","isPremiumPlugin","root","dataToMarker","reInit","insert","offset","1669059fZhVNt","_getTypeCharForViewElement","_insertChild","resolve","affectsData","revisionHistoryLicenseKeyTrialLimit","update","targetPosition","_licenseKeyCheckInterval","getChildren","type","dataDowncast","_getViewJson","deletions","_handleMoveOperation","tableCell","fillerOffset","clear","vid","diffData","RevisionHistoryUtils","_calculateMetaData","keys","revisionHistoryLicenseKeyExpired","$comment","isEqual","userId","item","loadState","documentFragment","createdAt","_processRootBeforeSave","invalid","history","_isInit","_saveMetaData","toVersion","_startingRevisionId","updateRevisions","_continueCurrentRevision","bind","reinsert","editor","featureNotAllowed","isOfficialPlugin","_applyOperations","includes","splitPosition","revisionHistoryLicenseKeyInvalid","_createInitialRevision","map","finally","elementStart","offsetSize","_diffRootsAttributes","_markChanges","config","_getPreviousFrom","_handleOperation","1802336jUGGfC","isAttached","merge","getCurrentRevisionId","childCount","then","start","path","delete","$text","version","size","_removeMetaData","graveyardPosition","setRevisionData","element","innerHTML","ready","_createFromRanges","_bufferUpdate","adapter","_cloneOperation","_authorId","collaboration.channelId","nodes","_replaceEditorDataWithRevisionData","trialLimit","revisionHistoryLicenseKeyEvaluationLimit","351860wuRNdQ","htmlProcessor","Users","rawElement","PendingActions","_appendChild","_getVidAttributeName","_bufferedUpdates","_markers","RealTimeCollaborationClient","children","creatorId","loadRevisionData","getRootNames","saveRevision","domConverter","locale","_lastTo","setSource","length","outerHTML","_pendingAction","render","getIndex","getFillerOffset","filter","_findInsertionIndex","push","_touched","authors","_execute","customProperties","createRevision","has","addRevisionData","get","_getState","Initial revision","getWalker","isEnabled","buildRevisionData","define","sort","_makeModelFromViewString","getNodeByPath","createPositionAt","text","document","_lastFrom","_loadState","_startingVersion","insertions","oldRange","plugins","_removePendingAction","slice","_getFromVersion","trim","pluginName","_savedMetaData","attachChange","elementEnd","split","_baseIdsRoots","stickiness","authorsIds","find","_fixOperation","_update","createElement","stringify","RevisionHistory","rootName","baseVersion","_baseRootsAttributes","_setConversion","parent","insertion","set","createPositionAfter","_isAttached","initial","_createCurrentRevision","changeRootAttribute","RevisionTracker","keepParagraph","_prepareViewToSave","getOperations","getAttribute","previousPosition","roots","_handleRootAttributeOperation","355462JqwERX","_makeIdsRoot","key","revisionHistoryLicenseKeyNotAllowed","shift","markerToData","vid_end","domDocument","_idsRoots","_operations","_loadedStateData","getOperation","_handleMergeOperation","getRevisionDocumentData","572248uxuzJd","uiElement","afterInit","revisionHistoryLicenseKeyUsageLimit","some","source","_handleSplitOperation","name","fromVersion","getRevisions","detachRoot","getAncestors","paragraph","_touchedMarkers","createPositionFromPath","nodeAfter","_reset","init","for","18048FVFbwg","expired","revision","move","getLatestVersion","getData","data","repository","removeRootAttribute","newRange","_setAttribute","getChild","getAttributes","toView","destroy","PENDING_ACTION_REVISION_HISTORY","_touchedRoots","getMovedRangeStart","_handleInsertOperation","domainLimit","revisionHistory.resumeUnsavedRevision","getRange","addRootAttribute","startsWith","getTime","upcast","_handleMarkerOperation","revisionHistoryLicenseKeyValid","addRoot","evaluationLimit","usageLimit","_handleRootOperation"];return(pt=function(){return t})()}class vt{[ft(380)];[ft(214)];[ft(484)];[ft(473)];[ft(442)];[ft(433)];[ft(281)];[ft(392)];[ft(266)];[ft(177)];[ft(203)];[ft(488)];[ft(453)];[ft(222)];[ft(244)];[ft(304)];[ft(375)];constructor(t){const e=ft;this[e(380)]=t,this[e(484)]=new Map,this[e(473)]=-1,this[e(442)]=-1,this[e(433)]=new Map,this[e(281)]=new Map,this[e(392)]=new Map,this[e(266)]=new Map,this[e(177)]=new Map,this[e(203)]=new Map,this[e(488)]=new Map,this[e(453)]=new Map,this[e(222)]=new Map,this[e(244)]=new Map,this[e(304)]=1}[ft(226)](t){const e=ft;this[e(214)]=t;const i=new Map,n=new Map,s=this[e(380)][e(300)][e(472)][e(193)][e(388)](t=>t[e(175)]);for(const t of s){const s=this[e(380)][e(300)][e(472)][e(287)](t),r=gt(s);i[e(181)](t,r),n[e(181)](t,Object[e(311)](s[e(240)]()))}const r=Array[e(319)](this[e(380)][e(300)][e(277)])[e(388)](t=>[t[e(216)],t[e(249)]()]),o=this[e(214)][e(407)];this[e(373)](o,i,r,n),this[e(375)]=this[e(304)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(181)](t,i),c[e(181)](t,{})}this[e(373)](Number[e(285)],a,[],c)}[ft(233)](t,e){const i=ft;if(this[i(473)]===t&&this[i(442)]<=e)this[i(484)][i(408)]>1&&this[i(409)](this[i(442)]),this[i(383)](this[i(442)],e,!0);else{if(!this[i(484)][i(458)](t)){const e=this[i(395)](t);this[i(359)](e,t,!1)}this[i(359)](t,e,!0)}return this[i(473)]=t,this[i(442)]=e,this[i(461)]()}[ft(366)](t){const e=ft;if(!this[e(484)][e(458)](t[e(217)])){const i=this[e(395)](t[e(217)]);this[e(359)](i,t[e(217)],!1)}this[e(359)](t[e(217)],t[e(374)],!1);const i=this[e(380)][e(478)][e(460)](e(358));this[e(225)](),this[e(473)]=t[e(217)],this[e(442)]=t[e(374)];for(const n in t[e(357)]){const s=t[e(357)][n][e(485)],r=R(t[e(357)][n][e(284)])||{},o=i[e(468)](t[e(357)][n][e(351)]);o[e(175)]=n,o[e(183)]=!s||!s[e(398)],o[e(398)]=()=>o[e(183)],this[e(266)][e(181)](n,o),this[e(177)][e(181)](n,r),s&&this[e(244)][e(181)](n,s);const a=this[e(196)](o);this[e(488)][e(181)](n,a);for(const[t,i]of o[e(277)]){if(!t[e(251)](e(263)))continue;const n=t[e(487)](":")[2];for(const t of i[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),s=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)],r=a[e(469)](s)[e(191)](i);this[e(453)][e(181)](r,{userId:n})}o[e(277)][e(405)](t)}}this[e(375)]=this[e(304)];const n=[...Array(this[e(304)])[e(360)]()][e(480)](1)[e(450)](t=>!this[e(453)][e(458)](t));let s=0;const r=new Map;for(const o in t[e(357)]){const a=t[e(357)][o][e(485)],c=R(t[e(357)][o][e(279)])||{},u=i[e(468)](t[e(357)][o][e(476)]);u[e(175)]=o,u[e(183)]=!a||a[e(398)],u[e(398)]=()=>u[e(183)],this[e(281)][e(181)](o,u),this[e(392)][e(181)](o,c);const l=this[e(196)](u,Number[e(285)]);this[e(203)][e(181)](o,l),r[e(181)](o,u[e(398)]()?c:{});for(const[t,i]of u[e(277)]){if(!t[e(251)](e(263)))continue;const n=t[e(487)](":")[2];for(const t of i[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),s=this[e(304)]++,r=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)];l[e(469)](r)[e(238)](i,s),this[e(453)][e(181)](s,{userId:n})}u[e(277)][e(405)](t)}for(const t of this[e(380)][e(300)][e(330)](u)[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),r=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)],o=l[e(469)](r);o[e(191)](i)>0||o[e(238)](i,n[s++])}for(const[t,i]of u[e(277)])t[e(251)](e(263))||this[e(433)][e(181)](t,i)}const{roots:o}=this[e(484)][e(460)](t[e(217)]),{roots:a}=this[e(484)][e(460)](t[e(374)]),c=gt(o[e(460)](e(331)));this[e(266)][e(181)](e(331),c),this[e(488)][e(181)](e(331),this[e(196)](c,Number[e(285)]));const u=gt(a[e(460)](e(331)));this[e(281)][e(181)](e(331),u),this[e(203)][e(181)](e(331),this[e(196)](u));const l=Array[e(319)](this[e(281)])[e(388)](([t,e])=>[t,gt(e)]);this[e(373)](this[e(442)],l,this[e(433)],r)}[ft(335)](){const t=ft;this[t(225)](),this[t(473)]=-1,this[t(442)]=-1,this[t(484)][t(355)](),this[t(226)](this[t(214)])}[ft(373)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(181)](t,{start:e[s(403)][s(303)](),end:e[s(299)][s(303)](),rootName:e[s(333)][s(175)]});this[s(484)][s(181)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(409)](t){const e=ft;this[e(484)][e(405)](t)}[ft(225)](){const t=ft;this[t(453)][t(355)](),this[t(222)][t(355)](),this[t(244)][t(355)](),this[t(281)][t(355)](),this[t(392)][t(355)](),this[t(266)][t(355)](),this[t(177)][t(355)](),this[t(203)][t(355)](),this[t(488)][t(355)](),this[t(433)][t(355)](),this[t(304)]=1,this[t(375)]=this[t(304)]}[ft(196)](t,e=null){const i=ft;let n=null;t.is(i(367))||(n=new X.ModelElement(t[i(216)],{vid_start:null===e?this[i(304)]++:e++}));const s=[];for(const n of t[i(347)]())if(n.is(i(412))){s[i(452)](this[i(196)](n,e));const t=s[s[i(444)]-1];null!==e&&(e=t.is(i(412),i(406))?t[i(191)](i(356))+1:t[i(191)](i(201))+1)}else for(let t=0;t<n[i(391)];t++)s[i(452)](new X.ModelElement(i(406),{vid:null===e?this[i(304)]++:e++}));if(t.is(i(367))){const e=yt(t[i(175)]);return e[i(340)](0,s),e}return n[i(238)](i(201),null===e?this[i(304)]++:e++),n[i(340)](0,s),n}[ft(359)](t,e,i){const n=ft;this[n(225)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(484)][n(460)](t);this[n(266)]=new Map(s),this[n(177)]=new Map(R(o));for(const[t,e]of this[n(266)])if(n(331)!==t&&(this[n(281)][n(181)](t,gt(e)),this[n(392)]=new Map(R(o)),i)){const i=this[n(304)];this[n(203)][n(181)](t,this[n(196)](e)),this[n(488)][n(181)](t,this[n(196)](e,i))}this[n(375)]=this[n(304)],this[n(281)][n(181)](n(331),gt(this[n(266)][n(460)](n(331)))),i&&this[n(203)][n(181)](n(331),this[n(196)](this[n(266)][n(460)](n(331))));for(const[t,e]of r){const i=this[n(266)][n(460)](e[n(175)]),s=this[n(281)][n(460)](e[n(175)]),r=new X.ModelRange(this[n(322)](e[n(403)],i),this[n(322)](e[n(299)],i)),o=this[n(307)](r,s);i[n(277)][n(181)](t,r),this[n(433)][n(181)](t,o)}this[n(383)](t,e,i)}[ft(383)](t,e,i){const n=ft;for(const s of this[n(214)][n(190)](t,e))this[n(396)](s,i);for(const t of this[n(281)][n(265)]())t[n(277)][n(355)]();for(const[t,e]of this[n(433)])this[n(281)][n(460)](e[n(333)][n(175)])[n(277)][n(181)](t,e[n(303)]());const s=new Map,r=new Map;for(const[t,e]of this[n(281)])s[n(181)](t,gt(e)),r[n(181)](t,this[n(392)][n(460)](t));this[n(373)](e,s,this[n(433)],r)}[ft(395)](t){const e=ft,i=Array[e(319)](this[e(484)][e(360)]());i[e(467)]((t,e)=>t-e),i[e(282)]();for(const e of i)if(e<t)return e;return Number[e(285)]}[ft(270)](t,e){const i=ft,n=Array[i(319)](e[i(277)])[i(388)](([e,n])=>[e,this[i(307)](n,t)]);t[i(277)]=new Map(n)}[ft(328)](t){const e=ft;for(const i of this[e(433)][e(265)]()){const n=i[e(271)](t),s=X.ModelRange[e(415)](n);i[e(403)]=s[e(403)],i[e(299)]=s[e(299)]}}[ft(396)](t,e){const i=ft;if(i(256)!=t[i(348)]&&i(219)!=t[i(348)]){if(i(336)==t[i(348)]){const n=t[i(294)][i(333)][i(175)];this[i(281)][i(458)](n)||(this[i(281)][i(181)](n,yt(n,!0)),this[i(392)][i(181)](n,{}),e&&this[i(203)][i(181)](n,yt(n,!0)))}else{if(i(250)==t[i(348)]||i(236)==t[i(348)]||i(186)==t[i(348)])return void this[i(194)](t);i(313)==t[i(348)]&&this[i(254)](t)}if(i(313)!==t[i(348)]){const e=this[i(418)](t,this[i(281)]);e[i(455)](),this[i(328)](e)}if(e)switch(t[i(348)]){case i(336):this[i(246)](t);break;case i(231):case i(323):case i(379):this[i(352)](t);break;case i(399):this[i(207)](t);break;case i(487):this[i(215)](t)}}else this[i(259)](t,e)}[ft(418)](t,e){const i=ft,n=t[i(303)]();return n[i(419)]=t[i(419)],this[i(492)](n,e),n}[ft(317)](t){const e=ft;return t[e(388)](t=>{const i=e,n=this[i(431)](t);return Number(t[i(365)][i(191)](n))})}[ft(291)](t,e){const i=ft;if(t.is(i(412),i(406)))e[i(452)]({item:t,type:i(471)});else{t.is(i(412))&&e[i(452)]({item:t,type:i(390)});for(const n of t[i(347)]())this[i(291)](n,e);t.is(i(412))&&e[i(452)]({item:t,type:i(486)})}return e}[ft(461)](){const t=ft,e=new Map(this[t(453)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(266)][t(360)](),...this[t(281)][t(360)]()]);a[t(405)](t(331));for(const e of a){const i=this[t(281)][t(460)](e)||yt(e,!1),n=this[t(266)][t(460)](e)||yt(e,!1);i[t(398)]()||n[t(398)]()?(s[t(476)][e]=gt(i),s[t(351)][e]=gt(n),this[t(270)](s[t(351)][e],n),this[t(270)](s[t(476)][e],i),r[t(476)][e]=this[t(291)](this[t(203)][t(460)](e),[]),r[t(351)][e]=this[t(291)](this[t(488)][t(460)](e)||yt(e,!1),[])):a[t(405)](e)}for(const s of a){const o=r[t(476)][s];for(const s of o){const r=this[t(431)](s),o=s[t(365)][t(191)](r);i[t(405)](o),o>=this[t(375)]&&n[t(181)](o,e[t(460)](o))}}for(const s of a){const a=r[t(476)][s],c=this[t(317)](r[t(351)][s]);let u=0;for(const s of a){const r=this[t(431)](s),a=s[t(365)][t(191)](r);if(!n[t(458)](a)&&!o[t(458)](a))if(i[t(458)](a))u++;else{if(a!=c[u]){const n=e[t(460)](a)||e[t(460)](c[u]);for(;a!=c[u];)i[t(458)](c[u])||(o[t(181)](c[u],n),e[t(181)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(476)][e];for(const e of s){const s=this[t(431)](e),r=e[t(365)][t(191)](s);if(o[t(458)](r)){const e=o[t(460)](r);i[t(458)](r)||i[t(181)](r,{...e}),n[t(181)](r,{...e})}}}for(const e of i[t(360)]())e>=this[t(375)]&&i[t(405)](e);const c=new Map;for(const e of a){let s=r[t(476)][e];for(const e of s)if(e[t(365)].is(t(412),t(353))){const i=this[t(431)](e),s=e[t(365)][t(191)](i);if(n[t(458)](s)){const i=e[t(365)][t(179)][t(179)][t(191)](t(276)),r=c[t(460)](i)||new Set;r[t(273)](n[t(460)](s)[t(364)]),c[t(181)](i,r)}}s=r[t(351)][e];for(const e of s)if(e[t(365)].is(t(412),t(353))){const n=this[t(431)](e),s=e[t(365)][t(191)](n);if(i[t(458)](s)){const n=e[t(365)][t(179)][t(179)][t(191)](t(276)),r=c[t(460)](n)||new Set;r[t(273)](i[t(460)](s)[t(364)]),c[t(181)](n,r)}}for(const e of c[t(360)]())(n[t(458)](e)||i[t(458)](e))&&c[t(405)](e)}for(const e of a){const s=r[t(476)][e];let o=null,a=null;for(const e of s){const s=this[t(431)](e),r=e[t(365)][t(191)](s),u=c[t(460)](r);u&&t(390)==e[t(348)]&&(o=Array[t(319)](u)[0],a=e[t(365)][t(191)](t(201))),o&&(i[t(181)](r,{userId:o}),n[t(181)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(351)][e],a=s[t(476)][e];for(const{userId:e}of this[t(222)][t(265)]())null!==e&&l[t(273)](e);for(const{userId:e}of this[t(244)][t(265)]())null!==e&&l[t(273)](e);this[t(393)](a,r[t(476)][e],n,t(180),l),this[t(393)](o,r[t(351)][e],i,t(329),l),u[e]={insertions:this[t(189)](a),deletions:this[t(189)](o),attachChange:this[t(244)][t(460)](e)||null,attributesBefore:R(this[t(177)][t(460)](e))||{},attributesAfter:R(this[t(392)][t(460)](e))}}return{diffData:u,authorsIds:Array[t(319)](l)}}[ft(369)](t){const e=ft;for(const[,i]of t[e(277)]){const t=i[e(403)][e(220)]()[e(450)](t=>e(353)==t[e(216)]);for(const i of t)1==i[e(401)]&&i[e(239)](0).is(e(412),e(221))&&i[e(239)](0)[e(238)](e(188),!0)}}[ft(189)](t){const e=ft;this[e(369)](t);const i=this[e(380)][e(234)][e(241)](t,{}),n=Array[e(319)](i[e(347)]())[e(388)](t=>this[e(350)](t));return JSON[e(495)](n)}[ft(350)](t){const e=ft;if(t.is(e(406)))return t[e(234)];{const i=this[e(380)][e(478)][e(460)](e(358)),n=t,s=this[e(380)][e(234)][e(426)][e(440)],r={type:i[e(339)](n),name:n[e(216)],attributes:Array[e(319)](n[e(240)]()),children:Array[e(319)](n[e(347)]())[e(388)](t=>this[e(350)](t))};if(t.is(e(210))&&e(362)!=t[e(216)]){const i=t[e(447)](s[e(202)],s);r[e(435)][e(452)](i[e(445)])}else if(t.is(e(428))){const i=s[e(202)][e(494)](n[e(216)]);t[e(447)](i,s),r[e(435)][e(452)](i[e(413)])}const o=Array[e(319)](n[e(325)]());o[e(444)]>0&&(r[e(456)]=o);const a=n[e(449)]();return null!==a&&(r[e(354)]=a),r}}[ft(393)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(380)][r(300)];for(let n=0;n<e[r(444)];n++){const s=this[r(431)](e[n]),c=e[n][r(365)][r(191)](s),h=i[r(460)](c),d=n==e[r(444)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(364)]!=o[r(364)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(364)],d=l(263)+n+":"+h+":"+c++,f=u[l(326)](i,a);t[l(277)][l(181)](d,f),null!==h&&s[l(273)](h)}}[ft(431)](t){const e=ft;switch(t[e(348)]){case e(390):return e(276);case e(486):return e(201);default:return e(356)}}[ft(492)](t,e){const i=ft;t[i(176)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(460)](s[i(333)][i(175)]);t[n]=this[i(322)](s,r)}if(s instanceof X.ModelRange){const r=e[i(460)](s[i(333)][i(175)]);t[n]=this[i(307)](s,r)}i(333)===n&&(t[i(333)]=e[i(460)](t[i(333)][i(175)]))}}[ft(307)](t,e){const i=ft;return this[i(380)][i(300)][i(326)](this[i(322)](t[i(403)],e),this[i(322)](t[i(299)],e))}[ft(322)](t,e){const i=ft;return this[i(380)][i(300)][i(223)](e,t[i(404)],t[i(489)])}[ft(246)](t){const e=ft,i=this[e(203)][e(460)](t[e(294)][e(333)][e(175)]),n=this[e(322)](t[e(294)],i),s=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,r=n[e(179)],o=this[e(304)],a=[];for(const i of t[e(421)])if(i.is(e(412)))a[e(452)](this[e(196)](i));else for(let t=0;t<i[e(391)];t++)a[e(452)](new X.ModelElement(e(406),{vid:this[e(304)]++}));const c=this[e(304)];for(let t=o;t<c;t++)this[e(453)][e(181)](t,{userId:s});r[e(340)](n[e(337)],a)}[ft(352)](t){const e=ft;(t=this[e(418)](t,this[e(203)]))[e(455)]();const i=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(245)](),s=n[e(179)],r=n[e(337)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(239)](e);r.is(a(412),a(406))?n[a(181)](r[a(191)](a(356)),{userId:i}):(n[a(181)](r[a(191)](a(276)),{userId:i}),t(n,r,0,r[a(401)]),n[a(181)](r[a(191)](a(201)),{userId:i}))}}(this[e(453)],s,r,r+t[e(262)])}[ft(207)](t){const e=ft,i=null===(t=this[e(418)](t,this[e(203)]))[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(345)][e(179)],s=t[e(320)][e(179)],r=n[e(191)](e(201)),o=s[e(191)](e(276));n[e(238)](e(201),s[e(191)](e(201))),s[e(238)](e(201),r),this[e(453)][e(181)](o,{userId:i}),this[e(453)][e(181)](r,{userId:i}),t[e(455)]()}[ft(215)](t){const e=ft,i=null===(t=this[e(418)](t,this[e(203)]))[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(410)],s=t[e(385)][e(179)];t[e(455)]();const r=s[e(191)](e(201)),o=t[e(275)][e(224)];if(n){const t=o[e(191)](e(201)),n=s[e(191)](e(201));s[e(238)](e(201),t),o[e(238)](e(201),n),this[e(453)][e(181)](s[e(191)](e(201)),{userId:i}),this[e(453)][e(181)](o[e(191)](e(276)),{userId:i})}else{const t=this[e(304)]++,n=this[e(304)]++;s[e(238)](e(201),t),o[e(238)](e(276),n),o[e(238)](e(201),r),this[e(453)][e(181)](t,{userId:i}),this[e(453)][e(181)](n,{userId:i})}}[ft(254)](t){const e=ft;if(!t[e(342)])return;const i=(t=this[e(418)](t,this[e(281)]))[e(477)]?t[e(477)][e(333)]:null,n=t[e(237)]?t[e(237)][e(333)]:null;i&&this[e(433)][e(405)](t[e(216)]),n&&this[e(433)][e(181)](t[e(216)],t[e(237)][e(303)]());const s=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,r=t[e(216)];if(!this[e(222)][e(458)](r))return void this[e(222)][e(181)](r,{range:t[e(477)],userId:s});const o=this[e(222)][e(460)](r),a=o[e(272)],c=t[e(237)];null==a&&null==c||a&&c&&a[e(363)](c)?this[e(222)][e(405)](t[e(216)]):o[e(364)]=s}[ft(259)](t,e){const i=ft;this[i(281)][i(458)](t[i(175)])?this[i(281)][i(460)](t[i(175)])[i(183)]=t[i(310)]:(this[i(281)][i(181)](t[i(175)],yt(t[i(175)],!0)),this[i(392)][i(181)](t[i(175)],{}),e&&this[i(203)][i(181)](t[i(175)],yt(t[i(175)],!0)));const n=null===t[i(419)]?null:t[i(419)]||this[i(380)][i(478)][i(460)](i(427)).me.id,s=this[i(244)][i(460)](t[i(175)]);s&&s[i(364)]===n?this[i(244)][i(405)](t[i(175)]):this[i(244)][i(181)](t[i(175)],{userId:n,isAttached:t[i(310)]})}[ft(194)](t){const e=ft,i=this[e(392)][e(460)](t[e(333)][e(175)]);null===t[e(296)]?delete i[t[e(197)]]:i[t[e(197)]]=t[e(296)]}}function gt(t){const e=ft,i=yt(t[e(175)],t[e(398)]());for(const n of t[e(347)]()){const t=n[e(312)](!0);i[e(430)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(175)]=t,n[i(183)]=e,n[i(398)]=()=>n[i(183)],n}function kt(t,e){const i=pt();return(kt=function(t,e){return i[t-=175]})(t,e)}function bt(t,e,i){const n=ft,s=n(486)==t[n(348)]?i[n(470)](t[n(365)],n(299)):i[n(278)](t[n(365)]);return i[n(223)](e,s[n(404)],s[n(489)])}function wt(t,e,i){const n=ft,s=n(390)==t[n(348)]?i[n(470)](t[n(365)],0):i[n(182)](t[n(365)]);return i[n(223)](e,s[n(404)],s[n(489)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),Nt=i.n(Tt),xt=i(265),At=i.n(xt),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=Nt(),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=Nt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["listenTo","Name of the revision","add","form","17282GDRTIh","_createRevisionNameInput","revisionNameInputView","extendTemplate","915316LdfFdB","input","384348AEtxth","arrowleft","77ZLlVhw","reset","revisionName","2931040TeIfhC","keystrokes","value","85zUUXQr","label","stopPropagation","render","5105265teYeLb","set","10gXYphz","errorText","focus","ck-revision-history-save-revision-form","30665004XWcFTM","ck-responsive-form","11HbCMYm","arrowdown","220","8098731YSGVZO","fieldView","locale","arrowup","optional","focusTracker","arrowright","setTemplate","6otrsQQ","trim","revisionNameInputValue","initializeCssTransitionDisablerMixin","element"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(713340===-parseInt(e(448))/1*(-parseInt(e(434))/2)+-parseInt(e(425))/3*(parseInt(e(438))/4)+parseInt(e(452))/5+-parseInt(e(440))/6*(-parseInt(e(442))/7)+parseInt(e(445))/8+-parseInt(e(417))/9*(-parseInt(e(408))/10)+parseInt(e(414))/11*(-parseInt(e(412))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(422)];[Lt(446)];[Lt(436)];constructor(e,i){const n=Lt;super(e),this[n(422)]=new t.FocusTracker,this[n(446)]=new t.KeystrokeHandler,this[n(453)](n(427),""),this[n(436)]=this[n(435)](i),this[n(424)]({tag:n(433),attributes:{class:["ck",n(411),n(413)],tabindex:"-1"},children:[this[n(436)]]}),this[n(428)]()}[Lt(451)](){const t=Lt;super[t(451)](),(0,It.submitHandler)({view:this}),this[t(422)][t(432)](this[t(436)][t(429)]),this[t(446)][t(430)](this[t(429)]);const e=e=>e[t(450)]();this[t(446)][t(453)](t(423),e),this[t(446)][t(453)](t(441),e),this[t(446)][t(453)](t(420),e),this[t(446)][t(453)](t(415),e)}[Lt(410)](){const t=Lt;this[t(436)][t(410)]()}get[Lt(444)](){const t=Lt;return this[t(436)][t(418)][t(429)][t(447)][t(426)]()}set[Lt(444)](t){const e=Lt;this[e(436)][e(418)][e(429)][e(447)]=t[e(426)]()}[Lt(443)](){const t=Lt;this[t(436)][t(418)][t(429)][t(447)]="",this[t(436)][t(409)]=null}[Lt(435)](t){const e=Lt,i=new It.LabeledFieldView(this[e(419)],It.createLabeledInputText),n=i[e(418)];n[e(437)]({attributes:{maxlength:e(416)}});let s=at(this[e(419)],e(431));return!t&&(s+=" ("+at(this[e(419)],e(421))+")"),i[e(449)]=s,n.on(e(439),()=>{const t=e;this[t(427)]=n[t(429)][t(447)][t(426)]()}),i}}const Wt=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=308]})(t,e)}function Ht(){const t=["children","15FlrNnk","Open revision history","config","revisionHistory.requireRevisionName","Accept","panelView","menuitem","show","2815328nNFtdl","revisionSave","componentFactory","showRevisionViewerCallback","isPremiumPlugin","revisionNameInputView","errorText","Dialog","revisionName","saveRevision","locale","init","RevisionTracker","hide","pluginName","get","bind","view","add","18Totfpu","editor","role","isReady","575190wwScBK","_showDialog","plugins","_saveRevisionFormView","revisionHistory","isReadOnly","RevisionHistoryUI","ck-button-action","739587YWzkeg","_registerMenuComponent","Save current revision","isEnabled","_createSaveRevisionFormView","The revision name cannot be empty.","submit","editing","isOpen","focus","render","193894EMuINK","23556300FWqGcN","set","items","isOfficialPlugin","menuBar:revisionHistory","menu","21OmYATR","Cancel","execute","addMany","Revision history","1390912BWPRWj","requires","4673365liffCg","reset","buttonView","delegate"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(522406===-parseInt(e(353))/1+-parseInt(e(364))/2*(-parseInt(e(314))/3)+-parseInt(e(322))/4+-parseInt(e(309))/5+-parseInt(e(345))/6*(parseInt(e(371))/7)+-parseInt(e(376))/8*(-parseInt(e(341))/9)+parseInt(e(365))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends J.Plugin{static get[Wt(336)](){return Wt(351)}static get[Wt(368)](){return!0}static get[Wt(326)](){return!0}static get[Wt(308)](){return[mt]}[Wt(348)];[Wt(333)](){const t=Wt,e=this[t(342)],i=e[t(347)][t(337)](t(334));e.ui[t(324)][t(340)](t(349),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(319)][s(313)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(338)](s(356)).to(i,s(344),i,s(356),e,s(350),(t,e,i)=>t&&e&&!i),r[s(311)][s(366)]({icon:_t.IconHistory,label:at(n,s(375)),tooltip:!0}),u[s(366)]({label:at(n,s(355)),withText:!0,role:s(320)}),u[s(338)](s(356)).to(i,s(344),i,s(356),e,s(350),(t,e,i)=>t&&e&&!i),u.on(s(373),()=>this[s(346)]()),h[s(366)]({label:at(n,s(315)),withText:!0,role:s(320)}),h[s(338)](s(356)).to(i,s(344),e,s(350),(t,e)=>t&&!e),h.on(s(373),()=>{const t=s;e[t(316)][t(337)](t(349))[t(325)](),r[t(361)]=!1,e[t(360)][t(339)][t(362)]()}),c[s(313)][s(340)](u),l[s(313)][s(340)](h),a[s(343)]=s(370),a[s(367)][s(374)]([c,l]),o[s(340)](a),r}),e.ui[t(324)][t(340)](t(369),()=>this[t(354)]())}[Wt(354)](){const t=Wt,e=this[t(342)],i=e[t(332)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(311)][t(366)]({icon:_t.IconHistory,label:at(i,t(375))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(366)]({label:at(i,t(355))}),o[t(312)](t(373)).to(n),o.on(t(373),()=>{this[t(346)]()}),r[t(313)][t(340)](o),s[t(367)][t(340)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(366)]({label:at(i,t(315))}),c[t(312)](t(373)).to(n),c.on(t(373),()=>{const i=t;e[i(316)][i(337)](i(349))[i(325)]()}),a[t(313)][t(340)](c),s[t(367)][t(340)](a),n[t(319)][t(313)][t(340)](s),n}[Wt(346)](){const t=Wt,e=this[t(342)],i=e[t(332)],n=e[t(347)][t(337)](t(329)),s=e[t(347)][t(337)](t(334));function r(s){const r=t;e[r(316)][r(337)](r(317))&&""===s[r(330)]?s[r(327)][r(328)]=at(i,r(358)):(e[r(347)][r(337)](mt)[r(331)]({name:s[r(330)]}),n[r(335)]())}this[t(348)]||(this[t(357)](),this[t(348)].on(t(359),()=>r(this[t(348)]))),this[t(348)][t(310)](),n[t(321)]({id:t(323),title:at(i,t(355)),isModal:!0,content:this[t(348)],actionButtons:[{label:at(e[t(332)],t(372)),withText:!0,onExecute:()=>n[t(335)]()},{label:at(e[t(332)],t(318)),class:t(352),withText:!0,onCreate(i){const n=t;i[n(338)](n(356)).to(s,n(344),s,n(356),e,n(350),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(348)])}]})}[Wt(357)](){const t=Wt,e=this[t(342)],i=e[t(332)];this[t(348)]=new Ut(i,e[t(316)][t(337)](t(317))),this[t(348)][t(363)]()}}const qt=Yt;function Bt(){const t=["focus","data","3885VHPNQT","Suggested by","element","133076xQHknV","10ctvANF","bindTemplate","ck-revision-change__label","add","4870CkCapo","changeId","4045896yhpPNw","22725VsZBGJ","set","ck-revision-change","969704QfkKig","45940lEDYHu","setTemplate","div","Removed by","span","75jLUjbO","23654873FqZYGy","type","isSuggestion","name","author","_model","ck-revision-change__","ck-annotation","9832ogVzKf","Added by"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(658117===parseInt(e(280))/1+-parseInt(e(292))/2*(-parseInt(e(297))/3)+-parseInt(e(291))/4*(parseInt(e(281))/5)+parseInt(e(287))/6+-parseInt(e(310))/7*(-parseInt(e(306))/8)+parseInt(e(288))/9*(parseInt(e(285))/10)+-parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends It.View{[qt(286)];[qt(303)];constructor(t,e){const i=qt;super(t),this[i(303)]=e,this[i(286)]=e.id;const n=this[i(282)],s=at(t,e[i(309)][i(300)]?i(311):i(284)==e[i(299)]?i(307):i(295));this[i(289)](i(299),e[i(299)]),this[i(293)]({tag:i(294),attributes:{class:[i(305),i(290),n.to(i(299),t=>i(304)+t)],tabindex:-1},children:[{tag:i(296),children:[{tag:i(296),attributes:{class:[i(283)]},children:[{text:s}]},{text:" "+e[i(302)][i(301)]}]}]})}[qt(308)](){const t=qt;this[t(279)][t(308)]()}}function Jt(){var t=["3043944QiEVic","161Ccgqwx","toJSON","data","rootName","597186goZoRC","20OOooaf","60872oYaGOi","author","10LnYaCD","224998MthnsN","type","7446870MkIpdq","set","6eAFOiD","createdAt","10629069QODAqE","923370GyEVdK"];return(Jt=function(){return t})()}var Kt=Xt;function Xt(t,e){var i=Jt();return(Xt=function(t,e){return i[t-=458]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(490182===parseInt(e(462))/1*(-parseInt(e(466))/2)+-parseInt(e(469))/3+parseInt(e(470))/4+-parseInt(e(458))/5*(-parseInt(e(475))/6)+-parseInt(e(471))/7*(-parseInt(e(459))/8)+-parseInt(e(464))/9+-parseInt(e(461))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(460)];[Kt(463)];[Kt(473)];[Kt(474)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(460)]=e[i(460)],this[i(463)]=e[i(463)],this[i(473)]=e[i(473)]||{},this[i(474)]=e[i(474)],this[i(465)](i(467),e[i(467)])}[Kt(472)](){var t=Kt;return{id:this.id,authorId:this[t(460)].id,type:this[t(463)],data:this[t(473)],createdAt:this[t(467)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=192]})(t,e)}function ie(){const t=["120bDhIbX","1374965UObjMu","14AroTQM","newRevisionId","11uZJFPt","36mkRrYd","228nPDIvk","4389939XfGViX","6558460yItvsW","add","175424bNmIru","321vBJbNC","12FNYpbd","_setChanges","5597943HdIGlA","oldRevisionId","changes","4156dUVDiW"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(362169===-parseInt(e(206))/1*(parseInt(e(207))/2)+-parseInt(e(200))/3*(parseInt(e(195))/4)+parseInt(e(208))/5*(-parseInt(e(201))/6)+-parseInt(e(209))/7*(-parseInt(e(199))/8)+parseInt(e(196))/9+-parseInt(e(197))/10*(parseInt(e(193))/11)+parseInt(e(194))/12*(parseInt(e(203))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(192)];[te(204)];[te(205)];constructor(e,i){const n=te;this[n(192)]=e,this[n(204)]=i,this[n(205)]=new t.Collection}[te(202)](t){const e=te;for(const i of t)this[e(205)][e(198)](i)}}var se=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Nt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["push","add","_balloon","revisionHistory","adapter","includes","WidgetToolbarRepository","getItems","_setConversion","test","vid_end","reconvertMarker","_appendChild","numberOfChanges","deletion","viewItem","_markMarkers","rootName","filter","keys","change:activeChange","_getChangeFromId","refresh","getRevision","data","elementToAttribute","createAttributeElement","diffData","suggestion:","data-change-id","unbindElementFromMarkerName","createRevision","isAdded","vid","_sortAndFilterDiffChanges","distance","has","span","3271164UnGpvT","stop","revision:","_changeIdToChange","showPreviousChange","mouseover","text","14wVPyYY","createPositionBefore","POSITIVE_INFINITY","observeMarkers","getCustomProperty","concat","_getDiff","high","getRoot","ck-revision-history-root-","compare","attachChange","isInline","forward","abs","_cleanUp","highest","RevisionViewer","ck-suggestion-preview-marker","nextPosition","requires","activeChange","isBefore","revision","first","_data","domEvent","restoreRevisionCallback","nextSibling","upcast","consume","changes","showNextChange","level","2CKTGpo","showStack","_activeViewTarget","find","element","change:isEnabled","getRootNames","endIndex","vid_start","oldRevisionId","RevisionsRepository","getIndex","ck-revision-history-root-remove","isRemoveSuggestion","parent","offsetSize","editingDowncast","elementStart","isReady","clear","129217AcYYUy","_setDistance","createRangeIn","removeMarker:revision-suggestion","addMarker:revision","backward","_cleanMarkers","consumable","addMarker:revision-suggestion:deletion","_makeModelFromViewString","createUIElement","comment","newRevisionId","markers","attribute:vid","roots","length","domConverter","-new","isBlock","object","values","_markInsertions","_refreshStartEndIndex","forceDisabled","detachRoot","2136GMUBmE","editing","changeId","remove","pop","affectsData","enqueueChange","isAtEnd","ck-suggestion-marker-merge","next","20OcZZkO","removeMarker","deletions","insert","done","suggestion","isIncorrect","left","isEqual","splice","bindElementToMarker","isEnabled","RevisionHistoryUtils","isNavigationMode","setAttribute","getAttributes","13827230oXqgYm","side","revisionHistoryAttachChange","bottom","_revisions","listenTo","merge","low","ck-editor__editable__overlay","maxOffset","range","set","attributesAfter","findIndex","startIndex","isCollapsed","previousPosition","repository","name","checkAttribute","markerName","markerToData","6857255GMuetj","from","destroy","revision-comment:","createRange","insertion","sort","addRevisionData","isAttached","isSuggestion","isRemoved","getDomRoot","toViewPosition","softBreak","_joinTapes","isOfficialPlugin","mapper","insertions","getRevisionRootsAttributes","return","addRevision","_threeWayMerge","isPremiumPlugin","schema","flat","commands","revision-viewer","userId","removeMarker:revision","removeAttribute","execute","mousedown","element:pre","document","ck-suggestion-marker--active","getClientRects","selection","hasClass","mapViewToDom","locale","toViewRange","4221CMETck","_makeTape","change:numberOfChanges","string","right","code","attributes","for","isAtStart","markerRange","activeView","shift","editor","_setChanges","createPositionFromPath","toViewElement","currentChangeNumber","getWalker","dataToMarker","isLimit","change","writer","forEach","all","markersStart","error","downcastDispatcher","config","restoreRevision","revision-suggestion","init","ck-suggestion-marker","conversion","hasAttribute","getAttribute","_findChangeIdFromDomTarget","isObject","uiElement","_getViewForChange","_removeUnsupportedChanges","removeClass","unshift","_step","pluginName","_markSuggestions","addMarker:revision-suggestion:insertion","type","attributesBefore","split","map","authors","markersEnd","_changeView","delete","getLaterVisibleRevision","_removeMissingPairs","item","isAddSuggestion","dataDowncast","addHighlight","_initInteractions","_makeModelFromTape","updatePosition","indexOf","elementEnd","ck-revision-history-root--active","resolve","_getRevisionsRange","startsWith","model","16224isJOCE","bind","addRoot","revision-suggestion:","_markMismatchedRemovedTags","end","_processTape","ck-suggestion-marker-split","markerToHighlight","view","start","_utils","markerNameToElements","ck-revision-history-root-add","top","137463AnwEZP","slice","index","change:activeView","isAfter","wrap","getChild","catch","nodeAfter","plugins","1200716DRhRHq","enableReadOnlyMode","change:isReady","pairId","addClass","isOnRoot","target","getRevisionDocumentData","isContent","loadRevisionData","_fixObsoleteTags","ck-suggestion-preview-marker-","ck-suggestion-marker-","diff","revisionHistoryLabel","modelRange","then","_update","get"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(905869===parseInt(e(341))/1*(parseInt(e(439))/2)+-parseInt(e(331))/3*(-parseInt(e(495))/4)+-parseInt(e(205))/5+-parseInt(e(398))/6*(-parseInt(e(405))/7)+parseInt(e(316))/8*(-parseInt(e(246))/9)+-parseInt(e(511))/10+parseInt(e(459))/11*(parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends J.Plugin{[oe(200)];[oe(364)]=null;[oe(327)];[oe(441)];[oe(298)];[oe(401)];[oe(362)];static get[oe(289)](){return oe(422)}static get[oe(220)](){return!0}static get[oe(227)](){return!0}static get[oe(425)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(200)]=this[e(258)][e(340)][e(359)](e(449)),this[e(327)]=this[e(258)][e(340)][e(359)](e(507)),this[e(194)](e(426),null),this[e(194)](e(256),null),this[e(441)]=null,this[e(194)](e(354),null),this[e(194)](e(457),!1),this[e(194)](e(506),!0),this.on(e(444),(t,i,n)=>{const s=e;this[s(426)]=null,this[s(256)]=null,this[s(258)][s(486)][s(325)][s(266)](t=>{const e=s;for(const i of this[e(258)][e(486)][e(325)][e(238)][e(474)])n?t[e(286)](e(191),i):t[e(345)](e(191),i)})}),this[e(317)](e(508)).to(this,e(426),t=>null!==t),this[e(317)](e(262)).to(this,e(457),this,e(354),this,e(426),(t,i,n)=>t&&n?i[e(436)][e(450)](n):0),this[e(317)](e(373)).to(this,e(457),this,e(354),(t,i)=>t?i[e(436)][e(475)]:0),this[e(298)]=null,this[e(401)]=new Map,this[e(362)]=this[e(258)][e(340)][e(359)](It.ContextualBalloon)}[oe(276)](){const t=oe,e=this[t(258)],i=new de(e,{direction:t(464)}),n=new de(e,{direction:t(418)});e[t(230)][t(361)](t(402),i),e[t(230)][t(361)](t(437),n),e[t(230)][t(361)](t(274),new he(e)),this.on(t(248),()=>{const e=t;i[e(382)](),n[e(382)]()}),this[t(368)](),this[t(306)](),e[t(342)](t(231)),e[t(340)][t(396)](t(366))&&e[t(340)][t(359)](t(366))[t(483)](t(231))}async[oe(348)](t){const e=oe;return await this[e(327)][e(350)](t,this[e(364)]),this[e(327)][e(348)](t)}async[oe(223)](t){const e=oe;return await this[e(327)][e(350)](t,this[e(364)]),this[e(327)][e(223)](t)}async[oe(415)](t,e,i=!1){const n=oe;if(!this[n(506)])return;const s=this[n(354)],r=this[n(200)],o=n(249)==typeof t?r[n(383)](t):t,a=n(249)==typeof e?r[n(383)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(354)]&&this[n(354)][n(471)]===c&&this[n(354)][n(448)]===u)return Promise[n(312)]();this[n(457)]=!1,this[n(256)]=null,this[n(426)]=null,this[n(354)]=new ne(c,u);const l=this[n(313)](o,a,!0)[n(295)](t=>this[n(327)][n(350)](t,this[n(364)]));return l[n(360)](new Promise(t=>{setTimeout(t,20)})),Promise[n(269)](l)[n(357)](()=>{const t=n;if(!this[t(506)])return;this[t(420)]();const e=this[t(411)](c,u);for(const i of e[t(436)])this[t(401)][t(194)](i.id,i);this[t(258)][t(315)][t(491)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(258)][n(315)][n(238)][n(445)]())i[n(484)](t);for(const t of Object[n(379)](e[n(315)])){const s=i[n(318)](t);for(const r of Object[n(379)](e[n(252)][t]))i[n(509)](r,e[n(252)][t][r],s);i[n(498)](e[n(315)][t],s,0)}}),this[t(354)][t(259)](this[t(394)](e[t(436)])),this[t(457)]=!0})[n(338)](t=>{const e=n;console[e(271)](t),this[e(420)](),s&&(this[e(354)]=s),this[e(457)]=!0})}[oe(212)](t,e){const i=oe,n=this[i(200)][i(391)](t);return n.on(i(358),(t,i,s)=>e(i,s,n)),this[i(200)][i(225)](n),n}[oe(420)](){const t=oe;this[t(426)]=null,this[t(465)](),this[t(298)]&&this[t(298)][t(207)](),this[t(298)]=null,this[t(401)][t(458)](),this[t(258)][t(315)][t(491)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(258)][i(315)][i(238)][i(445)]())e[i(484)](t)})}[oe(394)](t){const e=oe,i=[],n=new Map;for(const t of this[e(258)][e(315)][e(238)][e(445)]()){const s=this[e(258)][e(486)][e(325)][e(216)](t);if(!s)continue;const r=s[e(240)]()[e(302)](0);r&&(i[e(360)](t),n[e(194)](t,r))}return i[e(211)]((t,i)=>{const s=e,r=n[s(359)](t),o=n[s(359)](i);return r.y-o.y||r.x-o.x}),(t=t[e(378)](t=>i[e(365)](t[e(377)])))[e(211)]((t,n)=>i[e(309)](t[e(377)])-i[e(309)](n[e(377)])),t}[oe(247)](t){const e=oe,i=Array[e(206)](t[e(472)])[e(378)](([t,i])=>t[e(314)](e(400))&&!i[e(198)]),n=Array[e(206)](this[e(258)][e(315)][e(461)](t)[e(263)]({singleCharacters:!0}));if(0!=i[e(475)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(294)](":");if(s[e(321)][e(503)](t[e(424)])&&i[e(257)](),(t[e(199)][e(503)](s[e(326)])||t[e(199)][e(335)](s[e(326)]))&&(e(210)==r?t[e(392)]={userId:o}:e(374)==r&&(t[e(215)]={userId:o})),0==i[e(475)])break}return n}[oe(482)](t){const e=oe,i=new Map;for(let n=0;n<t[e(475)];n++)e(404)===t[n][e(292)]?(t[n][e(302)][e(197)]=n,t[n][e(302)][e(446)]=n):(e(456)===t[n][e(292)]?t[n][e(302)][e(197)]=n:e(310)===t[n][e(292)]&&(t[n][e(302)][e(446)]=n),i[e(194)](t[n].id,n));for(const n of i[e(480)]())e(456)===t[n][e(292)]?t[n][e(302)][e(446)]=i[e(359)](t[n][e(344)]):e(310)===t[n][e(292)]&&(t[n][e(302)][e(197)]=i[e(359)](t[n][e(344)]))}[oe(322)](t){const e=oe;for(let i=0;i<t[e(475)];i++){if(e(456)===t[i][e(292)])t[i][e(302)][e(197)]=i;else if(e(310)===t[i][e(292)]){t[i][e(302)][e(446)]=i;const n=t[i][e(302)][e(197)];t[n][e(344)]=t[i].id,t[i][e(344)]=t[n].id}else t[i][e(302)][e(197)]=i,t[i][e(302)][e(446)]=i,t[i][e(344)]=null;t[i][e(270)]||(t[i][e(270)]=[],t[i][e(297)]=[])}}[oe(481)](t,e){const i=oe,n=t[i(378)](t=>!t[i(392)]);for(let t=0;t<e[i(475)];t++)e[t][i(392)]&&(n[t][i(392)]=e[t][i(392)])}[oe(411)](t,e=null){const i=oe,n=this[i(200)][i(383)](t),s=e?this[i(200)][i(383)](e):null,r=this[i(313)](n,s),o=r[r[i(475)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(475)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(379)](e[i(387)]))if(e[i(387)][t][i(416)]){const n=e[i(387)][t][i(416)];n[i(213)]?(u[i(361)](t),l[i(396)](t)&&l[i(359)](t)[i(232)]==n[i(232)]?l[i(299)](t):l[i(194)](t,n)):l[i(396)](t)?(u[i(299)](t),l[i(299)](t)):(u[i(361)](t),l[i(194)](t,n))}else u[i(361)](t)}for(const t of u){const e=l[i(396)](t)&&!l[i(359)](t)[i(213)];let n=e?r[i(475)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(387)][t]){const n=e?o[i(387)][t][i(293)]:o[i(387)][t][i(195)];c[i(252)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(315)]={};for(const e of t[i(296)])a[i(194)](e.id,e);for(const e of u){const n=t[i(387)][e]?t[i(387)][e][i(222)]:"[]",s=t[i(387)][e]?t[i(387)][e][i(497)]:"[]";t[i(315)][e]={insertions:this[i(327)][i(468)](n),deletions:this[i(327)][i(468)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(206)](n[i(315)][t][i(222)][i(472)])[i(378)](([t])=>!t[i(314)](i(400))));let h=0;for(const o of r){const r=this[i(247)](o[i(315)][t][i(222)]);o==n?(e=r,s=e[i(475)],e[i(268)](t=>{t.id=h++}),this[i(322)](e)):this[i(481)](e,r);const a=e[i(378)](t=>!t[i(392)])[i(295)](t=>t.id);let c=0;const l=this[i(247)](o[i(315)][t][i(497)]);l[i(268)](t=>{t[i(215)]?t.id=s++:t.id=a[c++]}),this[i(322)](l),this[i(460)](e,i(392)),this[i(460)](l,i(215)),o==n&&this[i(376)](e,u),e=this[i(219)](e,l),this[i(482)](e),this[i(460)](e,i(215))}e=e[i(378)](t=>!(t[i(392)]&&t[i(215)]));const d=new Map(o[i(315)][t][i(497)][i(472)]),f=new Set(u[i(379)]());for(const t of d[i(379)]())f[i(299)](t);this[i(290)](e,f),this[i(351)](e),e=this[i(301)](e),e=this[i(320)](e),e=this[i(285)](e);const{root:m,changes:p}=this[i(307)](e,a,t);c[i(315)][t]=m;const v=l[i(359)](t);if(v){const e=a[i(359)](v[i(232)]),n=new Qt({author:e,type:v[i(213)]?i(361):i(488),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(287)](n),c[i(252)][t][i(513)]=n.id}c[i(436)]=c[i(436)][i(410)](p)}return c}[oe(376)](t,e){const i=oe;for(let n=0;n<t[i(475)];n++)for(const[s,r]of e)!r[i(198)]&&r[i(326)][i(503)](t[n][i(199)])&&t[n][i(270)][i(360)](s),r[i(321)][i(503)](t[n][i(424)])&&t[n][i(297)][i(360)](s)}[oe(219)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(475)]||r<e[i(475)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(360)](o);else if(a[i(215)]&&o[i(392)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(226)](t,s,e,r);n=n[i(410)](o),s=a,r=c}else a[i(215)]?(r++,n[i(360)](a)):(s++,n[i(360)](o))}return n}[oe(290)](t,e){const i=oe,n=[];for(let o=0;o<t[i(475)];o++){for(let r=0;r<t[o][i(270)][i(475)];r++){const a=t[o][i(270)][r];if(!e[i(396)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(275)!=c||i(210)!=u&&i(374)!=u||(n[i(287)]({type:u,name:a,userId:l}),t[o][i(270)][i(504)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(297)][i(475)];r++){const a=t[o][i(297)][r];if(!e[i(396)](a))continue;const{group:c,type:u}=s(a);if(i(275)!=c||i(210)!=u&&i(374)!=u)continue;t[o][i(297)][i(504)](r,1),r--;const l=n[i(196)](t=>t[i(201)]==a);l>-1&&n[i(504)](l,1)}}function s(t){const e=i,n=t[e(294)](":");return{group:n[0],type:n[1],subType:n[e(475)]>=5?n[2]:null,id:n[e(475)]<5?n[2]:n[3],authorId:n[e(475)]<5?n[3]:n[4],markerCount:6==n[e(475)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(475)];i++){if(t[e(392)]&&e(210)==n[i][e(292)]&&t[e(392)][e(232)]==n[i][e(232)])return t[e(303)]=n[i],void delete t[e(392)];if(!t[e(392)]&&!t[e(215)]&&e(374)==n[i][e(292)])return void(t[e(452)]=n[i])}}}[oe(460)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(194)](o.id,n);for(let n=0;n<t[i(475)];n++){if(i(215)==e&&t[n][i(392)]||i(392)==e&&t[n][i(215)])continue;if(i(404)==t[n][i(292)]){t[n][i(395)]=0;continue}const s=r[i(359)](t[n][i(344)]),o=r[i(359)](t[n].id);t[n][i(395)]=s-o}}[oe(313)](t,e,i=!1){const n=oe,s=[];let r=this[n(200)][n(450)](t),o=this[n(200)][n(450)](e);for(-1==o&&(o=this[n(200)][n(515)][n(475)],i=!1);r<o;)s[n(360)](this[n(200)][n(383)](r)),r++;return i&&s[n(360)](this[n(200)][n(383)](r)),s}[oe(226)](t,e,i,n){const s=oe,r=this[s(258)][s(315)][s(228)];let o=e;for(;t[o]&&t[o][s(392)];)o++;let a=n;for(;i[a]&&i[a][s(215)];)a++;u(t,e,o),u(i,n,a);const c=i[s(332)](n,a)[s(410)](t[s(332)](e,o));return c[s(211)]((t,e)=>t[s(512)]!=e[s(512)]?t[s(512)]-e[s(512)]:t[s(438)]!=e[s(438)]?t[s(438)]-e[s(438)]:t[s(395)]!=e[s(395)]?e[s(395)]-t[s(395)]:!!t[s(392)]!=!!e[s(392)]?-1==t[s(512)]||0==t[s(512)]?t[s(392)]?-1:1:t[s(392)]?1:-1:t[s(333)]-e[s(333)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(407)],c=!0;for(let s=e;s<i;s++)if(r[n(417)](t[s][n(302)])||(c=!1),t[s][n(302)][n(197)]<e&&(o=s),t[s][n(302)][n(446)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(512)]=s<=o?-1:s<a?0:1,t[s][n(333)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(395)]?t[i][n(438)]=u:(u++,t[i][n(438)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(512)]&&(t[s][n(438)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(395)]?t[e][n(438)]=u:(u--,t[e][n(438)]=u,u--)}}[oe(351)](t){const e=oe,i=new Map,n=this[e(258)][e(315)][e(228)];for(let s=1;s<t[e(475)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(404)==c[e(292)])continue;if(c[e(292)]!=u[e(292)])continue;if(!n[e(478)](u[e(302)])||n[e(265)](u[e(302)]))continue;if(!n[e(478)](c[e(302)])||n[e(265)](c[e(302)]))continue;if((t[s][e(392)]||t[s][e(303)])&&t[s-1][e(215)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(215)]||!t[s-1][e(392)]&&!t[s-1][e(303)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(438)]==o[e(438)],h=Math[e(419)](r[e(438)])<Math[e(419)](o[e(438)])&&0==o[e(395)];(l||h)&&(i[e(194)](o.id,r.id),t[e(504)](a,1),s--,r[e(392)]=!1)}for(let n=0;n<t[e(475)];n++)i[e(396)](t[n][e(344)])&&(t[n][e(344)]=i[e(359)](t[n][e(344)]))}[oe(301)](t){const e=oe,i=new Set(t[e(295)](t=>t.id));for(let n=0;n<t[e(475)];n++)i[e(396)](t[n][e(344)])||0==t[n][e(395)]||(t[n][e(501)]=!0);return t[e(378)](t=>!t[e(501)])}[oe(320)](t){const e=oe,i=new Set;for(let n=0;n<t[e(475)];n++){if(i[e(396)](t[n].id)&&t[n][e(215)]&&(t[n][e(501)]=!0),t[n][e(501)])continue;if(0==t[n][e(395)])continue;if(e(456)!=t[n][e(292)])continue;if(null==t[n][e(344)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(344)];)e(456)==t[s][e(292)]?r++:e(310)==t[s][e(292)]&&r--,s++;if(0!=r)if(t[n][e(215)])t[n][e(501)]=!0;else for(;s!=n;)t[s][e(215)]&&0!=t[s][e(395)]&&(t[s][e(501)]=!0,i[e(361)](t[s][e(344)])),s--}return t[e(378)](t=>!t[e(501)])}[oe(285)](t){const e=oe,i=this[e(258)][e(315)][e(228)];for(let n=0;n<t[e(475)];n++){if(!(t[n][e(392)]||t[n][e(303)]||t[n][e(215)]||t[n][e(452)]))continue;if(0==t[n][e(395)])continue;const s=t[n][e(302)];i[e(478)](s)||i[e(265)](s)||(t[n][e(392)]&&delete t[n][e(392)],t[n][e(303)]&&delete t[n][e(303)],t[n][e(452)]&&delete t[n][e(452)],t[n][e(215)]&&(t[n][e(501)]=!0))}return t[e(378)](t=>!t[e(501)])}[oe(307)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(258)][n(315)],c=a[n(228)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(475)];e++)if(n(456)===t[e][n(292)]){t[e][n(199)]=a[n(260)](s,f);const i=new X.ModelElement(t[e][n(302)][n(201)],t[e][n(302)][n(510)]());u[0][n(372)](i),f[n(360)](0),u[n(287)](i),t[e][n(424)]=a[n(260)](s,f)}else n(310)===t[e][n(292)]?(u[n(257)](),t[e][n(199)]=a[n(260)](s,f),f[n(489)](),f[f[n(475)]-1]++,t[e][n(424)]=a[n(260)](s,f)):(t[e][n(199)]=a[n(260)](s,f),d?d[n(430)]+=t[e][n(302)][n(384)]:d=new X.ModelText(t[e][n(302)][n(384)],t[e][n(302)][n(510)]()),t[e+1]&&n(404)===t[e+1][n(292)]&&v(d,t[e+1][n(302)])||(u[0][n(372)](d),d=null),f[f[n(475)]-1]+=t[e][n(302)][n(454)],t[e][n(424)]=a[n(260)](s,f));for(let e=0;e<t[n(475)];e++){const i=t[e][n(199)],s=t[e][n(424)];for(const s of t[e][n(270)])o[n(194)](s,{start:i,end:null});m(n(452),e,i,s),m(n(303),e,i,s),m(n(215),e,i,s),m(n(392),e,i,s);for(const i of t[e][n(297)]){const t=o[n(359)](i);t?t[n(321)]=s:o[n(194)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(258)][n(315)][n(209)](e[n(326)],e[n(321)]);s[n(472)][n(194)](t,i)}return r[n(211)]((t,e)=>{const i=n,r=s[i(472)][i(359)](i(400)+t.id),o=s[i(472)][i(359)](i(400)+e.id);return r[i(326)][i(427)](o[i(326)])?-1:r[i(326)][i(335)](o[i(326)])?1:r[i(321)][i(427)](o[i(321)])?-1:r[i(321)][i(335)](o[i(321)])?1:i(361)===t[i(292)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(232)]:null,d=i===t[o(475)]-1,f=h[e][0],m=c[o(282)](t[i][o(302)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(321)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(232)]!==u&&(l[e][o(321)]=s,f&&f[o(232)]===l[e][o(232)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(456)!==t[i][o(292)]||f&&f[o(232)]===u||h[e][o(287)]({userId:u,object:t[i][o(302)],change:l[e]}),o(310)===t[i][o(292)]&&f&&f[o(479)]===t[i][o(302)]&&(h[e][o(257)](),l[e]=f[o(266)])),l[e]&&d&&(l[e][o(321)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(302)],f=a[h(228)][h(478)](d)&&!a[h(228)][h(265)](d),m=t[h(339)]==o[h(453)]&&o[h(254)];if(f&&m)return;const p=a[h(209)](t,o),v=e[h(359)](u),g=new Qt({author:v,type:h(392)==l||h(303)==l?h(361):h(488),data:{isSuggestion:h(303)==l||h(452)==l},createdAt:new Date,rootName:i});r[h(360)](g),s[h(472)][h(194)](h(400)+g.id,p)}function v(t,e){const i=n,s=t[i(510)](),r=e[i(510)]();for(const t of s){if(t[1]!==e[i(280)](t[0]))return!1;r[i(494)]()}return r[i(494)]()[i(499)]}}[oe(368)](){const t=oe;this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(428)}),this[t(258)][t(278)][t(253)](t(455))[t(324)]({model:t(428),view:e=>{const i=t,n=e[i(203)][i(294)](":")[1],s=this[i(381)](n);if(!s)return null;const r=i(361)==s[i(292)]?i(210):i(374),o=[i(277),i(353)+r];return s[i(384)][i(214)]&&o[i(360)](i(353)+r+i(477)),this[i(426)]==s&&o[i(360)](i(239)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(258)][t(278)][t(253)](t(434))[t(361)](e=>{const i=t;e.on(i(237),(t,e,n)=>{const s=i,r=e[s(375)][s(337)](0);if(!r||!r.is(s(443),s(251)))return;if(!n[s(466)][s(435)](r,{attributes:[s(447),s(370)]}))return;const o=e[s(356)][s(326)][s(339)];n[s(267)][s(509)](s(447),r[s(280)](s(447)),o),n[s(267)][s(509)](s(370),r[s(280)](s(370)),o)},{priority:i(190)})}),this[t(258)][t(278)][t(253)](t(434))[t(361)](e=>{const i=t;e.on(i(443),(t,e,n)=>{const s=i;if(!n[s(466)][s(435)](e[s(375)],{attributes:[s(447),s(370)]}))return;if(e[s(356)][s(198)])return;const r=e[s(356)][s(326)][s(339)];r[s(279)](s(447))||r[s(279)](s(393))||(n[s(267)][s(509)](s(447),e[s(375)][s(280)](s(447)),r),n[s(267)][s(509)](s(370),e[s(375)][s(280)](s(370)),r))},{priority:i(190)})}),this[t(258)][t(278)][t(253)](t(434))[t(385)]({view:{name:t(397),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(280)](t(393))}}),this[t(258)][t(315)][t(228)].on(t(202),(e,[,i])=>{const n=t;[n(447),n(370),n(393)][n(365)](i)&&(e[n(224)]=!0,e[n(399)]())},{priority:t(421)}),this[t(258)][t(278)][t(253)](t(304))[t(361)](e=>{const i=t;e.on(i(473),(t,e,n)=>{const s=i;if(" "!=e[s(302)][s(384)]||e[s(302)][s(453)][s(192)]>1)return;if(!n[s(466)][s(435)](e[s(302)],t[s(201)]))return;const r=n[s(267)],o=n[s(221)][s(245)](e[s(193)]);r[s(336)](o,r[s(386)](s(397)))})}),this[t(258)][t(278)][t(253)](t(304))[t(204)]({model:t(428)}),this[t(258)][t(486)][t(272)].on(t(463),function(e){const i=t,n=e[i(340)][i(359)](i(422));return(t,s,r)=>{const o=i,a=s[o(203)][o(294)](":")[1],c=n[o(381)](a);if(!c)return null;const u=o(361)==c[o(292)]?o(294):o(189);if(!r[o(466)][o(369)](s[o(255)],t[o(201)]))return;const l=s[o(255)][o(263)](),h=s[o(255)][o(326)],d=e[o(315)][o(228)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(302)];p=p||d[o(349)](e);const i=r[o(221)][o(261)](e);if(i&&i[o(409)](o(305)))return;o(310)==t[o(292)]&&d[o(478)](e)&&!d[o(265)](e)&&(e[o(433)]||h[o(492)]?f&&f[o(453)]==e||(f=e,g(t[o(199)]),v=!0):m=m||t[o(199)])}function g(t){const e=o,i=r[e(267)][e(469)](e(397),{class:e(353)+u}),a=r[e(221)][e(217)](t);c[e(384)][e(214)]&&r[e(267)][e(345)](e(353)+u+e(477),i),n[e(426)]==c&&r[e(267)][e(345)](e(239),i),r[e(267)][e(498)](a,i),r[e(221)][e(505)](i,s[e(203)])}p||v||!m||g(m)}}(this[t(258)]),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(233),(e,i,n)=>{const s=t,r=n[s(221)][s(328)](i[s(203)]);if(r)for(const t of r)(t[s(242)](s(323))||t[s(242)](s(493)))&&(n[s(221)][s(390)](t,i[s(203)]),n[s(267)][s(488)](t))},{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(463),(e,i,n)=>{const s=t,r=i[s(203)][s(294)](":")[1],o=this[s(381)](r);if(!o)return null;const a=s(361)==o[s(292)]?s(294):s(189);if(n[s(466)][s(369)](i[s(255)],e[s(201)]))for(const t of i[s(255)][s(367)]()){if(!t.is(s(443),s(218)))continue;const e=n[s(267)][s(469)](s(397),{class:s(353)+a}),r=n[s(221)][s(217)](this[s(258)][s(315)][s(406)](t));o[s(384)][s(214)]&&n[s(267)][s(345)](s(353)+a+s(477),e),this[s(426)]==o&&n[s(267)][s(345)](s(239),e),n[s(267)][s(498)](r,e),n[s(221)][s(505)](e,i[s(203)])}},{priority:t(412)}),this[t(258)][t(315)][t(238)].on(t(266),()=>{const e=t;this[e(258)][e(486)][e(325)][e(266)](t=>{const i=e;for(const e of this[i(258)][i(315)][i(238)][i(445)]()){const n=this[i(258)][i(315)][i(238)][i(413)](e),s=this[i(258)][i(486)][i(325)][i(238)][i(413)](e);if(s){const e=n[i(280)](i(513));if(t[i(234)](i(389),s),t[i(286)](i(329),s),t[i(286)](i(451),s),t[i(286)](i(311),s),e){const n=this[i(381)](e);if(!n)return null;t[i(509)](i(389),e,s),t[i(345)](i(414)+n[i(292)],s),this[i(426)]==n&&t[i(345)](i(311),s)}}}})}),this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(470),model:e=>t(208)+e,converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(500),model:e=>t(319)+e,converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(304))[t(204)]({model:t(275),view:e=>({name:t(388)+e,group:t(275)}),converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(455))[t(324)]({model:t(275),view:e=>{const i=t,n=e[i(203)][i(294)](":")[1];return i(210)!=n&&i(374)!=n?null:{classes:[i(423),i(352)+n]}}}),this[t(258)][t(486)][t(272)].on(t(467),le(this[t(258)],t(189)),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(291),le(this[t(258)],t(294)),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(462),(e,i,n)=>{const s=t,r=n[s(221)][s(328)](i[s(203)]);if(r)for(const t of r)t.is(s(283))&&(n[s(221)][s(390)](t,i[s(203)]),n[s(267)][s(488)](t))},{priority:t(412)})}[oe(381)](t){const e=oe;return this[e(401)][e(359)](t)}[oe(284)](t){const e=oe;return this[e(298)]&&this[e(298)][e(207)](),this[e(298)]=new Gt(this[e(258)][e(244)],t),this[e(298)]}[oe(306)](){const t=oe;this[t(258)][t(315)][t(238)][t(241)][t(408)](t(428)),this.on(t(334),(e,i,n,s)=>{const r=t;s&&this[r(362)][r(488)](s),n&&(this[r(362)][r(361)]({view:n,stackId:r(355),position:{target:()=>{const t=r,e=this[t(258)][t(486)],i=this[t(381)](n[t(487)]);let s;if(i[t(384)][t(346)]){const n=e[t(325)][t(216)](i[t(377)]);s=Array[t(206)](n[t(240)]())}else{const i=this[t(258)][t(315)][t(472)][t(359)](t(400)+n[t(487)]);s=Array[t(206)](e[t(221)][t(328)](i[t(201)]))[t(295)](i=>e[t(325)][t(476)][t(243)](i))[t(295)](e=>Array[t(206)](e[t(240)]()))[t(229)]()}return this[t(441)]&&s[t(442)](e=>e[t(330)]-3<=this[t(441)].y&&e[t(514)]+3>=this[t(441)].y&&e[t(502)]-3<=this[t(441)].x&&e[t(250)]+3>=this[t(441)].x)||s[0]}}}),this[r(362)][r(440)](r(355)))}),this.on(t(380),(e,i,n,s)=>{const r=t;this[r(256)]=n?this[r(284)](n):null,this[r(258)][r(315)][r(266)](()=>{const t=r,e=this[t(258)][t(486)];s&&(s[t(384)][t(346)]?e[t(325)][t(266)](i=>{const n=t;i[n(286)](n(311),e[n(325)][n(238)][n(413)](s[n(377)]))}):e[t(371)](t(400)+s.id)),n&&(n[t(384)][t(346)]?e[t(325)][t(266)](i=>{const s=t;i[s(345)](s(311),e[s(325)][s(238)][s(413)](n[s(377)]))}):e[t(371)](t(400)+n.id))})}),this[t(516)](this[t(258)][t(486)][t(325)][t(238)],t(403),(e,i)=>{const n=t;if(this[n(426)])return;const s=this[n(281)](i[n(347)]),r=this[n(401)][n(359)](s);r?(this[n(441)]={x:i[n(431)].x,y:i[n(431)].y},this[n(256)]=this[n(284)](r)):(this[n(441)]=null,this[n(256)]=null)}),this[t(516)](this[t(258)][t(486)][t(325)][t(238)],t(236),(e,i)=>{const n=t,s=this[n(281)](i[n(347)]),r=this[n(401)][n(359)](s);r?(this[n(441)]={x:i[n(431)].x,y:i[n(431)].y},r===this[n(426)]?this[n(362)][n(308)]():this[n(426)]=r):(this[n(441)]=null,this[n(426)]=null)})}[oe(281)](t){const e=oe;do{const i=t[e(280)](e(389));if(i)return i;t=t[e(453)]}while(t);return null}[oe(465)](){const t=oe;this[t(258)][t(315)][t(266)](e=>{const i=t;for(const t of this[i(258)][i(315)][i(472)])e[i(496)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(466)][r(369)](n[r(255)],i[r(201)]))return;const o=n[r(255)][r(263)](),a=n[r(255)][r(326)],c=t[r(315)][r(228)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(302)];h=h||c[r(349)](e);const i=s[r(221)][r(261)](e);if(i&&i[r(409)](r(305)))return;r(310)==t[r(292)]&&c[r(478)](e)&&!c[r(265)](e)&&(e[r(433)]||a[r(492)]?u&&u[r(453)]==e||(u=e,f(t[r(199)]),d=!0):l=l||t[r(199)])}function f(t){const i=r,o=s[i(221)][i(217)](t),a=s[i(267)][i(469)](i(397),{class:i(352)+e});s[i(267)][i(498)](o,a),s[i(221)][i(505)](a,n[i(203)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(340)][e(359)](ue);this[e(490)]=!1,this[e(516)](i,e(343),()=>this[e(382)]()),this[e(516)](i,e(444),()=>this[e(382)]())}[oe(235)](){const t=oe,e=this[t(258)],i=e[t(340)][t(359)](ue),n=i[t(457)]?i[t(354)][t(471)]:null;e[t(273)][t(359)](t(363))[t(432)](n)}[oe(382)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(258)][t(340)][t(359)](ue),r=s&&n[t(300)](s[t(471)]);this[t(506)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(288)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(340)][i(359)](ue);this[i(490)]=!1,this[i(288)]=i(418)===e?1:-1,this[i(516)](n,i(343),()=>this[i(382)]()),this[i(516)](n,i(444),()=>this[i(382)]()),this[i(516)](n,i(380),()=>this[i(382)]())}[oe(235)](){const e=oe,i=this[e(258)],n=i[e(340)][e(359)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(426)]=s?n[e(354)][e(436)][e(359)](r+this[e(288)]):n[e(354)][e(436)][e(429)],n[e(426)][e(384)][e(346)])o=i[e(486)][e(325)][e(216)](n[e(426)][e(377)]);else{const t=i[e(315)][e(472)][e(359)](e(400)+n[e(426)].id);o=(0,K.getMarkerDomElement)(i[e(486)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(382)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(258)][t(340)][t(359)](ue);this[t(506)]=!!(r&&s&&n)&&(!e||(1===this[t(288)]?i<n-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Nt(),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-=492]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(513267===parseInt(e(494))/1*(-parseInt(e(503))/2)+-parseInt(e(520))/3*(-parseInt(e(496))/4)+parseInt(e(498))/5+-parseInt(e(535))/6+parseInt(e(511))/7+-parseInt(e(531))/8*(parseInt(e(523))/9)+-parseInt(e(524))/10*(-parseInt(e(514))/11))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(529)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(532)](e(534),!1),this[e(532)](e(525),!1),this[e(532)](e(497),0),this[e(532)](e(500),0),this[e(532)](e(506),!1),this[e(532)](e(495),!1),this[e(505)](e(528)).to(this,e(525),this,e(500),(t,e)=>t&&e>0),this[e(505)](e(512)).to(this,e(525),this,e(497),this,e(500),this,e(534),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(501));if(!s)return at(t,o(519));const a=at(t,o(515),s);return r?at(t,o(507),[n+1,s]):a}),n[e(532)]({label:at(t,e(493)),tooltip:!0,icon:_t.IconChevronUp}),s[e(532)]({label:at(t,e(522)),tooltip:!0,icon:_t.IconChevronDown}),n[e(505)](e(518)).to(this,e(495)),s[e(505)](e(518)).to(this,e(506)),n.on(e(516),()=>this[e(527)](e(516),e(499))),s.on(e(516),()=>this[e(527)](e(516),e(492))),this[e(513)]({tag:e(517),attributes:{class:["ck",e(508),e(533)]},children:[{tag:e(504),attributes:{class:[e(530)]},children:[{tag:e(504),attributes:{class:[e(526),i.if(e(528),e(521),t=>!t)]},children:[{text:i.to(e(534),i=>i?at(t,e(509))+": ":at(t,e(502))+": ")}]},{text:i.to(e(512))}]},new It.ToolbarSeparatorView,{tag:e(517),attributes:{class:[e(510)]},children:[n,s]}]})}}function ge(){const t=["38nfhnKL","span","bind","isForwardNavigationEnabled","X_OF_Y_CHANGES","ck-revision-history-ui","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__navigation","3061975MyyMvN","_statusText","setTemplate","7962889PAoUsq","NUMBER_OF_CHANGES","execute","div","isEnabled","No changes","15ntnAMN","ck-hidden","Show next change","45xCkfiq","10NbWKSJ","isReady","ck-revision-history-ui__changes-navigation__label","fire","_isStatusLabelVisible","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","795368fvKmwG","set","ck-revision-history-ui__changes-navigation","isNavigationMode","5488308RODgar","forward","Show previous change","17141Iudlrn","isBackwardNavigationEnabled","471760fCyjwS","currentChangeNumber","2498725eOetjS","backward","numberOfChanges","Loading...","Total"];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=Nt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["5PwKezG","1966422ZvjyXH","editing","hide","10954vGIYCy","377204NVPSVo","1661874gzuWSI","view","RevisionViewerLoadingOverlay","removeClass","ck-editor__editable__loading-overlay","139jsLjuJ","document","19592atNMOJ","511uAmsVw","9RJydfN","show","3698530zYYfXD","addClass","pluginName","8882192pteUOB","roots","isPremiumPlugin","change","editor","isOfficialPlugin"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=200]})(t,e)}const _e=we;!function(t){const e=we,i=t();for(;;)try{if(429101===-parseInt(e(218))/1*(-parseInt(e(211))/2)+parseInt(e(208))/3+-parseInt(e(212))/4+-parseInt(e(207))/5*(parseInt(e(213))/6)+parseInt(e(221))/7*(-parseInt(e(220))/8)+-parseInt(e(222))/9*(-parseInt(e(224))/10)+-parseInt(e(201))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=_e(217);class Se extends J.Plugin{static get[_e(200)](){return _e(215)}static get[_e(206)](){return!0}static get[_e(203)](){return!0}[_e(223)](){const t=_e,e=this[t(205)][t(209)][t(214)];e[t(204)](i=>{const n=t;for(const t of e[n(219)][n(202)])i[n(225)](Ie,t)})}[_e(210)](){const t=_e,e=this[t(205)][t(209)][t(214)];e[t(204)](i=>{const n=t;for(const t of e[n(219)][n(202)])i[n(216)](Ie,t)})}}function Oe(){const t=["forward","set","get","numberOfChanges","showNextChange","requires","2721297VuOsEM","showPreviousChange","add","restoreRevision","plugins","isBackwardNavigationEnabled","isReady","hide","revisionHistory","isNavigationMode","componentFactory","ck-revision-history-ui__back-to-editing","bind","execute","728250lgtmFF","change:isReady","20tYJcZB","Restore this revision","init","currentChangeNumber","isOfficialPlugin","show","commands","closeRevisionViewerCallback","21HIIpsp","isPremiumPlugin","3606255TDgHEF","6364584sYgJxO","isEnabled","exitToEditing","Back to editing","1239018arSUry","pluginName","config","changesNavigation","listenTo","1401570NwMyYA","5WOoMnJ","425730sKiRBf","editor","RevisionViewerUI","isForwardNavigationEnabled"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=133]})(t,e)}const Ne=Te;!function(t){const e=Te,i=t();for(;;)try{if(583520===parseInt(e(157))/1*(parseInt(e(158))/2)+-parseInt(e(168))/3+parseInt(e(136))/4*(-parseInt(e(134))/5)+-parseInt(e(151))/6*(-parseInt(e(144))/7)+parseInt(e(147))/8+-parseInt(e(146))/9+parseInt(e(156))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends J.Plugin{static get[Ne(152)](){return Ne(160)}static get[Ne(140)](){return!0}static get[Ne(145)](){return!0}static get[Ne(167)](){return[ue,Se]}[Ne(138)](){const t=Ne,e=this[t(159)],i=e[t(172)][t(164)](ue),n=e[t(172)][t(164)](Se);e.ui[t(178)][t(170)](t(149),i=>{const n=t,s=new It.ButtonView(i);return s[n(163)]({label:at(i,n(150)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(179)}),this[n(155)](s,n(133),()=>{const t=n;e[t(153)][t(164)](t(176))[t(143)]()}),s}),e.ui[t(178)][t(170)](t(171),i=>{const n=t,s=new It.ButtonView(i);return s[n(163)]({label:at(i,n(137)),withText:!0,tooltip:!0}),s[n(180)](n(148)).to(e[n(142)][n(164)](n(171))),this[n(155)](s,n(133),()=>e[n(133)](n(171))),s}),e.ui[t(178)][t(170)](t(154),n=>{const s=t,r=new ve(n),o=e[s(142)][s(164)](s(169)),a=e[s(142)][s(164)](s(166));return r[s(180)](s(173)).to(o,s(148)),r[s(180)](s(161)).to(a,s(148)),r[s(180)](s(174),s(139),s(165),s(177)).to(i),this[s(155)](r,s(133),(t,i)=>{const n=s;e[n(133)](n(162)===i?n(166):n(169))}),r}),n[t(141)](),i.on(t(135),(e,i,s)=>{const r=t;s?n[r(175)]():n[r(141)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Nt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["Enter the revision name","18074580nEtFsU","extendTemplate","placeholder","input","1967124FcWzYi","value","264488twCvgY","90PNwLKI","ck-tooltip_multi-line","_resizeObserver","16hYVnOG","_updateTooltipText","8WRZhHc","1666824AerkIu","fieldView","5111826ekELHI","1800995mDWXNR","element","render","198XjDkMo","set","span","clientWidth","Revision name","_tooltipString","ck-revision-history-sidebar__revision-name","destroy","bindTemplate","878133nWMXdE","7jiKuDA","scrollWidth","listenTo"];return(Me=function(){return t})()}const Ve=Ee;function Ee(t,e){const i=Me();return(Ee=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(928937===-parseInt(e(474))/1+-parseInt(e(473))/2*(parseInt(e(456))/3)+parseInt(e(471))/4*(parseInt(e(477))/5)+-parseInt(e(476))/6*(-parseInt(e(457))/7)+parseInt(e(467))/8*(parseInt(e(468))/9)+-parseInt(e(461))/10+-parseInt(e(447))/11*(-parseInt(e(465))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends It.LabeledFieldView{[Ve(470)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(455)];this[i(448)]({label:at(t,i(451)),_tooltipString:""}),this[i(475)][i(463)]=at(t,i(460)),this[i(462)]({tag:i(449),attributes:{class:[i(453)],"data-cke-tooltip-text":n.to(i(452)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(469)}})}[Ve(446)](){const e=Ve;super[e(446)](),this[e(470)]=new t.ResizeObserver(this[e(475)][e(445)],()=>this[e(472)]()),this[e(459)](this[e(475)],e(464),()=>this[e(472)]())}[Ve(454)](){const t=Ve;super[t(454)](),this[t(470)]&&this[t(470)][t(454)]()}[Ve(472)](){const t=Ve,e=this[t(475)][t(445)];this[t(452)]=e[t(458)]>e[t(450)]&&e[t(466)]||""}}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Nt(),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-=161]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","push","ck-revision-history-sidebar__revision-author_creator","4026728JEhlIw","5584758TnSels","324QQswgq","2QhKRto","12562550LTmSxj","982533eRZSGe","name","set","7UUMvdw","182190HahKuz","Revision creator","setTemplate","span","80ICsvqb","0 0 11 10","21156PKyXFy","1527366hXVWtg","Revision author"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(559181===parseInt(e(174))/1*(-parseInt(e(172))/2)+parseInt(e(163))/3+-parseInt(e(162))/4*(-parseInt(e(182))/5)+parseInt(e(170))/6+-parseInt(e(177))/7*(-parseInt(e(169))/8)+-parseInt(e(171))/9*(-parseInt(e(178))/10)+-parseInt(e(173))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(176)]({content:_t.IconUser,viewBox:n(161)});const r=["ck",n(166)];i&&r[n(167)](n(168));const o=[{tag:n(181),attributes:{class:["ck",n(165)],title:at(t,n(i?179:164))},children:[s,e[n(175)]]}];this[n(180)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=290]})(t,e)}function Ue(){var t=["11wOqreO","toLocaleTimeString","399798rhFViV","68UDgvYc","2406357tIxIrc","8uZIIfK","25428TiuVPA","1783495ELZWLK","35HMLCPz","164564rIAIna","toLocaleDateString","9610820yqcJzs","140022nozwRc","numeric","long"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(463497===parseInt(e(299))/1+parseInt(e(296))/2+-parseInt(e(302))/3*(-parseInt(e(293))/4)+parseInt(e(298))/5*(parseInt(e(292))/6)+parseInt(e(297))/7+-parseInt(e(295))/8*(parseInt(e(294))/9)+parseInt(e(301))/10*(-parseInt(e(290))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(111),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=Nt(),Ze.insertStyleElement=Et();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(){const t=["ck-on","model","items","Name this revision","source","ck-revision-history-sidebar__revision__actions","936532eYMJrw","children","209336heqRih","function","_action","bind","stopPropagation","91FFluqN","find","bindTemplate","execute","Restore this revision","add","isEnabled","map","195976vcUeum","isActionsDropdownOpen","isReady","button","set","2140104TJRRKG","menuitem","action","change:isActionsDropdownOpen","isVisible","menu","490494UVvZUZ","first","5ZbgPvu","1118466MQcWCw","isOpen","buttonView","Show more items","Compare against selected","panelPosition","extendTemplate","class","locale","4183911NNAfWG","name","listenTo","listView"];return(He=function(){return t})()}function $e(t,e){const i=He();return($e=function(t,e){return i[t-=419]})(t,e)}!function(t){const e=$e,i=t();for(;;)try{if(207860===-parseInt(e(456))/1+parseInt(e(419))/2+parseInt(e(422))/3+parseInt(e(441))/4+-parseInt(e(421))/5*(-parseInt(e(461))/6)+parseInt(e(448))/7*(-parseInt(e(443))/8)+-parseInt(e(431))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Nt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Ge(){const t=["2156IDHINR","highlight","ck-disabled","ck-reset","bindTemplate","704EUOXmL","name","value","220","isReady","_createdAtFormatted","srcElement","span","setName","select","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","change","ck-revision-history-sidebar__actions_dropdown_open","27rGXyvC","extendTemplate","isHighlighted","from","unhighlight","1bBeoNO","9730rMmQAs","bind","createdAt","fieldView","ck-revision-history-sidebar__revision-wrapper","render","closest","4309992YaMeyT","length","isActionsDropdownOpen","div","filter","144268pNHgdW","ck-revision-history-sidebar__revision_highlighted","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","15715980xVcBVO","215MFhVJf","setTemplate","creator","element","ck-revision-history-sidebar__revision__date","unshift","isConfirm","_requireRevisionName","deselect","1956uJZYxx","set","revisionActionsView","ck-revision-history-sidebar__revision-authors","442276BlUAJj","ck-revision-history-sidebar__revision","fire","ck-revision-history-sidebar__revision_selected","isEnabled",".ck-confirm-view","_revision","map","listenTo","994616wmQlNg","authors","revisionNameView","uiLanguage"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=378]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(880925===parseInt(e(389))/1*(parseInt(e(420))/2)+parseInt(e(397))/3+parseInt(e(402))/4*(-parseInt(e(407))/5)+parseInt(e(416))/6*(-parseInt(e(433))/7)+-parseInt(e(429))/8*(parseInt(e(384))/9)+-parseInt(e(390))/10*(parseInt(e(438))/11)+parseInt(e(406))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(431)];[Ye(418)];[Ye(426)];[Ye(414)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(437)],a=function(t,e){const i=r,n=Array[i(387)](e[i(430)])[i(401)](t=>t!=e[i(409)]);return e[i(409)]&&n[i(412)](e[i(409)]),n[i(427)](n=>new Pe(t,n,n==e[i(409)]))}(e,i);this.id=i.id,this[r(426)]=i,this[r(414)]=s,this[r(391)](r(439),r(392)).to(i),this[r(391)](r(443)).to(this,r(392),t=>{return i=e[r(432)],(n=t)[(s=ze)(300)](i,{month:s(304),day:s(303)})+", "+n[s(291)](i,{hour:s(303),minute:s(303)});var i,n,s}),this[r(417)](r(404),!1),this[r(417)](r(386),!1),this[r(417)](r(399),!1),this[r(417)](r(442),!1),this[r(417)](r(424),!1),this[r(431)]=new De(e,It.createLabeledInputText),this[r(431)][r(393)][r(385)]({attributes:{maxlength:r(441)}}),this[r(431)][r(393)][r(391)](r(440)).to(this,r(439),t=>t||this[r(443)]),this[r(431)][r(391)](r(424)).to(this,r(404),this,r(424),(t,e)=>t&&e),this[r(418)]=n&&n[r(398)]?function(e,i){const n=$e,s=e[n(450)],r=e[n(430)],o=(0,It.createDropdown)(r);o[n(427)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=$e,n=t[i(430)],s={"Compare against selected":at(n,i(426)),"Name this revision":at(n,i(438)),"Restore this revision":at(n,i(452))};return e[i(455)](t=>{const e=i,n=s[t[e(432)]];return n&&n!==t[e(432)]&&(t[e(432)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(459),model:new It.UIModel({label:t[s(432)],class:t[s(429)],withText:!0,role:s(462),_action:t[s(463)]})};i[s(436)][s(446)](s(454)).to(e,s(457),i=>s(444)!=typeof t[s(454)]||!i||t[s(454)](e)),o[s(453)](i)}return o}(e,i);return e[n(446)](n(457)).to(o,n(423)),o[n(424)][n(460)]({label:at(r,n(425)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(428)]({attributes:{class:[n(440),s.if(n(457),n(435))]},on:{click:s.to(t=>t[n(447)]())}}),o.on(n(451),t=>{const i=n;e[i(458)]&&i(444)==typeof t[i(439)][i(445)]&&t[i(439)][i(445)](e)}),(0,It.addListToDropdown)(o,a,{role:n(466)}),o[n(433)](e,n(464),(t,s,r)=>{const a=n;if(r)for(const t of o[a(434)][a(437)]){const n=t[a(442)][a(420)],s=i[a(449)](t=>t[a(463)]===n[a(445)])[a(465)];t[a(465)]=void 0===s||s(e)}}),o}(this,n):"",this[r(418)]&&this[r(418)][r(391)](r(424)).to(this),this[r(408)]({tag:r(400),attributes:{class:["ck",r(436),r(394),o.if(r(413),r(381))]},children:[{tag:r(400),attributes:{class:["ck",r(436),r(421),o.if(r(424),r(435),t=>!t),o.if(r(404),r(423)),o.if(r(386),r(403)),o.if(r(399),r(383))]},children:[this[r(431)],{tag:r(378),attributes:{class:["ck",r(411)]},children:[{text:o.to(r(443))}]},{tag:r(400),attributes:{class:["ck",r(405)]},children:[{tag:"ul",attributes:{class:["ck",r(419)]},children:a}]},this[r(418)]],on:{click:o.to(t=>{const e=r;t[e(444)][e(396)](e(425))||this[e(442)]&&this[e(424)]&&this[e(422)](e(380),{id:this.id})})}}]})}[Ye(395)](){const t=Ye;super[t(395)]();const e=this[t(431)][t(393)][t(410)];this[t(428)](e,t(382),()=>{const i=t;this[i(414)]&&!e[i(440)]||this[i(422)](i(379),{id:this.id,name:e[i(440)]}),e[i(440)]||(e[i(440)]=this[i(439)]?this[i(439)]:this[i(443)])})}[Ye(380)](){this[Ye(404)]=!0}[Ye(415)](){this[Ye(404)]=!1}[Ye(434)](){this[Ye(386)]=!0}[Ye(388)](){this[Ye(386)]=!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 ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si 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},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},xi={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 ts(t,e,i)}formatOffset(t,e){return ss(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 ts(t,e,i,this.name)}formatOffset(t,e){return ss(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[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,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 n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Ui=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Gi{constructor(t,e,i){let n;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?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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"===$i(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,zn(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,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{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,ys,()=>{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 n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.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 tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en 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 nn(t,e){if(En(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?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function Nn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={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:Ni,ffff:Ai,F:Ii,FF:Oi,FFF:xi,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const Ns=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${xs.source}${`(?:${Ns.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${xs.source} ?(?:${Ns.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${xs.source}$`),zs=/^-?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 Us(t){const[e,i,n,s,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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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$/,Bs=/^(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$/,Ys=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);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 n={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(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},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 si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(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 Os(t,[Ps,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 si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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 ni(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?ws.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 En(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+=qn(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)(Pn(e.values,t)||Pn(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]=is(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,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,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,n]of Object.entries(t))0!==n&&(e[i]=n);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={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=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,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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 n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}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?ws.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=gn.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 nn(t,gn.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:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||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:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).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 n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Nr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Nr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(xr,Nr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").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])=>es(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(ws.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(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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,Qn);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(n);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(s);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})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=$n(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(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 n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(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:n,zone:s,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=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(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 qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,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 qr(Jn(t),e,i)}function Gr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Gn(n,s))+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=Jn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.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 n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(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},no=["year","month","day","hour","minute","second","millisecond"],so=["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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.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);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(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||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.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||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=xn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?Nn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,$s])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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(ws.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?xn(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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*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?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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;s?l=Nn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=An({...xn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){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"===n)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"===n){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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),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:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}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 n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!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 n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);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 n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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 n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}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 si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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):Jr(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 Ni}static get DATETIME_FULL_WITH_SECONDS(){return xi}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&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["60003588QpDrJn","2458370rHebzG","6749715moUvRL","hasSame","monthLong","year","local","fromJSDate","55893XRMahP","6ZIAohU","toRelativeCalendar","33520VTcHuW","toJSDate","358952mphVFK","270iZZqwq","minus","week","weekdayLong","setLocale","day","96338mgpzGe","17RiSiZM","92QqKkyZ","startOf","month","3949NUnTXY"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=121]})(t,e)}function go(t,e){const i=vo,n=fo[i(121)](t)[i(132)](e),s=fo[i(146)](),r=s[i(129)]({days:1})[i(137)](i(133));let o,a;return n[i(143)](s,i(133))?(o=n[i(137)](i(133))[i(126)](),a=n[i(124)]()):n[i(143)](r,i(133))?(o=r[i(126)](),a=n[i(124)]()):n[i(143)](s,i(130))?(o=n[i(137)](i(130))[i(126)](),a=n[i(131)]||""):n[i(143)](s,i(145))?(o=n[i(137)](i(138))[i(126)](),a=n[i(144)]||""):(o=n[i(137)](i(145))[i(126)](),a=String(n[i(145)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(730904===parseInt(e(135))/1*(-parseInt(e(134))/2)+-parseInt(e(122))/3*(parseInt(e(136))/4)+parseInt(e(141))/5*(parseInt(e(123))/6)+-parseInt(e(142))/7+parseInt(e(127))/8*(-parseInt(e(128))/9)+-parseInt(e(125))/10*(parseInt(e(139))/11)+parseInt(e(140))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Nt(),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-=264]})(t,e)}function _o(){const t=["3771525geqbBH","add","removeRevision","9156lzcmvi","addRevision","12861rzVPNK","select","uiLanguage","3254470keSHwK","remove","startDate","4792yHGXVW","632026GtSYtj","locale","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","14VvIseB","4lNxGUs","2762436uFUVVT","301338GKHOvL","revisionViews","setName","_revisionActions","33GAjEpE","span","ck-revision-history-sidebar__time-period","div","62lpITnj","delegate","find","ck-revision-history-sidebar__time-period__label","createCollection","setTemplate","localizedPeriodName"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(563588===parseInt(e(293))/1+-parseInt(e(274))/2*(-parseInt(e(284))/3)+-parseInt(e(264))/4*(parseInt(e(281))/5)+parseInt(e(266))/6*(parseInt(e(297))/7)+-parseInt(e(292))/8*(-parseInt(e(286))/9)+parseInt(e(289))/10+-parseInt(e(270))/11*(parseInt(e(265))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(291)];[bo(267)];[bo(269)];[bo(295)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(294)][s(288)])[s(280)];this[s(291)]=e,this[s(267)]=this[s(278)](),this[s(269)]=i,this[s(295)]=n,this[s(267)][s(275)](s(287)).to(this),this[s(267)][s(275)](s(268)).to(this),this[s(279)]({tag:s(273),attributes:{class:["ck",s(272)]},children:[{tag:s(271),attributes:{class:["ck",s(277)]},children:[{text:r}]},{tag:s(273),attributes:{class:["ck",s(296)]},children:this[s(267)]}]})}[bo(285)](t){const e=bo,i=new Ke(this[e(294)],t,this[e(269)],this[e(295)]);this[e(267)][e(282)](i)}[bo(283)](t){const e=bo,i=this[e(267)][e(276)](e=>e.id===t.id);this[e(267)][e(290)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Nt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["1621071YDeJwn","7wAXAzd","span","ck-revision-history-sidebar__header__label","306922EIQyAV","200604yirxkv","ck-reset_all","8SmrGZY","1786188TQQgMg","setTemplate","1177052llENwo","div","content","Revision history","ck-revision-history-sidebar__header","791328rwaUNm","673810wQUWnZ"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(187158===parseInt(e(141))/1+parseInt(e(127))/2*(-parseInt(e(125))/3)+-parseInt(e(130))/4+-parseInt(e(136))/5+-parseInt(e(128))/6*(-parseInt(e(138))/7)+parseInt(e(135))/8+parseInt(e(137))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends It.View{constructor(t){const e=No;super(t);const i=new It.IconView;i[e(132)]=_t.IconHistory,this[e(129)]({tag:e(131),attributes:{class:["ck",e(126),e(134)]},children:[i,{tag:e(139),attributes:{class:["ck",e(140)]},children:[at(t,e(133))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Nt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(768434===-parseInt(e(319))/1*(parseInt(e(324))/2)+-parseInt(e(366))/3*(parseInt(e(343))/4)+parseInt(e(361))/5*(parseInt(e(344))/6)+parseInt(e(358))/7+-parseInt(e(354))/8+parseInt(e(332))/9+parseInt(e(349))/10*(parseInt(e(340))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(350)];[Mo(356)];[Mo(360)];[Mo(339)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(342)];this[s(350)]=this[s(331)](),this[s(350)][s(336)](s(370)).to(this),this[s(350)][s(336)](s(348)).to(this),this[s(356)]=e,this[s(360)]=i,this[s(339)]=n,this.on(s(370),(t,e)=>{const i=s;this[i(365)](i(323),e)}),this.on(s(348),(t,e)=>{const i=s;this[i(365)](i(352),e)}),this[s(362)](s(341),!1),this[s(364)]({tag:s(330),attributes:{class:["ck",s(351),s(359),s(363)]},children:[new xo(t),{tag:s(330),attributes:{class:["ck",s(368),r.if(s(341),s(357),t=>!t)]},children:this[s(350)]}]})}[Mo(338)](){const t=Mo;super[t(338)]();for(const e of this[t(356)])this[t(316)](e);this[t(356)].on(t(328),(e,i)=>{this[t(316)](i)}),this[t(356)].on(t(321),(e,i)=>{this[t(353)](i)})}get[Mo(367)](){const t=Mo;return this[t(350)][t(325)](e=>e[t(367)][t(325)](t=>t))[t(355)]()}[Mo(369)](t){const e=Mo;for(const i of this[e(367)])t&&t.id===i.id?i[e(370)]():i[e(333)]()}[Mo(320)](t){const e=Mo;for(const i of this[e(367)])t[e(329)](({id:t})=>t===i.id)?i[e(317)]():i[e(335)]()}[Mo(316)](t){const e=Mo,i=go(t[e(337)],this[e(326)][e(318)])[e(346)];let n=this[e(350)][e(327)](0);n&&n[e(346)][e(322)]()===i[e(322)]()||(n=new Io(this[e(326)],i,this[e(360)],this[e(339)]),this[e(350)][e(328)](n)),n[e(315)](t)}[Mo(353)](t){const e=Mo,i=go(t[e(337)],this[e(326)][e(318)])[e(346)];this[e(334)](i)[e(345)](t)}[Mo(334)](t){const e=Mo;return this[e(350)][e(347)](i=>i[e(346)][e(322)]()===t[e(322)]())}}function Do(){const t=["some","div","createCollection","5906934FuGNQr","deselect","_getTimePeriodViewByStartDate","unhighlight","delegate","createdAt","render","_requireRevisionName","1573HhWSGS","isEnabled","bindTemplate","1228764MXNRtU","6PHLjyP","removeRevision","startDate","find","setName","26070pYmXIT","timePeriodViews","ck-reset","revisionSetName","_removeRevision","3167576NSfJSs","flat","_revisions","ck-disabled","6943727vHdjSF","ck-rounded-corners","_revisionActions","2071935hsRIvl","set","ck-revision-history-sidebar","setTemplate","fire","6NfskcJ","revisionViews","ck-revision-history-sidebar__timeline","selectRevision","select","addRevision","_addRevision","highlight","uiLanguage","504KUXZKT","highlightRevisions","remove","getTime","revisionSelected","2606SlekrJ","map","locale","get","add"];return(Do=function(){return t})()}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=342]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(764893===-parseInt(e(380))/1+parseInt(e(417))/2+-parseInt(e(350))/3+-parseInt(e(365))/4+-parseInt(e(370))/5*(parseInt(e(412))/6)+-parseInt(e(354))/7+parseInt(e(404))/8*(parseInt(e(377))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends J.Plugin{[Co(409)];[Co(416)];[Co(399)];static[Co(386)]=[Co(347),Co(369),Co(359)];static[Co(345)]=function(){const t=Co;return{compareAgainstSelected:{name:t(378),action:({plugins:e},i)=>{const n=t,s=e[n(371)](ue),r=s[n(398)];let o=s[n(349)][n(388)],a=i.id;r[n(408)](o)>r[n(408)](a)&&([o,a]=[a,o]),s[n(393)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(371)](ue);return!(s[n(398)][n(410)](s[n(349)])[n(387)]>2||i[n(342)])}},restoreRevision:{name:t(406),action:(e,{id:i})=>{const n=t;e[n(346)][n(371)](n(355))[n(343)](i)},isVisible:({plugins:e},i)=>!!e[t(371)](ue)[t(398)][t(395)](i.id)},nameRevision:{name:t(375),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(371)](ue),o=r[s(398)][s(407)](i);r[s(393)](i,o),n[s(420)](),n[s(391)][s(351)]()}}}}();static get[Co(394)](){return Co(373)}static get[Co(379)](){return!0}static get[Co(397)](){return!0}static get[Co(415)](){return[ue]}constructor(t){const e=Co;super(t),this[e(409)]=t[e(344)][e(371)](ue),this[e(416)]=this[e(409)][e(398)],this[e(399)]=null}[Co(362)](){const t=Co,e=this[t(416)][t(411)],i=this[t(390)](),n=this[t(364)][t(346)][t(371)](t(361));this[t(399)]=new Eo(this[t(364)][t(353)],e,i,this[t(364)][t(346)][t(371)](t(422))),this[t(399)].on(t(389),this[t(385)][t(376)](this)),this[t(399)].on(t(360),this[t(402)][t(376)](this)),this[t(399)][t(376)](t(367)).to(this[t(409)]),this[t(399)][t(348)].on(t(405),(e,i)=>{const n=t;i[n(368)].on(n(405),(t,e)=>{const i=n;e[i(376)](i(367),i(418)).to(this[i(409)])})}),this[t(399)][t(352)](),this[t(366)](this[t(364)][t(372)],t(383),this[t(356)][t(376)](this)),this[t(366)](this[t(409)],t(396),this[t(403)][t(376)](this)),n[t(382)](this[t(399)][t(384)])}[Co(421)](){const t=Co;this[t(399)][t(384)][t(423)](),this[t(399)][t(421)]()}[Co(356)](){const t=Co,e=this[t(416)][t(419)](0);if(e){const i=this[t(416)][t(407)](e.id);this[t(409)][t(393)](e,i)}}[Co(385)](t,e){const i=Co,n=this[i(416)][i(419)](e.id),s=this[i(416)][i(407)](n.id);this[i(409)][i(393)](n,s)}[Co(402)](t,e){const i=Co;this[i(416)][i(419)](e.id)[i(413)](e[i(401)])}[Co(403)](t,e,i){const n=Co,s=this[n(416)][n(410)](i);s[n(387)]>2?(this[n(399)][n(414)](s),this[n(399)][n(358)](null)):(this[n(399)][n(414)]([]),this[n(399)][n(358)](s[0]))}[Co(390)](){const t=Co,e=this[t(364)],i=jo[t(345)],n=e[t(346)][t(371)](t(381))||jo[t(386)];if(n[t(387)])return n[t(363)](n=>{const s=t,r=s(374)==typeof n?Object[s(392)]({},i[n]):n;return r[s(400)]=r[s(400)][s(376)](this,e),r[s(357)]&&(r[s(357)]=r[s(357)][s(376)](this,e)),r})}}function Lo(){const t=["_handleRevisionSelected","defaultRevisionActions","length","newRevisionId","revisionSelected","_createRevisionActions","fieldView","assign","compare","pluginName","getLaterVisibleRevision","change:diff","isPremiumPlugin","repository","_sidebarView","action","name","_handleRevisionSetName","_handleDiffChange","56jFLsQf","add","Restore this revision","getEarlierVisibleRevision","getIndex","_revisionViewer","getRevisionsInDiff","_revisions","84BkNPop","setName","highlightRevisions","requires","_revisionsRepository","335280oDcBfx","isReady","getRevision","focus","destroy","revisionHistory.requireRevisionName","remove","isSelected","restoreRevisionCallback","plugins","availableRevisionActions","config","compareAgainstSelected","timePeriodViews","diff","2563464gmLTLu","select","render","locale","9471539zPQPGe","revisionHistory","_handleEditorDataReady","isVisible","selectRevision","nameRevision","revisionSetName","revisionHistory.viewerSidebarContainer","init","map","editor","2482840gCeluI","listenTo","isEnabled","revisionViews","restoreRevision","86465ZRKOqz","get","data","RevisionsSidebar","string","Name this revision","bind","5371263noOOXp","Compare against selected","isOfficialPlugin","510019pknahp","revisionHistory.revisionActions","appendChild","ready","element"];return(Lo=function(){return t})()}const Po=Uo;function zo(){const t=["getRoot","1572FMYivH","_view","29764sEvBzN","editing","bind","config","init","editable","isFocused","9808240EoIOjc","restore","get","detachDomRoot","isActive","toolbar","document","58900XANPEU","747WzTEDf","_initToolbar","focusTracker","destroy","addToolbar","fire","fillFromConfig","2208vjfCIG","394911XJRQyO","componentFactory","stickyPanel","attachDomRoot","element","replace","5neapGL","ready","viewportTopOffset","rootName","name","4160520RpcLMB","_elementReplacer","view","925058teQCDr","2553284GCnaOp","3gEWokM","limiterElement","editor","viewportOffset","setEditableElement","render","_toolbarConfig"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=153]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(784327===parseInt(e(176))/1*(-parseInt(e(174))/2)+parseInt(e(171))/3+parseInt(e(175))/4*(-parseInt(e(166))/5)+-parseInt(e(159))/6*(parseInt(e(186))/7)+-parseInt(e(193))/8+-parseInt(e(201))/9*(parseInt(e(200))/10)+-parseInt(e(160))/11*(-parseInt(e(184))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends It.EditorUI{[Po(185)];[Po(182)];[Po(172)];get[Po(173)](){return this[Po(185)]}constructor(e,i){const n=Po;super(e),this[n(185)]=i,this[n(182)]=(0,It.normalizeToolbarConfig)(e[n(189)][n(195)](n(198))),this[n(172)]=new t.ElementReplacer}get[Po(164)](){const t=Po;return this[t(173)][t(164)]}[Po(190)](t){const e=Po,i=this[e(178)],n=this[e(173)],s=i[e(187)][e(173)],r=n[e(191)],o=s[e(199)][e(183)]();r[e(170)]=o[e(169)],n[e(181)]();const a=r[e(164)];this[e(180)](r[e(170)],a),n[e(191)][e(188)](e(192)).to(this[e(154)]),s[e(163)](a),this[e(172)][e(165)](t,this[e(164)]),this[e(153)](),this[e(157)](e(167))}[Po(155)](){const t=Po;super[t(155)]();const e=this[t(173)],i=this[t(178)][t(187)][t(173)];this[t(172)][t(194)](),i[t(196)](e[t(191)][t(170)]),e[t(155)]()}[Po(153)](){const t=Po,e=this[t(173)];e[t(162)][t(188)](t(197)).to(this[t(154)],t(192)),e[t(162)][t(177)]=e[t(164)],e[t(162)][t(188)](t(168)).to(this,t(179),({top:t})=>t),e[t(198)][t(158)](this[t(182)],this[t(161)]),this[t(156)](e[t(198)])}}var Zo=i(318),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Nt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=421]})(t,e)}function Bo(){var t=["5sjGlSV","content","12301533KpKgnM","stickyPanel","_editable","main","27103043siRbWK","138FlzyQC","add","toolbar","editable","535058JmmuMu","4BwfgCF","2266860proyVF","8lWbzMW","4979863XtYXvM","21940ddKbPn","4320200ooAkjD","top","shouldToolbarGroupWhenFull","render"];return(Bo=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(882549===parseInt(e(432))/1*(parseInt(e(431))/2)+parseInt(e(427))/3*(parseInt(e(436))/4)+parseInt(e(441))/5*(parseInt(e(433))/6)+parseInt(e(435))/7+-parseInt(e(434))/8*(-parseInt(e(422))/9)+-parseInt(e(437))/10+-parseInt(e(426))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[$o(424)];[$o(423)];[$o(429)];get[$o(430)](){return this[$o(424)]}constructor(t,e,i={}){var n=$o;super(t),this[n(423)]=new It.StickyPanelView(t),this[n(429)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(439)]}),this[n(424)]=new It.InlineEditableUIView(t,e)}[$o(440)](){var t=$o;super[t(440)](),this[t(423)][t(421)][t(428)](this[t(429)]),this[t(438)][t(428)](this[t(423)]),this[t(425)][t(428)](this[t(430)])}}function Go(){const t=["createRoot","editing","updateSourceElement","9726PdRMuq","create","view","get","document","4019775lXnZZE","2XsEFcE","3339324bZgmRL","init","731845FodVHL","config","ready","5689143ZsqMlC","model","initialData","1226072KJhxLZ","locale","initPlugins","_ui","sourceElement","fire","7210525bSifEj","1305ajggbl","destroy","data"];return(Go=function(){return t})()}const Jo=Ko;function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=300]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(894521===-parseInt(e(321))/1*(-parseInt(e(318))/2)+-parseInt(e(317))/3+parseInt(e(319))/4+-parseInt(e(306))/5*(-parseInt(e(312))/6)+parseInt(e(305))/7+-parseInt(e(327))/8+-parseInt(e(324))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Jo(302)];get ui(){return this[Jo(302)]}constructor(t,e){const i=Jo;super(e),this[i(303)]=t,this[i(325)][i(316)][i(309)]();const n=new Yo(this[i(300)],this[i(310)][i(314)],{shouldToolbarGroupWhenFull:!0});this[i(302)]=new Wo(this,n)}[Jo(307)](){const t=Jo;return this[t(311)](),this.ui[t(307)](),super[t(307)]()}static async[Jo(313)](t,e){const i=Jo,n=new this(t,e);return await n[i(301)](),await n.ui[i(320)](t),await n[i(308)][i(320)](n[i(322)][i(315)](i(326))||""),n[i(304)](i(323)),n}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=410]})(t,e)}function ea(){const t=["enqueueChange","repository","locale","creator","RestrictedEditingMode","createdAt","revisionHistory.viewerContainer","RevisionHistoryUtils","Restored","set","result","_update","9602420QBDQZb","5428178Sglxpe","parse","style","RevisionsRepository","Annotations","replace","editor","users","1393654TauPbG","_getRevisionViewerEditorConfig","join","translations","5734312NXtLBB","_enhanceCloseRevisionViewerCallback","restoreRevision","AIReviewMode","bind","isReadOnly","$graveyard","getRevisionRootsAttributes","push","addUser","numeric","lazyRoots","setAttribute","setSelection","catch","remove","removeSelectionAttribute","AIChat","selection","addRoot","getRevisionDocumentData","restrictedEditingException","718461RdzTTC","toJSON","has","toLocaleDateString","RevisionHistoryUI","isAttached","panelViews","name","showRevisionViewerCallback","_recalculatePageBreaks","revisionHistory.requireRevisionName","refreshPositioning","markers","define","revision-history-missing-configuration","isReady","model","saveRevision","revisionHistory.viewerEditorElement","9nvGQpj","_closeRevisionViewer","map","get","refreshVisibility","createRangeIn","isOfficialPlugin","roots","indexOf","getRevisions","revisionHistory.showRevisionViewerCallback","getMarkersGroup","AIBalloon","then","AITabs","isPremiumPlugin","pluginName","rootName","PaginationLookup","RevisionTracker","revisionHistory.editorContainer","document","changesNavigation","1IkVENn","block","isRevisionViewerOpen","loadRevisionData","hide","plugins","tabindex","requires","2401080NOFueI","toolbar","DocumentOutline","includes","exitToEditing","save","insert","display","_viewerEditor","destroy","uiLanguage","RevisionViewerIntegration","querySelector","element","revisionHistory.closeRevisionViewerCallback","long","from","revisionHistory.restoreRevisionCallback","Dialog","closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback"," ck-tab-panel_disabled","data","change","revision-history-viewer-opened",".ck-ai-chat-history .ck-input","init","DocumentOutlineUI","AIQuickActions","revisionHistory","getUser","_cleanUp","disableReadOnlyMode","removeAttribute","_restoreRevision","isAnonymous","toLocaleTimeString","removeMarker","6DnNOXE","RevisionHistory","update","AIChatHistory","none","getRevision","detachRoot","toVersion",".ck-ai-chat__prompt-input .ck-textarea","ck-tab-panel_disabled","create","_showRevisionViewer","Users","view","adapter","addRevisionData","374100hTUiNb","getRoot","isEnabled","config","getAttributeKeys","AIActions","commands","keys","Autosave","end","RevisionViewer","fromCharCode","class","error","enableReadOnlyMode","isOpen","fromVersion"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(421428===parseInt(e(513))/1*(parseInt(e(445))/2)+parseInt(e(471))/3+-parseInt(e(575))/4+parseInt(e(521))/5+parseInt(e(559))/6*(parseInt(e(437))/7)+-parseInt(e(449))/8*(parseInt(e(490))/9)+-parseInt(e(436))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(475),Qo(428),Qo(466),Qo(452),Qo(502),Qo(549),Qo(412)];class na extends J.Plugin{[Qo(434)];static get[Qo(506)](){return Qo(532)}static get[Qo(496)](){return!0}static get[Qo(505)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(492)](t=>String[e(418)](t))[e(447)]("")}super(t),this[e(434)]=e(416),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 sa extends J.Plugin{[Qo(529)];static get[Qo(506)](){return Qo(560)}static get[Qo(496)](){return!0}static get[Qo(505)](){return!0}static get[Qo(520)](){return[mt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(443)][i(410)][i(493)](i(550)))throw new t.CKEditorError(i(485),this);this[i(529)]=null,this[i(433)](i(515),!1),this[i(443)][i(410)][i(484)](i(500),t=>this[i(570)]({...t,translations:this[i(443)][i(426)][i(448)]})),this[i(443)][i(410)][i(484)](i(535),t=>this[i(491)](t)),this[i(443)][i(410)][i(484)](i(538),t=>this[i(555)](t)),this[i(443)][i(410)][i(484)](i(481),!1),this[i(541)](),this[i(450)]()}set[Qo(573)](t){const e=Qo;this[e(443)][e(518)][e(493)](e(509))[e(573)]=t}get[Qo(573)](){const t=Qo;return this[t(443)][t(518)][t(493)](t(509))[t(573)]}[Qo(574)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(509))[e(574)](t)}[Qo(564)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(440))[e(564)](t)}[Qo(499)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(440))[e(499)](t||{toJSON:!1})}[Qo(446)](){const e=Qo,i=this[e(443)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(518)][e(493)](e(509)),r=i[e(518)][e(493)](e(571))[e(444)];return n[e(522)]=[e(525),e(451),e(512)],delete n[e(460)],n[e(518)][e(457)](na,ue,xe,class extends J.Plugin{static get[e(520)](){return[ue,e(571)]}[e(547)](){const n=e,o=this[n(443)][n(518)][n(493)](n(571));for(const t of r)t[n(556)]||o[n(551)](t.id)||o[n(458)](t);const a=s[n(425)][n(499)]();let c=null;const u=this[n(443)][n(518)][n(493)](n(417));u[n(573)]=s[n(573)],u[n(453)](n(577)).to(s),this[n(443)][n(413)][n(493)](n(451))[n(453)](n(577)).to(i,n(454),t=>!t);for(const e of a){const i=null===e[n(427)];if(i&&e[n(566)]===e[n(423)])continue;const r=e[n(472)]();u[n(574)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(435)](r,o);else if(!o){const e=a[u(472)]();e.id=(0,t.uid)(),s[u(488)](e,a[u(566)])[u(503)](t=>{c=t})}}else e[u(435)](r,o)})}}},jo),n}[Qo(541)](){const t=Qo,e=this[t(443)][t(410)][t(493)](t(550))[t(479)];this[t(443)][t(410)][t(433)](t(500),async()=>{const i=t;this[i(443)][i(421)](i(545));const n=this[i(443)][i(518)][i(493)](i(509));if(this[i(443)][i(518)][i(473)](i(415))){const t=this[i(443)][i(518)][i(493)](i(415));await t[i(526)]()}else await n[i(561)]();if(this[i(443)][i(518)][i(473)](i(508))&&this[i(443)][i(518)][i(493)](i(508))[i(480)](),this[i(443)][i(518)][i(473)](i(539))){const t=this[i(443)][i(518)][i(493)](i(539));t[i(422)]&&t[i(517)]()}if(this[i(443)][i(518)][i(473)](i(504))){const t=this[i(443)][i(518)][i(493)](i(504))[i(572)][i(477)];for(const e of t)e[i(419)]=e[i(419)]?e[i(419)]+i(542):i(568);if(this[i(443)][i(518)][i(473)](i(466))){const t=document[i(533)](i(567));t&&t[i(461)](i(519),"-1")}if(this[i(443)][i(518)][i(473)](i(562))){const t=document[i(533)](i(546));t&&t[i(461)](i(519),"-1")}}const s=this[i(446)]();return e(s)[i(503)](t=>{const e=i;return this[e(529)]=t,this[e(443)][e(518)][e(473)](e(441))&&this[e(443)][e(518)][e(493)](e(441))[e(494)](),this[e(443)][e(518)][e(473)](e(523))&&(this[e(443)][e(518)][e(493)](e(548))[e(572)][e(534)][e(439)][e(528)]=e(563)),t})[i(463)](t=>(console[i(420)](t),this[i(443)][i(553)](i(545)),null))})}[Qo(450)](){const t=Qo,e=this[t(443)][t(410)][t(493)](t(550))[t(540)];this[t(443)][t(410)][t(433)](t(535),()=>{const i=t;if(this[i(443)][i(518)][i(473)](i(508))&&this[i(443)][i(518)][i(493)](i(508))[i(480)](),this[i(443)][i(518)][i(473)](i(523))&&(this[i(443)][i(518)][i(493)](i(548))[i(572)][i(534)][i(439)][i(528)]=""),this[i(443)][i(518)][i(473)](i(504))){const t=this[i(443)][i(518)][i(493)](i(504))[i(572)][i(477)];for(const e of t)e[i(419)]=i(568)===e[i(419)]?"":e[i(419)][i(442)](i(542),"");if(this[i(443)][i(518)][i(473)](i(466))){const t=document[i(533)](i(567));t&&t[i(554)](i(519))}if(this[i(443)][i(518)][i(473)](i(562))){const t=document[i(533)](i(546));t&&t[i(554)](i(519))}}return this[i(529)][i(518)][i(493)](i(417))[i(552)](),e(this[i(529)])[i(503)](()=>{const t=i;if(this[t(443)][t(553)](t(545)),this[t(529)]=null,this[t(443)][t(518)][t(473)](t(441))){const e=this[t(443)][t(518)][t(493)](t(441));e[t(494)](),e[t(482)]()}})})}[Qo(570)](t){const e=Qo,i=this[e(443)][e(410)][e(493)](e(510)),n=this[e(443)][e(410)][e(493)](e(430)),s=this[e(443)][e(410)][e(493)](e(489));return Xo[e(569)](s,t)[e(503)](t=>(n[e(439)][e(528)]=e(514),i[e(439)][e(528)]=e(563),this[e(515)]=!0,t))}[Qo(491)](t){const e=Qo,i=this[e(443)][e(410)][e(493)](e(510));return this[e(443)][e(410)][e(493)](e(430))[e(439)][e(528)]=e(563),i[e(439)][e(528)]="",this[e(515)]=!1,t[e(530)]()}async[Qo(555)](t){const e=Qo,i=this[e(443)],n=this[e(529)][e(518)][e(493)](e(417)),s=i[e(518)][e(493)](e(509)),r=i[e(518)][e(493)](e(431)),o=n[e(425)][e(564)](t);let a,c,u;try{await r[e(516)](o,this[e(573)]),a=r[e(469)](o),c=r[e(456)](o)}catch(t){return void console[e(420)](t)}i[e(487)][e(544)](t=>{const n=e;for(const e of Array[n(537)](i[n(487)][n(483)][n(501)](n(470))))t[n(558)](e)}),n[e(486)]=!1,i[e(487)][e(424)](t=>{const n=e;t[n(462)](null),t[n(465)](i[n(487)][n(511)][n(467)][n(411)]());const s=Object[n(414)](a);for(const e of i[n(487)][n(511)][n(497)])n(455)!=e[n(507)]&&e[n(476)]()&&!s[n(524)](e[n(507)])&&t[n(565)](e);for(const e of s){let s=i[n(487)][n(511)][n(576)](e);s&&s[n(476)]()||(s=t[n(468)](e));const r=c[e],o=Object[n(414)](r),u=a[e];for(const e of s[n(411)]())o[n(524)](e)||t[n(554)](e,s);for(const i of o)t[n(461)](i,c[e][i],s);t[n(464)](t[n(495)](s)),t[n(527)](i[n(543)][n(438)](u,s),s,0)}});const l=at(i[e(426)],e(432));return u=o[e(478)]?-1==o[e(478)][e(498)](l)?l+": "+o[e(478)]:o[e(478)]:l+": "+o[e(429)][e(474)](i[e(426)][e(531)],{month:e(536),day:e(459)})+", "+o[e(429)][e(557)](i[e(426)][e(531)],{hour:e(459),minute:e(459)}),await s[e(488)]({name:u}),n[e(486)]=!0,i[e(410)][e(493)](e(550))[e(540)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=482]})(t,e)}function oa(){var t=["393KYVvvb","75ssypUg","2348TPemij","2xoxxbf","286422AfXumr","712DANErQ","66990yKezwo","670eosIBa","1496244IVTidu","26mCrMyV","9667812LjbAdS","28107ytXemQ","35661ZTzdje"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(896910===-parseInt(e(493))/1*(-parseInt(e(484))/2)+-parseInt(e(494))/3*(-parseInt(e(483))/4)+parseInt(e(482))/5*(-parseInt(e(485))/6)+parseInt(e(491))/7+parseInt(e(486))/8*(parseInt(e(492))/9)+-parseInt(e(488))/10*(parseInt(e(487))/11)+-parseInt(e(489))/12*(-parseInt(e(490))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={21:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},308:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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 n=i(453),s=i.n(n),r=i(374),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>xe,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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 N(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=N(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,N(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(N(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=N(t[s],s,i,n,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 n.set(t,e),x(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),x(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),x(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,x(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),x(e,t,i,n,A),e}return t}function x(t,i,n=t,s,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]=N(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return N(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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 x(e,t),e}case u:{const e={};return x(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 n=t[e];Object.hasOwn(t,e)&&V(n,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 U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=373]})(t,e)}function Y(){const t=["toJSON","map","diffData","1092bNIYsg","name","_update","11585101KQPnjk","5109rPhUcy","createdAt","creatorId","removeAttribute","toVersion","2vWHyjx","4890972fzgxIC","4uoskun","fromVersion","9060Uiixfk","12832104urrviH","380dsqhoz","attributes","7LfSqxm","12EgsDaS","setName","439643rSvXpe","creator","fire","2430EsUdlm","setAttribute","52902dPOeTt","set","authors","authorsIds","model"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(986681===parseInt(e(383))/1*(parseInt(e(405))/2)+parseInt(e(373))/3*(-parseInt(e(374))/4)+parseInt(e(386))/5*(-parseInt(e(376))/6)+parseInt(e(380))/7*(parseInt(e(377))/8)+-parseInt(e(388))/9*(-parseInt(e(378))/10)+-parseInt(e(399))/11*(-parseInt(e(381))/12)+-parseInt(e(400))/13*(-parseInt(e(396))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class G extends((0,t.ObservableMixin)()){id;[$(384)];[$(390)];[$(395)];[$(404)];[$(375)];[$(392)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(384)]=e[i(384)]||null,this[i(390)]=e[i(390)]||[],this[i(395)]=e[i(395)]||null,this[i(404)]=e[i(404)]||0,this[i(375)]=e[i(375)]||0,this[i(389)](i(397),e[i(397)]||""),this[i(389)](i(401),e[i(401)]||new Date),this[i(389)](i(379),e[i(379)]||{})}[$(382)](t){this[$(398)]({name:t})}[$(387)](t,e){const i=$,n=R(this[i(379)]);W(n,t,e),this[i(398)]({attributes:n})}[$(403)](t){const e=$,i=R(this[e(379)]);(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]&&Z(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(398)]({attributes:i})}[$(398)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(397),i(401),i(395),i(390),i(379),i(404),i(375),i(402)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(390)]&&(s[i(391)]=s[i(390)][i(394)](t=>t.id),delete s[i(390)]),this[i(385)](i(398),s,e))}[$(393)](){const t=$;return{id:this.id,name:this[t(397)],creatorId:this[t(384)]?this[t(384)].id:null,authorsIds:this[t(390)][t(394)](t=>t.id),diffData:this[t(395)],createdAt:this[t(401)],attributes:this[t(379)],fromVersion:this[t(375)],toVersion:this[t(404)]}}}var J=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["toJSON","get","toVersion","132qUgEUv","fromCharCode","href","fromVersion","getRevisions","RevisionsRepository","5708048unxiRr","length","getLaterVisibleRevision","later","6271993nDmTaZ","creatorId","add","authorsIds","25248bfIFfn","isPremiumPlugin","44334wIQRye","createdAt","isOfficialPlugin","from","map","attributes","diffData","addRevision","join","443583gCtzys","plugins","createRevision","data","8916360xOPPPo","newRevisionId","660BLmNLm","getEarlierVisibleRevision","getRevision","Users","38854muPzAb","requires","editor","oldRevisionId","getRevisionsIterator","isNaN","pluginName","reverse","26XhOAAj","getRevisionsInDiff","_revisions","getIndex","afterInit","earlier","name","getUser","push"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=218]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(523390===parseInt(e(235))/1*(parseInt(e(243))/2)+parseInt(e(271))/3*(parseInt(e(255))/4)+-parseInt(e(231))/5*(-parseInt(e(269))/6)+-parseInt(e(265))/7+parseInt(e(261))/8+parseInt(e(225))/9+-parseInt(e(229))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[Q(245)];static get[Q(236)](){return[K.Users]}static get[Q(241)](){return Q(260)}static get[Q(218)](){return!0}static get[Q(270)](){return!0}get[Q(262)](){const t=Q;return this[t(245)][t(262)]}constructor(e){const i=Q;super(e),this[i(245)]=new t.Collection}[Q(247)](){!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]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),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(240)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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 n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)}):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(220)](t=>String[e(256)](t))[e(224)]("")}!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()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),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,s,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])])?s/1e3:1762041600;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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(257)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[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=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||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(227)](t){const e=Q,i=this[e(237)][e(226)][e(253)](e(234));return new G({id:t.id,name:t[e(249)],creator:t[e(266)]?i[e(250)](t[e(266)]):null,diffData:t[e(222)]||t[e(228)],authors:t[e(268)][e(220)](t=>i[e(250)](t)),createdAt:new Date(t[e(272)]),attributes:t[e(221)],fromVersion:t[e(258)],toVersion:t[e(254)]})}[Q(223)](t,e=0){const i=Q;this[i(245)][i(267)](t,e)}[Q(233)](t){const e=Q;return this[e(245)][e(253)](t)}[Q(259)](t={toJSON:!1}){const e=Q,i=Array[e(219)](this[e(245)]);return i[e(242)](),t[e(252)]?i[e(220)](t=>t[e(252)]()):i}[Q(246)](t){const e=Q;return this[e(245)][e(246)](t)}[Q(232)](t){const e=Q,[,i]=this[e(239)](t,{direction:e(248)});return i}[Q(263)](t){const e=Q,[,i]=this[e(239)](t,{direction:e(264)});return i}[Q(244)](t){const e=Q,i=[];for(const n of this[e(239)](t[e(230)]))if(i[e(251)](n),n.id===t[e(238)])break;return i}*[Q(239)](t,{direction:e=Q(248),filter:i=()=>!0}={}){const n=Q,s=n(248)===e?1:-1;let r=this[n(245)][n(253)](t),o=this[n(246)](r);for(yield r;r;){if(o+=s,r=this[n(233)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["innerHTML","length","39110TwWMxv","4088051AzfUFk","processor","_getTypeCharForViewElement","document","_removeRevisionMarkers","_viewClassToTypeChar","createElement","toModel","toData","from","useFillerType","_getViewFromDiffObj","revision-end","3861SqaLbP","children","insertions","collaboration.channelId","_setCustomProperty","data","isAttached","loadRevisionData","append","isOfficialPlugin","fillerOffset","getRevisionDocumentData","RevisionHistoryUtils","name","editor","forEach","249015ZXdaTy","1220yVuomy","isPremiumPlugin","string","diffData","filter","div","1988208piQZdT","startsWith","viewChildrenToDom","type","constructor","getRevisionRootsAttributes","6rMnszk","pluginName","12TTdSjs","customProperties","map","htmlProcessor","attributes","default","config","domDocument","7SbkLvu","domChildrenToView","view","_typeCharToViewClass","marked","312888FfVSiA","_makeModelFromViewString","getFillerOffset","attachChange","get","attributesAfter","domConverter","92165lkJUrX","8BnlqnI","editing","revision-start","_appendChild","data-revision-","render","parse","childNodes","getRevision"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(190418===-parseInt(e(190))/1*(parseInt(e(224))/2)+-parseInt(e(254))/3*(-parseInt(e(213))/4)+parseInt(e(212))/5+-parseInt(e(205))/6+parseInt(e(200))/7*(-parseInt(e(184))/8)+parseInt(e(238))/9*(parseInt(e(255))/10)+-parseInt(e(225))/11*(-parseInt(e(192))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(191)](){return nt(250)}static get[nt(247)](){return!0}static get[nt(256)](){return!0}[nt(230)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(203)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(245)](t,e){const i=nt;if(t[i(258)]||!e)return;const n=this[i(252)][i(198)][i(209)](i(241)),s=await e[i(221)]({channelId:n,revisionId:t.id});t[i(258)]=s[i(258)]}[nt(249)](t){const e=nt,i={};for(const n in t[e(258)]){if(t[e(258)][n][e(208)]&&!t[e(258)][n][e(208)][e(244)])continue;const s=this[e(229)](JSON[e(219)](t[e(258)][n][e(240)])),r=this[e(252)][e(214)][e(202)][e(228)],o=new X.ViewDocumentFragment(r,s[e(194)](t=>this[e(236)](t,!1)));this[e(252)][e(243)][e(226)][e(235)](e(204)),i[n]=this[e(252)][e(243)][e(226)][e(233)](o),this[e(252)][e(243)][e(226)][e(235)](e(197))}return i}[nt(189)](t){const e=nt,i={};for(const n in t[e(258)])t[e(258)][n][e(208)]&&!t[e(258)][n][e(208)][e(244)]||(i[n]=t[e(258)][n][e(210)]||{});return i}[nt(227)](t){const e=nt;return this[e(230)][e(209)](t[e(188)])}[nt(236)](t,e){const i=nt,n=this[i(252)][i(214)][i(202)][i(228)];if(i(257)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(187)]||"r"==t[i(187)]?[]:t[i(239)][i(194)](t=>this[i(236)](t,e));const o=this[i(203)][i(209)](t[i(187)])||X.ViewElement,a=this[i(252)][i(243)][i(195)][i(211)];if(s=new o(n,t[i(251)],t[i(196)],r),"u"==t[i(187)]&&t[i(239)][0]){const r=t[i(239)][0];if(s[i(218)]=function(t){const e=i,n=t[e(231)](e(183));return n[e(222)]=r,n[e(220)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(216)](s);const e=Array[i(234)](a[i(186)](t,{bind:!1})),r=a[i(199)][i(231)](i(183));r[i(246)](...e),s=Array[i(234)](a[i(201)](r))[0]}}else if("r"==t[i(187)]&&t[i(239)][0]){const r=t[i(239)][0];if(s[i(218)]=function(t){t[i(222)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(216)](s);const e=Array[i(234)](a[i(186)](t,{bind:!1})),r=a[i(199)][i(231)](i(183));r[i(246)](...e);const o=Array[i(234)](a[i(201)](r));o[i(223)]>1?s[i(216)](o):s=o[0]}}if(t[i(193)])for(const[e,n]of t[i(193)])s[i(242)](e,n);const c=void 0===t[i(248)]?null:t[i(248)];return null!==c&&(s[i(207)]=()=>c),s}}[nt(206)](t){const e=nt,i=JSON[e(219)](t),n=this[e(252)][e(214)][e(202)][e(228)],s=new X.ViewDocumentFragment(n,i[e(194)](t=>this[e(236)](t,!0)));return this[e(252)][e(243)][e(232)](s)}[nt(229)](t){const e=nt;return(t=t[e(259)](t=>!t[e(251)]||e(215)!==t[e(251)]&&e(237)!==t[e(251)]))[e(253)](t=>{const i=e;i(257)!=typeof t&&(t[i(239)]=this[i(229)](t[i(239)]),t[i(196)]=t[i(196)][i(259)](t=>!t[0][i(185)](i(217))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("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,n,s,r,o){const a=o(t,e,i,n,s,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,n,N){if(Object.is(t,i))return!0;let x=s(t),A=s(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){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=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,N));if(-1===a)return!1;s.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,n,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,N)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,N))return!1}return!0}default:return!1}}finally{n.delete(t),n.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=kt;!function(t){const e=kt,i=t();for(;;)try{if(315607===-parseInt(e(209))/1+parseInt(e(195))/2*(-parseInt(e(308))/3)+-parseInt(e(425))/4+parseInt(e(295))/5*(parseInt(e(228))/6)+parseInt(e(338))/7+parseInt(e(397))/8+parseInt(e(280))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class mt extends J.Plugin{[ft(269)];[ft(346)];[ft(288)]=null;[ft(235)];[ft(417)]=null;[ft(318)];[ft(298)];[ft(264)];[ft(432)];[ft(293)];[ft(446)];[ft(377)];[ft(475)];[ft(205)];static get[ft(483)](){return ft(187)}static get[ft(382)](){return!0}static get[ft(332)](){return!0}static get[ft(301)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(235)]=this[i(380)][i(478)][i(460)](i(324)),this[i(293)]=this[i(380)][i(478)][i(460)](i(358)),this[i(318)]=new vt(this[i(380)]),this[i(264)]=this[i(380)][i(394)][i(460)](i(420))||i(184),this[i(432)]=new Map,this[i(205)]=null;const n=(0,t.uid)();this[i(298)]={history:this[i(380)][i(300)][i(472)][i(371)],getLatestVersion:()=>Promise[i(341)](this[i(380)][i(300)][i(472)][i(407)]),getCurrentRevisionId:()=>n},this[i(181)](i(268),!1),this[i(181)](i(464),!0),this[i(181)](i(309),!1),this[i(380)][i(394)][i(466)](i(248),!0),this[i(380)][i(314)][i(227)](i(253))[i(334)]({view:i(230)})}[ft(226)](){const t=ft;this[t(178)](),this[t(380)][t(234)].on(t(414),()=>{const e=t,i=this[e(235)][e(302)](0),n=i&&null===i[e(261)]?i:null;if(this[e(377)]=!!n&&this[e(380)][e(394)][e(460)](e(248)),this[e(380)][e(478)][e(458)](e(434))){const t=this[e(298)][e(400)](),s=this[e(235)][e(302)](t);if(s)this[e(475)]=s[e(217)],this[e(377)]=!1;else{const t=this[e(298)][e(371)][e(204)][e(491)](t=>!t[e(372)]),s=t?t[e(176)]:this[e(298)][e(371)][e(407)];i?(i[e(374)]<s&&i[e(493)]({toVersion:s}),this[e(377)]?(this[e(298)][e(400)]=()=>n.id,this[e(475)]=n[e(217)]):(this[e(475)]=i[e(374)],this[e(377)]=!1)):(this[e(475)]=s,this[e(377)]=!1)}}else n&&(this[e(380)][e(300)][e(472)][e(371)][e(407)]=Math[e(321)](n[e(374)],this[e(380)][e(300)][e(472)][e(371)][e(407)]),n[e(217)]===n[e(374)]?(0!==n[e(217)]&&(this[e(298)][e(400)]=()=>n.id),this[e(377)]=!1):this[e(377)]&&(this[e(298)][e(400)]=()=>n.id,this[e(475)]=n[e(217)])),this[e(377)]||(this[e(475)]=this[e(380)][e(300)][e(472)][e(407)]);this[e(318)][e(226)](this[e(298)][e(371)]),this[e(387)](this[e(475)]),this[e(185)](this[e(475)]),this[e(417)]&&this[e(267)]()}),this[t(378)](t(268)).to(this,t(309),t=>!t),this[t(269)]=this[t(380)][t(394)][t(460)](t(269));const e=this[t(380)];this[t(346)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(255)==r||i(386)==r||i(361)==r||i(260)==r||i(198)==r||i(424)==r||i(343)==r||i(212)==r){delete e[s],n=r,clearInterval(this[i(346)]),this[i(346)]=void 0;break}}i(386)==n&&e[i(286)](i(370)),i(361)==n&&e[i(286)](i(229)),i(260)==n&&e[i(286)](i(247)),i(198)==n&&e[i(286)](i(381),i(496)),i(424)==n&&e[i(286)](i(257)),i(343)==n&&e[i(286)](i(423)),i(212)==n&&e[i(286)](i(258))},1e3)}async[ft(211)](){const t=ft;if(this[t(235)][t(444)]>0){const e=this[t(235)][t(302)](0),i=await this[t(208)](e),n=await this[t(274)](e);this[t(422)](i,n)}}[ft(242)](){const t=ft;super[t(242)](),this[t(346)]&&clearInterval(this[t(346)])}[ft(443)](t){this[ft(298)]=t}async[ft(344)](){const t=ft,e=await this[t(298)][t(232)]();if(e>this[t(288)][t(374)]){await this[t(474)]();const i=this[t(465)]({revision:this[t(288)],to:e});i[t(454)]=i[t(490)][t(388)](e=>this[t(380)][t(478)][t(460)](t(427))[t(290)](e)),this[t(288)][t(493)](i)}}async[ft(439)](e={},i=null){const n=ft,s=[];await this[n(474)](),this[n(377)]=!1,i>this[n(288)][n(374)]&&(i=null),null===i&&(i=await this[n(298)][n(232)]());const r=this[n(481)](i),o=this[n(465)]({from:r,to:i});if(this[n(288)][n(374)]<i){const t=this[n(465)]({revision:this[n(288)],from:i,to:i});t[n(454)]=[],t[n(490)]=[],t.id=this[n(288)].id,this[n(288)][n(493)](t,!0),delete t[n(454)],s[n(452)](t)}e[n(436)]=this[n(380)][n(478)][n(460)](n(427)).me.id,e[n(216)]=e[n(216)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(459)](e);s[n(452)](e);const c=this[n(235)][n(448)](a);if(0!==c){const t=this[n(235)][n(302)](c-1);if(t[n(217)]!==i){const r=this[n(318)][n(233)](i,t[n(374)]),o={id:t.id,diffData:r[n(357)],authorsIds:r[n(490)],authors:r[n(490)][n(388)](t=>this[n(380)][n(478)][n(460)](n(427))[n(290)](t)),fromVersion:i};t===this[n(288)]&&(o[n(368)]=new Date(e[n(368)][n(252)]()+10)),t[n(493)](o,!0),delete o[n(454)],s[n(452)](o)}}if(this[n(417)]){for(const t of s)this[n(416)](t.id,t,!0);this[n(267)]()}return a}[ft(459)](t){const e=ft,i=this[e(235)][e(457)](t);return this[e(417)]&&i.on(e(493),(t,i,n)=>{const s=e;n||(this[s(416)](i.id,i,!0),this[s(267)]())}),this[e(235)][e(315)](i,this[e(451)](i)),i}async[ft(208)](t){const e=ft;return await this[e(293)][e(437)](t,this[e(417)]),this[e(293)][e(208)](t)}async[ft(274)](t){const e=ft;return await this[e(293)][e(437)](t,this[e(417)]),this[e(293)][e(274)](t)}[ft(267)](){const t=ft;if(0===this[t(432)][t(408)])return;if(this[t(309)])return;let e=Array[t(319)](this[t(432)][t(265)]());this[t(432)][t(355)]();for(let i=0;i<e[t(444)];i++){const n=e[i];let s=!1;for(const e of Object[t(360)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(450)](t=>null!==t),!e[t(444)])return;for(let i=0;i<e[t(444)];i++){const n=e[i];void 0!==n[t(217)]&&void 0===n[t(374)]&&(n[t(374)]=this[t(235)][t(302)](n.id)[t(374)]),void 0!==n[t(374)]&&void 0===n[t(217)]&&(n[t(217)]=this[t(235)][t(302)](n.id)[t(217)])}const i=this[t(380)][t(394)][t(460)](t(420));this[t(309)]=!0,this[t(305)](),this[t(417)][t(376)](e,i)[t(389)](()=>{this[t(309)]=!1})[t(402)](e=>{const i=t;if(e)for(const t of e)this[i(411)]({id:t.id,createdAt:t[i(368)]});this[i(479)](),this[i(267)]()})}[ft(465)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(217)],i=null!==i?i:t[n(374)];const s=this[n(318)][n(233)](e,i),r={diffData:s[n(357)],authorsIds:s[n(490)],fromVersion:e,toVersion:i};if(!t||i!==t[n(374)]){const t=i-1,e=this[n(298)][n(371)][n(206)](t);r[n(368)]=e&&e[n(368)]||new Date}if(this[n(205)]&&e===this[n(205)][n(217)])for(const t of this[n(205)][n(454)])r[n(490)][n(384)](t.id)||r[n(490)][n(452)](t.id);return r}[ft(416)](t,e,i){const n=ft;if(this[n(432)][n(458)](t)){const s=this[n(432)][n(460)](t);e=i?{...s,...e}:{...e,...s}}this[n(432)][n(181)](t,e)}[ft(411)](t){const e=ft,i=this[e(235)][e(302)](t.id);if(t[e(368)]&&(t[e(368)]=new Date(t[e(368)])),t[e(490)]){const i=this[e(380)][e(478)][e(460)](e(427));t[e(454)]=t[e(490)][e(388)](t=>i[e(290)](t))}i[e(493)](t,!0)}[ft(387)](t){const e=ft,i=this[e(235)][e(302)](this[e(235)][e(444)]-1);if(i)this[e(264)]=i.id;else{const i=!this[e(380)][e(300)][e(472)][e(193)][e(491)](t=>this[e(380)][e(300)][e(327)](t)),n=this[e(380)][e(478)][e(460)](e(427)).me.id,s=at(this[e(380)][e(441)],e(i?292:462));this[e(289)]({from:t,to:t,id:this[e(264)],name:s,creatorId:n})}}[ft(185)](t){const e=ft,i=this[e(298)][e(400)]();this[e(288)]=this[e(235)][e(302)](i),this[e(288)]||(this[e(288)]=this[e(289)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(474)](){const t=ft;this[t(377)]&&!this[t(205)]&&(await this[t(293)][t(437)](this[t(288)],this[t(417)]),this[t(318)][t(366)](this[t(288)]),this[t(205)]={fromVersion:this[t(288)][t(217)],authors:this[t(288)][t(454)][t(480)]()})}[ft(422)](e,i){const n=ft;let s=this[n(380)][n(394)][n(460)](n(297)),r=this[n(380)][n(394)][n(460)](n(283));if(void 0===s){s={};for(const t of this[n(380)][n(300)][n(472)][n(438)]())s[t]=""}if(n(316)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(380)][n(300)][n(472)][n(438)]())r[t]={}}let o=!1;const a=Object[n(360)](s),c=Object[n(360)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(482)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(360)](r[t])[n(444)]>0){o=!0;break}}o||(o=c[n(213)](t=>!this[n(380)][n(300)][n(472)][n(287)](t))),o&&(0,t.logWarning)(n(306),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(380)][n(394)][n(181)](n(297),e),this[n(380)][n(394)][n(181)](n(283),i)}[ft(305)](){const t=ft;if(!this[t(446)]){const e=this[t(380)][t(478)][t(460)](t(429));this[t(446)]=e[t(273)](at(this[t(380)][t(441)],t(243)))}}[ft(479)](){const t=ft;this[t(446)]&&(this[t(380)][t(478)][t(460)](t(429))[t(323)](this[t(446)]),this[t(446)]=null)}[ft(451)](t){const e=ft,i=this[e(235)][e(218)]();i[e(282)]();let n=0;for(;n<i[e(444)];){const s=i[n];if(s===this[e(288)]){n++;continue}if(s.id===this[e(264)])break;const r=t[e(374)]-s[e(374)]||t[e(217)]-s[e(217)];if(r>0)break;if(r<0)n++;else{if(!t[e(261)]&&s[e(261)])break;if(s[e(261)]||!t[e(261)]){if(t[e(368)]>s[e(368)])break;n++}else n++}}return n}[ft(481)](t){const e=ft,i=this[e(235)][e(218)]();i[e(282)](),i[e(199)]();const n=i[e(491)](i=>i[e(374)]<=t)[e(374)];return n<this[e(475)]?this[e(475)]:n}[ft(289)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(465)]({from:e,to:i});o[r(216)]=t,o[r(436)]=n,o.id=s;const a=this[r(459)](o);return this[r(417)]&&this[r(416)](o.id,o,!0),a}[ft(178)](){const t=ft;this[t(380)][t(314)][t(227)](t(349))[t(200)]({model:t(230)})}}function pt(){const t=["revisionHistoryLicenseKeyDomainLimit","creator","howMany","revision:","_initialRevisionId","values","_baseRoots","sendBufferedUpdates","isReady","licenseKey","_copyMarkers","getTransformedByOperation","range","add","getRevisionRootsAttributes","insertionPosition","vid_start","markers","createPositionBefore","attributesAfter","4913604NqkERl","_diffRoots","reverse","rootsAttributes","attributesBefore","NEGATIVE_INFINITY","_showLicenseError","getRoot","currentRevision","_makeRevision","getUser","_generateTape","Empty document","_utils","position","830wHdyZD","newValue","initialData","_source","end","model","requires","getRevision","clone","_revisionId","_addPendingAction","editor-initial-data-replaced-with-revision-data","_fixRange","9SMdbpv","_isPendingUpdate","isAdd","fromEntries","_clone","marker","conversion","addRevision","string","_getBaseVids","_revisionDataBuilder","from","sourcePosition","max","_fixPosition","remove","RevisionsRepository","getCustomProperties","createRange","hasContent","_transformMarkers","deletion","createRangeIn","$graveyard","isPremiumPlugin","root","dataToMarker","reInit","insert","offset","1669059fZhVNt","_getTypeCharForViewElement","_insertChild","resolve","affectsData","revisionHistoryLicenseKeyTrialLimit","update","targetPosition","_licenseKeyCheckInterval","getChildren","type","dataDowncast","_getViewJson","deletions","_handleMoveOperation","tableCell","fillerOffset","clear","vid","diffData","RevisionHistoryUtils","_calculateMetaData","keys","revisionHistoryLicenseKeyExpired","$comment","isEqual","userId","item","loadState","documentFragment","createdAt","_processRootBeforeSave","invalid","history","_isInit","_saveMetaData","toVersion","_startingRevisionId","updateRevisions","_continueCurrentRevision","bind","reinsert","editor","featureNotAllowed","isOfficialPlugin","_applyOperations","includes","splitPosition","revisionHistoryLicenseKeyInvalid","_createInitialRevision","map","finally","elementStart","offsetSize","_diffRootsAttributes","_markChanges","config","_getPreviousFrom","_handleOperation","1802336jUGGfC","isAttached","merge","getCurrentRevisionId","childCount","then","start","path","delete","$text","version","size","_removeMetaData","graveyardPosition","setRevisionData","element","innerHTML","ready","_createFromRanges","_bufferUpdate","adapter","_cloneOperation","_authorId","collaboration.channelId","nodes","_replaceEditorDataWithRevisionData","trialLimit","revisionHistoryLicenseKeyEvaluationLimit","351860wuRNdQ","htmlProcessor","Users","rawElement","PendingActions","_appendChild","_getVidAttributeName","_bufferedUpdates","_markers","RealTimeCollaborationClient","children","creatorId","loadRevisionData","getRootNames","saveRevision","domConverter","locale","_lastTo","setSource","length","outerHTML","_pendingAction","render","getIndex","getFillerOffset","filter","_findInsertionIndex","push","_touched","authors","_execute","customProperties","createRevision","has","addRevisionData","get","_getState","Initial revision","getWalker","isEnabled","buildRevisionData","define","sort","_makeModelFromViewString","getNodeByPath","createPositionAt","text","document","_lastFrom","_loadState","_startingVersion","insertions","oldRange","plugins","_removePendingAction","slice","_getFromVersion","trim","pluginName","_savedMetaData","attachChange","elementEnd","split","_baseIdsRoots","stickiness","authorsIds","find","_fixOperation","_update","createElement","stringify","RevisionHistory","rootName","baseVersion","_baseRootsAttributes","_setConversion","parent","insertion","set","createPositionAfter","_isAttached","initial","_createCurrentRevision","changeRootAttribute","RevisionTracker","keepParagraph","_prepareViewToSave","getOperations","getAttribute","previousPosition","roots","_handleRootAttributeOperation","355462JqwERX","_makeIdsRoot","key","revisionHistoryLicenseKeyNotAllowed","shift","markerToData","vid_end","domDocument","_idsRoots","_operations","_loadedStateData","getOperation","_handleMergeOperation","getRevisionDocumentData","572248uxuzJd","uiElement","afterInit","revisionHistoryLicenseKeyUsageLimit","some","source","_handleSplitOperation","name","fromVersion","getRevisions","detachRoot","getAncestors","paragraph","_touchedMarkers","createPositionFromPath","nodeAfter","_reset","init","for","18048FVFbwg","expired","revision","move","getLatestVersion","getData","data","repository","removeRootAttribute","newRange","_setAttribute","getChild","getAttributes","toView","destroy","PENDING_ACTION_REVISION_HISTORY","_touchedRoots","getMovedRangeStart","_handleInsertOperation","domainLimit","revisionHistory.resumeUnsavedRevision","getRange","addRootAttribute","startsWith","getTime","upcast","_handleMarkerOperation","revisionHistoryLicenseKeyValid","addRoot","evaluationLimit","usageLimit","_handleRootOperation"];return(pt=function(){return t})()}class vt{[ft(380)];[ft(214)];[ft(484)];[ft(473)];[ft(442)];[ft(433)];[ft(281)];[ft(392)];[ft(266)];[ft(177)];[ft(203)];[ft(488)];[ft(453)];[ft(222)];[ft(244)];[ft(304)];[ft(375)];constructor(t){const e=ft;this[e(380)]=t,this[e(484)]=new Map,this[e(473)]=-1,this[e(442)]=-1,this[e(433)]=new Map,this[e(281)]=new Map,this[e(392)]=new Map,this[e(266)]=new Map,this[e(177)]=new Map,this[e(203)]=new Map,this[e(488)]=new Map,this[e(453)]=new Map,this[e(222)]=new Map,this[e(244)]=new Map,this[e(304)]=1}[ft(226)](t){const e=ft;this[e(214)]=t;const i=new Map,n=new Map,s=this[e(380)][e(300)][e(472)][e(193)][e(388)](t=>t[e(175)]);for(const t of s){const s=this[e(380)][e(300)][e(472)][e(287)](t),r=gt(s);i[e(181)](t,r),n[e(181)](t,Object[e(311)](s[e(240)]()))}const r=Array[e(319)](this[e(380)][e(300)][e(277)])[e(388)](t=>[t[e(216)],t[e(249)]()]),o=this[e(214)][e(407)];this[e(373)](o,i,r,n),this[e(375)]=this[e(304)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(181)](t,i),c[e(181)](t,{})}this[e(373)](Number[e(285)],a,[],c)}[ft(233)](t,e){const i=ft;if(this[i(473)]===t&&this[i(442)]<=e)this[i(484)][i(408)]>1&&this[i(409)](this[i(442)]),this[i(383)](this[i(442)],e,!0);else{if(!this[i(484)][i(458)](t)){const e=this[i(395)](t);this[i(359)](e,t,!1)}this[i(359)](t,e,!0)}return this[i(473)]=t,this[i(442)]=e,this[i(461)]()}[ft(366)](t){const e=ft;if(!this[e(484)][e(458)](t[e(217)])){const i=this[e(395)](t[e(217)]);this[e(359)](i,t[e(217)],!1)}this[e(359)](t[e(217)],t[e(374)],!1);const i=this[e(380)][e(478)][e(460)](e(358));this[e(225)](),this[e(473)]=t[e(217)],this[e(442)]=t[e(374)];for(const n in t[e(357)]){const s=t[e(357)][n][e(485)],r=R(t[e(357)][n][e(284)])||{},o=i[e(468)](t[e(357)][n][e(351)]);o[e(175)]=n,o[e(183)]=!s||!s[e(398)],o[e(398)]=()=>o[e(183)],this[e(266)][e(181)](n,o),this[e(177)][e(181)](n,r),s&&this[e(244)][e(181)](n,s);const a=this[e(196)](o);this[e(488)][e(181)](n,a);for(const[t,i]of o[e(277)]){if(!t[e(251)](e(263)))continue;const n=t[e(487)](":")[2];for(const t of i[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),s=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)],r=a[e(469)](s)[e(191)](i);this[e(453)][e(181)](r,{userId:n})}o[e(277)][e(405)](t)}}this[e(375)]=this[e(304)];const n=[...Array(this[e(304)])[e(360)]()][e(480)](1)[e(450)](t=>!this[e(453)][e(458)](t));let s=0;const r=new Map;for(const o in t[e(357)]){const a=t[e(357)][o][e(485)],c=R(t[e(357)][o][e(279)])||{},u=i[e(468)](t[e(357)][o][e(476)]);u[e(175)]=o,u[e(183)]=!a||a[e(398)],u[e(398)]=()=>u[e(183)],this[e(281)][e(181)](o,u),this[e(392)][e(181)](o,c);const l=this[e(196)](u,Number[e(285)]);this[e(203)][e(181)](o,l),r[e(181)](o,u[e(398)]()?c:{});for(const[t,i]of u[e(277)]){if(!t[e(251)](e(263)))continue;const n=t[e(487)](":")[2];for(const t of i[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),s=this[e(304)]++,r=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)];l[e(469)](r)[e(238)](i,s),this[e(453)][e(181)](s,{userId:n})}u[e(277)][e(405)](t)}for(const t of this[e(380)][e(300)][e(330)](u)[e(463)]({singleCharacters:!0})){const i=this[e(431)](t),r=e(486)==t[e(348)]?t[e(192)][e(404)][e(480)](0,-1):t[e(192)][e(404)],o=l[e(469)](r);o[e(191)](i)>0||o[e(238)](i,n[s++])}for(const[t,i]of u[e(277)])t[e(251)](e(263))||this[e(433)][e(181)](t,i)}const{roots:o}=this[e(484)][e(460)](t[e(217)]),{roots:a}=this[e(484)][e(460)](t[e(374)]),c=gt(o[e(460)](e(331)));this[e(266)][e(181)](e(331),c),this[e(488)][e(181)](e(331),this[e(196)](c,Number[e(285)]));const u=gt(a[e(460)](e(331)));this[e(281)][e(181)](e(331),u),this[e(203)][e(181)](e(331),this[e(196)](u));const l=Array[e(319)](this[e(281)])[e(388)](([t,e])=>[t,gt(e)]);this[e(373)](this[e(442)],l,this[e(433)],r)}[ft(335)](){const t=ft;this[t(225)](),this[t(473)]=-1,this[t(442)]=-1,this[t(484)][t(355)](),this[t(226)](this[t(214)])}[ft(373)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(181)](t,{start:e[s(403)][s(303)](),end:e[s(299)][s(303)](),rootName:e[s(333)][s(175)]});this[s(484)][s(181)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(409)](t){const e=ft;this[e(484)][e(405)](t)}[ft(225)](){const t=ft;this[t(453)][t(355)](),this[t(222)][t(355)](),this[t(244)][t(355)](),this[t(281)][t(355)](),this[t(392)][t(355)](),this[t(266)][t(355)](),this[t(177)][t(355)](),this[t(203)][t(355)](),this[t(488)][t(355)](),this[t(433)][t(355)](),this[t(304)]=1,this[t(375)]=this[t(304)]}[ft(196)](t,e=null){const i=ft;let n=null;t.is(i(367))||(n=new X.ModelElement(t[i(216)],{vid_start:null===e?this[i(304)]++:e++}));const s=[];for(const n of t[i(347)]())if(n.is(i(412))){s[i(452)](this[i(196)](n,e));const t=s[s[i(444)]-1];null!==e&&(e=t.is(i(412),i(406))?t[i(191)](i(356))+1:t[i(191)](i(201))+1)}else for(let t=0;t<n[i(391)];t++)s[i(452)](new X.ModelElement(i(406),{vid:null===e?this[i(304)]++:e++}));if(t.is(i(367))){const e=yt(t[i(175)]);return e[i(340)](0,s),e}return n[i(238)](i(201),null===e?this[i(304)]++:e++),n[i(340)](0,s),n}[ft(359)](t,e,i){const n=ft;this[n(225)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(484)][n(460)](t);this[n(266)]=new Map(s),this[n(177)]=new Map(R(o));for(const[t,e]of this[n(266)])if(n(331)!==t&&(this[n(281)][n(181)](t,gt(e)),this[n(392)]=new Map(R(o)),i)){const i=this[n(304)];this[n(203)][n(181)](t,this[n(196)](e)),this[n(488)][n(181)](t,this[n(196)](e,i))}this[n(375)]=this[n(304)],this[n(281)][n(181)](n(331),gt(this[n(266)][n(460)](n(331)))),i&&this[n(203)][n(181)](n(331),this[n(196)](this[n(266)][n(460)](n(331))));for(const[t,e]of r){const i=this[n(266)][n(460)](e[n(175)]),s=this[n(281)][n(460)](e[n(175)]),r=new X.ModelRange(this[n(322)](e[n(403)],i),this[n(322)](e[n(299)],i)),o=this[n(307)](r,s);i[n(277)][n(181)](t,r),this[n(433)][n(181)](t,o)}this[n(383)](t,e,i)}[ft(383)](t,e,i){const n=ft;for(const s of this[n(214)][n(190)](t,e))this[n(396)](s,i);for(const t of this[n(281)][n(265)]())t[n(277)][n(355)]();for(const[t,e]of this[n(433)])this[n(281)][n(460)](e[n(333)][n(175)])[n(277)][n(181)](t,e[n(303)]());const s=new Map,r=new Map;for(const[t,e]of this[n(281)])s[n(181)](t,gt(e)),r[n(181)](t,this[n(392)][n(460)](t));this[n(373)](e,s,this[n(433)],r)}[ft(395)](t){const e=ft,i=Array[e(319)](this[e(484)][e(360)]());i[e(467)]((t,e)=>t-e),i[e(282)]();for(const e of i)if(e<t)return e;return Number[e(285)]}[ft(270)](t,e){const i=ft,n=Array[i(319)](e[i(277)])[i(388)](([e,n])=>[e,this[i(307)](n,t)]);t[i(277)]=new Map(n)}[ft(328)](t){const e=ft;for(const i of this[e(433)][e(265)]()){const n=i[e(271)](t),s=X.ModelRange[e(415)](n);i[e(403)]=s[e(403)],i[e(299)]=s[e(299)]}}[ft(396)](t,e){const i=ft;if(i(256)!=t[i(348)]&&i(219)!=t[i(348)]){if(i(336)==t[i(348)]){const n=t[i(294)][i(333)][i(175)];this[i(281)][i(458)](n)||(this[i(281)][i(181)](n,yt(n,!0)),this[i(392)][i(181)](n,{}),e&&this[i(203)][i(181)](n,yt(n,!0)))}else{if(i(250)==t[i(348)]||i(236)==t[i(348)]||i(186)==t[i(348)])return void this[i(194)](t);i(313)==t[i(348)]&&this[i(254)](t)}if(i(313)!==t[i(348)]){const e=this[i(418)](t,this[i(281)]);e[i(455)](),this[i(328)](e)}if(e)switch(t[i(348)]){case i(336):this[i(246)](t);break;case i(231):case i(323):case i(379):this[i(352)](t);break;case i(399):this[i(207)](t);break;case i(487):this[i(215)](t)}}else this[i(259)](t,e)}[ft(418)](t,e){const i=ft,n=t[i(303)]();return n[i(419)]=t[i(419)],this[i(492)](n,e),n}[ft(317)](t){const e=ft;return t[e(388)](t=>{const i=e,n=this[i(431)](t);return Number(t[i(365)][i(191)](n))})}[ft(291)](t,e){const i=ft;if(t.is(i(412),i(406)))e[i(452)]({item:t,type:i(471)});else{t.is(i(412))&&e[i(452)]({item:t,type:i(390)});for(const n of t[i(347)]())this[i(291)](n,e);t.is(i(412))&&e[i(452)]({item:t,type:i(486)})}return e}[ft(461)](){const t=ft,e=new Map(this[t(453)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(266)][t(360)](),...this[t(281)][t(360)]()]);a[t(405)](t(331));for(const e of a){const i=this[t(281)][t(460)](e)||yt(e,!1),n=this[t(266)][t(460)](e)||yt(e,!1);i[t(398)]()||n[t(398)]()?(s[t(476)][e]=gt(i),s[t(351)][e]=gt(n),this[t(270)](s[t(351)][e],n),this[t(270)](s[t(476)][e],i),r[t(476)][e]=this[t(291)](this[t(203)][t(460)](e),[]),r[t(351)][e]=this[t(291)](this[t(488)][t(460)](e)||yt(e,!1),[])):a[t(405)](e)}for(const s of a){const o=r[t(476)][s];for(const s of o){const r=this[t(431)](s),o=s[t(365)][t(191)](r);i[t(405)](o),o>=this[t(375)]&&n[t(181)](o,e[t(460)](o))}}for(const s of a){const a=r[t(476)][s],c=this[t(317)](r[t(351)][s]);let u=0;for(const s of a){const r=this[t(431)](s),a=s[t(365)][t(191)](r);if(!n[t(458)](a)&&!o[t(458)](a))if(i[t(458)](a))u++;else{if(a!=c[u]){const n=e[t(460)](a)||e[t(460)](c[u]);for(;a!=c[u];)i[t(458)](c[u])||(o[t(181)](c[u],n),e[t(181)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(476)][e];for(const e of s){const s=this[t(431)](e),r=e[t(365)][t(191)](s);if(o[t(458)](r)){const e=o[t(460)](r);i[t(458)](r)||i[t(181)](r,{...e}),n[t(181)](r,{...e})}}}for(const e of i[t(360)]())e>=this[t(375)]&&i[t(405)](e);const c=new Map;for(const e of a){let s=r[t(476)][e];for(const e of s)if(e[t(365)].is(t(412),t(353))){const i=this[t(431)](e),s=e[t(365)][t(191)](i);if(n[t(458)](s)){const i=e[t(365)][t(179)][t(179)][t(191)](t(276)),r=c[t(460)](i)||new Set;r[t(273)](n[t(460)](s)[t(364)]),c[t(181)](i,r)}}s=r[t(351)][e];for(const e of s)if(e[t(365)].is(t(412),t(353))){const n=this[t(431)](e),s=e[t(365)][t(191)](n);if(i[t(458)](s)){const n=e[t(365)][t(179)][t(179)][t(191)](t(276)),r=c[t(460)](n)||new Set;r[t(273)](i[t(460)](s)[t(364)]),c[t(181)](n,r)}}for(const e of c[t(360)]())(n[t(458)](e)||i[t(458)](e))&&c[t(405)](e)}for(const e of a){const s=r[t(476)][e];let o=null,a=null;for(const e of s){const s=this[t(431)](e),r=e[t(365)][t(191)](s),u=c[t(460)](r);u&&t(390)==e[t(348)]&&(o=Array[t(319)](u)[0],a=e[t(365)][t(191)](t(201))),o&&(i[t(181)](r,{userId:o}),n[t(181)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(351)][e],a=s[t(476)][e];for(const{userId:e}of this[t(222)][t(265)]())null!==e&&l[t(273)](e);for(const{userId:e}of this[t(244)][t(265)]())null!==e&&l[t(273)](e);this[t(393)](a,r[t(476)][e],n,t(180),l),this[t(393)](o,r[t(351)][e],i,t(329),l),u[e]={insertions:this[t(189)](a),deletions:this[t(189)](o),attachChange:this[t(244)][t(460)](e)||null,attributesBefore:R(this[t(177)][t(460)](e))||{},attributesAfter:R(this[t(392)][t(460)](e))}}return{diffData:u,authorsIds:Array[t(319)](l)}}[ft(369)](t){const e=ft;for(const[,i]of t[e(277)]){const t=i[e(403)][e(220)]()[e(450)](t=>e(353)==t[e(216)]);for(const i of t)1==i[e(401)]&&i[e(239)](0).is(e(412),e(221))&&i[e(239)](0)[e(238)](e(188),!0)}}[ft(189)](t){const e=ft;this[e(369)](t);const i=this[e(380)][e(234)][e(241)](t,{}),n=Array[e(319)](i[e(347)]())[e(388)](t=>this[e(350)](t));return JSON[e(495)](n)}[ft(350)](t){const e=ft;if(t.is(e(406)))return t[e(234)];{const i=this[e(380)][e(478)][e(460)](e(358)),n=t,s=this[e(380)][e(234)][e(426)][e(440)],r={type:i[e(339)](n),name:n[e(216)],attributes:Array[e(319)](n[e(240)]()),children:Array[e(319)](n[e(347)]())[e(388)](t=>this[e(350)](t))};if(t.is(e(210))&&e(362)!=t[e(216)]){const i=t[e(447)](s[e(202)],s);r[e(435)][e(452)](i[e(445)])}else if(t.is(e(428))){const i=s[e(202)][e(494)](n[e(216)]);t[e(447)](i,s),r[e(435)][e(452)](i[e(413)])}const o=Array[e(319)](n[e(325)]());o[e(444)]>0&&(r[e(456)]=o);const a=n[e(449)]();return null!==a&&(r[e(354)]=a),r}}[ft(393)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(380)][r(300)];for(let n=0;n<e[r(444)];n++){const s=this[r(431)](e[n]),c=e[n][r(365)][r(191)](s),h=i[r(460)](c),d=n==e[r(444)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(364)]!=o[r(364)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(364)],d=l(263)+n+":"+h+":"+c++,f=u[l(326)](i,a);t[l(277)][l(181)](d,f),null!==h&&s[l(273)](h)}}[ft(431)](t){const e=ft;switch(t[e(348)]){case e(390):return e(276);case e(486):return e(201);default:return e(356)}}[ft(492)](t,e){const i=ft;t[i(176)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(460)](s[i(333)][i(175)]);t[n]=this[i(322)](s,r)}if(s instanceof X.ModelRange){const r=e[i(460)](s[i(333)][i(175)]);t[n]=this[i(307)](s,r)}i(333)===n&&(t[i(333)]=e[i(460)](t[i(333)][i(175)]))}}[ft(307)](t,e){const i=ft;return this[i(380)][i(300)][i(326)](this[i(322)](t[i(403)],e),this[i(322)](t[i(299)],e))}[ft(322)](t,e){const i=ft;return this[i(380)][i(300)][i(223)](e,t[i(404)],t[i(489)])}[ft(246)](t){const e=ft,i=this[e(203)][e(460)](t[e(294)][e(333)][e(175)]),n=this[e(322)](t[e(294)],i),s=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,r=n[e(179)],o=this[e(304)],a=[];for(const i of t[e(421)])if(i.is(e(412)))a[e(452)](this[e(196)](i));else for(let t=0;t<i[e(391)];t++)a[e(452)](new X.ModelElement(e(406),{vid:this[e(304)]++}));const c=this[e(304)];for(let t=o;t<c;t++)this[e(453)][e(181)](t,{userId:s});r[e(340)](n[e(337)],a)}[ft(352)](t){const e=ft;(t=this[e(418)](t,this[e(203)]))[e(455)]();const i=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(245)](),s=n[e(179)],r=n[e(337)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(239)](e);r.is(a(412),a(406))?n[a(181)](r[a(191)](a(356)),{userId:i}):(n[a(181)](r[a(191)](a(276)),{userId:i}),t(n,r,0,r[a(401)]),n[a(181)](r[a(191)](a(201)),{userId:i}))}}(this[e(453)],s,r,r+t[e(262)])}[ft(207)](t){const e=ft,i=null===(t=this[e(418)](t,this[e(203)]))[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(345)][e(179)],s=t[e(320)][e(179)],r=n[e(191)](e(201)),o=s[e(191)](e(276));n[e(238)](e(201),s[e(191)](e(201))),s[e(238)](e(201),r),this[e(453)][e(181)](o,{userId:i}),this[e(453)][e(181)](r,{userId:i}),t[e(455)]()}[ft(215)](t){const e=ft,i=null===(t=this[e(418)](t,this[e(203)]))[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,n=t[e(410)],s=t[e(385)][e(179)];t[e(455)]();const r=s[e(191)](e(201)),o=t[e(275)][e(224)];if(n){const t=o[e(191)](e(201)),n=s[e(191)](e(201));s[e(238)](e(201),t),o[e(238)](e(201),n),this[e(453)][e(181)](s[e(191)](e(201)),{userId:i}),this[e(453)][e(181)](o[e(191)](e(276)),{userId:i})}else{const t=this[e(304)]++,n=this[e(304)]++;s[e(238)](e(201),t),o[e(238)](e(276),n),o[e(238)](e(201),r),this[e(453)][e(181)](t,{userId:i}),this[e(453)][e(181)](n,{userId:i})}}[ft(254)](t){const e=ft;if(!t[e(342)])return;const i=(t=this[e(418)](t,this[e(281)]))[e(477)]?t[e(477)][e(333)]:null,n=t[e(237)]?t[e(237)][e(333)]:null;i&&this[e(433)][e(405)](t[e(216)]),n&&this[e(433)][e(181)](t[e(216)],t[e(237)][e(303)]());const s=null===t[e(419)]?null:t[e(419)]||this[e(380)][e(478)][e(460)](e(427)).me.id,r=t[e(216)];if(!this[e(222)][e(458)](r))return void this[e(222)][e(181)](r,{range:t[e(477)],userId:s});const o=this[e(222)][e(460)](r),a=o[e(272)],c=t[e(237)];null==a&&null==c||a&&c&&a[e(363)](c)?this[e(222)][e(405)](t[e(216)]):o[e(364)]=s}[ft(259)](t,e){const i=ft;this[i(281)][i(458)](t[i(175)])?this[i(281)][i(460)](t[i(175)])[i(183)]=t[i(310)]:(this[i(281)][i(181)](t[i(175)],yt(t[i(175)],!0)),this[i(392)][i(181)](t[i(175)],{}),e&&this[i(203)][i(181)](t[i(175)],yt(t[i(175)],!0)));const n=null===t[i(419)]?null:t[i(419)]||this[i(380)][i(478)][i(460)](i(427)).me.id,s=this[i(244)][i(460)](t[i(175)]);s&&s[i(364)]===n?this[i(244)][i(405)](t[i(175)]):this[i(244)][i(181)](t[i(175)],{userId:n,isAttached:t[i(310)]})}[ft(194)](t){const e=ft,i=this[e(392)][e(460)](t[e(333)][e(175)]);null===t[e(296)]?delete i[t[e(197)]]:i[t[e(197)]]=t[e(296)]}}function gt(t){const e=ft,i=yt(t[e(175)],t[e(398)]());for(const n of t[e(347)]()){const t=n[e(312)](!0);i[e(430)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(175)]=t,n[i(183)]=e,n[i(398)]=()=>n[i(183)],n}function kt(t,e){const i=pt();return(kt=function(t,e){return i[t-=175]})(t,e)}function bt(t,e,i){const n=ft,s=n(486)==t[n(348)]?i[n(470)](t[n(365)],n(299)):i[n(278)](t[n(365)]);return i[n(223)](e,s[n(404)],s[n(489)])}function wt(t,e,i){const n=ft,s=n(390)==t[n(348)]?i[n(470)](t[n(365)],0):i[n(182)](t[n(365)]);return i[n(223)](e,s[n(404)],s[n(489)])}var _t=i(355),It=i(311),St=i(450),Ot=i.n(St),Tt=i(774),Nt=i.n(Tt),xt=i(265),At=i.n(xt),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=Nt(),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=Nt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=320]})(t,e)}const Pt=Lt;function zt(){const t=["2831970rFCZXT","ck-responsive-form","7cviSYJ","arrowleft","arrowup","listenTo","extendTemplate","revisionNameInputView","arrowdown","revisionName","setTemplate","reset","keystrokes","errorText","initializeCssTransitionDisablerMixin","98vaXZau","fieldView","89316UPEORF","_createRevisionNameInput","optional","794ePuDFu","5294816EkWRvR","148VDjeag","ck-revision-history-save-revision-form","872180FcQZJj","locale","revisionNameInputValue","stopPropagation","Name of the revision","element","value","trim","set","3593095aeDLCY","focusTracker","30669cpBpsl","render","focus","913dtmwGO","arrowright","add","input","9hTUMpU","label","220","form"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(904758===parseInt(e(332))/1*(-parseInt(e(337))/2)+-parseInt(e(352))/3*(parseInt(e(339))/4)+parseInt(e(350))/5+parseInt(e(363))/6+-parseInt(e(365))/7*(-parseInt(e(338))/8)+parseInt(e(359))/9*(parseInt(e(341))/10)+parseInt(e(355))/11*(-parseInt(e(334))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(351)];[Pt(329)];[Pt(324)];constructor(e,i){const n=Pt;super(e),this[n(351)]=new t.FocusTracker,this[n(329)]=new t.KeystrokeHandler,this[n(349)](n(343),""),this[n(324)]=this[n(335)](i),this[n(327)]({tag:n(362),attributes:{class:["ck",n(340),n(364)],tabindex:"-1"},children:[this[n(324)]]}),this[n(331)]()}[Pt(353)](){const t=Pt;super[t(353)](),(0,It.submitHandler)({view:this}),this[t(351)][t(357)](this[t(324)][t(346)]),this[t(329)][t(322)](this[t(346)]);const e=e=>e[t(344)]();this[t(329)][t(349)](t(356),e),this[t(329)][t(349)](t(320),e),this[t(329)][t(349)](t(321),e),this[t(329)][t(349)](t(325),e)}[Pt(354)](){const t=Pt;this[t(324)][t(354)]()}get[Pt(326)](){const t=Pt;return this[t(324)][t(333)][t(346)][t(347)][t(348)]()}set[Pt(326)](t){const e=Pt;this[e(324)][e(333)][e(346)][e(347)]=t[e(348)]()}[Pt(328)](){const t=Pt;this[t(324)][t(333)][t(346)][t(347)]="",this[t(324)][t(330)]=null}[Pt(335)](t){const e=Pt,i=new It.LabeledFieldView(this[e(342)],It.createLabeledInputText),n=i[e(333)];n[e(323)]({attributes:{maxlength:e(361)}});let s=at(this[e(342)],e(345));return!t&&(s+=" ("+at(this[e(342)],e(336))+")"),i[e(360)]=s,n.on(e(358),()=>{const t=e;this[t(343)]=n[t(346)][t(347)][t(348)]()}),i}}const Wt=Ht;function Zt(){const t=["reset","isEnabled","14GBIMAc","submit","_registerMenuComponent","menu","Cancel","config","isOfficialPlugin","locale","show","Dialog","menuBar:revisionHistory","set","RevisionTracker","Revision history","init","requires","pluginName","add","isPremiumPlugin","revisionNameInputView","bind","editing","isReady","buttonView","focus","487416IDlVjj","_saveRevisionFormView","revisionHistory","The revision name cannot be empty.","items","_showDialog","showRevisionViewerCallback","componentFactory","revisionName","role","185109lqQUFH","menuitem","isOpen","editor","hide","1282428UhSbfa","_createSaveRevisionFormView","12EieBnp","1822662apxyqv","delegate","children","addMany","Open revision history","render","panelView","RevisionHistoryUI","449330RLvkeO","plugins","ck-button-action","errorText","revisionSave","Save current revision","get","saveRevision","revisionHistory.requireRevisionName","777372WMAbeu","Accept","view","execute","15793ABdHko","isReadOnly"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=456]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(156473===-parseInt(e(491))/1*(-parseInt(e(495))/2)+-parseInt(e(462))/3*(-parseInt(e(469))/4)+-parseInt(e(478))/5+-parseInt(e(487))/6+-parseInt(e(467))/7+parseInt(e(520))/8+parseInt(e(470))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends J.Plugin{static get[Wt(511)](){return Wt(477)}static get[Wt(501)](){return!0}static get[Wt(513)](){return!0}static get[Wt(510)](){return[mt]}[Wt(521)];[Wt(509)](){const t=Wt,e=this[t(465)],i=e[t(479)][t(484)](t(507));e.ui[t(459)][t(512)](t(522),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(476)][s(472)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(515)](s(494)).to(i,s(517),i,s(494),e,s(492),(t,e,i)=>t&&e&&!i),r[s(518)][s(506)]({icon:_t.IconHistory,label:at(n,s(508)),tooltip:!0}),u[s(506)]({label:at(n,s(483)),withText:!0,role:s(463)}),u[s(515)](s(494)).to(i,s(517),i,s(494),e,s(492),(t,e,i)=>t&&e&&!i),u.on(s(490),()=>this[s(457)]()),h[s(506)]({label:at(n,s(474)),withText:!0,role:s(463)}),h[s(515)](s(494)).to(i,s(517),e,s(492),(t,e)=>t&&!e),h.on(s(490),()=>{const t=s;e[t(500)][t(484)](t(522))[t(458)](),r[t(464)]=!1,e[t(516)][t(489)][t(519)]()}),c[s(472)][s(512)](u),l[s(472)][s(512)](h),a[s(461)]=s(498),a[s(456)][s(473)]([c,l]),o[s(512)](a),r}),e.ui[t(459)][t(512)](t(505),()=>this[t(497)]())}[Wt(497)](){const t=Wt,e=this[t(465)],i=e[t(502)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(518)][t(506)]({icon:_t.IconHistory,label:at(i,t(508))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(506)]({label:at(i,t(483))}),o[t(471)](t(490)).to(n),o.on(t(490),()=>{this[t(457)]()}),r[t(472)][t(512)](o),s[t(456)][t(512)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(506)]({label:at(i,t(474))}),c[t(471)](t(490)).to(n),c.on(t(490),()=>{const i=t;e[i(500)][i(484)](i(522))[i(458)]()}),a[t(472)][t(512)](c),s[t(456)][t(512)](a),n[t(476)][t(472)][t(512)](s),n}[Wt(457)](){const t=Wt,e=this[t(465)],i=e[t(502)],n=e[t(479)][t(484)](t(504)),s=e[t(479)][t(484)](t(507));function r(s){const r=t;e[r(500)][r(484)](r(486))&&""===s[r(460)]?s[r(514)][r(481)]=at(i,r(523)):(e[r(479)][r(484)](mt)[r(485)]({name:s[r(460)]}),n[r(466)]())}this[t(521)]||(this[t(468)](),this[t(521)].on(t(496),()=>r(this[t(521)]))),this[t(521)][t(493)](),n[t(503)]({id:t(482),title:at(i,t(483)),isModal:!0,content:this[t(521)],actionButtons:[{label:at(e[t(502)],t(499)),withText:!0,onExecute:()=>n[t(466)]()},{label:at(e[t(502)],t(488)),class:t(480),withText:!0,onCreate(i){const n=t;i[n(515)](n(494)).to(s,n(517),s,n(494),e,n(492),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(521)])}]})}[Wt(468)](){const t=Wt,e=this[t(465)],i=e[t(502)];this[t(521)]=new Ut(i,e[t(500)][t(484)](t(486))),this[t(521)][t(475)]()}}const $t=Yt;function Bt(){const t=["focus","data","3885VHPNQT","Suggested by","element","133076xQHknV","10ctvANF","bindTemplate","ck-revision-change__label","add","4870CkCapo","changeId","4045896yhpPNw","22725VsZBGJ","set","ck-revision-change","969704QfkKig","45940lEDYHu","setTemplate","div","Removed by","span","75jLUjbO","23654873FqZYGy","type","isSuggestion","name","author","_model","ck-revision-change__","ck-annotation","9832ogVzKf","Added by"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(658117===parseInt(e(280))/1+-parseInt(e(292))/2*(-parseInt(e(297))/3)+-parseInt(e(291))/4*(parseInt(e(281))/5)+parseInt(e(287))/6+-parseInt(e(310))/7*(-parseInt(e(306))/8)+parseInt(e(288))/9*(parseInt(e(285))/10)+-parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends It.View{[$t(286)];[$t(303)];constructor(t,e){const i=$t;super(t),this[i(303)]=e,this[i(286)]=e.id;const n=this[i(282)],s=at(t,e[i(309)][i(300)]?i(311):i(284)==e[i(299)]?i(307):i(295));this[i(289)](i(299),e[i(299)]),this[i(293)]({tag:i(294),attributes:{class:[i(305),i(290),n.to(i(299),t=>i(304)+t)],tabindex:-1},children:[{tag:i(296),children:[{tag:i(296),attributes:{class:[i(283)]},children:[{text:s}]},{text:" "+e[i(302)][i(301)]}]}]})}[$t(308)](){const t=$t;this[t(279)][t(308)]()}}function Jt(){var t=["3043944QiEVic","161Ccgqwx","toJSON","data","rootName","597186goZoRC","20OOooaf","60872oYaGOi","author","10LnYaCD","224998MthnsN","type","7446870MkIpdq","set","6eAFOiD","createdAt","10629069QODAqE","923370GyEVdK"];return(Jt=function(){return t})()}var Kt=Xt;function Xt(t,e){var i=Jt();return(Xt=function(t,e){return i[t-=458]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(490182===parseInt(e(462))/1*(-parseInt(e(466))/2)+-parseInt(e(469))/3+parseInt(e(470))/4+-parseInt(e(458))/5*(-parseInt(e(475))/6)+-parseInt(e(471))/7*(-parseInt(e(459))/8)+-parseInt(e(464))/9+-parseInt(e(461))/10*(-parseInt(e(468))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(460)];[Kt(463)];[Kt(473)];[Kt(474)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(460)]=e[i(460)],this[i(463)]=e[i(463)],this[i(473)]=e[i(473)]||{},this[i(474)]=e[i(474)],this[i(465)](i(467),e[i(467)])}[Kt(472)](){var t=Kt;return{id:this.id,authorId:this[t(460)].id,type:this[t(463)],data:this[t(473)],createdAt:this[t(467)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=192]})(t,e)}function ie(){const t=["120bDhIbX","1374965UObjMu","14AroTQM","newRevisionId","11uZJFPt","36mkRrYd","228nPDIvk","4389939XfGViX","6558460yItvsW","add","175424bNmIru","321vBJbNC","12FNYpbd","_setChanges","5597943HdIGlA","oldRevisionId","changes","4156dUVDiW"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(362169===-parseInt(e(206))/1*(parseInt(e(207))/2)+-parseInt(e(200))/3*(parseInt(e(195))/4)+parseInt(e(208))/5*(-parseInt(e(201))/6)+-parseInt(e(209))/7*(-parseInt(e(199))/8)+parseInt(e(196))/9+-parseInt(e(197))/10*(parseInt(e(193))/11)+parseInt(e(194))/12*(parseInt(e(203))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(192)];[te(204)];[te(205)];constructor(e,i){const n=te;this[n(192)]=e,this[n(204)]=i,this[n(205)]=new t.Collection}[te(202)](t){const e=te;for(const i of t)this[e(205)][e(198)](i)}}var se=i(732),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Nt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["push","add","_balloon","revisionHistory","adapter","includes","WidgetToolbarRepository","getItems","_setConversion","test","vid_end","reconvertMarker","_appendChild","numberOfChanges","deletion","viewItem","_markMarkers","rootName","filter","keys","change:activeChange","_getChangeFromId","refresh","getRevision","data","elementToAttribute","createAttributeElement","diffData","suggestion:","data-change-id","unbindElementFromMarkerName","createRevision","isAdded","vid","_sortAndFilterDiffChanges","distance","has","span","3271164UnGpvT","stop","revision:","_changeIdToChange","showPreviousChange","mouseover","text","14wVPyYY","createPositionBefore","POSITIVE_INFINITY","observeMarkers","getCustomProperty","concat","_getDiff","high","getRoot","ck-revision-history-root-","compare","attachChange","isInline","forward","abs","_cleanUp","highest","RevisionViewer","ck-suggestion-preview-marker","nextPosition","requires","activeChange","isBefore","revision","first","_data","domEvent","restoreRevisionCallback","nextSibling","upcast","consume","changes","showNextChange","level","2CKTGpo","showStack","_activeViewTarget","find","element","change:isEnabled","getRootNames","endIndex","vid_start","oldRevisionId","RevisionsRepository","getIndex","ck-revision-history-root-remove","isRemoveSuggestion","parent","offsetSize","editingDowncast","elementStart","isReady","clear","129217AcYYUy","_setDistance","createRangeIn","removeMarker:revision-suggestion","addMarker:revision","backward","_cleanMarkers","consumable","addMarker:revision-suggestion:deletion","_makeModelFromViewString","createUIElement","comment","newRevisionId","markers","attribute:vid","roots","length","domConverter","-new","isBlock","object","values","_markInsertions","_refreshStartEndIndex","forceDisabled","detachRoot","2136GMUBmE","editing","changeId","remove","pop","affectsData","enqueueChange","isAtEnd","ck-suggestion-marker-merge","next","20OcZZkO","removeMarker","deletions","insert","done","suggestion","isIncorrect","left","isEqual","splice","bindElementToMarker","isEnabled","RevisionHistoryUtils","isNavigationMode","setAttribute","getAttributes","13827230oXqgYm","side","revisionHistoryAttachChange","bottom","_revisions","listenTo","merge","low","ck-editor__editable__overlay","maxOffset","range","set","attributesAfter","findIndex","startIndex","isCollapsed","previousPosition","repository","name","checkAttribute","markerName","markerToData","6857255GMuetj","from","destroy","revision-comment:","createRange","insertion","sort","addRevisionData","isAttached","isSuggestion","isRemoved","getDomRoot","toViewPosition","softBreak","_joinTapes","isOfficialPlugin","mapper","insertions","getRevisionRootsAttributes","return","addRevision","_threeWayMerge","isPremiumPlugin","schema","flat","commands","revision-viewer","userId","removeMarker:revision","removeAttribute","execute","mousedown","element:pre","document","ck-suggestion-marker--active","getClientRects","selection","hasClass","mapViewToDom","locale","toViewRange","4221CMETck","_makeTape","change:numberOfChanges","string","right","code","attributes","for","isAtStart","markerRange","activeView","shift","editor","_setChanges","createPositionFromPath","toViewElement","currentChangeNumber","getWalker","dataToMarker","isLimit","change","writer","forEach","all","markersStart","error","downcastDispatcher","config","restoreRevision","revision-suggestion","init","ck-suggestion-marker","conversion","hasAttribute","getAttribute","_findChangeIdFromDomTarget","isObject","uiElement","_getViewForChange","_removeUnsupportedChanges","removeClass","unshift","_step","pluginName","_markSuggestions","addMarker:revision-suggestion:insertion","type","attributesBefore","split","map","authors","markersEnd","_changeView","delete","getLaterVisibleRevision","_removeMissingPairs","item","isAddSuggestion","dataDowncast","addHighlight","_initInteractions","_makeModelFromTape","updatePosition","indexOf","elementEnd","ck-revision-history-root--active","resolve","_getRevisionsRange","startsWith","model","16224isJOCE","bind","addRoot","revision-suggestion:","_markMismatchedRemovedTags","end","_processTape","ck-suggestion-marker-split","markerToHighlight","view","start","_utils","markerNameToElements","ck-revision-history-root-add","top","137463AnwEZP","slice","index","change:activeView","isAfter","wrap","getChild","catch","nodeAfter","plugins","1200716DRhRHq","enableReadOnlyMode","change:isReady","pairId","addClass","isOnRoot","target","getRevisionDocumentData","isContent","loadRevisionData","_fixObsoleteTags","ck-suggestion-preview-marker-","ck-suggestion-marker-","diff","revisionHistoryLabel","modelRange","then","_update","get"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(905869===parseInt(e(341))/1*(parseInt(e(439))/2)+-parseInt(e(331))/3*(-parseInt(e(495))/4)+-parseInt(e(205))/5+-parseInt(e(398))/6*(-parseInt(e(405))/7)+parseInt(e(316))/8*(-parseInt(e(246))/9)+-parseInt(e(511))/10+parseInt(e(459))/11*(parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends J.Plugin{[oe(200)];[oe(364)]=null;[oe(327)];[oe(441)];[oe(298)];[oe(401)];[oe(362)];static get[oe(289)](){return oe(422)}static get[oe(220)](){return!0}static get[oe(227)](){return!0}static get[oe(425)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(200)]=this[e(258)][e(340)][e(359)](e(449)),this[e(327)]=this[e(258)][e(340)][e(359)](e(507)),this[e(194)](e(426),null),this[e(194)](e(256),null),this[e(441)]=null,this[e(194)](e(354),null),this[e(194)](e(457),!1),this[e(194)](e(506),!0),this.on(e(444),(t,i,n)=>{const s=e;this[s(426)]=null,this[s(256)]=null,this[s(258)][s(486)][s(325)][s(266)](t=>{const e=s;for(const i of this[e(258)][e(486)][e(325)][e(238)][e(474)])n?t[e(286)](e(191),i):t[e(345)](e(191),i)})}),this[e(317)](e(508)).to(this,e(426),t=>null!==t),this[e(317)](e(262)).to(this,e(457),this,e(354),this,e(426),(t,i,n)=>t&&n?i[e(436)][e(450)](n):0),this[e(317)](e(373)).to(this,e(457),this,e(354),(t,i)=>t?i[e(436)][e(475)]:0),this[e(298)]=null,this[e(401)]=new Map,this[e(362)]=this[e(258)][e(340)][e(359)](It.ContextualBalloon)}[oe(276)](){const t=oe,e=this[t(258)],i=new de(e,{direction:t(464)}),n=new de(e,{direction:t(418)});e[t(230)][t(361)](t(402),i),e[t(230)][t(361)](t(437),n),e[t(230)][t(361)](t(274),new he(e)),this.on(t(248),()=>{const e=t;i[e(382)](),n[e(382)]()}),this[t(368)](),this[t(306)](),e[t(342)](t(231)),e[t(340)][t(396)](t(366))&&e[t(340)][t(359)](t(366))[t(483)](t(231))}async[oe(348)](t){const e=oe;return await this[e(327)][e(350)](t,this[e(364)]),this[e(327)][e(348)](t)}async[oe(223)](t){const e=oe;return await this[e(327)][e(350)](t,this[e(364)]),this[e(327)][e(223)](t)}async[oe(415)](t,e,i=!1){const n=oe;if(!this[n(506)])return;const s=this[n(354)],r=this[n(200)],o=n(249)==typeof t?r[n(383)](t):t,a=n(249)==typeof e?r[n(383)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(354)]&&this[n(354)][n(471)]===c&&this[n(354)][n(448)]===u)return Promise[n(312)]();this[n(457)]=!1,this[n(256)]=null,this[n(426)]=null,this[n(354)]=new ne(c,u);const l=this[n(313)](o,a,!0)[n(295)](t=>this[n(327)][n(350)](t,this[n(364)]));return l[n(360)](new Promise(t=>{setTimeout(t,20)})),Promise[n(269)](l)[n(357)](()=>{const t=n;if(!this[t(506)])return;this[t(420)]();const e=this[t(411)](c,u);for(const i of e[t(436)])this[t(401)][t(194)](i.id,i);this[t(258)][t(315)][t(491)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(258)][n(315)][n(238)][n(445)]())i[n(484)](t);for(const t of Object[n(379)](e[n(315)])){const s=i[n(318)](t);for(const r of Object[n(379)](e[n(252)][t]))i[n(509)](r,e[n(252)][t][r],s);i[n(498)](e[n(315)][t],s,0)}}),this[t(354)][t(259)](this[t(394)](e[t(436)])),this[t(457)]=!0})[n(338)](t=>{const e=n;console[e(271)](t),this[e(420)](),s&&(this[e(354)]=s),this[e(457)]=!0})}[oe(212)](t,e){const i=oe,n=this[i(200)][i(391)](t);return n.on(i(358),(t,i,s)=>e(i,s,n)),this[i(200)][i(225)](n),n}[oe(420)](){const t=oe;this[t(426)]=null,this[t(465)](),this[t(298)]&&this[t(298)][t(207)](),this[t(298)]=null,this[t(401)][t(458)](),this[t(258)][t(315)][t(491)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(258)][i(315)][i(238)][i(445)]())e[i(484)](t)})}[oe(394)](t){const e=oe,i=[],n=new Map;for(const t of this[e(258)][e(315)][e(238)][e(445)]()){const s=this[e(258)][e(486)][e(325)][e(216)](t);if(!s)continue;const r=s[e(240)]()[e(302)](0);r&&(i[e(360)](t),n[e(194)](t,r))}return i[e(211)]((t,i)=>{const s=e,r=n[s(359)](t),o=n[s(359)](i);return r.y-o.y||r.x-o.x}),(t=t[e(378)](t=>i[e(365)](t[e(377)])))[e(211)]((t,n)=>i[e(309)](t[e(377)])-i[e(309)](n[e(377)])),t}[oe(247)](t){const e=oe,i=Array[e(206)](t[e(472)])[e(378)](([t,i])=>t[e(314)](e(400))&&!i[e(198)]),n=Array[e(206)](this[e(258)][e(315)][e(461)](t)[e(263)]({singleCharacters:!0}));if(0!=i[e(475)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(294)](":");if(s[e(321)][e(503)](t[e(424)])&&i[e(257)](),(t[e(199)][e(503)](s[e(326)])||t[e(199)][e(335)](s[e(326)]))&&(e(210)==r?t[e(392)]={userId:o}:e(374)==r&&(t[e(215)]={userId:o})),0==i[e(475)])break}return n}[oe(482)](t){const e=oe,i=new Map;for(let n=0;n<t[e(475)];n++)e(404)===t[n][e(292)]?(t[n][e(302)][e(197)]=n,t[n][e(302)][e(446)]=n):(e(456)===t[n][e(292)]?t[n][e(302)][e(197)]=n:e(310)===t[n][e(292)]&&(t[n][e(302)][e(446)]=n),i[e(194)](t[n].id,n));for(const n of i[e(480)]())e(456)===t[n][e(292)]?t[n][e(302)][e(446)]=i[e(359)](t[n][e(344)]):e(310)===t[n][e(292)]&&(t[n][e(302)][e(197)]=i[e(359)](t[n][e(344)]))}[oe(322)](t){const e=oe;for(let i=0;i<t[e(475)];i++){if(e(456)===t[i][e(292)])t[i][e(302)][e(197)]=i;else if(e(310)===t[i][e(292)]){t[i][e(302)][e(446)]=i;const n=t[i][e(302)][e(197)];t[n][e(344)]=t[i].id,t[i][e(344)]=t[n].id}else t[i][e(302)][e(197)]=i,t[i][e(302)][e(446)]=i,t[i][e(344)]=null;t[i][e(270)]||(t[i][e(270)]=[],t[i][e(297)]=[])}}[oe(481)](t,e){const i=oe,n=t[i(378)](t=>!t[i(392)]);for(let t=0;t<e[i(475)];t++)e[t][i(392)]&&(n[t][i(392)]=e[t][i(392)])}[oe(411)](t,e=null){const i=oe,n=this[i(200)][i(383)](t),s=e?this[i(200)][i(383)](e):null,r=this[i(313)](n,s),o=r[r[i(475)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(475)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(379)](e[i(387)]))if(e[i(387)][t][i(416)]){const n=e[i(387)][t][i(416)];n[i(213)]?(u[i(361)](t),l[i(396)](t)&&l[i(359)](t)[i(232)]==n[i(232)]?l[i(299)](t):l[i(194)](t,n)):l[i(396)](t)?(u[i(299)](t),l[i(299)](t)):(u[i(361)](t),l[i(194)](t,n))}else u[i(361)](t)}for(const t of u){const e=l[i(396)](t)&&!l[i(359)](t)[i(213)];let n=e?r[i(475)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(387)][t]){const n=e?o[i(387)][t][i(293)]:o[i(387)][t][i(195)];c[i(252)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(315)]={};for(const e of t[i(296)])a[i(194)](e.id,e);for(const e of u){const n=t[i(387)][e]?t[i(387)][e][i(222)]:"[]",s=t[i(387)][e]?t[i(387)][e][i(497)]:"[]";t[i(315)][e]={insertions:this[i(327)][i(468)](n),deletions:this[i(327)][i(468)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(206)](n[i(315)][t][i(222)][i(472)])[i(378)](([t])=>!t[i(314)](i(400))));let h=0;for(const o of r){const r=this[i(247)](o[i(315)][t][i(222)]);o==n?(e=r,s=e[i(475)],e[i(268)](t=>{t.id=h++}),this[i(322)](e)):this[i(481)](e,r);const a=e[i(378)](t=>!t[i(392)])[i(295)](t=>t.id);let c=0;const l=this[i(247)](o[i(315)][t][i(497)]);l[i(268)](t=>{t[i(215)]?t.id=s++:t.id=a[c++]}),this[i(322)](l),this[i(460)](e,i(392)),this[i(460)](l,i(215)),o==n&&this[i(376)](e,u),e=this[i(219)](e,l),this[i(482)](e),this[i(460)](e,i(215))}e=e[i(378)](t=>!(t[i(392)]&&t[i(215)]));const d=new Map(o[i(315)][t][i(497)][i(472)]),f=new Set(u[i(379)]());for(const t of d[i(379)]())f[i(299)](t);this[i(290)](e,f),this[i(351)](e),e=this[i(301)](e),e=this[i(320)](e),e=this[i(285)](e);const{root:m,changes:p}=this[i(307)](e,a,t);c[i(315)][t]=m;const v=l[i(359)](t);if(v){const e=a[i(359)](v[i(232)]),n=new Qt({author:e,type:v[i(213)]?i(361):i(488),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(287)](n),c[i(252)][t][i(513)]=n.id}c[i(436)]=c[i(436)][i(410)](p)}return c}[oe(376)](t,e){const i=oe;for(let n=0;n<t[i(475)];n++)for(const[s,r]of e)!r[i(198)]&&r[i(326)][i(503)](t[n][i(199)])&&t[n][i(270)][i(360)](s),r[i(321)][i(503)](t[n][i(424)])&&t[n][i(297)][i(360)](s)}[oe(219)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(475)]||r<e[i(475)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(360)](o);else if(a[i(215)]&&o[i(392)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(226)](t,s,e,r);n=n[i(410)](o),s=a,r=c}else a[i(215)]?(r++,n[i(360)](a)):(s++,n[i(360)](o))}return n}[oe(290)](t,e){const i=oe,n=[];for(let o=0;o<t[i(475)];o++){for(let r=0;r<t[o][i(270)][i(475)];r++){const a=t[o][i(270)][r];if(!e[i(396)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(275)!=c||i(210)!=u&&i(374)!=u||(n[i(287)]({type:u,name:a,userId:l}),t[o][i(270)][i(504)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(297)][i(475)];r++){const a=t[o][i(297)][r];if(!e[i(396)](a))continue;const{group:c,type:u}=s(a);if(i(275)!=c||i(210)!=u&&i(374)!=u)continue;t[o][i(297)][i(504)](r,1),r--;const l=n[i(196)](t=>t[i(201)]==a);l>-1&&n[i(504)](l,1)}}function s(t){const e=i,n=t[e(294)](":");return{group:n[0],type:n[1],subType:n[e(475)]>=5?n[2]:null,id:n[e(475)]<5?n[2]:n[3],authorId:n[e(475)]<5?n[3]:n[4],markerCount:6==n[e(475)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(475)];i++){if(t[e(392)]&&e(210)==n[i][e(292)]&&t[e(392)][e(232)]==n[i][e(232)])return t[e(303)]=n[i],void delete t[e(392)];if(!t[e(392)]&&!t[e(215)]&&e(374)==n[i][e(292)])return void(t[e(452)]=n[i])}}}[oe(460)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(194)](o.id,n);for(let n=0;n<t[i(475)];n++){if(i(215)==e&&t[n][i(392)]||i(392)==e&&t[n][i(215)])continue;if(i(404)==t[n][i(292)]){t[n][i(395)]=0;continue}const s=r[i(359)](t[n][i(344)]),o=r[i(359)](t[n].id);t[n][i(395)]=s-o}}[oe(313)](t,e,i=!1){const n=oe,s=[];let r=this[n(200)][n(450)](t),o=this[n(200)][n(450)](e);for(-1==o&&(o=this[n(200)][n(515)][n(475)],i=!1);r<o;)s[n(360)](this[n(200)][n(383)](r)),r++;return i&&s[n(360)](this[n(200)][n(383)](r)),s}[oe(226)](t,e,i,n){const s=oe,r=this[s(258)][s(315)][s(228)];let o=e;for(;t[o]&&t[o][s(392)];)o++;let a=n;for(;i[a]&&i[a][s(215)];)a++;u(t,e,o),u(i,n,a);const c=i[s(332)](n,a)[s(410)](t[s(332)](e,o));return c[s(211)]((t,e)=>t[s(512)]!=e[s(512)]?t[s(512)]-e[s(512)]:t[s(438)]!=e[s(438)]?t[s(438)]-e[s(438)]:t[s(395)]!=e[s(395)]?e[s(395)]-t[s(395)]:!!t[s(392)]!=!!e[s(392)]?-1==t[s(512)]||0==t[s(512)]?t[s(392)]?-1:1:t[s(392)]?1:-1:t[s(333)]-e[s(333)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(407)],c=!0;for(let s=e;s<i;s++)if(r[n(417)](t[s][n(302)])||(c=!1),t[s][n(302)][n(197)]<e&&(o=s),t[s][n(302)][n(446)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(512)]=s<=o?-1:s<a?0:1,t[s][n(333)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(395)]?t[i][n(438)]=u:(u++,t[i][n(438)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(512)]&&(t[s][n(438)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(395)]?t[e][n(438)]=u:(u--,t[e][n(438)]=u,u--)}}[oe(351)](t){const e=oe,i=new Map,n=this[e(258)][e(315)][e(228)];for(let s=1;s<t[e(475)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(404)==c[e(292)])continue;if(c[e(292)]!=u[e(292)])continue;if(!n[e(478)](u[e(302)])||n[e(265)](u[e(302)]))continue;if(!n[e(478)](c[e(302)])||n[e(265)](c[e(302)]))continue;if((t[s][e(392)]||t[s][e(303)])&&t[s-1][e(215)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(215)]||!t[s-1][e(392)]&&!t[s-1][e(303)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(438)]==o[e(438)],h=Math[e(419)](r[e(438)])<Math[e(419)](o[e(438)])&&0==o[e(395)];(l||h)&&(i[e(194)](o.id,r.id),t[e(504)](a,1),s--,r[e(392)]=!1)}for(let n=0;n<t[e(475)];n++)i[e(396)](t[n][e(344)])&&(t[n][e(344)]=i[e(359)](t[n][e(344)]))}[oe(301)](t){const e=oe,i=new Set(t[e(295)](t=>t.id));for(let n=0;n<t[e(475)];n++)i[e(396)](t[n][e(344)])||0==t[n][e(395)]||(t[n][e(501)]=!0);return t[e(378)](t=>!t[e(501)])}[oe(320)](t){const e=oe,i=new Set;for(let n=0;n<t[e(475)];n++){if(i[e(396)](t[n].id)&&t[n][e(215)]&&(t[n][e(501)]=!0),t[n][e(501)])continue;if(0==t[n][e(395)])continue;if(e(456)!=t[n][e(292)])continue;if(null==t[n][e(344)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(344)];)e(456)==t[s][e(292)]?r++:e(310)==t[s][e(292)]&&r--,s++;if(0!=r)if(t[n][e(215)])t[n][e(501)]=!0;else for(;s!=n;)t[s][e(215)]&&0!=t[s][e(395)]&&(t[s][e(501)]=!0,i[e(361)](t[s][e(344)])),s--}return t[e(378)](t=>!t[e(501)])}[oe(285)](t){const e=oe,i=this[e(258)][e(315)][e(228)];for(let n=0;n<t[e(475)];n++){if(!(t[n][e(392)]||t[n][e(303)]||t[n][e(215)]||t[n][e(452)]))continue;if(0==t[n][e(395)])continue;const s=t[n][e(302)];i[e(478)](s)||i[e(265)](s)||(t[n][e(392)]&&delete t[n][e(392)],t[n][e(303)]&&delete t[n][e(303)],t[n][e(452)]&&delete t[n][e(452)],t[n][e(215)]&&(t[n][e(501)]=!0))}return t[e(378)](t=>!t[e(501)])}[oe(307)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(258)][n(315)],c=a[n(228)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(475)];e++)if(n(456)===t[e][n(292)]){t[e][n(199)]=a[n(260)](s,f);const i=new X.ModelElement(t[e][n(302)][n(201)],t[e][n(302)][n(510)]());u[0][n(372)](i),f[n(360)](0),u[n(287)](i),t[e][n(424)]=a[n(260)](s,f)}else n(310)===t[e][n(292)]?(u[n(257)](),t[e][n(199)]=a[n(260)](s,f),f[n(489)](),f[f[n(475)]-1]++,t[e][n(424)]=a[n(260)](s,f)):(t[e][n(199)]=a[n(260)](s,f),d?d[n(430)]+=t[e][n(302)][n(384)]:d=new X.ModelText(t[e][n(302)][n(384)],t[e][n(302)][n(510)]()),t[e+1]&&n(404)===t[e+1][n(292)]&&v(d,t[e+1][n(302)])||(u[0][n(372)](d),d=null),f[f[n(475)]-1]+=t[e][n(302)][n(454)],t[e][n(424)]=a[n(260)](s,f));for(let e=0;e<t[n(475)];e++){const i=t[e][n(199)],s=t[e][n(424)];for(const s of t[e][n(270)])o[n(194)](s,{start:i,end:null});m(n(452),e,i,s),m(n(303),e,i,s),m(n(215),e,i,s),m(n(392),e,i,s);for(const i of t[e][n(297)]){const t=o[n(359)](i);t?t[n(321)]=s:o[n(194)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(258)][n(315)][n(209)](e[n(326)],e[n(321)]);s[n(472)][n(194)](t,i)}return r[n(211)]((t,e)=>{const i=n,r=s[i(472)][i(359)](i(400)+t.id),o=s[i(472)][i(359)](i(400)+e.id);return r[i(326)][i(427)](o[i(326)])?-1:r[i(326)][i(335)](o[i(326)])?1:r[i(321)][i(427)](o[i(321)])?-1:r[i(321)][i(335)](o[i(321)])?1:i(361)===t[i(292)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(232)]:null,d=i===t[o(475)]-1,f=h[e][0],m=c[o(282)](t[i][o(302)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(321)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(232)]!==u&&(l[e][o(321)]=s,f&&f[o(232)]===l[e][o(232)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(456)!==t[i][o(292)]||f&&f[o(232)]===u||h[e][o(287)]({userId:u,object:t[i][o(302)],change:l[e]}),o(310)===t[i][o(292)]&&f&&f[o(479)]===t[i][o(302)]&&(h[e][o(257)](),l[e]=f[o(266)])),l[e]&&d&&(l[e][o(321)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(302)],f=a[h(228)][h(478)](d)&&!a[h(228)][h(265)](d),m=t[h(339)]==o[h(453)]&&o[h(254)];if(f&&m)return;const p=a[h(209)](t,o),v=e[h(359)](u),g=new Qt({author:v,type:h(392)==l||h(303)==l?h(361):h(488),data:{isSuggestion:h(303)==l||h(452)==l},createdAt:new Date,rootName:i});r[h(360)](g),s[h(472)][h(194)](h(400)+g.id,p)}function v(t,e){const i=n,s=t[i(510)](),r=e[i(510)]();for(const t of s){if(t[1]!==e[i(280)](t[0]))return!1;r[i(494)]()}return r[i(494)]()[i(499)]}}[oe(368)](){const t=oe;this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(428)}),this[t(258)][t(278)][t(253)](t(455))[t(324)]({model:t(428),view:e=>{const i=t,n=e[i(203)][i(294)](":")[1],s=this[i(381)](n);if(!s)return null;const r=i(361)==s[i(292)]?i(210):i(374),o=[i(277),i(353)+r];return s[i(384)][i(214)]&&o[i(360)](i(353)+r+i(477)),this[i(426)]==s&&o[i(360)](i(239)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(258)][t(278)][t(253)](t(434))[t(361)](e=>{const i=t;e.on(i(237),(t,e,n)=>{const s=i,r=e[s(375)][s(337)](0);if(!r||!r.is(s(443),s(251)))return;if(!n[s(466)][s(435)](r,{attributes:[s(447),s(370)]}))return;const o=e[s(356)][s(326)][s(339)];n[s(267)][s(509)](s(447),r[s(280)](s(447)),o),n[s(267)][s(509)](s(370),r[s(280)](s(370)),o)},{priority:i(190)})}),this[t(258)][t(278)][t(253)](t(434))[t(361)](e=>{const i=t;e.on(i(443),(t,e,n)=>{const s=i;if(!n[s(466)][s(435)](e[s(375)],{attributes:[s(447),s(370)]}))return;if(e[s(356)][s(198)])return;const r=e[s(356)][s(326)][s(339)];r[s(279)](s(447))||r[s(279)](s(393))||(n[s(267)][s(509)](s(447),e[s(375)][s(280)](s(447)),r),n[s(267)][s(509)](s(370),e[s(375)][s(280)](s(370)),r))},{priority:i(190)})}),this[t(258)][t(278)][t(253)](t(434))[t(385)]({view:{name:t(397),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(280)](t(393))}}),this[t(258)][t(315)][t(228)].on(t(202),(e,[,i])=>{const n=t;[n(447),n(370),n(393)][n(365)](i)&&(e[n(224)]=!0,e[n(399)]())},{priority:t(421)}),this[t(258)][t(278)][t(253)](t(304))[t(361)](e=>{const i=t;e.on(i(473),(t,e,n)=>{const s=i;if(" "!=e[s(302)][s(384)]||e[s(302)][s(453)][s(192)]>1)return;if(!n[s(466)][s(435)](e[s(302)],t[s(201)]))return;const r=n[s(267)],o=n[s(221)][s(245)](e[s(193)]);r[s(336)](o,r[s(386)](s(397)))})}),this[t(258)][t(278)][t(253)](t(304))[t(204)]({model:t(428)}),this[t(258)][t(486)][t(272)].on(t(463),function(e){const i=t,n=e[i(340)][i(359)](i(422));return(t,s,r)=>{const o=i,a=s[o(203)][o(294)](":")[1],c=n[o(381)](a);if(!c)return null;const u=o(361)==c[o(292)]?o(294):o(189);if(!r[o(466)][o(369)](s[o(255)],t[o(201)]))return;const l=s[o(255)][o(263)](),h=s[o(255)][o(326)],d=e[o(315)][o(228)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(302)];p=p||d[o(349)](e);const i=r[o(221)][o(261)](e);if(i&&i[o(409)](o(305)))return;o(310)==t[o(292)]&&d[o(478)](e)&&!d[o(265)](e)&&(e[o(433)]||h[o(492)]?f&&f[o(453)]==e||(f=e,g(t[o(199)]),v=!0):m=m||t[o(199)])}function g(t){const e=o,i=r[e(267)][e(469)](e(397),{class:e(353)+u}),a=r[e(221)][e(217)](t);c[e(384)][e(214)]&&r[e(267)][e(345)](e(353)+u+e(477),i),n[e(426)]==c&&r[e(267)][e(345)](e(239),i),r[e(267)][e(498)](a,i),r[e(221)][e(505)](i,s[e(203)])}p||v||!m||g(m)}}(this[t(258)]),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(233),(e,i,n)=>{const s=t,r=n[s(221)][s(328)](i[s(203)]);if(r)for(const t of r)(t[s(242)](s(323))||t[s(242)](s(493)))&&(n[s(221)][s(390)](t,i[s(203)]),n[s(267)][s(488)](t))},{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(463),(e,i,n)=>{const s=t,r=i[s(203)][s(294)](":")[1],o=this[s(381)](r);if(!o)return null;const a=s(361)==o[s(292)]?s(294):s(189);if(n[s(466)][s(369)](i[s(255)],e[s(201)]))for(const t of i[s(255)][s(367)]()){if(!t.is(s(443),s(218)))continue;const e=n[s(267)][s(469)](s(397),{class:s(353)+a}),r=n[s(221)][s(217)](this[s(258)][s(315)][s(406)](t));o[s(384)][s(214)]&&n[s(267)][s(345)](s(353)+a+s(477),e),this[s(426)]==o&&n[s(267)][s(345)](s(239),e),n[s(267)][s(498)](r,e),n[s(221)][s(505)](e,i[s(203)])}},{priority:t(412)}),this[t(258)][t(315)][t(238)].on(t(266),()=>{const e=t;this[e(258)][e(486)][e(325)][e(266)](t=>{const i=e;for(const e of this[i(258)][i(315)][i(238)][i(445)]()){const n=this[i(258)][i(315)][i(238)][i(413)](e),s=this[i(258)][i(486)][i(325)][i(238)][i(413)](e);if(s){const e=n[i(280)](i(513));if(t[i(234)](i(389),s),t[i(286)](i(329),s),t[i(286)](i(451),s),t[i(286)](i(311),s),e){const n=this[i(381)](e);if(!n)return null;t[i(509)](i(389),e,s),t[i(345)](i(414)+n[i(292)],s),this[i(426)]==n&&t[i(345)](i(311),s)}}}})}),this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(470),model:e=>t(208)+e,converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(434))[t(264)]({view:t(500),model:e=>t(319)+e,converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(304))[t(204)]({model:t(275),view:e=>({name:t(388)+e,group:t(275)}),converterPriority:t(421)}),this[t(258)][t(278)][t(253)](t(455))[t(324)]({model:t(275),view:e=>{const i=t,n=e[i(203)][i(294)](":")[1];return i(210)!=n&&i(374)!=n?null:{classes:[i(423),i(352)+n]}}}),this[t(258)][t(486)][t(272)].on(t(467),le(this[t(258)],t(189)),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(291),le(this[t(258)],t(294)),{priority:t(412)}),this[t(258)][t(486)][t(272)].on(t(462),(e,i,n)=>{const s=t,r=n[s(221)][s(328)](i[s(203)]);if(r)for(const t of r)t.is(s(283))&&(n[s(221)][s(390)](t,i[s(203)]),n[s(267)][s(488)](t))},{priority:t(412)})}[oe(381)](t){const e=oe;return this[e(401)][e(359)](t)}[oe(284)](t){const e=oe;return this[e(298)]&&this[e(298)][e(207)](),this[e(298)]=new Gt(this[e(258)][e(244)],t),this[e(298)]}[oe(306)](){const t=oe;this[t(258)][t(315)][t(238)][t(241)][t(408)](t(428)),this.on(t(334),(e,i,n,s)=>{const r=t;s&&this[r(362)][r(488)](s),n&&(this[r(362)][r(361)]({view:n,stackId:r(355),position:{target:()=>{const t=r,e=this[t(258)][t(486)],i=this[t(381)](n[t(487)]);let s;if(i[t(384)][t(346)]){const n=e[t(325)][t(216)](i[t(377)]);s=Array[t(206)](n[t(240)]())}else{const i=this[t(258)][t(315)][t(472)][t(359)](t(400)+n[t(487)]);s=Array[t(206)](e[t(221)][t(328)](i[t(201)]))[t(295)](i=>e[t(325)][t(476)][t(243)](i))[t(295)](e=>Array[t(206)](e[t(240)]()))[t(229)]()}return this[t(441)]&&s[t(442)](e=>e[t(330)]-3<=this[t(441)].y&&e[t(514)]+3>=this[t(441)].y&&e[t(502)]-3<=this[t(441)].x&&e[t(250)]+3>=this[t(441)].x)||s[0]}}}),this[r(362)][r(440)](r(355)))}),this.on(t(380),(e,i,n,s)=>{const r=t;this[r(256)]=n?this[r(284)](n):null,this[r(258)][r(315)][r(266)](()=>{const t=r,e=this[t(258)][t(486)];s&&(s[t(384)][t(346)]?e[t(325)][t(266)](i=>{const n=t;i[n(286)](n(311),e[n(325)][n(238)][n(413)](s[n(377)]))}):e[t(371)](t(400)+s.id)),n&&(n[t(384)][t(346)]?e[t(325)][t(266)](i=>{const s=t;i[s(345)](s(311),e[s(325)][s(238)][s(413)](n[s(377)]))}):e[t(371)](t(400)+n.id))})}),this[t(516)](this[t(258)][t(486)][t(325)][t(238)],t(403),(e,i)=>{const n=t;if(this[n(426)])return;const s=this[n(281)](i[n(347)]),r=this[n(401)][n(359)](s);r?(this[n(441)]={x:i[n(431)].x,y:i[n(431)].y},this[n(256)]=this[n(284)](r)):(this[n(441)]=null,this[n(256)]=null)}),this[t(516)](this[t(258)][t(486)][t(325)][t(238)],t(236),(e,i)=>{const n=t,s=this[n(281)](i[n(347)]),r=this[n(401)][n(359)](s);r?(this[n(441)]={x:i[n(431)].x,y:i[n(431)].y},r===this[n(426)]?this[n(362)][n(308)]():this[n(426)]=r):(this[n(441)]=null,this[n(426)]=null)})}[oe(281)](t){const e=oe;do{const i=t[e(280)](e(389));if(i)return i;t=t[e(453)]}while(t);return null}[oe(465)](){const t=oe;this[t(258)][t(315)][t(266)](e=>{const i=t;for(const t of this[i(258)][i(315)][i(472)])e[i(496)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(466)][r(369)](n[r(255)],i[r(201)]))return;const o=n[r(255)][r(263)](),a=n[r(255)][r(326)],c=t[r(315)][r(228)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(302)];h=h||c[r(349)](e);const i=s[r(221)][r(261)](e);if(i&&i[r(409)](r(305)))return;r(310)==t[r(292)]&&c[r(478)](e)&&!c[r(265)](e)&&(e[r(433)]||a[r(492)]?u&&u[r(453)]==e||(u=e,f(t[r(199)]),d=!0):l=l||t[r(199)])}function f(t){const i=r,o=s[i(221)][i(217)](t),a=s[i(267)][i(469)](i(397),{class:i(352)+e});s[i(267)][i(498)](o,a),s[i(221)][i(505)](a,n[i(203)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(340)][e(359)](ue);this[e(490)]=!1,this[e(516)](i,e(343),()=>this[e(382)]()),this[e(516)](i,e(444),()=>this[e(382)]())}[oe(235)](){const t=oe,e=this[t(258)],i=e[t(340)][t(359)](ue),n=i[t(457)]?i[t(354)][t(471)]:null;e[t(273)][t(359)](t(363))[t(432)](n)}[oe(382)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(258)][t(340)][t(359)](ue),r=s&&n[t(300)](s[t(471)]);this[t(506)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(288)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(340)][i(359)](ue);this[i(490)]=!1,this[i(288)]=i(418)===e?1:-1,this[i(516)](n,i(343),()=>this[i(382)]()),this[i(516)](n,i(444),()=>this[i(382)]()),this[i(516)](n,i(380),()=>this[i(382)]())}[oe(235)](){const e=oe,i=this[e(258)],n=i[e(340)][e(359)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(426)]=s?n[e(354)][e(436)][e(359)](r+this[e(288)]):n[e(354)][e(436)][e(429)],n[e(426)][e(384)][e(346)])o=i[e(486)][e(325)][e(216)](n[e(426)][e(377)]);else{const t=i[e(315)][e(472)][e(359)](e(400)+n[e(426)].id);o=(0,K.getMarkerDomElement)(i[e(486)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(382)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(258)][t(340)][t(359)](ue);this[t(506)]=!!(r&&s&&n)&&(!e||(1===this[t(288)]?i<n-1:i>0))}}var fe=i(308),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Nt(),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-=239]})(t,e)}function ve(){const t=["isReady","set","ck-hidden","X_OF_Y_CHANGES","setTemplate","52493KVckbq","ck-revision-history-ui__changes-navigation__label","_statusText","span","ck-revision-history-ui__changes-navigation__wrapper","Loading...","3118UiNqCR","Show next change","forward","718640AxGbtQ","5133704DcbRKn","isNavigationMode","16868148UlGLHg","Show previous change","bind","ck-revision-history-ui","36ajRdUg","execute","ck-revision-history-ui__changes-navigation","No changes","984mPSnch","currentChangeNumber","1729005GgwDQY","EDIT_X_OF_Y_REVISIONS","Total","fire","backward","numberOfChanges","isEnabled","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","426711LSDvJZ","isForwardNavigationEnabled","24AgMQLc","div","_isStatusLabelVisible","NUMBER_OF_CHANGES","282Qghtzs","isBackwardNavigationEnabled"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(774589===parseInt(e(239))/1*(parseInt(e(253))/2)+-parseInt(e(264))/3*(parseInt(e(266))/4)+parseInt(e(255))/5+parseInt(e(270))/6*(parseInt(e(277))/7)+parseInt(e(243))/8+parseInt(e(249))/9*(parseInt(e(242))/10)+-parseInt(e(245))/11)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(263)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(273)](e(244),!1),this[e(273)](e(272),!1),this[e(273)](e(254),0),this[e(273)](e(260),0),this[e(273)](e(265),!1),this[e(273)](e(271),!1),this[e(247)](e(268)).to(this,e(272),this,e(260),(t,e)=>t&&e>0),this[e(247)](e(279)).to(this,e(272),this,e(254),this,e(260),this,e(244),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(282));if(!s)return at(t,o(252));const a=at(t,o(269),s);return r?at(t,o(275),[n+1,s]):a}),n[e(273)]({label:at(t,e(246)),tooltip:!0,icon:_t.IconChevronUp}),s[e(273)]({label:at(t,e(240)),tooltip:!0,icon:_t.IconChevronDown}),n[e(247)](e(261)).to(this,e(271)),s[e(247)](e(261)).to(this,e(265)),n.on(e(250),()=>this[e(258)](e(250),e(259))),s.on(e(250),()=>this[e(258)](e(250),e(241))),this[e(276)]({tag:e(267),attributes:{class:["ck",e(248),e(251)]},children:[{tag:e(280),attributes:{class:[e(281)]},children:[{tag:e(280),attributes:{class:[e(278),i.if(e(268),e(274),t=>!t)]},children:[{text:i.to(e(244),i=>i?at(t,e(256))+": ":at(t,e(257))+": ")}]},{text:i.to(e(279))}]},new It.ToolbarSeparatorView,{tag:e(267),attributes:{class:[e(262)]},children:[n,s]}]})}}var ye=i(772),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Nt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["5PwKezG","1966422ZvjyXH","editing","hide","10954vGIYCy","377204NVPSVo","1661874gzuWSI","view","RevisionViewerLoadingOverlay","removeClass","ck-editor__editable__loading-overlay","139jsLjuJ","document","19592atNMOJ","511uAmsVw","9RJydfN","show","3698530zYYfXD","addClass","pluginName","8882192pteUOB","roots","isPremiumPlugin","change","editor","isOfficialPlugin"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=200]})(t,e)}const _e=we;!function(t){const e=we,i=t();for(;;)try{if(429101===-parseInt(e(218))/1*(-parseInt(e(211))/2)+parseInt(e(208))/3+-parseInt(e(212))/4+-parseInt(e(207))/5*(parseInt(e(213))/6)+parseInt(e(221))/7*(-parseInt(e(220))/8)+-parseInt(e(222))/9*(-parseInt(e(224))/10)+-parseInt(e(201))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=_e(217);class Se extends J.Plugin{static get[_e(200)](){return _e(215)}static get[_e(206)](){return!0}static get[_e(203)](){return!0}[_e(223)](){const t=_e,e=this[t(205)][t(209)][t(214)];e[t(204)](i=>{const n=t;for(const t of e[n(219)][n(202)])i[n(225)](Ie,t)})}[_e(210)](){const t=_e,e=this[t(205)][t(209)][t(214)];e[t(204)](i=>{const n=t;for(const t of e[n(219)][n(202)])i[n(216)](Ie,t)})}}const Oe=Ne;function Te(){const t=["hide","showPreviousChange","closeRevisionViewerCallback","ck-revision-history-ui__back-to-editing","changesNavigation","isReady","bind","7428OpgAIY","4TDzpHx","pluginName","6MCWjDp","init","160tHqzRr","currentChangeNumber","isNavigationMode","commands","383032IAroNI","revisionHistory","change:isReady","isForwardNavigationEnabled","forward","19811sIMpvA","9imVRIz","RevisionViewerUI","1821605miLpIp","isOfficialPlugin","config","restoreRevision","set","isBackwardNavigationEnabled","plugins","requires","isPremiumPlugin","show","isEnabled","Restore this revision","103073kSIJUU","editor","exitToEditing","add","componentFactory","get","showNextChange","162999mdOhab","execute","Back to editing","numberOfChanges","1868568GgkIOq","listenTo","659904RWkPiZ"];return(Te=function(){return t})()}function Ne(t,e){const i=Te();return(Ne=function(t,e){return i[t-=453]})(t,e)}!function(t){const e=Ne,i=t();for(;;)try{if(240295===parseInt(e(502))/1*(parseInt(e(474))/2)+parseInt(e(488))/3*(-parseInt(e(482))/4)+-parseInt(e(490))/5*(parseInt(e(476))/6)+parseInt(e(465))/7+-parseInt(e(463))/8+parseInt(e(459))/9*(-parseInt(e(478))/10)+parseInt(e(487))/11*(parseInt(e(473))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class xe extends J.Plugin{static get[Oe(475)](){return Oe(489)}static get[Oe(491)](){return!0}static get[Oe(498)](){return!0}static get[Oe(497)](){return[ue,Se]}[Oe(477)](){const t=Oe,e=this[t(453)],i=e[t(496)][t(457)](ue),n=e[t(496)][t(457)](Se);e.ui[t(456)][t(455)](t(454),i=>{const n=t,s=new It.ButtonView(i);return s[n(494)]({label:at(i,n(461)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(469)}),this[n(464)](s,n(460),()=>{const t=n;e[t(492)][t(457)](t(483))[t(468)]()}),s}),e.ui[t(456)][t(455)](t(493),i=>{const n=t,s=new It.ButtonView(i);return s[n(494)]({label:at(i,n(501)),withText:!0,tooltip:!0}),s[n(472)](n(500)).to(e[n(481)][n(457)](n(493))),this[n(464)](s,n(460),()=>e[n(460)](n(493))),s}),e.ui[t(456)][t(455)](t(470),n=>{const s=t,r=new ge(n),o=e[s(481)][s(457)](s(467)),a=e[s(481)][s(457)](s(458));return r[s(472)](s(495)).to(o,s(500)),r[s(472)](s(485)).to(a,s(500)),r[s(472)](s(471),s(479),s(462),s(480)).to(i),this[s(464)](r,s(460),(t,i)=>{const n=s;e[n(460)](n(486)===i?n(458):n(467))}),r}),n[t(499)](),i.on(t(484),(e,i,s)=>{const r=t;s?n[r(466)]():n[r(499)]()})}}var Ae=i(853),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Nt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["Enter the revision name","18074580nEtFsU","extendTemplate","placeholder","input","1967124FcWzYi","value","264488twCvgY","90PNwLKI","ck-tooltip_multi-line","_resizeObserver","16hYVnOG","_updateTooltipText","8WRZhHc","1666824AerkIu","fieldView","5111826ekELHI","1800995mDWXNR","element","render","198XjDkMo","set","span","clientWidth","Revision name","_tooltipString","ck-revision-history-sidebar__revision-name","destroy","bindTemplate","878133nWMXdE","7jiKuDA","scrollWidth","listenTo"];return(Me=function(){return t})()}const Ve=Ee;function Ee(t,e){const i=Me();return(Ee=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(928937===-parseInt(e(474))/1+-parseInt(e(473))/2*(parseInt(e(456))/3)+parseInt(e(471))/4*(parseInt(e(477))/5)+-parseInt(e(476))/6*(-parseInt(e(457))/7)+parseInt(e(467))/8*(parseInt(e(468))/9)+-parseInt(e(461))/10+-parseInt(e(447))/11*(-parseInt(e(465))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends It.LabeledFieldView{[Ve(470)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(455)];this[i(448)]({label:at(t,i(451)),_tooltipString:""}),this[i(475)][i(463)]=at(t,i(460)),this[i(462)]({tag:i(449),attributes:{class:[i(453)],"data-cke-tooltip-text":n.to(i(452)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(469)}})}[Ve(446)](){const e=Ve;super[e(446)](),this[e(470)]=new t.ResizeObserver(this[e(475)][e(445)],()=>this[e(472)]()),this[e(459)](this[e(475)],e(464),()=>this[e(472)]())}[Ve(454)](){const t=Ve;super[t(454)](),this[t(470)]&&this[t(470)][t(454)]()}[Ve(472)](){const t=Ve,e=this[t(475)][t(445)];this[t(452)]=e[t(458)]>e[t(450)]&&e[t(466)]||""}}var Ce=i(21),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Nt(),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-=161]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","push","ck-revision-history-sidebar__revision-author_creator","4026728JEhlIw","5584758TnSels","324QQswgq","2QhKRto","12562550LTmSxj","982533eRZSGe","name","set","7UUMvdw","182190HahKuz","Revision creator","setTemplate","span","80ICsvqb","0 0 11 10","21156PKyXFy","1527366hXVWtg","Revision author"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(559181===parseInt(e(174))/1*(-parseInt(e(172))/2)+parseInt(e(163))/3+-parseInt(e(162))/4*(-parseInt(e(182))/5)+parseInt(e(170))/6+-parseInt(e(177))/7*(-parseInt(e(169))/8)+-parseInt(e(171))/9*(-parseInt(e(178))/10)+-parseInt(e(173))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(176)]({content:_t.IconUser,viewBox:n(161)});const r=["ck",n(166)];i&&r[n(167)](n(168));const o=[{tag:n(181),attributes:{class:["ck",n(165)],title:at(t,n(i?179:164))},children:[s,e[n(175)]]}];this[n(180)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=290]})(t,e)}function Ue(){var t=["11wOqreO","toLocaleTimeString","399798rhFViV","68UDgvYc","2406357tIxIrc","8uZIIfK","25428TiuVPA","1783495ELZWLK","35HMLCPz","164564rIAIna","toLocaleDateString","9610820yqcJzs","140022nozwRc","numeric","long"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(463497===parseInt(e(299))/1+parseInt(e(296))/2+-parseInt(e(302))/3*(-parseInt(e(293))/4)+parseInt(e(298))/5*(parseInt(e(292))/6)+parseInt(e(297))/7+-parseInt(e(295))/8*(parseInt(e(294))/9)+parseInt(e(301))/10*(-parseInt(e(290))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(111),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=Nt(),Ze.insertStyleElement=Et();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(){const t=["ck-on","model","items","Name this revision","source","ck-revision-history-sidebar__revision__actions","936532eYMJrw","children","209336heqRih","function","_action","bind","stopPropagation","91FFluqN","find","bindTemplate","execute","Restore this revision","add","isEnabled","map","195976vcUeum","isActionsDropdownOpen","isReady","button","set","2140104TJRRKG","menuitem","action","change:isActionsDropdownOpen","isVisible","menu","490494UVvZUZ","first","5ZbgPvu","1118466MQcWCw","isOpen","buttonView","Show more items","Compare against selected","panelPosition","extendTemplate","class","locale","4183911NNAfWG","name","listenTo","listView"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=419]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(207860===-parseInt(e(456))/1+parseInt(e(419))/2+parseInt(e(422))/3+parseInt(e(441))/4+-parseInt(e(421))/5*(-parseInt(e(461))/6)+parseInt(e(448))/7*(-parseInt(e(443))/8)+-parseInt(e(431))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(700),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Nt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Ge(){const t=["2156IDHINR","highlight","ck-disabled","ck-reset","bindTemplate","704EUOXmL","name","value","220","isReady","_createdAtFormatted","srcElement","span","setName","select","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","change","ck-revision-history-sidebar__actions_dropdown_open","27rGXyvC","extendTemplate","isHighlighted","from","unhighlight","1bBeoNO","9730rMmQAs","bind","createdAt","fieldView","ck-revision-history-sidebar__revision-wrapper","render","closest","4309992YaMeyT","length","isActionsDropdownOpen","div","filter","144268pNHgdW","ck-revision-history-sidebar__revision_highlighted","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","15715980xVcBVO","215MFhVJf","setTemplate","creator","element","ck-revision-history-sidebar__revision__date","unshift","isConfirm","_requireRevisionName","deselect","1956uJZYxx","set","revisionActionsView","ck-revision-history-sidebar__revision-authors","442276BlUAJj","ck-revision-history-sidebar__revision","fire","ck-revision-history-sidebar__revision_selected","isEnabled",".ck-confirm-view","_revision","map","listenTo","994616wmQlNg","authors","revisionNameView","uiLanguage"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=378]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(880925===parseInt(e(389))/1*(parseInt(e(420))/2)+parseInt(e(397))/3+parseInt(e(402))/4*(-parseInt(e(407))/5)+parseInt(e(416))/6*(-parseInt(e(433))/7)+-parseInt(e(429))/8*(parseInt(e(384))/9)+-parseInt(e(390))/10*(parseInt(e(438))/11)+parseInt(e(406))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(431)];[Ye(418)];[Ye(426)];[Ye(414)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(437)],a=function(t,e){const i=r,n=Array[i(387)](e[i(430)])[i(401)](t=>t!=e[i(409)]);return e[i(409)]&&n[i(412)](e[i(409)]),n[i(427)](n=>new Pe(t,n,n==e[i(409)]))}(e,i);this.id=i.id,this[r(426)]=i,this[r(414)]=s,this[r(391)](r(439),r(392)).to(i),this[r(391)](r(443)).to(this,r(392),t=>{return i=e[r(432)],(n=t)[(s=ze)(300)](i,{month:s(304),day:s(303)})+", "+n[s(291)](i,{hour:s(303),minute:s(303)});var i,n,s}),this[r(417)](r(404),!1),this[r(417)](r(386),!1),this[r(417)](r(399),!1),this[r(417)](r(442),!1),this[r(417)](r(424),!1),this[r(431)]=new De(e,It.createLabeledInputText),this[r(431)][r(393)][r(385)]({attributes:{maxlength:r(441)}}),this[r(431)][r(393)][r(391)](r(440)).to(this,r(439),t=>t||this[r(443)]),this[r(431)][r(391)](r(424)).to(this,r(404),this,r(424),(t,e)=>t&&e),this[r(418)]=n&&n[r(398)]?function(e,i){const n=qe,s=e[n(450)],r=e[n(430)],o=(0,It.createDropdown)(r);o[n(427)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(430)],s={"Compare against selected":at(n,i(426)),"Name this revision":at(n,i(438)),"Restore this revision":at(n,i(452))};return e[i(455)](t=>{const e=i,n=s[t[e(432)]];return n&&n!==t[e(432)]&&(t[e(432)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(459),model:new It.UIModel({label:t[s(432)],class:t[s(429)],withText:!0,role:s(462),_action:t[s(463)]})};i[s(436)][s(446)](s(454)).to(e,s(457),i=>s(444)!=typeof t[s(454)]||!i||t[s(454)](e)),o[s(453)](i)}return o}(e,i);return e[n(446)](n(457)).to(o,n(423)),o[n(424)][n(460)]({label:at(r,n(425)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(428)]({attributes:{class:[n(440),s.if(n(457),n(435))]},on:{click:s.to(t=>t[n(447)]())}}),o.on(n(451),t=>{const i=n;e[i(458)]&&i(444)==typeof t[i(439)][i(445)]&&t[i(439)][i(445)](e)}),(0,It.addListToDropdown)(o,a,{role:n(466)}),o[n(433)](e,n(464),(t,s,r)=>{const a=n;if(r)for(const t of o[a(434)][a(437)]){const n=t[a(442)][a(420)],s=i[a(449)](t=>t[a(463)]===n[a(445)])[a(465)];t[a(465)]=void 0===s||s(e)}}),o}(this,n):"",this[r(418)]&&this[r(418)][r(391)](r(424)).to(this),this[r(408)]({tag:r(400),attributes:{class:["ck",r(436),r(394),o.if(r(413),r(381))]},children:[{tag:r(400),attributes:{class:["ck",r(436),r(421),o.if(r(424),r(435),t=>!t),o.if(r(404),r(423)),o.if(r(386),r(403)),o.if(r(399),r(383))]},children:[this[r(431)],{tag:r(378),attributes:{class:["ck",r(411)]},children:[{text:o.to(r(443))}]},{tag:r(400),attributes:{class:["ck",r(405)]},children:[{tag:"ul",attributes:{class:["ck",r(419)]},children:a}]},this[r(418)]],on:{click:o.to(t=>{const e=r;t[e(444)][e(396)](e(425))||this[e(442)]&&this[e(424)]&&this[e(422)](e(380),{id:this.id})})}}]})}[Ye(395)](){const t=Ye;super[t(395)]();const e=this[t(431)][t(393)][t(410)];this[t(428)](e,t(382),()=>{const i=t;this[i(414)]&&!e[i(440)]||this[i(422)](i(379),{id:this.id,name:e[i(440)]}),e[i(440)]||(e[i(440)]=this[i(439)]?this[i(439)]:this[i(443)])})}[Ye(380)](){this[Ye(404)]=!0}[Ye(415)](){this[Ye(404)]=!1}[Ye(434)](){this[Ye(386)]=!0}[Ye(388)](){this[Ye(386)]=!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 ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si 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},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},xi={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 ts(t,e,i)}formatOffset(t,e){return ss(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 ts(t,e,i,this.name)}formatOffset(t,e){return ss(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[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,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 n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Ui=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Gi{constructor(t,e,i){let n;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?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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,zn(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,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{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,ys,()=>{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 n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(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:jn()?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 tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en 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 nn(t,e){if(En(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?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function Nn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={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:Ni,ffff:Ai,F:Ii,FF:Oi,FFF:xi,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const Ns=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${xs.source}${`(?:${Ns.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${xs.source} ?(?:${Ns.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${xs.source}$`),zs=/^-?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 Us(t){const[e,i,n,s,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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Bs=/^(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$/,Ys=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);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 n={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(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},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 si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(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 Os(t,[Ps,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 si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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 ni(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?ws.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 En(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+=$n(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)(Pn(e.values,t)||Pn(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]=is(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,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,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,n]of Object.entries(t))0!==n&&(e[i]=n);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={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=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,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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 n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}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?ws.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=gn.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 nn(t,gn.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:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||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:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).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 n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Nr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Nr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(xr,Nr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").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])=>es(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(ws.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(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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,Qn);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(n);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(s);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})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=qn(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(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 n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(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:n,zone:s,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=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(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 n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,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(Jn(t),e,i)}function Gr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Gn(n,s))+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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.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 n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(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},no=["year","month","day","hour","minute","second","millisecond"],so=["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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.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);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(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||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.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||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=xn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?Nn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,qs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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(ws.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?xn(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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*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 Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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;s?l=Nn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=An({...xn(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,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){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"===n)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"===n){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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),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:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}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 n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!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 n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);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 n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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 n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}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 si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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):Jr(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 Ni}static get DATETIME_FULL_WITH_SECONDS(){return xi}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&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["2539592hQhfoX","toRelativeCalendar","433993nIOtwu","5816580BTxtcG","93995vfqGZd","monthLong","local","startOf","252nNcszW","1404492ZwZLkh","fromJSDate","month","toJSDate","setLocale","day","weekdayLong","23594032NQSBdU","year","minus","hasSame","week","52773atfVTt"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=220]})(t,e)}function go(t,e){const i=vo,n=fo[i(235)](t)[i(238)](e),s=fo[i(231)](),r=s[i(221)]({days:1})[i(232)](i(239));let o,a;return n[i(222)](s,i(239))?(o=n[i(232)](i(239))[i(237)](),a=n[i(226)]()):n[i(222)](r,i(239))?(o=r[i(237)](),a=n[i(226)]()):n[i(222)](s,i(223))?(o=n[i(232)](i(223))[i(237)](),a=n[i(240)]||""):n[i(222)](s,i(220))?(o=n[i(232)](i(236))[i(237)](),a=n[i(230)]||""):(o=n[i(232)](i(220))[i(237)](),a=String(n[i(220)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(459972===parseInt(e(227))/1+parseInt(e(234))/2+parseInt(e(224))/3+parseInt(e(225))/4+parseInt(e(229))/5*(parseInt(e(233))/6)+parseInt(e(228))/7+-parseInt(e(241))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(702),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Nt(),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-=170]})(t,e)}function _o(){const t=["locale","ck-revision-history-sidebar__time-period__revisions","296sixjIy","ck-revision-history-sidebar__time-period__label","303rocIOl","_revisionActions","1734621XtfRfL","9117pNiBEX","addRevision","select","5frlzEZ","span","add","startDate","14378aZzlLO","delegate","setTemplate","_requireRevisionName","revisionViews","div","ck-revision-history-sidebar__time-period","3224418CCfpeY","localizedPeriodName","setName","44547ofTLuf","19403580nfuKuz","remove","find","removeRevision","uiLanguage","createCollection","1880620JqDgSG"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(372486===-parseInt(e(178))/1+-parseInt(e(200))/2*(parseInt(e(190))/3)+-parseInt(e(185))/4+parseInt(e(196))/5*(-parseInt(e(175))/6)+parseInt(e(192))/7+-parseInt(e(188))/8*(parseInt(e(193))/9)+parseInt(e(179))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(199)];[bo(172)];[bo(191)];[bo(171)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(186)][s(183)])[s(176)];this[s(199)]=e,this[s(172)]=this[s(184)](),this[s(191)]=i,this[s(171)]=n,this[s(172)][s(201)](s(195)).to(this),this[s(172)][s(201)](s(177)).to(this),this[s(170)]({tag:s(173),attributes:{class:["ck",s(174)]},children:[{tag:s(197),attributes:{class:["ck",s(189)]},children:[{text:r}]},{tag:s(173),attributes:{class:["ck",s(187)]},children:this[s(172)]}]})}[bo(194)](t){const e=bo,i=new Ke(this[e(186)],t,this[e(191)],this[e(171)]);this[e(172)][e(198)](i)}[bo(182)](t){const e=bo,i=this[e(172)][e(181)](e=>e.id===t.id);this[e(172)][e(180)](i)}}var So=i(929),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Nt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["6mbFIMw","727900LzZEQp","Revision history","85967JMVIsW","ck-reset_all","content","span","4yrNHFr","39MUeEQh","ck-revision-history-sidebar__header","3521268qkAVwa","384349NjmJCk","4362127OAzeAO","4928KCBgPv","20vEDDGl","1289067TsANgQ","setTemplate","div","6651XSWpjH","ck-revision-history-sidebar__header__label","10TJjCES"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=214]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(492118===parseInt(e(234))/1*(parseInt(e(224))/2)+-parseInt(e(225))/3+-parseInt(e(217))/4*(-parseInt(e(232))/5)+parseInt(e(231))/6*(-parseInt(e(221))/7)+-parseInt(e(223))/8*(-parseInt(e(228))/9)+parseInt(e(230))/10*(parseInt(e(222))/11)+-parseInt(e(220))/12*(parseInt(e(218))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends It.View{constructor(t){const e=No;super(t);const i=new It.IconView;i[e(215)]=_t.IconHistory,this[e(226)]({tag:e(227),attributes:{class:["ck",e(214),e(219)]},children:[i,{tag:e(216),attributes:{class:["ck",e(229)]},children:[at(t,e(233))]}]})}}var Ao=i(390),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Nt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=426]})(t,e)}function Eo(){const t=["291774sHjQas","createdAt","setTemplate","getTime","locale","revisionSetName","map","ck-reset","_requireRevisionName","isEnabled","5937954GlKGqV","startDate","createCollection","4275130MKwScb","highlightRevisions","14IykQgP","setName","33524WWFzOx","_removeRevision","get","405gMKFbb","uiLanguage","_revisionActions","2006997hGNEeF","unhighlight","remove","ck-revision-history-sidebar__timeline","7624fXSIVI","highlight","set","_revisions","delegate","removeRevision","ck-rounded-corners","_addRevision","revisionSelected","timePeriodViews","_getTimePeriodViewByStartDate","fire","51eXeExM","revisionViews","div","select","some","ck-disabled","ck-revision-history-sidebar","flat","find","render","1910nISKcf","61368mhGTde","addRevision","add","selectRevision","bindTemplate","deselect"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(553717===parseInt(e(470))/1*(parseInt(e(448))/2)+-parseInt(e(454))/3+-parseInt(e(458))/4*(-parseInt(e(480))/5)+parseInt(e(431))/6*(parseInt(e(446))/7)+-parseInt(e(481))/8*(parseInt(e(451))/9)+parseInt(e(444))/10+-parseInt(e(441))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(467)];[Mo(461)];[Mo(453)];[Mo(439)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(429)];this[s(467)]=this[s(443)](),this[s(467)][s(462)](s(473)).to(this),this[s(467)][s(462)](s(447)).to(this),this[s(461)]=e,this[s(453)]=i,this[s(439)]=n,this.on(s(473),(t,e)=>{const i=s;this[i(469)](i(466),e)}),this.on(s(447),(t,e)=>{const i=s;this[i(469)](i(436),e)}),this[s(460)](s(440),!1),this[s(433)]({tag:s(472),attributes:{class:["ck",s(438),s(464),s(476)]},children:[new xo(t),{tag:s(472),attributes:{class:["ck",s(457),r.if(s(440),s(475),t=>!t)]},children:this[s(467)]}]})}[Mo(479)](){const t=Mo;super[t(479)]();for(const e of this[t(461)])this[t(465)](e);this[t(461)].on(t(427),(e,i)=>{this[t(465)](i)}),this[t(461)].on(t(456),(e,i)=>{this[t(449)](i)})}get[Mo(471)](){const t=Mo;return this[t(467)][t(437)](e=>e[t(471)][t(437)](t=>t))[t(477)]()}[Mo(428)](t){const e=Mo;for(const i of this[e(471)])t&&t.id===i.id?i[e(473)]():i[e(430)]()}[Mo(445)](t){const e=Mo;for(const i of this[e(471)])t[e(474)](({id:t})=>t===i.id)?i[e(459)]():i[e(455)]()}[Mo(465)](t){const e=Mo,i=go(t[e(432)],this[e(435)][e(452)])[e(442)];let n=this[e(467)][e(450)](0);n&&n[e(442)][e(434)]()===i[e(434)]()||(n=new Io(this[e(435)],i,this[e(453)],this[e(439)]),this[e(467)][e(427)](n)),n[e(426)](t)}[Mo(449)](t){const e=Mo,i=go(t[e(432)],this[e(435)][e(452)])[e(442)];this[e(468)](i)[e(463)](t)}[Mo(468)](t){const e=Mo;return this[e(467)][e(478)](i=>i[e(442)][e(434)]()===t[e(434)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=342]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(764893===-parseInt(e(380))/1+parseInt(e(417))/2+-parseInt(e(350))/3+-parseInt(e(365))/4+-parseInt(e(370))/5*(parseInt(e(412))/6)+-parseInt(e(354))/7+parseInt(e(404))/8*(parseInt(e(377))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends J.Plugin{[Co(409)];[Co(416)];[Co(399)];static[Co(386)]=[Co(347),Co(369),Co(359)];static[Co(345)]=function(){const t=Co;return{compareAgainstSelected:{name:t(378),action:({plugins:e},i)=>{const n=t,s=e[n(371)](ue),r=s[n(398)];let o=s[n(349)][n(388)],a=i.id;r[n(408)](o)>r[n(408)](a)&&([o,a]=[a,o]),s[n(393)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(371)](ue);return!(s[n(398)][n(410)](s[n(349)])[n(387)]>2||i[n(342)])}},restoreRevision:{name:t(406),action:(e,{id:i})=>{const n=t;e[n(346)][n(371)](n(355))[n(343)](i)},isVisible:({plugins:e},i)=>!!e[t(371)](ue)[t(398)][t(395)](i.id)},nameRevision:{name:t(375),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(371)](ue),o=r[s(398)][s(407)](i);r[s(393)](i,o),n[s(420)](),n[s(391)][s(351)]()}}}}();static get[Co(394)](){return Co(373)}static get[Co(379)](){return!0}static get[Co(397)](){return!0}static get[Co(415)](){return[ue]}constructor(t){const e=Co;super(t),this[e(409)]=t[e(344)][e(371)](ue),this[e(416)]=this[e(409)][e(398)],this[e(399)]=null}[Co(362)](){const t=Co,e=this[t(416)][t(411)],i=this[t(390)](),n=this[t(364)][t(346)][t(371)](t(361));this[t(399)]=new Do(this[t(364)][t(353)],e,i,this[t(364)][t(346)][t(371)](t(422))),this[t(399)].on(t(389),this[t(385)][t(376)](this)),this[t(399)].on(t(360),this[t(402)][t(376)](this)),this[t(399)][t(376)](t(367)).to(this[t(409)]),this[t(399)][t(348)].on(t(405),(e,i)=>{const n=t;i[n(368)].on(n(405),(t,e)=>{const i=n;e[i(376)](i(367),i(418)).to(this[i(409)])})}),this[t(399)][t(352)](),this[t(366)](this[t(364)][t(372)],t(383),this[t(356)][t(376)](this)),this[t(366)](this[t(409)],t(396),this[t(403)][t(376)](this)),n[t(382)](this[t(399)][t(384)])}[Co(421)](){const t=Co;this[t(399)][t(384)][t(423)](),this[t(399)][t(421)]()}[Co(356)](){const t=Co,e=this[t(416)][t(419)](0);if(e){const i=this[t(416)][t(407)](e.id);this[t(409)][t(393)](e,i)}}[Co(385)](t,e){const i=Co,n=this[i(416)][i(419)](e.id),s=this[i(416)][i(407)](n.id);this[i(409)][i(393)](n,s)}[Co(402)](t,e){const i=Co;this[i(416)][i(419)](e.id)[i(413)](e[i(401)])}[Co(403)](t,e,i){const n=Co,s=this[n(416)][n(410)](i);s[n(387)]>2?(this[n(399)][n(414)](s),this[n(399)][n(358)](null)):(this[n(399)][n(414)]([]),this[n(399)][n(358)](s[0]))}[Co(390)](){const t=Co,e=this[t(364)],i=jo[t(345)],n=e[t(346)][t(371)](t(381))||jo[t(386)];if(n[t(387)])return n[t(363)](n=>{const s=t,r=s(374)==typeof n?Object[s(392)]({},i[n]):n;return r[s(400)]=r[s(400)][s(376)](this,e),r[s(357)]&&(r[s(357)]=r[s(357)][s(376)](this,e)),r})}}function Lo(){const t=["_handleRevisionSelected","defaultRevisionActions","length","newRevisionId","revisionSelected","_createRevisionActions","fieldView","assign","compare","pluginName","getLaterVisibleRevision","change:diff","isPremiumPlugin","repository","_sidebarView","action","name","_handleRevisionSetName","_handleDiffChange","56jFLsQf","add","Restore this revision","getEarlierVisibleRevision","getIndex","_revisionViewer","getRevisionsInDiff","_revisions","84BkNPop","setName","highlightRevisions","requires","_revisionsRepository","335280oDcBfx","isReady","getRevision","focus","destroy","revisionHistory.requireRevisionName","remove","isSelected","restoreRevisionCallback","plugins","availableRevisionActions","config","compareAgainstSelected","timePeriodViews","diff","2563464gmLTLu","select","render","locale","9471539zPQPGe","revisionHistory","_handleEditorDataReady","isVisible","selectRevision","nameRevision","revisionSetName","revisionHistory.viewerSidebarContainer","init","map","editor","2482840gCeluI","listenTo","isEnabled","revisionViews","restoreRevision","86465ZRKOqz","get","data","RevisionsSidebar","string","Name this revision","bind","5371263noOOXp","Compare against selected","isOfficialPlugin","510019pknahp","revisionHistory.revisionActions","appendChild","ready","element"];return(Lo=function(){return t})()}const Po=Uo;function zo(){const t=["getRoot","1572FMYivH","_view","29764sEvBzN","editing","bind","config","init","editable","isFocused","9808240EoIOjc","restore","get","detachDomRoot","isActive","toolbar","document","58900XANPEU","747WzTEDf","_initToolbar","focusTracker","destroy","addToolbar","fire","fillFromConfig","2208vjfCIG","394911XJRQyO","componentFactory","stickyPanel","attachDomRoot","element","replace","5neapGL","ready","viewportTopOffset","rootName","name","4160520RpcLMB","_elementReplacer","view","925058teQCDr","2553284GCnaOp","3gEWokM","limiterElement","editor","viewportOffset","setEditableElement","render","_toolbarConfig"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=153]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(784327===parseInt(e(176))/1*(-parseInt(e(174))/2)+parseInt(e(171))/3+parseInt(e(175))/4*(-parseInt(e(166))/5)+-parseInt(e(159))/6*(parseInt(e(186))/7)+-parseInt(e(193))/8+-parseInt(e(201))/9*(parseInt(e(200))/10)+-parseInt(e(160))/11*(-parseInt(e(184))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends It.EditorUI{[Po(185)];[Po(182)];[Po(172)];get[Po(173)](){return this[Po(185)]}constructor(e,i){const n=Po;super(e),this[n(185)]=i,this[n(182)]=(0,It.normalizeToolbarConfig)(e[n(189)][n(195)](n(198))),this[n(172)]=new t.ElementReplacer}get[Po(164)](){const t=Po;return this[t(173)][t(164)]}[Po(190)](t){const e=Po,i=this[e(178)],n=this[e(173)],s=i[e(187)][e(173)],r=n[e(191)],o=s[e(199)][e(183)]();r[e(170)]=o[e(169)],n[e(181)]();const a=r[e(164)];this[e(180)](r[e(170)],a),n[e(191)][e(188)](e(192)).to(this[e(154)]),s[e(163)](a),this[e(172)][e(165)](t,this[e(164)]),this[e(153)](),this[e(157)](e(167))}[Po(155)](){const t=Po;super[t(155)]();const e=this[t(173)],i=this[t(178)][t(187)][t(173)];this[t(172)][t(194)](),i[t(196)](e[t(191)][t(170)]),e[t(155)]()}[Po(153)](){const t=Po,e=this[t(173)];e[t(162)][t(188)](t(197)).to(this[t(154)],t(192)),e[t(162)][t(177)]=e[t(164)],e[t(162)][t(188)](t(168)).to(this,t(179),({top:t})=>t),e[t(198)][t(158)](this[t(182)],this[t(161)]),this[t(156)](e[t(198)])}}var Zo=i(318),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Nt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=421]})(t,e)}function Bo(){var t=["5sjGlSV","content","12301533KpKgnM","stickyPanel","_editable","main","27103043siRbWK","138FlzyQC","add","toolbar","editable","535058JmmuMu","4BwfgCF","2266860proyVF","8lWbzMW","4979863XtYXvM","21940ddKbPn","4320200ooAkjD","top","shouldToolbarGroupWhenFull","render"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(882549===parseInt(e(432))/1*(parseInt(e(431))/2)+parseInt(e(427))/3*(parseInt(e(436))/4)+parseInt(e(441))/5*(parseInt(e(433))/6)+parseInt(e(435))/7+-parseInt(e(434))/8*(-parseInt(e(422))/9)+-parseInt(e(437))/10+-parseInt(e(426))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(424)];[qo(423)];[qo(429)];get[qo(430)](){return this[qo(424)]}constructor(t,e,i={}){var n=qo;super(t),this[n(423)]=new It.StickyPanelView(t),this[n(429)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(439)]}),this[n(424)]=new It.InlineEditableUIView(t,e)}[qo(440)](){var t=qo;super[t(440)](),this[t(423)][t(421)][t(428)](this[t(429)]),this[t(438)][t(428)](this[t(423)]),this[t(425)][t(428)](this[t(430)])}}function Go(){const t=["createRoot","editing","updateSourceElement","9726PdRMuq","create","view","get","document","4019775lXnZZE","2XsEFcE","3339324bZgmRL","init","731845FodVHL","config","ready","5689143ZsqMlC","model","initialData","1226072KJhxLZ","locale","initPlugins","_ui","sourceElement","fire","7210525bSifEj","1305ajggbl","destroy","data"];return(Go=function(){return t})()}const Jo=Ko;function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=300]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(894521===-parseInt(e(321))/1*(-parseInt(e(318))/2)+-parseInt(e(317))/3+parseInt(e(319))/4+-parseInt(e(306))/5*(-parseInt(e(312))/6)+parseInt(e(305))/7+-parseInt(e(327))/8+-parseInt(e(324))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Jo(302)];get ui(){return this[Jo(302)]}constructor(t,e){const i=Jo;super(e),this[i(303)]=t,this[i(325)][i(316)][i(309)]();const n=new Yo(this[i(300)],this[i(310)][i(314)],{shouldToolbarGroupWhenFull:!0});this[i(302)]=new Wo(this,n)}[Jo(307)](){const t=Jo;return this[t(311)](),this.ui[t(307)](),super[t(307)]()}static async[Jo(313)](t,e){const i=Jo,n=new this(t,e);return await n[i(301)](),await n.ui[i(320)](t),await n[i(308)][i(320)](n[i(322)][i(315)](i(326))||""),n[i(304)](i(323)),n}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=410]})(t,e)}function ea(){const t=["enqueueChange","repository","locale","creator","RestrictedEditingMode","createdAt","revisionHistory.viewerContainer","RevisionHistoryUtils","Restored","set","result","_update","9602420QBDQZb","5428178Sglxpe","parse","style","RevisionsRepository","Annotations","replace","editor","users","1393654TauPbG","_getRevisionViewerEditorConfig","join","translations","5734312NXtLBB","_enhanceCloseRevisionViewerCallback","restoreRevision","AIReviewMode","bind","isReadOnly","$graveyard","getRevisionRootsAttributes","push","addUser","numeric","lazyRoots","setAttribute","setSelection","catch","remove","removeSelectionAttribute","AIChat","selection","addRoot","getRevisionDocumentData","restrictedEditingException","718461RdzTTC","toJSON","has","toLocaleDateString","RevisionHistoryUI","isAttached","panelViews","name","showRevisionViewerCallback","_recalculatePageBreaks","revisionHistory.requireRevisionName","refreshPositioning","markers","define","revision-history-missing-configuration","isReady","model","saveRevision","revisionHistory.viewerEditorElement","9nvGQpj","_closeRevisionViewer","map","get","refreshVisibility","createRangeIn","isOfficialPlugin","roots","indexOf","getRevisions","revisionHistory.showRevisionViewerCallback","getMarkersGroup","AIBalloon","then","AITabs","isPremiumPlugin","pluginName","rootName","PaginationLookup","RevisionTracker","revisionHistory.editorContainer","document","changesNavigation","1IkVENn","block","isRevisionViewerOpen","loadRevisionData","hide","plugins","tabindex","requires","2401080NOFueI","toolbar","DocumentOutline","includes","exitToEditing","save","insert","display","_viewerEditor","destroy","uiLanguage","RevisionViewerIntegration","querySelector","element","revisionHistory.closeRevisionViewerCallback","long","from","revisionHistory.restoreRevisionCallback","Dialog","closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback"," ck-tab-panel_disabled","data","change","revision-history-viewer-opened",".ck-ai-chat-history .ck-input","init","DocumentOutlineUI","AIQuickActions","revisionHistory","getUser","_cleanUp","disableReadOnlyMode","removeAttribute","_restoreRevision","isAnonymous","toLocaleTimeString","removeMarker","6DnNOXE","RevisionHistory","update","AIChatHistory","none","getRevision","detachRoot","toVersion",".ck-ai-chat__prompt-input .ck-textarea","ck-tab-panel_disabled","create","_showRevisionViewer","Users","view","adapter","addRevisionData","374100hTUiNb","getRoot","isEnabled","config","getAttributeKeys","AIActions","commands","keys","Autosave","end","RevisionViewer","fromCharCode","class","error","enableReadOnlyMode","isOpen","fromVersion"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(421428===parseInt(e(513))/1*(parseInt(e(445))/2)+parseInt(e(471))/3+-parseInt(e(575))/4+parseInt(e(521))/5+parseInt(e(559))/6*(parseInt(e(437))/7)+-parseInt(e(449))/8*(parseInt(e(490))/9)+-parseInt(e(436))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(475),Qo(428),Qo(466),Qo(452),Qo(502),Qo(549),Qo(412)];class na extends J.Plugin{[Qo(434)];static get[Qo(506)](){return Qo(532)}static get[Qo(496)](){return!0}static get[Qo(505)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(492)](t=>String[e(418)](t))[e(447)]("")}super(t),this[e(434)]=e(416),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 sa extends J.Plugin{[Qo(529)];static get[Qo(506)](){return Qo(560)}static get[Qo(496)](){return!0}static get[Qo(505)](){return!0}static get[Qo(520)](){return[mt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(443)][i(410)][i(493)](i(550)))throw new t.CKEditorError(i(485),this);this[i(529)]=null,this[i(433)](i(515),!1),this[i(443)][i(410)][i(484)](i(500),t=>this[i(570)]({...t,translations:this[i(443)][i(426)][i(448)]})),this[i(443)][i(410)][i(484)](i(535),t=>this[i(491)](t)),this[i(443)][i(410)][i(484)](i(538),t=>this[i(555)](t)),this[i(443)][i(410)][i(484)](i(481),!1),this[i(541)](),this[i(450)]()}set[Qo(573)](t){const e=Qo;this[e(443)][e(518)][e(493)](e(509))[e(573)]=t}get[Qo(573)](){const t=Qo;return this[t(443)][t(518)][t(493)](t(509))[t(573)]}[Qo(574)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(509))[e(574)](t)}[Qo(564)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(440))[e(564)](t)}[Qo(499)](t){const e=Qo;return this[e(443)][e(518)][e(493)](e(440))[e(499)](t||{toJSON:!1})}[Qo(446)](){const e=Qo,i=this[e(443)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(518)][e(493)](e(509)),r=i[e(518)][e(493)](e(571))[e(444)];return n[e(522)]=[e(525),e(451),e(512)],delete n[e(460)],n[e(518)][e(457)](na,ue,xe,class extends J.Plugin{static get[e(520)](){return[ue,e(571)]}[e(547)](){const n=e,o=this[n(443)][n(518)][n(493)](n(571));for(const t of r)t[n(556)]||o[n(551)](t.id)||o[n(458)](t);const a=s[n(425)][n(499)]();let c=null;const u=this[n(443)][n(518)][n(493)](n(417));u[n(573)]=s[n(573)],u[n(453)](n(577)).to(s),this[n(443)][n(413)][n(493)](n(451))[n(453)](n(577)).to(i,n(454),t=>!t);for(const e of a){const i=null===e[n(427)];if(i&&e[n(566)]===e[n(423)])continue;const r=e[n(472)]();u[n(574)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(435)](r,o);else if(!o){const e=a[u(472)]();e.id=(0,t.uid)(),s[u(488)](e,a[u(566)])[u(503)](t=>{c=t})}}else e[u(435)](r,o)})}}},jo),n}[Qo(541)](){const t=Qo,e=this[t(443)][t(410)][t(493)](t(550))[t(479)];this[t(443)][t(410)][t(433)](t(500),async()=>{const i=t;this[i(443)][i(421)](i(545));const n=this[i(443)][i(518)][i(493)](i(509));if(this[i(443)][i(518)][i(473)](i(415))){const t=this[i(443)][i(518)][i(493)](i(415));await t[i(526)]()}else await n[i(561)]();if(this[i(443)][i(518)][i(473)](i(508))&&this[i(443)][i(518)][i(493)](i(508))[i(480)](),this[i(443)][i(518)][i(473)](i(539))){const t=this[i(443)][i(518)][i(493)](i(539));t[i(422)]&&t[i(517)]()}if(this[i(443)][i(518)][i(473)](i(504))){const t=this[i(443)][i(518)][i(493)](i(504))[i(572)][i(477)];for(const e of t)e[i(419)]=e[i(419)]?e[i(419)]+i(542):i(568);if(this[i(443)][i(518)][i(473)](i(466))){const t=document[i(533)](i(567));t&&t[i(461)](i(519),"-1")}if(this[i(443)][i(518)][i(473)](i(562))){const t=document[i(533)](i(546));t&&t[i(461)](i(519),"-1")}}const s=this[i(446)]();return e(s)[i(503)](t=>{const e=i;return this[e(529)]=t,this[e(443)][e(518)][e(473)](e(441))&&this[e(443)][e(518)][e(493)](e(441))[e(494)](),this[e(443)][e(518)][e(473)](e(523))&&(this[e(443)][e(518)][e(493)](e(548))[e(572)][e(534)][e(439)][e(528)]=e(563)),t})[i(463)](t=>(console[i(420)](t),this[i(443)][i(553)](i(545)),null))})}[Qo(450)](){const t=Qo,e=this[t(443)][t(410)][t(493)](t(550))[t(540)];this[t(443)][t(410)][t(433)](t(535),()=>{const i=t;if(this[i(443)][i(518)][i(473)](i(508))&&this[i(443)][i(518)][i(493)](i(508))[i(480)](),this[i(443)][i(518)][i(473)](i(523))&&(this[i(443)][i(518)][i(493)](i(548))[i(572)][i(534)][i(439)][i(528)]=""),this[i(443)][i(518)][i(473)](i(504))){const t=this[i(443)][i(518)][i(493)](i(504))[i(572)][i(477)];for(const e of t)e[i(419)]=i(568)===e[i(419)]?"":e[i(419)][i(442)](i(542),"");if(this[i(443)][i(518)][i(473)](i(466))){const t=document[i(533)](i(567));t&&t[i(554)](i(519))}if(this[i(443)][i(518)][i(473)](i(562))){const t=document[i(533)](i(546));t&&t[i(554)](i(519))}}return this[i(529)][i(518)][i(493)](i(417))[i(552)](),e(this[i(529)])[i(503)](()=>{const t=i;if(this[t(443)][t(553)](t(545)),this[t(529)]=null,this[t(443)][t(518)][t(473)](t(441))){const e=this[t(443)][t(518)][t(493)](t(441));e[t(494)](),e[t(482)]()}})})}[Qo(570)](t){const e=Qo,i=this[e(443)][e(410)][e(493)](e(510)),n=this[e(443)][e(410)][e(493)](e(430)),s=this[e(443)][e(410)][e(493)](e(489));return Xo[e(569)](s,t)[e(503)](t=>(n[e(439)][e(528)]=e(514),i[e(439)][e(528)]=e(563),this[e(515)]=!0,t))}[Qo(491)](t){const e=Qo,i=this[e(443)][e(410)][e(493)](e(510));return this[e(443)][e(410)][e(493)](e(430))[e(439)][e(528)]=e(563),i[e(439)][e(528)]="",this[e(515)]=!1,t[e(530)]()}async[Qo(555)](t){const e=Qo,i=this[e(443)],n=this[e(529)][e(518)][e(493)](e(417)),s=i[e(518)][e(493)](e(509)),r=i[e(518)][e(493)](e(431)),o=n[e(425)][e(564)](t);let a,c,u;try{await r[e(516)](o,this[e(573)]),a=r[e(469)](o),c=r[e(456)](o)}catch(t){return void console[e(420)](t)}i[e(487)][e(544)](t=>{const n=e;for(const e of Array[n(537)](i[n(487)][n(483)][n(501)](n(470))))t[n(558)](e)}),n[e(486)]=!1,i[e(487)][e(424)](t=>{const n=e;t[n(462)](null),t[n(465)](i[n(487)][n(511)][n(467)][n(411)]());const s=Object[n(414)](a);for(const e of i[n(487)][n(511)][n(497)])n(455)!=e[n(507)]&&e[n(476)]()&&!s[n(524)](e[n(507)])&&t[n(565)](e);for(const e of s){let s=i[n(487)][n(511)][n(576)](e);s&&s[n(476)]()||(s=t[n(468)](e));const r=c[e],o=Object[n(414)](r),u=a[e];for(const e of s[n(411)]())o[n(524)](e)||t[n(554)](e,s);for(const i of o)t[n(461)](i,c[e][i],s);t[n(464)](t[n(495)](s)),t[n(527)](i[n(543)][n(438)](u,s),s,0)}});const l=at(i[e(426)],e(432));return u=o[e(478)]?-1==o[e(478)][e(498)](l)?l+": "+o[e(478)]:o[e(478)]:l+": "+o[e(429)][e(474)](i[e(426)][e(531)],{month:e(536),day:e(459)})+", "+o[e(429)][e(557)](i[e(426)][e(531)],{hour:e(459),minute:e(459)}),await s[e(488)]({name:u}),n[e(486)]=!0,i[e(410)][e(493)](e(550))[e(540)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=482]})(t,e)}function oa(){var t=["393KYVvvb","75ssypUg","2348TPemij","2xoxxbf","286422AfXumr","712DANErQ","66990yKezwo","670eosIBa","1496244IVTidu","26mCrMyV","9667812LjbAdS","28107ytXemQ","35661ZTzdje"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(896910===-parseInt(e(493))/1*(-parseInt(e(484))/2)+-parseInt(e(494))/3*(-parseInt(e(483))/4)+parseInt(e(482))/5*(-parseInt(e(485))/6)+parseInt(e(491))/7+parseInt(e(486))/8*(parseInt(e(492))/9)+-parseInt(e(488))/10*(parseInt(e(487))/11)+-parseInt(e(489))/12*(-parseInt(e(490))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();