@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240415.0 → 0.0.0-nightly-20240417.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/multilevellist.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
|
-
const
|
|
23
|
+
function _0x8dde(){const _0x16519e=['2888EmjCeW','insertTemplate','2510824Hxloqe','enableCommand','10Smcoil','16fBDlqz','Template','11581779JxtXLS','5570964iJFvzv','303KmyzEj','editor','13884597ZjqDqx','764336tetwRQ','has','TrackChangesEditing','5FdzEmS','get','afterInit','624974BgNiNh','plugins'];_0x8dde=function(){return _0x16519e;};return _0x8dde();}const _0x1a1d98=_0x2d8c;(function(_0x591978,_0x584aca){const _0x6206d=_0x2d8c,_0x46cdbe=_0x591978();while(!![]){try{const _0x1733d7=-parseInt(_0x6206d(0x99))/0x1+parseInt(_0x6206d(0x8d))/0x2*(-parseInt(_0x6206d(0x96))/0x3)+parseInt(_0x6206d(0x8f))/0x4*(parseInt(_0x6206d(0x9c))/0x5)+parseInt(_0x6206d(0x95))/0x6+parseInt(_0x6206d(0x8b))/0x7*(-parseInt(_0x6206d(0x92))/0x8)+parseInt(_0x6206d(0x98))/0x9+parseInt(_0x6206d(0x91))/0xa*(-parseInt(_0x6206d(0x94))/0xb);if(_0x1733d7===_0x584aca)break;else _0x46cdbe['push'](_0x46cdbe['shift']());}catch(_0x829579){_0x46cdbe['push'](_0x46cdbe['shift']());}}}(_0x8dde,0xe9b74));import{Plugin as _0x1cc890}from'ckeditor5/src/core.js';function _0x2d8c(_0x5f0c52,_0x351d8f){const _0x8dde1d=_0x8dde();return _0x2d8c=function(_0x2d8cf0,_0x111502){_0x2d8cf0=_0x2d8cf0-0x89;let _0x31eb86=_0x8dde1d[_0x2d8cf0];return _0x31eb86;},_0x2d8c(_0x5f0c52,_0x351d8f);}export default class _t extends _0x1cc890{[_0x1a1d98(0x8a)](){const _0x452bb3=_0x1a1d98,_0x326ab1=this[_0x452bb3(0x97)];_0x326ab1[_0x452bb3(0x8c)][_0x452bb3(0x9a)](_0x452bb3(0x93))&&_0x326ab1[_0x452bb3(0x8c)][_0x452bb3(0x89)](_0x452bb3(0x9b))[_0x452bb3(0x90)](_0x452bb3(0x8e));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xf0ea(_0xea2cd2,_0x283167){const _0x43f0be=_0x43f0();return _0xf0ea=function(_0xf0eaae,_0x3edbcf){_0xf0eaae=_0xf0eaae-0x1af;let _0x1b50a5=_0x43f0be[_0xf0eaae];return _0x1b50a5;},_0xf0ea(_0xea2cd2,_0x283167);}const _0xe83db3=_0xf0ea;(function(_0x1447a1,_0x2036e2){const _0x2dc29a=_0xf0ea,_0x320542=_0x1447a1();while(!![]){try{const _0x1449b5=parseInt(_0x2dc29a(0x1b7))/0x1*(-parseInt(_0x2dc29a(0x1b9))/0x2)+parseInt(_0x2dc29a(0x1ce))/0x3+parseInt(_0x2dc29a(0x1d3))/0x4+parseInt(_0x2dc29a(0x1c4))/0x5+parseInt(_0x2dc29a(0x1be))/0x6+-parseInt(_0x2dc29a(0x1cf))/0x7*(parseInt(_0x2dc29a(0x1c9))/0x8)+-parseInt(_0x2dc29a(0x1b8))/0x9*(-parseInt(_0x2dc29a(0x1bb))/0xa);if(_0x1449b5===_0x2036e2)break;else _0x320542['push'](_0x320542['shift']());}catch(_0x4663ec){_0x320542['push'](_0x320542['shift']());}}}(_0x43f0,0x4d04c));function _0x43f0(){const _0x560649=['from','end','suggestion','createRange','element','8278EvRXXm','9gpoqiZ','148IpMeDg','get','580730fjudYY','has','afterInit','2850144JLOFlu','isCollapsed','removeMarker','getChangedMarkers','isEqual','newRange','1001120lhwxMP','plugins','TrackChangesEditing','Title','ELEMENT_TITLE','49656MxATmZ','forward','_splitMarkerName','nodeBefore','registerElementLabel','1819176WoupQd','483OiNtUL','_descriptionFactory','document','editor','66440HNryjz','differ','schema','locale','title-content','updateMarker','isTouching','start','registerPostFixer','getNearestSelectionRange','model'];_0x43f0=function(){return _0x560649;};return _0x43f0();}import{Plugin as _0x31afa6}from'ckeditor5/src/core.js';import{getTranslation as _0x4f66a4}from'../utils/common-translations.js';export default class Dt extends _0x31afa6{[_0xe83db3(0x1bd)](){const _0x440406=_0xe83db3,_0x196b15=this[_0x440406(0x1d2)];if(!_0x196b15[_0x440406(0x1c5)][_0x440406(0x1bc)](_0x440406(0x1c7)))return;const _0x20d887=_0x196b15[_0x440406(0x1c5)][_0x440406(0x1ba)](_0x440406(0x1c6));_0x20d887[_0x440406(0x1d0)][_0x440406(0x1cd)](_0x440406(0x1d7),()=>_0x4f66a4(_0x196b15[_0x440406(0x1d6)],_0x440406(0x1c8))),_0x196b15[_0x440406(0x1b1)][_0x440406(0x1d1)][_0x440406(0x1af)](_0x5d4504=>{const _0x294ecd=_0x440406;let _0x18dd16=!0x1;const _0x19cfcf=Array[_0x294ecd(0x1b2)](_0x196b15[_0x294ecd(0x1b1)][_0x294ecd(0x1d1)][_0x294ecd(0x1d4)][_0x294ecd(0x1c1)]());for(const {name:_0x4acecc,data:_0x58c8e3}of _0x19cfcf){const {group:_0x55568e}=_0x20d887[_0x294ecd(0x1cb)](_0x4acecc);if(_0x294ecd(0x1b4)!==_0x55568e||!_0x58c8e3[_0x294ecd(0x1c3)])continue;const _0x3d427=_0x58c8e3[_0x294ecd(0x1c3)],_0xf06de7=_0x3d427[_0x294ecd(0x1b3)][_0x294ecd(0x1cc)];if(!_0xf06de7||!_0xf06de7['is'](_0x294ecd(0x1b6),_0x294ecd(0x1d7)))continue;if(!_0x3d427[_0x294ecd(0x1da)][_0x294ecd(0x1d9)](_0x3d427[_0x294ecd(0x1b3)]))continue;const _0x4af39b=_0x196b15[_0x294ecd(0x1b1)][_0x294ecd(0x1d5)][_0x294ecd(0x1b0)](_0x3d427[_0x294ecd(0x1b3)],_0x294ecd(0x1ca));if(_0x4af39b&&_0x4af39b[_0x294ecd(0x1bf)]){const _0x1f5498=_0x5d4504[_0x294ecd(0x1b5)](_0x3d427[_0x294ecd(0x1da)],_0x4af39b[_0x294ecd(0x1da)]);_0x1f5498[_0x294ecd(0x1c2)](_0x3d427)||(_0x5d4504[_0x294ecd(0x1d8)](_0x4acecc,{'range':_0x1f5498}),_0x18dd16=!0x0);}_0x18dd16||(_0x5d4504[_0x294ecd(0x1c0)](_0x4acecc),_0x18dd16=!0x0);}return _0x18dd16;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x559c1f=_0x1360;(function(_0x1eb1f5,_0x25f87b){const _0x1f9bad=_0x1360,_0x4744c6=_0x1eb1f5();while(!![]){try{const _0x2ccab2=-parseInt(_0x1f9bad(0x13a))/0x1*(parseInt(_0x1f9bad(0x130))/0x2)+parseInt(_0x1f9bad(0x136))/0x3*(parseInt(_0x1f9bad(0x13c))/0x4)+-parseInt(_0x1f9bad(0x137))/0x5+-parseInt(_0x1f9bad(0x13e))/0x6*(-parseInt(_0x1f9bad(0x133))/0x7)+-parseInt(_0x1f9bad(0x141))/0x8*(parseInt(_0x1f9bad(0x145))/0x9)+parseInt(_0x1f9bad(0x13b))/0xa+parseInt(_0x1f9bad(0x132))/0xb*(-parseInt(_0x1f9bad(0x142))/0xc);if(_0x2ccab2===_0x25f87b)break;else _0x4744c6['push'](_0x4744c6['shift']());}catch(_0x316cd6){_0x4744c6['push'](_0x4744c6['shift']());}}}(_0x459c,0x5889c));function _0x1360(_0x2ed358,_0x2f0743){const _0x459c0e=_0x459c();return _0x1360=function(_0x136055,_0x420c5a){_0x136055=_0x136055-0x130;let _0x4b5262=_0x459c0e[_0x136055];return _0x4b5262;},_0x1360(_0x2ed358,_0x2f0743);}import{Plugin as _0x311d68}from'ckeditor5/src/core.js';function _0x459c(){const _0x43b490=['TrackChangesEditing','editor','56IfHxMv','59676SpxYKu','enableCommand','has','33669HOqTJz','18526dCTPYb','redo','44zPsYul','3030972pRQRvr','afterInit','plugins','3UJdCEy','1034075ynQlLg','get','undo','13mgLBon','2277720LwGmEZ','300788jNpPbY','UndoEditing','6YaOoWk'];_0x459c=function(){return _0x43b490;};return _0x459c();}export default class Nt extends _0x311d68{[_0x559c1f(0x134)](){const _0x5b31aa=_0x559c1f,_0x52b646=this[_0x5b31aa(0x140)],_0x571c6c=_0x52b646[_0x5b31aa(0x135)][_0x5b31aa(0x138)](_0x5b31aa(0x13f));_0x52b646[_0x5b31aa(0x135)][_0x5b31aa(0x144)](_0x5b31aa(0x13d))&&(_0x571c6c[_0x5b31aa(0x143)](_0x5b31aa(0x139)),_0x571c6c[_0x5b31aa(0x143)](_0x5b31aa(0x131)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x140b(_0x17471e,_0x516cf3){const _0x15b665=_0x15b6();return _0x140b=function(_0x140b51,_0x443227){_0x140b51=_0x140b51-0x1f1;let _0x22f580=_0x15b665[_0x140b51];return _0x22f580;},_0x140b(_0x17471e,_0x516cf3);}(function(_0x5bb42d,_0x2330c7){const _0xacf50b=_0x140b,_0x1b7155=_0x5bb42d();while(!![]){try{const _0x1ae7d0=parseInt(_0xacf50b(0x225))/0x1*(parseInt(_0xacf50b(0x224))/0x2)+-parseInt(_0xacf50b(0x20c))/0x3+-parseInt(_0xacf50b(0x203))/0x4*(parseInt(_0xacf50b(0x201))/0x5)+-parseInt(_0xacf50b(0x1f5))/0x6*(parseInt(_0xacf50b(0x1fe))/0x7)+parseInt(_0xacf50b(0x210))/0x8+-parseInt(_0xacf50b(0x202))/0x9+-parseInt(_0xacf50b(0x1f7))/0xa*(-parseInt(_0xacf50b(0x208))/0xb);if(_0x1ae7d0===_0x2330c7)break;else _0x1b7155['push'](_0x1b7155['shift']());}catch(_0x505e86){_0x1b7155['push'](_0x1b7155['shift']());}}}(_0x15b6,0xb9d4c));export function getRangesWithAttribute(_0x58b1ca,_0x289fd6,_0xc503a9){const _0x3e0879=_0x140b,_0x1bb4ae=[];for(const _0x5a762f of _0x289fd6[_0x3e0879(0x1fd)]())_0x5a762f[_0x3e0879(0x1f3)](_0x58b1ca)&&_0x1bb4ae[_0x3e0879(0x220)](_0xc503a9[_0x3e0879(0x217)](_0x5a762f));return _0x1bb4ae;}export function getElementsAffectedByListItemRename(_0x32718e){const _0x12b262=_0x140b,_0x545ba1=[];if(_0x32718e['is'](_0x12b262(0x1fa),_0x12b262(0x207))){let _0x274fb2=_0x32718e[_0x12b262(0x1f1)];for(;_0x274fb2&&_0x274fb2['is'](_0x12b262(0x1fa),_0x12b262(0x207))&&_0x274fb2[_0x12b262(0x219)](_0x12b262(0x20e))>0x0;)_0x545ba1[_0x12b262(0x220)](_0x274fb2),_0x274fb2=_0x274fb2[_0x12b262(0x1f1)];}return _0x545ba1;}export function downcastSplitMergeMarker(_0xc7e8e8,_0x24d41e,{showActiveMarker:_0x10318f=!0x0}={}){const _0x5373d8=_0x140b,_0x16e69e=_0xc7e8e8[_0x5373d8(0x1fb)][_0x5373d8(0x1f6)](_0x5373d8(0x1ff));return(_0x2a5ee4,_0x43b680,_0x179492)=>{const _0x58ed79=_0x5373d8;if(!_0x179492[_0x58ed79(0x211)][_0x58ed79(0x20b)](_0x43b680[_0x58ed79(0x20f)],_0x2a5ee4[_0x58ed79(0x228)]))return;const _0x338c19=_0x43b680[_0x58ed79(0x20f)][_0x58ed79(0x206)](),_0x1a2839=_0x43b680[_0x58ed79(0x20f)][_0x58ed79(0x200)],_0x46b8a5=_0xc7e8e8[_0x58ed79(0x216)][_0x58ed79(0x21f)];let _0x4153d4=null,_0xa5fd25=null,_0x47a8e2=!0x1,_0xe97236=!0x1;for(const _0x5d7664 of _0x338c19){const _0x10231c=_0x5d7664[_0x58ed79(0x1fc)];_0x47a8e2=_0x47a8e2||_0x46b8a5[_0x58ed79(0x214)](_0x10231c);const _0x490d96=_0x179492[_0x58ed79(0x1f8)][_0x58ed79(0x20a)](_0x10231c);if(_0x490d96&&_0x490d96[_0x58ed79(0x1f4)](_0x58ed79(0x222)))return;_0x58ed79(0x215)==_0x5d7664[_0x58ed79(0x213)]&&(_0x46b8a5[_0x58ed79(0x21d)](_0x10231c)&&!_0x46b8a5[_0x58ed79(0x204)](_0x10231c)&&(_0x10231c[_0x58ed79(0x1f1)]||_0x1a2839[_0x58ed79(0x20d)]?_0x4153d4&&_0x4153d4[_0x58ed79(0x1f2)]==_0x10231c||(_0x4153d4=_0x10231c,_0x145766(_0x5d7664[_0x58ed79(0x21c)]),_0xe97236=!0x0):_0xa5fd25=_0xa5fd25||_0x5d7664[_0x58ed79(0x21c)]));}function _0x145766(_0x1281f4){const _0x15d7c3=_0x58ed79,_0x5e420f=_0x179492[_0x15d7c3(0x218)][_0x15d7c3(0x212)](_0x15d7c3(0x21e),{'class':_0x15d7c3(0x21b)+_0x24d41e}),_0x33eae0=_0x179492[_0x15d7c3(0x1f8)][_0x15d7c3(0x209)](_0x1281f4);_0x10318f&&_0x16e69e[_0x15d7c3(0x223)][_0x15d7c3(0x21a)](_0x43b680[_0x15d7c3(0x226)])&&_0x179492[_0x15d7c3(0x218)][_0x15d7c3(0x205)](_0x15d7c3(0x227),_0x5e420f),_0x179492[_0x15d7c3(0x218)][_0x15d7c3(0x1f9)](_0x33eae0,_0x5e420f),_0x179492[_0x15d7c3(0x1f8)][_0x15d7c3(0x221)](_0x5e420f,_0x43b680[_0x15d7c3(0x226)]);}_0x47a8e2||_0xe97236||!_0xa5fd25||_0x145766(_0xa5fd25);};}function _0x15b6(){const _0x11d626=['createRangeOn','writer','getAttribute','includes','ck-suggestion-marker-','previousPosition','isBlock','span','schema','push','bindElementToMarker','addHighlight','activeMarkers','114ILfISi','21371xrzFfg','markerName','ck-suggestion-marker--active','name','nextSibling','parent','hasAttribute','getCustomProperty','222aSCLio','get','10GEFeLY','mapper','insert','element','plugins','item','getItems','111902ApbrPz','TrackChangesEditing','start','10AnFRwl','9549918YpChos','493036ujJvFV','isLimit','addClass','getWalker','listItem','26348993lvOfoc','toViewPosition','toViewElement','test','3104859PGspKB','isAtEnd','listIndent','markerRange','653672NRSyMY','consumable','createUIElement','type','isContent','elementEnd','model'];_0x15b6=function(){return _0x11d626;};return _0x15b6();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32e29f=_0x2111;(function(_0x17d82d,_0xbfa7be){const _0x3345b5=_0x2111,_0x27d2d7=_0x17d82d();while(!![]){try{const _0x1392fb=-parseInt(_0x3345b5(0xc9))/0x1+-parseInt(_0x3345b5(0x8f))/0x2+parseInt(_0x3345b5(0x84))/0x3+parseInt(_0x3345b5(0xc8))/0x4+parseInt(_0x3345b5(0x98))/0x5*(-parseInt(_0x3345b5(0xb5))/0x6)+parseInt(_0x3345b5(0xbc))/0x7+parseInt(_0x3345b5(0xc2))/0x8*(parseInt(_0x3345b5(0xa2))/0x9);if(_0x1392fb===_0xbfa7be)break;else _0x27d2d7['push'](_0x27d2d7['shift']());}catch(_0x360a30){_0x27d2d7['push'](_0x27d2d7['shift']());}}}(_0x1ade,0x262d7));import{Element as _0x3a1e12}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x278d8f,uid as _0x45dd15}from'ckeditor5/src/utils.js';import{cloneDeep as _0x292e89,isEqual as _0x48ce3a,set as _0x140f4d,unset as _0x1648eb}from'lodash-es';function _0x1ade(){const _0x434b11=['map','582612keuiMN','308723CokwzO','_saved','get','set','onAttributesChange','decorate','toJSON','isExternal','getFirstMarker','clear','subType','396219aXpdbZ','suggestion:','attributes','setAttribute','change','creator','createdAt','push','from','type','getItems','464480LuAPeB','getFirstRange','nodeBefore','length','substr','addMarker','getAllAdjacentSuggestions','getMarkerNames','getRanges','50975cNHFcP','getContainedElement','isInContent','addRange','removeMarkers','nodeAfter','_model','discard','onAccept','getRange','306XQwWyQ','_onAttributesChange','filter','_onDiscard','isMultiRange','start','isIntersectingWithRange','split','removeMarker','addMarkerName','_markerNames','size','isIntersecting','getMarkers','onDiscard','accept','_isDataLoaded','reduce','_onAccept','66hEvqxv','removeAttribute','authoredAt','commentThread','data','previous','getMultiRangeId','649005PWSOGT','end','next','delete','markers','head','103304BZIoBo','add','hasComments','author','@external'];_0x1ade=function(){return _0x434b11;};return _0x1ade();}function _0x2111(_0x2d025c,_0x56f75b){const _0x1ade84=_0x1ade();return _0x2111=function(_0x211145,_0x2efe1a){_0x211145=_0x211145-0x7f;let _0x22c064=_0x1ade84[_0x211145];return _0x22c064;},_0x2111(_0x2d025c,_0x56f75b);}export default class u extends _0x278d8f(){constructor(_0x2b68cb,_0x10c842){const _0x3a6456=_0x2111;super(),this[_0x3a6456(0xb2)]=!0x1,this['id']=_0x10c842['id'],this[_0x3a6456(0x8d)]=_0x10c842[_0x3a6456(0x8d)],this[_0x3a6456(0x83)]=_0x10c842[_0x3a6456(0x83)]||null,this[_0x3a6456(0xc5)]=_0x10c842[_0x3a6456(0xc5)],this[_0x3a6456(0x89)]=_0x10c842[_0x3a6456(0x89)]||_0x10c842[_0x3a6456(0xc5)],this[_0x3a6456(0x80)]=Boolean(_0x10c842[_0x3a6456(0x86)]&&_0x10c842[_0x3a6456(0x86)][_0x3a6456(0xc6)]),this[_0x3a6456(0xb9)]=null,this[_0x3a6456(0x9e)]=_0x2b68cb,this[_0x3a6456(0xb4)]=_0x10c842[_0x3a6456(0xa0)],this[_0x3a6456(0xa5)]=_0x10c842[_0x3a6456(0xb0)],this[_0x3a6456(0xa3)]=_0x10c842[_0x3a6456(0xcd)],this[_0x3a6456(0xac)]=new Set(),this[_0x3a6456(0x8a)]=null,this[_0x3a6456(0xcc)](_0x3a6456(0xb7),null),this[_0x3a6456(0xcc)](_0x3a6456(0x86),_0x10c842[_0x3a6456(0x86)]||{}),this[_0x3a6456(0xcc)](_0x3a6456(0xba),null),this[_0x3a6456(0xcc)](_0x3a6456(0xbe),null),this[_0x3a6456(0xcc)](_0x3a6456(0xb8),null),this[_0x3a6456(0xcc)](_0x3a6456(0xca),!0x1),this[_0x3a6456(0xce)](_0x3a6456(0xb1)),this[_0x3a6456(0xce)](_0x3a6456(0x9f));}get[_0x32e29f(0xc1)](){const _0x2c4868=_0x32e29f;let _0x163718=this;for(;_0x163718[_0x2c4868(0xba)];)_0x163718=_0x163718[_0x2c4868(0xba)];return _0x163718;}get[_0x32e29f(0xc4)](){const _0x52ad08=_0x32e29f;return!!this[_0x52ad08(0xb8)]&&this[_0x52ad08(0xb8)][_0x52ad08(0x92)]>0x0;}get[_0x32e29f(0xa6)](){const _0xec4d01=_0x32e29f;if(0x0==this[_0xec4d01(0xac)][_0xec4d01(0xad)])return!0x1;return 0x6==Array[_0xec4d01(0x8c)](this[_0xec4d01(0xac)])[0x0][_0xec4d01(0xa9)](':')[_0xec4d01(0x92)];}get[_0x32e29f(0x9a)](){const _0x8bd874=_0x32e29f;return null!==this[_0x8bd874(0x81)]();}[_0x32e29f(0xab)](_0x434676){const _0x47333e=_0x32e29f;this[_0x47333e(0xac)][_0x47333e(0xc3)](_0x434676);}[_0x32e29f(0x96)](){const _0x24ef71=_0x32e29f;return Array[_0x24ef71(0x8c)](this[_0x24ef71(0xac)]);}[_0x32e29f(0xaf)](){const _0x376f34=_0x32e29f;return this[_0x376f34(0x96)]()[_0x376f34(0xc7)](_0x31bc77=>this[_0x376f34(0x9e)][_0x376f34(0xc0)][_0x376f34(0xcb)](_0x31bc77))[_0x376f34(0xa4)](_0x38f34f=>_0x38f34f);}[_0x32e29f(0x81)](){const _0x414d9b=_0x32e29f;return this[_0x414d9b(0xaf)]()[0x0]||null;}[_0x32e29f(0x9c)](){const _0x4b533d=_0x32e29f;this[_0x4b533d(0x9e)][_0x4b533d(0x88)](_0x20bc97=>{const _0x12d5d0=_0x4b533d;for(const _0x6db3d1 of this[_0x12d5d0(0xaf)]())_0x20bc97[_0x12d5d0(0xaa)](_0x6db3d1);}),this[_0x4b533d(0xac)][_0x4b533d(0x82)]();}[_0x32e29f(0xaa)](_0x52d569){const _0xa24ce9=_0x32e29f;this[_0xa24ce9(0x9e)][_0xa24ce9(0x88)](_0x290994=>{const _0x5ab65a=_0xa24ce9;_0x290994[_0x5ab65a(0xaa)](_0x52d569);}),this[_0xa24ce9(0xac)][_0xa24ce9(0xbf)](_0x52d569);}[_0x32e29f(0x9b)](_0x981f1c){const _0x2f7479=_0x32e29f,_0x299814=_0x2f7479(0x85)+this[_0x2f7479(0x8d)]+':'+this[_0x2f7479(0x83)]+':'+this['id']+':'+this[_0x2f7479(0x89)]['id']+':'+u[_0x2f7479(0xbb)]();this[_0x2f7479(0xab)](_0x299814),this[_0x2f7479(0x9e)][_0x2f7479(0x88)](_0x15d861=>{const _0x3274f1=_0x2f7479;_0x15d861[_0x3274f1(0x94)](_0x299814,{'range':_0x981f1c,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x32e29f(0xa8)](_0x1dff01){const _0x478792=_0x32e29f;for(const _0x1d6f28 of this[_0x478792(0x97)]())if(_0x1d6f28[_0x478792(0xae)](_0x1dff01))return!0x0;return!0x1;}[_0x32e29f(0x97)](){const _0x4f9617=_0x32e29f;return this[_0x4f9617(0xaf)]()[_0x4f9617(0xc7)](_0x4da72a=>_0x4da72a[_0x4f9617(0xa1)]());}[_0x32e29f(0x8e)](){const _0x1a9a8d=_0x32e29f;return this[_0x1a9a8d(0x97)]()[_0x1a9a8d(0xb3)]((_0x526a78,_0x681724)=>[..._0x526a78,..._0x681724[_0x1a9a8d(0x8e)]()],[]);}[_0x32e29f(0x90)](){const _0x3fc14f=_0x32e29f;var _0x597799;return(null===(_0x597799=this[_0x3fc14f(0x81)]())||void 0x0===_0x597799?void 0x0:_0x597799[_0x3fc14f(0xa1)]())||null;}[_0x32e29f(0x99)](){const _0x2a79bf=_0x32e29f,_0x4d2e9f=this[_0x2a79bf(0x97)]();if(0x1!=_0x4d2e9f[_0x2a79bf(0x92)])return null;const _0x149b54=_0x4d2e9f[0x0],_0x404862=_0x149b54[_0x2a79bf(0xa7)][_0x2a79bf(0x9d)],_0xd6c049=_0x149b54[_0x2a79bf(0xbd)][_0x2a79bf(0x91)];return _0x404862 instanceof _0x3a1e12?_0x404862!=_0xd6c049?null:_0x404862:null;}[_0x32e29f(0xb1)](){const _0x54925f=_0x32e29f;this[_0x54925f(0xb4)](this[_0x54925f(0x97)](),this[_0x54925f(0xb9)],this[_0x54925f(0x86)]),this[_0x54925f(0x9c)]();}[_0x32e29f(0x9f)](){const _0x829a4c=_0x32e29f;this[_0x829a4c(0xa5)](this[_0x829a4c(0x97)](),this[_0x829a4c(0xb9)],this[_0x829a4c(0x86)]),this[_0x829a4c(0x9c)]();}[_0x32e29f(0x95)](){const _0x1e6b98=_0x32e29f,_0x1bceb4=[];let _0x497918=this[_0x1e6b98(0xc1)];for(;_0x497918;)_0x1bceb4[_0x1e6b98(0x8b)](_0x497918),_0x497918=_0x497918[_0x1e6b98(0xbe)];return _0x1bceb4;}[_0x32e29f(0x87)](_0x234d6a,_0x25923b){const _0x1d1a26=_0x32e29f,_0x4d754b=_0x292e89(this[_0x1d1a26(0x86)]);_0x140f4d(_0x4d754b,_0x234d6a,_0x25923b),_0x48ce3a(_0x4d754b,this[_0x1d1a26(0x86)])||(this[_0x1d1a26(0x86)]=_0x4d754b,this[_0x1d1a26(0xa3)](_0x4d754b));}[_0x32e29f(0xb6)](_0x3a1b13){const _0x5583b9=_0x32e29f,_0x2ca8f=_0x292e89(this[_0x5583b9(0x86)]);_0x1648eb(_0x2ca8f,_0x3a1b13),_0x48ce3a(_0x2ca8f,this[_0x5583b9(0x86)])||(this[_0x5583b9(0x86)]=_0x2ca8f,this[_0x5583b9(0xa3)](this[_0x5583b9(0x86)]));}[_0x32e29f(0x7f)](){const _0x22fec8=_0x32e29f;return{'id':this['id'],'type':this[_0x22fec8(0x83)]?this[_0x22fec8(0x8d)]+':'+this[_0x22fec8(0x83)]:this[_0x22fec8(0x8d)],'authorId':this[_0x22fec8(0x89)]['id'],'createdAt':this[_0x22fec8(0x8a)],'hasComments':this[_0x22fec8(0xc4)],'data':this[_0x22fec8(0xb9)],'attributes':this[_0x22fec8(0x86)]};}static[_0x32e29f(0xbb)](){const _0x2695bf=_0x32e29f;return _0x45dd15()[_0x2695bf(0x93)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45e316=_0xf12a;(function(_0x1c1416,_0x4b3e5c){const _0x5bf059=_0xf12a,_0x2efeee=_0x1c1416();while(!![]){try{const _0x3ccaaa=-parseInt(_0x5bf059(0x1e7))/0x1+-parseInt(_0x5bf059(0x1c5))/0x2+parseInt(_0x5bf059(0x208))/0x3*(-parseInt(_0x5bf059(0x201))/0x4)+-parseInt(_0x5bf059(0x1e3))/0x5*(parseInt(_0x5bf059(0x1ef))/0x6)+-parseInt(_0x5bf059(0x20b))/0x7+-parseInt(_0x5bf059(0x21c))/0x8*(parseInt(_0x5bf059(0x1ed))/0x9)+parseInt(_0x5bf059(0x21b))/0xa;if(_0x3ccaaa===_0x4b3e5c)break;else _0x2efeee['push'](_0x2efeee['shift']());}catch(_0x1a22a5){_0x2efeee['push'](_0x2efeee['shift']());}}}(_0x23dd,0x88617));import{getTranslation as _0x4542b5}from'./utils/common-translations.js';function _0x23dd(){const _0x447896=['push','pop','1116625EixNMw','*Remove\x20format:*\x20%0','removeObject','function','registerDescriptionCallback','text','5643369CTMVXU','previousSibling','744NnZPyh','add','removeFormat','elementStart','isEmpty','indexOf','Container','label','_handleAttributeSuggestionDescription','_handleInsertRemoveSuggestionDescription','removeEmptyContainer','ELEMENT_SPACE','format','*Insert:*\x20%0','_locale','has','*Merge:*\x20%0','deletion','64XAlDEb','key','Object','newValue','normal','*Change\x20to:*\x20%0','element','115734opKAwE','*Remove:*\x20%0','quantity','5607833qqhQlK','_resolveDescriptionItems','$text','elementEnd','addContainer','isInContent','addFormat','removeContainer','_addDescriptionItems','registerAttributeLabel','replace','_itemLabels','length','addObject','getWalker','REPLACE_TEXT','47151650utJqHp','8ZikDpi','addEmptyContainer','_itemLabelsCallbacks','_handleRenameSuggestionDescription','registerElementLabel','getFirstRange','matchingCallback','_attributeLabels','data','get','55626EKbqVr','end','softBreak','set','start','*Set\x20format:*\x20%0','$1\x20$2','*Split:*\x20%0','map','match','isEqual','subType','insertion','attribute','getItemLabel','_handleCustomCallbackDescription','$textProxy','type','getDescriptions','EmptyContainer','remove','join','_customCallbacks','skip','_schema','isObject','nextSibling','name','item','nodeAfter','38980trYhuj','checkChild'];_0x23dd=function(){return _0x447896;};return _0x23dd();}function _0xf12a(_0x423bb6,_0x1a3afd){const _0x23dd1f=_0x23dd();return _0xf12a=function(_0xf12a06,_0x22fa74){_0xf12a06=_0xf12a06-0x1be;let _0xcdb621=_0x23dd1f[_0xf12a06];return _0xcdb621;},_0xf12a(_0x423bb6,_0x1a3afd);}import{priorities as _0xabbadf,insertToPriorityArray as _0x25a35f}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x50bbea}from'./trackchangesediting.js';export default class f{constructor(_0x146112,_0x514faa){const _0x50fc3d=_0xf12a;this[_0x50fc3d(0x1db)]=[],this[_0x50fc3d(0x216)]=new Map(),this[_0x50fc3d(0x21e)]=[],this[_0x50fc3d(0x1c2)]=new Map(),this[_0x50fc3d(0x1dd)]=_0x146112,this[_0x50fc3d(0x1fd)]=_0x514faa;}[_0x45e316(0x1d7)](_0x1403b9){const _0x162208=_0x45e316,_0x55f7d9=[],_0x13752a=new Set(),_0x5e700f=new Set();for(let _0x229e8a=0x0;_0x229e8a<_0x1403b9[_0x162208(0x217)];_0x229e8a++){const _0x13db0b=_0x1403b9[_0x229e8a];if(!_0x13db0b[_0x162208(0x210)])continue;const _0x826edb=this[_0x162208(0x1d4)](_0x13db0b);if(_0x826edb){if(null!=_0x13db0b[_0x162208(0x1d0)]){if(_0x13752a[_0x162208(0x1fe)](_0x13db0b[_0x162208(0x1d0)]))continue;_0x13752a[_0x162208(0x1f0)](_0x13db0b[_0x162208(0x1d0)]);}_0x55f7d9[_0x162208(0x1e5)](_0x826edb);}else{if(_0x162208(0x1d2)!=_0x13db0b[_0x162208(0x1d6)])_0x162208(0x1d1)!=_0x13db0b[_0x162208(0x1d6)]&&_0x162208(0x200)!=_0x13db0b[_0x162208(0x1d6)]||this[_0x162208(0x1f8)](_0x55f7d9,_0x13db0b,_0x1403b9[_0x229e8a+0x1]);else{const _0x2c6622=_0x13db0b[_0x162208(0x1c3)][_0x162208(0x202)];if(_0x5e700f[_0x162208(0x1fe)](_0x2c6622))continue;_0x5e700f[_0x162208(0x1f0)](_0x13db0b[_0x162208(0x1c3)][_0x162208(0x202)]),_0x2c6622==_0x50bbea?this[_0x162208(0x1be)](_0x55f7d9,_0x13db0b):this[_0x162208(0x1f7)](_0x55f7d9,_0x13db0b);}}}return this[_0x162208(0x20c)](_0x55f7d9);}[_0x45e316(0x1eb)](_0x758cd7){const _0x45cf2a=_0x45e316;this[_0x45cf2a(0x1db)][_0x45cf2a(0x1e5)](_0x758cd7);}[_0x45e316(0x1bf)](_0x2ddc45,_0x5cf462,_0x395d1d=_0xabbadf[_0x45e316(0x205)]){const _0x10a1a1=_0x45e316;_0x10a1a1(0x1ea)==typeof _0x2ddc45?_0x25a35f(this[_0x10a1a1(0x21e)],{'matchingCallback':_0x2ddc45,'label':_0x5cf462,'priority':_0x395d1d}):this[_0x10a1a1(0x216)][_0x10a1a1(0x1c8)](_0x2ddc45,_0x5cf462);}[_0x45e316(0x214)](_0x276355,_0x4e22e0){const _0x80441d=_0x45e316;this[_0x80441d(0x1c2)][_0x80441d(0x1c8)](_0x276355,_0x4e22e0);}[_0x45e316(0x1d3)](_0x3a0a18,_0x3245cd=0x1){const _0x124c64=_0x45e316;let _0x1241a2;for(const _0x54fe63 of this[_0x124c64(0x21e)])if(_0x54fe63[_0x124c64(0x1c1)](_0x3a0a18)){_0x1241a2=_0x54fe63[_0x124c64(0x1f6)];break;}return _0x1241a2||(_0x1241a2=this[_0x124c64(0x216)][_0x124c64(0x1c4)](_0x3a0a18[_0x124c64(0x1e0)])),_0x1241a2?_0x1241a2(_0x3245cd):0x1!==_0x3245cd?_0x3245cd+'\x20'+_0x3a0a18[_0x124c64(0x1e0)]+'s':''+_0x3a0a18[_0x124c64(0x1e0)];}[_0x45e316(0x213)](_0x1c1a20,_0x33ce38){const _0x49b42c=_0x45e316,_0x4707b9=_0x33ce38[_0x49b42c(0x1c0)]()[_0x49b42c(0x219)](),_0x271823=_0x49b42c(0x1d1)==_0x33ce38[_0x49b42c(0x1d6)]?_0x49b42c(0x1f0):_0x49b42c(0x1d9);for(const _0x4a522d of _0x4707b9){const _0xfda653=_0x4a522d[_0x49b42c(0x1e1)],_0x467ed8=_0x1c1a20[_0x1c1a20[_0x49b42c(0x217)]-0x1];if(_0xfda653['is'](_0x49b42c(0x1d5)))_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))>-0x1&&_0x1c1a20[_0x49b42c(0x1e6)](),_0x467ed8&&_0x49b42c(0x1ec)==_0x467ed8[_0x49b42c(0x1d6)]?_0x467ed8[_0x271823]+=_0xfda653[_0x49b42c(0x1c3)]:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x49b42c(0x1ec),'add':_0x49b42c(0x1f0)==_0x271823?_0xfda653[_0x49b42c(0x1c3)]:'','remove':_0x49b42c(0x1d9)==_0x271823?_0xfda653[_0x49b42c(0x1c3)]:''});else{if(this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0xfda653)){const _0xb3adb0=_0xfda653;if(_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))>-0x1&&_0x1c1a20[_0x49b42c(0x1e6)](),_0x49b42c(0x20e)==_0x4a522d[_0x49b42c(0x1d6)])continue;_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)]==_0x271823+_0x49b42c(0x203)&&_0x467ed8[_0x49b42c(0x207)][_0x49b42c(0x1e0)]==_0xb3adb0[_0x49b42c(0x1e0)]?_0x467ed8[_0x49b42c(0x20a)]++:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x203),'element':_0xb3adb0,'quantity':0x1}),_0x4707b9[_0x49b42c(0x1dc)](_0x59c6ce=>!(_0x49b42c(0x20e)==_0x59c6ce[_0x49b42c(0x1d6)]&&_0x59c6ce[_0x49b42c(0x1e1)]==_0xfda653));}else{if(this[_0x49b42c(0x1dd)][_0x49b42c(0x1e4)](_0xfda653,_0x49b42c(0x20d))||_0xfda653['is'](_0x49b42c(0x207),_0x49b42c(0x1c7))){const _0x42164b=_0xfda653;if(_0x49b42c(0x1f0)==_0x271823&&_0x49b42c(0x1f2)==_0x4a522d[_0x49b42c(0x1d6)]||_0x49b42c(0x1d9)==_0x271823&&_0x49b42c(0x20e)==_0x4a522d[_0x49b42c(0x1d6)])continue;if(_0x467ed8&&-0x1==_0x467ed8[_0x49b42c(0x1d6)][_0x49b42c(0x1f4)](_0x49b42c(0x1f5))){_0x49b42c(0x1ec)==_0x467ed8[_0x49b42c(0x1d6)]&&(_0x467ed8[_0x271823]+='\x0a');continue;}let _0x11b9ea;if(_0x11b9ea=_0x49b42c(0x1f0)==_0x271823?_0x42164b[_0x49b42c(0x1df)]&&!this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0x42164b[_0x49b42c(0x1df)])?_0x42164b[_0x49b42c(0x1df)]:null:_0x42164b[_0x49b42c(0x1ee)]&&!this[_0x49b42c(0x1dd)][_0x49b42c(0x1de)](_0x42164b[_0x49b42c(0x1ee)])?_0x42164b[_0x49b42c(0x1ee)]:null,_0x42164b[_0x49b42c(0x1f3)]||_0x11b9ea&&_0x11b9ea[_0x49b42c(0x1f3)]){const _0x53d123=_0x11b9ea&&_0x11b9ea[_0x49b42c(0x1f3)]?_0x11b9ea:_0x42164b;_0x467ed8&&_0x467ed8[_0x49b42c(0x1d6)]==_0x271823+_0x49b42c(0x1d8)&&_0x467ed8[_0x49b42c(0x207)][_0x49b42c(0x1e0)]==_0x53d123[_0x49b42c(0x1e0)]?_0x467ed8[_0x49b42c(0x20a)]++:_0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x1d8),'element':_0x53d123,'quantity':0x1});}else _0x1c1a20[_0x49b42c(0x1e5)]({'type':_0x271823+_0x49b42c(0x1f5),'element':_0x42164b});}}}}}[_0x45e316(0x20c)](_0x448173){const _0x320e10=_0x45e316,_0x3ff0d4=this[_0x320e10(0x1fd)],_0x13b2dd=[],_0x1ee120=[],_0x5ebd52=[];for(const _0x320c96 of _0x448173)switch(_0x320c96[_0x320e10(0x1d6)]){case _0x320e10(0x1ec):if(_0x320c96[_0x320e10(0x1f0)]=_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x215)](/(\S)\u000A+(\S)/g,_0x320e10(0x1cb))[_0x320e10(0x215)](/\u000A/g,''),_0x320c96[_0x320e10(0x1d9)]=_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x215)](/(\S)\u000A+(\S)/g,_0x320e10(0x1cb))[_0x320e10(0x215)](/\u000A/g,''),''!=_0x320c96[_0x320e10(0x1f0)]&&''!=_0x320c96[_0x320e10(0x1d9)]){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x215),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x21a),['\x22'+_0x320c96[_0x320e10(0x1d9)]+'\x22','\x22'+_0x320c96[_0x320e10(0x1f0)]+'\x22'])});continue;}if(null!=_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x1ce)](/^ +$/)){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),_0x4542b5(_0x3ff0d4,_0x320e10(0x1fa),_0x320c96[_0x320e10(0x1f0)][_0x320e10(0x217)]))});continue;}if(null!=_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x1ce)](/^ +$/)){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),_0x4542b5(_0x3ff0d4,_0x320e10(0x1fa),_0x320c96[_0x320e10(0x1d9)][_0x320e10(0x217)]))});continue;}if(''!=_0x320c96[_0x320e10(0x1f0)]){_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),'\x22'+_0x320c96[_0x320e10(0x1f0)]+'\x22')});continue;}_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),'\x22'+_0x320c96[_0x320e10(0x1d9)]+'\x22')});continue;case _0x320e10(0x21d):case _0x320e10(0x218):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1fc),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x1f9):case _0x320e10(0x1e9):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x209),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x20f):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1d1),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1cc),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x212):_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x200),'content':_0x4542b5(_0x3ff0d4,_0x320e10(0x1ff),this[_0x320e10(0x1d3)](_0x320c96[_0x320e10(0x207)],_0x320c96[_0x320e10(0x20a)]))});continue;case _0x320e10(0x211):_0x1ee120[_0x320e10(0x1e5)](_0x320c96[_0x320e10(0x202)]);continue;case _0x320e10(0x1f1):_0x5ebd52[_0x320e10(0x1e5)](_0x320c96[_0x320e10(0x202)]);continue;default:_0x13b2dd[_0x320e10(0x1e5)](_0x320c96);}if(_0x1ee120[_0x320e10(0x217)]){const _0x355e2c=_0x1ee120[_0x320e10(0x1cd)](_0x1a188=>this[_0x320e10(0x1c2)][_0x320e10(0x1fe)](_0x1a188)?this[_0x320e10(0x1c2)][_0x320e10(0x1c4)](_0x1a188):_0x1a188)[_0x320e10(0x1da)](',\x20');_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1fb),'content':_0x4542b5(this[_0x320e10(0x1fd)],_0x320e10(0x1ca),_0x355e2c)});}if(_0x5ebd52[_0x320e10(0x217)]){const _0x5bface=_0x5ebd52[_0x320e10(0x1cd)](_0xfe0712=>this[_0x320e10(0x1c2)][_0x320e10(0x1fe)](_0xfe0712)?this[_0x320e10(0x1c2)][_0x320e10(0x1c4)](_0xfe0712):_0xfe0712)[_0x320e10(0x1da)](',\x20');_0x13b2dd[_0x320e10(0x1e5)]({'type':_0x320e10(0x1fb),'content':_0x4542b5(this[_0x320e10(0x1fd)],_0x320e10(0x1e8),_0x5bface)});}return _0x13b2dd;}[_0x45e316(0x1d4)](_0x11433a){const _0x5ae76a=_0x45e316;for(const _0x1bc612 of this[_0x5ae76a(0x1db)]){const _0x9ab9d2=_0x1bc612(_0x11433a);if(_0x9ab9d2&&_0x5ae76a(0x1d6)in _0x9ab9d2)return _0x9ab9d2;}}[_0x45e316(0x1f7)](_0x30076e,_0x59757e){const _0x5bbc5b=_0x45e316,_0x1d6910=_0x59757e[_0x5bbc5b(0x1c3)],_0x4d4e8e=void 0x0===_0x1d6910[_0x5bbc5b(0x204)]?_0x5bbc5b(0x1f1):_0x5bbc5b(0x211);_0x30076e[_0x5bbc5b(0x1e5)]({'type':_0x4d4e8e,'key':_0x1d6910[_0x5bbc5b(0x202)]});}[_0x45e316(0x1be)](_0x353ada,_0x4447ea){const _0x15db58=_0x45e316;_0x353ada[_0x15db58(0x1e5)]({'type':_0x15db58(0x1fb),'content':_0x4542b5(this[_0x15db58(0x1fd)],_0x15db58(0x206),this[_0x15db58(0x1d3)](_0x4447ea[_0x15db58(0x1c0)]()[_0x15db58(0x1c9)][_0x15db58(0x1e2)],0x1))});}[_0x45e316(0x1f8)](_0x34f7ff,_0x55ac31,_0x560926){const _0x41ff0f=_0x45e316;if(this[_0x41ff0f(0x213)](_0x34f7ff,_0x55ac31),_0x560926&&_0x560926[_0x41ff0f(0x1c0)]()&&!_0x55ac31[_0x41ff0f(0x1c0)]()[_0x41ff0f(0x1c6)][_0x41ff0f(0x1cf)](_0x560926[_0x41ff0f(0x1c0)]()[_0x41ff0f(0x1c9)])){const _0x5aa4e2=_0x34f7ff[_0x34f7ff[_0x41ff0f(0x217)]-0x1],_0xe75d5=_0x41ff0f(0x1d1)==_0x55ac31[_0x41ff0f(0x1d6)]?_0x41ff0f(0x1f0):_0x41ff0f(0x1d9);_0x5aa4e2&&_0x41ff0f(0x1ec)==_0x5aa4e2[_0x41ff0f(0x1d6)]&&(_0x5aa4e2[_0xe75d5]+='\x0a');}}}
|
|
23
|
+
const _0x556998=_0x2ced;(function(_0x5ec495,_0x22eb7a){const _0x2e5e30=_0x2ced,_0x2c84b4=_0x5ec495();while(!![]){try{const _0x37d6ce=-parseInt(_0x2e5e30(0x1ef))/0x1+parseInt(_0x2e5e30(0x1f2))/0x2+-parseInt(_0x2e5e30(0x20b))/0x3*(parseInt(_0x2e5e30(0x232))/0x4)+parseInt(_0x2e5e30(0x1f8))/0x5*(-parseInt(_0x2e5e30(0x1e9))/0x6)+parseInt(_0x2e5e30(0x1fc))/0x7+-parseInt(_0x2e5e30(0x204))/0x8*(parseInt(_0x2e5e30(0x229))/0x9)+-parseInt(_0x2e5e30(0x21a))/0xa*(-parseInt(_0x2e5e30(0x1da))/0xb);if(_0x37d6ce===_0x22eb7a)break;else _0x2c84b4['push'](_0x2c84b4['shift']());}catch(_0x5726be){_0x2c84b4['push'](_0x2c84b4['shift']());}}}(_0x26af,0x7d43c));import{getTranslation as _0x305a0e}from'./utils/common-translations.js';import{priorities as _0xefa47e,insertToPriorityArray as _0x22a1e3}from'ckeditor5/src/utils.js';function _0x26af(){const _0x7e79da=['isEqual','indexOf','ELEMENT_SPACE','set','99rCgUvC','nodeAfter','text','registerElementLabel','skip','*Split:*\x20%0','length','removeEmptyContainer','_handleAttributeSuggestionDescription','513704rJvBEa','addEmptyContainer','push','checkChild','end','*Change\x20to:*\x20%0','registerDescriptionCallback','isInContent','newValue','addObject','4444715kcCAiC','EmptyContainer','format','*Remove\x20format:*\x20%0','replace','remove','getDescriptions','removeFormat','name','getWalker','type','_schema','key','getFirstRange','_addDescriptionItems','5896914ggRzHw','deletion','data','pop','isEmpty','isObject','165810zXVSJQ','start','$text','1031986NdWGth','label','nextSibling','_itemLabelsCallbacks','normal','_locale','5wzPZSj','$1\x20$2','quantity','_handleInsertRemoveSuggestionDescription','1662787KcVScU','_resolveDescriptionItems','attribute','element','matchingCallback','elementEnd','$textProxy','_attributeLabels','622032KxwouK','_itemLabels','has','addContainer','item','insertion','Object','6gbQRwz','map','elementStart','_handleRenameSuggestionDescription','addFormat','Container','_customCallbacks','removeObject','*Remove:*\x20%0','*Insert:*\x20%0','match','getItemLabel','get','removeContainer','softBreak','50bEDGpp','join','*Set\x20format:*\x20%0','*Merge:*\x20%0','subType','_handleCustomCallbackDescription','function','REPLACE_TEXT','previousSibling','registerAttributeLabel','add'];_0x26af=function(){return _0x7e79da;};return _0x26af();}import{renameAttributeKey as _0x3ae02a}from'./trackchangesediting.js';function _0x2ced(_0x2fb888,_0x1a189e){const _0x26af32=_0x26af();return _0x2ced=function(_0x2ced08,_0x457f87){_0x2ced08=_0x2ced08-0x1da;let _0x3fb443=_0x26af32[_0x2ced08];return _0x3fb443;},_0x2ced(_0x2fb888,_0x1a189e);}export default class f{constructor(_0x2158c6,_0x37406a){const _0x3d4aec=_0x2ced;this[_0x3d4aec(0x211)]=[],this[_0x3d4aec(0x205)]=new Map(),this[_0x3d4aec(0x1f5)]=[],this[_0x3d4aec(0x203)]=new Map(),this[_0x3d4aec(0x1e5)]=_0x2158c6,this[_0x3d4aec(0x1f7)]=_0x37406a;}[_0x556998(0x1e0)](_0x58e37e){const _0x3781b0=_0x556998,_0x30041=[],_0x5f47f2=new Set(),_0x2caf93=new Set();for(let _0x3d0dc1=0x0;_0x3d0dc1<_0x58e37e[_0x3781b0(0x22f)];_0x3d0dc1++){const _0x5606f1=_0x58e37e[_0x3d0dc1];if(!_0x5606f1[_0x3781b0(0x239)])continue;const _0x26cf1b=this[_0x3781b0(0x21f)](_0x5606f1);if(_0x26cf1b){if(null!=_0x5606f1[_0x3781b0(0x21e)]){if(_0x5f47f2[_0x3781b0(0x206)](_0x5606f1[_0x3781b0(0x21e)]))continue;_0x5f47f2[_0x3781b0(0x224)](_0x5606f1[_0x3781b0(0x21e)]);}_0x30041[_0x3781b0(0x234)](_0x26cf1b);}else{if(_0x3781b0(0x1fe)!=_0x5606f1[_0x3781b0(0x1e4)])_0x3781b0(0x209)!=_0x5606f1[_0x3781b0(0x1e4)]&&_0x3781b0(0x1ea)!=_0x5606f1[_0x3781b0(0x1e4)]||this[_0x3781b0(0x1fb)](_0x30041,_0x5606f1,_0x58e37e[_0x3d0dc1+0x1]);else{const _0x197c77=_0x5606f1[_0x3781b0(0x1eb)][_0x3781b0(0x1e6)];if(_0x2caf93[_0x3781b0(0x206)](_0x197c77))continue;_0x2caf93[_0x3781b0(0x224)](_0x5606f1[_0x3781b0(0x1eb)][_0x3781b0(0x1e6)]),_0x197c77==_0x3ae02a?this[_0x3781b0(0x20e)](_0x30041,_0x5606f1):this[_0x3781b0(0x231)](_0x30041,_0x5606f1);}}}return this[_0x3781b0(0x1fd)](_0x30041);}[_0x556998(0x238)](_0x3e1661){const _0x437c80=_0x556998;this[_0x437c80(0x211)][_0x437c80(0x234)](_0x3e1661);}[_0x556998(0x22c)](_0x43c746,_0x1d5351,_0x482f64=_0xefa47e[_0x556998(0x1f6)]){const _0x5e9bad=_0x556998;_0x5e9bad(0x220)==typeof _0x43c746?_0x22a1e3(this[_0x5e9bad(0x1f5)],{'matchingCallback':_0x43c746,'label':_0x1d5351,'priority':_0x482f64}):this[_0x5e9bad(0x205)][_0x5e9bad(0x228)](_0x43c746,_0x1d5351);}[_0x556998(0x223)](_0x59c072,_0xfda27c){const _0x1bbff1=_0x556998;this[_0x1bbff1(0x203)][_0x1bbff1(0x228)](_0x59c072,_0xfda27c);}[_0x556998(0x216)](_0x3141d1,_0x12edaf=0x1){const _0x25fd5e=_0x556998;let _0x5d8b5e;for(const _0x4d83c2 of this[_0x25fd5e(0x1f5)])if(_0x4d83c2[_0x25fd5e(0x200)](_0x3141d1)){_0x5d8b5e=_0x4d83c2[_0x25fd5e(0x1f3)];break;}return _0x5d8b5e||(_0x5d8b5e=this[_0x25fd5e(0x205)][_0x25fd5e(0x217)](_0x3141d1[_0x25fd5e(0x1e2)])),_0x5d8b5e?_0x5d8b5e(_0x12edaf):0x1!==_0x12edaf?_0x12edaf+'\x20'+_0x3141d1[_0x25fd5e(0x1e2)]+'s':''+_0x3141d1[_0x25fd5e(0x1e2)];}[_0x556998(0x1e8)](_0x3c3b71,_0x3df9e8){const _0x1e6cc7=_0x556998,_0x24ec01=_0x3df9e8[_0x1e6cc7(0x1e7)]()[_0x1e6cc7(0x1e3)](),_0x599687=_0x1e6cc7(0x209)==_0x3df9e8[_0x1e6cc7(0x1e4)]?_0x1e6cc7(0x224):_0x1e6cc7(0x1df);for(const _0x1df9cc of _0x24ec01){const _0x207fcf=_0x1df9cc[_0x1e6cc7(0x208)],_0x542ef9=_0x3c3b71[_0x3c3b71[_0x1e6cc7(0x22f)]-0x1];if(_0x207fcf['is'](_0x1e6cc7(0x202)))_0x542ef9&&_0x542ef9[_0x1e6cc7(0x1e4)][_0x1e6cc7(0x226)](_0x1e6cc7(0x210))>-0x1&&_0x3c3b71[_0x1e6cc7(0x1ec)](),_0x542ef9&&_0x1e6cc7(0x22b)==_0x542ef9[_0x1e6cc7(0x1e4)]?_0x542ef9[_0x599687]+=_0x207fcf[_0x1e6cc7(0x1eb)]:_0x3c3b71[_0x1e6cc7(0x234)]({'type':_0x1e6cc7(0x22b),'add':_0x1e6cc7(0x224)==_0x599687?_0x207fcf[_0x1e6cc7(0x1eb)]:'','remove':_0x1e6cc7(0x1df)==_0x599687?_0x207fcf[_0x1e6cc7(0x1eb)]:''});else{if(this[_0x1e6cc7(0x1e5)][_0x1e6cc7(0x1ee)](_0x207fcf)){const _0x25f8d1=_0x207fcf;if(_0x542ef9&&_0x542ef9[_0x1e6cc7(0x1e4)][_0x1e6cc7(0x226)](_0x1e6cc7(0x210))>-0x1&&_0x3c3b71[_0x1e6cc7(0x1ec)](),_0x1e6cc7(0x201)==_0x1df9cc[_0x1e6cc7(0x1e4)])continue;_0x542ef9&&_0x542ef9[_0x1e6cc7(0x1e4)]==_0x599687+_0x1e6cc7(0x20a)&&_0x542ef9[_0x1e6cc7(0x1ff)][_0x1e6cc7(0x1e2)]==_0x25f8d1[_0x1e6cc7(0x1e2)]?_0x542ef9[_0x1e6cc7(0x1fa)]++:_0x3c3b71[_0x1e6cc7(0x234)]({'type':_0x599687+_0x1e6cc7(0x20a),'element':_0x25f8d1,'quantity':0x1}),_0x24ec01[_0x1e6cc7(0x22d)](_0x3dd122=>!(_0x1e6cc7(0x201)==_0x3dd122[_0x1e6cc7(0x1e4)]&&_0x3dd122[_0x1e6cc7(0x208)]==_0x207fcf));}else{if(this[_0x1e6cc7(0x1e5)][_0x1e6cc7(0x235)](_0x207fcf,_0x1e6cc7(0x1f1))||_0x207fcf['is'](_0x1e6cc7(0x1ff),_0x1e6cc7(0x219))){const _0x1c24f9=_0x207fcf;if(_0x1e6cc7(0x224)==_0x599687&&_0x1e6cc7(0x20d)==_0x1df9cc[_0x1e6cc7(0x1e4)]||_0x1e6cc7(0x1df)==_0x599687&&_0x1e6cc7(0x201)==_0x1df9cc[_0x1e6cc7(0x1e4)])continue;if(_0x542ef9&&-0x1==_0x542ef9[_0x1e6cc7(0x1e4)][_0x1e6cc7(0x226)](_0x1e6cc7(0x210))){_0x1e6cc7(0x22b)==_0x542ef9[_0x1e6cc7(0x1e4)]&&(_0x542ef9[_0x599687]+='\x0a');continue;}let _0x351af5;if(_0x351af5=_0x1e6cc7(0x224)==_0x599687?_0x1c24f9[_0x1e6cc7(0x1f4)]&&!this[_0x1e6cc7(0x1e5)][_0x1e6cc7(0x1ee)](_0x1c24f9[_0x1e6cc7(0x1f4)])?_0x1c24f9[_0x1e6cc7(0x1f4)]:null:_0x1c24f9[_0x1e6cc7(0x222)]&&!this[_0x1e6cc7(0x1e5)][_0x1e6cc7(0x1ee)](_0x1c24f9[_0x1e6cc7(0x222)])?_0x1c24f9[_0x1e6cc7(0x222)]:null,_0x1c24f9[_0x1e6cc7(0x1ed)]||_0x351af5&&_0x351af5[_0x1e6cc7(0x1ed)]){const _0x5198f7=_0x351af5&&_0x351af5[_0x1e6cc7(0x1ed)]?_0x351af5:_0x1c24f9;_0x542ef9&&_0x542ef9[_0x1e6cc7(0x1e4)]==_0x599687+_0x1e6cc7(0x1db)&&_0x542ef9[_0x1e6cc7(0x1ff)][_0x1e6cc7(0x1e2)]==_0x5198f7[_0x1e6cc7(0x1e2)]?_0x542ef9[_0x1e6cc7(0x1fa)]++:_0x3c3b71[_0x1e6cc7(0x234)]({'type':_0x599687+_0x1e6cc7(0x1db),'element':_0x5198f7,'quantity':0x1});}else _0x3c3b71[_0x1e6cc7(0x234)]({'type':_0x599687+_0x1e6cc7(0x210),'element':_0x1c24f9});}}}}}[_0x556998(0x1fd)](_0x25eb3c){const _0x5eb39d=_0x556998,_0x3c9c0b=this[_0x5eb39d(0x1f7)],_0x2fe21d=[],_0x56b4c1=[],_0x54b601=[];for(const _0x3ee192 of _0x25eb3c)switch(_0x3ee192[_0x5eb39d(0x1e4)]){case _0x5eb39d(0x22b):if(_0x3ee192[_0x5eb39d(0x224)]=_0x3ee192[_0x5eb39d(0x224)][_0x5eb39d(0x1de)](/(\S)\u000A+(\S)/g,_0x5eb39d(0x1f9))[_0x5eb39d(0x1de)](/\u000A/g,''),_0x3ee192[_0x5eb39d(0x1df)]=_0x3ee192[_0x5eb39d(0x1df)][_0x5eb39d(0x1de)](/(\S)\u000A+(\S)/g,_0x5eb39d(0x1f9))[_0x5eb39d(0x1de)](/\u000A/g,''),''!=_0x3ee192[_0x5eb39d(0x224)]&&''!=_0x3ee192[_0x5eb39d(0x1df)]){_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1de),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x221),['\x22'+_0x3ee192[_0x5eb39d(0x1df)]+'\x22','\x22'+_0x3ee192[_0x5eb39d(0x224)]+'\x22'])});continue;}if(null!=_0x3ee192[_0x5eb39d(0x224)][_0x5eb39d(0x215)](/^ +$/)){_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x209),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x214),_0x305a0e(_0x3c9c0b,_0x5eb39d(0x227),_0x3ee192[_0x5eb39d(0x224)][_0x5eb39d(0x22f)]))});continue;}if(null!=_0x3ee192[_0x5eb39d(0x1df)][_0x5eb39d(0x215)](/^ +$/)){_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1ea),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x213),_0x305a0e(_0x3c9c0b,_0x5eb39d(0x227),_0x3ee192[_0x5eb39d(0x1df)][_0x5eb39d(0x22f)]))});continue;}if(''!=_0x3ee192[_0x5eb39d(0x224)]){_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x209),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x214),'\x22'+_0x3ee192[_0x5eb39d(0x224)]+'\x22')});continue;}_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1ea),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x213),'\x22'+_0x3ee192[_0x5eb39d(0x1df)]+'\x22')});continue;case _0x5eb39d(0x233):case _0x5eb39d(0x23b):_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x209),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x214),this[_0x5eb39d(0x216)](_0x3ee192[_0x5eb39d(0x1ff)],_0x3ee192[_0x5eb39d(0x1fa)]))});continue;case _0x5eb39d(0x230):case _0x5eb39d(0x212):_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1ea),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x213),this[_0x5eb39d(0x216)](_0x3ee192[_0x5eb39d(0x1ff)],_0x3ee192[_0x5eb39d(0x1fa)]))});continue;case _0x5eb39d(0x207):_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x209),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x22e),this[_0x5eb39d(0x216)](_0x3ee192[_0x5eb39d(0x1ff)],_0x3ee192[_0x5eb39d(0x1fa)]))});continue;case _0x5eb39d(0x218):_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1ea),'content':_0x305a0e(_0x3c9c0b,_0x5eb39d(0x21d),this[_0x5eb39d(0x216)](_0x3ee192[_0x5eb39d(0x1ff)],_0x3ee192[_0x5eb39d(0x1fa)]))});continue;case _0x5eb39d(0x20f):_0x56b4c1[_0x5eb39d(0x234)](_0x3ee192[_0x5eb39d(0x1e6)]);continue;case _0x5eb39d(0x1e1):_0x54b601[_0x5eb39d(0x234)](_0x3ee192[_0x5eb39d(0x1e6)]);continue;default:_0x2fe21d[_0x5eb39d(0x234)](_0x3ee192);}if(_0x56b4c1[_0x5eb39d(0x22f)]){const _0x5b7554=_0x56b4c1[_0x5eb39d(0x20c)](_0x39dc91=>this[_0x5eb39d(0x203)][_0x5eb39d(0x206)](_0x39dc91)?this[_0x5eb39d(0x203)][_0x5eb39d(0x217)](_0x39dc91):_0x39dc91)[_0x5eb39d(0x21b)](',\x20');_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1dc),'content':_0x305a0e(this[_0x5eb39d(0x1f7)],_0x5eb39d(0x21c),_0x5b7554)});}if(_0x54b601[_0x5eb39d(0x22f)]){const _0x14bb7e=_0x54b601[_0x5eb39d(0x20c)](_0x1d8427=>this[_0x5eb39d(0x203)][_0x5eb39d(0x206)](_0x1d8427)?this[_0x5eb39d(0x203)][_0x5eb39d(0x217)](_0x1d8427):_0x1d8427)[_0x5eb39d(0x21b)](',\x20');_0x2fe21d[_0x5eb39d(0x234)]({'type':_0x5eb39d(0x1dc),'content':_0x305a0e(this[_0x5eb39d(0x1f7)],_0x5eb39d(0x1dd),_0x14bb7e)});}return _0x2fe21d;}[_0x556998(0x21f)](_0x57f6c7){const _0x45ca8d=_0x556998;for(const _0x2bcd47 of this[_0x45ca8d(0x211)]){const _0x5d704c=_0x2bcd47(_0x57f6c7);if(_0x5d704c&&_0x45ca8d(0x1e4)in _0x5d704c)return _0x5d704c;}}[_0x556998(0x231)](_0x181a1b,_0x498ad){const _0x296307=_0x556998,_0x4c3da4=_0x498ad[_0x296307(0x1eb)],_0x4c90cd=void 0x0===_0x4c3da4[_0x296307(0x23a)]?_0x296307(0x1e1):_0x296307(0x20f);_0x181a1b[_0x296307(0x234)]({'type':_0x4c90cd,'key':_0x4c3da4[_0x296307(0x1e6)]});}[_0x556998(0x20e)](_0x2eafde,_0x9aa7f5){const _0x26bcf6=_0x556998;_0x2eafde[_0x26bcf6(0x234)]({'type':_0x26bcf6(0x1dc),'content':_0x305a0e(this[_0x26bcf6(0x1f7)],_0x26bcf6(0x237),this[_0x26bcf6(0x216)](_0x9aa7f5[_0x26bcf6(0x1e7)]()[_0x26bcf6(0x1f0)][_0x26bcf6(0x22a)],0x1))});}[_0x556998(0x1fb)](_0x25b359,_0x414fca,_0x230a4a){const _0x5584cc=_0x556998;if(this[_0x5584cc(0x1e8)](_0x25b359,_0x414fca),_0x230a4a&&_0x230a4a[_0x5584cc(0x1e7)]()&&!_0x414fca[_0x5584cc(0x1e7)]()[_0x5584cc(0x236)][_0x5584cc(0x225)](_0x230a4a[_0x5584cc(0x1e7)]()[_0x5584cc(0x1f0)])){const _0x44e096=_0x25b359[_0x25b359[_0x5584cc(0x22f)]-0x1],_0x49146e=_0x5584cc(0x209)==_0x414fca[_0x5584cc(0x1e4)]?_0x5584cc(0x224):_0x5584cc(0x1df);_0x44e096&&_0x5584cc(0x22b)==_0x44e096[_0x5584cc(0x1e4)]&&(_0x44e096[_0x49146e]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b71e2=_0x28c2;(function(_0x33a6f4,_0x174d99){var _0x3e5ef2=_0x28c2,_0x2452b8=_0x33a6f4();while(!![]){try{var _0x25cc10=parseInt(_0x3e5ef2(0x10c))/0x1*(-parseInt(_0x3e5ef2(0x108))/0x2)+parseInt(_0x3e5ef2(0xf9))/0x3*(parseInt(_0x3e5ef2(0x100))/0x4)+parseInt(_0x3e5ef2(0x10a))/0x5+-parseInt(_0x3e5ef2(0xfc))/0x6*(parseInt(_0x3e5ef2(0x107))/0x7)+-parseInt(_0x3e5ef2(0x102))/0x8*(-parseInt(_0x3e5ef2(0x104))/0x9)+parseInt(_0x3e5ef2(0x110))/0xa+-parseInt(_0x3e5ef2(0x10f))/0xb*(parseInt(_0x3e5ef2(0x10e))/0xc);if(_0x25cc10===_0x174d99)break;else _0x2452b8['push'](_0x2452b8['shift']());}catch(_0x537c01){_0x2452b8['push'](_0x2452b8['shift']());}}}(_0x24b9,0x714f2));import{Plugin as _0x35fb2d}from'ckeditor5/src/core.js';import _0x298ae2 from'./trackchangesui.js';import _0x5916bc from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x28c2(_0x3bc40e,_0x2d5360){var _0x24b92b=_0x24b9();return _0x28c2=function(_0x28c246,_0x3a2596){_0x28c246=_0x28c246-0xf9;var _0x30dae3=_0x24b92b[_0x28c246];return _0x30dae3;},_0x28c2(_0x3bc40e,_0x2d5360);}export default class k extends _0x35fb2d{static get[_0x5b71e2(0x103)](){var _0x406a09=_0x5b71e2;return[_0x5916bc,_0x298ae2,_0x406a09(0x105)];}static get[_0x5b71e2(0xfa)](){var _0x1f76d2=_0x5b71e2;return _0x1f76d2(0x10d);}set[_0x5b71e2(0x106)](_0x55f23a){var _0x27ba7f=_0x5b71e2;this[_0x27ba7f(0xfd)][_0x27ba7f(0xfb)][_0x27ba7f(0xfe)](_0x5916bc)[_0x27ba7f(0x106)]=_0x55f23a;}get[_0x5b71e2(0x106)](){var _0x7bafaf=_0x5b71e2;return this[_0x7bafaf(0xfd)][_0x7bafaf(0xfb)][_0x7bafaf(0xfe)](_0x5916bc)[_0x7bafaf(0x106)];}[_0x5b71e2(0x10b)](_0x23f1a8){var _0x503039=_0x5b71e2;return this[_0x503039(0xfd)][_0x503039(0xfb)][_0x503039(0xfe)](_0x5916bc)[_0x503039(0x101)](_0x23f1a8);}[_0x5b71e2(0x109)]({skipNotAttached:_0x2f45ef=!0x1,toJSON:_0x442333=!0x1}={}){var _0x57120b=_0x5b71e2;return this[_0x57120b(0xfd)][_0x57120b(0xfb)][_0x57120b(0xfe)](_0x5916bc)[_0x57120b(0x109)]({'skipNotAttached':_0x2f45ef,'toJSON':_0x442333});}[_0x5b71e2(0xff)](_0x276161){var _0x423ee8=_0x5b71e2;return this[_0x423ee8(0xfd)][_0x423ee8(0xfb)][_0x423ee8(0xfe)](_0x5916bc)[_0x423ee8(0xff)](_0x276161);}}function _0x24b9(){var _0x15f79f=['522738Zfwtzb','editor','get','getSuggestion','1296732aDYxIW','addSuggestionData','1824wMtKJU','requires','34866NuQuwB','Comments','adapter','14LIVWkj','120DkaZrr','getSuggestions','1636360RiTzqR','addSuggestion','7555qGgIry','TrackChanges','28932SgiHZe','2046ciBrxE','53790wmAIxZ','3SMEZfh','pluginName','plugins'];_0x24b9=function(){return _0x15f79f;};return _0x24b9();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42813d=_0x1580;(function(_0x2ac93b,_0x31109d){const _0x56e4ca=_0x1580,_0x18111c=_0x2ac93b();while(!![]){try{const _0x4c0a72=-parseInt(_0x56e4ca(0x74))/0x1+parseInt(_0x56e4ca(0x9d))/0x2+-parseInt(_0x56e4ca(0x9a))/0x3*(-parseInt(_0x56e4ca(0xa7))/0x4)+-parseInt(_0x56e4ca(0x7b))/0x5+parseInt(_0x56e4ca(0x77))/0x6*(parseInt(_0x56e4ca(0x89))/0x7)+parseInt(_0x56e4ca(0x7c))/0x8*(-parseInt(_0x56e4ca(0x9b))/0x9)+parseInt(_0x56e4ca(0x8c))/0xa;if(_0x4c0a72===_0x31109d)break;else _0x18111c['push'](_0x18111c['shift']());}catch(_0x1987b7){_0x18111c['push'](_0x18111c['shift']());}}}(_0x5074,0x4775d));import{Plugin as _0x438d10}from'ckeditor5/src/core.js';import{CKEditorError as _0x14ce79}from'ckeditor5/src/utils.js';import _0x52c8c3 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x31062f}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x42813d(0x82)];export default class P extends _0x438d10{static get[_0x42813d(0xa4)](){return[_0x52c8c3];}static get[_0x42813d(0x99)](){const _0x4e119b=_0x42813d;return _0x4e119b(0x75);}[_0x42813d(0x96)](){const _0x344800=_0x42813d,_0x2bb515=this[_0x344800(0xaa)];if(_0x2bb515[_0x344800(0xa0)][_0x344800(0xa9)](_0x344800(0x80),_0x3c18a2=>{const _0x5acca1=_0x344800,_0x1d76ce=_0x2bb515[_0x5acca1(0x95)][_0x5acca1(0x97)][_0x5acca1(0x92)]()[_0x5acca1(0x83)]((_0x46c87e,_0x29d75a)=>(_0x46c87e[_0x29d75a]='',_0x46c87e),{});return _0x2bb515[_0x5acca1(0x81)][_0x5acca1(0x76)](_0x1d76ce,_0x3c18a2);}),_0x344800(0xad)!=typeof _0x2bb515[_0x344800(0xa0)][_0x344800(0xab)](_0x344800(0x8d))[_0x344800(0x90)])throw new _0x14ce79(_0x344800(0x85));}[_0x42813d(0xa5)](_0x527e97){const _0x49b1a3=_0x42813d;return N(this[_0x49b1a3(0xaa)],!0x0,_0x527e97);}[_0x42813d(0x72)](_0x2421f3){const _0x4c36ee=_0x42813d;return N(this[_0x4c36ee(0xaa)],!0x1,_0x2421f3);}}class D extends _0x438d10{static get[_0x42813d(0x99)](){const _0x2eed22=_0x42813d;return _0x2eed22(0x9c);}constructor(_0x3dccef){const _0x5f0c34=_0x42813d;super(_0x3dccef),this[_0x5f0c34(0x9f)]=_0x5f0c34(0x8f);}[_0x42813d(0x96)](){const _0x9b13f6=_0x42813d;this[_0x9b13f6(0xaa)][_0x9b13f6(0x79)][_0x9b13f6(0xab)](_0x9b13f6(0x93))[_0x9b13f6(0x7e)]={'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[_0x9b13f6(0xaa)][_0x9b13f6(0x79)][_0x9b13f6(0xab)](_0x9b13f6(0x7f))[_0x9b13f6(0x7e)]=null;}}function v(_0x31c5b8){const _0x1fd7f4=_0x42813d;return void 0x0!==_0x31c5b8[_0x1fd7f4(0x9e)];}function _0x1580(_0x1e0bac,_0x5d1c47){const _0x5074e5=_0x5074();return _0x1580=function(_0x158083,_0xc22f14){_0x158083=_0x158083-0x71;let _0x38d8de=_0x5074e5[_0x158083];return _0x38d8de;},_0x1580(_0x1e0bac,_0x5d1c47);}function _0x5074(){const _0x320345=['init','document','acceptAllSuggestions','pluginName','135RxTMcB','9036wPDMFp','TrackChangesDataGetter','195864VQrZQf','getRootsAttributes','result','config','getSuggestions','data','appendChild','requires','getDataWithAcceptedSuggestions','div','20236XcDzWf','discardAllSuggestions','define','editor','get','destroy','function','push','createElement','getDataWithDiscardedSuggestions','set','69903nliKCv','TrackChangesData','create','276594mqFmNk','getUser','plugins','getFullData','632535ktxjlO','1056kaNEEx','createDocumentFragment','_adapter','TrackChangesEditing','trackChangesData.editorCreator','constructor','Pagination','reduce','name','track-changes-data-invalid-editor-creator','execute','addSuggestionData','users','14wMRFIl','map','rootsAttributes','2038540EPbzgj','trackChangesData','useAnonymousUser','end','editorCreator','addUser','getRootNames','CommentsRepository','Users','model'];_0x5074=function(){return _0x320345;};return _0x5074();}async function N(_0x2d4911,_0x442024,_0x5c1d40){const _0x3b070c=_0x42813d,_0x20cbd0=_0x31062f(_0x2d4911,T);_0x20cbd0[_0x3b070c(0x79)][_0x3b070c(0xae)](_0x52c8c3,D),_0x20cbd0[_0x3b070c(0x8b)]=v(_0x2d4911)?_0x2d4911[_0x3b070c(0x9e)]():void 0x0;const _0x2603f7=document[_0x3b070c(0x7d)](),_0x42dcf8=_0x2d4911[_0x3b070c(0xa0)][_0x3b070c(0xab)](_0x3b070c(0x8d))[_0x3b070c(0x90)],_0x39284a=await _0x42dcf8(_0x20cbd0,()=>function(_0x4ebbf2){const _0x507700=_0x3b070c,_0xa38569=document[_0x507700(0x71)](_0x507700(0xa6));return _0x4ebbf2[_0x507700(0xa3)](_0xa38569),_0xa38569;}(_0x2603f7));!function(_0x1225f1,_0x170e85){const _0x1da68f=_0x3b070c,_0xdbc5ce=_0x1225f1[_0x1da68f(0x95)][_0x1da68f(0x97)][_0x1da68f(0x92)]()[_0x1da68f(0x83)]((_0x171ea7,_0x242277)=>(_0x171ea7[_0x242277]=_0x1225f1[_0x1da68f(0xa2)][_0x1da68f(0xab)]({'rootName':_0x242277}),_0x171ea7),{}),_0x3ad359=_0x1225f1[_0x1da68f(0x79)][_0x1da68f(0xab)](_0x1da68f(0x94))[_0x1da68f(0x88)][_0x1da68f(0x8a)](_0x359d63=>({'id':_0x359d63['id'],'name':_0x359d63[_0x1da68f(0x84)]})),_0x3c9d0e=_0x1225f1[_0x1da68f(0x79)][_0x1da68f(0xab)](_0x1da68f(0x7f))[_0x1da68f(0xa1)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x29bb48=_0x170e85[_0x1da68f(0x79)][_0x1da68f(0xab)](_0x1da68f(0x94)),_0x8c1a3c=_0x170e85[_0x1da68f(0x79)][_0x1da68f(0xab)](_0x1da68f(0x7f));for(const _0x1ad41b of _0x3ad359)_0x29bb48[_0x1da68f(0x78)](_0x1ad41b['id'])||_0x29bb48[_0x1da68f(0x91)](_0x1ad41b);_0x29bb48['me']||_0x29bb48[_0x1da68f(0x8e)]();for(const _0x2017e1 of _0x3c9d0e)_0x8c1a3c[_0x1da68f(0x87)](_0x2017e1);_0x170e85[_0x1da68f(0xa2)][_0x1da68f(0x73)](_0xdbc5ce);}(_0x2d4911,_0x39284a),_0x39284a[_0x3b070c(0x86)](_0x442024?_0x3b070c(0x98):_0x3b070c(0xa8));const _0x4e5b86=v(_0x39284a)?_0x39284a[_0x3b070c(0x7a)](_0x5c1d40):_0x39284a[_0x3b070c(0xa2)][_0x3b070c(0xab)](_0x5c1d40);return await _0x39284a[_0x3b070c(0xac)](),_0x4e5b86;}
|