@ckeditor/ckeditor5-collaboration-core 41.3.0 → 41.4.0-alpha.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.
- package/dist/index-content.css +332 -0
- package/dist/index-editor.css +312 -0
- package/dist/index.css +935 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +42 -0
- package/dist/types/collaborationhistory.d.ts +25 -0
- package/dist/types/collaborationoperation.d.ts +32 -0
- package/dist/types/config.d.ts +106 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/permissions.d.ts +50 -0
- package/dist/types/suggestionstyles.d.ts +16 -0
- package/dist/types/users/view/userview.d.ts +20 -0
- package/dist/types/users.d.ts +169 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/confirmmixin.d.ts +24 -0
- package/dist/types/utils/confirmview.d.ts +17 -0
- package/dist/types/utils/getdatetimeformatter.d.ts +33 -0
- package/dist/types/utils/getmarkerdomelement.d.ts +26 -0
- package/dist/types/utils/hashobject.d.ts +12 -0
- package/dist/types/utils/sanitizeEditorConfig.d.ts +19 -0
- package/dist/types/utils/surroundingmarkersdetector.d.ts +20 -0
- package/dist/types/utils/trim-html.d.ts +20 -0
- package/package.json +3 -2
- package/src/index.d.ts +2 -2
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
import type { LocaleConfig } from '../config.js';
|
10
|
+
/**
|
11
|
+
* Returns a function that formats the date to the set format.
|
12
|
+
*
|
13
|
+
* The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
|
14
|
+
*
|
15
|
+
* ```ts
|
16
|
+
* import format from 'date-fns/format';
|
17
|
+
*
|
18
|
+
* ClassicEditor
|
19
|
+
* .create( document.querySelector( '#editor' ), {
|
20
|
+
* toolbar: {
|
21
|
+
* items: [ 'bold', 'italic', '|', 'comment' ]
|
22
|
+
* },
|
23
|
+
* sidebar: {
|
24
|
+
* container: document.querySelector( '#sidebar' )
|
25
|
+
* },
|
26
|
+
* locale: {
|
27
|
+
* dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
|
28
|
+
* }
|
29
|
+
* } )
|
30
|
+
* .catch( error => console.error( error ) );
|
31
|
+
* ```
|
32
|
+
*/
|
33
|
+
export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
|
10
|
+
/**
|
11
|
+
* Returns a first DOM element mapped with the marker.
|
12
|
+
*
|
13
|
+
* @param editing Editing controller instance.
|
14
|
+
* @param marker Marker instance.
|
15
|
+
*/
|
16
|
+
export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
|
17
|
+
/**
|
18
|
+
* Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
|
19
|
+
* Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
|
20
|
+
*
|
21
|
+
* Note, that markers should not intersect.
|
22
|
+
*
|
23
|
+
* @param editing Editing controller instance.
|
24
|
+
* @param markers Markers instances.
|
25
|
+
*/
|
26
|
+
export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module track-changes/utils/hashobject
|
11
|
+
*/
|
12
|
+
export default function hashObject(obj: Record<string, unknown>): string;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module collaboration-core/utils/common-translations
|
11
|
+
*/
|
12
|
+
import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
|
13
|
+
/**
|
14
|
+
* A function that prepares config for internal editors removing all unnecessary plugins like RTC.
|
15
|
+
*
|
16
|
+
* @param editor The instance of the source editor.
|
17
|
+
* @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
|
18
|
+
*/
|
19
|
+
export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* @module collaboration-core/utils/surroundingmarkersdetector
|
11
|
+
*/
|
12
|
+
import type { Marker, Model } from 'ckeditor5/src/engine.js';
|
13
|
+
/**
|
14
|
+
* A utility that responds to range changes in the document selection and detects which markers' ranges
|
15
|
+
* touch or contain (surround) the document selection's focus.
|
16
|
+
*/
|
17
|
+
export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
|
18
|
+
left: Array<Marker>;
|
19
|
+
entered: Array<Marker>;
|
20
|
+
}) => void): void;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2024, 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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Trims text inside a html tags and takes care of all closing tags.
|
11
|
+
*
|
12
|
+
* @param html
|
13
|
+
* @param options
|
14
|
+
* @param limit Limit of the characters.
|
15
|
+
* @param suffix
|
16
|
+
*/
|
17
|
+
export default function trimHtml(html: string, { limit, suffix }: {
|
18
|
+
limit: number;
|
19
|
+
suffix?: string;
|
20
|
+
}): string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
3
|
-
"version": "41.
|
3
|
+
"version": "41.4.0-alpha.0",
|
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/)",
|
@@ -32,10 +32,11 @@
|
|
32
32
|
"type": "module",
|
33
33
|
"main": "src/index.js",
|
34
34
|
"dependencies": {
|
35
|
-
"ckeditor5": "41.
|
35
|
+
"ckeditor5": "41.4.0-alpha.0",
|
36
36
|
"date-fns": "2.30.0"
|
37
37
|
},
|
38
38
|
"files": [
|
39
|
+
"dist",
|
39
40
|
"lang",
|
40
41
|
"src/**/*.js",
|
41
42
|
"src/**/*.d.ts",
|
package/src/index.d.ts
CHANGED
@@ -12,8 +12,8 @@ export { default as ConfirmMixin } from './utils/confirmmixin.js';
|
|
12
12
|
export { default as hashObject } from './utils/hashobject.js';
|
13
13
|
export { default as sanitizeEditorConfig } from './utils/sanitizeEditorConfig.js';
|
14
14
|
export { default as surroundingMarkersDetector } from './utils/surroundingmarkersdetector.js';
|
15
|
-
export { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
16
|
-
export { default as CollaborationHistory } from './collaborationhistory.js';
|
15
|
+
export type { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
16
|
+
export type { default as CollaborationHistory } from './collaborationhistory.js';
|
17
17
|
export type { LocaleConfig, RealTimeCollaborationConfig } from './config.js';
|
18
18
|
export * from './suggestionstyles.js';
|
19
19
|
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x2033(){var _0x2160a5=['3316134QCwDpm','765793nFUVXQ','683946nAmNjD','2486840AxqLqj','53552KlQVzW','99aVlKXa','13820HmbqRL','203hvroWQ','1360apMGGs','2788070urcQaj'];_0x2033=function(){return _0x2160a5;};return _0x2033();}(function(_0x4a1bd7,_0x480936){var _0x39e1d8=_0xbe60,_0x3dc151=_0x4a1bd7();while(!![]){try{var _0x3c1411=-parseInt(_0x39e1d8(0x10e))/0x1+-parseInt(_0x39e1d8(0x110))/0x2+-parseInt(_0x39e1d8(0x10f))/0x3+-parseInt(_0x39e1d8(0x113))/0x4*(parseInt(_0x39e1d8(0x115))/0x5)+parseInt(_0x39e1d8(0x10d))/0x6+parseInt(_0x39e1d8(0x114))/0x7*(parseInt(_0x39e1d8(0x111))/0x8)+parseInt(_0x39e1d8(0x112))/0x9*(parseInt(_0x39e1d8(0x116))/0xa);if(_0x3c1411===_0x480936)break;else _0x3dc151['push'](_0x3dc151['shift']());}catch(_0x15a98a){_0x3dc151['push'](_0x3dc151['shift']());}}}(_0x2033,0x9b741));export{default as Permissions}from'./permissions.js';export{default as Users}from'./users.js';function _0xbe60(_0x27c616,_0x3bdbbb){var _0x203370=_0x2033();return _0xbe60=function(_0xbe60e2,_0x42bdff){_0xbe60e2=_0xbe60e2-0x10d;var _0x5f01ad=_0x203370[_0xbe60e2];return _0x5f01ad;},_0xbe60(_0x27c616,_0x3bdbbb);}export{default as UserView}from'./users/view/userview.js';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter.js';export{default as getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement.js';export{default as trimHtml}from'./utils/trim-html.js';export{default as ConfirmMixin}from'./utils/confirmmixin.js';export{default as hashObject}from'./utils/hashobject.js';export{default as sanitizeEditorConfig}from'./utils/sanitizeEditorConfig.js';export{default as surroundingMarkersDetector}from'./utils/surroundingmarkersdetector.js';export*from'./suggestionstyles.js';import'./augmentation.js';
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x13ff(_0x32ad5a,_0x362d1f){const _0x515082=_0x5150();return _0x13ff=function(_0x13ff7b,_0x482216){_0x13ff7b=_0x13ff7b-0x14e;let _0x5d62ff=_0x515082[_0x13ff7b];return _0x5d62ff;},_0x13ff(_0x32ad5a,_0x362d1f);}const _0x5089cb=_0x13ff;(function(_0x4ff986,_0x15a0d8){const _0x30e4b8=_0x13ff,_0x505b34=_0x4ff986();while(!![]){try{const _0x10f384=-parseInt(_0x30e4b8(0x164))/0x1*(-parseInt(_0x30e4b8(0x16c))/0x2)+parseInt(_0x30e4b8(0x16a))/0x3*(parseInt(_0x30e4b8(0x154))/0x4)+parseInt(_0x30e4b8(0x14e))/0x5+parseInt(_0x30e4b8(0x151))/0x6+-parseInt(_0x30e4b8(0x170))/0x7+parseInt(_0x30e4b8(0x158))/0x8*(-parseInt(_0x30e4b8(0x15b))/0x9)+parseInt(_0x30e4b8(0x161))/0xa*(-parseInt(_0x30e4b8(0x14f))/0xb);if(_0x10f384===_0x15a0d8)break;else _0x505b34['push'](_0x505b34['shift']());}catch(_0x21e78b){_0x505b34['push'](_0x505b34['shift']());}}}(_0x5150,0xaabd2));import{ContextPlugin as _0x463f75,Editor as _0xaaa0e5}from'ckeditor5/src/core.js';import{CKEditorError as _0x404695}from'ckeditor5/src/utils.js';function _0x5150(){const _0x382a72=['comment:write','editors','no-permissions','document:write','413814mZphUO','noPermissions','2138jvkHqu','plugins','CommentsRepository','collaboration.channelId','1658027LNkmxV','pluginName','find','permissions-set-permissions-invalid-channel-id','clearForceDisabled','6028705mWrSgJ','3118874ZsyPnd','commands','4594998zGoEDS','addCommentThread','has','16awXKOc','Permissions','includes','comment:modify_all','8pJTmxr','enableReadOnlyMode','disableReadOnlyMode','5414166MILnJD','forceDisabled','get','setPermissions','context','isEnabled','40mDIjtD','CommentsOnly','config','139oJwBfb','comment:admin'];_0x5150=function(){return _0x382a72;};return _0x5150();}export default class n extends _0x463f75{static get[_0x5089cb(0x171)](){const _0x141e7d=_0x5089cb;return _0x141e7d(0x155);}[_0x5089cb(0x15e)](_0x4316e9,_0x2b0702){const _0x16b252=_0x5089cb;let _0x2a80f5;if(_0x2b0702||(_0x2b0702=this[_0x16b252(0x15f)][_0x16b252(0x163)][_0x16b252(0x15d)](_0x16b252(0x16f))),this[_0x16b252(0x15f)][_0x16b252(0x163)][_0x16b252(0x15d)](_0x16b252(0x16f))==_0x2b0702?_0x2a80f5=this[_0x16b252(0x15f)]:_0x16b252(0x167)in this[_0x16b252(0x15f)]&&this[_0x16b252(0x15f)][_0x16b252(0x167)]&&(_0x2a80f5=this[_0x16b252(0x15f)][_0x16b252(0x167)][_0x16b252(0x172)](_0xe4570f=>_0xe4570f[_0x16b252(0x163)][_0x16b252(0x15d)](_0x16b252(0x16f))==_0x2b0702)),!_0x2a80f5)throw new _0x404695(_0x16b252(0x173),null);const _0x4cdf7a=_0x2a80f5[_0x16b252(0x16d)],_0x2e62cb=_0x4cdf7a[_0x16b252(0x153)](_0x16b252(0x16e))?_0x4cdf7a[_0x16b252(0x15d)](_0x16b252(0x16e)):void 0x0,_0x5036e8=_0x4cdf7a[_0x16b252(0x153)](_0x16b252(0x162))&&_0x4cdf7a[_0x16b252(0x15d)](_0x16b252(0x162)),_0xcb5f56=_0x4316e9[_0x16b252(0x156)](_0x16b252(0x169)),_0x4749d5=_0x4316e9[_0x16b252(0x156)](_0x16b252(0x157)),_0x40ed97=_0x4316e9[_0x16b252(0x156)](_0x16b252(0x165)),_0x3c3513=_0x4316e9[_0x16b252(0x156)](_0x16b252(0x166)),_0xa9a494=_0x3c3513||_0x40ed97,_0x30d6a5=_0xa9a494||_0x4749d5,_0x130839=_0xcb5f56||_0xa9a494;(_0x5036e8&&(_0x5036e8[_0x16b252(0x160)]=!_0xcb5f56&&_0x30d6a5),_0x2a80f5 instanceof _0xaaa0e5)&&(!(_0xcb5f56||_0x30d6a5&&_0x2e62cb)?_0x2a80f5[_0x16b252(0x159)](_0x16b252(0x168)):_0x2a80f5[_0x16b252(0x15a)](_0x16b252(0x168)));if(_0x2e62cb){_0x2e62cb[_0x16b252(0x15e)]({'admin':_0x40ed97,'modifyAll':_0x4749d5,'write':_0x3c3513,'resolve':_0x130839},_0x2b0702);const _0x369c17=_0x2a80f5 instanceof _0xaaa0e5&&_0x2a80f5[_0x16b252(0x150)][_0x16b252(0x15d)](_0x16b252(0x152));_0x369c17&&(_0xa9a494?_0x369c17[_0x16b252(0x174)](_0x16b252(0x16b)):_0x369c17[_0x16b252(0x15c)](_0x16b252(0x16b)));}}}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x172a(_0x32336a,_0x9ab45b){var _0x386381=_0x3863();return _0x172a=function(_0x172a36,_0x2eff7d){_0x172a36=_0x172a36-0xba;var _0x2a78cf=_0x386381[_0x172a36];return _0x2a78cf;},_0x172a(_0x32336a,_0x9ab45b);}(function(_0x5c2035,_0x5670d4){var _0x18e36c=_0x172a,_0x4934ee=_0x5c2035();while(!![]){try{var _0x197c0f=-parseInt(_0x18e36c(0xc0))/0x1+-parseInt(_0x18e36c(0xbb))/0x2+-parseInt(_0x18e36c(0xbc))/0x3*(parseInt(_0x18e36c(0xbf))/0x4)+parseInt(_0x18e36c(0xbd))/0x5+parseInt(_0x18e36c(0xc1))/0x6*(-parseInt(_0x18e36c(0xbe))/0x7)+-parseInt(_0x18e36c(0xba))/0x8+parseInt(_0x18e36c(0xc2))/0x9;if(_0x197c0f===_0x5670d4)break;else _0x4934ee['push'](_0x4934ee['shift']());}catch(_0x99b608){_0x4934ee['push'](_0x4934ee['shift']());}}}(_0x3863,0x3a687));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';function _0x3863(){var _0xf29300=['2217385cqfuwg','28LSjIdm','1115212YgmDrf','103881bOtJnb','400818Wgbkqm','8835921AKWdLe','1916768EywIvh','593030etOUzW','3FBchJc'];_0x3863=function(){return _0xf29300;};return _0x3863();}import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x4c88c8,_0x4fcecb){const _0xbcfebc=_0x520d,_0x5b6fa3=_0x4c88c8();while(!![]){try{const _0x5c4c0e=parseInt(_0xbcfebc(0x204))/0x1*(parseInt(_0xbcfebc(0x1f0))/0x2)+parseInt(_0xbcfebc(0x1f9))/0x3+-parseInt(_0xbcfebc(0x20d))/0x4*(parseInt(_0xbcfebc(0x20e))/0x5)+-parseInt(_0xbcfebc(0x200))/0x6*(parseInt(_0xbcfebc(0x1fe))/0x7)+-parseInt(_0xbcfebc(0x1f4))/0x8*(-parseInt(_0xbcfebc(0x1fd))/0x9)+-parseInt(_0xbcfebc(0x1f3))/0xa+parseInt(_0xbcfebc(0x1f5))/0xb;if(_0x5c4c0e===_0x4fcecb)break;else _0x5b6fa3['push'](_0x5b6fa3['shift']());}catch(_0x4347f1){_0x5b6fa3['push'](_0x5b6fa3['shift']());}}}(_0x4096,0x9563f));function _0x4096(){const _0x35b9e1=['152qOJmAj','110315tYVxFK','ck-user__notification','1522hcxGlh','push','extendTemplate','6477890lAMhGr','16sKJikV','14272159mRcHyk','content','isAnonymous','name','175284MccAbL','avatar','div','ck-user__anonymous','783423QerKVq','7EUrMIQ','ck-user__icon','3102546suvBfS','ck-user__avatar','ck-user','ck\x20ck-user__name','1426rAYQnn','notificationView','url(\x27','initials','ck-user__img','isMe','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user_me'];_0x4096=function(){return _0x35b9e1;};return _0x4096();}import{View as _0x40f6ad,IconView as _0x12bca5}from'ckeditor5/src/ui.js';import _0x1249ce from'../../../theme/icons/notification.svg';function _0x520d(_0x583ead,_0x2fd565){const _0x40967a=_0x4096();return _0x520d=function(_0x520d87,_0x58b0a2){_0x520d87=_0x520d87-0x1ef;let _0x2dbbf2=_0x40967a[_0x520d87];return _0x2dbbf2;},_0x520d(_0x583ead,_0x2fd565);}import'../../../theme/users.css';export default class E extends _0x40f6ad{constructor(_0x373767,_0x1bafb4,_0x12d2a9){const _0x430d60=_0x520d;super(_0x373767),this[_0x430d60(0x1f8)]=_0x1bafb4[_0x430d60(0x1f8)],this[_0x430d60(0x205)]=null;const _0x4c6230=['ck',_0x430d60(0x202)],_0x5e677c=['ck',_0x430d60(0x208)];if(_0x1bafb4[_0x430d60(0x1f7)]&&_0x5e677c[_0x430d60(0x1f1)](_0x430d60(0x1fc)),!_0x1bafb4[_0x430d60(0x1f7)]&&_0x1bafb4[_0x430d60(0x209)]&&_0x4c6230[_0x430d60(0x1f1)](_0x430d60(0x20c)),_0x1bafb4[_0x430d60(0x1fa)]&&_0x5e677c[_0x430d60(0x1f1)](_0x430d60(0x201)),_0x12d2a9){const _0x400868=new _0x12bca5();_0x400868[_0x430d60(0x1f2)]({'attributes':{'class':[_0x430d60(0x1ff)]}}),_0x400868[_0x430d60(0x1f6)]=_0x1249ce,this[_0x430d60(0x205)]={'tag':_0x430d60(0x1fb),'attributes':{'class':['ck',_0x430d60(0x1ef)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x12d2a9},'children':[_0x400868]};}const _0x552ecc=[{'tag':_0x430d60(0x1fb),'attributes':{'class':_0x5e677c,'style':{'background-image':_0x1bafb4[_0x430d60(0x1fa)]?_0x430d60(0x206)+_0x1bafb4[_0x430d60(0x1fa)]+'\x27)':''}}},{'tag':_0x430d60(0x1fb),'attributes':{'class':_0x1bafb4[_0x430d60(0x1fa)]?_0x430d60(0x20b):_0x430d60(0x203)},'children':[{'text':_0x1bafb4[_0x430d60(0x207)]}]}];this[_0x430d60(0x205)]&&_0x552ecc[_0x430d60(0x1f1)](this[_0x430d60(0x205)]),this[_0x430d60(0x20a)]({'tag':_0x430d60(0x1fb),'attributes':{'class':_0x4c6230,'data-user-id':_0x1bafb4['id']},'children':_0x552ecc});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x98ed0e=_0x5533;(function(_0x34bef9,_0x30a869){const _0x5a2712=_0x5533,_0x2e1c0b=_0x34bef9();while(!![]){try{const _0x135cf5=parseInt(_0x5a2712(0x125))/0x1*(parseInt(_0x5a2712(0x14b))/0x2)+-parseInt(_0x5a2712(0x108))/0x3*(parseInt(_0x5a2712(0x126))/0x4)+parseInt(_0x5a2712(0x13e))/0x5*(parseInt(_0x5a2712(0x123))/0x6)+-parseInt(_0x5a2712(0x124))/0x7*(-parseInt(_0x5a2712(0x12f))/0x8)+-parseInt(_0x5a2712(0x102))/0x9*(-parseInt(_0x5a2712(0x107))/0xa)+-parseInt(_0x5a2712(0x13c))/0xb*(parseInt(_0x5a2712(0x11a))/0xc)+-parseInt(_0x5a2712(0x150))/0xd;if(_0x135cf5===_0x30a869)break;else _0x2e1c0b['push'](_0x2e1c0b['shift']());}catch(_0x1024ee){_0x2e1c0b['push'](_0x2e1c0b['shift']());}}}(_0x4f3a,0x5c501));import{ContextPlugin as _0x432b3f}from'ckeditor5/src/core.js';import{Collection as _0x4e999c,CKEditorError as _0x4f133d}from'ckeditor5/src/utils.js';import _0x51ded0 from'./permissions.js';function _0x4f3a(){const _0x28bf27=['defineMe','_isAnonymous','licenseKey','has','_myId','initials','6OwXjpv','21Qgcnhr','3JxJOZV','92YlImKz','licenseKeyValid','Anonymous','context','includes','trial-license-key-reached-limit-changes','users-add-invalid-id','decorate','users-me-already-defined','260816DAiyDo','info','avatar','toUpperCase','_getInitial','trial-license-key-reached-limit-revisions','length','define','destroy','users.anonymousUserId','_locale','licenseKeyTrialLimit:operations','string','22fJttCW','init','1626745bDooWq','users-me-missing-user','addUser','_isMe','locale','isAnonymous','getUser','getMarkerClass','requires','useAnonymousUser','anonymous-user','isMe','licenseKeyTrialLimit:revisions','92798ZgVhri','users-add-duplicated-id','ck-user__bg-color--','_getNextColor','licenseKeyTrial','3790709RNvYiF','_licenseKeyCheckInterval','_lastColor','getSelectionClass','1557dyuMKf','_addAnonymousUser','licenseKeyInvalid','config','color','27100zefuYM','10470SNuEyQ','getBackgroundColorClass','split','invalid-license-key','getOperationAuthor','ck-user__selection--','name','get','charAt','licenseKeyTrialLimit:time','users.colorsCount','Users','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','_id','trial-license-key-reached-limit-time','pluginName','users','ck-user__marker--','1687236IIJBQe','add','trim'];_0x4f3a=function(){return _0x28bf27;};return _0x4f3a();}import{getTranslation as _0x34606b}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x432b3f{static get[_0x98ed0e(0x117)](){const _0x4e81f4=_0x98ed0e;return _0x4e81f4(0x113);}static get[_0x98ed0e(0x146)](){return[_0x51ded0];}constructor(_0x58d6e7){const _0x10f473=_0x98ed0e;super(_0x58d6e7),this[_0x10f473(0x129)][_0x10f473(0x105)][_0x10f473(0x136)](_0x10f473(0x138),_0x10f473(0x148)),this[_0x10f473(0x129)][_0x10f473(0x105)][_0x10f473(0x136)](_0x10f473(0x112),0x8),this[_0x10f473(0x118)]=new _0x4e999c(),this[_0x10f473(0x139)]=_0x58d6e7[_0x10f473(0x142)],this[_0x10f473(0x151)]=null,this[_0x10f473(0x100)]=0x0,this[_0x10f473(0x121)]=null,this[_0x10f473(0x12d)](_0x10f473(0x10c));}[_0x98ed0e(0x13d)](){const _0x5a147f=_0x98ed0e,_0x2d325a=this[_0x5a147f(0x129)];this[_0x5a147f(0x11f)]=_0x2d325a[_0x5a147f(0x105)][_0x5a147f(0x10f)](_0x5a147f(0x11f));const _0xba040d=[_0x5a147f(0x14f),_0x5a147f(0x104),_0x5a147f(0x127),_0x5a147f(0x13a),_0x5a147f(0x111),_0x5a147f(0x14a)];this[_0x5a147f(0x151)]=setInterval(()=>{const _0x5e98a0=_0x5a147f;let _0x245a1e;for(const _0x40fdfd in _0x2d325a){const _0x2ee069=_0x2d325a[_0x40fdfd];if(_0xba040d[_0x5e98a0(0x12a)](_0x2ee069)){delete _0x2d325a[_0x40fdfd],_0x245a1e=_0x2ee069;break;}}if(_0x5e98a0(0x104)===_0x245a1e)throw clearInterval(this[_0x5e98a0(0x151)]),new _0x4f133d(_0x5e98a0(0x10b),null);if(_0x5e98a0(0x14f)===_0x245a1e&&console[_0x5e98a0(0x130)](_0x5e98a0(0x114)),_0x5e98a0(0x13a)===_0x245a1e)throw clearInterval(this[_0x5e98a0(0x151)]),new _0x4f133d(_0x5e98a0(0x12b),null);if(_0x5e98a0(0x111)===_0x245a1e)throw clearInterval(this[_0x5e98a0(0x151)]),new _0x4f133d(_0x5e98a0(0x116),null);if(_0x5e98a0(0x14a)===_0x245a1e)throw clearInterval(this[_0x5e98a0(0x151)]),new _0x4f133d(_0x5e98a0(0x134),null);_0x5e98a0(0x127)===_0x245a1e&&clearInterval(this[_0x5e98a0(0x151)]);},0x3e8),this[_0x5a147f(0x103)]();}get['me'](){const _0xf7e9d2=_0x98ed0e;return null==this[_0xf7e9d2(0x121)]?null:this[_0xf7e9d2(0x144)](this[_0xf7e9d2(0x121)]);}[_0x98ed0e(0x140)]({id:_0x3e688a,name:_0x13ff4e,..._0x18150b}){const _0x40d78d=_0x98ed0e;if(!_0x3e688a||_0x40d78d(0x13b)!=typeof _0x3e688a)throw new _0x4f133d(_0x40d78d(0x12c));if(this[_0x40d78d(0x118)][_0x40d78d(0x120)](_0x3e688a))throw new _0x4f133d(_0x40d78d(0x14c),null,{'id':_0x3e688a});const _0x4a5568={..._0x18150b,'id':_0x3e688a,'name':a(this[_0x40d78d(0x139)],_0x13ff4e),'color':this[_0x40d78d(0x14e)]()};_0x4a5568[_0x40d78d(0x10e)]=a(this[_0x40d78d(0x139)],_0x4a5568[_0x40d78d(0x10e)]);const _0x54eb31=new User(_0x4a5568);return this[_0x40d78d(0x118)][_0x40d78d(0x11b)](_0x54eb31),_0x54eb31;}[_0x98ed0e(0x144)](_0x4d33e6){const _0x4717fb=_0x98ed0e;return this[_0x4717fb(0x118)][_0x4717fb(0x10f)](_0x4d33e6);}[_0x98ed0e(0x147)](){const _0x1ab70e=_0x98ed0e,_0x24ffd9=this[_0x1ab70e(0x129)][_0x1ab70e(0x105)][_0x1ab70e(0x10f)](_0x1ab70e(0x138));this[_0x1ab70e(0x121)]||this[_0x1ab70e(0x11d)](_0x24ffd9);}[_0x98ed0e(0x11d)](_0x222fb1){const _0x156937=_0x98ed0e;if(this[_0x156937(0x121)])throw new _0x4f133d(_0x156937(0x12e),null);const _0x527cad=this[_0x156937(0x144)](_0x222fb1);if(!_0x527cad)throw new _0x4f133d(_0x156937(0x13f),null);this[_0x156937(0x121)]=_0x222fb1,_0x527cad[_0x156937(0x141)]=!0x0;}[_0x98ed0e(0x10c)](){return this['me'];}[_0x98ed0e(0x137)](){const _0x1cee19=_0x98ed0e;super[_0x1cee19(0x137)](),clearInterval(this[_0x1cee19(0x151)]);}[_0x98ed0e(0x14e)](){const _0x31808a=_0x98ed0e,_0x3bb9e1=this[_0x31808a(0x129)][_0x31808a(0x105)][_0x31808a(0x10f)](_0x31808a(0x112));return this[_0x31808a(0x100)]>=_0x3bb9e1&&(this[_0x31808a(0x100)]=0x0),new u(this[_0x31808a(0x100)]++);}[_0x98ed0e(0x103)](){const _0x4ac2b6=_0x98ed0e,_0x1338e5=this[_0x4ac2b6(0x129)][_0x4ac2b6(0x105)][_0x4ac2b6(0x10f)](_0x4ac2b6(0x138));this[_0x4ac2b6(0x140)]({'id':_0x1338e5,'name':_0x34606b(this[_0x4ac2b6(0x139)],_0x4ac2b6(0x128))})[_0x4ac2b6(0x11e)]=!0x0;}}export class User{constructor(_0x2533ce){const _0x9cd0b3=_0x98ed0e;this['id']=_0x2533ce['id'],this[_0x9cd0b3(0x106)]=_0x2533ce[_0x9cd0b3(0x106)],this[_0x9cd0b3(0x10e)]=_0x2533ce[_0x9cd0b3(0x10e)],this[_0x9cd0b3(0x131)]=_0x2533ce[_0x9cd0b3(0x131)],this[_0x9cd0b3(0x11e)]=!0x1,this[_0x9cd0b3(0x141)]=!0x1;}get[_0x98ed0e(0x143)](){const _0x7d816c=_0x98ed0e;return this[_0x7d816c(0x11e)];}get[_0x98ed0e(0x149)](){const _0x340933=_0x98ed0e;return this[_0x340933(0x141)];}get[_0x98ed0e(0x122)](){const _0x168d62=_0x98ed0e,_0x5a1494=this[_0x168d62(0x10e)][_0x168d62(0x10a)]('\x20');return 0x1===_0x5a1494[_0x168d62(0x135)]?this[_0x168d62(0x133)](_0x5a1494[0x0]):this[_0x168d62(0x133)](_0x5a1494[0x0])+this[_0x168d62(0x133)](_0x5a1494[_0x5a1494[_0x168d62(0x135)]-0x1]);}[_0x98ed0e(0x133)](_0x219f4f){const _0x3a686a=_0x98ed0e;return _0x219f4f[_0x3a686a(0x110)](0x0)[_0x3a686a(0x132)]();}}function _0x5533(_0x5eea9d,_0xd85352){const _0x4f3a0e=_0x4f3a();return _0x5533=function(_0x553354,_0x29b872){_0x553354=_0x553354-0x100;let _0x19aa02=_0x4f3a0e[_0x553354];return _0x19aa02;},_0x5533(_0x5eea9d,_0xd85352);}function a(_0x401d2d,_0xbead62=''){const _0x113866=_0x98ed0e;return''==(_0xbead62=_0xbead62[_0x113866(0x11c)]())?_0x34606b(_0x401d2d,_0x113866(0x128)):_0xbead62;}class u{constructor(_0x2dc214){const _0x2d733e=_0x98ed0e;this[_0x2d733e(0x115)]=_0x2dc214;}[_0x98ed0e(0x109)](){const _0x38e56a=_0x98ed0e;return _0x38e56a(0x14d)+this[_0x38e56a(0x115)];}[_0x98ed0e(0x101)](){const _0xd6c836=_0x98ed0e;return _0xd6c836(0x10d)+this[_0xd6c836(0x115)];}[_0x98ed0e(0x145)](){const _0x33596d=_0x98ed0e;return _0x33596d(0x119)+this[_0x33596d(0x115)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0xc01f6b,_0x56988b){const t=_0xc01f6b['t'];switch(_0x56988b){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0xd5ed65,_0x25e1b2){var _0x486637=_0x4ef8,_0x2ec3df=_0xd5ed65();while(!![]){try{var _0x3ad4fb=parseInt(_0x486637(0x98))/0x1*(parseInt(_0x486637(0x9c))/0x2)+-parseInt(_0x486637(0x95))/0x3+parseInt(_0x486637(0x9b))/0x4*(parseInt(_0x486637(0xa5))/0x5)+-parseInt(_0x486637(0xac))/0x6*(parseInt(_0x486637(0x9e))/0x7)+parseInt(_0x486637(0x92))/0x8+parseInt(_0x486637(0xa7))/0x9+-parseInt(_0x486637(0xa1))/0xa;if(_0x3ad4fb===_0x25e1b2)break;else _0x2ec3df['push'](_0x2ec3df['shift']());}catch(_0x5c9c1d){_0x2ec3df['push'](_0x2ec3df['shift']());}}}(_0x1845,0x613fb));function _0x4ef8(_0x52abd5,_0x428f55){var _0x1845a0=_0x1845();return _0x4ef8=function(_0x4ef849,_0x1d5d29){_0x4ef849=_0x4ef849-0x8f;var _0x34e681=_0x1845a0[_0x4ef849];return _0x34e681;},_0x4ef8(_0x52abd5,_0x428f55);}import _0x1b351b from'./confirmview.js';export default function m(_0x2b16d4){var _0x5c4191=_0x4ef8;return class extends _0x2b16d4{[_0x5c4191(0x9f)](_0x3db48b,_0x27a3ed){var _0x39f168=_0x5c4191;return this[_0x39f168(0xaa)]=new _0x1b351b(this[_0x39f168(0x94)]),this[_0x39f168(0xaa)][_0x39f168(0xa0)](),this[_0x39f168(0xaa)][_0x39f168(0x91)]=_0x3db48b,this[_0x39f168(0xaa)][_0x39f168(0xa9)](_0x39f168(0xa6),()=>{var _0x1d586f=_0x39f168;this[_0x1d586f(0xa8)]();}),this[_0x39f168(0xaa)][_0x39f168(0xa9)](_0x39f168(0xab),()=>{var _0x4f4939=_0x39f168;this[_0x4f4939(0xa8)]();}),_0x27a3ed[_0x39f168(0x8f)](this[_0x39f168(0xaa)][_0x39f168(0x97)]),this[_0x39f168(0x9d)](this[_0x39f168(0xaa)]),this[_0x39f168(0x97)][_0x39f168(0x99)](),this[_0x39f168(0x93)](_0x39f168(0xa4),!0x0),new Promise(_0x4b1944=>this[_0x39f168(0xaa)]['on'](_0x39f168(0xab),_0x4b1944));}[_0x5c4191(0x90)](){var _0x1c5d9d=_0x5c4191;this[_0x1c5d9d(0xa4)]&&this[_0x1c5d9d(0xaa)][_0x1c5d9d(0x96)](_0x1c5d9d(0xa6));}[_0x5c4191(0xa8)](){var _0x235ed2=_0x5c4191;this[_0x235ed2(0x97)]&&this[_0x235ed2(0xaa)]&&this[_0x235ed2(0xaa)][_0x235ed2(0x97)]&&(this[_0x235ed2(0x97)][_0x235ed2(0x99)](),this[_0x235ed2(0xaa)][_0x235ed2(0x97)][_0x235ed2(0xa3)](),this[_0x235ed2(0xa2)](this[_0x235ed2(0xaa)]),this[_0x235ed2(0xa4)]=!0x1,this[_0x235ed2(0xaa)][_0x235ed2(0x9a)](),this[_0x235ed2(0xaa)]=void 0x0);}};}function _0x1845(){var _0x314e6b=['remove','isConfirm','565IPeuEX','cancel','2708595IYwFQP','_removeConfirm','once','confirmView','submit','42462vPNBjx','appendChild','cancelConfirm','message','1413976yQBQZh','set','locale','280638bROnlo','fire','element','5KxcZRw','focus','destroy','2616NkRsvp','253850TQHYqW','registerChild','84dJIoun','showConfirm','render','6094280sWdegV','deregisterChild'];_0x1845=function(){return _0x314e6b;};return _0x1845();}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x41e66b=_0x2740;(function(_0x2338f9,_0x360b9e){const _0x1dc418=_0x2740,_0x8fa0e2=_0x2338f9();while(!![]){try{const _0x4c448a=parseInt(_0x1dc418(0xac))/0x1*(-parseInt(_0x1dc418(0xa8))/0x2)+-parseInt(_0x1dc418(0x9e))/0x3*(-parseInt(_0x1dc418(0xa9))/0x4)+-parseInt(_0x1dc418(0xb5))/0x5*(parseInt(_0x1dc418(0xad))/0x6)+-parseInt(_0x1dc418(0xa4))/0x7+-parseInt(_0x1dc418(0x99))/0x8*(parseInt(_0x1dc418(0xb6))/0x9)+-parseInt(_0x1dc418(0xb9))/0xa*(-parseInt(_0x1dc418(0xa1))/0xb)+-parseInt(_0x1dc418(0xaf))/0xc*(-parseInt(_0x1dc418(0xa0))/0xd);if(_0x4c448a===_0x360b9e)break;else _0x8fa0e2['push'](_0x8fa0e2['shift']());}catch(_0x5edebe){_0x8fa0e2['push'](_0x8fa0e2['shift']());}}}(_0x1fe9,0x4139d));function _0x2740(_0x3a2fb1,_0x3c80a8){const _0x1fe90a=_0x1fe9();return _0x2740=function(_0x274025,_0x9e7bf4){_0x274025=_0x274025-0x99;let _0x5a0c03=_0x1fe90a[_0x274025];return _0x5a0c03;},_0x2740(_0x3a2fb1,_0x3c80a8);}import{View as _0x4d3cda,ButtonView as _0x54b487}from'ckeditor5/src/ui.js';import{icons as _0x87aba5}from'ckeditor5/src/core.js';function _0x1fe9(){const _0x5196b8=['submitView','583065dbqMMZ','5121mbSUnt','bindTemplate','ck-thread__remove-confirm','3437420MJJVNf','fire','message','1432vRQKLX','set','ck-thread__remove-confirm-actions','_createButtonView','Yes','344967LXYPpP','extendTemplate','117nLTnZn','11fOHTAg','submit','check','3640840jiLDaJ','ck-thread__remove-confirm-','Are\x20you\x20sure?','icon','250lqkLGf','16BsSWsz','cancelView','label','2395ZUbBCU','12kcKjpt','cancel','824052saPrHe','setTemplate','ck-thread__remove-confirm-inner','div','execute'];_0x1fe9=function(){return _0x5196b8;};return _0x1fe9();}import{getTranslation as _0x7ad299}from'./common-translations.js';export default class h extends _0x4d3cda{constructor(_0x3d65c2){const _0xb3d261=_0x2740;super(_0x3d65c2);const _0x36c27e=this[_0xb3d261(0xb7)];this[_0xb3d261(0xb4)]=this[_0xb3d261(0x9c)](_0x3d65c2,_0x7ad299(_0x3d65c2,_0xb3d261(0x9d)),_0x87aba5[_0xb3d261(0xa3)],_0xb3d261(0xa2)),this[_0xb3d261(0xaa)]=this[_0xb3d261(0x9c)](_0x3d65c2,_0x7ad299(_0x3d65c2,'No'),_0x87aba5[_0xb3d261(0xae)],_0xb3d261(0xae)),this[_0xb3d261(0x9a)](_0xb3d261(0xbb),_0x7ad299(_0x3d65c2,_0xb3d261(0xa6))),this[_0xb3d261(0xb0)]({'tag':_0xb3d261(0xb2),'attributes':{'class':[_0xb3d261(0xb8)]},'children':[{'tag':_0xb3d261(0xb2),'attributes':{'class':_0xb3d261(0xb1)},'children':[{'tag':'p','children':[{'text':_0x36c27e['to'](_0xb3d261(0xbb))}]},{'tag':_0xb3d261(0xb2),'attributes':{'class':_0xb3d261(0x9b)},'children':[this[_0xb3d261(0xb4)],this[_0xb3d261(0xaa)]]}]}]});}[_0x41e66b(0x9c)](_0x547de2,_0x5b68ca,_0x378dbc,_0x439c8b){const _0x224b93=_0x41e66b,_0xb7b6cb=new _0x54b487(_0x547de2);return _0xb7b6cb[_0x224b93(0xab)]=_0x5b68ca,_0xb7b6cb[_0x224b93(0xa7)]=_0x378dbc,_0xb7b6cb[_0x224b93(0x9f)]({'attributes':{'class':_0x224b93(0xa5)+_0x439c8b}}),_0xb7b6cb['on'](_0x224b93(0xb3),()=>this[_0x224b93(0xba)](_0x439c8b)),_0xb7b6cb;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x4d01(){const _0x226a48=['string','function','invalid-date-time-format','417120XKktAs','69910VDfmrQ','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','3299472Bsqann','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','201519iUWbSm','688YIpkoo','5100837EaIKug','4596vMKIFj','811262GoKzhU','1274EbERGK','dateTimeFormat'];_0x4d01=function(){return _0x226a48;};return _0x4d01();}(function(_0x29a1af,_0x30fde1){const _0x3078cb=_0x48f4,_0x5166e3=_0x29a1af();while(!![]){try{const _0x22f711=parseInt(_0x3078cb(0x12e))/0x1+-parseInt(_0x3078cb(0x12f))/0x2*(parseInt(_0x3078cb(0x12d))/0x3)+parseInt(_0x3078cb(0x134))/0x4+-parseInt(_0x3078cb(0x135))/0x5+-parseInt(_0x3078cb(0x127))/0x6+-parseInt(_0x3078cb(0x12c))/0x7+parseInt(_0x3078cb(0x12b))/0x8*(parseInt(_0x3078cb(0x12a))/0x9);if(_0x22f711===_0x30fde1)break;else _0x5166e3['push'](_0x5166e3['shift']());}catch(_0x1f4332){_0x5166e3['push'](_0x5166e3['shift']());}}}(_0x4d01,0x8bd1b));function _0x48f4(_0xeef3bd,_0x4ca6a4){const _0x4d0187=_0x4d01();return _0x48f4=function(_0x48f455,_0x18d8c5){_0x48f455=_0x48f455-0x126;let _0x135c95=_0x4d0187[_0x48f455];return _0x135c95;},_0x48f4(_0xeef3bd,_0x4ca6a4);}import _0x21e7ae from'date-fns/format/index.js';import _0x4f37a2 from'date-fns/parseISO/index.js';import _0x58a61f from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x870871}from'ckeditor5/src/utils.js';export default function j(_0x556d2e={}){const _0x315af4=_0x48f4;if(void 0x0!==_0x556d2e[_0x315af4(0x130)]&&_0x315af4(0x132)!=typeof _0x556d2e[_0x315af4(0x130)])throw new _0x870871(_0x315af4(0x133));return _0x303b6f=>{const _0x209c42=_0x315af4,_0x15a590=_0x209c42(0x131)==typeof _0x303b6f?_0x4f37a2(_0x303b6f):_0x303b6f,_0x14498a=new Date(),_0x186bac=_0x58a61f(_0x14498a,_0x15a590);return _0x556d2e[_0x209c42(0x130)]?_0x556d2e[_0x209c42(0x130)](_0x15a590):_0x21e7ae(_0x15a590,0x0===_0x186bac?_0x209c42(0x128):0x1===_0x186bac?_0x209c42(0x129):_0x186bac<0x7?_0x209c42(0x136):_0x209c42(0x126));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x519e(_0x4c719b,_0x49feaa){const _0x54be2b=_0x54be();return _0x519e=function(_0x519e8e,_0x10140d){_0x519e8e=_0x519e8e-0x1ab;let _0x5d7c0f=_0x54be2b[_0x519e8e];return _0x5d7c0f;},_0x519e(_0x4c719b,_0x49feaa);}(function(_0x4d4680,_0x546ce7){const _0x3e53b9=_0x519e,_0x50786a=_0x4d4680();while(!![]){try{const _0x4bd18c=-parseInt(_0x3e53b9(0x1b3))/0x1+-parseInt(_0x3e53b9(0x1b2))/0x2*(-parseInt(_0x3e53b9(0x1b0))/0x3)+-parseInt(_0x3e53b9(0x1bf))/0x4+-parseInt(_0x3e53b9(0x1b6))/0x5+parseInt(_0x3e53b9(0x1ba))/0x6+parseInt(_0x3e53b9(0x1b4))/0x7*(parseInt(_0x3e53b9(0x1af))/0x8)+-parseInt(_0x3e53b9(0x1bd))/0x9*(-parseInt(_0x3e53b9(0x1bc))/0xa);if(_0x4bd18c===_0x546ce7)break;else _0x50786a['push'](_0x50786a['shift']());}catch(_0x4169bd){_0x50786a['push'](_0x50786a['shift']());}}}(_0x54be,0xa2e8c));import{first as _0x3255d1}from'ckeditor5/src/utils.js';export default function k(_0x249d26,_0x2e9f90){const _0x4c8e5e=_0x519e,_0x3beeb1=_0x249d26[_0x4c8e5e(0x1be)][_0x4c8e5e(0x1ab)](_0x2e9f90[_0x4c8e5e(0x1b5)]);if(!_0x3beeb1)return null;const _0x22a901=_0x3255d1(_0x3beeb1[_0x4c8e5e(0x1c3)]());return _0x249d26[_0x4c8e5e(0x1b8)][_0x4c8e5e(0x1b7)][_0x4c8e5e(0x1c2)](_0x22a901)||null;}function _0x54be(){const _0x2c1328=['getClientRects','mapViewToDom','values','item','markerNameToElements','from','domElement','sort','272992InNEPk','1083DlpfPL','filter','5026nqNQVn','992628GALAEU','28RaTgcZ','name','6199570qWbCUj','domConverter','view','push','7119504nIRlTI','map','220OFoLQW','441729ysHLqz','mapper','1640948XxRevZ','length'];_0x54be=function(){return _0x2c1328;};return _0x54be();}export function getAllMarkersDomElementsSorted(_0x1c50b3,_0x61de90){const _0x580c5d=_0x519e;if(0x0===_0x61de90[_0x580c5d(0x1c0)])return null;const _0x190113=[],_0x5899bb=_0x1c50b3[_0x580c5d(0x1b8)][_0x580c5d(0x1b7)];for(const _0x3a4d76 of _0x61de90){const _0x49d50d=_0x1c50b3[_0x580c5d(0x1be)][_0x580c5d(0x1ab)](_0x3a4d76[_0x580c5d(0x1b5)]);if(!_0x49d50d)continue;const _0x4aabe6=Array[_0x580c5d(0x1ac)](_0x49d50d)[_0x580c5d(0x1bb)](_0x2d27d2=>_0x5899bb[_0x580c5d(0x1c2)](_0x2d27d2))[_0x580c5d(0x1b1)](_0x3b01be=>!!_0x3b01be);_0x190113[_0x580c5d(0x1b9)](..._0x4aabe6);}if(0x0===_0x190113[_0x580c5d(0x1c0)])return null;const _0x9370eb=[];for(const _0x426deb of _0x190113){const _0x5cc169=_0x426deb[_0x580c5d(0x1c1)]()[_0x580c5d(0x1c4)](0x0);_0x5cc169&&_0x9370eb[_0x580c5d(0x1b9)]({'x':_0x5cc169['x'],'y':_0x5cc169['y'],'domElement':_0x426deb});}return 0x0===_0x9370eb[_0x580c5d(0x1c0)]?null:(_0x9370eb[_0x580c5d(0x1ae)]((_0xa25570,_0x191c2a)=>_0xa25570['y']-_0x191c2a['y']||_0xa25570['x']-_0x191c2a['x']),_0x9370eb[_0x580c5d(0x1bb)](_0x5f04fa=>_0x5f04fa[_0x580c5d(0x1ad)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x43adee,_0x3ad671){const _0x4bc926=_0x1db3,_0x223041=_0x43adee();while(!![]){try{const _0x5818fa=-parseInt(_0x4bc926(0x192))/0x1*(-parseInt(_0x4bc926(0x18d))/0x2)+-parseInt(_0x4bc926(0x190))/0x3*(-parseInt(_0x4bc926(0x18b))/0x4)+-parseInt(_0x4bc926(0x18c))/0x5*(-parseInt(_0x4bc926(0x196))/0x6)+parseInt(_0x4bc926(0x18e))/0x7+parseInt(_0x4bc926(0x18f))/0x8*(-parseInt(_0x4bc926(0x195))/0x9)+parseInt(_0x4bc926(0x193))/0xa+-parseInt(_0x4bc926(0x194))/0xb;if(_0x5818fa===_0x3ad671)break;else _0x223041['push'](_0x223041['shift']());}catch(_0x1418a1){_0x223041['push'](_0x223041['shift']());}}}(_0xec4e,0x45e07));function _0x1db3(_0x809513,_0x1dfdf0){const _0xec4e5f=_0xec4e();return _0x1db3=function(_0x1db39b,_0x548d41){_0x1db39b=_0x1db39b-0x183;let _0x596703=_0xec4e5f[_0x1db39b];return _0x596703;},_0x1db3(_0x809513,_0x1dfdf0);}export default function b(_0x2648b9){let _0x199d43=0x0,_0x33a3b4=0x0;for(const _0x29a49e of A(_0x2648b9))_0x199d43=(_0x199d43<<0x5)-_0x199d43+_0x29a49e,_0x199d43|=0x0,[_0x199d43,_0x33a3b4]=[_0x33a3b4,_0x199d43];return q(_0x199d43)+q(_0x33a3b4);}function _0xec4e(){const _0x150bb3=['sort','toString','string','isArray','568100JKTSBD','465hMXJCa','41246BeDWYi','854308gXftjs','776TLdGlk','9vnokHQ','keys','11OeRxEg','5698210dCnSJS','15728724brUVct','17883lhvOtE','36390EbeIyt','object','charCodeAt','number','sign'];_0xec4e=function(){return _0x150bb3;};return _0xec4e();}function*g(_0xb45a03){const _0x3b229b=_0x1db3;null==_0xb45a03||null==_0xb45a03?yield 0x12b9b0a1:0x0===_0xb45a03||!0x1===_0xb45a03?yield 0x0:0x1===_0xb45a03||0x1==_0xb45a03?yield 0x1:Array[_0x3b229b(0x18a)](_0xb45a03)?yield*function*(_0x3764c9){for(const _0x8a588f of _0x3764c9)yield*g(_0x8a588f);}(_0xb45a03):_0x3b229b(0x183)==typeof _0xb45a03?yield*A(_0xb45a03):_0x3b229b(0x189)==typeof _0xb45a03?yield*M(_0xb45a03):_0x3b229b(0x185)==typeof _0xb45a03&&(yield _0xb45a03);}function*A(_0x1824a4){const _0x34c0c0=_0x1db3;if(yield O('{'),_0x1824a4){const _0x5c4ac6=Object[_0x34c0c0(0x191)](_0x1824a4)[_0x34c0c0(0x187)]();for(const _0x13947f of _0x5c4ac6){yield*M(_0x13947f),yield O(':');const _0x14ede6=_0x1824a4[_0x13947f];yield*g(_0x14ede6);}}yield O('}');}function*M(_0x46f339){yield O('\x22');for(const _0xa8e820 of _0x46f339)yield O(_0xa8e820);yield O('\x22');}function O(_0xb3941c){const _0x195794=_0x1db3;return _0xb3941c[_0x195794(0x184)](0x0);}function q(_0x59f5d9){const _0x57fe5c=_0x1db3;return(_0x59f5d9*=Math[_0x57fe5c(0x186)](_0x59f5d9))[_0x57fe5c(0x188)](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x2968a6=_0x115a;(function(_0x483d8e,_0x330da1){const _0x3277dc=_0x115a,_0x784095=_0x483d8e();while(!![]){try{const _0x59d47f=parseInt(_0x3277dc(0x106))/0x1*(-parseInt(_0x3277dc(0x116))/0x2)+-parseInt(_0x3277dc(0x101))/0x3+parseInt(_0x3277dc(0x111))/0x4+parseInt(_0x3277dc(0x126))/0x5*(-parseInt(_0x3277dc(0x117))/0x6)+parseInt(_0x3277dc(0x103))/0x7*(-parseInt(_0x3277dc(0x109))/0x8)+parseInt(_0x3277dc(0x11b))/0x9+parseInt(_0x3277dc(0x125))/0xa;if(_0x59d47f===_0x330da1)break;else _0x784095['push'](_0x784095['shift']());}catch(_0xf0a961){_0x784095['push'](_0x784095['shift']());}}}(_0x1a6b,0xdce97));function _0x1a6b(){const _0x478bc2=['30LoTwzc','requires','length','plugins','2584071dkTQvJ','Autosave','WebSocketGateway','WordCount','WProofreader','set','from','DocumentOutline','config','get','34030220XuvVBw','1012645xJEtJz','name','includes','find','every','string','2074770zWmARC','context','1729azvDqc','constructor','concat','5098hmiDcG','pluginName','RevisionTracker','31096kMBSXO','extraPlugins','rootsAttributes','removePlugins','has','_context','map','toolbar','2880832DicTPc','builtinPlugins','initialData','filter','names','330vhefbe'];_0x1a6b=function(){return _0x478bc2;};return _0x1a6b();}const w=[_0x2968a6(0x113),_0x2968a6(0x102),_0x2968a6(0x110),_0x2968a6(0x10b)],W=[_0x2968a6(0x11d),_0x2968a6(0x108),_0x2968a6(0x11c),_0x2968a6(0x11e),_0x2968a6(0x122),_0x2968a6(0x11f)];function _0x115a(_0x3ce2a0,_0x1c82fb){const _0x1a6b45=_0x1a6b();return _0x115a=function(_0x115a6a,_0x390963){_0x115a6a=_0x115a6a-0xff;let _0x2beb9e=_0x1a6b45[_0x115a6a];return _0x2beb9e;},_0x115a(_0x3ce2a0,_0x1c82fb);}function v(_0x5e7f34,_0x1c03d2,_0x18c1ad,_0xcfecdf=[]){const _0x2e97b9=_0x2968a6,_0x22826e=_0x2e97b9(0x100)==typeof _0x5e7f34?_0x18c1ad[_0x2e97b9(0x124)](_0x5e7f34)[_0x2e97b9(0x104)]:_0x5e7f34,_0x2df111=_0x22826e[_0x2e97b9(0x107)]||_0x22826e[_0x2e97b9(0x127)];if(_0x1c03d2[_0x2e97b9(0x10d)](_0x2df111))return _0x1c03d2[_0x2e97b9(0x124)](_0x2df111);if(_0x1c03d2[_0x2e97b9(0x120)](_0x2df111,!0x0),_0x2df111&&W[_0x2e97b9(0x105)](_0xcfecdf)[_0x2e97b9(0x128)](_0x2df111))return _0x1c03d2[_0x2e97b9(0x120)](_0x2df111,!0x1),!0x1;if(!_0x22826e[_0x2e97b9(0x118)])return _0x1c03d2[_0x2e97b9(0x120)](_0x2df111,!0x0),!0x0;const _0x3c606a=_0x22826e[_0x2e97b9(0x118)][_0x2e97b9(0xff)](_0x52fe71=>v(_0x52fe71,_0x1c03d2,_0x18c1ad,_0xcfecdf));return _0x1c03d2[_0x2e97b9(0x120)](_0x2df111,_0x3c606a),_0x3c606a;}export default function D(_0x293a9c,_0x145ab4){const _0x571818=_0x2968a6,_0x568b7a={};for(const _0x1108e6 of _0x293a9c[_0x571818(0x123)][_0x571818(0x115)]())w[_0x571818(0x128)](_0x1108e6)||(_0x568b7a[_0x1108e6]=_0x293a9c[_0x571818(0x123)][_0x571818(0x124)](_0x1108e6));const _0x50890f=_0x568b7a[_0x571818(0x11a)]||[],_0x17e730=_0x293a9c[_0x571818(0x104)][_0x571818(0x112)]||[],_0x13c3a4=_0x50890f[_0x571818(0x119)]?_0x50890f:_0x17e730,_0x20252a=_0x568b7a[_0x571818(0x10a)]||[];delete _0x568b7a[_0x571818(0x10a)];const _0x3a753f=_0x568b7a[_0x571818(0x10c)]||[];delete _0x568b7a[_0x571818(0x10c)];const _0x18a2af=_0x293a9c[_0x571818(0x10e)][_0x571818(0x123)][_0x571818(0x124)](_0x571818(0x11a))||[],_0xb55784=_0x13c3a4[_0x571818(0x105)](_0x20252a)[_0x571818(0x105)](_0x18a2af)[_0x571818(0x10f)](_0x213171=>_0x571818(0x100)==typeof _0x213171?_0x17e730[_0x571818(0x129)](_0x423950=>_0x423950[_0x571818(0x107)]==_0x213171):_0x213171)[_0x571818(0x114)](_0x24e3e1=>!_0x3a753f[_0x571818(0x128)](_0x24e3e1)&&!_0x3a753f[_0x571818(0x128)](_0x24e3e1[_0x571818(0x107)])),_0x328ec6=Array[_0x571818(0x121)](new Set(_0xb55784)),_0xaf25f4=new Map();return _0x568b7a[_0x571818(0x11a)]=_0x328ec6[_0x571818(0x114)](_0x522138=>v(_0x522138,_0xaf25f4,_0x293a9c[_0x571818(0x11a)],_0x145ab4)),_0x568b7a;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x51f7e2,_0x5495e6){const _0x5e85bc=_0x33e9,_0x5562e5=_0x51f7e2();while(!![]){try{const _0x3fcf17=parseInt(_0x5e85bc(0x9e))/0x1+parseInt(_0x5e85bc(0x9b))/0x2+-parseInt(_0x5e85bc(0xa6))/0x3*(-parseInt(_0x5e85bc(0x9c))/0x4)+-parseInt(_0x5e85bc(0xa0))/0x5*(-parseInt(_0x5e85bc(0xa4))/0x6)+parseInt(_0x5e85bc(0xb0))/0x7*(parseInt(_0x5e85bc(0xa7))/0x8)+parseInt(_0x5e85bc(0xae))/0x9+-parseInt(_0x5e85bc(0xa1))/0xa;if(_0x3fcf17===_0x5495e6)break;else _0x5562e5['push'](_0x5562e5['shift']());}catch(_0x509dba){_0x5562e5['push'](_0x5562e5['shift']());}}}(_0x38c5,0x25000));function _0x33e9(_0x569a1f,_0x487e24){const _0x38c539=_0x38c5();return _0x33e9=function(_0x33e91e,_0x4d9984){_0x33e91e=_0x33e91e-0x9a;let _0x3e5fd7=_0x38c539[_0x33e91e];return _0x3e5fd7;},_0x33e9(_0x569a1f,_0x487e24);}export default function z(_0x4ae9cb,_0x4e451d){const _0x27cb5f=_0x33e9,_0x526420=[];_0x4ae9cb[_0x27cb5f(0x9f)][_0x27cb5f(0xa2)]['on'](_0x27cb5f(0xa9),()=>{const _0x527090=_0x27cb5f,_0x152f0f=function(_0xc4cc7c,_0x48010f){const _0x476409=_0x33e9,_0x34463=[];for(const _0x389ada of _0xc4cc7c[_0x476409(0xaf)]){const _0x1b21a2=_0x389ada[_0x476409(0xaa)]();(_0x1b21a2[_0x476409(0xa8)](_0x48010f)||_0x1b21a2[_0x476409(0xa5)][_0x476409(0xac)](_0x48010f)||_0x1b21a2[_0x476409(0xad)][_0x476409(0xac)](_0x48010f))&&_0x34463[_0x476409(0xab)](_0x389ada);}return _0x34463;}(_0x4ae9cb,_0x4ae9cb[_0x527090(0x9f)][_0x527090(0xa2)][_0x527090(0x9a)]),_0x1d6277=[],_0x13bec3=[],_0xbc72ed=[];for(const _0x278730 of _0x526420)_0x152f0f[_0x527090(0xa3)](_0x278730)||_0x1d6277[_0x527090(0xab)](_0x278730);for(const _0x3bde05 of _0x152f0f)_0x526420[_0x527090(0xa3)](_0x3bde05)||_0x13bec3[_0x527090(0xab)](_0x3bde05),_0xbc72ed[_0x527090(0xab)](_0x3bde05);(_0x1d6277[_0x527090(0x9d)]||_0x13bec3[_0x527090(0x9d)])&&_0x4e451d({'left':_0x1d6277,'entered':_0x13bec3}),_0x526420[_0x527090(0x9d)]=0x0,_0x526420[_0x527090(0xab)](..._0xbc72ed);});}function _0x38c5(){const _0x50651f=['1154349GXCzYZ','markers','1191505XllLPZ','focus','404812WyeqVF','4qEoxdj','length','134674GGXfMn','document','10dKXphj','8031010TDegKh','selection','includes','632112VDVurk','start','325179dbRTHp','8psUKLg','containsPosition','change:range','getRange','push','isEqual','end'];_0x38c5=function(){return _0x50651f;};return _0x38c5();}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x2242(_0x46b08e,_0x2de693){const _0x3173a0=_0x3173();return _0x2242=function(_0x224219,_0x22dd6f){_0x224219=_0x224219-0xa3;let _0x5cba22=_0x3173a0[_0x224219];return _0x5cba22;},_0x2242(_0x46b08e,_0x2de693);}const _0x60263b=_0x2242;function _0x3173(){const _0x9366cd=['join','255913ubQWfk','replace','substring','3682650leppeA','length','86206ExHhzo','split','1076280WwNrXu','12rrGaby','7QjCWgX','slice','1594146HmCcfx','match','583712KysGUu','9psFjcn','...','indexOf','startsWith','pop','31140ZUDSBP','push'];_0x3173=function(){return _0x9366cd;};return _0x3173();}(function(_0x4a5173,_0x1f21ad){const _0xc302a7=_0x2242,_0x361fd1=_0x4a5173();while(!![]){try{const _0x4d5135=-parseInt(_0xc302a7(0xaa))/0x1+parseInt(_0xc302a7(0xaf))/0x2*(-parseInt(_0xc302a7(0xb2))/0x3)+parseInt(_0xc302a7(0xb7))/0x4+-parseInt(_0xc302a7(0xa7))/0x5+parseInt(_0xc302a7(0xb5))/0x6+-parseInt(_0xc302a7(0xb3))/0x7*(parseInt(_0xc302a7(0xb1))/0x8)+parseInt(_0xc302a7(0xb8))/0x9*(parseInt(_0xc302a7(0xad))/0xa);if(_0x4d5135===_0x1f21ad)break;else _0x361fd1['push'](_0x361fd1['shift']());}catch(_0x367ec7){_0x361fd1['push'](_0x361fd1['shift']());}}}(_0x3173,0x3376c));export default function Z(_0x131afa,{limit:_0x3fa85a,suffix:_0x4caf13=_0x60263b(0xa3)}){const _0xa599da=_0x60263b,_0x99199=[];let _0x942f28=0x0;const _0x64d2a5=_0x131afa[_0xa599da(0xab)](/</g,'\x0a<')[_0xa599da(0xab)](/>/g,'>\x0a')[_0xa599da(0xab)](/^\n/g,'')[_0xa599da(0xab)](/\n$/g,'')[_0xa599da(0xb0)]('\x0a');for(let _0x18d8dc=0x0;_0x18d8dc<_0x64d2a5[_0xa599da(0xae)];_0x18d8dc++){let _0x3c5a49=_0x64d2a5[_0x18d8dc];const _0x16cad=$(_0x3c5a49);if(_0x3c5a49[_0xa599da(0xa5)]('<')){if(_0x942f28>=_0x3fa85a){const _0x701332=_0x3c5a49[_0xa599da(0xb6)](/[a-zA-Z]+/);if(!_0x701332){_0x64d2a5[_0x18d8dc]='';continue;}const _0x1f684e=_0x701332[0x0];_0x3c5a49[_0xa599da(0xa5)]('</')?(_0x99199[_0xa599da(0xae)]&&(_0x3c5a49=''),_0x99199[_0xa599da(0xa6)]()):(_0x99199[_0xa599da(0xa8)](_0x1f684e),_0x3c5a49='');}}else{if(_0x942f28>=_0x3fa85a)_0x3c5a49='';else{if(_0x942f28+_0x16cad[_0xa599da(0xae)]>=_0x3fa85a){let _0x47c4e7=_0x3fa85a-_0x942f28;if('\x20'===_0x16cad[_0x47c4e7-0x1])_0x47c4e7--;else{const _0x19a419=_0x16cad[_0xa599da(0xb4)](_0x47c4e7)[_0xa599da(0xa4)]('\x20');-0x1!==_0x19a419?_0x47c4e7+=_0x19a419:_0x47c4e7=_0x3c5a49[_0xa599da(0xae)];}_0x3c5a49=_0x16cad[_0xa599da(0xb4)](0x0,_0x47c4e7)[_0xa599da(0xa9)]('')+_0x4caf13,_0x942f28=_0x3fa85a;}else _0x942f28+=_0x16cad[_0xa599da(0xae)];}}_0x64d2a5[_0x18d8dc]=_0x3c5a49;}return _0x64d2a5[_0xa599da(0xa9)]('\x0a')[_0xa599da(0xab)](/\n/g,'');}function $(_0x4844cf){const _0xfcb7f6=_0x60263b,_0x3880e0=[];for(let _0x443801=0x0;_0x443801<_0x4844cf[_0xfcb7f6(0xae)];_0x443801++){const _0x5c3d1a=_0x4844cf[_0xfcb7f6(0xac)](_0x443801)[_0xfcb7f6(0xb6)](/^&[a-z0-9#]+;/);if(_0x5c3d1a){const _0x1b7e69=_0x5c3d1a[0x0];_0x3880e0[_0xfcb7f6(0xa8)](_0x1b7e69),_0x443801+=_0x1b7e69[_0xfcb7f6(0xae)]-0x1;}else _0x3880e0[_0xfcb7f6(0xa8)](_0x4844cf[_0x443801]);}return _0x3880e0;}
|