@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240303.0 → 0.0.0-nightly-20240305.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/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x952e(){const _0x3daa1f=['40mFsqeP','enableCommand','afterInit','insertTemplate','get','3128875klskvA','38qiJiFd','has','721069rYhopI','475299mWzyyz','22531760mAFDzu','2382xsDuuw','11081SczKuM','Template','47856ZsGezN','TrackChangesEditing','2416864WSLopS','editor','plugins'];_0x952e=function(){return _0x3daa1f;};return _0x952e();}const _0x1da788=_0x5a80;(function(_0x4ac9fc,_0x278f7f){const _0x377bab=_0x5a80,_0x32b80a=_0x4ac9fc();while(!![]){try{const _0x2357ae=parseInt(_0x377bab(0xd3))/0x1+parseInt(_0x377bab(0xd1))/0x2*(parseInt(_0x377bab(0xc6))/0x3)+parseInt(_0x377bab(0xc8))/0x4+parseInt(_0x377bab(0xd0))/0x5+-parseInt(_0x377bab(0xc3))/0x6*(-parseInt(_0x377bab(0xc4))/0x7)+-parseInt(_0x377bab(0xcb))/0x8*(parseInt(_0x377bab(0xd4))/0x9)+-parseInt(_0x377bab(0xd5))/0xa;if(_0x2357ae===_0x278f7f)break;else _0x32b80a['push'](_0x32b80a['shift']());}catch(_0x51b614){_0x32b80a['push'](_0x32b80a['shift']());}}}(_0x952e,0x59338));import{Plugin as _0x2ca284}from'ckeditor5/src/core.js';function _0x5a80(_0x20b215,_0x52b577){const _0x952ea9=_0x952e();return _0x5a80=function(_0x5a80d8,_0x269901){_0x5a80d8=_0x5a80d8-0xc3;let _0x536a57=_0x952ea9[_0x5a80d8];return _0x536a57;},_0x5a80(_0x20b215,_0x52b577);}export default class vt extends _0x2ca284{[_0x1da788(0xcd)](){const _0x19d528=_0x1da788,_0x4bb6ba=this[_0x19d528(0xc9)];_0x4bb6ba[_0x19d528(0xca)][_0x19d528(0xd2)](_0x19d528(0xc5))&&_0x4bb6ba[_0x19d528(0xca)][_0x19d528(0xcf)](_0x19d528(0xc7))[_0x19d528(0xcc)](_0x19d528(0xce));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x448b7f=_0x4b59;(function(_0x1693ee,_0x59c123){const _0x56b76e=_0x4b59,_0x27bd91=_0x1693ee();while(!![]){try{const _0x3c5c3b=parseInt(_0x56b76e(0x1ae))/0x1*(parseInt(_0x56b76e(0x19c))/0x2)+-parseInt(_0x56b76e(0x1af))/0x3*(parseInt(_0x56b76e(0x1b8))/0x4)+parseInt(_0x56b76e(0x19d))/0x5*(-parseInt(_0x56b76e(0x19a))/0x6)+parseInt(_0x56b76e(0x1bf))/0x7+-parseInt(_0x56b76e(0x1b9))/0x8+parseInt(_0x56b76e(0x1c5))/0x9*(parseInt(_0x56b76e(0x1b1))/0xa)+parseInt(_0x56b76e(0x19e))/0xb*(parseInt(_0x56b76e(0x1a6))/0xc);if(_0x3c5c3b===_0x59c123)break;else _0x27bd91['push'](_0x27bd91['shift']());}catch(_0x429476){_0x27bd91['push'](_0x27bd91['shift']());}}}(_0x34e2,0x1c5d1));function _0x34e2(){const _0x24d3d6=['updateMarker','schema','12pVxBrx','document','Title','end','suggestion','from','get','getChangedMarkers','1oaBtOc','57upzIKL','differ','20vYLRlQ','locale','forward','nodeBefore','element','_splitMarkerName','has','34140qTRILg','1224864bjavqQ','getNearestSelectionRange','plugins','isCollapsed','createRange','_descriptionFactory','260624evXyxp','start','isEqual','title-content','registerElementLabel','ELEMENT_TITLE','330966suUqfv','registerPostFixer','isTouching','1704VLpSPx','newRange','236290JxmGcB','2830lGUAJv','3995959CZDlhJ','editor','TrackChangesEditing','afterInit','removeMarker','model'];_0x34e2=function(){return _0x24d3d6;};return _0x34e2();}function _0x4b59(_0x31bdf5,_0x31ffde){const _0x34e25f=_0x34e2();return _0x4b59=function(_0x4b59e7,_0x40f945){_0x4b59e7=_0x4b59e7-0x19a;let _0x1c5ebf=_0x34e25f[_0x4b59e7];return _0x1c5ebf;},_0x4b59(_0x31bdf5,_0x31ffde);}import{Plugin as _0x338b91}from'ckeditor5/src/core.js';import{getTranslation as _0x1549e3}from'../utils/common-translations.js';export default class Ct extends _0x338b91{[_0x448b7f(0x1a1)](){const _0x271471=_0x448b7f,_0x16a042=this[_0x271471(0x19f)];if(!_0x16a042[_0x271471(0x1bb)][_0x271471(0x1b7)](_0x271471(0x1a8)))return;const _0x421d15=_0x16a042[_0x271471(0x1bb)][_0x271471(0x1ac)](_0x271471(0x1a0));_0x421d15[_0x271471(0x1be)][_0x271471(0x1c3)](_0x271471(0x1c2),()=>_0x1549e3(_0x16a042[_0x271471(0x1b2)],_0x271471(0x1c4))),_0x16a042[_0x271471(0x1a3)][_0x271471(0x1a7)][_0x271471(0x1c6)](_0x1812e0=>{const _0x38d4d7=_0x271471;let _0x4d631e=!0x1;const _0x4f3855=Array[_0x38d4d7(0x1ab)](_0x16a042[_0x38d4d7(0x1a3)][_0x38d4d7(0x1a7)][_0x38d4d7(0x1b0)][_0x38d4d7(0x1ad)]());for(const {name:_0x2a40b4,data:_0x1c2fb7}of _0x4f3855){const {group:_0x4e1a74}=_0x421d15[_0x38d4d7(0x1b6)](_0x2a40b4);if(_0x38d4d7(0x1aa)!==_0x4e1a74||!_0x1c2fb7[_0x38d4d7(0x19b)])continue;const _0x543328=_0x1c2fb7[_0x38d4d7(0x19b)],_0x2c65a2=_0x543328[_0x38d4d7(0x1a9)][_0x38d4d7(0x1b4)];if(!_0x2c65a2||!_0x2c65a2['is'](_0x38d4d7(0x1b5),_0x38d4d7(0x1c2)))continue;if(!_0x543328[_0x38d4d7(0x1c0)][_0x38d4d7(0x1c7)](_0x543328[_0x38d4d7(0x1a9)]))continue;const _0x5f3af0=_0x16a042[_0x38d4d7(0x1a3)][_0x38d4d7(0x1a5)][_0x38d4d7(0x1ba)](_0x543328[_0x38d4d7(0x1a9)],_0x38d4d7(0x1b3));if(_0x5f3af0&&_0x5f3af0[_0x38d4d7(0x1bc)]){const _0x5670df=_0x1812e0[_0x38d4d7(0x1bd)](_0x543328[_0x38d4d7(0x1c0)],_0x5f3af0[_0x38d4d7(0x1c0)]);_0x5670df[_0x38d4d7(0x1c1)](_0x543328)||(_0x1812e0[_0x38d4d7(0x1a4)](_0x2a40b4,{'range':_0x5670df}),_0x4d631e=!0x0);}_0x4d631e||(_0x1812e0[_0x38d4d7(0x1a2)](_0x2a40b4),_0x4d631e=!0x0);}return _0x4d631e;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d34e0=_0xcf44;function _0xcf44(_0x36b835,_0x836c23){const _0x19bc02=_0x19bc();return _0xcf44=function(_0xcf4422,_0x396113){_0xcf4422=_0xcf4422-0x167;let _0x1c3290=_0x19bc02[_0xcf4422];return _0x1c3290;},_0xcf44(_0x36b835,_0x836c23);}(function(_0x40a90a,_0x49ebc4){const _0x1c13b7=_0xcf44,_0xb44eba=_0x40a90a();while(!![]){try{const _0x5926b0=parseInt(_0x1c13b7(0x170))/0x1*(-parseInt(_0x1c13b7(0x176))/0x2)+parseInt(_0x1c13b7(0x16b))/0x3*(-parseInt(_0x1c13b7(0x169))/0x4)+-parseInt(_0x1c13b7(0x17a))/0x5*(-parseInt(_0x1c13b7(0x16c))/0x6)+-parseInt(_0x1c13b7(0x17b))/0x7+parseInt(_0x1c13b7(0x167))/0x8*(parseInt(_0x1c13b7(0x173))/0x9)+parseInt(_0x1c13b7(0x16f))/0xa+parseInt(_0x1c13b7(0x171))/0xb;if(_0x5926b0===_0x49ebc4)break;else _0xb44eba['push'](_0xb44eba['shift']());}catch(_0xe298e6){_0xb44eba['push'](_0xb44eba['shift']());}}}(_0x19bc,0x5cb00));function _0x19bc(){const _0xd9da92=['614480MvBAfZ','1yARIkG','1333827jBgVVQ','afterInit','9VdmPkg','editor','TrackChangesEditing','1486388naMSMq','undo','redo','enableCommand','1410505HeHlev','528185XbVvIB','4879432bPtCZg','UndoEditing','244lZQZUf','plugins','7797JaMZjd','12xTRaSA','has','get'];_0x19bc=function(){return _0xd9da92;};return _0x19bc();}import{Plugin as _0x351b11}from'ckeditor5/src/core.js';export default class Dt extends _0x351b11{[_0x1d34e0(0x172)](){const _0x33038d=_0x1d34e0,_0x534944=this[_0x33038d(0x174)],_0xce75c8=_0x534944[_0x33038d(0x16a)][_0x33038d(0x16e)](_0x33038d(0x175));_0x534944[_0x33038d(0x16a)][_0x33038d(0x16d)](_0x33038d(0x168))&&(_0xce75c8[_0x33038d(0x179)](_0x33038d(0x177)),_0xce75c8[_0x33038d(0x179)](_0x33038d(0x178)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf214(_0x3610b9,_0x3abe8d){const _0x1a6d42=_0x1a6d();return _0xf214=function(_0xf2144e,_0x42f67b){_0xf2144e=_0xf2144e-0x140;let _0x48f015=_0x1a6d42[_0xf2144e];return _0x48f015;},_0xf214(_0x3610b9,_0x3abe8d);}(function(_0x3c50b9,_0xf6a2d7){const _0x4ec74f=_0xf214,_0x251f5d=_0x3c50b9();while(!![]){try{const _0x466286=-parseInt(_0x4ec74f(0x175))/0x1+-parseInt(_0x4ec74f(0x14e))/0x2*(parseInt(_0x4ec74f(0x177))/0x3)+-parseInt(_0x4ec74f(0x141))/0x4*(parseInt(_0x4ec74f(0x16f))/0x5)+parseInt(_0x4ec74f(0x15c))/0x6*(parseInt(_0x4ec74f(0x157))/0x7)+parseInt(_0x4ec74f(0x16e))/0x8*(-parseInt(_0x4ec74f(0x167))/0x9)+-parseInt(_0x4ec74f(0x142))/0xa+parseInt(_0x4ec74f(0x14b))/0xb;if(_0x466286===_0xf6a2d7)break;else _0x251f5d['push'](_0x251f5d['shift']());}catch(_0x523249){_0x251f5d['push'](_0x251f5d['shift']());}}}(_0x1a6d,0x9a3c1));export function getRangesWithAttribute(_0x5a96d8,_0x56fe67,_0x52c5ff){const _0x251b9c=_0xf214,_0x261001=[];for(const _0x464ba9 of _0x56fe67[_0x251b9c(0x151)]())_0x464ba9[_0x251b9c(0x15b)](_0x5a96d8)&&_0x261001[_0x251b9c(0x170)](_0x52c5ff[_0x251b9c(0x146)](_0x464ba9));return _0x261001;}function _0x1a6d(){const _0x4b298f=['isAtEnd','hasAttribute','1092594BrZGOQ','model','ck-suggestion-marker-','schema','bindElementToMarker','elementEnd','element','isContent','mapper','ck-suggestion-marker--active','activeMarkers','5757093JTxkQl','listItem','isBlock','getWalker','get','addClass','name','8MvNuYg','20AkqGMR','push','nextSibling','markerName','item','TrackChangesEditing','1182190NIguwn','start','183gAIeis','toViewPosition','343700iFZcfD','926590BpCbIw','type','plugins','test','createRangeOn','writer','toViewElement','previousPosition','createUIElement','38743100JiSpKu','insert','consumable','26696SIwEXY','includes','isLimit','getItems','getCustomProperty','addHighlight','parent','listIndent','span','7DxbDwJ','markerRange','getAttribute'];_0x1a6d=function(){return _0x4b298f;};return _0x1a6d();}export function getElementsAffectedByListItemRename(_0xf00bfd){const _0x313afb=_0xf214,_0x18519a=[];if(_0xf00bfd['is'](_0x313afb(0x162),_0x313afb(0x168))){let _0x57604d=_0xf00bfd[_0x313afb(0x171)];for(;_0x57604d&&_0x57604d['is'](_0x313afb(0x162),_0x313afb(0x168))&&_0x57604d[_0x313afb(0x159)](_0x313afb(0x155))>0x0;)_0x18519a[_0x313afb(0x170)](_0x57604d),_0x57604d=_0x57604d[_0x313afb(0x171)];}return _0x18519a;}export function downcastSplitMergeMarker(_0x25e043,_0x3b5814,{showActiveMarker:_0x34c326=!0x0}={}){const _0x574413=_0xf214,_0x2b7560=_0x25e043[_0x574413(0x144)][_0x574413(0x16b)](_0x574413(0x174));return(_0x4b15c6,_0x90430c,_0x108d22)=>{const _0x2aa1ac=_0x574413;if(!_0x108d22[_0x2aa1ac(0x14d)][_0x2aa1ac(0x145)](_0x90430c[_0x2aa1ac(0x158)],_0x4b15c6[_0x2aa1ac(0x16d)]))return;const _0x5274ca=_0x90430c[_0x2aa1ac(0x158)][_0x2aa1ac(0x16a)](),_0x228115=_0x90430c[_0x2aa1ac(0x158)][_0x2aa1ac(0x176)],_0x375360=_0x25e043[_0x2aa1ac(0x15d)][_0x2aa1ac(0x15f)];let _0x3206c5=null,_0x332153=null,_0x1edcff=!0x1,_0x10cbdd=!0x1;for(const _0x4ef972 of _0x5274ca){const _0x1aa908=_0x4ef972[_0x2aa1ac(0x173)];_0x1edcff=_0x1edcff||_0x375360[_0x2aa1ac(0x163)](_0x1aa908);const _0x279b07=_0x108d22[_0x2aa1ac(0x164)][_0x2aa1ac(0x148)](_0x1aa908);if(_0x279b07&&_0x279b07[_0x2aa1ac(0x152)](_0x2aa1ac(0x153)))return;_0x2aa1ac(0x161)==_0x4ef972[_0x2aa1ac(0x143)]&&(_0x375360[_0x2aa1ac(0x169)](_0x1aa908)&&!_0x375360[_0x2aa1ac(0x150)](_0x1aa908)&&(_0x1aa908[_0x2aa1ac(0x171)]||_0x228115[_0x2aa1ac(0x15a)]?_0x3206c5&&_0x3206c5[_0x2aa1ac(0x154)]==_0x1aa908||(_0x3206c5=_0x1aa908,_0x11f703(_0x4ef972[_0x2aa1ac(0x149)]),_0x10cbdd=!0x0):_0x332153=_0x332153||_0x4ef972[_0x2aa1ac(0x149)]));}function _0x11f703(_0x79ae5b){const _0xd9aba=_0x2aa1ac,_0x3d4f3c=_0x108d22[_0xd9aba(0x147)][_0xd9aba(0x14a)](_0xd9aba(0x156),{'class':_0xd9aba(0x15e)+_0x3b5814}),_0x348f5c=_0x108d22[_0xd9aba(0x164)][_0xd9aba(0x140)](_0x79ae5b);_0x34c326&&_0x2b7560[_0xd9aba(0x166)][_0xd9aba(0x14f)](_0x90430c[_0xd9aba(0x172)])&&_0x108d22[_0xd9aba(0x147)][_0xd9aba(0x16c)](_0xd9aba(0x165),_0x3d4f3c),_0x108d22[_0xd9aba(0x147)][_0xd9aba(0x14c)](_0x348f5c,_0x3d4f3c),_0x108d22[_0xd9aba(0x164)][_0xd9aba(0x160)](_0x3d4f3c,_0x90430c[_0xd9aba(0x172)]);}_0x1edcff||_0x10cbdd||!_0x332153||_0x11f703(_0x332153);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4fee(_0x449626,_0x24108f){const _0x22d661=_0x22d6();return _0x4fee=function(_0x4feee3,_0x4a6130){_0x4feee3=_0x4feee3-0x1be;let _0x43c7c9=_0x22d661[_0x4feee3];return _0x43c7c9;},_0x4fee(_0x449626,_0x24108f);}const _0x329bbd=_0x4fee;(function(_0x1aec19,_0x5d240a){const _0x1c6f2c=_0x4fee,_0x1a9bfb=_0x1aec19();while(!![]){try{const _0x55dde3=parseInt(_0x1c6f2c(0x1d1))/0x1+parseInt(_0x1c6f2c(0x1fe))/0x2*(parseInt(_0x1c6f2c(0x1ca))/0x3)+-parseInt(_0x1c6f2c(0x1f4))/0x4+parseInt(_0x1c6f2c(0x20b))/0x5+parseInt(_0x1c6f2c(0x1dc))/0x6+-parseInt(_0x1c6f2c(0x1ee))/0x7*(-parseInt(_0x1c6f2c(0x208))/0x8)+-parseInt(_0x1c6f2c(0x1cf))/0x9;if(_0x55dde3===_0x5d240a)break;else _0x1a9bfb['push'](_0x1a9bfb['shift']());}catch(_0x5d78eb){_0x1a9bfb['push'](_0x1a9bfb['shift']());}}}(_0x22d6,0xee8d8));import{Element as _0x2c7ace}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x461de5,uid as _0x104dc2}from'ckeditor5/src/utils.js';import{cloneDeep as _0x6e18cb,isEqual as _0x554fe4,set as _0x127ecd,unset as _0x40539d}from'lodash-es';function _0x22d6(){const _0x151abb=['setAttribute','_onAttributesChange','3855222hnbOQm','decorate','_onAccept','get','getRange','addMarker','nodeBefore','removeMarkers','onDiscard','isIntersecting','onAttributesChange','removeAttribute','getFirstRange','add','reduce','getMarkerNames','start','nodeAfter','1232iSNYbC','accept','split','addMarkerName','_isDataLoaded','suggestion:','556624IQjDJu','getItems','data','subType','commentThread','hasComments','isExternal','creator','next','getAllAdjacentSuggestions','2yfJeYk','clear','substr','_saved','isIntersectingWithRange','removeMarker','end','markers','isInContent','getFirstMarker','4552TiGAyX','previous','getContainedElement','663195WhkJeQ','change','getMultiRangeId','onAccept','_model','_onDiscard','authoredAt','_markerNames','delete','set','toJSON','addRange','from','attributes','size','3846897kWkLMy','map','getMarkers','head','getRanges','17860914FsvJqy','type','943195kGyieA','isMultiRange','filter','discard','push','@external','author','createdAt','length'];_0x22d6=function(){return _0x151abb;};return _0x22d6();}export default class u extends _0x461de5(){constructor(_0x392fdc,_0x5125eb){const _0x21f386=_0x4fee;super(),this[_0x21f386(0x1f2)]=!0x1,this['id']=_0x5125eb['id'],this[_0x21f386(0x1d0)]=_0x5125eb[_0x21f386(0x1d0)],this[_0x21f386(0x1f7)]=_0x5125eb[_0x21f386(0x1f7)]||null,this[_0x21f386(0x1d7)]=_0x5125eb[_0x21f386(0x1d7)],this[_0x21f386(0x1fb)]=_0x5125eb[_0x21f386(0x1fb)]||_0x5125eb[_0x21f386(0x1d7)],this[_0x21f386(0x1fa)]=Boolean(_0x5125eb[_0x21f386(0x1c8)]&&_0x5125eb[_0x21f386(0x1c8)][_0x21f386(0x1d6)]),this[_0x21f386(0x1f6)]=null,this[_0x21f386(0x1bf)]=_0x392fdc,this[_0x21f386(0x1de)]=_0x5125eb[_0x21f386(0x1be)],this[_0x21f386(0x1c0)]=_0x5125eb[_0x21f386(0x1e4)],this[_0x21f386(0x1db)]=_0x5125eb[_0x21f386(0x1e6)],this[_0x21f386(0x1c2)]=new Set(),this[_0x21f386(0x1d8)]=null,this[_0x21f386(0x1c4)](_0x21f386(0x1c1),null),this[_0x21f386(0x1c4)](_0x21f386(0x1c8),_0x5125eb[_0x21f386(0x1c8)]||{}),this[_0x21f386(0x1c4)](_0x21f386(0x209),null),this[_0x21f386(0x1c4)](_0x21f386(0x1fc),null),this[_0x21f386(0x1c4)](_0x21f386(0x1f8),null),this[_0x21f386(0x1c4)](_0x21f386(0x201),!0x1),this[_0x21f386(0x1dd)](_0x21f386(0x1ef)),this[_0x21f386(0x1dd)](_0x21f386(0x1d4));}get[_0x329bbd(0x1cd)](){const _0x4c5785=_0x329bbd;let _0x4ebf22=this;for(;_0x4ebf22[_0x4c5785(0x209)];)_0x4ebf22=_0x4ebf22[_0x4c5785(0x209)];return _0x4ebf22;}get[_0x329bbd(0x1f9)](){const _0x1fee9=_0x329bbd;return!!this[_0x1fee9(0x1f8)]&&this[_0x1fee9(0x1f8)][_0x1fee9(0x1d9)]>0x0;}get[_0x329bbd(0x1d2)](){const _0x491a73=_0x329bbd;if(0x0==this[_0x491a73(0x1c2)][_0x491a73(0x1c9)])return!0x1;return 0x6==Array[_0x491a73(0x1c7)](this[_0x491a73(0x1c2)])[0x0][_0x491a73(0x1f0)](':')[_0x491a73(0x1d9)];}get[_0x329bbd(0x206)](){const _0x42f285=_0x329bbd;return null!==this[_0x42f285(0x207)]();}[_0x329bbd(0x1f1)](_0x581b54){const _0x481ce2=_0x329bbd;this[_0x481ce2(0x1c2)][_0x481ce2(0x1e9)](_0x581b54);}[_0x329bbd(0x1eb)](){const _0x480f33=_0x329bbd;return Array[_0x480f33(0x1c7)](this[_0x480f33(0x1c2)]);}[_0x329bbd(0x1cc)](){const _0x32574a=_0x329bbd;return this[_0x32574a(0x1eb)]()[_0x32574a(0x1cb)](_0xde1600=>this[_0x32574a(0x1bf)][_0x32574a(0x205)][_0x32574a(0x1df)](_0xde1600))[_0x32574a(0x1d3)](_0x2dcd78=>_0x2dcd78);}[_0x329bbd(0x207)](){const _0x438aac=_0x329bbd;return this[_0x438aac(0x1cc)]()[0x0]||null;}[_0x329bbd(0x1e3)](){const _0x5f1503=_0x329bbd;this[_0x5f1503(0x1bf)][_0x5f1503(0x20c)](_0x4fef61=>{const _0x158486=_0x5f1503;for(const _0xf3f97e of this[_0x158486(0x1cc)]())_0x4fef61[_0x158486(0x203)](_0xf3f97e);}),this[_0x5f1503(0x1c2)][_0x5f1503(0x1ff)]();}[_0x329bbd(0x203)](_0x2c7a38){const _0x407b4b=_0x329bbd;this[_0x407b4b(0x1bf)][_0x407b4b(0x20c)](_0x137e31=>{const _0x3ae7de=_0x407b4b;_0x137e31[_0x3ae7de(0x203)](_0x2c7a38);}),this[_0x407b4b(0x1c2)][_0x407b4b(0x1c3)](_0x2c7a38);}[_0x329bbd(0x1c6)](_0x1d801e){const _0x5eee69=_0x329bbd,_0x90f56b=_0x5eee69(0x1f3)+this[_0x5eee69(0x1d0)]+':'+this[_0x5eee69(0x1f7)]+':'+this['id']+':'+this[_0x5eee69(0x1fb)]['id']+':'+u[_0x5eee69(0x20d)]();this[_0x5eee69(0x1f1)](_0x90f56b),this[_0x5eee69(0x1bf)][_0x5eee69(0x20c)](_0x4d207d=>{const _0x402307=_0x5eee69;_0x4d207d[_0x402307(0x1e1)](_0x90f56b,{'range':_0x1d801e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x329bbd(0x202)](_0x58c74b){const _0x2c0937=_0x329bbd;for(const _0x5395c3 of this[_0x2c0937(0x1ce)]())if(_0x5395c3[_0x2c0937(0x1e5)](_0x58c74b))return!0x0;return!0x1;}[_0x329bbd(0x1ce)](){const _0x552c01=_0x329bbd;return this[_0x552c01(0x1cc)]()[_0x552c01(0x1cb)](_0x5ee789=>_0x5ee789[_0x552c01(0x1e0)]());}[_0x329bbd(0x1f5)](){const _0x5ac6fd=_0x329bbd;return this[_0x5ac6fd(0x1ce)]()[_0x5ac6fd(0x1ea)]((_0x28d768,_0x447dba)=>[..._0x28d768,..._0x447dba[_0x5ac6fd(0x1f5)]()],[]);}[_0x329bbd(0x1e8)](){const _0x5cf016=_0x329bbd;var _0x495563;return(null===(_0x495563=this[_0x5cf016(0x207)]())||void 0x0===_0x495563?void 0x0:_0x495563[_0x5cf016(0x1e0)]())||null;}[_0x329bbd(0x20a)](){const _0x1f9ca9=_0x329bbd,_0x21fa91=this[_0x1f9ca9(0x1ce)]();if(0x1!=_0x21fa91[_0x1f9ca9(0x1d9)])return null;const _0x106f0a=_0x21fa91[0x0],_0x1a50b1=_0x106f0a[_0x1f9ca9(0x1ec)][_0x1f9ca9(0x1ed)],_0x5e90df=_0x106f0a[_0x1f9ca9(0x204)][_0x1f9ca9(0x1e2)];return _0x1a50b1 instanceof _0x2c7ace?_0x1a50b1!=_0x5e90df?null:_0x1a50b1:null;}[_0x329bbd(0x1ef)](){const _0xb5eb26=_0x329bbd;this[_0xb5eb26(0x1de)](this[_0xb5eb26(0x1ce)](),this[_0xb5eb26(0x1f6)],this[_0xb5eb26(0x1c8)]),this[_0xb5eb26(0x1e3)]();}[_0x329bbd(0x1d4)](){const _0x185a94=_0x329bbd;this[_0x185a94(0x1c0)](this[_0x185a94(0x1ce)](),this[_0x185a94(0x1f6)],this[_0x185a94(0x1c8)]),this[_0x185a94(0x1e3)]();}[_0x329bbd(0x1fd)](){const _0xe9727f=_0x329bbd,_0x503250=[];let _0x1f2314=this[_0xe9727f(0x1cd)];for(;_0x1f2314;)_0x503250[_0xe9727f(0x1d5)](_0x1f2314),_0x1f2314=_0x1f2314[_0xe9727f(0x1fc)];return _0x503250;}[_0x329bbd(0x1da)](_0x3b6bfe,_0x3dd46b){const _0x355548=_0x329bbd,_0x749cc4=_0x6e18cb(this[_0x355548(0x1c8)]);_0x127ecd(_0x749cc4,_0x3b6bfe,_0x3dd46b),_0x554fe4(_0x749cc4,this[_0x355548(0x1c8)])||(this[_0x355548(0x1c8)]=_0x749cc4,this[_0x355548(0x1db)](_0x749cc4));}[_0x329bbd(0x1e7)](_0x4e955e){const _0x1589a8=_0x329bbd,_0x1bd267=_0x6e18cb(this[_0x1589a8(0x1c8)]);_0x40539d(_0x1bd267,_0x4e955e),_0x554fe4(_0x1bd267,this[_0x1589a8(0x1c8)])||(this[_0x1589a8(0x1c8)]=_0x1bd267,this[_0x1589a8(0x1db)](this[_0x1589a8(0x1c8)]));}[_0x329bbd(0x1c5)](){const _0xbeeddc=_0x329bbd;return{'id':this['id'],'type':this[_0xbeeddc(0x1f7)]?this[_0xbeeddc(0x1d0)]+':'+this[_0xbeeddc(0x1f7)]:this[_0xbeeddc(0x1d0)],'authorId':this[_0xbeeddc(0x1fb)]['id'],'createdAt':this[_0xbeeddc(0x1d8)],'hasComments':this[_0xbeeddc(0x1f9)],'data':this[_0xbeeddc(0x1f6)],'attributes':this[_0xbeeddc(0x1c8)]};}static[_0x329bbd(0x20d)](){const _0x45f7f4=_0x329bbd;return _0x104dc2()[_0x45f7f4(0x200)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x85493d=_0x5153;(function(_0x4db825,_0x37a681){const _0x5bdd95=_0x5153,_0x4d73d2=_0x4db825();while(!![]){try{const _0x361246=parseInt(_0x5bdd95(0xd5))/0x1+parseInt(_0x5bdd95(0xbc))/0x2+-parseInt(_0x5bdd95(0xaf))/0x3+-parseInt(_0x5bdd95(0x9d))/0x4*(parseInt(_0x5bdd95(0xe0))/0x5)+-parseInt(_0x5bdd95(0xef))/0x6+-parseInt(_0x5bdd95(0x9e))/0x7+parseInt(_0x5bdd95(0xe4))/0x8;if(_0x361246===_0x37a681)break;else _0x4d73d2['push'](_0x4d73d2['shift']());}catch(_0x2c6ce8){_0x4d73d2['push'](_0x4d73d2['shift']());}}}(_0x50f2,0x7e07d));import{getTranslation as _0x5a90b2}from'./utils/common-translations.js';import{priorities as _0x31174a,insertToPriorityArray as _0xb64510}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x893322}from'./trackchangesediting.js';function _0x5153(_0x310525,_0x3a12cd){const _0x50f2d5=_0x50f2();return _0x5153=function(_0x515340,_0x254f33){_0x515340=_0x515340-0x9a;let _0x55b852=_0x50f2d5[_0x515340];return _0x55b852;},_0x5153(_0x310525,_0x3a12cd);}export default class f{constructor(_0x4b32ea,_0x441cd4){const _0xb4cb19=_0x5153;this[_0xb4cb19(0xb3)]=[],this[_0xb4cb19(0xe1)]=new Map(),this[_0xb4cb19(0xb8)]=[],this[_0xb4cb19(0xac)]=new Map(),this[_0xb4cb19(0xcc)]=_0x4b32ea,this[_0xb4cb19(0xcf)]=_0x441cd4;}[_0x85493d(0xc6)](_0x50c6ca){const _0x290e92=_0x85493d,_0x25470c=[],_0xa3cf74=new Set(),_0x482bb0=new Set();for(let _0x9c0ac0=0x0;_0x9c0ac0<_0x50c6ca[_0x290e92(0xd0)];_0x9c0ac0++){const _0xdc8054=_0x50c6ca[_0x9c0ac0];if(!_0xdc8054[_0x290e92(0xba)])continue;const _0x4b8094=this[_0x290e92(0xb6)](_0xdc8054);if(_0x4b8094){if(null!=_0xdc8054[_0x290e92(0xeb)]){if(_0xa3cf74[_0x290e92(0xf5)](_0xdc8054[_0x290e92(0xeb)]))continue;_0xa3cf74[_0x290e92(0xea)](_0xdc8054[_0x290e92(0xeb)]);}_0x25470c[_0x290e92(0xd9)](_0x4b8094);}else{if(_0x290e92(0xf3)!=_0xdc8054[_0x290e92(0xc1)])_0x290e92(0xae)!=_0xdc8054[_0x290e92(0xc1)]&&_0x290e92(0xb4)!=_0xdc8054[_0x290e92(0xc1)]||this[_0x290e92(0xb5)](_0x25470c,_0xdc8054,_0x50c6ca[_0x9c0ac0+0x1]);else{const _0x4e49ed=_0xdc8054[_0x290e92(0xf4)][_0x290e92(0xc7)];if(_0x482bb0[_0x290e92(0xf5)](_0x4e49ed))continue;_0x482bb0[_0x290e92(0xea)](_0xdc8054[_0x290e92(0xf4)][_0x290e92(0xc7)]),_0x4e49ed==_0x893322?this[_0x290e92(0xe9)](_0x25470c,_0xdc8054):this[_0x290e92(0xd6)](_0x25470c,_0xdc8054);}}}return this[_0x290e92(0xd2)](_0x25470c);}[_0x85493d(0xc5)](_0x13301c){const _0x3220d7=_0x85493d;this[_0x3220d7(0xb3)][_0x3220d7(0xd9)](_0x13301c);}[_0x85493d(0xbe)](_0x1ede5e,_0x297159,_0x20a13c=_0x31174a[_0x85493d(0x9f)]){const _0x2d7090=_0x85493d;_0x2d7090(0xa9)==typeof _0x1ede5e?_0xb64510(this[_0x2d7090(0xb8)],{'matchingCallback':_0x1ede5e,'label':_0x297159,'priority':_0x20a13c}):this[_0x2d7090(0xe1)][_0x2d7090(0xf7)](_0x1ede5e,_0x297159);}[_0x85493d(0xc0)](_0x394c40,_0x5b9571){const _0x39b842=_0x85493d;this[_0x39b842(0xac)][_0x39b842(0xf7)](_0x394c40,_0x5b9571);}[_0x85493d(0xf6)](_0x4b55db,_0x3b19ab=0x1){const _0x31c6f6=_0x85493d;let _0x36af78;for(const _0x2b3bc5 of this[_0x31c6f6(0xb8)])if(_0x2b3bc5[_0x31c6f6(0xe3)](_0x4b55db)){_0x36af78=_0x2b3bc5[_0x31c6f6(0xcd)];break;}return _0x36af78||(_0x36af78=this[_0x31c6f6(0xe1)][_0x31c6f6(0xb1)](_0x4b55db[_0x31c6f6(0xca)])),_0x36af78?_0x36af78(_0x3b19ab):0x1!==_0x3b19ab?_0x3b19ab+'\x20'+_0x4b55db[_0x31c6f6(0xca)]+'s':''+_0x4b55db[_0x31c6f6(0xca)];}[_0x85493d(0xab)](_0x365ca4,_0x3f3985){const _0x206498=_0x85493d,_0x12bf87=_0x3f3985[_0x206498(0xad)]()[_0x206498(0xc3)](),_0xd171c0=_0x206498(0xae)==_0x3f3985[_0x206498(0xc1)]?_0x206498(0xea):_0x206498(0xa2);for(const _0x59271e of _0x12bf87){const _0x27a5f2=_0x59271e[_0x206498(0xe8)],_0xb7b638=_0x365ca4[_0x365ca4[_0x206498(0xd0)]-0x1];if(_0x27a5f2['is'](_0x206498(0xee)))_0xb7b638&&_0xb7b638[_0x206498(0xc1)][_0x206498(0xce)](_0x206498(0xc2))>-0x1&&_0x365ca4[_0x206498(0xf8)](),_0xb7b638&&_0x206498(0xdb)==_0xb7b638[_0x206498(0xc1)]?_0xb7b638[_0xd171c0]+=_0x27a5f2[_0x206498(0xf4)]:_0x365ca4[_0x206498(0xd9)]({'type':_0x206498(0xdb),'add':_0x206498(0xea)==_0xd171c0?_0x27a5f2[_0x206498(0xf4)]:'','remove':_0x206498(0xa2)==_0xd171c0?_0x27a5f2[_0x206498(0xf4)]:''});else{if(this[_0x206498(0xcc)][_0x206498(0xec)](_0x27a5f2)){const _0x568958=_0x27a5f2;if(_0xb7b638&&_0xb7b638[_0x206498(0xc1)][_0x206498(0xce)](_0x206498(0xc2))>-0x1&&_0x365ca4[_0x206498(0xf8)](),_0x206498(0xd3)==_0x59271e[_0x206498(0xc1)])continue;_0xb7b638&&_0xb7b638[_0x206498(0xc1)]==_0xd171c0+_0x206498(0xb9)&&_0xb7b638[_0x206498(0xa1)][_0x206498(0xca)]==_0x568958[_0x206498(0xca)]?_0xb7b638[_0x206498(0xf1)]++:_0x365ca4[_0x206498(0xd9)]({'type':_0xd171c0+_0x206498(0xb9),'element':_0x568958,'quantity':0x1}),_0x12bf87[_0x206498(0xc8)](_0x2d6f69=>!(_0x206498(0xd3)==_0x2d6f69[_0x206498(0xc1)]&&_0x2d6f69[_0x206498(0xe8)]==_0x27a5f2));}else{if(this[_0x206498(0xcc)][_0x206498(0xed)](_0x27a5f2,_0x206498(0xe6))||_0x27a5f2['is'](_0x206498(0xa1),_0x206498(0xd1))){const _0x2ebfd6=_0x27a5f2;if(_0x206498(0xea)==_0xd171c0&&_0x206498(0xc9)==_0x59271e[_0x206498(0xc1)]||_0x206498(0xa2)==_0xd171c0&&_0x206498(0xd3)==_0x59271e[_0x206498(0xc1)])continue;if(_0xb7b638&&-0x1==_0xb7b638[_0x206498(0xc1)][_0x206498(0xce)](_0x206498(0xc2))){_0x206498(0xdb)==_0xb7b638[_0x206498(0xc1)]&&(_0xb7b638[_0xd171c0]+='\x0a');continue;}let _0x109be9;if(_0x109be9=_0x206498(0xea)==_0xd171c0?_0x2ebfd6[_0x206498(0xf0)]&&!this[_0x206498(0xcc)][_0x206498(0xec)](_0x2ebfd6[_0x206498(0xf0)])?_0x2ebfd6[_0x206498(0xf0)]:null:_0x2ebfd6[_0x206498(0xb7)]&&!this[_0x206498(0xcc)][_0x206498(0xec)](_0x2ebfd6[_0x206498(0xb7)])?_0x2ebfd6[_0x206498(0xb7)]:null,_0x2ebfd6[_0x206498(0xb0)]||_0x109be9&&_0x109be9[_0x206498(0xb0)]){const _0x36d16c=_0x109be9&&_0x109be9[_0x206498(0xb0)]?_0x109be9:_0x2ebfd6;_0xb7b638&&_0xb7b638[_0x206498(0xc1)]==_0xd171c0+_0x206498(0xd8)&&_0xb7b638[_0x206498(0xa1)][_0x206498(0xca)]==_0x36d16c[_0x206498(0xca)]?_0xb7b638[_0x206498(0xf1)]++:_0x365ca4[_0x206498(0xd9)]({'type':_0xd171c0+_0x206498(0xd8),'element':_0x36d16c,'quantity':0x1});}else _0x365ca4[_0x206498(0xd9)]({'type':_0xd171c0+_0x206498(0xc2),'element':_0x2ebfd6});}}}}}[_0x85493d(0xd2)](_0x1df766){const _0x96d45f=_0x85493d,_0x54a236=this[_0x96d45f(0xcf)],_0x491909=[],_0x1daa1d=[],_0x109f68=[];for(const _0x2401ad of _0x1df766)switch(_0x2401ad[_0x96d45f(0xc1)]){case _0x96d45f(0xdb):if(_0x2401ad[_0x96d45f(0xea)]=_0x2401ad[_0x96d45f(0xea)][_0x96d45f(0xdd)](/(\S)\u000A+(\S)/g,_0x96d45f(0xcb))[_0x96d45f(0xdd)](/\u000A/g,''),_0x2401ad[_0x96d45f(0xa2)]=_0x2401ad[_0x96d45f(0xa2)][_0x96d45f(0xdd)](/(\S)\u000A+(\S)/g,_0x96d45f(0xcb))[_0x96d45f(0xdd)](/\u000A/g,''),''!=_0x2401ad[_0x96d45f(0xea)]&&''!=_0x2401ad[_0x96d45f(0xa2)]){_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xdd),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xf2),['\x22'+_0x2401ad[_0x96d45f(0xa2)]+'\x22','\x22'+_0x2401ad[_0x96d45f(0xea)]+'\x22'])});continue;}if(null!=_0x2401ad[_0x96d45f(0xea)][_0x96d45f(0xaa)](/^ +$/)){_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xae),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xc4),_0x5a90b2(_0x54a236,_0x96d45f(0xa8),_0x2401ad[_0x96d45f(0xea)][_0x96d45f(0xd0)]))});continue;}if(null!=_0x2401ad[_0x96d45f(0xa2)][_0x96d45f(0xaa)](/^ +$/)){_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xb4),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xa7),_0x5a90b2(_0x54a236,_0x96d45f(0xa8),_0x2401ad[_0x96d45f(0xa2)][_0x96d45f(0xd0)]))});continue;}if(''!=_0x2401ad[_0x96d45f(0xea)]){_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xae),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xc4),'\x22'+_0x2401ad[_0x96d45f(0xea)]+'\x22')});continue;}_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xb4),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xa7),'\x22'+_0x2401ad[_0x96d45f(0xa2)]+'\x22')});continue;case _0x96d45f(0xa5):case _0x96d45f(0xa4):_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xae),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xc4),this[_0x96d45f(0xf6)](_0x2401ad[_0x96d45f(0xa1)],_0x2401ad[_0x96d45f(0xf1)]))});continue;case _0x96d45f(0xe5):case _0x96d45f(0xe2):_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xb4),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xa7),this[_0x96d45f(0xf6)](_0x2401ad[_0x96d45f(0xa1)],_0x2401ad[_0x96d45f(0xf1)]))});continue;case _0x96d45f(0xdf):_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xae),'content':_0x5a90b2(_0x54a236,_0x96d45f(0xd7),this[_0x96d45f(0xf6)](_0x2401ad[_0x96d45f(0xa1)],_0x2401ad[_0x96d45f(0xf1)]))});continue;case _0x96d45f(0xde):_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xb4),'content':_0x5a90b2(_0x54a236,_0x96d45f(0x9a),this[_0x96d45f(0xf6)](_0x2401ad[_0x96d45f(0xa1)],_0x2401ad[_0x96d45f(0xf1)]))});continue;case _0x96d45f(0x9b):_0x1daa1d[_0x96d45f(0xd9)](_0x2401ad[_0x96d45f(0xc7)]);continue;case _0x96d45f(0xda):_0x109f68[_0x96d45f(0xd9)](_0x2401ad[_0x96d45f(0xc7)]);continue;default:_0x491909[_0x96d45f(0xd9)](_0x2401ad);}if(_0x1daa1d[_0x96d45f(0xd0)]){const _0x3a2368=_0x1daa1d[_0x96d45f(0x9c)](_0x53c8e2=>this[_0x96d45f(0xac)][_0x96d45f(0xf5)](_0x53c8e2)?this[_0x96d45f(0xac)][_0x96d45f(0xb1)](_0x53c8e2):_0x53c8e2)[_0x96d45f(0xd4)](',\x20');_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xa6),'content':_0x5a90b2(this[_0x96d45f(0xcf)],_0x96d45f(0xdc),_0x3a2368)});}if(_0x109f68[_0x96d45f(0xd0)]){const _0x4b6d97=_0x109f68[_0x96d45f(0x9c)](_0x909f7c=>this[_0x96d45f(0xac)][_0x96d45f(0xf5)](_0x909f7c)?this[_0x96d45f(0xac)][_0x96d45f(0xb1)](_0x909f7c):_0x909f7c)[_0x96d45f(0xd4)](',\x20');_0x491909[_0x96d45f(0xd9)]({'type':_0x96d45f(0xa6),'content':_0x5a90b2(this[_0x96d45f(0xcf)],_0x96d45f(0xbd),_0x4b6d97)});}return _0x491909;}[_0x85493d(0xb6)](_0x4001f0){const _0x51edc8=_0x85493d;for(const _0x330783 of this[_0x51edc8(0xb3)]){const _0x3b6886=_0x330783(_0x4001f0);if(_0x3b6886&&_0x51edc8(0xc1)in _0x3b6886)return _0x3b6886;}}[_0x85493d(0xd6)](_0xb7a68c,_0x549f04){const _0x5671ca=_0x85493d,_0xbb852c=_0x549f04[_0x5671ca(0xf4)],_0x3ba202=void 0x0===_0xbb852c[_0x5671ca(0xbb)]?_0x5671ca(0xda):_0x5671ca(0x9b);_0xb7a68c[_0x5671ca(0xd9)]({'type':_0x3ba202,'key':_0xbb852c[_0x5671ca(0xc7)]});}[_0x85493d(0xe9)](_0x39f22e,_0x3165fc){const _0x5bafcb=_0x85493d;_0x39f22e[_0x5bafcb(0xd9)]({'type':_0x5bafcb(0xa6),'content':_0x5a90b2(this[_0x5bafcb(0xcf)],_0x5bafcb(0xa0),this[_0x5bafcb(0xf6)](_0x3165fc[_0x5bafcb(0xad)]()[_0x5bafcb(0xe7)][_0x5bafcb(0xa3)],0x1))});}[_0x85493d(0xb5)](_0x3799d3,_0x310a37,_0x1a6c84){const _0x5ecf20=_0x85493d;if(this[_0x5ecf20(0xab)](_0x3799d3,_0x310a37),_0x1a6c84&&_0x1a6c84[_0x5ecf20(0xad)]()&&!_0x310a37[_0x5ecf20(0xad)]()[_0x5ecf20(0xb2)][_0x5ecf20(0xbf)](_0x1a6c84[_0x5ecf20(0xad)]()[_0x5ecf20(0xe7)])){const _0x9b3fa1=_0x3799d3[_0x3799d3[_0x5ecf20(0xd0)]-0x1],_0x4fdfb2=_0x5ecf20(0xae)==_0x310a37[_0x5ecf20(0xc1)]?_0x5ecf20(0xea):_0x5ecf20(0xa2);_0x9b3fa1&&_0x5ecf20(0xdb)==_0x9b3fa1[_0x5ecf20(0xc1)]&&(_0x9b3fa1[_0x4fdfb2]+='\x0a');}}}function _0x50f2(){const _0x43b09f=['format','*Remove:*\x20%0','ELEMENT_SPACE','function','match','_addDescriptionItems','_attributeLabels','getFirstRange','insertion','2474682qOpbAg','isEmpty','get','end','_customCallbacks','deletion','_handleInsertRemoveSuggestionDescription','_handleCustomCallbackDescription','previousSibling','_itemLabelsCallbacks','Object','isInContent','newValue','1631076NBQqgU','*Remove\x20format:*\x20%0','registerElementLabel','isEqual','registerAttributeLabel','type','Container','getWalker','*Insert:*\x20%0','registerDescriptionCallback','getDescriptions','key','skip','elementStart','name','$1\x20$2','_schema','label','indexOf','_locale','length','softBreak','_resolveDescriptionItems','elementEnd','join','397568yBqhmx','_handleAttributeSuggestionDescription','*Split:*\x20%0','EmptyContainer','push','removeFormat','text','*Set\x20format:*\x20%0','replace','removeContainer','addContainer','37470mQybRp','_itemLabels','removeObject','matchingCallback','11785328rggMPY','removeEmptyContainer','$text','start','item','_handleRenameSuggestionDescription','add','subType','isObject','checkChild','$textProxy','118776EnEkIi','nextSibling','quantity','REPLACE_TEXT','attribute','data','has','getItemLabel','set','pop','*Merge:*\x20%0','addFormat','map','396fBAvkK','4084185vnDuSx','normal','*Change\x20to:*\x20%0','element','remove','nodeAfter','addObject','addEmptyContainer'];_0x50f2=function(){return _0x43b09f;};return _0x50f2();}
|
|
23
|
+
const _0x39ae5e=_0x49d3;(function(_0x59de70,_0x5f5875){const _0x973d96=_0x49d3,_0x3f821e=_0x59de70();while(!![]){try{const _0x33a354=parseInt(_0x973d96(0xb4))/0x1+parseInt(_0x973d96(0xb3))/0x2*(parseInt(_0x973d96(0xc7))/0x3)+-parseInt(_0x973d96(0x91))/0x4+parseInt(_0x973d96(0x6d))/0x5*(-parseInt(_0x973d96(0x87))/0x6)+-parseInt(_0x973d96(0x7c))/0x7+-parseInt(_0x973d96(0x95))/0x8*(parseInt(_0x973d96(0xb6))/0x9)+parseInt(_0x973d96(0xb8))/0xa*(parseInt(_0x973d96(0xc6))/0xb);if(_0x33a354===_0x5f5875)break;else _0x3f821e['push'](_0x3f821e['shift']());}catch(_0x30e7bc){_0x3f821e['push'](_0x3f821e['shift']());}}}(_0x4ec2,0x77752));function _0x49d3(_0x4fdb2c,_0x500d34){const _0x4ec2b8=_0x4ec2();return _0x49d3=function(_0x49d34c,_0x1286e1){_0x49d34c=_0x49d34c-0x6a;let _0x14aa1e=_0x4ec2b8[_0x49d34c];return _0x14aa1e;},_0x49d3(_0x4fdb2c,_0x500d34);}import{getTranslation as _0x223b37}from'./utils/common-translations.js';function _0x4ec2(){const _0x22591b=['push','_handleAttributeSuggestionDescription','removeContainer','normal','get','newValue','*Remove:*\x20%0','registerElementLabel','REPLACE_TEXT','Container','end','isEqual','elementStart','nodeAfter','map','has','_handleInsertRemoveSuggestionDescription','*Insert:*\x20%0','_customCallbacks','addEmptyContainer','_schema','registerAttributeLabel','$textProxy','$text','match','indexOf','format','pop','457782cSfSCV','272218EQtsbN','nextSibling','77427SrCshL','subType','5040WUdzRZ','element','quantity','addFormat','matchingCallback','EmptyContainer','name','getWalker','_locale','addContainer','replace','*Set\x20format:*\x20%0','item','ELEMENT_SPACE','19943ncPvLk','9sARKWG','isInContent','removeEmptyContainer','key','insertion','deletion','data','_handleCustomCallbackDescription','1247590cwEYgr','registerDescriptionCallback','removeObject','_itemLabels','remove','*Remove\x20format:*\x20%0','text','start','_attributeLabels','_addDescriptionItems','getItemLabel','add','removeFormat','*Split:*\x20%0','function','517804ijnOAW','getDescriptions','Object','_handleRenameSuggestionDescription','checkChild','type','getFirstRange','isEmpty','label','softBreak','isObject','6FsIqDG','length','_resolveDescriptionItems','set','previousSibling','elementEnd','_itemLabelsCallbacks','attribute','join','skip','2622056pZIwcW','$1\x20$2','*Change\x20to:*\x20%0','addObject','376vIDQub','*Merge:*\x20%0'];_0x4ec2=function(){return _0x22591b;};return _0x4ec2();}import{priorities as _0x39108b,insertToPriorityArray as _0x1642e3}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x433d20}from'./trackchangesediting.js';export default class f{constructor(_0x1e4386,_0x5d8a1f){const _0xbaff43=_0x49d3;this[_0xbaff43(0xa9)]=[],this[_0xbaff43(0x70)]=new Map(),this[_0xbaff43(0x8d)]=[],this[_0xbaff43(0x75)]=new Map(),this[_0xbaff43(0xab)]=_0x1e4386,this[_0xbaff43(0xc0)]=_0x5d8a1f;}[_0x39ae5e(0x7d)](_0x8e1273){const _0x52e77e=_0x39ae5e,_0x13a001=[],_0x5c992d=new Set(),_0x3d23f4=new Set();for(let _0x14be9a=0x0;_0x14be9a<_0x8e1273[_0x52e77e(0x88)];_0x14be9a++){const _0x258165=_0x8e1273[_0x14be9a];if(!_0x258165[_0x52e77e(0xc8)])continue;const _0x1f629e=this[_0x52e77e(0x6c)](_0x258165);if(_0x1f629e){if(null!=_0x258165[_0x52e77e(0xb7)]){if(_0x5c992d[_0x52e77e(0xa6)](_0x258165[_0x52e77e(0xb7)]))continue;_0x5c992d[_0x52e77e(0x78)](_0x258165[_0x52e77e(0xb7)]);}_0x13a001[_0x52e77e(0x97)](_0x1f629e);}else{if(_0x52e77e(0x8e)!=_0x258165[_0x52e77e(0x81)])_0x52e77e(0xcb)!=_0x258165[_0x52e77e(0x81)]&&_0x52e77e(0x6a)!=_0x258165[_0x52e77e(0x81)]||this[_0x52e77e(0xa7)](_0x13a001,_0x258165,_0x8e1273[_0x14be9a+0x1]);else{const _0x428c28=_0x258165[_0x52e77e(0x6b)][_0x52e77e(0xca)];if(_0x3d23f4[_0x52e77e(0xa6)](_0x428c28))continue;_0x3d23f4[_0x52e77e(0x78)](_0x258165[_0x52e77e(0x6b)][_0x52e77e(0xca)]),_0x428c28==_0x433d20?this[_0x52e77e(0x7f)](_0x13a001,_0x258165):this[_0x52e77e(0x98)](_0x13a001,_0x258165);}}}return this[_0x52e77e(0x89)](_0x13a001);}[_0x39ae5e(0x6e)](_0x2df9fb){const _0x1ca45d=_0x39ae5e;this[_0x1ca45d(0xa9)][_0x1ca45d(0x97)](_0x2df9fb);}[_0x39ae5e(0x9e)](_0x2ed82b,_0x32ef74,_0x392064=_0x39108b[_0x39ae5e(0x9a)]){const _0x422fa3=_0x39ae5e;_0x422fa3(0x7b)==typeof _0x2ed82b?_0x1642e3(this[_0x422fa3(0x8d)],{'matchingCallback':_0x2ed82b,'label':_0x32ef74,'priority':_0x392064}):this[_0x422fa3(0x70)][_0x422fa3(0x8a)](_0x2ed82b,_0x32ef74);}[_0x39ae5e(0xac)](_0x58bd04,_0xfc6b25){const _0x4ca2b8=_0x39ae5e;this[_0x4ca2b8(0x75)][_0x4ca2b8(0x8a)](_0x58bd04,_0xfc6b25);}[_0x39ae5e(0x77)](_0x475797,_0x5c1970=0x1){const _0x48ceee=_0x39ae5e;let _0x229486;for(const _0x275d59 of this[_0x48ceee(0x8d)])if(_0x275d59[_0x48ceee(0xbc)](_0x475797)){_0x229486=_0x275d59[_0x48ceee(0x84)];break;}return _0x229486||(_0x229486=this[_0x48ceee(0x70)][_0x48ceee(0x9b)](_0x475797[_0x48ceee(0xbe)])),_0x229486?_0x229486(_0x5c1970):0x1!==_0x5c1970?_0x5c1970+'\x20'+_0x475797[_0x48ceee(0xbe)]+'s':''+_0x475797[_0x48ceee(0xbe)];}[_0x39ae5e(0x76)](_0x10bc25,_0x4bd32e){const _0x2b8dd1=_0x39ae5e,_0xd2e28d=_0x4bd32e[_0x2b8dd1(0x82)]()[_0x2b8dd1(0xbf)](),_0x4a2cd1=_0x2b8dd1(0xcb)==_0x4bd32e[_0x2b8dd1(0x81)]?_0x2b8dd1(0x78):_0x2b8dd1(0x71);for(const _0x159e8f of _0xd2e28d){const _0x1e9748=_0x159e8f[_0x2b8dd1(0xc4)],_0xb376cb=_0x10bc25[_0x10bc25[_0x2b8dd1(0x88)]-0x1];if(_0x1e9748['is'](_0x2b8dd1(0xad)))_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))>-0x1&&_0x10bc25[_0x2b8dd1(0xb2)](),_0xb376cb&&_0x2b8dd1(0x73)==_0xb376cb[_0x2b8dd1(0x81)]?_0xb376cb[_0x4a2cd1]+=_0x1e9748[_0x2b8dd1(0x6b)]:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x2b8dd1(0x73),'add':_0x2b8dd1(0x78)==_0x4a2cd1?_0x1e9748[_0x2b8dd1(0x6b)]:'','remove':_0x2b8dd1(0x71)==_0x4a2cd1?_0x1e9748[_0x2b8dd1(0x6b)]:''});else{if(this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x1e9748)){const _0x16dc8e=_0x1e9748;if(_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))>-0x1&&_0x10bc25[_0x2b8dd1(0xb2)](),_0x2b8dd1(0x8c)==_0x159e8f[_0x2b8dd1(0x81)])continue;_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)]==_0x4a2cd1+_0x2b8dd1(0x7e)&&_0xb376cb[_0x2b8dd1(0xb9)][_0x2b8dd1(0xbe)]==_0x16dc8e[_0x2b8dd1(0xbe)]?_0xb376cb[_0x2b8dd1(0xba)]++:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0x7e),'element':_0x16dc8e,'quantity':0x1}),_0xd2e28d[_0x2b8dd1(0x90)](_0x278d24=>!(_0x2b8dd1(0x8c)==_0x278d24[_0x2b8dd1(0x81)]&&_0x278d24[_0x2b8dd1(0xc4)]==_0x1e9748));}else{if(this[_0x2b8dd1(0xab)][_0x2b8dd1(0x80)](_0x1e9748,_0x2b8dd1(0xae))||_0x1e9748['is'](_0x2b8dd1(0xb9),_0x2b8dd1(0x85))){const _0x37653c=_0x1e9748;if(_0x2b8dd1(0x78)==_0x4a2cd1&&_0x2b8dd1(0xa3)==_0x159e8f[_0x2b8dd1(0x81)]||_0x2b8dd1(0x71)==_0x4a2cd1&&_0x2b8dd1(0x8c)==_0x159e8f[_0x2b8dd1(0x81)])continue;if(_0xb376cb&&-0x1==_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))){_0x2b8dd1(0x73)==_0xb376cb[_0x2b8dd1(0x81)]&&(_0xb376cb[_0x4a2cd1]+='\x0a');continue;}let _0x3b2615;if(_0x3b2615=_0x2b8dd1(0x78)==_0x4a2cd1?_0x37653c[_0x2b8dd1(0xb5)]&&!this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x37653c[_0x2b8dd1(0xb5)])?_0x37653c[_0x2b8dd1(0xb5)]:null:_0x37653c[_0x2b8dd1(0x8b)]&&!this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x37653c[_0x2b8dd1(0x8b)])?_0x37653c[_0x2b8dd1(0x8b)]:null,_0x37653c[_0x2b8dd1(0x83)]||_0x3b2615&&_0x3b2615[_0x2b8dd1(0x83)]){const _0x4610db=_0x3b2615&&_0x3b2615[_0x2b8dd1(0x83)]?_0x3b2615:_0x37653c;_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)]==_0x4a2cd1+_0x2b8dd1(0xbd)&&_0xb376cb[_0x2b8dd1(0xb9)][_0x2b8dd1(0xbe)]==_0x4610db[_0x2b8dd1(0xbe)]?_0xb376cb[_0x2b8dd1(0xba)]++:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0xbd),'element':_0x4610db,'quantity':0x1});}else _0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0xa0),'element':_0x37653c});}}}}}[_0x39ae5e(0x89)](_0x753998){const _0x23fd0e=_0x39ae5e,_0x4484c7=this[_0x23fd0e(0xc0)],_0x2f106e=[],_0x4d3576=[],_0x2fdef1=[];for(const _0x185838 of _0x753998)switch(_0x185838[_0x23fd0e(0x81)]){case _0x23fd0e(0x73):if(_0x185838[_0x23fd0e(0x78)]=_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0xc2)](/(\S)\u000A+(\S)/g,_0x23fd0e(0x92))[_0x23fd0e(0xc2)](/\u000A/g,''),_0x185838[_0x23fd0e(0x71)]=_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0xc2)](/(\S)\u000A+(\S)/g,_0x23fd0e(0x92))[_0x23fd0e(0xc2)](/\u000A/g,''),''!=_0x185838[_0x23fd0e(0x78)]&&''!=_0x185838[_0x23fd0e(0x71)]){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xc2),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9f),['\x22'+_0x185838[_0x23fd0e(0x71)]+'\x22','\x22'+_0x185838[_0x23fd0e(0x78)]+'\x22'])});continue;}if(null!=_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0xaf)](/^ +$/)){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),_0x223b37(_0x4484c7,_0x23fd0e(0xc5),_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0x88)]))});continue;}if(null!=_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0xaf)](/^ +$/)){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),_0x223b37(_0x4484c7,_0x23fd0e(0xc5),_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0x88)]))});continue;}if(''!=_0x185838[_0x23fd0e(0x78)]){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),'\x22'+_0x185838[_0x23fd0e(0x78)]+'\x22')});continue;}_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),'\x22'+_0x185838[_0x23fd0e(0x71)]+'\x22')});continue;case _0x23fd0e(0xaa):case _0x23fd0e(0x94):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xc9):case _0x23fd0e(0x6f):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xc1):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x7a),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0x99):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x96),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xbb):_0x4d3576[_0x23fd0e(0x97)](_0x185838[_0x23fd0e(0xca)]);continue;case _0x23fd0e(0x79):_0x2fdef1[_0x23fd0e(0x97)](_0x185838[_0x23fd0e(0xca)]);continue;default:_0x2f106e[_0x23fd0e(0x97)](_0x185838);}if(_0x4d3576[_0x23fd0e(0x88)]){const _0x17423e=_0x4d3576[_0x23fd0e(0xa5)](_0x35037d=>this[_0x23fd0e(0x75)][_0x23fd0e(0xa6)](_0x35037d)?this[_0x23fd0e(0x75)][_0x23fd0e(0x9b)](_0x35037d):_0x35037d)[_0x23fd0e(0x8f)](',\x20');_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xb1),'content':_0x223b37(this[_0x23fd0e(0xc0)],_0x23fd0e(0xc3),_0x17423e)});}if(_0x2fdef1[_0x23fd0e(0x88)]){const _0x4b59d9=_0x2fdef1[_0x23fd0e(0xa5)](_0x22f9b0=>this[_0x23fd0e(0x75)][_0x23fd0e(0xa6)](_0x22f9b0)?this[_0x23fd0e(0x75)][_0x23fd0e(0x9b)](_0x22f9b0):_0x22f9b0)[_0x23fd0e(0x8f)](',\x20');_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xb1),'content':_0x223b37(this[_0x23fd0e(0xc0)],_0x23fd0e(0x72),_0x4b59d9)});}return _0x2f106e;}[_0x39ae5e(0x6c)](_0x41832f){const _0x246ac4=_0x39ae5e;for(const _0x113f74 of this[_0x246ac4(0xa9)]){const _0x5d610d=_0x113f74(_0x41832f);if(_0x5d610d&&_0x246ac4(0x81)in _0x5d610d)return _0x5d610d;}}[_0x39ae5e(0x98)](_0x3221de,_0x374af2){const _0x2dec7f=_0x39ae5e,_0x1fca3a=_0x374af2[_0x2dec7f(0x6b)],_0x3dec1a=void 0x0===_0x1fca3a[_0x2dec7f(0x9c)]?_0x2dec7f(0x79):_0x2dec7f(0xbb);_0x3221de[_0x2dec7f(0x97)]({'type':_0x3dec1a,'key':_0x1fca3a[_0x2dec7f(0xca)]});}[_0x39ae5e(0x7f)](_0x225a60,_0x357f81){const _0x656ee0=_0x39ae5e;_0x225a60[_0x656ee0(0x97)]({'type':_0x656ee0(0xb1),'content':_0x223b37(this[_0x656ee0(0xc0)],_0x656ee0(0x93),this[_0x656ee0(0x77)](_0x357f81[_0x656ee0(0x82)]()[_0x656ee0(0x74)][_0x656ee0(0xa4)],0x1))});}[_0x39ae5e(0xa7)](_0x5d6ef3,_0x4aaa7a,_0x22260f){const _0x319870=_0x39ae5e;if(this[_0x319870(0x76)](_0x5d6ef3,_0x4aaa7a),_0x22260f&&_0x22260f[_0x319870(0x82)]()&&!_0x4aaa7a[_0x319870(0x82)]()[_0x319870(0xa1)][_0x319870(0xa2)](_0x22260f[_0x319870(0x82)]()[_0x319870(0x74)])){const _0x57a7b1=_0x5d6ef3[_0x5d6ef3[_0x319870(0x88)]-0x1],_0x4bf636=_0x319870(0xcb)==_0x4aaa7a[_0x319870(0x81)]?_0x319870(0x78):_0x319870(0x71);_0x57a7b1&&_0x319870(0x73)==_0x57a7b1[_0x319870(0x81)]&&(_0x57a7b1[_0x4bf636]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c8e(_0x2a5975,_0x3e25f6){var _0x3221d0=_0x3221();return _0x1c8e=function(_0x1c8e98,_0x21b314){_0x1c8e98=_0x1c8e98-0x11a;var _0xe5c761=_0x3221d0[_0x1c8e98];return _0xe5c761;},_0x1c8e(_0x2a5975,_0x3e25f6);}var _0x3bbb61=_0x1c8e;function _0x3221(){var _0x27996e=['requires','plugins','7ErUqsA','editor','pluginName','9909924NUFEoB','addSuggestion','getSuggestions','827366PIOCIQ','561izWpaG','1337637OvGLnz','adapter','getSuggestion','421680qZRrJy','Comments','70RnBJug','9339129LbLLws','addSuggestionData','get','2258152DFriAH','440428ZuNKnq','TrackChanges','3Mphzcg'];_0x3221=function(){return _0x27996e;};return _0x3221();}(function(_0x3b7bcc,_0x24dce9){var _0x370138=_0x1c8e,_0x26e6e3=_0x3b7bcc();while(!![]){try{var _0x2af19a=-parseInt(_0x370138(0x126))/0x1+parseInt(_0x370138(0x124))/0x2*(parseInt(_0x370138(0x11b))/0x3)+-parseInt(_0x370138(0x130))/0x4*(-parseInt(_0x370138(0x12b))/0x5)+parseInt(_0x370138(0x121))/0x6+parseInt(_0x370138(0x11e))/0x7*(-parseInt(_0x370138(0x12f))/0x8)+parseInt(_0x370138(0x12c))/0x9+parseInt(_0x370138(0x129))/0xa*(-parseInt(_0x370138(0x125))/0xb);if(_0x2af19a===_0x24dce9)break;else _0x26e6e3['push'](_0x26e6e3['shift']());}catch(_0x2adbc3){_0x26e6e3['push'](_0x26e6e3['shift']());}}}(_0x3221,0xd563a));import{Plugin as _0x4b8622}from'ckeditor5/src/core.js';import _0x3bcfe4 from'./trackchangesui.js';import _0x3bb911 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4b8622{static get[_0x3bbb61(0x11c)](){var _0x1120aa=_0x3bbb61;return[_0x3bb911,_0x3bcfe4,_0x1120aa(0x12a)];}static get[_0x3bbb61(0x120)](){var _0x1f42d5=_0x3bbb61;return _0x1f42d5(0x11a);}set[_0x3bbb61(0x127)](_0x1c2042){var _0x27b7a9=_0x3bbb61;this[_0x27b7a9(0x11f)][_0x27b7a9(0x11d)][_0x27b7a9(0x12e)](_0x3bb911)[_0x27b7a9(0x127)]=_0x1c2042;}get[_0x3bbb61(0x127)](){var _0x3fbba2=_0x3bbb61;return this[_0x3fbba2(0x11f)][_0x3fbba2(0x11d)][_0x3fbba2(0x12e)](_0x3bb911)[_0x3fbba2(0x127)];}[_0x3bbb61(0x122)](_0x35b0e0){var _0x3816ee=_0x3bbb61;return this[_0x3816ee(0x11f)][_0x3816ee(0x11d)][_0x3816ee(0x12e)](_0x3bb911)[_0x3816ee(0x12d)](_0x35b0e0);}[_0x3bbb61(0x123)]({skipNotAttached:_0x405891=!0x1,toJSON:_0x39b49c=!0x1}={}){var _0x3deba9=_0x3bbb61;return this[_0x3deba9(0x11f)][_0x3deba9(0x11d)][_0x3deba9(0x12e)](_0x3bb911)[_0x3deba9(0x123)]({'skipNotAttached':_0x405891,'toJSON':_0x39b49c});}[_0x3bbb61(0x128)](_0x136750){var _0x15f93b=_0x3bbb61;return this[_0x15f93b(0x11f)][_0x15f93b(0x11d)][_0x15f93b(0x12e)](_0x3bb911)[_0x15f93b(0x128)](_0x136750);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x152b(){const _0x274f29=['config','addUser','push','document','11402853TLWMhQ','trackChangesData.editorCreator','24xEAoRR','922816ZzVbbo','Users','plugins','useAnonymousUser','672141tZPaup','2156146AJcoTV','329754SFVDlz','117879oSDoQw','define','constructor','getUser','editor','createDocumentFragment','22317516jkufIH','createElement','map','rootsAttributes','discardAllSuggestions','getRootNames','getDataWithAcceptedSuggestions','_adapter','TrackChangesDataGetter','getRootsAttributes','get','addSuggestionData','name','getFullData','end','Pagination','track-changes-data-invalid-editor-creator','model','reduce','result','requires','destroy','110EwPwDX','pluginName','execute','getDataWithDiscardedSuggestions','getSuggestions','div','set','create','TrackChangesEditing','users','editorCreator','CommentsRepository','appendChild','TrackChangesData','data','init','acceptAllSuggestions','function','trackChangesData'];_0x152b=function(){return _0x274f29;};return _0x152b();}const _0x288b3c=_0x23a0;(function(_0x2e03f9,_0x2e0711){const _0x21513d=_0x23a0,_0x3fa730=_0x2e03f9();while(!![]){try{const _0x3f291b=parseInt(_0x21513d(0x210))/0x1+-parseInt(_0x21513d(0x20e))/0x2+parseInt(_0x21513d(0x20d))/0x3*(parseInt(_0x21513d(0x208))/0x4)+parseInt(_0x21513d(0x1ef))/0x5*(parseInt(_0x21513d(0x20f))/0x6)+parseInt(_0x21513d(0x206))/0x7+parseInt(_0x21513d(0x209))/0x8+-parseInt(_0x21513d(0x216))/0x9;if(_0x3f291b===_0x2e0711)break;else _0x3fa730['push'](_0x3fa730['shift']());}catch(_0x3ae3b8){_0x3fa730['push'](_0x3fa730['shift']());}}}(_0x152b,0xd16c1));import{Plugin as _0x2533c2}from'ckeditor5/src/core.js';function _0x23a0(_0x55801a,_0x2e7493){const _0x152bfb=_0x152b();return _0x23a0=function(_0x23a053,_0x4e64){_0x23a053=_0x23a053-0x1e0;let _0x478039=_0x152bfb[_0x23a053];return _0x478039;},_0x23a0(_0x55801a,_0x2e7493);}import{CKEditorError as _0x42a5ba}from'ckeditor5/src/utils.js';import _0x424a97 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5d729a}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x288b3c(0x1e8)];export default class P extends _0x2533c2{static get[_0x288b3c(0x1ed)](){return[_0x424a97];}static get[_0x288b3c(0x1f0)](){const _0x5861c1=_0x288b3c;return _0x5861c1(0x1fc);}[_0x288b3c(0x1fe)](){const _0xc1afa=_0x288b3c,_0x5db122=this[_0xc1afa(0x214)];if(_0x5db122[_0xc1afa(0x202)][_0xc1afa(0x211)](_0xc1afa(0x207),_0x5e31fe=>{const _0x188bee=_0xc1afa,_0x37f2ac=_0x5db122[_0x188bee(0x1ea)][_0x188bee(0x205)][_0x188bee(0x21b)]()[_0x188bee(0x1eb)]((_0x67ec81,_0x20e544)=>(_0x67ec81[_0x20e544]='',_0x67ec81),{});return _0x5db122[_0x188bee(0x212)][_0x188bee(0x1f6)](_0x37f2ac,_0x5e31fe);}),_0xc1afa(0x200)!=typeof _0x5db122[_0xc1afa(0x202)][_0xc1afa(0x1e3)](_0xc1afa(0x201))[_0xc1afa(0x1f9)])throw new _0x42a5ba(_0xc1afa(0x1e9));}[_0x288b3c(0x21c)](_0x29ee1a){const _0x27e4fe=_0x288b3c;return N(this[_0x27e4fe(0x214)],!0x0,_0x29ee1a);}[_0x288b3c(0x1f2)](_0x548017){const _0x292c5b=_0x288b3c;return N(this[_0x292c5b(0x214)],!0x1,_0x548017);}}class D extends _0x2533c2{static get[_0x288b3c(0x1f0)](){const _0x21bb82=_0x288b3c;return _0x21bb82(0x1e1);}constructor(_0x30fac1){const _0x2973a1=_0x288b3c;super(_0x30fac1),this[_0x2973a1(0x1ec)]=_0x2973a1(0x1e7);}[_0x288b3c(0x1fe)](){const _0x27c803=_0x288b3c;this[_0x27c803(0x214)][_0x27c803(0x20b)][_0x27c803(0x1e3)](_0x27c803(0x1fa))[_0x27c803(0x1e0)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x27c803(0x214)][_0x27c803(0x20b)][_0x27c803(0x1e3)](_0x27c803(0x1f7))[_0x27c803(0x1e0)]=null;}}function v(_0x32ba3){const _0x2140b8=_0x288b3c;return void 0x0!==_0x32ba3[_0x2140b8(0x1e2)];}async function N(_0x29bd70,_0x8abfef,_0x410a83){const _0x55e3c2=_0x288b3c,_0x256a58=_0x5d729a(_0x29bd70,T);_0x256a58[_0x55e3c2(0x20b)][_0x55e3c2(0x204)](_0x424a97,D),_0x256a58[_0x55e3c2(0x219)]=v(_0x29bd70)?_0x29bd70[_0x55e3c2(0x1e2)]():void 0x0;const _0xc58f4a=document[_0x55e3c2(0x215)](),_0x550800=_0x29bd70[_0x55e3c2(0x202)][_0x55e3c2(0x1e3)](_0x55e3c2(0x201))[_0x55e3c2(0x1f9)],_0x5a229b=await _0x550800(_0x256a58,()=>function(_0x4c61d6){const _0x23b312=_0x55e3c2,_0x4f7fdd=document[_0x23b312(0x217)](_0x23b312(0x1f4));return _0x4c61d6[_0x23b312(0x1fb)](_0x4f7fdd),_0x4f7fdd;}(_0xc58f4a));!function(_0x159f3f,_0x1aff91){const _0x4fb6b5=_0x55e3c2,_0x444fd3=_0x159f3f[_0x4fb6b5(0x1ea)][_0x4fb6b5(0x205)][_0x4fb6b5(0x21b)]()[_0x4fb6b5(0x1eb)]((_0x8dd641,_0x1efa6b)=>(_0x8dd641[_0x1efa6b]=_0x159f3f[_0x4fb6b5(0x1fd)][_0x4fb6b5(0x1e3)]({'rootName':_0x1efa6b}),_0x8dd641),{}),_0x2e2585=_0x159f3f[_0x4fb6b5(0x20b)][_0x4fb6b5(0x1e3)](_0x4fb6b5(0x20a))[_0x4fb6b5(0x1f8)][_0x4fb6b5(0x218)](_0x144d53=>({'id':_0x144d53['id'],'name':_0x144d53[_0x4fb6b5(0x1e5)]})),_0x5104b6=_0x159f3f[_0x4fb6b5(0x20b)][_0x4fb6b5(0x1e3)](_0x4fb6b5(0x1f7))[_0x4fb6b5(0x1f3)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x319573=_0x1aff91[_0x4fb6b5(0x20b)][_0x4fb6b5(0x1e3)](_0x4fb6b5(0x20a)),_0xadd393=_0x1aff91[_0x4fb6b5(0x20b)][_0x4fb6b5(0x1e3)](_0x4fb6b5(0x1f7));for(const _0x351b9c of _0x2e2585)_0x319573[_0x4fb6b5(0x213)](_0x351b9c['id'])||_0x319573[_0x4fb6b5(0x203)](_0x351b9c);_0x319573['me']||_0x319573[_0x4fb6b5(0x20c)]();for(const _0x48a551 of _0x5104b6)_0xadd393[_0x4fb6b5(0x1e4)](_0x48a551);_0x1aff91[_0x4fb6b5(0x1fd)][_0x4fb6b5(0x1f5)](_0x444fd3);}(_0x29bd70,_0x5a229b),_0x5a229b[_0x55e3c2(0x1f1)](_0x8abfef?_0x55e3c2(0x1ff):_0x55e3c2(0x21a));const _0x532f7b=v(_0x5a229b)?_0x5a229b[_0x55e3c2(0x1e6)](_0x410a83):_0x5a229b[_0x55e3c2(0x1fd)][_0x55e3c2(0x1e3)](_0x410a83);return await _0x5a229b[_0x55e3c2(0x1ee)](),_0x532f7b;}
|