@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240416.0 → 0.0.0-nightly-20240418.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/package.json +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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240418.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,7 +32,7 @@
|
|
|
32
32
|
"type": "module",
|
|
33
33
|
"main": "src/index.js",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"ckeditor5": "0.0.0-nightly-
|
|
35
|
+
"ckeditor5": "0.0.0-nightly-20240418.0",
|
|
36
36
|
"date-fns": "2.30.0"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x275b(_0x1e97b6,_0x3405fa){var _0x3f0e7a=_0x3f0e();return _0x275b=function(_0x275bb5,_0xf8a6f8){_0x275bb5=_0x275bb5-0x8c;var _0x5cb2ef=_0x3f0e7a[_0x275bb5];return _0x5cb2ef;},_0x275b(_0x1e97b6,_0x3405fa);}(function(_0x564b22,_0x5c7e17){var _0x4e1679=_0x275b,_0x2a7ed4=_0x564b22();while(!![]){try{var _0x197645=-parseInt(_0x4e1679(0x92))/0x1*(parseInt(_0x4e1679(0x8f))/0x2)+-parseInt(_0x4e1679(0x8c))/0x3*(parseInt(_0x4e1679(0x91))/0x4)+-parseInt(_0x4e1679(0x95))/0x5*(-parseInt(_0x4e1679(0x8d))/0x6)+-parseInt(_0x4e1679(0x93))/0x7*(-parseInt(_0x4e1679(0x90))/0x8)+parseInt(_0x4e1679(0x8e))/0x9+parseInt(_0x4e1679(0x94))/0xa+-parseInt(_0x4e1679(0x96))/0xb;if(_0x197645===_0x5c7e17)break;else _0x2a7ed4['push'](_0x2a7ed4['shift']());}catch(_0xb5e4cd){_0x2a7ed4['push'](_0x2a7ed4['shift']());}}}(_0x3f0e,0x9e80d));export{default as Permissions}from'./permissions.js';export{default as Users}from'./users.js';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';function _0x3f0e(){var _0x181c50=['265BHSMNo','27733673EhlBHT','2306211YbuEzh','143676iZQWYY','4227228SUwEar','4IJhCOt','636024CXmKmA','4IwYMqV','25445cAbmrN','91aQFijR','12177300hCxYpu'];_0x3f0e=function(){return _0x181c50;};return _0x3f0e();}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
|
-
function
|
|
23
|
+
const _0x1b3161=_0x3ed1;function _0x3ed1(_0x2bf29f,_0x4dbb13){const _0x307f68=_0x307f();return _0x3ed1=function(_0x3ed15f,_0x40e9b4){_0x3ed15f=_0x3ed15f-0x1a2;let _0x4327b0=_0x307f68[_0x3ed15f];return _0x4327b0;},_0x3ed1(_0x2bf29f,_0x4dbb13);}(function(_0x110eee,_0x965342){const _0x5a477b=_0x3ed1,_0x13c791=_0x110eee();while(!![]){try{const _0x40e595=parseInt(_0x5a477b(0x1b8))/0x1+-parseInt(_0x5a477b(0x1c0))/0x2*(-parseInt(_0x5a477b(0x1aa))/0x3)+parseInt(_0x5a477b(0x1c8))/0x4+-parseInt(_0x5a477b(0x1ac))/0x5*(-parseInt(_0x5a477b(0x1a2))/0x6)+parseInt(_0x5a477b(0x1bd))/0x7+parseInt(_0x5a477b(0x1be))/0x8*(-parseInt(_0x5a477b(0x1b1))/0x9)+-parseInt(_0x5a477b(0x1b7))/0xa*(parseInt(_0x5a477b(0x1a7))/0xb);if(_0x40e595===_0x965342)break;else _0x13c791['push'](_0x13c791['shift']());}catch(_0x1bdd2b){_0x13c791['push'](_0x13c791['shift']());}}}(_0x307f,0x62552));import{ContextPlugin as _0x46b24f,Editor as _0x1d80bb}from'ckeditor5/src/core.js';import{CKEditorError as _0x42e1a6}from'ckeditor5/src/utils.js';function _0x307f(){const _0x40874e=['2404skPqRB','has','Permissions','clearForceDisabled','editors','comment:admin','CommentsOnly','config','2750752UaaIig','14580UOZoec','commands','noPermissions','get','document:write','214786EBVGYi','collaboration.channelId','disableReadOnlyMode','1902nVXjqJ','no-permissions','455WnUZZQ','comment:modify_all','plugins','setPermissions','context','45729ggkCxG','includes','isEnabled','CommentsRepository','enableReadOnlyMode','pluginName','690tTVopH','9488RdKUSd','permissions-set-permissions-invalid-channel-id','comment:write','addCommentThread','find','879067IQvHMn','88kRqMQg','forceDisabled'];_0x307f=function(){return _0x40874e;};return _0x307f();}export default class n extends _0x46b24f{static get[_0x1b3161(0x1b6)](){const _0x19b115=_0x1b3161;return _0x19b115(0x1c2);}[_0x1b3161(0x1af)](_0xeaae4a,_0xaaf71d){const _0x198d77=_0x1b3161;let _0x44b02b;if(_0xaaf71d||(_0xaaf71d=this[_0x198d77(0x1b0)][_0x198d77(0x1c7)][_0x198d77(0x1a5)](_0x198d77(0x1a8))),this[_0x198d77(0x1b0)][_0x198d77(0x1c7)][_0x198d77(0x1a5)](_0x198d77(0x1a8))==_0xaaf71d?_0x44b02b=this[_0x198d77(0x1b0)]:_0x198d77(0x1c4)in this[_0x198d77(0x1b0)]&&this[_0x198d77(0x1b0)][_0x198d77(0x1c4)]&&(_0x44b02b=this[_0x198d77(0x1b0)][_0x198d77(0x1c4)][_0x198d77(0x1bc)](_0x348f16=>_0x348f16[_0x198d77(0x1c7)][_0x198d77(0x1a5)](_0x198d77(0x1a8))==_0xaaf71d)),!_0x44b02b)throw new _0x42e1a6(_0x198d77(0x1b9),null);const _0x33703c=_0x44b02b[_0x198d77(0x1ae)],_0x638504=_0x33703c[_0x198d77(0x1c1)](_0x198d77(0x1b4))?_0x33703c[_0x198d77(0x1a5)](_0x198d77(0x1b4)):void 0x0,_0x378e34=_0x33703c[_0x198d77(0x1c1)](_0x198d77(0x1c6))&&_0x33703c[_0x198d77(0x1a5)](_0x198d77(0x1c6)),_0x17da7f=_0xeaae4a[_0x198d77(0x1b2)](_0x198d77(0x1a6)),_0x31b920=_0xeaae4a[_0x198d77(0x1b2)](_0x198d77(0x1ad)),_0x4f09e0=_0xeaae4a[_0x198d77(0x1b2)](_0x198d77(0x1c5)),_0x2f0ff8=_0xeaae4a[_0x198d77(0x1b2)](_0x198d77(0x1ba)),_0xe939d=_0x2f0ff8||_0x4f09e0,_0x5feec3=_0xe939d||_0x31b920,_0x14e830=_0x17da7f||_0xe939d;(_0x378e34&&(_0x378e34[_0x198d77(0x1b3)]=!_0x17da7f&&_0x5feec3),_0x44b02b instanceof _0x1d80bb)&&(!(_0x17da7f||_0x5feec3&&_0x638504)?_0x44b02b[_0x198d77(0x1b5)](_0x198d77(0x1ab)):_0x44b02b[_0x198d77(0x1a9)](_0x198d77(0x1ab)));if(_0x638504){_0x638504[_0x198d77(0x1af)]({'admin':_0x4f09e0,'modifyAll':_0x31b920,'write':_0x2f0ff8,'resolve':_0x14e830},_0xaaf71d);const _0x120e9a=_0x44b02b instanceof _0x1d80bb&&_0x44b02b[_0x198d77(0x1a3)][_0x198d77(0x1a5)](_0x198d77(0x1bb));_0x120e9a&&(_0xe939d?_0x120e9a[_0x198d77(0x1c3)](_0x198d77(0x1a4)):_0x120e9a[_0x198d77(0x1bf)](_0x198d77(0x1a4)));}}}
|
package/src/suggestionstyles.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x25d8fc,_0x30e681){var _0x5b8ebb=_0x33fe,_0x575c9b=_0x25d8fc();while(!![]){try{var _0x2e38c0=parseInt(_0x5b8ebb(0x89))/0x1+parseInt(_0x5b8ebb(0x8c))/0x2*(-parseInt(_0x5b8ebb(0x8f))/0x3)+parseInt(_0x5b8ebb(0x8e))/0x4+-parseInt(_0x5b8ebb(0x88))/0x5+parseInt(_0x5b8ebb(0x8d))/0x6+parseInt(_0x5b8ebb(0x8b))/0x7+-parseInt(_0x5b8ebb(0x8a))/0x8;if(_0x2e38c0===_0x30e681)break;else _0x575c9b['push'](_0x575c9b['shift']());}catch(_0x442b02){_0x575c9b['push'](_0x575c9b['shift']());}}}(_0x36a0,0x35a74));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';function _0x33fe(_0x2e2e46,_0x32031a){var _0x36a0dd=_0x36a0();return _0x33fe=function(_0x33fe12,_0x11a0e5){_0x33fe12=_0x33fe12-0x88;var _0x3db149=_0x36a0dd[_0x33fe12];return _0x3db149;},_0x33fe(_0x2e2e46,_0x32031a);}function _0x36a0(){var _0x18159f=['1405194GnhgHw','2ipVoLf','959316GsppkE','613232wFPbZM','352863BGWTFV','165570vXXqOa','103520XeeTJZ','1975656VgukVx'];_0x36a0=function(){return _0x18159f;};return _0x36a0();}import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x281d(_0xc4082a,_0x3f5955){const _0x50ac4d=_0x50ac();return _0x281d=function(_0x281dd2,_0x1a1876){_0x281dd2=_0x281dd2-0x187;let _0x5c59b6=_0x50ac4d[_0x281dd2];return _0x5c59b6;},_0x281d(_0xc4082a,_0x3f5955);}(function(_0x3716e5,_0xe0f550){const _0x563cf5=_0x281d,_0x4aa09a=_0x3716e5();while(!![]){try{const _0x9a69e5=parseInt(_0x563cf5(0x19f))/0x1+parseInt(_0x563cf5(0x190))/0x2*(parseInt(_0x563cf5(0x18f))/0x3)+-parseInt(_0x563cf5(0x194))/0x4+parseInt(_0x563cf5(0x189))/0x5*(parseInt(_0x563cf5(0x1a1))/0x6)+-parseInt(_0x563cf5(0x18c))/0x7*(parseInt(_0x563cf5(0x19e))/0x8)+parseInt(_0x563cf5(0x1a4))/0x9*(-parseInt(_0x563cf5(0x187))/0xa)+-parseInt(_0x563cf5(0x193))/0xb*(parseInt(_0x563cf5(0x19d))/0xc);if(_0x9a69e5===_0xe0f550)break;else _0x4aa09a['push'](_0x4aa09a['shift']());}catch(_0x555e6c){_0x4aa09a['push'](_0x4aa09a['shift']());}}}(_0x50ac,0xace4e));import{View as _0x41312d,IconView as _0x1572ed}from'ckeditor5/src/ui.js';function _0x50ac(){const _0x357dee=['url(\x27','7sfngfz','ck-user__icon','ck\x20ck-user__name\x20ck-user__name--hidden','2598321XMYmxc','2HOrpzf','div','ck\x20ck-user__name','33ZCdRQy','3940984FNviog','ck-user__img','ck-user_me','name','ck-user','isMe','extendTemplate','avatar','setTemplate','134148GyytKe','3466352cPvrJA','265938WWmwIB','isAnonymous','48TqihkI','initials','ck-user__notification','9LZTTzl','push','notificationView','ck-user__avatar','3465860VLYPpG','content','859245EmGVqF','ck-user__anonymous'];_0x50ac=function(){return _0x357dee;};return _0x50ac();}import _0xe5e593 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x41312d{constructor(_0x2df0a9,_0xd7a253,_0x5a0003){const _0x28b521=_0x281d;super(_0x2df0a9),this[_0x28b521(0x197)]=_0xd7a253[_0x28b521(0x197)],this[_0x28b521(0x1a6)]=null;const _0x23e36f=['ck',_0x28b521(0x198)],_0x841e8d=['ck',_0x28b521(0x195)];if(_0xd7a253[_0x28b521(0x1a0)]&&_0x841e8d[_0x28b521(0x1a5)](_0x28b521(0x18a)),!_0xd7a253[_0x28b521(0x1a0)]&&_0xd7a253[_0x28b521(0x199)]&&_0x23e36f[_0x28b521(0x1a5)](_0x28b521(0x196)),_0xd7a253[_0x28b521(0x19b)]&&_0x841e8d[_0x28b521(0x1a5)](_0x28b521(0x1a7)),_0x5a0003){const _0x3399dc=new _0x1572ed();_0x3399dc[_0x28b521(0x19a)]({'attributes':{'class':[_0x28b521(0x18d)]}}),_0x3399dc[_0x28b521(0x188)]=_0xe5e593,this[_0x28b521(0x1a6)]={'tag':_0x28b521(0x191),'attributes':{'class':['ck',_0x28b521(0x1a3)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5a0003},'children':[_0x3399dc]};}const _0x238272=[{'tag':_0x28b521(0x191),'attributes':{'class':_0x841e8d,'style':{'background-image':_0xd7a253[_0x28b521(0x19b)]?_0x28b521(0x18b)+_0xd7a253[_0x28b521(0x19b)]+'\x27)':''}}},{'tag':_0x28b521(0x191),'attributes':{'class':_0xd7a253[_0x28b521(0x19b)]?_0x28b521(0x18e):_0x28b521(0x192)},'children':[{'text':_0xd7a253[_0x28b521(0x1a2)]}]}];this[_0x28b521(0x1a6)]&&_0x238272[_0x28b521(0x1a5)](this[_0x28b521(0x1a6)]),this[_0x28b521(0x19c)]({'tag':_0x28b521(0x191),'attributes':{'class':_0x23e36f,'data-user-id':_0xd7a253['id']},'children':_0x238272});}}
|
package/src/users.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x477f78=_0x3b99;(function(_0x39dd55,_0x24ff19){const _0x3ebe30=_0x3b99,_0x3e2571=_0x39dd55();while(!![]){try{const _0x20693b=-parseInt(_0x3ebe30(0x144))/0x1*(-parseInt(_0x3ebe30(0x11a))/0x2)+-parseInt(_0x3ebe30(0x141))/0x3+parseInt(_0x3ebe30(0x145))/0x4*(-parseInt(_0x3ebe30(0x136))/0x5)+-parseInt(_0x3ebe30(0x12c))/0x6+-parseInt(_0x3ebe30(0x111))/0x7*(parseInt(_0x3ebe30(0x132))/0x8)+-parseInt(_0x3ebe30(0x105))/0x9*(parseInt(_0x3ebe30(0x13e))/0xa)+parseInt(_0x3ebe30(0x14d))/0xb*(parseInt(_0x3ebe30(0x14e))/0xc);if(_0x20693b===_0x24ff19)break;else _0x3e2571['push'](_0x3e2571['shift']());}catch(_0x12002c){_0x3e2571['push'](_0x3e2571['shift']());}}}(_0x4acb,0xc5ca1));import{ContextPlugin as _0x3d7948}from'ckeditor5/src/core.js';import{Collection as _0x4d93ab,CKEditorError as _0x1233a0}from'ckeditor5/src/utils.js';import _0x4c6714 from'./permissions.js';import{getTranslation as _0x5458fc}from'./utils/common-translations.js';function _0x3b99(_0x3e862f,_0x229a2a){const _0x4acb45=_0x4acb();return _0x3b99=function(_0x3b991b,_0x420022){_0x3b991b=_0x3b991b-0x102;let _0x211763=_0x4acb45[_0x3b991b];return _0x211763;},_0x3b99(_0x3e862f,_0x229a2a);}import'../theme/usercolors.css';export default class l extends _0x3d7948{static get[_0x477f78(0x11e)](){const _0x9e34f4=_0x477f78;return _0x9e34f4(0x10f);}static get[_0x477f78(0x134)](){return[_0x4c6714];}constructor(_0x448f56){const _0x4252a5=_0x477f78;super(_0x448f56),this[_0x4252a5(0x112)][_0x4252a5(0x149)][_0x4252a5(0x10b)](_0x4252a5(0x12d),_0x4252a5(0x138)),this[_0x4252a5(0x112)][_0x4252a5(0x149)][_0x4252a5(0x10b)](_0x4252a5(0x14f),0x8),this[_0x4252a5(0x109)]=new _0x4d93ab(),this[_0x4252a5(0x143)]=_0x448f56[_0x4252a5(0x107)],this[_0x4252a5(0x137)]=null,this[_0x4252a5(0x135)]=0x0,this[_0x4252a5(0x11d)]=null,this[_0x4252a5(0x121)](_0x4252a5(0x116));}[_0x477f78(0x131)](){const _0x5d9646=_0x477f78,_0xecc6ee=this[_0x5d9646(0x112)];this[_0x5d9646(0x13c)]=_0xecc6ee[_0x5d9646(0x149)][_0x5d9646(0x12a)](_0x5d9646(0x13c));const _0x3f25d8=[_0x5d9646(0x114),_0x5d9646(0x115),_0x5d9646(0x119),_0x5d9646(0x106),_0x5d9646(0x128),_0x5d9646(0x13f)];this[_0x5d9646(0x137)]=setInterval(()=>{const _0x2d5e93=_0x5d9646;let _0x5aac15;for(const _0x3f8017 in _0xecc6ee){const _0x3f9647=_0xecc6ee[_0x3f8017];if(_0x3f25d8[_0x2d5e93(0x13d)](_0x3f9647)){delete _0xecc6ee[_0x3f8017],_0x5aac15=_0x3f9647;break;}}if(_0x2d5e93(0x115)===_0x5aac15)throw clearInterval(this[_0x2d5e93(0x137)]),new _0x1233a0(_0x2d5e93(0x142),null);if(_0x2d5e93(0x114)===_0x5aac15&&console[_0x2d5e93(0x148)](_0x2d5e93(0x11f)),_0x2d5e93(0x106)===_0x5aac15)throw clearInterval(this[_0x2d5e93(0x137)]),new _0x1233a0(_0x2d5e93(0x104),null);if(_0x2d5e93(0x128)===_0x5aac15)throw clearInterval(this[_0x2d5e93(0x137)]),new _0x1233a0(_0x2d5e93(0x125),null);if(_0x2d5e93(0x13f)===_0x5aac15)throw clearInterval(this[_0x2d5e93(0x137)]),new _0x1233a0(_0x2d5e93(0x10d),null);_0x2d5e93(0x119)===_0x5aac15&&clearInterval(this[_0x2d5e93(0x137)]);},0x3e8),this[_0x5d9646(0x113)]();}get['me'](){const _0x35e158=_0x477f78;return null==this[_0x35e158(0x11d)]?null:this[_0x35e158(0x151)](this[_0x35e158(0x11d)]);}[_0x477f78(0x13b)]({id:_0x1374ac,name:_0x1c365f,..._0x30c7ef}){const _0x1ee21d=_0x477f78;if(!_0x1374ac||_0x1ee21d(0x14c)!=typeof _0x1374ac)throw new _0x1233a0(_0x1ee21d(0x14a));if(this[_0x1ee21d(0x109)][_0x1ee21d(0x103)](_0x1374ac))throw new _0x1233a0(_0x1ee21d(0x11b),null,{'id':_0x1374ac});const _0x32217e={..._0x30c7ef,'id':_0x1374ac,'name':a(this[_0x1ee21d(0x143)],_0x1c365f),'color':this[_0x1ee21d(0x124)]()};_0x32217e[_0x1ee21d(0x14b)]=a(this[_0x1ee21d(0x143)],_0x32217e[_0x1ee21d(0x14b)]);const _0x224730=new User(_0x32217e);return this[_0x1ee21d(0x109)][_0x1ee21d(0x102)](_0x224730),_0x224730;}[_0x477f78(0x151)](_0x22dd04){const _0xaa4bd6=_0x477f78;return this[_0xaa4bd6(0x109)][_0xaa4bd6(0x12a)](_0x22dd04);}[_0x477f78(0x118)](){const _0xafb3c=_0x477f78,_0x53f880=this[_0xafb3c(0x112)][_0xafb3c(0x149)][_0xafb3c(0x12a)](_0xafb3c(0x12d));this[_0xafb3c(0x11d)]||this[_0xafb3c(0x12b)](_0x53f880);}[_0x477f78(0x12b)](_0x4f1ebc){const _0x6ee38=_0x477f78;if(this[_0x6ee38(0x11d)])throw new _0x1233a0(_0x6ee38(0x133),null);const _0x989299=this[_0x6ee38(0x151)](_0x4f1ebc);if(!_0x989299)throw new _0x1233a0(_0x6ee38(0x152),null);this[_0x6ee38(0x11d)]=_0x4f1ebc,_0x989299[_0x6ee38(0x13a)]=!0x0;}[_0x477f78(0x116)](){return this['me'];}[_0x477f78(0x110)](){const _0x5e377c=_0x477f78;super[_0x5e377c(0x110)](),clearInterval(this[_0x5e377c(0x137)]);}[_0x477f78(0x124)](){const _0x73eb2e=_0x477f78,_0x4cd777=this[_0x73eb2e(0x112)][_0x73eb2e(0x149)][_0x73eb2e(0x12a)](_0x73eb2e(0x14f));return this[_0x73eb2e(0x135)]>=_0x4cd777&&(this[_0x73eb2e(0x135)]=0x0),new u(this[_0x73eb2e(0x135)]++);}[_0x477f78(0x113)](){const _0x15ad43=_0x477f78,_0x301eb1=this[_0x15ad43(0x112)][_0x15ad43(0x149)][_0x15ad43(0x12a)](_0x15ad43(0x12d));this[_0x15ad43(0x13b)]({'id':_0x301eb1,'name':_0x5458fc(this[_0x15ad43(0x143)],_0x15ad43(0x11c))})[_0x15ad43(0x139)]=!0x0;}}function _0x4acb(){const _0x472714=['4631307rwpLEx','invalid-license-key','_locale','4xdPfYJ','16HGiNLS','color','avatar','info','config','users-add-invalid-id','name','string','11wzGZqu','57227844qEfaFu','users.colorsCount','isMe','getUser','users-me-missing-user','add','has','trial-license-key-reached-limit-changes','974367tGmron','licenseKeyTrialLimit:operations','locale','_id','users','ck-user__bg-color--','define','getSelectionClass','trial-license-key-reached-limit-revisions','charAt','Users','destroy','21301qYSMlx','context','_addAnonymousUser','licenseKeyTrial','licenseKeyInvalid','getOperationAuthor','_getInitial','useAnonymousUser','licenseKeyValid','350502tOXIpg','users-add-duplicated-id','Anonymous','_myId','pluginName','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.','isAnonymous','decorate','getMarkerClass','ck-user__selection--','_getNextColor','trial-license-key-reached-limit-time','getBackgroundColorClass','ck-user__marker--','licenseKeyTrialLimit:time','trim','get','defineMe','5622096gwuCwW','users.anonymousUserId','toUpperCase','length','initials','init','1832wqckBY','users-me-already-defined','requires','_lastColor','499480GkfuxZ','_licenseKeyCheckInterval','anonymous-user','_isAnonymous','_isMe','addUser','licenseKey','includes','100meZafN','licenseKeyTrialLimit:revisions','split'];_0x4acb=function(){return _0x472714;};return _0x4acb();}export class User{constructor(_0x897074){const _0x72ea1b=_0x477f78;this['id']=_0x897074['id'],this[_0x72ea1b(0x146)]=_0x897074[_0x72ea1b(0x146)],this[_0x72ea1b(0x14b)]=_0x897074[_0x72ea1b(0x14b)],this[_0x72ea1b(0x147)]=_0x897074[_0x72ea1b(0x147)],this[_0x72ea1b(0x139)]=!0x1,this[_0x72ea1b(0x13a)]=!0x1;}get[_0x477f78(0x120)](){const _0x350dad=_0x477f78;return this[_0x350dad(0x139)];}get[_0x477f78(0x150)](){const _0x761000=_0x477f78;return this[_0x761000(0x13a)];}get[_0x477f78(0x130)](){const _0x33ddfc=_0x477f78,_0x29cd4f=this[_0x33ddfc(0x14b)][_0x33ddfc(0x140)]('\x20');return 0x1===_0x29cd4f[_0x33ddfc(0x12f)]?this[_0x33ddfc(0x117)](_0x29cd4f[0x0]):this[_0x33ddfc(0x117)](_0x29cd4f[0x0])+this[_0x33ddfc(0x117)](_0x29cd4f[_0x29cd4f[_0x33ddfc(0x12f)]-0x1]);}[_0x477f78(0x117)](_0xaeed40){const _0x50a02d=_0x477f78;return _0xaeed40[_0x50a02d(0x10e)](0x0)[_0x50a02d(0x12e)]();}}function a(_0x94de8b,_0x3f8d0f=''){const _0x293711=_0x477f78;return''==(_0x3f8d0f=_0x3f8d0f[_0x293711(0x129)]())?_0x5458fc(_0x94de8b,_0x293711(0x11c)):_0x3f8d0f;}class u{constructor(_0x216073){const _0x9896f7=_0x477f78;this[_0x9896f7(0x108)]=_0x216073;}[_0x477f78(0x126)](){const _0xa2a9bf=_0x477f78;return _0xa2a9bf(0x10a)+this[_0xa2a9bf(0x108)];}[_0x477f78(0x10c)](){const _0x2cc2b8=_0x477f78;return _0x2cc2b8(0x123)+this[_0x2cc2b8(0x108)];}[_0x477f78(0x122)](){const _0x548640=_0x477f78;return _0x548640(0x127)+this[_0x548640(0x108)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x416392,_0x45c18a){const t=_0x416392['t'];switch(_0x45c18a){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 _0x1205(_0x48d763,_0x19c669){var _0x39fb01=_0x39fb();return _0x1205=function(_0x1205c5,_0x5e022b){_0x1205c5=_0x1205c5-0xeb;var _0x1b625f=_0x39fb01[_0x1205c5];return _0x1b625f;},_0x1205(_0x48d763,_0x19c669);}(function(_0x3198de,_0x37128e){var _0x479228=_0x1205,_0x5d3189=_0x3198de();while(!![]){try{var _0x576bb2=parseInt(_0x479228(0xf5))/0x1*(-parseInt(_0x479228(0x107))/0x2)+-parseInt(_0x479228(0x103))/0x3*(parseInt(_0x479228(0xec))/0x4)+parseInt(_0x479228(0xf3))/0x5+parseInt(_0x479228(0x105))/0x6+parseInt(_0x479228(0xf4))/0x7+parseInt(_0x479228(0xf9))/0x8+-parseInt(_0x479228(0xeb))/0x9*(parseInt(_0x479228(0xf2))/0xa);if(_0x576bb2===_0x37128e)break;else _0x5d3189['push'](_0x5d3189['shift']());}catch(_0x476e4d){_0x5d3189['push'](_0x5d3189['shift']());}}}(_0x39fb,0xcdd0b));function _0x39fb(){var _0x54bc3e=['4644962TFTzNb','3533tBzJfC','focus','once','destroy','1756080yRaAvc','set','isConfirm','cancelConfirm','locale','remove','element','appendChild','confirmView','fire','1367601sGmsWA','registerChild','9187368BcOieC','showConfirm','124FbKMyh','submit','6561pxQzYO','4YOYLzy','render','message','deregisterChild','_removeConfirm','cancel','18760twmcJM','2356160vxAAsL'];_0x39fb=function(){return _0x54bc3e;};return _0x39fb();}import _0x2354e6 from'./confirmview.js';export default function m(_0x3120c7){var _0x2c4dc8=_0x1205;return class extends _0x3120c7{[_0x2c4dc8(0x106)](_0x4058a5,_0x57c6de){var _0x4af6cc=_0x2c4dc8;return this[_0x4af6cc(0x101)]=new _0x2354e6(this[_0x4af6cc(0xfd)]),this[_0x4af6cc(0x101)][_0x4af6cc(0xed)](),this[_0x4af6cc(0x101)][_0x4af6cc(0xee)]=_0x4058a5,this[_0x4af6cc(0x101)][_0x4af6cc(0xf7)](_0x4af6cc(0xf1),()=>{var _0x2b6d9c=_0x4af6cc;this[_0x2b6d9c(0xf0)]();}),this[_0x4af6cc(0x101)][_0x4af6cc(0xf7)](_0x4af6cc(0x108),()=>{var _0x47814a=_0x4af6cc;this[_0x47814a(0xf0)]();}),_0x57c6de[_0x4af6cc(0x100)](this[_0x4af6cc(0x101)][_0x4af6cc(0xff)]),this[_0x4af6cc(0x104)](this[_0x4af6cc(0x101)]),this[_0x4af6cc(0xff)][_0x4af6cc(0xf6)](),this[_0x4af6cc(0xfa)](_0x4af6cc(0xfb),!0x0),new Promise(_0x3a5248=>this[_0x4af6cc(0x101)]['on'](_0x4af6cc(0x108),_0x3a5248));}[_0x2c4dc8(0xfc)](){var _0x31718a=_0x2c4dc8;this[_0x31718a(0xfb)]&&this[_0x31718a(0x101)][_0x31718a(0x102)](_0x31718a(0xf1));}[_0x2c4dc8(0xf0)](){var _0x2b0079=_0x2c4dc8;this[_0x2b0079(0xff)]&&this[_0x2b0079(0x101)]&&this[_0x2b0079(0x101)][_0x2b0079(0xff)]&&(this[_0x2b0079(0xff)][_0x2b0079(0xf6)](),this[_0x2b0079(0x101)][_0x2b0079(0xff)][_0x2b0079(0xfe)](),this[_0x2b0079(0xef)](this[_0x2b0079(0x101)]),this[_0x2b0079(0xfb)]=!0x1,this[_0x2b0079(0x101)][_0x2b0079(0xf8)](),this[_0x2b0079(0x101)]=void 0x0);}};}
|
package/src/utils/confirmview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13559f=_0x45bf;function _0x45bf(_0x497457,_0x507ef6){const _0x4cb66f=_0x4cb6();return _0x45bf=function(_0x45bfb4,_0x3655c3){_0x45bfb4=_0x45bfb4-0x1c0;let _0x3b69c3=_0x4cb66f[_0x45bfb4];return _0x3b69c3;},_0x45bf(_0x497457,_0x507ef6);}(function(_0x4ce55d,_0x2ff91b){const _0x222c93=_0x45bf,_0x4d910d=_0x4ce55d();while(!![]){try{const _0x522dc2=parseInt(_0x222c93(0x1c0))/0x1*(parseInt(_0x222c93(0x1c6))/0x2)+parseInt(_0x222c93(0x1c5))/0x3*(parseInt(_0x222c93(0x1ce))/0x4)+parseInt(_0x222c93(0x1d2))/0x5*(-parseInt(_0x222c93(0x1d6))/0x6)+parseInt(_0x222c93(0x1cc))/0x7+parseInt(_0x222c93(0x1df))/0x8+-parseInt(_0x222c93(0x1d9))/0x9*(-parseInt(_0x222c93(0x1d7))/0xa)+-parseInt(_0x222c93(0x1c3))/0xb;if(_0x522dc2===_0x2ff91b)break;else _0x4d910d['push'](_0x4d910d['shift']());}catch(_0x41db28){_0x4d910d['push'](_0x4d910d['shift']());}}}(_0x4cb6,0x48f02));import{View as _0x4e67ec,ButtonView as _0x5567dc}from'ckeditor5/src/ui.js';import{icons as _0x294c3b}from'ckeditor5/src/core.js';import{getTranslation as _0x4b9f34}from'./common-translations.js';export default class h extends _0x4e67ec{constructor(_0x58c6f5){const _0x2dfe0a=_0x45bf;super(_0x58c6f5);const _0x1eca16=this[_0x2dfe0a(0x1c4)];this[_0x2dfe0a(0x1cd)]=this[_0x2dfe0a(0x1d3)](_0x58c6f5,_0x4b9f34(_0x58c6f5,_0x2dfe0a(0x1db)),_0x294c3b[_0x2dfe0a(0x1c7)],_0x2dfe0a(0x1c1)),this[_0x2dfe0a(0x1d0)]=this[_0x2dfe0a(0x1d3)](_0x58c6f5,_0x4b9f34(_0x58c6f5,'No'),_0x294c3b[_0x2dfe0a(0x1c2)],_0x2dfe0a(0x1c2)),this[_0x2dfe0a(0x1da)](_0x2dfe0a(0x1ca),_0x4b9f34(_0x58c6f5,_0x2dfe0a(0x1d1))),this[_0x2dfe0a(0x1dc)]({'tag':_0x2dfe0a(0x1cb),'attributes':{'class':[_0x2dfe0a(0x1c9)]},'children':[{'tag':_0x2dfe0a(0x1cb),'attributes':{'class':_0x2dfe0a(0x1c8)},'children':[{'tag':'p','children':[{'text':_0x1eca16['to'](_0x2dfe0a(0x1ca))}]},{'tag':_0x2dfe0a(0x1cb),'attributes':{'class':_0x2dfe0a(0x1dd)},'children':[this[_0x2dfe0a(0x1cd)],this[_0x2dfe0a(0x1d0)]]}]}]});}[_0x13559f(0x1d3)](_0x5de81e,_0x18dd2f,_0xc4020f,_0x323e9f){const _0x39a0f3=_0x13559f,_0x20919e=new _0x5567dc(_0x5de81e);return _0x20919e[_0x39a0f3(0x1d4)]=_0x18dd2f,_0x20919e[_0x39a0f3(0x1e0)]=_0xc4020f,_0x20919e[_0x39a0f3(0x1d8)]({'attributes':{'class':_0x39a0f3(0x1d5)+_0x323e9f}}),_0x20919e['on'](_0x39a0f3(0x1cf),()=>this[_0x39a0f3(0x1de)](_0x323e9f)),_0x20919e;}}function _0x4cb6(){const _0x216cf1=['label','ck-thread__remove-confirm-','696RDzsJS','30HlbKci','extendTemplate','1691451IthbcA','set','Yes','setTemplate','ck-thread__remove-confirm-actions','fire','1708976MoRTQe','icon','1993osIbLF','submit','cancel','11623084QCWGne','bindTemplate','3qBAYdw','346iBNthc','check','ck-thread__remove-confirm-inner','ck-thread__remove-confirm','message','div','2119264mzFpdc','submitView','550376FgbdbM','execute','cancelView','Are\x20you\x20sure?','8930fDMWKD','_createButtonView'];_0x4cb6=function(){return _0x216cf1;};return _0x4cb6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x55e510,_0x21cf35){const _0x28a0ce=_0x499b,_0x9583c2=_0x55e510();while(!![]){try{const _0x539fd1=parseInt(_0x28a0ce(0x157))/0x1+-parseInt(_0x28a0ce(0x162))/0x2*(parseInt(_0x28a0ce(0x160))/0x3)+parseInt(_0x28a0ce(0x155))/0x4+parseInt(_0x28a0ce(0x15f))/0x5+-parseInt(_0x28a0ce(0x15e))/0x6+parseInt(_0x28a0ce(0x15b))/0x7+-parseInt(_0x28a0ce(0x158))/0x8;if(_0x539fd1===_0x21cf35)break;else _0x9583c2['push'](_0x9583c2['shift']());}catch(_0x37eba6){_0x9583c2['push'](_0x9583c2['shift']());}}}(_0x4483,0xc3954));import _0x1a8f8a from'date-fns/format/index.js';import _0x56c352 from'date-fns/parseISO/index.js';function _0x499b(_0x23ef71,_0x2c6f17){const _0x4483de=_0x4483();return _0x499b=function(_0x499b2c,_0xe0ee96){_0x499b2c=_0x499b2c-0x154;let _0x16f388=_0x4483de[_0x499b2c];return _0x16f388;},_0x499b(_0x23ef71,_0x2c6f17);}import _0x23bb01 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x564a14}from'ckeditor5/src/utils.js';function _0x4483(){const _0x19e10d=['3787855nrQkZJ','154407BuIOWw','function','18rYmVBQ','\x27Today\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','579912NdXpgU','invalid-date-time-format','910768AAQWVK','1770752fjCSWg','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','4169718AWZanh','string','\x27Yesterday\x27\x20hh:mma','5539908jCnzPh'];_0x4483=function(){return _0x19e10d;};return _0x4483();}export default function j(_0x50e962={}){const _0x20789c=_0x499b;if(void 0x0!==_0x50e962[_0x20789c(0x15a)]&&_0x20789c(0x161)!=typeof _0x50e962[_0x20789c(0x15a)])throw new _0x564a14(_0x20789c(0x156));return _0x2c99f5=>{const _0x3f12d3=_0x20789c,_0x3971bc=_0x3f12d3(0x15c)==typeof _0x2c99f5?_0x56c352(_0x2c99f5):_0x2c99f5,_0x24f9f4=new Date(),_0x2a1b64=_0x23bb01(_0x24f9f4,_0x3971bc);return _0x50e962[_0x3f12d3(0x15a)]?_0x50e962[_0x3f12d3(0x15a)](_0x3971bc):_0x1a8f8a(_0x3971bc,0x0===_0x2a1b64?_0x3f12d3(0x163):0x1===_0x2a1b64?_0x3f12d3(0x15d):_0x2a1b64<0x7?_0x3f12d3(0x159):_0x3f12d3(0x154));};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x33a9(_0xbe6f6f,_0x25c9a6){const _0x244062=_0x2440();return _0x33a9=function(_0x33a931,_0x424d9a){_0x33a931=_0x33a931-0x138;let _0x179065=_0x244062[_0x33a931];return _0x179065;},_0x33a9(_0xbe6f6f,_0x25c9a6);}(function(_0x246009,_0x5a0f48){const _0x4747a9=_0x33a9,_0x4623ec=_0x246009();while(!![]){try{const _0x552276=-parseInt(_0x4747a9(0x139))/0x1*(parseInt(_0x4747a9(0x14b))/0x2)+parseInt(_0x4747a9(0x13d))/0x3*(parseInt(_0x4747a9(0x14e))/0x4)+parseInt(_0x4747a9(0x145))/0x5*(parseInt(_0x4747a9(0x13f))/0x6)+-parseInt(_0x4747a9(0x14c))/0x7+parseInt(_0x4747a9(0x148))/0x8+-parseInt(_0x4747a9(0x147))/0x9*(-parseInt(_0x4747a9(0x146))/0xa)+-parseInt(_0x4747a9(0x140))/0xb;if(_0x552276===_0x5a0f48)break;else _0x4623ec['push'](_0x4623ec['shift']());}catch(_0x5d580b){_0x4623ec['push'](_0x4623ec['shift']());}}}(_0x2440,0x21731));import{first as _0x56efee}from'ckeditor5/src/utils.js';export default function k(_0x105f0b,_0xa35654){const _0x1cadb5=_0x33a9,_0x2769b1=_0x105f0b[_0x1cadb5(0x13a)][_0x1cadb5(0x144)](_0xa35654[_0x1cadb5(0x149)]);if(!_0x2769b1)return null;const _0x4b27cd=_0x56efee(_0x2769b1[_0x1cadb5(0x13b)]());return _0x105f0b[_0x1cadb5(0x151)][_0x1cadb5(0x14f)][_0x1cadb5(0x142)](_0x4b27cd)||null;}function _0x2440(){const _0x3cd619=['mapViewToDom','map','markerNameToElements','381355skWuCr','11510zYfsYr','702HVMioX','1335896dnbHeN','name','getClientRects','4jUsTcH','167496sRGyyd','domElement','44VVHAvD','domConverter','from','view','length','item','111011QiMiVV','mapper','values','filter','38919Gsrbbd','push','6xUnqwz','1020580DoDobU','sort'];_0x2440=function(){return _0x3cd619;};return _0x2440();}export function getAllMarkersDomElementsSorted(_0x2b2f32,_0x5cefc0){const _0x35ccce=_0x33a9;if(0x0===_0x5cefc0[_0x35ccce(0x152)])return null;const _0x4cdf62=[],_0x5c9830=_0x2b2f32[_0x35ccce(0x151)][_0x35ccce(0x14f)];for(const _0x58bd80 of _0x5cefc0){const _0x26b812=_0x2b2f32[_0x35ccce(0x13a)][_0x35ccce(0x144)](_0x58bd80[_0x35ccce(0x149)]);if(!_0x26b812)continue;const _0x8f0518=Array[_0x35ccce(0x150)](_0x26b812)[_0x35ccce(0x143)](_0x8f636=>_0x5c9830[_0x35ccce(0x142)](_0x8f636))[_0x35ccce(0x13c)](_0xed419a=>!!_0xed419a);_0x4cdf62[_0x35ccce(0x13e)](..._0x8f0518);}if(0x0===_0x4cdf62[_0x35ccce(0x152)])return null;const _0x8f5a22=[];for(const _0x31e66d of _0x4cdf62){const _0x2eff94=_0x31e66d[_0x35ccce(0x14a)]()[_0x35ccce(0x138)](0x0);_0x2eff94&&_0x8f5a22[_0x35ccce(0x13e)]({'x':_0x2eff94['x'],'y':_0x2eff94['y'],'domElement':_0x31e66d});}return 0x0===_0x8f5a22[_0x35ccce(0x152)]?null:(_0x8f5a22[_0x35ccce(0x141)]((_0x194b32,_0xdb65e6)=>_0x194b32['y']-_0xdb65e6['y']||_0x194b32['x']-_0xdb65e6['x']),_0x8f5a22[_0x35ccce(0x143)](_0x1d983a=>_0x1d983a[_0x35ccce(0x14d)]));}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x399f(_0x179ae8,_0x399af9){const _0x4a536e=_0x4a53();return _0x399f=function(_0x399ffd,_0x4a3418){_0x399ffd=_0x399ffd-0x172;let _0x355d32=_0x4a536e[_0x399ffd];return _0x355d32;},_0x399f(_0x179ae8,_0x399af9);}function _0x4a53(){const _0x504bf3=['string','sort','13166920NyUJqd','85990brkvGo','number','4659885WmgPvJ','72TJHEIc','11858042pyxDpQ','5400732Xnipwl','sign','4591704zYTffT','toString','charCodeAt','38330UwPnZB','object','keys','8sAifGo','isArray'];_0x4a53=function(){return _0x504bf3;};return _0x4a53();}(function(_0x34f0dc,_0x2d574c){const _0x4f959e=_0x399f,_0x4e36ba=_0x34f0dc();while(!![]){try{const _0x4b4b02=parseInt(_0x4f959e(0x181))/0x1*(parseInt(_0x4f959e(0x172))/0x2)+-parseInt(_0x4f959e(0x17e))/0x3+parseInt(_0x4f959e(0x17a))/0x4*(parseInt(_0x4f959e(0x177))/0x5)+-parseInt(_0x4f959e(0x17c))/0x6+parseInt(_0x4f959e(0x17b))/0x7+parseInt(_0x4f959e(0x176))/0x8+-parseInt(_0x4f959e(0x179))/0x9;if(_0x4b4b02===_0x2d574c)break;else _0x4e36ba['push'](_0x4e36ba['shift']());}catch(_0x5be31f){_0x4e36ba['push'](_0x4e36ba['shift']());}}}(_0x4a53,0xd091c));export default function b(_0x1ff0d3){let _0xf874ef=0x0,_0x4e5be8=0x0;for(const _0x5e6a2e of A(_0x1ff0d3))_0xf874ef=(_0xf874ef<<0x5)-_0xf874ef+_0x5e6a2e,_0xf874ef|=0x0,[_0xf874ef,_0x4e5be8]=[_0x4e5be8,_0xf874ef];return q(_0xf874ef)+q(_0x4e5be8);}function*g(_0xa1a06d){const _0x1e3eeb=_0x399f;null==_0xa1a06d||null==_0xa1a06d?yield 0x12b9b0a1:0x0===_0xa1a06d||!0x1===_0xa1a06d?yield 0x0:0x1===_0xa1a06d||0x1==_0xa1a06d?yield 0x1:Array[_0x1e3eeb(0x173)](_0xa1a06d)?yield*function*(_0x50397c){for(const _0x8cb4ff of _0x50397c)yield*g(_0x8cb4ff);}(_0xa1a06d):_0x1e3eeb(0x182)==typeof _0xa1a06d?yield*A(_0xa1a06d):_0x1e3eeb(0x174)==typeof _0xa1a06d?yield*M(_0xa1a06d):_0x1e3eeb(0x178)==typeof _0xa1a06d&&(yield _0xa1a06d);}function*A(_0x19316f){const _0x50010c=_0x399f;if(yield O('{'),_0x19316f){const _0xca24bb=Object[_0x50010c(0x183)](_0x19316f)[_0x50010c(0x175)]();for(const _0x5f4ac6 of _0xca24bb){yield*M(_0x5f4ac6),yield O(':');const _0x4e8db1=_0x19316f[_0x5f4ac6];yield*g(_0x4e8db1);}}yield O('}');}function*M(_0x4ff419){yield O('\x22');for(const _0x321515 of _0x4ff419)yield O(_0x321515);yield O('\x22');}function O(_0x2a184a){const _0x5b12ef=_0x399f;return _0x2a184a[_0x5b12ef(0x180)](0x0);}function q(_0x59ef38){const _0x3d2226=_0x399f;return(_0x59ef38*=Math[_0x3d2226(0x17d)](_0x59ef38))[_0x3d2226(0x17f)](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4d15(_0x21e306,_0x5f2a50){const _0xa8d5dc=_0xa8d5();return _0x4d15=function(_0x4d15ed,_0xdbb7ea){_0x4d15ed=_0x4d15ed-0x1a4;let _0x51d542=_0xa8d5dc[_0x4d15ed];return _0x51d542;},_0x4d15(_0x21e306,_0x5f2a50);}const _0x3bb6fe=_0x4d15;(function(_0xe8a6f9,_0x10e741){const _0x7ba11d=_0x4d15,_0x494256=_0xe8a6f9();while(!![]){try{const _0x4a3cb8=parseInt(_0x7ba11d(0x1a9))/0x1*(parseInt(_0x7ba11d(0x1ad))/0x2)+-parseInt(_0x7ba11d(0x1a8))/0x3*(-parseInt(_0x7ba11d(0x1d0))/0x4)+parseInt(_0x7ba11d(0x1bd))/0x5*(parseInt(_0x7ba11d(0x1c5))/0x6)+parseInt(_0x7ba11d(0x1c9))/0x7+-parseInt(_0x7ba11d(0x1c7))/0x8*(parseInt(_0x7ba11d(0x1b0))/0x9)+-parseInt(_0x7ba11d(0x1d1))/0xa*(-parseInt(_0x7ba11d(0x1af))/0xb)+parseInt(_0x7ba11d(0x1be))/0xc*(-parseInt(_0x7ba11d(0x1bc))/0xd);if(_0x4a3cb8===_0x10e741)break;else _0x494256['push'](_0x494256['shift']());}catch(_0x4f9b78){_0x494256['push'](_0x494256['shift']());}}}(_0xa8d5,0xaea7c));const w=[_0x3bb6fe(0x1b1),_0x3bb6fe(0x1ce),_0x3bb6fe(0x1b7),_0x3bb6fe(0x1ab)],W=[_0x3bb6fe(0x1b8),_0x3bb6fe(0x1c0),_0x3bb6fe(0x1ba),_0x3bb6fe(0x1bf),_0x3bb6fe(0x1b2),_0x3bb6fe(0x1a7)];function _0xa8d5(){const _0x213cc0=['WebSocketGateway','set','Autosave','map','1131xctoZq','1935kzmKAO','202824VKcpcE','WordCount','RevisionTracker','find','names','removePlugins','concat','17676LjzOfz','config','8ngHEbf','has','6503420PPIoXg','extraPlugins','includes','plugins','get','context','every','36188iSujoK','470TMRObh','_context','length','pluginName','WProofreader','186spJata','127993KFPFJT','name','rootsAttributes','from','4AKQUtS','constructor','136466CTpddU','11549538PvdiJe','initialData','DocumentOutline','filter','string','requires','builtinPlugins','toolbar'];_0xa8d5=function(){return _0x213cc0;};return _0xa8d5();}function v(_0x51c2c0,_0x4ad6b4,_0x4977dc,_0x1a3f2e=[]){const _0x20333a=_0x3bb6fe,_0x5d5e13=_0x20333a(0x1b4)==typeof _0x51c2c0?_0x4977dc[_0x20333a(0x1cd)](_0x51c2c0)[_0x20333a(0x1ae)]:_0x51c2c0,_0x2910b=_0x5d5e13[_0x20333a(0x1a6)]||_0x5d5e13[_0x20333a(0x1aa)];if(_0x4ad6b4[_0x20333a(0x1c8)](_0x2910b))return _0x4ad6b4[_0x20333a(0x1cd)](_0x2910b);if(_0x4ad6b4[_0x20333a(0x1b9)](_0x2910b,!0x0),_0x2910b&&W[_0x20333a(0x1c4)](_0x1a3f2e)[_0x20333a(0x1cb)](_0x2910b))return _0x4ad6b4[_0x20333a(0x1b9)](_0x2910b,!0x1),!0x1;if(!_0x5d5e13[_0x20333a(0x1b5)])return _0x4ad6b4[_0x20333a(0x1b9)](_0x2910b,!0x0),!0x0;const _0x22fe43=_0x5d5e13[_0x20333a(0x1b5)][_0x20333a(0x1cf)](_0x403b8d=>v(_0x403b8d,_0x4ad6b4,_0x4977dc,_0x1a3f2e));return _0x4ad6b4[_0x20333a(0x1b9)](_0x2910b,_0x22fe43),_0x22fe43;}export default function D(_0x17b5d3,_0xbb0f9a){const _0x5cb33d=_0x3bb6fe,_0x135abd={};for(const _0x4aa80b of _0x17b5d3[_0x5cb33d(0x1c6)][_0x5cb33d(0x1c2)]())w[_0x5cb33d(0x1cb)](_0x4aa80b)||(_0x135abd[_0x4aa80b]=_0x17b5d3[_0x5cb33d(0x1c6)][_0x5cb33d(0x1cd)](_0x4aa80b));const _0x23c4ad=_0x135abd[_0x5cb33d(0x1cc)]||[],_0x4e0c49=_0x17b5d3[_0x5cb33d(0x1ae)][_0x5cb33d(0x1b6)]||[],_0x309335=_0x23c4ad[_0x5cb33d(0x1a5)]?_0x23c4ad:_0x4e0c49,_0x499bec=_0x135abd[_0x5cb33d(0x1ca)]||[];delete _0x135abd[_0x5cb33d(0x1ca)];const _0x3dff73=_0x135abd[_0x5cb33d(0x1c3)]||[];delete _0x135abd[_0x5cb33d(0x1c3)];const _0xc40fef=_0x17b5d3[_0x5cb33d(0x1a4)][_0x5cb33d(0x1c6)][_0x5cb33d(0x1cd)](_0x5cb33d(0x1cc))||[],_0x13b5cd=_0x309335[_0x5cb33d(0x1c4)](_0x499bec)[_0x5cb33d(0x1c4)](_0xc40fef)[_0x5cb33d(0x1bb)](_0x3e636f=>_0x5cb33d(0x1b4)==typeof _0x3e636f?_0x4e0c49[_0x5cb33d(0x1c1)](_0x163241=>_0x163241[_0x5cb33d(0x1a6)]==_0x3e636f):_0x3e636f)[_0x5cb33d(0x1b3)](_0x56c4b8=>!_0x3dff73[_0x5cb33d(0x1cb)](_0x56c4b8)&&!_0x3dff73[_0x5cb33d(0x1cb)](_0x56c4b8[_0x5cb33d(0x1a6)])),_0x3ac70e=Array[_0x5cb33d(0x1ac)](new Set(_0x13b5cd)),_0x5b5fbf=new Map();return _0x135abd[_0x5cb33d(0x1cc)]=_0x3ac70e[_0x5cb33d(0x1b3)](_0x25b823=>v(_0x25b823,_0x5b5fbf,_0x17b5d3[_0x5cb33d(0x1cc)],_0xbb0f9a)),_0x135abd;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x669a9a,_0x1af234){const _0x1b2df8=_0x4037,_0x5757aa=_0x669a9a();while(!![]){try{const _0x5f3877=parseInt(_0x1b2df8(0x1ff))/0x1*(-parseInt(_0x1b2df8(0x200))/0x2)+-parseInt(_0x1b2df8(0x201))/0x3*(-parseInt(_0x1b2df8(0x1fb))/0x4)+-parseInt(_0x1b2df8(0x204))/0x5*(parseInt(_0x1b2df8(0x202))/0x6)+-parseInt(_0x1b2df8(0x1f8))/0x7*(parseInt(_0x1b2df8(0x1f5))/0x8)+parseInt(_0x1b2df8(0x20a))/0x9*(-parseInt(_0x1b2df8(0x20c))/0xa)+-parseInt(_0x1b2df8(0x1f4))/0xb*(parseInt(_0x1b2df8(0x20d))/0xc)+-parseInt(_0x1b2df8(0x1f9))/0xd*(-parseInt(_0x1b2df8(0x207))/0xe);if(_0x5f3877===_0x1af234)break;else _0x5757aa['push'](_0x5757aa['shift']());}catch(_0x4efcd8){_0x5757aa['push'](_0x5757aa['shift']());}}}(_0x32b5,0x95ed4));export default function z(_0x493870,_0x187d0e){const _0x28699d=_0x4037,_0x331571=[];_0x493870[_0x28699d(0x1fe)][_0x28699d(0x1fc)]['on'](_0x28699d(0x1f7),()=>{const _0x1347df=_0x28699d,_0x5a25e9=function(_0x1d1bc2,_0x359c3e){const _0x574d3b=_0x4037,_0x2e6d62=[];for(const _0x8d4ae8 of _0x1d1bc2[_0x574d3b(0x203)]){const _0xfce71c=_0x8d4ae8[_0x574d3b(0x205)]();(_0xfce71c[_0x574d3b(0x209)](_0x359c3e)||_0xfce71c[_0x574d3b(0x1fd)][_0x574d3b(0x20b)](_0x359c3e)||_0xfce71c[_0x574d3b(0x206)][_0x574d3b(0x20b)](_0x359c3e))&&_0x2e6d62[_0x574d3b(0x1f3)](_0x8d4ae8);}return _0x2e6d62;}(_0x493870,_0x493870[_0x1347df(0x1fe)][_0x1347df(0x1fc)][_0x1347df(0x1fa)]),_0x2f579a=[],_0x5a5f93=[],_0x4e02ac=[];for(const _0x3fcdfc of _0x331571)_0x5a25e9[_0x1347df(0x1f6)](_0x3fcdfc)||_0x2f579a[_0x1347df(0x1f3)](_0x3fcdfc);for(const _0x31248e of _0x5a25e9)_0x331571[_0x1347df(0x1f6)](_0x31248e)||_0x5a5f93[_0x1347df(0x1f3)](_0x31248e),_0x4e02ac[_0x1347df(0x1f3)](_0x31248e);(_0x2f579a[_0x1347df(0x208)]||_0x5a5f93[_0x1347df(0x208)])&&_0x187d0e({'left':_0x2f579a,'entered':_0x5a5f93}),_0x331571[_0x1347df(0x208)]=0x0,_0x331571[_0x1347df(0x1f3)](..._0x4e02ac);});}function _0x4037(_0x3a24e4,_0x130fef){const _0x32b5b9=_0x32b5();return _0x4037=function(_0x403751,_0x2ae93d){_0x403751=_0x403751-0x1f3;let _0xbe58b4=_0x32b5b9[_0x403751];return _0xbe58b4;},_0x4037(_0x3a24e4,_0x130fef);}function _0x32b5(){const _0xb992b6=['isEqual','280CnUaab','40476UxMlke','push','3091CcqCpq','880472phgOWy','includes','change:range','63RwKEix','1690702irnyha','focus','340FRIDOi','selection','start','document','426621mYAkkZ','2TxmWdE','519bDTfgT','12624pqXNsV','markers','1420hBKhDg','getRange','end','420ARvwvi','length','containsPosition','109197prEBMZ'];_0x32b5=function(){return _0xb992b6;};return _0x32b5();}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd79d(_0x36f4b2,_0x204c97){const _0x4e8a0d=_0x4e8a();return _0xd79d=function(_0xd79dd0,_0x7004d9){_0xd79dd0=_0xd79dd0-0x10d;let _0x4ce422=_0x4e8a0d[_0xd79dd0];return _0x4ce422;},_0xd79d(_0x36f4b2,_0x204c97);}const _0x492577=_0xd79d;(function(_0x19b152,_0x4b7670){const _0x53ff04=_0xd79d,_0x2cb472=_0x19b152();while(!![]){try{const _0x4825dc=parseInt(_0x53ff04(0x118))/0x1*(parseInt(_0x53ff04(0x10f))/0x2)+parseInt(_0x53ff04(0x121))/0x3*(-parseInt(_0x53ff04(0x10d))/0x4)+parseInt(_0x53ff04(0x112))/0x5*(-parseInt(_0x53ff04(0x119))/0x6)+-parseInt(_0x53ff04(0x116))/0x7+parseInt(_0x53ff04(0x120))/0x8+-parseInt(_0x53ff04(0x11d))/0x9*(-parseInt(_0x53ff04(0x11f))/0xa)+parseInt(_0x53ff04(0x111))/0xb*(parseInt(_0x53ff04(0x113))/0xc);if(_0x4825dc===_0x4b7670)break;else _0x2cb472['push'](_0x2cb472['shift']());}catch(_0x3dfd2c){_0x2cb472['push'](_0x2cb472['shift']());}}}(_0x4e8a,0x67d54));export default function Z(_0x38a357,{limit:_0x9c9b1c,suffix:_0x224917=_0x492577(0x122)}){const _0x4cf279=_0x492577,_0x6fcf6f=[];let _0xf2d43e=0x0;const _0x114c66=_0x38a357[_0x4cf279(0x115)](/</g,'\x0a<')[_0x4cf279(0x115)](/>/g,'>\x0a')[_0x4cf279(0x115)](/^\n/g,'')[_0x4cf279(0x115)](/\n$/g,'')[_0x4cf279(0x11a)]('\x0a');for(let _0x57d976=0x0;_0x57d976<_0x114c66[_0x4cf279(0x11c)];_0x57d976++){let _0x3b1087=_0x114c66[_0x57d976];const _0xd8a291=$(_0x3b1087);if(_0x3b1087[_0x4cf279(0x11b)]('<')){if(_0xf2d43e>=_0x9c9b1c){const _0x2fa6a7=_0x3b1087[_0x4cf279(0x114)](/[a-zA-Z]+/);if(!_0x2fa6a7){_0x114c66[_0x57d976]='';continue;}const _0x52b5e3=_0x2fa6a7[0x0];_0x3b1087[_0x4cf279(0x11b)]('</')?(_0x6fcf6f[_0x4cf279(0x11c)]&&(_0x3b1087=''),_0x6fcf6f[_0x4cf279(0x123)]()):(_0x6fcf6f[_0x4cf279(0x124)](_0x52b5e3),_0x3b1087='');}}else{if(_0xf2d43e>=_0x9c9b1c)_0x3b1087='';else{if(_0xf2d43e+_0xd8a291[_0x4cf279(0x11c)]>=_0x9c9b1c){let _0x100932=_0x9c9b1c-_0xf2d43e;if('\x20'===_0xd8a291[_0x100932-0x1])_0x100932--;else{const _0x1d9a4d=_0xd8a291[_0x4cf279(0x11e)](_0x100932)[_0x4cf279(0x10e)]('\x20');-0x1!==_0x1d9a4d?_0x100932+=_0x1d9a4d:_0x100932=_0x3b1087[_0x4cf279(0x11c)];}_0x3b1087=_0xd8a291[_0x4cf279(0x11e)](0x0,_0x100932)[_0x4cf279(0x110)]('')+_0x224917,_0xf2d43e=_0x9c9b1c;}else _0xf2d43e+=_0xd8a291[_0x4cf279(0x11c)];}}_0x114c66[_0x57d976]=_0x3b1087;}return _0x114c66[_0x4cf279(0x110)]('\x0a')[_0x4cf279(0x115)](/\n/g,'');}function $(_0xd87723){const _0x3593f9=_0x492577,_0x56db7b=[];for(let _0x4da6fe=0x0;_0x4da6fe<_0xd87723[_0x3593f9(0x11c)];_0x4da6fe++){const _0xb70632=_0xd87723[_0x3593f9(0x117)](_0x4da6fe)[_0x3593f9(0x114)](/^&[a-z0-9#]+;/);if(_0xb70632){const _0x281056=_0xb70632[0x0];_0x56db7b[_0x3593f9(0x124)](_0x281056),_0x4da6fe+=_0x281056[_0x3593f9(0x11c)]-0x1;}else _0x56db7b[_0x3593f9(0x124)](_0xd87723[_0x4da6fe]);}return _0x56db7b;}function _0x4e8a(){const _0x500cfb=['1122xQNzOp','5fmdIer','24852peefpb','match','replace','2013690JeCCqt','substring','9668ridWhW','1317522yFuHvt','split','startsWith','length','545328qIXbew','slice','130hCcqDO','2930200WYLRFq','6dSUPcN','...','pop','push','884648LxqGUk','indexOf','2wfULpU','join'];_0x4e8a=function(){return _0x500cfb;};return _0x4e8a();}
|