ckeditor5-collaboration 46.0.3 → 46.1.0-alpha.1
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 e={"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-aria-description{display:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0;overflow:hidden}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../../../node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),u=new URL(r("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"),r.b),l=i()(o()),d=c()(u);l.push([e.id,`:root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(${d});display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}`,""]);const m=l},"../../../../node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",s=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),s&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),s&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,s,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);s&&i[l[0]]||(void 0!==n&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=n),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},"../../../../node_modules/css-loader/dist/runtime/getUrl.js":e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":e=>{"use strict";var t=[];function r(e){for(var r=-1,s=0;s<t.length;s++)if(t[s].identifier===e){r=s;break}return r}function s(e,s){for(var n={},i=[],a=0;a<e.length;a++){var c=e[a],u=s.base?c[0]+s.base:c[0],l=n[u]||0,d="".concat(u," ").concat(l);n[u]=l+1;var m=r(d),k={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(k);else{var g=o(k,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:g,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var n=s(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<n.length;i++){var a=r(n[i]);t[a].references--}for(var c=s(e,o),u=0;u<n.length;u++){var l=r(n[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}n=c}}},"../../../../node_modules/style-loader/dist/runtime/insertBySelector.js":e=>{"use strict";var t={};e.exports=function(e,r){var s=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(r)}},"../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js":e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js":e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}},"../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js":e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function s(e,t,s,o){var n;if(s)n="";else{n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,i&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,n);else{var a=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,r=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){s(r,t,!1,e)},remove:function(e){s(r,t,!0,e)}}}},"./src/collaboration-core.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{AriaDescriptionView:()=>M,ConfirmMixin:()=>Xs,FOCUS_ANNOTATION_KEYSTROKE:()=>mo,LateFocusButtonView:()=>j,LateFocusDropdownButtonView:()=>I,Permissions:()=>n,UserView:()=>N,Users:()=>p,getAllMarkersDomElementsSorted:()=>Js,getDateTimeFormatter:()=>Hs,getMarkerDomElement:()=>Bs,hashObject:()=>eo,sanitizeEditorConfig:()=>uo,setupThreadKeyboardNavigation:()=>ko,surroundingMarkersDetector:()=>lo,trimHtml:()=>Ks});var s=r("ckeditor5/src/core.js"),o=r("ckeditor5/src/utils.js");class n extends s.ContextPlugin{static get pluginName(){return"Permissions"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}setPermissions(e,t){let r;if(t||(t=this.context.config.get("collaboration.channelId")),this.context.config.get("collaboration.channelId")==t?r=this.context:"editors"in this.context&&this.context.editors&&(r=this.context.editors.find(e=>e.config.get("collaboration.channelId")==t)),!r)throw new o.CKEditorError("permissions-set-permissions-invalid-channel-id",null);const n=r.plugins,i=n.has("CommentsRepository")?n.get("CommentsRepository"):void 0,a=n.has("CommentsOnly")&&n.get("CommentsOnly"),c=e.includes("document:write"),u=e.includes("comment:modify_all"),l=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||l,k=m||u,g=c||m;if(a&&(a.isEnabled=!c&&k),r instanceof s.Editor){!(c||k&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:l,modifyAll:u,write:d,resolve:g},t);const e=r instanceof s.Editor&&r.commands.get("addCommentThread");e&&(m?e.clearForceDisabled("noPermissions"):e.forceDisabled("noPermissions"))}}}function i(e,t){const r=e.t;switch(t){case"Anonymous":return r("Anonymous");case"Yes":return r("Yes");case"No":return r("No");case"Are you sure?":return r("Are you sure?");case"Today":return r("Today");case"Yesterday":return r("Yesterday");case"Last":return r("Last");case"Monday":return r("Monday");case"Tuesday":return r("Tuesday");case"Wednesday":return r("Wednesday");case"Thursday":return r("Thursday");case"Friday":return r("Friday");case"Saturday":return r("Saturday");case"Sunday":return r("Sunday");default:return""}}var a=r("../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),u=r("../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),l=r.n(u),d=r("../../../../node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),k=r("../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),g=r.n(k),h=r("../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(h),b=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),y={attributes:{"data-cke":!0}};y.setAttributes=g(),y.insert=m().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=f();c()(b.A,y);b.A&&b.A.locals&&b.A.locals;class p extends s.ContextPlugin{users;_lastColor;_myId;_locale;static get pluginName(){return"Users"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}static get requires(){return[n]}constructor(e){super(e),this.context.config.define("users.anonymousUserId","anonymous-user"),this.context.config.define("users.colorsCount",8),this.users=new o.Collection,this._locale=e.locale,this._lastColor=0,this._myId=null,this.decorate("getOperationAuthor")}init(){this._addAnonymousUser()}get me(){return null==this._myId?null:this.getUser(this._myId)}addUser({id:e,name:t,...r}){if(!e||"string"!=typeof e)throw new o.CKEditorError("users-add-invalid-id");if(this.users.has(e))throw new o.CKEditorError("users-add-duplicated-id",null,{id:e});const s=this.context.config.get("users.getInitialsCallback"),n={...r,id:e,name:w(this._locale,t),color:this._getNextColor()};n.name=w(this._locale,n.name);const i=new v(n,s);return this.users.add(i),i}getUser(e){return this.users.get(e)}useAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this._myId||this.defineMe(e)}defineMe(e){if(this._myId)throw new o.CKEditorError("users-me-already-defined",null);const t=this.getUser(e);if(!t)throw new o.CKEditorError("users-me-missing-user",null);this._myId=e,t._isMe=!0}getOperationAuthor(){return this.me}_getNextColor(){const e=this.context.config.get("users.colorsCount");return this._lastColor>=e&&(this._lastColor=0),new _(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class v{id;color;name;initials;avatar;_isMe;_isAnonymous;constructor(e,t){this.id=e.id,this.color=e.color,this.name=e.name,this.initials=t?t(this.name):this._computeInitials(),this.avatar=e.avatar,this._isAnonymous=!1,this._isMe=!1}get isAnonymous(){return this._isAnonymous}get isMe(){return this._isMe}_computeInitials(){const e=this.name.split(" ").filter(e=>/^[\p{Letter}]/u.test(e));return 1===e.length?this._getInitial(e[0]):0===e.length?this._getInitial(this.name):this._getInitial(e[0])+this._getInitial(e[e.length-1])}_getInitial(e){return String.fromCodePoint(e.codePointAt(0)).toUpperCase()}}function w(e,t=""){return""==(t=t.trim())?i(e,"Anonymous"):t}class _{_id;constructor(e){this._id=e}get id(){return this._id}getBackgroundColorClass(){return`ck-user__bg-color--${this.id}`}getSelectionClass(){return`ck-user__selection--${this.id}`}getMarkerClass(){return`ck-user__marker--${this.id}`}}var S=r("ckeditor5/src/ui.js"),x=r("ckeditor5/src/icons.js"),T=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),O={attributes:{"data-cke":!0}};O.setAttributes=g(),O.insert=m().bind(null,"head"),O.domAPI=l(),O.insertStyleElement=f();c()(T.A,O);T.A&&T.A.locals&&T.A.locals;class N extends S.View{name;notificationView;constructor(e,t,r){super(e),this.name=t.name,this.notificationView=null;const s=["ck","ck-user"],o=["ck","ck-user__img"];if(t.isAnonymous&&o.push("ck-user__anonymous"),!t.isAnonymous&&t.isMe&&s.push("ck-user_me"),t.avatar&&o.push("ck-user__avatar"),r){const e=new S.IconView;e.extendTemplate({attributes:{class:["ck-user__icon"]}}),e.content=x.IconNotification,this.notificationView={tag:"div",attributes:{class:["ck","ck-user__notification"],"data-cke-tooltip-position":"n","data-cke-tooltip-text":r},children:[e]}}const n=[{tag:"div",attributes:{class:o,style:{"background-image":t.avatar?`url('${t.avatar}')`:""}}},{tag:"div",attributes:{class:t.avatar?"ck ck-user__name ck-user__name--hidden":"ck ck-user__name","aria-label":t.name},children:[{text:t.initials}]}];this.notificationView&&n.push(this.notificationView),this.setTemplate({tag:"div",attributes:{class:s,"data-user-id":t.id},children:n})}}class M extends S.View{id;constructor(e,t){super(e),this.id=`ck-aria-description-${(0,o.uid)()}`,this.setTemplate({tag:"span",attributes:{class:["ck","ck-aria-description"],id:this.id},children:[{text:t}]})}}class j extends S.ButtonView{render(){super.render(),C(this)}}class I extends S.DropdownButtonView{render(){super.render(),C(this)}}function C(e){e.listenTo(e.element,"mousedown",(e,t)=>{t.stopPropagation(),t.preventDefault()}),e.listenTo(e.element,"mouseup",()=>{e.element.focus()})}class E extends Error{}class D extends E{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class A extends E{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class V extends E{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class F extends E{}class $ extends E{constructor(e){super(`Invalid unit ${e}`)}}class W extends E{}class L extends E{constructor(){super("Zone is an abstract class")}}const Z="numeric",z="short",P="long",U={year:Z,month:Z,day:Z},q={year:Z,month:z,day:Z},R={year:Z,month:z,day:Z,weekday:z},Y={year:Z,month:P,day:Z},H={year:Z,month:P,day:Z,weekday:P},B={hour:Z,minute:Z},J={hour:Z,minute:Z,second:Z},K={hour:Z,minute:Z,second:Z,timeZoneName:z},G={hour:Z,minute:Z,second:Z,timeZoneName:P},Q={hour:Z,minute:Z,hourCycle:"h23"},X={hour:Z,minute:Z,second:Z,hourCycle:"h23"},ee={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:z},te={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:P},re={year:Z,month:Z,day:Z,hour:Z,minute:Z},se={year:Z,month:Z,day:Z,hour:Z,minute:Z,second:Z},oe={year:Z,month:z,day:Z,hour:Z,minute:Z},ne={year:Z,month:z,day:Z,hour:Z,minute:Z,second:Z},ie={year:Z,month:z,day:Z,weekday:z,hour:Z,minute:Z},ae={year:Z,month:P,day:Z,hour:Z,minute:Z,timeZoneName:z},ce={year:Z,month:P,day:Z,hour:Z,minute:Z,second:Z,timeZoneName:z},ue={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,timeZoneName:P},le={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,second:Z,timeZoneName:P};class de{get type(){throw new L}get name(){throw new L}get ianaName(){return this.name}get isUniversal(){throw new L}offsetName(e,t){throw new L}formatOffset(e,t){throw new L}offset(e){throw new L}equals(e){throw new L}get isValid(){throw new L}}let me=null;class ke extends de{static get instance(){return null===me&&(me=new ke),me}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Dt(e,t,r)}formatOffset(e,t){return $t(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const ge=new Map;const he={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const fe=new Map;class be extends de{static create(e){let t=fe.get(e);return void 0===t&&fe.set(e,t=new be(e)),t}static resetCache(){fe.clear(),ge.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=be.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Dt(e,t,r,this.name)}formatOffset(e,t){return $t(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const r=function(e){let t=ge.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),ge.set(e,t)),t}(this.name);let[s,o,n,i,a,c,u]=r.formatToParts?function(e,t){const r=e.formatToParts(t),s=[];for(let e=0;e<r.length;e++){const{type:t,value:o}=r[e],n=he[t];"era"===t?s[n]=o:mt(n)||(s[n]=parseInt(o,10))}return s}(r,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,n,i,a,c,u,l]=s;return[i,o,n,a,c,u,l]}(r,t);"BC"===i&&(s=1-Math.abs(s));let l=+t;const d=l%1e3;return l-=d>=0?d:1e3+d,(jt({year:s,month:o,day:n,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let ye={};const pe=new Map;function ve(e,t={}){const r=JSON.stringify([e,t]);let s=pe.get(r);return void 0===s&&(s=new Intl.DateTimeFormat(e,t),pe.set(r,s)),s}const we=new Map;const _e=new Map;let Se=null;const xe=new Map;function Te(e){let t=xe.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),xe.set(e,t)),t}const Oe=new Map;function Ne(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class Me{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...n}=r;if(!t||Object.keys(n).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){const r=JSON.stringify([e,t]);let s=we.get(r);return void 0===s&&(s=new Intl.NumberFormat(e,t),we.set(r,s)),s}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return wt(this.floor?Math.floor(e):Tt(e,3),this.padTo)}}class je{constructor(e,t,r){let s;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&be.create(r).valid?(s=r,this.dt=e):(s="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=ve(t,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ie{constructor(e,t,r){this.opts={style:"long",...r},!t&&ht()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=_e.get(o);return void 0===n&&(n=new Intl.RelativeTimeFormat(e,t),_e.set(o,n)),n}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",s=!1){const o={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."]},n=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&n){const r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${o[e][0]}`;case-1:return r?"yesterday":`last ${o[e][0]}`;case 0:return r?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),c=1===a,u=o[e],l=s?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return i?`${a} ${l} ago`:`in ${a} ${l}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Ce={firstDay:1,minimalDays:4,weekend:[6,7]};class Ee{static fromOpts(e){return Ee.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||Ke.defaultLocale,i=n||(o?"en-US":Se||(Se=(new Intl.DateTimeFormat).resolvedOptions().locale,Se)),a=t||Ke.defaultNumberingSystem,c=r||Ke.defaultOutputCalendar,u=pt(s)||Ke.defaultWeekSettings;return new Ee(i,a,c,u,n)}static resetCache(){Se=null,pe.clear(),we.clear(),_e.clear(),xe.clear(),Oe.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return Ee.create(e,t,r,s)}constructor(e,t,r,s,o){const[n,i,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(-1===r)return[e];{let t,s;try{t=ve(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=ve(n).resolvedOptions(),s=n}const{numberingSystem:o,calendar:n}=t;return[s,o,n]}}(e);this.locale=n,this.numberingSystem=t||i||null,this.outputCalendar=r||a||null,this.weekSettings=s,this.intl=function(e,t,r){return r||t?(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===Te(e.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Ee.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,pt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Ne(this,e,Pt,()=>{const r=t?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=function(e){const t=[];for(let r=1;r<=12;r++){const s=Rs.utc(2009,r,1);t.push(e(s))}return t}(e=>this.extract(e,r,"month"))),this.monthsCache[s][e]})}weekdays(e,t=!1){return Ne(this,e,Yt,()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=function(e){const t=[];for(let r=1;r<=7;r++){const s=Rs.utc(2016,11,13+r);t.push(e(s))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Ne(this,void 0,()=>Ht,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Rs.utc(2016,11,13,9),Rs.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ne(this,e,Gt,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Rs.utc(-40,1,1),Rs.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){const s=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return s?s.value:null}numberFormatter(e={}){return new Me(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new je(e,this.intl,t)}relFormatter(e={}){return new Ie(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=ye[r];return s||(s=new Intl.ListFormat(e,t),ye[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Te(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:ft()?function(e){let t=Oe.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...Ce,...t}),Oe.set(e,t)}return t}(this.locale):Ce}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let De=null;class Ae extends de{static get utcInstance(){return null===De&&(De=new Ae(0)),De}static instance(e){return 0===e?Ae.utcInstance:new Ae(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Ae(At(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$t(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$t(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return $t(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class Ve extends de{constructor(e){super(),this.zoneName=e}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 Fe(e,t){if(mt(e)||null===e)return t;if(e instanceof de)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?ke.instance:"utc"===r||"gmt"===r?Ae.utcInstance:Ae.parseSpecifier(r)||be.create(e)}return kt(e)?Ae.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new Ve(e)}const $e={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},We={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]},Le=$e.hanidec.replace(/[\[|\]]/g,"").split("");const Ze=new Map;function ze({numberingSystem:e},t=""){const r=e||"latn";let s=Ze.get(r);void 0===s&&(s=new Map,Ze.set(r,s));let o=s.get(t);return void 0===o&&(o=new RegExp(`${$e[r]}${t}`),s.set(t,o)),o}let Pe,Ue=()=>Date.now(),qe="system",Re=null,Ye=null,He=null,Be=60,Je=null;class Ke{static get now(){return Ue}static set now(e){Ue=e}static set defaultZone(e){qe=e}static get defaultZone(){return Fe(qe,ke.instance)}static get defaultLocale(){return Re}static set defaultLocale(e){Re=e}static get defaultNumberingSystem(){return Ye}static set defaultNumberingSystem(e){Ye=e}static get defaultOutputCalendar(){return He}static set defaultOutputCalendar(e){He=e}static get defaultWeekSettings(){return Je}static set defaultWeekSettings(e){Je=pt(e)}static get twoDigitCutoffYear(){return Be}static set twoDigitCutoffYear(e){Be=e%100}static get throwOnInvalid(){return Pe}static set throwOnInvalid(e){Pe=e}static resetCaches(){Ee.resetCache(),be.resetCache(),Rs.resetCache(),Ze.clear()}}class Ge{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Qe=[0,31,59,90,120,151,181,212,243,273,304,334],Xe=[0,31,60,91,121,152,182,213,244,274,305,335];function et(e,t){return new Ge("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function tt(e,t,r){const s=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return 0===o?7:o}function rt(e,t,r){return r+(Ot(e)?Xe:Qe)[t-1]}function st(e,t){const r=Ot(e)?Xe:Qe,s=r.findIndex(e=>e<t);return{month:s+1,day:t-r[s]}}function ot(e,t){return(e-t+7)%7+1}function nt(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=rt(s,o,n),a=ot(tt(s,o,n),r);let c,u=Math.floor((i-a+14-t)/7);return u<1?(c=s-1,u=Ct(c,t,r)):u>Ct(s,t,r)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Wt(e)}}function it(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=ot(tt(s,1,t),r),a=Nt(s);let c,u=7*o+n-i-7+t;u<1?(c=s-1,u+=Nt(c)):u>a?(c=s+1,u-=Nt(s)):c=s;const{month:l,day:d}=st(c,u);return{year:c,month:l,day:d,...Wt(e)}}function at(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:rt(t,r,s),...Wt(e)}}function ct(e){const{year:t,ordinal:r}=e,{month:s,day:o}=st(t,r);return{year:t,month:s,day:o,...Wt(e)}}function ut(e,t){if(!mt(e.localWeekday)||!mt(e.localWeekNumber)||!mt(e.localWeekYear)){if(!mt(e.weekday)||!mt(e.weekNumber)||!mt(e.weekYear))throw new F("Cannot mix locale-based week fields with ISO-based week fields");return mt(e.localWeekday)||(e.weekday=e.localWeekday),mt(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),mt(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function lt(e){const t=gt(e.year),r=vt(e.month,1,12),s=vt(e.day,1,Mt(e.year,e.month));return t?r?!s&&et("day",e.day):et("month",e.month):et("year",e.year)}function dt(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=vt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=vt(r,0,59),a=vt(s,0,59),c=vt(o,0,999);return n?i?a?!c&&et("millisecond",o):et("second",s):et("minute",r):et("hour",t)}function mt(e){return void 0===e}function kt(e){return"number"==typeof e}function gt(e){return"number"==typeof e&&e%1==0}function ht(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function ft(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function bt(e,t,r){if(0!==e.length)return e.reduce((e,s)=>{const o=[t(s),s];return e&&r(e[0],o[0])===e[0]?e:o},null)[1]}function yt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pt(e){if(null==e)return null;if("object"!=typeof e)throw new W("Week settings must be an object");if(!vt(e.firstDay,1,7)||!vt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!vt(e,1,7)))throw new W("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function vt(e,t,r){return gt(e)&&e>=t&&e<=r}function wt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function _t(e){return mt(e)||null===e||""===e?void 0:parseInt(e,10)}function St(e){return mt(e)||null===e||""===e?void 0:parseFloat(e)}function xt(e){if(!mt(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Tt(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function Ot(e){return e%4==0&&(e%100!=0||e%400==0)}function Nt(e){return Ot(e)?366:365}function Mt(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?Ot(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function jt(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function It(e,t,r){return-ot(tt(e,1,t),r)+t-1}function Ct(e,t=4,r=1){const s=It(e,t,r),o=It(e+1,t,r);return(Nt(e)-s+o)/7}function Et(e){return e>99?e:e>Ke.twoDigitCutoffYear?1900+e:2e3+e}function Dt(e,t,r,s=null){const o=new Date(e),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(n.timeZone=s);const i={timeZoneName:t,...n},a=new Intl.DateTimeFormat(r,i).formatToParts(o).find(e=>"timezonename"===e.type.toLowerCase());return a?a.value:null}function At(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const s=parseInt(t,10)||0;return 60*r+(r<0||Object.is(r,-0)?-s:s)}function Vt(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new W(`Invalid unit value ${e}`);return t}function Ft(e,t){const r={};for(const s in e)if(yt(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=Vt(o)}return r}function $t(e,t){const r=Math.trunc(Math.abs(e/60)),s=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${wt(r,2)}:${wt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${wt(r,2)}${wt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Wt(e){return function(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}(e,["hour","minute","second","millisecond"])}const Lt=["January","February","March","April","May","June","July","August","September","October","November","December"],Zt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],zt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Pt(e){switch(e){case"narrow":return[...zt];case"short":return[...Zt];case"long":return[...Lt];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 Ut=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],qt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Rt=["M","T","W","T","F","S","S"];function Yt(e){switch(e){case"narrow":return[...Rt];case"short":return[...qt];case"long":return[...Ut];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ht=["AM","PM"],Bt=["Before Christ","Anno Domini"],Jt=["BC","AD"],Kt=["B","A"];function Gt(e){switch(e){case"narrow":return[...Kt];case"short":return[...Jt];case"long":return[...Bt];default:return null}}function Qt(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Xt={D:U,DD:q,DDD:Y,DDDD:H,t:B,tt:J,ttt:K,tttt:G,T:Q,TT:X,TTT:ee,TTTT:te,f:re,ff:oe,fff:ae,ffff:ue,F:se,FF:ne,FFF:ce,FFFF:le};class er{static create(e,t={}){return new er(e,t)}static parseFormat(e){let t=null,r="",s=!1;const o=[];for(let n=0;n<e.length;n++){const i=e.charAt(n);"'"===i?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),t=null,r="",s=!s):s||i===t?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(e){return Xt[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return wt(e,t);const r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,r)=>this.loc.extract(e,t,r),n=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",i=()=>r?function(e){return Ht[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return Pt(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return Yt(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const r=er.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},l=t=>r?function(e,t){return Gt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Qt(er.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return i();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}})}formatDurationFromString(e,t){const r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=er.parseFormat(t),o=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return Qt(s,(e=>t=>{const s=r(t);return s?this.num(e.get(s),t.length):t})(e.shiftTo(...o.map(r).filter(e=>e))))}}const tr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function rr(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function sr(...e){return t=>e.reduce(([e,r,s],o)=>{const[n,i,a]=o(t,s);return[{...e,...n},i||r,a]},[{},null,1]).slice(0,2)}function or(e,...t){if(null==e)return[null,null];for(const[r,s]of t){const t=r.exec(e);if(t)return s(t)}return[null,null]}function nr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=_t(t[r+o]);return[s,null,r+o]}}const ir=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ar=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,cr=RegExp(`${ar.source}${`(?:${ir.source}?(?:\\[(${tr.source})\\])?)?`}`),ur=RegExp(`(?:T${cr.source})?`),lr=nr("weekYear","weekNumber","weekDay"),dr=nr("year","ordinal"),mr=RegExp(`${ar.source} ?(?:${ir.source}|(${tr.source}))?`),kr=RegExp(`(?: ${mr.source})?`);function gr(e,t,r){const s=e[t];return mt(s)?r:_t(s)}function hr(e,t){return[{hours:gr(e,t,0),minutes:gr(e,t+1,0),seconds:gr(e,t+2,0),milliseconds:xt(e[t+3])},null,t+4]}function fr(e,t){const r=!e[t]&&!e[t+1],s=At(e[t+1],e[t+2]);return[{},r?null:Ae.instance(s),t+3]}function br(e,t){return[{},e[t]?be.create(e[t]):null,t+1]}const yr=RegExp(`^T?${ar.source}$`),pr=/^-?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 vr(e){const[t,r,s,o,n,i,a,c,u]=e,l="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&l)?-e:e;return[{years:m(St(r)),months:m(St(s)),weeks:m(St(o)),days:m(St(n)),hours:m(St(i)),minutes:m(St(a)),seconds:m(St(c),"-0"===c),milliseconds:m(xt(u),d)}]}const wr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _r(e,t,r,s,o,n,i){const a={year:2===t.length?Et(_t(t)):_t(t),month:Zt.indexOf(r)+1,day:_t(s),hour:_t(o),minute:_t(n)};return i&&(a.second=_t(i)),e&&(a.weekday=e.length>3?Ut.indexOf(e)+1:qt.indexOf(e)+1),a}const Sr=/^(?:(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 xr(e){const[,t,r,s,o,n,i,a,c,u,l,d]=e,m=_r(t,o,s,r,n,i,a);let k;return k=c?wr[c]:u?0:At(l,d),[m,new Ae(k)]}const Tr=/^(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$/,Or=/^(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$/,Nr=/^(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 Mr(e){const[,t,r,s,o,n,i,a]=e;return[_r(t,o,s,r,n,i,a),Ae.utcInstance]}function jr(e){const[,t,r,s,o,n,i,a]=e;return[_r(t,a,r,s,o,n,i),Ae.utcInstance]}const Ir=rr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ur),Cr=rr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ur),Er=rr(/(\d{4})-?(\d{3})/,ur),Dr=rr(cr),Ar=sr(function(e,t){return[{year:gr(e,t),month:gr(e,t+1,1),day:gr(e,t+2,1)},null,t+3]},hr,fr,br),Vr=sr(lr,hr,fr,br),Fr=sr(dr,hr,fr,br),$r=sr(hr,fr,br);const Wr=sr(hr);const Lr=rr(/(\d{4})-(\d\d)-(\d\d)/,kr),Zr=rr(mr),zr=sr(hr,fr,br);const Pr="Invalid Duration",Ur={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}},qr={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},...Ur},Rr=365.2425,Yr=30.436875,Hr={years:{quarters:4,months:12,weeks:52.1775,days:Rr,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:Yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Ur},Br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Jr=Br.slice(0).reverse();function Kr(e,t,r=!1){const s={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Xr(s)}function Gr(e,t){let r=t.milliseconds??0;for(const s of Jr.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function Qr(e,t){const r=Gr(e,t)<0?-1:1;Br.reduceRight((s,o)=>{if(mt(t[o]))return s;if(s){const n=t[s]*r,i=e[o][s],a=Math.floor(n/i);t[o]+=a*r,t[s]-=a*i*r}return o},null),Br.reduce((r,s)=>{if(mt(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}class Xr{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?Hr:qr;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Ee.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Xr.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new W("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Xr({values:Ft(e,Xr.normalizeUnit),loc:Ee.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(kt(e))return Xr.fromMillis(e);if(Xr.isDuration(e))return e;if("object"==typeof e)return Xr.fromObject(e);throw new W(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return or(e,[pr,vr])}(e);return r?Xr.fromObject(r,t):Xr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return or(e,[yr,Wr])}(e);return r?Xr.fromObject(r,t):Xr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Duration is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new V(r);return new Xr({invalid:r})}static normalizeUnit(e){const t={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"}[e?e.toLowerCase():e];if(!t)throw new $(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?er.create(this.loc,r).formatDurationFromString(this,e):Pr}toHuman(e={}){if(!this.isValid)return Pr;const t=Br.map(t=>{const r=this.values[t];return mt(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Tt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Rs.fromMillis(t,{zone:"UTC"}).toISOTime(e)}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?Gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Xr.fromDurationLike(e),r={};for(const e of Br)(yt(t.values,e)||yt(this.values,e))&&(r[e]=t.get(e)+this.get(e));return Kr(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Xr.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Vt(e(this.values[r],r));return Kr(this,{values:t},!0)}get(e){return this[Xr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Kr(this,{values:{...this.values,...Ft(e,Xr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Kr(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Qr(this.matrix,e),Kr(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Kr(this,{values:function(e){const t={};for(const[r,s]of Object.entries(e))0!==s&&(t[r]=s);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map(e=>Xr.normalizeUnit(e));const t={},r={},s=this.toObject();let o;for(const n of Br)if(e.indexOf(n)>=0){o=n;let e=0;for(const t in r)e+=this.matrix[t][n]*r[t],r[t]=0;kt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else kt(s[n])&&(r[n]=s[n]);for(const e in r)0!==r[e]&&(t[o]+=e===o?r[e]:r[e]/this.matrix[o][e]);return Qr(this.matrix,t),Kr(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return Kr(this,{values:e},!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(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(const r of Br)if(!t(this.values[r],e.values[r]))return!1;return!0}}const es="Invalid Interval";class ts{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Interval is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new A(r);return new ts({invalid:r})}static fromDateTimes(e,t){const r=Ys(e),s=Ys(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?ts.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:ts.invalid("missing or invalid end"):ts.invalid("missing or invalid start")}(r,s);return null==o?new ts({start:r,end:s}):o}static after(e,t){const r=Xr.fromDurationLike(t),s=Ys(e);return ts.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Xr.fromDurationLike(t),s=Ys(e);return ts.fromDateTimes(s.minus(r),s)}static fromISO(e,t){const[r,s]=(e||"").split("/",2);if(r&&s){let e,o,n,i;try{e=Rs.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=Rs.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return ts.fromDateTimes(e,n);if(o){const r=Xr.fromISO(s,t);if(r.isValid)return ts.after(e,r)}else if(i){const e=Xr.fromISO(r,t);if(e.isValid)return ts.before(n,e)}}return ts.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.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(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const r=this.start.startOf(e,t);let s;return s=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end,s=s.startOf(e,t),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?ts.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Ys).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const e=t[o]||this.e,n=+e>+this.e?this.e:e;r.push(ts.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Xr.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let r,{s}=this,o=1;const n=[];for(;s<this.e;){const e=this.start.plus(t.mapUnits(e=>e*o));r=+e>+this.e?this.e:e,n.push(ts.fromDateTimes(s,r)),s=r,o+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e===+e.s}abutsEnd(e){return!!this.isValid&&+e.e===+this.s}engulfs(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:ts.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return ts.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],o=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),n=Array.prototype.concat(...o).sort((e,t)=>e.time-t.time);for(const e of n)r+="s"===e.type?1:-1,1===r?t=e.time:(t&&+t!==+e.time&&s.push(ts.fromDateTimes(t,e.time)),t=null);return ts.merge(s)}difference(...e){return ts.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:es}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=U,t={}){return this.isValid?er.create(this.s.loc.clone(t),e).formatInterval(this):es}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:es}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:es}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:es}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:es}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Xr.invalid(this.invalidReason)}mapEndpoints(e){return ts.fromDateTimes(e(this.s),e(this.e))}}class rs{static hasDST(e=Ke.defaultZone){const t=Rs.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return be.isValidZone(e)}static normalizeZone(e){return Fe(e,Ke.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ee.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ee.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ee.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ee.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ee.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Ee.create(t,null,"gregory").eras(e)}static features(){return{relative:ht(),localeWeek:ft()}}}function ss(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Xr.fromMillis(s).as("days"))}function os(e,t,r,s){let[o,n,i,a]=function(e,t,r){const s=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const r=ss(e,t);return(r-r%7)/7}],["days",ss]],o={},n=e;let i,a;for(const[c,u]of s)r.indexOf(c)>=0&&(i=c,o[c]=u(e,t),a=n.plus(o),a>t?(o[c]--,(e=n.plus(o))>t&&(a=e,o[c]--,e=n.plus(o))):e=a);return[e,o,a,i]}(e,t,r);const c=t-o,u=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===u.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const l=Xr.fromObject(n,s);return u.length>0?Xr.fromMillis(c,s).shiftTo(...u).plus(l):l}function ns(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);if(-1!==e[r].search($e.hanidec))t+=Le.indexOf(e[r]);else for(const e in We){const[r,o]=We[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const is=`[ ${String.fromCharCode(160)}]`,as=new RegExp(is,"g");function cs(e){return e.replace(/\./g,"\\.?").replace(as,is)}function us(e){return e.replace(/\./g,"").replace(as," ").toLowerCase()}function ls(e,t){return null===e?null:{regex:RegExp(e.map(cs).join("|")),deser:([r])=>e.findIndex(e=>us(r)===us(e))+t}}function ds(e,t){return{regex:e,deser:([,e,t])=>At(e,t),groups:t}}function ms(e){return{regex:e,deser:([e])=>e}}const ks={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 gs=null;function hs(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const r=ys(er.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t)))}class fs{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=hs(er.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const r=ze(t),s=ze(t,"{2}"),o=ze(t,"{3}"),n=ze(t,"{4}"),i=ze(t,"{6}"),a=ze(t,"{1,2}"),c=ze(t,"{1,3}"),u=ze(t,"{1,6}"),l=ze(t,"{1,9}"),d=ze(t,"{2,4}"),m=ze(t,"{4,6}"),k=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},g=(g=>{if(e.literal)return k(g);switch(g.val){case"G":return ls(t.eras("short"),0);case"GG":return ls(t.eras("long"),0);case"y":return ns(u);case"yy":case"kk":return ns(d,Et);case"yyyy":case"kkkk":return ns(n);case"yyyyy":return ns(m);case"yyyyyy":return ns(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ns(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ns(s);case"MMM":return ls(t.months("short",!0),1);case"MMMM":return ls(t.months("long",!0),1);case"LLL":return ls(t.months("short",!1),1);case"LLLL":return ls(t.months("long",!1),1);case"o":case"S":return ns(c);case"ooo":case"SSS":return ns(o);case"u":return ms(l);case"uu":return ms(a);case"uuu":case"E":case"c":return ns(r);case"a":return ls(t.meridiems(),0);case"EEE":return ls(t.weekdays("short",!1),1);case"EEEE":return ls(t.weekdays("long",!1),1);case"ccc":return ls(t.weekdays("short",!0),1);case"cccc":return ls(t.weekdays("long",!0),1);case"Z":case"ZZ":return ds(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return ds(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return ms(/[a-z_+-/]{1,256}?/i);case" ":return ms(/[^\S\n\r]/);default:return k(g)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return g.token=e,g}(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=[`^${(r=this.units).map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"")}$`,r];this.regex=RegExp(e,"i"),this.handlers=t}var r}explainFromTokens(e){if(this.isValid){const[t,r]=function(e,t,r){const s=e.match(t);if(s){const e={};let t=1;for(const o in r)if(yt(r,o)){const n=r[o],i=n.groups?n.groups+1:1;!n.literal&&n.token&&(e[n.token.val[0]]=n.deser(s.slice(t,t+i))),t+=i}return[s,e]}return[s,{}]}(e,this.regex,this.handlers),[s,o,n]=r?function(e){let t,r=null;return mt(e.z)||(r=be.create(e.z)),mt(e.Z)||(r||(r=new Ae(e.Z)),t=e.Z),mt(e.q)||(e.M=3*(e.q-1)+1),mt(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),mt(e.u)||(e.S=xt(e.u)),[Object.keys(e).reduce((t,r)=>{const s=(e=>{switch(e){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}})(r);return s&&(t[s]=e[r]),t},{}),r,t]}(r):[null,null,void 0];if(yt(r,"a")&&yt(r,"H"))throw new F("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:s,zone:o,specificOffset:n}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function bs(e,t,r){return new fs(e,r).explainFromTokens(t)}function ys(e,t){if(!e)return null;const r=er.create(t,e).dtFormatter((gs||(gs=Rs.fromMillis(1555555555555)),gs)),s=r.formatToParts(),o=r.resolvedOptions();return s.map(t=>function(e,t,r){const{type:s,value:o}=e;if("literal"===s){const e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}const n=t[s];let i=s;"hour"===s&&(i=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let a=ks[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o))}const ps="Invalid DateTime",vs=864e13;function ws(e){return new Ge("unsupported zone",`the zone "${e.name}" is not supported`)}function _s(e){return null===e.weekData&&(e.weekData=nt(e.c)),e.weekData}function Ss(e){return null===e.localWeekData&&(e.localWeekData=nt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function xs(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Rs({...r,...t,old:r})}function Ts(e,t,r){let s=e-60*t*1e3;const o=r.offset(s);if(t===o)return[s,t];s-=60*(o-t)*1e3;const n=r.offset(s);return o===n?[s,o]:[e-60*Math.min(o,n)*1e3,Math.max(o,n)]}function Os(e,t){const r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Ns(e,t,r){return Ts(jt(e),t,r)}function Ms(e,t){const r=e.o,s=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),n={...e.c,year:s,month:o,day:Math.min(e.c.day,Mt(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Xr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=jt(n);let[c,u]=Ts(a,r,e.zone);return 0!==i&&(c+=i,u=e.zone.offset(c)),{ts:c,o:u}}function js(e,t,r,s,o,n){const{setZone:i,zone:a}=r;if(e&&0!==Object.keys(e).length||t){const s=t||a,o=Rs.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return Rs.invalid(new Ge("unparsable",`the input "${o}" can't be parsed as ${s}`))}function Is(e,t,r=!0){return e.isValid?er.create(Ee.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Cs(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=wt(e.c.year,r?6:4),t?(s+="-",s+=wt(e.c.month),s+="-",s+=wt(e.c.day)):(s+=wt(e.c.month),s+=wt(e.c.day)),s}function Es(e,t,r,s,o,n){let i=wt(e.c.hour);return t?(i+=":",i+=wt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=wt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=wt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=wt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=wt(Math.trunc(-e.o/60)),i+=":",i+=wt(Math.trunc(-e.o%60))):(i+="+",i+=wt(Math.trunc(e.o/60)),i+=":",i+=wt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const Ds={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},As={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Vs={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Fs=["year","month","day","hour","minute","second","millisecond"],$s=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ws=["year","ordinal","hour","minute","second","millisecond"];function Ls(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={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"}[e.toLowerCase()];if(!t)throw new $(e);return t}(e)}}function Zs(e,t){const r=Fe(t.zone,Ke.defaultZone);if(!r.isValid)return Rs.invalid(ws(r));const s=Ee.fromObject(t);let o,n;if(mt(e.year))o=Ke.now();else{for(const t of Fs)mt(e[t])&&(e[t]=Ds[t]);const t=lt(e)||dt(e);if(t)return Rs.invalid(t);const s=function(e){if(void 0===Us&&(Us=Ke.now()),"iana"!==e.type)return e.offset(Us);const t=e.name;let r=qs.get(t);return void 0===r&&(r=e.offset(Us),qs.set(t,r)),r}(r);[o,n]=Ns(e,s,r)}return new Rs({ts:o,zone:r,loc:s,o:n})}function zs(e,t,r){const s=!!mt(r.round)||r.round,o=(e,o)=>{e=Tt(e,s||r.calendary?0:2,!0);return t.loc.clone(r).relFormatter(r).format(e,o)},n=s=>r.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(r.unit)return o(n(r.unit),r.unit);for(const e of r.units){const t=n(e);if(Math.abs(t)>=1)return o(t,e)}return o(e>t?-0:0,r.units[r.units.length-1])}function Ps(e){let t,r={};return e.length>0&&"object"==typeof e[e.length-1]?(r=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[r,t]}let Us;const qs=new Map;class Rs{constructor(e){const t=e.zone||Ke.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Ge("invalid input"):null)||(t.isValid?null:ws(t));this.ts=mt(e.ts)?Ke.now():e.ts;let s=null,o=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,o]=[e.old.c,e.old.o];else{const n=kt(e.o)&&!e.old?e.o:t.offset(this.ts);s=Os(this.ts,n),r=Number.isNaN(s.year)?new Ge("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||Ee.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Rs({})}static local(){const[e,t]=Ps(arguments),[r,s,o,n,i,a,c]=t;return Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=Ps(arguments),[r,s,o,n,i,a,c]=t;return e.zone=Ae.utcInstance,Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static fromJSDate(e,t={}){const r=(s=e,"[object Date]"===Object.prototype.toString.call(s)?e.valueOf():NaN);var s;if(Number.isNaN(r))return Rs.invalid("invalid input");const o=Fe(t.zone,Ke.defaultZone);return o.isValid?new Rs({ts:r,zone:o,loc:Ee.fromObject(t)}):Rs.invalid(ws(o))}static fromMillis(e,t={}){if(kt(e))return e<-vs||e>vs?Rs.invalid("Timestamp out of range"):new Rs({ts:e,zone:Fe(t.zone,Ke.defaultZone),loc:Ee.fromObject(t)});throw new W(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(kt(e))return new Rs({ts:1e3*e,zone:Fe(t.zone,Ke.defaultZone),loc:Ee.fromObject(t)});throw new W("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=Fe(t.zone,Ke.defaultZone);if(!r.isValid)return Rs.invalid(ws(r));const s=Ee.fromObject(t),o=Ft(e,Ls),{minDaysInFirstWeek:n,startOfWeek:i}=ut(o,s),a=Ke.now(),c=mt(t.specificOffset)?r.offset(a):t.specificOffset,u=!mt(o.ordinal),l=!mt(o.year),d=!mt(o.month)||!mt(o.day),m=l||d,k=o.weekYear||o.weekNumber;if((m||u)&&k)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&u)throw new F("Can't mix ordinal dates with month/day");const g=k||o.weekday&&!m;let h,f,b=Os(a,c);g?(h=$s,f=As,b=nt(b,n,i)):u?(h=Ws,f=Vs,b=at(b)):(h=Fs,f=Ds);let y=!1;for(const e of h){mt(o[e])?o[e]=y?f[e]:b[e]:y=!0}const p=g?function(e,t=4,r=1){const s=gt(e.weekYear),o=vt(e.weekNumber,1,Ct(e.weekYear,t,r)),n=vt(e.weekday,1,7);return s?o?!n&&et("weekday",e.weekday):et("week",e.weekNumber):et("weekYear",e.weekYear)}(o,n,i):u?function(e){const t=gt(e.year),r=vt(e.ordinal,1,Nt(e.year));return t?!r&&et("ordinal",e.ordinal):et("year",e.year)}(o):lt(o),v=p||dt(o);if(v)return Rs.invalid(v);const w=g?it(o,n,i):u?ct(o):o,[_,S]=Ns(w,c,r),x=new Rs({ts:_,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?Rs.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:Rs.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return or(e,[Ir,Ar],[Cr,Vr],[Er,Fr],[Dr,$r])}(e);return js(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return or(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Sr,xr])}(e);return js(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return or(e,[Tr,Mr],[Or,Mr],[Nr,jr])}(e);return js(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(mt(e)||mt(t))throw new W("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,u]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=bs(e,t,r);return[s,o,n,i]}(n,e,t);return u?Rs.invalid(u):js(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return Rs.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return or(e,[Lr,Ar],[Zr,zr])}(e);return js(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the DateTime is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new D(r);return new Rs({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=ys(e,Ee.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return hs(er.parseFormat(e),Ee.fromObject(t)).map(e=>e.val).join("")}static resetCache(){Us=void 0,qs.clear()}get(e){return this[e]}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?_s(this).weekYear:NaN}get weekNumber(){return this.isValid?_s(this).weekNumber:NaN}get weekday(){return this.isValid?_s(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ss(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ss(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ss(this).weekYear:NaN}get ordinal(){return this.isValid?at(this.c).ordinal:NaN}get monthShort(){return this.isValid?rs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rs.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 e=864e5,t=6e4,r=jt(this.c),s=this.zone.offset(r-e),o=this.zone.offset(r+e),n=this.zone.offset(r-s*t),i=this.zone.offset(r-o*t);if(n===i)return[this];const a=r-n*t,c=r-i*t,u=Os(a,n),l=Os(c,i);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[xs(this,{ts:a}),xs(this,{ts:c})]:[this]}get isInLeapYear(){return Ot(this.year)}get daysInMonth(){return Mt(this.year,this.month)}get daysInYear(){return this.isValid?Nt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ct(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ct(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=er.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Ae.instance(e),t)}toLocal(){return this.setZone(Ke.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=Fe(e,Ke.defaultZone)).equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const t=e.offset(this.ts),r=this.toObject();[s]=Ns(r,t,e)}return xs(this,{ts:s,zone:e})}return Rs.invalid(ws(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return xs(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ft(e,Ls),{minDaysInFirstWeek:r,startOfWeek:s}=ut(t,this.loc),o=!mt(t.weekYear)||!mt(t.weekNumber)||!mt(t.weekday),n=!mt(t.ordinal),i=!mt(t.year),a=!mt(t.month)||!mt(t.day),c=i||a,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new F("Can't mix ordinal dates with month/day");let l;o?l=it({...nt(this.c,r,s),...t},r,s):mt(t.ordinal)?(l={...this.toObject(),...t},mt(t.day)&&(l.day=Math.min(Mt(l.year,l.month),l.day))):l=ct({...at(this.c),...t});const[d,m]=Ns(l,this.o,this.zone);return xs(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return xs(this,Ms(this,Xr.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return xs(this,Ms(this,Xr.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Xr.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===s)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;if("quarters"===s){const e=Math.ceil(this.month/3);r.month=3*(e-1)+1}return this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?er.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):ps}toLocaleString(e=U,t={}){return this.isValid?er.create(this.loc.clone(t),e).formatDateTime(this):ps}toLocaleParts(e={}){return this.isValid?er.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const n="extended"===e;let i=Cs(this,n);return i+="T",i+=Es(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?Cs(this,"extended"===e):null}toISOWeekDate(){return Is(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:n="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Es(this,"extended"===n,t,e,r,o)}toRFC2822(){return Is(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Is(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Cs(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(r&&(s+=" "),t?s+="z":e&&(s+="ZZ")),Is(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ps}[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(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return Xr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=(a=t,Array.isArray(a)?a:[a]).map(Xr.normalizeUnit),n=e.valueOf()>this.valueOf(),i=os(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(Rs.now(),e,t)}until(e){return this.isValid?ts.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,r)<=s&&s<=o.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Rs.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),zs(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?zs(e.base||Rs.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Rs.isDateTime))throw new W("min requires all arguments be DateTimes");return bt(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(Rs.isDateTime))throw new W("max requires all arguments be DateTimes");return bt(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return bs(Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return Rs.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=Ee.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new fs(o,e)}static fromFormatParser(e,t,r={}){if(mt(e)||mt(t))throw new W("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new W(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?Rs.invalid(u):js(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return U}static get DATE_MED(){return q}static get DATE_MED_WITH_WEEKDAY(){return R}static get DATE_FULL(){return Y}static get DATE_HUGE(){return H}static get TIME_SIMPLE(){return B}static get TIME_WITH_SECONDS(){return J}static get TIME_WITH_SHORT_OFFSET(){return K}static get TIME_WITH_LONG_OFFSET(){return G}static get TIME_24_SIMPLE(){return Q}static get TIME_24_WITH_SECONDS(){return X}static get TIME_24_WITH_SHORT_OFFSET(){return ee}static get TIME_24_WITH_LONG_OFFSET(){return te}static get DATETIME_SHORT(){return re}static get DATETIME_SHORT_WITH_SECONDS(){return se}static get DATETIME_MED(){return oe}static get DATETIME_MED_WITH_SECONDS(){return ne}static get DATETIME_MED_WITH_WEEKDAY(){return ie}static get DATETIME_FULL(){return ae}static get DATETIME_FULL_WITH_SECONDS(){return ce}static get DATETIME_HUGE(){return ue}static get DATETIME_HUGE_WITH_SECONDS(){return le}}function Ys(e){if(Rs.isDateTime(e))return e;if(e&&e.valueOf&&kt(e.valueOf()))return Rs.fromJSDate(e);if(e&&"object"==typeof e)return Rs.fromObject(e);throw new W(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Hs(e={},t){if(void 0!==e.dateTimeFormat&&"function"!=typeof e.dateTimeFormat)throw new o.CKEditorError("invalid-date-time-format");return r=>{const s="string"==typeof r?Rs.fromISO(r):Rs.fromJSDate(r),o=Rs.now(),n=Math.floor(o.diff(s,"days").days);return e.dateTimeFormat?e.dateTimeFormat(s.toJSDate(),t&&t.t?t.t:void 0):0===n?t?`${i(t,"Today")} ${s.toFormat("hh:mma")}`:s.toFormat("'Today' hh:mma"):1===n?t?`${i(t,"Yesterday")} ${s.toFormat("hh:mma")}`:s.toFormat("'Yesterday' hh:mma"):n<7?t?`${i(t,"Last")} ${i(t,s.toFormat("EEEE"))} ${s.toFormat("hh:mma")}`:s.toFormat("'Last' EEEE hh:mma"):s.toFormat("LL-dd-yyyy hh:mma")}}function Bs(e,t){const r=e.mapper.markerNameToElements(t.name);if(!r)return null;const s=(0,o.first)(r.values());return e.view.domConverter.mapViewToDom(s)||null}function Js(e,t){if(0===t.length)return null;const r=[],s=e.view.domConverter;for(const o of t){const t=e.mapper.markerNameToElements(o.name);if(!t)continue;const n=Array.from(t).map(e=>s.mapViewToDom(e)).filter(e=>!!e);r.push(...n)}if(0===r.length)return null;const o=[];for(const e of r){const t=e.getClientRects().item(0);t&&o.push({x:t.x,y:t.y,domElement:e})}return 0===o.length?null:(o.sort((e,t)=>e.y-t.y||e.x-t.x),o.map(e=>e.domElement))}function Ks(e,{limit:t,suffix:r="..."}){const s=[];let o=0;const n=e.replace(/</g,"\n<").replace(/>/g,">\n").replace(/^\n/g,"").replace(/\n$/g,"").split("\n");for(let e=0;e<n.length;e++){let i=n[e];const a=Gs(i);if(i.startsWith("<")){if(o>=t){const t=i.match(/[a-zA-Z]+/);if(!t){n[e]="";continue}const r=t[0];i.startsWith("</")?(s.length&&(i=""),s.pop()):(s.push(r),i="")}}else if(o>=t)i="";else if(o+a.length>=t){let e=t-o;if(" "===a[e-1])e--;else{const t=a.slice(e).indexOf(" ");-1!==t?e+=t:e=i.length}i=a.slice(0,e).join("")+r,o=t}else o+=a.length;n[e]=i}return n.join("\n").replace(/\n/g,"")}function Gs(e){const t=[];for(let r=0;r<e.length;r++){const s=e.substring(r).match(/^&[a-z0-9#]+;/);if(s){const e=s[0];t.push(e),r+=e.length-1}else t.push(e[r])}return t}class Qs extends S.View{submitView;cancelView;focusTracker;keystrokes;focusCycler;focusables;constructor(e){super(e);const t=this.bindTemplate;this.set("message",i(e,"Are you sure?")),this.submitView=this._createButtonView(e,i(e,"Yes"),x.IconCheck,"submit"),this.cancelView=this._createButtonView(e,i(e,"No"),x.IconCancel,"cancel"),this.focusables=this.createCollection([this.submitView,this.cancelView]),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.focusCycler=new S.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift+tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-thread__remove-confirm"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-thread__remove-confirm-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-thread__remove-confirm-actions"},children:[this.submitView,this.cancelView]}]}]})}render(){super.render(),this._setupKeyboardNavigation()}focus(){this.cancelView.element.focus({preventScroll:!0})}_createButtonView(e,t,r,s){const o=new S.ButtonView(e);return o.label=t,o.icon=r,o.extendTemplate({attributes:{class:`ck-thread__remove-confirm-${s}`}}),o.on("execute",()=>this.fire(s)),o}_setupKeyboardNavigation(){this.focusables.forEach(e=>{this.keystrokes.listenTo(e.element),this.focusTracker.add(e.element)}),this.keystrokes.set("esc",(e,t)=>{this.fire("cancel"),t()})}}function Xs(e){return class extends e{showConfirm(e,t){return this.confirmView=new Qs(this.locale),this.confirmView.render(),this.confirmView.message=e,this.confirmView.once("cancel",()=>{this._removeConfirm()}),this.confirmView.once("submit",()=>{this._removeConfirm()}),t.appendChild(this.confirmView.element),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),new Promise(e=>this.confirmView.on("submit",e))}cancelConfirm(){this.isConfirm&&this.confirmView.fire("cancel")}_removeConfirm(){this.element&&this.confirmView&&this.confirmView.element&&(this.element.focus(),this.confirmView.element.remove(),this.deregisterChild(this.confirmView),this.isConfirm=!1,this.fire("removeConfirm"),this.confirmView.destroy(),this.confirmView=void 0)}}}function eo(e){let t=0,r=0;for(const s of ro(e))t=(t<<5)-t+s,t&=t,[t,r]=[r,t];return no(t)+no(r)}function*to(e){null==e||null==e?yield 314159265:0===e||!1===e?yield 0:1===e||1==e?yield 1:Array.isArray(e)?yield*function*(e){for(const t of e)yield*to(t)}(e):"object"==typeof e?yield*ro(e):"string"==typeof e?yield*so(e):"number"==typeof e&&(yield e)}function*ro(e){if(yield oo("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*so(r),yield oo(":");const t=e[r];yield*to(t)}}yield oo("}")}function*so(e){yield oo('"');for(const t of e)yield oo(t);yield oo('"')}function oo(e){return e.charCodeAt(0)}function no(e){return(e*=Math.sign(e)).toString(36)}const io=["initialData","context","toolbar","rootsAttributes"],ao=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function co(e,t,r,s=[]){const o="string"==typeof e?r.get(e).constructor:e.prototype.constructor;if(t.has(o))return t.get(o);t.set(o,!0);const n=[...ao,...s].map(e=>{if(r.has(e))return r.get(e).constructor}).filter(e=>e);if(o&&n.includes(o))return t.set(o,!1),!1;if(!o.requires)return t.set(o,!0),!0;const i=o.requires.every(e=>co(e,t,r,s));return t.set(o,i),i}function uo(e,t){const r={};for(const t of e.config.names())io.includes(t)||(r[t]=e.config.get(t));const s=r.plugins||[],o=e.constructor.builtinPlugins||[],n=s.length?s:o,i=r.extraPlugins||[];delete r.extraPlugins;const a=r.removePlugins||[];delete r.removePlugins;const c=e._context.config.get("plugins")||[],u=n.concat(i).concat(c).map(e=>"string"==typeof e?o.find(t=>t.pluginName==e):e).filter(e=>!a.includes(e)&&!a.includes(e.pluginName)),l=Array.from(new Set(u)),d=new Map;return r.plugins=l.filter(r=>co(r,d,e.plugins,t)),r}function lo(e,t){const r=[];e.document.selection.on("change:range",()=>{const s=function(e,t){const r=[];for(const s of e.markers){const e=s.getRange();(e.containsPosition(t)||e.start.isEqual(t)||e.end.isEqual(t))&&r.push(s)}return r}(e,e.document.selection.focus),o=[],n=[],i=[];for(const e of r)s.includes(e)||o.push(e);for(const e of s)r.includes(e)||n.push(e),i.push(e);(o.length||n.length)&&t({left:o,entered:n}),r.length=0,r.push(...i)})}const mo="Ctrl+Shift+E";function ko(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)go(e,r);t.on("change",(t,r)=>{for(const t of r.removed)ho(e,t);for(const t of Array.from(r.added).reverse())go(e,t)}),e.keystrokes.set("enter",(t,s)=>{r===t.target&&(e.focusCycler.focusFirst(),s())},{filter:e=>e.target===r}),e.keystrokes.set("esc",(t,s)=>{r!==t.target?e.focus():e.fire("escape"),s()}),e.keystrokes.set("arrowdown",(t,s)=>{r===t.target&&(e.fire("arrowdown"),s())}),e.keystrokes.set("arrowup",(t,s)=>{r===t.target&&(e.fire("arrowup"),s())})}function go(e,t){t.isRendered&&(e.focusTracker.add(t.element),e.keystrokes.listenTo(t.element),(0,S.isViewWithFocusCycler)(t)&&function(e,t){const r=e.actions,s=t.actions;for(const e of Object.keys(r))if(e in s&&r[e]!==s[e])return!1;return!0}(e.focusCycler,t.focusCycler)&&e.focusCycler.chain(t.focusCycler))}function ho(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,S.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var fo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),bo={attributes:{"data-cke":!0}};bo.setAttributes=g(),bo.insert=m().bind(null,"head"),bo.domAPI=l(),bo.insertStyleElement=f();c()(fo.A,bo);fo.A&&fo.A.locals&&fo.A.locals;var yo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),po={attributes:{"data-cke":!0}};po.setAttributes=g(),po.insert=m().bind(null,"head"),po.domAPI=l(),po.insertStyleElement=f();c()(yo.A,po);yo.A&&yo.A.locals&&yo.A.locals;var vo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),wo={attributes:{"data-cke":!0}};wo.setAttributes=g(),wo.insert=m().bind(null,"head"),wo.domAPI=l(),wo.insertStyleElement=f();c()(vo.A,wo);vo.A&&vo.A.locals&&vo.A.locals;var _o=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),So={attributes:{"data-cke":!0}};So.setAttributes=g(),So.insert=m().bind(null,"head"),So.domAPI=l(),So.insertStyleElement=f();c()(_o.A,So);_o.A&&_o.A.locals&&_o.A.locals;var xo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),To={attributes:{"data-cke":!0}};To.setAttributes=g(),To.insert=m().bind(null,"head"),To.domAPI=l(),To.insertStyleElement=f();c()(xo.A,To);xo.A&&xo.A.locals&&xo.A.locals;var Oo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),No={attributes:{"data-cke":!0}};No.setAttributes=g(),No.insert=m().bind(null,"head"),No.domAPI=l(),No.insertStyleElement=f();c()(Oo.A,No);Oo.A&&Oo.A.locals&&Oo.A.locals;var Mo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),jo={attributes:{"data-cke":!0}};jo.setAttributes=g(),jo.insert=m().bind(null,"head"),jo.domAPI=l(),jo.insertStyleElement=f();c()(Mo.A,jo);Mo.A&&Mo.A.locals&&Mo.A.locals;var Io=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=g(),Co.insert=m().bind(null,"head"),Co.domAPI=l(),Co.insertStyleElement=f();c()(Io.A,Co);Io.A&&Io.A.locals&&Io.A.locals;var Eo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),Do={attributes:{"data-cke":!0}};Do.setAttributes=g(),Do.insert=m().bind(null,"head"),Do.domAPI=l(),Do.insertStyleElement=f();c()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Ao=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),Vo={attributes:{"data-cke":!0}};Vo.setAttributes=g(),Vo.insert=m().bind(null,"head"),Vo.domAPI=l(),Vo.insertStyleElement=f();c()(Ao.A,Vo);Ao.A&&Ao.A.locals&&Ao.A.locals;function Fo(e,t){var r=$o();return(Fo=function(e,t){return r[e-=374]})(e,t)}function $o(){var e=["3863070ykcniK","41889648SkcxsG","120027uwwdiW","8785390eQvDhZ","715pLQRvk","12LkgZcx","582BBiMAH","8VdxtlG","47383XLQCac","18zipWvw","221230JVFQWs","641428ExRDtK"];return($o=function(){return e})()}!function(e){for(var t=Fo,r=e();;)try{if(931579===-parseInt(t(382))/1*(-parseInt(t(377))/2)+parseInt(t(385))/3*(parseInt(t(379))/4)+-parseInt(t(383))/5+parseInt(t(374))/6*(-parseInt(t(376))/7)+parseInt(t(375))/8*(-parseInt(t(380))/9)+parseInt(t(378))/10*(-parseInt(t(384))/11)+parseInt(t(381))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}}($o)},"?7cdd":(e,t,r)=>{e.exports=r},"ckeditor5/src/core.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/core.js")},"ckeditor5/src/icons.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/icons.js")},"ckeditor5/src/ui.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/ui.js")},"ckeditor5/src/utils.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/utils.js")},"data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E":e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"},"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,r),n.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.b=document.baseURI||self.location.href;var s=r("?7cdd");(window.CKEditor5=window.CKEditor5||{}).collaborationDll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["collaboration-core"];for(const r of t){const t=r.replace(/-([a-z])/g,(e,t)=>t.toUpperCase());e.CKEditor5[t]=e.CKEditor5.collaborationDll(`./src/${r}.js`)}}(window);
|
|
5
|
+
*/(()=>{var e={"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-aria-description{display:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active,.ck-content .ck-widget.table>table>caption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption,.ck-content .ck-suggestion-marker-insertion.table>table>caption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>caption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>caption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>caption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0;overflow:hidden}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const a=i},"../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var s=r("../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../../../node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../../../node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),u=new URL(r("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"),r.b),l=i()(o()),d=c()(u);l.push([e.id,`:root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(${d});display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}`,""]);const m=l},"../../../../node_modules/css-loader/dist/runtime/api.js":e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",s=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),s&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),s&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,s,o,n){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);s&&i[l[0]]||(void 0!==n&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=n),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},"../../../../node_modules/css-loader/dist/runtime/getUrl.js":e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":e=>{"use strict";var t=[];function r(e){for(var r=-1,s=0;s<t.length;s++)if(t[s].identifier===e){r=s;break}return r}function s(e,s){for(var n={},i=[],a=0;a<e.length;a++){var c=e[a],u=s.base?c[0]+s.base:c[0],l=n[u]||0,d="".concat(u," ").concat(l);n[u]=l+1;var m=r(d),k={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(k);else{var g=o(k,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:g,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);r.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var n=s(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<n.length;i++){var a=r(n[i]);t[a].references--}for(var c=s(e,o),u=0;u<n.length;u++){var l=r(n[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}n=c}}},"../../../../node_modules/style-loader/dist/runtime/insertBySelector.js":e=>{"use strict";var t={};e.exports=function(e,r){var s=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(r)}},"../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js":e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js":e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}},"../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js":e=>{"use strict";var t,r=(t=[],function(e,r){return t[e]=r,t.filter(Boolean).join("\n")});function s(e,t,s,o){var n;if(s)n="";else{n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,i&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=r(t,n);else{var a=document.createTextNode(n),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var o={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=o.singletonCounter++,r=o.singleton||(o.singleton=e.insertStyleElement(e));return{update:function(e){s(r,t,!1,e)},remove:function(e){s(r,t,!0,e)}}}},"./src/collaboration-core.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{AriaDescriptionView:()=>M,ConfirmMixin:()=>Xs,FOCUS_ANNOTATION_KEYSTROKE:()=>mo,LateFocusButtonView:()=>j,LateFocusDropdownButtonView:()=>I,Permissions:()=>n,UserView:()=>N,Users:()=>p,getAllMarkersDomElementsSorted:()=>Js,getDateTimeFormatter:()=>Hs,getMarkerDomElement:()=>Bs,hashObject:()=>eo,sanitizeEditorConfig:()=>uo,setupThreadKeyboardNavigation:()=>ko,surroundingMarkersDetector:()=>lo,trimHtml:()=>Ks});var s=r("ckeditor5/src/core.js"),o=r("ckeditor5/src/utils.js");class n extends s.ContextPlugin{static get pluginName(){return"Permissions"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}setPermissions(e,t){let r;if(t||(t=this.context.config.get("collaboration.channelId")),this.context.config.get("collaboration.channelId")==t?r=this.context:"editors"in this.context&&this.context.editors&&(r=this.context.editors.find(e=>e.config.get("collaboration.channelId")==t)),!r)throw new o.CKEditorError("permissions-set-permissions-invalid-channel-id",null);const n=r.plugins,i=n.has("CommentsRepository")?n.get("CommentsRepository"):void 0,a=n.has("CommentsOnly")&&n.get("CommentsOnly"),c=e.includes("document:write"),u=e.includes("comment:modify_all"),l=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||l,k=m||u,g=c||m;if(a&&(a.isEnabled=!c&&k),r instanceof s.Editor){!(c||k&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:l,modifyAll:u,write:d,resolve:g},t);const e=r instanceof s.Editor&&r.commands.get("addCommentThread");e&&(m?e.clearForceDisabled("noPermissions"):e.forceDisabled("noPermissions"))}}}function i(e,t){const r=e.t;switch(t){case"Anonymous":return r("Anonymous");case"Yes":return r("Yes");case"No":return r("No");case"Are you sure?":return r("Are you sure?");case"Today":return r("Today");case"Yesterday":return r("Yesterday");case"Last":return r("Last");case"Monday":return r("Monday");case"Tuesday":return r("Tuesday");case"Wednesday":return r("Wednesday");case"Thursday":return r("Thursday");case"Friday":return r("Friday");case"Saturday":return r("Saturday");case"Sunday":return r("Sunday");default:return""}}var a=r("../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),u=r("../../../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),l=r.n(u),d=r("../../../../node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),k=r("../../../../node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),g=r.n(k),h=r("../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(h),b=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),y={attributes:{"data-cke":!0}};y.setAttributes=g(),y.insert=m().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=f();c()(b.A,y);b.A&&b.A.locals&&b.A.locals;class p extends s.ContextPlugin{users;_lastColor;_myId;_locale;static get pluginName(){return"Users"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}static get requires(){return[n]}constructor(e){super(e),this.context.config.define("users.anonymousUserId","anonymous-user"),this.context.config.define("users.colorsCount",8),this.users=new o.Collection,this._locale=e.locale,this._lastColor=0,this._myId=null,this.decorate("getOperationAuthor")}init(){this._addAnonymousUser()}get me(){return null==this._myId?null:this.getUser(this._myId)}addUser({id:e,name:t,...r}){if(!e||"string"!=typeof e)throw new o.CKEditorError("users-add-invalid-id");if(this.users.has(e))throw new o.CKEditorError("users-add-duplicated-id",null,{id:e});const s=this.context.config.get("users.getInitialsCallback"),n={...r,id:e,name:w(this._locale,t),color:this._getNextColor()};n.name=w(this._locale,n.name);const i=new v(n,s);return this.users.add(i),i}getUser(e){return this.users.get(e)}useAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this._myId||this.defineMe(e)}defineMe(e){if(this._myId)throw new o.CKEditorError("users-me-already-defined",null);const t=this.getUser(e);if(!t)throw new o.CKEditorError("users-me-missing-user",null);this._myId=e,t._isMe=!0}getOperationAuthor(){return this.me}_getNextColor(){const e=this.context.config.get("users.colorsCount");return this._lastColor>=e&&(this._lastColor=0),new _(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class v{id;color;name;initials;avatar;_isMe;_isAnonymous;constructor(e,t){this.id=e.id,this.color=e.color,this.name=e.name,this.initials=t?t(this.name):this._computeInitials(),this.avatar=e.avatar,this._isAnonymous=!1,this._isMe=!1}get isAnonymous(){return this._isAnonymous}get isMe(){return this._isMe}_computeInitials(){const e=this.name.split(" ").filter(e=>/^[\p{Letter}]/u.test(e));return 1===e.length?this._getInitial(e[0]):0===e.length?this._getInitial(this.name):this._getInitial(e[0])+this._getInitial(e[e.length-1])}_getInitial(e){return String.fromCodePoint(e.codePointAt(0)).toUpperCase()}}function w(e,t=""){return""==(t=t.trim())?i(e,"Anonymous"):t}class _{_id;constructor(e){this._id=e}get id(){return this._id}getBackgroundColorClass(){return`ck-user__bg-color--${this.id}`}getSelectionClass(){return`ck-user__selection--${this.id}`}getMarkerClass(){return`ck-user__marker--${this.id}`}}var S=r("ckeditor5/src/ui.js"),x=r("ckeditor5/src/icons.js"),T=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),O={attributes:{"data-cke":!0}};O.setAttributes=g(),O.insert=m().bind(null,"head"),O.domAPI=l(),O.insertStyleElement=f();c()(T.A,O);T.A&&T.A.locals&&T.A.locals;class N extends S.View{name;notificationView;constructor(e,t,r){super(e),this.name=t.name,this.notificationView=null;const s=["ck","ck-user"],o=["ck","ck-user__img"];if(t.isAnonymous&&o.push("ck-user__anonymous"),!t.isAnonymous&&t.isMe&&s.push("ck-user_me"),t.avatar&&o.push("ck-user__avatar"),r){const e=new S.IconView;e.extendTemplate({attributes:{class:["ck-user__icon"]}}),e.content=x.IconNotification,this.notificationView={tag:"div",attributes:{class:["ck","ck-user__notification"],"data-cke-tooltip-position":"n","data-cke-tooltip-text":r},children:[e]}}const n=[{tag:"div",attributes:{class:o,style:{"background-image":t.avatar?`url('${t.avatar}')`:""}}},{tag:"div",attributes:{class:t.avatar?"ck ck-user__name ck-user__name--hidden":"ck ck-user__name","aria-label":t.name},children:[{text:t.initials}]}];this.notificationView&&n.push(this.notificationView),this.setTemplate({tag:"div",attributes:{class:s,"data-user-id":t.id},children:n})}}class M extends S.View{id;constructor(e,t){super(e),this.id=`ck-aria-description-${(0,o.uid)()}`,this.setTemplate({tag:"span",attributes:{class:["ck","ck-aria-description"],id:this.id},children:[{text:t}]})}}class j extends S.ButtonView{render(){super.render(),C(this)}}class I extends S.DropdownButtonView{render(){super.render(),C(this)}}function C(e){e.listenTo(e.element,"mousedown",(e,t)=>{t.stopPropagation(),t.preventDefault()}),e.listenTo(e.element,"mouseup",()=>{e.element.focus()})}class E extends Error{}class D extends E{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class A extends E{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class V extends E{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class F extends E{}class $ extends E{constructor(e){super(`Invalid unit ${e}`)}}class W extends E{}class L extends E{constructor(){super("Zone is an abstract class")}}const Z="numeric",z="short",P="long",U={year:Z,month:Z,day:Z},q={year:Z,month:z,day:Z},R={year:Z,month:z,day:Z,weekday:z},Y={year:Z,month:P,day:Z},H={year:Z,month:P,day:Z,weekday:P},B={hour:Z,minute:Z},J={hour:Z,minute:Z,second:Z},K={hour:Z,minute:Z,second:Z,timeZoneName:z},G={hour:Z,minute:Z,second:Z,timeZoneName:P},Q={hour:Z,minute:Z,hourCycle:"h23"},X={hour:Z,minute:Z,second:Z,hourCycle:"h23"},ee={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:z},te={hour:Z,minute:Z,second:Z,hourCycle:"h23",timeZoneName:P},re={year:Z,month:Z,day:Z,hour:Z,minute:Z},se={year:Z,month:Z,day:Z,hour:Z,minute:Z,second:Z},oe={year:Z,month:z,day:Z,hour:Z,minute:Z},ne={year:Z,month:z,day:Z,hour:Z,minute:Z,second:Z},ie={year:Z,month:z,day:Z,weekday:z,hour:Z,minute:Z},ae={year:Z,month:P,day:Z,hour:Z,minute:Z,timeZoneName:z},ce={year:Z,month:P,day:Z,hour:Z,minute:Z,second:Z,timeZoneName:z},ue={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,timeZoneName:P},le={year:Z,month:P,day:Z,weekday:P,hour:Z,minute:Z,second:Z,timeZoneName:P};class de{get type(){throw new L}get name(){throw new L}get ianaName(){return this.name}get isUniversal(){throw new L}offsetName(e,t){throw new L}formatOffset(e,t){throw new L}offset(e){throw new L}equals(e){throw new L}get isValid(){throw new L}}let me=null;class ke extends de{static get instance(){return null===me&&(me=new ke),me}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Dt(e,t,r)}formatOffset(e,t){return $t(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const ge=new Map;const he={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const fe=new Map;class be extends de{static create(e){let t=fe.get(e);return void 0===t&&fe.set(e,t=new be(e)),t}static resetCache(){fe.clear(),ge.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=be.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Dt(e,t,r,this.name)}formatOffset(e,t){return $t(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const r=function(e){let t=ge.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),ge.set(e,t)),t}(this.name);let[s,o,n,i,a,c,u]=r.formatToParts?function(e,t){const r=e.formatToParts(t),s=[];for(let e=0;e<r.length;e++){const{type:t,value:o}=r[e],n=he[t];"era"===t?s[n]=o:mt(n)||(s[n]=parseInt(o,10))}return s}(r,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,n,i,a,c,u,l]=s;return[i,o,n,a,c,u,l]}(r,t);"BC"===i&&(s=1-Math.abs(s));let l=+t;const d=l%1e3;return l-=d>=0?d:1e3+d,(jt({year:s,month:o,day:n,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let ye={};const pe=new Map;function ve(e,t={}){const r=JSON.stringify([e,t]);let s=pe.get(r);return void 0===s&&(s=new Intl.DateTimeFormat(e,t),pe.set(r,s)),s}const we=new Map;const _e=new Map;let Se=null;const xe=new Map;function Te(e){let t=xe.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),xe.set(e,t)),t}const Oe=new Map;function Ne(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class Me{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...n}=r;if(!t||Object.keys(n).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){const r=JSON.stringify([e,t]);let s=we.get(r);return void 0===s&&(s=new Intl.NumberFormat(e,t),we.set(r,s)),s}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return wt(this.floor?Math.floor(e):Tt(e,3),this.padTo)}}class je{constructor(e,t,r){let s;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&be.create(r).valid?(s=r,this.dt=e):(s="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=ve(t,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ie{constructor(e,t,r){this.opts={style:"long",...r},!t&&ht()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=_e.get(o);return void 0===n&&(n=new Intl.RelativeTimeFormat(e,t),_e.set(o,n)),n}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",s=!1){const o={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."]},n=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&n){const r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${o[e][0]}`;case-1:return r?"yesterday":`last ${o[e][0]}`;case 0:return r?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),c=1===a,u=o[e],l=s?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return i?`${a} ${l} ago`:`in ${a} ${l}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Ce={firstDay:1,minimalDays:4,weekend:[6,7]};class Ee{static fromOpts(e){return Ee.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||Ke.defaultLocale,i=n||(o?"en-US":Se||(Se=(new Intl.DateTimeFormat).resolvedOptions().locale,Se)),a=t||Ke.defaultNumberingSystem,c=r||Ke.defaultOutputCalendar,u=pt(s)||Ke.defaultWeekSettings;return new Ee(i,a,c,u,n)}static resetCache(){Se=null,pe.clear(),we.clear(),_e.clear(),xe.clear(),Oe.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return Ee.create(e,t,r,s)}constructor(e,t,r,s,o){const[n,i,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(-1===r)return[e];{let t,s;try{t=ve(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=ve(n).resolvedOptions(),s=n}const{numberingSystem:o,calendar:n}=t;return[s,o,n]}}(e);this.locale=n,this.numberingSystem=t||i||null,this.outputCalendar=r||a||null,this.weekSettings=s,this.intl=function(e,t,r){return r||t?(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===Te(e.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Ee.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,pt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Ne(this,e,Pt,()=>{const r=t?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=function(e){const t=[];for(let r=1;r<=12;r++){const s=Rs.utc(2009,r,1);t.push(e(s))}return t}(e=>this.extract(e,r,"month"))),this.monthsCache[s][e]})}weekdays(e,t=!1){return Ne(this,e,Yt,()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=function(e){const t=[];for(let r=1;r<=7;r++){const s=Rs.utc(2016,11,13+r);t.push(e(s))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Ne(this,void 0,()=>Ht,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Rs.utc(2016,11,13,9),Rs.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ne(this,e,Gt,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Rs.utc(-40,1,1),Rs.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){const s=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return s?s.value:null}numberFormatter(e={}){return new Me(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new je(e,this.intl,t)}relFormatter(e={}){return new Ie(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=ye[r];return s||(s=new Intl.ListFormat(e,t),ye[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Te(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:ft()?function(e){let t=Oe.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...Ce,...t}),Oe.set(e,t)}return t}(this.locale):Ce}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let De=null;class Ae extends de{static get utcInstance(){return null===De&&(De=new Ae(0)),De}static instance(e){return 0===e?Ae.utcInstance:new Ae(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Ae(At(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$t(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$t(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return $t(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class Ve extends de{constructor(e){super(),this.zoneName=e}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 Fe(e,t){if(mt(e)||null===e)return t;if(e instanceof de)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?ke.instance:"utc"===r||"gmt"===r?Ae.utcInstance:Ae.parseSpecifier(r)||be.create(e)}return kt(e)?Ae.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new Ve(e)}const $e={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},We={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]},Le=$e.hanidec.replace(/[\[|\]]/g,"").split("");const Ze=new Map;function ze({numberingSystem:e},t=""){const r=e||"latn";let s=Ze.get(r);void 0===s&&(s=new Map,Ze.set(r,s));let o=s.get(t);return void 0===o&&(o=new RegExp(`${$e[r]}${t}`),s.set(t,o)),o}let Pe,Ue=()=>Date.now(),qe="system",Re=null,Ye=null,He=null,Be=60,Je=null;class Ke{static get now(){return Ue}static set now(e){Ue=e}static set defaultZone(e){qe=e}static get defaultZone(){return Fe(qe,ke.instance)}static get defaultLocale(){return Re}static set defaultLocale(e){Re=e}static get defaultNumberingSystem(){return Ye}static set defaultNumberingSystem(e){Ye=e}static get defaultOutputCalendar(){return He}static set defaultOutputCalendar(e){He=e}static get defaultWeekSettings(){return Je}static set defaultWeekSettings(e){Je=pt(e)}static get twoDigitCutoffYear(){return Be}static set twoDigitCutoffYear(e){Be=e%100}static get throwOnInvalid(){return Pe}static set throwOnInvalid(e){Pe=e}static resetCaches(){Ee.resetCache(),be.resetCache(),Rs.resetCache(),Ze.clear()}}class Ge{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Qe=[0,31,59,90,120,151,181,212,243,273,304,334],Xe=[0,31,60,91,121,152,182,213,244,274,305,335];function et(e,t){return new Ge("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function tt(e,t,r){const s=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return 0===o?7:o}function rt(e,t,r){return r+(Ot(e)?Xe:Qe)[t-1]}function st(e,t){const r=Ot(e)?Xe:Qe,s=r.findIndex(e=>e<t);return{month:s+1,day:t-r[s]}}function ot(e,t){return(e-t+7)%7+1}function nt(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=rt(s,o,n),a=ot(tt(s,o,n),r);let c,u=Math.floor((i-a+14-t)/7);return u<1?(c=s-1,u=Ct(c,t,r)):u>Ct(s,t,r)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Wt(e)}}function it(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=ot(tt(s,1,t),r),a=Nt(s);let c,u=7*o+n-i-7+t;u<1?(c=s-1,u+=Nt(c)):u>a?(c=s+1,u-=Nt(s)):c=s;const{month:l,day:d}=st(c,u);return{year:c,month:l,day:d,...Wt(e)}}function at(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:rt(t,r,s),...Wt(e)}}function ct(e){const{year:t,ordinal:r}=e,{month:s,day:o}=st(t,r);return{year:t,month:s,day:o,...Wt(e)}}function ut(e,t){if(!mt(e.localWeekday)||!mt(e.localWeekNumber)||!mt(e.localWeekYear)){if(!mt(e.weekday)||!mt(e.weekNumber)||!mt(e.weekYear))throw new F("Cannot mix locale-based week fields with ISO-based week fields");return mt(e.localWeekday)||(e.weekday=e.localWeekday),mt(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),mt(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function lt(e){const t=gt(e.year),r=vt(e.month,1,12),s=vt(e.day,1,Mt(e.year,e.month));return t?r?!s&&et("day",e.day):et("month",e.month):et("year",e.year)}function dt(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=vt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=vt(r,0,59),a=vt(s,0,59),c=vt(o,0,999);return n?i?a?!c&&et("millisecond",o):et("second",s):et("minute",r):et("hour",t)}function mt(e){return void 0===e}function kt(e){return"number"==typeof e}function gt(e){return"number"==typeof e&&e%1==0}function ht(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function ft(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function bt(e,t,r){if(0!==e.length)return e.reduce((e,s)=>{const o=[t(s),s];return e&&r(e[0],o[0])===e[0]?e:o},null)[1]}function yt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pt(e){if(null==e)return null;if("object"!=typeof e)throw new W("Week settings must be an object");if(!vt(e.firstDay,1,7)||!vt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!vt(e,1,7)))throw new W("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function vt(e,t,r){return gt(e)&&e>=t&&e<=r}function wt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function _t(e){return mt(e)||null===e||""===e?void 0:parseInt(e,10)}function St(e){return mt(e)||null===e||""===e?void 0:parseFloat(e)}function xt(e){if(!mt(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Tt(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function Ot(e){return e%4==0&&(e%100!=0||e%400==0)}function Nt(e){return Ot(e)?366:365}function Mt(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?Ot(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function jt(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function It(e,t,r){return-ot(tt(e,1,t),r)+t-1}function Ct(e,t=4,r=1){const s=It(e,t,r),o=It(e+1,t,r);return(Nt(e)-s+o)/7}function Et(e){return e>99?e:e>Ke.twoDigitCutoffYear?1900+e:2e3+e}function Dt(e,t,r,s=null){const o=new Date(e),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(n.timeZone=s);const i={timeZoneName:t,...n},a=new Intl.DateTimeFormat(r,i).formatToParts(o).find(e=>"timezonename"===e.type.toLowerCase());return a?a.value:null}function At(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const s=parseInt(t,10)||0;return 60*r+(r<0||Object.is(r,-0)?-s:s)}function Vt(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new W(`Invalid unit value ${e}`);return t}function Ft(e,t){const r={};for(const s in e)if(yt(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=Vt(o)}return r}function $t(e,t){const r=Math.trunc(Math.abs(e/60)),s=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${wt(r,2)}:${wt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${wt(r,2)}${wt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Wt(e){return function(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}(e,["hour","minute","second","millisecond"])}const Lt=["January","February","March","April","May","June","July","August","September","October","November","December"],Zt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],zt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Pt(e){switch(e){case"narrow":return[...zt];case"short":return[...Zt];case"long":return[...Lt];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 Ut=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],qt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Rt=["M","T","W","T","F","S","S"];function Yt(e){switch(e){case"narrow":return[...Rt];case"short":return[...qt];case"long":return[...Ut];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ht=["AM","PM"],Bt=["Before Christ","Anno Domini"],Jt=["BC","AD"],Kt=["B","A"];function Gt(e){switch(e){case"narrow":return[...Kt];case"short":return[...Jt];case"long":return[...Bt];default:return null}}function Qt(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Xt={D:U,DD:q,DDD:Y,DDDD:H,t:B,tt:J,ttt:K,tttt:G,T:Q,TT:X,TTT:ee,TTTT:te,f:re,ff:oe,fff:ae,ffff:ue,F:se,FF:ne,FFF:ce,FFFF:le};class er{static create(e,t={}){return new er(e,t)}static parseFormat(e){let t=null,r="",s=!1;const o=[];for(let n=0;n<e.length;n++){const i=e.charAt(n);"'"===i?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),t=null,r="",s=!s):s||i===t?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,t=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(e){return Xt[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return wt(e,t);const r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,r)=>this.loc.extract(e,t,r),n=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",i=()=>r?function(e){return Ht[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return Pt(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return Yt(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const r=er.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},l=t=>r?function(e,t){return Gt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Qt(er.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return i();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}})}formatDurationFromString(e,t){const r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=er.parseFormat(t),o=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return Qt(s,(e=>t=>{const s=r(t);return s?this.num(e.get(s),t.length):t})(e.shiftTo(...o.map(r).filter(e=>e))))}}const tr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function rr(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function sr(...e){return t=>e.reduce(([e,r,s],o)=>{const[n,i,a]=o(t,s);return[{...e,...n},i||r,a]},[{},null,1]).slice(0,2)}function or(e,...t){if(null==e)return[null,null];for(const[r,s]of t){const t=r.exec(e);if(t)return s(t)}return[null,null]}function nr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=_t(t[r+o]);return[s,null,r+o]}}const ir=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ar=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,cr=RegExp(`${ar.source}${`(?:${ir.source}?(?:\\[(${tr.source})\\])?)?`}`),ur=RegExp(`(?:T${cr.source})?`),lr=nr("weekYear","weekNumber","weekDay"),dr=nr("year","ordinal"),mr=RegExp(`${ar.source} ?(?:${ir.source}|(${tr.source}))?`),kr=RegExp(`(?: ${mr.source})?`);function gr(e,t,r){const s=e[t];return mt(s)?r:_t(s)}function hr(e,t){return[{hours:gr(e,t,0),minutes:gr(e,t+1,0),seconds:gr(e,t+2,0),milliseconds:xt(e[t+3])},null,t+4]}function fr(e,t){const r=!e[t]&&!e[t+1],s=At(e[t+1],e[t+2]);return[{},r?null:Ae.instance(s),t+3]}function br(e,t){return[{},e[t]?be.create(e[t]):null,t+1]}const yr=RegExp(`^T?${ar.source}$`),pr=/^-?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 vr(e){const[t,r,s,o,n,i,a,c,u]=e,l="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&l)?-e:e;return[{years:m(St(r)),months:m(St(s)),weeks:m(St(o)),days:m(St(n)),hours:m(St(i)),minutes:m(St(a)),seconds:m(St(c),"-0"===c),milliseconds:m(xt(u),d)}]}const wr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _r(e,t,r,s,o,n,i){const a={year:2===t.length?Et(_t(t)):_t(t),month:Zt.indexOf(r)+1,day:_t(s),hour:_t(o),minute:_t(n)};return i&&(a.second=_t(i)),e&&(a.weekday=e.length>3?Ut.indexOf(e)+1:qt.indexOf(e)+1),a}const Sr=/^(?:(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 xr(e){const[,t,r,s,o,n,i,a,c,u,l,d]=e,m=_r(t,o,s,r,n,i,a);let k;return k=c?wr[c]:u?0:At(l,d),[m,new Ae(k)]}const Tr=/^(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$/,Or=/^(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$/,Nr=/^(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 Mr(e){const[,t,r,s,o,n,i,a]=e;return[_r(t,o,s,r,n,i,a),Ae.utcInstance]}function jr(e){const[,t,r,s,o,n,i,a]=e;return[_r(t,a,r,s,o,n,i),Ae.utcInstance]}const Ir=rr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ur),Cr=rr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ur),Er=rr(/(\d{4})-?(\d{3})/,ur),Dr=rr(cr),Ar=sr(function(e,t){return[{year:gr(e,t),month:gr(e,t+1,1),day:gr(e,t+2,1)},null,t+3]},hr,fr,br),Vr=sr(lr,hr,fr,br),Fr=sr(dr,hr,fr,br),$r=sr(hr,fr,br);const Wr=sr(hr);const Lr=rr(/(\d{4})-(\d\d)-(\d\d)/,kr),Zr=rr(mr),zr=sr(hr,fr,br);const Pr="Invalid Duration",Ur={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}},qr={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},...Ur},Rr=365.2425,Yr=30.436875,Hr={years:{quarters:4,months:12,weeks:52.1775,days:Rr,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:Yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Ur},Br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Jr=Br.slice(0).reverse();function Kr(e,t,r=!1){const s={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Xr(s)}function Gr(e,t){let r=t.milliseconds??0;for(const s of Jr.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function Qr(e,t){const r=Gr(e,t)<0?-1:1;Br.reduceRight((s,o)=>{if(mt(t[o]))return s;if(s){const n=t[s]*r,i=e[o][s],a=Math.floor(n/i);t[o]+=a*r,t[s]-=a*i*r}return o},null),Br.reduce((r,s)=>{if(mt(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}class Xr{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?Hr:qr;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||Ee.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Xr.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new W("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Xr({values:Ft(e,Xr.normalizeUnit),loc:Ee.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(kt(e))return Xr.fromMillis(e);if(Xr.isDuration(e))return e;if("object"==typeof e)return Xr.fromObject(e);throw new W(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return or(e,[pr,vr])}(e);return r?Xr.fromObject(r,t):Xr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return or(e,[yr,Wr])}(e);return r?Xr.fromObject(r,t):Xr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Duration is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new V(r);return new Xr({invalid:r})}static normalizeUnit(e){const t={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"}[e?e.toLowerCase():e];if(!t)throw new $(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?er.create(this.loc,r).formatDurationFromString(this,e):Pr}toHuman(e={}){if(!this.isValid)return Pr;const t=Br.map(t=>{const r=this.values[t];return mt(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Tt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Rs.fromMillis(t,{zone:"UTC"}).toISOTime(e)}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?Gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Xr.fromDurationLike(e),r={};for(const e of Br)(yt(t.values,e)||yt(this.values,e))&&(r[e]=t.get(e)+this.get(e));return Kr(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Xr.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Vt(e(this.values[r],r));return Kr(this,{values:t},!0)}get(e){return this[Xr.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return Kr(this,{values:{...this.values,...Ft(e,Xr.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return Kr(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Qr(this.matrix,e),Kr(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return Kr(this,{values:function(e){const t={};for(const[r,s]of Object.entries(e))0!==s&&(t[r]=s);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map(e=>Xr.normalizeUnit(e));const t={},r={},s=this.toObject();let o;for(const n of Br)if(e.indexOf(n)>=0){o=n;let e=0;for(const t in r)e+=this.matrix[t][n]*r[t],r[t]=0;kt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else kt(s[n])&&(r[n]=s[n]);for(const e in r)0!==r[e]&&(t[o]+=e===o?r[e]:r[e]/this.matrix[o][e]);return Qr(this.matrix,t),Kr(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return Kr(this,{values:e},!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(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(const r of Br)if(!t(this.values[r],e.values[r]))return!1;return!0}}const es="Invalid Interval";class ts{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the Interval is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new A(r);return new ts({invalid:r})}static fromDateTimes(e,t){const r=Ys(e),s=Ys(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?ts.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:ts.invalid("missing or invalid end"):ts.invalid("missing or invalid start")}(r,s);return null==o?new ts({start:r,end:s}):o}static after(e,t){const r=Xr.fromDurationLike(t),s=Ys(e);return ts.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Xr.fromDurationLike(t),s=Ys(e);return ts.fromDateTimes(s.minus(r),s)}static fromISO(e,t){const[r,s]=(e||"").split("/",2);if(r&&s){let e,o,n,i;try{e=Rs.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=Rs.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return ts.fromDateTimes(e,n);if(o){const r=Xr.fromISO(s,t);if(r.isValid)return ts.after(e,r)}else if(i){const e=Xr.fromISO(r,t);if(e.isValid)return ts.before(n,e)}}return ts.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.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(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const r=this.start.startOf(e,t);let s;return s=t?.useLocaleWeeks?this.end.reconfigure({locale:r.locale}):this.end,s=s.startOf(e,t),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?ts.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Ys).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const e=t[o]||this.e,n=+e>+this.e?this.e:e;r.push(ts.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Xr.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let r,{s}=this,o=1;const n=[];for(;s<this.e;){const e=this.start.plus(t.mapUnits(e=>e*o));r=+e>+this.e?this.e:e,n.push(ts.fromDateTimes(s,r)),s=r,o+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e===+e.s}abutsEnd(e){return!!this.isValid&&+e.e===+this.s}engulfs(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:ts.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return ts.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],o=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),n=Array.prototype.concat(...o).sort((e,t)=>e.time-t.time);for(const e of n)r+="s"===e.type?1:-1,1===r?t=e.time:(t&&+t!==+e.time&&s.push(ts.fromDateTimes(t,e.time)),t=null);return ts.merge(s)}difference(...e){return ts.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:es}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=U,t={}){return this.isValid?er.create(this.s.loc.clone(t),e).formatInterval(this):es}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:es}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:es}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:es}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:es}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Xr.invalid(this.invalidReason)}mapEndpoints(e){return ts.fromDateTimes(e(this.s),e(this.e))}}class rs{static hasDST(e=Ke.defaultZone){const t=Rs.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return be.isValidZone(e)}static normalizeZone(e){return Fe(e,Ke.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Ee.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ee.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ee.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ee.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||Ee.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ee.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Ee.create(t,null,"gregory").eras(e)}static features(){return{relative:ht(),localeWeek:ft()}}}function ss(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Xr.fromMillis(s).as("days"))}function os(e,t,r,s){let[o,n,i,a]=function(e,t,r){const s=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const r=ss(e,t);return(r-r%7)/7}],["days",ss]],o={},n=e;let i,a;for(const[c,u]of s)r.indexOf(c)>=0&&(i=c,o[c]=u(e,t),a=n.plus(o),a>t?(o[c]--,(e=n.plus(o))>t&&(a=e,o[c]--,e=n.plus(o))):e=a);return[e,o,a,i]}(e,t,r);const c=t-o,u=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===u.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const l=Xr.fromObject(n,s);return u.length>0?Xr.fromMillis(c,s).shiftTo(...u).plus(l):l}function ns(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);if(-1!==e[r].search($e.hanidec))t+=Le.indexOf(e[r]);else for(const e in We){const[r,o]=We[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const is=`[ ${String.fromCharCode(160)}]`,as=new RegExp(is,"g");function cs(e){return e.replace(/\./g,"\\.?").replace(as,is)}function us(e){return e.replace(/\./g,"").replace(as," ").toLowerCase()}function ls(e,t){return null===e?null:{regex:RegExp(e.map(cs).join("|")),deser:([r])=>e.findIndex(e=>us(r)===us(e))+t}}function ds(e,t){return{regex:e,deser:([,e,t])=>At(e,t),groups:t}}function ms(e){return{regex:e,deser:([e])=>e}}const ks={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 gs=null;function hs(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const r=ys(er.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t)))}class fs{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=hs(er.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const r=ze(t),s=ze(t,"{2}"),o=ze(t,"{3}"),n=ze(t,"{4}"),i=ze(t,"{6}"),a=ze(t,"{1,2}"),c=ze(t,"{1,3}"),u=ze(t,"{1,6}"),l=ze(t,"{1,9}"),d=ze(t,"{2,4}"),m=ze(t,"{4,6}"),k=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},g=(g=>{if(e.literal)return k(g);switch(g.val){case"G":return ls(t.eras("short"),0);case"GG":return ls(t.eras("long"),0);case"y":return ns(u);case"yy":case"kk":return ns(d,Et);case"yyyy":case"kkkk":return ns(n);case"yyyyy":return ns(m);case"yyyyyy":return ns(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ns(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ns(s);case"MMM":return ls(t.months("short",!0),1);case"MMMM":return ls(t.months("long",!0),1);case"LLL":return ls(t.months("short",!1),1);case"LLLL":return ls(t.months("long",!1),1);case"o":case"S":return ns(c);case"ooo":case"SSS":return ns(o);case"u":return ms(l);case"uu":return ms(a);case"uuu":case"E":case"c":return ns(r);case"a":return ls(t.meridiems(),0);case"EEE":return ls(t.weekdays("short",!1),1);case"EEEE":return ls(t.weekdays("long",!1),1);case"ccc":return ls(t.weekdays("short",!0),1);case"cccc":return ls(t.weekdays("long",!0),1);case"Z":case"ZZ":return ds(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return ds(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return ms(/[a-z_+-/]{1,256}?/i);case" ":return ms(/[^\S\n\r]/);default:return k(g)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return g.token=e,g}(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=[`^${(r=this.units).map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"")}$`,r];this.regex=RegExp(e,"i"),this.handlers=t}var r}explainFromTokens(e){if(this.isValid){const[t,r]=function(e,t,r){const s=e.match(t);if(s){const e={};let t=1;for(const o in r)if(yt(r,o)){const n=r[o],i=n.groups?n.groups+1:1;!n.literal&&n.token&&(e[n.token.val[0]]=n.deser(s.slice(t,t+i))),t+=i}return[s,e]}return[s,{}]}(e,this.regex,this.handlers),[s,o,n]=r?function(e){let t,r=null;return mt(e.z)||(r=be.create(e.z)),mt(e.Z)||(r||(r=new Ae(e.Z)),t=e.Z),mt(e.q)||(e.M=3*(e.q-1)+1),mt(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),mt(e.u)||(e.S=xt(e.u)),[Object.keys(e).reduce((t,r)=>{const s=(e=>{switch(e){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}})(r);return s&&(t[s]=e[r]),t},{}),r,t]}(r):[null,null,void 0];if(yt(r,"a")&&yt(r,"H"))throw new F("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:s,zone:o,specificOffset:n}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function bs(e,t,r){return new fs(e,r).explainFromTokens(t)}function ys(e,t){if(!e)return null;const r=er.create(t,e).dtFormatter((gs||(gs=Rs.fromMillis(1555555555555)),gs)),s=r.formatToParts(),o=r.resolvedOptions();return s.map(t=>function(e,t,r){const{type:s,value:o}=e;if("literal"===s){const e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}const n=t[s];let i=s;"hour"===s&&(i=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let a=ks[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o))}const ps="Invalid DateTime",vs=864e13;function ws(e){return new Ge("unsupported zone",`the zone "${e.name}" is not supported`)}function _s(e){return null===e.weekData&&(e.weekData=nt(e.c)),e.weekData}function Ss(e){return null===e.localWeekData&&(e.localWeekData=nt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function xs(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Rs({...r,...t,old:r})}function Ts(e,t,r){let s=e-60*t*1e3;const o=r.offset(s);if(t===o)return[s,t];s-=60*(o-t)*1e3;const n=r.offset(s);return o===n?[s,o]:[e-60*Math.min(o,n)*1e3,Math.max(o,n)]}function Os(e,t){const r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Ns(e,t,r){return Ts(jt(e),t,r)}function Ms(e,t){const r=e.o,s=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),n={...e.c,year:s,month:o,day:Math.min(e.c.day,Mt(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Xr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=jt(n);let[c,u]=Ts(a,r,e.zone);return 0!==i&&(c+=i,u=e.zone.offset(c)),{ts:c,o:u}}function js(e,t,r,s,o,n){const{setZone:i,zone:a}=r;if(e&&0!==Object.keys(e).length||t){const s=t||a,o=Rs.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return Rs.invalid(new Ge("unparsable",`the input "${o}" can't be parsed as ${s}`))}function Is(e,t,r=!0){return e.isValid?er.create(Ee.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Cs(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=wt(e.c.year,r?6:4),t?(s+="-",s+=wt(e.c.month),s+="-",s+=wt(e.c.day)):(s+=wt(e.c.month),s+=wt(e.c.day)),s}function Es(e,t,r,s,o,n){let i=wt(e.c.hour);return t?(i+=":",i+=wt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=wt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=wt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=wt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=wt(Math.trunc(-e.o/60)),i+=":",i+=wt(Math.trunc(-e.o%60))):(i+="+",i+=wt(Math.trunc(e.o/60)),i+=":",i+=wt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const Ds={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},As={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Vs={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Fs=["year","month","day","hour","minute","second","millisecond"],$s=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ws=["year","ordinal","hour","minute","second","millisecond"];function Ls(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={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"}[e.toLowerCase()];if(!t)throw new $(e);return t}(e)}}function Zs(e,t){const r=Fe(t.zone,Ke.defaultZone);if(!r.isValid)return Rs.invalid(ws(r));const s=Ee.fromObject(t);let o,n;if(mt(e.year))o=Ke.now();else{for(const t of Fs)mt(e[t])&&(e[t]=Ds[t]);const t=lt(e)||dt(e);if(t)return Rs.invalid(t);const s=function(e){if(void 0===Us&&(Us=Ke.now()),"iana"!==e.type)return e.offset(Us);const t=e.name;let r=qs.get(t);return void 0===r&&(r=e.offset(Us),qs.set(t,r)),r}(r);[o,n]=Ns(e,s,r)}return new Rs({ts:o,zone:r,loc:s,o:n})}function zs(e,t,r){const s=!!mt(r.round)||r.round,o=(e,o)=>{e=Tt(e,s||r.calendary?0:2,!0);return t.loc.clone(r).relFormatter(r).format(e,o)},n=s=>r.calendary?t.hasSame(e,s)?0:t.startOf(s).diff(e.startOf(s),s).get(s):t.diff(e,s).get(s);if(r.unit)return o(n(r.unit),r.unit);for(const e of r.units){const t=n(e);if(Math.abs(t)>=1)return o(t,e)}return o(e>t?-0:0,r.units[r.units.length-1])}function Ps(e){let t,r={};return e.length>0&&"object"==typeof e[e.length-1]?(r=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[r,t]}let Us;const qs=new Map;class Rs{constructor(e){const t=e.zone||Ke.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Ge("invalid input"):null)||(t.isValid?null:ws(t));this.ts=mt(e.ts)?Ke.now():e.ts;let s=null,o=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,o]=[e.old.c,e.old.o];else{const n=kt(e.o)&&!e.old?e.o:t.offset(this.ts);s=Os(this.ts,n),r=Number.isNaN(s.year)?new Ge("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||Ee.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Rs({})}static local(){const[e,t]=Ps(arguments),[r,s,o,n,i,a,c]=t;return Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=Ps(arguments),[r,s,o,n,i,a,c]=t;return e.zone=Ae.utcInstance,Zs({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static fromJSDate(e,t={}){const r=(s=e,"[object Date]"===Object.prototype.toString.call(s)?e.valueOf():NaN);var s;if(Number.isNaN(r))return Rs.invalid("invalid input");const o=Fe(t.zone,Ke.defaultZone);return o.isValid?new Rs({ts:r,zone:o,loc:Ee.fromObject(t)}):Rs.invalid(ws(o))}static fromMillis(e,t={}){if(kt(e))return e<-vs||e>vs?Rs.invalid("Timestamp out of range"):new Rs({ts:e,zone:Fe(t.zone,Ke.defaultZone),loc:Ee.fromObject(t)});throw new W(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(kt(e))return new Rs({ts:1e3*e,zone:Fe(t.zone,Ke.defaultZone),loc:Ee.fromObject(t)});throw new W("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=Fe(t.zone,Ke.defaultZone);if(!r.isValid)return Rs.invalid(ws(r));const s=Ee.fromObject(t),o=Ft(e,Ls),{minDaysInFirstWeek:n,startOfWeek:i}=ut(o,s),a=Ke.now(),c=mt(t.specificOffset)?r.offset(a):t.specificOffset,u=!mt(o.ordinal),l=!mt(o.year),d=!mt(o.month)||!mt(o.day),m=l||d,k=o.weekYear||o.weekNumber;if((m||u)&&k)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&u)throw new F("Can't mix ordinal dates with month/day");const g=k||o.weekday&&!m;let h,f,b=Os(a,c);g?(h=$s,f=As,b=nt(b,n,i)):u?(h=Ws,f=Vs,b=at(b)):(h=Fs,f=Ds);let y=!1;for(const e of h){mt(o[e])?o[e]=y?f[e]:b[e]:y=!0}const p=g?function(e,t=4,r=1){const s=gt(e.weekYear),o=vt(e.weekNumber,1,Ct(e.weekYear,t,r)),n=vt(e.weekday,1,7);return s?o?!n&&et("weekday",e.weekday):et("week",e.weekNumber):et("weekYear",e.weekYear)}(o,n,i):u?function(e){const t=gt(e.year),r=vt(e.ordinal,1,Nt(e.year));return t?!r&&et("ordinal",e.ordinal):et("year",e.year)}(o):lt(o),v=p||dt(o);if(v)return Rs.invalid(v);const w=g?it(o,n,i):u?ct(o):o,[_,S]=Ns(w,c,r),x=new Rs({ts:_,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?Rs.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:Rs.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return or(e,[Ir,Ar],[Cr,Vr],[Er,Fr],[Dr,$r])}(e);return js(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return or(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Sr,xr])}(e);return js(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return or(e,[Tr,Mr],[Or,Mr],[Nr,jr])}(e);return js(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(mt(e)||mt(t))throw new W("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,u]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=bs(e,t,r);return[s,o,n,i]}(n,e,t);return u?Rs.invalid(u):js(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return Rs.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return or(e,[Lr,Ar],[Zr,zr])}(e);return js(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new W("need to specify a reason the DateTime is invalid");const r=e instanceof Ge?e:new Ge(e,t);if(Ke.throwOnInvalid)throw new D(r);return new Rs({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=ys(e,Ee.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return hs(er.parseFormat(e),Ee.fromObject(t)).map(e=>e.val).join("")}static resetCache(){Us=void 0,qs.clear()}get(e){return this[e]}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?_s(this).weekYear:NaN}get weekNumber(){return this.isValid?_s(this).weekNumber:NaN}get weekday(){return this.isValid?_s(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ss(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ss(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ss(this).weekYear:NaN}get ordinal(){return this.isValid?at(this.c).ordinal:NaN}get monthShort(){return this.isValid?rs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rs.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 e=864e5,t=6e4,r=jt(this.c),s=this.zone.offset(r-e),o=this.zone.offset(r+e),n=this.zone.offset(r-s*t),i=this.zone.offset(r-o*t);if(n===i)return[this];const a=r-n*t,c=r-i*t,u=Os(a,n),l=Os(c,i);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[xs(this,{ts:a}),xs(this,{ts:c})]:[this]}get isInLeapYear(){return Ot(this.year)}get daysInMonth(){return Mt(this.year,this.month)}get daysInYear(){return this.isValid?Nt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ct(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ct(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=er.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Ae.instance(e),t)}toLocal(){return this.setZone(Ke.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=Fe(e,Ke.defaultZone)).equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const t=e.offset(this.ts),r=this.toObject();[s]=Ns(r,t,e)}return xs(this,{ts:s,zone:e})}return Rs.invalid(ws(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return xs(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ft(e,Ls),{minDaysInFirstWeek:r,startOfWeek:s}=ut(t,this.loc),o=!mt(t.weekYear)||!mt(t.weekNumber)||!mt(t.weekday),n=!mt(t.ordinal),i=!mt(t.year),a=!mt(t.month)||!mt(t.day),c=i||a,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new F("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new F("Can't mix ordinal dates with month/day");let l;o?l=it({...nt(this.c,r,s),...t},r,s):mt(t.ordinal)?(l={...this.toObject(),...t},mt(t.day)&&(l.day=Math.min(Mt(l.year,l.month),l.day))):l=ct({...at(this.c),...t});const[d,m]=Ns(l,this.o,this.zone);return xs(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return xs(this,Ms(this,Xr.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return xs(this,Ms(this,Xr.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Xr.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===s)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;if("quarters"===s){const e=Math.ceil(this.month/3);r.month=3*(e-1)+1}return this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?er.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):ps}toLocaleString(e=U,t={}){return this.isValid?er.create(this.loc.clone(t),e).formatDateTime(this):ps}toLocaleParts(e={}){return this.isValid?er.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const n="extended"===e;let i=Cs(this,n);return i+="T",i+=Es(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?Cs(this,"extended"===e):null}toISOWeekDate(){return Is(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:n="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Es(this,"extended"===n,t,e,r,o)}toRFC2822(){return Is(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Is(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Cs(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(r&&(s+=" "),t?s+="z":e&&(s+="ZZ")),Is(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ps}[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(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return Xr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=(a=t,Array.isArray(a)?a:[a]).map(Xr.normalizeUnit),n=e.valueOf()>this.valueOf(),i=os(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(Rs.now(),e,t)}until(e){return this.isValid?ts.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,r)<=s&&s<=o.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Rs.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),zs(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?zs(e.base||Rs.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Rs.isDateTime))throw new W("min requires all arguments be DateTimes");return bt(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(Rs.isDateTime))throw new W("max requires all arguments be DateTimes");return bt(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return bs(Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return Rs.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=Ee.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new fs(o,e)}static fromFormatParser(e,t,r={}){if(mt(e)||mt(t))throw new W("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=Ee.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new W(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?Rs.invalid(u):js(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return U}static get DATE_MED(){return q}static get DATE_MED_WITH_WEEKDAY(){return R}static get DATE_FULL(){return Y}static get DATE_HUGE(){return H}static get TIME_SIMPLE(){return B}static get TIME_WITH_SECONDS(){return J}static get TIME_WITH_SHORT_OFFSET(){return K}static get TIME_WITH_LONG_OFFSET(){return G}static get TIME_24_SIMPLE(){return Q}static get TIME_24_WITH_SECONDS(){return X}static get TIME_24_WITH_SHORT_OFFSET(){return ee}static get TIME_24_WITH_LONG_OFFSET(){return te}static get DATETIME_SHORT(){return re}static get DATETIME_SHORT_WITH_SECONDS(){return se}static get DATETIME_MED(){return oe}static get DATETIME_MED_WITH_SECONDS(){return ne}static get DATETIME_MED_WITH_WEEKDAY(){return ie}static get DATETIME_FULL(){return ae}static get DATETIME_FULL_WITH_SECONDS(){return ce}static get DATETIME_HUGE(){return ue}static get DATETIME_HUGE_WITH_SECONDS(){return le}}function Ys(e){if(Rs.isDateTime(e))return e;if(e&&e.valueOf&&kt(e.valueOf()))return Rs.fromJSDate(e);if(e&&"object"==typeof e)return Rs.fromObject(e);throw new W(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function Hs(e={},t){if(void 0!==e.dateTimeFormat&&"function"!=typeof e.dateTimeFormat)throw new o.CKEditorError("invalid-date-time-format");return r=>{const s="string"==typeof r?Rs.fromISO(r):Rs.fromJSDate(r),o=Rs.now(),n=Math.floor(o.diff(s,"days").days);return e.dateTimeFormat?e.dateTimeFormat(s.toJSDate(),t&&t.t?t.t:void 0):0===n?t?`${i(t,"Today")} ${s.toFormat("hh:mma")}`:s.toFormat("'Today' hh:mma"):1===n?t?`${i(t,"Yesterday")} ${s.toFormat("hh:mma")}`:s.toFormat("'Yesterday' hh:mma"):n<7?t?`${i(t,"Last")} ${i(t,s.toFormat("EEEE"))} ${s.toFormat("hh:mma")}`:s.toFormat("'Last' EEEE hh:mma"):s.toFormat("LL-dd-yyyy hh:mma")}}function Bs(e,t){const r=e.mapper.markerNameToElements(t.name);if(!r)return null;const s=(0,o.first)(r.values());return e.view.domConverter.mapViewToDom(s)||null}function Js(e,t){if(0===t.length)return null;const r=[],s=e.view.domConverter;for(const o of t){const t=e.mapper.markerNameToElements(o.name);if(!t)continue;const n=Array.from(t).map(e=>s.mapViewToDom(e)).filter(e=>!!e);r.push(...n)}if(0===r.length)return null;const o=[];for(const e of r){const t=e.getClientRects().item(0);t&&o.push({x:t.x,y:t.y,domElement:e})}return 0===o.length?null:(o.sort((e,t)=>e.y-t.y||e.x-t.x),o.map(e=>e.domElement))}function Ks(e,{limit:t,suffix:r="..."}){const s=[];let o=0;const n=e.replace(/</g,"\n<").replace(/>/g,">\n").replace(/^\n/g,"").replace(/\n$/g,"").split("\n");for(let e=0;e<n.length;e++){let i=n[e];const a=Gs(i);if(i.startsWith("<")){if(o>=t){const t=i.match(/[a-zA-Z]+/);if(!t){n[e]="";continue}const r=t[0];i.startsWith("</")?(s.length&&(i=""),s.pop()):(s.push(r),i="")}}else if(o>=t)i="";else if(o+a.length>=t){let e=t-o;if(" "===a[e-1])e--;else{const t=a.slice(e).indexOf(" ");-1!==t?e+=t:e=i.length}i=a.slice(0,e).join("")+r,o=t}else o+=a.length;n[e]=i}return n.join("\n").replace(/\n/g,"")}function Gs(e){const t=[];for(let r=0;r<e.length;r++){const s=e.substring(r).match(/^&[a-z0-9#]+;/);if(s){const e=s[0];t.push(e),r+=e.length-1}else t.push(e[r])}return t}class Qs extends S.View{submitView;cancelView;focusTracker;keystrokes;focusCycler;focusables;constructor(e){super(e);const t=this.bindTemplate;this.set("message",i(e,"Are you sure?")),this.submitView=this._createButtonView(e,i(e,"Yes"),x.IconCheck,"submit"),this.cancelView=this._createButtonView(e,i(e,"No"),x.IconCancel,"cancel"),this.focusables=this.createCollection([this.submitView,this.cancelView]),this.focusTracker=new o.FocusTracker,this.keystrokes=new o.KeystrokeHandler,this.focusCycler=new S.FocusCycler({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift+tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-thread__remove-confirm"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-thread__remove-confirm-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-thread__remove-confirm-actions"},children:[this.submitView,this.cancelView]}]}]})}render(){super.render(),this._setupKeyboardNavigation()}focus(){this.cancelView.element.focus({preventScroll:!0})}_createButtonView(e,t,r,s){const o=new S.ButtonView(e);return o.label=t,o.icon=r,o.extendTemplate({attributes:{class:`ck-thread__remove-confirm-${s}`}}),o.on("execute",()=>this.fire(s)),o}_setupKeyboardNavigation(){this.focusables.forEach(e=>{this.keystrokes.listenTo(e.element),this.focusTracker.add(e.element)}),this.keystrokes.set("esc",(e,t)=>{this.fire("cancel"),t()})}}function Xs(e){return class extends e{showConfirm(e,t){return this.confirmView=new Qs(this.locale),this.confirmView.render(),this.confirmView.message=e,this.confirmView.once("cancel",()=>{this._removeConfirm()}),this.confirmView.once("submit",()=>{this._removeConfirm()}),t.appendChild(this.confirmView.element),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),new Promise(e=>this.confirmView.on("submit",e))}cancelConfirm(){this.isConfirm&&this.confirmView.fire("cancel")}_removeConfirm(){this.element&&this.confirmView&&this.confirmView.element&&(this.element.focus(),this.confirmView.element.remove(),this.deregisterChild(this.confirmView),this.isConfirm=!1,this.fire("removeConfirm"),this.confirmView.destroy(),this.confirmView=void 0)}}}function eo(e){let t=0,r=0;for(const s of ro(e))t=(t<<5)-t+s,t&=t,[t,r]=[r,t];return no(t)+no(r)}function*to(e){null==e||null==e?yield 314159265:0===e||!1===e?yield 0:1===e||1==e?yield 1:Array.isArray(e)?yield*function*(e){for(const t of e)yield*to(t)}(e):"object"==typeof e?yield*ro(e):"string"==typeof e?yield*so(e):"number"==typeof e&&(yield e)}function*ro(e){if(yield oo("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*so(r),yield oo(":");const t=e[r];yield*to(t)}}yield oo("}")}function*so(e){yield oo('"');for(const t of e)yield oo(t);yield oo('"')}function oo(e){return e.charCodeAt(0)}function no(e){return(e*=Math.sign(e)).toString(36)}const io=["initialData","context","toolbar","rootsAttributes"],ao=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function co(e,t,r,s=[]){const o="string"==typeof e?r.get(e).constructor:e.prototype.constructor;if(t.has(o))return t.get(o);t.set(o,!0);const n=[...ao,...s].map(e=>{if(r.has(e))return r.get(e).constructor}).filter(e=>e);if(o&&n.includes(o))return t.set(o,!1),!1;if(!o.requires)return t.set(o,!0),!0;const i=o.requires.every(e=>co(e,t,r,s));return t.set(o,i),i}function uo(e,t){const r={};for(const t of e.config.names())io.includes(t)||(r[t]=e.config.get(t));const s=r.plugins||[],o=e.constructor.builtinPlugins||[],n=s.length?s:o,i=r.extraPlugins||[];delete r.extraPlugins;const a=r.removePlugins||[];delete r.removePlugins;const c=e._context.config.get("plugins")||[],u=n.concat(i).concat(c).map(e=>"string"==typeof e?o.find(t=>t.pluginName==e):e).filter(e=>!a.includes(e)&&!a.includes(e.pluginName)),l=Array.from(new Set(u)),d=new Map;return r.plugins=l.filter(r=>co(r,d,e.plugins,t)),r}function lo(e,t){const r=[];e.document.selection.on("change:range",()=>{const s=function(e,t){const r=[];for(const s of e.markers){const e=s.getRange();(e.containsPosition(t)||e.start.isEqual(t)||e.end.isEqual(t))&&r.push(s)}return r}(e,e.document.selection.focus),o=[],n=[],i=[];for(const e of r)s.includes(e)||o.push(e);for(const e of s)r.includes(e)||n.push(e),i.push(e);(o.length||n.length)&&t({left:o,entered:n}),r.length=0,r.push(...i)})}const mo="Ctrl+Shift+E";function ko(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)go(e,r);t.on("change",(t,r)=>{for(const t of r.removed)ho(e,t);for(const t of Array.from(r.added).reverse())go(e,t)}),e.keystrokes.set("enter",(t,s)=>{r===t.target&&(e.focusCycler.focusFirst(),s())},{filter:e=>e.target===r}),e.keystrokes.set("esc",(t,s)=>{r!==t.target?e.focus():e.fire("escape"),s()}),e.keystrokes.set("arrowdown",(t,s)=>{r===t.target&&(e.fire("arrowdown"),s())}),e.keystrokes.set("arrowup",(t,s)=>{r===t.target&&(e.fire("arrowup"),s())})}function go(e,t){t.isRendered&&(e.focusTracker.add(t.element),e.keystrokes.listenTo(t.element),(0,S.isViewWithFocusCycler)(t)&&function(e,t){const r=e.actions,s=t.actions;for(const e of Object.keys(r))if(e in s&&r[e]!==s[e])return!1;return!0}(e.focusCycler,t.focusCycler)&&e.focusCycler.chain(t.focusCycler))}function ho(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,S.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var fo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),bo={attributes:{"data-cke":!0}};bo.setAttributes=g(),bo.insert=m().bind(null,"head"),bo.domAPI=l(),bo.insertStyleElement=f();c()(fo.A,bo);fo.A&&fo.A.locals&&fo.A.locals;var yo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),po={attributes:{"data-cke":!0}};po.setAttributes=g(),po.insert=m().bind(null,"head"),po.domAPI=l(),po.insertStyleElement=f();c()(yo.A,po);yo.A&&yo.A.locals&&yo.A.locals;var vo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),wo={attributes:{"data-cke":!0}};wo.setAttributes=g(),wo.insert=m().bind(null,"head"),wo.domAPI=l(),wo.insertStyleElement=f();c()(vo.A,wo);vo.A&&vo.A.locals&&vo.A.locals;var _o=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),So={attributes:{"data-cke":!0}};So.setAttributes=g(),So.insert=m().bind(null,"head"),So.domAPI=l(),So.insertStyleElement=f();c()(_o.A,So);_o.A&&_o.A.locals&&_o.A.locals;var xo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),To={attributes:{"data-cke":!0}};To.setAttributes=g(),To.insert=m().bind(null,"head"),To.domAPI=l(),To.insertStyleElement=f();c()(xo.A,To);xo.A&&xo.A.locals&&xo.A.locals;var Oo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),No={attributes:{"data-cke":!0}};No.setAttributes=g(),No.insert=m().bind(null,"head"),No.domAPI=l(),No.insertStyleElement=f();c()(Oo.A,No);Oo.A&&Oo.A.locals&&Oo.A.locals;var Mo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),jo={attributes:{"data-cke":!0}};jo.setAttributes=g(),jo.insert=m().bind(null,"head"),jo.domAPI=l(),jo.insertStyleElement=f();c()(Mo.A,jo);Mo.A&&Mo.A.locals&&Mo.A.locals;var Io=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=g(),Co.insert=m().bind(null,"head"),Co.domAPI=l(),Co.insertStyleElement=f();c()(Io.A,Co);Io.A&&Io.A.locals&&Io.A.locals;var Eo=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),Do={attributes:{"data-cke":!0}};Do.setAttributes=g(),Do.insert=m().bind(null,"head"),Do.domAPI=l(),Do.insertStyleElement=f();c()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Ao=r("../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),Vo={attributes:{"data-cke":!0}};Vo.setAttributes=g(),Vo.insert=m().bind(null,"head"),Vo.domAPI=l(),Vo.insertStyleElement=f();c()(Ao.A,Vo);Ao.A&&Ao.A.locals&&Ao.A.locals;function Fo(){var e=["865123tnCbOR","10324fwqcpC","621903ASjLoi","5mIfWZE","1590366HrgHIn","3342540WMLaNA","103042quYHIe","4347VSUhnM","215tisQik","8KVzoRk"];return(Fo=function(){return e})()}function $o(e,t){var r=Fo();return($o=function(e,t){return r[e-=268]})(e,t)}!function(e){for(var t=$o,r=e();;)try{if(132586===-parseInt(t(274))/1*(-parseInt(t(277))/2)+-parseInt(t(273))/3+-parseInt(t(272))/4*(parseInt(t(269))/5)+-parseInt(t(275))/6+parseInt(t(271))/7+-parseInt(t(270))/8*(-parseInt(t(268))/9)+parseInt(t(276))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Fo)},"?7cdd":(e,t,r)=>{e.exports=r},"ckeditor5/src/core.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/core.js")},"ckeditor5/src/icons.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/icons.js")},"ckeditor5/src/ui.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/ui.js")},"ckeditor5/src/utils.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/utils.js")},"data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E":e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23fff%27 d=%27M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z%27/%3E%3C/svg%3E"},"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={id:s,exports:{}};return e[s](n,n.exports,r),n.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.b=document.baseURI||self.location.href;var s=r("?7cdd");(window.CKEditor5=window.CKEditor5||{}).collaborationDll=s})(),function(e){e.CKEditor5=e.CKEditor5||{};const t=["collaboration-core"];for(const r of t){const t=r.replace(/-([a-z])/g,(e,t)=>t.toUpperCase());e.CKEditor5[t]=e.CKEditor5.collaborationDll(`./src/${r}.js`)}}(window);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ckeditor5-collaboration",
|
|
3
|
-
"version": "46.0.
|
|
3
|
+
"version": "46.1.0-alpha.1",
|
|
4
4
|
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "module",
|
|
30
30
|
"main": "src/index.js",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ckeditor/ckeditor5-collaboration-core": "46.0.
|
|
32
|
+
"@ckeditor/ckeditor5-collaboration-core": "46.1.0-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"build",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x20f4(){var _0x137008=['865123tnCbOR','10324fwqcpC','621903ASjLoi','5mIfWZE','1590366HrgHIn','3342540WMLaNA','103042quYHIe','4347VSUhnM','215tisQik','8KVzoRk'];_0x20f4=function(){return _0x137008;};return _0x20f4();}(function(_0x587c8f,_0x6e0341){var _0x1ff26a=_0x41b5,_0x17830e=_0x587c8f();while(!![]){try{var _0xedbba4=-parseInt(_0x1ff26a(0x112))/0x1*(-parseInt(_0x1ff26a(0x115))/0x2)+-parseInt(_0x1ff26a(0x111))/0x3+-parseInt(_0x1ff26a(0x110))/0x4*(parseInt(_0x1ff26a(0x10d))/0x5)+-parseInt(_0x1ff26a(0x113))/0x6+parseInt(_0x1ff26a(0x10f))/0x7+-parseInt(_0x1ff26a(0x10e))/0x8*(-parseInt(_0x1ff26a(0x10c))/0x9)+parseInt(_0x1ff26a(0x114))/0xa;if(_0xedbba4===_0x6e0341)break;else _0x17830e['push'](_0x17830e['shift']());}catch(_0x25c77f){_0x17830e['push'](_0x17830e['shift']());}}}(_0x20f4,0x205ea));function _0x41b5(_0xd406ff,_0x20934e){var _0x20f443=_0x20f4();return _0x41b5=function(_0x41b53c,_0x48a00e){_0x41b53c=_0x41b53c-0x10c;var _0x3fc732=_0x20f443[_0x41b53c];return _0x3fc732;},_0x41b5(_0xd406ff,_0x20934e);}export*from'@ckeditor/ckeditor5-collaboration-core';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x39af(_0x4260bb,_0x136ff1){var _0x13cf7e=_0x13cf();return _0x39af=function(_0x39af86,_0x316489){_0x39af86=_0x39af86-0x123;var _0x103092=_0x13cf7e[_0x39af86];return _0x103092;},_0x39af(_0x4260bb,_0x136ff1);}(function(_0x17bb39,_0x312f88){var _0x7ce0dd=_0x39af,_0x1e3fcc=_0x17bb39();while(!![]){try{var _0x1c56ba=-parseInt(_0x7ce0dd(0x125))/0x1+parseInt(_0x7ce0dd(0x127))/0x2+-parseInt(_0x7ce0dd(0x12a))/0x3+parseInt(_0x7ce0dd(0x129))/0x4*(-parseInt(_0x7ce0dd(0x124))/0x5)+-parseInt(_0x7ce0dd(0x128))/0x6*(parseInt(_0x7ce0dd(0x12b))/0x7)+-parseInt(_0x7ce0dd(0x126))/0x8+parseInt(_0x7ce0dd(0x123))/0x9;if(_0x1c56ba===_0x312f88)break;else _0x1e3fcc['push'](_0x1e3fcc['shift']());}catch(_0x31f62c){_0x1e3fcc['push'](_0x1e3fcc['shift']());}}}(_0x13cf,0x3dc36));export*from'./collaboration-core.js';function _0x13cf(){var _0x1852eb=['2478DhGvsu','16016967bAAeeo','1321645PMrJFE','296337NkAtNP','1943736cSEkkc','254508tQoBuH','7488xnAJoN','4iZpZFu','1225530FZvAwJ'];_0x13cf=function(){return _0x1852eb;};return _0x13cf();}
|