@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240422.0 → 0.0.0-nightly-20240423.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-20240423.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-20240423.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
|
-
|
23
|
+
(function(_0x41b1b7,_0x5be182){var _0x4522d1=_0x42b4,_0x3a58c8=_0x41b1b7();while(!![]){try{var _0x2406f6=parseInt(_0x4522d1(0x199))/0x1*(-parseInt(_0x4522d1(0x19d))/0x2)+parseInt(_0x4522d1(0x19a))/0x3+parseInt(_0x4522d1(0x1a0))/0x4*(parseInt(_0x4522d1(0x198))/0x5)+parseInt(_0x4522d1(0x19c))/0x6+-parseInt(_0x4522d1(0x1a2))/0x7*(parseInt(_0x4522d1(0x19b))/0x8)+-parseInt(_0x4522d1(0x19e))/0x9*(-parseInt(_0x4522d1(0x1a1))/0xa)+-parseInt(_0x4522d1(0x19f))/0xb;if(_0x2406f6===_0x5be182)break;else _0x3a58c8['push'](_0x3a58c8['shift']());}catch(_0x5970d4){_0x3a58c8['push'](_0x3a58c8['shift']());}}}(_0x1293,0xcdb16));export{default as Permissions}from'./permissions.js';function _0x42b4(_0x1dffa8,_0x2dae91){var _0x129368=_0x1293();return _0x42b4=function(_0x42b410,_0x467777){_0x42b410=_0x42b410-0x198;var _0x3c5546=_0x129368[_0x42b410];return _0x3c5546;},_0x42b4(_0x1dffa8,_0x2dae91);}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';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';function _0x1293(){var _0x36b5d7=['177324dWjjNy','10oOVKQc','7889qdGckD','85hFRMrD','13882yZFRJJ','4526760gTfpzH','4184UZZzaN','663342ukOPdV','110NFrnqC','6786423FQorQZ','10248722UHBzHJ'];_0x1293=function(){return _0x36b5d7;};return _0x1293();}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 _0x5bb5(_0x5a54dc,_0x2b3588){const _0x553089=_0x5530();return _0x5bb5=function(_0x5bb52e,_0x51fc1b){_0x5bb52e=_0x5bb52e-0x155;let _0x572c8b=_0x553089[_0x5bb52e];return _0x572c8b;},_0x5bb5(_0x5a54dc,_0x2b3588);}const _0x89198c=_0x5bb5;function _0x5530(){const _0x2a60f4=['no-permissions','22gFNcvs','785vxRhBC','212596XVfvps','enableReadOnlyMode','get','comment:write','90366RcNTOy','forceDisabled','pluginName','addCommentThread','clearForceDisabled','495081RHUmLb','editors','noPermissions','setPermissions','document:write','comment:modify_all','plugins','517394abYWvi','isEnabled','119wPNfuK','collaboration.channelId','2560aIpnVA','permissions-set-permissions-invalid-channel-id','6TEpTam','comment:admin','CommentsOnly','CommentsRepository','540280XCInmV','commands','includes','disableReadOnlyMode','Permissions','find','config','context','1398620hNbbFe','has'];_0x5530=function(){return _0x2a60f4;};return _0x5530();}(function(_0x47f870,_0x59d93e){const _0xa34bea=_0x5bb5,_0x5243cb=_0x47f870();while(!![]){try{const _0x201722=parseInt(_0xa34bea(0x166))/0x1+parseInt(_0xa34bea(0x156))/0x2*(-parseInt(_0xa34bea(0x16c))/0x3)+-parseInt(_0xa34bea(0x16a))/0x4*(-parseInt(_0xa34bea(0x155))/0x5)+parseInt(_0xa34bea(0x15a))/0x6*(parseInt(_0xa34bea(0x168))/0x7)+-parseInt(_0xa34bea(0x170))/0x8+-parseInt(_0xa34bea(0x15f))/0x9+-parseInt(_0xa34bea(0x178))/0xa*(parseInt(_0xa34bea(0x17b))/0xb);if(_0x201722===_0x59d93e)break;else _0x5243cb['push'](_0x5243cb['shift']());}catch(_0x141f43){_0x5243cb['push'](_0x5243cb['shift']());}}}(_0x5530,0x3f3e7));import{ContextPlugin as _0x29fd0f,Editor as _0x3c3a2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cb7e4}from'ckeditor5/src/utils.js';export default class n extends _0x29fd0f{static get[_0x89198c(0x15c)](){const _0x7cad3a=_0x89198c;return _0x7cad3a(0x174);}[_0x89198c(0x162)](_0x2bd977,_0x2fe2b1){const _0x1d7124=_0x89198c;let _0x5525a5;if(_0x2fe2b1||(_0x2fe2b1=this[_0x1d7124(0x177)][_0x1d7124(0x176)][_0x1d7124(0x158)](_0x1d7124(0x169))),this[_0x1d7124(0x177)][_0x1d7124(0x176)][_0x1d7124(0x158)](_0x1d7124(0x169))==_0x2fe2b1?_0x5525a5=this[_0x1d7124(0x177)]:_0x1d7124(0x160)in this[_0x1d7124(0x177)]&&this[_0x1d7124(0x177)][_0x1d7124(0x160)]&&(_0x5525a5=this[_0x1d7124(0x177)][_0x1d7124(0x160)][_0x1d7124(0x175)](_0x484340=>_0x484340[_0x1d7124(0x176)][_0x1d7124(0x158)](_0x1d7124(0x169))==_0x2fe2b1)),!_0x5525a5)throw new _0x1cb7e4(_0x1d7124(0x16b),null);const _0x345378=_0x5525a5[_0x1d7124(0x165)],_0x78926a=_0x345378[_0x1d7124(0x179)](_0x1d7124(0x16f))?_0x345378[_0x1d7124(0x158)](_0x1d7124(0x16f)):void 0x0,_0x2a039c=_0x345378[_0x1d7124(0x179)](_0x1d7124(0x16e))&&_0x345378[_0x1d7124(0x158)](_0x1d7124(0x16e)),_0x31da3=_0x2bd977[_0x1d7124(0x172)](_0x1d7124(0x163)),_0x136cd2=_0x2bd977[_0x1d7124(0x172)](_0x1d7124(0x164)),_0x438b2c=_0x2bd977[_0x1d7124(0x172)](_0x1d7124(0x16d)),_0x3529d3=_0x2bd977[_0x1d7124(0x172)](_0x1d7124(0x159)),_0x21466d=_0x3529d3||_0x438b2c,_0x3cd1d1=_0x21466d||_0x136cd2,_0x27c84a=_0x31da3||_0x21466d;(_0x2a039c&&(_0x2a039c[_0x1d7124(0x167)]=!_0x31da3&&_0x3cd1d1),_0x5525a5 instanceof _0x3c3a2d)&&(!(_0x31da3||_0x3cd1d1&&_0x78926a)?_0x5525a5[_0x1d7124(0x157)](_0x1d7124(0x17a)):_0x5525a5[_0x1d7124(0x173)](_0x1d7124(0x17a)));if(_0x78926a){_0x78926a[_0x1d7124(0x162)]({'admin':_0x438b2c,'modifyAll':_0x136cd2,'write':_0x3529d3,'resolve':_0x27c84a},_0x2fe2b1);const _0x2a6d9=_0x5525a5 instanceof _0x3c3a2d&&_0x5525a5[_0x1d7124(0x171)][_0x1d7124(0x158)](_0x1d7124(0x15d));_0x2a6d9&&(_0x21466d?_0x2a6d9[_0x1d7124(0x15e)](_0x1d7124(0x161)):_0x2a6d9[_0x1d7124(0x15b)](_0x1d7124(0x161)));}}}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x2df960,_0x763e0b){var _0xcf7da5=_0x2637,_0x19d154=_0x2df960();while(!![]){try{var _0x22f5ae=-parseInt(_0xcf7da5(0x1bc))/0x1*(parseInt(_0xcf7da5(0x1c3))/0x2)+parseInt(_0xcf7da5(0x1bf))/0x3+-parseInt(_0xcf7da5(0x1c2))/0x4+parseInt(_0xcf7da5(0x1be))/0x5+-parseInt(_0xcf7da5(0x1b9))/0x6*(-parseInt(_0xcf7da5(0x1bd))/0x7)+parseInt(_0xcf7da5(0x1c1))/0x8*(parseInt(_0xcf7da5(0x1bb))/0x9)+parseInt(_0xcf7da5(0x1ba))/0xa*(-parseInt(_0xcf7da5(0x1c0))/0xb);if(_0x22f5ae===_0x763e0b)break;else _0x19d154['push'](_0x19d154['shift']());}catch(_0x549f8c){_0x19d154['push'](_0x19d154['shift']());}}}(_0x20f8,0x49798));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';function _0x20f8(){var _0x1128f5=['49uwGvdE','2419510tCCgbu','155313zuiWqI','1122SCESjO','624UuTdLJ','1848540nibduj','2AfjGst','429006ryWFSY','20BdsLJt','9360WxnkfC','354009lbPuJF'];_0x20f8=function(){return _0x1128f5;};return _0x20f8();}import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';function _0x2637(_0x1f56b0,_0x21a76c){var _0x20f8cc=_0x20f8();return _0x2637=function(_0x2637ba,_0xef2ba7){_0x2637ba=_0x2637ba-0x1b9;var _0x436873=_0x20f8cc[_0x2637ba];return _0x436873;},_0x2637(_0x1f56b0,_0x21a76c);}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 _0x53ec(){const _0x41a01c=['ck-user__anonymous','493160EtBzeM','initials','extendTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','2909230lHTalb','2nAWMal','url(\x27','27HmRQHL','isMe','ck\x20ck-user__name','ck-user__img','1198797DeKEWJ','14830aakPlK','name','ck-user','ck-user__notification','33474baXrMw','301rCcssx','3345430VmJidj','4NwhMqx','div','16661HVQLbC','push','setTemplate','ck-user__avatar','notificationView','ck-user__icon','avatar','content','isAnonymous','ck-user_me'];_0x53ec=function(){return _0x41a01c;};return _0x53ec();}(function(_0x3a057c,_0x67cdbc){const _0x2eae17=_0x52df,_0x2148ff=_0x3a057c();while(!![]){try{const _0x17c44f=parseInt(_0x2eae17(0x1f1))/0x1*(-parseInt(_0x2eae17(0x201))/0x2)+-parseInt(_0x2eae17(0x207))/0x3+parseInt(_0x2eae17(0x1ef))/0x4*(parseInt(_0x2eae17(0x208))/0x5)+-parseInt(_0x2eae17(0x1ec))/0x6*(-parseInt(_0x2eae17(0x1ed))/0x7)+parseInt(_0x2eae17(0x1fc))/0x8+-parseInt(_0x2eae17(0x203))/0x9*(-parseInt(_0x2eae17(0x200))/0xa)+-parseInt(_0x2eae17(0x1ee))/0xb;if(_0x17c44f===_0x67cdbc)break;else _0x2148ff['push'](_0x2148ff['shift']());}catch(_0x493d0f){_0x2148ff['push'](_0x2148ff['shift']());}}}(_0x53ec,0x6f8b7));function _0x52df(_0x51ff56,_0x3dd588){const _0x53ec24=_0x53ec();return _0x52df=function(_0x52dfb6,_0x16a96d){_0x52dfb6=_0x52dfb6-0x1ec;let _0x5b1a1e=_0x53ec24[_0x52dfb6];return _0x5b1a1e;},_0x52df(_0x51ff56,_0x3dd588);}import{View as _0x5dddb0,IconView as _0x1fe9f3}from'ckeditor5/src/ui.js';import _0x5b6577 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x5dddb0{constructor(_0x56a05f,_0x2099c5,_0x596a0d){const _0x17f8ac=_0x52df;super(_0x56a05f),this[_0x17f8ac(0x209)]=_0x2099c5[_0x17f8ac(0x209)],this[_0x17f8ac(0x1f5)]=null;const _0x5586b8=['ck',_0x17f8ac(0x20a)],_0x56cf83=['ck',_0x17f8ac(0x206)];if(_0x2099c5[_0x17f8ac(0x1f9)]&&_0x56cf83[_0x17f8ac(0x1f2)](_0x17f8ac(0x1fb)),!_0x2099c5[_0x17f8ac(0x1f9)]&&_0x2099c5[_0x17f8ac(0x204)]&&_0x5586b8[_0x17f8ac(0x1f2)](_0x17f8ac(0x1fa)),_0x2099c5[_0x17f8ac(0x1f7)]&&_0x56cf83[_0x17f8ac(0x1f2)](_0x17f8ac(0x1f4)),_0x596a0d){const _0x2a7db3=new _0x1fe9f3();_0x2a7db3[_0x17f8ac(0x1fe)]({'attributes':{'class':[_0x17f8ac(0x1f6)]}}),_0x2a7db3[_0x17f8ac(0x1f8)]=_0x5b6577,this[_0x17f8ac(0x1f5)]={'tag':_0x17f8ac(0x1f0),'attributes':{'class':['ck',_0x17f8ac(0x20b)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x596a0d},'children':[_0x2a7db3]};}const _0x47a65b=[{'tag':_0x17f8ac(0x1f0),'attributes':{'class':_0x56cf83,'style':{'background-image':_0x2099c5[_0x17f8ac(0x1f7)]?_0x17f8ac(0x202)+_0x2099c5[_0x17f8ac(0x1f7)]+'\x27)':''}}},{'tag':_0x17f8ac(0x1f0),'attributes':{'class':_0x2099c5[_0x17f8ac(0x1f7)]?_0x17f8ac(0x1ff):_0x17f8ac(0x205)},'children':[{'text':_0x2099c5[_0x17f8ac(0x1fd)]}]}];this[_0x17f8ac(0x1f5)]&&_0x47a65b[_0x17f8ac(0x1f2)](this[_0x17f8ac(0x1f5)]),this[_0x17f8ac(0x1f3)]({'tag':_0x17f8ac(0x1f0),'attributes':{'class':_0x5586b8,'data-user-id':_0x2099c5['id']},'children':_0x47a65b});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2f9ec7=_0x1dee;(function(_0x5016aa,_0x477810){const _0xdcd0e7=_0x1dee,_0x19e782=_0x5016aa();while(!![]){try{const _0x551ce7=-parseInt(_0xdcd0e7(0x210))/0x1*(-parseInt(_0xdcd0e7(0x1f0))/0x2)+-parseInt(_0xdcd0e7(0x1cc))/0x3+-parseInt(_0xdcd0e7(0x1c7))/0x4+parseInt(_0xdcd0e7(0x1e2))/0x5+parseInt(_0xdcd0e7(0x1e4))/0x6+-parseInt(_0xdcd0e7(0x1e6))/0x7*(-parseInt(_0xdcd0e7(0x1ca))/0x8)+parseInt(_0xdcd0e7(0x1fb))/0x9*(-parseInt(_0xdcd0e7(0x1f7))/0xa);if(_0x551ce7===_0x477810)break;else _0x19e782['push'](_0x19e782['shift']());}catch(_0x3ddc69){_0x19e782['push'](_0x19e782['shift']());}}}(_0x1871,0xca417));import{ContextPlugin as _0x55fcf3}from'ckeditor5/src/core.js';import{Collection as _0x28852a,CKEditorError as _0x2d2869}from'ckeditor5/src/utils.js';import _0x4d80bb from'./permissions.js';import{getTranslation as _0x5dd5a2}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x55fcf3{static get[_0x2f9ec7(0x211)](){const _0x153821=_0x2f9ec7;return _0x153821(0x1f6);}static get[_0x2f9ec7(0x1f9)](){return[_0x4d80bb];}constructor(_0x262800){const _0xd36759=_0x2f9ec7;super(_0x262800),this[_0xd36759(0x1d2)][_0xd36759(0x1e1)][_0xd36759(0x201)](_0xd36759(0x204),_0xd36759(0x20a)),this[_0xd36759(0x1d2)][_0xd36759(0x1e1)][_0xd36759(0x201)](_0xd36759(0x1ce),0x8),this[_0xd36759(0x213)]=new _0x28852a(),this[_0xd36759(0x1e5)]=_0x262800[_0xd36759(0x20c)],this[_0xd36759(0x1de)]=null,this[_0xd36759(0x1f2)]=0x0,this[_0xd36759(0x1c6)]=null,this[_0xd36759(0x1d3)](_0xd36759(0x1e8));}[_0x2f9ec7(0x1cf)](){const _0x4664ce=_0x2f9ec7,_0x2773b0=this[_0x4664ce(0x1d2)];this[_0x4664ce(0x1f1)]=_0x2773b0[_0x4664ce(0x1e1)][_0x4664ce(0x1e7)](_0x4664ce(0x1f1));const _0x16abe1=[_0x4664ce(0x1cb),_0x4664ce(0x1fa),_0x4664ce(0x1e9),_0x4664ce(0x202),_0x4664ce(0x1ec),_0x4664ce(0x20e)];this[_0x4664ce(0x1de)]=setInterval(()=>{const _0x17d0cd=_0x4664ce;let _0xab44aa;for(const _0x5e898f in _0x2773b0){const _0x502f72=_0x2773b0[_0x5e898f];if(_0x16abe1[_0x17d0cd(0x1fd)](_0x502f72)){delete _0x2773b0[_0x5e898f],_0xab44aa=_0x502f72;break;}}if(_0x17d0cd(0x1fa)===_0xab44aa)throw clearInterval(this[_0x17d0cd(0x1de)]),new _0x2d2869(_0x17d0cd(0x1d0),null);if(_0x17d0cd(0x1cb)===_0xab44aa&&console[_0x17d0cd(0x1d7)](_0x17d0cd(0x1e0)),_0x17d0cd(0x202)===_0xab44aa)throw clearInterval(this[_0x17d0cd(0x1de)]),new _0x2d2869(_0x17d0cd(0x1eb),null);if(_0x17d0cd(0x1ec)===_0xab44aa)throw clearInterval(this[_0x17d0cd(0x1de)]),new _0x2d2869(_0x17d0cd(0x1da),null);if(_0x17d0cd(0x20e)===_0xab44aa)throw clearInterval(this[_0x17d0cd(0x1de)]),new _0x2d2869(_0x17d0cd(0x1ed),null);_0x17d0cd(0x1e9)===_0xab44aa&&clearInterval(this[_0x17d0cd(0x1de)]);},0x3e8),this[_0x4664ce(0x1dd)]();}get['me'](){const _0xf210b6=_0x2f9ec7;return null==this[_0xf210b6(0x1c6)]?null:this[_0xf210b6(0x1ef)](this[_0xf210b6(0x1c6)]);}[_0x2f9ec7(0x205)]({id:_0x4df118,name:_0x4978ae,..._0x3cbc01}){const _0x516e92=_0x2f9ec7;if(!_0x4df118||_0x516e92(0x1cd)!=typeof _0x4df118)throw new _0x2d2869(_0x516e92(0x1d9));if(this[_0x516e92(0x213)][_0x516e92(0x1d6)](_0x4df118))throw new _0x2d2869(_0x516e92(0x1f3),null,{'id':_0x4df118});const _0x1a2df1={..._0x3cbc01,'id':_0x4df118,'name':a(this[_0x516e92(0x1e5)],_0x4978ae),'color':this[_0x516e92(0x1f4)]()};_0x1a2df1[_0x516e92(0x212)]=a(this[_0x516e92(0x1e5)],_0x1a2df1[_0x516e92(0x212)]);const _0x552883=new User(_0x1a2df1);return this[_0x516e92(0x213)][_0x516e92(0x20b)](_0x552883),_0x552883;}[_0x2f9ec7(0x1ef)](_0x5ca4d7){const _0x360d03=_0x2f9ec7;return this[_0x360d03(0x213)][_0x360d03(0x1e7)](_0x5ca4d7);}[_0x2f9ec7(0x1fc)](){const _0x5d1cc6=_0x2f9ec7,_0x3b0299=this[_0x5d1cc6(0x1d2)][_0x5d1cc6(0x1e1)][_0x5d1cc6(0x1e7)](_0x5d1cc6(0x204));this[_0x5d1cc6(0x1c6)]||this[_0x5d1cc6(0x1e3)](_0x3b0299);}[_0x2f9ec7(0x1e3)](_0x126250){const _0x325a17=_0x2f9ec7;if(this[_0x325a17(0x1c6)])throw new _0x2d2869(_0x325a17(0x1ff),null);const _0x3eb559=this[_0x325a17(0x1ef)](_0x126250);if(!_0x3eb559)throw new _0x2d2869(_0x325a17(0x1d5),null);this[_0x325a17(0x1c6)]=_0x126250,_0x3eb559[_0x325a17(0x203)]=!0x0;}[_0x2f9ec7(0x1e8)](){return this['me'];}[_0x2f9ec7(0x1f5)](){const _0x20d605=_0x2f9ec7;super[_0x20d605(0x1f5)](),clearInterval(this[_0x20d605(0x1de)]);}[_0x2f9ec7(0x1f4)](){const _0x26d6ff=_0x2f9ec7,_0x1aa151=this[_0x26d6ff(0x1d2)][_0x26d6ff(0x1e1)][_0x26d6ff(0x1e7)](_0x26d6ff(0x1ce));return this[_0x26d6ff(0x1f2)]>=_0x1aa151&&(this[_0x26d6ff(0x1f2)]=0x0),new u(this[_0x26d6ff(0x1f2)]++);}[_0x2f9ec7(0x1dd)](){const _0x2cbb59=_0x2f9ec7,_0x1f8fe8=this[_0x2cbb59(0x1d2)][_0x2cbb59(0x1e1)][_0x2cbb59(0x1e7)](_0x2cbb59(0x204));this[_0x2cbb59(0x205)]({'id':_0x1f8fe8,'name':_0x5dd5a2(this[_0x2cbb59(0x1e5)],_0x2cbb59(0x20f))})[_0x2cbb59(0x1d1)]=!0x0;}}function _0x1dee(_0x2d3b6f,_0x5e8331){const _0x1871b8=_0x1871();return _0x1dee=function(_0x1deec3,_0xfccd74){_0x1deec3=_0x1deec3-0x1c5;let _0x3a9391=_0x1871b8[_0x1deec3];return _0x3a9391;},_0x1dee(_0x2d3b6f,_0x5e8331);}export class User{constructor(_0x336d39){const _0x5c4831=_0x2f9ec7;this['id']=_0x336d39['id'],this[_0x5c4831(0x1d4)]=_0x336d39[_0x5c4831(0x1d4)],this[_0x5c4831(0x212)]=_0x336d39[_0x5c4831(0x212)],this[_0x5c4831(0x1df)]=_0x336d39[_0x5c4831(0x1df)],this[_0x5c4831(0x1d1)]=!0x1,this[_0x5c4831(0x203)]=!0x1;}get[_0x2f9ec7(0x1c8)](){const _0x2cebaf=_0x2f9ec7;return this[_0x2cebaf(0x1d1)];}get[_0x2f9ec7(0x1db)](){const _0x17f6e5=_0x2f9ec7;return this[_0x17f6e5(0x203)];}get[_0x2f9ec7(0x207)](){const _0x5f2d69=_0x2f9ec7,_0x9b759d=this[_0x5f2d69(0x212)][_0x5f2d69(0x208)]('\x20');return 0x1===_0x9b759d[_0x5f2d69(0x209)]?this[_0x5f2d69(0x20d)](_0x9b759d[0x0]):this[_0x5f2d69(0x20d)](_0x9b759d[0x0])+this[_0x5f2d69(0x20d)](_0x9b759d[_0x9b759d[_0x5f2d69(0x209)]-0x1]);}[_0x2f9ec7(0x20d)](_0xa25142){const _0x39946e=_0x2f9ec7;return _0xa25142[_0x39946e(0x1c9)](0x0)[_0x39946e(0x1ee)]();}}function a(_0xa67c1c,_0x15a1f0=''){const _0x49e43f=_0x2f9ec7;return''==(_0x15a1f0=_0x15a1f0[_0x49e43f(0x1fe)]())?_0x5dd5a2(_0xa67c1c,_0x49e43f(0x20f)):_0x15a1f0;}function _0x1871(){const _0x24e5aa=['licenseKeyInvalid','9vhrInp','useAnonymousUser','includes','trim','users-me-already-defined','ck-user__marker--','define','licenseKeyTrialLimit:operations','_isMe','users.anonymousUserId','addUser','getMarkerClass','initials','split','length','anonymous-user','add','locale','_getInitial','licenseKeyTrialLimit:revisions','Anonymous','11mtvAhW','pluginName','name','users','ck-user__selection--','_myId','3846796ywwnZQ','isAnonymous','charAt','184wgXEMa','licenseKeyTrial','2186145FDRIKc','string','users.colorsCount','init','invalid-license-key','_isAnonymous','context','decorate','color','users-me-missing-user','has','info','getBackgroundColorClass','users-add-invalid-id','trial-license-key-reached-limit-time','isMe','_id','_addAnonymousUser','_licenseKeyCheckInterval','avatar','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.','config','4949455gdalAi','defineMe','2411946fzxRwm','_locale','382865AfMmnv','get','getOperationAuthor','licenseKeyValid','ck-user__bg-color--','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:time','trial-license-key-reached-limit-revisions','toUpperCase','getUser','122620BskABm','licenseKey','_lastColor','users-add-duplicated-id','_getNextColor','destroy','Users','8054240gDwgZI','getSelectionClass','requires'];_0x1871=function(){return _0x24e5aa;};return _0x1871();}class u{constructor(_0x15bcbc){const _0x4197d8=_0x2f9ec7;this[_0x4197d8(0x1dc)]=_0x15bcbc;}[_0x2f9ec7(0x1d8)](){const _0x441228=_0x2f9ec7;return _0x441228(0x1ea)+this[_0x441228(0x1dc)];}[_0x2f9ec7(0x1f8)](){const _0x315738=_0x2f9ec7;return _0x315738(0x1c5)+this[_0x315738(0x1dc)];}[_0x2f9ec7(0x206)](){const _0x5b30dc=_0x2f9ec7;return _0x5b30dc(0x200)+this[_0x5b30dc(0x1dc)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x7f97cd,_0x52c2b8){const t=_0x7f97cd['t'];switch(_0x52c2b8){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
|
-
|
23
|
+
(function(_0x7efa2f,_0x233400){var _0x3b2235=_0x3d7d,_0x9b078b=_0x7efa2f();while(!![]){try{var _0x33ec39=parseInt(_0x3b2235(0x74))/0x1+-parseInt(_0x3b2235(0x85))/0x2*(parseInt(_0x3b2235(0x73))/0x3)+parseInt(_0x3b2235(0x83))/0x4*(parseInt(_0x3b2235(0x77))/0x5)+-parseInt(_0x3b2235(0x8c))/0x6*(-parseInt(_0x3b2235(0x7d))/0x7)+-parseInt(_0x3b2235(0x76))/0x8*(-parseInt(_0x3b2235(0x90))/0x9)+parseInt(_0x3b2235(0x7e))/0xa*(-parseInt(_0x3b2235(0x91))/0xb)+-parseInt(_0x3b2235(0x8d))/0xc;if(_0x33ec39===_0x233400)break;else _0x9b078b['push'](_0x9b078b['shift']());}catch(_0x43b844){_0x9b078b['push'](_0x9b078b['shift']());}}}(_0x5b73,0x77bd9));function _0x3d7d(_0x28a5a8,_0x50ede1){var _0x5b7359=_0x5b73();return _0x3d7d=function(_0x3d7df1,_0x25c6f3){_0x3d7df1=_0x3d7df1-0x72;var _0x52231d=_0x5b7359[_0x3d7df1];return _0x52231d;},_0x3d7d(_0x28a5a8,_0x50ede1);}import _0x4649b4 from'./confirmview.js';export default function m(_0x1d6987){var _0x1d7b68=_0x3d7d;return class extends _0x1d6987{[_0x1d7b68(0x88)](_0x54ff28,_0x59d8fc){var _0x52ecd9=_0x1d7b68;return this[_0x52ecd9(0x7a)]=new _0x4649b4(this[_0x52ecd9(0x7b)]),this[_0x52ecd9(0x7a)][_0x52ecd9(0x89)](),this[_0x52ecd9(0x7a)][_0x52ecd9(0x7c)]=_0x54ff28,this[_0x52ecd9(0x7a)][_0x52ecd9(0x81)](_0x52ecd9(0x86),()=>{var _0x47e377=_0x52ecd9;this[_0x47e377(0x8b)]();}),this[_0x52ecd9(0x7a)][_0x52ecd9(0x81)](_0x52ecd9(0x82),()=>{var _0x24950f=_0x52ecd9;this[_0x24950f(0x8b)]();}),_0x59d8fc[_0x52ecd9(0x80)](this[_0x52ecd9(0x7a)][_0x52ecd9(0x79)]),this[_0x52ecd9(0x7f)](this[_0x52ecd9(0x7a)]),this[_0x52ecd9(0x79)][_0x52ecd9(0x84)](),this[_0x52ecd9(0x72)](_0x52ecd9(0x75),!0x0),new Promise(_0x38e41e=>this[_0x52ecd9(0x7a)]['on'](_0x52ecd9(0x82),_0x38e41e));}[_0x1d7b68(0x8a)](){var _0x34b836=_0x1d7b68;this[_0x34b836(0x75)]&&this[_0x34b836(0x7a)][_0x34b836(0x78)](_0x34b836(0x86));}[_0x1d7b68(0x8b)](){var _0x121872=_0x1d7b68;this[_0x121872(0x79)]&&this[_0x121872(0x7a)]&&this[_0x121872(0x7a)][_0x121872(0x79)]&&(this[_0x121872(0x79)][_0x121872(0x84)](),this[_0x121872(0x7a)][_0x121872(0x79)][_0x121872(0x8e)](),this[_0x121872(0x87)](this[_0x121872(0x7a)]),this[_0x121872(0x75)]=!0x1,this[_0x121872(0x7a)][_0x121872(0x8f)](),this[_0x121872(0x7a)]=void 0x0);}};}function _0x5b73(){var _0x270fdb=['161064sqGZcs','focus','8qsLObn','cancel','deregisterChild','showConfirm','render','cancelConfirm','_removeConfirm','53772nxpPWr','2867076IygUnb','remove','destroy','711vlqaEg','22yXMTqz','set','51297ZKmSUN','309230gRViup','isConfirm','33008ppXGZs','65cXWUaC','fire','element','confirmView','locale','message','91nwDEFO','2386860rlahtc','registerChild','appendChild','once','submit'];_0x5b73=function(){return _0x270fdb;};return _0x5b73();}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x56a2(_0xcc20cd,_0x56c1c2){const _0x5bd810=_0x5bd8();return _0x56a2=function(_0x56a208,_0x262000){_0x56a208=_0x56a208-0x152;let _0x4aaa5e=_0x5bd810[_0x56a208];return _0x4aaa5e;},_0x56a2(_0xcc20cd,_0x56c1c2);}const _0x37eaf1=_0x56a2;(function(_0x428859,_0x358365){const _0x23677b=_0x56a2,_0x1799c6=_0x428859();while(!![]){try{const _0x5883df=-parseInt(_0x23677b(0x153))/0x1*(-parseInt(_0x23677b(0x173))/0x2)+parseInt(_0x23677b(0x157))/0x3*(-parseInt(_0x23677b(0x166))/0x4)+-parseInt(_0x23677b(0x15e))/0x5*(parseInt(_0x23677b(0x155))/0x6)+-parseInt(_0x23677b(0x15d))/0x7*(parseInt(_0x23677b(0x154))/0x8)+parseInt(_0x23677b(0x152))/0x9+parseInt(_0x23677b(0x160))/0xa*(-parseInt(_0x23677b(0x16b))/0xb)+parseInt(_0x23677b(0x165))/0xc;if(_0x5883df===_0x358365)break;else _0x1799c6['push'](_0x1799c6['shift']());}catch(_0x427d58){_0x1799c6['push'](_0x1799c6['shift']());}}}(_0x5bd8,0x3f04d));import{View as _0x29e7bc,ButtonView as _0x528f5a}from'ckeditor5/src/ui.js';import{icons as _0x4b21d3}from'ckeditor5/src/core.js';import{getTranslation as _0x1f12a3}from'./common-translations.js';function _0x5bd8(){const _0x511629=['cancel','setTemplate','ck-thread__remove-confirm','cancelView','44MtcUsH','ck-thread__remove-confirm-','check','Yes','extendTemplate','_createButtonView','Are\x20you\x20sure?','message','38DBLpaV','1174464yCVlyu','2911swJEEG','331976TJPvBT','734274vNfTqE','set','123777nyNFBQ','submit','icon','ck-thread__remove-confirm-inner','label','bindTemplate','35onMNiq','5OlcKis','execute','146340NxXwnr','ck-thread__remove-confirm-actions','fire','submitView','div','6518856MAiwsr','8VNPeZm'];_0x5bd8=function(){return _0x511629;};return _0x5bd8();}export default class h extends _0x29e7bc{constructor(_0x2d73eb){const _0x3ba64e=_0x56a2;super(_0x2d73eb);const _0x48c450=this[_0x3ba64e(0x15c)];this[_0x3ba64e(0x163)]=this[_0x3ba64e(0x170)](_0x2d73eb,_0x1f12a3(_0x2d73eb,_0x3ba64e(0x16e)),_0x4b21d3[_0x3ba64e(0x16d)],_0x3ba64e(0x158)),this[_0x3ba64e(0x16a)]=this[_0x3ba64e(0x170)](_0x2d73eb,_0x1f12a3(_0x2d73eb,'No'),_0x4b21d3[_0x3ba64e(0x167)],_0x3ba64e(0x167)),this[_0x3ba64e(0x156)](_0x3ba64e(0x172),_0x1f12a3(_0x2d73eb,_0x3ba64e(0x171))),this[_0x3ba64e(0x168)]({'tag':_0x3ba64e(0x164),'attributes':{'class':[_0x3ba64e(0x169)]},'children':[{'tag':_0x3ba64e(0x164),'attributes':{'class':_0x3ba64e(0x15a)},'children':[{'tag':'p','children':[{'text':_0x48c450['to'](_0x3ba64e(0x172))}]},{'tag':_0x3ba64e(0x164),'attributes':{'class':_0x3ba64e(0x161)},'children':[this[_0x3ba64e(0x163)],this[_0x3ba64e(0x16a)]]}]}]});}[_0x37eaf1(0x170)](_0x44d536,_0x2256f2,_0x54ae3b,_0x3cfa32){const _0x23e06f=_0x37eaf1,_0x1c5332=new _0x528f5a(_0x44d536);return _0x1c5332[_0x23e06f(0x15b)]=_0x2256f2,_0x1c5332[_0x23e06f(0x159)]=_0x54ae3b,_0x1c5332[_0x23e06f(0x16f)]({'attributes':{'class':_0x23e06f(0x16c)+_0x3cfa32}}),_0x1c5332['on'](_0x23e06f(0x15f),()=>this[_0x23e06f(0x162)](_0x3cfa32)),_0x1c5332;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x4af355,_0x2f6ddc){const _0x3c6e17=_0x8281,_0x405fd0=_0x4af355();while(!![]){try{const _0x59e89c=-parseInt(_0x3c6e17(0x16f))/0x1*(parseInt(_0x3c6e17(0x16e))/0x2)+-parseInt(_0x3c6e17(0x16a))/0x3+-parseInt(_0x3c6e17(0x164))/0x4*(-parseInt(_0x3c6e17(0x15f))/0x5)+-parseInt(_0x3c6e17(0x15d))/0x6*(parseInt(_0x3c6e17(0x168))/0x7)+-parseInt(_0x3c6e17(0x171))/0x8*(parseInt(_0x3c6e17(0x16d))/0x9)+parseInt(_0x3c6e17(0x160))/0xa*(-parseInt(_0x3c6e17(0x170))/0xb)+-parseInt(_0x3c6e17(0x166))/0xc*(-parseInt(_0x3c6e17(0x162))/0xd);if(_0x59e89c===_0x2f6ddc)break;else _0x405fd0['push'](_0x405fd0['shift']());}catch(_0x4e56d6){_0x405fd0['push'](_0x405fd0['shift']());}}}(_0x5834,0xa0034));import _0x55f0bb from'date-fns/format/index.js';import _0x274589 from'date-fns/parseISO/index.js';import _0x1eb2fb from'date-fns/differenceInCalendarDays/index.js';function _0x5834(){const _0x83219c=['MM-dd-yyyy\x20hh:mma','6940wmzsXx','invalid-date-time-format','405708YlzsXW','\x27Last\x27\x20EEEE\x20hh:mma','875UdDmEf','\x27Today\x27\x20hh:mma','1411146esLYBq','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','443457kASoFb','6hxWxUA','102983KXVNWw','27533EGRSTR','24XVLffa','28062HuQeqC','function','930dOYJrv','60RHZfCf','string','715DmWvli'];_0x5834=function(){return _0x83219c;};return _0x5834();}import{CKEditorError as _0x5dbb5e}from'ckeditor5/src/utils.js';function _0x8281(_0x328dd0,_0x5ba66a){const _0x583481=_0x5834();return _0x8281=function(_0x8281be,_0x2f85ea){_0x8281be=_0x8281be-0x15d;let _0x34d855=_0x583481[_0x8281be];return _0x34d855;},_0x8281(_0x328dd0,_0x5ba66a);}export default function j(_0x2bab7c={}){const _0xc724bc=_0x8281;if(void 0x0!==_0x2bab7c[_0xc724bc(0x16c)]&&_0xc724bc(0x15e)!=typeof _0x2bab7c[_0xc724bc(0x16c)])throw new _0x5dbb5e(_0xc724bc(0x165));return _0x459fbb=>{const _0x14b314=_0xc724bc,_0x443b4e=_0x14b314(0x161)==typeof _0x459fbb?_0x274589(_0x459fbb):_0x459fbb,_0x552ce7=new Date(),_0x2294a4=_0x1eb2fb(_0x552ce7,_0x443b4e);return _0x2bab7c[_0x14b314(0x16c)]?_0x2bab7c[_0x14b314(0x16c)](_0x443b4e):_0x55f0bb(_0x443b4e,0x0===_0x2294a4?_0x14b314(0x169):0x1===_0x2294a4?_0x14b314(0x16b):_0x2294a4<0x7?_0x14b314(0x167):_0x14b314(0x163));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x2e0d32,_0x26b8ce){const _0x177025=_0x701c,_0x534423=_0x2e0d32();while(!![]){try{const _0x5a969e=parseInt(_0x177025(0x18f))/0x1*(parseInt(_0x177025(0x18b))/0x2)+-parseInt(_0x177025(0x1a0))/0x3*(-parseInt(_0x177025(0x192))/0x4)+parseInt(_0x177025(0x189))/0x5*(parseInt(_0x177025(0x194))/0x6)+-parseInt(_0x177025(0x187))/0x7+-parseInt(_0x177025(0x18e))/0x8*(-parseInt(_0x177025(0x19c))/0x9)+-parseInt(_0x177025(0x185))/0xa*(parseInt(_0x177025(0x18c))/0xb)+-parseInt(_0x177025(0x19f))/0xc*(parseInt(_0x177025(0x184))/0xd);if(_0x5a969e===_0x26b8ce)break;else _0x534423['push'](_0x534423['shift']());}catch(_0x3a419b){_0x534423['push'](_0x534423['shift']());}}}(_0xd17a,0x52e57));import{first as _0x4959a6}from'ckeditor5/src/utils.js';function _0x701c(_0x4dd730,_0x5171b1){const _0xd17ad1=_0xd17a();return _0x701c=function(_0x701c5a,_0x33e58a){_0x701c5a=_0x701c5a-0x184;let _0x2fe99c=_0xd17ad1[_0x701c5a];return _0x2fe99c;},_0x701c(_0x4dd730,_0x5171b1);}function _0xd17a(){const _0x25ce92=['push','mapViewToDom','domElement','view','length','item','mapper','9oqxJhs','getClientRects','filter','1728NLSiiJ','1869021FKfJOA','86762EXzlaP','46590OdquCU','markerNameToElements','1708805yhNobQ','values','200JJAFEL','domConverter','10pmMmMf','319MIMpSh','name','787784suxorF','81485bZrMxl','map','from','4oWRdNX','sort','82638GTrqQZ'];_0xd17a=function(){return _0x25ce92;};return _0xd17a();}export default function k(_0x3cf24d,_0x1f246c){const _0x20a519=_0x701c,_0x57fdf0=_0x3cf24d[_0x20a519(0x19b)][_0x20a519(0x186)](_0x1f246c[_0x20a519(0x18d)]);if(!_0x57fdf0)return null;const _0x34faaf=_0x4959a6(_0x57fdf0[_0x20a519(0x188)]());return _0x3cf24d[_0x20a519(0x198)][_0x20a519(0x18a)][_0x20a519(0x196)](_0x34faaf)||null;}export function getAllMarkersDomElementsSorted(_0x2f2cbb,_0xc5d8e2){const _0x34ea3b=_0x701c;if(0x0===_0xc5d8e2[_0x34ea3b(0x199)])return null;const _0x3d31dc=[],_0x311ea9=_0x2f2cbb[_0x34ea3b(0x198)][_0x34ea3b(0x18a)];for(const _0xf841ff of _0xc5d8e2){const _0x3b750a=_0x2f2cbb[_0x34ea3b(0x19b)][_0x34ea3b(0x186)](_0xf841ff[_0x34ea3b(0x18d)]);if(!_0x3b750a)continue;const _0x208378=Array[_0x34ea3b(0x191)](_0x3b750a)[_0x34ea3b(0x190)](_0x57da76=>_0x311ea9[_0x34ea3b(0x196)](_0x57da76))[_0x34ea3b(0x19e)](_0x380859=>!!_0x380859);_0x3d31dc[_0x34ea3b(0x195)](..._0x208378);}if(0x0===_0x3d31dc[_0x34ea3b(0x199)])return null;const _0x57d62d=[];for(const _0xf832c2 of _0x3d31dc){const _0x5a563b=_0xf832c2[_0x34ea3b(0x19d)]()[_0x34ea3b(0x19a)](0x0);_0x5a563b&&_0x57d62d[_0x34ea3b(0x195)]({'x':_0x5a563b['x'],'y':_0x5a563b['y'],'domElement':_0xf832c2});}return 0x0===_0x57d62d[_0x34ea3b(0x199)]?null:(_0x57d62d[_0x34ea3b(0x193)]((_0x195835,_0x2a5d9d)=>_0x195835['y']-_0x2a5d9d['y']||_0x195835['x']-_0x2a5d9d['x']),_0x57d62d[_0x34ea3b(0x190)](_0x5938a5=>_0x5938a5[_0x34ea3b(0x197)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x14de(){const _0x2bb5bf=['7449772CKdDEQ','307BUGgvE','3QQkWxe','object','isArray','5416270XyDWFg','3012lvjavY','toString','3377560PbbVyc','keys','3297352TobKcL','5622PBZiEF','number','sign','charCodeAt','6713NdLdCo','string','9uWOlmX','sort','607280EFNvnE'];_0x14de=function(){return _0x2bb5bf;};return _0x14de();}(function(_0x2acc48,_0x37dedc){const _0x26f8e3=_0x46a9,_0x5402f4=_0x2acc48();while(!![]){try{const _0x3427c6=-parseInt(_0x26f8e3(0x143))/0x1*(-parseInt(_0x26f8e3(0x134))/0x2)+parseInt(_0x26f8e3(0x144))/0x3*(parseInt(_0x26f8e3(0x136))/0x4)+-parseInt(_0x26f8e3(0x141))/0x5+-parseInt(_0x26f8e3(0x139))/0x6*(-parseInt(_0x26f8e3(0x13d))/0x7)+-parseInt(_0x26f8e3(0x138))/0x8+parseInt(_0x26f8e3(0x13f))/0x9*(-parseInt(_0x26f8e3(0x133))/0xa)+-parseInt(_0x26f8e3(0x142))/0xb;if(_0x3427c6===_0x37dedc)break;else _0x5402f4['push'](_0x5402f4['shift']());}catch(_0x5955ab){_0x5402f4['push'](_0x5402f4['shift']());}}}(_0x14de,0x6e8cb));export default function b(_0x255395){let _0x19d67e=0x0,_0x195c34=0x0;for(const _0x3aa5c0 of A(_0x255395))_0x19d67e=(_0x19d67e<<0x5)-_0x19d67e+_0x3aa5c0,_0x19d67e|=0x0,[_0x19d67e,_0x195c34]=[_0x195c34,_0x19d67e];return q(_0x19d67e)+q(_0x195c34);}function*g(_0x106398){const _0x1056ee=_0x46a9;null==_0x106398||null==_0x106398?yield 0x12b9b0a1:0x0===_0x106398||!0x1===_0x106398?yield 0x0:0x1===_0x106398||0x1==_0x106398?yield 0x1:Array[_0x1056ee(0x132)](_0x106398)?yield*function*(_0x2e1285){for(const _0xffa800 of _0x2e1285)yield*g(_0xffa800);}(_0x106398):_0x1056ee(0x131)==typeof _0x106398?yield*A(_0x106398):_0x1056ee(0x13e)==typeof _0x106398?yield*M(_0x106398):_0x1056ee(0x13a)==typeof _0x106398&&(yield _0x106398);}function*A(_0x3ce73d){const _0xbc9cad=_0x46a9;if(yield O('{'),_0x3ce73d){const _0x46446d=Object[_0xbc9cad(0x137)](_0x3ce73d)[_0xbc9cad(0x140)]();for(const _0x443969 of _0x46446d){yield*M(_0x443969),yield O(':');const _0x56ce79=_0x3ce73d[_0x443969];yield*g(_0x56ce79);}}yield O('}');}function _0x46a9(_0x3eb036,_0x1ec507){const _0x14de8f=_0x14de();return _0x46a9=function(_0x46a9b9,_0x2cdb70){_0x46a9b9=_0x46a9b9-0x131;let _0x4638d7=_0x14de8f[_0x46a9b9];return _0x4638d7;},_0x46a9(_0x3eb036,_0x1ec507);}function*M(_0x2f9d03){yield O('\x22');for(const _0x3fc140 of _0x2f9d03)yield O(_0x3fc140);yield O('\x22');}function O(_0x21365b){const _0x2ea650=_0x46a9;return _0x21365b[_0x2ea650(0x13c)](0x0);}function q(_0x82751){const _0x1119ec=_0x46a9;return(_0x82751*=Math[_0x1119ec(0x13b)](_0x82751))[_0x1119ec(0x135)](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x5f23(){const _0x2189f0=['WProofreader','9cxSXHp','concat','builtinPlugins','18780330irRoFu','RevisionTracker','find','removePlugins','plugins','pluginName','requires','initialData','set','config','1479884JgiTiD','WebSocketGateway','4704980OOKWfB','every','extraPlugins','13170tPfTXc','63720SpaXfp','prototype','rootsAttributes','_context','WordCount','filter','has','constructor','names','224649fwJDPQ','3056584kKrmIR','string','75odyWdY','from','1095UMEkfA','length','map','toolbar','includes','DocumentOutline','context','Autosave','get'];_0x5f23=function(){return _0x2189f0;};return _0x5f23();}const _0x52c6e3=_0x101a;(function(_0x2c4db3,_0x10c38c){const _0x2d410a=_0x101a,_0x486987=_0x2c4db3();while(!![]){try{const _0x39a089=-parseInt(_0x2d410a(0x147))/0x1+-parseInt(_0x2d410a(0x13e))/0x2*(parseInt(_0x2d410a(0x14a))/0x3)+parseInt(_0x2d410a(0x138))/0x4+parseInt(_0x2d410a(0x14c))/0x5*(parseInt(_0x2d410a(0x13d))/0x6)+-parseInt(_0x2d410a(0x13a))/0x7+parseInt(_0x2d410a(0x148))/0x8*(-parseInt(_0x2d410a(0x12b))/0x9)+parseInt(_0x2d410a(0x12e))/0xa;if(_0x39a089===_0x10c38c)break;else _0x486987['push'](_0x486987['shift']());}catch(_0x4334c5){_0x486987['push'](_0x486987['shift']());}}}(_0x5f23,0x9f823));function _0x101a(_0x461e3d,_0xb3c7d4){const _0x5f23ac=_0x5f23();return _0x101a=function(_0x101a84,_0x3f82de){_0x101a84=_0x101a84-0x125;let _0x47d464=_0x5f23ac[_0x101a84];return _0x47d464;},_0x101a(_0x461e3d,_0xb3c7d4);}const w=[_0x52c6e3(0x135),_0x52c6e3(0x127),_0x52c6e3(0x14f),_0x52c6e3(0x140)],W=[_0x52c6e3(0x139),_0x52c6e3(0x12f),_0x52c6e3(0x128),_0x52c6e3(0x142),_0x52c6e3(0x126),_0x52c6e3(0x12a)];function v(_0x45cfed,_0x24db52,_0x87c50f,_0x55d3ac=[]){const _0xa21d9e=_0x52c6e3,_0x1a47e4=_0xa21d9e(0x149)==typeof _0x45cfed?_0x87c50f[_0xa21d9e(0x129)](_0x45cfed)[_0xa21d9e(0x145)]:_0x45cfed[_0xa21d9e(0x13f)][_0xa21d9e(0x145)];if(_0x24db52[_0xa21d9e(0x144)](_0x1a47e4))return _0x24db52[_0xa21d9e(0x129)](_0x1a47e4);_0x24db52[_0xa21d9e(0x136)](_0x1a47e4,!0x0);const _0x29be7c=[...W,..._0x55d3ac][_0xa21d9e(0x14e)](_0x329c08=>{const _0x568bca=_0xa21d9e;if(_0x87c50f[_0x568bca(0x144)](_0x329c08))return _0x87c50f[_0x568bca(0x129)](_0x329c08)[_0x568bca(0x145)];})[_0xa21d9e(0x143)](_0x34c6c2=>_0x34c6c2);if(_0x1a47e4&&_0x29be7c[_0xa21d9e(0x125)](_0x1a47e4))return _0x24db52[_0xa21d9e(0x136)](_0x1a47e4,!0x1),!0x1;if(!_0x1a47e4[_0xa21d9e(0x134)])return _0x24db52[_0xa21d9e(0x136)](_0x1a47e4,!0x0),!0x0;const _0x2765e1=_0x1a47e4[_0xa21d9e(0x134)][_0xa21d9e(0x13b)](_0x12fd55=>v(_0x12fd55,_0x24db52,_0x87c50f,_0x55d3ac));return _0x24db52[_0xa21d9e(0x136)](_0x1a47e4,_0x2765e1),_0x2765e1;}export default function D(_0x29a812,_0x54fa89){const _0x217e2d=_0x52c6e3,_0x56ee75={};for(const _0x6e0997 of _0x29a812[_0x217e2d(0x137)][_0x217e2d(0x146)]())w[_0x217e2d(0x125)](_0x6e0997)||(_0x56ee75[_0x6e0997]=_0x29a812[_0x217e2d(0x137)][_0x217e2d(0x129)](_0x6e0997));const _0x2a26d0=_0x56ee75[_0x217e2d(0x132)]||[],_0xf8371b=_0x29a812[_0x217e2d(0x145)][_0x217e2d(0x12d)]||[],_0x5c49af=_0x2a26d0[_0x217e2d(0x14d)]?_0x2a26d0:_0xf8371b,_0x141426=_0x56ee75[_0x217e2d(0x13c)]||[];delete _0x56ee75[_0x217e2d(0x13c)];const _0x5d6ce2=_0x56ee75[_0x217e2d(0x131)]||[];delete _0x56ee75[_0x217e2d(0x131)];const _0x2fab57=_0x29a812[_0x217e2d(0x141)][_0x217e2d(0x137)][_0x217e2d(0x129)](_0x217e2d(0x132))||[],_0x2595af=_0x5c49af[_0x217e2d(0x12c)](_0x141426)[_0x217e2d(0x12c)](_0x2fab57)[_0x217e2d(0x14e)](_0x5e3f56=>_0x217e2d(0x149)==typeof _0x5e3f56?_0xf8371b[_0x217e2d(0x130)](_0x489c95=>_0x489c95[_0x217e2d(0x133)]==_0x5e3f56):_0x5e3f56)[_0x217e2d(0x143)](_0x28d1bb=>!_0x5d6ce2[_0x217e2d(0x125)](_0x28d1bb)&&!_0x5d6ce2[_0x217e2d(0x125)](_0x28d1bb[_0x217e2d(0x133)])),_0x91a163=Array[_0x217e2d(0x14b)](new Set(_0x2595af)),_0x3e5ce3=new Map();return _0x56ee75[_0x217e2d(0x132)]=_0x91a163[_0x217e2d(0x143)](_0x1aea57=>v(_0x1aea57,_0x3e5ce3,_0x29a812[_0x217e2d(0x132)],_0x54fa89)),_0x56ee75;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x7cff(_0x90da92,_0x2dc396){const _0x57452d=_0x5745();return _0x7cff=function(_0x7cff46,_0x1fdf8b){_0x7cff46=_0x7cff46-0xf4;let _0x13c255=_0x57452d[_0x7cff46];return _0x13c255;},_0x7cff(_0x90da92,_0x2dc396);}(function(_0x24285c,_0x3e7e0b){const _0x2dcc87=_0x7cff,_0x5be707=_0x24285c();while(!![]){try{const _0x34af6b=-parseInt(_0x2dcc87(0x10b))/0x1*(-parseInt(_0x2dcc87(0xfc))/0x2)+-parseInt(_0x2dcc87(0xfd))/0x3*(-parseInt(_0x2dcc87(0x102))/0x4)+-parseInt(_0x2dcc87(0x103))/0x5*(-parseInt(_0x2dcc87(0x106))/0x6)+-parseInt(_0x2dcc87(0x107))/0x7*(-parseInt(_0x2dcc87(0xf8))/0x8)+-parseInt(_0x2dcc87(0xfa))/0x9+-parseInt(_0x2dcc87(0xff))/0xa*(-parseInt(_0x2dcc87(0xf4))/0xb)+-parseInt(_0x2dcc87(0x105))/0xc;if(_0x34af6b===_0x3e7e0b)break;else _0x5be707['push'](_0x5be707['shift']());}catch(_0x5562f3){_0x5be707['push'](_0x5be707['shift']());}}}(_0x5745,0xb7165));export default function z(_0x3bdfc9,_0x701e2b){const _0x221c3d=_0x7cff,_0x2cb53d=[];_0x3bdfc9[_0x221c3d(0x10c)][_0x221c3d(0xf6)]['on'](_0x221c3d(0xf5),()=>{const _0x5b2615=_0x221c3d,_0x25300d=function(_0x1020e0,_0x46b79f){const _0x50c31e=_0x7cff,_0x2f0b38=[];for(const _0x5cd156 of _0x1020e0[_0x50c31e(0x100)]){const _0x5bfd65=_0x5cd156[_0x50c31e(0xf9)]();(_0x5bfd65[_0x50c31e(0x109)](_0x46b79f)||_0x5bfd65[_0x50c31e(0x101)][_0x50c31e(0x108)](_0x46b79f)||_0x5bfd65[_0x50c31e(0x10a)][_0x50c31e(0x108)](_0x46b79f))&&_0x2f0b38[_0x50c31e(0xfe)](_0x5cd156);}return _0x2f0b38;}(_0x3bdfc9,_0x3bdfc9[_0x5b2615(0x10c)][_0x5b2615(0xf6)][_0x5b2615(0xf7)]),_0x5b4d3d=[],_0x354eb3=[],_0x23e85b=[];for(const _0xb941e of _0x2cb53d)_0x25300d[_0x5b2615(0x104)](_0xb941e)||_0x5b4d3d[_0x5b2615(0xfe)](_0xb941e);for(const _0x5b859b of _0x25300d)_0x2cb53d[_0x5b2615(0x104)](_0x5b859b)||_0x354eb3[_0x5b2615(0xfe)](_0x5b859b),_0x23e85b[_0x5b2615(0xfe)](_0x5b859b);(_0x5b4d3d[_0x5b2615(0xfb)]||_0x354eb3[_0x5b2615(0xfb)])&&_0x701e2b({'left':_0x5b4d3d,'entered':_0x354eb3}),_0x2cb53d[_0x5b2615(0xfb)]=0x0,_0x2cb53d[_0x5b2615(0xfe)](..._0x23e85b);});}function _0x5745(){const _0x103b82=['document','1001ldDnUf','change:range','selection','focus','7831576sxAGqv','getRange','5850522OoWXKS','length','561356FeAqWE','6rIknum','push','27590VMDcgO','markers','start','2131028CTEkgK','15lTncUy','includes','27653652DWxziX','2256492oyrXXO','7qTbwjG','isEqual','containsPosition','end','1BPenOv'];_0x5745=function(){return _0x103b82;};return _0x5745();}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
const _0x2d7d21=_0xc69d;function _0xc69d(_0x3de272,_0x533135){const _0x124d21=_0x124d();return _0xc69d=function(_0xc69d23,_0x45f34f){_0xc69d23=_0xc69d23-0x148;let _0x1b460a=_0x124d21[_0xc69d23];return _0x1b460a;},_0xc69d(_0x3de272,_0x533135);}(function(_0x2e6f82,_0x2098b5){const _0x2de8ab=_0xc69d,_0x4bf2bd=_0x2e6f82();while(!![]){try{const _0x41c4bc=-parseInt(_0x2de8ab(0x159))/0x1+parseInt(_0x2de8ab(0x15a))/0x2+-parseInt(_0x2de8ab(0x148))/0x3*(parseInt(_0x2de8ab(0x153))/0x4)+parseInt(_0x2de8ab(0x14d))/0x5+-parseInt(_0x2de8ab(0x149))/0x6+-parseInt(_0x2de8ab(0x155))/0x7+parseInt(_0x2de8ab(0x15b))/0x8;if(_0x41c4bc===_0x2098b5)break;else _0x4bf2bd['push'](_0x4bf2bd['shift']());}catch(_0x70ef4e){_0x4bf2bd['push'](_0x4bf2bd['shift']());}}}(_0x124d,0x23288));export default function Z(_0x53476f,{limit:_0x449d48,suffix:_0x8bff7c=_0x2d7d21(0x14a)}){const _0x2e94cf=_0x2d7d21,_0x5265f9=[];let _0x4f6b9d=0x0;const _0x3fb458=_0x53476f[_0x2e94cf(0x156)](/</g,'\x0a<')[_0x2e94cf(0x156)](/>/g,'>\x0a')[_0x2e94cf(0x156)](/^\n/g,'')[_0x2e94cf(0x156)](/\n$/g,'')[_0x2e94cf(0x152)]('\x0a');for(let _0x4f4be6=0x0;_0x4f4be6<_0x3fb458[_0x2e94cf(0x151)];_0x4f4be6++){let _0x24dee7=_0x3fb458[_0x4f4be6];const _0x3311ca=$(_0x24dee7);if(_0x24dee7[_0x2e94cf(0x14b)]('<')){if(_0x4f6b9d>=_0x449d48){const _0x1ecb7b=_0x24dee7[_0x2e94cf(0x14c)](/[a-zA-Z]+/);if(!_0x1ecb7b){_0x3fb458[_0x4f4be6]='';continue;}const _0x285f22=_0x1ecb7b[0x0];_0x24dee7[_0x2e94cf(0x14b)]('</')?(_0x5265f9[_0x2e94cf(0x151)]&&(_0x24dee7=''),_0x5265f9[_0x2e94cf(0x154)]()):(_0x5265f9[_0x2e94cf(0x14f)](_0x285f22),_0x24dee7='');}}else{if(_0x4f6b9d>=_0x449d48)_0x24dee7='';else{if(_0x4f6b9d+_0x3311ca[_0x2e94cf(0x151)]>=_0x449d48){let _0x2e310d=_0x449d48-_0x4f6b9d;if('\x20'===_0x3311ca[_0x2e310d-0x1])_0x2e310d--;else{const _0x59ab38=_0x3311ca[_0x2e94cf(0x14e)](_0x2e310d)[_0x2e94cf(0x157)]('\x20');-0x1!==_0x59ab38?_0x2e310d+=_0x59ab38:_0x2e310d=_0x24dee7[_0x2e94cf(0x151)];}_0x24dee7=_0x3311ca[_0x2e94cf(0x14e)](0x0,_0x2e310d)[_0x2e94cf(0x158)]('')+_0x8bff7c,_0x4f6b9d=_0x449d48;}else _0x4f6b9d+=_0x3311ca[_0x2e94cf(0x151)];}}_0x3fb458[_0x4f4be6]=_0x24dee7;}return _0x3fb458[_0x2e94cf(0x158)]('\x0a')[_0x2e94cf(0x156)](/\n/g,'');}function _0x124d(){const _0x2dd9cb=['substring','length','split','540SxOxjs','pop','1082487KPJznp','replace','indexOf','join','154707fzfQJi','292760qnYRqC','5601632dwvplV','6336JXvKiE','1474218jwqQFH','...','startsWith','match','687975oxkpKd','slice','push'];_0x124d=function(){return _0x2dd9cb;};return _0x124d();}function $(_0x1cb556){const _0x29d136=_0x2d7d21,_0x3bc802=[];for(let _0xea60c9=0x0;_0xea60c9<_0x1cb556[_0x29d136(0x151)];_0xea60c9++){const _0x54c802=_0x1cb556[_0x29d136(0x150)](_0xea60c9)[_0x29d136(0x14c)](/^&[a-z0-9#]+;/);if(_0x54c802){const _0x3474cf=_0x54c802[0x0];_0x3bc802[_0x29d136(0x14f)](_0x3474cf),_0xea60c9+=_0x3474cf[_0x29d136(0x151)]-0x1;}else _0x3bc802[_0x29d136(0x14f)](_0x1cb556[_0xea60c9]);}return _0x3bc802;}
|