@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240311.0 → 0.0.0-nightly-20240313.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
|
-
const
|
|
23
|
+
const _0x537a99=_0x5766;function _0x3e98(){const _0x19b022=['1252qTQPBB','enableCommand','4195umhHWe','326390rXBJTk','TrackChangesEditing','177168kfImzg','4545240uakSuu','162hiXkeV','plugins','insertTemplate','has','editor','Template','162504xwxKoq','get','616txrYSU','593881rqjvxU','275gmDzoC','45138KAbDRs','afterInit','12Asfxnh'];_0x3e98=function(){return _0x19b022;};return _0x3e98();}(function(_0xd93137,_0x1dc000){const _0x1c7eb1=_0x5766,_0x4fb419=_0xd93137();while(!![]){try{const _0xcc3213=parseInt(_0x1c7eb1(0x12c))/0x1+parseInt(_0x1c7eb1(0x130))/0x2*(parseInt(_0x1c7eb1(0x129))/0x3)+-parseInt(_0x1c7eb1(0x131))/0x4*(parseInt(_0x1c7eb1(0x133))/0x5)+-parseInt(_0x1c7eb1(0x12e))/0x6*(-parseInt(_0x1c7eb1(0x12b))/0x7)+-parseInt(_0x1c7eb1(0x136))/0x8*(parseInt(_0x1c7eb1(0x138))/0x9)+-parseInt(_0x1c7eb1(0x134))/0xa*(parseInt(_0x1c7eb1(0x12d))/0xb)+parseInt(_0x1c7eb1(0x137))/0xc;if(_0xcc3213===_0x1dc000)break;else _0x4fb419['push'](_0x4fb419['shift']());}catch(_0x42253f){_0x4fb419['push'](_0x4fb419['shift']());}}}(_0x3e98,0x75ca9));function _0x5766(_0x9ddea1,_0x3ea99f){const _0x3e984d=_0x3e98();return _0x5766=function(_0x5766f4,_0xab9e79){_0x5766f4=_0x5766f4-0x127;let _0x39db25=_0x3e984d[_0x5766f4];return _0x39db25;},_0x5766(_0x9ddea1,_0x3ea99f);}import{Plugin as _0x4e1767}from'ckeditor5/src/core.js';export default class vt extends _0x4e1767{[_0x537a99(0x12f)](){const _0x3c5e49=_0x537a99,_0x2e76aa=this[_0x3c5e49(0x127)];_0x2e76aa[_0x3c5e49(0x139)][_0x3c5e49(0x13b)](_0x3c5e49(0x128))&&_0x2e76aa[_0x3c5e49(0x139)][_0x3c5e49(0x12a)](_0x3c5e49(0x135))[_0x3c5e49(0x132)](_0x3c5e49(0x13a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x20ce(_0x82b440,_0x2cf005){const _0x203f89=_0x203f();return _0x20ce=function(_0x20ced6,_0x229fb8){_0x20ced6=_0x20ced6-0x1b2;let _0xbc62de=_0x203f89[_0x20ced6];return _0xbc62de;},_0x20ce(_0x82b440,_0x2cf005);}const _0x1938ec=_0x20ce;(function(_0x53dd09,_0x4e9138){const _0x2f151b=_0x20ce,_0x3d7af7=_0x53dd09();while(!![]){try{const _0x316928=-parseInt(_0x2f151b(0x1b3))/0x1+parseInt(_0x2f151b(0x1db))/0x2*(-parseInt(_0x2f151b(0x1cd))/0x3)+parseInt(_0x2f151b(0x1c6))/0x4*(-parseInt(_0x2f151b(0x1d3))/0x5)+parseInt(_0x2f151b(0x1bb))/0x6+parseInt(_0x2f151b(0x1c7))/0x7*(-parseInt(_0x2f151b(0x1c4))/0x8)+parseInt(_0x2f151b(0x1cf))/0x9*(parseInt(_0x2f151b(0x1be))/0xa)+-parseInt(_0x2f151b(0x1c9))/0xb*(-parseInt(_0x2f151b(0x1d2))/0xc);if(_0x316928===_0x4e9138)break;else _0x3d7af7['push'](_0x3d7af7['shift']());}catch(_0x44b45f){_0x3d7af7['push'](_0x3d7af7['shift']());}}}(_0x203f,0xc40cd));import{Plugin as _0x4bf57f}from'ckeditor5/src/core.js';import{getTranslation as _0x7f22d9}from'../utils/common-translations.js';function _0x203f(){const _0x352c59=['getChangedMarkers','nodeBefore','end','title-content','newRange','2bCftud','differ','isEqual','schema','has','ELEMENT_TITLE','572976VEHeOp','suggestion','from','registerPostFixer','isCollapsed','registerElementLabel','get','document','630444sWMwCE','afterInit','_splitMarkerName','370ZETlmC','forward','getNearestSelectionRange','isTouching','model','editor','136jlFwaK','locale','956cjWkbL','14903nccRIM','createRange','15796mAmctv','Title','start','removeMarker','702441vAPewV','TrackChangesEditing','259137SdPHtw','updateMarker','element','16212AnwSYP','30630crTmIu','plugins','_descriptionFactory'];_0x203f=function(){return _0x352c59;};return _0x203f();}export default class Ct extends _0x4bf57f{[_0x1938ec(0x1bc)](){const _0x2e1701=_0x1938ec,_0x403306=this[_0x2e1701(0x1c3)];if(!_0x403306[_0x2e1701(0x1d4)][_0x2e1701(0x1df)](_0x2e1701(0x1ca)))return;const _0x2bb19c=_0x403306[_0x2e1701(0x1d4)][_0x2e1701(0x1b9)](_0x2e1701(0x1ce));_0x2bb19c[_0x2e1701(0x1d5)][_0x2e1701(0x1b8)](_0x2e1701(0x1d9),()=>_0x7f22d9(_0x403306[_0x2e1701(0x1c5)],_0x2e1701(0x1b2))),_0x403306[_0x2e1701(0x1c2)][_0x2e1701(0x1ba)][_0x2e1701(0x1b6)](_0x490e14=>{const _0x465df7=_0x2e1701;let _0x58ae7a=!0x1;const _0x9cfaa0=Array[_0x465df7(0x1b5)](_0x403306[_0x465df7(0x1c2)][_0x465df7(0x1ba)][_0x465df7(0x1dc)][_0x465df7(0x1d6)]());for(const {name:_0x97511b,data:_0x5c2b7a}of _0x9cfaa0){const {group:_0x5b49d3}=_0x2bb19c[_0x465df7(0x1bd)](_0x97511b);if(_0x465df7(0x1b4)!==_0x5b49d3||!_0x5c2b7a[_0x465df7(0x1da)])continue;const _0x3c0da9=_0x5c2b7a[_0x465df7(0x1da)],_0x155efd=_0x3c0da9[_0x465df7(0x1d8)][_0x465df7(0x1d7)];if(!_0x155efd||!_0x155efd['is'](_0x465df7(0x1d1),_0x465df7(0x1d9)))continue;if(!_0x3c0da9[_0x465df7(0x1cb)][_0x465df7(0x1c1)](_0x3c0da9[_0x465df7(0x1d8)]))continue;const _0x5f00c9=_0x403306[_0x465df7(0x1c2)][_0x465df7(0x1de)][_0x465df7(0x1c0)](_0x3c0da9[_0x465df7(0x1d8)],_0x465df7(0x1bf));if(_0x5f00c9&&_0x5f00c9[_0x465df7(0x1b7)]){const _0x42f40f=_0x490e14[_0x465df7(0x1c8)](_0x3c0da9[_0x465df7(0x1cb)],_0x5f00c9[_0x465df7(0x1cb)]);_0x42f40f[_0x465df7(0x1dd)](_0x3c0da9)||(_0x490e14[_0x465df7(0x1d0)](_0x97511b,{'range':_0x42f40f}),_0x58ae7a=!0x0);}_0x58ae7a||(_0x490e14[_0x465df7(0x1cc)](_0x97511b),_0x58ae7a=!0x0);}return _0x58ae7a;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e8329=_0x21f6;(function(_0x5ee866,_0x3027c9){const _0x563672=_0x21f6,_0xf381c4=_0x5ee866();while(!![]){try{const _0x30de7e=parseInt(_0x563672(0xa9))/0x1*(-parseInt(_0x563672(0xb4))/0x2)+-parseInt(_0x563672(0xac))/0x3*(-parseInt(_0x563672(0xae))/0x4)+parseInt(_0x563672(0xaa))/0x5*(-parseInt(_0x563672(0xb1))/0x6)+-parseInt(_0x563672(0xad))/0x7*(parseInt(_0x563672(0xa3))/0x8)+parseInt(_0x563672(0xb3))/0x9+-parseInt(_0x563672(0xa6))/0xa+parseInt(_0x563672(0xaf))/0xb;if(_0x30de7e===_0x3027c9)break;else _0xf381c4['push'](_0xf381c4['shift']());}catch(_0x3f413a){_0xf381c4['push'](_0xf381c4['shift']());}}}(_0x508a,0x93a66));import{Plugin as _0x2afd4b}from'ckeditor5/src/core.js';export default class Dt extends _0x2afd4b{[_0x3e8329(0xb2)](){const _0x313365=_0x3e8329,_0x198dcc=this[_0x313365(0xb5)],_0x234664=_0x198dcc[_0x313365(0xb0)][_0x313365(0xa5)](_0x313365(0xa2));_0x198dcc[_0x313365(0xb0)][_0x313365(0xa8)](_0x313365(0xab))&&(_0x234664[_0x313365(0xa4)](_0x313365(0xa1)),_0x234664[_0x313365(0xa4)](_0x313365(0xa7)));}}function _0x21f6(_0x157883,_0xe9f424){const _0x508a0a=_0x508a();return _0x21f6=function(_0x21f6c0,_0xb635a5){_0x21f6c0=_0x21f6c0-0xa1;let _0x28c93d=_0x508a0a[_0x21f6c0];return _0x28c93d;},_0x21f6(_0x157883,_0xe9f424);}function _0x508a(){const _0x21f75a=['editor','undo','TrackChangesEditing','641352gWlNpg','enableCommand','get','2121640TnEoAE','redo','has','291388qbfrrj','1977295lNyUbM','UndoEditing','1704099jVrvAM','21JVbGoj','4GvZITl','11340703EaRGYh','plugins','6Kvlaef','afterInit','3930066eLnDCF','4juneid'];_0x508a=function(){return _0x21f75a;};return _0x508a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3bdc(_0x5a262a,_0xbcdd4d){const _0x4751d4=_0x4751();return _0x3bdc=function(_0x3bdcaf,_0x5e4bdf){_0x3bdcaf=_0x3bdcaf-0x1a3;let _0x4ca91c=_0x4751d4[_0x3bdcaf];return _0x4ca91c;},_0x3bdc(_0x5a262a,_0xbcdd4d);}(function(_0x44c7cf,_0x346f8d){const _0x667de9=_0x3bdc,_0x4a0e04=_0x44c7cf();while(!![]){try{const _0x56c0e7=-parseInt(_0x667de9(0x1a5))/0x1*(parseInt(_0x667de9(0x1ab))/0x2)+-parseInt(_0x667de9(0x1da))/0x3*(-parseInt(_0x667de9(0x1c2))/0x4)+parseInt(_0x667de9(0x1c7))/0x5+parseInt(_0x667de9(0x1b4))/0x6*(-parseInt(_0x667de9(0x1c4))/0x7)+-parseInt(_0x667de9(0x1c3))/0x8+parseInt(_0x667de9(0x1d9))/0x9+parseInt(_0x667de9(0x1c9))/0xa*(parseInt(_0x667de9(0x1b6))/0xb);if(_0x56c0e7===_0x346f8d)break;else _0x4a0e04['push'](_0x4a0e04['shift']());}catch(_0x590c54){_0x4a0e04['push'](_0x4a0e04['shift']());}}}(_0x4751,0x684cc));export function getRangesWithAttribute(_0x3126cc,_0x4ff76f,_0x3df08c){const _0x2e8f18=_0x3bdc,_0x42ad3d=[];for(const _0x589527 of _0x4ff76f[_0x2e8f18(0x1b1)]())_0x589527[_0x2e8f18(0x1bb)](_0x3126cc)&&_0x42ad3d[_0x2e8f18(0x1d8)](_0x3df08c[_0x2e8f18(0x1a3)](_0x589527));return _0x42ad3d;}export function getElementsAffectedByListItemRename(_0x2654a5){const _0x564d7b=_0x3bdc,_0x4ba0d9=[];if(_0x2654a5['is'](_0x564d7b(0x1b9),_0x564d7b(0x1aa))){let _0x2b1c1e=_0x2654a5[_0x564d7b(0x1bc)];for(;_0x2b1c1e&&_0x2b1c1e['is'](_0x564d7b(0x1b9),_0x564d7b(0x1aa))&&_0x2b1c1e[_0x564d7b(0x1be)](_0x564d7b(0x1ae))>0x0;)_0x4ba0d9[_0x564d7b(0x1d8)](_0x2b1c1e),_0x2b1c1e=_0x2b1c1e[_0x564d7b(0x1bc)];}return _0x4ba0d9;}export function downcastSplitMergeMarker(_0x26a0a4,_0x475f86,{showActiveMarker:_0x404a86=!0x0}={}){const _0x256367=_0x3bdc,_0x24bbc7=_0x26a0a4[_0x256367(0x1d4)][_0x256367(0x1d5)](_0x256367(0x1a9));return(_0x18422c,_0x52f10e,_0x47bd82)=>{const _0x2b5aba=_0x256367;if(!_0x47bd82[_0x2b5aba(0x1ba)][_0x2b5aba(0x1bf)](_0x52f10e[_0x2b5aba(0x1d0)],_0x18422c[_0x2b5aba(0x1cc)]))return;const _0x2aa6c5=_0x52f10e[_0x2b5aba(0x1d0)][_0x2b5aba(0x1d1)](),_0x5bd841=_0x52f10e[_0x2b5aba(0x1d0)][_0x2b5aba(0x1af)],_0x548a55=_0x26a0a4[_0x2b5aba(0x1ad)][_0x2b5aba(0x1ca)];let _0x3e8191=null,_0x4e14bb=null,_0x5ebd5e=!0x1,_0x200034=!0x1;for(const _0x179116 of _0x2aa6c5){const _0x4cf28b=_0x179116[_0x2b5aba(0x1cf)];_0x5ebd5e=_0x5ebd5e||_0x548a55[_0x2b5aba(0x1cb)](_0x4cf28b);const _0x451585=_0x47bd82[_0x2b5aba(0x1a7)][_0x2b5aba(0x1d2)](_0x4cf28b);if(_0x451585&&_0x451585[_0x2b5aba(0x1a6)](_0x2b5aba(0x1d6)))return;_0x2b5aba(0x1ce)==_0x179116[_0x2b5aba(0x1a8)]&&(_0x548a55[_0x2b5aba(0x1b2)](_0x4cf28b)&&!_0x548a55[_0x2b5aba(0x1b8)](_0x4cf28b)&&(_0x4cf28b[_0x2b5aba(0x1bc)]||_0x5bd841[_0x2b5aba(0x1b7)]?_0x3e8191&&_0x3e8191[_0x2b5aba(0x1d7)]==_0x4cf28b||(_0x3e8191=_0x4cf28b,_0x1a7232(_0x179116[_0x2b5aba(0x1b5)]),_0x200034=!0x0):_0x4e14bb=_0x4e14bb||_0x179116[_0x2b5aba(0x1b5)]));}function _0x1a7232(_0x55b2ee){const _0x1912c0=_0x2b5aba,_0x42d0d0=_0x47bd82[_0x1912c0(0x1bd)][_0x1912c0(0x1c0)](_0x1912c0(0x1b3),{'class':_0x1912c0(0x1c8)+_0x475f86}),_0x1671a6=_0x47bd82[_0x1912c0(0x1a7)][_0x1912c0(0x1b0)](_0x55b2ee);_0x404a86&&_0x24bbc7[_0x1912c0(0x1d3)][_0x1912c0(0x1ac)](_0x52f10e[_0x1912c0(0x1c5)])&&_0x47bd82[_0x1912c0(0x1bd)][_0x1912c0(0x1a4)](_0x1912c0(0x1c1),_0x42d0d0),_0x47bd82[_0x1912c0(0x1bd)][_0x1912c0(0x1cd)](_0x1671a6,_0x42d0d0),_0x47bd82[_0x1912c0(0x1a7)][_0x1912c0(0x1c6)](_0x42d0d0,_0x52f10e[_0x1912c0(0x1c5)]);}_0x5ebd5e||_0x200034||!_0x4e14bb||_0x1a7232(_0x4e14bb);};}function _0x4751(){const _0x3ce967=['toViewElement','activeMarkers','plugins','get','addHighlight','parent','push','775134HuTDiu','411hoaHOD','createRangeOn','addClass','41191EnhymU','getCustomProperty','mapper','type','TrackChangesEditing','listItem','28GHnpuY','includes','model','listIndent','start','toViewPosition','getItems','isBlock','span','18JBymbv','previousPosition','662156gVnoTj','isAtEnd','isLimit','element','consumable','hasAttribute','nextSibling','writer','getAttribute','test','createUIElement','ck-suggestion-marker--active','17636XabXas','2808576ZCXinW','1181019bsMNDt','markerName','bindElementToMarker','4048870YbbFtS','ck-suggestion-marker-','60VrvVUa','schema','isContent','name','insert','elementEnd','item','markerRange','getWalker'];_0x4751=function(){return _0x3ce967;};return _0x4751();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5c1c(_0x3b4f79,_0x34ab6a){const _0x21a597=_0x21a5();return _0x5c1c=function(_0x5c1ce3,_0x10eaff){_0x5c1ce3=_0x5c1ce3-0x100;let _0x3e38ce=_0x21a597[_0x5c1ce3];return _0x3e38ce;},_0x5c1c(_0x3b4f79,_0x34ab6a);}const _0x25c6df=_0x5c1c;(function(_0x59dfe2,_0x36cd25){const _0x3dddb1=_0x5c1c,_0x2b3bf9=_0x59dfe2();while(!![]){try{const _0x4f67a8=parseInt(_0x3dddb1(0x104))/0x1+parseInt(_0x3dddb1(0x12d))/0x2*(parseInt(_0x3dddb1(0x109))/0x3)+parseInt(_0x3dddb1(0x150))/0x4+-parseInt(_0x3dddb1(0x115))/0x5*(-parseInt(_0x3dddb1(0x144))/0x6)+parseInt(_0x3dddb1(0x139))/0x7+parseInt(_0x3dddb1(0x142))/0x8*(parseInt(_0x3dddb1(0x111))/0x9)+parseInt(_0x3dddb1(0x145))/0xa*(-parseInt(_0x3dddb1(0x12c))/0xb);if(_0x4f67a8===_0x36cd25)break;else _0x2b3bf9['push'](_0x2b3bf9['shift']());}catch(_0x5c5959){_0x2b3bf9['push'](_0x2b3bf9['shift']());}}}(_0x21a5,0x70b4a));import{Element as _0x20aab2}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x13cb04,uid as _0x444d8e}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5dbf83,isEqual as _0x1f37ec,set as _0x5ef0a3,unset as _0x40c598}from'lodash-es';function _0x21a5(){const _0x580293=['1942032moFtWM','isIntersecting','getMarkerNames','_markerNames','isInContent','length','_saved','subType','1440TPYxif','onAccept','type','markers','1659870ulZCre','getFirstMarker','previous','_onAttributesChange','set','toJSON','isIntersectingWithRange','setAttribute','size','accept','change','addMarkerName','nodeBefore','end','from','add','_isDataLoaded','attributes','discard','createdAt','_onAccept','@external','getAllAdjacentSuggestions','263802xUrnFZ','2gMDMxM','data','commentThread','onDiscard','removeAttribute','removeMarker','nodeAfter','filter','getMarkers','next','decorate','getItems','5380095qtnRTi','suggestion:','getMultiRangeId','addMarker','clear','substr','onAttributesChange','creator','addRange','22864PnhHqV','_model','12TOdjPC','1240eaEmWq','reduce','delete','getRanges','getContainedElement','hasComments','getFirstRange','author','authoredAt','split','isExternal','2373496enwWPR','removeMarkers','isMultiRange','map','getRange','start','304879GNygog','_onDiscard','head','get','push'];_0x21a5=function(){return _0x580293;};return _0x21a5();}export default class u extends _0x13cb04(){constructor(_0x3d3c3b,_0x3c885c){const _0x1ca95b=_0x5c1c;super(),this[_0x1ca95b(0x125)]=!0x1,this['id']=_0x3c885c['id'],this[_0x1ca95b(0x113)]=_0x3c885c[_0x1ca95b(0x113)],this[_0x1ca95b(0x110)]=_0x3c885c[_0x1ca95b(0x110)]||null,this[_0x1ca95b(0x14c)]=_0x3c885c[_0x1ca95b(0x14c)],this[_0x1ca95b(0x140)]=_0x3c885c[_0x1ca95b(0x140)]||_0x3c885c[_0x1ca95b(0x14c)],this[_0x1ca95b(0x14f)]=Boolean(_0x3c885c[_0x1ca95b(0x126)]&&_0x3c885c[_0x1ca95b(0x126)][_0x1ca95b(0x12a)]),this[_0x1ca95b(0x12e)]=null,this[_0x1ca95b(0x143)]=_0x3d3c3b,this[_0x1ca95b(0x129)]=_0x3c885c[_0x1ca95b(0x112)],this[_0x1ca95b(0x105)]=_0x3c885c[_0x1ca95b(0x130)],this[_0x1ca95b(0x118)]=_0x3c885c[_0x1ca95b(0x13f)],this[_0x1ca95b(0x10c)]=new Set(),this[_0x1ca95b(0x128)]=null,this[_0x1ca95b(0x119)](_0x1ca95b(0x14d),null),this[_0x1ca95b(0x119)](_0x1ca95b(0x126),_0x3c885c[_0x1ca95b(0x126)]||{}),this[_0x1ca95b(0x119)](_0x1ca95b(0x117),null),this[_0x1ca95b(0x119)](_0x1ca95b(0x136),null),this[_0x1ca95b(0x119)](_0x1ca95b(0x12f),null),this[_0x1ca95b(0x119)](_0x1ca95b(0x10f),!0x1),this[_0x1ca95b(0x137)](_0x1ca95b(0x11e)),this[_0x1ca95b(0x137)](_0x1ca95b(0x127));}get[_0x25c6df(0x106)](){const _0x32005d=_0x25c6df;let _0x3c13a6=this;for(;_0x3c13a6[_0x32005d(0x117)];)_0x3c13a6=_0x3c13a6[_0x32005d(0x117)];return _0x3c13a6;}get[_0x25c6df(0x14a)](){const _0xf5dab=_0x25c6df;return!!this[_0xf5dab(0x12f)]&&this[_0xf5dab(0x12f)][_0xf5dab(0x10e)]>0x0;}get[_0x25c6df(0x100)](){const _0x63246b=_0x25c6df;if(0x0==this[_0x63246b(0x10c)][_0x63246b(0x11d)])return!0x1;return 0x6==Array[_0x63246b(0x123)](this[_0x63246b(0x10c)])[0x0][_0x63246b(0x14e)](':')[_0x63246b(0x10e)];}get[_0x25c6df(0x10d)](){const _0x3062b2=_0x25c6df;return null!==this[_0x3062b2(0x116)]();}[_0x25c6df(0x120)](_0x28b251){const _0xe80b26=_0x25c6df;this[_0xe80b26(0x10c)][_0xe80b26(0x124)](_0x28b251);}[_0x25c6df(0x10b)](){const _0xcb0b41=_0x25c6df;return Array[_0xcb0b41(0x123)](this[_0xcb0b41(0x10c)]);}[_0x25c6df(0x135)](){const _0xe092f8=_0x25c6df;return this[_0xe092f8(0x10b)]()[_0xe092f8(0x101)](_0x5f29bd=>this[_0xe092f8(0x143)][_0xe092f8(0x114)][_0xe092f8(0x107)](_0x5f29bd))[_0xe092f8(0x134)](_0x97248b=>_0x97248b);}[_0x25c6df(0x116)](){const _0x3c8e06=_0x25c6df;return this[_0x3c8e06(0x135)]()[0x0]||null;}[_0x25c6df(0x151)](){const _0x154b26=_0x25c6df;this[_0x154b26(0x143)][_0x154b26(0x11f)](_0x447ca4=>{const _0xe9f659=_0x154b26;for(const _0xa3552d of this[_0xe9f659(0x135)]())_0x447ca4[_0xe9f659(0x132)](_0xa3552d);}),this[_0x154b26(0x10c)][_0x154b26(0x13d)]();}[_0x25c6df(0x132)](_0x10fc5f){const _0x1a643f=_0x25c6df;this[_0x1a643f(0x143)][_0x1a643f(0x11f)](_0x3dc176=>{const _0xe26dce=_0x1a643f;_0x3dc176[_0xe26dce(0x132)](_0x10fc5f);}),this[_0x1a643f(0x10c)][_0x1a643f(0x147)](_0x10fc5f);}[_0x25c6df(0x141)](_0x1fe6fd){const _0x24a098=_0x25c6df,_0x259948=_0x24a098(0x13a)+this[_0x24a098(0x113)]+':'+this[_0x24a098(0x110)]+':'+this['id']+':'+this[_0x24a098(0x140)]['id']+':'+u[_0x24a098(0x13b)]();this[_0x24a098(0x120)](_0x259948),this[_0x24a098(0x143)][_0x24a098(0x11f)](_0x3c3ca6=>{const _0x5b3e34=_0x24a098;_0x3c3ca6[_0x5b3e34(0x13c)](_0x259948,{'range':_0x1fe6fd,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x25c6df(0x11b)](_0x7eb6c8){const _0x20c959=_0x25c6df;for(const _0x2a1697 of this[_0x20c959(0x148)]())if(_0x2a1697[_0x20c959(0x10a)](_0x7eb6c8))return!0x0;return!0x1;}[_0x25c6df(0x148)](){const _0x237b4e=_0x25c6df;return this[_0x237b4e(0x135)]()[_0x237b4e(0x101)](_0x15c026=>_0x15c026[_0x237b4e(0x102)]());}[_0x25c6df(0x138)](){const _0x543f17=_0x25c6df;return this[_0x543f17(0x148)]()[_0x543f17(0x146)]((_0x4f8eb6,_0x4434d3)=>[..._0x4f8eb6,..._0x4434d3[_0x543f17(0x138)]()],[]);}[_0x25c6df(0x14b)](){const _0x372ad1=_0x25c6df;var _0x2b45d2;return(null===(_0x2b45d2=this[_0x372ad1(0x116)]())||void 0x0===_0x2b45d2?void 0x0:_0x2b45d2[_0x372ad1(0x102)]())||null;}[_0x25c6df(0x149)](){const _0x5bba1b=_0x25c6df,_0x4c7133=this[_0x5bba1b(0x148)]();if(0x1!=_0x4c7133[_0x5bba1b(0x10e)])return null;const _0x22f85d=_0x4c7133[0x0],_0x3f610e=_0x22f85d[_0x5bba1b(0x103)][_0x5bba1b(0x133)],_0x4af59b=_0x22f85d[_0x5bba1b(0x122)][_0x5bba1b(0x121)];return _0x3f610e instanceof _0x20aab2?_0x3f610e!=_0x4af59b?null:_0x3f610e:null;}[_0x25c6df(0x11e)](){const _0x5f082b=_0x25c6df;this[_0x5f082b(0x129)](this[_0x5f082b(0x148)](),this[_0x5f082b(0x12e)],this[_0x5f082b(0x126)]),this[_0x5f082b(0x151)]();}[_0x25c6df(0x127)](){const _0x33ad86=_0x25c6df;this[_0x33ad86(0x105)](this[_0x33ad86(0x148)](),this[_0x33ad86(0x12e)],this[_0x33ad86(0x126)]),this[_0x33ad86(0x151)]();}[_0x25c6df(0x12b)](){const _0x176f6c=_0x25c6df,_0x415fc5=[];let _0x4ca52a=this[_0x176f6c(0x106)];for(;_0x4ca52a;)_0x415fc5[_0x176f6c(0x108)](_0x4ca52a),_0x4ca52a=_0x4ca52a[_0x176f6c(0x136)];return _0x415fc5;}[_0x25c6df(0x11c)](_0x39044e,_0x2d495a){const _0x214107=_0x25c6df,_0x3432e3=_0x5dbf83(this[_0x214107(0x126)]);_0x5ef0a3(_0x3432e3,_0x39044e,_0x2d495a),_0x1f37ec(_0x3432e3,this[_0x214107(0x126)])||(this[_0x214107(0x126)]=_0x3432e3,this[_0x214107(0x118)](_0x3432e3));}[_0x25c6df(0x131)](_0x523cb4){const _0x20fbd0=_0x25c6df,_0x325c96=_0x5dbf83(this[_0x20fbd0(0x126)]);_0x40c598(_0x325c96,_0x523cb4),_0x1f37ec(_0x325c96,this[_0x20fbd0(0x126)])||(this[_0x20fbd0(0x126)]=_0x325c96,this[_0x20fbd0(0x118)](this[_0x20fbd0(0x126)]));}[_0x25c6df(0x11a)](){const _0x29864d=_0x25c6df;return{'id':this['id'],'type':this[_0x29864d(0x110)]?this[_0x29864d(0x113)]+':'+this[_0x29864d(0x110)]:this[_0x29864d(0x113)],'authorId':this[_0x29864d(0x140)]['id'],'createdAt':this[_0x29864d(0x128)],'hasComments':this[_0x29864d(0x14a)],'data':this[_0x29864d(0x12e)],'attributes':this[_0x29864d(0x126)]};}static[_0x25c6df(0x13b)](){const _0x57d0ce=_0x25c6df;return _0x444d8e()[_0x57d0ce(0x13e)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5db515=_0x1e5a;(function(_0x456216,_0x5092c9){const _0x3e4296=_0x1e5a,_0xc7ce58=_0x456216();while(!![]){try{const _0x2fb4b8=-parseInt(_0x3e4296(0xb4))/0x1+parseInt(_0x3e4296(0xd4))/0x2*(parseInt(_0x3e4296(0xd7))/0x3)+-parseInt(_0x3e4296(0xec))/0x4+-parseInt(_0x3e4296(0x104))/0x5*(-parseInt(_0x3e4296(0xf9))/0x6)+-parseInt(_0x3e4296(0xad))/0x7*(-parseInt(_0x3e4296(0x100))/0x8)+-parseInt(_0x3e4296(0xd2))/0x9*(parseInt(_0x3e4296(0xbb))/0xa)+-parseInt(_0x3e4296(0xfc))/0xb*(parseInt(_0x3e4296(0xc9))/0xc);if(_0x2fb4b8===_0x5092c9)break;else _0xc7ce58['push'](_0xc7ce58['shift']());}catch(_0x4a4746){_0xc7ce58['push'](_0xc7ce58['shift']());}}}(_0x3ce5,0xea11d));import{getTranslation as _0x580464}from'./utils/common-translations.js';function _0x3ce5(){const _0x283bdd=['1292196xtYAMs','removeObject','_schema','length','_handleCustomCallbackDescription','_handleAttributeSuggestionDescription','elementEnd','603810NuZOJk','join','$text','quantity','indexOf','label','insertion','nextSibling','isObject','$textProxy','has','end','name','Object','8052852WPHBAE','getWalker','nodeAfter','function','getFirstRange','*Insert:*\x20%0','_addDescriptionItems','addFormat','skip','54ASxAXB','*Remove\x20format:*\x20%0','14LFfuTW','_locale','registerElementLabel','536751psNdMP','format','item','_itemLabelsCallbacks','attribute','deletion','remove','_handleRenameSuggestionDescription','removeEmptyContainer','_handleInsertRemoveSuggestionDescription','set','data','addEmptyContainer','$1\x20$2','elementStart','_itemLabels','*Remove:*\x20%0','isEqual','*Set\x20format:*\x20%0','element','map','134320KRtpik','_resolveDescriptionItems','addContainer','text','getDescriptions','add','*Split:*\x20%0','removeContainer','getItemLabel','normal','REPLACE_TEXT','isEmpty','*Change\x20to:*\x20%0','6mILpxC','match','removeFormat','11teXRub','registerDescriptionCallback','ELEMENT_SPACE','type','24XSOQww','subType','_attributeLabels','replace','2370205eYnIca','newValue','registerAttributeLabel','addObject','EmptyContainer','pop','isInContent','Container','*Merge:*\x20%0','_customCallbacks','previousSibling','start','3713318dHANVX','get','push','matchingCallback','checkChild','key','softBreak'];_0x3ce5=function(){return _0x283bdd;};return _0x3ce5();}function _0x1e5a(_0x816a4,_0x12a5b0){const _0x3ce5d8=_0x3ce5();return _0x1e5a=function(_0x1e5a7c,_0x14cfc5){_0x1e5a7c=_0x1e5a7c-0xad;let _0x26cd64=_0x3ce5d8[_0x1e5a7c];return _0x26cd64;},_0x1e5a(_0x816a4,_0x12a5b0);}import{priorities as _0x4756a6,insertToPriorityArray as _0x42016c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x576005}from'./trackchangesediting.js';export default class f{constructor(_0x13865b,_0x88415d){const _0x2d1236=_0x1e5a;this[_0x2d1236(0x10d)]=[],this[_0x2d1236(0xe6)]=new Map(),this[_0x2d1236(0xda)]=[],this[_0x2d1236(0x102)]=new Map(),this[_0x2d1236(0xb6)]=_0x13865b,this[_0x2d1236(0xd5)]=_0x88415d;}[_0x5db515(0xf0)](_0x1c8623){const _0x57fa51=_0x5db515,_0x35fef8=[],_0x57931e=new Set(),_0x13a2d9=new Set();for(let _0x5e98d7=0x0;_0x5e98d7<_0x1c8623[_0x57fa51(0xb7)];_0x5e98d7++){const _0x56fc52=_0x1c8623[_0x5e98d7];if(!_0x56fc52[_0x57fa51(0x10a)])continue;const _0x2458d4=this[_0x57fa51(0xb8)](_0x56fc52);if(_0x2458d4){if(null!=_0x56fc52[_0x57fa51(0x101)]){if(_0x57931e[_0x57fa51(0xc5)](_0x56fc52[_0x57fa51(0x101)]))continue;_0x57931e[_0x57fa51(0xf1)](_0x56fc52[_0x57fa51(0x101)]);}_0x35fef8[_0x57fa51(0xaf)](_0x2458d4);}else{if(_0x57fa51(0xdb)!=_0x56fc52[_0x57fa51(0xff)])_0x57fa51(0xc1)!=_0x56fc52[_0x57fa51(0xff)]&&_0x57fa51(0xdc)!=_0x56fc52[_0x57fa51(0xff)]||this[_0x57fa51(0xe0)](_0x35fef8,_0x56fc52,_0x1c8623[_0x5e98d7+0x1]);else{const _0x270d9e=_0x56fc52[_0x57fa51(0xe2)][_0x57fa51(0xb2)];if(_0x13a2d9[_0x57fa51(0xc5)](_0x270d9e))continue;_0x13a2d9[_0x57fa51(0xf1)](_0x56fc52[_0x57fa51(0xe2)][_0x57fa51(0xb2)]),_0x270d9e==_0x576005?this[_0x57fa51(0xde)](_0x35fef8,_0x56fc52):this[_0x57fa51(0xb9)](_0x35fef8,_0x56fc52);}}}return this[_0x57fa51(0xed)](_0x35fef8);}[_0x5db515(0xfd)](_0x415579){const _0x497af0=_0x5db515;this[_0x497af0(0x10d)][_0x497af0(0xaf)](_0x415579);}[_0x5db515(0xd6)](_0x1f3a7f,_0x14b093,_0x1a5050=_0x4756a6[_0x5db515(0xf5)]){const _0x546a51=_0x5db515;_0x546a51(0xcc)==typeof _0x1f3a7f?_0x42016c(this[_0x546a51(0xda)],{'matchingCallback':_0x1f3a7f,'label':_0x14b093,'priority':_0x1a5050}):this[_0x546a51(0xe6)][_0x546a51(0xe1)](_0x1f3a7f,_0x14b093);}[_0x5db515(0x106)](_0x1baf1f,_0x3c9f9f){const _0x2aa109=_0x5db515;this[_0x2aa109(0x102)][_0x2aa109(0xe1)](_0x1baf1f,_0x3c9f9f);}[_0x5db515(0xf4)](_0x56671a,_0x1f64ef=0x1){const _0x482011=_0x5db515;let _0x12e5cc;for(const _0x539eb2 of this[_0x482011(0xda)])if(_0x539eb2[_0x482011(0xb0)](_0x56671a)){_0x12e5cc=_0x539eb2[_0x482011(0xc0)];break;}return _0x12e5cc||(_0x12e5cc=this[_0x482011(0xe6)][_0x482011(0xae)](_0x56671a[_0x482011(0xc7)])),_0x12e5cc?_0x12e5cc(_0x1f64ef):0x1!==_0x1f64ef?_0x1f64ef+'\x20'+_0x56671a[_0x482011(0xc7)]+'s':''+_0x56671a[_0x482011(0xc7)];}[_0x5db515(0xcf)](_0x4512de,_0x56b399){const _0x1177fe=_0x5db515,_0x331830=_0x56b399[_0x1177fe(0xcd)]()[_0x1177fe(0xca)](),_0x1e02ff=_0x1177fe(0xc1)==_0x56b399[_0x1177fe(0xff)]?_0x1177fe(0xf1):_0x1177fe(0xdd);for(const _0x209c9d of _0x331830){const _0x5e4464=_0x209c9d[_0x1177fe(0xd9)],_0x1eade2=_0x4512de[_0x4512de[_0x1177fe(0xb7)]-0x1];if(_0x5e4464['is'](_0x1177fe(0xc4)))_0x1eade2&&_0x1eade2[_0x1177fe(0xff)][_0x1177fe(0xbf)](_0x1177fe(0x10b))>-0x1&&_0x4512de[_0x1177fe(0x109)](),_0x1eade2&&_0x1177fe(0xef)==_0x1eade2[_0x1177fe(0xff)]?_0x1eade2[_0x1e02ff]+=_0x5e4464[_0x1177fe(0xe2)]:_0x4512de[_0x1177fe(0xaf)]({'type':_0x1177fe(0xef),'add':_0x1177fe(0xf1)==_0x1e02ff?_0x5e4464[_0x1177fe(0xe2)]:'','remove':_0x1177fe(0xdd)==_0x1e02ff?_0x5e4464[_0x1177fe(0xe2)]:''});else{if(this[_0x1177fe(0xb6)][_0x1177fe(0xc3)](_0x5e4464)){const _0xb40c77=_0x5e4464;if(_0x1eade2&&_0x1eade2[_0x1177fe(0xff)][_0x1177fe(0xbf)](_0x1177fe(0x10b))>-0x1&&_0x4512de[_0x1177fe(0x109)](),_0x1177fe(0xba)==_0x209c9d[_0x1177fe(0xff)])continue;_0x1eade2&&_0x1eade2[_0x1177fe(0xff)]==_0x1e02ff+_0x1177fe(0xc8)&&_0x1eade2[_0x1177fe(0xea)][_0x1177fe(0xc7)]==_0xb40c77[_0x1177fe(0xc7)]?_0x1eade2[_0x1177fe(0xbe)]++:_0x4512de[_0x1177fe(0xaf)]({'type':_0x1e02ff+_0x1177fe(0xc8),'element':_0xb40c77,'quantity':0x1}),_0x331830[_0x1177fe(0xd1)](_0x356ef1=>!(_0x1177fe(0xba)==_0x356ef1[_0x1177fe(0xff)]&&_0x356ef1[_0x1177fe(0xd9)]==_0x5e4464));}else{if(this[_0x1177fe(0xb6)][_0x1177fe(0xb1)](_0x5e4464,_0x1177fe(0xbd))||_0x5e4464['is'](_0x1177fe(0xea),_0x1177fe(0xb3))){const _0x31e55e=_0x5e4464;if(_0x1177fe(0xf1)==_0x1e02ff&&_0x1177fe(0xe5)==_0x209c9d[_0x1177fe(0xff)]||_0x1177fe(0xdd)==_0x1e02ff&&_0x1177fe(0xba)==_0x209c9d[_0x1177fe(0xff)])continue;if(_0x1eade2&&-0x1==_0x1eade2[_0x1177fe(0xff)][_0x1177fe(0xbf)](_0x1177fe(0x10b))){_0x1177fe(0xef)==_0x1eade2[_0x1177fe(0xff)]&&(_0x1eade2[_0x1e02ff]+='\x0a');continue;}let _0x281754;if(_0x281754=_0x1177fe(0xf1)==_0x1e02ff?_0x31e55e[_0x1177fe(0xc2)]&&!this[_0x1177fe(0xb6)][_0x1177fe(0xc3)](_0x31e55e[_0x1177fe(0xc2)])?_0x31e55e[_0x1177fe(0xc2)]:null:_0x31e55e[_0x1177fe(0x10e)]&&!this[_0x1177fe(0xb6)][_0x1177fe(0xc3)](_0x31e55e[_0x1177fe(0x10e)])?_0x31e55e[_0x1177fe(0x10e)]:null,_0x31e55e[_0x1177fe(0xf7)]||_0x281754&&_0x281754[_0x1177fe(0xf7)]){const _0x44387f=_0x281754&&_0x281754[_0x1177fe(0xf7)]?_0x281754:_0x31e55e;_0x1eade2&&_0x1eade2[_0x1177fe(0xff)]==_0x1e02ff+_0x1177fe(0x108)&&_0x1eade2[_0x1177fe(0xea)][_0x1177fe(0xc7)]==_0x44387f[_0x1177fe(0xc7)]?_0x1eade2[_0x1177fe(0xbe)]++:_0x4512de[_0x1177fe(0xaf)]({'type':_0x1e02ff+_0x1177fe(0x108),'element':_0x44387f,'quantity':0x1});}else _0x4512de[_0x1177fe(0xaf)]({'type':_0x1e02ff+_0x1177fe(0x10b),'element':_0x31e55e});}}}}}[_0x5db515(0xed)](_0x1cab4f){const _0xf08543=_0x5db515,_0x4636f8=this[_0xf08543(0xd5)],_0x162372=[],_0x472baf=[],_0x529c01=[];for(const _0x3a5372 of _0x1cab4f)switch(_0x3a5372[_0xf08543(0xff)]){case _0xf08543(0xef):if(_0x3a5372[_0xf08543(0xf1)]=_0x3a5372[_0xf08543(0xf1)][_0xf08543(0x103)](/(\S)\u000A+(\S)/g,_0xf08543(0xe4))[_0xf08543(0x103)](/\u000A/g,''),_0x3a5372[_0xf08543(0xdd)]=_0x3a5372[_0xf08543(0xdd)][_0xf08543(0x103)](/(\S)\u000A+(\S)/g,_0xf08543(0xe4))[_0xf08543(0x103)](/\u000A/g,''),''!=_0x3a5372[_0xf08543(0xf1)]&&''!=_0x3a5372[_0xf08543(0xdd)]){_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0x103),'content':_0x580464(_0x4636f8,_0xf08543(0xf6),['\x22'+_0x3a5372[_0xf08543(0xdd)]+'\x22','\x22'+_0x3a5372[_0xf08543(0xf1)]+'\x22'])});continue;}if(null!=_0x3a5372[_0xf08543(0xf1)][_0xf08543(0xfa)](/^ +$/)){_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xc1),'content':_0x580464(_0x4636f8,_0xf08543(0xce),_0x580464(_0x4636f8,_0xf08543(0xfe),_0x3a5372[_0xf08543(0xf1)][_0xf08543(0xb7)]))});continue;}if(null!=_0x3a5372[_0xf08543(0xdd)][_0xf08543(0xfa)](/^ +$/)){_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xdc),'content':_0x580464(_0x4636f8,_0xf08543(0xe7),_0x580464(_0x4636f8,_0xf08543(0xfe),_0x3a5372[_0xf08543(0xdd)][_0xf08543(0xb7)]))});continue;}if(''!=_0x3a5372[_0xf08543(0xf1)]){_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xc1),'content':_0x580464(_0x4636f8,_0xf08543(0xce),'\x22'+_0x3a5372[_0xf08543(0xf1)]+'\x22')});continue;}_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xdc),'content':_0x580464(_0x4636f8,_0xf08543(0xe7),'\x22'+_0x3a5372[_0xf08543(0xdd)]+'\x22')});continue;case _0xf08543(0xe3):case _0xf08543(0x107):_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xc1),'content':_0x580464(_0x4636f8,_0xf08543(0xce),this[_0xf08543(0xf4)](_0x3a5372[_0xf08543(0xea)],_0x3a5372[_0xf08543(0xbe)]))});continue;case _0xf08543(0xdf):case _0xf08543(0xb5):_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xdc),'content':_0x580464(_0x4636f8,_0xf08543(0xe7),this[_0xf08543(0xf4)](_0x3a5372[_0xf08543(0xea)],_0x3a5372[_0xf08543(0xbe)]))});continue;case _0xf08543(0xee):_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xc1),'content':_0x580464(_0x4636f8,_0xf08543(0xf2),this[_0xf08543(0xf4)](_0x3a5372[_0xf08543(0xea)],_0x3a5372[_0xf08543(0xbe)]))});continue;case _0xf08543(0xf3):_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xdc),'content':_0x580464(_0x4636f8,_0xf08543(0x10c),this[_0xf08543(0xf4)](_0x3a5372[_0xf08543(0xea)],_0x3a5372[_0xf08543(0xbe)]))});continue;case _0xf08543(0xd0):_0x472baf[_0xf08543(0xaf)](_0x3a5372[_0xf08543(0xb2)]);continue;case _0xf08543(0xfb):_0x529c01[_0xf08543(0xaf)](_0x3a5372[_0xf08543(0xb2)]);continue;default:_0x162372[_0xf08543(0xaf)](_0x3a5372);}if(_0x472baf[_0xf08543(0xb7)]){const _0x5ee2c4=_0x472baf[_0xf08543(0xeb)](_0x262f76=>this[_0xf08543(0x102)][_0xf08543(0xc5)](_0x262f76)?this[_0xf08543(0x102)][_0xf08543(0xae)](_0x262f76):_0x262f76)[_0xf08543(0xbc)](',\x20');_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xd8),'content':_0x580464(this[_0xf08543(0xd5)],_0xf08543(0xe9),_0x5ee2c4)});}if(_0x529c01[_0xf08543(0xb7)]){const _0x17e144=_0x529c01[_0xf08543(0xeb)](_0xbfbe50=>this[_0xf08543(0x102)][_0xf08543(0xc5)](_0xbfbe50)?this[_0xf08543(0x102)][_0xf08543(0xae)](_0xbfbe50):_0xbfbe50)[_0xf08543(0xbc)](',\x20');_0x162372[_0xf08543(0xaf)]({'type':_0xf08543(0xd8),'content':_0x580464(this[_0xf08543(0xd5)],_0xf08543(0xd3),_0x17e144)});}return _0x162372;}[_0x5db515(0xb8)](_0x1d822b){const _0x1b2a3e=_0x5db515;for(const _0x5b1a83 of this[_0x1b2a3e(0x10d)]){const _0x202a81=_0x5b1a83(_0x1d822b);if(_0x202a81&&_0x1b2a3e(0xff)in _0x202a81)return _0x202a81;}}[_0x5db515(0xb9)](_0x3b6545,_0x56d196){const _0x45e917=_0x5db515,_0x20898f=_0x56d196[_0x45e917(0xe2)],_0x260a9e=void 0x0===_0x20898f[_0x45e917(0x105)]?_0x45e917(0xfb):_0x45e917(0xd0);_0x3b6545[_0x45e917(0xaf)]({'type':_0x260a9e,'key':_0x20898f[_0x45e917(0xb2)]});}[_0x5db515(0xde)](_0x55f97e,_0x5536c4){const _0xe077e9=_0x5db515;_0x55f97e[_0xe077e9(0xaf)]({'type':_0xe077e9(0xd8),'content':_0x580464(this[_0xe077e9(0xd5)],_0xe077e9(0xf8),this[_0xe077e9(0xf4)](_0x5536c4[_0xe077e9(0xcd)]()[_0xe077e9(0x10f)][_0xe077e9(0xcb)],0x1))});}[_0x5db515(0xe0)](_0x131b73,_0x4b3738,_0x1a4a85){const _0x502bef=_0x5db515;if(this[_0x502bef(0xcf)](_0x131b73,_0x4b3738),_0x1a4a85&&_0x1a4a85[_0x502bef(0xcd)]()&&!_0x4b3738[_0x502bef(0xcd)]()[_0x502bef(0xc6)][_0x502bef(0xe8)](_0x1a4a85[_0x502bef(0xcd)]()[_0x502bef(0x10f)])){const _0x374ea8=_0x131b73[_0x131b73[_0x502bef(0xb7)]-0x1],_0xac89c7=_0x502bef(0xc1)==_0x4b3738[_0x502bef(0xff)]?_0x502bef(0xf1):_0x502bef(0xdd);_0x374ea8&&_0x502bef(0xef)==_0x374ea8[_0x502bef(0xff)]&&(_0x374ea8[_0xac89c7]+='\x0a');}}}
|
|
23
|
+
function _0x4b3e(_0x4fcae3,_0x364fc0){const _0xd2a683=_0xd2a6();return _0x4b3e=function(_0x4b3e8d,_0x1e5ec5){_0x4b3e8d=_0x4b3e8d-0x15c;let _0x4810b1=_0xd2a683[_0x4b3e8d];return _0x4810b1;},_0x4b3e(_0x4fcae3,_0x364fc0);}const _0x47795a=_0x4b3e;(function(_0x5c0864,_0x3ba486){const _0x52c0f4=_0x4b3e,_0x18e933=_0x5c0864();while(!![]){try{const _0x5a45ac=parseInt(_0x52c0f4(0x1b1))/0x1*(-parseInt(_0x52c0f4(0x17e))/0x2)+parseInt(_0x52c0f4(0x19c))/0x3+-parseInt(_0x52c0f4(0x1b2))/0x4+-parseInt(_0x52c0f4(0x17b))/0x5+-parseInt(_0x52c0f4(0x192))/0x6+parseInt(_0x52c0f4(0x171))/0x7+parseInt(_0x52c0f4(0x185))/0x8;if(_0x5a45ac===_0x3ba486)break;else _0x18e933['push'](_0x18e933['shift']());}catch(_0x203fe8){_0x18e933['push'](_0x18e933['shift']());}}}(_0xd2a6,0xee97b));import{getTranslation as _0x2dd3de}from'./utils/common-translations.js';function _0xd2a6(){const _0x225e9b=['type','addFormat','subType','remove','131xHjYCN','7357172QtrRIg','_resolveDescriptionItems','_customCallbacks','push','*Set\x20format:*\x20%0','REPLACE_TEXT','replace','*Remove\x20format:*\x20%0','*Change\x20to:*\x20%0','map','_itemLabels','element','registerElementLabel','getDescriptions','isInContent','format','matchingCallback','end','data','EmptyContainer','start','getWalker','_attributeLabels','isEqual','nextSibling','nodeAfter','Object','isEmpty','join','_handleCustomCallbackDescription','64638BPmhnx','ELEMENT_SPACE','newValue','$textProxy','_handleInsertRemoveSuggestionDescription','_addDescriptionItems','text','function','_itemLabelsCallbacks','item','7382075DLdWya','*Insert:*\x20%0','removeContainer','20330ITdHKl','get','_locale','addObject','add','attribute','name','35910464sxGCUo','*Merge:*\x20%0','*Remove:*\x20%0','normal','_handleAttributeSuggestionDescription','label','elementEnd','*Split:*\x20%0','deletion','addContainer','removeObject','set','match','1109394zVWCVa','$text','previousSibling','pop','registerAttributeLabel','insertion','has','elementStart','key','skip','3934365wDTiUh','length','quantity','getItemLabel','indexOf','Container','addEmptyContainer','$1\x20$2','removeFormat','getFirstRange','_schema','_handleRenameSuggestionDescription','registerDescriptionCallback','removeEmptyContainer','isObject','checkChild','softBreak'];_0xd2a6=function(){return _0x225e9b;};return _0xd2a6();}import{priorities as _0x3ecc24,insertToPriorityArray as _0x463f13}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x355b81}from'./trackchangesediting.js';export default class f{constructor(_0x5b6e5a,_0xcbdbd9){const _0x346903=_0x4b3e;this[_0x346903(0x1b4)]=[],this[_0x346903(0x15d)]=new Map(),this[_0x346903(0x179)]=[],this[_0x346903(0x169)]=new Map(),this[_0x346903(0x1a6)]=_0x5b6e5a,this[_0x346903(0x180)]=_0xcbdbd9;}[_0x47795a(0x160)](_0x576cf9){const _0x368c25=_0x47795a,_0x285964=[],_0x1a39d9=new Set(),_0x430056=new Set();for(let _0x556838=0x0;_0x556838<_0x576cf9[_0x368c25(0x19d)];_0x556838++){const _0x428b53=_0x576cf9[_0x556838];if(!_0x428b53[_0x368c25(0x161)])continue;const _0x3a5457=this[_0x368c25(0x170)](_0x428b53);if(_0x3a5457){if(null!=_0x428b53[_0x368c25(0x1af)]){if(_0x1a39d9[_0x368c25(0x198)](_0x428b53[_0x368c25(0x1af)]))continue;_0x1a39d9[_0x368c25(0x182)](_0x428b53[_0x368c25(0x1af)]);}_0x285964[_0x368c25(0x1b5)](_0x3a5457);}else{if(_0x368c25(0x183)!=_0x428b53[_0x368c25(0x1ad)])_0x368c25(0x197)!=_0x428b53[_0x368c25(0x1ad)]&&_0x368c25(0x18d)!=_0x428b53[_0x368c25(0x1ad)]||this[_0x368c25(0x175)](_0x285964,_0x428b53,_0x576cf9[_0x556838+0x1]);else{const _0x5eb33c=_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)];if(_0x430056[_0x368c25(0x198)](_0x5eb33c))continue;_0x430056[_0x368c25(0x182)](_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)]),_0x5eb33c==_0x355b81?this[_0x368c25(0x1a7)](_0x285964,_0x428b53):this[_0x368c25(0x189)](_0x285964,_0x428b53);}}}return this[_0x368c25(0x1b3)](_0x285964);}[_0x47795a(0x1a8)](_0x18a8af){const _0x1954cb=_0x47795a;this[_0x1954cb(0x1b4)][_0x1954cb(0x1b5)](_0x18a8af);}[_0x47795a(0x15f)](_0x542fad,_0x41ca50,_0x43ef62=_0x3ecc24[_0x47795a(0x188)]){const _0x2977e4=_0x47795a;_0x2977e4(0x178)==typeof _0x542fad?_0x463f13(this[_0x2977e4(0x179)],{'matchingCallback':_0x542fad,'label':_0x41ca50,'priority':_0x43ef62}):this[_0x2977e4(0x15d)][_0x2977e4(0x190)](_0x542fad,_0x41ca50);}[_0x47795a(0x196)](_0xa111b3,_0x10db55){const _0x37e01d=_0x47795a;this[_0x37e01d(0x169)][_0x37e01d(0x190)](_0xa111b3,_0x10db55);}[_0x47795a(0x19f)](_0x3e7f7d,_0x57822c=0x1){const _0x3a1ebb=_0x47795a;let _0x4dab2c;for(const _0x4c69be of this[_0x3a1ebb(0x179)])if(_0x4c69be[_0x3a1ebb(0x163)](_0x3e7f7d)){_0x4dab2c=_0x4c69be[_0x3a1ebb(0x18a)];break;}return _0x4dab2c||(_0x4dab2c=this[_0x3a1ebb(0x15d)][_0x3a1ebb(0x17f)](_0x3e7f7d[_0x3a1ebb(0x184)])),_0x4dab2c?_0x4dab2c(_0x57822c):0x1!==_0x57822c?_0x57822c+'\x20'+_0x3e7f7d[_0x3a1ebb(0x184)]+'s':''+_0x3e7f7d[_0x3a1ebb(0x184)];}[_0x47795a(0x176)](_0x5ac701,_0x338fc0){const _0x593ba0=_0x47795a,_0x57dcf4=_0x338fc0[_0x593ba0(0x1a5)]()[_0x593ba0(0x168)](),_0x3051e1=_0x593ba0(0x197)==_0x338fc0[_0x593ba0(0x1ad)]?_0x593ba0(0x182):_0x593ba0(0x1b0);for(const _0x30b359 of _0x57dcf4){const _0xc9638d=_0x30b359[_0x593ba0(0x17a)],_0x3175ef=_0x5ac701[_0x5ac701[_0x593ba0(0x19d)]-0x1];if(_0xc9638d['is'](_0x593ba0(0x174)))_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x3175ef&&_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]?_0x3175ef[_0x3051e1]+=_0xc9638d[_0x593ba0(0x165)]:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x593ba0(0x177),'add':_0x593ba0(0x182)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:'','remove':_0x593ba0(0x1b0)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:''});else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0xc9638d)){const _0x1a4581=_0xc9638d;if(_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x16d)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x1a4581[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x16d),'element':_0x1a4581,'quantity':0x1}),_0x57dcf4[_0x593ba0(0x19b)](_0x302fc7=>!(_0x593ba0(0x18b)==_0x302fc7[_0x593ba0(0x1ad)]&&_0x302fc7[_0x593ba0(0x17a)]==_0xc9638d));}else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1ab)](_0xc9638d,_0x593ba0(0x193))||_0xc9638d['is'](_0x593ba0(0x15e),_0x593ba0(0x1ac))){const _0x2544b8=_0xc9638d;if(_0x593ba0(0x182)==_0x3051e1&&_0x593ba0(0x199)==_0x30b359[_0x593ba0(0x1ad)]||_0x593ba0(0x1b0)==_0x3051e1&&_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;if(_0x3175ef&&-0x1==_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))){_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]&&(_0x3175ef[_0x3051e1]+='\x0a');continue;}let _0x4dd4ff;if(_0x4dd4ff=_0x593ba0(0x182)==_0x3051e1?_0x2544b8[_0x593ba0(0x16b)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x16b)])?_0x2544b8[_0x593ba0(0x16b)]:null:_0x2544b8[_0x593ba0(0x194)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x194)])?_0x2544b8[_0x593ba0(0x194)]:null,_0x2544b8[_0x593ba0(0x16e)]||_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]){const _0x15f810=_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]?_0x4dd4ff:_0x2544b8;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x166)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x15f810[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x166),'element':_0x15f810,'quantity':0x1});}else _0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x1a1),'element':_0x2544b8});}}}}}[_0x47795a(0x1b3)](_0x490ead){const _0x357332=_0x47795a,_0x4e48cc=this[_0x357332(0x180)],_0xb70786=[],_0x2fe4ba=[],_0x33d246=[];for(const _0x4244c6 of _0x490ead)switch(_0x4244c6[_0x357332(0x1ad)]){case _0x357332(0x177):if(_0x4244c6[_0x357332(0x182)]=_0x4244c6[_0x357332(0x182)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),_0x4244c6[_0x357332(0x1b0)]=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),''!=_0x4244c6[_0x357332(0x182)]&&''!=_0x4244c6[_0x357332(0x1b0)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x1b8),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x1b7),['\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22','\x22'+_0x4244c6[_0x357332(0x182)]+'\x22'])});continue;}if(null!=_0x4244c6[_0x357332(0x182)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x182)][_0x357332(0x19d)]))});continue;}if(null!=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x1b0)][_0x357332(0x19d)]))});continue;}if(''!=_0x4244c6[_0x357332(0x182)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),'\x22'+_0x4244c6[_0x357332(0x182)]+'\x22')});continue;}_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),'\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22')});continue;case _0x357332(0x1a2):case _0x357332(0x181):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1a9):case _0x357332(0x18f):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x18e):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x18c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x17d):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x186),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1ae):_0x2fe4ba[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;case _0x357332(0x1a4):_0x33d246[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;default:_0xb70786[_0x357332(0x1b5)](_0x4244c6);}if(_0x2fe4ba[_0x357332(0x19d)]){const _0xdde082=_0x2fe4ba[_0x357332(0x15c)](_0x283e22=>this[_0x357332(0x169)][_0x357332(0x198)](_0x283e22)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x283e22):_0x283e22)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b6),_0xdde082)});}if(_0x33d246[_0x357332(0x19d)]){const _0x1a9ce9=_0x33d246[_0x357332(0x15c)](_0x9e4dae=>this[_0x357332(0x169)][_0x357332(0x198)](_0x9e4dae)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x9e4dae):_0x9e4dae)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b9),_0x1a9ce9)});}return _0xb70786;}[_0x47795a(0x170)](_0xd8f71b){const _0xd35513=_0x47795a;for(const _0x3415da of this[_0xd35513(0x1b4)]){const _0x29ac3e=_0x3415da(_0xd8f71b);if(_0x29ac3e&&_0xd35513(0x1ad)in _0x29ac3e)return _0x29ac3e;}}[_0x47795a(0x189)](_0x314616,_0x4f754d){const _0x5e921b=_0x47795a,_0x3b4990=_0x4f754d[_0x5e921b(0x165)],_0x131713=void 0x0===_0x3b4990[_0x5e921b(0x173)]?_0x5e921b(0x1a4):_0x5e921b(0x1ae);_0x314616[_0x5e921b(0x1b5)]({'type':_0x131713,'key':_0x3b4990[_0x5e921b(0x19a)]});}[_0x47795a(0x1a7)](_0x3d7c01,_0x1dfc61){const _0x2035c7=_0x47795a;_0x3d7c01[_0x2035c7(0x1b5)]({'type':_0x2035c7(0x162),'content':_0x2dd3de(this[_0x2035c7(0x180)],_0x2035c7(0x1ba),this[_0x2035c7(0x19f)](_0x1dfc61[_0x2035c7(0x1a5)]()[_0x2035c7(0x167)][_0x2035c7(0x16c)],0x1))});}[_0x47795a(0x175)](_0x4bf473,_0x100da9,_0x32b64a){const _0x5555c7=_0x47795a;if(this[_0x5555c7(0x176)](_0x4bf473,_0x100da9),_0x32b64a&&_0x32b64a[_0x5555c7(0x1a5)]()&&!_0x100da9[_0x5555c7(0x1a5)]()[_0x5555c7(0x164)][_0x5555c7(0x16a)](_0x32b64a[_0x5555c7(0x1a5)]()[_0x5555c7(0x167)])){const _0x435863=_0x4bf473[_0x4bf473[_0x5555c7(0x19d)]-0x1],_0x58bb65=_0x5555c7(0x197)==_0x100da9[_0x5555c7(0x1ad)]?_0x5555c7(0x182):_0x5555c7(0x1b0);_0x435863&&_0x5555c7(0x177)==_0x435863[_0x5555c7(0x1ad)]&&(_0x435863[_0x58bb65]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4bd62a=_0x5597;function _0x53c5(){var _0x3a5bbe=['1906CwqyPv','1328816XbpeYk','getSuggestions','6939Prhzxr','TrackChanges','pluginName','addSuggestion','113192mFuYWE','428ZnMqkQ','getSuggestion','1028748hhvolY','adapter','Comments','addSuggestionData','requires','plugins','42nHWFaI','get','11083039jloXCw','119kSVUEl','7520jGEVoM','editor','890yuBjUK'];_0x53c5=function(){return _0x3a5bbe;};return _0x53c5();}(function(_0x45d947,_0x1c0e91){var _0x16f87d=_0x5597,_0x1bc929=_0x45d947();while(!![]){try{var _0x58541a=-parseInt(_0x16f87d(0xcb))/0x1*(parseInt(_0x16f87d(0xc3))/0x2)+-parseInt(_0x16f87d(0xcd))/0x3+-parseInt(_0x16f87d(0xc4))/0x4+-parseInt(_0x16f87d(0xc0))/0x5*(-parseInt(_0x16f87d(0xd3))/0x6)+-parseInt(_0x16f87d(0xbf))/0x7*(-parseInt(_0x16f87d(0xca))/0x8)+-parseInt(_0x16f87d(0xc6))/0x9*(-parseInt(_0x16f87d(0xc2))/0xa)+parseInt(_0x16f87d(0xbe))/0xb;if(_0x58541a===_0x1c0e91)break;else _0x1bc929['push'](_0x1bc929['shift']());}catch(_0x55f8a4){_0x1bc929['push'](_0x1bc929['shift']());}}}(_0x53c5,0x3ba01));function _0x5597(_0x235a45,_0x2ad4de){var _0x53c5a8=_0x53c5();return _0x5597=function(_0x5597dd,_0x4feec9){_0x5597dd=_0x5597dd-0xbd;var _0x3833df=_0x53c5a8[_0x5597dd];return _0x3833df;},_0x5597(_0x235a45,_0x2ad4de);}import{Plugin as _0x4fc021}from'ckeditor5/src/core.js';import _0x3c11ef from'./trackchangesui.js';import _0x8f4e3f from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4fc021{static get[_0x4bd62a(0xd1)](){var _0x57e66d=_0x4bd62a;return[_0x8f4e3f,_0x3c11ef,_0x57e66d(0xcf)];}static get[_0x4bd62a(0xc8)](){var _0x3db6b1=_0x4bd62a;return _0x3db6b1(0xc7);}set[_0x4bd62a(0xce)](_0x5252aa){var _0x18b497=_0x4bd62a;this[_0x18b497(0xc1)][_0x18b497(0xd2)][_0x18b497(0xbd)](_0x8f4e3f)[_0x18b497(0xce)]=_0x5252aa;}get[_0x4bd62a(0xce)](){var _0x383b24=_0x4bd62a;return this[_0x383b24(0xc1)][_0x383b24(0xd2)][_0x383b24(0xbd)](_0x8f4e3f)[_0x383b24(0xce)];}[_0x4bd62a(0xc9)](_0x58d02c){var _0x3905ed=_0x4bd62a;return this[_0x3905ed(0xc1)][_0x3905ed(0xd2)][_0x3905ed(0xbd)](_0x8f4e3f)[_0x3905ed(0xd0)](_0x58d02c);}[_0x4bd62a(0xc5)]({skipNotAttached:_0x21fd91=!0x1,toJSON:_0x485170=!0x1}={}){var _0x47243d=_0x4bd62a;return this[_0x47243d(0xc1)][_0x47243d(0xd2)][_0x47243d(0xbd)](_0x8f4e3f)[_0x47243d(0xc5)]({'skipNotAttached':_0x21fd91,'toJSON':_0x485170});}[_0x4bd62a(0xcc)](_0x2d2bc1){var _0xd14e71=_0x4bd62a;return this[_0xd14e71(0xc1)][_0xd14e71(0xd2)][_0xd14e71(0xbd)](_0x8f4e3f)[_0xd14e71(0xcc)](_0x2d2bc1);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2956(_0x1169ba,_0xeab620){const _0x5c7aed=_0x5c7a();return _0x2956=function(_0x29569f,_0x363fc1){_0x29569f=_0x29569f-0x154;let _0x4aad29=_0x5c7aed[_0x29569f];return _0x4aad29;},_0x2956(_0x1169ba,_0xeab620);}const _0x567b9a=_0x2956;(function(_0x30c634,_0x709f2d){const _0x575238=_0x2956,_0xc6f65b=_0x30c634();while(!![]){try{const _0x4a1741=-parseInt(_0x575238(0x15c))/0x1+-parseInt(_0x575238(0x157))/0x2*(-parseInt(_0x575238(0x155))/0x3)+parseInt(_0x575238(0x18b))/0x4*(parseInt(_0x575238(0x17f))/0x5)+-parseInt(_0x575238(0x18f))/0x6*(parseInt(_0x575238(0x16e))/0x7)+parseInt(_0x575238(0x17e))/0x8*(-parseInt(_0x575238(0x173))/0x9)+parseInt(_0x575238(0x162))/0xa+parseInt(_0x575238(0x183))/0xb*(-parseInt(_0x575238(0x187))/0xc);if(_0x4a1741===_0x709f2d)break;else _0xc6f65b['push'](_0xc6f65b['shift']());}catch(_0x4cf76a){_0xc6f65b['push'](_0xc6f65b['shift']());}}}(_0x5c7a,0x8fe45));import{Plugin as _0x55fea3}from'ckeditor5/src/core.js';import{CKEditorError as _0x41b46d}from'ckeditor5/src/utils.js';import _0x1fb398 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4c3095}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x567b9a(0x188)];export default class P extends _0x55fea3{static get[_0x567b9a(0x189)](){return[_0x1fb398];}static get[_0x567b9a(0x171)](){const _0x36dda2=_0x567b9a;return _0x36dda2(0x175);}[_0x567b9a(0x177)](){const _0x4b2c89=_0x567b9a,_0x56dfb0=this[_0x4b2c89(0x186)];if(_0x56dfb0[_0x4b2c89(0x15b)][_0x4b2c89(0x178)](_0x4b2c89(0x15f),_0x3aa430=>{const _0x16c768=_0x4b2c89,_0x53bb96=_0x56dfb0[_0x16c768(0x17c)][_0x16c768(0x167)][_0x16c768(0x17a)]()[_0x16c768(0x191)]((_0xe8096f,_0x26cd7b)=>(_0xe8096f[_0x26cd7b]='',_0xe8096f),{});return _0x56dfb0[_0x16c768(0x165)][_0x16c768(0x163)](_0x53bb96,_0x3aa430);}),_0x4b2c89(0x174)!=typeof _0x56dfb0[_0x4b2c89(0x15b)][_0x4b2c89(0x159)](_0x4b2c89(0x164))[_0x4b2c89(0x185)])throw new _0x41b46d(_0x4b2c89(0x15e));}[_0x567b9a(0x170)](_0x3bb000){const _0x2da653=_0x567b9a;return N(this[_0x2da653(0x186)],!0x0,_0x3bb000);}[_0x567b9a(0x18a)](_0x469649){const _0x48ca24=_0x567b9a;return N(this[_0x48ca24(0x186)],!0x1,_0x469649);}}class D extends _0x55fea3{static get[_0x567b9a(0x171)](){const _0x4cbe6a=_0x567b9a;return _0x4cbe6a(0x16b);}constructor(_0x45f99c){const _0xb95e5e=_0x567b9a;super(_0x45f99c),this[_0xb95e5e(0x18d)]=_0xb95e5e(0x192);}[_0x567b9a(0x177)](){const _0x4b3131=_0x567b9a;this[_0x4b3131(0x186)][_0x4b3131(0x166)][_0x4b3131(0x159)](_0x4b3131(0x190))[_0x4b3131(0x176)]={'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[_0x4b3131(0x186)][_0x4b3131(0x166)][_0x4b3131(0x159)](_0x4b3131(0x16a))[_0x4b3131(0x176)]=null;}}function _0x5c7a(){const _0x50fc23=['getRootsAttributes','rootsAttributes','343RdyVpQ','createDocumentFragment','getDataWithAcceptedSuggestions','pluginName','data','279pLXuyE','function','TrackChangesData','_adapter','init','define','name','getRootNames','getFullData','model','createElement','181520HzOcUu','10biMRFJ','getSuggestions','discardAllSuggestions','set','3492742vMVnhs','execute','editorCreator','editor','12LZiltg','Pagination','requires','getDataWithDiscardedSuggestions','1531672HJwBCl','Users','result','destroy','67548DDRmYQ','CommentsRepository','reduce','end','users','addSuggestionData','87705UVcTyP','getUser','70HsonGJ','push','get','useAnonymousUser','config','294791zBELll','acceptAllSuggestions','track-changes-data-invalid-editor-creator','trackChangesData.editorCreator','addUser','appendChild','6676650wGWDKx','create','trackChangesData','constructor','plugins','document','div','map','TrackChangesEditing','TrackChangesDataGetter'];_0x5c7a=function(){return _0x50fc23;};return _0x5c7a();}function v(_0x3ba3f8){const _0x274da6=_0x567b9a;return void 0x0!==_0x3ba3f8[_0x274da6(0x16c)];}async function N(_0x3bb2a3,_0x2c7fc6,_0x3ab837){const _0x3edeaa=_0x567b9a,_0x187972=_0x4c3095(_0x3bb2a3,T);_0x187972[_0x3edeaa(0x166)][_0x3edeaa(0x158)](_0x1fb398,D),_0x187972[_0x3edeaa(0x16d)]=v(_0x3bb2a3)?_0x3bb2a3[_0x3edeaa(0x16c)]():void 0x0;const _0x413724=document[_0x3edeaa(0x16f)](),_0x35486a=_0x3bb2a3[_0x3edeaa(0x15b)][_0x3edeaa(0x159)](_0x3edeaa(0x164))[_0x3edeaa(0x185)],_0x4bed55=await _0x35486a(_0x187972,()=>function(_0x3b6630){const _0x5d78d9=_0x3edeaa,_0x220fd5=document[_0x5d78d9(0x17d)](_0x5d78d9(0x168));return _0x3b6630[_0x5d78d9(0x161)](_0x220fd5),_0x220fd5;}(_0x413724));!function(_0x16a8c6,_0x464841){const _0x1baa47=_0x3edeaa,_0x24030a=_0x16a8c6[_0x1baa47(0x17c)][_0x1baa47(0x167)][_0x1baa47(0x17a)]()[_0x1baa47(0x191)]((_0x11d378,_0x41d466)=>(_0x11d378[_0x41d466]=_0x16a8c6[_0x1baa47(0x172)][_0x1baa47(0x159)]({'rootName':_0x41d466}),_0x11d378),{}),_0x1487f4=_0x16a8c6[_0x1baa47(0x166)][_0x1baa47(0x159)](_0x1baa47(0x18c))[_0x1baa47(0x193)][_0x1baa47(0x169)](_0xd777c=>({'id':_0xd777c['id'],'name':_0xd777c[_0x1baa47(0x179)]})),_0x4a3f70=_0x16a8c6[_0x1baa47(0x166)][_0x1baa47(0x159)](_0x1baa47(0x16a))[_0x1baa47(0x180)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4ef18d=_0x464841[_0x1baa47(0x166)][_0x1baa47(0x159)](_0x1baa47(0x18c)),_0x354a41=_0x464841[_0x1baa47(0x166)][_0x1baa47(0x159)](_0x1baa47(0x16a));for(const _0x7341f1 of _0x1487f4)_0x4ef18d[_0x1baa47(0x156)](_0x7341f1['id'])||_0x4ef18d[_0x1baa47(0x160)](_0x7341f1);_0x4ef18d['me']||_0x4ef18d[_0x1baa47(0x15a)]();for(const _0x5ddc77 of _0x4a3f70)_0x354a41[_0x1baa47(0x154)](_0x5ddc77);_0x464841[_0x1baa47(0x172)][_0x1baa47(0x182)](_0x24030a);}(_0x3bb2a3,_0x4bed55),_0x4bed55[_0x3edeaa(0x184)](_0x2c7fc6?_0x3edeaa(0x15d):_0x3edeaa(0x181));const _0x1ac8e8=v(_0x4bed55)?_0x4bed55[_0x3edeaa(0x17b)](_0x3ab837):_0x4bed55[_0x3edeaa(0x172)][_0x3edeaa(0x159)](_0x3ab837);return await _0x4bed55[_0x3edeaa(0x18e)](),_0x1ac8e8;}
|