@ckeditor/ckeditor5-collaboration-core 44.2.1 → 44.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/augmentation.d.ts +2 -11
- package/src/config.d.ts +46 -0
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.d.ts +17 -12
- 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/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/src/users.d.ts
CHANGED
@@ -101,6 +101,21 @@ export declare class User {
|
|
101
101
|
* The name of the user.
|
102
102
|
*/
|
103
103
|
name: string;
|
104
|
+
/**
|
105
|
+
* The initials of the user.
|
106
|
+
*
|
107
|
+
* By default, the initials are composed of the user name's first and last words ignoring non-characters parts:
|
108
|
+
*
|
109
|
+
* * for `Joe Doe`, the initials are `JD`,
|
110
|
+
* * for `Joe Doe (admin)`, the initials are `JD`,
|
111
|
+
* * for `Anonymous` the initials are `A`,
|
112
|
+
* * for `Katie John-Newman` the initials are `KJ`,
|
113
|
+
* * for `Adam Daniel Smith` the initials are `AS`.
|
114
|
+
*
|
115
|
+
* The initials can be configured by
|
116
|
+
* {@link module:collaboration-core/config~UsersConfig#getInitialsCallback `UserConfig#getInitialsCallback`}.
|
117
|
+
*/
|
118
|
+
readonly initials: string;
|
104
119
|
/**
|
105
120
|
* The URL pointing to the image with the avatar of the user.
|
106
121
|
*
|
@@ -113,8 +128,9 @@ export declare class User {
|
|
113
128
|
* @param data.color A helper object to generate CSS classes with the user color in the UI.
|
114
129
|
* @param data.name The name of the user.
|
115
130
|
* @param data.avatar The URL to the user avatar.
|
131
|
+
* @param getInitialsCallback The custom callback configured via the editor configuration to calculate the initials.
|
116
132
|
*/
|
117
|
-
constructor(data: UserData);
|
133
|
+
constructor(data: UserData, getInitialsCallback?: (name: string) => string);
|
118
134
|
/**
|
119
135
|
* Is `true` for the anonymous user, `false` otherwise.
|
120
136
|
*
|
@@ -128,17 +144,6 @@ export declare class User {
|
|
128
144
|
* Is `true` for the {@link module:collaboration-core/users~Users#me local user}.
|
129
145
|
*/
|
130
146
|
get isMe(): boolean;
|
131
|
-
/**
|
132
|
-
* The initials of the user.
|
133
|
-
*
|
134
|
-
* The initials are composed from the user name's first and last words:
|
135
|
-
*
|
136
|
-
* * for `Joe Doe`, the initials are `JD`,
|
137
|
-
* * for `Anonymous` the initials are `A`,
|
138
|
-
* * for `Katie John-Newman` the initials are `KJ`,
|
139
|
-
* * for `Adam Daniel Smith` the initials are `AS`.
|
140
|
-
*/
|
141
|
-
get initials(): string;
|
142
147
|
}
|
143
148
|
/**
|
144
149
|
* The color object used to generate specified CSS classes with an individual color number assigned to the user.
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x217605=_0x1316;(function(_0x353de7,_0x176a7c){const _0x1f6c70=_0x1316,_0x16268e=_0x353de7();while(!![]){try{const _0x113ec5=parseInt(_0x1f6c70(0x11b))/0x1+parseInt(_0x1f6c70(0x10d))/0x2+-parseInt(_0x1f6c70(0x11c))/0x3+parseInt(_0x1f6c70(0x118))/0x4+-parseInt(_0x1f6c70(0x10a))/0x5*(parseInt(_0x1f6c70(0x131))/0x6)+-parseInt(_0x1f6c70(0x119))/0x7+parseInt(_0x1f6c70(0x13a))/0x8*(parseInt(_0x1f6c70(0x136))/0x9);if(_0x113ec5===_0x176a7c)break;else _0x16268e['push'](_0x16268e['shift']());}catch(_0x3c0a26){_0x16268e['push'](_0x16268e['shift']());}}}(_0x4cdb,0x2284b));import{ContextPlugin as _0x47e579}from'ckeditor5/src/core.js';function _0x1316(_0x6a289,_0x3d5c4b){const _0x4cdb36=_0x4cdb();return _0x1316=function(_0x131624,_0x2c0ea9){_0x131624=_0x131624-0xfa;let _0x2aab08=_0x4cdb36[_0x131624];return _0x2aab08;},_0x1316(_0x6a289,_0x3d5c4b);}import{Collection as _0x450c8c,CKEditorError as _0x5a69e0}from'ckeditor5/src/utils.js';import _0x363718 from'./permissions.js';import{getTranslation as _0x2d183f}from'./utils/common-translations.js';import'../theme/usercolors.css';function _0x4cdb(){const _0x32e14c=['isPremiumPlugin','name','_getInitial','ck-user__bg-color--','toUpperCase','addUser','281488BxMVaV','154245eQkYov','users-add-invalid-id','214017SAeONF','796155kYMVCp','getBackgroundColorClass','initials','users.getInitialsCallback','length','add','context','decorate','getOperationAuthor','isOfficialPlugin','isMe','defineMe','init','avatar','_isAnonymous','_getNextColor','getSelectionClass','get','test','has','Users','24wWKGmt','string','_isMe','users.anonymousUserId','define','50823tizpRr','charAt','_computeInitials','getMarkerClass','8mKUFXd','_id','trim','color','config','_myId','anonymous-user','_addAnonymousUser','Anonymous','useAnonymousUser','ck-user__marker--','users','users-me-missing-user','users.colorsCount','ck-user__selection--','locale','_lastColor','pluginName','getUser','users-me-already-defined','173225zevBtZ','requires','filter','554702KuswSG','users-add-duplicated-id','_locale','isAnonymous','split'];_0x4cdb=function(){return _0x32e14c;};return _0x4cdb();}export default class u extends _0x47e579{static get[_0x217605(0x107)](){const _0x4bcb1e=_0x217605;return _0x4bcb1e(0x130);}static get[_0x217605(0x125)](){return!0x0;}static get[_0x217605(0x112)](){return!0x0;}static get[_0x217605(0x10b)](){return[_0x363718];}constructor(_0x1b625c){const _0x4682e0=_0x217605;super(_0x1b625c),this[_0x4682e0(0x122)][_0x4682e0(0xfa)][_0x4682e0(0x135)](_0x4682e0(0x134),_0x4682e0(0xfc)),this[_0x4682e0(0x122)][_0x4682e0(0xfa)][_0x4682e0(0x135)](_0x4682e0(0x103),0x8),this[_0x4682e0(0x101)]=new _0x450c8c(),this[_0x4682e0(0x10f)]=_0x1b625c[_0x4682e0(0x105)],this[_0x4682e0(0x106)]=0x0,this[_0x4682e0(0xfb)]=null,this[_0x4682e0(0x123)](_0x4682e0(0x124));}[_0x217605(0x128)](){const _0x4b1fec=_0x217605;this[_0x4b1fec(0xfd)]();}get['me'](){const _0x3f7088=_0x217605;return null==this[_0x3f7088(0xfb)]?null:this[_0x3f7088(0x108)](this[_0x3f7088(0xfb)]);}[_0x217605(0x117)]({id:_0x292a50,name:_0x82709b,..._0x15cb84}){const _0x1615f7=_0x217605;if(!_0x292a50||_0x1615f7(0x132)!=typeof _0x292a50)throw new _0x5a69e0(_0x1615f7(0x11a));if(this[_0x1615f7(0x101)][_0x1615f7(0x12f)](_0x292a50))throw new _0x5a69e0(_0x1615f7(0x10e),null,{'id':_0x292a50});const _0x246b67=this[_0x1615f7(0x122)][_0x1615f7(0xfa)][_0x1615f7(0x12d)](_0x1615f7(0x11f)),_0x2f4494={..._0x15cb84,'id':_0x292a50,'name':h(this[_0x1615f7(0x10f)],_0x82709b),'color':this[_0x1615f7(0x12b)]()};_0x2f4494[_0x1615f7(0x113)]=h(this[_0x1615f7(0x10f)],_0x2f4494[_0x1615f7(0x113)]);const _0x531287=new User(_0x2f4494,_0x246b67);return this[_0x1615f7(0x101)][_0x1615f7(0x121)](_0x531287),_0x531287;}[_0x217605(0x108)](_0x535ceb){const _0x4c144f=_0x217605;return this[_0x4c144f(0x101)][_0x4c144f(0x12d)](_0x535ceb);}[_0x217605(0xff)](){const _0x9bc063=_0x217605,_0x33e5d8=this[_0x9bc063(0x122)][_0x9bc063(0xfa)][_0x9bc063(0x12d)](_0x9bc063(0x134));this[_0x9bc063(0xfb)]||this[_0x9bc063(0x127)](_0x33e5d8);}[_0x217605(0x127)](_0xdc8245){const _0x54c788=_0x217605;if(this[_0x54c788(0xfb)])throw new _0x5a69e0(_0x54c788(0x109),null);const _0x204eef=this[_0x54c788(0x108)](_0xdc8245);if(!_0x204eef)throw new _0x5a69e0(_0x54c788(0x102),null);this[_0x54c788(0xfb)]=_0xdc8245,_0x204eef[_0x54c788(0x133)]=!0x0;}[_0x217605(0x124)](){return this['me'];}[_0x217605(0x12b)](){const _0x3aaf31=_0x217605,_0x328dfa=this[_0x3aaf31(0x122)][_0x3aaf31(0xfa)][_0x3aaf31(0x12d)](_0x3aaf31(0x103));return this[_0x3aaf31(0x106)]>=_0x328dfa&&(this[_0x3aaf31(0x106)]=0x0),new c(this[_0x3aaf31(0x106)]++);}[_0x217605(0xfd)](){const _0x3fa743=_0x217605,_0x1558a4=this[_0x3fa743(0x122)][_0x3fa743(0xfa)][_0x3fa743(0x12d)](_0x3fa743(0x134));this[_0x3fa743(0x117)]({'id':_0x1558a4,'name':_0x2d183f(this[_0x3fa743(0x10f)],_0x3fa743(0xfe))})[_0x3fa743(0x12a)]=!0x0;}}export class User{constructor(_0x1a703d,_0x24a87a){const _0x2698a2=_0x217605;this['id']=_0x1a703d['id'],this[_0x2698a2(0x13d)]=_0x1a703d[_0x2698a2(0x13d)],this[_0x2698a2(0x113)]=_0x1a703d[_0x2698a2(0x113)],this[_0x2698a2(0x11e)]=_0x24a87a?_0x24a87a(this[_0x2698a2(0x113)]):this[_0x2698a2(0x138)](),this[_0x2698a2(0x129)]=_0x1a703d[_0x2698a2(0x129)],this[_0x2698a2(0x12a)]=!0x1,this[_0x2698a2(0x133)]=!0x1;}get[_0x217605(0x110)](){const _0x3e4a8f=_0x217605;return this[_0x3e4a8f(0x12a)];}get[_0x217605(0x126)](){const _0x35ec1c=_0x217605;return this[_0x35ec1c(0x133)];}[_0x217605(0x138)](){const _0x364d64=_0x217605,_0x58675f=this[_0x364d64(0x113)][_0x364d64(0x111)]('\x20')[_0x364d64(0x10c)](_0x1a3db1=>/^[a-zA-Z]/[_0x364d64(0x12e)](_0x1a3db1));return 0x1===_0x58675f[_0x364d64(0x120)]?this[_0x364d64(0x114)](_0x58675f[0x0]):this[_0x364d64(0x114)](_0x58675f[0x0])+this[_0x364d64(0x114)](_0x58675f[_0x58675f[_0x364d64(0x120)]-0x1]);}[_0x217605(0x114)](_0x5868ae){const _0x545a1d=_0x217605;return _0x5868ae[_0x545a1d(0x137)](0x0)[_0x545a1d(0x116)]();}}function h(_0x5f23ff,_0xefba99=''){const _0x4326be=_0x217605;return''==(_0xefba99=_0xefba99[_0x4326be(0x13c)]())?_0x2d183f(_0x5f23ff,_0x4326be(0xfe)):_0xefba99;}class c{constructor(_0x36b87f){const _0x4902f7=_0x217605;this[_0x4902f7(0x13b)]=_0x36b87f;}[_0x217605(0x11d)](){const _0x34ade8=_0x217605;return _0x34ade8(0x115)+this[_0x34ade8(0x13b)];}[_0x217605(0x12c)](){const _0x2edfe9=_0x217605;return _0x2edfe9(0x104)+this[_0x2edfe9(0x13b)];}[_0x217605(0x139)](){const _0x4015c9=_0x217605;return _0x4015c9(0x100)+this[_0x4015c9(0x13b)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x379179,_0x5f44cb){const t=_0x379179['t'];switch(_0x5f44cb){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 _0x30b0(){var _0x12927e=['514038hBOiod','deregisterChild','remove','_removeConfirm','1001768ROQvPG','5jVIQrp','message','set','1DvlopW','8LpFNdl','destroy','element','1207619GuPABv','submit','isConfirm','showConfirm','appendChild','744075fXoDGw','fire','focus','once','locale','registerChild','cancelConfirm','9bbPHLa','625118tUVInl','5796820mLRRwB','15710189RXVCYx','confirmView','cancel','removeConfirm','render'];_0x30b0=function(){return _0x12927e;};return _0x30b0();}(function(_0x5cb031,_0x286333){var _0x2eba4d=_0xdd03,_0x116419=_0x5cb031();while(!![]){try{var _0x51d9e3=parseInt(_0x2eba4d(0x1ca))/0x1*(parseInt(_0x2eba4d(0x1bb))/0x2)+parseInt(_0x2eba4d(0x1ba))/0x3*(-parseInt(_0x2eba4d(0x1c6))/0x4)+parseInt(_0x2eba4d(0x1c7))/0x5*(parseInt(_0x2eba4d(0x1c2))/0x6)+-parseInt(_0x2eba4d(0x1ce))/0x7*(-parseInt(_0x2eba4d(0x1cb))/0x8)+-parseInt(_0x2eba4d(0x1d3))/0x9+-parseInt(_0x2eba4d(0x1bc))/0xa+parseInt(_0x2eba4d(0x1bd))/0xb;if(_0x51d9e3===_0x286333)break;else _0x116419['push'](_0x116419['shift']());}catch(_0x20a815){_0x116419['push'](_0x116419['shift']());}}}(_0x30b0,0x8ee31));import _0xa2337f from'./confirmview.js';function _0xdd03(_0x156b13,_0xc07864){var _0x30b04c=_0x30b0();return _0xdd03=function(_0xdd0365,_0x3a09da){_0xdd0365=_0xdd0365-0x1b5;var _0x1b51b7=_0x30b04c[_0xdd0365];return _0x1b51b7;},_0xdd03(_0x156b13,_0xc07864);}export default function f(_0x5735c7){var _0x9a6f12=_0xdd03;return class extends _0x5735c7{[_0x9a6f12(0x1d1)](_0x57066b,_0x5e7f62){var _0x56beb8=_0x9a6f12;return this[_0x56beb8(0x1be)]=new _0xa2337f(this[_0x56beb8(0x1b7)]),this[_0x56beb8(0x1be)][_0x56beb8(0x1c1)](),this[_0x56beb8(0x1be)][_0x56beb8(0x1c8)]=_0x57066b,this[_0x56beb8(0x1be)][_0x56beb8(0x1b6)](_0x56beb8(0x1bf),()=>{var _0x530e36=_0x56beb8;this[_0x530e36(0x1c5)]();}),this[_0x56beb8(0x1be)][_0x56beb8(0x1b6)](_0x56beb8(0x1cf),()=>{var _0x49f301=_0x56beb8;this[_0x49f301(0x1c5)]();}),_0x5e7f62[_0x56beb8(0x1d2)](this[_0x56beb8(0x1be)][_0x56beb8(0x1cd)]),this[_0x56beb8(0x1b8)](this[_0x56beb8(0x1be)]),this[_0x56beb8(0x1be)][_0x56beb8(0x1b5)](),this[_0x56beb8(0x1c9)](_0x56beb8(0x1d0),!0x0),new Promise(_0x377c81=>this[_0x56beb8(0x1be)]['on'](_0x56beb8(0x1cf),_0x377c81));}[_0x9a6f12(0x1b9)](){var _0x2a7c95=_0x9a6f12;this[_0x2a7c95(0x1d0)]&&this[_0x2a7c95(0x1be)][_0x2a7c95(0x1d4)](_0x2a7c95(0x1bf));}[_0x9a6f12(0x1c5)](){var _0x55f3e6=_0x9a6f12;this[_0x55f3e6(0x1cd)]&&this[_0x55f3e6(0x1be)]&&this[_0x55f3e6(0x1be)][_0x55f3e6(0x1cd)]&&(this[_0x55f3e6(0x1cd)][_0x55f3e6(0x1b5)](),this[_0x55f3e6(0x1be)][_0x55f3e6(0x1cd)][_0x55f3e6(0x1c4)](),this[_0x55f3e6(0x1c3)](this[_0x55f3e6(0x1be)]),this[_0x55f3e6(0x1d0)]=!0x1,this[_0x55f3e6(0x1d4)](_0x55f3e6(0x1c0)),this[_0x55f3e6(0x1be)][_0x55f3e6(0x1cc)](),this[_0x55f3e6(0x1be)]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x34bb76=_0x3cdc;(function(_0x5d9110,_0x5bf94d){const _0x532536=_0x3cdc,_0x42413=_0x5d9110();while(!![]){try{const _0x53652d=parseInt(_0x532536(0x135))/0x1*(-parseInt(_0x532536(0x137))/0x2)+parseInt(_0x532536(0x14b))/0x3+parseInt(_0x532536(0x13f))/0x4*(parseInt(_0x532536(0x13e))/0x5)+-parseInt(_0x532536(0x145))/0x6+parseInt(_0x532536(0x159))/0x7+-parseInt(_0x532536(0x154))/0x8*(-parseInt(_0x532536(0x15a))/0x9)+parseInt(_0x532536(0x13a))/0xa;if(_0x53652d===_0x5bf94d)break;else _0x42413['push'](_0x42413['shift']());}catch(_0x4d6fd1){_0x42413['push'](_0x42413['shift']());}}}(_0x243f,0x50ea4));import{View as _0x5187de,ButtonView as _0x48bb4c,FocusCycler as _0x30cf02}from'ckeditor5/src/ui.js';import{icons as _0x8b01c}from'ckeditor5/src/core.js';function _0x243f(){const _0x2152d9=['esc','element','_setupKeyboardNavigation','render','add','forEach','listenTo','40hiEODL','set','10782Ekryrq','Yes','focusCycler','1159800AVIYUr','focusables','keystrokes','focus','1311655pxQtfm','4aBvKcl','tab','createCollection','alertdialog','cancel','shift+tab','867678EEZyfd','message','setTemplate','cancelView','ck-thread__remove-confirm-actions','focusTracker','12174raNRTt','Are\x20you\x20sure?','check','extendTemplate','ck-thread__remove-confirm-inner','label','_createButtonView','ck-thread__remove-confirm-','execute','8oNVbWf','presentation','bindTemplate','ck-thread__remove-confirm','submit','1917237QPywwY','318789IDDNHF','fire','icon','div','submitView'];_0x243f=function(){return _0x2152d9;};return _0x243f();}import{FocusTracker as _0x2a0b8a,KeystrokeHandler as _0x792545}from'ckeditor5/src/utils.js';import{getTranslation as _0x22a1e5}from'./common-translations.js';function _0x3cdc(_0x30cce9,_0xd8ead6){const _0x243fa4=_0x243f();return _0x3cdc=function(_0x3cdc7f,_0x584544){_0x3cdc7f=_0x3cdc7f-0x133;let _0x152989=_0x243fa4[_0x3cdc7f];return _0x152989;},_0x3cdc(_0x30cce9,_0xd8ead6);}export default class m extends _0x5187de{constructor(_0x435ac6){const _0x22b118=_0x3cdc;super(_0x435ac6);const _0x186413=this[_0x22b118(0x156)];this[_0x22b118(0x136)](_0x22b118(0x146),_0x22a1e5(_0x435ac6,_0x22b118(0x14c))),this[_0x22b118(0x15e)]=this[_0x22b118(0x151)](_0x435ac6,_0x22a1e5(_0x435ac6,_0x22b118(0x138)),_0x8b01c[_0x22b118(0x14d)],_0x22b118(0x158)),this[_0x22b118(0x148)]=this[_0x22b118(0x151)](_0x435ac6,_0x22a1e5(_0x435ac6,'No'),_0x8b01c[_0x22b118(0x143)],_0x22b118(0x143)),this[_0x22b118(0x13b)]=this[_0x22b118(0x141)]([this[_0x22b118(0x15e)],this[_0x22b118(0x148)]]),this[_0x22b118(0x14a)]=new _0x2a0b8a(),this[_0x22b118(0x13c)]=new _0x792545(),this[_0x22b118(0x139)]=new _0x30cf02({'focusables':this[_0x22b118(0x13b)],'focusTracker':this[_0x22b118(0x14a)],'keystrokeHandler':this[_0x22b118(0x13c)],'actions':{'focusPrevious':_0x22b118(0x144),'focusNext':_0x22b118(0x140)}}),this[_0x22b118(0x147)]({'tag':_0x22b118(0x15d),'attributes':{'class':['ck',_0x22b118(0x157)],'tabindex':-0x1,'role':_0x22b118(0x142)},'children':[{'tag':_0x22b118(0x15d),'attributes':{'class':_0x22b118(0x14f),'role':_0x22b118(0x155)},'children':[{'tag':'p','children':[{'text':_0x186413['to'](_0x22b118(0x146))}]},{'tag':_0x22b118(0x15d),'attributes':{'class':_0x22b118(0x149)},'children':[this[_0x22b118(0x15e)],this[_0x22b118(0x148)]]}]}]});}[_0x34bb76(0x162)](){const _0x544dd2=_0x34bb76;super[_0x544dd2(0x162)](),this[_0x544dd2(0x161)]();}[_0x34bb76(0x13d)](){const _0x17d1a9=_0x34bb76;this[_0x17d1a9(0x148)][_0x17d1a9(0x160)][_0x17d1a9(0x13d)]({'preventScroll':!0x0});}[_0x34bb76(0x151)](_0x1224fd,_0x240504,_0x3ee439,_0x4b52fb){const _0xf085c5=_0x34bb76,_0x2dc28c=new _0x48bb4c(_0x1224fd);return _0x2dc28c[_0xf085c5(0x150)]=_0x240504,_0x2dc28c[_0xf085c5(0x15c)]=_0x3ee439,_0x2dc28c[_0xf085c5(0x14e)]({'attributes':{'class':_0xf085c5(0x152)+_0x4b52fb}}),_0x2dc28c['on'](_0xf085c5(0x153),()=>this[_0xf085c5(0x15b)](_0x4b52fb)),_0x2dc28c;}[_0x34bb76(0x161)](){const _0x596730=_0x34bb76;this[_0x596730(0x13b)][_0x596730(0x133)](_0x938add=>{const _0x3bde5a=_0x596730;this[_0x3bde5a(0x13c)][_0x3bde5a(0x134)](_0x938add[_0x3bde5a(0x160)]),this[_0x3bde5a(0x14a)][_0x3bde5a(0x163)](_0x938add[_0x3bde5a(0x160)]);}),this[_0x596730(0x13c)][_0x596730(0x136)](_0x596730(0x15f),(_0x21ecb6,_0x153275)=>{const _0x58e3e0=_0x596730;this[_0x58e3e0(0x15b)](_0x58e3e0(0x143)),_0x153275();});}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x184dfb,_0x4e1632){const _0xa28451=_0x35c0,_0x141e3d=_0x184dfb();while(!![]){try{const _0x379a78=parseInt(_0xa28451(0x1d5))/0x1*(-parseInt(_0xa28451(0x1d3))/0x2)+-parseInt(_0xa28451(0x1c6))/0x3*(-parseInt(_0xa28451(0x1c4))/0x4)+parseInt(_0xa28451(0x1ce))/0x5*(parseInt(_0xa28451(0x1cf))/0x6)+-parseInt(_0xa28451(0x1da))/0x7*(-parseInt(_0xa28451(0x1d0))/0x8)+-parseInt(_0xa28451(0x1cc))/0x9+parseInt(_0xa28451(0x1c8))/0xa*(-parseInt(_0xa28451(0x1cd))/0xb)+-parseInt(_0xa28451(0x1c5))/0xc;if(_0x379a78===_0x4e1632)break;else _0x141e3d['push'](_0x141e3d['shift']());}catch(_0x3b43f1){_0x141e3d['push'](_0x141e3d['shift']());}}}(_0x50f7,0x5eef2));import{DateTime as _0x1a8d4f}from'luxon';function _0x35c0(_0x468774,_0x3729c2){const _0x50f771=_0x50f7();return _0x35c0=function(_0x35c074,_0x10ce94){_0x35c074=_0x35c074-0x1bf;let _0x35b095=_0x50f771[_0x35c074];return _0x35b095;},_0x35c0(_0x468774,_0x3729c2);}function _0x50f7(){const _0x49fc49=['90qKFAQK','string','LL-dd-yyyy\x20hh:mma','function','1504188yVkdfb','42229fHGRGz','1055935GwGufS','6BSCitB','6008qeKOGc','toJSDate','invalid-date-time-format','51742mwQumc','floor','1rWyHtQ','fromISO','diff','\x27Last\x27\x20EEEE\x20hh:mma','toFormat','4403VxjIbc','days','dateTimeFormat','fromJSDate','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','956588erlvoW','3675708jQVGQr','3ZbTiqI','now'];_0x50f7=function(){return _0x49fc49;};return _0x50f7();}import{CKEditorError as _0x2cbfc2}from'ckeditor5/src/utils.js';export default function E(_0xaf50ea={}){const _0x214bdb=_0x35c0;if(void 0x0!==_0xaf50ea[_0x214bdb(0x1c0)]&&_0x214bdb(0x1cb)!=typeof _0xaf50ea[_0x214bdb(0x1c0)])throw new _0x2cbfc2(_0x214bdb(0x1d2));return _0xecfdbf=>{const _0x5c17da=_0x214bdb,_0x2cd9ac=_0x5c17da(0x1c9)==typeof _0xecfdbf?_0x1a8d4f[_0x5c17da(0x1d6)](_0xecfdbf):_0x1a8d4f[_0x5c17da(0x1c1)](_0xecfdbf),_0x556b48=_0x1a8d4f[_0x5c17da(0x1c7)](),_0x55cf4c=Math[_0x5c17da(0x1d4)](_0x556b48[_0x5c17da(0x1d7)](_0x2cd9ac,_0x5c17da(0x1bf))[_0x5c17da(0x1bf)]);return _0xaf50ea[_0x5c17da(0x1c0)]?_0xaf50ea[_0x5c17da(0x1c0)](_0x2cd9ac[_0x5c17da(0x1d1)]()):0x0===_0x55cf4c?_0x2cd9ac[_0x5c17da(0x1d9)](_0x5c17da(0x1c2)):0x1===_0x55cf4c?_0x2cd9ac[_0x5c17da(0x1d9)](_0x5c17da(0x1c3)):_0x55cf4c<0x7?_0x2cd9ac[_0x5c17da(0x1d9)](_0x5c17da(0x1d8)):_0x2cd9ac[_0x5c17da(0x1d9)](_0x5c17da(0x1ca));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x15b6(){const _0x473189=['mapViewToDom','sort','20392ERdIBO','15gpqNiu','3kDmpBl','markerNameToElements','view','1803806kMSPzL','values','item','10058760iQospU','length','2156WpSJwG','892513gttarl','map','mapper','push','domConverter','filter','3590vSEWmL','domElement','225292PEFdBc','name','525318rXZsEt','100133JumaVa','from','getClientRects'];_0x15b6=function(){return _0x473189;};return _0x15b6();}(function(_0x36b89f,_0x1bd355){const _0x41ec8c=_0x1d02,_0x4aab57=_0x36b89f();while(!![]){try{const _0x21dafa=-parseInt(_0x41ec8c(0x73))/0x1+-parseInt(_0x41ec8c(0x6d))/0x2*(parseInt(_0x41ec8c(0x6a))/0x3)+-parseInt(_0x41ec8c(0x7b))/0x4+-parseInt(_0x41ec8c(0x69))/0x5*(parseInt(_0x41ec8c(0x7d))/0x6)+-parseInt(_0x41ec8c(0x72))/0x7*(-parseInt(_0x41ec8c(0x68))/0x8)+-parseInt(_0x41ec8c(0x70))/0x9+parseInt(_0x41ec8c(0x79))/0xa*(parseInt(_0x41ec8c(0x7e))/0xb);if(_0x21dafa===_0x1bd355)break;else _0x4aab57['push'](_0x4aab57['shift']());}catch(_0x64ea18){_0x4aab57['push'](_0x4aab57['shift']());}}}(_0x15b6,0xc8b0f));import{first as _0x34fd7e}from'ckeditor5/src/utils.js';function _0x1d02(_0x39e6a8,_0x4215fe){const _0x15b697=_0x15b6();return _0x1d02=function(_0x1d0220,_0x42afe9){_0x1d0220=_0x1d0220-0x67;let _0x57133e=_0x15b697[_0x1d0220];return _0x57133e;},_0x1d02(_0x39e6a8,_0x4215fe);}export default function A(_0x28908a,_0x59b6f0){const _0xf54bf6=_0x1d02,_0x5af9b8=_0x28908a[_0xf54bf6(0x75)][_0xf54bf6(0x6b)](_0x59b6f0[_0xf54bf6(0x7c)]);if(!_0x5af9b8)return null;const _0x261a2c=_0x34fd7e(_0x5af9b8[_0xf54bf6(0x6e)]());return _0x28908a[_0xf54bf6(0x6c)][_0xf54bf6(0x77)][_0xf54bf6(0x81)](_0x261a2c)||null;}export function getAllMarkersDomElementsSorted(_0x2acd9a,_0x5df80c){const _0x30c680=_0x1d02;if(0x0===_0x5df80c[_0x30c680(0x71)])return null;const _0x113d28=[],_0x14b6ee=_0x2acd9a[_0x30c680(0x6c)][_0x30c680(0x77)];for(const _0x556c4f of _0x5df80c){const _0x128ca7=_0x2acd9a[_0x30c680(0x75)][_0x30c680(0x6b)](_0x556c4f[_0x30c680(0x7c)]);if(!_0x128ca7)continue;const _0x55b435=Array[_0x30c680(0x7f)](_0x128ca7)[_0x30c680(0x74)](_0x1c2ca9=>_0x14b6ee[_0x30c680(0x81)](_0x1c2ca9))[_0x30c680(0x78)](_0x140ab3=>!!_0x140ab3);_0x113d28[_0x30c680(0x76)](..._0x55b435);}if(0x0===_0x113d28[_0x30c680(0x71)])return null;const _0x3df481=[];for(const _0x5c0d86 of _0x113d28){const _0x2ff1fa=_0x5c0d86[_0x30c680(0x80)]()[_0x30c680(0x6f)](0x0);_0x2ff1fa&&_0x3df481[_0x30c680(0x76)]({'x':_0x2ff1fa['x'],'y':_0x2ff1fa['y'],'domElement':_0x5c0d86});}return 0x0===_0x3df481[_0x30c680(0x71)]?null:(_0x3df481[_0x30c680(0x67)]((_0x33a6b7,_0xc6462f)=>_0x33a6b7['y']-_0xc6462f['y']||_0x33a6b7['x']-_0xc6462f['x']),_0x3df481[_0x30c680(0x74)](_0x147347=>_0x147347[_0x30c680(0x7a)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x1d93(_0x45b7ab,_0x3c54d1){const _0x1b95a2=_0x1b95();return _0x1d93=function(_0x1d93ad,_0xb6391e){_0x1d93ad=_0x1d93ad-0x83;let _0x23e354=_0x1b95a2[_0x1d93ad];return _0x23e354;},_0x1d93(_0x45b7ab,_0x3c54d1);}(function(_0x480f24,_0xcf8f0e){const _0x374d0a=_0x1d93,_0xb66ec5=_0x480f24();while(!![]){try{const _0x31619e=-parseInt(_0x374d0a(0x8c))/0x1+parseInt(_0x374d0a(0x85))/0x2+-parseInt(_0x374d0a(0x8e))/0x3+-parseInt(_0x374d0a(0x8b))/0x4*(-parseInt(_0x374d0a(0x87))/0x5)+-parseInt(_0x374d0a(0x88))/0x6+parseInt(_0x374d0a(0x86))/0x7+-parseInt(_0x374d0a(0x94))/0x8*(-parseInt(_0x374d0a(0x8a))/0x9);if(_0x31619e===_0xcf8f0e)break;else _0xb66ec5['push'](_0xb66ec5['shift']());}catch(_0x1b0b68){_0xb66ec5['push'](_0xb66ec5['shift']());}}}(_0x1b95,0x580f3));export default function j(_0x3145dc){let _0x304606=0x0,_0xbe1705=0x0;for(const _0x34afae of M(_0x3145dc))_0x304606=(_0x304606<<0x5)-_0x304606+_0x34afae,_0x304606|=0x0,[_0x304606,_0xbe1705]=[_0xbe1705,_0x304606];return v(_0x304606)+v(_0xbe1705);}function _0x1b95(){const _0xa6e093=['sort','955018hhYNmC','3917081OMhxsj','4930ByMJaS','3661146pdWyVI','string','234vFrOvK','1948nLrxuX','188103lCFiVn','number','1545753ttGFVf','isArray','toString','charCodeAt','sign','keys','48296GlJTKi','object'];_0x1b95=function(){return _0xa6e093;};return _0x1b95();}function*g(_0x313a7c){const _0x511d32=_0x1d93;null==_0x313a7c||null==_0x313a7c?yield 0x12b9b0a1:0x0===_0x313a7c||!0x1===_0x313a7c?yield 0x0:0x1===_0x313a7c||0x1==_0x313a7c?yield 0x1:Array[_0x511d32(0x8f)](_0x313a7c)?yield*function*(_0x51b942){for(const _0x259de4 of _0x51b942)yield*g(_0x259de4);}(_0x313a7c):_0x511d32(0x83)==typeof _0x313a7c?yield*M(_0x313a7c):_0x511d32(0x89)==typeof _0x313a7c?yield*O(_0x313a7c):_0x511d32(0x8d)==typeof _0x313a7c&&(yield _0x313a7c);}function*M(_0x23bff0){const _0x1c5367=_0x1d93;if(yield q('{'),_0x23bff0){const _0x511554=Object[_0x1c5367(0x93)](_0x23bff0)[_0x1c5367(0x84)]();for(const _0x487e3e of _0x511554){yield*O(_0x487e3e),yield q(':');const _0x2cd137=_0x23bff0[_0x487e3e];yield*g(_0x2cd137);}}yield q('}');}function*O(_0x146756){yield q('\x22');for(const _0x445ee4 of _0x146756)yield q(_0x445ee4);yield q('\x22');}function q(_0x246441){const _0x1c8bd9=_0x1d93;return _0x246441[_0x1c8bd9(0x91)](0x0);}function v(_0x48367c){const _0x3e3e45=_0x1d93;return(_0x48367c*=Math[_0x3e3e45(0x92)](_0x48367c))[_0x3e3e45(0x90)](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x5adf(_0x56998d,_0x33a323){const _0x5f545d=_0x5f54();return _0x5adf=function(_0x5adf49,_0x56c1df){_0x5adf49=_0x5adf49-0x8f;let _0x36d695=_0x5f545d[_0x5adf49];return _0x36d695;},_0x5adf(_0x56998d,_0x33a323);}const _0x14ef4e=_0x5adf;(function(_0x2895c1,_0x215d0b){const _0x57eaaf=_0x5adf,_0x476248=_0x2895c1();while(!![]){try{const _0x2eb046=parseInt(_0x57eaaf(0x9b))/0x1+parseInt(_0x57eaaf(0xa7))/0x2*(parseInt(_0x57eaaf(0xaf))/0x3)+-parseInt(_0x57eaaf(0xb0))/0x4+-parseInt(_0x57eaaf(0x98))/0x5+-parseInt(_0x57eaaf(0xae))/0x6*(parseInt(_0x57eaaf(0xb9))/0x7)+-parseInt(_0x57eaaf(0x96))/0x8*(-parseInt(_0x57eaaf(0xa4))/0x9)+parseInt(_0x57eaaf(0x97))/0xa;if(_0x2eb046===_0x215d0b)break;else _0x476248['push'](_0x476248['shift']());}catch(_0x1c5e5e){_0x476248['push'](_0x476248['shift']());}}}(_0x5f54,0x3d48a));const w=[_0x14ef4e(0xb3),_0x14ef4e(0xb7),_0x14ef4e(0xb5),_0x14ef4e(0x95)],W=[_0x14ef4e(0xa2),_0x14ef4e(0x9e),_0x14ef4e(0x94),_0x14ef4e(0xa8),_0x14ef4e(0xb4),_0x14ef4e(0xaa)];function _0x5f54(){const _0x2dc67d=['config','string','includes','constructor','Autosave','rootsAttributes','189016lzgnAv','4123680yPfeib','1673110RnMPsh','has','names','217411NCKcwO','concat','length','RevisionTracker','every','prototype','removePlugins','WebSocketGateway','extraPlugins','9ciZPEu','find','pluginName','10386EneyND','WordCount','_context','WProofreader','builtinPlugins','from','filter','155382tEUggH','213uHTNRt','399232rhidmj','get','plugins','initialData','DocumentOutline','toolbar','requires','context','set','91PVnTvH','map'];_0x5f54=function(){return _0x2dc67d;};return _0x5f54();}function D(_0x53a7dd,_0x5a7ac8,_0x35ef98,_0x14972c=[]){const _0x233df8=_0x14ef4e,_0x5552f5=_0x233df8(0x91)==typeof _0x53a7dd?_0x35ef98[_0x233df8(0xb1)](_0x53a7dd)[_0x233df8(0x93)]:_0x53a7dd[_0x233df8(0xa0)][_0x233df8(0x93)];if(_0x5a7ac8[_0x233df8(0x99)](_0x5552f5))return _0x5a7ac8[_0x233df8(0xb1)](_0x5552f5);_0x5a7ac8[_0x233df8(0xb8)](_0x5552f5,!0x0);const _0x3cdabf=[...W,..._0x14972c][_0x233df8(0x8f)](_0x1c585a=>{const _0xc3478a=_0x233df8;if(_0x35ef98[_0xc3478a(0x99)](_0x1c585a))return _0x35ef98[_0xc3478a(0xb1)](_0x1c585a)[_0xc3478a(0x93)];})[_0x233df8(0xad)](_0x1babae=>_0x1babae);if(_0x5552f5&&_0x3cdabf[_0x233df8(0x92)](_0x5552f5))return _0x5a7ac8[_0x233df8(0xb8)](_0x5552f5,!0x1),!0x1;if(!_0x5552f5[_0x233df8(0xb6)])return _0x5a7ac8[_0x233df8(0xb8)](_0x5552f5,!0x0),!0x0;const _0x26fc85=_0x5552f5[_0x233df8(0xb6)][_0x233df8(0x9f)](_0x2bfa76=>D(_0x2bfa76,_0x5a7ac8,_0x35ef98,_0x14972c));return _0x5a7ac8[_0x233df8(0xb8)](_0x5552f5,_0x26fc85),_0x26fc85;}export default function S(_0x4cf671,_0x298f8b){const _0x521c2f=_0x14ef4e,_0x4c52e7={};for(const _0x4552bd of _0x4cf671[_0x521c2f(0x90)][_0x521c2f(0x9a)]())w[_0x521c2f(0x92)](_0x4552bd)||(_0x4c52e7[_0x4552bd]=_0x4cf671[_0x521c2f(0x90)][_0x521c2f(0xb1)](_0x4552bd));const _0x8eb78d=_0x4c52e7[_0x521c2f(0xb2)]||[],_0xf1f4f0=_0x4cf671[_0x521c2f(0x93)][_0x521c2f(0xab)]||[],_0x4c8aba=_0x8eb78d[_0x521c2f(0x9d)]?_0x8eb78d:_0xf1f4f0,_0x23c6f9=_0x4c52e7[_0x521c2f(0xa3)]||[];delete _0x4c52e7[_0x521c2f(0xa3)];const _0x341db3=_0x4c52e7[_0x521c2f(0xa1)]||[];delete _0x4c52e7[_0x521c2f(0xa1)];const _0x4753b0=_0x4cf671[_0x521c2f(0xa9)][_0x521c2f(0x90)][_0x521c2f(0xb1)](_0x521c2f(0xb2))||[],_0x58dc98=_0x4c8aba[_0x521c2f(0x9c)](_0x23c6f9)[_0x521c2f(0x9c)](_0x4753b0)[_0x521c2f(0x8f)](_0x25d5fc=>_0x521c2f(0x91)==typeof _0x25d5fc?_0xf1f4f0[_0x521c2f(0xa5)](_0x550ed8=>_0x550ed8[_0x521c2f(0xa6)]==_0x25d5fc):_0x25d5fc)[_0x521c2f(0xad)](_0x8b105d=>!_0x341db3[_0x521c2f(0x92)](_0x8b105d)&&!_0x341db3[_0x521c2f(0x92)](_0x8b105d[_0x521c2f(0xa6)])),_0x4b2dbc=Array[_0x521c2f(0xac)](new Set(_0x58dc98)),_0x1511c7=new Map();return _0x4c52e7[_0x521c2f(0xb2)]=_0x4b2dbc[_0x521c2f(0xad)](_0x41138a=>D(_0x41138a,_0x1511c7,_0x4cf671[_0x521c2f(0xb2)],_0x298f8b)),_0x4c52e7;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x5c2e4d=_0x7a7e;(function(_0x163208,_0x3c4eab){const _0x5eafcb=_0x7a7e,_0x499355=_0x163208();while(!![]){try{const _0x4acc06=parseInt(_0x5eafcb(0xc8))/0x1*(-parseInt(_0x5eafcb(0xbd))/0x2)+parseInt(_0x5eafcb(0xbe))/0x3*(parseInt(_0x5eafcb(0xcc))/0x4)+parseInt(_0x5eafcb(0xd7))/0x5+parseInt(_0x5eafcb(0xc5))/0x6*(parseInt(_0x5eafcb(0xd2))/0x7)+-parseInt(_0x5eafcb(0xde))/0x8*(parseInt(_0x5eafcb(0xce))/0x9)+parseInt(_0x5eafcb(0xc6))/0xa+-parseInt(_0x5eafcb(0xd0))/0xb;if(_0x4acc06===_0x3c4eab)break;else _0x499355['push'](_0x499355['shift']());}catch(_0x13223a){_0x499355['push'](_0x499355['shift']());}}}(_0x49d4,0xdc8ae));import{isViewWithFocusCycler as _0x53638d}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x5c2e4d(0xb9);export default function T(_0x5e9e74,_0x2287eb){const _0xb85c7e=_0x5c2e4d,_0x426cf8=_0x5e9e74[_0xb85c7e(0xd5)];_0x5e9e74[_0xb85c7e(0xd4)][_0xb85c7e(0xd9)](_0x426cf8);for(const _0x240084 of _0x2287eb)C(_0x5e9e74,_0x240084);_0x2287eb['on'](_0xb85c7e(0xdd),(_0x357fa3,_0x5bdaa2)=>{const _0x1f3ab7=_0xb85c7e;for(const _0x335464 of _0x5bdaa2[_0x1f3ab7(0xd1)])K(_0x5e9e74,_0x335464);for(const _0x3eadd9 of Array[_0x1f3ab7(0xcf)](_0x5bdaa2[_0x1f3ab7(0xda)])[_0x1f3ab7(0xc7)]())C(_0x5e9e74,_0x3eadd9);}),_0x5e9e74[_0xb85c7e(0xd4)][_0xb85c7e(0xc9)](_0xb85c7e(0xdf),(_0x618dcb,_0x4cd2ef)=>{const _0x20e720=_0xb85c7e;_0x426cf8===_0x618dcb[_0x20e720(0xbb)]&&(_0x5e9e74[_0x20e720(0xcb)][_0x20e720(0xbf)](),_0x4cd2ef());},{'filter':_0x19f277=>_0x19f277[_0xb85c7e(0xbb)]===_0x426cf8}),_0x5e9e74[_0xb85c7e(0xd4)][_0xb85c7e(0xc9)](_0xb85c7e(0xd8),(_0x3b81be,_0x5abc0f)=>{const _0x5aeb8e=_0xb85c7e;_0x426cf8!==_0x3b81be[_0x5aeb8e(0xbb)]?_0x5e9e74[_0x5aeb8e(0xc1)]():_0x5e9e74[_0x5aeb8e(0xd3)](_0x5aeb8e(0xbc)),_0x5abc0f();}),_0x5e9e74[_0xb85c7e(0xd4)][_0xb85c7e(0xc9)](_0xb85c7e(0xba),(_0x45e857,_0x3e213f)=>{const _0x24659d=_0xb85c7e;_0x426cf8===_0x45e857[_0x24659d(0xbb)]&&(_0x5e9e74[_0x24659d(0xd3)](_0x24659d(0xba)),_0x3e213f());}),_0x5e9e74[_0xb85c7e(0xd4)][_0xb85c7e(0xc9)](_0xb85c7e(0xcd),(_0x4b84e3,_0x5925dc)=>{const _0xe7f45d=_0xb85c7e;_0x426cf8===_0x4b84e3[_0xe7f45d(0xbb)]&&(_0x5e9e74[_0xe7f45d(0xd3)](_0xe7f45d(0xcd)),_0x5925dc());});}function C(_0x49036c,_0x528324){const _0x45c7bb=_0x5c2e4d;_0x528324[_0x45c7bb(0xc3)]&&(_0x49036c[_0x45c7bb(0xb8)][_0x45c7bb(0xdc)](_0x528324[_0x45c7bb(0xd5)]),_0x49036c[_0x45c7bb(0xd4)][_0x45c7bb(0xd9)](_0x528324[_0x45c7bb(0xd5)]),_0x53638d(_0x528324)&&function(_0xc63e27,_0x1a040e){const _0x2c8aa2=_0x45c7bb,_0xa72b96=_0xc63e27[_0x2c8aa2(0xd6)],_0x345ae1=_0x1a040e[_0x2c8aa2(0xd6)];for(const _0x1e5c8c of Object[_0x2c8aa2(0xca)](_0xa72b96))if(_0x1e5c8c in _0x345ae1&&_0xa72b96[_0x1e5c8c]!==_0x345ae1[_0x1e5c8c])return!0x1;return!0x0;}(_0x49036c[_0x45c7bb(0xcb)],_0x528324[_0x45c7bb(0xcb)])&&_0x49036c[_0x45c7bb(0xcb)][_0x45c7bb(0xc0)](_0x528324[_0x45c7bb(0xcb)]));}function _0x7a7e(_0x89c1cf,_0x4a5df2){const _0x49d49d=_0x49d4();return _0x7a7e=function(_0x7a7ea7,_0x4076c0){_0x7a7ea7=_0x7a7ea7-0xb8;let _0xedb9e=_0x49d49d[_0x7a7ea7];return _0xedb9e;},_0x7a7e(_0x89c1cf,_0x4a5df2);}function K(_0x55f141,_0x4c3114){const _0x16646f=_0x5c2e4d;_0x55f141[_0x16646f(0xb8)][_0x16646f(0xc4)](_0x4c3114[_0x16646f(0xd5)]),_0x55f141[_0x16646f(0xd4)][_0x16646f(0xdb)](_0x4c3114[_0x16646f(0xd5)]),_0x53638d(_0x4c3114)&&_0x55f141[_0x16646f(0xcb)][_0x16646f(0xc2)](_0x4c3114[_0x16646f(0xcb)]);}function _0x49d4(){const _0x5cef78=['stopListening','add','change','8sMJQhm','enter','focusTracker','Ctrl+Shift+E','arrowdown','target','escape','382CFOjVE','1254075cLQbCY','focusFirst','chain','focus','unchain','isRendered','remove','4088514TFhJNw','15728240ezMoZr','reverse','8433hWcuOE','set','keys','focusCycler','16OpDFnV','arrowup','7763319vIUwcd','from','24614040KfGnjM','removed','14YoBWRI','fire','keystrokes','element','actions','5032570LVcTXB','esc','listenTo','added'];_0x49d4=function(){return _0x5cef78;};return _0x49d4();}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x4b0a97,_0x55d55c){const _0x2f1b0f=_0xe81a,_0x3fbc1a=_0x4b0a97();while(!![]){try{const _0xb5487d=parseInt(_0x2f1b0f(0x15b))/0x1+-parseInt(_0x2f1b0f(0x15c))/0x2+-parseInt(_0x2f1b0f(0x16d))/0x3*(parseInt(_0x2f1b0f(0x16e))/0x4)+-parseInt(_0x2f1b0f(0x164))/0x5*(-parseInt(_0x2f1b0f(0x16a))/0x6)+-parseInt(_0x2f1b0f(0x15f))/0x7*(-parseInt(_0x2f1b0f(0x15e))/0x8)+parseInt(_0x2f1b0f(0x16f))/0x9*(parseInt(_0x2f1b0f(0x159))/0xa)+parseInt(_0x2f1b0f(0x161))/0xb*(-parseInt(_0x2f1b0f(0x15a))/0xc);if(_0xb5487d===_0x55d55c)break;else _0x3fbc1a['push'](_0x3fbc1a['shift']());}catch(_0x2727b4){_0x3fbc1a['push'](_0x3fbc1a['shift']());}}}(_0x4e2e,0x9270d));function _0xe81a(_0x710ed0,_0x1ab969){const _0x4e2e2a=_0x4e2e();return _0xe81a=function(_0xe81aef,_0x4bf011){_0xe81aef=_0xe81aef-0x159;let _0x5a628e=_0x4e2e2a[_0xe81aef];return _0x5a628e;},_0xe81a(_0x710ed0,_0x1ab969);}export default function z(_0x24301d,_0x2405e4){const _0x1ca055=_0xe81a,_0x1307b1=[];_0x24301d[_0x1ca055(0x170)][_0x1ca055(0x163)]['on'](_0x1ca055(0x16c),()=>{const _0x307be3=_0x1ca055,_0x18d88f=function(_0x8767cc,_0x11ef12){const _0x43ab78=_0xe81a,_0x2fe5b6=[];for(const _0x461d81 of _0x8767cc[_0x43ab78(0x166)]){const _0x1c3f93=_0x461d81[_0x43ab78(0x15d)]();(_0x1c3f93[_0x43ab78(0x160)](_0x11ef12)||_0x1c3f93[_0x43ab78(0x168)][_0x43ab78(0x169)](_0x11ef12)||_0x1c3f93[_0x43ab78(0x16b)][_0x43ab78(0x169)](_0x11ef12))&&_0x2fe5b6[_0x43ab78(0x167)](_0x461d81);}return _0x2fe5b6;}(_0x24301d,_0x24301d[_0x307be3(0x170)][_0x307be3(0x163)][_0x307be3(0x165)]),_0x10202a=[],_0x36bf00=[],_0x1b8845=[];for(const _0x4b71b2 of _0x1307b1)_0x18d88f[_0x307be3(0x171)](_0x4b71b2)||_0x10202a[_0x307be3(0x167)](_0x4b71b2);for(const _0x202fe7 of _0x18d88f)_0x1307b1[_0x307be3(0x171)](_0x202fe7)||_0x36bf00[_0x307be3(0x167)](_0x202fe7),_0x1b8845[_0x307be3(0x167)](_0x202fe7);(_0x10202a[_0x307be3(0x162)]||_0x36bf00[_0x307be3(0x162)])&&_0x2405e4({'left':_0x10202a,'entered':_0x36bf00}),_0x1307b1[_0x307be3(0x162)]=0x0,_0x1307b1[_0x307be3(0x167)](..._0x1b8845);});}function _0x4e2e(){const _0x43c359=['29308HDskVe','3609amlSHK','document','includes','21230uTVIoq','168ERTSEa','1135864HcaLHU','1385790ZCtNet','getRange','8mJoBpc','4315570fVNAeg','containsPosition','227601WWYPfm','length','selection','22365lZOOtP','focus','markers','push','start','isEqual','6EBlVXN','end','change:range','420MZdrVw'];_0x4e2e=function(){return _0x43c359;};return _0x4e2e();}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x248479=_0x2d2d;(function(_0x17b38f,_0x479d5a){const _0x3b3b73=_0x2d2d,_0x33e8f0=_0x17b38f();while(!![]){try{const _0x2ffda2=parseInt(_0x3b3b73(0x175))/0x1+-parseInt(_0x3b3b73(0x17a))/0x2+parseInt(_0x3b3b73(0x184))/0x3*(parseInt(_0x3b3b73(0x178))/0x4)+-parseInt(_0x3b3b73(0x188))/0x5*(-parseInt(_0x3b3b73(0x17e))/0x6)+-parseInt(_0x3b3b73(0x17c))/0x7*(-parseInt(_0x3b3b73(0x17d))/0x8)+parseInt(_0x3b3b73(0x17f))/0x9+parseInt(_0x3b3b73(0x179))/0xa*(-parseInt(_0x3b3b73(0x172))/0xb);if(_0x2ffda2===_0x479d5a)break;else _0x33e8f0['push'](_0x33e8f0['shift']());}catch(_0x180302){_0x33e8f0['push'](_0x33e8f0['shift']());}}}(_0x862d,0x59254));function _0x2d2d(_0x3bef4a,_0xe9d3b7){const _0x862d9d=_0x862d();return _0x2d2d=function(_0x2d2d19,_0x2bcb9d){_0x2d2d19=_0x2d2d19-0x172;let _0x69a6a2=_0x862d9d[_0x2d2d19];return _0x69a6a2;},_0x2d2d(_0x3bef4a,_0xe9d3b7);}export default function Z(_0x7fc6fc,{limit:_0x501efd,suffix:_0x41711a=_0x248479(0x177)}){const _0x453a79=_0x248479,_0x23a788=[];let _0x25538e=0x0;const _0x10bf61=_0x7fc6fc[_0x453a79(0x187)](/</g,'\x0a<')[_0x453a79(0x187)](/>/g,'>\x0a')[_0x453a79(0x187)](/^\n/g,'')[_0x453a79(0x187)](/\n$/g,'')[_0x453a79(0x183)]('\x0a');for(let _0x1b30e2=0x0;_0x1b30e2<_0x10bf61[_0x453a79(0x186)];_0x1b30e2++){let _0x87dc77=_0x10bf61[_0x1b30e2];const _0x2832d3=$(_0x87dc77);if(_0x87dc77[_0x453a79(0x174)]('<')){if(_0x25538e>=_0x501efd){const _0x4ae245=_0x87dc77[_0x453a79(0x180)](/[a-zA-Z]+/);if(!_0x4ae245){_0x10bf61[_0x1b30e2]='';continue;}const _0x5af464=_0x4ae245[0x0];_0x87dc77[_0x453a79(0x174)]('</')?(_0x23a788[_0x453a79(0x186)]&&(_0x87dc77=''),_0x23a788[_0x453a79(0x181)]()):(_0x23a788[_0x453a79(0x182)](_0x5af464),_0x87dc77='');}}else{if(_0x25538e>=_0x501efd)_0x87dc77='';else{if(_0x25538e+_0x2832d3[_0x453a79(0x186)]>=_0x501efd){let _0x988ca4=_0x501efd-_0x25538e;if('\x20'===_0x2832d3[_0x988ca4-0x1])_0x988ca4--;else{const _0x348b06=_0x2832d3[_0x453a79(0x173)](_0x988ca4)[_0x453a79(0x185)]('\x20');-0x1!==_0x348b06?_0x988ca4+=_0x348b06:_0x988ca4=_0x87dc77[_0x453a79(0x186)];}_0x87dc77=_0x2832d3[_0x453a79(0x173)](0x0,_0x988ca4)[_0x453a79(0x176)]('')+_0x41711a,_0x25538e=_0x501efd;}else _0x25538e+=_0x2832d3[_0x453a79(0x186)];}}_0x10bf61[_0x1b30e2]=_0x87dc77;}return _0x10bf61[_0x453a79(0x176)]('\x0a')[_0x453a79(0x187)](/\n/g,'');}function $(_0xd43c7){const _0x1e4c1b=_0x248479,_0x46fad3=[];for(let _0x588e56=0x0;_0x588e56<_0xd43c7[_0x1e4c1b(0x186)];_0x588e56++){const _0x2d846b=_0xd43c7[_0x1e4c1b(0x17b)](_0x588e56)[_0x1e4c1b(0x180)](/^&[a-z0-9#]+;/);if(_0x2d846b){const _0x2e6a95=_0x2d846b[0x0];_0x46fad3[_0x1e4c1b(0x182)](_0x2e6a95),_0x588e56+=_0x2e6a95[_0x1e4c1b(0x186)]-0x1;}else _0x46fad3[_0x1e4c1b(0x182)](_0xd43c7[_0x588e56]);}return _0x46fad3;}function _0x862d(){const _0x5b2290=['replace','1460070ztGxyX','1778326hjXGYv','slice','startsWith','434714xpArBi','join','...','1013088ZvBIsx','40euSkXL','689286dGGqeY','substring','7bjcxzy','287728tTQJdC','6ZAaQUS','3064329aCRYTx','match','pop','push','split','3vHFWxb','indexOf','length'];_0x862d=function(){return _0x5b2290;};return _0x862d();}
|