@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20251011.0 → 0.0.0-nightly-20251013.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={36:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},78:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},114:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},162: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)}}}},175:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},242: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}},252:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},369:t=>{"use strict";t.exports=function(t){return t[1]}},380:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},469: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)}},529:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},573:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},606:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},668:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},718:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},757:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},790:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},966:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},990: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}}}},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:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,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 x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;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]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),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,N(e,t,i,n,R),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),N(e,t,i,n,R),e}return t}function N(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]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(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 N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}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)\]/,P=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let 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 U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(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 H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(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=Z(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=Y;function $(){const t=["110010ZEPyPW","name","212707qpmVox","map","5RVNysf","fire","toVersion","fromVersion","diffData","3605GxrXtC","creatorId","3204sHlYty","1838002izaxgJ","setAttribute","creator","7378480cOfInj","createdAt","2509197GqvpPv","model","authorsIds","99ftygRZ","set","authors","toJSON","setName","attributes","1157240hawvBu","removeAttribute","_update"];return($=function(){return t})()}function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(520290===-parseInt(e(313))/1+-parseInt(e(323))/2+parseInt(e(328))/3+parseInt(e(337))/4*(parseInt(e(315))/5)+-parseInt(e(322))/6*(parseInt(e(320))/7)+parseInt(e(326))/8+-parseInt(e(331))/9*(parseInt(e(311))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class G extends((0,t.ObservableMixin)()){id;[B(325)];[B(333)];[B(319)];[B(317)];[B(318)];[B(329)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(325)]=e[i(325)]||null,this[i(333)]=e[i(333)]||[],this[i(319)]=e[i(319)]||null,this[i(317)]=e[i(317)]||0,this[i(318)]=e[i(318)]||0,this[i(332)](i(312),e[i(312)]||""),this[i(332)](i(327),e[i(327)]||new Date),this[i(332)](i(336),e[i(336)]||{})}[B(335)](t){this[B(310)]({name:t})}[B(324)](t,e){const i=B,n=A(this[i(336)]);U(n,t,e),this[i(310)]({attributes:n})}[B(309)](t){const e=B,i=A(this[e(336)]);(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=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(310)]({attributes:i})}[B(310)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(312),i(327),i(319),i(333),i(336),i(317),i(318),i(321)];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(333)]&&(s[i(330)]=s[i(333)][i(314)](t=>t.id),delete s[i(333)]),this[i(316)](i(310),s,e))}[B(334)](){const t=B;return{id:this.id,name:this[t(312)],creatorId:this[t(325)]?this[t(325)].id:null,authorsIds:this[t(333)][t(314)](t=>t.id),diffData:this[t(319)],createdAt:this[t(327)],attributes:this[t(336)],fromVersion:this[t(318)],toVersion:this[t(317)]}}}var J=i(782),K=i(211),X=i(783);function Q(){const t=["authorsIds","getRevisions","getUser","Users","toVersion","newRevisionId","toJSON","requires","length","9755746eqpQvr","join","3396070oIQtnK","href","fromVersion","later","data","oldRevisionId","44MtoCbQ","isNaN","343810BpmkHO","afterInit","plugins","get","9185592ejsXOf","earlier","getRevision","getLaterVisibleRevision","from","5580846OQoeQa","creatorId","getIndex","attributes","push","pluginName","reverse","1679213RAfdyP","getEarlierVisibleRevision","diffData","10336704XkkfZV","isPremiumPlugin","name","map","getRevisionsInDiff","add","30vybPWv","RevisionsRepository","fromCharCode","_revisions","3AERbyj","createdAt","isOfficialPlugin","getRevisionsIterator","editor","createRevision","addRevision"];return(Q=function(){return t})()}const tt=et;function et(t,e){const i=Q();return(et=function(t,e){return i[t-=342]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(883185===-parseInt(e(369))/1+parseInt(e(345))/2*(parseInt(e(382))/3)+-parseInt(e(351))/4*(-parseInt(e(353))/5)+parseInt(e(372))/6+parseInt(e(343))/7+-parseInt(e(357))/8+-parseInt(e(362))/9*(parseInt(e(378))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends J.Plugin{[tt(381)];static get[tt(396)](){return[K.Users]}static get[tt(367)](){return tt(379)}static get[tt(384)](){return!0}static get[tt(373)](){return!0}get[tt(342)](){const t=tt;return this[t(381)][t(342)]}constructor(e){const i=tt;super(e),this[i(381)]=new t.Collection}[tt(354)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),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(352)](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([115]);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(375)](t=>String[e(380)](t))[e(344)]("")}!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:1760140800;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(346)]);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)}[tt(387)](t){const e=tt,i=this[e(386)][e(355)][e(356)](e(392));return new G({id:t.id,name:t[e(374)],creator:t[e(363)]?i[e(391)](t[e(363)]):null,diffData:t[e(371)]||t[e(349)],authors:t[e(389)][e(375)](t=>i[e(391)](t)),createdAt:new Date(t[e(383)]),attributes:t[e(365)],fromVersion:t[e(347)],toVersion:t[e(393)]})}[tt(388)](t,e=0){const i=tt;this[i(381)][i(377)](t,e)}[tt(359)](t){const e=tt;return this[e(381)][e(356)](t)}[tt(390)](t={toJSON:!1}){const e=tt,i=Array[e(361)](this[e(381)]);return i[e(368)](),t[e(395)]?i[e(375)](t=>t[e(395)]()):i}[tt(364)](t){const e=tt;return this[e(381)][e(364)](t)}[tt(370)](t){const e=tt,[,i]=this[e(385)](t,{direction:e(358)});return i}[tt(360)](t){const e=tt,[,i]=this[e(385)](t,{direction:e(348)});return i}[tt(376)](t){const e=tt,i=[];for(const n of this[e(385)](t[e(394)]))if(i[e(366)](n),n.id===t[e(350)])break;return i}*[tt(385)](t,{direction:e=tt(358),filter:i=()=>!0}={}){const n=tt,s=n(358)===e?1:-1;let r=this[n(381)][n(356)](t),o=this[n(364)](r);for(yield r;r;){if(o+=s,r=this[n(359)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["21RKKBcL","constructor","viewChildrenToDom","revision-end","createElement","startsWith","filter","name","innerHTML","loadRevisionData","marked","processor","isAttached","attachChange","getRevision","children","1336260qGdvmZ","div","toData","isPremiumPlugin","editor","diffData","view","data-revision-","_makeModelFromViewString","domConverter","type","parse","editing","from","collaboration.channelId","attributesAfter","length","getFillerOffset","_getViewFromDiffObj","map","toModel","isOfficialPlugin","_removeRevisionMarkers","901540kalVoX","_viewClassToTypeChar","string","6kdEIFB","_getTypeCharForViewElement","attributes","useFillerType","_typeCharToViewClass","revision-start","domChildrenToView","956274IgVjTO","insertions","3561865MXAPaI","123824WKgDZW","append","config","document","149682lUBZCT","fillerOffset","data","htmlProcessor","domDocument","pluginName","RevisionHistoryUtils","render","getRevisionRootsAttributes","customProperties","childNodes","getRevisionDocumentData","_appendChild","get","forEach","default","_setCustomProperty","495xteEWg","3661316hQrZLu"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(619321===parseInt(e(381))/1+parseInt(e(398))/2*(parseInt(e(384))/3)+-parseInt(e(416))/4+-parseInt(e(393))/5+parseInt(e(391))/6*(parseInt(e(417))/7)+-parseInt(e(394))/8*(-parseInt(e(415))/9)+-parseInt(e(433))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(403)](){return nt(404)}static get[nt(454)](){return!0}static get[nt(436)](){return!0}[nt(382)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(388)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(426)](t,e){const i=nt;if(t[i(438)]||!e)return;const n=this[i(437)][i(396)][i(411)](i(447)),s=await e[i(431)]({channelId:n,revisionId:t.id});t[i(438)]=s[i(438)]}[nt(409)](t){const e=nt,i={};for(const n in t[e(438)]){if(t[e(438)][n][e(430)]&&!t[e(438)][n][e(430)][e(429)])continue;const s=this[e(455)](JSON[e(444)](t[e(438)][n][e(392)])),r=this[e(437)][e(445)][e(439)][e(397)],o=new X.ViewDocumentFragment(r,s[e(452)](t=>this[e(451)](t,!1)));this[e(437)][e(400)][e(428)][e(387)](e(427)),i[n]=this[e(437)][e(400)][e(428)][e(435)](o),this[e(437)][e(400)][e(428)][e(387)](e(413))}return i}[nt(406)](t){const e=nt,i={};for(const n in t[e(438)])t[e(438)][n][e(430)]&&!t[e(438)][n][e(430)][e(429)]||(i[n]=t[e(438)][n][e(448)]||{});return i}[nt(385)](t){const e=nt;return this[e(382)][e(411)](t[e(418)])}[nt(451)](t,e){const i=nt,n=this[i(437)][i(445)][i(439)][i(397)];if(i(383)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(443)]||"r"==t[i(443)]?[]:t[i(432)][i(452)](t=>this[i(451)](t,e));const o=this[i(388)][i(411)](t[i(443)])||X.ViewElement,a=this[i(437)][i(400)][i(401)][i(442)];if(s=new o(n,t[i(424)],t[i(386)],r),"u"==t[i(443)]&&t[i(432)][0]){const r=t[i(432)][0];if(s[i(405)]=function(t){const e=i,n=t[e(421)](e(434));return n[e(425)]=r,n[e(408)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(410)](s);const e=Array[i(446)](a[i(419)](t,{bind:!1})),r=a[i(402)][i(421)](i(434));r[i(395)](...e),s=Array[i(446)](a[i(390)](r))[0]}}else if("r"==t[i(443)]&&t[i(432)][0]){const r=t[i(432)][0];if(s[i(405)]=function(t){t[i(425)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(410)](s);const e=Array[i(446)](a[i(419)](t,{bind:!1})),r=a[i(402)][i(421)](i(434));r[i(395)](...e);const o=Array[i(446)](a[i(390)](r));o[i(449)]>1?s[i(410)](o):s=o[0]}}if(t[i(407)])for(const[e,n]of t[i(407)])s[i(414)](e,n);const c=void 0===t[i(399)]?null:t[i(399)];return null!==c&&(s[i(450)]=()=>c),s}}[nt(441)](t){const e=nt,i=JSON[e(444)](t),n=this[e(437)][e(445)][e(439)][e(397)],s=new X.ViewDocumentFragment(n,i[e(452)](t=>this[e(451)](t,!0)));return this[e(437)][e(400)][e(453)](s)}[nt(455)](t){const e=nt;return(t=t[e(423)](t=>!t[e(424)]||e(389)!==t[e(424)]&&e(420)!==t[e(424)]))[e(412)](t=>{const i=e;i(383)!=typeof t&&(t[i(432)]=this[i(455)](t[i(432)]),t[i(386)]=t[i(386)][i(423)](t=>!t[0][i(422)](i(440))))}),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,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a: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 A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){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,x))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,x));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,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||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,x))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(870067===parseInt(e(185))/1*(parseInt(e(196))/2)+parseInt(e(147))/3*(-parseInt(e(116))/4)+parseInt(e(368))/5*(-parseInt(e(304))/6)+parseInt(e(259))/7*(-parseInt(e(169))/8)+parseInt(e(271))/9+-parseInt(e(328))/10*(-parseInt(e(408))/11)+-parseInt(e(384))/12*(-parseInt(e(184))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bt);class mt extends J.Plugin{[ft(250)];[ft(375)];[ft(274)]=null;[ft(238)];[ft(254)]=null;[ft(246)];[ft(163)];[ft(396)];[ft(128)];[ft(273)];[ft(411)];[ft(231)];[ft(122)];[ft(318)];static get[ft(268)](){return ft(402)}static get[ft(272)](){return!0}static get[ft(410)](){return!0}static get[ft(125)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(238)]=this[i(148)][i(284)][i(280)](i(124)),this[i(273)]=this[i(148)][i(284)][i(280)](i(291)),this[i(246)]=new pt(this[i(148)]),this[i(396)]=this[i(148)][i(323)][i(280)](i(237))||i(244),this[i(128)]=new Map,this[i(318)]=null;const n=(0,t.uid)();this[i(163)]={history:this[i(148)][i(355)][i(379)][i(255)],getLatestVersion:()=>Promise[i(429)](this[i(148)][i(355)][i(379)][i(239)]),getCurrentRevisionId:()=>n},this[i(190)](i(256),!1),this[i(190)](i(187),!0),this[i(190)](i(425),!1),this[i(148)][i(323)][i(165)](i(282),!0),this[i(148)][i(129)][i(232)](i(427))[i(208)]({view:i(390)})}[ft(249)](){const t=ft;this[t(314)](),this[t(148)][t(359)].on(t(332),()=>{const e=t,i=this[e(238)][e(399)](0),n=i&&null===i[e(110)]?i:null;if(this[e(231)]=!!n&&this[e(148)][e(323)][e(280)](e(282)),this[e(148)][e(284)][e(413)](e(391))){const t=this[e(163)][e(132)](),s=this[e(238)][e(399)](t);if(s)this[e(122)]=s[e(247)],this[e(231)]=!1;else{const t=this[e(163)][e(255)][e(230)][e(310)](t=>!t[e(206)]),s=t?t[e(374)]:this[e(163)][e(255)][e(239)];i?(i[e(136)]<s&&i[e(357)]({toVersion:s}),this[e(231)]?(this[e(163)][e(132)]=()=>n.id,this[e(122)]=n[e(247)]):(this[e(122)]=i[e(136)],this[e(231)]=!1)):(this[e(122)]=s,this[e(231)]=!1)}}else n&&(this[e(148)][e(355)][e(379)][e(255)][e(239)]=Math[e(389)](n[e(136)],this[e(148)][e(355)][e(379)][e(255)][e(239)]),n[e(247)]===n[e(136)]?(0!==n[e(247)]&&(this[e(163)][e(132)]=()=>n.id),this[e(231)]=!1):this[e(231)]&&(this[e(163)][e(132)]=()=>n.id,this[e(122)]=n[e(247)])),this[e(231)]||(this[e(122)]=this[e(148)][e(355)][e(379)][e(239)]);this[e(246)][e(249)](this[e(163)][e(255)]),this[e(405)](this[e(122)]),this[e(288)](this[e(122)]),this[e(254)]&&this[e(369)]()}),this[t(317)](t(256)).to(this,t(425),t=>!t),this[t(250)]=this[t(148)][t(323)][t(280)](t(250));const e=this[t(148)];this[t(375)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(289)==r||i(177)==r||i(397)==r||i(365)==r||i(210)==r||i(219)==r||i(336)==r||i(407)==r){delete e[s],n=r,clearInterval(this[i(375)]),this[i(375)]=void 0;break}}i(177)==n&&e[i(181)](i(394)),i(397)==n&&e[i(181)](i(200)),i(365)==n&&e[i(181)](i(155)),i(210)==n&&e[i(181)](i(141),i(415)),i(219)==n&&e[i(181)](i(341)),i(336)==n&&e[i(181)](i(227)),i(407)==n&&e[i(181)](i(119))},1e3)}async[ft(363)](){const t=ft;if(this[t(238)][t(406)]>0){const e=this[t(238)][t(399)](0),i=await this[t(151)](e),n=await this[t(342)](e);this[t(258)](i,n)}}[ft(351)](){const t=ft;super[t(351)](),this[t(375)]&&clearInterval(this[t(375)])}[ft(403)](t){this[ft(163)]=t}async[ft(358)](){const t=ft,e=await this[t(163)][t(130)]();if(e>this[t(274)][t(136)]){await this[t(267)]();const i=this[t(377)]({revision:this[t(274)],to:e});i[t(333)]=i[t(419)][t(393)](e=>this[t(148)][t(284)][t(280)](t(214))[t(423)](e)),this[t(274)][t(357)](i)}}async[ft(360)](e={},i=null){const n=ft,s=[];await this[n(267)](),this[n(231)]=!1,i>this[n(274)][n(136)]&&(i=null),null===i&&(i=await this[n(163)][n(130)]());const r=this[n(257)](i),o=this[n(377)]({from:r,to:i});if(this[n(274)][n(136)]<i){const t=this[n(377)]({revision:this[n(274)],from:i,to:i});t[n(333)]=[],t[n(419)]=[],t.id=this[n(274)].id,this[n(274)][n(357)](t,!0),delete t[n(333)],s[n(168)](t)}e[n(133)]=this[n(148)][n(284)][n(280)](n(214)).me.id,e[n(251)]=e[n(251)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(316)](e);s[n(168)](e);const c=this[n(238)][n(366)](a);if(0!==c){const t=this[n(238)][n(399)](c-1);if(t[n(247)]!==i){const r=this[n(246)][n(373)](i,t[n(136)]),o={id:t.id,diffData:r[n(183)],authorsIds:r[n(419)],authors:r[n(419)][n(393)](t=>this[n(148)][n(284)][n(280)](n(214))[n(423)](t)),fromVersion:i};t===this[n(274)]&&(o[n(348)]=new Date(e[n(348)][n(261)]()+10)),t[n(357)](o,!0),delete o[n(333)],s[n(168)](o)}}if(this[n(254)]){for(const t of s)this[n(322)](t.id,t,!0);this[n(369)]()}return a}[ft(316)](t){const e=ft,i=this[e(238)][e(161)](t);return this[e(254)]&&i.on(e(357),(t,i,n)=>{const s=e;n||(this[s(322)](i.id,i,!0),this[s(369)]())}),this[e(238)][e(164)](i,this[e(356)](i)),i}async[ft(151)](t){const e=ft;return await this[e(273)][e(270)](t,this[e(254)]),this[e(273)][e(151)](t)}async[ft(342)](t){const e=ft;return await this[e(273)][e(270)](t,this[e(254)]),this[e(273)][e(342)](t)}[ft(369)](){const t=ft;if(0===this[t(128)][t(121)])return;if(this[t(425)])return;let e=Array[t(302)](this[t(128)][t(420)]());this[t(128)][t(279)]();for(let i=0;i<e[t(406)];i++){const n=e[i];let s=!1;for(const e of Object[t(221)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(242)](t=>null!==t),!e[t(406)])return;for(let i=0;i<e[t(406)];i++){const n=e[i];void 0!==n[t(247)]&&void 0===n[t(136)]&&(n[t(136)]=this[t(238)][t(399)](n.id)[t(136)]),void 0!==n[t(136)]&&void 0===n[t(247)]&&(n[t(247)]=this[t(238)][t(399)](n.id)[t(247)])}const i=this[t(148)][t(323)][t(280)](t(237));this[t(425)]=!0,this[t(285)](),this[t(254)][t(308)](e,i)[t(276)](()=>{this[t(425)]=!1})[t(361)](e=>{const i=t;if(e)for(const t of e)this[i(202)]({id:t.id,createdAt:t[i(348)]});this[i(198)](),this[i(369)]()})}[ft(377)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(247)],i=null!==i?i:t[n(136)];const s=this[n(246)][n(373)](e,i),r={diffData:s[n(183)],authorsIds:s[n(419)],fromVersion:e,toVersion:i};if(!t||i!==t[n(136)]){const t=i-1,e=this[n(163)][n(255)][n(277)](t);r[n(348)]=e&&e[n(348)]||new Date}if(this[n(318)]&&e===this[n(318)][n(247)])for(const t of this[n(318)][n(333)])r[n(419)][n(248)](t.id)||r[n(419)][n(168)](t.id);return r}[ft(322)](t,e,i){const n=ft;if(this[n(128)][n(413)](t)){const s=this[n(128)][n(280)](t);e=i?{...s,...e}:{...e,...s}}this[n(128)][n(190)](t,e)}[ft(202)](t){const e=ft,i=this[e(238)][e(399)](t.id);if(t[e(348)]&&(t[e(348)]=new Date(t[e(348)])),t[e(419)]){const i=this[e(148)][e(284)][e(280)](e(214));t[e(333)]=t[e(419)][e(393)](t=>i[e(423)](t))}i[e(357)](t,!0)}[ft(405)](t){const e=ft,i=this[e(238)][e(399)](this[e(238)][e(406)]-1);if(i)this[e(396)]=i.id;else{const i=!this[e(148)][e(355)][e(379)][e(388)][e(310)](t=>this[e(148)][e(355)][e(139)](t)),n=this[e(148)][e(284)][e(280)](e(214)).me.id,s=at(this[e(148)][e(188)],e(i?286:352));this[e(223)]({from:t,to:t,id:this[e(396)],name:s,creatorId:n})}}[ft(288)](t){const e=ft,i=this[e(163)][e(132)]();this[e(274)]=this[e(238)][e(399)](i),this[e(274)]||(this[e(274)]=this[e(223)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(267)](){const t=ft;this[t(231)]&&!this[t(318)]&&(await this[t(273)][t(270)](this[t(274)],this[t(254)]),this[t(246)][t(170)](this[t(274)]),this[t(318)]={fromVersion:this[t(274)][t(247)],authors:this[t(274)][t(333)][t(182)]()})}[ft(258)](e,i){const n=ft;let s=this[n(148)][n(323)][n(280)](n(262)),r=this[n(148)][n(323)][n(280)](n(252));if(void 0===s){s={};for(const t of this[n(148)][n(355)][n(379)][n(108)]())s[t]=""}if(n(400)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(148)][n(355)][n(379)][n(108)]())r[t]={}}let o=!1;const a=Object[n(221)](s),c=Object[n(221)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(240)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(221)](r[t])[n(406)]>0){o=!0;break}}o||(o=c[n(205)](t=>!this[n(148)][n(355)][n(379)][n(112)](t))),o&&(0,t.logWarning)(n(176),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(148)][n(323)][n(190)](n(262),e),this[n(148)][n(323)][n(190)](n(252),i)}[ft(285)](){const t=ft;if(!this[t(411)]){const e=this[t(148)][t(284)][t(280)](t(150));this[t(411)]=e[t(127)](at(this[t(148)][t(188)],t(424)))}}[ft(198)](){const t=ft;this[t(411)]&&(this[t(148)][t(284)][t(280)](t(150))[t(338)](this[t(411)]),this[t(411)]=null)}[ft(356)](t){const e=ft,i=this[e(238)][e(312)]();i[e(326)]();let n=0;for(;n<i[e(406)];){const s=i[n];if(s===this[e(274)]){n++;continue}if(s.id===this[e(396)])break;const r=t[e(136)]-s[e(136)]||t[e(247)]-s[e(247)];if(r>0)break;if(r<0)n++;else{if(!t[e(110)]&&s[e(110)])break;if(s[e(110)]||!t[e(110)]){if(t[e(348)]>s[e(348)])break;n++}else n++}}return n}[ft(257)](t){const e=ft,i=this[e(238)][e(312)]();i[e(326)](),i[e(281)]();const n=i[e(310)](i=>i[e(136)]<=t)[e(136)];return n<this[e(122)]?this[e(122)]:n}[ft(223)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(377)]({from:e,to:i});o[r(251)]=t,o[r(133)]=n,o.id=s;const a=this[r(316)](o);return this[r(254)]&&this[r(322)](o.id,o,!0),a}[ft(314)](){const t=ft;this[t(148)][t(129)][t(232)](t(364))[t(149)]({model:t(390)})}}class pt{[ft(148)];[ft(156)];[ft(428)];[ft(300)];[ft(142)];[ft(222)];[ft(401)];[ft(383)];[ft(212)];[ft(137)];[ft(378)];[ft(114)];[ft(152)];[ft(104)];[ft(146)];[ft(287)];[ft(354)];constructor(t){const e=ft;this[e(148)]=t,this[e(428)]=new Map,this[e(300)]=-1,this[e(142)]=-1,this[e(222)]=new Map,this[e(401)]=new Map,this[e(383)]=new Map,this[e(212)]=new Map,this[e(137)]=new Map,this[e(378)]=new Map,this[e(114)]=new Map,this[e(152)]=new Map,this[e(104)]=new Map,this[e(146)]=new Map,this[e(287)]=1}[ft(249)](t){const e=ft;this[e(156)]=t;const i=new Map,n=new Map,s=this[e(148)][e(355)][e(379)][e(388)][e(393)](t=>t[e(339)]);for(const t of s){const s=this[e(148)][e(355)][e(379)][e(112)](t),r=vt(s);i[e(190)](t,r),n[e(190)](t,Object[e(340)](s[e(171)]()))}const r=Array[e(302)](this[e(148)][e(355)][e(175)])[e(393)](t=>[t[e(251)],t[e(218)]()]),o=this[e(156)][e(239)];this[e(295)](o,i,r,n),this[e(354)]=this[e(287)];const a=new Map,c=new Map;for(const t of s){const i=gt(t);a[e(190)](t,i),c[e(190)](t,{})}this[e(295)](Number[e(422)],a,[],c)}[ft(373)](t,e){const i=ft;if(this[i(300)]===t&&this[i(142)]<=e)this[i(428)][i(121)]>1&&this[i(195)](this[i(142)]),this[i(315)](this[i(142)],e,!0);else{if(!this[i(428)][i(413)](t)){const e=this[i(278)](t);this[i(215)](e,t,!1)}this[i(215)](t,e,!0)}return this[i(300)]=t,this[i(142)]=e,this[i(135)]()}[ft(170)](t){const e=ft;if(!this[e(428)][e(413)](t[e(247)])){const i=this[e(278)](t[e(247)]);this[e(215)](i,t[e(247)],!1)}this[e(215)](t[e(247)],t[e(136)],!1);const i=this[e(148)][e(284)][e(280)](e(291));this[e(115)](),this[e(300)]=t[e(247)],this[e(142)]=t[e(136)];for(const n in t[e(183)]){const s=t[e(183)][n][e(305)],r=A(t[e(183)][n][e(426)])||{},o=i[e(192)](t[e(183)][n][e(228)]);o[e(339)]=n,o[e(191)]=!s||!s[e(292)],o[e(292)]=()=>o[e(191)],this[e(212)][e(190)](n,o),this[e(137)][e(190)](n,r),s&&this[e(146)][e(190)](n,s);const a=this[e(297)](o);this[e(114)][e(190)](n,a);for(const[t,i]of o[e(175)]){if(!t[e(225)](e(138)))continue;const n=t[e(327)](":")[2];for(const t of i[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),s=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)],r=a[e(398)](s)[e(157)](i);this[e(152)][e(190)](r,{userId:n})}o[e(175)][e(404)](t)}}this[e(354)]=this[e(287)];const n=[...Array(this[e(287)])[e(221)]()][e(182)](1)[e(242)](t=>!this[e(152)][e(413)](t));let s=0;const r=new Map;for(const o in t[e(183)]){const a=t[e(183)][o][e(305)],c=A(t[e(183)][o][e(236)])||{},u=i[e(192)](t[e(183)][o][e(106)]);u[e(339)]=o,u[e(191)]=!a||a[e(292)],u[e(292)]=()=>u[e(191)],this[e(401)][e(190)](o,u),this[e(383)][e(190)](o,c);const l=this[e(297)](u,Number[e(422)]);this[e(378)][e(190)](o,l),r[e(190)](o,u[e(292)]()?c:{});for(const[t,i]of u[e(175)]){if(!t[e(225)](e(138)))continue;const n=t[e(327)](":")[2];for(const t of i[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),s=this[e(287)]++,r=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)];l[e(398)](r)[e(320)](i,s),this[e(152)][e(190)](s,{userId:n})}u[e(175)][e(404)](t)}for(const t of this[e(148)][e(355)][e(126)](u)[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),r=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)],o=l[e(398)](r);o[e(157)](i)>0||o[e(320)](i,n[s++])}for(const[t,i]of u[e(175)])t[e(225)](e(138))||this[e(222)][e(190)](t,i)}const{roots:o}=this[e(428)][e(280)](t[e(247)]),{roots:a}=this[e(428)][e(280)](t[e(136)]),c=vt(o[e(280)](e(269)));this[e(212)][e(190)](e(269),c),this[e(114)][e(190)](e(269),this[e(297)](c,Number[e(422)]));const u=vt(a[e(280)](e(269)));this[e(401)][e(190)](e(269),u),this[e(378)][e(190)](e(269),this[e(297)](u));const l=Array[e(302)](this[e(401)])[e(393)](([t,e])=>[t,vt(e)]);this[e(295)](this[e(142)],l,this[e(222)],r)}[ft(386)](){const t=ft;this[t(115)](),this[t(300)]=-1,this[t(142)]=-1,this[t(428)][t(279)](),this[t(249)](this[t(156)])}[ft(295)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(190)](t,{start:e[s(344)][s(145)](),end:e[s(117)][s(145)](),rootName:e[s(275)][s(339)]});this[s(428)][s(190)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(195)](t){const e=ft;this[e(428)][e(404)](t)}[ft(115)](){const t=ft;this[t(152)][t(279)](),this[t(104)][t(279)](),this[t(146)][t(279)](),this[t(401)][t(279)](),this[t(383)][t(279)](),this[t(212)][t(279)](),this[t(137)][t(279)](),this[t(378)][t(279)](),this[t(114)][t(279)](),this[t(222)][t(279)](),this[t(287)]=1,this[t(354)]=this[t(287)]}[ft(297)](t,e=null){const i=ft;let n=null;t.is(i(220))||(n=new X.ModelElement(t[i(251)],{vid_start:null===e?this[i(287)]++:e++}));const s=[];for(const n of t[i(211)]())if(n.is(i(313))){s[i(168)](this[i(297)](n,e));const t=s[s[i(406)]-1];null!==e&&(e=t.is(i(313),i(347))?t[i(157)](i(409))+1:t[i(157)](i(293))+1)}else for(let t=0;t<n[i(203)];t++)s[i(168)](new X.ModelElement(i(347),{vid:null===e?this[i(287)]++:e++}));if(t.is(i(220))){const e=gt(t[i(339)]);return e[i(264)](0,s),e}return n[i(320)](i(293),null===e?this[i(287)]++:e++),n[i(264)](0,s),n}[ft(215)](t,e,i){const n=ft;this[n(115)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(428)][n(280)](t);this[n(212)]=new Map(s),this[n(137)]=new Map(A(o));for(const[t,e]of this[n(212)])if(n(269)!==t&&(this[n(401)][n(190)](t,vt(e)),this[n(383)]=new Map(A(o)),i)){const i=this[n(287)];this[n(378)][n(190)](t,this[n(297)](e)),this[n(114)][n(190)](t,this[n(297)](e,i))}this[n(354)]=this[n(287)],this[n(401)][n(190)](n(269),vt(this[n(212)][n(280)](n(269)))),i&&this[n(378)][n(190)](n(269),this[n(297)](this[n(212)][n(280)](n(269))));for(const[t,e]of r){const i=this[n(212)][n(280)](e[n(339)]),s=this[n(401)][n(280)](e[n(339)]),r=new X.ModelRange(this[n(178)](e[n(344)],i),this[n(178)](e[n(117)],i)),o=this[n(349)](r,s);i[n(175)][n(190)](t,r),this[n(222)][n(190)](t,o)}this[n(315)](t,e,i)}[ft(315)](t,e,i){const n=ft;for(const s of this[n(156)][n(325)](t,e))this[n(260)](s,i);for(const t of this[n(401)][n(420)]())t[n(175)][n(279)]();for(const[t,e]of this[n(222)])this[n(401)][n(280)](e[n(275)][n(339)])[n(175)][n(190)](t,e[n(145)]());const s=new Map,r=new Map;for(const[t,e]of this[n(401)])s[n(190)](t,vt(e)),r[n(190)](t,this[n(383)][n(280)](t));this[n(295)](e,s,this[n(222)],r)}[ft(278)](t){const e=ft,i=Array[e(302)](this[e(428)][e(221)]());i[e(362)]((t,e)=>t-e),i[e(326)]();for(const e of i)if(e<t)return e;return Number[e(422)]}[ft(263)](t,e){const i=ft,n=Array[i(302)](e[i(175)])[i(393)](([e,n])=>[e,this[i(349)](n,t)]);t[i(175)]=new Map(n)}[ft(144)](t){const e=ft;for(const i of this[e(222)][e(420)]()){const n=i[e(319)](t),s=X.ModelRange[e(294)](n);i[e(344)]=s[e(344)],i[e(117)]=s[e(117)]}}[ft(260)](t,e){const i=ft;if(i(113)!=t[i(329)]&&i(337)!=t[i(329)]){if(i(370)==t[i(329)]){const n=t[i(109)][i(275)][i(339)];this[i(401)][i(413)](n)||(this[i(401)][i(190)](n,gt(n,!0)),this[i(383)][i(190)](n,{}),e&&this[i(378)][i(190)](n,gt(n,!0)))}else{if(i(234)==t[i(329)]||i(153)==t[i(329)]||i(229)==t[i(329)])return void this[i(233)](t);i(162)==t[i(329)]&&this[i(224)](t)}if(i(162)!==t[i(329)]){const e=this[i(160)](t,this[i(401)]);e[i(392)](),this[i(144)](e)}if(e)switch(t[i(329)]){case i(370):this[i(343)](t);break;case i(193):case i(338):case i(213):this[i(321)](t);break;case i(143):this[i(201)](t);break;case i(327):this[i(372)](t)}}else this[i(241)](t,e)}[ft(160)](t,e){const i=ft,n=t[i(145)]();return n[i(186)]=t[i(186)],this[i(158)](n,e),n}[ft(217)](t){const e=ft;return t[e(393)](t=>{const i=e,n=this[i(173)](t);return Number(t[i(235)][i(157)](n))})}[ft(111)](t,e){const i=ft;if(t.is(i(313),i(347)))e[i(168)]({item:t,type:i(311)});else{t.is(i(313))&&e[i(168)]({item:t,type:i(353)});for(const n of t[i(211)]())this[i(111)](n,e);t.is(i(313))&&e[i(168)]({item:t,type:i(197)})}return e}[ft(135)](){const t=ft,e=new Map(this[t(152)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(212)][t(221)](),...this[t(401)][t(221)]()]);a[t(404)](t(269));for(const e of a){const i=this[t(401)][t(280)](e)||gt(e,!1),n=this[t(212)][t(280)](e)||gt(e,!1);i[t(292)]()||n[t(292)]()?(s[t(106)][e]=vt(i),s[t(228)][e]=vt(n),this[t(263)](s[t(228)][e],n),this[t(263)](s[t(106)][e],i),r[t(106)][e]=this[t(111)](this[t(378)][t(280)](e),[]),r[t(228)][e]=this[t(111)](this[t(114)][t(280)](e)||gt(e,!1),[])):a[t(404)](e)}for(const s of a){const o=r[t(106)][s];for(const s of o){const r=this[t(173)](s),o=s[t(235)][t(157)](r);i[t(404)](o),o>=this[t(354)]&&n[t(190)](o,e[t(280)](o))}}for(const s of a){const a=r[t(106)][s],c=this[t(217)](r[t(228)][s]);let u=0;for(const s of a){const r=this[t(173)](s),a=s[t(235)][t(157)](r);if(!n[t(413)](a)&&!o[t(413)](a))if(i[t(413)](a))u++;else{if(a!=c[u]){const n=e[t(280)](a)||e[t(280)](c[u]);for(;a!=c[u];)i[t(413)](c[u])||(o[t(190)](c[u],n),e[t(190)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(106)][e];for(const e of s){const s=this[t(173)](e),r=e[t(235)][t(157)](s);if(o[t(413)](r)){const e=o[t(280)](r);i[t(413)](r)||i[t(190)](r,{...e}),n[t(190)](r,{...e})}}}for(const e of i[t(221)]())e>=this[t(354)]&&i[t(404)](e);const c=new Map;for(const e of a){let s=r[t(106)][e];for(const e of s)if(e[t(235)].is(t(313),t(324))){const i=this[t(173)](e),s=e[t(235)][t(157)](i);if(n[t(413)](s)){const i=e[t(235)][t(299)][t(299)][t(157)](t(330)),r=c[t(280)](i)||new Set;r[t(127)](n[t(280)](s)[t(194)]),c[t(190)](i,r)}}s=r[t(228)][e];for(const e of s)if(e[t(235)].is(t(313),t(324))){const n=this[t(173)](e),s=e[t(235)][t(157)](n);if(i[t(413)](s)){const n=e[t(235)][t(299)][t(299)][t(157)](t(330)),r=c[t(280)](n)||new Set;r[t(127)](i[t(280)](s)[t(194)]),c[t(190)](n,r)}}for(const e of c[t(221)]())(n[t(413)](e)||i[t(413)](e))&&c[t(404)](e)}for(const e of a){const s=r[t(106)][e];let o=null,a=null;for(const e of s){const s=this[t(173)](e),r=e[t(235)][t(157)](s),u=c[t(280)](r);u&&t(353)==e[t(329)]&&(o=Array[t(302)](u)[0],a=e[t(235)][t(157)](t(293))),o&&(i[t(190)](r,{userId:o}),n[t(190)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(228)][e],a=s[t(106)][e];for(const{userId:e}of this[t(104)][t(420)]())null!==e&&l[t(127)](e);for(const{userId:e}of this[t(146)][t(420)]())null!==e&&l[t(127)](e);this[t(301)](a,r[t(106)][e],n,t(189),l),this[t(301)](o,r[t(228)][e],i,t(120),l),u[e]={insertions:this[t(172)](a),deletions:this[t(172)](o),attachChange:this[t(146)][t(280)](e)||null,attributesBefore:A(this[t(137)][t(280)](e))||{},attributesAfter:A(this[t(383)][t(280)](e))}}return{diffData:u,authorsIds:Array[t(302)](l)}}[ft(334)](t){const e=ft;for(const[,i]of t[e(175)]){const t=i[e(344)][e(159)]()[e(242)](t=>e(324)==t[e(251)]);for(const i of t)1==i[e(123)]&&i[e(266)](0).is(e(313),e(309))&&i[e(266)](0)[e(320)](e(331),!0)}}[ft(172)](t){const e=ft;this[e(334)](t);const i=this[e(148)][e(359)][e(395)](t,{}),n=Array[e(302)](i[e(211)]())[e(393)](t=>this[e(376)](t));return JSON[e(414)](n)}[ft(376)](t){const e=ft;if(t.is(e(347)))return t[e(359)];{const i=this[e(148)][e(284)][e(280)](e(291)),n=t,s=this[e(148)][e(359)][e(131)][e(207)],r={type:i[e(418)](n),name:n[e(251)],attributes:Array[e(302)](n[e(171)]()),children:Array[e(302)](n[e(211)]())[e(393)](t=>this[e(376)](t))};if(t.is(e(416))&&e(166)!=t[e(251)]){const i=t[e(209)](s[e(335)],s);r[e(346)][e(168)](i[e(385)])}else if(t.is(e(371))){const i=s[e(335)][e(140)](n[e(251)]);t[e(209)](i,s),r[e(346)][e(168)](i[e(253)])}const o=Array[e(302)](n[e(154)]());o[e(406)]>0&&(r[e(367)]=o);const a=n[e(307)]();return null!==a&&(r[e(382)]=a),r}}[ft(301)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(148)][r(355)];for(let n=0;n<e[r(406)];n++){const s=this[r(173)](e[n]),c=e[n][r(235)][r(157)](s),h=i[r(280)](c),d=n==e[r(406)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(194)]!=o[r(194)])&&(l(h,yt(a,t,u),yt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,yt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(194)],d=l(138)+n+":"+h+":"+c++,f=u[l(245)](i,a);t[l(175)][l(190)](d,f),null!==h&&s[l(127)](h)}}[ft(173)](t){const e=ft;switch(t[e(329)]){case e(353):return e(330);case e(197):return e(293);default:return e(409)}}[ft(158)](t,e){const i=ft;t[i(374)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(280)](s[i(275)][i(339)]);t[n]=this[i(178)](s,r)}if(s instanceof X.ModelRange){const r=e[i(280)](s[i(275)][i(339)]);t[n]=this[i(349)](s,r)}i(275)===n&&(t[i(275)]=e[i(280)](t[i(275)][i(339)]))}}[ft(349)](t,e){const i=ft;return this[i(148)][i(355)][i(245)](this[i(178)](t[i(344)],e),this[i(178)](t[i(117)],e))}[ft(178)](t,e){const i=ft;return this[i(148)][i(355)][i(134)](e,t[i(283)],t[i(243)])}[ft(343)](t){const e=ft,i=this[e(378)][e(280)](t[e(109)][e(275)][e(339)]),n=this[e(178)](t[e(109)],i),s=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,r=n[e(299)],o=this[e(287)],a=[];for(const i of t[e(381)])if(i.is(e(313)))a[e(168)](this[e(297)](i));else for(let t=0;t<i[e(203)];t++)a[e(168)](new X.ModelElement(e(347),{vid:this[e(287)]++}));const c=this[e(287)];for(let t=o;t<c;t++)this[e(152)][e(190)](t,{userId:s});r[e(264)](n[e(226)],a)}[ft(321)](t){const e=ft;(t=this[e(160)](t,this[e(378)]))[e(392)]();const i=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(204)](),s=n[e(299)],r=n[e(226)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(266)](e);r.is(a(313),a(347))?n[a(190)](r[a(157)](a(409)),{userId:i}):(n[a(190)](r[a(157)](a(330)),{userId:i}),t(n,r,0,r[a(123)]),n[a(190)](r[a(157)](a(293)),{userId:i}))}}(this[e(152)],s,r,r+t[e(265)])}[ft(201)](t){const e=ft,i=null===(t=this[e(160)](t,this[e(378)]))[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(118)][e(299)],s=t[e(387)][e(299)],r=n[e(157)](e(293)),o=s[e(157)](e(330));n[e(320)](e(293),s[e(157)](e(293))),s[e(320)](e(293),r),this[e(152)][e(190)](o,{userId:i}),this[e(152)][e(190)](r,{userId:i}),t[e(392)]()}[ft(372)](t){const e=ft,i=null===(t=this[e(160)](t,this[e(378)]))[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(105)],s=t[e(180)][e(299)];t[e(392)]();const r=s[e(157)](e(293)),o=t[e(199)][e(306)];if(n){const t=o[e(157)](e(293)),n=s[e(157)](e(293));s[e(320)](e(293),t),o[e(320)](e(293),n),this[e(152)][e(190)](s[e(157)](e(293)),{userId:i}),this[e(152)][e(190)](o[e(157)](e(330)),{userId:i})}else{const t=this[e(287)]++,n=this[e(287)]++;s[e(320)](e(293),t),o[e(320)](e(330),n),o[e(320)](e(293),r),this[e(152)][e(190)](t,{userId:i}),this[e(152)][e(190)](n,{userId:i})}}[ft(224)](t){const e=ft;if(!t[e(350)])return;const i=(t=this[e(160)](t,this[e(401)]))[e(345)]?t[e(345)][e(275)]:null,n=t[e(421)]?t[e(421)][e(275)]:null;i&&this[e(222)][e(404)](t[e(251)]),n&&this[e(222)][e(190)](t[e(251)],t[e(421)][e(145)]());const s=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,r=t[e(251)];if(!this[e(104)][e(413)](r))return void this[e(104)][e(190)](r,{range:t[e(345)],userId:s});const o=this[e(104)][e(280)](r),a=o[e(179)],c=t[e(421)];null==a&&null==c||a&&c&&a[e(417)](c)?this[e(104)][e(404)](t[e(251)]):o[e(194)]=s}[ft(241)](t,e){const i=ft;this[i(401)][i(413)](t[i(339)])?this[i(401)][i(280)](t[i(339)])[i(191)]=t[i(298)]:(this[i(401)][i(190)](t[i(339)],gt(t[i(339)],!0)),this[i(383)][i(190)](t[i(339)],{}),e&&this[i(378)][i(190)](t[i(339)],gt(t[i(339)],!0)));const n=null===t[i(186)]?null:t[i(186)]||this[i(148)][i(284)][i(280)](i(214)).me.id,s=this[i(146)][i(280)](t[i(339)]);s&&s[i(194)]===n?this[i(146)][i(404)](t[i(339)]):this[i(146)][i(190)](t[i(339)],{userId:n,isAttached:t[i(298)]})}[ft(233)](t){const e=ft,i=this[e(383)][e(280)](t[e(275)][e(339)]);null===t[e(216)]?delete i[t[e(380)]]:i[t[e(380)]]=t[e(216)]}}function vt(t){const e=ft,i=gt(t[e(339)],t[e(292)]());for(const n of t[e(211)]()){const t=n[e(296)](!0);i[e(412)](t)}return i}function gt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(339)]=t,n[i(191)]=e,n[i(292)]=()=>n[i(191)],n}function yt(t,e,i){const n=ft,s=n(197)==t[n(329)]?i[n(303)](t[n(235)],n(117)):i[n(167)](t[n(235)]);return i[n(134)](e,s[n(283)],s[n(243)])}function kt(t,e){const i=bt();return(kt=function(t,e){return i[t-=104]})(t,e)}function bt(){const t=["outerHTML","reInit","sourcePosition","roots","max","revision","RealTimeCollaborationClient","_execute","map","invalid","toView","_initialRevisionId","revisionHistoryLicenseKeyExpired","getNodeByPath","getRevision","string","_diffRoots","RevisionTracker","setSource","delete","_createInitialRevision","length","revisionHistoryLicenseKeyUsageLimit","8701583oGDivy","vid","isPremiumPlugin","_pendingAction","_appendChild","has","stringify","RevisionHistory","uiElement","isEqual","_getTypeCharForViewElement","authorsIds","values","newRange","NEGATIVE_INFINITY","getUser","PENDING_ACTION_REVISION_HISTORY","_isPendingUpdate","attributesBefore","upcast","_savedMetaData","resolve","_touchedMarkers","graveyardPosition","insertions","previousPosition","getRootNames","position","creator","_generateTape","getRoot","addRoot","_baseIdsRoots","_reset","5640lCBnDS","end","targetPosition","usageLimit","deletion","size","_startingVersion","childCount","RevisionsRepository","requires","createRangeIn","add","_bufferedUpdates","conversion","getLatestVersion","htmlProcessor","getCurrentRevisionId","creatorId","createPositionFromPath","_getState","toVersion","_baseRootsAttributes","revision:","hasContent","createElement","featureNotAllowed","_lastTo","merge","_transformMarkers","clone","_touchedRoots","3093skmUGq","editor","markerToData","PendingActions","getRevisionDocumentData","_touched","removeRootAttribute","getCustomProperties","domainLimit","source","getAttribute","_fixOperation","getAncestors","_cloneOperation","createRevision","marker","_source","addRevision","define","$comment","createPositionBefore","push","8LrEHjP","loadState","getAttributes","_prepareViewToSave","_getVidAttributeName","getWalker","markers","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyInvalid","_fixPosition","range","splitPosition","_showLicenseError","slice","diffData","26uWESFb","89NLPnBn","_authorId","isEnabled","locale","insertion","set","_isAttached","_makeModelFromViewString","move","userId","_removeMetaData","18622aMhCTo","elementEnd","_removePendingAction","insertionPosition","expired","_handleMergeOperation","setRevisionData","offsetSize","getMovedRangeStart","some","_isInit","domConverter","dataToMarker","render","revisionHistoryLicenseKeyNotAllowed","getChildren","_baseRoots","reinsert","Users","_calculateMetaData","newValue","_getBaseVids","getRange","revisionHistoryLicenseKeyEvaluationLimit","documentFragment","keys","_markers","_makeRevision","_handleMarkerOperation","startsWith","offset","trialLimit","deletions","changeRootAttribute","_operations","_continueCurrentRevision","for","_handleRootAttributeOperation","addRootAttribute","item","attributesAfter","collaboration.channelId","repository","version","trim","_handleRootOperation","filter","stickiness","initial","createRange","_revisionDataBuilder","fromVersion","includes","init","licenseKey","name","rootsAttributes","innerHTML","adapter","history","isReady","_getFromVersion","_replaceEditorDataWithRevisionData","11165588VuvETN","_handleOperation","getTime","initialData","_copyMarkers","_insertChild","howMany","getChild","_loadState","pluginName","$graveyard","loadRevisionData","1328301CyFHNS","isOfficialPlugin","_utils","currentRevision","root","finally","getOperation","_getPreviousFrom","clear","get","shift","revisionHistory.resumeUnsavedRevision","path","plugins","_addPendingAction","Empty document","_revisionId","_createCurrentRevision","revisionHistoryLicenseKeyValid","createPositionAfter","RevisionHistoryUtils","isAttached","vid_end","_createFromRanges","_saveMetaData","_clone","_makeIdsRoot","isAdd","parent","_lastFrom","_markChanges","from","createPositionAt","6BiRxIJ","attachChange","nodeAfter","getFillerOffset","updateRevisions","paragraph","find","text","getRevisions","element","_setConversion","_applyOperations","addRevisionData","bind","_loadedStateData","getTransformedByOperation","_setAttribute","_handleMoveOperation","_bufferUpdate","config","tableCell","getOperations","reverse","split","10zlSVPX","type","vid_start","keepParagraph","ready","authors","_processRootBeforeSave","domDocument","revisionHistoryLicenseKeyTrialLimit","detachRoot","remove","rootName","fromEntries","evaluationLimit","getRevisionRootsAttributes","_handleInsertOperation","start","oldRange","children","$text","createdAt","_fixRange","affectsData","destroy","Initial revision","elementStart","_startingRevisionId","model","_findInsertionIndex","_update","update","data","saveRevision","then","sort","afterInit","dataDowncast","revisionHistoryLicenseKeyDomainLimit","getIndex","customProperties","2176710dSlJPq","sendBufferedUpdates","insert","rawElement","_handleSplitOperation","getData","baseVersion","_licenseKeyCheckInterval","_getViewJson","buildRevisionData","_idsRoots","document","key","nodes","fillerOffset","_diffRootsAttributes","15521292QBYZTh"];return(bt=function(){return t})()}function wt(t,e,i){const n=ft,s=n(353)==t[n(329)]?i[n(303)](t[n(235)],0):i[n(290)](t[n(235)]);return i[n(134)](e,s[n(283)],s[n(243)])}var _t=i(355),It=i(311),St=i(990),Ot=i.n(St),Tt=i(162),xt=i.n(Tt),Nt=i(469),Rt=i.n(Nt),At=i(606),Mt=i.n(At),Vt=i(114),Et=i.n(Vt),Dt=i(78),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(36),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=Rt().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Et();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=435]})(t,e)}function zt(){const t=["render","220","element","locale","ck-responsive-form","arrowright","Name of the revision","_createRevisionNameInput","arrowleft","2082nziBps","set","extendTemplate","54652vuuMbW","460204yWwlWj","6240665UxkRAU","form","focusTracker","6223UprXRp","setTemplate","arrowdown","input","59378FJnUHy","stopPropagation","listenTo","reset","value","label","focus","add","revisionNameInputView","arrowup","initializeCssTransitionDisablerMixin","keystrokes","ck-revision-history-save-revision-form","revisionNameInputValue","937011vIWmie","fieldView","trim","6470952yEzdHs","errorText","optional","revisionName"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(627505===-parseInt(e(440))/1+parseInt(e(474))/2+parseInt(e(454))/3+parseInt(e(473))/4+parseInt(e(475))/5+parseInt(e(470))/6*(-parseInt(e(436))/7)+-parseInt(e(457))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(435)];[jt(451)];[jt(448)];constructor(e,i){const n=jt;super(e),this[n(435)]=new t.FocusTracker,this[n(451)]=new t.KeystrokeHandler,this[n(471)](n(453),""),this[n(448)]=this[n(468)](i),this[n(437)]({tag:n(476),attributes:{class:["ck",n(452),n(465)],tabindex:"-1"},children:[this[n(448)]]}),this[n(450)]()}[jt(461)](){const t=jt;super[t(461)](),(0,It.submitHandler)({view:this}),this[t(435)][t(447)](this[t(448)][t(463)]),this[t(451)][t(442)](this[t(463)]);const e=e=>e[t(441)]();this[t(451)][t(471)](t(466),e),this[t(451)][t(471)](t(469),e),this[t(451)][t(471)](t(449),e),this[t(451)][t(471)](t(438),e)}[jt(446)](){const t=jt;this[t(448)][t(446)]()}get[jt(460)](){const t=jt;return this[t(448)][t(455)][t(463)][t(444)][t(456)]()}set[jt(460)](t){const e=jt;this[e(448)][e(455)][e(463)][e(444)]=t[e(456)]()}[jt(443)](){const t=jt;this[t(448)][t(455)][t(463)][t(444)]="",this[t(448)][t(458)]=null}[jt(468)](t){const e=jt,i=new It.LabeledFieldView(this[e(464)],It.createLabeledInputText),n=i[e(455)];n[e(472)]({attributes:{maxlength:e(462)}});let s=at(this[e(464)],e(467));return!t&&(s+=" ("+at(this[e(464)],e(459))+")"),i[e(445)]=s,n.on(e(439),()=>{const t=e;this[t(453)]=n[t(463)][t(444)][t(456)]()}),i}}const Ut=Ht;function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=249]})(t,e)}function Zt(){const t=["Revision history","isEnabled","bind","saveRevision","delegate","panelView","60107MoKIDf","addMany","execute","buttonView","revisionNameInputView","60678xyPwez","set","view","showRevisionViewerCallback","ck-button-action","87374ovvGAu","_saveRevisionFormView","init","Accept","role","menu","items","componentFactory","menuitem","Open revision history","_showDialog","isReady","Dialog","show","335215wbzUun","revisionSave","children","render","The revision name cannot be empty.","10231068VwPYoY","errorText","822fHaQDO","plugins","pluginName","submit","46AZHwga","isOpen","hide","revisionName","_createSaveRevisionFormView","requires","5487260JCeBmw","menuBar:revisionHistory","revisionHistory","9958872aRYrmI","22GVDMMc","_registerMenuComponent","isOfficialPlugin","locale","add","config","editor","revisionHistory.requireRevisionName","editing","Save current revision","get","focus","RevisionTracker","reset","Cancel","isReadOnly","RevisionHistoryUI","isPremiumPlugin","4VSlWay","27uLTBoI"];return(Zt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(945555===-parseInt(e(258))/1*(-parseInt(e(293))/2)+parseInt(e(263))/3+-parseInt(e(250))/4*(-parseInt(e(282))/5)+-parseInt(e(289))/6*(parseInt(e(268))/7)+parseInt(e(302))/8+parseInt(e(251))/9*(parseInt(e(299))/10)+-parseInt(e(303))/11*(parseInt(e(287))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends J.Plugin{static get[Ut(291)](){return Ut(319)}static get[Ut(305)](){return!0}static get[Ut(249)](){return!0}static get[Ut(298)](){return[mt]}[Ut(269)];[Ut(270)](){const t=Ut,e=this[t(309)],i=e[t(290)][t(313)](t(315));e.ui[t(275)][t(307)](t(301),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(257)][s(284)],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(254)](s(253)).to(i,s(279),i,s(253),e,s(318),(t,e,i)=>t&&e&&!i),r[s(261)][s(264)]({icon:_t.IconHistory,label:at(n,s(252)),tooltip:!0}),u[s(264)]({label:at(n,s(312)),withText:!0,role:s(276)}),u[s(254)](s(253)).to(i,s(279),i,s(253),e,s(318),(t,e,i)=>t&&e&&!i),u.on(s(260),()=>this[s(278)]()),h[s(264)]({label:at(n,s(277)),withText:!0,role:s(276)}),h[s(254)](s(253)).to(i,s(279),e,s(318),(t,e)=>t&&!e),h.on(s(260),()=>{const t=s;e[t(308)][t(313)](t(301))[t(266)](),r[t(294)]=!1,e[t(311)][t(265)][t(314)]()}),c[s(284)][s(307)](u),l[s(284)][s(307)](h),a[s(272)]=s(273),a[s(274)][s(259)]([c,l]),o[s(307)](a),r}),e.ui[t(275)][t(307)](t(300),()=>this[t(304)]())}[Ut(304)](){const t=Ut,e=this[t(309)],i=e[t(306)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(261)][t(264)]({icon:_t.IconHistory,label:at(i,t(252))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(264)]({label:at(i,t(312))}),o[t(256)](t(260)).to(n),o.on(t(260),()=>{this[t(278)]()}),r[t(284)][t(307)](o),s[t(274)][t(307)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(264)]({label:at(i,t(277))}),c[t(256)](t(260)).to(n),c.on(t(260),()=>{const i=t;e[i(308)][i(313)](i(301))[i(266)]()}),a[t(284)][t(307)](c),s[t(274)][t(307)](a),n[t(257)][t(284)][t(307)](s),n}[Ut(278)](){const t=Ut,e=this[t(309)],i=e[t(306)],n=e[t(290)][t(313)](t(280)),s=e[t(290)][t(313)](t(315));function r(s){const r=t;e[r(308)][r(313)](r(310))&&""===s[r(296)]?s[r(262)][r(288)]=at(i,r(286)):(e[r(290)][r(313)](mt)[r(255)]({name:s[r(296)]}),n[r(295)]())}this[t(269)]||(this[t(297)](),this[t(269)].on(t(292),()=>r(this[t(269)]))),this[t(269)][t(316)](),n[t(281)]({id:t(283),title:at(i,t(312)),isModal:!0,content:this[t(269)],actionButtons:[{label:at(e[t(306)],t(317)),withText:!0,onExecute:()=>n[t(295)]()},{label:at(e[t(306)],t(271)),class:t(267),withText:!0,onCreate(i){const n=t;i[n(254)](n(253)).to(s,n(279),s,n(253),e,n(318),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(269)])}]})}[Ut(297)](){const t=Ut,e=this[t(309)],i=e[t(306)];this[t(269)]=new Wt(i,e[t(308)][t(313)](t(310))),this[t(269)][t(285)]()}}const Bt=$t;function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=376]})(t,e)}function Yt(){const t=["author","ck-revision-change__label","focus","setTemplate","name","1468qFfoDC","span","ck-revision-change__","data","isSuggestion","5086KlSkla","bindTemplate","Suggested by","461IBSrxv","Removed by","set","div","341551UiKKXr","element","changeId","ck-annotation","ck-revision-change","4529601UViTso","8149032mfxUcn","15465WsgopL","add","7419204bjEQGE","type","1802460QYAMZB","_model","Added by"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(793781===-parseInt(e(379))/1*(parseInt(e(376))/2)+parseInt(e(388))/3+parseInt(e(402))/4*(-parseInt(e(390))/5)+-parseInt(e(394))/6+parseInt(e(383))/7+parseInt(e(389))/8+parseInt(e(392))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[Bt(385)];[Bt(395)];constructor(t,e){const i=Bt;super(t),this[i(395)]=e,this[i(385)]=e.id;const n=this[i(377)],s=at(t,e[i(405)][i(406)]?i(378):i(391)==e[i(393)]?i(396):i(380));this[i(381)](i(393),e[i(393)]),this[i(400)]({tag:i(382),attributes:{class:[i(386),i(387),n.to(i(393),t=>i(404)+t)],tabindex:-1},children:[{tag:i(403),children:[{tag:i(403),attributes:{class:[i(398)]},children:[{text:s}]},{text:" "+e[i(397)][i(401)]}]}]})}[Bt(399)](){const t=Bt;this[t(384)][t(399)]()}}var Jt=Xt;!function(t){for(var e=Xt,i=t();;)try{if(133699===-parseInt(e(365))/1*(parseInt(e(358))/2)+parseInt(e(366))/3*(-parseInt(e(367))/4)+parseInt(e(368))/5*(parseInt(e(364))/6)+parseInt(e(359))/7+-parseInt(e(357))/8+parseInt(e(355))/9+parseInt(e(352))/10*(parseInt(e(353))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(362)];[Jt(356)];[Jt(363)];[Jt(354)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(362)]=e[i(362)],this[i(356)]=e[i(356)],this[i(363)]=e[i(363)]||{},this[i(354)]=e[i(354)],this[i(351)](i(360),e[i(360)])}[Jt(361)](){var t=Jt;return{id:this.id,authorId:this[t(362)].id,type:this[t(356)],data:this[t(363)],createdAt:this[t(360)]}}}function Xt(t,e){var i=Qt();return(Xt=function(t,e){return i[t-=351]})(t,e)}function Qt(){var t=["176728oUkTIr","11465XfHnfW","set","60330tqDsjg","286hJVXTO","rootName","683226KoxzZv","type","328768ZiNcoH","4hlzsMk","602350spaAip","createdAt","toJSON","author","data","258vAPLbJ","77131ptYKdH","6wxSOni"];return(Qt=function(){return t})()}function te(t,e){const i=ee();return(te=function(t,e){return i[t-=150]})(t,e)}function ee(){const t=["711400PHpQIn","changes","newRevisionId","add","98622IPIpgk","737682haZKRg","36123UicNUi","oldRevisionId","_setChanges","646272ICTDWp","8jlysZe","22zIcTdO","1638035jKLilJ","70YFctGE","40GpBtzo","59880NeEYFu"];return(ee=function(){return t})()}const ie=te;!function(t){const e=te,i=t();for(;;)try{if(124062===-parseInt(e(159))/1+-parseInt(e(150))/2*(parseInt(e(161))/3)+parseInt(e(155))/4+-parseInt(e(152))/5*(-parseInt(e(154))/6)+parseInt(e(151))/7*(parseInt(e(165))/8)+parseInt(e(164))/9+-parseInt(e(153))/10*(parseInt(e(160))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[ie(157)];[ie(162)];[ie(156)];constructor(e,i){const n=ie;this[n(157)]=e,this[n(162)]=i,this[n(156)]=new t.Collection}[ie(163)](t){const e=ie;for(const i of t)this[e(156)][e(158)](i)}}var se=i(252),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=295]})(t,e)}function ce(){const t=["1806tLwSjG","insert","enqueueChange","_balloon","comment","requires","_step","next","delete","plugins","includes","isAddSuggestion","isEqual","left","bindElementToMarker","currentChangeNumber","addRevision","addMarker:revision","name","_getDiff","getItems","getAttributes","showNextChange","reconvertMarker","_processTape","createAttributeElement","59002HKlwVF","isBlock","push","resolve","loadRevisionData","writer","distance","attachChange","_markMismatchedRemovedTags","revision-viewer","change:isEnabled","getChild","findIndex","vid_start","unshift","string","span","get","revision-suggestion:","RevisionHistoryUtils","domEvent","14wUZxlD","_cleanUp","index","for","splice","createUIElement","range","change:activeView","isInline","attributesBefore","attributesAfter","ck-suggestion-marker","createPositionFromPath","indexOf","_initInteractions","markerNameToElements","nextSibling","getAttribute","isOnRoot","markerToHighlight","conversion","_markInsertions","_setConversion","selection","isAtStart","has","markerRange","change:numberOfChanges","split","maxOffset","addHighlight","ck-revision-history-root-add","forEach","4753mLlwLw","setAttribute","nextPosition","showStack","upcast","markersEnd","removeMarker:revision","removeMarker","side","detachRoot","element:pre","softBreak","getRevisionRootsAttributes","_fixObsoleteTags","isBefore","model","changeId","ck-revision-history-root-","editing","isNavigationMode","pairId","getCustomProperty","toViewElement","values","then","activeChange","return","map","find","destroy","deletion","_refreshStartEndIndex","getLaterVisibleRevision","remove","_cleanMarkers","hasClass","text","startsWith","bind","hasAttribute","getClientRects","addClass","isLimit","vid","isCollapsed","addMarker:revision-suggestion:deletion","elementStart","editingDowncast","done","pop","getRevision","revision","endIndex","from","insertions","abs","removeClass","clear","updatePosition","_makeTape","getRevisionDocumentData","_makeModelFromTape","unbindElementFromMarkerName","isEnabled","_joinTapes","end","test","diff","error","mouseover","wrap","forceDisabled","ck-suggestion-preview-marker-","editor","backward","ck-revision-history-root-remove","commands","mousedown","filter","change","startIndex","checkAttribute","revision:","activeView","bottom","markers","toViewRange","slice","isRemoveSuggestion","newRevisionId","length","isContent","object","numberOfChanges","consumable","POSITIVE_INFINITY","offsetSize","_getChangeFromId","first","ck-suggestion-marker-","_threeWayMerge","domConverter","target","item","element","changes","addMarker:revision-suggestion:insertion","isObject","compare","start","change:isReady","right","type","repository","1337526quhfuW","attributes","_findChangeIdFromDomTarget","revisionHistoryAttachChange","toViewPosition","viewItem","createRangeIn","config","ck-suggestion-marker-split","init","_setChanges","keys","catch","_removeMissingPairs","affectsData","enableReadOnlyMode","dataToMarker","forward","createPositionBefore","72QqSoPe","3942670FWuynz","isAfter","_activeViewTarget","roots","isAdded","markerName","suggestion","644304TXXDix","uiElement","shift","mapViewToDom","isRemoved","concat","change:activeChange","_utils","_revisions","all","deletions","dataDowncast","highest","flat","ck-editor__editable__overlay","elementEnd","set","ck-revision-history-root--active","addRevisionData","add","_changeView","getWalker","RevisionViewer","pluginName","isPremiumPlugin","_removeUnsupportedChanges","createRevision","revisionHistory","modelRange","_makeModelFromViewString","authors","parent","isOfficialPlugin","ck-suggestion-marker-merge","isAtEnd","suggestion:","_appendChild","schema","_getViewForChange","vid_end","top","markerToData","revision-suggestion","restoreRevision","adapter","_getRevisionsRange","3643748GrjuPk","restoreRevisionCallback","execute","_update","downcastDispatcher","getRoot","refresh","_data","revisionHistoryLabel","high","revision-comment:","removeMarker:revision-suggestion","createRange","isAttached","_changeIdToChange","rootName","attribute:vid","level","isReady","showPreviousChange","sort","merge","elementToAttribute","stop","_sortAndFilterDiffChanges","mapper","data","addRoot","1754900ChuEwp","view","consume","markersStart","-new","getIndex","oldRevisionId","userId","getDomRoot","RevisionsRepository","_setDistance","locale","data-change-id","removeAttribute","document","low","observeMarkers","getRootNames","ck-suggestion-preview-marker","_markMarkers","WidgetToolbarRepository","diffData","nodeAfter","previousPosition","ck-suggestion-marker--active","isIncorrect","isSuggestion","listenTo","_markSuggestions","insertion","code"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(460184===-parseInt(e(350))/1*(-parseInt(e(371))/2)+-parseInt(e(518))/3+-parseInt(e(591))/4+parseInt(e(538))/5+parseInt(e(324))/6*(-parseInt(e(404))/7)+parseInt(e(545))/8*(parseInt(e(537))/9)+parseInt(e(619))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[oe(517)];[oe(589)]=null;[oe(552)];[oe(540)];[oe(565)];[oe(605)];[oe(327)];static get[oe(568)](){return oe(567)}static get[oe(577)](){return!0}static get[oe(569)](){return!0}static get[oe(329)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(517)]=this[e(477)][e(333)][e(367)](e(302)),this[e(552)]=this[e(477)][e(333)][e(367)](e(369)),this[e(561)](e(429),null),this[e(561)](e(487),null),this[e(540)]=null,this[e(561)](e(471),null),this[e(561)](e(609),!1),this[e(561)](e(467),!0),this.on(e(360),(t,i,n)=>{const s=e;this[s(429)]=null,this[s(487)]=null,this[s(477)][s(422)][s(620)][s(483)](t=>{const e=s;for(const i of this[e(477)][e(422)][e(620)][e(307)][e(541)])n?t[e(460)](e(559),i):t[e(445)](e(559),i)})}),this[e(442)](e(423)).to(this,e(429),t=>null!==t),this[e(442)](e(339)).to(this,e(609),this,e(471),this,e(429),(t,i,n)=>t&&n?i[e(509)][e(298)](n):0),this[e(442)](e(497)).to(this,e(609),this,e(471),(t,i)=>t?i[e(509)][e(494)]:0),this[e(565)]=null,this[e(605)]=new Map,this[e(327)]=this[e(477)][e(333)][e(367)](It.ContextualBalloon)}[oe(527)](){const t=oe,e=this[t(477)],i=new de(e,{direction:t(478)}),n=new de(e,{direction:t(535)});e[t(480)][t(564)](t(610),i),e[t(480)][t(564)](t(346),n),e[t(480)][t(564)](t(588),new he(e)),this.on(t(398),()=>{const e=t;i[e(597)](),n[e(597)]()}),this[t(393)](),this[t(385)](),e[t(533)](t(359)),e[t(333)][t(396)](t(313))&&e[t(333)][t(367)](t(313))[t(475)](t(359))}async[oe(464)](t){const e=oe;return await this[e(552)][e(354)](t,this[e(589)]),this[e(552)][e(464)](t)}async[oe(416)](t){const e=oe;return await this[e(552)][e(354)](t,this[e(589)]),this[e(552)][e(416)](t)}async[oe(512)](t,e,i=!1){const n=oe;if(!this[n(467)])return;const s=this[n(471)],r=this[n(517)],o=n(365)==typeof t?r[n(454)](t):t,a=n(365)==typeof e?r[n(454)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(471)]&&this[n(471)][n(493)]===c&&this[n(471)][n(299)]===u)return Promise[n(353)]();this[n(609)]=!1,this[n(487)]=null,this[n(429)]=null,this[n(471)]=new ne(c,u);const l=this[n(590)](o,a,!0)[n(431)](t=>this[n(552)][n(354)](t,this[n(589)]));return l[n(352)](new Promise(t=>{setTimeout(t,20)})),Promise[n(554)](l)[n(428)](()=>{const t=n;if(!this[t(467)])return;this[t(372)]();const e=this[t(343)](c,u);for(const i of e[t(509)])this[t(605)][t(561)](i.id,i);this[t(477)][t(419)][t(326)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(477)][n(419)][n(307)][n(310)]())i[n(413)](t);for(const t of Object[n(529)](e[n(419)])){const s=i[n(618)](t);for(const r of Object[n(529)](e[n(519)][t]))i[n(405)](r,e[n(519)][t][r],s);i[n(325)](e[n(419)][t],s,0)}}),this[t(471)][t(528)](this[t(615)](e[t(509)])),this[t(609)]=!0})[n(530)](t=>{const e=n;console[e(472)](t),this[e(372)](),s&&(this[e(471)]=s),this[e(609)]=!0})}[oe(563)](t,e){const i=oe,n=this[i(517)][i(571)](t);return n.on(i(594),(t,i,s)=>e(i,s,n)),this[i(517)][i(340)](n),n}[oe(372)](){const t=oe;this[t(429)]=null,this[t(438)](),this[t(565)]&&this[t(565)][t(433)](),this[t(565)]=null,this[t(605)][t(461)](),this[t(477)][t(419)][t(326)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(477)][i(419)][i(307)][i(310)]())e[i(413)](t)})}[oe(615)](t){const e=oe,i=[],n=new Map;for(const t of this[e(477)][e(419)][e(307)][e(310)]()){const s=this[e(477)][e(422)][e(620)][e(301)](t);if(!s)continue;const r=s[e(444)]()[e(507)](0);r&&(i[e(352)](t),n[e(561)](t,r))}return i[e(611)]((t,i)=>{const s=e,r=n[s(367)](t),o=n[s(367)](i);return r.y-o.y||r.x-o.x}),(t=t[e(482)](t=>i[e(334)](t[e(606)])))[e(611)]((t,n)=>i[e(384)](t[e(606)])-i[e(384)](n[e(606)])),t}[oe(463)](t){const e=oe,i=Array[e(457)](t[e(489)])[e(482)](([t,i])=>t[e(441)](e(486))&&!i[e(448)]),n=Array[e(457)](this[e(477)][e(419)][e(524)](t)[e(566)]({singleCharacters:!0}));if(0!=i[e(494)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(399)](":");if(s[e(469)][e(336)](t[e(406)])&&i[e(547)](),(t[e(316)][e(336)](s[e(513)])||t[e(316)][e(539)](s[e(513)]))&&(e(322)==r?t[e(542)]={userId:o}:e(434)==r&&(t[e(549)]={userId:o})),0==i[e(494)])break}return n}[oe(435)](t){const e=oe,i=new Map;for(let n=0;n<t[e(494)];n++)e(440)===t[n][e(516)]?(t[n][e(507)][e(484)]=n,t[n][e(507)][e(456)]=n):(e(450)===t[n][e(516)]?t[n][e(507)][e(484)]=n:e(560)===t[n][e(516)]&&(t[n][e(507)][e(456)]=n),i[e(561)](t[n].id,n));for(const n of i[e(427)]())e(450)===t[n][e(516)]?t[n][e(507)][e(456)]=i[e(367)](t[n][e(424)]):e(560)===t[n][e(516)]&&(t[n][e(507)][e(484)]=i[e(367)](t[n][e(424)]))}[oe(348)](t){const e=oe;for(let i=0;i<t[e(494)];i++){if(e(450)===t[i][e(516)])t[i][e(507)][e(484)]=i;else if(e(560)===t[i][e(516)]){t[i][e(507)][e(456)]=i;const n=t[i][e(507)][e(484)];t[n][e(424)]=t[i].id,t[i][e(424)]=t[n].id}else t[i][e(507)][e(484)]=i,t[i][e(507)][e(456)]=i,t[i][e(424)]=null;t[i][e(296)]||(t[i][e(296)]=[],t[i][e(409)]=[])}}[oe(392)](t,e){const i=oe,n=t[i(482)](t=>!t[i(542)]);for(let t=0;t<e[i(494)];t++)e[t][i(542)]&&(n[t][i(542)]=e[t][i(542)])}[oe(343)](t,e=null){const i=oe,n=this[i(517)][i(454)](t),s=e?this[i(517)][i(454)](e):null,r=this[i(590)](n,s),o=r[r[i(494)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(494)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(529)](e[i(314)]))if(e[i(314)][t][i(357)]){const n=e[i(314)][t][i(357)];n[i(604)]?(u[i(564)](t),l[i(396)](t)&&l[i(367)](t)[i(300)]==n[i(300)]?l[i(332)](t):l[i(561)](t,n)):l[i(396)](t)?(u[i(332)](t),l[i(332)](t)):(u[i(564)](t),l[i(561)](t,n))}else u[i(564)](t)}for(const t of u){const e=l[i(396)](t)&&!l[i(367)](t)[i(604)];let n=e?r[i(494)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(314)][t]){const n=e?o[i(314)][t][i(380)]:o[i(314)][t][i(381)];c[i(519)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(419)]={};for(const e of t[i(575)])a[i(561)](e.id,e);for(const e of u){const n=t[i(314)][e]?t[i(314)][e][i(458)]:"[]",s=t[i(314)][e]?t[i(314)][e][i(555)]:"[]";t[i(419)][e]={insertions:this[i(552)][i(574)](n),deletions:this[i(552)][i(574)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(457)](n[i(419)][t][i(458)][i(489)])[i(482)](([t])=>!t[i(441)](i(486))));let h=0;for(const o of r){const r=this[i(463)](o[i(419)][t][i(458)]);o==n?(e=r,s=e[i(494)],e[i(403)](t=>{t.id=h++}),this[i(348)](e)):this[i(392)](e,r);const a=e[i(482)](t=>!t[i(542)])[i(431)](t=>t.id);let c=0;const l=this[i(463)](o[i(419)][t][i(555)]);l[i(403)](t=>{t[i(549)]?t.id=s++:t.id=a[c++]}),this[i(348)](l),this[i(303)](e,i(542)),this[i(303)](l,i(549)),o==n&&this[i(312)](e,u),e=this[i(468)](e,l),this[i(435)](e),this[i(303)](e,i(549))}e=e[i(482)](t=>!(t[i(542)]&&t[i(549)]));const d=new Map(o[i(419)][t][i(555)][i(489)]),f=new Set(u[i(529)]());for(const t of d[i(529)]())f[i(332)](t);this[i(321)](e,f),this[i(417)](e),e=this[i(531)](e),e=this[i(358)](e),e=this[i(570)](e);const{root:m,changes:p}=this[i(465)](e,a,t);c[i(419)][t]=m;const v=l[i(367)](t);if(v){const e=a[i(367)](v[i(300)]),n=new Kt({author:e,type:v[i(604)]?i(564):i(437),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(364)](n),c[i(519)][t][i(521)]=n.id}c[i(509)]=c[i(509)][i(550)](p)}return c}[oe(312)](t,e){const i=oe;for(let n=0;n<t[i(494)];n++)for(const[s,r]of e)!r[i(448)]&&r[i(513)][i(336)](t[n][i(316)])&&t[n][i(296)][i(352)](s),r[i(469)][i(336)](t[n][i(406)])&&t[n][i(409)][i(352)](s)}[oe(468)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(494)]||r<e[i(494)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(352)](o);else if(a[i(549)]&&o[i(542)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(504)](t,s,e,r);n=n[i(550)](o),s=a,r=c}else a[i(549)]?(r++,n[i(352)](a)):(s++,n[i(352)](o))}return n}[oe(321)](t,e){const i=oe,n=[];for(let o=0;o<t[i(494)];o++){for(let r=0;r<t[o][i(296)][i(494)];r++){const a=t[o][i(296)][r];if(!e[i(396)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(587)!=c||i(322)!=u&&i(434)!=u||(n[i(364)]({type:u,name:a,userId:l}),t[o][i(296)][i(375)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(409)][i(494)];r++){const a=t[o][i(409)][r];if(!e[i(396)](a))continue;const{group:c,type:u}=s(a);if(i(587)!=c||i(322)!=u&&i(434)!=u)continue;t[o][i(409)][i(375)](r,1),r--;const l=n[i(362)](t=>t[i(342)]==a);l>-1&&n[i(375)](l,1)}}function s(t){const e=i,n=t[e(399)](":");return{group:n[0],type:n[1],subType:n[e(494)]>=5?n[2]:null,id:n[e(494)]<5?n[2]:n[3],authorId:n[e(494)]<5?n[3]:n[4],markerCount:6==n[e(494)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(494)];i++){if(t[e(542)]&&e(322)==n[i][e(516)]&&t[e(542)][e(300)]==n[i][e(300)])return t[e(335)]=n[i],void delete t[e(542)];if(!t[e(542)]&&!t[e(549)]&&e(434)==n[i][e(516)])return void(t[e(492)]=n[i])}}}[oe(303)](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(561)](o.id,n);for(let n=0;n<t[i(494)];n++){if(i(549)==e&&t[n][i(542)]||i(542)==e&&t[n][i(549)])continue;if(i(440)==t[n][i(516)]){t[n][i(356)]=0;continue}const s=r[i(367)](t[n][i(424)]),o=r[i(367)](t[n].id);t[n][i(356)]=s-o}}[oe(590)](t,e,i=!1){const n=oe,s=[];let r=this[n(517)][n(298)](t),o=this[n(517)][n(298)](e);for(-1==o&&(o=this[n(517)][n(553)][n(494)],i=!1);r<o;)s[n(352)](this[n(517)][n(454)](r)),r++;return i&&s[n(352)](this[n(517)][n(454)](r)),s}[oe(504)](t,e,i,n){const s=oe,r=this[s(477)][s(419)][s(582)];let o=e;for(;t[o]&&t[o][s(542)];)o++;let a=n;for(;i[a]&&i[a][s(549)];)a++;u(t,e,o),u(i,n,a);const c=i[s(491)](n,a)[s(550)](t[s(491)](e,o));return c[s(611)]((t,e)=>t[s(412)]!=e[s(412)]?t[s(412)]-e[s(412)]:t[s(608)]!=e[s(608)]?t[s(608)]-e[s(608)]:t[s(356)]!=e[s(356)]?e[s(356)]-t[s(356)]:!!t[s(542)]!=!!e[s(542)]?-1==t[s(412)]||0==t[s(412)]?t[s(542)]?-1:1:t[s(542)]?1:-1:t[s(373)]-e[s(373)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(499)],c=!0;for(let s=e;s<i;s++)if(r[n(379)](t[s][n(507)])||(c=!1),t[s][n(507)][n(484)]<e&&(o=s),t[s][n(507)][n(456)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(412)]=s<=o?-1:s<a?0:1,t[s][n(373)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(356)]?t[i][n(608)]=u:(u++,t[i][n(608)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(412)]&&(t[s][n(608)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(356)]?t[e][n(608)]=u:(u--,t[e][n(608)]=u,u--)}}[oe(417)](t){const e=oe,i=new Map,n=this[e(477)][e(419)][e(582)];for(let s=1;s<t[e(494)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(440)==c[e(516)])continue;if(c[e(516)]!=u[e(516)])continue;if(!n[e(351)](u[e(507)])||n[e(446)](u[e(507)]))continue;if(!n[e(351)](c[e(507)])||n[e(446)](c[e(507)]))continue;if((t[s][e(542)]||t[s][e(335)])&&t[s-1][e(549)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(549)]||!t[s-1][e(542)]&&!t[s-1][e(335)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(608)]==o[e(608)],h=Math[e(459)](r[e(608)])<Math[e(459)](o[e(608)])&&0==o[e(356)];(l||h)&&(i[e(561)](o.id,r.id),t[e(375)](a,1),s--,r[e(542)]=!1)}for(let n=0;n<t[e(494)];n++)i[e(396)](t[n][e(424)])&&(t[n][e(424)]=i[e(367)](t[n][e(424)]))}[oe(531)](t){const e=oe,i=new Set(t[e(431)](t=>t.id));for(let n=0;n<t[e(494)];n++)i[e(396)](t[n][e(424)])||0==t[n][e(356)]||(t[n][e(318)]=!0);return t[e(482)](t=>!t[e(318)])}[oe(358)](t){const e=oe,i=new Set;for(let n=0;n<t[e(494)];n++){if(i[e(396)](t[n].id)&&t[n][e(549)]&&(t[n][e(318)]=!0),t[n][e(318)])continue;if(0==t[n][e(356)])continue;if(e(450)!=t[n][e(516)])continue;if(null==t[n][e(424)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(424)];)e(450)==t[s][e(516)]?r++:e(560)==t[s][e(516)]&&r--,s++;if(0!=r)if(t[n][e(549)])t[n][e(318)]=!0;else for(;s!=n;)t[s][e(549)]&&0!=t[s][e(356)]&&(t[s][e(318)]=!0,i[e(564)](t[s][e(424)])),s--}return t[e(482)](t=>!t[e(318)])}[oe(570)](t){const e=oe,i=this[e(477)][e(419)][e(582)];for(let n=0;n<t[e(494)];n++){if(!(t[n][e(542)]||t[n][e(335)]||t[n][e(549)]||t[n][e(492)]))continue;if(0==t[n][e(356)])continue;const s=t[n][e(507)];i[e(351)](s)||i[e(446)](s)||(t[n][e(542)]&&delete t[n][e(542)],t[n][e(335)]&&delete t[n][e(335)],t[n][e(492)]&&delete t[n][e(492)],t[n][e(549)]&&(t[n][e(318)]=!0))}return t[e(482)](t=>!t[e(318)])}[oe(465)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(477)][n(419)],c=a[n(582)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(494)];e++)if(n(450)===t[e][n(516)]){t[e][n(316)]=a[n(383)](s,f);const i=new X.ModelElement(t[e][n(507)][n(342)],t[e][n(507)][n(345)]());u[0][n(581)](i),f[n(352)](0),u[n(364)](i),t[e][n(406)]=a[n(383)](s,f)}else n(560)===t[e][n(516)]?(u[n(547)](),t[e][n(316)]=a[n(383)](s,f),f[n(453)](),f[f[n(494)]-1]++,t[e][n(406)]=a[n(383)](s,f)):(t[e][n(316)]=a[n(383)](s,f),d?d[n(598)]+=t[e][n(507)][n(617)]:d=new X.ModelText(t[e][n(507)][n(617)],t[e][n(507)][n(345)]()),t[e+1]&&n(440)===t[e+1][n(516)]&&v(d,t[e+1][n(507)])||(u[0][n(581)](d),d=null),f[f[n(494)]-1]+=t[e][n(507)][n(500)],t[e][n(406)]=a[n(383)](s,f));for(let e=0;e<t[n(494)];e++){const i=t[e][n(316)],s=t[e][n(406)];for(const s of t[e][n(296)])o[n(561)](s,{start:i,end:null});m(n(492),e,i,s),m(n(335),e,i,s),m(n(549),e,i,s),m(n(542),e,i,s);for(const i of t[e][n(409)]){const t=o[n(367)](i);t?t[n(469)]=s:o[n(561)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(477)][n(419)][n(603)](e[n(513)],e[n(469)]);s[n(489)][n(561)](t,i)}return r[n(611)]((t,e)=>{const i=n,r=s[i(489)][i(367)](i(486)+t.id),o=s[i(489)][i(367)](i(486)+e.id);return r[i(513)][i(418)](o[i(513)])?-1:r[i(513)][i(539)](o[i(513)])?1:r[i(469)][i(418)](o[i(469)])?-1:r[i(469)][i(539)](o[i(469)])?1:i(564)===t[i(516)]?-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(300)]:null,d=i===t[o(494)]-1,f=h[e][0],m=c[o(511)](t[i][o(507)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(469)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(300)]!==u&&(l[e][o(469)]=s,f&&f[o(300)]===l[e][o(300)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(450)!==t[i][o(516)]||f&&f[o(300)]===u||h[e][o(364)]({userId:u,object:t[i][o(507)],change:l[e]}),o(560)===t[i][o(516)]&&f&&f[o(496)]===t[i][o(507)]&&(h[e][o(547)](),l[e]=f[o(483)])),l[e]&&d&&(l[e][o(469)]=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(507)],f=a[h(582)][h(351)](d)&&!a[h(582)][h(446)](d),m=t[h(315)]==o[h(576)]&&o[h(395)];if(f&&m)return;const p=a[h(603)](t,o),v=e[h(367)](u),g=new Kt({author:v,type:h(542)==l||h(335)==l?h(564):h(437),data:{isSuggestion:h(335)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(352)](g),s[h(489)][h(561)](h(486)+g.id,p)}function v(t,e){const i=n,s=t[i(345)](),r=e[i(345)]();for(const t of s){if(t[1]!==e[i(388)](t[0]))return!1;r[i(331)]()}return r[i(331)]()[i(452)]}}[oe(393)](){const t=oe;this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(455)}),this[t(477)][t(391)][t(374)](t(451))[t(390)]({model:t(455),view:e=>{const i=t,n=e[i(543)][i(399)](":")[1],s=this[i(501)](n);if(!s)return null;const r=i(564)==s[i(516)]?i(322):i(434),o=[i(382),i(503)+r];return s[i(617)][i(319)]&&o[i(352)](i(503)+r+i(297)),this[i(429)]==s&&o[i(352)](i(317)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(477)][t(391)][t(374)](t(408))[t(564)](e=>{const i=t;e.on(i(414),(t,e,n)=>{const s=i,r=e[s(523)][s(361)](0);if(!r||!r.is(s(508),s(323)))return;if(!n[s(498)][s(295)](r,{attributes:[s(363),s(584)]}))return;const o=e[s(573)][s(513)][s(315)];n[s(355)][s(405)](s(363),r[s(388)](s(363)),o),n[s(355)][s(405)](s(584),r[s(388)](s(584)),o)},{priority:i(308)})}),this[t(477)][t(391)][t(374)](t(408))[t(564)](e=>{const i=t;e.on(i(508),(t,e,n)=>{const s=i;if(!n[s(498)][s(295)](e[s(523)],{attributes:[s(363),s(584)]}))return;if(e[s(573)][s(448)])return;const r=e[s(573)][s(513)][s(315)];r[s(443)](s(363))||r[s(443)](s(447))||(n[s(355)][s(405)](s(363),e[s(523)][s(388)](s(363)),r),n[s(355)][s(405)](s(584),e[s(523)][s(388)](s(584)),r))},{priority:i(308)})}),this[t(477)][t(391)][t(374)](t(408))[t(613)]({view:{name:t(366),attributes:{vid:!0}},model:{key:t(447),value:e=>e[t(388)](t(447))}}),this[t(477)][t(419)][t(582)].on(t(485),(e,[,i])=>{const n=t;[n(363),n(584),n(447)][n(334)](i)&&(e[n(430)]=!0,e[n(614)]())},{priority:t(557)}),this[t(477)][t(391)][t(374)](t(556))[t(564)](e=>{const i=t;e.on(i(607),(t,e,n)=>{const s=i;if(" "!=e[s(507)][s(617)]||e[s(507)][s(576)][s(400)]>1)return;if(!n[s(498)][s(295)](e[s(507)],t[s(342)]))return;const r=n[s(355)],o=n[s(616)][s(490)](e[s(377)]);r[s(474)](o,r[s(349)](s(366)))})}),this[t(477)][t(391)][t(374)](t(556))[t(586)]({model:t(455)}),this[t(477)][t(422)][t(595)].on(t(341),function(e){const i=t,n=e[i(333)][i(367)](i(567));return(t,s,r)=>{const o=i,a=s[o(543)][o(399)](":")[1],c=n[o(501)](a);if(!c)return null;const u=o(564)==c[o(516)]?o(399):o(612);if(!r[o(498)][o(470)](s[o(397)],t[o(342)]))return;const l=s[o(397)][o(566)](),h=s[o(397)][o(513)],d=e[o(419)][o(582)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(507)];p=p||d[o(495)](e);const i=r[o(616)][o(426)](e);if(i&&i[o(425)](o(401)))return;o(560)==t[o(516)]&&d[o(351)](e)&&!d[o(446)](e)&&(e[o(387)]||h[o(579)]?f&&f[o(576)]==e||(f=e,g(t[o(316)]),v=!0):m=m||t[o(316)])}function g(t){const e=o,i=r[e(355)][e(376)](e(366),{class:e(503)+u}),a=r[e(616)][e(522)](t);c[e(617)][e(319)]&&r[e(355)][e(445)](e(503)+u+e(297),i),n[e(429)]==c&&r[e(355)][e(445)](e(317),i),r[e(355)][e(325)](a,i),r[e(616)][e(338)](i,s[e(543)])}p||v||!m||g(m)}}(this[t(477)]),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(410),(e,i,n)=>{const s=t,r=n[s(616)][s(386)](i[s(543)]);if(r)for(const t of r)(t[s(439)](s(526))||t[s(439)](s(578)))&&(n[s(616)][s(466)](t,i[s(543)]),n[s(355)][s(437)](t))},{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(341),(e,i,n)=>{const s=t,r=i[s(543)][s(399)](":")[1],o=this[s(501)](r);if(!o)return null;const a=s(564)==o[s(516)]?s(399):s(612);if(n[s(498)][s(470)](i[s(397)],e[s(342)]))for(const t of i[s(397)][s(344)]()){if(!t.is(s(508),s(415)))continue;const e=n[s(355)][s(376)](s(366),{class:s(503)+a}),r=n[s(616)][s(522)](this[s(477)][s(419)][s(536)](t));o[s(617)][s(319)]&&n[s(355)][s(445)](s(503)+a+s(297),e),this[s(429)]==o&&n[s(355)][s(445)](s(317),e),n[s(355)][s(325)](r,e),n[s(616)][s(338)](e,i[s(543)])}},{priority:t(600)}),this[t(477)][t(419)][t(307)].on(t(483),()=>{const e=t;this[e(477)][e(422)][e(620)][e(483)](t=>{const i=e;for(const e of this[i(477)][i(419)][i(307)][i(310)]()){const n=this[i(477)][i(419)][i(307)][i(596)](e),s=this[i(477)][i(422)][i(620)][i(307)][i(596)](e);if(s){const e=n[i(388)](i(521));if(t[i(306)](i(305),s),t[i(460)](i(402),s),t[i(460)](i(479),s),t[i(460)](i(562),s),e){const n=this[i(501)](e);if(!n)return null;t[i(405)](i(305),e,s),t[i(445)](i(421)+n[i(516)],s),this[i(429)]==n&&t[i(445)](i(562),s)}}}})}),this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(328),model:e=>t(601)+e,converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(544),model:e=>t(368)+e,converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(556))[t(586)]({model:t(587),view:e=>({name:t(580)+e,group:t(587)}),converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(451))[t(390)]({model:t(587),view:e=>{const i=t,n=e[i(543)][i(399)](":")[1];return i(322)!=n&&i(434)!=n?null:{classes:[i(311),i(476)+n]}}}),this[t(477)][t(422)][t(595)].on(t(449),le(this[t(477)],t(612)),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(510),le(this[t(477)],t(399)),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(602),(e,i,n)=>{const s=t,r=n[s(616)][s(386)](i[s(543)]);if(r)for(const t of r)t.is(s(546))&&(n[s(616)][s(466)](t,i[s(543)]),n[s(355)][s(437)](t))},{priority:t(600)})}[oe(501)](t){const e=oe;return this[e(605)][e(367)](t)}[oe(583)](t){const e=oe;return this[e(565)]&&this[e(565)][e(433)](),this[e(565)]=new Gt(this[e(477)][e(304)],t),this[e(565)]}[oe(385)](){const t=oe;this[t(477)][t(419)][t(307)][t(394)][t(309)](t(455)),this.on(t(378),(e,i,n,s)=>{const r=t;s&&this[r(327)][r(437)](s),n&&(this[r(327)][r(564)]({view:n,stackId:r(599),position:{target:()=>{const t=r,e=this[t(477)][t(422)],i=this[t(501)](n[t(420)]);let s;if(i[t(617)][t(389)]){const n=e[t(620)][t(301)](i[t(606)]);s=Array[t(457)](n[t(444)]())}else{const i=this[t(477)][t(419)][t(489)][t(367)](t(486)+n[t(420)]);s=Array[t(457)](e[t(616)][t(386)](i[t(342)]))[t(431)](i=>e[t(620)][t(505)][t(548)](i))[t(431)](e=>Array[t(457)](e[t(444)]()))[t(558)]()}return this[t(540)]&&s[t(432)](e=>e[t(585)]-3<=this[t(540)].y&&e[t(488)]+3>=this[t(540)].y&&e[t(337)]-3<=this[t(540)].x&&e[t(515)]+3>=this[t(540)].x)||s[0]}}}),this[r(327)][r(407)](r(599)))}),this.on(t(551),(e,i,n,s)=>{const r=t;this[r(487)]=n?this[r(583)](n):null,this[r(477)][r(419)][r(483)](()=>{const t=r,e=this[t(477)][t(422)];s&&(s[t(617)][t(389)]?e[t(620)][t(483)](i=>{const n=t;i[n(460)](n(562),e[n(620)][n(307)][n(596)](s[n(606)]))}):e[t(347)](t(486)+s.id)),n&&(n[t(617)][t(389)]?e[t(620)][t(483)](i=>{const s=t;i[s(445)](s(562),e[s(620)][s(307)][s(596)](n[s(606)]))}):e[t(347)](t(486)+n.id))})}),this[t(320)](this[t(477)][t(422)][t(620)][t(307)],t(473),(e,i)=>{const n=t;if(this[n(429)])return;const s=this[n(520)](i[n(506)]),r=this[n(605)][n(367)](s);r?(this[n(540)]={x:i[n(370)].x,y:i[n(370)].y},this[n(487)]=this[n(583)](r)):(this[n(540)]=null,this[n(487)]=null)}),this[t(320)](this[t(477)][t(422)][t(620)][t(307)],t(481),(e,i)=>{const n=t,s=this[n(520)](i[n(506)]),r=this[n(605)][n(367)](s);r?(this[n(540)]={x:i[n(370)].x,y:i[n(370)].y},r===this[n(429)]?this[n(327)][n(462)]():this[n(429)]=r):(this[n(540)]=null,this[n(429)]=null)})}[oe(520)](t){const e=oe;do{const i=t[e(388)](e(305));if(i)return i;t=t[e(576)]}while(t);return null}[oe(438)](){const t=oe;this[t(477)][t(419)][t(483)](e=>{const i=t;for(const t of this[i(477)][i(419)][i(489)])e[i(411)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(498)][r(470)](n[r(397)],i[r(342)]))return;const o=n[r(397)][r(566)](),a=n[r(397)][r(513)],c=t[r(419)][r(582)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(507)];h=h||c[r(495)](e);const i=s[r(616)][r(426)](e);if(i&&i[r(425)](r(401)))return;r(560)==t[r(516)]&&c[r(351)](e)&&!c[r(446)](e)&&(e[r(387)]||a[r(579)]?u&&u[r(576)]==e||(u=e,f(t[r(316)]),d=!0):l=l||t[r(316)])}function f(t){const i=r,o=s[i(616)][i(522)](t),a=s[i(355)][i(376)](i(366),{class:i(476)+e});s[i(355)][i(325)](o,a),s[i(616)][i(338)](a,n[i(543)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(333)][e(367)](ue);this[e(532)]=!1,this[e(320)](i,e(514),()=>this[e(597)]()),this[e(320)](i,e(360),()=>this[e(597)]())}[oe(593)](){const t=oe,e=this[t(477)],i=e[t(333)][t(367)](ue),n=i[t(609)]?i[t(471)][t(493)]:null;e[t(525)][t(367)](t(572))[t(592)](n)}[oe(597)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(477)][t(333)][t(367)](ue),r=s&&n[t(436)](s[t(493)]);this[t(467)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(330)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(333)][i(367)](ue);this[i(532)]=!1,this[i(330)]=i(535)===e?1:-1,this[i(320)](n,i(514),()=>this[i(597)]()),this[i(320)](n,i(360),()=>this[i(597)]()),this[i(320)](n,i(551),()=>this[i(597)]())}[oe(593)](){const e=oe,i=this[e(477)],n=i[e(333)][e(367)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(429)]=s?n[e(471)][e(509)][e(367)](r+this[e(330)]):n[e(471)][e(509)][e(502)],n[e(429)][e(617)][e(389)])o=i[e(422)][e(620)][e(301)](n[e(429)][e(606)]);else{const t=i[e(419)][e(489)][e(367)](e(486)+n[e(429)].id);o=(0,K.getMarkerDomElement)(i[e(422)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(597)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(477)][t(333)][t(367)](ue);this[t(467)]=!!(r&&s&&n)&&(!e||(1===this[t(330)]?i<n-1:i>0))}}var fe=i(660),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=207]})(t,e)}function ve(){const t=["backward","execute","4709856FxmzRG","fire","ck-hidden","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","9IBbsYD","543323TNkCdB","207960ABczoW","bind","Loading...","Show previous change","_statusText","ck-revision-history-ui__changes-navigation__wrapper","Total","set","65UuCdDj","isReady","forward","102626vCGowE","div","ck-revision-history-ui","111660cPXjHR","isEnabled","136KMgAEj","setTemplate","1wumocu","isBackwardNavigationEnabled","NUMBER_OF_CHANGES","isNavigationMode","numberOfChanges","span","ck-revision-history-ui__changes-navigation__label","currentChangeNumber","ck-revision-history-ui__changes-navigation","4xyNbez","_isStatusLabelVisible","bindTemplate","isForwardNavigationEnabled","No changes","ck-revision-history-ui__changes-navigation__navigation","Show next change","1312820zPWqYa","13XcwYyF","48188SRXfJr"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(133426===-parseInt(e(230))/1*(parseInt(e(223))/2)+parseInt(e(212))/3*(parseInt(e(239))/4)+parseInt(e(220))/5*(-parseInt(e(226))/6)+parseInt(e(248))/7*(-parseInt(e(228))/8)+-parseInt(e(210))/9*(-parseInt(e(246))/10)+-parseInt(e(211))/11+-parseInt(e(251))/12*(-parseInt(e(247))/13))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(241)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(219)](e(233),!1),this[e(219)](e(221),!1),this[e(219)](e(237),0),this[e(219)](e(234),0),this[e(219)](e(242),!1),this[e(219)](e(231),!1),this[e(213)](e(240)).to(this,e(221),this,e(234),(t,e)=>t&&e>0),this[e(213)](e(216)).to(this,e(221),this,e(237),this,e(234),this,e(233),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(214));if(!s)return at(t,o(243));const a=at(t,o(232),s);return r?at(t,o(208),[n+1,s]):a}),n[e(219)]({label:at(t,e(215)),tooltip:!0,icon:_t.IconChevronUp}),s[e(219)]({label:at(t,e(245)),tooltip:!0,icon:_t.IconChevronDown}),n[e(213)](e(227)).to(this,e(231)),s[e(213)](e(227)).to(this,e(242)),n.on(e(250),()=>this[e(252)](e(250),e(249))),s.on(e(250),()=>this[e(252)](e(250),e(222))),this[e(229)]({tag:e(224),attributes:{class:["ck",e(225),e(238)]},children:[{tag:e(235),attributes:{class:[e(217)]},children:[{tag:e(235),attributes:{class:[e(236),i.if(e(240),e(207),t=>!t)]},children:[{text:i.to(e(233),i=>i?at(t,e(209))+": ":at(t,e(218))+": ")}]},{text:i.to(e(216))}]},new It.ToolbarSeparatorView,{tag:e(224),attributes:{class:[e(244)]},children:[n,s]}]})}}var ye=i(668),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=Ie;function we(){const t=["editing","pluginName","1109201KLXkVA","ck-editor__editable__loading-overlay","addClass","show","5949695xGIPEP","912950ETAjjy","isPremiumPlugin","isOfficialPlugin","5235952saJyMW","3DTzxSe","hide","3503484zAZvhS","removeClass","RevisionViewerLoadingOverlay","change","document","181496PLlFbU","view","editor","320BFdnHT","roots","25373538xXEScE"];return(we=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(792115===parseInt(e(247))/1+parseInt(e(252))/2+parseInt(e(256))/3*(parseInt(e(255))/4)+parseInt(e(251))/5+parseInt(e(258))/6+parseInt(e(263))/7*(-parseInt(e(242))/8)+-parseInt(e(244))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=be(248);function Ie(t,e){const i=we();return(Ie=function(t,e){return i[t-=241]})(t,e)}class Se extends J.Plugin{static get[be(246)](){return be(260)}static get[be(254)](){return!0}static get[be(253)](){return!0}[be(250)](){const t=be,e=this[t(241)][t(245)][t(264)];e[t(261)](i=>{const n=t;for(const t of e[n(262)][n(243)])i[n(249)](_e,t)})}[be(257)](){const t=be,e=this[t(241)][t(245)][t(264)];e[t(261)](i=>{const n=t;for(const t of e[n(262)][n(243)])i[n(259)](_e,t)})}}const Oe=xe;function Te(){const t=["execute","isOfficialPlugin","show","isEnabled","isForwardNavigationEnabled","add","Restore this revision","hide","ck-revision-history-ui__back-to-editing","838PkilUV","14226570MEsglE","changesNavigation","set","548FcOlfB","318BUgRLi","4rRnBrT","3743730yhNsiu","numberOfChanges","4347ZmRzDj","RevisionViewerUI","20184076zVutEe","plugins","showNextChange","config","17544HUKZVO","showPreviousChange","get","isNavigationMode","Back to editing","revisionHistory","commands","forward","pluginName","restoreRevision","requires","componentFactory","closeRevisionViewerCallback","exitToEditing","isReady","bind","currentChangeNumber","isBackwardNavigationEnabled","isPremiumPlugin","init","change:isReady","657057SmfIRY","150250rFHBsA","editor","listenTo"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(799615===-parseInt(e(123))/1*(-parseInt(e(127))/2)+parseInt(e(110))/3*(parseInt(e(129))/4)+-parseInt(e(111))/5*(-parseInt(e(128))/6)+parseInt(e(132))/7*(-parseInt(e(138))/8)+parseInt(e(124))/9+parseInt(e(130))/10+-parseInt(e(134))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(146)](){return Oe(133)}static get[Oe(115)](){return!0}static get[Oe(107)](){return!0}static get[Oe(148)](){return[ue,Se]}[Oe(108)](){const t=Oe,e=this[t(112)],i=e[t(135)][t(140)](ue),n=e[t(135)][t(140)](Se);e.ui[t(100)][t(119)](t(102),i=>{const n=t,s=new It.ButtonView(i);return s[n(126)]({label:at(i,n(142)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(122)}),this[n(113)](s,n(114),()=>{const t=n;e[t(137)][t(140)](t(143))[t(101)]()}),s}),e.ui[t(100)][t(119)](t(147),i=>{const n=t,s=new It.ButtonView(i);return s[n(126)]({label:at(i,n(120)),withText:!0,tooltip:!0}),s[n(104)](n(117)).to(e[n(144)][n(140)](n(147))),this[n(113)](s,n(114),()=>e[n(114)](n(147))),s}),e.ui[t(100)][t(119)](t(125),n=>{const s=t,r=new ge(n),o=e[s(144)][s(140)](s(139)),a=e[s(144)][s(140)](s(136));return r[s(104)](s(106)).to(o,s(117)),r[s(104)](s(118)).to(a,s(117)),r[s(104)](s(103),s(105),s(131),s(141)).to(i),this[s(113)](r,s(114),(t,i)=>{const n=s;e[n(114)](n(145)===i?n(136):n(139))}),r}),n[t(116)](),i.on(t(109),(e,i,s)=>{const r=t;s?n[r(121)]():n[r(116)]()})}}var Re=i(573),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=220]})(t,e)}const Ve=Me;function Ee(){const t=["bindTemplate","value","ck-revision-history-sidebar__revision-name","2448411CqJnpP","_updateTooltipText","Enter the revision name","ck-tooltip_multi-line","5041765EUFnLR","render","span","2jPKqIO","Revision name","extendTemplate","2781087GzRxYR","set","_tooltipString","661792LLvBjZ","destroy","placeholder","512758RaxBqo","clientWidth","99tKJvzg","1352970pzjQkF","_resizeObserver","6qASBaG","8267408NjjHFF","scrollWidth","fieldView","input","element","listenTo"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(538628===-parseInt(e(235))/1+parseInt(e(226))/2*(-parseInt(e(229))/3)+parseInt(e(232))/4+-parseInt(e(223))/5*(-parseInt(e(240))/6)+parseInt(e(250))/7+-parseInt(e(241))/8+parseInt(e(237))/9*(parseInt(e(238))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Ve(239)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(247)];this[i(230)]({label:at(t,i(227)),_tooltipString:""}),this[i(243)][i(234)]=at(t,i(221)),this[i(228)]({tag:i(225),attributes:{class:[i(249)],"data-cke-tooltip-text":n.to(i(231)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(222)}})}[Ve(224)](){const e=Ve;super[e(224)](),this[e(239)]=new t.ResizeObserver(this[e(243)][e(245)],()=>this[e(220)]()),this[e(246)](this[e(243)],e(244),()=>this[e(220)]())}[Ve(233)](){const t=Ve;super[t(233)](),this[t(239)]&&this[t(239)][t(233)]()}[Ve(220)](){const t=Ve,e=this[t(243)][t(245)];this[t(231)]=e[t(242)]>e[t(236)]&&e[t(248)]||""}}var Ce=i(757),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=378]})(t,e)}function je(){const t=["14349hqLwWj","527728jyqBGC","span","ck-revision-history-sidebar__revision-author","948cbiHgz","ck-revision-history-sidebar__revision-author__name","8369721vmscdL","161WobdOh","18121466dwhQKT","Revision creator","setTemplate","15335830upoYOf","95466ajDfWU","ck-revision-history-sidebar__revision-author_creator","name","Revision author","35PEBGGb","0 0 11 10","37358pPauoK","set","545ODSBTg","push"];return(je=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(927895===parseInt(e(396))/1*(parseInt(e(398))/2)+-parseInt(e(380))/3*(-parseInt(e(384))/4)+-parseInt(e(378))/5*(-parseInt(e(392))/6)+parseInt(e(387))/7*(parseInt(e(381))/8)+-parseInt(e(386))/9+-parseInt(e(391))/10+-parseInt(e(388))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(399)]({content:_t.IconUser,viewBox:n(397)});const r=["ck",n(383)];i&&r[n(379)](n(393));const o=[{tag:n(382),attributes:{class:["ck",n(385)],title:at(t,n(i?389:395))},children:[s,e[n(394)]]}];this[n(390)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=345]})(t,e)}function We(){var t=["126wvDZSm","long","numeric","1493600SfIwpz","9304368ZGXzfG","toLocaleTimeString","71340EOhrPg","2181910dqffIU","5177125NiwZvk","24PqTYoe","28QGmGwJ","410625DQTJRd","toLocaleDateString","1339232bdoRJk"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(815552===-parseInt(e(349))/1+-parseInt(e(358))/2*(parseInt(e(347))/3)+parseInt(e(355))/4+-parseInt(e(346))/5+-parseInt(e(356))/6+-parseInt(e(348))/7*(-parseInt(e(351))/8)+-parseInt(e(352))/9*(-parseInt(e(345))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(175),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(){const t=["items","2776700pInwox","find","menuitem","stopPropagation","18216UonamI","isVisible","function","isOpen","button","locale","14650TVBMRe","source","Name this revision","set","_action","class","ck-revision-history-sidebar__revision__actions","name","action","226015qhJBzO","11hDFoAX","90225ShNWUL","552708ZlXbXH","add","bind","Show more items","change:isActionsDropdownOpen","Compare against selected","menu","map","36oUOSgD","panelPosition","isActionsDropdownOpen","23COYVeA","16dESTAy","execute","first","isReady","bindTemplate","children","model","2541384KiytUv","ck-on","isEnabled","Restore this revision","extendTemplate","154iHSOlM","listView","buttonView","listenTo"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(151537===-parseInt(e(225))/1*(parseInt(e(202))/2)+-parseInt(e(213))/3*(parseInt(e(222))/4)+parseInt(e(211))/5+-parseInt(e(196))/6*(parseInt(e(238))/7)+parseInt(e(226))/8*(parseInt(e(214))/9)+-parseInt(e(243))/10*(-parseInt(e(212))/11)+parseInt(e(233))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var Be=i(380),$e={attributes:{"data-cke":!0}};$e.setAttributes=Mt(),$e.insert=Rt().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Et();Ot()(Be.A,$e);Be.A&&Be.A.locals&&Be.A.locals;function Ye(){const t=["ck-revision-history-sidebar__revision-wrapper","fieldView","_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-authors","createdAt","length","name","listenTo","fire","2686563RfKIEo","creator","isActionsDropdownOpen","revisionActionsView","ck-revision-history-sidebar__revision_selected","bind","_revision","isSelected","351430MkLNSk","set","closest","highlight","ck-revision-history-sidebar__revision","876818QjqUsG",".ck-confirm-view","unhighlight","_createdAtFormatted","setTemplate","unshift","ck-revision-history-sidebar__revision__date","ck-disabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","4605744qbpyYx","render","isEnabled","change","select","bindTemplate","isHighlighted","961734PVojYd","isReady","44dppIuT","deselect","ck-reset","extendTemplate","from","1fQxtAd","filter","isConfirm","srcElement","21ZcChJN","uiLanguage","value","div","span","element","220","setName","1026828SbpEFI","179345nrqoIF","map","authors"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=350]})(t,e)}const Je=Ge;!function(t){const e=Ge,i=t();for(;;)try{if(554639===-parseInt(e(412))/1*(-parseInt(e(389))/2)+parseInt(e(359))/3+-parseInt(e(407))/4*(parseInt(e(360))/5)+-parseInt(e(405))/6*(-parseInt(e(351))/7)+-parseInt(e(398))/8+parseInt(e(376))/9+-parseInt(e(384))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(368)];[Je(379)];[Je(382)];[Je(365)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(403)],a=function(t,e){const i=r,n=Array[i(411)](e[i(362)])[i(413)](t=>t!=e[i(377)]);return e[i(377)]&&n[i(394)](e[i(377)]),n[i(361)](n=>new Le(t,n,n==e[i(377)]))}(e,i);this.id=i.id,this[r(382)]=i,this[r(365)]=s,this[r(381)](r(373),r(371)).to(i),this[r(381)](r(392)).to(this,r(371),t=>{return i=e[r(352)],(n=t)[(s=ze)(350)](i,{month:s(353),day:s(354)})+", "+n[s(357)](i,{hour:s(354),minute:s(354)});var i,n,s}),this[r(385)](r(383),!1),this[r(385)](r(404),!1),this[r(385)](r(378),!1),this[r(385)](r(406),!1),this[r(385)](r(400),!1),this[r(368)]=new De(e,It.createLabeledInputText),this[r(368)][r(364)][r(410)]({attributes:{maxlength:r(357)}}),this[r(368)][r(364)][r(381)](r(353)).to(this,r(373),t=>t||this[r(392)]),this[r(368)][r(381)](r(400)).to(this,r(383),this,r(400),(t,e)=>t&&e),this[r(379)]=n&&n[r(372)]?function(e,i){const n=qe,s=e[n(230)],r=e[n(201)],o=(0,It.createDropdown)(r);o[n(223)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(201)],s={"Compare against selected":at(n,i(219)),"Name this revision":at(n,i(204)),"Restore this revision":at(n,i(236))};return e[i(221)](t=>{const e=i,n=s[t[e(209)]];return n&&n!==t[e(209)]&&(t[e(209)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(200),model:new It.UIModel({label:t[s(209)],class:t[s(207)],withText:!0,role:s(194),_action:t[s(210)]})};i[s(232)][s(216)](s(235)).to(e,s(224),i=>s(198)!=typeof t[s(235)]||!i||t[s(235)](e)),o[s(215)](i)}return o}(e,i);return e[n(216)](n(224)).to(o,n(199)),o[n(240)][n(205)]({label:at(r,n(217)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(237)]({attributes:{class:[n(208),s.if(n(224),n(234))]},on:{click:s.to(t=>t[n(195)]())}}),o.on(n(227),t=>{const i=n;e[i(229)]&&i(198)==typeof t[i(203)][i(206)]&&t[i(203)][i(206)](e)}),(0,It.addListToDropdown)(o,a,{role:n(220)}),o[n(241)](e,n(218),(t,s,r)=>{const a=n;if(r)for(const t of o[a(239)][a(242)]){const n=t[a(231)][a(228)],s=i[a(193)](t=>t[a(210)]===n[a(206)])[a(197)];t[a(197)]=void 0===s||s(e)}}),o}(this,n):"",this[r(379)]&&this[r(379)][r(381)](r(400)).to(this),this[r(393)]({tag:r(354),attributes:{class:["ck",r(409),r(363),o.if(r(414),r(397))]},children:[{tag:r(354),attributes:{class:["ck",r(409),r(388),o.if(r(400),r(396),t=>!t),o.if(r(383),r(380)),o.if(r(404),r(367)),o.if(r(378),r(369))]},children:[this[r(368)],{tag:r(355),attributes:{class:["ck",r(395)]},children:[{text:o.to(r(392))}]},{tag:r(354),attributes:{class:["ck",r(366)]},children:[{tag:"ul",attributes:{class:["ck",r(370)]},children:a}]},this[r(379)]],on:{click:o.to(t=>{const e=r;t[e(350)][e(386)](e(390))||this[e(406)]&&this[e(400)]&&this[e(375)](e(402),{id:this.id})})}}]})}[Je(399)](){const t=Je;super[t(399)]();const e=this[t(368)][t(364)][t(356)];this[t(374)](e,t(401),()=>{const i=t;this[i(365)]&&!e[i(353)]||this[i(375)](i(358),{id:this.id,name:e[i(353)]}),e[i(353)]||(e[i(353)]=this[i(373)]?this[i(373)]:this[i(392)])})}[Je(402)](){this[Je(383)]=!0}[Je(408)](){this[Je(383)]=!1}[Je(387)](){this[Je(404)]=!0}[Je(391)](){this[Je(404)]=!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},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={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 Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const Bi=new Map;function $i(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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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 Un(this.floor?Math.floor(t):Bn(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&&Pi.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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.clear(),Zi.clear(),Bi.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 $i(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 $i(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 $i(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 $i(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=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[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:Pn()?function(t){let e=Bi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),Bi.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)||Pi.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(),Pi.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+($n(t)?bn:kn)[e-1]}function Sn(t,e){const i=$n(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 xn(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 Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(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=Wn(t.month,1,12),n=Wn(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=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(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 Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(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 Ln(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(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(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 Bn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function $n(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return $n(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?$n(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(Ln(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};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 Un(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]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(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 Ps(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 js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.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 Ws(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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const Bs=/^(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$/,$s=/^(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[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),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,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Vs,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,Ps,js);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,Ws])}(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,[Ls,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+=Bn(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)(Ln(e.values,t)||Ln(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 Pi.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:Pn()}}}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 xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(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=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(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(Ln(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=Pi.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(Ln(i,"a")&&Ln(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 jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(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",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(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 Br(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 $r(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 Br(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]=Br(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(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=Bn(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:Ur(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=$r(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(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?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(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(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=$r(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(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=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(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=Wn(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?xn(s,r,o):u?Rn(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),[Zs,qs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[Bs,Gs],[$s,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}=jr(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=Lr(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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(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=$r(a,r),l=$r(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 $n(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(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(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=xn({...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=Rn({...Nn(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 jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(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 Pr(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 xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}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(t,e){const i=go();return(po=function(t,e){return i[t-=127]})(t,e)}function vo(t,e){const i=po,n=fo[i(140)](t)[i(131)](e),s=fo[i(145)](),r=s[i(130)]({days:1})[i(128)](i(143));let o,a;return n[i(151)](s,i(143))?(o=n[i(128)](i(143))[i(146)](),a=n[i(132)]()):n[i(151)](r,i(143))?(o=r[i(146)](),a=n[i(132)]()):n[i(151)](s,i(147))?(o=n[i(128)](i(147))[i(146)](),a=n[i(152)]||""):n[i(151)](s,i(142))?(o=n[i(128)](i(153))[i(146)](),a=n[i(136)]||""):(o=n[i(128)](i(142))[i(146)](),a=String(n[i(142)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["230022oloCFV","hasSame","weekdayLong","month","48917mMAETW","startOf","1130HnRVOS","minus","setLocale","toRelativeCalendar","28qMhDlx","216792rPoyZx","5774105zYnYFM","monthLong","24582ABaAKT","1KQgEGr","99bIgPOR","fromJSDate","116zXWXlc","year","day","1404rebogq","local","toJSDate","week","1802218QlaItX","305364lmlqWv"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(981836===parseInt(e(138))/1*(parseInt(e(148))/2)+-parseInt(e(137))/3*(parseInt(e(141))/4)+-parseInt(e(135))/5+parseInt(e(149))/6*(parseInt(e(133))/7)+-parseInt(e(134))/8*(parseInt(e(139))/9)+-parseInt(e(129))/10*(parseInt(e(127))/11)+parseInt(e(144))/12*(parseInt(e(150))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(966),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=327]})(t,e)}function _o(){const t=["setTemplate","_requireRevisionName","removeRevision","8ICpbQX","2431492qkQMEI","ck-revision-history-sidebar__time-period","div","select","delegate","5966460GiRlHo","startDate","addRevision","55482rzVNRN","createCollection","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","516450WDvEVx","1154173zcBNjP","uiLanguage","add","revisionViews","span","2024410rDisUz","ck-revision-history-sidebar__time-period__label","setName","remove","7976864tMDjUx","1248PtIVUo","locale","_revisionActions","find"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(908901===parseInt(e(339))/1+-parseInt(e(357))/2+parseInt(e(338))/3+parseInt(e(356))/4*(parseInt(e(344))/5)+-parseInt(e(349))/6*(-parseInt(e(334))/7)+-parseInt(e(348))/8+-parseInt(e(331))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(332)];[bo(342)];[bo(351)];[bo(354)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(350)][s(340)])[s(337)];this[s(332)]=e,this[s(342)]=this[s(335)](),this[s(351)]=i,this[s(354)]=n,this[s(342)][s(330)](s(329)).to(this),this[s(342)][s(330)](s(346)).to(this),this[s(353)]({tag:s(328),attributes:{class:["ck",s(327)]},children:[{tag:s(343),attributes:{class:["ck",s(345)]},children:[{text:r}]},{tag:s(328),attributes:{class:["ck",s(336)]},children:this[s(342)]}]})}[bo(333)](t){const e=bo,i=new Ke(this[e(350)],t,this[e(351)],this[e(354)]);this[e(342)][e(341)](i)}[bo(355)](t){const e=bo,i=this[e(342)][e(352)](e=>e.id===t.id);this[e(342)][e(347)](i)}}var So=i(529),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=363]})(t,e)}function xo(){const t=["ck-reset_all","1471939lnHlLB","12545230PePSdD","span","242421HojJdP","setTemplate","9AxNqHH","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","div","content","2815448rBIuVT","55ZzhbVd","18490oPmWaG","349840sThgup","705084wwdQnc","Revision history","6ODVKRL"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(482713===parseInt(e(374))/1+parseInt(e(372))/2+-parseInt(e(363))/3+parseInt(e(373))/4*(parseInt(e(371))/5)+parseInt(e(376))/6*(-parseInt(e(378))/7)+parseInt(e(370))/8*(parseInt(e(365))/9)+-parseInt(e(379))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(369)]=_t.IconHistory,this[e(364)]({tag:e(368),attributes:{class:["ck",e(377),e(367)]},children:[i,{tag:e(380),attributes:{class:["ck",e(366)]},children:[at(t,e(375))]}]})}}var Ro=i(790),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=274]})(t,e)}function Eo(){const t=["uiLanguage","highlight","fire","3ojSGLr","_revisions","add","selectRevision","deselect","div","ck-disabled","select","239834Xitxne","ck-reset","addRevision","createCollection","6cwlzJF","949893wJGGhY","createdAt","834064eeVFAv","delegate","render","setName","startDate","setTemplate","some","ck-revision-history-sidebar","set","_requireRevisionName","_revisionActions","bindTemplate","_addRevision","isEnabled","removeRevision","timePeriodViews","revisionSetName","1129444TxhERd","9062667benDXz","locale","10486704RFziwm","get","_getTimePeriodViewByStartDate","11DDURAl","revisionSelected","highlightRevisions","map","ck-revision-history-sidebar__timeline","unhighlight","remove","flat","revisionViews","getTime","find","_removeRevision","10fRVKkT","ck-rounded-corners","8351010EOdzCx"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(826061===parseInt(e(277))/1+-parseInt(e(301))/2*(-parseInt(e(325))/3)+-parseInt(e(284))/4*(-parseInt(e(319))/5)+-parseInt(e(281))/6*(-parseInt(e(282))/7)+parseInt(e(304))/8+-parseInt(e(302))/9+parseInt(e(321))/10*(-parseInt(e(307))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(299)];[Mo(326)];[Mo(294)];[Mo(293)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(295)];this[s(299)]=this[s(280)](),this[s(299)][s(285)](s(276)).to(this),this[s(299)][s(285)](s(287)).to(this),this[s(326)]=e,this[s(294)]=i,this[s(293)]=n,this.on(s(276),(t,e)=>{const i=s;this[i(324)](i(308),e)}),this.on(s(287),(t,e)=>{const i=s;this[i(324)](i(300),e)}),this[s(292)](s(297),!1),this[s(289)]({tag:s(274),attributes:{class:["ck",s(278),s(320),s(291)]},children:[new No(t),{tag:s(274),attributes:{class:["ck",s(311),r.if(s(297),s(275),t=>!t)]},children:this[s(299)]}]})}[Mo(286)](){const t=Mo;super[t(286)]();for(const e of this[t(326)])this[t(296)](e);this[t(326)].on(t(327),(e,i)=>{this[t(296)](i)}),this[t(326)].on(t(313),(e,i)=>{this[t(318)](i)})}get[Mo(315)](){const t=Mo;return this[t(299)][t(310)](e=>e[t(315)][t(310)](t=>t))[t(314)]()}[Mo(328)](t){const e=Mo;for(const i of this[e(315)])t&&t.id===i.id?i[e(276)]():i[e(329)]()}[Mo(309)](t){const e=Mo;for(const i of this[e(315)])t[e(290)](({id:t})=>t===i.id)?i[e(323)]():i[e(312)]()}[Mo(296)](t){const e=Mo,i=vo(t[e(283)],this[e(303)][e(322)])[e(288)];let n=this[e(299)][e(305)](0);n&&n[e(288)][e(316)]()===i[e(316)]()||(n=new Io(this[e(303)],i,this[e(294)],this[e(293)]),this[e(299)][e(327)](n)),n[e(279)](t)}[Mo(318)](t){const e=Mo,i=vo(t[e(283)],this[e(303)][e(322)])[e(288)];this[e(306)](i)[e(298)](t)}[Mo(306)](t){const e=Mo;return this[e(299)][e(317)](i=>i[e(288)][e(316)]()===t[e(316)]())}}const Co=Fo;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=389]})(t,e)}function Po(){const t=["highlightRevisions","5LnwyIJ","restoreRevisionCallback","1431207hopONC","getRevisionsInDiff","revisionSelected","render","restoreRevision","length","pluginName","repository","requires","revisionHistory.revisionActions","RevisionsSidebar","529191gYgrpy","153794qBNCxh","compare","_sidebarView","revisionHistory.viewerSidebarContainer","_handleRevisionSetName","newRevisionId","change:diff","Name this revision","_handleEditorDataReady","editor","_handleRevisionSelected","get","isReady","data","Restore this revision","init","getLaterVisibleRevision","locale","isEnabled","string","isSelected","2175467GUSBeF","revisionViews","getRevision","getIndex","name","diff","2325828TwmlLw","_revisionViewer","action","isOfficialPlugin","revisionSetName","ready","select","bind","map","assign","revisionHistory","_revisionsRepository","525185dcrymk","add","isPremiumPlugin","listenTo","isVisible","_createRevisionActions","compareAgainstSelected","setName","6nAnUUO","focus","element","defaultRevisionActions","fieldView","plugins","nameRevision","appendChild","timePeriodViews","revisionHistory.requireRevisionName","425050ZxLoUZ","destroy","remove","308whRKtM","config","Compare against selected","availableRevisionActions","getEarlierVisibleRevision","_revisions","_handleDiffChange","24WocIsc","selectRevision"];return(Po=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(349286===-parseInt(e(469))/1+-parseInt(e(430))/2+parseInt(e(429))/3+-parseInt(e(457))/4*(parseInt(e(416))/5)+-parseInt(e(393))/6*(parseInt(e(451))/7)+parseInt(e(413))/8*(parseInt(e(418))/9)+-parseInt(e(403))/10*(-parseInt(e(406))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends J.Plugin{[Co(458)];[Co(468)];[Co(432)];static[Co(396)]=[Co(391),Co(422),Co(399)];static[Co(409)]=function(){const t=Co;return{compareAgainstSelected:{name:t(408),action:({plugins:e},i)=>{const n=t,s=e[n(441)](ue),r=s[n(425)];let o=s[n(456)][n(435)],a=i.id;r[n(454)](o)>r[n(454)](a)&&([o,a]=[a,o]),s[n(431)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(441)](ue);return!(s[n(425)][n(419)](s[n(456)])[n(423)]>2||i[n(450)])}},restoreRevision:{name:t(444),action:(e,{id:i})=>{const n=t;e[n(407)][n(441)](n(467))[n(417)](i)},isVisible:({plugins:e},i)=>!!e[t(441)](ue)[t(425)][t(446)](i.id)},nameRevision:{name:t(437),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(441)](ue),o=r[s(425)][s(410)](i);r[s(431)](i,o),n[s(394)](),n[s(397)][s(463)]()}}}}();static get[Co(424)](){return Co(428)}static get[Co(460)](){return!0}static get[Co(471)](){return!0}static get[Co(426)](){return[ue]}constructor(t){const e=Co;super(t),this[e(458)]=t[e(398)][e(441)](ue),this[e(468)]=this[e(458)][e(425)],this[e(432)]=null}[Co(445)](){const t=Co,e=this[t(468)][t(411)],i=this[t(390)](),n=this[t(439)][t(407)][t(441)](t(433));this[t(432)]=new Do(this[t(439)][t(447)],e,i,this[t(439)][t(407)][t(441)](t(402))),this[t(432)].on(t(420),this[t(440)][t(464)](this)),this[t(432)].on(t(461),this[t(434)][t(464)](this)),this[t(432)][t(464)](t(448)).to(this[t(458)]),this[t(432)][t(401)].on(t(470),(e,i)=>{const n=t;i[n(452)].on(n(470),(t,e)=>{const i=n;e[i(464)](i(448),i(442)).to(this[i(458)])})}),this[t(432)][t(421)](),this[t(472)](this[t(439)][t(443)],t(462),this[t(438)][t(464)](this)),this[t(472)](this[t(458)],t(436),this[t(412)][t(464)](this)),n[t(400)](this[t(432)][t(395)])}[Co(404)](){const t=Co;this[t(432)][t(395)][t(405)](),this[t(432)][t(404)]()}[Co(438)](){const t=Co,e=this[t(468)][t(453)](0);if(e){const i=this[t(468)][t(410)](e.id);this[t(458)][t(431)](e,i)}}[Co(440)](t,e){const i=Co,n=this[i(468)][i(453)](e.id),s=this[i(468)][i(410)](n.id);this[i(458)][i(431)](n,s)}[Co(434)](t,e){const i=Co;this[i(468)][i(453)](e.id)[i(392)](e[i(455)])}[Co(412)](t,e,i){const n=Co,s=this[n(468)][n(419)](i);s[n(423)]>2?(this[n(432)][n(415)](s),this[n(432)][n(414)](null)):(this[n(432)][n(415)]([]),this[n(432)][n(414)](s[0]))}[Co(390)](){const t=Co,e=this[t(439)],i=jo[t(409)],n=e[t(407)][t(441)](t(427))||jo[t(396)];if(n[t(423)])return n[t(465)](n=>{const s=t,r=s(449)==typeof n?Object[s(466)]({},i[n]):n;return r[s(459)]=r[s(459)][s(464)](this,e),r[s(389)]&&(r[s(389)]=r[s(389)][s(464)](this,e)),r})}}const Lo=Wo;function zo(){const t=["12034917QoNiPx","15806274SwPpfo","getRoot","get","element","_view","componentFactory","ready","1317554uoMgaQ","_initToolbar","restore","destroy","isActive","attachDomRoot","document","editing","editor","addToolbar","replace","2839cNkcaY","15266240yatxNT","bind","rootName","24JKoGla","view","491217dcjRIF","isFocused","limiterElement","514VXpuQg","8BmlOQF","viewportTopOffset","focusTracker","stickyPanel","name","init","render","viewportOffset","editable","fillFromConfig","setEditableElement","toolbar","1096660jfvHCO","config","18ZrPBZX","_elementReplacer","fire","_toolbarConfig","detachDomRoot"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(833496===parseInt(e(368))/1*(-parseInt(e(377))/2)+-parseInt(e(374))/3*(-parseInt(e(372))/4)+-parseInt(e(390))/5*(parseInt(e(392))/6)+-parseInt(e(357))/7*(parseInt(e(378))/8)+parseInt(e(397))/9+parseInt(e(369))/10+-parseInt(e(398))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Lo(354)];[Lo(395)];[Lo(393)];get[Lo(373)](){return this[Lo(354)]}constructor(e,i){const n=Lo;super(e),this[n(354)]=i,this[n(395)]=(0,It.normalizeToolbarConfig)(e[n(391)][n(400)](n(389))),this[n(393)]=new t.ElementReplacer}get[Lo(353)](){const t=Lo;return this[t(373)][t(353)]}[Lo(383)](t){const e=Lo,i=this[e(365)],n=this[e(373)],s=i[e(364)][e(373)],r=n[e(386)],o=s[e(363)][e(399)]();r[e(382)]=o[e(371)],n[e(384)]();const a=r[e(353)];this[e(388)](r[e(382)],a),n[e(386)][e(370)](e(375)).to(this[e(380)]),s[e(362)](a),this[e(393)][e(367)](t,this[e(353)]),this[e(358)](),this[e(394)](e(356))}[Lo(360)](){const t=Lo;super[t(360)]();const e=this[t(373)],i=this[t(365)][t(364)][t(373)];this[t(393)][t(359)](),i[t(396)](e[t(386)][t(382)]),e[t(360)]()}[Lo(358)](){const t=Lo,e=this[t(373)];e[t(381)][t(370)](t(361)).to(this[t(380)],t(375)),e[t(381)][t(376)]=e[t(353)],e[t(381)][t(370)](t(379)).to(this,t(385),({top:t})=>t),e[t(389)][t(387)](this[t(395)],this[t(355)]),this[t(366)](e[t(389)])}}var Ho=i(718),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function Bo(t,e){var i=Yo();return(Bo=function(t,e){return i[t-=359]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(756278===-parseInt(e(360))/1*(parseInt(e(373))/2)+parseInt(e(375))/3+-parseInt(e(367))/4+-parseInt(e(362))/5+-parseInt(e(376))/6+parseInt(e(374))/7+-parseInt(e(363))/8*(-parseInt(e(371))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class $o extends It.BoxedEditorUIView{[qo(366)];[qo(359)];[qo(369)];get[qo(361)](){return this[qo(366)]}constructor(t,e,i={}){var n=qo;super(t),this[n(359)]=new It.StickyPanelView(t),this[n(369)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(372)]}),this[n(366)]=new It.InlineEditableUIView(t,e)}[qo(364)](){var t=qo;super[t(364)](),this[t(359)][t(370)][t(377)](this[t(369)]),this[t(365)][t(377)](this[t(359)]),this[t(368)][t(377)](this[t(361)])}}function Yo(){var t=["763066nWznyV","6547128Xalqqs","1188747fsrusg","1156806KxlHdG","add","stickyPanel","1vJhOUS","editable","6709740YdxmOM","64pWAVZE","render","top","_editable","1033476YKdSMR","main","toolbar","content","1799298MbblPw","shouldToolbarGroupWhenFull"];return(Yo=function(){return t})()}const Go=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=273]})(t,e)}function Ko(){const t=["1435800cbHqaA","27aNPwbX","locale","32065SxcBJt","createRoot","162krmVny","initPlugins","fire","get","43770JskSEc","62cYsSOn","document","view","40551YfxlPv","model","780KagARS","config","716240eJurgM","ready","initialData","data","_ui","updateSourceElement","destroy","editing","init","create","289300WZhHQa","8461fAWLmg","sourceElement","21RIyiOC"];return(Ko=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(300367===-parseInt(e(283))/1+parseInt(e(296))/2*(-parseInt(e(299))/3)+-parseInt(e(282))/4+-parseInt(e(295))/5*(-parseInt(e(291))/6)+parseInt(e(285))/7*(parseInt(e(286))/8)+-parseInt(e(287))/9*(-parseInt(e(303))/10)+-parseInt(e(289))/11*(parseInt(e(301))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Go(276)];get ui(){return this[Go(276)]}constructor(t,e){const i=Go;super(e),this[i(284)]=t,this[i(300)][i(297)][i(290)]();const n=new $o(this[i(288)],this[i(279)][i(298)],{shouldToolbarGroupWhenFull:!0});this[i(276)]=new Uo(this,n)}[Go(278)](){const t=Go;return this[t(277)](),this.ui[t(278)](),super[t(278)]()}static async[Go(281)](t,e){const i=Go,n=new this(t,e);return await n[i(292)](),await n.ui[i(280)](t),await n[i(275)][i(280)](n[i(302)][i(294)](i(274))||""),n[i(293)](i(273)),n}}const Qo=ta;function ta(t,e){const i=sa();return(ta=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(392539===parseInt(e(440))/1*(-parseInt(e(486))/2)+-parseInt(e(457))/3+parseInt(e(509))/4*(-parseInt(e(524))/5)+parseInt(e(405))/6+-parseInt(e(491))/7*(parseInt(e(417))/8)+-parseInt(e(522))/9*(-parseInt(e(406))/10)+parseInt(e(514))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ea=[Qo(425),Qo(381),Qo(391),Qo(510),Qo(395),Qo(431),Qo(383)];class ia extends J.Plugin{[Qo(515)];static get[Qo(419)](){return Qo(469)}static get[Qo(380)](){return!0}static get[Qo(530)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(496)](t=>String[e(451)](t))[e(407)]("")}super(t),this[e(515)]=e(525),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends J.Plugin{[Qo(382)];static get[Qo(419)](){return Qo(378)}static get[Qo(380)](){return!0}static get[Qo(530)](){return!0}static get[Qo(526)](){return[mt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(428)][i(501)][i(384)](i(442)))throw new t.CKEditorError(i(494),this);this[i(382)]=null,this[i(412)](i(471),!1),this[i(428)][i(501)][i(477)](i(455),t=>this[i(512)]({...t,translations:this[i(428)][i(542)][i(479)]})),this[i(428)][i(501)][i(477)](i(426),t=>this[i(516)](t)),this[i(428)][i(501)][i(477)](i(410),t=>this[i(427)](t)),this[i(428)][i(501)][i(477)](i(480),!1),this[i(400)](),this[i(493)]()}set[Qo(401)](t){const e=Qo;this[e(428)][e(443)][e(384)](e(458))[e(401)]=t}get[Qo(401)](){const t=Qo;return this[t(428)][t(443)][t(384)](t(458))[t(401)]}[Qo(498)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(458))[e(498)](t)}[Qo(536)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(454))[e(536)](t)}[Qo(503)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(454))[e(503)](t||{toJSON:!1})}[Qo(497)](){const e=Qo,i=this[e(428)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(443)][e(384)](e(458)),r=i[e(443)][e(384)](e(531))[e(422)];return n[e(470)]=[e(518),e(432),e(439)],delete n[e(449)],n[e(443)][e(544)](ia,ue,Ne,class extends J.Plugin{static get[e(526)](){return[ue,e(531)]}[e(389)](){const n=e,o=this[n(428)][n(443)][n(384)](n(531));for(const t of r)t[n(423)]||o[n(398)](t.id)||o[n(523)](t);const a=s[n(511)][n(503)]();let c=null;const u=this[n(428)][n(443)][n(384)](n(539));u[n(401)]=s[n(401)],u[n(532)](n(416)).to(s),this[n(428)][n(409)][n(384)](n(432))[n(532)](n(416)).to(i,n(489),t=>!t);for(const e of a){const i=null===e[n(411)];if(i&&e[n(392)]===e[n(434)])continue;const r=e[n(418)]();u[n(498)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(527)](r,o);else if(!o){const e=a[u(418)]();e.id=(0,t.uid)(),s[u(507)](e,a[u(392)])[u(436)](t=>{c=t})}}else e[u(527)](r,o)})}}},jo),n}[Qo(400)](){const t=Qo,e=this[t(428)][t(501)][t(384)](t(442))[t(534)];this[t(428)][t(501)][t(412)](t(455),async()=>{const i=t;this[i(428)][i(397)](i(414));const n=this[i(428)][i(443)][i(384)](i(458));if(this[i(428)][i(443)][i(472)](i(424))){const t=this[i(428)][i(443)][i(384)](i(424));await t[i(403)]()}else await n[i(502)]();if(this[i(428)][i(443)][i(472)](i(444))&&this[i(428)][i(443)][i(384)](i(444))[i(499)](),this[i(428)][i(443)][i(472)](i(399))){const t=this[i(428)][i(443)][i(384)](i(399));t[i(541)]&&t[i(386)]()}if(this[i(428)][i(443)][i(472)](i(506))){const t=this[i(428)][i(443)][i(384)](i(506))[i(505)][i(528)];for(const e of t)e[i(441)]=e[i(441)]?e[i(441)]+i(420):i(379);if(this[i(428)][i(443)][i(472)](i(391))){const t=document[i(376)](i(408));t&&t[i(521)](i(483),"-1")}if(this[i(428)][i(443)][i(472)](i(538))){const t=document[i(376)](i(377));t&&t[i(521)](i(483),"-1")}}const s=this[i(497)]();return e(s)[i(436)](t=>{const e=i;return this[e(382)]=t,this[e(428)][e(443)][e(472)](e(460))&&this[e(428)][e(443)][e(384)](e(460))[e(447)](),this[e(428)][e(443)][e(472)](e(430))&&(this[e(428)][e(443)][e(384)](e(463))[e(505)][e(413)][e(437)][e(519)]=e(445)),t})[i(535)](t=>(console[i(478)](t),this[i(428)][i(484)](i(414)),null))})}[Qo(493)](){const t=Qo,e=this[t(428)][t(501)][t(384)](t(442))[t(500)];this[t(428)][t(501)][t(412)](t(426),()=>{const i=t;if(this[i(428)][i(443)][i(472)](i(444))&&this[i(428)][i(443)][i(384)](i(444))[i(499)](),this[i(428)][i(443)][i(472)](i(430))&&(this[i(428)][i(443)][i(384)](i(463))[i(505)][i(413)][i(437)][i(519)]=""),this[i(428)][i(443)][i(472)](i(506))){const t=this[i(428)][i(443)][i(384)](i(506))[i(505)][i(528)];for(const e of t)e[i(441)]=i(379)===e[i(441)]?"":e[i(441)][i(390)](i(420),"");if(this[i(428)][i(443)][i(472)](i(391))){const t=document[i(376)](i(408));t&&t[i(464)](i(483))}if(this[i(428)][i(443)][i(472)](i(538))){const t=document[i(376)](i(377));t&&t[i(464)](i(483))}}return this[i(382)][i(443)][i(384)](i(539))[i(452)](),e(this[i(382)])[i(436)](()=>{const t=i;if(this[t(428)][t(484)](t(414)),this[t(382)]=null,this[t(428)][t(443)][t(472)](t(460))){const e=this[t(428)][t(443)][t(384)](t(460));e[t(447)](),e[t(488)]()}})})}[Qo(512)](t){const e=Qo,i=this[e(428)][e(501)][e(384)](e(396)),n=this[e(428)][e(501)][e(384)](e(529)),s=this[e(428)][e(501)][e(384)](e(461));return Xo[e(487)](s,t)[e(436)](t=>(n[e(437)][e(519)]=e(421),i[e(437)][e(519)]=e(445),this[e(471)]=!0,t))}[Qo(516)](t){const e=Qo,i=this[e(428)][e(501)][e(384)](e(396));return this[e(428)][e(501)][e(384)](e(529))[e(437)][e(519)]=e(445),i[e(437)][e(519)]="",this[e(471)]=!1,t[e(517)]()}async[Qo(427)](t){const e=Qo,i=this[e(428)],n=this[e(382)][e(443)][e(384)](e(539)),s=i[e(443)][e(384)](e(458)),r=i[e(443)][e(384)](e(468)),o=n[e(511)][e(536)](t);let a,c,u;try{await r[e(490)](o,this[e(401)]),a=r[e(448)](o),c=r[e(394)](o)}catch(t){return void console[e(478)](t)}i[e(504)][e(459)](t=>{const n=e;for(const e of Array[n(473)](i[n(504)][n(540)][n(508)](n(466))))t[n(402)](e)}),n[e(415)]=!1,i[e(504)][e(492)](t=>{const n=e;t[n(450)](null),t[n(485)](i[n(504)][n(453)][n(388)][n(475)]());const s=Object[n(462)](a);for(const e of i[n(504)][n(453)][n(456)])n(513)!=e[n(429)]&&e[n(387)]()&&!s[n(543)](e[n(429)])&&t[n(537)](e);for(const e of s){let s=i[n(504)][n(453)][n(476)](e);s&&s[n(387)]()||(s=t[n(465)](e));const r=c[e],o=Object[n(462)](r),u=a[e];for(const e of s[n(475)]())o[n(543)](e)||t[n(464)](e,s);for(const i of o)t[n(521)](i,c[e][i],s);t[n(435)](t[n(385)](s)),t[n(438)](i[n(474)][n(393)](u,s),s,0)}});const l=at(i[e(542)],e(520));return u=o[e(495)]?-1==o[e(495)][e(481)](l)?l+": "+o[e(495)]:o[e(495)]:l+": "+o[e(482)][e(404)](i[e(542)][e(446)],{month:e(433),day:e(533)})+", "+o[e(482)][e(467)](i[e(542)][e(446)],{hour:e(533),minute:e(533)}),await s[e(507)]({name:u}),n[e(415)]=!0,i[e(501)][e(384)](e(442))[e(500)]()}}function sa(){const t=["name","map","_getRevisionViewerEditorConfig","addRevisionData","_recalculatePageBreaks","closeRevisionViewerCallback","config","update","getRevisions","model","view","AITabs","saveRevision","getMarkersGroup","26044DIVhfk","AIReviewMode","repository","_showRevisionViewer","$graveyard","13358631VqwOeY","result","_closeRevisionViewer","destroy","exitToEditing","display","Restored","setAttribute","9WfeguE","addUser","185MvrWDk","end","requires","_update","panelViews","revisionHistory.viewerContainer","isPremiumPlugin","Users","bind","numeric","showRevisionViewerCallback","catch","getRevision","detachRoot","AIChatHistory","RevisionViewer","markers","isOpen","locale","includes","push","querySelector",".ck-ai-chat-history .ck-input","RevisionHistory","ck-tab-panel_disabled","isOfficialPlugin","RestrictedEditingMode","_viewerEditor","AIActions","get","createRangeIn","hide","isAttached","selection","init","replace","AIChat","toVersion","parse","getRevisionRootsAttributes","AIBalloon","revisionHistory.editorContainer","enableReadOnlyMode","getUser","Dialog","_enhanceShowRevisionViewerCallback","adapter","removeMarker","save","toLocaleDateString","829980abFNCV","4909820yxTUxl","join",".ck-ai-chat__prompt-input .ck-textarea","commands","revisionHistory.restoreRevisionCallback","creator","set","element","revision-history-viewer-opened","isReady","isEnabled","1843352CcEKDA","toJSON","pluginName"," ck-tab-panel_disabled","block","users","isAnonymous","Autosave","RevisionHistoryUI","revisionHistory.closeRevisionViewerCallback","_restoreRevision","editor","rootName","DocumentOutline","AIQuickActions","restoreRevision","long","fromVersion","remove","then","style","insert","changesNavigation","4atSyua","class","revisionHistory","plugins","PaginationLookup","none","uiLanguage","refreshVisibility","getRevisionDocumentData","lazyRoots","setSelection","fromCharCode","_cleanUp","document","RevisionsRepository","revisionHistory.showRevisionViewerCallback","roots","1252788TUPFgl","RevisionTracker","change","Annotations","revisionHistory.viewerEditorElement","keys","DocumentOutlineUI","removeAttribute","addRoot","restrictedEditingException","toLocaleTimeString","RevisionHistoryUtils","RevisionViewerIntegration","toolbar","isRevisionViewerOpen","has","from","data","getAttributeKeys","getRoot","define","error","translations","revisionHistory.requireRevisionName","indexOf","createdAt","tabindex","disableReadOnlyMode","removeSelectionAttribute","281136hQhCbK","create","refreshPositioning","isReadOnly","loadRevisionData","7DRHeSy","enqueueChange","_enhanceCloseRevisionViewerCallback","revision-history-missing-configuration"];return(sa=function(){return t})()}function ra(){var t=["5305arijwG","1415166SnpOWL","2788700jmakKo","6135794kWosAk","177954BWdRjv","9HxBPnp","22306272DiJsDI","11CAgFcA","5421800yIPDFT","9XoBbwU","6620onjCyQ","12blwObT"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=263]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(900803===-parseInt(e(269))/1+parseInt(e(272))/2*(parseInt(e(273))/3)+parseInt(e(266))/4*(parseInt(e(268))/5)+parseInt(e(267))/6*(parseInt(e(271))/7)+parseInt(e(264))/8*(parseInt(e(265))/9)+-parseInt(e(270))/10+-parseInt(e(263))/11*(parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={36:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},78:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},114:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},162: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)}}}},175:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},242: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}},252:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},369:t=>{"use strict";t.exports=function(t){return t[1]}},380:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},469: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)}},529:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},573:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},606:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},668:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},718:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},757:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},790:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},966:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(369),s=i.n(n),r=i(242),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},990: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}}}},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:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,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 x(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]=x(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,x(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(x(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]=x(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),N(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),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(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,N(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),N(e,t,i,n,A),e}return t}function N(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]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(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 N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const 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)\]/,P=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let 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 U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(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,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(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 $=Y;function B(){const t=["110010ZEPyPW","name","212707qpmVox","map","5RVNysf","fire","toVersion","fromVersion","diffData","3605GxrXtC","creatorId","3204sHlYty","1838002izaxgJ","setAttribute","creator","7378480cOfInj","createdAt","2509197GqvpPv","model","authorsIds","99ftygRZ","set","authors","toJSON","setName","attributes","1157240hawvBu","removeAttribute","_update"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(520290===-parseInt(e(313))/1+-parseInt(e(323))/2+parseInt(e(328))/3+parseInt(e(337))/4*(parseInt(e(315))/5)+-parseInt(e(322))/6*(parseInt(e(320))/7)+parseInt(e(326))/8+-parseInt(e(331))/9*(parseInt(e(311))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[$(325)];[$(333)];[$(319)];[$(317)];[$(318)];[$(329)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(325)]=e[i(325)]||null,this[i(333)]=e[i(333)]||[],this[i(319)]=e[i(319)]||null,this[i(317)]=e[i(317)]||0,this[i(318)]=e[i(318)]||0,this[i(332)](i(312),e[i(312)]||""),this[i(332)](i(327),e[i(327)]||new Date),this[i(332)](i(336),e[i(336)]||{})}[$(335)](t){this[$(310)]({name:t})}[$(324)](t,e){const i=$,n=R(this[i(336)]);U(n,t,e),this[i(310)]({attributes:n})}[$(309)](t){const e=$,i=R(this[e(336)]);(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=L(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,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(310)]({attributes:i})}[$(310)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(312),i(327),i(319),i(333),i(336),i(317),i(318),i(321)];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(333)]&&(s[i(330)]=s[i(333)][i(314)](t=>t.id),delete s[i(333)]),this[i(316)](i(310),s,e))}[$(334)](){const t=$;return{id:this.id,name:this[t(312)],creatorId:this[t(325)]?this[t(325)].id:null,authorsIds:this[t(333)][t(314)](t=>t.id),diffData:this[t(319)],createdAt:this[t(327)],attributes:this[t(336)],fromVersion:this[t(318)],toVersion:this[t(317)]}}}var J=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["1193766qFGNkX","authorsIds","oldRevisionId","fromCharCode","requires","afterInit","toVersion","getEarlierVisibleRevision","add","getRevisionsInDiff","plugins","RevisionsRepository","toJSON","3707988rhStje","data","getRevisions","pluginName","fromVersion","get","reverse","getUser","getRevisionsIterator","_revisions","5OWCSVE","getLaterVisibleRevision","name","editor","354630Useoyd","76216dnZZLY","createdAt","33rGRIaK","earlier","href","push","newRevisionId","diffData","2779497hnYwDI","addRevision","later","isPremiumPlugin","join","isOfficialPlugin","length","Users","8FHvhgo","createRevision","getRevision","getIndex","7mnteZy","9ofIFrK","34882RKlLrr","936490Sixnqu","from","creatorId","map","isNaN","attributes"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=444]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(233833===parseInt(e(463))/1*(-parseInt(e(465))/2)+parseInt(e(464))/3*(-parseInt(e(500))/4)+parseInt(e(495))/5*(parseInt(e(499))/6)+-parseInt(e(472))/7+-parseInt(e(459))/8*(parseInt(e(451))/9)+-parseInt(e(466))/10+parseInt(e(445))/11*(parseInt(e(485))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[Q(494)];static get[Q(476)](){return[K.Users]}static get[Q(488)](){return Q(483)}static get[Q(456)](){return!0}static get[Q(454)](){return!0}get[Q(457)](){const t=Q;return this[t(494)][t(457)]}constructor(e){const i=Q;super(e),this[i(494)]=new t.Collection}[Q(477)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),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(470)](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([115]);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(469)](t=>String[e(475)](t))[e(455)]("")}!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:1760313600;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(447)]);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(460)](t){const e=Q,i=this[e(498)][e(482)][e(490)](e(458));return new G({id:t.id,name:t[e(497)],creator:t[e(468)]?i[e(492)](t[e(468)]):null,diffData:t[e(450)]||t[e(486)],authors:t[e(473)][e(469)](t=>i[e(492)](t)),createdAt:new Date(t[e(444)]),attributes:t[e(471)],fromVersion:t[e(489)],toVersion:t[e(478)]})}[Q(452)](t,e=0){const i=Q;this[i(494)][i(480)](t,e)}[Q(461)](t){const e=Q;return this[e(494)][e(490)](t)}[Q(487)](t={toJSON:!1}){const e=Q,i=Array[e(467)](this[e(494)]);return i[e(491)](),t[e(484)]?i[e(469)](t=>t[e(484)]()):i}[Q(462)](t){const e=Q;return this[e(494)][e(462)](t)}[Q(479)](t){const e=Q,[,i]=this[e(493)](t,{direction:e(446)});return i}[Q(496)](t){const e=Q,[,i]=this[e(493)](t,{direction:e(453)});return i}[Q(481)](t){const e=Q,i=[];for(const n of this[e(493)](t[e(449)]))if(i[e(448)](n),n.id===t[e(474)])break;return i}*[Q(493)](t,{direction:e=Q(446),filter:i=()=>!0}={}){const n=Q,s=n(446)===e?1:-1;let r=this[n(494)][n(490)](t),o=this[n(462)](r);for(yield r;r;){if(o+=s,r=this[n(461)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["21RKKBcL","constructor","viewChildrenToDom","revision-end","createElement","startsWith","filter","name","innerHTML","loadRevisionData","marked","processor","isAttached","attachChange","getRevision","children","1336260qGdvmZ","div","toData","isPremiumPlugin","editor","diffData","view","data-revision-","_makeModelFromViewString","domConverter","type","parse","editing","from","collaboration.channelId","attributesAfter","length","getFillerOffset","_getViewFromDiffObj","map","toModel","isOfficialPlugin","_removeRevisionMarkers","901540kalVoX","_viewClassToTypeChar","string","6kdEIFB","_getTypeCharForViewElement","attributes","useFillerType","_typeCharToViewClass","revision-start","domChildrenToView","956274IgVjTO","insertions","3561865MXAPaI","123824WKgDZW","append","config","document","149682lUBZCT","fillerOffset","data","htmlProcessor","domDocument","pluginName","RevisionHistoryUtils","render","getRevisionRootsAttributes","customProperties","childNodes","getRevisionDocumentData","_appendChild","get","forEach","default","_setCustomProperty","495xteEWg","3661316hQrZLu"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(619321===parseInt(e(381))/1+parseInt(e(398))/2*(parseInt(e(384))/3)+-parseInt(e(416))/4+-parseInt(e(393))/5+parseInt(e(391))/6*(parseInt(e(417))/7)+-parseInt(e(394))/8*(-parseInt(e(415))/9)+-parseInt(e(433))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends J.Plugin{static get[nt(403)](){return nt(404)}static get[nt(454)](){return!0}static get[nt(436)](){return!0}[nt(382)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(388)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(426)](t,e){const i=nt;if(t[i(438)]||!e)return;const n=this[i(437)][i(396)][i(411)](i(447)),s=await e[i(431)]({channelId:n,revisionId:t.id});t[i(438)]=s[i(438)]}[nt(409)](t){const e=nt,i={};for(const n in t[e(438)]){if(t[e(438)][n][e(430)]&&!t[e(438)][n][e(430)][e(429)])continue;const s=this[e(455)](JSON[e(444)](t[e(438)][n][e(392)])),r=this[e(437)][e(445)][e(439)][e(397)],o=new X.ViewDocumentFragment(r,s[e(452)](t=>this[e(451)](t,!1)));this[e(437)][e(400)][e(428)][e(387)](e(427)),i[n]=this[e(437)][e(400)][e(428)][e(435)](o),this[e(437)][e(400)][e(428)][e(387)](e(413))}return i}[nt(406)](t){const e=nt,i={};for(const n in t[e(438)])t[e(438)][n][e(430)]&&!t[e(438)][n][e(430)][e(429)]||(i[n]=t[e(438)][n][e(448)]||{});return i}[nt(385)](t){const e=nt;return this[e(382)][e(411)](t[e(418)])}[nt(451)](t,e){const i=nt,n=this[i(437)][i(445)][i(439)][i(397)];if(i(383)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(443)]||"r"==t[i(443)]?[]:t[i(432)][i(452)](t=>this[i(451)](t,e));const o=this[i(388)][i(411)](t[i(443)])||X.ViewElement,a=this[i(437)][i(400)][i(401)][i(442)];if(s=new o(n,t[i(424)],t[i(386)],r),"u"==t[i(443)]&&t[i(432)][0]){const r=t[i(432)][0];if(s[i(405)]=function(t){const e=i,n=t[e(421)](e(434));return n[e(425)]=r,n[e(408)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(410)](s);const e=Array[i(446)](a[i(419)](t,{bind:!1})),r=a[i(402)][i(421)](i(434));r[i(395)](...e),s=Array[i(446)](a[i(390)](r))[0]}}else if("r"==t[i(443)]&&t[i(432)][0]){const r=t[i(432)][0];if(s[i(405)]=function(t){t[i(425)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(410)](s);const e=Array[i(446)](a[i(419)](t,{bind:!1})),r=a[i(402)][i(421)](i(434));r[i(395)](...e);const o=Array[i(446)](a[i(390)](r));o[i(449)]>1?s[i(410)](o):s=o[0]}}if(t[i(407)])for(const[e,n]of t[i(407)])s[i(414)](e,n);const c=void 0===t[i(399)]?null:t[i(399)];return null!==c&&(s[i(450)]=()=>c),s}}[nt(441)](t){const e=nt,i=JSON[e(444)](t),n=this[e(437)][e(445)][e(439)][e(397)],s=new X.ViewDocumentFragment(n,i[e(452)](t=>this[e(451)](t,!0)));return this[e(437)][e(400)][e(453)](s)}[nt(455)](t){const e=nt;return(t=t[e(423)](t=>!t[e(424)]||e(389)!==t[e(424)]&&e(420)!==t[e(424)]))[e(412)](t=>{const i=e;i(383)!=typeof t&&(t[i(432)]=this[i(455)](t[i(432)]),t[i(386)]=t[i(386)][i(423)](t=>!t[0][i(422)](i(440))))}),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,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(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(N){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,x))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,x));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,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||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,x))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(870067===parseInt(e(185))/1*(parseInt(e(196))/2)+parseInt(e(147))/3*(-parseInt(e(116))/4)+parseInt(e(368))/5*(-parseInt(e(304))/6)+parseInt(e(259))/7*(-parseInt(e(169))/8)+parseInt(e(271))/9+-parseInt(e(328))/10*(-parseInt(e(408))/11)+-parseInt(e(384))/12*(-parseInt(e(184))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bt);class mt extends J.Plugin{[ft(250)];[ft(375)];[ft(274)]=null;[ft(238)];[ft(254)]=null;[ft(246)];[ft(163)];[ft(396)];[ft(128)];[ft(273)];[ft(411)];[ft(231)];[ft(122)];[ft(318)];static get[ft(268)](){return ft(402)}static get[ft(272)](){return!0}static get[ft(410)](){return!0}static get[ft(125)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(238)]=this[i(148)][i(284)][i(280)](i(124)),this[i(273)]=this[i(148)][i(284)][i(280)](i(291)),this[i(246)]=new pt(this[i(148)]),this[i(396)]=this[i(148)][i(323)][i(280)](i(237))||i(244),this[i(128)]=new Map,this[i(318)]=null;const n=(0,t.uid)();this[i(163)]={history:this[i(148)][i(355)][i(379)][i(255)],getLatestVersion:()=>Promise[i(429)](this[i(148)][i(355)][i(379)][i(239)]),getCurrentRevisionId:()=>n},this[i(190)](i(256),!1),this[i(190)](i(187),!0),this[i(190)](i(425),!1),this[i(148)][i(323)][i(165)](i(282),!0),this[i(148)][i(129)][i(232)](i(427))[i(208)]({view:i(390)})}[ft(249)](){const t=ft;this[t(314)](),this[t(148)][t(359)].on(t(332),()=>{const e=t,i=this[e(238)][e(399)](0),n=i&&null===i[e(110)]?i:null;if(this[e(231)]=!!n&&this[e(148)][e(323)][e(280)](e(282)),this[e(148)][e(284)][e(413)](e(391))){const t=this[e(163)][e(132)](),s=this[e(238)][e(399)](t);if(s)this[e(122)]=s[e(247)],this[e(231)]=!1;else{const t=this[e(163)][e(255)][e(230)][e(310)](t=>!t[e(206)]),s=t?t[e(374)]:this[e(163)][e(255)][e(239)];i?(i[e(136)]<s&&i[e(357)]({toVersion:s}),this[e(231)]?(this[e(163)][e(132)]=()=>n.id,this[e(122)]=n[e(247)]):(this[e(122)]=i[e(136)],this[e(231)]=!1)):(this[e(122)]=s,this[e(231)]=!1)}}else n&&(this[e(148)][e(355)][e(379)][e(255)][e(239)]=Math[e(389)](n[e(136)],this[e(148)][e(355)][e(379)][e(255)][e(239)]),n[e(247)]===n[e(136)]?(0!==n[e(247)]&&(this[e(163)][e(132)]=()=>n.id),this[e(231)]=!1):this[e(231)]&&(this[e(163)][e(132)]=()=>n.id,this[e(122)]=n[e(247)])),this[e(231)]||(this[e(122)]=this[e(148)][e(355)][e(379)][e(239)]);this[e(246)][e(249)](this[e(163)][e(255)]),this[e(405)](this[e(122)]),this[e(288)](this[e(122)]),this[e(254)]&&this[e(369)]()}),this[t(317)](t(256)).to(this,t(425),t=>!t),this[t(250)]=this[t(148)][t(323)][t(280)](t(250));const e=this[t(148)];this[t(375)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(289)==r||i(177)==r||i(397)==r||i(365)==r||i(210)==r||i(219)==r||i(336)==r||i(407)==r){delete e[s],n=r,clearInterval(this[i(375)]),this[i(375)]=void 0;break}}i(177)==n&&e[i(181)](i(394)),i(397)==n&&e[i(181)](i(200)),i(365)==n&&e[i(181)](i(155)),i(210)==n&&e[i(181)](i(141),i(415)),i(219)==n&&e[i(181)](i(341)),i(336)==n&&e[i(181)](i(227)),i(407)==n&&e[i(181)](i(119))},1e3)}async[ft(363)](){const t=ft;if(this[t(238)][t(406)]>0){const e=this[t(238)][t(399)](0),i=await this[t(151)](e),n=await this[t(342)](e);this[t(258)](i,n)}}[ft(351)](){const t=ft;super[t(351)](),this[t(375)]&&clearInterval(this[t(375)])}[ft(403)](t){this[ft(163)]=t}async[ft(358)](){const t=ft,e=await this[t(163)][t(130)]();if(e>this[t(274)][t(136)]){await this[t(267)]();const i=this[t(377)]({revision:this[t(274)],to:e});i[t(333)]=i[t(419)][t(393)](e=>this[t(148)][t(284)][t(280)](t(214))[t(423)](e)),this[t(274)][t(357)](i)}}async[ft(360)](e={},i=null){const n=ft,s=[];await this[n(267)](),this[n(231)]=!1,i>this[n(274)][n(136)]&&(i=null),null===i&&(i=await this[n(163)][n(130)]());const r=this[n(257)](i),o=this[n(377)]({from:r,to:i});if(this[n(274)][n(136)]<i){const t=this[n(377)]({revision:this[n(274)],from:i,to:i});t[n(333)]=[],t[n(419)]=[],t.id=this[n(274)].id,this[n(274)][n(357)](t,!0),delete t[n(333)],s[n(168)](t)}e[n(133)]=this[n(148)][n(284)][n(280)](n(214)).me.id,e[n(251)]=e[n(251)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(316)](e);s[n(168)](e);const c=this[n(238)][n(366)](a);if(0!==c){const t=this[n(238)][n(399)](c-1);if(t[n(247)]!==i){const r=this[n(246)][n(373)](i,t[n(136)]),o={id:t.id,diffData:r[n(183)],authorsIds:r[n(419)],authors:r[n(419)][n(393)](t=>this[n(148)][n(284)][n(280)](n(214))[n(423)](t)),fromVersion:i};t===this[n(274)]&&(o[n(348)]=new Date(e[n(348)][n(261)]()+10)),t[n(357)](o,!0),delete o[n(333)],s[n(168)](o)}}if(this[n(254)]){for(const t of s)this[n(322)](t.id,t,!0);this[n(369)]()}return a}[ft(316)](t){const e=ft,i=this[e(238)][e(161)](t);return this[e(254)]&&i.on(e(357),(t,i,n)=>{const s=e;n||(this[s(322)](i.id,i,!0),this[s(369)]())}),this[e(238)][e(164)](i,this[e(356)](i)),i}async[ft(151)](t){const e=ft;return await this[e(273)][e(270)](t,this[e(254)]),this[e(273)][e(151)](t)}async[ft(342)](t){const e=ft;return await this[e(273)][e(270)](t,this[e(254)]),this[e(273)][e(342)](t)}[ft(369)](){const t=ft;if(0===this[t(128)][t(121)])return;if(this[t(425)])return;let e=Array[t(302)](this[t(128)][t(420)]());this[t(128)][t(279)]();for(let i=0;i<e[t(406)];i++){const n=e[i];let s=!1;for(const e of Object[t(221)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(242)](t=>null!==t),!e[t(406)])return;for(let i=0;i<e[t(406)];i++){const n=e[i];void 0!==n[t(247)]&&void 0===n[t(136)]&&(n[t(136)]=this[t(238)][t(399)](n.id)[t(136)]),void 0!==n[t(136)]&&void 0===n[t(247)]&&(n[t(247)]=this[t(238)][t(399)](n.id)[t(247)])}const i=this[t(148)][t(323)][t(280)](t(237));this[t(425)]=!0,this[t(285)](),this[t(254)][t(308)](e,i)[t(276)](()=>{this[t(425)]=!1})[t(361)](e=>{const i=t;if(e)for(const t of e)this[i(202)]({id:t.id,createdAt:t[i(348)]});this[i(198)](),this[i(369)]()})}[ft(377)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(247)],i=null!==i?i:t[n(136)];const s=this[n(246)][n(373)](e,i),r={diffData:s[n(183)],authorsIds:s[n(419)],fromVersion:e,toVersion:i};if(!t||i!==t[n(136)]){const t=i-1,e=this[n(163)][n(255)][n(277)](t);r[n(348)]=e&&e[n(348)]||new Date}if(this[n(318)]&&e===this[n(318)][n(247)])for(const t of this[n(318)][n(333)])r[n(419)][n(248)](t.id)||r[n(419)][n(168)](t.id);return r}[ft(322)](t,e,i){const n=ft;if(this[n(128)][n(413)](t)){const s=this[n(128)][n(280)](t);e=i?{...s,...e}:{...e,...s}}this[n(128)][n(190)](t,e)}[ft(202)](t){const e=ft,i=this[e(238)][e(399)](t.id);if(t[e(348)]&&(t[e(348)]=new Date(t[e(348)])),t[e(419)]){const i=this[e(148)][e(284)][e(280)](e(214));t[e(333)]=t[e(419)][e(393)](t=>i[e(423)](t))}i[e(357)](t,!0)}[ft(405)](t){const e=ft,i=this[e(238)][e(399)](this[e(238)][e(406)]-1);if(i)this[e(396)]=i.id;else{const i=!this[e(148)][e(355)][e(379)][e(388)][e(310)](t=>this[e(148)][e(355)][e(139)](t)),n=this[e(148)][e(284)][e(280)](e(214)).me.id,s=at(this[e(148)][e(188)],e(i?286:352));this[e(223)]({from:t,to:t,id:this[e(396)],name:s,creatorId:n})}}[ft(288)](t){const e=ft,i=this[e(163)][e(132)]();this[e(274)]=this[e(238)][e(399)](i),this[e(274)]||(this[e(274)]=this[e(223)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(267)](){const t=ft;this[t(231)]&&!this[t(318)]&&(await this[t(273)][t(270)](this[t(274)],this[t(254)]),this[t(246)][t(170)](this[t(274)]),this[t(318)]={fromVersion:this[t(274)][t(247)],authors:this[t(274)][t(333)][t(182)]()})}[ft(258)](e,i){const n=ft;let s=this[n(148)][n(323)][n(280)](n(262)),r=this[n(148)][n(323)][n(280)](n(252));if(void 0===s){s={};for(const t of this[n(148)][n(355)][n(379)][n(108)]())s[t]=""}if(n(400)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(148)][n(355)][n(379)][n(108)]())r[t]={}}let o=!1;const a=Object[n(221)](s),c=Object[n(221)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(240)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(221)](r[t])[n(406)]>0){o=!0;break}}o||(o=c[n(205)](t=>!this[n(148)][n(355)][n(379)][n(112)](t))),o&&(0,t.logWarning)(n(176),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(148)][n(323)][n(190)](n(262),e),this[n(148)][n(323)][n(190)](n(252),i)}[ft(285)](){const t=ft;if(!this[t(411)]){const e=this[t(148)][t(284)][t(280)](t(150));this[t(411)]=e[t(127)](at(this[t(148)][t(188)],t(424)))}}[ft(198)](){const t=ft;this[t(411)]&&(this[t(148)][t(284)][t(280)](t(150))[t(338)](this[t(411)]),this[t(411)]=null)}[ft(356)](t){const e=ft,i=this[e(238)][e(312)]();i[e(326)]();let n=0;for(;n<i[e(406)];){const s=i[n];if(s===this[e(274)]){n++;continue}if(s.id===this[e(396)])break;const r=t[e(136)]-s[e(136)]||t[e(247)]-s[e(247)];if(r>0)break;if(r<0)n++;else{if(!t[e(110)]&&s[e(110)])break;if(s[e(110)]||!t[e(110)]){if(t[e(348)]>s[e(348)])break;n++}else n++}}return n}[ft(257)](t){const e=ft,i=this[e(238)][e(312)]();i[e(326)](),i[e(281)]();const n=i[e(310)](i=>i[e(136)]<=t)[e(136)];return n<this[e(122)]?this[e(122)]:n}[ft(223)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(377)]({from:e,to:i});o[r(251)]=t,o[r(133)]=n,o.id=s;const a=this[r(316)](o);return this[r(254)]&&this[r(322)](o.id,o,!0),a}[ft(314)](){const t=ft;this[t(148)][t(129)][t(232)](t(364))[t(149)]({model:t(390)})}}class pt{[ft(148)];[ft(156)];[ft(428)];[ft(300)];[ft(142)];[ft(222)];[ft(401)];[ft(383)];[ft(212)];[ft(137)];[ft(378)];[ft(114)];[ft(152)];[ft(104)];[ft(146)];[ft(287)];[ft(354)];constructor(t){const e=ft;this[e(148)]=t,this[e(428)]=new Map,this[e(300)]=-1,this[e(142)]=-1,this[e(222)]=new Map,this[e(401)]=new Map,this[e(383)]=new Map,this[e(212)]=new Map,this[e(137)]=new Map,this[e(378)]=new Map,this[e(114)]=new Map,this[e(152)]=new Map,this[e(104)]=new Map,this[e(146)]=new Map,this[e(287)]=1}[ft(249)](t){const e=ft;this[e(156)]=t;const i=new Map,n=new Map,s=this[e(148)][e(355)][e(379)][e(388)][e(393)](t=>t[e(339)]);for(const t of s){const s=this[e(148)][e(355)][e(379)][e(112)](t),r=vt(s);i[e(190)](t,r),n[e(190)](t,Object[e(340)](s[e(171)]()))}const r=Array[e(302)](this[e(148)][e(355)][e(175)])[e(393)](t=>[t[e(251)],t[e(218)]()]),o=this[e(156)][e(239)];this[e(295)](o,i,r,n),this[e(354)]=this[e(287)];const a=new Map,c=new Map;for(const t of s){const i=gt(t);a[e(190)](t,i),c[e(190)](t,{})}this[e(295)](Number[e(422)],a,[],c)}[ft(373)](t,e){const i=ft;if(this[i(300)]===t&&this[i(142)]<=e)this[i(428)][i(121)]>1&&this[i(195)](this[i(142)]),this[i(315)](this[i(142)],e,!0);else{if(!this[i(428)][i(413)](t)){const e=this[i(278)](t);this[i(215)](e,t,!1)}this[i(215)](t,e,!0)}return this[i(300)]=t,this[i(142)]=e,this[i(135)]()}[ft(170)](t){const e=ft;if(!this[e(428)][e(413)](t[e(247)])){const i=this[e(278)](t[e(247)]);this[e(215)](i,t[e(247)],!1)}this[e(215)](t[e(247)],t[e(136)],!1);const i=this[e(148)][e(284)][e(280)](e(291));this[e(115)](),this[e(300)]=t[e(247)],this[e(142)]=t[e(136)];for(const n in t[e(183)]){const s=t[e(183)][n][e(305)],r=R(t[e(183)][n][e(426)])||{},o=i[e(192)](t[e(183)][n][e(228)]);o[e(339)]=n,o[e(191)]=!s||!s[e(292)],o[e(292)]=()=>o[e(191)],this[e(212)][e(190)](n,o),this[e(137)][e(190)](n,r),s&&this[e(146)][e(190)](n,s);const a=this[e(297)](o);this[e(114)][e(190)](n,a);for(const[t,i]of o[e(175)]){if(!t[e(225)](e(138)))continue;const n=t[e(327)](":")[2];for(const t of i[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),s=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)],r=a[e(398)](s)[e(157)](i);this[e(152)][e(190)](r,{userId:n})}o[e(175)][e(404)](t)}}this[e(354)]=this[e(287)];const n=[...Array(this[e(287)])[e(221)]()][e(182)](1)[e(242)](t=>!this[e(152)][e(413)](t));let s=0;const r=new Map;for(const o in t[e(183)]){const a=t[e(183)][o][e(305)],c=R(t[e(183)][o][e(236)])||{},u=i[e(192)](t[e(183)][o][e(106)]);u[e(339)]=o,u[e(191)]=!a||a[e(292)],u[e(292)]=()=>u[e(191)],this[e(401)][e(190)](o,u),this[e(383)][e(190)](o,c);const l=this[e(297)](u,Number[e(422)]);this[e(378)][e(190)](o,l),r[e(190)](o,u[e(292)]()?c:{});for(const[t,i]of u[e(175)]){if(!t[e(225)](e(138)))continue;const n=t[e(327)](":")[2];for(const t of i[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),s=this[e(287)]++,r=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)];l[e(398)](r)[e(320)](i,s),this[e(152)][e(190)](s,{userId:n})}u[e(175)][e(404)](t)}for(const t of this[e(148)][e(355)][e(126)](u)[e(174)]({singleCharacters:!0})){const i=this[e(173)](t),r=e(197)==t[e(329)]?t[e(107)][e(283)][e(182)](0,-1):t[e(107)][e(283)],o=l[e(398)](r);o[e(157)](i)>0||o[e(320)](i,n[s++])}for(const[t,i]of u[e(175)])t[e(225)](e(138))||this[e(222)][e(190)](t,i)}const{roots:o}=this[e(428)][e(280)](t[e(247)]),{roots:a}=this[e(428)][e(280)](t[e(136)]),c=vt(o[e(280)](e(269)));this[e(212)][e(190)](e(269),c),this[e(114)][e(190)](e(269),this[e(297)](c,Number[e(422)]));const u=vt(a[e(280)](e(269)));this[e(401)][e(190)](e(269),u),this[e(378)][e(190)](e(269),this[e(297)](u));const l=Array[e(302)](this[e(401)])[e(393)](([t,e])=>[t,vt(e)]);this[e(295)](this[e(142)],l,this[e(222)],r)}[ft(386)](){const t=ft;this[t(115)](),this[t(300)]=-1,this[t(142)]=-1,this[t(428)][t(279)](),this[t(249)](this[t(156)])}[ft(295)](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(190)](t,{start:e[s(344)][s(145)](),end:e[s(117)][s(145)](),rootName:e[s(275)][s(339)]});this[s(428)][s(190)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(195)](t){const e=ft;this[e(428)][e(404)](t)}[ft(115)](){const t=ft;this[t(152)][t(279)](),this[t(104)][t(279)](),this[t(146)][t(279)](),this[t(401)][t(279)](),this[t(383)][t(279)](),this[t(212)][t(279)](),this[t(137)][t(279)](),this[t(378)][t(279)](),this[t(114)][t(279)](),this[t(222)][t(279)](),this[t(287)]=1,this[t(354)]=this[t(287)]}[ft(297)](t,e=null){const i=ft;let n=null;t.is(i(220))||(n=new X.ModelElement(t[i(251)],{vid_start:null===e?this[i(287)]++:e++}));const s=[];for(const n of t[i(211)]())if(n.is(i(313))){s[i(168)](this[i(297)](n,e));const t=s[s[i(406)]-1];null!==e&&(e=t.is(i(313),i(347))?t[i(157)](i(409))+1:t[i(157)](i(293))+1)}else for(let t=0;t<n[i(203)];t++)s[i(168)](new X.ModelElement(i(347),{vid:null===e?this[i(287)]++:e++}));if(t.is(i(220))){const e=gt(t[i(339)]);return e[i(264)](0,s),e}return n[i(320)](i(293),null===e?this[i(287)]++:e++),n[i(264)](0,s),n}[ft(215)](t,e,i){const n=ft;this[n(115)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(428)][n(280)](t);this[n(212)]=new Map(s),this[n(137)]=new Map(R(o));for(const[t,e]of this[n(212)])if(n(269)!==t&&(this[n(401)][n(190)](t,vt(e)),this[n(383)]=new Map(R(o)),i)){const i=this[n(287)];this[n(378)][n(190)](t,this[n(297)](e)),this[n(114)][n(190)](t,this[n(297)](e,i))}this[n(354)]=this[n(287)],this[n(401)][n(190)](n(269),vt(this[n(212)][n(280)](n(269)))),i&&this[n(378)][n(190)](n(269),this[n(297)](this[n(212)][n(280)](n(269))));for(const[t,e]of r){const i=this[n(212)][n(280)](e[n(339)]),s=this[n(401)][n(280)](e[n(339)]),r=new X.ModelRange(this[n(178)](e[n(344)],i),this[n(178)](e[n(117)],i)),o=this[n(349)](r,s);i[n(175)][n(190)](t,r),this[n(222)][n(190)](t,o)}this[n(315)](t,e,i)}[ft(315)](t,e,i){const n=ft;for(const s of this[n(156)][n(325)](t,e))this[n(260)](s,i);for(const t of this[n(401)][n(420)]())t[n(175)][n(279)]();for(const[t,e]of this[n(222)])this[n(401)][n(280)](e[n(275)][n(339)])[n(175)][n(190)](t,e[n(145)]());const s=new Map,r=new Map;for(const[t,e]of this[n(401)])s[n(190)](t,vt(e)),r[n(190)](t,this[n(383)][n(280)](t));this[n(295)](e,s,this[n(222)],r)}[ft(278)](t){const e=ft,i=Array[e(302)](this[e(428)][e(221)]());i[e(362)]((t,e)=>t-e),i[e(326)]();for(const e of i)if(e<t)return e;return Number[e(422)]}[ft(263)](t,e){const i=ft,n=Array[i(302)](e[i(175)])[i(393)](([e,n])=>[e,this[i(349)](n,t)]);t[i(175)]=new Map(n)}[ft(144)](t){const e=ft;for(const i of this[e(222)][e(420)]()){const n=i[e(319)](t),s=X.ModelRange[e(294)](n);i[e(344)]=s[e(344)],i[e(117)]=s[e(117)]}}[ft(260)](t,e){const i=ft;if(i(113)!=t[i(329)]&&i(337)!=t[i(329)]){if(i(370)==t[i(329)]){const n=t[i(109)][i(275)][i(339)];this[i(401)][i(413)](n)||(this[i(401)][i(190)](n,gt(n,!0)),this[i(383)][i(190)](n,{}),e&&this[i(378)][i(190)](n,gt(n,!0)))}else{if(i(234)==t[i(329)]||i(153)==t[i(329)]||i(229)==t[i(329)])return void this[i(233)](t);i(162)==t[i(329)]&&this[i(224)](t)}if(i(162)!==t[i(329)]){const e=this[i(160)](t,this[i(401)]);e[i(392)](),this[i(144)](e)}if(e)switch(t[i(329)]){case i(370):this[i(343)](t);break;case i(193):case i(338):case i(213):this[i(321)](t);break;case i(143):this[i(201)](t);break;case i(327):this[i(372)](t)}}else this[i(241)](t,e)}[ft(160)](t,e){const i=ft,n=t[i(145)]();return n[i(186)]=t[i(186)],this[i(158)](n,e),n}[ft(217)](t){const e=ft;return t[e(393)](t=>{const i=e,n=this[i(173)](t);return Number(t[i(235)][i(157)](n))})}[ft(111)](t,e){const i=ft;if(t.is(i(313),i(347)))e[i(168)]({item:t,type:i(311)});else{t.is(i(313))&&e[i(168)]({item:t,type:i(353)});for(const n of t[i(211)]())this[i(111)](n,e);t.is(i(313))&&e[i(168)]({item:t,type:i(197)})}return e}[ft(135)](){const t=ft,e=new Map(this[t(152)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(212)][t(221)](),...this[t(401)][t(221)]()]);a[t(404)](t(269));for(const e of a){const i=this[t(401)][t(280)](e)||gt(e,!1),n=this[t(212)][t(280)](e)||gt(e,!1);i[t(292)]()||n[t(292)]()?(s[t(106)][e]=vt(i),s[t(228)][e]=vt(n),this[t(263)](s[t(228)][e],n),this[t(263)](s[t(106)][e],i),r[t(106)][e]=this[t(111)](this[t(378)][t(280)](e),[]),r[t(228)][e]=this[t(111)](this[t(114)][t(280)](e)||gt(e,!1),[])):a[t(404)](e)}for(const s of a){const o=r[t(106)][s];for(const s of o){const r=this[t(173)](s),o=s[t(235)][t(157)](r);i[t(404)](o),o>=this[t(354)]&&n[t(190)](o,e[t(280)](o))}}for(const s of a){const a=r[t(106)][s],c=this[t(217)](r[t(228)][s]);let u=0;for(const s of a){const r=this[t(173)](s),a=s[t(235)][t(157)](r);if(!n[t(413)](a)&&!o[t(413)](a))if(i[t(413)](a))u++;else{if(a!=c[u]){const n=e[t(280)](a)||e[t(280)](c[u]);for(;a!=c[u];)i[t(413)](c[u])||(o[t(190)](c[u],n),e[t(190)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(106)][e];for(const e of s){const s=this[t(173)](e),r=e[t(235)][t(157)](s);if(o[t(413)](r)){const e=o[t(280)](r);i[t(413)](r)||i[t(190)](r,{...e}),n[t(190)](r,{...e})}}}for(const e of i[t(221)]())e>=this[t(354)]&&i[t(404)](e);const c=new Map;for(const e of a){let s=r[t(106)][e];for(const e of s)if(e[t(235)].is(t(313),t(324))){const i=this[t(173)](e),s=e[t(235)][t(157)](i);if(n[t(413)](s)){const i=e[t(235)][t(299)][t(299)][t(157)](t(330)),r=c[t(280)](i)||new Set;r[t(127)](n[t(280)](s)[t(194)]),c[t(190)](i,r)}}s=r[t(228)][e];for(const e of s)if(e[t(235)].is(t(313),t(324))){const n=this[t(173)](e),s=e[t(235)][t(157)](n);if(i[t(413)](s)){const n=e[t(235)][t(299)][t(299)][t(157)](t(330)),r=c[t(280)](n)||new Set;r[t(127)](i[t(280)](s)[t(194)]),c[t(190)](n,r)}}for(const e of c[t(221)]())(n[t(413)](e)||i[t(413)](e))&&c[t(404)](e)}for(const e of a){const s=r[t(106)][e];let o=null,a=null;for(const e of s){const s=this[t(173)](e),r=e[t(235)][t(157)](s),u=c[t(280)](r);u&&t(353)==e[t(329)]&&(o=Array[t(302)](u)[0],a=e[t(235)][t(157)](t(293))),o&&(i[t(190)](r,{userId:o}),n[t(190)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(228)][e],a=s[t(106)][e];for(const{userId:e}of this[t(104)][t(420)]())null!==e&&l[t(127)](e);for(const{userId:e}of this[t(146)][t(420)]())null!==e&&l[t(127)](e);this[t(301)](a,r[t(106)][e],n,t(189),l),this[t(301)](o,r[t(228)][e],i,t(120),l),u[e]={insertions:this[t(172)](a),deletions:this[t(172)](o),attachChange:this[t(146)][t(280)](e)||null,attributesBefore:R(this[t(137)][t(280)](e))||{},attributesAfter:R(this[t(383)][t(280)](e))}}return{diffData:u,authorsIds:Array[t(302)](l)}}[ft(334)](t){const e=ft;for(const[,i]of t[e(175)]){const t=i[e(344)][e(159)]()[e(242)](t=>e(324)==t[e(251)]);for(const i of t)1==i[e(123)]&&i[e(266)](0).is(e(313),e(309))&&i[e(266)](0)[e(320)](e(331),!0)}}[ft(172)](t){const e=ft;this[e(334)](t);const i=this[e(148)][e(359)][e(395)](t,{}),n=Array[e(302)](i[e(211)]())[e(393)](t=>this[e(376)](t));return JSON[e(414)](n)}[ft(376)](t){const e=ft;if(t.is(e(347)))return t[e(359)];{const i=this[e(148)][e(284)][e(280)](e(291)),n=t,s=this[e(148)][e(359)][e(131)][e(207)],r={type:i[e(418)](n),name:n[e(251)],attributes:Array[e(302)](n[e(171)]()),children:Array[e(302)](n[e(211)]())[e(393)](t=>this[e(376)](t))};if(t.is(e(416))&&e(166)!=t[e(251)]){const i=t[e(209)](s[e(335)],s);r[e(346)][e(168)](i[e(385)])}else if(t.is(e(371))){const i=s[e(335)][e(140)](n[e(251)]);t[e(209)](i,s),r[e(346)][e(168)](i[e(253)])}const o=Array[e(302)](n[e(154)]());o[e(406)]>0&&(r[e(367)]=o);const a=n[e(307)]();return null!==a&&(r[e(382)]=a),r}}[ft(301)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(148)][r(355)];for(let n=0;n<e[r(406)];n++){const s=this[r(173)](e[n]),c=e[n][r(235)][r(157)](s),h=i[r(280)](c),d=n==e[r(406)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(194)]!=o[r(194)])&&(l(h,yt(a,t,u),yt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,yt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(194)],d=l(138)+n+":"+h+":"+c++,f=u[l(245)](i,a);t[l(175)][l(190)](d,f),null!==h&&s[l(127)](h)}}[ft(173)](t){const e=ft;switch(t[e(329)]){case e(353):return e(330);case e(197):return e(293);default:return e(409)}}[ft(158)](t,e){const i=ft;t[i(374)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(280)](s[i(275)][i(339)]);t[n]=this[i(178)](s,r)}if(s instanceof X.ModelRange){const r=e[i(280)](s[i(275)][i(339)]);t[n]=this[i(349)](s,r)}i(275)===n&&(t[i(275)]=e[i(280)](t[i(275)][i(339)]))}}[ft(349)](t,e){const i=ft;return this[i(148)][i(355)][i(245)](this[i(178)](t[i(344)],e),this[i(178)](t[i(117)],e))}[ft(178)](t,e){const i=ft;return this[i(148)][i(355)][i(134)](e,t[i(283)],t[i(243)])}[ft(343)](t){const e=ft,i=this[e(378)][e(280)](t[e(109)][e(275)][e(339)]),n=this[e(178)](t[e(109)],i),s=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,r=n[e(299)],o=this[e(287)],a=[];for(const i of t[e(381)])if(i.is(e(313)))a[e(168)](this[e(297)](i));else for(let t=0;t<i[e(203)];t++)a[e(168)](new X.ModelElement(e(347),{vid:this[e(287)]++}));const c=this[e(287)];for(let t=o;t<c;t++)this[e(152)][e(190)](t,{userId:s});r[e(264)](n[e(226)],a)}[ft(321)](t){const e=ft;(t=this[e(160)](t,this[e(378)]))[e(392)]();const i=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(204)](),s=n[e(299)],r=n[e(226)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(266)](e);r.is(a(313),a(347))?n[a(190)](r[a(157)](a(409)),{userId:i}):(n[a(190)](r[a(157)](a(330)),{userId:i}),t(n,r,0,r[a(123)]),n[a(190)](r[a(157)](a(293)),{userId:i}))}}(this[e(152)],s,r,r+t[e(265)])}[ft(201)](t){const e=ft,i=null===(t=this[e(160)](t,this[e(378)]))[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(118)][e(299)],s=t[e(387)][e(299)],r=n[e(157)](e(293)),o=s[e(157)](e(330));n[e(320)](e(293),s[e(157)](e(293))),s[e(320)](e(293),r),this[e(152)][e(190)](o,{userId:i}),this[e(152)][e(190)](r,{userId:i}),t[e(392)]()}[ft(372)](t){const e=ft,i=null===(t=this[e(160)](t,this[e(378)]))[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,n=t[e(105)],s=t[e(180)][e(299)];t[e(392)]();const r=s[e(157)](e(293)),o=t[e(199)][e(306)];if(n){const t=o[e(157)](e(293)),n=s[e(157)](e(293));s[e(320)](e(293),t),o[e(320)](e(293),n),this[e(152)][e(190)](s[e(157)](e(293)),{userId:i}),this[e(152)][e(190)](o[e(157)](e(330)),{userId:i})}else{const t=this[e(287)]++,n=this[e(287)]++;s[e(320)](e(293),t),o[e(320)](e(330),n),o[e(320)](e(293),r),this[e(152)][e(190)](t,{userId:i}),this[e(152)][e(190)](n,{userId:i})}}[ft(224)](t){const e=ft;if(!t[e(350)])return;const i=(t=this[e(160)](t,this[e(401)]))[e(345)]?t[e(345)][e(275)]:null,n=t[e(421)]?t[e(421)][e(275)]:null;i&&this[e(222)][e(404)](t[e(251)]),n&&this[e(222)][e(190)](t[e(251)],t[e(421)][e(145)]());const s=null===t[e(186)]?null:t[e(186)]||this[e(148)][e(284)][e(280)](e(214)).me.id,r=t[e(251)];if(!this[e(104)][e(413)](r))return void this[e(104)][e(190)](r,{range:t[e(345)],userId:s});const o=this[e(104)][e(280)](r),a=o[e(179)],c=t[e(421)];null==a&&null==c||a&&c&&a[e(417)](c)?this[e(104)][e(404)](t[e(251)]):o[e(194)]=s}[ft(241)](t,e){const i=ft;this[i(401)][i(413)](t[i(339)])?this[i(401)][i(280)](t[i(339)])[i(191)]=t[i(298)]:(this[i(401)][i(190)](t[i(339)],gt(t[i(339)],!0)),this[i(383)][i(190)](t[i(339)],{}),e&&this[i(378)][i(190)](t[i(339)],gt(t[i(339)],!0)));const n=null===t[i(186)]?null:t[i(186)]||this[i(148)][i(284)][i(280)](i(214)).me.id,s=this[i(146)][i(280)](t[i(339)]);s&&s[i(194)]===n?this[i(146)][i(404)](t[i(339)]):this[i(146)][i(190)](t[i(339)],{userId:n,isAttached:t[i(298)]})}[ft(233)](t){const e=ft,i=this[e(383)][e(280)](t[e(275)][e(339)]);null===t[e(216)]?delete i[t[e(380)]]:i[t[e(380)]]=t[e(216)]}}function vt(t){const e=ft,i=gt(t[e(339)],t[e(292)]());for(const n of t[e(211)]()){const t=n[e(296)](!0);i[e(412)](t)}return i}function gt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(339)]=t,n[i(191)]=e,n[i(292)]=()=>n[i(191)],n}function yt(t,e,i){const n=ft,s=n(197)==t[n(329)]?i[n(303)](t[n(235)],n(117)):i[n(167)](t[n(235)]);return i[n(134)](e,s[n(283)],s[n(243)])}function kt(t,e){const i=bt();return(kt=function(t,e){return i[t-=104]})(t,e)}function bt(){const t=["outerHTML","reInit","sourcePosition","roots","max","revision","RealTimeCollaborationClient","_execute","map","invalid","toView","_initialRevisionId","revisionHistoryLicenseKeyExpired","getNodeByPath","getRevision","string","_diffRoots","RevisionTracker","setSource","delete","_createInitialRevision","length","revisionHistoryLicenseKeyUsageLimit","8701583oGDivy","vid","isPremiumPlugin","_pendingAction","_appendChild","has","stringify","RevisionHistory","uiElement","isEqual","_getTypeCharForViewElement","authorsIds","values","newRange","NEGATIVE_INFINITY","getUser","PENDING_ACTION_REVISION_HISTORY","_isPendingUpdate","attributesBefore","upcast","_savedMetaData","resolve","_touchedMarkers","graveyardPosition","insertions","previousPosition","getRootNames","position","creator","_generateTape","getRoot","addRoot","_baseIdsRoots","_reset","5640lCBnDS","end","targetPosition","usageLimit","deletion","size","_startingVersion","childCount","RevisionsRepository","requires","createRangeIn","add","_bufferedUpdates","conversion","getLatestVersion","htmlProcessor","getCurrentRevisionId","creatorId","createPositionFromPath","_getState","toVersion","_baseRootsAttributes","revision:","hasContent","createElement","featureNotAllowed","_lastTo","merge","_transformMarkers","clone","_touchedRoots","3093skmUGq","editor","markerToData","PendingActions","getRevisionDocumentData","_touched","removeRootAttribute","getCustomProperties","domainLimit","source","getAttribute","_fixOperation","getAncestors","_cloneOperation","createRevision","marker","_source","addRevision","define","$comment","createPositionBefore","push","8LrEHjP","loadState","getAttributes","_prepareViewToSave","_getVidAttributeName","getWalker","markers","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyInvalid","_fixPosition","range","splitPosition","_showLicenseError","slice","diffData","26uWESFb","89NLPnBn","_authorId","isEnabled","locale","insertion","set","_isAttached","_makeModelFromViewString","move","userId","_removeMetaData","18622aMhCTo","elementEnd","_removePendingAction","insertionPosition","expired","_handleMergeOperation","setRevisionData","offsetSize","getMovedRangeStart","some","_isInit","domConverter","dataToMarker","render","revisionHistoryLicenseKeyNotAllowed","getChildren","_baseRoots","reinsert","Users","_calculateMetaData","newValue","_getBaseVids","getRange","revisionHistoryLicenseKeyEvaluationLimit","documentFragment","keys","_markers","_makeRevision","_handleMarkerOperation","startsWith","offset","trialLimit","deletions","changeRootAttribute","_operations","_continueCurrentRevision","for","_handleRootAttributeOperation","addRootAttribute","item","attributesAfter","collaboration.channelId","repository","version","trim","_handleRootOperation","filter","stickiness","initial","createRange","_revisionDataBuilder","fromVersion","includes","init","licenseKey","name","rootsAttributes","innerHTML","adapter","history","isReady","_getFromVersion","_replaceEditorDataWithRevisionData","11165588VuvETN","_handleOperation","getTime","initialData","_copyMarkers","_insertChild","howMany","getChild","_loadState","pluginName","$graveyard","loadRevisionData","1328301CyFHNS","isOfficialPlugin","_utils","currentRevision","root","finally","getOperation","_getPreviousFrom","clear","get","shift","revisionHistory.resumeUnsavedRevision","path","plugins","_addPendingAction","Empty document","_revisionId","_createCurrentRevision","revisionHistoryLicenseKeyValid","createPositionAfter","RevisionHistoryUtils","isAttached","vid_end","_createFromRanges","_saveMetaData","_clone","_makeIdsRoot","isAdd","parent","_lastFrom","_markChanges","from","createPositionAt","6BiRxIJ","attachChange","nodeAfter","getFillerOffset","updateRevisions","paragraph","find","text","getRevisions","element","_setConversion","_applyOperations","addRevisionData","bind","_loadedStateData","getTransformedByOperation","_setAttribute","_handleMoveOperation","_bufferUpdate","config","tableCell","getOperations","reverse","split","10zlSVPX","type","vid_start","keepParagraph","ready","authors","_processRootBeforeSave","domDocument","revisionHistoryLicenseKeyTrialLimit","detachRoot","remove","rootName","fromEntries","evaluationLimit","getRevisionRootsAttributes","_handleInsertOperation","start","oldRange","children","$text","createdAt","_fixRange","affectsData","destroy","Initial revision","elementStart","_startingRevisionId","model","_findInsertionIndex","_update","update","data","saveRevision","then","sort","afterInit","dataDowncast","revisionHistoryLicenseKeyDomainLimit","getIndex","customProperties","2176710dSlJPq","sendBufferedUpdates","insert","rawElement","_handleSplitOperation","getData","baseVersion","_licenseKeyCheckInterval","_getViewJson","buildRevisionData","_idsRoots","document","key","nodes","fillerOffset","_diffRootsAttributes","15521292QBYZTh"];return(bt=function(){return t})()}function wt(t,e,i){const n=ft,s=n(353)==t[n(329)]?i[n(303)](t[n(235)],0):i[n(290)](t[n(235)]);return i[n(134)](e,s[n(283)],s[n(243)])}var _t=i(355),It=i(311),St=i(990),Ot=i.n(St),Tt=i(162),xt=i.n(Tt),Nt=i(469),At=i.n(Nt),Rt=i(606),Mt=i.n(Rt),Vt=i(114),Et=i.n(Vt),Dt=i(78),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(36),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Et();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=435]})(t,e)}function zt(){const t=["render","220","element","locale","ck-responsive-form","arrowright","Name of the revision","_createRevisionNameInput","arrowleft","2082nziBps","set","extendTemplate","54652vuuMbW","460204yWwlWj","6240665UxkRAU","form","focusTracker","6223UprXRp","setTemplate","arrowdown","input","59378FJnUHy","stopPropagation","listenTo","reset","value","label","focus","add","revisionNameInputView","arrowup","initializeCssTransitionDisablerMixin","keystrokes","ck-revision-history-save-revision-form","revisionNameInputValue","937011vIWmie","fieldView","trim","6470952yEzdHs","errorText","optional","revisionName"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(627505===-parseInt(e(440))/1+parseInt(e(474))/2+parseInt(e(454))/3+parseInt(e(473))/4+parseInt(e(475))/5+parseInt(e(470))/6*(-parseInt(e(436))/7)+-parseInt(e(457))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(435)];[jt(451)];[jt(448)];constructor(e,i){const n=jt;super(e),this[n(435)]=new t.FocusTracker,this[n(451)]=new t.KeystrokeHandler,this[n(471)](n(453),""),this[n(448)]=this[n(468)](i),this[n(437)]({tag:n(476),attributes:{class:["ck",n(452),n(465)],tabindex:"-1"},children:[this[n(448)]]}),this[n(450)]()}[jt(461)](){const t=jt;super[t(461)](),(0,It.submitHandler)({view:this}),this[t(435)][t(447)](this[t(448)][t(463)]),this[t(451)][t(442)](this[t(463)]);const e=e=>e[t(441)]();this[t(451)][t(471)](t(466),e),this[t(451)][t(471)](t(469),e),this[t(451)][t(471)](t(449),e),this[t(451)][t(471)](t(438),e)}[jt(446)](){const t=jt;this[t(448)][t(446)]()}get[jt(460)](){const t=jt;return this[t(448)][t(455)][t(463)][t(444)][t(456)]()}set[jt(460)](t){const e=jt;this[e(448)][e(455)][e(463)][e(444)]=t[e(456)]()}[jt(443)](){const t=jt;this[t(448)][t(455)][t(463)][t(444)]="",this[t(448)][t(458)]=null}[jt(468)](t){const e=jt,i=new It.LabeledFieldView(this[e(464)],It.createLabeledInputText),n=i[e(455)];n[e(472)]({attributes:{maxlength:e(462)}});let s=at(this[e(464)],e(467));return!t&&(s+=" ("+at(this[e(464)],e(459))+")"),i[e(445)]=s,n.on(e(439),()=>{const t=e;this[t(453)]=n[t(463)][t(444)][t(456)]()}),i}}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=249]})(t,e)}function Ht(){const t=["Revision history","isEnabled","bind","saveRevision","delegate","panelView","60107MoKIDf","addMany","execute","buttonView","revisionNameInputView","60678xyPwez","set","view","showRevisionViewerCallback","ck-button-action","87374ovvGAu","_saveRevisionFormView","init","Accept","role","menu","items","componentFactory","menuitem","Open revision history","_showDialog","isReady","Dialog","show","335215wbzUun","revisionSave","children","render","The revision name cannot be empty.","10231068VwPYoY","errorText","822fHaQDO","plugins","pluginName","submit","46AZHwga","isOpen","hide","revisionName","_createSaveRevisionFormView","requires","5487260JCeBmw","menuBar:revisionHistory","revisionHistory","9958872aRYrmI","22GVDMMc","_registerMenuComponent","isOfficialPlugin","locale","add","config","editor","revisionHistory.requireRevisionName","editing","Save current revision","get","focus","RevisionTracker","reset","Cancel","isReadOnly","RevisionHistoryUI","isPremiumPlugin","4VSlWay","27uLTBoI"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(945555===-parseInt(e(258))/1*(-parseInt(e(293))/2)+parseInt(e(263))/3+-parseInt(e(250))/4*(-parseInt(e(282))/5)+-parseInt(e(289))/6*(parseInt(e(268))/7)+parseInt(e(302))/8+parseInt(e(251))/9*(parseInt(e(299))/10)+-parseInt(e(303))/11*(parseInt(e(287))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends J.Plugin{static get[Ut(291)](){return Ut(319)}static get[Ut(305)](){return!0}static get[Ut(249)](){return!0}static get[Ut(298)](){return[mt]}[Ut(269)];[Ut(270)](){const t=Ut,e=this[t(309)],i=e[t(290)][t(313)](t(315));e.ui[t(275)][t(307)](t(301),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(257)][s(284)],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(254)](s(253)).to(i,s(279),i,s(253),e,s(318),(t,e,i)=>t&&e&&!i),r[s(261)][s(264)]({icon:_t.IconHistory,label:at(n,s(252)),tooltip:!0}),u[s(264)]({label:at(n,s(312)),withText:!0,role:s(276)}),u[s(254)](s(253)).to(i,s(279),i,s(253),e,s(318),(t,e,i)=>t&&e&&!i),u.on(s(260),()=>this[s(278)]()),h[s(264)]({label:at(n,s(277)),withText:!0,role:s(276)}),h[s(254)](s(253)).to(i,s(279),e,s(318),(t,e)=>t&&!e),h.on(s(260),()=>{const t=s;e[t(308)][t(313)](t(301))[t(266)](),r[t(294)]=!1,e[t(311)][t(265)][t(314)]()}),c[s(284)][s(307)](u),l[s(284)][s(307)](h),a[s(272)]=s(273),a[s(274)][s(259)]([c,l]),o[s(307)](a),r}),e.ui[t(275)][t(307)](t(300),()=>this[t(304)]())}[Ut(304)](){const t=Ut,e=this[t(309)],i=e[t(306)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(261)][t(264)]({icon:_t.IconHistory,label:at(i,t(252))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(264)]({label:at(i,t(312))}),o[t(256)](t(260)).to(n),o.on(t(260),()=>{this[t(278)]()}),r[t(284)][t(307)](o),s[t(274)][t(307)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(264)]({label:at(i,t(277))}),c[t(256)](t(260)).to(n),c.on(t(260),()=>{const i=t;e[i(308)][i(313)](i(301))[i(266)]()}),a[t(284)][t(307)](c),s[t(274)][t(307)](a),n[t(257)][t(284)][t(307)](s),n}[Ut(278)](){const t=Ut,e=this[t(309)],i=e[t(306)],n=e[t(290)][t(313)](t(280)),s=e[t(290)][t(313)](t(315));function r(s){const r=t;e[r(308)][r(313)](r(310))&&""===s[r(296)]?s[r(262)][r(288)]=at(i,r(286)):(e[r(290)][r(313)](mt)[r(255)]({name:s[r(296)]}),n[r(295)]())}this[t(269)]||(this[t(297)](),this[t(269)].on(t(292),()=>r(this[t(269)]))),this[t(269)][t(316)](),n[t(281)]({id:t(283),title:at(i,t(312)),isModal:!0,content:this[t(269)],actionButtons:[{label:at(e[t(306)],t(317)),withText:!0,onExecute:()=>n[t(295)]()},{label:at(e[t(306)],t(271)),class:t(267),withText:!0,onCreate(i){const n=t;i[n(254)](n(253)).to(s,n(279),s,n(253),e,n(318),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(269)])}]})}[Ut(297)](){const t=Ut,e=this[t(309)],i=e[t(306)];this[t(269)]=new Wt(i,e[t(308)][t(313)](t(310))),this[t(269)][t(285)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=376]})(t,e)}function Yt(){const t=["author","ck-revision-change__label","focus","setTemplate","name","1468qFfoDC","span","ck-revision-change__","data","isSuggestion","5086KlSkla","bindTemplate","Suggested by","461IBSrxv","Removed by","set","div","341551UiKKXr","element","changeId","ck-annotation","ck-revision-change","4529601UViTso","8149032mfxUcn","15465WsgopL","add","7419204bjEQGE","type","1802460QYAMZB","_model","Added by"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(793781===-parseInt(e(379))/1*(parseInt(e(376))/2)+parseInt(e(388))/3+parseInt(e(402))/4*(-parseInt(e(390))/5)+-parseInt(e(394))/6+parseInt(e(383))/7+parseInt(e(389))/8+parseInt(e(392))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[$t(385)];[$t(395)];constructor(t,e){const i=$t;super(t),this[i(395)]=e,this[i(385)]=e.id;const n=this[i(377)],s=at(t,e[i(405)][i(406)]?i(378):i(391)==e[i(393)]?i(396):i(380));this[i(381)](i(393),e[i(393)]),this[i(400)]({tag:i(382),attributes:{class:[i(386),i(387),n.to(i(393),t=>i(404)+t)],tabindex:-1},children:[{tag:i(403),children:[{tag:i(403),attributes:{class:[i(398)]},children:[{text:s}]},{text:" "+e[i(397)][i(401)]}]}]})}[$t(399)](){const t=$t;this[t(384)][t(399)]()}}var Jt=Xt;!function(t){for(var e=Xt,i=t();;)try{if(133699===-parseInt(e(365))/1*(parseInt(e(358))/2)+parseInt(e(366))/3*(-parseInt(e(367))/4)+parseInt(e(368))/5*(parseInt(e(364))/6)+parseInt(e(359))/7+-parseInt(e(357))/8+parseInt(e(355))/9+parseInt(e(352))/10*(parseInt(e(353))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(362)];[Jt(356)];[Jt(363)];[Jt(354)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(362)]=e[i(362)],this[i(356)]=e[i(356)],this[i(363)]=e[i(363)]||{},this[i(354)]=e[i(354)],this[i(351)](i(360),e[i(360)])}[Jt(361)](){var t=Jt;return{id:this.id,authorId:this[t(362)].id,type:this[t(356)],data:this[t(363)],createdAt:this[t(360)]}}}function Xt(t,e){var i=Qt();return(Xt=function(t,e){return i[t-=351]})(t,e)}function Qt(){var t=["176728oUkTIr","11465XfHnfW","set","60330tqDsjg","286hJVXTO","rootName","683226KoxzZv","type","328768ZiNcoH","4hlzsMk","602350spaAip","createdAt","toJSON","author","data","258vAPLbJ","77131ptYKdH","6wxSOni"];return(Qt=function(){return t})()}function te(t,e){const i=ee();return(te=function(t,e){return i[t-=150]})(t,e)}function ee(){const t=["711400PHpQIn","changes","newRevisionId","add","98622IPIpgk","737682haZKRg","36123UicNUi","oldRevisionId","_setChanges","646272ICTDWp","8jlysZe","22zIcTdO","1638035jKLilJ","70YFctGE","40GpBtzo","59880NeEYFu"];return(ee=function(){return t})()}const ie=te;!function(t){const e=te,i=t();for(;;)try{if(124062===-parseInt(e(159))/1+-parseInt(e(150))/2*(parseInt(e(161))/3)+parseInt(e(155))/4+-parseInt(e(152))/5*(-parseInt(e(154))/6)+parseInt(e(151))/7*(parseInt(e(165))/8)+parseInt(e(164))/9+-parseInt(e(153))/10*(parseInt(e(160))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[ie(157)];[ie(162)];[ie(156)];constructor(e,i){const n=ie;this[n(157)]=e,this[n(162)]=i,this[n(156)]=new t.Collection}[ie(163)](t){const e=ie;for(const i of t)this[e(156)][e(158)](i)}}var se=i(252),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=295]})(t,e)}function ce(){const t=["1806tLwSjG","insert","enqueueChange","_balloon","comment","requires","_step","next","delete","plugins","includes","isAddSuggestion","isEqual","left","bindElementToMarker","currentChangeNumber","addRevision","addMarker:revision","name","_getDiff","getItems","getAttributes","showNextChange","reconvertMarker","_processTape","createAttributeElement","59002HKlwVF","isBlock","push","resolve","loadRevisionData","writer","distance","attachChange","_markMismatchedRemovedTags","revision-viewer","change:isEnabled","getChild","findIndex","vid_start","unshift","string","span","get","revision-suggestion:","RevisionHistoryUtils","domEvent","14wUZxlD","_cleanUp","index","for","splice","createUIElement","range","change:activeView","isInline","attributesBefore","attributesAfter","ck-suggestion-marker","createPositionFromPath","indexOf","_initInteractions","markerNameToElements","nextSibling","getAttribute","isOnRoot","markerToHighlight","conversion","_markInsertions","_setConversion","selection","isAtStart","has","markerRange","change:numberOfChanges","split","maxOffset","addHighlight","ck-revision-history-root-add","forEach","4753mLlwLw","setAttribute","nextPosition","showStack","upcast","markersEnd","removeMarker:revision","removeMarker","side","detachRoot","element:pre","softBreak","getRevisionRootsAttributes","_fixObsoleteTags","isBefore","model","changeId","ck-revision-history-root-","editing","isNavigationMode","pairId","getCustomProperty","toViewElement","values","then","activeChange","return","map","find","destroy","deletion","_refreshStartEndIndex","getLaterVisibleRevision","remove","_cleanMarkers","hasClass","text","startsWith","bind","hasAttribute","getClientRects","addClass","isLimit","vid","isCollapsed","addMarker:revision-suggestion:deletion","elementStart","editingDowncast","done","pop","getRevision","revision","endIndex","from","insertions","abs","removeClass","clear","updatePosition","_makeTape","getRevisionDocumentData","_makeModelFromTape","unbindElementFromMarkerName","isEnabled","_joinTapes","end","test","diff","error","mouseover","wrap","forceDisabled","ck-suggestion-preview-marker-","editor","backward","ck-revision-history-root-remove","commands","mousedown","filter","change","startIndex","checkAttribute","revision:","activeView","bottom","markers","toViewRange","slice","isRemoveSuggestion","newRevisionId","length","isContent","object","numberOfChanges","consumable","POSITIVE_INFINITY","offsetSize","_getChangeFromId","first","ck-suggestion-marker-","_threeWayMerge","domConverter","target","item","element","changes","addMarker:revision-suggestion:insertion","isObject","compare","start","change:isReady","right","type","repository","1337526quhfuW","attributes","_findChangeIdFromDomTarget","revisionHistoryAttachChange","toViewPosition","viewItem","createRangeIn","config","ck-suggestion-marker-split","init","_setChanges","keys","catch","_removeMissingPairs","affectsData","enableReadOnlyMode","dataToMarker","forward","createPositionBefore","72QqSoPe","3942670FWuynz","isAfter","_activeViewTarget","roots","isAdded","markerName","suggestion","644304TXXDix","uiElement","shift","mapViewToDom","isRemoved","concat","change:activeChange","_utils","_revisions","all","deletions","dataDowncast","highest","flat","ck-editor__editable__overlay","elementEnd","set","ck-revision-history-root--active","addRevisionData","add","_changeView","getWalker","RevisionViewer","pluginName","isPremiumPlugin","_removeUnsupportedChanges","createRevision","revisionHistory","modelRange","_makeModelFromViewString","authors","parent","isOfficialPlugin","ck-suggestion-marker-merge","isAtEnd","suggestion:","_appendChild","schema","_getViewForChange","vid_end","top","markerToData","revision-suggestion","restoreRevision","adapter","_getRevisionsRange","3643748GrjuPk","restoreRevisionCallback","execute","_update","downcastDispatcher","getRoot","refresh","_data","revisionHistoryLabel","high","revision-comment:","removeMarker:revision-suggestion","createRange","isAttached","_changeIdToChange","rootName","attribute:vid","level","isReady","showPreviousChange","sort","merge","elementToAttribute","stop","_sortAndFilterDiffChanges","mapper","data","addRoot","1754900ChuEwp","view","consume","markersStart","-new","getIndex","oldRevisionId","userId","getDomRoot","RevisionsRepository","_setDistance","locale","data-change-id","removeAttribute","document","low","observeMarkers","getRootNames","ck-suggestion-preview-marker","_markMarkers","WidgetToolbarRepository","diffData","nodeAfter","previousPosition","ck-suggestion-marker--active","isIncorrect","isSuggestion","listenTo","_markSuggestions","insertion","code"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(460184===-parseInt(e(350))/1*(-parseInt(e(371))/2)+-parseInt(e(518))/3+-parseInt(e(591))/4+parseInt(e(538))/5+parseInt(e(324))/6*(-parseInt(e(404))/7)+parseInt(e(545))/8*(parseInt(e(537))/9)+parseInt(e(619))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends J.Plugin{[oe(517)];[oe(589)]=null;[oe(552)];[oe(540)];[oe(565)];[oe(605)];[oe(327)];static get[oe(568)](){return oe(567)}static get[oe(577)](){return!0}static get[oe(569)](){return!0}static get[oe(329)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(517)]=this[e(477)][e(333)][e(367)](e(302)),this[e(552)]=this[e(477)][e(333)][e(367)](e(369)),this[e(561)](e(429),null),this[e(561)](e(487),null),this[e(540)]=null,this[e(561)](e(471),null),this[e(561)](e(609),!1),this[e(561)](e(467),!0),this.on(e(360),(t,i,n)=>{const s=e;this[s(429)]=null,this[s(487)]=null,this[s(477)][s(422)][s(620)][s(483)](t=>{const e=s;for(const i of this[e(477)][e(422)][e(620)][e(307)][e(541)])n?t[e(460)](e(559),i):t[e(445)](e(559),i)})}),this[e(442)](e(423)).to(this,e(429),t=>null!==t),this[e(442)](e(339)).to(this,e(609),this,e(471),this,e(429),(t,i,n)=>t&&n?i[e(509)][e(298)](n):0),this[e(442)](e(497)).to(this,e(609),this,e(471),(t,i)=>t?i[e(509)][e(494)]:0),this[e(565)]=null,this[e(605)]=new Map,this[e(327)]=this[e(477)][e(333)][e(367)](It.ContextualBalloon)}[oe(527)](){const t=oe,e=this[t(477)],i=new de(e,{direction:t(478)}),n=new de(e,{direction:t(535)});e[t(480)][t(564)](t(610),i),e[t(480)][t(564)](t(346),n),e[t(480)][t(564)](t(588),new he(e)),this.on(t(398),()=>{const e=t;i[e(597)](),n[e(597)]()}),this[t(393)](),this[t(385)](),e[t(533)](t(359)),e[t(333)][t(396)](t(313))&&e[t(333)][t(367)](t(313))[t(475)](t(359))}async[oe(464)](t){const e=oe;return await this[e(552)][e(354)](t,this[e(589)]),this[e(552)][e(464)](t)}async[oe(416)](t){const e=oe;return await this[e(552)][e(354)](t,this[e(589)]),this[e(552)][e(416)](t)}async[oe(512)](t,e,i=!1){const n=oe;if(!this[n(467)])return;const s=this[n(471)],r=this[n(517)],o=n(365)==typeof t?r[n(454)](t):t,a=n(365)==typeof e?r[n(454)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(471)]&&this[n(471)][n(493)]===c&&this[n(471)][n(299)]===u)return Promise[n(353)]();this[n(609)]=!1,this[n(487)]=null,this[n(429)]=null,this[n(471)]=new ne(c,u);const l=this[n(590)](o,a,!0)[n(431)](t=>this[n(552)][n(354)](t,this[n(589)]));return l[n(352)](new Promise(t=>{setTimeout(t,20)})),Promise[n(554)](l)[n(428)](()=>{const t=n;if(!this[t(467)])return;this[t(372)]();const e=this[t(343)](c,u);for(const i of e[t(509)])this[t(605)][t(561)](i.id,i);this[t(477)][t(419)][t(326)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(477)][n(419)][n(307)][n(310)]())i[n(413)](t);for(const t of Object[n(529)](e[n(419)])){const s=i[n(618)](t);for(const r of Object[n(529)](e[n(519)][t]))i[n(405)](r,e[n(519)][t][r],s);i[n(325)](e[n(419)][t],s,0)}}),this[t(471)][t(528)](this[t(615)](e[t(509)])),this[t(609)]=!0})[n(530)](t=>{const e=n;console[e(472)](t),this[e(372)](),s&&(this[e(471)]=s),this[e(609)]=!0})}[oe(563)](t,e){const i=oe,n=this[i(517)][i(571)](t);return n.on(i(594),(t,i,s)=>e(i,s,n)),this[i(517)][i(340)](n),n}[oe(372)](){const t=oe;this[t(429)]=null,this[t(438)](),this[t(565)]&&this[t(565)][t(433)](),this[t(565)]=null,this[t(605)][t(461)](),this[t(477)][t(419)][t(326)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(477)][i(419)][i(307)][i(310)]())e[i(413)](t)})}[oe(615)](t){const e=oe,i=[],n=new Map;for(const t of this[e(477)][e(419)][e(307)][e(310)]()){const s=this[e(477)][e(422)][e(620)][e(301)](t);if(!s)continue;const r=s[e(444)]()[e(507)](0);r&&(i[e(352)](t),n[e(561)](t,r))}return i[e(611)]((t,i)=>{const s=e,r=n[s(367)](t),o=n[s(367)](i);return r.y-o.y||r.x-o.x}),(t=t[e(482)](t=>i[e(334)](t[e(606)])))[e(611)]((t,n)=>i[e(384)](t[e(606)])-i[e(384)](n[e(606)])),t}[oe(463)](t){const e=oe,i=Array[e(457)](t[e(489)])[e(482)](([t,i])=>t[e(441)](e(486))&&!i[e(448)]),n=Array[e(457)](this[e(477)][e(419)][e(524)](t)[e(566)]({singleCharacters:!0}));if(0!=i[e(494)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(399)](":");if(s[e(469)][e(336)](t[e(406)])&&i[e(547)](),(t[e(316)][e(336)](s[e(513)])||t[e(316)][e(539)](s[e(513)]))&&(e(322)==r?t[e(542)]={userId:o}:e(434)==r&&(t[e(549)]={userId:o})),0==i[e(494)])break}return n}[oe(435)](t){const e=oe,i=new Map;for(let n=0;n<t[e(494)];n++)e(440)===t[n][e(516)]?(t[n][e(507)][e(484)]=n,t[n][e(507)][e(456)]=n):(e(450)===t[n][e(516)]?t[n][e(507)][e(484)]=n:e(560)===t[n][e(516)]&&(t[n][e(507)][e(456)]=n),i[e(561)](t[n].id,n));for(const n of i[e(427)]())e(450)===t[n][e(516)]?t[n][e(507)][e(456)]=i[e(367)](t[n][e(424)]):e(560)===t[n][e(516)]&&(t[n][e(507)][e(484)]=i[e(367)](t[n][e(424)]))}[oe(348)](t){const e=oe;for(let i=0;i<t[e(494)];i++){if(e(450)===t[i][e(516)])t[i][e(507)][e(484)]=i;else if(e(560)===t[i][e(516)]){t[i][e(507)][e(456)]=i;const n=t[i][e(507)][e(484)];t[n][e(424)]=t[i].id,t[i][e(424)]=t[n].id}else t[i][e(507)][e(484)]=i,t[i][e(507)][e(456)]=i,t[i][e(424)]=null;t[i][e(296)]||(t[i][e(296)]=[],t[i][e(409)]=[])}}[oe(392)](t,e){const i=oe,n=t[i(482)](t=>!t[i(542)]);for(let t=0;t<e[i(494)];t++)e[t][i(542)]&&(n[t][i(542)]=e[t][i(542)])}[oe(343)](t,e=null){const i=oe,n=this[i(517)][i(454)](t),s=e?this[i(517)][i(454)](e):null,r=this[i(590)](n,s),o=r[r[i(494)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(494)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(529)](e[i(314)]))if(e[i(314)][t][i(357)]){const n=e[i(314)][t][i(357)];n[i(604)]?(u[i(564)](t),l[i(396)](t)&&l[i(367)](t)[i(300)]==n[i(300)]?l[i(332)](t):l[i(561)](t,n)):l[i(396)](t)?(u[i(332)](t),l[i(332)](t)):(u[i(564)](t),l[i(561)](t,n))}else u[i(564)](t)}for(const t of u){const e=l[i(396)](t)&&!l[i(367)](t)[i(604)];let n=e?r[i(494)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(314)][t]){const n=e?o[i(314)][t][i(380)]:o[i(314)][t][i(381)];c[i(519)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(419)]={};for(const e of t[i(575)])a[i(561)](e.id,e);for(const e of u){const n=t[i(314)][e]?t[i(314)][e][i(458)]:"[]",s=t[i(314)][e]?t[i(314)][e][i(555)]:"[]";t[i(419)][e]={insertions:this[i(552)][i(574)](n),deletions:this[i(552)][i(574)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(457)](n[i(419)][t][i(458)][i(489)])[i(482)](([t])=>!t[i(441)](i(486))));let h=0;for(const o of r){const r=this[i(463)](o[i(419)][t][i(458)]);o==n?(e=r,s=e[i(494)],e[i(403)](t=>{t.id=h++}),this[i(348)](e)):this[i(392)](e,r);const a=e[i(482)](t=>!t[i(542)])[i(431)](t=>t.id);let c=0;const l=this[i(463)](o[i(419)][t][i(555)]);l[i(403)](t=>{t[i(549)]?t.id=s++:t.id=a[c++]}),this[i(348)](l),this[i(303)](e,i(542)),this[i(303)](l,i(549)),o==n&&this[i(312)](e,u),e=this[i(468)](e,l),this[i(435)](e),this[i(303)](e,i(549))}e=e[i(482)](t=>!(t[i(542)]&&t[i(549)]));const d=new Map(o[i(419)][t][i(555)][i(489)]),f=new Set(u[i(529)]());for(const t of d[i(529)]())f[i(332)](t);this[i(321)](e,f),this[i(417)](e),e=this[i(531)](e),e=this[i(358)](e),e=this[i(570)](e);const{root:m,changes:p}=this[i(465)](e,a,t);c[i(419)][t]=m;const v=l[i(367)](t);if(v){const e=a[i(367)](v[i(300)]),n=new Kt({author:e,type:v[i(604)]?i(564):i(437),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(364)](n),c[i(519)][t][i(521)]=n.id}c[i(509)]=c[i(509)][i(550)](p)}return c}[oe(312)](t,e){const i=oe;for(let n=0;n<t[i(494)];n++)for(const[s,r]of e)!r[i(448)]&&r[i(513)][i(336)](t[n][i(316)])&&t[n][i(296)][i(352)](s),r[i(469)][i(336)](t[n][i(406)])&&t[n][i(409)][i(352)](s)}[oe(468)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(494)]||r<e[i(494)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(352)](o);else if(a[i(549)]&&o[i(542)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(504)](t,s,e,r);n=n[i(550)](o),s=a,r=c}else a[i(549)]?(r++,n[i(352)](a)):(s++,n[i(352)](o))}return n}[oe(321)](t,e){const i=oe,n=[];for(let o=0;o<t[i(494)];o++){for(let r=0;r<t[o][i(296)][i(494)];r++){const a=t[o][i(296)][r];if(!e[i(396)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(587)!=c||i(322)!=u&&i(434)!=u||(n[i(364)]({type:u,name:a,userId:l}),t[o][i(296)][i(375)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(409)][i(494)];r++){const a=t[o][i(409)][r];if(!e[i(396)](a))continue;const{group:c,type:u}=s(a);if(i(587)!=c||i(322)!=u&&i(434)!=u)continue;t[o][i(409)][i(375)](r,1),r--;const l=n[i(362)](t=>t[i(342)]==a);l>-1&&n[i(375)](l,1)}}function s(t){const e=i,n=t[e(399)](":");return{group:n[0],type:n[1],subType:n[e(494)]>=5?n[2]:null,id:n[e(494)]<5?n[2]:n[3],authorId:n[e(494)]<5?n[3]:n[4],markerCount:6==n[e(494)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(494)];i++){if(t[e(542)]&&e(322)==n[i][e(516)]&&t[e(542)][e(300)]==n[i][e(300)])return t[e(335)]=n[i],void delete t[e(542)];if(!t[e(542)]&&!t[e(549)]&&e(434)==n[i][e(516)])return void(t[e(492)]=n[i])}}}[oe(303)](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(561)](o.id,n);for(let n=0;n<t[i(494)];n++){if(i(549)==e&&t[n][i(542)]||i(542)==e&&t[n][i(549)])continue;if(i(440)==t[n][i(516)]){t[n][i(356)]=0;continue}const s=r[i(367)](t[n][i(424)]),o=r[i(367)](t[n].id);t[n][i(356)]=s-o}}[oe(590)](t,e,i=!1){const n=oe,s=[];let r=this[n(517)][n(298)](t),o=this[n(517)][n(298)](e);for(-1==o&&(o=this[n(517)][n(553)][n(494)],i=!1);r<o;)s[n(352)](this[n(517)][n(454)](r)),r++;return i&&s[n(352)](this[n(517)][n(454)](r)),s}[oe(504)](t,e,i,n){const s=oe,r=this[s(477)][s(419)][s(582)];let o=e;for(;t[o]&&t[o][s(542)];)o++;let a=n;for(;i[a]&&i[a][s(549)];)a++;u(t,e,o),u(i,n,a);const c=i[s(491)](n,a)[s(550)](t[s(491)](e,o));return c[s(611)]((t,e)=>t[s(412)]!=e[s(412)]?t[s(412)]-e[s(412)]:t[s(608)]!=e[s(608)]?t[s(608)]-e[s(608)]:t[s(356)]!=e[s(356)]?e[s(356)]-t[s(356)]:!!t[s(542)]!=!!e[s(542)]?-1==t[s(412)]||0==t[s(412)]?t[s(542)]?-1:1:t[s(542)]?1:-1:t[s(373)]-e[s(373)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(499)],c=!0;for(let s=e;s<i;s++)if(r[n(379)](t[s][n(507)])||(c=!1),t[s][n(507)][n(484)]<e&&(o=s),t[s][n(507)][n(456)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(412)]=s<=o?-1:s<a?0:1,t[s][n(373)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(356)]?t[i][n(608)]=u:(u++,t[i][n(608)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(412)]&&(t[s][n(608)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(356)]?t[e][n(608)]=u:(u--,t[e][n(608)]=u,u--)}}[oe(417)](t){const e=oe,i=new Map,n=this[e(477)][e(419)][e(582)];for(let s=1;s<t[e(494)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(440)==c[e(516)])continue;if(c[e(516)]!=u[e(516)])continue;if(!n[e(351)](u[e(507)])||n[e(446)](u[e(507)]))continue;if(!n[e(351)](c[e(507)])||n[e(446)](c[e(507)]))continue;if((t[s][e(542)]||t[s][e(335)])&&t[s-1][e(549)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(549)]||!t[s-1][e(542)]&&!t[s-1][e(335)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(608)]==o[e(608)],h=Math[e(459)](r[e(608)])<Math[e(459)](o[e(608)])&&0==o[e(356)];(l||h)&&(i[e(561)](o.id,r.id),t[e(375)](a,1),s--,r[e(542)]=!1)}for(let n=0;n<t[e(494)];n++)i[e(396)](t[n][e(424)])&&(t[n][e(424)]=i[e(367)](t[n][e(424)]))}[oe(531)](t){const e=oe,i=new Set(t[e(431)](t=>t.id));for(let n=0;n<t[e(494)];n++)i[e(396)](t[n][e(424)])||0==t[n][e(356)]||(t[n][e(318)]=!0);return t[e(482)](t=>!t[e(318)])}[oe(358)](t){const e=oe,i=new Set;for(let n=0;n<t[e(494)];n++){if(i[e(396)](t[n].id)&&t[n][e(549)]&&(t[n][e(318)]=!0),t[n][e(318)])continue;if(0==t[n][e(356)])continue;if(e(450)!=t[n][e(516)])continue;if(null==t[n][e(424)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(424)];)e(450)==t[s][e(516)]?r++:e(560)==t[s][e(516)]&&r--,s++;if(0!=r)if(t[n][e(549)])t[n][e(318)]=!0;else for(;s!=n;)t[s][e(549)]&&0!=t[s][e(356)]&&(t[s][e(318)]=!0,i[e(564)](t[s][e(424)])),s--}return t[e(482)](t=>!t[e(318)])}[oe(570)](t){const e=oe,i=this[e(477)][e(419)][e(582)];for(let n=0;n<t[e(494)];n++){if(!(t[n][e(542)]||t[n][e(335)]||t[n][e(549)]||t[n][e(492)]))continue;if(0==t[n][e(356)])continue;const s=t[n][e(507)];i[e(351)](s)||i[e(446)](s)||(t[n][e(542)]&&delete t[n][e(542)],t[n][e(335)]&&delete t[n][e(335)],t[n][e(492)]&&delete t[n][e(492)],t[n][e(549)]&&(t[n][e(318)]=!0))}return t[e(482)](t=>!t[e(318)])}[oe(465)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(477)][n(419)],c=a[n(582)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(494)];e++)if(n(450)===t[e][n(516)]){t[e][n(316)]=a[n(383)](s,f);const i=new X.ModelElement(t[e][n(507)][n(342)],t[e][n(507)][n(345)]());u[0][n(581)](i),f[n(352)](0),u[n(364)](i),t[e][n(406)]=a[n(383)](s,f)}else n(560)===t[e][n(516)]?(u[n(547)](),t[e][n(316)]=a[n(383)](s,f),f[n(453)](),f[f[n(494)]-1]++,t[e][n(406)]=a[n(383)](s,f)):(t[e][n(316)]=a[n(383)](s,f),d?d[n(598)]+=t[e][n(507)][n(617)]:d=new X.ModelText(t[e][n(507)][n(617)],t[e][n(507)][n(345)]()),t[e+1]&&n(440)===t[e+1][n(516)]&&v(d,t[e+1][n(507)])||(u[0][n(581)](d),d=null),f[f[n(494)]-1]+=t[e][n(507)][n(500)],t[e][n(406)]=a[n(383)](s,f));for(let e=0;e<t[n(494)];e++){const i=t[e][n(316)],s=t[e][n(406)];for(const s of t[e][n(296)])o[n(561)](s,{start:i,end:null});m(n(492),e,i,s),m(n(335),e,i,s),m(n(549),e,i,s),m(n(542),e,i,s);for(const i of t[e][n(409)]){const t=o[n(367)](i);t?t[n(469)]=s:o[n(561)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(477)][n(419)][n(603)](e[n(513)],e[n(469)]);s[n(489)][n(561)](t,i)}return r[n(611)]((t,e)=>{const i=n,r=s[i(489)][i(367)](i(486)+t.id),o=s[i(489)][i(367)](i(486)+e.id);return r[i(513)][i(418)](o[i(513)])?-1:r[i(513)][i(539)](o[i(513)])?1:r[i(469)][i(418)](o[i(469)])?-1:r[i(469)][i(539)](o[i(469)])?1:i(564)===t[i(516)]?-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(300)]:null,d=i===t[o(494)]-1,f=h[e][0],m=c[o(511)](t[i][o(507)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(469)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(300)]!==u&&(l[e][o(469)]=s,f&&f[o(300)]===l[e][o(300)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(450)!==t[i][o(516)]||f&&f[o(300)]===u||h[e][o(364)]({userId:u,object:t[i][o(507)],change:l[e]}),o(560)===t[i][o(516)]&&f&&f[o(496)]===t[i][o(507)]&&(h[e][o(547)](),l[e]=f[o(483)])),l[e]&&d&&(l[e][o(469)]=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(507)],f=a[h(582)][h(351)](d)&&!a[h(582)][h(446)](d),m=t[h(315)]==o[h(576)]&&o[h(395)];if(f&&m)return;const p=a[h(603)](t,o),v=e[h(367)](u),g=new Kt({author:v,type:h(542)==l||h(335)==l?h(564):h(437),data:{isSuggestion:h(335)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(352)](g),s[h(489)][h(561)](h(486)+g.id,p)}function v(t,e){const i=n,s=t[i(345)](),r=e[i(345)]();for(const t of s){if(t[1]!==e[i(388)](t[0]))return!1;r[i(331)]()}return r[i(331)]()[i(452)]}}[oe(393)](){const t=oe;this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(455)}),this[t(477)][t(391)][t(374)](t(451))[t(390)]({model:t(455),view:e=>{const i=t,n=e[i(543)][i(399)](":")[1],s=this[i(501)](n);if(!s)return null;const r=i(564)==s[i(516)]?i(322):i(434),o=[i(382),i(503)+r];return s[i(617)][i(319)]&&o[i(352)](i(503)+r+i(297)),this[i(429)]==s&&o[i(352)](i(317)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(477)][t(391)][t(374)](t(408))[t(564)](e=>{const i=t;e.on(i(414),(t,e,n)=>{const s=i,r=e[s(523)][s(361)](0);if(!r||!r.is(s(508),s(323)))return;if(!n[s(498)][s(295)](r,{attributes:[s(363),s(584)]}))return;const o=e[s(573)][s(513)][s(315)];n[s(355)][s(405)](s(363),r[s(388)](s(363)),o),n[s(355)][s(405)](s(584),r[s(388)](s(584)),o)},{priority:i(308)})}),this[t(477)][t(391)][t(374)](t(408))[t(564)](e=>{const i=t;e.on(i(508),(t,e,n)=>{const s=i;if(!n[s(498)][s(295)](e[s(523)],{attributes:[s(363),s(584)]}))return;if(e[s(573)][s(448)])return;const r=e[s(573)][s(513)][s(315)];r[s(443)](s(363))||r[s(443)](s(447))||(n[s(355)][s(405)](s(363),e[s(523)][s(388)](s(363)),r),n[s(355)][s(405)](s(584),e[s(523)][s(388)](s(584)),r))},{priority:i(308)})}),this[t(477)][t(391)][t(374)](t(408))[t(613)]({view:{name:t(366),attributes:{vid:!0}},model:{key:t(447),value:e=>e[t(388)](t(447))}}),this[t(477)][t(419)][t(582)].on(t(485),(e,[,i])=>{const n=t;[n(363),n(584),n(447)][n(334)](i)&&(e[n(430)]=!0,e[n(614)]())},{priority:t(557)}),this[t(477)][t(391)][t(374)](t(556))[t(564)](e=>{const i=t;e.on(i(607),(t,e,n)=>{const s=i;if(" "!=e[s(507)][s(617)]||e[s(507)][s(576)][s(400)]>1)return;if(!n[s(498)][s(295)](e[s(507)],t[s(342)]))return;const r=n[s(355)],o=n[s(616)][s(490)](e[s(377)]);r[s(474)](o,r[s(349)](s(366)))})}),this[t(477)][t(391)][t(374)](t(556))[t(586)]({model:t(455)}),this[t(477)][t(422)][t(595)].on(t(341),function(e){const i=t,n=e[i(333)][i(367)](i(567));return(t,s,r)=>{const o=i,a=s[o(543)][o(399)](":")[1],c=n[o(501)](a);if(!c)return null;const u=o(564)==c[o(516)]?o(399):o(612);if(!r[o(498)][o(470)](s[o(397)],t[o(342)]))return;const l=s[o(397)][o(566)](),h=s[o(397)][o(513)],d=e[o(419)][o(582)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(507)];p=p||d[o(495)](e);const i=r[o(616)][o(426)](e);if(i&&i[o(425)](o(401)))return;o(560)==t[o(516)]&&d[o(351)](e)&&!d[o(446)](e)&&(e[o(387)]||h[o(579)]?f&&f[o(576)]==e||(f=e,g(t[o(316)]),v=!0):m=m||t[o(316)])}function g(t){const e=o,i=r[e(355)][e(376)](e(366),{class:e(503)+u}),a=r[e(616)][e(522)](t);c[e(617)][e(319)]&&r[e(355)][e(445)](e(503)+u+e(297),i),n[e(429)]==c&&r[e(355)][e(445)](e(317),i),r[e(355)][e(325)](a,i),r[e(616)][e(338)](i,s[e(543)])}p||v||!m||g(m)}}(this[t(477)]),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(410),(e,i,n)=>{const s=t,r=n[s(616)][s(386)](i[s(543)]);if(r)for(const t of r)(t[s(439)](s(526))||t[s(439)](s(578)))&&(n[s(616)][s(466)](t,i[s(543)]),n[s(355)][s(437)](t))},{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(341),(e,i,n)=>{const s=t,r=i[s(543)][s(399)](":")[1],o=this[s(501)](r);if(!o)return null;const a=s(564)==o[s(516)]?s(399):s(612);if(n[s(498)][s(470)](i[s(397)],e[s(342)]))for(const t of i[s(397)][s(344)]()){if(!t.is(s(508),s(415)))continue;const e=n[s(355)][s(376)](s(366),{class:s(503)+a}),r=n[s(616)][s(522)](this[s(477)][s(419)][s(536)](t));o[s(617)][s(319)]&&n[s(355)][s(445)](s(503)+a+s(297),e),this[s(429)]==o&&n[s(355)][s(445)](s(317),e),n[s(355)][s(325)](r,e),n[s(616)][s(338)](e,i[s(543)])}},{priority:t(600)}),this[t(477)][t(419)][t(307)].on(t(483),()=>{const e=t;this[e(477)][e(422)][e(620)][e(483)](t=>{const i=e;for(const e of this[i(477)][i(419)][i(307)][i(310)]()){const n=this[i(477)][i(419)][i(307)][i(596)](e),s=this[i(477)][i(422)][i(620)][i(307)][i(596)](e);if(s){const e=n[i(388)](i(521));if(t[i(306)](i(305),s),t[i(460)](i(402),s),t[i(460)](i(479),s),t[i(460)](i(562),s),e){const n=this[i(501)](e);if(!n)return null;t[i(405)](i(305),e,s),t[i(445)](i(421)+n[i(516)],s),this[i(429)]==n&&t[i(445)](i(562),s)}}}})}),this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(328),model:e=>t(601)+e,converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(408))[t(534)]({view:t(544),model:e=>t(368)+e,converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(556))[t(586)]({model:t(587),view:e=>({name:t(580)+e,group:t(587)}),converterPriority:t(557)}),this[t(477)][t(391)][t(374)](t(451))[t(390)]({model:t(587),view:e=>{const i=t,n=e[i(543)][i(399)](":")[1];return i(322)!=n&&i(434)!=n?null:{classes:[i(311),i(476)+n]}}}),this[t(477)][t(422)][t(595)].on(t(449),le(this[t(477)],t(612)),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(510),le(this[t(477)],t(399)),{priority:t(600)}),this[t(477)][t(422)][t(595)].on(t(602),(e,i,n)=>{const s=t,r=n[s(616)][s(386)](i[s(543)]);if(r)for(const t of r)t.is(s(546))&&(n[s(616)][s(466)](t,i[s(543)]),n[s(355)][s(437)](t))},{priority:t(600)})}[oe(501)](t){const e=oe;return this[e(605)][e(367)](t)}[oe(583)](t){const e=oe;return this[e(565)]&&this[e(565)][e(433)](),this[e(565)]=new Gt(this[e(477)][e(304)],t),this[e(565)]}[oe(385)](){const t=oe;this[t(477)][t(419)][t(307)][t(394)][t(309)](t(455)),this.on(t(378),(e,i,n,s)=>{const r=t;s&&this[r(327)][r(437)](s),n&&(this[r(327)][r(564)]({view:n,stackId:r(599),position:{target:()=>{const t=r,e=this[t(477)][t(422)],i=this[t(501)](n[t(420)]);let s;if(i[t(617)][t(389)]){const n=e[t(620)][t(301)](i[t(606)]);s=Array[t(457)](n[t(444)]())}else{const i=this[t(477)][t(419)][t(489)][t(367)](t(486)+n[t(420)]);s=Array[t(457)](e[t(616)][t(386)](i[t(342)]))[t(431)](i=>e[t(620)][t(505)][t(548)](i))[t(431)](e=>Array[t(457)](e[t(444)]()))[t(558)]()}return this[t(540)]&&s[t(432)](e=>e[t(585)]-3<=this[t(540)].y&&e[t(488)]+3>=this[t(540)].y&&e[t(337)]-3<=this[t(540)].x&&e[t(515)]+3>=this[t(540)].x)||s[0]}}}),this[r(327)][r(407)](r(599)))}),this.on(t(551),(e,i,n,s)=>{const r=t;this[r(487)]=n?this[r(583)](n):null,this[r(477)][r(419)][r(483)](()=>{const t=r,e=this[t(477)][t(422)];s&&(s[t(617)][t(389)]?e[t(620)][t(483)](i=>{const n=t;i[n(460)](n(562),e[n(620)][n(307)][n(596)](s[n(606)]))}):e[t(347)](t(486)+s.id)),n&&(n[t(617)][t(389)]?e[t(620)][t(483)](i=>{const s=t;i[s(445)](s(562),e[s(620)][s(307)][s(596)](n[s(606)]))}):e[t(347)](t(486)+n.id))})}),this[t(320)](this[t(477)][t(422)][t(620)][t(307)],t(473),(e,i)=>{const n=t;if(this[n(429)])return;const s=this[n(520)](i[n(506)]),r=this[n(605)][n(367)](s);r?(this[n(540)]={x:i[n(370)].x,y:i[n(370)].y},this[n(487)]=this[n(583)](r)):(this[n(540)]=null,this[n(487)]=null)}),this[t(320)](this[t(477)][t(422)][t(620)][t(307)],t(481),(e,i)=>{const n=t,s=this[n(520)](i[n(506)]),r=this[n(605)][n(367)](s);r?(this[n(540)]={x:i[n(370)].x,y:i[n(370)].y},r===this[n(429)]?this[n(327)][n(462)]():this[n(429)]=r):(this[n(540)]=null,this[n(429)]=null)})}[oe(520)](t){const e=oe;do{const i=t[e(388)](e(305));if(i)return i;t=t[e(576)]}while(t);return null}[oe(438)](){const t=oe;this[t(477)][t(419)][t(483)](e=>{const i=t;for(const t of this[i(477)][i(419)][i(489)])e[i(411)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(498)][r(470)](n[r(397)],i[r(342)]))return;const o=n[r(397)][r(566)](),a=n[r(397)][r(513)],c=t[r(419)][r(582)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(507)];h=h||c[r(495)](e);const i=s[r(616)][r(426)](e);if(i&&i[r(425)](r(401)))return;r(560)==t[r(516)]&&c[r(351)](e)&&!c[r(446)](e)&&(e[r(387)]||a[r(579)]?u&&u[r(576)]==e||(u=e,f(t[r(316)]),d=!0):l=l||t[r(316)])}function f(t){const i=r,o=s[i(616)][i(522)](t),a=s[i(355)][i(376)](i(366),{class:i(476)+e});s[i(355)][i(325)](o,a),s[i(616)][i(338)](a,n[i(543)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(333)][e(367)](ue);this[e(532)]=!1,this[e(320)](i,e(514),()=>this[e(597)]()),this[e(320)](i,e(360),()=>this[e(597)]())}[oe(593)](){const t=oe,e=this[t(477)],i=e[t(333)][t(367)](ue),n=i[t(609)]?i[t(471)][t(493)]:null;e[t(525)][t(367)](t(572))[t(592)](n)}[oe(597)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(477)][t(333)][t(367)](ue),r=s&&n[t(436)](s[t(493)]);this[t(467)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(330)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(333)][i(367)](ue);this[i(532)]=!1,this[i(330)]=i(535)===e?1:-1,this[i(320)](n,i(514),()=>this[i(597)]()),this[i(320)](n,i(360),()=>this[i(597)]()),this[i(320)](n,i(551),()=>this[i(597)]())}[oe(593)](){const e=oe,i=this[e(477)],n=i[e(333)][e(367)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(429)]=s?n[e(471)][e(509)][e(367)](r+this[e(330)]):n[e(471)][e(509)][e(502)],n[e(429)][e(617)][e(389)])o=i[e(422)][e(620)][e(301)](n[e(429)][e(606)]);else{const t=i[e(419)][e(489)][e(367)](e(486)+n[e(429)].id);o=(0,K.getMarkerDomElement)(i[e(422)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(597)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(477)][t(333)][t(367)](ue);this[t(467)]=!!(r&&s&&n)&&(!e||(1===this[t(330)]?i<n-1:i>0))}}var fe=i(660),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["1813584XEYQiZ","numberOfChanges","isReady","248111SCkTrN","5866952CNfmsA","fire","_isStatusLabelVisible","ck-hidden","bindTemplate","_statusText","ck-revision-history-ui__changes-navigation__navigation","backward","currentChangeNumber","Show next change","Loading...","5921706yKpjfL","NUMBER_OF_CHANGES","set","setTemplate","div","Total","isBackwardNavigationEnabled","forward","No changes","EDIT_X_OF_Y_REVISIONS","404510cSEYtX","132115WjsCyB","92YmmrlA","ck-revision-history-ui","Show previous change","1260804nGrTbm","ck-revision-history-ui__changes-navigation__label","execute","bind","isEnabled","isNavigationMode","X_OF_Y_CHANGES","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__wrapper","span"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=434]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(448152===parseInt(e(456))/1+parseInt(e(437))/2+-parseInt(e(442))/3+parseInt(e(439))/4*(parseInt(e(438))/5)+-parseInt(e(453))/6+parseInt(e(468))/7+-parseInt(e(457))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(461)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(470)](e(447),!1),this[e(470)](e(455),!1),this[e(470)](e(465),0),this[e(470)](e(454),0),this[e(470)](e(449),!1),this[e(470)](e(474),!1),this[e(445)](e(459)).to(this,e(455),this,e(454),(t,e)=>t&&e>0),this[e(445)](e(462)).to(this,e(455),this,e(465),this,e(454),this,e(447),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(467));if(!s)return at(t,o(435));const a=at(t,o(469),s);return r?at(t,o(448),[n+1,s]):a}),n[e(470)]({label:at(t,e(441)),tooltip:!0,icon:_t.IconChevronUp}),s[e(470)]({label:at(t,e(466)),tooltip:!0,icon:_t.IconChevronDown}),n[e(445)](e(446)).to(this,e(474)),s[e(445)](e(446)).to(this,e(449)),n.on(e(444),()=>this[e(458)](e(444),e(464))),s.on(e(444),()=>this[e(458)](e(444),e(434))),this[e(471)]({tag:e(472),attributes:{class:["ck",e(440),e(450)]},children:[{tag:e(452),attributes:{class:[e(451)]},children:[{tag:e(452),attributes:{class:[e(443),i.if(e(459),e(460),t=>!t)]},children:[{text:i.to(e(447),i=>i?at(t,e(436))+": ":at(t,e(473))+": ")}]},{text:i.to(e(462))}]},new It.ToolbarSeparatorView,{tag:e(472),attributes:{class:[e(463)]},children:[n,s]}]})}}var ye=i(668),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=Ie;function we(){const t=["editing","pluginName","1109201KLXkVA","ck-editor__editable__loading-overlay","addClass","show","5949695xGIPEP","912950ETAjjy","isPremiumPlugin","isOfficialPlugin","5235952saJyMW","3DTzxSe","hide","3503484zAZvhS","removeClass","RevisionViewerLoadingOverlay","change","document","181496PLlFbU","view","editor","320BFdnHT","roots","25373538xXEScE"];return(we=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(792115===parseInt(e(247))/1+parseInt(e(252))/2+parseInt(e(256))/3*(parseInt(e(255))/4)+parseInt(e(251))/5+parseInt(e(258))/6+parseInt(e(263))/7*(-parseInt(e(242))/8)+-parseInt(e(244))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=be(248);function Ie(t,e){const i=we();return(Ie=function(t,e){return i[t-=241]})(t,e)}class Se extends J.Plugin{static get[be(246)](){return be(260)}static get[be(254)](){return!0}static get[be(253)](){return!0}[be(250)](){const t=be,e=this[t(241)][t(245)][t(264)];e[t(261)](i=>{const n=t;for(const t of e[n(262)][n(243)])i[n(249)](_e,t)})}[be(257)](){const t=be,e=this[t(241)][t(245)][t(264)];e[t(261)](i=>{const n=t;for(const t of e[n(262)][n(243)])i[n(259)](_e,t)})}}const Oe=xe;function Te(){const t=["currentChangeNumber","get","1481388hSqRwR","change:isReady","isReady","Back to editing","345017rSGxjo","editor","set","forward","76440dvpnpX","pluginName","listenTo","189kgmIuh","showPreviousChange","isForwardNavigationEnabled","componentFactory","numberOfChanges","1341faFwjN","18590ClOyxT","isEnabled","2475FlYVDq","isBackwardNavigationEnabled","isOfficialPlugin","closeRevisionViewerCallback","hide","RevisionViewerUI","plugins","revisionHistory","restoreRevision","show","execute","showNextChange","Restore this revision","exitToEditing","changesNavigation","config","bind","requires","ck-revision-history-ui__back-to-editing","isPremiumPlugin","isNavigationMode","add","7000CUdOZe","init","commands","8478nRnoxn","5110948GkdZFk"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=239]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(746093===-parseInt(e(245))/1+parseInt(e(241))/2+parseInt(e(249))/3+parseInt(e(286))/4+parseInt(e(260))/5*(-parseInt(e(285))/6)+parseInt(e(252))/7*(parseInt(e(282))/8)+-parseInt(e(257))/9*(parseInt(e(258))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(250)](){return Oe(265)}static get[Oe(262)](){return!0}static get[Oe(279)](){return!0}static get[Oe(277)](){return[ue,Se]}[Oe(283)](){const t=Oe,e=this[t(246)],i=e[t(266)][t(240)](ue),n=e[t(266)][t(240)](Se);e.ui[t(255)][t(281)](t(273),i=>{const n=t,s=new It.ButtonView(i);return s[n(247)]({label:at(i,n(244)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(278)}),this[n(251)](s,n(270),()=>{const t=n;e[t(275)][t(240)](t(267))[t(263)]()}),s}),e.ui[t(255)][t(281)](t(268),i=>{const n=t,s=new It.ButtonView(i);return s[n(247)]({label:at(i,n(272)),withText:!0,tooltip:!0}),s[n(276)](n(259)).to(e[n(284)][n(240)](n(268))),this[n(251)](s,n(270),()=>e[n(270)](n(268))),s}),e.ui[t(255)][t(281)](t(274),n=>{const s=t,r=new ge(n),o=e[s(284)][s(240)](s(253)),a=e[s(284)][s(240)](s(271));return r[s(276)](s(261)).to(o,s(259)),r[s(276)](s(254)).to(a,s(259)),r[s(276)](s(243),s(239),s(256),s(280)).to(i),this[s(251)](r,s(270),(t,i)=>{const n=s;e[n(270)](n(248)===i?n(271):n(253))}),r}),n[t(269)](),i.on(t(242),(e,i,s)=>{const r=t;s?n[r(264)]():n[r(269)]()})}}var Ae=i(573),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=220]})(t,e)}const Ve=Me;function Ee(){const t=["bindTemplate","value","ck-revision-history-sidebar__revision-name","2448411CqJnpP","_updateTooltipText","Enter the revision name","ck-tooltip_multi-line","5041765EUFnLR","render","span","2jPKqIO","Revision name","extendTemplate","2781087GzRxYR","set","_tooltipString","661792LLvBjZ","destroy","placeholder","512758RaxBqo","clientWidth","99tKJvzg","1352970pzjQkF","_resizeObserver","6qASBaG","8267408NjjHFF","scrollWidth","fieldView","input","element","listenTo"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(538628===-parseInt(e(235))/1+parseInt(e(226))/2*(-parseInt(e(229))/3)+parseInt(e(232))/4+-parseInt(e(223))/5*(-parseInt(e(240))/6)+parseInt(e(250))/7+-parseInt(e(241))/8+parseInt(e(237))/9*(parseInt(e(238))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Ve(239)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(247)];this[i(230)]({label:at(t,i(227)),_tooltipString:""}),this[i(243)][i(234)]=at(t,i(221)),this[i(228)]({tag:i(225),attributes:{class:[i(249)],"data-cke-tooltip-text":n.to(i(231)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(222)}})}[Ve(224)](){const e=Ve;super[e(224)](),this[e(239)]=new t.ResizeObserver(this[e(243)][e(245)],()=>this[e(220)]()),this[e(246)](this[e(243)],e(244),()=>this[e(220)]())}[Ve(233)](){const t=Ve;super[t(233)](),this[t(239)]&&this[t(239)][t(233)]()}[Ve(220)](){const t=Ve,e=this[t(243)][t(245)];this[t(231)]=e[t(242)]>e[t(236)]&&e[t(248)]||""}}var Ce=i(757),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=378]})(t,e)}function je(){const t=["14349hqLwWj","527728jyqBGC","span","ck-revision-history-sidebar__revision-author","948cbiHgz","ck-revision-history-sidebar__revision-author__name","8369721vmscdL","161WobdOh","18121466dwhQKT","Revision creator","setTemplate","15335830upoYOf","95466ajDfWU","ck-revision-history-sidebar__revision-author_creator","name","Revision author","35PEBGGb","0 0 11 10","37358pPauoK","set","545ODSBTg","push"];return(je=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(927895===parseInt(e(396))/1*(parseInt(e(398))/2)+-parseInt(e(380))/3*(-parseInt(e(384))/4)+-parseInt(e(378))/5*(-parseInt(e(392))/6)+parseInt(e(387))/7*(parseInt(e(381))/8)+-parseInt(e(386))/9+-parseInt(e(391))/10+-parseInt(e(388))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(399)]({content:_t.IconUser,viewBox:n(397)});const r=["ck",n(383)];i&&r[n(379)](n(393));const o=[{tag:n(382),attributes:{class:["ck",n(385)],title:at(t,n(i?389:395))},children:[s,e[n(394)]]}];this[n(390)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=345]})(t,e)}function We(){var t=["126wvDZSm","long","numeric","1493600SfIwpz","9304368ZGXzfG","toLocaleTimeString","71340EOhrPg","2181910dqffIU","5177125NiwZvk","24PqTYoe","28QGmGwJ","410625DQTJRd","toLocaleDateString","1339232bdoRJk"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(815552===-parseInt(e(349))/1+-parseInt(e(358))/2*(parseInt(e(347))/3)+parseInt(e(355))/4+-parseInt(e(346))/5+-parseInt(e(356))/6+-parseInt(e(348))/7*(-parseInt(e(351))/8)+-parseInt(e(352))/9*(-parseInt(e(345))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(175),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Et();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["items","2776700pInwox","find","menuitem","stopPropagation","18216UonamI","isVisible","function","isOpen","button","locale","14650TVBMRe","source","Name this revision","set","_action","class","ck-revision-history-sidebar__revision__actions","name","action","226015qhJBzO","11hDFoAX","90225ShNWUL","552708ZlXbXH","add","bind","Show more items","change:isActionsDropdownOpen","Compare against selected","menu","map","36oUOSgD","panelPosition","isActionsDropdownOpen","23COYVeA","16dESTAy","execute","first","isReady","bindTemplate","children","model","2541384KiytUv","ck-on","isEnabled","Restore this revision","extendTemplate","154iHSOlM","listView","buttonView","listenTo"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(151537===-parseInt(e(225))/1*(parseInt(e(202))/2)+-parseInt(e(213))/3*(parseInt(e(222))/4)+parseInt(e(211))/5+-parseInt(e(196))/6*(parseInt(e(238))/7)+parseInt(e(226))/8*(parseInt(e(214))/9)+-parseInt(e(243))/10*(-parseInt(e(212))/11)+parseInt(e(233))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(380),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;function Ye(){const t=["ck-revision-history-sidebar__revision-wrapper","fieldView","_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-authors","createdAt","length","name","listenTo","fire","2686563RfKIEo","creator","isActionsDropdownOpen","revisionActionsView","ck-revision-history-sidebar__revision_selected","bind","_revision","isSelected","351430MkLNSk","set","closest","highlight","ck-revision-history-sidebar__revision","876818QjqUsG",".ck-confirm-view","unhighlight","_createdAtFormatted","setTemplate","unshift","ck-revision-history-sidebar__revision__date","ck-disabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","4605744qbpyYx","render","isEnabled","change","select","bindTemplate","isHighlighted","961734PVojYd","isReady","44dppIuT","deselect","ck-reset","extendTemplate","from","1fQxtAd","filter","isConfirm","srcElement","21ZcChJN","uiLanguage","value","div","span","element","220","setName","1026828SbpEFI","179345nrqoIF","map","authors"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=350]})(t,e)}const Je=Ge;!function(t){const e=Ge,i=t();for(;;)try{if(554639===-parseInt(e(412))/1*(-parseInt(e(389))/2)+parseInt(e(359))/3+-parseInt(e(407))/4*(parseInt(e(360))/5)+-parseInt(e(405))/6*(-parseInt(e(351))/7)+-parseInt(e(398))/8+parseInt(e(376))/9+-parseInt(e(384))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(368)];[Je(379)];[Je(382)];[Je(365)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(403)],a=function(t,e){const i=r,n=Array[i(411)](e[i(362)])[i(413)](t=>t!=e[i(377)]);return e[i(377)]&&n[i(394)](e[i(377)]),n[i(361)](n=>new Le(t,n,n==e[i(377)]))}(e,i);this.id=i.id,this[r(382)]=i,this[r(365)]=s,this[r(381)](r(373),r(371)).to(i),this[r(381)](r(392)).to(this,r(371),t=>{return i=e[r(352)],(n=t)[(s=ze)(350)](i,{month:s(353),day:s(354)})+", "+n[s(357)](i,{hour:s(354),minute:s(354)});var i,n,s}),this[r(385)](r(383),!1),this[r(385)](r(404),!1),this[r(385)](r(378),!1),this[r(385)](r(406),!1),this[r(385)](r(400),!1),this[r(368)]=new De(e,It.createLabeledInputText),this[r(368)][r(364)][r(410)]({attributes:{maxlength:r(357)}}),this[r(368)][r(364)][r(381)](r(353)).to(this,r(373),t=>t||this[r(392)]),this[r(368)][r(381)](r(400)).to(this,r(383),this,r(400),(t,e)=>t&&e),this[r(379)]=n&&n[r(372)]?function(e,i){const n=qe,s=e[n(230)],r=e[n(201)],o=(0,It.createDropdown)(r);o[n(223)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(201)],s={"Compare against selected":at(n,i(219)),"Name this revision":at(n,i(204)),"Restore this revision":at(n,i(236))};return e[i(221)](t=>{const e=i,n=s[t[e(209)]];return n&&n!==t[e(209)]&&(t[e(209)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(200),model:new It.UIModel({label:t[s(209)],class:t[s(207)],withText:!0,role:s(194),_action:t[s(210)]})};i[s(232)][s(216)](s(235)).to(e,s(224),i=>s(198)!=typeof t[s(235)]||!i||t[s(235)](e)),o[s(215)](i)}return o}(e,i);return e[n(216)](n(224)).to(o,n(199)),o[n(240)][n(205)]({label:at(r,n(217)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(237)]({attributes:{class:[n(208),s.if(n(224),n(234))]},on:{click:s.to(t=>t[n(195)]())}}),o.on(n(227),t=>{const i=n;e[i(229)]&&i(198)==typeof t[i(203)][i(206)]&&t[i(203)][i(206)](e)}),(0,It.addListToDropdown)(o,a,{role:n(220)}),o[n(241)](e,n(218),(t,s,r)=>{const a=n;if(r)for(const t of o[a(239)][a(242)]){const n=t[a(231)][a(228)],s=i[a(193)](t=>t[a(210)]===n[a(206)])[a(197)];t[a(197)]=void 0===s||s(e)}}),o}(this,n):"",this[r(379)]&&this[r(379)][r(381)](r(400)).to(this),this[r(393)]({tag:r(354),attributes:{class:["ck",r(409),r(363),o.if(r(414),r(397))]},children:[{tag:r(354),attributes:{class:["ck",r(409),r(388),o.if(r(400),r(396),t=>!t),o.if(r(383),r(380)),o.if(r(404),r(367)),o.if(r(378),r(369))]},children:[this[r(368)],{tag:r(355),attributes:{class:["ck",r(395)]},children:[{text:o.to(r(392))}]},{tag:r(354),attributes:{class:["ck",r(366)]},children:[{tag:"ul",attributes:{class:["ck",r(370)]},children:a}]},this[r(379)]],on:{click:o.to(t=>{const e=r;t[e(350)][e(386)](e(390))||this[e(406)]&&this[e(400)]&&this[e(375)](e(402),{id:this.id})})}}]})}[Je(399)](){const t=Je;super[t(399)]();const e=this[t(368)][t(364)][t(356)];this[t(374)](e,t(401),()=>{const i=t;this[i(365)]&&!e[i(353)]||this[i(375)](i(358),{id:this.id,name:e[i(353)]}),e[i(353)]||(e[i(353)]=this[i(373)]?this[i(373)]:this[i(392)])})}[Je(402)](){this[Je(383)]=!0}[Je(408)](){this[Je(383)]=!1}[Je(387)](){this[Je(404)]=!0}[Je(391)](){this[Je(404)]=!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},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Ui=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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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 Un(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&&Pi.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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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,Li.clear(),Wi.clear(),Ui.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=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[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:Pn()?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)||Pi.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(),Pi.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 xn(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 Nn(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=Wn(t.month,1,12),n=Wn(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=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(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 Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(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 Ln(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(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(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(Ln(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,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 Un(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 xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.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 Ps(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 js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.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 Ws(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 Us={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?Us[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,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Vs,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,Ps,js);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,Ws])}(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,[Ls,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)(Ln(e.values,t)||Ln(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 Pi.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:Pn()}}}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 xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>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=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(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(Ln(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=Pi.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(Ln(i,"a")&&Ln(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 jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(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",Wr=864e13;function Ur(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(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:Ur(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(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?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(Ur(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=Nn(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=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(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=Wn(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?xn(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}=jr(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=Lr(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?Nn(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(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=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=xn({...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({...Nn(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 jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(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 Pr(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 xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&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(t,e){const i=go();return(po=function(t,e){return i[t-=127]})(t,e)}function vo(t,e){const i=po,n=fo[i(140)](t)[i(131)](e),s=fo[i(145)](),r=s[i(130)]({days:1})[i(128)](i(143));let o,a;return n[i(151)](s,i(143))?(o=n[i(128)](i(143))[i(146)](),a=n[i(132)]()):n[i(151)](r,i(143))?(o=r[i(146)](),a=n[i(132)]()):n[i(151)](s,i(147))?(o=n[i(128)](i(147))[i(146)](),a=n[i(152)]||""):n[i(151)](s,i(142))?(o=n[i(128)](i(153))[i(146)](),a=n[i(136)]||""):(o=n[i(128)](i(142))[i(146)](),a=String(n[i(142)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["230022oloCFV","hasSame","weekdayLong","month","48917mMAETW","startOf","1130HnRVOS","minus","setLocale","toRelativeCalendar","28qMhDlx","216792rPoyZx","5774105zYnYFM","monthLong","24582ABaAKT","1KQgEGr","99bIgPOR","fromJSDate","116zXWXlc","year","day","1404rebogq","local","toJSDate","week","1802218QlaItX","305364lmlqWv"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(981836===parseInt(e(138))/1*(parseInt(e(148))/2)+-parseInt(e(137))/3*(parseInt(e(141))/4)+-parseInt(e(135))/5+parseInt(e(149))/6*(parseInt(e(133))/7)+-parseInt(e(134))/8*(parseInt(e(139))/9)+-parseInt(e(129))/10*(parseInt(e(127))/11)+parseInt(e(144))/12*(parseInt(e(150))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(966),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=170]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(690674===parseInt(e(187))/1+parseInt(e(183))/2*(-parseInt(e(176))/3)+-parseInt(e(195))/4*(-parseInt(e(174))/5)+-parseInt(e(198))/6*(parseInt(e(190))/7)+-parseInt(e(188))/8*(parseInt(e(197))/9)+parseInt(e(186))/10+parseInt(e(181))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(182)];[bo(189)];[bo(179)];[bo(171)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(200)][s(201)])[s(192)];this[s(182)]=e,this[s(189)]=this[s(175)](),this[s(179)]=i,this[s(171)]=n,this[s(189)][s(177)](s(178)).to(this),this[s(189)][s(177)](s(172)).to(this),this[s(193)]({tag:s(184),attributes:{class:["ck",s(194)]},children:[{tag:s(180),attributes:{class:["ck",s(173)]},children:[{text:r}]},{tag:s(184),attributes:{class:["ck",s(170)]},children:this[s(189)]}]})}[bo(202)](t){const e=bo,i=new Ke(this[e(200)],t,this[e(179)],this[e(171)]);this[e(189)][e(185)](i)}[bo(196)](t){const e=bo,i=this[e(189)][e(191)](e=>e.id===t.id);this[e(189)][e(199)](i)}}function Io(){const t=["96oDmcNR","remove","locale","uiLanguage","addRevision","ck-revision-history-sidebar__time-period__revisions","_requireRevisionName","setName","ck-revision-history-sidebar__time-period__label","5XpafJq","createCollection","6lZEfxP","delegate","select","_revisionActions","span","30201160HqDUwD","startDate","787126xdAJuK","div","add","1203880UfpaOi","282948kQIMPz","40648egxZSu","revisionViews","305249Ordrmq","find","localizedPeriodName","setTemplate","ck-revision-history-sidebar__time-period","272884IWxxEg","removeRevision","1845MoOpiQ"];return(Io=function(){return t})()}var So=i(529),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=363]})(t,e)}function xo(){const t=["ck-reset_all","1471939lnHlLB","12545230PePSdD","span","242421HojJdP","setTemplate","9AxNqHH","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","div","content","2815448rBIuVT","55ZzhbVd","18490oPmWaG","349840sThgup","705084wwdQnc","Revision history","6ODVKRL"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(482713===parseInt(e(374))/1+parseInt(e(372))/2+-parseInt(e(363))/3+parseInt(e(373))/4*(parseInt(e(371))/5)+parseInt(e(376))/6*(-parseInt(e(378))/7)+parseInt(e(370))/8*(parseInt(e(365))/9)+-parseInt(e(379))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(369)]=_t.IconHistory,this[e(364)]({tag:e(368),attributes:{class:["ck",e(377),e(367)]},children:[i,{tag:e(380),attributes:{class:["ck",e(366)]},children:[at(t,e(375))]}]})}}var Ao=i(790),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Vo(){const t=["ck-revision-history-sidebar__timeline","6254310kFUTPJ","150988tapFIt","highlight","find","revisionSelected","selectRevision","render","_addRevision","_revisions","div","get","_requireRevisionName","_revisionActions","isEnabled","ck-revision-history-sidebar","84408hGMPAj","some","deselect","timePeriodViews","addRevision","revisionViews","ck-rounded-corners","set","ck-reset","removeRevision","unhighlight","1526392MOKeQY","_removeRevision","select","259TxOpSh","remove","uiLanguage","highlightRevisions","map","100PSOKlz","591335mrfdKg","1433574FGHvQS","revisionSetName","add","createdAt","ck-disabled","createCollection","getTime","setName","55720kJPKfg","flat","_getTimePeriodViewByStartDate","setTemplate","fire","delegate","locale","startDate","15gifxcM","bindTemplate"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(506674===parseInt(e(434))/1+-parseInt(e(425))/2+-parseInt(e(451))/3*(-parseInt(e(455))/4)+-parseInt(e(433))/5*(-parseInt(e(469))/6)+parseInt(e(428))/7*(-parseInt(e(443))/8)+-parseInt(e(435))/9+parseInt(e(454))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(417)];[Mo(462)];[Mo(466)];[Mo(465)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(452)];this[s(417)]=this[s(440)](),this[s(417)][s(448)](s(427)).to(this),this[s(417)][s(448)](s(442)).to(this),this[s(462)]=e,this[s(466)]=i,this[s(465)]=n,this.on(s(427),(t,e)=>{const i=s;this[i(447)](i(458),e)}),this.on(s(442),(t,e)=>{const i=s;this[i(447)](i(436),e)}),this[s(421)](s(467),!1),this[s(446)]({tag:s(463),attributes:{class:["ck",s(422),s(420),s(468)]},children:[new No(t),{tag:s(463),attributes:{class:["ck",s(453),r.if(s(467),s(439),t=>!t)]},children:this[s(417)]}]})}[Mo(460)](){const t=Mo;super[t(460)]();for(const e of this[t(462)])this[t(461)](e);this[t(462)].on(t(437),(e,i)=>{this[t(461)](i)}),this[t(462)].on(t(429),(e,i)=>{this[t(426)](i)})}get[Mo(419)](){const t=Mo;return this[t(417)][t(432)](e=>e[t(419)][t(432)](t=>t))[t(444)]()}[Mo(459)](t){const e=Mo;for(const i of this[e(419)])t&&t.id===i.id?i[e(427)]():i[e(416)]()}[Mo(431)](t){const e=Mo;for(const i of this[e(419)])t[e(470)](({id:t})=>t===i.id)?i[e(456)]():i[e(424)]()}[Mo(461)](t){const e=Mo,i=vo(t[e(438)],this[e(449)][e(430)])[e(450)];let n=this[e(417)][e(464)](0);n&&n[e(450)][e(441)]()===i[e(441)]()||(n=new _o(this[e(449)],i,this[e(466)],this[e(465)]),this[e(417)][e(437)](n)),n[e(418)](t)}[Mo(426)](t){const e=Mo,i=vo(t[e(438)],this[e(449)][e(430)])[e(450)];this[e(445)](i)[e(423)](t)}[Mo(445)](t){const e=Mo;return this[e(417)][e(457)](i=>i[e(450)][e(441)]()===t[e(441)]())}}function Co(t,e){const i=Po();return(Co=function(t,e){return i[t-=149]})(t,e)}const Fo=Co;function Po(){const t=["isOfficialPlugin","restoreRevision","setName","length","isReady","timePeriodViews","repository","compare","bind","change:diff","listenTo","highlightRevisions","2TLcMJv","map","RevisionsSidebar","_handleRevisionSelected","getRevision","707645LKditA","revisionSelected","string","add","416HxbziW","compareAgainstSelected","getIndex","_revisions","newRevisionId","appendChild","destroy","2066510IdROzR","plugins","selectRevision","6DwzEzT","_sidebarView","revisionHistory","render","init","name","assign","ready","1942899qLXwSL","select","_revisionViewer","revisionViews","_revisionsRepository","data","config","96yzAqfX","remove","getRevisionsInDiff","Name this revision","defaultRevisionActions","fieldView","editor","requires","restoreRevisionCallback","Compare against selected","nameRevision","isEnabled","get","Restore this revision","getLaterVisibleRevision","availableRevisionActions","11vyRmER","_handleEditorDataReady","revisionHistory.revisionActions","52507VABoXt","_createRevisionActions","element","26154EInwgU","locale","pluginName","isPremiumPlugin","709943lsChUM","isSelected","action","revisionHistory.requireRevisionName","revisionHistory.viewerSidebarContainer","diff","revisionSetName","806847YXUoWI","_handleDiffChange","getEarlierVisibleRevision","_handleRevisionSetName","focus","isVisible","4EjONBP"];return(Po=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(159539===-parseInt(e(181))/1*(parseInt(e(214))/2)+parseInt(e(195))/3*(parseInt(e(201))/4)+-parseInt(e(219))/5*(-parseInt(e(233))/6)+-parseInt(e(155))/7+-parseInt(e(223))/8*(parseInt(e(184))/9)+-parseInt(e(230))/10*(parseInt(e(178))/11)+-parseInt(e(162))/12*(-parseInt(e(188))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends J.Plugin{[Fo(157)];[Fo(159)];[Fo(234)];static[Fo(166)]=[Fo(224),Fo(203),Fo(172)];static[Fo(177)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(171),action:({plugins:e},i)=>{const n=t,s=e[n(174)](ue),r=s[n(208)];let o=s[n(193)][n(227)],a=i.id;r[n(225)](o)>r[n(225)](a)&&([o,a]=[a,o]),s[n(209)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(174)](ue);return!(s[n(208)][n(164)](s[n(193)])[n(205)]>2||i[n(189)])}},restoreRevision:{name:t(175),action:(e,{id:i})=>{const n=t;e[n(161)][n(174)](n(149))[n(170)](i)},isVisible:({plugins:e},i)=>!!e[t(174)](ue)[t(208)][t(176)](i.id)},nameRevision:{name:t(165),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(174)](ue),o=r[s(208)][s(197)](i);r[s(209)](i,o),n[s(199)](),n[s(167)][s(156)]()}}}}();static get[Fo(186)](){return Fo(216)}static get[Fo(202)](){return!0}static get[Fo(187)](){return!0}static get[Fo(169)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(157)]=t[e(231)][e(174)](ue),this[e(159)]=this[e(157)][e(208)],this[e(234)]=null}[Fo(151)](){const t=Fo,e=this[t(159)][t(226)],i=this[t(182)](),n=this[t(168)][t(161)][t(174)](t(192));this[t(234)]=new Do(this[t(168)][t(185)],e,i,this[t(168)][t(161)][t(174)](t(191))),this[t(234)].on(t(220),this[t(217)][t(210)](this)),this[t(234)].on(t(194),this[t(198)][t(210)](this)),this[t(234)][t(210)](t(173)).to(this[t(157)]),this[t(234)][t(207)].on(t(222),(e,i)=>{const n=t;i[n(158)].on(n(222),(t,e)=>{const i=n;e[i(210)](i(173),i(206)).to(this[i(157)])})}),this[t(234)][t(150)](),this[t(212)](this[t(168)][t(160)],t(154),this[t(179)][t(210)](this)),this[t(212)](this[t(157)],t(211),this[t(196)][t(210)](this)),n[t(228)](this[t(234)][t(183)])}[Fo(229)](){const t=Fo;this[t(234)][t(183)][t(163)](),this[t(234)][t(229)]()}[Fo(179)](){const t=Fo,e=this[t(159)][t(218)](0);if(e){const i=this[t(159)][t(197)](e.id);this[t(157)][t(209)](e,i)}}[Fo(217)](t,e){const i=Fo,n=this[i(159)][i(218)](e.id),s=this[i(159)][i(197)](n.id);this[i(157)][i(209)](n,s)}[Fo(198)](t,e){const i=Fo;this[i(159)][i(218)](e.id)[i(204)](e[i(152)])}[Fo(196)](t,e,i){const n=Fo,s=this[n(159)][n(164)](i);s[n(205)]>2?(this[n(234)][n(213)](s),this[n(234)][n(232)](null)):(this[n(234)][n(213)]([]),this[n(234)][n(232)](s[0]))}[Fo(182)](){const t=Fo,e=this[t(168)],i=jo[t(177)],n=e[t(161)][t(174)](t(180))||jo[t(166)];if(n[t(205)])return n[t(215)](n=>{const s=t,r=s(221)==typeof n?Object[s(153)]({},i[n]):n;return r[s(190)]=r[s(190)][s(210)](this,e),r[s(200)]&&(r[s(200)]=r[s(200)][s(210)](this,e)),r})}}const Lo=Wo;function zo(){const t=["12034917QoNiPx","15806274SwPpfo","getRoot","get","element","_view","componentFactory","ready","1317554uoMgaQ","_initToolbar","restore","destroy","isActive","attachDomRoot","document","editing","editor","addToolbar","replace","2839cNkcaY","15266240yatxNT","bind","rootName","24JKoGla","view","491217dcjRIF","isFocused","limiterElement","514VXpuQg","8BmlOQF","viewportTopOffset","focusTracker","stickyPanel","name","init","render","viewportOffset","editable","fillFromConfig","setEditableElement","toolbar","1096660jfvHCO","config","18ZrPBZX","_elementReplacer","fire","_toolbarConfig","detachDomRoot"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(833496===parseInt(e(368))/1*(-parseInt(e(377))/2)+-parseInt(e(374))/3*(-parseInt(e(372))/4)+-parseInt(e(390))/5*(parseInt(e(392))/6)+-parseInt(e(357))/7*(parseInt(e(378))/8)+parseInt(e(397))/9+parseInt(e(369))/10+-parseInt(e(398))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Lo(354)];[Lo(395)];[Lo(393)];get[Lo(373)](){return this[Lo(354)]}constructor(e,i){const n=Lo;super(e),this[n(354)]=i,this[n(395)]=(0,It.normalizeToolbarConfig)(e[n(391)][n(400)](n(389))),this[n(393)]=new t.ElementReplacer}get[Lo(353)](){const t=Lo;return this[t(373)][t(353)]}[Lo(383)](t){const e=Lo,i=this[e(365)],n=this[e(373)],s=i[e(364)][e(373)],r=n[e(386)],o=s[e(363)][e(399)]();r[e(382)]=o[e(371)],n[e(384)]();const a=r[e(353)];this[e(388)](r[e(382)],a),n[e(386)][e(370)](e(375)).to(this[e(380)]),s[e(362)](a),this[e(393)][e(367)](t,this[e(353)]),this[e(358)](),this[e(394)](e(356))}[Lo(360)](){const t=Lo;super[t(360)]();const e=this[t(373)],i=this[t(365)][t(364)][t(373)];this[t(393)][t(359)](),i[t(396)](e[t(386)][t(382)]),e[t(360)]()}[Lo(358)](){const t=Lo,e=this[t(373)];e[t(381)][t(370)](t(361)).to(this[t(380)],t(375)),e[t(381)][t(376)]=e[t(353)],e[t(381)][t(370)](t(379)).to(this,t(385),({top:t})=>t),e[t(389)][t(387)](this[t(395)],this[t(355)]),this[t(366)](e[t(389)])}}var Zo=i(718),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Yo();return($o=function(t,e){return i[t-=359]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(756278===-parseInt(e(360))/1*(parseInt(e(373))/2)+parseInt(e(375))/3+-parseInt(e(367))/4+-parseInt(e(362))/5+-parseInt(e(376))/6+parseInt(e(374))/7+-parseInt(e(363))/8*(-parseInt(e(371))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[qo(366)];[qo(359)];[qo(369)];get[qo(361)](){return this[qo(366)]}constructor(t,e,i={}){var n=qo;super(t),this[n(359)]=new It.StickyPanelView(t),this[n(369)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(372)]}),this[n(366)]=new It.InlineEditableUIView(t,e)}[qo(364)](){var t=qo;super[t(364)](),this[t(359)][t(370)][t(377)](this[t(369)]),this[t(365)][t(377)](this[t(359)]),this[t(368)][t(377)](this[t(361)])}}function Yo(){var t=["763066nWznyV","6547128Xalqqs","1188747fsrusg","1156806KxlHdG","add","stickyPanel","1vJhOUS","editable","6709740YdxmOM","64pWAVZE","render","top","_editable","1033476YKdSMR","main","toolbar","content","1799298MbblPw","shouldToolbarGroupWhenFull"];return(Yo=function(){return t})()}const Go=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=273]})(t,e)}function Ko(){const t=["1435800cbHqaA","27aNPwbX","locale","32065SxcBJt","createRoot","162krmVny","initPlugins","fire","get","43770JskSEc","62cYsSOn","document","view","40551YfxlPv","model","780KagARS","config","716240eJurgM","ready","initialData","data","_ui","updateSourceElement","destroy","editing","init","create","289300WZhHQa","8461fAWLmg","sourceElement","21RIyiOC"];return(Ko=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(300367===-parseInt(e(283))/1+parseInt(e(296))/2*(-parseInt(e(299))/3)+-parseInt(e(282))/4+-parseInt(e(295))/5*(-parseInt(e(291))/6)+parseInt(e(285))/7*(parseInt(e(286))/8)+-parseInt(e(287))/9*(-parseInt(e(303))/10)+-parseInt(e(289))/11*(parseInt(e(301))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Go(276)];get ui(){return this[Go(276)]}constructor(t,e){const i=Go;super(e),this[i(284)]=t,this[i(300)][i(297)][i(290)]();const n=new Bo(this[i(288)],this[i(279)][i(298)],{shouldToolbarGroupWhenFull:!0});this[i(276)]=new Uo(this,n)}[Go(278)](){const t=Go;return this[t(277)](),this.ui[t(278)](),super[t(278)]()}static async[Go(281)](t,e){const i=Go,n=new this(t,e);return await n[i(292)](),await n.ui[i(280)](t),await n[i(275)][i(280)](n[i(302)][i(294)](i(274))||""),n[i(293)](i(273)),n}}const Qo=ta;function ta(t,e){const i=sa();return(ta=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(392539===parseInt(e(440))/1*(-parseInt(e(486))/2)+-parseInt(e(457))/3+parseInt(e(509))/4*(-parseInt(e(524))/5)+parseInt(e(405))/6+-parseInt(e(491))/7*(parseInt(e(417))/8)+-parseInt(e(522))/9*(-parseInt(e(406))/10)+parseInt(e(514))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ea=[Qo(425),Qo(381),Qo(391),Qo(510),Qo(395),Qo(431),Qo(383)];class ia extends J.Plugin{[Qo(515)];static get[Qo(419)](){return Qo(469)}static get[Qo(380)](){return!0}static get[Qo(530)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(496)](t=>String[e(451)](t))[e(407)]("")}super(t),this[e(515)]=e(525),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends J.Plugin{[Qo(382)];static get[Qo(419)](){return Qo(378)}static get[Qo(380)](){return!0}static get[Qo(530)](){return!0}static get[Qo(526)](){return[mt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(428)][i(501)][i(384)](i(442)))throw new t.CKEditorError(i(494),this);this[i(382)]=null,this[i(412)](i(471),!1),this[i(428)][i(501)][i(477)](i(455),t=>this[i(512)]({...t,translations:this[i(428)][i(542)][i(479)]})),this[i(428)][i(501)][i(477)](i(426),t=>this[i(516)](t)),this[i(428)][i(501)][i(477)](i(410),t=>this[i(427)](t)),this[i(428)][i(501)][i(477)](i(480),!1),this[i(400)](),this[i(493)]()}set[Qo(401)](t){const e=Qo;this[e(428)][e(443)][e(384)](e(458))[e(401)]=t}get[Qo(401)](){const t=Qo;return this[t(428)][t(443)][t(384)](t(458))[t(401)]}[Qo(498)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(458))[e(498)](t)}[Qo(536)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(454))[e(536)](t)}[Qo(503)](t){const e=Qo;return this[e(428)][e(443)][e(384)](e(454))[e(503)](t||{toJSON:!1})}[Qo(497)](){const e=Qo,i=this[e(428)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(443)][e(384)](e(458)),r=i[e(443)][e(384)](e(531))[e(422)];return n[e(470)]=[e(518),e(432),e(439)],delete n[e(449)],n[e(443)][e(544)](ia,ue,Ne,class extends J.Plugin{static get[e(526)](){return[ue,e(531)]}[e(389)](){const n=e,o=this[n(428)][n(443)][n(384)](n(531));for(const t of r)t[n(423)]||o[n(398)](t.id)||o[n(523)](t);const a=s[n(511)][n(503)]();let c=null;const u=this[n(428)][n(443)][n(384)](n(539));u[n(401)]=s[n(401)],u[n(532)](n(416)).to(s),this[n(428)][n(409)][n(384)](n(432))[n(532)](n(416)).to(i,n(489),t=>!t);for(const e of a){const i=null===e[n(411)];if(i&&e[n(392)]===e[n(434)])continue;const r=e[n(418)]();u[n(498)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(527)](r,o);else if(!o){const e=a[u(418)]();e.id=(0,t.uid)(),s[u(507)](e,a[u(392)])[u(436)](t=>{c=t})}}else e[u(527)](r,o)})}}},jo),n}[Qo(400)](){const t=Qo,e=this[t(428)][t(501)][t(384)](t(442))[t(534)];this[t(428)][t(501)][t(412)](t(455),async()=>{const i=t;this[i(428)][i(397)](i(414));const n=this[i(428)][i(443)][i(384)](i(458));if(this[i(428)][i(443)][i(472)](i(424))){const t=this[i(428)][i(443)][i(384)](i(424));await t[i(403)]()}else await n[i(502)]();if(this[i(428)][i(443)][i(472)](i(444))&&this[i(428)][i(443)][i(384)](i(444))[i(499)](),this[i(428)][i(443)][i(472)](i(399))){const t=this[i(428)][i(443)][i(384)](i(399));t[i(541)]&&t[i(386)]()}if(this[i(428)][i(443)][i(472)](i(506))){const t=this[i(428)][i(443)][i(384)](i(506))[i(505)][i(528)];for(const e of t)e[i(441)]=e[i(441)]?e[i(441)]+i(420):i(379);if(this[i(428)][i(443)][i(472)](i(391))){const t=document[i(376)](i(408));t&&t[i(521)](i(483),"-1")}if(this[i(428)][i(443)][i(472)](i(538))){const t=document[i(376)](i(377));t&&t[i(521)](i(483),"-1")}}const s=this[i(497)]();return e(s)[i(436)](t=>{const e=i;return this[e(382)]=t,this[e(428)][e(443)][e(472)](e(460))&&this[e(428)][e(443)][e(384)](e(460))[e(447)](),this[e(428)][e(443)][e(472)](e(430))&&(this[e(428)][e(443)][e(384)](e(463))[e(505)][e(413)][e(437)][e(519)]=e(445)),t})[i(535)](t=>(console[i(478)](t),this[i(428)][i(484)](i(414)),null))})}[Qo(493)](){const t=Qo,e=this[t(428)][t(501)][t(384)](t(442))[t(500)];this[t(428)][t(501)][t(412)](t(426),()=>{const i=t;if(this[i(428)][i(443)][i(472)](i(444))&&this[i(428)][i(443)][i(384)](i(444))[i(499)](),this[i(428)][i(443)][i(472)](i(430))&&(this[i(428)][i(443)][i(384)](i(463))[i(505)][i(413)][i(437)][i(519)]=""),this[i(428)][i(443)][i(472)](i(506))){const t=this[i(428)][i(443)][i(384)](i(506))[i(505)][i(528)];for(const e of t)e[i(441)]=i(379)===e[i(441)]?"":e[i(441)][i(390)](i(420),"");if(this[i(428)][i(443)][i(472)](i(391))){const t=document[i(376)](i(408));t&&t[i(464)](i(483))}if(this[i(428)][i(443)][i(472)](i(538))){const t=document[i(376)](i(377));t&&t[i(464)](i(483))}}return this[i(382)][i(443)][i(384)](i(539))[i(452)](),e(this[i(382)])[i(436)](()=>{const t=i;if(this[t(428)][t(484)](t(414)),this[t(382)]=null,this[t(428)][t(443)][t(472)](t(460))){const e=this[t(428)][t(443)][t(384)](t(460));e[t(447)](),e[t(488)]()}})})}[Qo(512)](t){const e=Qo,i=this[e(428)][e(501)][e(384)](e(396)),n=this[e(428)][e(501)][e(384)](e(529)),s=this[e(428)][e(501)][e(384)](e(461));return Xo[e(487)](s,t)[e(436)](t=>(n[e(437)][e(519)]=e(421),i[e(437)][e(519)]=e(445),this[e(471)]=!0,t))}[Qo(516)](t){const e=Qo,i=this[e(428)][e(501)][e(384)](e(396));return this[e(428)][e(501)][e(384)](e(529))[e(437)][e(519)]=e(445),i[e(437)][e(519)]="",this[e(471)]=!1,t[e(517)]()}async[Qo(427)](t){const e=Qo,i=this[e(428)],n=this[e(382)][e(443)][e(384)](e(539)),s=i[e(443)][e(384)](e(458)),r=i[e(443)][e(384)](e(468)),o=n[e(511)][e(536)](t);let a,c,u;try{await r[e(490)](o,this[e(401)]),a=r[e(448)](o),c=r[e(394)](o)}catch(t){return void console[e(478)](t)}i[e(504)][e(459)](t=>{const n=e;for(const e of Array[n(473)](i[n(504)][n(540)][n(508)](n(466))))t[n(402)](e)}),n[e(415)]=!1,i[e(504)][e(492)](t=>{const n=e;t[n(450)](null),t[n(485)](i[n(504)][n(453)][n(388)][n(475)]());const s=Object[n(462)](a);for(const e of i[n(504)][n(453)][n(456)])n(513)!=e[n(429)]&&e[n(387)]()&&!s[n(543)](e[n(429)])&&t[n(537)](e);for(const e of s){let s=i[n(504)][n(453)][n(476)](e);s&&s[n(387)]()||(s=t[n(465)](e));const r=c[e],o=Object[n(462)](r),u=a[e];for(const e of s[n(475)]())o[n(543)](e)||t[n(464)](e,s);for(const i of o)t[n(521)](i,c[e][i],s);t[n(435)](t[n(385)](s)),t[n(438)](i[n(474)][n(393)](u,s),s,0)}});const l=at(i[e(542)],e(520));return u=o[e(495)]?-1==o[e(495)][e(481)](l)?l+": "+o[e(495)]:o[e(495)]:l+": "+o[e(482)][e(404)](i[e(542)][e(446)],{month:e(433),day:e(533)})+", "+o[e(482)][e(467)](i[e(542)][e(446)],{hour:e(533),minute:e(533)}),await s[e(507)]({name:u}),n[e(415)]=!0,i[e(501)][e(384)](e(442))[e(500)]()}}function sa(){const t=["name","map","_getRevisionViewerEditorConfig","addRevisionData","_recalculatePageBreaks","closeRevisionViewerCallback","config","update","getRevisions","model","view","AITabs","saveRevision","getMarkersGroup","26044DIVhfk","AIReviewMode","repository","_showRevisionViewer","$graveyard","13358631VqwOeY","result","_closeRevisionViewer","destroy","exitToEditing","display","Restored","setAttribute","9WfeguE","addUser","185MvrWDk","end","requires","_update","panelViews","revisionHistory.viewerContainer","isPremiumPlugin","Users","bind","numeric","showRevisionViewerCallback","catch","getRevision","detachRoot","AIChatHistory","RevisionViewer","markers","isOpen","locale","includes","push","querySelector",".ck-ai-chat-history .ck-input","RevisionHistory","ck-tab-panel_disabled","isOfficialPlugin","RestrictedEditingMode","_viewerEditor","AIActions","get","createRangeIn","hide","isAttached","selection","init","replace","AIChat","toVersion","parse","getRevisionRootsAttributes","AIBalloon","revisionHistory.editorContainer","enableReadOnlyMode","getUser","Dialog","_enhanceShowRevisionViewerCallback","adapter","removeMarker","save","toLocaleDateString","829980abFNCV","4909820yxTUxl","join",".ck-ai-chat__prompt-input .ck-textarea","commands","revisionHistory.restoreRevisionCallback","creator","set","element","revision-history-viewer-opened","isReady","isEnabled","1843352CcEKDA","toJSON","pluginName"," ck-tab-panel_disabled","block","users","isAnonymous","Autosave","RevisionHistoryUI","revisionHistory.closeRevisionViewerCallback","_restoreRevision","editor","rootName","DocumentOutline","AIQuickActions","restoreRevision","long","fromVersion","remove","then","style","insert","changesNavigation","4atSyua","class","revisionHistory","plugins","PaginationLookup","none","uiLanguage","refreshVisibility","getRevisionDocumentData","lazyRoots","setSelection","fromCharCode","_cleanUp","document","RevisionsRepository","revisionHistory.showRevisionViewerCallback","roots","1252788TUPFgl","RevisionTracker","change","Annotations","revisionHistory.viewerEditorElement","keys","DocumentOutlineUI","removeAttribute","addRoot","restrictedEditingException","toLocaleTimeString","RevisionHistoryUtils","RevisionViewerIntegration","toolbar","isRevisionViewerOpen","has","from","data","getAttributeKeys","getRoot","define","error","translations","revisionHistory.requireRevisionName","indexOf","createdAt","tabindex","disableReadOnlyMode","removeSelectionAttribute","281136hQhCbK","create","refreshPositioning","isReadOnly","loadRevisionData","7DRHeSy","enqueueChange","_enhanceCloseRevisionViewerCallback","revision-history-missing-configuration"];return(sa=function(){return t})()}function ra(){var t=["5305arijwG","1415166SnpOWL","2788700jmakKo","6135794kWosAk","177954BWdRjv","9HxBPnp","22306272DiJsDI","11CAgFcA","5421800yIPDFT","9XoBbwU","6620onjCyQ","12blwObT"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=263]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(900803===-parseInt(e(269))/1+parseInt(e(272))/2*(parseInt(e(273))/3)+parseInt(e(266))/4*(parseInt(e(268))/5)+parseInt(e(267))/6*(parseInt(e(271))/7)+parseInt(e(264))/8*(parseInt(e(265))/9)+-parseInt(e(270))/10+-parseInt(e(263))/11*(parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();