@ckeditor/ckeditor5-collaboration-core 40.0.0 → 40.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,20 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module comments/comments/ui/view/confirmmixin
7
- */
8
- import type { View } from 'ckeditor5/src/ui';
9
- import type { Locale, Mixed } from 'ckeditor5/src/utils';
10
- /**
11
- * Adds interface for showing confirmation view in the specific for `CommentThreadView` and `CommentView` structure
12
- * Confirm is always set to the `content` collection at the last position.
13
- */
14
- export default function ConfirmMixin<Base extends new (...args: Array<any>) => View>(base: Base): Mixed<Base, ConfirmApi>;
15
- export interface ConfirmApi {
16
- isConfirm: boolean;
17
- locale: Locale;
18
- showConfirm(message: string, element: Element): Promise<unknown>;
19
- cancelConfirm(): void;
20
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module comments/comments/ui/view/confirmmixin
7
+ */
8
+ import type { View } from 'ckeditor5/src/ui';
9
+ import type { Locale, Mixed } from 'ckeditor5/src/utils';
10
+ /**
11
+ * Adds interface for showing confirmation view in the specific for `CommentThreadView` and `CommentView` structure
12
+ * Confirm is always set to the `content` collection at the last position.
13
+ */
14
+ export default function ConfirmMixin<Base extends new (...args: Array<any>) => View>(base: Base): Mixed<Base, ConfirmApi>;
15
+ export interface ConfirmApi {
16
+ isConfirm: boolean;
17
+ locale: Locale;
18
+ showConfirm(message: string, element: Element): Promise<unknown>;
19
+ cancelConfirm(): void;
20
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e35=['remove','submit','destroy','once','showConfirm','deregisterChild','confirmView','appendChild','locale','isConfirm','render','_removeConfirm','set','cancel','registerChild','element','cancelConfirm','message','focus'];(function(_0xb43ebd,_0x5e358f){var _0x247f24=function(_0x5ec2f3){while(--_0x5ec2f3){_0xb43ebd['push'](_0xb43ebd['shift']());}};_0x247f24(++_0x5e358f);}(_0x5e35,0x93));var _0x247f=function(_0xb43ebd,_0x5e358f){_0xb43ebd=_0xb43ebd-0x0;var _0x247f24=_0x5e35[_0xb43ebd];return _0x247f24;};import _0x5ac9d2 from'./confirmview';export default function m(_0x1d2497){return class extends _0x1d2497{[_0x247f('0x9')](_0x2dee4a,_0x1a1814){return this['confirmView']=new _0x5ac9d2(this[_0x247f('0xd')]),this[_0x247f('0xb')][_0x247f('0xf')](),this['confirmView'][_0x247f('0x3')]=_0x2dee4a,this[_0x247f('0xb')][_0x247f('0x8')](_0x247f('0x12'),()=>{this[_0x247f('0x10')]();}),this[_0x247f('0xb')][_0x247f('0x8')](_0x247f('0x6'),()=>{this[_0x247f('0x10')]();}),_0x1a1814[_0x247f('0xc')](this[_0x247f('0xb')][_0x247f('0x1')]),this[_0x247f('0x0')](this[_0x247f('0xb')]),this[_0x247f('0x1')]['focus'](),this[_0x247f('0x11')](_0x247f('0xe'),!0x0),new Promise(_0x399085=>this[_0x247f('0xb')]['on'](_0x247f('0x6'),_0x399085));}[_0x247f('0x2')](){this[_0x247f('0xe')]&&this['confirmView']['fire'](_0x247f('0x12'));}[_0x247f('0x10')](){this[_0x247f('0x1')]&&this[_0x247f('0xb')]&&this['confirmView']['element']&&(this['element'][_0x247f('0x4')](),this[_0x247f('0xb')]['element'][_0x247f('0x5')](),this[_0x247f('0xa')](this[_0x247f('0xb')]),this['isConfirm']=!0x1,this['confirmView'][_0x247f('0x7')](),this['confirmView']=void 0x0);}};}
23
+ var _0xb61d=['set','focus','element','isConfirm','appendChild','render','deregisterChild','cancel','submit','cancelConfirm','registerChild','remove','message','confirmView','_removeConfirm','fire','destroy','once'];(function(_0x4513f9,_0xb61d7){var _0x13fb5c=function(_0x2a686f){while(--_0x2a686f){_0x4513f9['push'](_0x4513f9['shift']());}};_0x13fb5c(++_0xb61d7);}(_0xb61d,0x186));var _0x13fb=function(_0x4513f9,_0xb61d7){_0x4513f9=_0x4513f9-0x0;var _0x13fb5c=_0xb61d[_0x4513f9];return _0x13fb5c;};import _0x5e7629 from'./confirmview';export default function m(_0x4f2e9b){return class extends _0x4f2e9b{['showConfirm'](_0x417a1d,_0x38bd0e){return this['confirmView']=new _0x5e7629(this['locale']),this[_0x13fb('0x1')][_0x13fb('0xb')](),this[_0x13fb('0x1')][_0x13fb('0x0')]=_0x417a1d,this[_0x13fb('0x1')][_0x13fb('0x5')]('cancel',()=>{this[_0x13fb('0x2')]();}),this[_0x13fb('0x1')]['once'](_0x13fb('0xe'),()=>{this[_0x13fb('0x2')]();}),_0x38bd0e[_0x13fb('0xa')](this[_0x13fb('0x1')][_0x13fb('0x8')]),this[_0x13fb('0x10')](this[_0x13fb('0x1')]),this['element'][_0x13fb('0x7')](),this[_0x13fb('0x6')](_0x13fb('0x9'),!0x0),new Promise(_0x988b6f=>this[_0x13fb('0x1')]['on'](_0x13fb('0xe'),_0x988b6f));}[_0x13fb('0xf')](){this['isConfirm']&&this[_0x13fb('0x1')][_0x13fb('0x3')](_0x13fb('0xd'));}['_removeConfirm'](){this[_0x13fb('0x8')]&&this[_0x13fb('0x1')]&&this[_0x13fb('0x1')][_0x13fb('0x8')]&&(this[_0x13fb('0x8')][_0x13fb('0x7')](),this['confirmView'][_0x13fb('0x8')][_0x13fb('0x11')](),this[_0x13fb('0xc')](this[_0x13fb('0x1')]),this[_0x13fb('0x9')]=!0x1,this[_0x13fb('0x1')][_0x13fb('0x4')](),this['confirmView']=void 0x0);}};}
@@ -1,13 +1,13 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module comments/comments/ui/view/confirmview
7
- */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
10
- export default class ConfirmView extends View {
11
- message: string;
12
- constructor(locale: Locale);
13
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module comments/comments/ui/view/confirmview
7
+ */
8
+ import { View } from 'ckeditor5/src/ui';
9
+ import type { Locale } from 'ckeditor5/src/utils';
10
+ export default class ConfirmView extends View {
11
+ message: string;
12
+ constructor(locale: Locale);
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x266b=['ck-thread__remove-confirm','extendTemplate','cancel','ck-thread__remove-confirm-inner','icon','execute','Yes','fire','bindTemplate','Are\x20you\x20sure?','submit','submitView','cancelView','message','label','set','_createButtonView','div'];(function(_0x1b1106,_0x266beb){const _0x2b8522=function(_0x2346ab){while(--_0x2346ab){_0x1b1106['push'](_0x1b1106['shift']());}};_0x2b8522(++_0x266beb);}(_0x266b,0xd5));const _0x2b85=function(_0x1b1106,_0x266beb){_0x1b1106=_0x1b1106-0x0;let _0x2b8522=_0x266b[_0x1b1106];return _0x2b8522;};import{View as _0x27f2f6,ButtonView as _0x59d7c5}from'ckeditor5/src/ui';import{icons as _0x4966be}from'ckeditor5/src/core';import{getTranslation as _0x557f14}from'./common-translations';export default class h extends _0x27f2f6{constructor(_0x2d02cd){super(_0x2d02cd);const _0x415686=this[_0x2b85('0xb')];this[_0x2b85('0xe')]=this['_createButtonView'](_0x2d02cd,_0x557f14(_0x2d02cd,_0x2b85('0x9')),_0x4966be['check'],_0x2b85('0xd')),this[_0x2b85('0xf')]=this[_0x2b85('0x1')](_0x2d02cd,_0x557f14(_0x2d02cd,'No'),_0x4966be[_0x2b85('0x5')],_0x2b85('0x5')),this[_0x2b85('0x0')](_0x2b85('0x10'),_0x557f14(_0x2d02cd,_0x2b85('0xc'))),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2b85('0x3')]},'children':[{'tag':_0x2b85('0x2'),'attributes':{'class':_0x2b85('0x6')},'children':[{'tag':'p','children':[{'text':_0x415686['to'](_0x2b85('0x10'))}]},{'tag':_0x2b85('0x2'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x2b85('0xe')],this['cancelView']]}]}]});}['_createButtonView'](_0x1484c4,_0x462e80,_0x2ad46a,_0x3c4410){const _0x5552a9=new _0x59d7c5(_0x1484c4);return _0x5552a9[_0x2b85('0x11')]=_0x462e80,_0x5552a9[_0x2b85('0x7')]=_0x2ad46a,_0x5552a9[_0x2b85('0x4')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x3c4410}}),_0x5552a9['on'](_0x2b85('0x8'),()=>this[_0x2b85('0xa')](_0x3c4410)),_0x5552a9;}}
23
+ const _0x4b48=['bindTemplate','set','submitView','check','submit','cancelView','Are\x20you\x20sure?','extendTemplate','div','cancel','message','setTemplate','ck-thread__remove-confirm-','_createButtonView','Yes'];(function(_0x5618a4,_0x4b48ee){const _0x15c149=function(_0x4fe446){while(--_0x4fe446){_0x5618a4['push'](_0x5618a4['shift']());}};_0x15c149(++_0x4b48ee);}(_0x4b48,0x1ce));const _0x15c1=function(_0x5618a4,_0x4b48ee){_0x5618a4=_0x5618a4-0x0;let _0x15c149=_0x4b48[_0x5618a4];return _0x15c149;};import{View as _0x36ae8b,ButtonView as _0x13b3ee}from'ckeditor5/src/ui';import{icons as _0x576402}from'ckeditor5/src/core';import{getTranslation as _0x576352}from'./common-translations';export default class h extends _0x36ae8b{constructor(_0x20d061){super(_0x20d061);const _0x5e4254=this[_0x15c1('0x3')];this[_0x15c1('0x5')]=this['_createButtonView'](_0x20d061,_0x576352(_0x20d061,_0x15c1('0x2')),_0x576402[_0x15c1('0x6')],_0x15c1('0x7')),this[_0x15c1('0x8')]=this[_0x15c1('0x1')](_0x20d061,_0x576352(_0x20d061,'No'),_0x576402[_0x15c1('0xc')],_0x15c1('0xc')),this[_0x15c1('0x4')](_0x15c1('0xd'),_0x576352(_0x20d061,_0x15c1('0x9'))),this[_0x15c1('0xe')]({'tag':_0x15c1('0xb'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x5e4254['to'](_0x15c1('0xd'))}]},{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0x15c1('0x8')]]}]}]});}['_createButtonView'](_0x139a3c,_0x159d5c,_0x1f3f0e,_0xf3cc76){const _0x4f1bc3=new _0x13b3ee(_0x139a3c);return _0x4f1bc3['label']=_0x159d5c,_0x4f1bc3['icon']=_0x1f3f0e,_0x4f1bc3[_0x15c1('0xa')]({'attributes':{'class':_0x15c1('0x0')+_0xf3cc76}}),_0x4f1bc3['on']('execute',()=>this['fire'](_0xf3cc76)),_0x4f1bc3;}}
@@ -1,29 +1,29 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { LocaleConfig } from '../config';
6
- /**
7
- * Returns a function that formats the date to the set format.
8
- *
9
- * The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
10
- *
11
- * ```ts
12
- * import format from 'date-fns/format';
13
- *
14
- * ClassicEditor
15
- * .create( document.querySelector( '#editor' ), {
16
- * toolbar: {
17
- * items: [ 'bold', 'italic', '|', 'comment' ]
18
- * },
19
- * sidebar: {
20
- * container: document.querySelector( '#sidebar' )
21
- * },
22
- * locale: {
23
- * dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
24
- * }
25
- * } )
26
- * .catch( error => console.error( error ) );
27
- * ```
28
- */
29
- export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { LocaleConfig } from '../config';
6
+ /**
7
+ * Returns a function that formats the date to the set format.
8
+ *
9
+ * The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
10
+ *
11
+ * ```ts
12
+ * import format from 'date-fns/format';
13
+ *
14
+ * ClassicEditor
15
+ * .create( document.querySelector( '#editor' ), {
16
+ * toolbar: {
17
+ * items: [ 'bold', 'italic', '|', 'comment' ]
18
+ * },
19
+ * sidebar: {
20
+ * container: document.querySelector( '#sidebar' )
21
+ * },
22
+ * locale: {
23
+ * dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
24
+ * }
25
+ * } )
26
+ * .catch( error => console.error( error ) );
27
+ * ```
28
+ */
29
+ export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57cb=['MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','function','string','dateTimeFormat','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x2c0902,_0x57cbb9){const _0x552e1e=function(_0xcbc1b8){while(--_0xcbc1b8){_0x2c0902['push'](_0x2c0902['shift']());}};_0x552e1e(++_0x57cbb9);}(_0x57cb,0x11d));const _0x552e=function(_0x2c0902,_0x57cbb9){_0x2c0902=_0x2c0902-0x0;let _0x552e1e=_0x57cb[_0x2c0902];return _0x552e1e;};import _0x348c8a from'date-fns/format';import _0xd90a19 from'date-fns/parseISO';import _0x2efe87 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x33a62e}from'ckeditor5/src/utils';export default function E(_0x4ead48={}){if(void 0x0!==_0x4ead48[_0x552e('0x6')]&&_0x552e('0x4')!=typeof _0x4ead48[_0x552e('0x6')])throw new _0x33a62e('invalid-date-time-format');return _0x5832e0=>{const _0x5001e9=_0x552e('0x5')==typeof _0x5832e0?_0xd90a19(_0x5832e0):_0x5832e0,_0x14bd81=new Date(),_0x2c049e=_0x2efe87(_0x14bd81,_0x5001e9);return _0x4ead48[_0x552e('0x6')]?_0x4ead48[_0x552e('0x6')](_0x5001e9):_0x348c8a(_0x5001e9,0x0===_0x2c049e?_0x552e('0x0'):0x1===_0x2c049e?_0x552e('0x3'):_0x2c049e<0x7?_0x552e('0x1'):_0x552e('0x2'));};}
23
+ const _0x3ec3=['dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','string','\x27Yesterday\x27\x20hh:mma','function'];(function(_0x2cf09d,_0x3ec31f){const _0x1a99a6=function(_0x3687b5){while(--_0x3687b5){_0x2cf09d['push'](_0x2cf09d['shift']());}};_0x1a99a6(++_0x3ec31f);}(_0x3ec3,0x120));const _0x1a99=function(_0x2cf09d,_0x3ec31f){_0x2cf09d=_0x2cf09d-0x0;let _0x1a99a6=_0x3ec3[_0x2cf09d];return _0x1a99a6;};import _0x3a626b from'date-fns/format';import _0x51f831 from'date-fns/parseISO';import _0x444378 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xc9dbfd}from'ckeditor5/src/utils';export default function E(_0x4d7b15={}){if(void 0x0!==_0x4d7b15[_0x1a99('0x0')]&&_0x1a99('0x7')!=typeof _0x4d7b15['dateTimeFormat'])throw new _0xc9dbfd(_0x1a99('0x4'));return _0x20adeb=>{const _0x210786=_0x1a99('0x5')==typeof _0x20adeb?_0x51f831(_0x20adeb):_0x20adeb,_0x25a4fe=new Date(),_0x308c75=_0x444378(_0x25a4fe,_0x210786);return _0x4d7b15[_0x1a99('0x0')]?_0x4d7b15[_0x1a99('0x0')](_0x210786):_0x3a626b(_0x210786,0x0===_0x308c75?_0x1a99('0x3'):0x1===_0x308c75?_0x1a99('0x6'):_0x308c75<0x7?_0x1a99('0x1'):_0x1a99('0x2'));};}
@@ -1,22 +1,22 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { EditingController, Marker } from 'ckeditor5/src/engine';
6
- /**
7
- * Returns a first DOM element mapped with the marker.
8
- *
9
- * @param editing Editing controller instance.
10
- * @param marker Marker instance.
11
- */
12
- export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
13
- /**
14
- * Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
15
- * Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
16
- *
17
- * Note, that markers should not intersect.
18
- *
19
- * @param editing Editing controller instance.
20
- * @param markers Markers instances.
21
- */
22
- export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { EditingController, Marker } from 'ckeditor5/src/engine';
6
+ /**
7
+ * Returns a first DOM element mapped with the marker.
8
+ *
9
+ * @param editing Editing controller instance.
10
+ * @param marker Marker instance.
11
+ */
12
+ export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
13
+ /**
14
+ * Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
15
+ * Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
16
+ *
17
+ * Note, that markers should not intersect.
18
+ *
19
+ * @param editing Editing controller instance.
20
+ * @param markers Markers instances.
21
+ */
22
+ export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0c=['view','values','name','push','markerNameToElements','domElement','mapViewToDom','length','mapper','map'];(function(_0x561b4d,_0x2d0c5e){const _0x443363=function(_0x20b47a){while(--_0x20b47a){_0x561b4d['push'](_0x561b4d['shift']());}};_0x443363(++_0x2d0c5e);}(_0x2d0c,0x1ce));const _0x4433=function(_0x561b4d,_0x2d0c5e){_0x561b4d=_0x561b4d-0x0;let _0x443363=_0x2d0c[_0x561b4d];return _0x443363;};import{first as _0x273264}from'ckeditor5/src/utils';export default function k(_0x57e8fb,_0x1a3bc7){const _0x5a1069=_0x57e8fb[_0x4433('0x6')][_0x4433('0x2')](_0x1a3bc7['name']);if(!_0x5a1069)return null;const _0x3d6e57=_0x273264(_0x5a1069[_0x4433('0x9')]());return _0x57e8fb[_0x4433('0x8')]['domConverter'][_0x4433('0x4')](_0x3d6e57)||null;}export function getAllMarkersDomElementsSorted(_0x361b63,_0x288e20){if(0x0===_0x288e20['length'])return null;const _0x4fbcf1=[],_0x2a89c1=_0x361b63[_0x4433('0x8')]['domConverter'];for(const _0x6c07dd of _0x288e20){const _0x5d280b=_0x361b63[_0x4433('0x6')]['markerNameToElements'](_0x6c07dd[_0x4433('0x0')]);if(!_0x5d280b)continue;const _0x1ffa78=Array['from'](_0x5d280b)[_0x4433('0x7')](_0x3a7a6e=>_0x2a89c1['mapViewToDom'](_0x3a7a6e))['filter'](_0xab2d83=>!!_0xab2d83);_0x4fbcf1['push'](..._0x1ffa78);}if(0x0===_0x4fbcf1[_0x4433('0x5')])return null;const _0x37f1ee=[];for(const _0x3dc6c7 of _0x4fbcf1){const _0x131f73=_0x3dc6c7['getClientRects']()['item'](0x0);_0x131f73&&_0x37f1ee[_0x4433('0x1')]({'x':_0x131f73['x'],'y':_0x131f73['y'],'domElement':_0x3dc6c7});}return 0x0===_0x37f1ee[_0x4433('0x5')]?null:(_0x37f1ee['sort']((_0x496a58,_0x4d7619)=>_0x496a58['y']-_0x4d7619['y']||_0x496a58['x']-_0x4d7619['x']),_0x37f1ee[_0x4433('0x7')](_0x18d26c=>_0x18d26c[_0x4433('0x3')]));}
23
+ const _0x5ac7=['domConverter','getClientRects','mapper','name','filter','mapViewToDom','length','sort','values','map','view'];(function(_0x1679d6,_0x5ac75e){const _0x14cd3f=function(_0x12c431){while(--_0x12c431){_0x1679d6['push'](_0x1679d6['shift']());}};_0x14cd3f(++_0x5ac75e);}(_0x5ac7,0xc2));const _0x14cd=function(_0x1679d6,_0x5ac75e){_0x1679d6=_0x1679d6-0x0;let _0x14cd3f=_0x5ac7[_0x1679d6];return _0x14cd3f;};import{first as _0x1f39c6}from'ckeditor5/src/utils';export default function k(_0x47b163,_0x567bbd){const _0x585922=_0x47b163[_0x14cd('0x6')]['markerNameToElements'](_0x567bbd['name']);if(!_0x585922)return null;const _0x2fe562=_0x1f39c6(_0x585922[_0x14cd('0x1')]());return _0x47b163[_0x14cd('0x3')][_0x14cd('0x4')][_0x14cd('0x9')](_0x2fe562)||null;}export function getAllMarkersDomElementsSorted(_0xfd18e3,_0x50b806){if(0x0===_0x50b806[_0x14cd('0xa')])return null;const _0x488b96=[],_0x1e4114=_0xfd18e3[_0x14cd('0x3')]['domConverter'];for(const _0x2e0574 of _0x50b806){const _0x5a53c4=_0xfd18e3[_0x14cd('0x6')]['markerNameToElements'](_0x2e0574[_0x14cd('0x7')]);if(!_0x5a53c4)continue;const _0x490a3e=Array['from'](_0x5a53c4)[_0x14cd('0x2')](_0x821f3f=>_0x1e4114['mapViewToDom'](_0x821f3f))[_0x14cd('0x8')](_0xc3af0f=>!!_0xc3af0f);_0x488b96['push'](..._0x490a3e);}if(0x0===_0x488b96[_0x14cd('0xa')])return null;const _0xebdf09=[];for(const _0x467efa of _0x488b96){const _0x1d5dce=_0x467efa[_0x14cd('0x5')]()['item'](0x0);_0x1d5dce&&_0xebdf09['push']({'x':_0x1d5dce['x'],'y':_0x1d5dce['y'],'domElement':_0x467efa});}return 0x0===_0xebdf09['length']?null:(_0xebdf09[_0x14cd('0x0')]((_0x2822a8,_0x34a856)=>_0x2822a8['y']-_0x34a856['y']||_0x2822a8['x']-_0x34a856['x']),_0xebdf09['map'](_0x152e74=>_0x152e74['domElement']));}
@@ -1,8 +1,8 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/utils/hashobject
7
- */
8
- export default function hashObject(obj: Record<string, unknown>): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/utils/hashobject
7
+ */
8
+ export default function hashObject(obj: Record<string, unknown>): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x89a8=['sign','toString','object','string','number','charCodeAt','sort','keys','boolean'];(function(_0x330128,_0x89a8b0){const _0x5e6d23=function(_0x3c848a){while(--_0x3c848a){_0x330128['push'](_0x330128['shift']());}};_0x5e6d23(++_0x89a8b0);}(_0x89a8,0x13a));const _0x5e6d=function(_0x330128,_0x89a8b0){_0x330128=_0x330128-0x0;let _0x5e6d23=_0x89a8[_0x330128];return _0x5e6d23;};export default function b(_0x2a4601){let _0x23ded6=0x0,_0x91676f=0x0;for(const _0x5883ea of g(_0x2a4601))_0x23ded6=(_0x23ded6<<0x5)-_0x23ded6+_0x5883ea,_0x23ded6&=_0x23ded6,[_0x23ded6,_0x91676f]=[_0x91676f,_0x23ded6];return O(_0x23ded6)+O(_0x91676f);}function*j(_0x1c765c){_0x1c765c?_0x5e6d('0x0')==typeof _0x1c765c?yield 0x1:Array['isArray'](_0x1c765c)?yield*function*(_0x3a3aa4){for(const _0x455145 of _0x3a3aa4)yield*j(_0x455145);}(_0x1c765c):_0x5e6d('0x3')==typeof _0x1c765c?yield*g(_0x1c765c):_0x5e6d('0x4')==typeof _0x1c765c?yield*A(_0x1c765c):_0x5e6d('0x5')==typeof _0x1c765c&&(yield _0x1c765c):yield 0x0;}function*g(_0x11662a){if(yield M('{'),_0x11662a){const _0x52d43e=Object[_0x5e6d('0x8')](_0x11662a)[_0x5e6d('0x7')]();for(const _0x2034af of _0x52d43e){yield*A(_0x2034af),yield M(':');const _0x501b59=_0x11662a[_0x2034af];yield*j(_0x501b59);}}yield M('}');}function*A(_0x1d1e35){yield M('\x22');for(const _0x5da9a6 of _0x1d1e35)yield M(_0x5da9a6);yield M('\x22');}function M(_0x196420){return _0x196420[_0x5e6d('0x6')](0x0);}function O(_0x141024){return(_0x141024*=Math[_0x5e6d('0x1')](_0x141024))[_0x5e6d('0x2')](0x24);}
23
+ const _0x3521=['toString','keys','sort','boolean','charCodeAt','isArray','number'];(function(_0x3fa1e4,_0x3521b3){const _0x5c6e40=function(_0xf015a6){while(--_0xf015a6){_0x3fa1e4['push'](_0x3fa1e4['shift']());}};_0x5c6e40(++_0x3521b3);}(_0x3521,0x16f));const _0x5c6e=function(_0x3fa1e4,_0x3521b3){_0x3fa1e4=_0x3fa1e4-0x0;let _0x5c6e40=_0x3521[_0x3fa1e4];return _0x5c6e40;};export default function b(_0x466822){let _0x47b119=0x0,_0x5bce35=0x0;for(const _0x24f254 of g(_0x466822))_0x47b119=(_0x47b119<<0x5)-_0x47b119+_0x24f254,_0x47b119&=_0x47b119,[_0x47b119,_0x5bce35]=[_0x5bce35,_0x47b119];return O(_0x47b119)+O(_0x5bce35);}function*j(_0x277ebb){_0x277ebb?_0x5c6e('0x0')==typeof _0x277ebb?yield 0x1:Array[_0x5c6e('0x2')](_0x277ebb)?yield*function*(_0x377a1a){for(const _0x588983 of _0x377a1a)yield*j(_0x588983);}(_0x277ebb):'object'==typeof _0x277ebb?yield*g(_0x277ebb):'string'==typeof _0x277ebb?yield*A(_0x277ebb):_0x5c6e('0x3')==typeof _0x277ebb&&(yield _0x277ebb):yield 0x0;}function*g(_0x333668){if(yield M('{'),_0x333668){const _0x161dd1=Object[_0x5c6e('0x5')](_0x333668)[_0x5c6e('0x6')]();for(const _0x4e181c of _0x161dd1){yield*A(_0x4e181c),yield M(':');const _0x4952ca=_0x333668[_0x4e181c];yield*j(_0x4952ca);}}yield M('}');}function*A(_0x1939f4){yield M('\x22');for(const _0x101442 of _0x1939f4)yield M(_0x101442);yield M('\x22');}function M(_0x569a28){return _0x569a28[_0x5c6e('0x1')](0x0);}function O(_0x4a3cf5){return(_0x4a3cf5*=Math['sign'](_0x4a3cf5))[_0x5c6e('0x4')](0x24);}
@@ -1,15 +1,15 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module collaboration-core/utils/common-translations
7
- */
8
- import type { Editor, EditorConfig } from 'ckeditor5/src/core';
9
- /**
10
- * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
- *
12
- * @param editor The instance of the source editor.
13
- * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
14
- */
15
- export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/common-translations
7
+ */
8
+ import type { Editor, EditorConfig } from 'ckeditor5/src/core';
9
+ /**
10
+ * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
+ *
12
+ * @param editor The instance of the source editor.
13
+ * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
14
+ */
15
+ export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53da=['requires','set','length','concat','DocumentOutline','rootsAttributes','string','includes','plugins','extraPlugins','map','RevisionTracker','config','filter','_context','find','initialData','toolbar','has','removePlugins','name','names','pluginName','builtinPlugins','constructor','get'];(function(_0x327841,_0x53da8f){const _0xcf91a1=function(_0x5aba51){while(--_0x5aba51){_0x327841['push'](_0x327841['shift']());}};_0xcf91a1(++_0x53da8f);}(_0x53da,0x138));const _0xcf91=function(_0x327841,_0x53da8f){_0x327841=_0x327841-0x0;let _0xcf91a1=_0x53da[_0x327841];return _0xcf91a1;};const w=[_0xcf91('0x10'),'context',_0xcf91('0x11'),_0xcf91('0x5')],W=['WebSocketGateway',_0xcf91('0xb'),'Autosave','WordCount',_0xcf91('0x4'),'WProofreader'];function v(_0x572ae6,_0x307586,_0x128d08,_0x3d2aa3=[]){const _0x31b0c8=_0xcf91('0x6')==typeof _0x572ae6?_0x128d08[_0xcf91('0x19')](_0x572ae6)['constructor']:_0x572ae6,_0x10a1c6=_0x31b0c8[_0xcf91('0x16')]||_0x31b0c8[_0xcf91('0x14')];if(_0x307586[_0xcf91('0x12')](_0x10a1c6))return _0x307586[_0xcf91('0x19')](_0x10a1c6);if(_0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),_0x10a1c6&&W[_0xcf91('0x3')](_0x3d2aa3)[_0xcf91('0x7')](_0x10a1c6))return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x1),!0x1;if(!_0x31b0c8[_0xcf91('0x0')])return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),!0x0;const _0x15f424=_0x31b0c8[_0xcf91('0x0')]['every'](_0x2b9b58=>v(_0x2b9b58,_0x307586,_0x128d08,_0x3d2aa3));return _0x307586[_0xcf91('0x1')](_0x10a1c6,_0x15f424),_0x15f424;}export default function D(_0x88f503,_0x5653d4){const _0x5d5251={};for(const _0x572886 of _0x88f503[_0xcf91('0xc')][_0xcf91('0x15')]())w[_0xcf91('0x7')](_0x572886)||(_0x5d5251[_0x572886]=_0x88f503[_0xcf91('0xc')]['get'](_0x572886));const _0x1d0f7e=_0x5d5251['plugins']||[],_0x2a809d=_0x88f503[_0xcf91('0x18')][_0xcf91('0x17')]||[],_0x66607e=_0x1d0f7e[_0xcf91('0x2')]?_0x1d0f7e:_0x2a809d,_0x54f84f=_0x5d5251[_0xcf91('0x9')]||[];delete _0x5d5251[_0xcf91('0x9')];const _0x27f208=_0x5d5251[_0xcf91('0x13')]||[];delete _0x5d5251['removePlugins'];const _0x3774b9=_0x88f503[_0xcf91('0xe')][_0xcf91('0xc')][_0xcf91('0x19')](_0xcf91('0x8'))||[],_0x3a1ff8=_0x66607e[_0xcf91('0x3')](_0x54f84f)['concat'](_0x3774b9)[_0xcf91('0xa')](_0x15fbe4=>_0xcf91('0x6')==typeof _0x15fbe4?_0x2a809d[_0xcf91('0xf')](_0x28f19b=>_0x28f19b['pluginName']==_0x15fbe4):_0x15fbe4)[_0xcf91('0xd')](_0x47b926=>!_0x27f208['includes'](_0x47b926)),_0x266887=Array['from'](new Set(_0x3a1ff8)),_0x22c76e=new Map();return _0x5d5251[_0xcf91('0x8')]=_0x266887['filter'](_0x5356e0=>v(_0x5356e0,_0x22c76e,_0x88f503[_0xcf91('0x8')],_0x5653d4)),_0x5d5251;}
23
+ const _0x47d5=['set','WebSocketGateway','WordCount','DocumentOutline','get','Autosave','pluginName','plugins','has','includes','length','rootsAttributes','every','requires','extraPlugins','_context','names','map','from','context','constructor','removePlugins','config','concat','WProofreader'];(function(_0x2dc08a,_0x47d537){const _0x548b6d=function(_0x4ccfde){while(--_0x4ccfde){_0x2dc08a['push'](_0x2dc08a['shift']());}};_0x548b6d(++_0x47d537);}(_0x47d5,0x124));const _0x548b=function(_0x2dc08a,_0x47d537){_0x2dc08a=_0x2dc08a-0x0;let _0x548b6d=_0x47d5[_0x2dc08a];return _0x548b6d;};const w=['initialData',_0x548b('0x2'),'toolbar',_0x548b('0x13')],W=[_0x548b('0x9'),'RevisionTracker',_0x548b('0xd'),_0x548b('0xa'),_0x548b('0xb'),_0x548b('0x7')];function v(_0x2eb786,_0x85ba84,_0x30f392,_0x2c0205=[]){const _0x32e8ca='string'==typeof _0x2eb786?_0x30f392[_0x548b('0xc')](_0x2eb786)[_0x548b('0x3')]:_0x2eb786,_0x4ff296=_0x32e8ca[_0x548b('0xe')]||_0x32e8ca['name'];if(_0x85ba84[_0x548b('0x10')](_0x4ff296))return _0x85ba84['get'](_0x4ff296);if(_0x85ba84['set'](_0x4ff296,!0x0),_0x4ff296&&W[_0x548b('0x6')](_0x2c0205)['includes'](_0x4ff296))return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x1),!0x1;if(!_0x32e8ca[_0x548b('0x15')])return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x0),!0x0;const _0x4cb3e7=_0x32e8ca[_0x548b('0x15')][_0x548b('0x14')](_0x173f44=>v(_0x173f44,_0x85ba84,_0x30f392,_0x2c0205));return _0x85ba84['set'](_0x4ff296,_0x4cb3e7),_0x4cb3e7;}export default function D(_0x3237c7,_0x3d494e){const _0x2350f4={};for(const _0x30700d of _0x3237c7['config'][_0x548b('0x18')]())w['includes'](_0x30700d)||(_0x2350f4[_0x30700d]=_0x3237c7[_0x548b('0x5')][_0x548b('0xc')](_0x30700d));const _0x21c831=_0x2350f4[_0x548b('0xf')]||[],_0x2f3f99=_0x3237c7[_0x548b('0x3')]['builtinPlugins']||[],_0x643721=_0x21c831[_0x548b('0x12')]?_0x21c831:_0x2f3f99,_0x3d45f7=_0x2350f4[_0x548b('0x16')]||[];delete _0x2350f4[_0x548b('0x16')];const _0x32bdb1=_0x2350f4[_0x548b('0x4')]||[];delete _0x2350f4['removePlugins'];const _0x112481=_0x3237c7[_0x548b('0x17')][_0x548b('0x5')][_0x548b('0xc')](_0x548b('0xf'))||[],_0x623686=_0x643721[_0x548b('0x6')](_0x3d45f7)['concat'](_0x112481)[_0x548b('0x0')](_0x3e620b=>'string'==typeof _0x3e620b?_0x2f3f99['find'](_0x74d172=>_0x74d172[_0x548b('0xe')]==_0x3e620b):_0x3e620b)['filter'](_0x4c55a0=>!_0x32bdb1['includes'](_0x4c55a0)&&!_0x32bdb1[_0x548b('0x11')](_0x4c55a0[_0x548b('0xe')])),_0x5a97a4=Array[_0x548b('0x1')](new Set(_0x623686)),_0x2c76a4=new Map();return _0x2350f4[_0x548b('0xf')]=_0x5a97a4['filter'](_0xd055c=>v(_0xd055c,_0x2c76a4,_0x3237c7['plugins'],_0x3d494e)),_0x2350f4;}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/surroundingmarkersdetector
7
+ */
8
+ import type { Marker, Model } from 'ckeditor5/src/engine';
9
+ /**
10
+ * A utility that responds to range changes in the document selection and detects which markers' ranges
11
+ * touch or contain (surround) the document selection's focus.
12
+ */
13
+ export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
14
+ left: Array<Marker>;
15
+ entered: Array<Marker>;
16
+ }) => void): void;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x25f2=['start','containsPosition','focus','markers','change:range','push','length','selection','includes','getRange','isEqual'];(function(_0x24cf0b,_0x25f28b){const _0x34abf3=function(_0x4ac443){while(--_0x4ac443){_0x24cf0b['push'](_0x24cf0b['shift']());}};_0x34abf3(++_0x25f28b);}(_0x25f2,0xfe));const _0x34ab=function(_0x24cf0b,_0x25f28b){_0x24cf0b=_0x24cf0b-0x0;let _0x34abf3=_0x25f2[_0x24cf0b];return _0x34abf3;};export default function q(_0x23eac0,_0x54905c){const _0x4cac47=[];_0x23eac0['document'][_0x34ab('0x6')]['on'](_0x34ab('0x3'),()=>{const _0x387b13=function(_0x42a0d4,_0x259522){const _0x289040=[];for(const _0x185c22 of _0x42a0d4[_0x34ab('0x2')]){const _0x4b50e4=_0x185c22[_0x34ab('0x8')]();(_0x4b50e4[_0x34ab('0x0')](_0x259522)||_0x4b50e4[_0x34ab('0xa')][_0x34ab('0x9')](_0x259522)||_0x4b50e4['end'][_0x34ab('0x9')](_0x259522))&&_0x289040['push'](_0x185c22);}return _0x289040;}(_0x23eac0,_0x23eac0['document'][_0x34ab('0x6')][_0x34ab('0x1')]),_0x22751d=[],_0x1fe1dd=[],_0x5083d2=[];for(const _0x2ff7d8 of _0x4cac47)_0x387b13['includes'](_0x2ff7d8)||_0x22751d[_0x34ab('0x4')](_0x2ff7d8);for(const _0x21bcb0 of _0x387b13)_0x4cac47[_0x34ab('0x7')](_0x21bcb0)||_0x1fe1dd['push'](_0x21bcb0),_0x5083d2[_0x34ab('0x4')](_0x21bcb0);(_0x22751d[_0x34ab('0x5')]||_0x1fe1dd['length'])&&_0x54905c({'left':_0x22751d,'entered':_0x1fe1dd}),_0x4cac47[_0x34ab('0x5')]=0x0,_0x4cac47[_0x34ab('0x4')](..._0x5083d2);});}
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * Trims text inside a html tags and takes care of all closing tags.
7
- *
8
- * @param html
9
- * @param options
10
- * @param limit Limit of the characters.
11
- * @param suffix
12
- */
13
- export default function trimHtml(html: string, { limit, suffix }: {
14
- limit: number;
15
- suffix?: string;
16
- }): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * Trims text inside a html tags and takes care of all closing tags.
7
+ *
8
+ * @param html
9
+ * @param options
10
+ * @param limit Limit of the characters.
11
+ * @param suffix
12
+ */
13
+ export default function trimHtml(html: string, { limit, suffix }: {
14
+ limit: number;
15
+ suffix?: string;
16
+ }): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11fc=['replace','split','indexOf','startsWith','length','slice','push','match','...','substring','join','pop'];(function(_0x209efe,_0x11fc52){const _0xd5da3=function(_0x58b1da){while(--_0x58b1da){_0x209efe['push'](_0x209efe['shift']());}};_0xd5da3(++_0x11fc52);}(_0x11fc,0xed));const _0xd5da=function(_0x209efe,_0x11fc52){_0x209efe=_0x209efe-0x0;let _0xd5da3=_0x11fc[_0x209efe];return _0xd5da3;};export default function z(_0x1cf12c,{limit:_0x2a138c,suffix:_0x10f8b8=_0xd5da('0xb')}){const _0x5b092f=[];let _0x169d00=0x0;const _0x4aa9b6=_0x1cf12c['replace'](/</g,'\x0a<')[_0xd5da('0x3')](/>/g,'>\x0a')[_0xd5da('0x3')](/^\n/g,'')[_0xd5da('0x3')](/\n$/g,'')[_0xd5da('0x4')]('\x0a');for(let _0x4c9e64=0x0;_0x4c9e64<_0x4aa9b6[_0xd5da('0x7')];_0x4c9e64++){let _0x1c5019=_0x4aa9b6[_0x4c9e64];const _0x4ea49a=Z(_0x1c5019);if(_0x1c5019['startsWith']('<')){if(_0x169d00>=_0x2a138c){const _0x3b0440=_0x1c5019[_0xd5da('0xa')](/[a-zA-Z]+/);if(!_0x3b0440){_0x4aa9b6[_0x4c9e64]='';continue;}const _0x202126=_0x3b0440[0x0];_0x1c5019[_0xd5da('0x6')]('</')?(_0x5b092f['length']&&(_0x1c5019=''),_0x5b092f[_0xd5da('0x2')]()):(_0x5b092f[_0xd5da('0x9')](_0x202126),_0x1c5019='');}}else{if(_0x169d00>=_0x2a138c)_0x1c5019='';else{if(_0x169d00+_0x4ea49a['length']>=_0x2a138c){let _0x1c5514=_0x2a138c-_0x169d00;if('\x20'===_0x4ea49a[_0x1c5514-0x1])_0x1c5514--;else{const _0xb0f3be=_0x4ea49a['slice'](_0x1c5514)[_0xd5da('0x5')]('\x20');-0x1!==_0xb0f3be?_0x1c5514+=_0xb0f3be:_0x1c5514=_0x1c5019[_0xd5da('0x7')];}_0x1c5019=_0x4ea49a[_0xd5da('0x8')](0x0,_0x1c5514)[_0xd5da('0x1')]('')+_0x10f8b8,_0x169d00=_0x2a138c;}else _0x169d00+=_0x4ea49a['length'];}}_0x4aa9b6[_0x4c9e64]=_0x1c5019;}return _0x4aa9b6[_0xd5da('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x32aee5){const _0x488b4a=[];for(let _0x340840=0x0;_0x340840<_0x32aee5[_0xd5da('0x7')];_0x340840++){const _0x1946b2=_0x32aee5[_0xd5da('0x0')](_0x340840)['match'](/^&[a-z0-9#]+;/);if(_0x1946b2){const _0x331605=_0x1946b2[0x0];_0x488b4a[_0xd5da('0x9')](_0x331605),_0x340840+=_0x331605[_0xd5da('0x7')]-0x1;}else _0x488b4a[_0xd5da('0x9')](_0x32aee5[_0x340840]);}return _0x488b4a;}
23
+ const _0x264c=['pop','length','slice','split','...','indexOf','push','match','join','startsWith','replace','substring'];(function(_0x325abf,_0x264c9e){const _0x4508b9=function(_0x87217e){while(--_0x87217e){_0x325abf['push'](_0x325abf['shift']());}};_0x4508b9(++_0x264c9e);}(_0x264c,0x137));const _0x4508=function(_0x325abf,_0x264c9e){_0x325abf=_0x325abf-0x0;let _0x4508b9=_0x264c[_0x325abf];return _0x4508b9;};export default function z(_0x28dab1,{limit:_0x3b5990,suffix:_0x5e0fce=_0x4508('0x5')}){const _0x320bc2=[];let _0x416e34=0x0;const _0x26cb61=_0x28dab1[_0x4508('0xb')](/</g,'\x0a<')[_0x4508('0xb')](/>/g,'>\x0a')[_0x4508('0xb')](/^\n/g,'')['replace'](/\n$/g,'')[_0x4508('0x4')]('\x0a');for(let _0x39aac7=0x0;_0x39aac7<_0x26cb61['length'];_0x39aac7++){let _0x499751=_0x26cb61[_0x39aac7];const _0x3462d5=Z(_0x499751);if(_0x499751[_0x4508('0xa')]('<')){if(_0x416e34>=_0x3b5990){const _0x345889=_0x499751[_0x4508('0x8')](/[a-zA-Z]+/);if(!_0x345889){_0x26cb61[_0x39aac7]='';continue;}const _0x2097d3=_0x345889[0x0];_0x499751['startsWith']('</')?(_0x320bc2[_0x4508('0x2')]&&(_0x499751=''),_0x320bc2[_0x4508('0x1')]()):(_0x320bc2[_0x4508('0x7')](_0x2097d3),_0x499751='');}}else{if(_0x416e34>=_0x3b5990)_0x499751='';else{if(_0x416e34+_0x3462d5[_0x4508('0x2')]>=_0x3b5990){let _0x5ce393=_0x3b5990-_0x416e34;if('\x20'===_0x3462d5[_0x5ce393-0x1])_0x5ce393--;else{const _0x5b4c69=_0x3462d5[_0x4508('0x3')](_0x5ce393)[_0x4508('0x6')]('\x20');-0x1!==_0x5b4c69?_0x5ce393+=_0x5b4c69:_0x5ce393=_0x499751['length'];}_0x499751=_0x3462d5[_0x4508('0x3')](0x0,_0x5ce393)[_0x4508('0x9')]('')+_0x5e0fce,_0x416e34=_0x3b5990;}else _0x416e34+=_0x3462d5[_0x4508('0x2')];}}_0x26cb61[_0x39aac7]=_0x499751;}return _0x26cb61['join']('\x0a')[_0x4508('0xb')](/\n/g,'');}function Z(_0x59cc3d){const _0x340d22=[];for(let _0x4655dd=0x0;_0x4655dd<_0x59cc3d[_0x4508('0x2')];_0x4655dd++){const _0x43f7e4=_0x59cc3d[_0x4508('0x0')](_0x4655dd)[_0x4508('0x8')](/^&[a-z0-9#]+;/);if(_0x43f7e4){const _0x3deb98=_0x43f7e4[0x0];_0x340d22[_0x4508('0x7')](_0x3deb98),_0x4655dd+=_0x3deb98[_0x4508('0x2')]-0x1;}else _0x340d22['push'](_0x59cc3d[_0x4655dd]);}return _0x340d22;}
@@ -19,8 +19,8 @@
19
19
  --ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
20
20
  --ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
21
21
 
22
- --ck-color-suggestion-marker-format-border: hsla(191, 90%, 40%, .4);
23
- --ck-color-suggestion-marker-format-border-active: hsla(191, 90%, 40%, .65);
22
+ --ck-color-suggestion-marker-format-border: hsla(191, 60%, 75%, 1);
23
+ --ck-color-suggestion-marker-format-border-active: hsla(191, 60%, 60%, 1);
24
24
 
25
25
  --ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
26
26
  --ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);