ckeditor5-collaboration 47.4.0-alpha.3 → 47.4.0-alpha.5
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-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/confirm.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck .ck-confirm-view-active{transform:translate3d(-100%,0,0);transition:all .3s linear}.ck .ck-confirm-view{background-color:var(--ck-color-light-red);display:flex;font-size:var(--ck-font-size-base);height:100%;justify-content:flex-start;left:100%;position:absolute;top:0;width:100%}.ck .ck-confirm-view .ck-confirm-view-inner{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;max-height:400px;padding-top:var(--ck-spacing-standard);width:100%}.ck .ck-confirm-view p{font-weight:700;margin:0}",""]);const a=i},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/footnotes.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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.footnotes-wrapper{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),l=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),u=i()(o()),d=c()(l);u.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=u},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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 l=0;l<e.length;l++){var u=[].concat(e[l]);s&&i[u[0]]||(void 0!==n&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=n),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.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],l=s.base?c[0]+s.base:c[0],u=n[l]||0,d="".concat(l," ").concat(u);n[l]=u+1;var m=r(d),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(g);else{var h=o(g,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:h,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),l=0;l<n.length;l++){var u=r(n[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}n=c}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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:()=>C,ConfirmMixin:()=>Mo,DATA_ID_MODEL_ATTRIBUTE:()=>Jo,DATA_ID_VIEW_ATTRIBUTE:()=>Ko,DocumentCompare:()=>Go,FOCUS_ANNOTATION_KEYSTROKE:()=>Bo,LateFocusButtonView:()=>E,LateFocusDropdownButtonView:()=>M,Permissions:()=>n,SuggestionsConversion:()=>ne,UserView:()=>I,Users:()=>y,fixElementSuggestionRange:()=>j,getAllMarkersDomElementsSorted:()=>xo,getDateTimeFormatter:()=>vo,getMarkerDomElement:()=>So,hashObject:()=>Oo,sanitizeEditorConfig:()=>Wo,setupThreadKeyboardNavigation:()=>Zo,splitSuggestionMarkerName:()=>D,surroundingMarkersDetector:()=>zo,trimHtml:()=>To});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"),l=e.includes("comment:modify_all"),u=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||u,g=m||l,h=c||m;if(a&&(a.isEnabled=!c&&g),r instanceof s.Editor){!(c||g&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:u,modifyAll:l,write:d,resolve:h},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/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),l=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),u=r.n(l),d=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),g=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),h=r.n(g),k=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(k),p=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),b={attributes:{"data-cke":!0}};b.setAttributes=h(),b.insert=m().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=f();c()(p.A,b);p.A&&p.A.locals&&p.A.locals;class y 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 _(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 v(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class _{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 v{_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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),A={attributes:{"data-cke":!0}};A.setAttributes=h(),A.insert=m().bind(null,"head"),A.domAPI=u(),A.insertStyleElement=f();c()(T.A,A);T.A&&T.A.locals&&T.A.locals;class I 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 C 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 E extends S.ButtonView{render(){super.render(),O(this)}}class M extends S.DropdownButtonView{render(){super.render(),O(this)}}function O(e){e.listenTo(e.element,"mousedown",(e,t)=>{t.stopPropagation(),t.preventDefault()}),e.listenTo(e.element,"mouseup",()=>{e.element.focus()})}var N=r("ckeditor5/src/widget.js");function D(e){const t=e.split(":");return{group:t[0],type:t[1],subType:t.length>=5?t[2]:null,id:t.length<5?t[2]:t[3],authorId:t.length<5?t[3]:t[4],markerCount:6==t.length?t[5]:null}}function j(e,t){const r=e.end.nodeBefore;if(r&&r.is("element")&&t.schema.isBlock(r)&&!t.schema.isObject(r)){const s=t.createPositionAt(r,"end");return t.createRange(e.start,s)}return e}class V extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("AlignmentEditing"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("alignment")}}const P=["BoldEditing","ItalicEditing","UnderlineEditing","CodeEditing","StrikethroughEditing","SubscriptEditing","SuperscriptEditing"];class F extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");for(const r of P){if(!e.plugins.has(r))continue;const s=r.slice(0,-7).toLowerCase();t.registerInlineAttribute(s)}}}class L extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("BookmarkEditing")&&t.registerBlockAttribute("bookmarkId")}}const $=[{pluginName:"FontSizeEditing",commandName:"fontSize"},{pluginName:"FontFamilyEditing",commandName:"fontFamily"},{pluginName:"FontColorEditing",commandName:"fontColor"},{pluginName:"FontBackgroundColorEditing",commandName:"fontBackgroundColor"}];class W extends s.Plugin{afterInit(){const e=this.editor.plugins.get("SuggestionsConversion");for(const{pluginName:t,commandName:r}of $)this.editor.plugins.has(t)&&e.registerInlineAttribute(r)}}class z extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("HighlightEditing"))return;e.plugins.get("SuggestionsConversion").registerInlineAttribute("highlight")}}class B extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("HtmlEmbed"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("value")}}class Z extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ImageEditing"))return;const t=e.plugins.get("SuggestionsConversion");t.registerBlockAttribute("src"),e.plugins.has("ImageResize")&&t.registerBlockAttribute("resizedWidth"),e.plugins.has("ImageTextAlternativeEditing")&&t.registerBlockAttribute("alt"),e.plugins.has("PictureEditing")&&t.registerBlockAttribute("sources"),e.plugins.has("ImageSizeAttributes")&&(t.registerBlockAttribute("width"),t.registerBlockAttribute("height"))}}class U extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("IndentBlock")&&t.registerBlockAttribute("blockIndent")}}class R extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("LineHeight"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("lineHeight")}}class H extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("LinkEditing"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.commands.get("link");t.registerInlineAttribute("linkHref");for(const e of r.manualDecorators)t.registerInlineAttribute(e.id)}}class q extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ListEditing"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.plugins.has("TodoListEditing");t.registerBlockAttribute("listItemId"),t.registerBlockAttribute("listType"),t.registerBlockAttribute("listIndent"),r&&t.registerBlockAttribute("todoListChecked")}}class Y extends s.Plugin{afterInit(){if(!this.editor.plugins.has("ListPropertiesEditing"))return;const e=this.editor.config.get("list.properties"),t=this.editor.plugins.get("SuggestionsConversion");e.styles&&t.registerBlockAttribute("listStyle"),e.reversed&&t.registerBlockAttribute("listReversed"),e.startIndex&&t.registerBlockAttribute("listStart")}}class J extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("MultiLevelList")&&t.registerBlockAttribute("listMarkerStyle")}}class K extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("Style")||!e.plugins.has("DataSchema")||!e.config.get("style.definitions"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.config.get("style.definitions"),s=e.plugins.get("GeneralHtmlSupport"),o=e.plugins.get("StyleUtils").normalizeConfig(e.plugins.get("DataSchema"),r),n=new Set;for(const e of o.block){const t=s.getGhsAttributeNameForElement(e.element);n.add(t)}const i=new Set;for(const e of o.inline){const t=s.getGhsAttributeNameForElement(e.element);i.add(t);for(const t of e.ghsAttributes)i.add(t)}for(const e of n)t.registerBlockAttribute(e);for(const e of i)t.registerInlineAttribute(e)}}class G extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("TableEditing"))return;const t=e.plugins.get("SuggestionsConversion");t.registerBlockAttribute("headingRows"),t.registerBlockAttribute("headingColumns")}}class Q extends s.Plugin{afterInit(){const e=this.editor.plugins.get("SuggestionsConversion");if(!this.editor.plugins.has("Table"))return;const t=["tableBorderColor","tableBorderStyle","tableBorderWidth","tableAlignment","tableWidth","tableHeight","tableBackgroundColor","tableCellBorderColor","tableCellBorderStyle","tableCellBorderWidth","tableCellPadding","tableCellWidth","tableCellHeight","tableCellBackgroundColor","tableCellHorizontalAlignment","tableCellVerticalAlignment"];for(const r of t)e.registerBlockAttribute(r)}}class X extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("TableLayout")&&t.registerBlockAttribute("tableType")}}class ee extends s.Plugin{afterInit(){const e=this.editor,t=this.editor.plugins.get("SuggestionsConversion");e.plugins.has("Uploadcare")&&e.plugins.has("UploadcareImageEdit")&&t.registerBlockAttribute("uploadcareImageId")}}class te extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ShiftEnter"))return;const t=e.plugins.get("SuggestionsConversion"),r=(r,s,o,n)=>{if(n&&!o.options.showSuggestionHighlights)return;if(!o.consumable.test(s.markerRange,r.name))return;const i=e.model;for(const e of s.markerRange.getItems()){if(!e.is("element","softBreak"))continue;const r="deletion"==s.markerName.split(":")[1]?"merge":"split",{id:a,authorId:c}=D(s.markerName),l=o.writer.createUIElement("span",{class:`ck-suggestion-marker-${r}`,"data-suggestion":a,"data-author-id":c}),u=o.mapper.toViewPosition(i.createPositionBefore(e));!n&&t._activeMarkers.includes(s.markerName)&&o.writer.addClass("ck-suggestion-marker--active",l),o.writer.insert(u,l),o.mapper.bindElementToMarker(l,s.markerName)}};e.editing.downcastDispatcher.on("addMarker:suggestion",(e,t,s)=>{r(e,t,s,!1)},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion",(e,t,s)=>{r(e,t,s,!0)},{priority:"high"})}}class re extends s.Plugin{afterInit(){const e=this.editor;e.plugins.has("MediaEmbedEditing")&&(e.conversion.for("dataDowncast").elementToElement({model:"media",view:(e,{writer:t,options:r})=>{if(r.showSuggestionHighlights)return t.createEmptyElement("div")},converterPriority:"high"}),e.data.downcastDispatcher.on("attribute:url:media",(e,t,r)=>{r.options.showSuggestionHighlights&&e.stop()},{priority:"high"}))}}class se extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("Table"))return;e.data.downcastDispatcher.on("addMarker:suggestion",(e,t,r)=>{((e,t,r)=>{if(!r.options.showSuggestionHighlights)return;const s=t.item;if(!s||!s.is("element","tableCell"))return;const n=r.mapper.toViewElement(s);if(n){const{id:e,authorId:s}=D(t.markerName);(0,N.setHighlightHandling)(n,r.writer,(t,r,n)=>{n.addClass((0,o.toArray)(r.classes),t),n.setAttribute("data-suggestion-id",e,t),n.setAttribute("data-author-id",s,t)})}})(0,t,r)},{priority:"highest"})}}class oe extends s.Plugin{afterInit(){const e=this.editor;e.plugins.has("HorizontalLineEditing")&&e.conversion.for("dataDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:t,options:r})=>{if(!r.showSuggestionHighlights)return null;const s=t.createContainerElement("div"),o=t.createEmptyElement("hr");return t.addClass("ck-horizontal-line",s),t.insert(t.createPositionAt(s,0),o),s},converterPriority:"high"})}}class ne extends s.Plugin{_activeMarkers=[];_blockAttributeKeys=new Set(["$elementName"]);_inlineAttributeKeys=new Set;static get pluginName(){return"SuggestionsConversion"}static get requires(){return[V,F,L,W,z,oe,B,Z,U,R,H,q,Y,re,J,te,K,se,G,X,Q,ee]}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e=this.editor,t=(e,t,r)=>{const{id:s,authorId:o,type:n,subType:i}=D(e.markerName),a=["ck-suggestion-marker",this._getClassName(n,i)];let c=3e3;if(!r){this._activeMarkers.includes(e.markerName)&&(a.push("ck-suggestion-marker--active"),c=3010)}return"deletion"==n&&(c+=5),{classes:a,attributes:{"data-suggestion":s,"data-author-id":o},priority:c}};e.conversion.for("editingDowncast").markerToHighlight({model:"suggestion",view:(e,r)=>t(e,0,!1)}),e.conversion.for("dataDowncast").markerToHighlight({model:"suggestion",view:(e,r)=>t(e,0,!0)}),e.conversion.for("dataDowncast").add(t=>{t.on("addMarker:suggestion",(t,r,s)=>{if(!s.options.showSuggestionHighlights)return;const o=r.item;if(!o)return;const n=s.mapper.toViewElement(o);e.model.schema.isObject(o)&&n&&!n.getCustomProperty("widget")&&n.is("containerElement")&&(0,N.toWidget)(n,s.writer)},{priority:"high"})});const r=(t,r,s,o,n)=>{if(o&&!s.options.showSuggestionHighlights)return;if(!r.item)return;const{id:i,authorId:a,subType:c}=D(r.markerName);if(n){const e=c.split("|")[0];if(!this.isBlockAttribute(e))return}if(r.item.is("selection"))return void s.consumable.consume(r.item,t.name);const l=s.mapper.toViewElement(r.item);if(r.item.is("element")&&e.model.schema.isBlock(r.item)&&!l.getCustomProperty("addHighlight")){s.writer.addClass(["ck-suggestion-marker","ck-suggestion-marker-formatBlock"],l),s.writer.setAttribute("data-suggestion",i,l),s.writer.setAttribute("data-author-id",a,l),s.mapper.bindElementToMarker(l,r.markerName),o||(this._activeMarkers.includes(r.markerName)?s.writer.addClass("ck-suggestion-marker--active",l):s.writer.removeClass("ck-suggestion-marker--active",l));for(const o of e.model.createRangeIn(r.item).getItems())s.consumable.consume(o,t.name);s.consumable.consume(r.item,t.name)}},s=(e,t,r,s)=>{const o=r.mapper.markerNameToElements(t.markerName);if(o){if(s){const{subType:e}=D(t.markerName),r=e.split("|")[0];if(!this.isBlockAttribute(r))return}for(const e of o)e.getCustomProperty("addHighlight")||(r.writer.removeClass(["ck-suggestion-marker","ck-suggestion-marker-formatBlock","ck-suggestion-marker--active"],e),r.writer.removeAttribute("data-suggestion",e),r.writer.removeAttribute("data-author-id",e),r.mapper.unbindElementFromMarkerName(e,t.markerName))}};e.conversion.for("editingDowncast").add(e=>{e.on("addMarker:suggestion:formatBlock",(e,t,s)=>{r(e,t,s,!1,!1)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("addMarker:suggestion:attribute",(e,t,s)=>{r(e,t,s,!1,!0)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("removeMarker:suggestion:formatBlock",(e,t,r)=>{s(0,t,r,!1)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("removeMarker:suggestion:attribute",(e,t,r)=>{s(0,t,r,!0)},{priority:"high"})}),e.conversion.for("dataDowncast").add(e=>{e.on("addMarker:suggestion:formatBlock",(e,t,s)=>{r(e,t,s,!0,!1)},{priority:"highest"})}),e.conversion.for("dataDowncast").add(e=>{e.on("addMarker:suggestion:attribute",(e,t,s)=>{r(e,t,s,!0,!0)},{priority:"highest"})}),e.conversion.for("dataDowncast").markerToData({model:"suggestion",view:(e,t)=>{if(t.options.showSuggestionHighlights){const{id:t,authorId:r}=D(e);return e.includes(":split")||e.includes(":merge")?{group:"suggestion",name:e.substr(11),attributes:{"data-suggestion":t,"data-author-id":r}}:null}return{group:"suggestion",name:e.substr(11)}}});const o=(t,r,s,o,n)=>{if(o&&!s.options.showSuggestionHighlights)return;if(!s.consumable.test(r.markerRange,t.name))return;const i=this._activeMarkers,a=r.markerRange.getWalker(),c=r.markerRange.start,l=e.model.schema;let u=null,d=null,m=!1,g=!1;for(const e of a){const t=e.item;m=m||l.isContent(t);const r=s.mapper.toViewElement(t);if(r&&r.getCustomProperty("addHighlight"))return;"elementEnd"==e.type&&(l.isBlock(t)&&!l.isLimit(t)&&(t.nextSibling||c.isAtEnd?u&&u.parent==t||(u=t,h(e.previousPosition),g=!0):d=d||e.previousPosition))}function h(e){const{id:t,authorId:a}=D(r.markerName),c=s.writer.createUIElement("span",{class:`ck-suggestion-marker-${n}`,"data-suggestion":t,"data-author-id":a}),l=s.mapper.toViewPosition(e);!o&&i.includes(r.markerName)&&s.writer.addClass("ck-suggestion-marker--active",c),s.writer.insert(l,c),s.mapper.bindElementToMarker(c,r.markerName)}m||g||!d||h(d)};e.editing.downcastDispatcher.on("addMarker:suggestion:deletion",(e,t,r)=>{o(e,t,r,!1,"merge")},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:deletion",(e,t,r)=>{o(e,t,r,!0,"merge")},{priority:"high"}),e.editing.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{o(e,t,r,!1,"split")},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{o(e,t,r,!0,"split")},{priority:"high"}),e.editing.downcastDispatcher.on("removeMarker:suggestion",(e,t,r)=>{((e,t,r)=>{const s=r.mapper.markerNameToElements(t.markerName);if(s)for(const e of s)(e.hasClass("ck-suggestion-marker-split")||e.hasClass("ck-suggestion-marker-merge"))&&(r.mapper.unbindElementFromMarkerName(e,t.markerName),r.writer.remove(e))})(0,t,r)},{priority:"high"});const n=(t,r,s,o)=>{if(o&&!s.options.showSuggestionHighlights)return;const n=r.markerRange.start,i=r.markerRange.end,a=e.model.schema;if(!n.isTouching(i)||!n.nodeAfter)return;const c=n.nodeAfter;if(a.isBlock(c)&&!a.isLimit(c)&&a.checkChild(c,"$text")){if(!s.consumable.consume(r.markerRange,t.name))return;const{id:e,authorId:n}=D(r.markerName),a=s.writer.createUIElement("span",{class:"ck-suggestion-marker-split","data-suggestion":e,"data-author-id":n}),c=s.mapper.toViewPosition(i);!o&&this._activeMarkers.includes(r.markerName)&&s.writer.addClass("ck-suggestion-marker--active",a),s.writer.insert(c,a),s.mapper.bindElementToMarker(a,r.markerName)}};e.editing.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{n(e,t,r,!1)},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{n(e,t,r,!0)},{priority:"high"})}afterInit(){this.editor.plugins.has("TrackChangesEditing")&&this.listenTo(this.editor.plugins.get("TrackChangesEditing"),"change:activeMarkers",(e,t,r)=>{this._activeMarkers=r.slice()},{priority:"highest"})}registerBlockAttribute(e){this._blockAttributeKeys.add(e)}registerInlineAttribute(e){this._inlineAttributeKeys.add(e)}isBlockAttribute(e){return this._blockAttributeKeys.has(e)}isInlineAttribute(e){return this._inlineAttributeKeys.has(e)}isRegisteredAttribute(e){return this.isInlineAttribute(e)||this.isBlockAttribute(e)}_getClassName(e,t){if("attribute"!=e)return`ck-suggestion-marker-${e}`;const r=t.split("|")[0];return this.isBlockAttribute(r)?"ck-suggestion-marker-formatBlock":"ck-suggestion-marker-formatInline"}}class ie extends Error{}class ae extends ie{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class ce extends ie{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class le extends ie{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ue extends ie{}class de extends ie{constructor(e){super(`Invalid unit ${e}`)}}class me extends ie{}class ge extends ie{constructor(){super("Zone is an abstract class")}}const he="numeric",ke="short",fe="long",pe={year:he,month:he,day:he},be={year:he,month:ke,day:he},ye={year:he,month:ke,day:he,weekday:ke},_e={year:he,month:fe,day:he},we={year:he,month:fe,day:he,weekday:fe},ve={hour:he,minute:he},Se={hour:he,minute:he,second:he},xe={hour:he,minute:he,second:he,timeZoneName:ke},Te={hour:he,minute:he,second:he,timeZoneName:fe},Ae={hour:he,minute:he,hourCycle:"h23"},Ie={hour:he,minute:he,second:he,hourCycle:"h23"},Ce={hour:he,minute:he,second:he,hourCycle:"h23",timeZoneName:ke},Ee={hour:he,minute:he,second:he,hourCycle:"h23",timeZoneName:fe},Me={year:he,month:he,day:he,hour:he,minute:he},Oe={year:he,month:he,day:he,hour:he,minute:he,second:he},Ne={year:he,month:ke,day:he,hour:he,minute:he},De={year:he,month:ke,day:he,hour:he,minute:he,second:he},je={year:he,month:ke,day:he,weekday:ke,hour:he,minute:he},Ve={year:he,month:fe,day:he,hour:he,minute:he,timeZoneName:ke},Pe={year:he,month:fe,day:he,hour:he,minute:he,second:he,timeZoneName:ke},Fe={year:he,month:fe,day:he,weekday:fe,hour:he,minute:he,timeZoneName:fe},Le={year:he,month:fe,day:he,weekday:fe,hour:he,minute:he,second:he,timeZoneName:fe};class $e{get type(){throw new ge}get name(){throw new ge}get ianaName(){return this.name}get isUniversal(){throw new ge}offsetName(e,t){throw new ge}formatOffset(e,t){throw new ge}offset(e){throw new ge}equals(e){throw new ge}get isValid(){throw new ge}}let We=null;class ze extends $e{static get instance(){return null===We&&(We=new ze),We}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return ar(e,t,r)}formatOffset(e,t){return dr(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const Be=new Map;const Ze={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ue=new Map;class Re extends $e{static create(e){let t=Ue.get(e);return void 0===t&&Ue.set(e,t=new Re(e)),t}static resetCache(){Ue.clear(),Be.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=Re.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return ar(e,t,r,this.name)}formatOffset(e,t){return dr(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=Be.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"}),Be.set(e,t)),t}(this.name);let[s,o,n,i,a,c,l]=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=Ze[t];"era"===t?s[n]=o:Wt(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,l,u]=s;return[i,o,n,a,c,l,u]}(r,t);"BC"===i&&(s=1-Math.abs(s));let u=+t;const d=u%1e3;return u-=d>=0?d:1e3+d,(sr({year:s,month:o,day:n,hour:24===a?0:a,minute:c,second:l,millisecond:0})-u)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let He={};const qe=new Map;function Ye(e,t={}){const r=JSON.stringify([e,t]);let s=qe.get(r);return void 0===s&&(s=new Intl.DateTimeFormat(e,t),qe.set(r,s)),s}const Je=new Map;const Ke=new Map;let Ge=null;const Qe=new Map;function Xe(e){let t=Qe.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Qe.set(e,t)),t}const et=new Map;function tt(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class rt{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=Je.get(r);return void 0===s&&(s=new Intl.NumberFormat(e,t),Je.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 Jt(this.floor?Math.floor(e):Xt(e,3),this.padTo)}}class st{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&&Re.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=Ye(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 ot{constructor(e,t,r){this.opts={style:"long",...r},!t&&Zt()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=Ke.get(o);return void 0===n&&(n=new Intl.RelativeTimeFormat(e,t),Ke.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,l=o[e],u=s?c?l[1]:l[2]||l[1]:c?o[e][0]:e;return i?`${a} ${u} ago`:`in ${a} ${u}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const nt={firstDay:1,minimalDays:4,weekend:[6,7]};class it{static fromOpts(e){return it.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||xt.defaultLocale,i=n||(o?"en-US":Ge||(Ge=(new Intl.DateTimeFormat).resolvedOptions().locale,Ge)),a=t||xt.defaultNumberingSystem,c=r||xt.defaultOutputCalendar,l=qt(s)||xt.defaultWeekSettings;return new it(i,a,c,l,n)}static resetCache(){Ge=null,qe.clear(),Je.clear(),Ke.clear(),Qe.clear(),et.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return it.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=Ye(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=Ye(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"===Xe(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?it.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,qt(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 tt(this,e,fr,()=>{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=_o.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 tt(this,e,_r,()=>{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=_o.utc(2016,11,13+r);t.push(e(s))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return tt(this,void 0,()=>wr,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[_o.utc(2016,11,13,9),_o.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return tt(this,e,Tr,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[_o.utc(-40,1,1),_o.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 rt(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new st(e,this.intl,t)}relFormatter(e={}){return new ot(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=He[r];return s||(s=new Intl.ListFormat(e,t),He[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Xe(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ut()?function(e){let t=et.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...nt,...t}),et.set(e,t)}return t}(this.locale):nt}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 at=null;class ct extends $e{static get utcInstance(){return null===at&&(at=new ct(0)),at}static instance(e){return 0===e?ct.utcInstance:new ct(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ct(cr(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${dr(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${dr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return dr(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 lt extends $e{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 ut(e,t){if(Wt(e)||null===e)return t;if(e instanceof $e)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?ze.instance:"utc"===r||"gmt"===r?ct.utcInstance:ct.parseSpecifier(r)||Re.create(e)}return zt(e)?ct.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new lt(e)}const dt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mt={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]},gt=dt.hanidec.replace(/[\[|\]]/g,"").split("");const ht=new Map;function kt({numberingSystem:e},t=""){const r=e||"latn";let s=ht.get(r);void 0===s&&(s=new Map,ht.set(r,s));let o=s.get(t);return void 0===o&&(o=new RegExp(`${dt[r]}${t}`),s.set(t,o)),o}let ft,pt=()=>Date.now(),bt="system",yt=null,_t=null,wt=null,vt=60,St=null;class xt{static get now(){return pt}static set now(e){pt=e}static set defaultZone(e){bt=e}static get defaultZone(){return ut(bt,ze.instance)}static get defaultLocale(){return yt}static set defaultLocale(e){yt=e}static get defaultNumberingSystem(){return _t}static set defaultNumberingSystem(e){_t=e}static get defaultOutputCalendar(){return wt}static set defaultOutputCalendar(e){wt=e}static get defaultWeekSettings(){return St}static set defaultWeekSettings(e){St=qt(e)}static get twoDigitCutoffYear(){return vt}static set twoDigitCutoffYear(e){vt=e%100}static get throwOnInvalid(){return ft}static set throwOnInvalid(e){ft=e}static resetCaches(){it.resetCache(),Re.resetCache(),_o.resetCache(),ht.clear()}}class Tt{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const At=[0,31,59,90,120,151,181,212,243,273,304,334],It=[0,31,60,91,121,152,182,213,244,274,305,335];function Ct(e,t){return new Tt("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Et(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 Mt(e,t,r){return r+(er(e)?It:At)[t-1]}function Ot(e,t){const r=er(e)?It:At,s=r.findIndex(e=>e<t);return{month:s+1,day:t-r[s]}}function Nt(e,t){return(e-t+7)%7+1}function Dt(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=Mt(s,o,n),a=Nt(Et(s,o,n),r);let c,l=Math.floor((i-a+14-t)/7);return l<1?(c=s-1,l=nr(c,t,r)):l>nr(s,t,r)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...mr(e)}}function jt(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=Nt(Et(s,1,t),r),a=tr(s);let c,l=7*o+n-i-7+t;l<1?(c=s-1,l+=tr(c)):l>a?(c=s+1,l-=tr(s)):c=s;const{month:u,day:d}=Ot(c,l);return{year:c,month:u,day:d,...mr(e)}}function Vt(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:Mt(t,r,s),...mr(e)}}function Pt(e){const{year:t,ordinal:r}=e,{month:s,day:o}=Ot(t,r);return{year:t,month:s,day:o,...mr(e)}}function Ft(e,t){if(!Wt(e.localWeekday)||!Wt(e.localWeekNumber)||!Wt(e.localWeekYear)){if(!Wt(e.weekday)||!Wt(e.weekNumber)||!Wt(e.weekYear))throw new ue("Cannot mix locale-based week fields with ISO-based week fields");return Wt(e.localWeekday)||(e.weekday=e.localWeekday),Wt(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Wt(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=Bt(e.year),r=Yt(e.month,1,12),s=Yt(e.day,1,rr(e.year,e.month));return t?r?!s&&Ct("day",e.day):Ct("month",e.month):Ct("year",e.year)}function $t(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=Yt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=Yt(r,0,59),a=Yt(s,0,59),c=Yt(o,0,999);return n?i?a?!c&&Ct("millisecond",o):Ct("second",s):Ct("minute",r):Ct("hour",t)}function Wt(e){return void 0===e}function zt(e){return"number"==typeof e}function Bt(e){return"number"==typeof e&&e%1==0}function Zt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Ut(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Rt(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 Ht(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qt(e){if(null==e)return null;if("object"!=typeof e)throw new me("Week settings must be an object");if(!Yt(e.firstDay,1,7)||!Yt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Yt(e,1,7)))throw new me("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Yt(e,t,r){return Bt(e)&&e>=t&&e<=r}function Jt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function Kt(e){return Wt(e)||null===e||""===e?void 0:parseInt(e,10)}function Gt(e){return Wt(e)||null===e||""===e?void 0:parseFloat(e)}function Qt(e){if(!Wt(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Xt(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function er(e){return e%4==0&&(e%100!=0||e%400==0)}function tr(e){return er(e)?366:365}function rr(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?er(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function sr(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 or(e,t,r){return-Nt(Et(e,1,t),r)+t-1}function nr(e,t=4,r=1){const s=or(e,t,r),o=or(e+1,t,r);return(tr(e)-s+o)/7}function ir(e){return e>99?e:e>xt.twoDigitCutoffYear?1900+e:2e3+e}function ar(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 cr(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 lr(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new me(`Invalid unit value ${e}`);return t}function ur(e,t){const r={};for(const s in e)if(Ht(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=lr(o)}return r}function dr(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}${Jt(r,2)}:${Jt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${Jt(r,2)}${Jt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function mr(e){return function(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}(e,["hour","minute","second","millisecond"])}const gr=["January","February","March","April","May","June","July","August","September","October","November","December"],hr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],kr=["J","F","M","A","M","J","J","A","S","O","N","D"];function fr(e){switch(e){case"narrow":return[...kr];case"short":return[...hr];case"long":return[...gr];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 pr=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],br=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],yr=["M","T","W","T","F","S","S"];function _r(e){switch(e){case"narrow":return[...yr];case"short":return[...br];case"long":return[...pr];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const wr=["AM","PM"],vr=["Before Christ","Anno Domini"],Sr=["BC","AD"],xr=["B","A"];function Tr(e){switch(e){case"narrow":return[...xr];case"short":return[...Sr];case"long":return[...vr];default:return null}}function Ar(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Ir={D:pe,DD:be,DDD:_e,DDDD:we,t:ve,tt:Se,ttt:xe,tttt:Te,T:Ae,TT:Ie,TTT:Ce,TTTT:Ee,f:Me,ff:Ne,fff:Ve,ffff:Fe,F:Oe,FF:De,FFF:Pe,FFFF:Le};class Cr{static create(e,t={}){return new Cr(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 Ir[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 Jt(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 wr[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return fr(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return _r(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{const r=Cr.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},u=t=>r?function(e,t){return Tr(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Ar(Cr.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 u("short");case"GG":return u("long");case"GGGGG":return u("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 l(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=Cr.parseFormat(t),o=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return Ar(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 Er=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Mr(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function Or(...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 Nr(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 Dr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=Kt(t[r+o]);return[s,null,r+o]}}const jr=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vr=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pr=RegExp(`${Vr.source}${`(?:${jr.source}?(?:\\[(${Er.source})\\])?)?`}`),Fr=RegExp(`(?:T${Pr.source})?`),Lr=Dr("weekYear","weekNumber","weekDay"),$r=Dr("year","ordinal"),Wr=RegExp(`${Vr.source} ?(?:${jr.source}|(${Er.source}))?`),zr=RegExp(`(?: ${Wr.source})?`);function Br(e,t,r){const s=e[t];return Wt(s)?r:Kt(s)}function Zr(e,t){return[{hours:Br(e,t,0),minutes:Br(e,t+1,0),seconds:Br(e,t+2,0),milliseconds:Qt(e[t+3])},null,t+4]}function Ur(e,t){const r=!e[t]&&!e[t+1],s=cr(e[t+1],e[t+2]);return[{},r?null:ct.instance(s),t+3]}function Rr(e,t){return[{},e[t]?Re.create(e[t]):null,t+1]}const Hr=RegExp(`^T?${Vr.source}$`),qr=/^-?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 Yr(e){const[t,r,s,o,n,i,a,c,l]=e,u="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&u)?-e:e;return[{years:m(Gt(r)),months:m(Gt(s)),weeks:m(Gt(o)),days:m(Gt(n)),hours:m(Gt(i)),minutes:m(Gt(a)),seconds:m(Gt(c),"-0"===c),milliseconds:m(Qt(l),d)}]}const Jr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Kr(e,t,r,s,o,n,i){const a={year:2===t.length?ir(Kt(t)):Kt(t),month:hr.indexOf(r)+1,day:Kt(s),hour:Kt(o),minute:Kt(n)};return i&&(a.second=Kt(i)),e&&(a.weekday=e.length>3?pr.indexOf(e)+1:br.indexOf(e)+1),a}const Gr=/^(?:(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 Qr(e){const[,t,r,s,o,n,i,a,c,l,u,d]=e,m=Kr(t,o,s,r,n,i,a);let g;return g=c?Jr[c]:l?0:cr(u,d),[m,new ct(g)]}const Xr=/^(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$/,es=/^(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$/,ts=/^(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 rs(e){const[,t,r,s,o,n,i,a]=e;return[Kr(t,o,s,r,n,i,a),ct.utcInstance]}function ss(e){const[,t,r,s,o,n,i,a]=e;return[Kr(t,a,r,s,o,n,i),ct.utcInstance]}const os=Mr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Fr),ns=Mr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Fr),is=Mr(/(\d{4})-?(\d{3})/,Fr),as=Mr(Pr),cs=Or(function(e,t){return[{year:Br(e,t),month:Br(e,t+1,1),day:Br(e,t+2,1)},null,t+3]},Zr,Ur,Rr),ls=Or(Lr,Zr,Ur,Rr),us=Or($r,Zr,Ur,Rr),ds=Or(Zr,Ur,Rr);const ms=Or(Zr);const gs=Mr(/(\d{4})-(\d\d)-(\d\d)/,zr),hs=Mr(Wr),ks=Or(Zr,Ur,Rr);const fs="Invalid Duration",ps={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}},bs={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},...ps},ys=365.2425,_s=30.436875,ws={years:{quarters:4,months:12,weeks:52.1775,days:ys,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:_s,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ps},vs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ss=vs.slice(0).reverse();function xs(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 Is(s)}function Ts(e,t){let r=t.milliseconds??0;for(const s of Ss.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function As(e,t){const r=Ts(e,t)<0?-1:1;vs.reduceRight((s,o)=>{if(Wt(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),vs.reduce((r,s)=>{if(Wt(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}class Is{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?ws:bs;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||it.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Is.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new me("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Is({values:ur(e,Is.normalizeUnit),loc:it.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(zt(e))return Is.fromMillis(e);if(Is.isDuration(e))return e;if("object"==typeof e)return Is.fromObject(e);throw new me(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return Nr(e,[qr,Yr])}(e);return r?Is.fromObject(r,t):Is.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return Nr(e,[Hr,ms])}(e);return r?Is.fromObject(r,t):Is.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new me("need to specify a reason the Duration is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new le(r);return new Is({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 de(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?Cr.create(this.loc,r).formatDurationFromString(this,e):fs}toHuman(e={}){if(!this.isValid)return fs;const t=vs.map(t=>{const r=this.values[t];return Wt(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+=Xt(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 _o.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?Ts(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Is.fromDurationLike(e),r={};for(const e of vs)(Ht(t.values,e)||Ht(this.values,e))&&(r[e]=t.get(e)+this.get(e));return xs(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Is.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]=lr(e(this.values[r],r));return xs(this,{values:t},!0)}get(e){return this[Is.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return xs(this,{values:{...this.values,...ur(e,Is.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return xs(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 As(this.matrix,e),xs(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return xs(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=>Is.normalizeUnit(e));const t={},r={},s=this.toObject();let o;for(const n of vs)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;zt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else zt(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 As(this.matrix,t),xs(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 xs(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 vs)if(!t(this.values[r],e.values[r]))return!1;return!0}}const Cs="Invalid Interval";class Es{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 me("need to specify a reason the Interval is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new ce(r);return new Es({invalid:r})}static fromDateTimes(e,t){const r=wo(e),s=wo(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Es.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:Es.invalid("missing or invalid end"):Es.invalid("missing or invalid start")}(r,s);return null==o?new Es({start:r,end:s}):o}static after(e,t){const r=Is.fromDurationLike(t),s=wo(e);return Es.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Is.fromDurationLike(t),s=wo(e);return Es.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=_o.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=_o.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return Es.fromDateTimes(e,n);if(o){const r=Is.fromISO(s,t);if(r.isValid)return Es.after(e,r)}else if(i){const e=Is.fromISO(r,t);if(e.isValid)return Es.before(n,e)}}return Es.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?Es.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(wo).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(Es.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Is.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(Es.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:Es.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 Es.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(Es.fromDateTimes(t,e.time)),t=null);return Es.merge(s)}difference(...e){return Es.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Cs}[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=pe,t={}){return this.isValid?Cr.create(this.s.loc.clone(t),e).formatInterval(this):Cs}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Cs}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Cs}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Cs}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Cs}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Is.invalid(this.invalidReason)}mapEndpoints(e){return Es.fromDateTimes(e(this.s),e(this.e))}}class Ms{static hasDST(e=xt.defaultZone){const t=_o.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Re.isValidZone(e)}static normalizeZone(e){return ut(e,xt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||it.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||it.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||it.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||it.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return it.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return it.create(t,null,"gregory").eras(e)}static features(){return{relative:Zt(),localeWeek:Ut()}}}function Os(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Is.fromMillis(s).as("days"))}function Ns(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=Os(e,t);return(r-r%7)/7}],["days",Os]],o={},n=e;let i,a;for(const[c,l]of s)r.indexOf(c)>=0&&(i=c,o[c]=l(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,l=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const u=Is.fromObject(n,s);return l.length>0?Is.fromMillis(c,s).shiftTo(...l).plus(u):u}function Ds(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(dt.hanidec))t+=gt.indexOf(e[r]);else for(const e in mt){const[r,o]=mt[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const js=`[ ${String.fromCharCode(160)}]`,Vs=new RegExp(js,"g");function Ps(e){return e.replace(/\./g,"\\.?").replace(Vs,js)}function Fs(e){return e.replace(/\./g,"").replace(Vs," ").toLowerCase()}function Ls(e,t){return null===e?null:{regex:RegExp(e.map(Ps).join("|")),deser:([r])=>e.findIndex(e=>Fs(r)===Fs(e))+t}}function $s(e,t){return{regex:e,deser:([,e,t])=>cr(e,t),groups:t}}function Ws(e){return{regex:e,deser:([e])=>e}}const zs={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 Bs=null;function Zs(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const r=Hs(Cr.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t)))}class Us{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Zs(Cr.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const r=kt(t),s=kt(t,"{2}"),o=kt(t,"{3}"),n=kt(t,"{4}"),i=kt(t,"{6}"),a=kt(t,"{1,2}"),c=kt(t,"{1,3}"),l=kt(t,"{1,6}"),u=kt(t,"{1,9}"),d=kt(t,"{2,4}"),m=kt(t,"{4,6}"),g=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},h=(h=>{if(e.literal)return g(h);switch(h.val){case"G":return Ls(t.eras("short"),0);case"GG":return Ls(t.eras("long"),0);case"y":return Ds(l);case"yy":case"kk":return Ds(d,ir);case"yyyy":case"kkkk":return Ds(n);case"yyyyy":return Ds(m);case"yyyyyy":return Ds(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Ds(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Ds(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 Ds(c);case"ooo":case"SSS":return Ds(o);case"u":return Ws(u);case"uu":return Ws(a);case"uuu":case"E":case"c":return Ds(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 $s(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return $s(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ws(/[a-z_+-/]{1,256}?/i);case" ":return Ws(/[^\S\n\r]/);default:return g(h)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return h.token=e,h}(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(Ht(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 Wt(e.z)||(r=Re.create(e.z)),Wt(e.Z)||(r||(r=new ct(e.Z)),t=e.Z),Wt(e.q)||(e.M=3*(e.q-1)+1),Wt(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),Wt(e.u)||(e.S=Qt(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(Ht(r,"a")&&Ht(r,"H"))throw new ue("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 Rs(e,t,r){return new Us(e,r).explainFromTokens(t)}function Hs(e,t){if(!e)return null;const r=Cr.create(t,e).dtFormatter((Bs||(Bs=_o.fromMillis(1555555555555)),Bs)),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=zs[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o))}const qs="Invalid DateTime",Ys=864e13;function Js(e){return new Tt("unsupported zone",`the zone "${e.name}" is not supported`)}function Ks(e){return null===e.weekData&&(e.weekData=Dt(e.c)),e.weekData}function Gs(e){return null===e.localWeekData&&(e.localWeekData=Dt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Qs(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new _o({...r,...t,old:r})}function Xs(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 eo(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 to(e,t,r){return Xs(sr(e),t,r)}function ro(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,rr(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Is.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=sr(n);let[c,l]=Xs(a,r,e.zone);return 0!==i&&(c+=i,l=e.zone.offset(c)),{ts:c,o:l}}function so(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=_o.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return _o.invalid(new Tt("unparsable",`the input "${o}" can't be parsed as ${s}`))}function oo(e,t,r=!0){return e.isValid?Cr.create(it.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function no(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=Jt(e.c.year,r?6:4),t?(s+="-",s+=Jt(e.c.month),s+="-",s+=Jt(e.c.day)):(s+=Jt(e.c.month),s+=Jt(e.c.day)),s}function io(e,t,r,s,o,n){let i=Jt(e.c.hour);return t?(i+=":",i+=Jt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=Jt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=Jt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=Jt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=Jt(Math.trunc(-e.o/60)),i+=":",i+=Jt(Math.trunc(-e.o%60))):(i+="+",i+=Jt(Math.trunc(e.o/60)),i+=":",i+=Jt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const ao={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},co={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},lo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},uo=["year","month","day","hour","minute","second","millisecond"],mo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],go=["year","ordinal","hour","minute","second","millisecond"];function ho(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 de(e);return t}(e)}}function ko(e,t){const r=ut(t.zone,xt.defaultZone);if(!r.isValid)return _o.invalid(Js(r));const s=it.fromObject(t);let o,n;if(Wt(e.year))o=xt.now();else{for(const t of uo)Wt(e[t])&&(e[t]=ao[t]);const t=Lt(e)||$t(e);if(t)return _o.invalid(t);const s=function(e){if(void 0===bo&&(bo=xt.now()),"iana"!==e.type)return e.offset(bo);const t=e.name;let r=yo.get(t);return void 0===r&&(r=e.offset(bo),yo.set(t,r)),r}(r);[o,n]=to(e,s,r)}return new _o({ts:o,zone:r,loc:s,o:n})}function fo(e,t,r){const s=!!Wt(r.round)||r.round,o=(e,o)=>{e=Xt(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 po(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 bo;const yo=new Map;class _o{constructor(e){const t=e.zone||xt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Tt("invalid input"):null)||(t.isValid?null:Js(t));this.ts=Wt(e.ts)?xt.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=zt(e.o)&&!e.old?e.o:t.offset(this.ts);s=eo(this.ts,n),r=Number.isNaN(s.year)?new Tt("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||it.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new _o({})}static local(){const[e,t]=po(arguments),[r,s,o,n,i,a,c]=t;return ko({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=po(arguments),[r,s,o,n,i,a,c]=t;return e.zone=ct.utcInstance,ko({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 _o.invalid("invalid input");const o=ut(t.zone,xt.defaultZone);return o.isValid?new _o({ts:r,zone:o,loc:it.fromObject(t)}):_o.invalid(Js(o))}static fromMillis(e,t={}){if(zt(e))return e<-Ys||e>Ys?_o.invalid("Timestamp out of range"):new _o({ts:e,zone:ut(t.zone,xt.defaultZone),loc:it.fromObject(t)});throw new me(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(zt(e))return new _o({ts:1e3*e,zone:ut(t.zone,xt.defaultZone),loc:it.fromObject(t)});throw new me("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=ut(t.zone,xt.defaultZone);if(!r.isValid)return _o.invalid(Js(r));const s=it.fromObject(t),o=ur(e,ho),{minDaysInFirstWeek:n,startOfWeek:i}=Ft(o,s),a=xt.now(),c=Wt(t.specificOffset)?r.offset(a):t.specificOffset,l=!Wt(o.ordinal),u=!Wt(o.year),d=!Wt(o.month)||!Wt(o.day),m=u||d,g=o.weekYear||o.weekNumber;if((m||l)&&g)throw new ue("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&l)throw new ue("Can't mix ordinal dates with month/day");const h=g||o.weekday&&!m;let k,f,p=eo(a,c);h?(k=mo,f=co,p=Dt(p,n,i)):l?(k=go,f=lo,p=Vt(p)):(k=uo,f=ao);let b=!1;for(const e of k){Wt(o[e])?o[e]=b?f[e]:p[e]:b=!0}const y=h?function(e,t=4,r=1){const s=Bt(e.weekYear),o=Yt(e.weekNumber,1,nr(e.weekYear,t,r)),n=Yt(e.weekday,1,7);return s?o?!n&&Ct("weekday",e.weekday):Ct("week",e.weekNumber):Ct("weekYear",e.weekYear)}(o,n,i):l?function(e){const t=Bt(e.year),r=Yt(e.ordinal,1,tr(e.year));return t?!r&&Ct("ordinal",e.ordinal):Ct("year",e.year)}(o):Lt(o),_=y||$t(o);if(_)return _o.invalid(_);const w=h?jt(o,n,i):l?Pt(o):o,[v,S]=to(w,c,r),x=new _o({ts:v,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?_o.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:_o.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return Nr(e,[os,cs],[ns,ls],[is,us],[as,ds])}(e);return so(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return Nr(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Gr,Qr])}(e);return so(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return Nr(e,[Xr,rs],[es,rs],[ts,ss])}(e);return so(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(Wt(e)||Wt(t))throw new me("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,l]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=Rs(e,t,r);return[s,o,n,i]}(n,e,t);return l?_o.invalid(l):so(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return _o.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return Nr(e,[gs,cs],[hs,ks])}(e);return so(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new me("need to specify a reason the DateTime is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new ae(r);return new _o({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=Hs(e,it.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return Zs(Cr.parseFormat(e),it.fromObject(t)).map(e=>e.val).join("")}static resetCache(){bo=void 0,yo.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?Ks(this).weekYear:NaN}get weekNumber(){return this.isValid?Ks(this).weekNumber:NaN}get weekday(){return this.isValid?Ks(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gs(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gs(this).weekYear:NaN}get ordinal(){return this.isValid?Vt(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ms.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ms.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ms.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ms.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=sr(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,l=eo(a,n),u=eo(c,i);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[Qs(this,{ts:a}),Qs(this,{ts:c})]:[this]}get isInLeapYear(){return er(this.year)}get daysInMonth(){return rr(this.year,this.month)}get daysInYear(){return this.isValid?tr(this.year):NaN}get weeksInWeekYear(){return this.isValid?nr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?nr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=Cr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(ct.instance(e),t)}toLocal(){return this.setZone(xt.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=ut(e,xt.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]=to(r,t,e)}return Qs(this,{ts:s,zone:e})}return _o.invalid(Js(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return Qs(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=ur(e,ho),{minDaysInFirstWeek:r,startOfWeek:s}=Ft(t,this.loc),o=!Wt(t.weekYear)||!Wt(t.weekNumber)||!Wt(t.weekday),n=!Wt(t.ordinal),i=!Wt(t.year),a=!Wt(t.month)||!Wt(t.day),c=i||a,l=t.weekYear||t.weekNumber;if((c||n)&&l)throw new ue("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new ue("Can't mix ordinal dates with month/day");let u;o?u=jt({...Dt(this.c,r,s),...t},r,s):Wt(t.ordinal)?(u={...this.toObject(),...t},Wt(t.day)&&(u.day=Math.min(rr(u.year,u.month),u.day))):u=Pt({...Vt(this.c),...t});const[d,m]=to(u,this.o,this.zone);return Qs(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return Qs(this,ro(this,Is.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return Qs(this,ro(this,Is.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Is.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?Cr.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):qs}toLocaleString(e=pe,t={}){return this.isValid?Cr.create(this.loc.clone(t),e).formatDateTime(this):qs}toLocaleParts(e={}){return this.isValid?Cr.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=no(this,n);return i+="T",i+=io(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?no(this,"extended"===e):null}toISOWeekDate(){return oo(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":"")+io(this,"extended"===n,t,e,r,o)}toRFC2822(){return oo(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return oo(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?no(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")),oo(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():qs}[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 Is.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(Is.normalizeUnit),n=e.valueOf()>this.valueOf(),i=Ns(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(_o.now(),e,t)}until(e){return this.isValid?Es.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||_o.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),fo(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?fo(e.base||_o.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(_o.isDateTime))throw new me("min requires all arguments be DateTimes");return Rt(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(_o.isDateTime))throw new me("max requires all arguments be DateTimes");return Rt(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return Rs(it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return _o.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=it.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new Us(o,e)}static fromFormatParser(e,t,r={}){if(Wt(e)||Wt(t))throw new me("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new me(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:l}=t.explainFromTokens(e);return l?_o.invalid(l):so(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return pe}static get DATE_MED(){return be}static get DATE_MED_WITH_WEEKDAY(){return ye}static get DATE_FULL(){return _e}static get DATE_HUGE(){return we}static get TIME_SIMPLE(){return ve}static get TIME_WITH_SECONDS(){return Se}static get TIME_WITH_SHORT_OFFSET(){return xe}static get TIME_WITH_LONG_OFFSET(){return Te}static get TIME_24_SIMPLE(){return Ae}static get TIME_24_WITH_SECONDS(){return Ie}static get TIME_24_WITH_SHORT_OFFSET(){return Ce}static get TIME_24_WITH_LONG_OFFSET(){return Ee}static get DATETIME_SHORT(){return Me}static get DATETIME_SHORT_WITH_SECONDS(){return Oe}static get DATETIME_MED(){return Ne}static get DATETIME_MED_WITH_SECONDS(){return De}static get DATETIME_MED_WITH_WEEKDAY(){return je}static get DATETIME_FULL(){return Ve}static get DATETIME_FULL_WITH_SECONDS(){return Pe}static get DATETIME_HUGE(){return Fe}static get DATETIME_HUGE_WITH_SECONDS(){return Le}}function wo(e){if(_o.isDateTime(e))return e;if(e&&e.valueOf&&zt(e.valueOf()))return _o.fromJSDate(e);if(e&&"object"==typeof e)return _o.fromObject(e);throw new me(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function vo(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?_o.fromISO(r):_o.fromJSDate(r),o=_o.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 So(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 xo(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 To(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=Ao(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 Ao(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}var Io=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/confirm.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=h(),Co.insert=m().bind(null,"head"),Co.domAPI=u(),Co.insertStyleElement=f();c()(Io.A,Co);Io.A&&Io.A.locals&&Io.A.locals;class Eo 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-confirm-view"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-confirm-view-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-confirm-view-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-confirm-view-${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 Mo(e){return class extends e{showConfirm(e,t){return this.confirmView=new Eo(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),t.classList.add("ck-confirm-view-active"),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),this.on("change:isConfirm",(e,r,s)=>{s||t.classList.remove("ck-confirm-view-active")}),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 Oo(e){let t=0,r=0;for(const s of Do(e))t=(t<<5)-t+s,t&=t,[t,r]=[r,t];return Po(t)+Po(r)}function*No(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*No(t)}(e):"object"==typeof e?yield*Do(e):"string"==typeof e?yield*jo(e):"number"==typeof e&&(yield e)}function*Do(e){if(yield Vo("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*jo(r),yield Vo(":");const t=e[r];yield*No(t)}}yield Vo("}")}function*jo(e){yield Vo('"');for(const t of e)yield Vo(t);yield Vo('"')}function Vo(e){return e.charCodeAt(0)}function Po(e){return(e*=Math.sign(e)).toString(36)}const Fo=["initialData","context","toolbar","rootsAttributes"],Lo=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function $o(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=[...Lo,...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=>$o(e,t,r,s));return t.set(o,i),i}function Wo(e,t){const r={};for(const t of e.config.names())Fo.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")||[],l=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)),u=Array.from(new Set(l)),d=new Map;return r.plugins=u.filter(r=>$o(r,d,e.plugins,t)),r}function zo(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 Bo="Ctrl+Shift+E";function Zo(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)Uo(e,r);t.on("change",(t,r)=>{for(const t of r.removed)Ro(e,t);for(const t of Array.from(r.added).reverse())Uo(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 Uo(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 Ro(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,S.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var Ho=r("ckeditor5/src/engine.js");class qo{diff(e,t,r={}){let s;"function"==typeof r?(s=r,r={}):"callback"in r&&(s=r.callback);const o=this.castInput(e,r),n=this.castInput(t,r),i=this.removeEmpty(this.tokenize(o,r)),a=this.removeEmpty(this.tokenize(n,r));return this.diffWithOptionsObj(i,a,r,s)}diffWithOptionsObj(e,t,r,s){var o;const n=e=>(e=this.postProcess(e,r),s?void setTimeout(function(){s(e)},0):e),i=t.length,a=e.length;let c=1,l=i+a;null!=r.maxEditLength&&(l=Math.min(l,r.maxEditLength));const u=null!==(o=r.timeout)&&void 0!==o?o:1/0,d=Date.now()+u,m=[{oldPos:-1,lastComponent:void 0}];let g=this.extractCommon(m[0],t,e,0,r);if(m[0].oldPos+1>=a&&g+1>=i)return n(this.buildValues(m[0].lastComponent,t,e));let h=-1/0,k=1/0;const f=()=>{for(let s=Math.max(h,-c);s<=Math.min(k,c);s+=2){let o;const c=m[s-1],l=m[s+1];c&&(m[s-1]=void 0);let u=!1;if(l){const e=l.oldPos-s;u=l&&0<=e&&e<i}const d=c&&c.oldPos+1<a;if(u||d){if(o=!d||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,r):this.addToPath(c,!1,!0,1,r),g=this.extractCommon(o,t,e,s,r),o.oldPos+1>=a&&g+1>=i)return n(this.buildValues(o.lastComponent,t,e))||!0;m[s]=o,o.oldPos+1>=a&&(k=Math.min(k,s-1)),g+1>=i&&(h=Math.max(h,s+1))}else m[s]=void 0}c++};if(s)!function e(){setTimeout(function(){if(c>l||Date.now()>d)return s(void 0);f()||e()},0)}();else for(;c<=l&&Date.now()<=d;){const e=f();if(e)return e}}addToPath(e,t,r,s,o){const n=e.lastComponent;return n&&!o.oneChangePerToken&&n.added===t&&n.removed===r?{oldPos:e.oldPos+s,lastComponent:{count:n.count+1,added:t,removed:r,previousComponent:n.previousComponent}}:{oldPos:e.oldPos+s,lastComponent:{count:1,added:t,removed:r,previousComponent:n}}}extractCommon(e,t,r,s,o){const n=t.length,i=r.length;let a=e.oldPos,c=a-s,l=0;for(;c+1<n&&a+1<i&&this.equals(r[a+1],t[c+1],o);)c++,a++,l++,o.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!o.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=a,c}equals(e,t,r){return r.comparator?r.comparator(e,t):e===t||!!r.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){const t=[];for(let r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,r){const s=[];let o;for(;e;)s.push(e),o=e.previousComponent,delete e.previousComponent,e=o;s.reverse();const n=s.length;let i=0,a=0,c=0;for(;i<n;i++){const e=s[i];if(e.removed)e.value=this.join(r.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let s=t.slice(a,a+e.count);s=s.map(function(e,t){const s=r[c+t];return s.length>e.length?s:e}),e.value=this.join(s)}else e.value=this.join(t.slice(a,a+e.count));a+=e.count,e.added||(c+=e.count)}}return s}}const Yo=new class extends qo{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};const Jo="$elementId",Ko="data-id";class Go extends s.ContextPlugin{static get pluginName(){return"DocumentCompare"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}async init(){this.context instanceof s.Editor?this._integrateEditor(this.context):this.listenTo(this.context.editors,"add",(e,t)=>{t.on("ready",()=>{this._integrateEditor(t)})})}get editor(){if(this.context instanceof s.Editor)return this.context;{const e=this.context.editors.first;if(!e)throw new o.CKEditorError("documentcompare-no-editor",this);return e}}getDiff(e,t,r={anchor:"main",markDeletions:!1}){const s=this.editor;let n,i;if("string"==typeof r.anchor){const e=s.model.document.getRoot(r.anchor);if(!e)throw new o.CKEditorError("documentcompare-compare-no-root",this,{anchor:r.anchor});n=s.model.createPositionAt(e,0),i=r.context||e}else n=r.anchor.clone(),i=r.context||r.anchor.clone();const a=s.data.parse(e,i),c=s.data.parse(t,i);return new Qo(a,c,s,{anchor:n,markDeletions:r.markDeletions})}isMarkedRemoveOperation(e){return"marker"==e.type&&e.name.startsWith("$markedRemove")}_integrateEditor(e){e.conversion.for("upcast").add(e=>{e.on("element",(e,t,r)=>{if(t.modelRange)for(const e of t.modelRange.getItems({shallow:!0})){if(e.is("$textProxy"))continue;const s=t.viewItem.getAttribute(Ko);s&&r.writer.setAttribute(Jo,s,e)}},{priority:"lowest"})}),e.model.schema.addAttributeCheck(()=>!0,Jo)}}class Qo{_editor;_diffItems=[];_operationsData=[];_markDeletions;_anchor;_path=[0];_parents=[];constructor(e,t,r,s){this._editor=r,this._markDeletions=!!s.markDeletions,this._anchor=s.anchor;const o=this._tokenizeModel(e),n=this._tokenizeModel(t);this._diffItems=this._diffModelTokens(o,n),this._calculateOperationsData(),this._markDeletions||this._calculateMarkersOperationsData(e.markers,t.markers)}getOperationsData(){return this._operationsData}getOperations(){const e=this._editor.model.document,t=[];let r=e.version;for(const s of this._operationsData)switch(s.type){case"attribute":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=e.getShiftedBy(s.howMany),n=new Ho.ModelRange(e,o),i=JSON.parse(s.oldValue),a=JSON.parse(s.newValue);t.push(new Ho.AttributeOperation(n,s.key,i,a,r++));break}case"insert":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=this._makeModelFromTokens(s.tokens);t.push(new Ho.InsertOperation(e,o,r++));break}case"remove":{const o=this._getPositionFromAnchorAndPath(this._anchor,s.path),n=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MoveOperation(o,s.howMany,n,r++));break}case"rename":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path);t.push(new Ho.RenameOperation(e,s.oldName,s.newName,r++));break}case"split":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=this._getPositionFromAnchorAndPath(this._anchor,s.path.slice(0,-1));o.offset++,t.push(new Ho.SplitOperation(e,Number.NEGATIVE_INFINITY,o,null,r++));break}case"merge":{const o=s.path.slice(),n=o.slice(0,-1);n[n.length-1]++,n.push(0);const i=this._getPositionFromAnchorAndPath(this._anchor,n),a=this._getPositionFromAnchorAndPath(this._anchor,o),c=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MergeOperation(i,Number.NEGATIVE_INFINITY,a,c,r++));break}case"marker":case"markedRemove":{let n=null;if(s.range){const e=this._getPositionFromAnchorAndPath(this._anchor,s.range.start),t=this._getPositionFromAnchorAndPath(this._anchor,s.range.end);n=new Ho.ModelRange(e,t)}const i="marker"==s.type?s.name:"$markedRemove:"+(0,o.uid)();t.push(new Ho.MarkerOperation(i,null,n,e.model.markers,!0,r++));break}case"unwrap":{const o=s.path.slice();o.push(0);const n=s.path.slice(),i=this._getPositionFromAnchorAndPath(this._anchor,o),a=this._getPositionFromAnchorAndPath(this._anchor,n),c=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MoveOperation(i,s.howMany,a,r++)),t.push(new Ho.MoveOperation(a.getShiftedBy(s.howMany),1,c,r++));break}case"wrap":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.range.start),o=this._getPositionFromAnchorAndPath(this._anchor,s.range.end),n=s.token.element._clone(!1),i=s.range.end.slice();i.push(0);const a=this._getPositionFromAnchorAndPath(this._anchor,i);t.push(new Ho.InsertOperation(o,n,r++)),t.push(new Ho.MoveOperation(e,o.offset-e.offset,a,r++));break}}return t}_tokenizeModel(e){const t=[],r=Ho.ModelRange._createIn(e),s=new Ho.ModelTreeWalker({boundaries:r});let o="",n=null;const i=[""],a=new Map;for(const e of s)if("elementStart"==e.type||"elementEnd"==e.type){let r=i[0];""!==o&&(t.push(...this._makeTokensFromTextByWords(o,n,r)),o="");const s=e.item;let c;s.getAttribute(Jo)?c=s.getAttribute(Jo):"elementStart"==e.type?(c=en(s),a.set(s,c)):c=a.get(s);const l=this._getElementCategory(s);"solid"==l&&("elementStart"==e.type?(r=c,i.unshift(r)):i.shift());const u={type:"element",element:s,elementId:c,category:l,isStart:"elementStart"==e.type,limitId:r};t.push(u)}else""==o&&(n=e.previousPosition.clone()),o+=e.item.data;return""!==o&&t.push(...this._makeTokensFromTextByWords(o,n,i[0])),t}_makeTokensFromTextByWords(e,t,r){const s=e.matchAll(/(\s)/g),o=Array.from(s).map(e=>e.index);o.push(e.length),0==o[0]&&o.shift();const n=[],i=t.parent;let a=0,c=t.offset;for(let s=0;s<o.length;s++)n.push({type:"text",data:e.slice(a,o[s]),parent:i,offset:c,limitId:r}),a=o[s],c=t.offset+o[s];return n}_getElementCategory(e){const t=this._editor.model.schema;return t.isLimit(e)||t.isContent(e)||t.isInline(e)?"solid":t.isBlock(e)?"block":"container"}_diffModelTokens(e,t){const r=function(e,t,r){return Yo.diff(e,t,r)}(e,t,{comparator:Xo});this._handleUnclosedBlockOpeningTags(r);const s=r.flatMap(e=>{const t=e.added?"added":e.removed?"removed":"unchanged";return e.value.map(e=>({token:e,change:t}))});let o=0;for(const t of s)"added"!=t.change&&("unchanged"==t.change&&(t.before=e[o]),o++);return s}_handleUnclosedBlockOpeningTags(e){for(let t=0;t<e.length-1;t++)if(e[t].removed&&e[t+1].added){const r=this._findUnclosedBlockOpeningToken(e[t].value);if(null!==r){const s=this._findUnclosedBlockOpeningToken(e[t+1].value),o=e[t].value.splice(r),n=e[t+1].value.splice(s),i=[n.shift()];o.shift();const a={value:o,removed:!0},c={value:n,added:!0},l={value:i};e.splice(t+2,0,l,a,c)}}}_findUnclosedBlockOpeningToken(e){let t=0,r=-1;for(let s=0;s<e.length;s++){const o=e[s];"element"==o.type&&"block"==o.category&&(t+=o.isStart?1:-1,o.isStart&&(r=s))}return 0===t?null:r}_calculateOperationsData(){this._handleUnwraps(),this._path=[0],this._parents=[];for(let e=0;e<this._diffItems.length;e++){const t=this._diffItems[e].change,r=[];r.push(this._diffItems[e]);let s=e+1;for(;this._diffItems[s]&&this._diffItems[s].change==t;)r.push(this._diffItems[s]),s++,e++;const o=r.map(e=>e.token);if("unchanged"==t){r.map(e=>e.before).forEach(e=>this._traverseOverItem(e))}else{if("removed"==t)if(this._markDeletions){const e=this._path.slice();o.forEach(e=>this._traverseOverItem(e));const t=this._path.slice();this._operationsData.push({type:"markedRemove",range:{start:e,end:t}})}else this._handleChanged(o,!0,this._path.slice());else{const e=o.filter(e=>"element"!=e.type||"container"!=e.category);this._handleChanged(e,!1,this._path)}}}this._handleWraps(),this._path=[0],this._parents=[];for(let e=0;e<this._diffItems.length;e++){const t=this._diffItems[e].change,r=[];r.push(this._diffItems[e]);let s=e+1;for(;this._diffItems[s]&&this._diffItems[s].change==t;)r.push(this._diffItems[s]),s++,e++;const o=r.map(e=>e.token);if("unchanged"==t){const e=r.map(e=>e.before);this._handleUnchanged(e,o)}else("removed"!=t||this._markDeletions)&&o.forEach(e=>{this._traverseOverItem(e)})}}_calculateMarkersOperationsData(e,t){const r={};for(const[t]of e)r[t]=null;for(const[e,s]of t)r[e]=s;const s=Object.entries(r).map(([e,t])=>({type:"marker",name:e,range:t?{start:t.start.path.slice(),end:t.end.path.slice()}:null}));this._operationsData.push(...s)}_handleUnwraps(){const e=new Map,t=[],r=[0];let s=this._diffItems.length+1;for(let o=this._diffItems.length-1;o>=0;o--){const{token:n,before:i,change:a}=this._diffItems[o];if("removed"!=a&&(s=o),"element"!=n.type||"container"!=n.category||"added"==a)continue;const c=i?i.element:n.element;if(n.isStart){const n=e.get(c),i=this._diffItems[n];("removed"==a||"removed"==i.change)&&s<n&&(this._operationsData.push({type:"unwrap",path:c.getPath(),howMany:c.maxOffset+r[0]}),r.shift(),r[0]+=c.maxOffset-1,t.push(o),t.push(n))}else e.set(c,o),r.unshift(0)}t.sort((e,t)=>t-e),t.forEach(e=>{const t=this._diffItems[e];"removed"==t.change?this._diffItems.splice(e,1):(t.change="added",delete t.before)})}_handleWraps(){this._path=[0],this._parents=[];const e=[];for(let t=0;t<this._diffItems.length;t++){const{change:r,token:s}=this._diffItems[t];if("added"==r&&"element"==s.type&&"container"==s.category){if(s.isStart)e.push(this._path.slice());else if(!s.isStart){const t=e.pop();this._operationsData.push({type:"wrap",range:{start:t,end:this._path.slice()},token:s}),this._path[this._path.length-1]=t[this._path.length-1]+1}}else("removed"!=r||this._markDeletions)&&this._traverseOverItem(s)}}_handleUnchanged(e,t){for(let r=0;r<e.length;r++){const s=e[r];if("element"==s.type&&s.isStart){const e=t[r];"block"==s.category&&this._handleElementRename(s.element,e.element,this._path),this._handleElementAttributeChanges(s.element,e.element,this._path),this._path.push(0),this._parents.push(e)}else if("element"!=s.type||s.isStart){if("text"==s.type){const s=this._path.slice(),o=[],n=[];for(;e[r]&&"text"==e[r].type;)o.push(e[r]),n.push(t[r]),this._path[this._path.length-1]+=e[r].data.length,r++;r--,this._handleTextAttributeChanges(o,n,s)}}else this._path.pop(),this._path[this._path.length-1]++,this._parents.pop()}}_handleChanged(e,t,r){const s=[],n=[],i=r.slice();for(let o=0;o<e.length;o++){const i=e[o],a=r.slice();if("element"!=i.type||i.isStart)"element"==i.type&&i.isStart?(r.push(0),t||this._parents.push(i),n.push({before:a,after:r.slice(),index:o})):r[r.length-1]+=i.data.length;else{let e;r.pop(),r[r.length-1]++,e=t?this._parents[this._parents.length-1]:this._parents.pop(),n.length?n.pop():s.push({before:a,after:r.slice(),index:o,related:e})}}if(n.length!==s.length)throw new o.CKEditorError("model-diff-incorrect-matching-and-closing-tags",null,{tokens:e,isRemove:t});const a=[{after:i.slice(),index:-1},...s,...n,{before:r.slice(),index:e.length}];if(t){for(let e=a.length-1;e>=1;e--){const t=a[e-1].after,r=a[e].before,s=r[r.length-1]-t[t.length-1];s&&(this._operationsData.push({type:"remove",path:t,howMany:s}),r[r.length-1]-=s)}for(const{before:e}of s)this._operationsData.push({type:"merge",path:e})}else for(let t=0;t<a.length-1;t++){const r=a[t].after,o=a[t+1].before,i=a[t].index+1,c=a[t+1].index;if(i!==c&&this._operationsData.push({type:"insert",path:r,tokens:e.slice(i,c)}),t<s.length){this._operationsData.push({type:"split",path:o});const r=e[n[n.length-1-t].index],i=s[t].after,a=s[t].related.element;this._handleElementRename(a,r.element,i),this._handleElementAttributeChanges(a,r.element,i)}}}_traverseOverItem(e){"element"==e.type&&e.isStart?(this._path.push(0),this._parents.push(e)):"element"!=e.type||e.isStart?"text"==e.type&&(this._path[this._path.length-1]+=e.data.length):(this._path.pop(),this._path[this._path.length-1]++,this._parents.pop())}_handleElementRename(e,t,r){e.name!=t.name&&this._operationsData.push({type:"rename",path:r.slice(),oldName:e.name,newName:t.name})}_handleElementAttributeChanges(e,t,r){const s=this._getAttributeChanges(e.getAttributes(),t.getAttributes());for(const e in s){const{oldValue:t,newValue:o}=s[e];this._operationsData.push({type:"attribute",path:r.slice(),howMany:1,key:e,oldValue:t,newValue:o})}}_handleTextAttributeChanges(e,t,r){const s=this._operationsData,o=e[0].parent,n=e[0].offset,i=t[0].parent,a=t[0].offset,c=e.reduce((e,t)=>e+t.data.length,0),l=this._getAttrsForOffsets(o,n,c),u=this._getAttrsForOffsets(i,a,c),d={};for(let e=0;e<c;e++){const t=l[n+e],r=u[a+e],s=this._getAttributeChanges(t,r);for(const e in d)s[e]||m(e);for(const t in s){const{oldValue:r,newValue:o}=s[t],n=d[t];n?n.oldValue==r&&n.newValue==o?n.length++:(m(t),d[t]={oldValue:r,newValue:o,start:e,length:1}):d[t]={oldValue:r,newValue:o,start:e,length:1}}}for(const e in d)m(e);function m(e){const t=d[e],o=r.slice();o[o.length-1]+=t.start,s.push({type:"attribute",path:o,howMany:t.length,key:e,oldValue:t.oldValue,newValue:t.newValue}),delete d[e]}}_getAttributeChanges(e,t){const r={};for(const[t,s]of e)r[t]={oldValue:JSON.stringify(s),newValue:"null"};for(const[e,s]of t){const t=JSON.stringify(s);r[e]?r[e].oldValue==t?delete r[e]:r[e].newValue=t:r[e]={oldValue:"null",newValue:t}}return delete r[Jo],r}_getAttrsForOffsets(e,t,r){const s=new Array(t+r);let o=e.getChildAtOffset(t),n=o.startOffset;for(;o&&n<t+r;){const e=Array.from(o.getAttributes());s.fill(e,n,n+o.offsetSize),n+=o.offsetSize,o=o.nextSibling}return s}_getPositionFromAnchorAndPath(e,t){const r=[...e.path.slice(0,-1),e.offset+t[0],...t.slice(1)];return new Ho.ModelPosition(e.root,r)}_makeModelFromTokens(e){const t=[];let r=null;for(const s of e)if("element"!=s.type||s.isStart||r!=s.element){if(!r)if("text"==s.type){const e=Ho.ModelPosition._createAt(s.parent,s.offset),r=Ho.ModelRange._createFromPositionAndShift(e,s.data.length),o=Array.from(r.getItems()).map(e=>new Ho.ModelText(e.data,e.getAttributes()));t.push(...o)}else{r=s.element;const e=s.element._clone(!0);e._removeAttribute(Jo);for(const t of this._editor.model.createRangeIn(e).getItems())t.is("element")&&t._removeAttribute(Jo);t.push(e)}}else r=null;return t}}function Xo(e,t){return e.type===t.type&&(e.limitId===t.limitId&&("text"==e.type?e.data==t.data:function(e,t){if(e.isStart!=t.isStart)return!1;if(e.isStart&&e.elementId!=t.elementId)return!1;if(e.category!=t.category)return!1;if("block"==e.category)return!0;if("container"==e.category&&e.elementId!=t.elementId)return!1;return e.element.name==t.element.name}(e,t)))}function en(e){return Oo({name:e.name,...Object.fromEntries(e.getAttributes())})}var tn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),rn={attributes:{"data-cke":!0}};rn.setAttributes=h(),rn.insert=m().bind(null,"head"),rn.domAPI=u(),rn.insertStyleElement=f();c()(tn.A,rn);tn.A&&tn.A.locals&&tn.A.locals;var sn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),on={attributes:{"data-cke":!0}};on.setAttributes=h(),on.insert=m().bind(null,"head"),on.domAPI=u(),on.insertStyleElement=f();c()(sn.A,on);sn.A&&sn.A.locals&&sn.A.locals;var nn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),an={attributes:{"data-cke":!0}};an.setAttributes=h(),an.insert=m().bind(null,"head"),an.domAPI=u(),an.insertStyleElement=f();c()(nn.A,an);nn.A&&nn.A.locals&&nn.A.locals;var cn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),ln={attributes:{"data-cke":!0}};ln.setAttributes=h(),ln.insert=m().bind(null,"head"),ln.domAPI=u(),ln.insertStyleElement=f();c()(cn.A,ln);cn.A&&cn.A.locals&&cn.A.locals;var un=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),dn={attributes:{"data-cke":!0}};dn.setAttributes=h(),dn.insert=m().bind(null,"head"),dn.domAPI=u(),dn.insertStyleElement=f();c()(un.A,dn);un.A&&un.A.locals&&un.A.locals;var mn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),gn={attributes:{"data-cke":!0}};gn.setAttributes=h(),gn.insert=m().bind(null,"head"),gn.domAPI=u(),gn.insertStyleElement=f();c()(mn.A,gn);mn.A&&mn.A.locals&&mn.A.locals;var hn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),kn={attributes:{"data-cke":!0}};kn.setAttributes=h(),kn.insert=m().bind(null,"head"),kn.domAPI=u(),kn.insertStyleElement=f();c()(hn.A,kn);hn.A&&hn.A.locals&&hn.A.locals;var fn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),pn={attributes:{"data-cke":!0}};pn.setAttributes=h(),pn.insert=m().bind(null,"head"),pn.domAPI=u(),pn.insertStyleElement=f();c()(fn.A,pn);fn.A&&fn.A.locals&&fn.A.locals;var bn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),yn={attributes:{"data-cke":!0}};yn.setAttributes=h(),yn.insert=m().bind(null,"head"),yn.domAPI=u(),yn.insertStyleElement=f();c()(bn.A,yn);bn.A&&bn.A.locals&&bn.A.locals;var _n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),wn={attributes:{"data-cke":!0}};wn.setAttributes=h(),wn.insert=m().bind(null,"head"),wn.domAPI=u(),wn.insertStyleElement=f();c()(_n.A,wn);_n.A&&_n.A.locals&&_n.A.locals;var vn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/footnotes.css"),Sn={attributes:{"data-cke":!0}};Sn.setAttributes=h(),Sn.insert=m().bind(null,"head"),Sn.domAPI=u(),Sn.insertStyleElement=f();c()(vn.A,Sn);vn.A&&vn.A.locals&&vn.A.locals;function xn(e,t){var r=Tn();return(xn=function(e,t){return r[e-=198]})(e,t)}function Tn(){var e=["146920hlOBxc","164hqoUhp","98uiNPah","1491osILiw","9SCUkhg","291016YNorto","22530bfeGwL","135FVwdam","941752yepOCT","73570HSNobA","3549ywUQEV"];return(Tn=function(){return e})()}!function(e){for(var t=xn,r=e();;)try{if(135936===-parseInt(t(202))/1*(-parseInt(t(205))/2)+-parseInt(t(206))/3*(parseInt(t(204))/4)+-parseInt(t(199))/5*(-parseInt(t(198))/6)+parseInt(t(201))/7+-parseInt(t(200))/8+parseInt(t(207))/9*(parseInt(t(203))/10)+-parseInt(t(208))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Tn)},"?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/engine.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/engine.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")},"ckeditor5/src/widget.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/widget.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="undefined"!=typeof document&&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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/confirm.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/api.js"),i=r.n(n)()(o());i.push([e.id,".ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck .ck-confirm-view-active{transform:translate3d(-100%,0,0);transition:all .3s linear}.ck .ck-confirm-view{background-color:var(--ck-color-light-red);display:flex;font-size:var(--ck-font-size-base);height:100%;justify-content:flex-start;left:100%;position:absolute;top:0;width:100%}.ck .ck-confirm-view .ck-confirm-view-inner{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;max-height:400px;padding-top:var(--ck-spacing-standard);width:100%}.ck .ck-confirm-view p{font-weight:700;margin:0}",""]);const a=i},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/footnotes.css":(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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.footnotes-wrapper{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const a=i},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js"),o=r.n(s),n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/api.js"),i=r.n(n),a=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/getUrl.js"),c=r.n(a),l=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),u=i()(o()),d=c()(l);u.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=u},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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 l=0;l<e.length;l++){var u=[].concat(e[l]);s&&i[u[0]]||(void 0!==n&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=n),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},"../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/runtime/noSourceMaps.js":e=>{"use strict";e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.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],l=s.base?c[0]+s.base:c[0],u=n[l]||0,d="".concat(l," ").concat(u);n[l]=u+1;var m=r(d),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(g);else{var h=o(g,s);s.byIndex=a,t.splice(a,0,{identifier:d,updater:h,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),l=0;l<n.length;l++){var u=r(n[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}n=c}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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/.pnpm/style-loader@4.0.0_webpack@5.102.1/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:()=>C,ConfirmMixin:()=>Mo,DATA_ID_MODEL_ATTRIBUTE:()=>Jo,DATA_ID_VIEW_ATTRIBUTE:()=>Ko,DocumentCompare:()=>Go,FOCUS_ANNOTATION_KEYSTROKE:()=>Zo,LateFocusButtonView:()=>E,LateFocusDropdownButtonView:()=>M,Permissions:()=>n,SuggestionsConversion:()=>ne,UserView:()=>I,Users:()=>y,fixElementSuggestionRange:()=>j,getAllMarkersDomElementsSorted:()=>xo,getDateTimeFormatter:()=>vo,getMarkerDomElement:()=>So,hashObject:()=>Oo,sanitizeEditorConfig:()=>$o,setupThreadKeyboardNavigation:()=>Bo,splitSuggestionMarkerName:()=>D,surroundingMarkersDetector:()=>zo,trimHtml:()=>To});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"),l=e.includes("comment:modify_all"),u=e.includes("comment:admin"),d=e.includes("comment:write"),m=d||u,g=m||l,h=c||m;if(a&&(a.isEnabled=!c&&g),r instanceof s.Editor){!(c||g&&i)?r.enableReadOnlyMode("no-permissions"):r.disableReadOnlyMode("no-permissions")}if(i){i.setPermissions({admin:u,modifyAll:l,write:d,resolve:h},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/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),c=r.n(a),l=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js"),u=r.n(l),d=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/insertBySelector.js"),m=r.n(d),g=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js"),h=r.n(g),k=r("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.102.1/node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=r.n(k),p=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/usercolors.css"),b={attributes:{"data-cke":!0}};b.setAttributes=h(),b.insert=m().bind(null,"head"),b.domAPI=u(),b.insertStyleElement=f();c()(p.A,b);p.A&&p.A.locals&&p.A.locals;class y 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 _(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 v(this._lastColor++)}_addAnonymousUser(){const e=this.context.config.get("users.anonymousUserId");this.addUser({id:e,name:i(this._locale,"Anonymous")})._isAnonymous=!0}}class _{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 v{_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/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/users.css"),A={attributes:{"data-cke":!0}};A.setAttributes=h(),A.insert=m().bind(null,"head"),A.domAPI=u(),A.insertStyleElement=f();c()(T.A,A);T.A&&T.A.locals&&T.A.locals;class I 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 C 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 E extends S.ButtonView{render(){super.render(),O(this)}}class M extends S.DropdownButtonView{render(){super.render(),O(this)}}function O(e){e.listenTo(e.element,"mousedown",(e,t)=>{t.stopPropagation(),t.preventDefault()}),e.listenTo(e.element,"mouseup",()=>{e.element.focus()})}var N=r("ckeditor5/src/widget.js");function D(e){const t=e.split(":");return{group:t[0],type:t[1],subType:t.length>=5?t[2]:null,id:t.length<5?t[2]:t[3],authorId:t.length<5?t[3]:t[4],markerCount:6==t.length?t[5]:null}}function j(e,t){const r=e.end.nodeBefore;if(r&&r.is("element")&&t.schema.isBlock(r)&&!t.schema.isObject(r)){const s=t.createPositionAt(r,"end");return t.createRange(e.start,s)}return e}class V extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("AlignmentEditing"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("alignment")}}const P=["BoldEditing","ItalicEditing","UnderlineEditing","CodeEditing","StrikethroughEditing","SubscriptEditing","SuperscriptEditing"];class F extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");for(const r of P){if(!e.plugins.has(r))continue;const s=r.slice(0,-7).toLowerCase();t.registerInlineAttribute(s)}}}class L extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("BookmarkEditing")&&t.registerBlockAttribute("bookmarkId")}}const W=[{pluginName:"FontSizeEditing",commandName:"fontSize"},{pluginName:"FontFamilyEditing",commandName:"fontFamily"},{pluginName:"FontColorEditing",commandName:"fontColor"},{pluginName:"FontBackgroundColorEditing",commandName:"fontBackgroundColor"}];class $ extends s.Plugin{afterInit(){const e=this.editor.plugins.get("SuggestionsConversion");for(const{pluginName:t,commandName:r}of W)this.editor.plugins.has(t)&&e.registerInlineAttribute(r)}}class z extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("HighlightEditing"))return;e.plugins.get("SuggestionsConversion").registerInlineAttribute("highlight")}}class Z extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("HtmlEmbed"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("value")}}class B extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ImageEditing"))return;const t=e.plugins.get("SuggestionsConversion");t.registerBlockAttribute("src"),e.plugins.has("ImageResize")&&t.registerBlockAttribute("resizedWidth"),e.plugins.has("ImageTextAlternativeEditing")&&t.registerBlockAttribute("alt"),e.plugins.has("PictureEditing")&&t.registerBlockAttribute("sources"),e.plugins.has("ImageSizeAttributes")&&(t.registerBlockAttribute("width"),t.registerBlockAttribute("height"))}}class U extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("IndentBlock")&&t.registerBlockAttribute("blockIndent")}}class R extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("LineHeight"))return;e.plugins.get("SuggestionsConversion").registerBlockAttribute("lineHeight")}}class H extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("LinkEditing"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.commands.get("link");t.registerInlineAttribute("linkHref");for(const e of r.manualDecorators)t.registerInlineAttribute(e.id)}}class q extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ListEditing"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.plugins.has("TodoListEditing");t.registerBlockAttribute("listItemId"),t.registerBlockAttribute("listType"),t.registerBlockAttribute("listIndent"),r&&t.registerBlockAttribute("todoListChecked")}}class Y extends s.Plugin{afterInit(){if(!this.editor.plugins.has("ListPropertiesEditing"))return;const e=this.editor.config.get("list.properties"),t=this.editor.plugins.get("SuggestionsConversion");e.styles&&t.registerBlockAttribute("listStyle"),e.reversed&&t.registerBlockAttribute("listReversed"),e.startIndex&&t.registerBlockAttribute("listStart")}}class J extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("MultiLevelList")&&t.registerBlockAttribute("listMarkerStyle")}}class K extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("Style")||!e.plugins.has("DataSchema")||!e.config.get("style.definitions"))return;const t=e.plugins.get("SuggestionsConversion"),r=e.config.get("style.definitions"),s=e.plugins.get("GeneralHtmlSupport"),o=e.plugins.get("StyleUtils").normalizeConfig(e.plugins.get("DataSchema"),r),n=new Set;for(const e of o.block){const t=s.getGhsAttributeNameForElement(e.element);n.add(t)}const i=new Set;for(const e of o.inline){const t=s.getGhsAttributeNameForElement(e.element);i.add(t);for(const t of e.ghsAttributes)i.add(t)}for(const e of n)t.registerBlockAttribute(e);for(const e of i)t.registerInlineAttribute(e)}}class G extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("TableEditing"))return;const t=e.plugins.get("SuggestionsConversion");t.registerBlockAttribute("headingRows"),t.registerBlockAttribute("headingColumns")}}class Q extends s.Plugin{afterInit(){const e=this.editor.plugins.get("SuggestionsConversion");if(!this.editor.plugins.has("Table"))return;const t=["tableBorderColor","tableBorderStyle","tableBorderWidth","tableAlignment","tableWidth","tableHeight","tableBackgroundColor","tableCellBorderColor","tableCellBorderStyle","tableCellBorderWidth","tableCellPadding","tableCellWidth","tableCellHeight","tableCellBackgroundColor","tableCellHorizontalAlignment","tableCellVerticalAlignment"];for(const r of t)e.registerBlockAttribute(r)}}class X extends s.Plugin{afterInit(){const e=this.editor,t=e.plugins.get("SuggestionsConversion");e.plugins.has("TableLayout")&&t.registerBlockAttribute("tableType")}}class ee extends s.Plugin{afterInit(){const e=this.editor,t=this.editor.plugins.get("SuggestionsConversion");e.plugins.has("Uploadcare")&&e.plugins.has("UploadcareImageEdit")&&t.registerBlockAttribute("uploadcareImageId")}}class te extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("ShiftEnter"))return;const t=e.plugins.get("SuggestionsConversion"),r=(r,s,o,n)=>{if(n&&!o.options.showSuggestionHighlights)return;if(!o.consumable.test(s.markerRange,r.name))return;const i=e.model;for(const e of s.markerRange.getItems()){if(!e.is("element","softBreak"))continue;const r="deletion"==s.markerName.split(":")[1]?"merge":"split",{id:a,authorId:c}=D(s.markerName),l=o.writer.createUIElement("span",{class:`ck-suggestion-marker-${r}`,"data-suggestion":a,"data-author-id":c}),u=o.mapper.toViewPosition(i.createPositionBefore(e));!n&&t._activeMarkers.includes(s.markerName)&&o.writer.addClass("ck-suggestion-marker--active",l),o.writer.insert(u,l),o.mapper.bindElementToMarker(l,s.markerName)}};e.editing.downcastDispatcher.on("addMarker:suggestion",(e,t,s)=>{r(e,t,s,!1)},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion",(e,t,s)=>{r(e,t,s,!0)},{priority:"high"})}}class re extends s.Plugin{afterInit(){const e=this.editor;e.plugins.has("MediaEmbedEditing")&&(e.conversion.for("dataDowncast").elementToElement({model:"media",view:(e,{writer:t,options:r})=>{if(r.showSuggestionHighlights)return t.createEmptyElement("div")},converterPriority:"high"}),e.data.downcastDispatcher.on("attribute:url:media",(e,t,r)=>{r.options.showSuggestionHighlights&&e.stop()},{priority:"high"}))}}class se extends s.Plugin{afterInit(){const e=this.editor;if(!e.plugins.has("Table"))return;e.data.downcastDispatcher.on("addMarker:suggestion",(e,t,r)=>{((e,t,r)=>{if(!r.options.showSuggestionHighlights)return;const s=t.item;if(!s||!s.is("element","tableCell"))return;const n=r.mapper.toViewElement(s);if(n){const{id:e,authorId:s}=D(t.markerName);(0,N.setHighlightHandling)(n,r.writer,(t,r,n)=>{n.addClass((0,o.toArray)(r.classes),t),n.setAttribute("data-suggestion-id",e,t),n.setAttribute("data-author-id",s,t)})}})(0,t,r)},{priority:"highest"})}}class oe extends s.Plugin{afterInit(){const e=this.editor;e.plugins.has("HorizontalLineEditing")&&e.conversion.for("dataDowncast").elementToStructure({model:"horizontalLine",view:(e,{writer:t,options:r})=>{if(!r.showSuggestionHighlights)return null;const s=t.createContainerElement("div"),o=t.createEmptyElement("hr");return t.addClass("ck-horizontal-line",s),t.insert(t.createPositionAt(s,0),o),s},converterPriority:"high"})}}class ne extends s.Plugin{_activeMarkers=[];_blockAttributeKeys=new Set(["$elementName"]);_inlineAttributeKeys=new Set;static get pluginName(){return"SuggestionsConversion"}static get requires(){return[V,F,L,$,z,oe,Z,B,U,R,H,q,Y,re,J,te,K,se,G,X,Q,ee]}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e=this.editor,t=(e,t,r)=>{const{id:s,authorId:o,type:n,subType:i}=D(e.markerName),a=["ck-suggestion-marker",this._getClassName(n,i)];let c=3e3;if(!r){this._activeMarkers.includes(e.markerName)&&(a.push("ck-suggestion-marker--active"),c=3010)}return"deletion"==n&&(c+=5),{classes:a,attributes:{"data-suggestion":s,"data-author-id":o},priority:c}};e.conversion.for("editingDowncast").markerToHighlight({model:"suggestion",view:(e,r)=>t(e,0,!1)}),e.conversion.for("dataDowncast").markerToHighlight({model:"suggestion",view:(e,r)=>t(e,0,!0)}),e.conversion.for("dataDowncast").add(t=>{t.on("addMarker:suggestion",(t,r,s)=>{if(!s.options.showSuggestionHighlights)return;const o=r.item;if(!o)return;const n=s.mapper.toViewElement(o);e.model.schema.isObject(o)&&n&&!n.getCustomProperty("widget")&&n.is("containerElement")&&(0,N.toWidget)(n,s.writer)},{priority:"high"})});const r=(t,r,s,o,n)=>{if(o&&!s.options.showSuggestionHighlights)return;if(!r.item)return;const{id:i,authorId:a,subType:c}=D(r.markerName);if(n){const e=c.split("|")[0];if(!this.isBlockAttribute(e))return}if(r.item.is("selection"))return void s.consumable.consume(r.item,t.name);const l=s.mapper.toViewElement(r.item);if(r.item.is("element")&&e.model.schema.isBlock(r.item)&&!l.getCustomProperty("addHighlight")){s.writer.addClass(["ck-suggestion-marker","ck-suggestion-marker-formatBlock"],l),s.writer.setAttribute("data-suggestion",i,l),s.writer.setAttribute("data-author-id",a,l),s.mapper.bindElementToMarker(l,r.markerName),o||(this._activeMarkers.includes(r.markerName)?s.writer.addClass("ck-suggestion-marker--active",l):s.writer.removeClass("ck-suggestion-marker--active",l));for(const o of e.model.createRangeIn(r.item).getItems())s.consumable.consume(o,t.name);s.consumable.consume(r.item,t.name)}},s=(e,t,r,s)=>{const o=r.mapper.markerNameToElements(t.markerName);if(o){if(s){const{subType:e}=D(t.markerName),r=e.split("|")[0];if(!this.isBlockAttribute(r))return}for(const e of o)e.getCustomProperty("addHighlight")||(r.writer.removeClass(["ck-suggestion-marker","ck-suggestion-marker-formatBlock","ck-suggestion-marker--active"],e),r.writer.removeAttribute("data-suggestion",e),r.writer.removeAttribute("data-author-id",e),r.mapper.unbindElementFromMarkerName(e,t.markerName))}};e.conversion.for("editingDowncast").add(e=>{e.on("addMarker:suggestion:formatBlock",(e,t,s)=>{r(e,t,s,!1,!1)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("addMarker:suggestion:attribute",(e,t,s)=>{r(e,t,s,!1,!0)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("removeMarker:suggestion:formatBlock",(e,t,r)=>{s(0,t,r,!1)},{priority:"high"})}),e.conversion.for("editingDowncast").add(e=>{e.on("removeMarker:suggestion:attribute",(e,t,r)=>{s(0,t,r,!0)},{priority:"high"})}),e.conversion.for("dataDowncast").add(e=>{e.on("addMarker:suggestion:formatBlock",(e,t,s)=>{r(e,t,s,!0,!1)},{priority:"highest"})}),e.conversion.for("dataDowncast").add(e=>{e.on("addMarker:suggestion:attribute",(e,t,s)=>{r(e,t,s,!0,!0)},{priority:"highest"})}),e.conversion.for("dataDowncast").markerToData({model:"suggestion",view:(e,t)=>{if(t.options.showSuggestionHighlights){const{id:t,authorId:r}=D(e);return e.includes(":split")||e.includes(":merge")?{group:"suggestion",name:e.substr(11),attributes:{"data-suggestion":t,"data-author-id":r}}:null}return{group:"suggestion",name:e.substr(11)}}});const o=(t,r,s,o,n)=>{if(o&&!s.options.showSuggestionHighlights)return;if(!s.consumable.test(r.markerRange,t.name))return;const i=this._activeMarkers,a=r.markerRange.getWalker(),c=r.markerRange.start,l=e.model.schema;let u=null,d=null,m=!1,g=!1;for(const e of a){const t=e.item;m=m||l.isContent(t);const r=s.mapper.toViewElement(t);if(r&&r.getCustomProperty("addHighlight"))return;"elementEnd"==e.type&&(l.isBlock(t)&&!l.isLimit(t)&&(t.nextSibling||c.isAtEnd?u&&u.parent==t||(u=t,h(e.previousPosition),g=!0):d=d||e.previousPosition))}function h(e){const{id:t,authorId:a}=D(r.markerName),c=s.writer.createUIElement("span",{class:`ck-suggestion-marker-${n}`,"data-suggestion":t,"data-author-id":a}),l=s.mapper.toViewPosition(e);!o&&i.includes(r.markerName)&&s.writer.addClass("ck-suggestion-marker--active",c),s.writer.insert(l,c),s.mapper.bindElementToMarker(c,r.markerName)}m||g||!d||h(d)};e.editing.downcastDispatcher.on("addMarker:suggestion:deletion",(e,t,r)=>{o(e,t,r,!1,"merge")},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:deletion",(e,t,r)=>{o(e,t,r,!0,"merge")},{priority:"high"}),e.editing.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{o(e,t,r,!1,"split")},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{o(e,t,r,!0,"split")},{priority:"high"}),e.editing.downcastDispatcher.on("removeMarker:suggestion",(e,t,r)=>{((e,t,r)=>{const s=r.mapper.markerNameToElements(t.markerName);if(s)for(const e of s)(e.hasClass("ck-suggestion-marker-split")||e.hasClass("ck-suggestion-marker-merge"))&&(r.mapper.unbindElementFromMarkerName(e,t.markerName),r.writer.remove(e))})(0,t,r)},{priority:"high"});const n=(t,r,s,o)=>{if(o&&!s.options.showSuggestionHighlights)return;const n=r.markerRange.start,i=r.markerRange.end,a=e.model.schema;if(!n.isTouching(i)||!n.nodeAfter)return;const c=n.nodeAfter;if(a.isBlock(c)&&!a.isLimit(c)&&a.checkChild(c,"$text")){if(!s.consumable.consume(r.markerRange,t.name))return;const{id:e,authorId:n}=D(r.markerName),a=s.writer.createUIElement("span",{class:"ck-suggestion-marker-split","data-suggestion":e,"data-author-id":n}),c=s.mapper.toViewPosition(i);!o&&this._activeMarkers.includes(r.markerName)&&s.writer.addClass("ck-suggestion-marker--active",a),s.writer.insert(c,a),s.mapper.bindElementToMarker(a,r.markerName)}};e.editing.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{n(e,t,r,!1)},{priority:"high"}),e.data.downcastDispatcher.on("addMarker:suggestion:insertion",(e,t,r)=>{n(e,t,r,!0)},{priority:"high"})}afterInit(){this.editor.plugins.has("TrackChangesEditing")&&this.listenTo(this.editor.plugins.get("TrackChangesEditing"),"change:activeMarkers",(e,t,r)=>{this._activeMarkers=r.slice()},{priority:"highest"})}registerBlockAttribute(e){this._blockAttributeKeys.add(e)}registerInlineAttribute(e){this._inlineAttributeKeys.add(e)}isBlockAttribute(e){return this._blockAttributeKeys.has(e)}isInlineAttribute(e){return this._inlineAttributeKeys.has(e)}isRegisteredAttribute(e){return this.isInlineAttribute(e)||this.isBlockAttribute(e)}_getClassName(e,t){if("attribute"!=e)return`ck-suggestion-marker-${e}`;const r=t.split("|")[0];return this.isBlockAttribute(r)?"ck-suggestion-marker-formatBlock":"ck-suggestion-marker-formatInline"}}class ie extends Error{}class ae extends ie{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class ce extends ie{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class le extends ie{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ue extends ie{}class de extends ie{constructor(e){super(`Invalid unit ${e}`)}}class me extends ie{}class ge extends ie{constructor(){super("Zone is an abstract class")}}const he="numeric",ke="short",fe="long",pe={year:he,month:he,day:he},be={year:he,month:ke,day:he},ye={year:he,month:ke,day:he,weekday:ke},_e={year:he,month:fe,day:he},we={year:he,month:fe,day:he,weekday:fe},ve={hour:he,minute:he},Se={hour:he,minute:he,second:he},xe={hour:he,minute:he,second:he,timeZoneName:ke},Te={hour:he,minute:he,second:he,timeZoneName:fe},Ae={hour:he,minute:he,hourCycle:"h23"},Ie={hour:he,minute:he,second:he,hourCycle:"h23"},Ce={hour:he,minute:he,second:he,hourCycle:"h23",timeZoneName:ke},Ee={hour:he,minute:he,second:he,hourCycle:"h23",timeZoneName:fe},Me={year:he,month:he,day:he,hour:he,minute:he},Oe={year:he,month:he,day:he,hour:he,minute:he,second:he},Ne={year:he,month:ke,day:he,hour:he,minute:he},De={year:he,month:ke,day:he,hour:he,minute:he,second:he},je={year:he,month:ke,day:he,weekday:ke,hour:he,minute:he},Ve={year:he,month:fe,day:he,hour:he,minute:he,timeZoneName:ke},Pe={year:he,month:fe,day:he,hour:he,minute:he,second:he,timeZoneName:ke},Fe={year:he,month:fe,day:he,weekday:fe,hour:he,minute:he,timeZoneName:fe},Le={year:he,month:fe,day:he,weekday:fe,hour:he,minute:he,second:he,timeZoneName:fe};class We{get type(){throw new ge}get name(){throw new ge}get ianaName(){return this.name}get isUniversal(){throw new ge}offsetName(e,t){throw new ge}formatOffset(e,t){throw new ge}offset(e){throw new ge}equals(e){throw new ge}get isValid(){throw new ge}}let $e=null;class ze extends We{static get instance(){return null===$e&&($e=new ze),$e}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return ar(e,t,r)}formatOffset(e,t){return dr(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const Ze=new Map;const Be={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ue=new Map;class Re extends We{static create(e){let t=Ue.get(e);return void 0===t&&Ue.set(e,t=new Re(e)),t}static resetCache(){Ue.clear(),Ze.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=Re.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return ar(e,t,r,this.name)}formatOffset(e,t){return dr(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=Ze.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"}),Ze.set(e,t)),t}(this.name);let[s,o,n,i,a,c,l]=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=Be[t];"era"===t?s[n]=o:$t(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,l,u]=s;return[i,o,n,a,c,l,u]}(r,t);"BC"===i&&(s=1-Math.abs(s));let u=+t;const d=u%1e3;return u-=d>=0?d:1e3+d,(sr({year:s,month:o,day:n,hour:24===a?0:a,minute:c,second:l,millisecond:0})-u)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let He={};const qe=new Map;function Ye(e,t={}){const r=JSON.stringify([e,t]);let s=qe.get(r);return void 0===s&&(s=new Intl.DateTimeFormat(e,t),qe.set(r,s)),s}const Je=new Map;const Ke=new Map;let Ge=null;const Qe=new Map;function Xe(e){let t=Qe.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Qe.set(e,t)),t}const et=new Map;function tt(e,t,r,s){const o=e.listingMode();return"error"===o?null:"en"===o?r(t):s(t)}class rt{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=Je.get(r);return void 0===s&&(s=new Intl.NumberFormat(e,t),Je.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 Jt(this.floor?Math.floor(e):Xt(e,3),this.padTo)}}class st{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&&Re.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=Ye(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 ot{constructor(e,t,r){this.opts={style:"long",...r},!t&&Bt()&&(this.rtf=function(e,t={}){const{base:r,...s}=t,o=JSON.stringify([e,s]);let n=Ke.get(o);return void 0===n&&(n=new Intl.RelativeTimeFormat(e,t),Ke.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,l=o[e],u=s?c?l[1]:l[2]||l[1]:c?o[e][0]:e;return i?`${a} ${u} ago`:`in ${a} ${u}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const nt={firstDay:1,minimalDays:4,weekend:[6,7]};class it{static fromOpts(e){return it.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,o=!1){const n=e||xt.defaultLocale,i=n||(o?"en-US":Ge||(Ge=(new Intl.DateTimeFormat).resolvedOptions().locale,Ge)),a=t||xt.defaultNumberingSystem,c=r||xt.defaultOutputCalendar,l=qt(s)||xt.defaultWeekSettings;return new it(i,a,c,l,n)}static resetCache(){Ge=null,qe.clear(),Je.clear(),Ke.clear(),Qe.clear(),et.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return it.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=Ye(e).resolvedOptions(),s=e}catch(o){const n=e.substring(0,r);t=Ye(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"===Xe(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?it.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,qt(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 tt(this,e,fr,()=>{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=_o.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 tt(this,e,_r,()=>{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=_o.utc(2016,11,13+r);t.push(e(s))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return tt(this,void 0,()=>wr,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[_o.utc(2016,11,13,9),_o.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return tt(this,e,Tr,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[_o.utc(-40,1,1),_o.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 rt(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new st(e,this.intl,t)}relFormatter(e={}){return new ot(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let s=He[r];return s||(s=new Intl.ListFormat(e,t),He[r]=s),s}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Xe(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ut()?function(e){let t=et.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...nt,...t}),et.set(e,t)}return t}(this.locale):nt}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 at=null;class ct extends We{static get utcInstance(){return null===at&&(at=new ct(0)),at}static instance(e){return 0===e?ct.utcInstance:new ct(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ct(cr(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${dr(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${dr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return dr(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 lt extends We{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 ut(e,t){if($t(e)||null===e)return t;if(e instanceof We)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?ze.instance:"utc"===r||"gmt"===r?ct.utcInstance:ct.parseSpecifier(r)||Re.create(e)}return zt(e)?ct.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new lt(e)}const dt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mt={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]},gt=dt.hanidec.replace(/[\[|\]]/g,"").split("");const ht=new Map;function kt({numberingSystem:e},t=""){const r=e||"latn";let s=ht.get(r);void 0===s&&(s=new Map,ht.set(r,s));let o=s.get(t);return void 0===o&&(o=new RegExp(`${dt[r]}${t}`),s.set(t,o)),o}let ft,pt=()=>Date.now(),bt="system",yt=null,_t=null,wt=null,vt=60,St=null;class xt{static get now(){return pt}static set now(e){pt=e}static set defaultZone(e){bt=e}static get defaultZone(){return ut(bt,ze.instance)}static get defaultLocale(){return yt}static set defaultLocale(e){yt=e}static get defaultNumberingSystem(){return _t}static set defaultNumberingSystem(e){_t=e}static get defaultOutputCalendar(){return wt}static set defaultOutputCalendar(e){wt=e}static get defaultWeekSettings(){return St}static set defaultWeekSettings(e){St=qt(e)}static get twoDigitCutoffYear(){return vt}static set twoDigitCutoffYear(e){vt=e%100}static get throwOnInvalid(){return ft}static set throwOnInvalid(e){ft=e}static resetCaches(){it.resetCache(),Re.resetCache(),_o.resetCache(),ht.clear()}}class Tt{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const At=[0,31,59,90,120,151,181,212,243,273,304,334],It=[0,31,60,91,121,152,182,213,244,274,305,335];function Ct(e,t){return new Tt("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Et(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 Mt(e,t,r){return r+(er(e)?It:At)[t-1]}function Ot(e,t){const r=er(e)?It:At,s=r.findIndex(e=>e<t);return{month:s+1,day:t-r[s]}}function Nt(e,t){return(e-t+7)%7+1}function Dt(e,t=4,r=1){const{year:s,month:o,day:n}=e,i=Mt(s,o,n),a=Nt(Et(s,o,n),r);let c,l=Math.floor((i-a+14-t)/7);return l<1?(c=s-1,l=nr(c,t,r)):l>nr(s,t,r)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...mr(e)}}function jt(e,t=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=e,i=Nt(Et(s,1,t),r),a=tr(s);let c,l=7*o+n-i-7+t;l<1?(c=s-1,l+=tr(c)):l>a?(c=s+1,l-=tr(s)):c=s;const{month:u,day:d}=Ot(c,l);return{year:c,month:u,day:d,...mr(e)}}function Vt(e){const{year:t,month:r,day:s}=e;return{year:t,ordinal:Mt(t,r,s),...mr(e)}}function Pt(e){const{year:t,ordinal:r}=e,{month:s,day:o}=Ot(t,r);return{year:t,month:s,day:o,...mr(e)}}function Ft(e,t){if(!$t(e.localWeekday)||!$t(e.localWeekNumber)||!$t(e.localWeekYear)){if(!$t(e.weekday)||!$t(e.weekNumber)||!$t(e.weekYear))throw new ue("Cannot mix locale-based week fields with ISO-based week fields");return $t(e.localWeekday)||(e.weekday=e.localWeekday),$t(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),$t(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=Zt(e.year),r=Yt(e.month,1,12),s=Yt(e.day,1,rr(e.year,e.month));return t?r?!s&&Ct("day",e.day):Ct("month",e.month):Ct("year",e.year)}function Wt(e){const{hour:t,minute:r,second:s,millisecond:o}=e,n=Yt(t,0,23)||24===t&&0===r&&0===s&&0===o,i=Yt(r,0,59),a=Yt(s,0,59),c=Yt(o,0,999);return n?i?a?!c&&Ct("millisecond",o):Ct("second",s):Ct("minute",r):Ct("hour",t)}function $t(e){return void 0===e}function zt(e){return"number"==typeof e}function Zt(e){return"number"==typeof e&&e%1==0}function Bt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Ut(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Rt(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 Ht(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qt(e){if(null==e)return null;if("object"!=typeof e)throw new me("Week settings must be an object");if(!Yt(e.firstDay,1,7)||!Yt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Yt(e,1,7)))throw new me("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Yt(e,t,r){return Zt(e)&&e>=t&&e<=r}function Jt(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function Kt(e){return $t(e)||null===e||""===e?void 0:parseInt(e,10)}function Gt(e){return $t(e)||null===e||""===e?void 0:parseFloat(e)}function Qt(e){if(!$t(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Xt(e,t,r=!1){const s=10**t;return(r?Math.trunc:Math.round)(e*s)/s}function er(e){return e%4==0&&(e%100!=0||e%400==0)}function tr(e){return er(e)?366:365}function rr(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?er(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function sr(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 or(e,t,r){return-Nt(Et(e,1,t),r)+t-1}function nr(e,t=4,r=1){const s=or(e,t,r),o=or(e+1,t,r);return(tr(e)-s+o)/7}function ir(e){return e>99?e:e>xt.twoDigitCutoffYear?1900+e:2e3+e}function ar(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 cr(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 lr(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new me(`Invalid unit value ${e}`);return t}function ur(e,t){const r={};for(const s in e)if(Ht(e,s)){const o=e[s];if(null==o)continue;r[t(s)]=lr(o)}return r}function dr(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}${Jt(r,2)}:${Jt(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${Jt(r,2)}${Jt(s,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function mr(e){return function(e,t){return t.reduce((t,r)=>(t[r]=e[r],t),{})}(e,["hour","minute","second","millisecond"])}const gr=["January","February","March","April","May","June","July","August","September","October","November","December"],hr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],kr=["J","F","M","A","M","J","J","A","S","O","N","D"];function fr(e){switch(e){case"narrow":return[...kr];case"short":return[...hr];case"long":return[...gr];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 pr=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],br=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],yr=["M","T","W","T","F","S","S"];function _r(e){switch(e){case"narrow":return[...yr];case"short":return[...br];case"long":return[...pr];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const wr=["AM","PM"],vr=["Before Christ","Anno Domini"],Sr=["BC","AD"],xr=["B","A"];function Tr(e){switch(e){case"narrow":return[...xr];case"short":return[...Sr];case"long":return[...vr];default:return null}}function Ar(e,t){let r="";for(const s of e)s.literal?r+=s.val:r+=t(s.val);return r}const Ir={D:pe,DD:be,DDD:_e,DDDD:we,t:ve,tt:Se,ttt:xe,tttt:Te,T:Ae,TT:Ie,TTT:Ce,TTTT:Ee,f:Me,ff:Ne,fff:Ve,ffff:Fe,F:Oe,FF:De,FFF:Pe,FFFF:Le};class Cr{static create(e,t={}){return new Cr(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 Ir[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 Jt(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 wr[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,s)=>r?function(e,t){return fr(t)[e.month-1]}(e,t):o(s?{month:t}:{month:t,day:"numeric"},"month"),c=(t,s)=>r?function(e,t){return _r(t)[e.weekday-1]}(e,t):o(s?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{const r=Cr.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},u=t=>r?function(e,t){return Tr(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Ar(Cr.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 u("short");case"GG":return u("long");case"GGGGG":return u("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 l(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=Cr.parseFormat(t),o=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return Ar(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 Er=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Mr(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function Or(...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 Nr(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 Dr(...e){return(t,r)=>{const s={};let o;for(o=0;o<e.length;o++)s[e[o]]=Kt(t[r+o]);return[s,null,r+o]}}const jr=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vr=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pr=RegExp(`${Vr.source}${`(?:${jr.source}?(?:\\[(${Er.source})\\])?)?`}`),Fr=RegExp(`(?:T${Pr.source})?`),Lr=Dr("weekYear","weekNumber","weekDay"),Wr=Dr("year","ordinal"),$r=RegExp(`${Vr.source} ?(?:${jr.source}|(${Er.source}))?`),zr=RegExp(`(?: ${$r.source})?`);function Zr(e,t,r){const s=e[t];return $t(s)?r:Kt(s)}function Br(e,t){return[{hours:Zr(e,t,0),minutes:Zr(e,t+1,0),seconds:Zr(e,t+2,0),milliseconds:Qt(e[t+3])},null,t+4]}function Ur(e,t){const r=!e[t]&&!e[t+1],s=cr(e[t+1],e[t+2]);return[{},r?null:ct.instance(s),t+3]}function Rr(e,t){return[{},e[t]?Re.create(e[t]):null,t+1]}const Hr=RegExp(`^T?${Vr.source}$`),qr=/^-?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 Yr(e){const[t,r,s,o,n,i,a,c,l]=e,u="-"===t[0],d=c&&"-"===c[0],m=(e,t=!1)=>void 0!==e&&(t||e&&u)?-e:e;return[{years:m(Gt(r)),months:m(Gt(s)),weeks:m(Gt(o)),days:m(Gt(n)),hours:m(Gt(i)),minutes:m(Gt(a)),seconds:m(Gt(c),"-0"===c),milliseconds:m(Qt(l),d)}]}const Jr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Kr(e,t,r,s,o,n,i){const a={year:2===t.length?ir(Kt(t)):Kt(t),month:hr.indexOf(r)+1,day:Kt(s),hour:Kt(o),minute:Kt(n)};return i&&(a.second=Kt(i)),e&&(a.weekday=e.length>3?pr.indexOf(e)+1:br.indexOf(e)+1),a}const Gr=/^(?:(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 Qr(e){const[,t,r,s,o,n,i,a,c,l,u,d]=e,m=Kr(t,o,s,r,n,i,a);let g;return g=c?Jr[c]:l?0:cr(u,d),[m,new ct(g)]}const Xr=/^(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$/,es=/^(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$/,ts=/^(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 rs(e){const[,t,r,s,o,n,i,a]=e;return[Kr(t,o,s,r,n,i,a),ct.utcInstance]}function ss(e){const[,t,r,s,o,n,i,a]=e;return[Kr(t,a,r,s,o,n,i),ct.utcInstance]}const os=Mr(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Fr),ns=Mr(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Fr),is=Mr(/(\d{4})-?(\d{3})/,Fr),as=Mr(Pr),cs=Or(function(e,t){return[{year:Zr(e,t),month:Zr(e,t+1,1),day:Zr(e,t+2,1)},null,t+3]},Br,Ur,Rr),ls=Or(Lr,Br,Ur,Rr),us=Or(Wr,Br,Ur,Rr),ds=Or(Br,Ur,Rr);const ms=Or(Br);const gs=Mr(/(\d{4})-(\d\d)-(\d\d)/,zr),hs=Mr($r),ks=Or(Br,Ur,Rr);const fs="Invalid Duration",ps={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}},bs={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},...ps},ys=365.2425,_s=30.436875,ws={years:{quarters:4,months:12,weeks:52.1775,days:ys,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:_s,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ps},vs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ss=vs.slice(0).reverse();function xs(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 Is(s)}function Ts(e,t){let r=t.milliseconds??0;for(const s of Ss.slice(1))t[s]&&(r+=t[s]*e[s].milliseconds);return r}function As(e,t){const r=Ts(e,t)<0?-1:1;vs.reduceRight((s,o)=>{if($t(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),vs.reduce((r,s)=>{if($t(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}class Is{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?ws:bs;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||it.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Is.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new me("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Is({values:ur(e,Is.normalizeUnit),loc:it.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(zt(e))return Is.fromMillis(e);if(Is.isDuration(e))return e;if("object"==typeof e)return Is.fromObject(e);throw new me(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return Nr(e,[qr,Yr])}(e);return r?Is.fromObject(r,t):Is.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return Nr(e,[Hr,ms])}(e);return r?Is.fromObject(r,t):Is.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new me("need to specify a reason the Duration is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new le(r);return new Is({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 de(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?Cr.create(this.loc,r).formatDurationFromString(this,e):fs}toHuman(e={}){if(!this.isValid)return fs;const t=vs.map(t=>{const r=this.values[t];return $t(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+=Xt(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 _o.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?Ts(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Is.fromDurationLike(e),r={};for(const e of vs)(Ht(t.values,e)||Ht(this.values,e))&&(r[e]=t.get(e)+this.get(e));return xs(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Is.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]=lr(e(this.values[r],r));return xs(this,{values:t},!0)}get(e){return this[Is.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return xs(this,{values:{...this.values,...ur(e,Is.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){return xs(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 As(this.matrix,e),xs(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return xs(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=>Is.normalizeUnit(e));const t={},r={},s=this.toObject();let o;for(const n of vs)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;zt(s[n])&&(e+=s[n]);const i=Math.trunc(e);t[n]=i,r[n]=(1e3*e-1e3*i)/1e3}else zt(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 As(this.matrix,t),xs(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 xs(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 vs)if(!t(this.values[r],e.values[r]))return!1;return!0}}const Cs="Invalid Interval";class Es{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 me("need to specify a reason the Interval is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new ce(r);return new Es({invalid:r})}static fromDateTimes(e,t){const r=wo(e),s=wo(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Es.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:Es.invalid("missing or invalid end"):Es.invalid("missing or invalid start")}(r,s);return null==o?new Es({start:r,end:s}):o}static after(e,t){const r=Is.fromDurationLike(t),s=wo(e);return Es.fromDateTimes(s,s.plus(r))}static before(e,t){const r=Is.fromDurationLike(t),s=wo(e);return Es.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=_o.fromISO(r,t),o=e.isValid}catch(s){o=!1}try{n=_o.fromISO(s,t),i=n.isValid}catch(s){i=!1}if(o&&i)return Es.fromDateTimes(e,n);if(o){const r=Is.fromISO(s,t);if(r.isValid)return Es.after(e,r)}else if(i){const e=Is.fromISO(r,t);if(e.isValid)return Es.before(n,e)}}return Es.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?Es.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(wo).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(Es.fromDateTimes(s,n)),s=n,o+=1}return r}splitBy(e){const t=Is.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(Es.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:Es.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 Es.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(Es.fromDateTimes(t,e.time)),t=null);return Es.merge(s)}difference(...e){return Es.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Cs}[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=pe,t={}){return this.isValid?Cr.create(this.s.loc.clone(t),e).formatInterval(this):Cs}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Cs}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Cs}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Cs}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Cs}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Is.invalid(this.invalidReason)}mapEndpoints(e){return Es.fromDateTimes(e(this.s),e(this.e))}}class Ms{static hasDST(e=xt.defaultZone){const t=_o.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Re.isValidZone(e)}static normalizeZone(e){return ut(e,xt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||it.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||it.create(t,r,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||it.create(t,r,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||it.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||it.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return it.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return it.create(t,null,"gregory").eras(e)}static features(){return{relative:Bt(),localeWeek:Ut()}}}function Os(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(t)-r(e);return Math.floor(Is.fromMillis(s).as("days"))}function Ns(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=Os(e,t);return(r-r%7)/7}],["days",Os]],o={},n=e;let i,a;for(const[c,l]of s)r.indexOf(c)>=0&&(i=c,o[c]=l(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,l=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+c/(i-o)));const u=Is.fromObject(n,s);return l.length>0?Is.fromMillis(c,s).shiftTo(...l).plus(u):u}function Ds(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(dt.hanidec))t+=gt.indexOf(e[r]);else for(const e in mt){const[r,o]=mt[e];s>=r&&s<=o&&(t+=s-r)}}return parseInt(t,10)}return t}(e))}}const js=`[ ${String.fromCharCode(160)}]`,Vs=new RegExp(js,"g");function Ps(e){return e.replace(/\./g,"\\.?").replace(Vs,js)}function Fs(e){return e.replace(/\./g,"").replace(Vs," ").toLowerCase()}function Ls(e,t){return null===e?null:{regex:RegExp(e.map(Ps).join("|")),deser:([r])=>e.findIndex(e=>Fs(r)===Fs(e))+t}}function Ws(e,t){return{regex:e,deser:([,e,t])=>cr(e,t),groups:t}}function $s(e){return{regex:e,deser:([e])=>e}}const zs={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 Zs=null;function Bs(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const r=Hs(Cr.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t)))}class Us{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Bs(Cr.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const r=kt(t),s=kt(t,"{2}"),o=kt(t,"{3}"),n=kt(t,"{4}"),i=kt(t,"{6}"),a=kt(t,"{1,2}"),c=kt(t,"{1,3}"),l=kt(t,"{1,6}"),u=kt(t,"{1,9}"),d=kt(t,"{2,4}"),m=kt(t,"{4,6}"),g=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},h=(h=>{if(e.literal)return g(h);switch(h.val){case"G":return Ls(t.eras("short"),0);case"GG":return Ls(t.eras("long"),0);case"y":return Ds(l);case"yy":case"kk":return Ds(d,ir);case"yyyy":case"kkkk":return Ds(n);case"yyyyy":return Ds(m);case"yyyyyy":return Ds(i);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Ds(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Ds(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 Ds(c);case"ooo":case"SSS":return Ds(o);case"u":return $s(u);case"uu":return $s(a);case"uuu":case"E":case"c":return Ds(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 Ws(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Ws(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return $s(/[a-z_+-/]{1,256}?/i);case" ":return $s(/[^\S\n\r]/);default:return g(h)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return h.token=e,h}(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(Ht(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 $t(e.z)||(r=Re.create(e.z)),$t(e.Z)||(r||(r=new ct(e.Z)),t=e.Z),$t(e.q)||(e.M=3*(e.q-1)+1),$t(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),$t(e.u)||(e.S=Qt(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(Ht(r,"a")&&Ht(r,"H"))throw new ue("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 Rs(e,t,r){return new Us(e,r).explainFromTokens(t)}function Hs(e,t){if(!e)return null;const r=Cr.create(t,e).dtFormatter((Zs||(Zs=_o.fromMillis(1555555555555)),Zs)),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=zs[i];if("object"==typeof a&&(a=a[n]),a)return{literal:!1,val:a}}(t,e,o))}const qs="Invalid DateTime",Ys=864e13;function Js(e){return new Tt("unsupported zone",`the zone "${e.name}" is not supported`)}function Ks(e){return null===e.weekData&&(e.weekData=Dt(e.c)),e.weekData}function Gs(e){return null===e.localWeekData&&(e.localWeekData=Dt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Qs(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new _o({...r,...t,old:r})}function Xs(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 eo(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 to(e,t,r){return Xs(sr(e),t,r)}function ro(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,rr(s,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},i=Is.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=sr(n);let[c,l]=Xs(a,r,e.zone);return 0!==i&&(c+=i,l=e.zone.offset(c)),{ts:c,o:l}}function so(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=_o.fromObject(e,{...r,zone:s,specificOffset:n});return i?o:o.setZone(a)}return _o.invalid(new Tt("unparsable",`the input "${o}" can't be parsed as ${s}`))}function oo(e,t,r=!0){return e.isValid?Cr.create(it.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function no(e,t){const r=e.c.year>9999||e.c.year<0;let s="";return r&&e.c.year>=0&&(s+="+"),s+=Jt(e.c.year,r?6:4),t?(s+="-",s+=Jt(e.c.month),s+="-",s+=Jt(e.c.day)):(s+=Jt(e.c.month),s+=Jt(e.c.day)),s}function io(e,t,r,s,o,n){let i=Jt(e.c.hour);return t?(i+=":",i+=Jt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=":")):i+=Jt(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(i+=Jt(e.c.second),0===e.c.millisecond&&s||(i+=".",i+=Jt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!n?i+="Z":e.o<0?(i+="-",i+=Jt(Math.trunc(-e.o/60)),i+=":",i+=Jt(Math.trunc(-e.o%60))):(i+="+",i+=Jt(Math.trunc(e.o/60)),i+=":",i+=Jt(Math.trunc(e.o%60)))),n&&(i+="["+e.zone.ianaName+"]"),i}const ao={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},co={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},lo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},uo=["year","month","day","hour","minute","second","millisecond"],mo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],go=["year","ordinal","hour","minute","second","millisecond"];function ho(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 de(e);return t}(e)}}function ko(e,t){const r=ut(t.zone,xt.defaultZone);if(!r.isValid)return _o.invalid(Js(r));const s=it.fromObject(t);let o,n;if($t(e.year))o=xt.now();else{for(const t of uo)$t(e[t])&&(e[t]=ao[t]);const t=Lt(e)||Wt(e);if(t)return _o.invalid(t);const s=function(e){if(void 0===bo&&(bo=xt.now()),"iana"!==e.type)return e.offset(bo);const t=e.name;let r=yo.get(t);return void 0===r&&(r=e.offset(bo),yo.set(t,r)),r}(r);[o,n]=to(e,s,r)}return new _o({ts:o,zone:r,loc:s,o:n})}function fo(e,t,r){const s=!!$t(r.round)||r.round,o=(e,o)=>{e=Xt(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 po(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 bo;const yo=new Map;class _o{constructor(e){const t=e.zone||xt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Tt("invalid input"):null)||(t.isValid?null:Js(t));this.ts=$t(e.ts)?xt.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=zt(e.o)&&!e.old?e.o:t.offset(this.ts);s=eo(this.ts,n),r=Number.isNaN(s.year)?new Tt("invalid input"):null,s=r?null:s,o=r?null:n}}this._zone=t,this.loc=e.loc||it.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new _o({})}static local(){const[e,t]=po(arguments),[r,s,o,n,i,a,c]=t;return ko({year:r,month:s,day:o,hour:n,minute:i,second:a,millisecond:c},e)}static utc(){const[e,t]=po(arguments),[r,s,o,n,i,a,c]=t;return e.zone=ct.utcInstance,ko({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 _o.invalid("invalid input");const o=ut(t.zone,xt.defaultZone);return o.isValid?new _o({ts:r,zone:o,loc:it.fromObject(t)}):_o.invalid(Js(o))}static fromMillis(e,t={}){if(zt(e))return e<-Ys||e>Ys?_o.invalid("Timestamp out of range"):new _o({ts:e,zone:ut(t.zone,xt.defaultZone),loc:it.fromObject(t)});throw new me(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(zt(e))return new _o({ts:1e3*e,zone:ut(t.zone,xt.defaultZone),loc:it.fromObject(t)});throw new me("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=ut(t.zone,xt.defaultZone);if(!r.isValid)return _o.invalid(Js(r));const s=it.fromObject(t),o=ur(e,ho),{minDaysInFirstWeek:n,startOfWeek:i}=Ft(o,s),a=xt.now(),c=$t(t.specificOffset)?r.offset(a):t.specificOffset,l=!$t(o.ordinal),u=!$t(o.year),d=!$t(o.month)||!$t(o.day),m=u||d,g=o.weekYear||o.weekNumber;if((m||l)&&g)throw new ue("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&l)throw new ue("Can't mix ordinal dates with month/day");const h=g||o.weekday&&!m;let k,f,p=eo(a,c);h?(k=mo,f=co,p=Dt(p,n,i)):l?(k=go,f=lo,p=Vt(p)):(k=uo,f=ao);let b=!1;for(const e of k){$t(o[e])?o[e]=b?f[e]:p[e]:b=!0}const y=h?function(e,t=4,r=1){const s=Zt(e.weekYear),o=Yt(e.weekNumber,1,nr(e.weekYear,t,r)),n=Yt(e.weekday,1,7);return s?o?!n&&Ct("weekday",e.weekday):Ct("week",e.weekNumber):Ct("weekYear",e.weekYear)}(o,n,i):l?function(e){const t=Zt(e.year),r=Yt(e.ordinal,1,tr(e.year));return t?!r&&Ct("ordinal",e.ordinal):Ct("year",e.year)}(o):Lt(o),_=y||Wt(o);if(_)return _o.invalid(_);const w=h?jt(o,n,i):l?Pt(o):o,[v,S]=to(w,c,r),x=new _o({ts:v,zone:r,o:S,loc:s});return o.weekday&&m&&e.weekday!==x.weekday?_o.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${x.toISO()}`):x.isValid?x:_o.invalid(x.invalid)}static fromISO(e,t={}){const[r,s]=function(e){return Nr(e,[os,cs],[ns,ls],[is,us],[as,ds])}(e);return so(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=function(e){return Nr(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Gr,Qr])}(e);return so(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=function(e){return Nr(e,[Xr,rs],[es,rs],[ts,ss])}(e);return so(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if($t(e)||$t(t))throw new me("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,n=it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,a,c,l]=function(e,t,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=Rs(e,t,r);return[s,o,n,i]}(n,e,t);return l?_o.invalid(l):so(i,a,r,`format ${t}`,e,c)}static fromString(e,t,r={}){return _o.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=function(e){return Nr(e,[gs,cs],[hs,ks])}(e);return so(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new me("need to specify a reason the DateTime is invalid");const r=e instanceof Tt?e:new Tt(e,t);if(xt.throwOnInvalid)throw new ae(r);return new _o({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=Hs(e,it.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return Bs(Cr.parseFormat(e),it.fromObject(t)).map(e=>e.val).join("")}static resetCache(){bo=void 0,yo.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?Ks(this).weekYear:NaN}get weekNumber(){return this.isValid?Ks(this).weekNumber:NaN}get weekday(){return this.isValid?Ks(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gs(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gs(this).weekYear:NaN}get ordinal(){return this.isValid?Vt(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ms.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ms.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ms.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ms.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=sr(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,l=eo(a,n),u=eo(c,i);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[Qs(this,{ts:a}),Qs(this,{ts:c})]:[this]}get isInLeapYear(){return er(this.year)}get daysInMonth(){return rr(this.year,this.month)}get daysInYear(){return this.isValid?tr(this.year):NaN}get weeksInWeekYear(){return this.isValid?nr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?nr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=Cr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(ct.instance(e),t)}toLocal(){return this.setZone(xt.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=ut(e,xt.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]=to(r,t,e)}return Qs(this,{ts:s,zone:e})}return _o.invalid(Js(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return Qs(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=ur(e,ho),{minDaysInFirstWeek:r,startOfWeek:s}=Ft(t,this.loc),o=!$t(t.weekYear)||!$t(t.weekNumber)||!$t(t.weekday),n=!$t(t.ordinal),i=!$t(t.year),a=!$t(t.month)||!$t(t.day),c=i||a,l=t.weekYear||t.weekNumber;if((c||n)&&l)throw new ue("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&n)throw new ue("Can't mix ordinal dates with month/day");let u;o?u=jt({...Dt(this.c,r,s),...t},r,s):$t(t.ordinal)?(u={...this.toObject(),...t},$t(t.day)&&(u.day=Math.min(rr(u.year,u.month),u.day))):u=Pt({...Vt(this.c),...t});const[d,m]=to(u,this.o,this.zone);return Qs(this,{ts:d,o:m})}plus(e){if(!this.isValid)return this;return Qs(this,ro(this,Is.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return Qs(this,ro(this,Is.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=Is.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?Cr.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):qs}toLocaleString(e=pe,t={}){return this.isValid?Cr.create(this.loc.clone(t),e).formatDateTime(this):qs}toLocaleParts(e={}){return this.isValid?Cr.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=no(this,n);return i+="T",i+=io(this,n,t,r,s,o),i}toISODate({format:e="extended"}={}){return this.isValid?no(this,"extended"===e):null}toISOWeekDate(){return oo(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":"")+io(this,"extended"===n,t,e,r,o)}toRFC2822(){return oo(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return oo(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?no(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")),oo(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():qs}[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 Is.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(Is.normalizeUnit),n=e.valueOf()>this.valueOf(),i=Ns(n?this:e,n?e:this,o,s);var a;return n?i.negate():i}diffNow(e="milliseconds",t={}){return this.diff(_o.now(),e,t)}until(e){return this.isValid?Es.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||_o.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),fo(t,this.plus(r),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?fo(e.base||_o.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(_o.isDateTime))throw new me("min requires all arguments be DateTimes");return Rt(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(_o.isDateTime))throw new me("max requires all arguments be DateTimes");return Rt(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:o=null}=r;return Rs(it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return _o.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,o=it.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new Us(o,e)}static fromFormatParser(e,t,r={}){if($t(e)||$t(t))throw new me("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=r,n=it.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!n.equals(t.locale))throw new me(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:i,zone:a,specificOffset:c,invalidReason:l}=t.explainFromTokens(e);return l?_o.invalid(l):so(i,a,r,`format ${t.format}`,e,c)}static get DATE_SHORT(){return pe}static get DATE_MED(){return be}static get DATE_MED_WITH_WEEKDAY(){return ye}static get DATE_FULL(){return _e}static get DATE_HUGE(){return we}static get TIME_SIMPLE(){return ve}static get TIME_WITH_SECONDS(){return Se}static get TIME_WITH_SHORT_OFFSET(){return xe}static get TIME_WITH_LONG_OFFSET(){return Te}static get TIME_24_SIMPLE(){return Ae}static get TIME_24_WITH_SECONDS(){return Ie}static get TIME_24_WITH_SHORT_OFFSET(){return Ce}static get TIME_24_WITH_LONG_OFFSET(){return Ee}static get DATETIME_SHORT(){return Me}static get DATETIME_SHORT_WITH_SECONDS(){return Oe}static get DATETIME_MED(){return Ne}static get DATETIME_MED_WITH_SECONDS(){return De}static get DATETIME_MED_WITH_WEEKDAY(){return je}static get DATETIME_FULL(){return Ve}static get DATETIME_FULL_WITH_SECONDS(){return Pe}static get DATETIME_HUGE(){return Fe}static get DATETIME_HUGE_WITH_SECONDS(){return Le}}function wo(e){if(_o.isDateTime(e))return e;if(e&&e.valueOf&&zt(e.valueOf()))return _o.fromJSDate(e);if(e&&"object"==typeof e)return _o.fromObject(e);throw new me(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function vo(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?_o.fromISO(r):_o.fromJSDate(r),o=_o.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 So(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 xo(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 To(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=Ao(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 Ao(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}var Io=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/confirm.css"),Co={attributes:{"data-cke":!0}};Co.setAttributes=h(),Co.insert=m().bind(null,"head"),Co.domAPI=u(),Co.insertStyleElement=f();c()(Io.A,Co);Io.A&&Io.A.locals&&Io.A.locals;class Eo 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-confirm-view"],tabindex:-1,role:"alertdialog"},children:[{tag:"div",attributes:{class:"ck-confirm-view-inner",role:"presentation"},children:[{tag:"p",children:[{text:t.to("message")}]},{tag:"div",attributes:{class:"ck-confirm-view-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-confirm-view-${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 Mo(e){return class extends e{showConfirm(e,t){return this.confirmView=new Eo(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),t.classList.add("ck-confirm-view-active"),this.registerChild(this.confirmView),this.confirmView.focus(),this.set("isConfirm",!0),this.on("change:isConfirm",(e,r,s)=>{s||t.classList.remove("ck-confirm-view-active")}),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 Oo(e){let t=0,r=0;for(const s of Do(e))t=(t<<5)-t+s,t&=t,[t,r]=[r,t];return Po(t)+Po(r)}function*No(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*No(t)}(e):"object"==typeof e?yield*Do(e):"string"==typeof e?yield*jo(e):"number"==typeof e&&(yield e)}function*Do(e){if(yield Vo("{"),e){const t=Object.keys(e).sort();for(const r of t){yield*jo(r),yield Vo(":");const t=e[r];yield*No(t)}}yield Vo("}")}function*jo(e){yield Vo('"');for(const t of e)yield Vo(t);yield Vo('"')}function Vo(e){return e.charCodeAt(0)}function Po(e){return(e*=Math.sign(e)).toString(36)}const Fo=["initialData","context","toolbar","rootsAttributes"],Lo=["WebSocketGateway","RevisionTracker","Autosave","WordCount","DocumentOutline","WProofreader"];function Wo(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=[...Lo,...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=>Wo(e,t,r,s));return t.set(o,i),i}function $o(e,t){const r={};for(const t of e.config.names())Fo.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")||[],l=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)),u=Array.from(new Set(l)),d=new Map;return r.plugins=u.filter(r=>Wo(r,d,e.plugins,t)),r}function zo(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 Zo="Ctrl+Shift+E";function Bo(e,t){const r=e.element;e.keystrokes.listenTo(r);for(const r of t)Uo(e,r);t.on("change",(t,r)=>{for(const t of r.removed)Ro(e,t);for(const t of Array.from(r.added).reverse())Uo(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 Uo(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 Ro(e,t){e.focusTracker.remove(t.element),e.keystrokes.stopListening(t.element),(0,S.isViewWithFocusCycler)(t)&&e.focusCycler.unchain(t.focusCycler)}var Ho=r("ckeditor5/src/engine.js");class qo{diff(e,t,r={}){let s;"function"==typeof r?(s=r,r={}):"callback"in r&&(s=r.callback);const o=this.castInput(e,r),n=this.castInput(t,r),i=this.removeEmpty(this.tokenize(o,r)),a=this.removeEmpty(this.tokenize(n,r));return this.diffWithOptionsObj(i,a,r,s)}diffWithOptionsObj(e,t,r,s){var o;const n=e=>(e=this.postProcess(e,r),s?void setTimeout(function(){s(e)},0):e),i=t.length,a=e.length;let c=1,l=i+a;null!=r.maxEditLength&&(l=Math.min(l,r.maxEditLength));const u=null!==(o=r.timeout)&&void 0!==o?o:1/0,d=Date.now()+u,m=[{oldPos:-1,lastComponent:void 0}];let g=this.extractCommon(m[0],t,e,0,r);if(m[0].oldPos+1>=a&&g+1>=i)return n(this.buildValues(m[0].lastComponent,t,e));let h=-1/0,k=1/0;const f=()=>{for(let s=Math.max(h,-c);s<=Math.min(k,c);s+=2){let o;const c=m[s-1],l=m[s+1];c&&(m[s-1]=void 0);let u=!1;if(l){const e=l.oldPos-s;u=l&&0<=e&&e<i}const d=c&&c.oldPos+1<a;if(u||d){if(o=!d||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,r):this.addToPath(c,!1,!0,1,r),g=this.extractCommon(o,t,e,s,r),o.oldPos+1>=a&&g+1>=i)return n(this.buildValues(o.lastComponent,t,e))||!0;m[s]=o,o.oldPos+1>=a&&(k=Math.min(k,s-1)),g+1>=i&&(h=Math.max(h,s+1))}else m[s]=void 0}c++};if(s)!function e(){setTimeout(function(){if(c>l||Date.now()>d)return s(void 0);f()||e()},0)}();else for(;c<=l&&Date.now()<=d;){const e=f();if(e)return e}}addToPath(e,t,r,s,o){const n=e.lastComponent;return n&&!o.oneChangePerToken&&n.added===t&&n.removed===r?{oldPos:e.oldPos+s,lastComponent:{count:n.count+1,added:t,removed:r,previousComponent:n.previousComponent}}:{oldPos:e.oldPos+s,lastComponent:{count:1,added:t,removed:r,previousComponent:n}}}extractCommon(e,t,r,s,o){const n=t.length,i=r.length;let a=e.oldPos,c=a-s,l=0;for(;c+1<n&&a+1<i&&this.equals(r[a+1],t[c+1],o);)c++,a++,l++,o.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!o.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=a,c}equals(e,t,r){return r.comparator?r.comparator(e,t):e===t||!!r.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){const t=[];for(let r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,r){const s=[];let o;for(;e;)s.push(e),o=e.previousComponent,delete e.previousComponent,e=o;s.reverse();const n=s.length;let i=0,a=0,c=0;for(;i<n;i++){const e=s[i];if(e.removed)e.value=this.join(r.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let s=t.slice(a,a+e.count);s=s.map(function(e,t){const s=r[c+t];return s.length>e.length?s:e}),e.value=this.join(s)}else e.value=this.join(t.slice(a,a+e.count));a+=e.count,e.added||(c+=e.count)}}return s}}const Yo=new class extends qo{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};const Jo="$elementId",Ko="data-id";class Go extends s.ContextPlugin{static get pluginName(){return"DocumentCompare"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}async init(){this.context instanceof s.Editor?this._integrateEditor(this.context):this.listenTo(this.context.editors,"add",(e,t)=>{t.on("ready",()=>{this._integrateEditor(t)})})}get editor(){if(this.context instanceof s.Editor)return this.context;{const e=this.context.editors.first;if(!e)throw new o.CKEditorError("documentcompare-no-editor",this);return e}}getDiff(e,t,r={anchor:"main",markDeletions:!1}){let s,n;const i=this.editor;if("string"==typeof r.anchor){const e=i.model.document.getRoot(r.anchor);if(!e)throw new o.CKEditorError("documentcompare-compare-no-root",this,{anchor:r.anchor});s=e,n=i.model.createPositionAt(e,0)}else s=r.anchor.clone(),n=r.anchor.clone();const a=i.data.parse(e,s),c=i.data.parse(t,s);return new Qo(a,c,i,{anchor:n,markDeletions:r.markDeletions})}isMarkedRemoveOperation(e){return"marker"==e.type&&e.name.startsWith("$markedRemove")}_integrateEditor(e){e.conversion.for("upcast").add(e=>{e.on("element",(e,t,r)=>{if(t.modelRange)for(const e of t.modelRange.getItems({shallow:!0})){if(e.is("$textProxy"))continue;const s=t.viewItem.getAttribute(Ko);s&&r.writer.setAttribute(Jo,s,e)}},{priority:"lowest"})}),e.model.schema.addAttributeCheck(()=>!0,Jo)}}class Qo{_editor;_diffItems=[];_operationsData=[];_markDeletions;_anchor;_path=[0];_parents=[];constructor(e,t,r,s){this._editor=r,this._markDeletions=!!s.markDeletions,this._anchor=s.anchor;const o=this._tokenizeModel(e),n=this._tokenizeModel(t);this._diffItems=this._diffModelTokens(o,n),this._calculateOperationsData(),this._markDeletions||this._calculateMarkersOperationsData(e.markers,t.markers)}getOperationsData(){return this._operationsData}getOperations(){const e=this._editor.model.document,t=[];let r=e.version;for(const s of this._operationsData)switch(s.type){case"attribute":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=e.getShiftedBy(s.howMany),n=new Ho.ModelRange(e,o),i=JSON.parse(s.oldValue),a=JSON.parse(s.newValue);t.push(new Ho.AttributeOperation(n,s.key,i,a,r++));break}case"insert":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=this._makeModelFromTokens(s.tokens);t.push(new Ho.InsertOperation(e,o,r++));break}case"remove":{const o=this._getPositionFromAnchorAndPath(this._anchor,s.path),n=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MoveOperation(o,s.howMany,n,r++));break}case"rename":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path);t.push(new Ho.RenameOperation(e,s.oldName,s.newName,r++));break}case"split":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.path),o=this._getPositionFromAnchorAndPath(this._anchor,s.path.slice(0,-1));o.offset++,t.push(new Ho.SplitOperation(e,Number.NEGATIVE_INFINITY,o,null,r++));break}case"merge":{const o=s.path.slice(),n=o.slice(0,-1);n[n.length-1]++,n.push(0);const i=this._getPositionFromAnchorAndPath(this._anchor,n),a=this._getPositionFromAnchorAndPath(this._anchor,o),c=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MergeOperation(i,Number.NEGATIVE_INFINITY,a,c,r++));break}case"marker":case"markedRemove":{let n=null;if(s.range){const e=this._getPositionFromAnchorAndPath(this._anchor,s.range.start),t=this._getPositionFromAnchorAndPath(this._anchor,s.range.end);n=new Ho.ModelRange(e,t)}const i="marker"==s.type?s.name:"$markedRemove:"+(0,o.uid)();t.push(new Ho.MarkerOperation(i,null,n,e.model.markers,!0,r++));break}case"unwrap":{const o=s.path.slice();o.push(0);const n=s.path.slice(),i=this._getPositionFromAnchorAndPath(this._anchor,o),a=this._getPositionFromAnchorAndPath(this._anchor,n),c=new Ho.ModelPosition(e.graveyard,[0]);t.push(new Ho.MoveOperation(i,s.howMany,a,r++)),t.push(new Ho.MoveOperation(a.getShiftedBy(s.howMany),1,c,r++));break}case"wrap":{const e=this._getPositionFromAnchorAndPath(this._anchor,s.range.start),o=this._getPositionFromAnchorAndPath(this._anchor,s.range.end),n=s.token.element._clone(!1),i=s.range.end.slice();i.push(0);const a=this._getPositionFromAnchorAndPath(this._anchor,i);t.push(new Ho.InsertOperation(o,n,r++)),t.push(new Ho.MoveOperation(e,o.offset-e.offset,a,r++));break}}return t}_tokenizeModel(e){const t=[],r=Ho.ModelRange._createIn(e),s=new Ho.ModelTreeWalker({boundaries:r});let o="",n=null;const i=[""],a=new Map;for(const e of s)if("elementStart"==e.type||"elementEnd"==e.type){let r=i[0];""!==o&&(t.push(...this._makeTokensFromTextByWords(o,n,r)),o="");const s=e.item;let c;s.getAttribute(Jo)?c=s.getAttribute(Jo):"elementStart"==e.type?(c=en(s),a.set(s,c)):c=a.get(s);const l=this._getElementCategory(s);"solid"==l&&("elementStart"==e.type?(r=c,i.unshift(r)):i.shift());const u={type:"element",element:s,elementId:c,category:l,isStart:"elementStart"==e.type,limitId:r};t.push(u)}else""==o&&(n=e.previousPosition.clone()),o+=e.item.data;return""!==o&&t.push(...this._makeTokensFromTextByWords(o,n,i[0])),t}_makeTokensFromTextByWords(e,t,r){const s=e.matchAll(/(\s)/g),o=Array.from(s).map(e=>e.index);o.push(e.length),0==o[0]&&o.shift();const n=[],i=t.parent;let a=0,c=t.offset;for(let s=0;s<o.length;s++)n.push({type:"text",data:e.slice(a,o[s]),parent:i,offset:c,limitId:r}),a=o[s],c=t.offset+o[s];return n}_getElementCategory(e){const t=this._editor.model.schema;return t.isLimit(e)||t.isContent(e)||t.isInline(e)?"solid":t.isBlock(e)?"block":"container"}_diffModelTokens(e,t){const r=function(e,t,r){return Yo.diff(e,t,r)}(e,t,{comparator:Xo});this._handleUnclosedBlockOpeningTags(r);const s=r.flatMap(e=>{const t=e.added?"added":e.removed?"removed":"unchanged";return e.value.map(e=>({token:e,change:t}))});let o=0;for(const t of s)"added"!=t.change&&("unchanged"==t.change&&(t.before=e[o]),o++);return s}_handleUnclosedBlockOpeningTags(e){for(let t=0;t<e.length-1;t++)if(e[t].removed&&e[t+1].added){const r=this._findUnclosedBlockOpeningToken(e[t].value);if(null!==r){const s=this._findUnclosedBlockOpeningToken(e[t+1].value),o=e[t].value.splice(r),n=e[t+1].value.splice(s),i=[n.shift()];o.shift();const a={value:o,removed:!0},c={value:n,added:!0},l={value:i};e.splice(t+2,0,l,a,c)}}}_findUnclosedBlockOpeningToken(e){let t=0,r=-1;for(let s=0;s<e.length;s++){const o=e[s];"element"==o.type&&"block"==o.category&&(t+=o.isStart?1:-1,o.isStart&&(r=s))}return 0===t?null:r}_calculateOperationsData(){this._handleUnwraps(),this._path=[0],this._parents=[];for(let e=0;e<this._diffItems.length;e++){const t=this._diffItems[e].change,r=[];r.push(this._diffItems[e]);let s=e+1;for(;this._diffItems[s]&&this._diffItems[s].change==t;)r.push(this._diffItems[s]),s++,e++;const o=r.map(e=>e.token);if("unchanged"==t){r.map(e=>e.before).forEach(e=>this._traverseOverItem(e))}else{if("removed"==t)if(this._markDeletions){const e=this._path.slice();o.forEach(e=>this._traverseOverItem(e));const t=this._path.slice();this._operationsData.push({type:"markedRemove",range:{start:e,end:t}})}else this._handleChanged(o,!0,this._path.slice());else{const e=o.filter(e=>"element"!=e.type||"container"!=e.category);this._handleChanged(e,!1,this._path)}}}this._handleWraps(),this._path=[0],this._parents=[];for(let e=0;e<this._diffItems.length;e++){const t=this._diffItems[e].change,r=[];r.push(this._diffItems[e]);let s=e+1;for(;this._diffItems[s]&&this._diffItems[s].change==t;)r.push(this._diffItems[s]),s++,e++;const o=r.map(e=>e.token);if("unchanged"==t){const e=r.map(e=>e.before);this._handleUnchanged(e,o)}else("removed"!=t||this._markDeletions)&&o.forEach(e=>{this._traverseOverItem(e)})}}_calculateMarkersOperationsData(e,t){const r={};for(const[t]of e)r[t]=null;for(const[e,s]of t)r[e]=s;const s=Object.entries(r).map(([e,t])=>({type:"marker",name:e,range:t?{start:t.start.path.slice(),end:t.end.path.slice()}:null}));this._operationsData.push(...s)}_handleUnwraps(){const e=new Map,t=[],r=[0];let s=this._diffItems.length+1;for(let o=this._diffItems.length-1;o>=0;o--){const{token:n,before:i,change:a}=this._diffItems[o];if("removed"!=a&&(s=o),"element"!=n.type||"container"!=n.category||"added"==a)continue;const c=i?i.element:n.element;if(n.isStart){const n=e.get(c),i=this._diffItems[n];("removed"==a||"removed"==i.change)&&s<n&&(this._operationsData.push({type:"unwrap",path:c.getPath(),howMany:c.maxOffset+r[0]}),r.shift(),r[0]+=c.maxOffset-1,t.push(o),t.push(n))}else e.set(c,o),r.unshift(0)}t.sort((e,t)=>t-e),t.forEach(e=>{const t=this._diffItems[e];"removed"==t.change?this._diffItems.splice(e,1):(t.change="added",delete t.before)})}_handleWraps(){this._path=[0],this._parents=[];const e=[];for(let t=0;t<this._diffItems.length;t++){const{change:r,token:s}=this._diffItems[t];if("added"==r&&"element"==s.type&&"container"==s.category){if(s.isStart)e.push(this._path.slice());else if(!s.isStart){const t=e.pop();this._operationsData.push({type:"wrap",range:{start:t,end:this._path.slice()},token:s}),this._path[this._path.length-1]=t[this._path.length-1]+1}}else("removed"!=r||this._markDeletions)&&this._traverseOverItem(s)}}_handleUnchanged(e,t){for(let r=0;r<e.length;r++){const s=e[r];if("element"==s.type&&s.isStart){const e=t[r];"block"==s.category&&this._handleElementRename(s.element,e.element,this._path),this._handleElementAttributeChanges(s.element,e.element,this._path),this._path.push(0),this._parents.push(e)}else if("element"!=s.type||s.isStart){if("text"==s.type){const s=this._path.slice(),o=[],n=[];for(;e[r]&&"text"==e[r].type;)o.push(e[r]),n.push(t[r]),this._path[this._path.length-1]+=e[r].data.length,r++;r--,this._handleTextAttributeChanges(o,n,s)}}else this._path.pop(),this._path[this._path.length-1]++,this._parents.pop()}}_handleChanged(e,t,r){const s=[],n=[],i=r.slice();for(let o=0;o<e.length;o++){const i=e[o],a=r.slice();if("element"!=i.type||i.isStart)"element"==i.type&&i.isStart?(r.push(0),t||this._parents.push(i),n.push({before:a,after:r.slice(),index:o})):r[r.length-1]+=i.data.length;else{let e;r.pop(),r[r.length-1]++,e=t?this._parents[this._parents.length-1]:this._parents.pop(),n.length?n.pop():s.push({before:a,after:r.slice(),index:o,related:e})}}if(n.length!==s.length)throw new o.CKEditorError("model-diff-incorrect-matching-and-closing-tags",null,{tokens:e,isRemove:t});const a=[{after:i.slice(),index:-1},...s,...n,{before:r.slice(),index:e.length}];if(t){for(let e=a.length-1;e>=1;e--){const t=a[e-1].after,r=a[e].before,s=r[r.length-1]-t[t.length-1];s&&(this._operationsData.push({type:"remove",path:t,howMany:s}),r[r.length-1]-=s)}for(const{before:e}of s)this._operationsData.push({type:"merge",path:e})}else for(let t=0;t<a.length-1;t++){const r=a[t].after,o=a[t+1].before,i=a[t].index+1,c=a[t+1].index;if(i!==c&&this._operationsData.push({type:"insert",path:r,tokens:e.slice(i,c)}),t<s.length){this._operationsData.push({type:"split",path:o});const r=e[n[n.length-1-t].index],i=s[t].after,a=s[t].related.element;this._handleElementRename(a,r.element,i),this._handleElementAttributeChanges(a,r.element,i)}}}_traverseOverItem(e){"element"==e.type&&e.isStart?(this._path.push(0),this._parents.push(e)):"element"!=e.type||e.isStart?"text"==e.type&&(this._path[this._path.length-1]+=e.data.length):(this._path.pop(),this._path[this._path.length-1]++,this._parents.pop())}_handleElementRename(e,t,r){e.name!=t.name&&this._operationsData.push({type:"rename",path:r.slice(),oldName:e.name,newName:t.name})}_handleElementAttributeChanges(e,t,r){const s=this._getAttributeChanges(e.getAttributes(),t.getAttributes());for(const e in s){const{oldValue:t,newValue:o}=s[e];this._operationsData.push({type:"attribute",path:r.slice(),howMany:1,key:e,oldValue:t,newValue:o})}}_handleTextAttributeChanges(e,t,r){const s=this._operationsData,o=e[0].parent,n=e[0].offset,i=t[0].parent,a=t[0].offset,c=e.reduce((e,t)=>e+t.data.length,0),l=this._getAttrsForOffsets(o,n,c),u=this._getAttrsForOffsets(i,a,c),d={};for(let e=0;e<c;e++){const t=l[n+e],r=u[a+e],s=this._getAttributeChanges(t,r);for(const e in d)s[e]||m(e);for(const t in s){const{oldValue:r,newValue:o}=s[t],n=d[t];n?n.oldValue==r&&n.newValue==o?n.length++:(m(t),d[t]={oldValue:r,newValue:o,start:e,length:1}):d[t]={oldValue:r,newValue:o,start:e,length:1}}}for(const e in d)m(e);function m(e){const t=d[e],o=r.slice();o[o.length-1]+=t.start,s.push({type:"attribute",path:o,howMany:t.length,key:e,oldValue:t.oldValue,newValue:t.newValue}),delete d[e]}}_getAttributeChanges(e,t){const r={};for(const[t,s]of e)r[t]={oldValue:JSON.stringify(s),newValue:"null"};for(const[e,s]of t){const t=JSON.stringify(s);r[e]?r[e].oldValue==t?delete r[e]:r[e].newValue=t:r[e]={oldValue:"null",newValue:t}}return delete r[Jo],r}_getAttrsForOffsets(e,t,r){const s=new Array(t+r);let o=e.getChildAtOffset(t),n=o.startOffset;for(;o&&n<t+r;){const e=Array.from(o.getAttributes());s.fill(e,n,n+o.offsetSize),n+=o.offsetSize,o=o.nextSibling}return s}_getPositionFromAnchorAndPath(e,t){const r=[...e.path.slice(0,-1),e.offset+t[0],...t.slice(1)];return new Ho.ModelPosition(e.root,r)}_makeModelFromTokens(e){const t=[];let r=null;for(const s of e)if("element"!=s.type||s.isStart||r!=s.element){if(!r)if("text"==s.type){const e=Ho.ModelPosition._createAt(s.parent,s.offset),r=Ho.ModelRange._createFromPositionAndShift(e,s.data.length),o=Array.from(r.getItems()).map(e=>new Ho.ModelText(e.data,e.getAttributes()));t.push(...o)}else{r=s.element;const e=s.element._clone(!0);e._removeAttribute(Jo);for(const t of this._editor.model.createRangeIn(e).getItems())t.is("element")&&t._removeAttribute(Jo);t.push(e)}}else r=null;return t}}function Xo(e,t){return e.type===t.type&&(e.limitId===t.limitId&&("text"==e.type?e.data==t.data:function(e,t){if(e.isStart!=t.isStart)return!1;if(e.isStart&&e.elementId!=t.elementId)return!1;if(e.category!=t.category)return!1;if("block"==e.category)return!0;if("container"==e.category&&e.elementId!=t.elementId)return!1;return e.element.name==t.element.name}(e,t)))}function en(e){return Oo({name:e.name,...Object.fromEntries(e.getAttributes())})}var tn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestion.css"),rn={attributes:{"data-cke":!0}};rn.setAttributes=h(),rn.insert=m().bind(null,"head"),rn.domAPI=u(),rn.insertStyleElement=f();c()(tn.A,rn);tn.A&&tn.A.locals&&tn.A.locals;var sn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/suggestionmarker.css"),on={attributes:{"data-cke":!0}};on.setAttributes=h(),on.insert=m().bind(null,"head"),on.domAPI=u(),on.insertStyleElement=f();c()(sn.A,on);sn.A&&sn.A.locals&&sn.A.locals;var nn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/ariadescription.css"),an={attributes:{"data-cke":!0}};an.setAttributes=h(),an.insert=m().bind(null,"head"),an.domAPI=u(),an.insertStyleElement=f();c()(nn.A,an);nn.A&&nn.A.locals&&nn.A.locals;var cn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/image.css"),ln={attributes:{"data-cke":!0}};ln.setAttributes=h(),ln.insert=m().bind(null,"head"),ln.domAPI=u(),ln.insertStyleElement=f();c()(cn.A,ln);cn.A&&cn.A.locals&&cn.A.locals;var un=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/horizontalline.css"),dn={attributes:{"data-cke":!0}};dn.setAttributes=h(),dn.insert=m().bind(null,"head"),dn.domAPI=u(),dn.insertStyleElement=f();c()(un.A,dn);un.A&&un.A.locals&&un.A.locals;var mn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mediaembed.css"),gn={attributes:{"data-cke":!0}};gn.setAttributes=h(),gn.insert=m().bind(null,"head"),gn.domAPI=u(),gn.insertStyleElement=f();c()(mn.A,gn);mn.A&&mn.A.locals&&mn.A.locals;var hn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/mergefields.css"),kn={attributes:{"data-cke":!0}};kn.setAttributes=h(),kn.insert=m().bind(null,"head"),kn.domAPI=u(),kn.insertStyleElement=f();c()(hn.A,kn);hn.A&&hn.A.locals&&hn.A.locals;var fn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/pagebreak.css"),pn={attributes:{"data-cke":!0}};pn.setAttributes=h(),pn.insert=m().bind(null,"head"),pn.domAPI=u(),pn.insertStyleElement=f();c()(fn.A,pn);fn.A&&fn.A.locals&&fn.A.locals;var bn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/table.css"),yn={attributes:{"data-cke":!0}};yn.setAttributes=h(),yn.insert=m().bind(null,"head"),yn.domAPI=u(),yn.insertStyleElement=f();c()(bn.A,yn);bn.A&&bn.A.locals&&bn.A.locals;var _n=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/codeblock.css"),wn={attributes:{"data-cke":!0}};wn.setAttributes=h(),wn.insert=m().bind(null,"head"),wn.domAPI=u(),wn.insertStyleElement=f();c()(_n.A,wn);_n.A&&_n.A.locals&&_n.A.locals;var vn=r("../../node_modules/.pnpm/css-loader@7.1.2_webpack@5.102.1/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/postcss-loader@8.2.0_postcss@8.5.6_typescript@5.3.3_webpack@5.102.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!../../packages/ckeditor5-collaboration-core/theme/integrations/footnotes.css"),Sn={attributes:{"data-cke":!0}};Sn.setAttributes=h(),Sn.insert=m().bind(null,"head"),Sn.domAPI=u(),Sn.insertStyleElement=f();c()(vn.A,Sn);vn.A&&vn.A.locals&&vn.A.locals;function xn(){var e=["1809399mlkBUA","8dNbRUy","5tbhvlx","2614120yKqmWa","1629QvCOPN","3356742lYxrAb","5389580gzOAZG","376062pLTCoX","528100TUjDbW","2690hNEEdo"];return(xn=function(){return e})()}function Tn(e,t){var r=xn();return(Tn=function(e,t){return r[e-=376]})(e,t)}!function(e){for(var t=Tn,r=e();;)try{if(649050===parseInt(t(377))/1*(-parseInt(t(382))/2)+parseInt(t(385))/3*(parseInt(t(376))/4)+-parseInt(t(383))/5+-parseInt(t(380))/6+parseInt(t(381))/7+parseInt(t(378))/8+parseInt(t(379))/9*(-parseInt(t(384))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(xn)},"?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/engine.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/engine.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")},"ckeditor5/src/widget.js":(e,t,r)=>{e.exports=r("dll-reference CKEditor5.dll")("./src/widget.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="undefined"!=typeof document&&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": "47.4.0-alpha.
|
|
3
|
+
"version": "47.4.0-alpha.5",
|
|
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": "47.4.0-alpha.
|
|
32
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.4.0-alpha.5"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"build",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x13b5(){var _0x28db7d=['1809399mlkBUA','8dNbRUy','5tbhvlx','2614120yKqmWa','1629QvCOPN','3356742lYxrAb','5389580gzOAZG','376062pLTCoX','528100TUjDbW','2690hNEEdo'];_0x13b5=function(){return _0x28db7d;};return _0x13b5();}function _0x24c8(_0x1cd5a9,_0x4d7d8a){var _0x13b5c2=_0x13b5();return _0x24c8=function(_0x24c813,_0x2613fc){_0x24c813=_0x24c813-0x178;var _0x4ae3d5=_0x13b5c2[_0x24c813];return _0x4ae3d5;},_0x24c8(_0x1cd5a9,_0x4d7d8a);}(function(_0x5a693f,_0x5030db){var _0x108fe6=_0x24c8,_0x22676c=_0x5a693f();while(!![]){try{var _0x43adfc=parseInt(_0x108fe6(0x179))/0x1*(-parseInt(_0x108fe6(0x17e))/0x2)+parseInt(_0x108fe6(0x181))/0x3*(parseInt(_0x108fe6(0x178))/0x4)+-parseInt(_0x108fe6(0x17f))/0x5+-parseInt(_0x108fe6(0x17c))/0x6+parseInt(_0x108fe6(0x17d))/0x7+parseInt(_0x108fe6(0x17a))/0x8+parseInt(_0x108fe6(0x17b))/0x9*(-parseInt(_0x108fe6(0x180))/0xa);if(_0x43adfc===_0x5030db)break;else _0x22676c['push'](_0x22676c['shift']());}catch(_0x58cdc1){_0x22676c['push'](_0x22676c['shift']());}}}(_0x13b5,0x9e75a));export*from'@ckeditor/ckeditor5-collaboration-core';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a4f6b,_0x4594c1){var _0x4aab3a=_0x53d6,_0x1b7bf2=_0x1a4f6b();while(!![]){try{var _0x2a519e=-parseInt(_0x4aab3a(0x1a1))/0x1*(-parseInt(_0x4aab3a(0x1a0))/0x2)+-parseInt(_0x4aab3a(0x1a8))/0x3+-parseInt(_0x4aab3a(0x19f))/0x4*(parseInt(_0x4aab3a(0x1a5))/0x5)+parseInt(_0x4aab3a(0x1a4))/0x6+parseInt(_0x4aab3a(0x1a6))/0x7+-parseInt(_0x4aab3a(0x1a3))/0x8+parseInt(_0x4aab3a(0x1a7))/0x9*(-parseInt(_0x4aab3a(0x1a2))/0xa);if(_0x2a519e===_0x4594c1)break;else _0x1b7bf2['push'](_0x1b7bf2['shift']());}catch(_0x554d4e){_0x1b7bf2['push'](_0x1b7bf2['shift']());}}}(_0x1023,0x7c4af));function _0x53d6(_0xb909a2,_0x3ee510){var _0x10230f=_0x1023();return _0x53d6=function(_0x53d658,_0x44a8ab){_0x53d658=_0x53d658-0x19f;var _0x447ec4=_0x10230f[_0x53d658];return _0x447ec4;},_0x53d6(_0xb909a2,_0x3ee510);}export*from'./collaboration-core.js';function _0x1023(){var _0x1a5ce2=['3019434RqPHxO','65mLOZkD','7125440vCfZGd','45gbxKFb','1523130PDIxfD','164mzohaU','472126xSMCgX','4DPUyzu','2033090fNkQYV','3452160GXrscN'];_0x1023=function(){return _0x1a5ce2;};return _0x1023();}
|