@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240306.0 → 0.0.0-nightly-20240307.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/build/translations/pt.js +1 -1
- package/lang/translations/pt.po +26 -26
- 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 _0x446595=_0x455a;(function(_0x300d2f,_0x5374ae){const _0x1e1493=_0x455a,_0x12a34c=_0x300d2f();while(!![]){try{const _0x39096e=parseInt(_0x1e1493(0x90))/0x1+-parseInt(_0x1e1493(0xa0))/0x2+parseInt(_0x1e1493(0xd2))/0x3+-parseInt(_0x1e1493(0xcb))/0x4+parseInt(_0x1e1493(0x91))/0x5+parseInt(_0x1e1493(0x85))/0x6+-parseInt(_0x1e1493(0xb8))/0x7;if(_0x39096e===_0x5374ae)break;else _0x12a34c['push'](_0x12a34c['shift']());}catch(_0x5efec3){_0x12a34c['push'](_0x12a34c['shift']());}}}(_0x2882,0xee400));import{Plugin as _0x909361}from'ckeditor5/src/core.js';import _0xfafad3 from'./table.js';function _0x455a(_0x4d3075,_0xadb4e6){const _0x2882cc=_0x2882();return _0x455a=function(_0x455ad7,_0x42f28a){_0x455ad7=_0x455ad7-0x84;let _0x1d4c36=_0x2882cc[_0x455ad7];return _0x1d4c36;},_0x455a(_0x4d3075,_0xadb4e6);}import{LiveRange as _0x2269c1}from'ckeditor5/src/engine.js';import{getTranslation as _0x295df4}from'../utils/common-translations.js';export default class jt extends _0x909361{static get[_0x446595(0xc3)](){return[_0xfafad3];}[_0x446595(0xcd)](){const _0x2a8815=_0x446595,_0x52a36f=this[_0x2a8815(0xd1)],_0x2a10a5=_0x52a36f[_0x2a8815(0xcc)][_0x2a8815(0xe2)][_0x2a8815(0xbd)],_0x2706a9=_0x52a36f[_0x2a8815(0xda)];if(!_0x52a36f[_0x2a8815(0x97)][_0x2a8815(0xb6)](_0x2a8815(0x92)))return;const _0x3a9982=_0x52a36f[_0x2a8815(0x97)][_0x2a8815(0xba)](_0x2a8815(0x95)),_0xed5776=_0x52a36f[_0x2a8815(0x97)][_0x2a8815(0xba)](_0x2a8815(0xbb)),_0x33ffe4=_0x52a36f[_0x2a8815(0x97)][_0x2a8815(0xba)](_0xfafad3);_0x33ffe4[_0x2a8815(0xaa)][_0x2a8815(0x96)](_0x2a8815(0xd4)),_0x3a9982[_0x2a8815(0xb7)](_0x2a8815(0xd4),()=>{const _0x391c49=_0x2a8815,_0x270ed=_0xed5776[_0x391c49(0xdf)](_0x52a36f[_0x391c49(0xcc)][_0x391c49(0xe2)][_0x391c49(0xbd)]);_0x52a36f[_0x391c49(0xcc)][_0x391c49(0x86)](()=>{const _0x2b37b8=_0x391c49;_0x3a9982[_0x2b37b8(0xac)](_0x270ed,{'commandName':_0x2b37b8(0xd4),'commandParams':[]},[],_0x2b37b8(0xd4));});}),_0x52a36f[_0x2a8815(0xc6)][_0x2a8815(0xba)](_0x2a8815(0xd4))['on'](_0x2a8815(0xd6),(_0x40458b,_0x496028)=>{const _0x421827=_0x2a8815;_0x52a36f[_0x421827(0xc6)][_0x421827(0xba)](_0x421827(0xae))[_0x421827(0xa5)]&&(_0x496028[_0x421827(0xad)]>0x0&&_0x496028[_0x496028[_0x421827(0xad)]-0x1]&&_0x496028[_0x496028[_0x421827(0xad)]-0x1][_0x421827(0xc9)]||_0x3a9982[_0x421827(0xcf)]||this[_0x421827(0x9e)]()||_0x40458b[_0x421827(0x8b)]());},{'priority':_0x2a8815(0xd8)});for(const _0x33ff6f of[_0x2a8815(0x88),_0x2a8815(0xd9),_0x2a8815(0x9d),_0x2a8815(0xa2)]){const _0x123c3a=_0x52a36f[_0x2a8815(0xc6)][_0x2a8815(0xba)](_0x33ff6f);_0x3a9982[_0x2a8815(0xb7)](_0x33ff6f,()=>{const _0x5620e5=_0x2a8815,_0x163f29=_0x52a36f[_0x5620e5(0xcc)][_0x5620e5(0xe2)][_0x5620e5(0xbd)][_0x5620e5(0xc7)]()[_0x5620e5(0xa4)]()[_0x5620e5(0xbf)](_0x5d5aeb=>_0x5d5aeb['is'](_0x5620e5(0xb4),_0x5620e5(0x89))),_0xfb8b74=_0x123c3a[_0x5620e5(0xa5)];_0x52a36f[_0x5620e5(0xcc)][_0x5620e5(0x86)](()=>{const _0x352a33=_0x5620e5;_0x3a9982[_0x352a33(0xac)]([_0x163f29,_0xfb8b74],{'commandName':_0x352a33(0xd4),'commandParams':[]},[],_0x352a33(0xd4));});});}for(const _0x77d1b0 of[_0x2a8815(0xc2),_0x2a8815(0x9a)]){const _0x3d2d12=_0x52a36f[_0x2a8815(0xc6)][_0x2a8815(0xba)](_0x77d1b0);_0x3a9982[_0x2a8815(0xb7)](_0x77d1b0,()=>{const _0x5d0b56=_0x2a8815,_0x1493f7=_0xed5776[_0x5d0b56(0xdf)](_0x52a36f[_0x5d0b56(0xcc)][_0x5d0b56(0xe2)][_0x5d0b56(0xbd)])[0x0],_0x58756b=_0x1493f7[_0x5d0b56(0x8e)](_0x5d0b56(0xa6)),{column:_0x2ff444,row:_0x83fc32}=_0xed5776[_0x5d0b56(0x8f)](_0x1493f7);let _0x34772f=[];if(_0x5d0b56(0x94)==_0x3d2d12[_0x5d0b56(0x99)]){const _0x4d6442=_0xed5776[_0x5d0b56(0x9b)](_0x58756b,{'startRow':_0x83fc32,'endRow':_0x83fc32,'includeAllSlots':!0x0});_0x34772f=Array[_0x5d0b56(0xa9)](_0x4d6442)[_0x5d0b56(0x98)](_0x447d7e=>_0x447d7e[_0x5d0b56(0xc1)]);}else{const _0x161fd9=_0xed5776[_0x5d0b56(0x9b)](_0x58756b,{'column':_0x2ff444,'includeAllSlots':!0x0});_0x34772f=Array[_0x5d0b56(0xa9)](_0x161fd9)[_0x5d0b56(0x98)](_0x1a2df5=>_0x1a2df5[_0x5d0b56(0xc1)]);}_0x52a36f[_0x5d0b56(0xcc)][_0x5d0b56(0x86)](_0x57b897=>{const _0x176e08=_0x5d0b56;_0x3a9982[_0x176e08(0xd7)](_0x57b897[_0x176e08(0xbc)](_0x1493f7),{'commandName':_0x77d1b0,'commandParams':[]},_0x34772f,_0x77d1b0);});});}_0x3a9982[_0x2a8815(0xc5)][_0x2a8815(0x8a)](_0x1fac88=>{const _0x4119cb=_0x2a8815;if(_0x4119cb(0x9c)!=_0x1fac88[_0x4119cb(0x84)]&&_0x4119cb(0xb3)!=_0x1fac88[_0x4119cb(0x84)])return;const {data:_0x705a6c}=_0x1fac88;return _0x705a6c&&_0x4119cb(0xd4)==_0x705a6c[_0x4119cb(0xce)]?{'type':_0x4119cb(0xe1),'content':_0x295df4(_0x2706a9,_0x4119cb(0xdd))}:void 0x0;}),_0x3a9982[_0x2a8815(0xc5)][_0x2a8815(0x8a)](_0x152b55=>{const _0x596ad7=_0x2a8815;if(_0x596ad7(0x9c)!=_0x152b55[_0x596ad7(0x84)]&&_0x596ad7(0xb3)!=_0x152b55[_0x596ad7(0x84)])return;const {data:_0x14deca}=_0x152b55;return _0x14deca?_0x596ad7(0xc2)==_0x14deca[_0x596ad7(0xce)]?{'type':_0x596ad7(0xe1),'content':_0x295df4(_0x2706a9,_0x596ad7(0xa8))}:_0x596ad7(0x9a)==_0x14deca[_0x596ad7(0xce)]?{'type':_0x596ad7(0xe1),'content':_0x295df4(_0x2706a9,_0x596ad7(0xdc))}:void 0x0:void 0x0;});const _0x4ef6eb=_0x33ffe4[_0x2a8815(0x8d)]();for(const _0x265b25 of[_0x2a8815(0x88),_0x2a8815(0xd9),_0x2a8815(0x9d),_0x2a8815(0xa2)])_0x3a9982[_0x2a8815(0xe3)][_0x2a8815(0xe0)](_0x2a8815(0x9c),_0x265b25,_0x2a8815(0xa7),_0x4ef6eb);for(const _0x74c747 of[_0x2a8815(0xc2),_0x2a8815(0x9a)])_0x3a9982[_0x2a8815(0xe3)][_0x2a8815(0xe0)](_0x2a8815(0x9c),_0x74c747,_0x2a8815(0xa7),_0x4ef6eb);_0x3a9982[_0x2a8815(0xe3)][_0x2a8815(0xe0)](_0x2a8815(0x9c),_0x2a8815(0xd4),_0x2a8815(0xa7),_0x48c412=>{const _0x19dddb=_0x2a8815;_0x52a36f[_0x19dddb(0xcc)][_0x19dddb(0x86)](_0x143110=>{const _0x669ba9=_0x19dddb,_0x59e16d=Array[_0x669ba9(0xa9)](_0x2a10a5[_0x669ba9(0xb5)]())[_0x669ba9(0x98)](_0x4facc1=>_0x2269c1[_0x669ba9(0x9f)](_0x4facc1));_0x143110[_0x669ba9(0xd3)](_0x48c412),_0x52a36f[_0x669ba9(0xc6)][_0x669ba9(0xba)](_0x669ba9(0xd4))[_0x669ba9(0xde)](),_0x52a36f[_0x669ba9(0xd6)](_0x669ba9(0xd4),{'forceDefaultExecution':!0x0});const _0x5644fd=_0x59e16d[_0x669ba9(0xdb)](_0x5b01b0=>_0x669ba9(0xd0)!=_0x5b01b0[_0x669ba9(0xc0)][_0x669ba9(0xc4)]);_0x5644fd[_0x669ba9(0xad)]>0x0&&_0x143110[_0x669ba9(0xd3)](_0x5644fd);for(const _0x511d79 of _0x59e16d)_0x511d79[_0x669ba9(0xb9)]();});});for(const _0x30b1bc of[_0x2a8815(0x88),_0x2a8815(0x9d),_0x2a8815(0xa2),_0x2a8815(0xd9)]){const _0x88c149=_0x52a36f[_0x2a8815(0xc6)][_0x2a8815(0xba)](_0x30b1bc);_0x88c149['on'](_0x2a8815(0xca),(_0xa769a6,_0x5a65d7,_0x54ea53)=>{const _0x389234=_0x2a8815;if(_0x54ea53){const _0x2491bf=_0x52a36f[_0x389234(0xcc)][_0x389234(0xe2)][_0x389234(0xbd)][_0x389234(0xc7)]()[_0x389234(0xa4)]()[_0x389234(0xbf)](_0x50f4b5=>_0x50f4b5['is'](_0x389234(0xb4),_0x389234(0x89)));this[_0x389234(0x8c)](_0x88c149[_0x389234(0xa5)],_0x2491bf)||(_0xa769a6[_0x389234(0x93)]=!0x1,_0xa769a6[_0x389234(0x8b)]());}},{'priority':_0x2a8815(0xbe)});}}[_0x446595(0x9e)](){const _0x5559d7=_0x446595,_0xe5fe1=this[_0x5559d7(0xd1)][_0x5559d7(0xc6)][_0x5559d7(0xba)](_0x5559d7(0xd4)),_0x2c6896=this[_0x5559d7(0xd1)][_0x5559d7(0x97)][_0x5559d7(0xba)](_0x5559d7(0xbb));if(!_0xe5fe1[_0x5559d7(0xa3)])return!0x1;const _0x135aa6=_0x2c6896[_0x5559d7(0xdf)](this[_0x5559d7(0xd1)][_0x5559d7(0xcc)][_0x5559d7(0xe2)][_0x5559d7(0xbd)]);for(const _0xe1f7ac of _0x135aa6)for(const _0x298f90 of _0x135aa6)if(_0xe1f7ac!=_0x298f90&&!this[_0x5559d7(0x8c)](_0xe1f7ac,_0x298f90))return!0x1;return!0x0;}[_0x446595(0x8c)](_0x2bfd92,_0x2b076b){const _0x6a43f4=_0x446595,_0x4ec330=this[_0x6a43f4(0xd1)][_0x6a43f4(0x97)][_0x6a43f4(0xba)](_0x6a43f4(0x95)),_0x2d39da=this[_0x6a43f4(0xd1)][_0x6a43f4(0xcc)][_0x6a43f4(0xbc)](_0x2bfd92),_0x367ca8=this[_0x6a43f4(0xd1)][_0x6a43f4(0xcc)][_0x6a43f4(0xbc)](_0x2b076b),_0x538c05=new Set(),_0xfd92e9=new Set();for(const _0x32c109 of _0x4ec330[_0x6a43f4(0xd5)]())if((_0x6a43f4(0xb0)==_0x32c109[_0x6a43f4(0x84)]||_0x6a43f4(0xb1)==_0x32c109[_0x6a43f4(0x84)]||_0x6a43f4(0xd4)==_0x32c109[_0x6a43f4(0xab)])&&_0x32c109[_0x6a43f4(0xa1)]){for(const _0x30ae11 of _0x32c109[_0x6a43f4(0xb5)]())_0x30ae11[_0x6a43f4(0xaf)](_0x2d39da,!0x0)&&_0x538c05[_0x6a43f4(0x87)](_0x32c109[_0x6a43f4(0x84)]+':'+_0x32c109[_0x6a43f4(0xb2)]['id']),_0x30ae11[_0x6a43f4(0xaf)](_0x367ca8,!0x0)&&_0xfd92e9[_0x6a43f4(0x87)](_0x32c109[_0x6a43f4(0x84)]+':'+_0x32c109[_0x6a43f4(0xb2)]['id']);}if(_0x538c05[_0x6a43f4(0xc8)]!=_0xfd92e9[_0x6a43f4(0xc8)])return!0x1;for(const _0xc2b69b of _0x538c05)if(!_0xfd92e9[_0x6a43f4(0xb6)](_0xc2b69b))return!0x1;return!0x0;}}function _0x2882(){const _0x3558db=['splitTableCellHorizontally','createTableWalker','formatBlock','mergeTableCellDown','_areSelectedCellsMergable','fromRange','2321062LYDCMD','isInContent','mergeTableCellLeft','isEnabled','getAncestors','value','table','accept','*Split\x20cell:*\x20vertically','from','_tablePostFixingSubtypes','subType','markMultiRangeBlockFormat','length','trackChanges','containsRange','insertion','deletion','author','formatInline','element','getRanges','has','enableCommand','252427EHolcn','detach','get','TableUtils','createRangeOn','selection','low','find','root','cell','splitTableCellVertically','requires','rootName','_descriptionFactory','commands','getFirstPosition','size','forceDefaultExecution','set:isEnabled','7163044XQIqpp','model','afterInit','commandName','_isForcedDefaultExecutionBlock','$graveyard','editor','1229772JHNuOI','setSelection','mergeTableCells','getSuggestions','execute','markBlockFormat','highest','mergeTableCellRight','locale','filter','*Split\x20cell:*\x20horizontally','*Merge\x20cells*','refresh','getSelectionAffectedTableCells','registerCustomCallback','format','document','_suggestionFactory','type','6139800YqPQQj','change','add','mergeTableCellUp','tableCell','registerDescriptionCallback','stop','_areMergableCells','_acceptFormatSuggestionCallbackFactory','findAncestor','getCellLocation','1070312arCymd','7298445ujrIWz','TableEditing','return','horizontally','TrackChangesEditing','push','plugins','map','direction'];_0x2882=function(){return _0x3558db;};return _0x2882();}
|
|
23
|
+
const _0x54e316=_0x3a73;function _0x3a73(_0x4f503e,_0x468b58){const _0x3c3c45=_0x3c3c();return _0x3a73=function(_0x3a734b,_0x5264f7){_0x3a734b=_0x3a734b-0xd8;let _0x2da1a4=_0x3c3c45[_0x3a734b];return _0x2da1a4;},_0x3a73(_0x4f503e,_0x468b58);}(function(_0x4e4b48,_0x56cd4e){const _0x5255d2=_0x3a73,_0x382c75=_0x4e4b48();while(!![]){try{const _0x390ef1=parseInt(_0x5255d2(0xd8))/0x1+-parseInt(_0x5255d2(0xee))/0x2*(parseInt(_0x5255d2(0x10f))/0x3)+parseInt(_0x5255d2(0x111))/0x4*(-parseInt(_0x5255d2(0xf9))/0x5)+parseInt(_0x5255d2(0xf6))/0x6+parseInt(_0x5255d2(0xff))/0x7+-parseInt(_0x5255d2(0x117))/0x8+parseInt(_0x5255d2(0xf4))/0x9;if(_0x390ef1===_0x56cd4e)break;else _0x382c75['push'](_0x382c75['shift']());}catch(_0x2fbac1){_0x382c75['push'](_0x382c75['shift']());}}}(_0x3c3c,0x33b36));function _0x3c3c(){const _0x276869=['_areMergableCells','forceDefaultExecution','createRangeOn','direction','splitTableCellVertically','commandName','formatInline','cell','39174ZCXNGF','mergeTableCellUp','isInContent','$graveyard','add','set:isEnabled','3667005uARERR','registerDescriptionCallback','1262700kTwMtg','TableUtils','enableCommand','1480935ESDaRt','value','getRanges','_isForcedDefaultExecutionBlock','_acceptFormatSuggestionCallbackFactory','change','2351083WiEJeX','detach','isEnabled','insertion','table','mergeTableCellDown','mergeTableCellLeft','getSuggestions','fromRange','editor','afterInit','*Split\x20cell:*\x20horizontally','execute','splitTableCellHorizontally','*Merge\x20cells*','containsRange','63VIisEV','root','4sbErbI','TableEditing','findAncestor','selection','getAncestors','find','2624744PCvHJQ','trackChanges','get','tableCell','refresh','from','return','requires','highest','getFirstPosition','createTableWalker','formatBlock','type','markBlockFormat','registerCustomCallback','accept','document','mergeTableCells','*Split\x20cell:*\x20vertically','getSelectionAffectedTableCells','has','length','size','getCellLocation','plugins','author','format','TrackChangesEditing','rootName','locale','_suggestionFactory','setSelection','element','subType','_tablePostFixingSubtypes','293609scLJBE','map','filter','_areSelectedCellsMergable','low','commands','horizontally','markMultiRangeBlockFormat','deletion','push','model','mergeTableCellRight','_descriptionFactory','stop'];_0x3c3c=function(){return _0x276869;};return _0x3c3c();}import{Plugin as _0x161286}from'ckeditor5/src/core.js';import _0x130162 from'./table.js';import{LiveRange as _0x24ce4a}from'ckeditor5/src/engine.js';import{getTranslation as _0x23309f}from'../utils/common-translations.js';export default class jt extends _0x161286{static get[_0x54e316(0x11e)](){return[_0x130162];}[_0x54e316(0x109)](){const _0x61a60a=_0x54e316,_0x22ee30=this[_0x61a60a(0x108)],_0x4b4297=_0x22ee30[_0x61a60a(0xe2)][_0x61a60a(0x127)][_0x61a60a(0x114)],_0x4a38ed=_0x22ee30[_0x61a60a(0x134)];if(!_0x22ee30[_0x61a60a(0x12f)][_0x61a60a(0x12b)](_0x61a60a(0x112)))return;const _0x3f6b34=_0x22ee30[_0x61a60a(0x12f)][_0x61a60a(0x119)](_0x61a60a(0x132)),_0x17bf8=_0x22ee30[_0x61a60a(0x12f)][_0x61a60a(0x119)](_0x61a60a(0xf7)),_0x174671=_0x22ee30[_0x61a60a(0x12f)][_0x61a60a(0x119)](_0x130162);_0x174671[_0x61a60a(0x139)][_0x61a60a(0xe1)](_0x61a60a(0x128)),_0x3f6b34[_0x61a60a(0xf8)](_0x61a60a(0x128),()=>{const _0x1cffa9=_0x61a60a,_0x584c12=_0x17bf8[_0x1cffa9(0x12a)](_0x22ee30[_0x1cffa9(0xe2)][_0x1cffa9(0x127)][_0x1cffa9(0x114)]);_0x22ee30[_0x1cffa9(0xe2)][_0x1cffa9(0xfe)](()=>{const _0x29d057=_0x1cffa9;_0x3f6b34[_0x29d057(0xdf)](_0x584c12,{'commandName':_0x29d057(0x128),'commandParams':[]},[],_0x29d057(0x128));});}),_0x22ee30[_0x61a60a(0xdd)][_0x61a60a(0x119)](_0x61a60a(0x128))['on'](_0x61a60a(0x10b),(_0x4d9e29,_0x3ac0bf)=>{const _0x24c85e=_0x61a60a;_0x22ee30[_0x24c85e(0xdd)][_0x24c85e(0x119)](_0x24c85e(0x118))[_0x24c85e(0xfa)]&&(_0x3ac0bf[_0x24c85e(0x12c)]>0x0&&_0x3ac0bf[_0x3ac0bf[_0x24c85e(0x12c)]-0x1]&&_0x3ac0bf[_0x3ac0bf[_0x24c85e(0x12c)]-0x1][_0x24c85e(0xe7)]||_0x3f6b34[_0x24c85e(0xfc)]||this[_0x24c85e(0xdb)]()||_0x4d9e29[_0x24c85e(0xe5)]());},{'priority':_0x61a60a(0x11f)});for(const _0x478fa9 of[_0x61a60a(0xef),_0x61a60a(0xe3),_0x61a60a(0x104),_0x61a60a(0x105)]){const _0x2c0afc=_0x22ee30[_0x61a60a(0xdd)][_0x61a60a(0x119)](_0x478fa9);_0x3f6b34[_0x61a60a(0xf8)](_0x478fa9,()=>{const _0x50db23=_0x61a60a,_0x44ef5b=_0x22ee30[_0x50db23(0xe2)][_0x50db23(0x127)][_0x50db23(0x114)][_0x50db23(0x120)]()[_0x50db23(0x115)]()[_0x50db23(0x116)](_0x245410=>_0x245410['is'](_0x50db23(0x137),_0x50db23(0x11a))),_0x1048dd=_0x2c0afc[_0x50db23(0xfa)];_0x22ee30[_0x50db23(0xe2)][_0x50db23(0xfe)](()=>{const _0x310eb4=_0x50db23;_0x3f6b34[_0x310eb4(0xdf)]([_0x44ef5b,_0x1048dd],{'commandName':_0x310eb4(0x128),'commandParams':[]},[],_0x310eb4(0x128));});});}for(const _0x2a14d3 of[_0x61a60a(0xea),_0x61a60a(0x10c)]){const _0xa607fc=_0x22ee30[_0x61a60a(0xdd)][_0x61a60a(0x119)](_0x2a14d3);_0x3f6b34[_0x61a60a(0xf8)](_0x2a14d3,()=>{const _0x5ed87d=_0x61a60a,_0x26b08b=_0x17bf8[_0x5ed87d(0x12a)](_0x22ee30[_0x5ed87d(0xe2)][_0x5ed87d(0x127)][_0x5ed87d(0x114)])[0x0],_0x1f6feb=_0x26b08b[_0x5ed87d(0x113)](_0x5ed87d(0x103)),{column:_0x58d957,row:_0x1d4908}=_0x17bf8[_0x5ed87d(0x12e)](_0x26b08b);let _0x3fbe73=[];if(_0x5ed87d(0xde)==_0xa607fc[_0x5ed87d(0xe9)]){const _0x1c59bf=_0x17bf8[_0x5ed87d(0x121)](_0x1f6feb,{'startRow':_0x1d4908,'endRow':_0x1d4908,'includeAllSlots':!0x0});_0x3fbe73=Array[_0x5ed87d(0x11c)](_0x1c59bf)[_0x5ed87d(0xd9)](_0x41922c=>_0x41922c[_0x5ed87d(0xed)]);}else{const _0x2a840b=_0x17bf8[_0x5ed87d(0x121)](_0x1f6feb,{'column':_0x58d957,'includeAllSlots':!0x0});_0x3fbe73=Array[_0x5ed87d(0x11c)](_0x2a840b)[_0x5ed87d(0xd9)](_0x55f35f=>_0x55f35f[_0x5ed87d(0xed)]);}_0x22ee30[_0x5ed87d(0xe2)][_0x5ed87d(0xfe)](_0x5be1d6=>{const _0x5b103d=_0x5ed87d;_0x3f6b34[_0x5b103d(0x124)](_0x5be1d6[_0x5b103d(0xe8)](_0x26b08b),{'commandName':_0x2a14d3,'commandParams':[]},_0x3fbe73,_0x2a14d3);});});}_0x3f6b34[_0x61a60a(0xe4)][_0x61a60a(0xf5)](_0x16606f=>{const _0x529af1=_0x61a60a;if(_0x529af1(0x122)!=_0x16606f[_0x529af1(0x123)]&&_0x529af1(0xec)!=_0x16606f[_0x529af1(0x123)])return;const {data:_0xc8c12b}=_0x16606f;return _0xc8c12b&&_0x529af1(0x128)==_0xc8c12b[_0x529af1(0xeb)]?{'type':_0x529af1(0x131),'content':_0x23309f(_0x4a38ed,_0x529af1(0x10d))}:void 0x0;}),_0x3f6b34[_0x61a60a(0xe4)][_0x61a60a(0xf5)](_0x563e47=>{const _0xd0e93=_0x61a60a;if(_0xd0e93(0x122)!=_0x563e47[_0xd0e93(0x123)]&&_0xd0e93(0xec)!=_0x563e47[_0xd0e93(0x123)])return;const {data:_0x3d588a}=_0x563e47;return _0x3d588a?_0xd0e93(0xea)==_0x3d588a[_0xd0e93(0xeb)]?{'type':_0xd0e93(0x131),'content':_0x23309f(_0x4a38ed,_0xd0e93(0x129))}:_0xd0e93(0x10c)==_0x3d588a[_0xd0e93(0xeb)]?{'type':_0xd0e93(0x131),'content':_0x23309f(_0x4a38ed,_0xd0e93(0x10a))}:void 0x0:void 0x0;});const _0x1fe868=_0x174671[_0x61a60a(0xfd)]();for(const _0xe36160 of[_0x61a60a(0xef),_0x61a60a(0xe3),_0x61a60a(0x104),_0x61a60a(0x105)])_0x3f6b34[_0x61a60a(0x135)][_0x61a60a(0x125)](_0x61a60a(0x122),_0xe36160,_0x61a60a(0x126),_0x1fe868);for(const _0x14f5f7 of[_0x61a60a(0xea),_0x61a60a(0x10c)])_0x3f6b34[_0x61a60a(0x135)][_0x61a60a(0x125)](_0x61a60a(0x122),_0x14f5f7,_0x61a60a(0x126),_0x1fe868);_0x3f6b34[_0x61a60a(0x135)][_0x61a60a(0x125)](_0x61a60a(0x122),_0x61a60a(0x128),_0x61a60a(0x126),_0x444d68=>{const _0x5838c8=_0x61a60a;_0x22ee30[_0x5838c8(0xe2)][_0x5838c8(0xfe)](_0xa6bc68=>{const _0x347090=_0x5838c8,_0x2ddebc=Array[_0x347090(0x11c)](_0x4b4297[_0x347090(0xfb)]())[_0x347090(0xd9)](_0x33d207=>_0x24ce4a[_0x347090(0x107)](_0x33d207));_0xa6bc68[_0x347090(0x136)](_0x444d68),_0x22ee30[_0x347090(0xdd)][_0x347090(0x119)](_0x347090(0x128))[_0x347090(0x11b)](),_0x22ee30[_0x347090(0x10b)](_0x347090(0x128),{'forceDefaultExecution':!0x0});const _0x3e456d=_0x2ddebc[_0x347090(0xda)](_0x2cc379=>_0x347090(0xf1)!=_0x2cc379[_0x347090(0x110)][_0x347090(0x133)]);_0x3e456d[_0x347090(0x12c)]>0x0&&_0xa6bc68[_0x347090(0x136)](_0x3e456d);for(const _0x37520b of _0x2ddebc)_0x37520b[_0x347090(0x100)]();});});for(const _0x94e13d of[_0x61a60a(0xef),_0x61a60a(0x104),_0x61a60a(0x105),_0x61a60a(0xe3)]){const _0x51c2ba=_0x22ee30[_0x61a60a(0xdd)][_0x61a60a(0x119)](_0x94e13d);_0x51c2ba['on'](_0x61a60a(0xf3),(_0x57cb2e,_0x68f078,_0x481cd1)=>{const _0x69286=_0x61a60a;if(_0x481cd1){const _0x258861=_0x22ee30[_0x69286(0xe2)][_0x69286(0x127)][_0x69286(0x114)][_0x69286(0x120)]()[_0x69286(0x115)]()[_0x69286(0x116)](_0x19c9f9=>_0x19c9f9['is'](_0x69286(0x137),_0x69286(0x11a)));this[_0x69286(0xe6)](_0x51c2ba[_0x69286(0xfa)],_0x258861)||(_0x57cb2e[_0x69286(0x11d)]=!0x1,_0x57cb2e[_0x69286(0xe5)]());}},{'priority':_0x61a60a(0xdc)});}}[_0x54e316(0xdb)](){const _0x2144d8=_0x54e316,_0x3a0f85=this[_0x2144d8(0x108)][_0x2144d8(0xdd)][_0x2144d8(0x119)](_0x2144d8(0x128)),_0x392132=this[_0x2144d8(0x108)][_0x2144d8(0x12f)][_0x2144d8(0x119)](_0x2144d8(0xf7));if(!_0x3a0f85[_0x2144d8(0x101)])return!0x1;const _0x30ba47=_0x392132[_0x2144d8(0x12a)](this[_0x2144d8(0x108)][_0x2144d8(0xe2)][_0x2144d8(0x127)][_0x2144d8(0x114)]);for(const _0x51f746 of _0x30ba47)for(const _0x46cc1f of _0x30ba47)if(_0x51f746!=_0x46cc1f&&!this[_0x2144d8(0xe6)](_0x51f746,_0x46cc1f))return!0x1;return!0x0;}[_0x54e316(0xe6)](_0x56a4ff,_0x3f4cbe){const _0x53bc05=_0x54e316,_0x2cbc58=this[_0x53bc05(0x108)][_0x53bc05(0x12f)][_0x53bc05(0x119)](_0x53bc05(0x132)),_0x1d4faa=this[_0x53bc05(0x108)][_0x53bc05(0xe2)][_0x53bc05(0xe8)](_0x56a4ff),_0x4d3eaf=this[_0x53bc05(0x108)][_0x53bc05(0xe2)][_0x53bc05(0xe8)](_0x3f4cbe),_0x2c645b=new Set(),_0x308009=new Set();for(const _0x321b11 of _0x2cbc58[_0x53bc05(0x106)]())if((_0x53bc05(0x102)==_0x321b11[_0x53bc05(0x123)]||_0x53bc05(0xe0)==_0x321b11[_0x53bc05(0x123)]||_0x53bc05(0x128)==_0x321b11[_0x53bc05(0x138)])&&_0x321b11[_0x53bc05(0xf0)]){for(const _0x8f23fe of _0x321b11[_0x53bc05(0xfb)]())_0x8f23fe[_0x53bc05(0x10e)](_0x1d4faa,!0x0)&&_0x2c645b[_0x53bc05(0xf2)](_0x321b11[_0x53bc05(0x123)]+':'+_0x321b11[_0x53bc05(0x130)]['id']),_0x8f23fe[_0x53bc05(0x10e)](_0x4d3eaf,!0x0)&&_0x308009[_0x53bc05(0xf2)](_0x321b11[_0x53bc05(0x123)]+':'+_0x321b11[_0x53bc05(0x130)]['id']);}if(_0x2c645b[_0x53bc05(0x12d)]!=_0x308009[_0x53bc05(0x12d)])return!0x1;for(const _0x86b01e of _0x2c645b)if(!_0x308009[_0x53bc05(0x12b)](_0x86b01e))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b2825=_0x42c2;function _0x3337(){const _0x53d09c=['6XuDZzc','44cFEZnZ','ELEMENT_TABLE_OF_CONTENTS','448uKcBkx','commands','editor','tableOfContents','4427656DPpQBd','locale','1907685LDuDdA','_descriptionFactory','afterInit','get','plugins','TrackChangesEditing','30OOHEzk','223145wUcZJg','4793340EgVpFw','registerElementLabel','enableCommand','insertTableOfContents','125749IupTBv','114078AtYqJM','21097967mOOPEr'];_0x3337=function(){return _0x53d09c;};return _0x3337();}function _0x42c2(_0x41b679,_0x1cfe61){const _0x3337d3=_0x3337();return _0x42c2=function(_0x42c2e7,_0x57fe4e){_0x42c2e7=_0x42c2e7-0x119;let _0x24fa30=_0x3337d3[_0x42c2e7];return _0x24fa30;},_0x42c2(_0x41b679,_0x1cfe61);}(function(_0x3b252d,_0x2aac3d){const _0x1ccadc=_0x42c2,_0x2cc9b9=_0x3b252d();while(!![]){try{const _0x219583=-parseInt(_0x1ccadc(0x130))/0x1*(-parseInt(_0x1ccadc(0x11b))/0x2)+parseInt(_0x1ccadc(0x12c))/0x3+parseInt(_0x1ccadc(0x11c))/0x4*(-parseInt(_0x1ccadc(0x12b))/0x5)+-parseInt(_0x1ccadc(0x119))/0x6*(parseInt(_0x1ccadc(0x11e))/0x7)+-parseInt(_0x1ccadc(0x122))/0x8+-parseInt(_0x1ccadc(0x124))/0x9*(parseInt(_0x1ccadc(0x12a))/0xa)+parseInt(_0x1ccadc(0x11a))/0xb;if(_0x219583===_0x2aac3d)break;else _0x2cc9b9['push'](_0x2cc9b9['shift']());}catch(_0x4051a6){_0x2cc9b9['push'](_0x2cc9b9['shift']());}}}(_0x3337,0xf3251));import{Plugin as _0x5171fd}from'ckeditor5/src/core.js';import{getTranslation as _0x3b675d}from'../utils/common-translations.js';export default class _t extends _0x5171fd{[_0x4b2825(0x126)](){const _0x3a45ae=_0x4b2825,_0x24eb2c=this[_0x3a45ae(0x120)];if(!_0x24eb2c[_0x3a45ae(0x11f)][_0x3a45ae(0x127)](_0x3a45ae(0x12f)))return;_0x24eb2c[_0x3a45ae(0x128)][_0x3a45ae(0x127)](_0x3a45ae(0x129))[_0x3a45ae(0x12e)](_0x3a45ae(0x12f));const _0xe8a539=_0x24eb2c[_0x3a45ae(0x128)][_0x3a45ae(0x127)](_0x3a45ae(0x129)),_0x1a2251=_0x24eb2c[_0x3a45ae(0x123)];_0xe8a539[_0x3a45ae(0x125)][_0x3a45ae(0x12d)](_0x3a45ae(0x121),_0x4cd2cc=>_0x3b675d(_0x1a2251,_0x3a45ae(0x11d),_0x4cd2cc));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48174b=_0x418d;function _0x418d(_0x1f42f5,_0x47fc55){const _0x4dbddd=_0x4dbd();return _0x418d=function(_0x418d18,_0x5a3d95){_0x418d18=_0x418d18-0x152;let _0x35b621=_0x4dbddd[_0x418d18];return _0x35b621;},_0x418d(_0x1f42f5,_0x47fc55);}(function(_0x42c5aa,_0x32a181){const _0x4347d1=_0x418d,_0x53b712=_0x42c5aa();while(!![]){try{const _0x17ad91=parseInt(_0x4347d1(0x1a0))/0x1+-parseInt(_0x4347d1(0x15e))/0x2*(-parseInt(_0x4347d1(0x171))/0x3)+parseInt(_0x4347d1(0x179))/0x4*(parseInt(_0x4347d1(0x169))/0x5)+parseInt(_0x4347d1(0x167))/0x6*(-parseInt(_0x4347d1(0x16d))/0x7)+parseInt(_0x4347d1(0x154))/0x8+-parseInt(_0x4347d1(0x18d))/0x9+-parseInt(_0x4347d1(0x197))/0xa*(parseInt(_0x4347d1(0x186))/0xb);if(_0x17ad91===_0x32a181)break;else _0x53b712['push'](_0x53b712['shift']());}catch(_0x454480){_0x53b712['push'](_0x53b712['shift']());}}}(_0x4dbd,0xa5601));function _0x4dbd(){const _0x2bfb74=['tableAlignment','434MFleql','tableBorderStyle','handleSuggestionDescription','*Format:*\x20change\x20table\x20properties','3966jRodKt','TableUtils','selection','registerCustomCallback','_getSuggestion','getAttribute','_handlePropertyChange','batch','2284cjJLSX','document','tableCellBackgroundColor','getContainedElement','tableCellProperties','markBlockFormat','removeAttribute','tableCellBorderColor','tableProperties','tableBorderColor','get','model','tableCellHeight','242Sakavl','afterInit','TrackChangesEditing','tableCellPadding','tableWidth','enqueueChange','tableHeight','8761617nzwRDg','plugins','tableBorderWidth','getFirstPosition','start','_descriptionFactory','setAttribute','discard','TablePropertiesEditing','formatBlock','324930TmjGHt','_suggestionFactory','getSuggestionCallback','findAncestor','tableCellVerticalAlignment','getSelectionAffectedTableCells','accept','table','enableCommand','1349457MEuFJn','tableCellBorderWidth','TableCellPropertiesEditing','631616kVgdRl','subType','join','pluginName','change','handleDiscardAction','*Format:*\x20change\x20table\x20cell\x20properties','locale','tableCellHorizontalAlignment','tableCellBorderStyle','574hXlxTM','registerDescriptionCallback','editor','getSuggestions','TrackChangesTableProperties','commandParams','data','tableBackgroundColor','format','71610xORYpl','has','11365lBGXig','nodeAfter','tableCellWidth'];_0x4dbd=function(){return _0x2bfb74;};return _0x4dbd();}import{Plugin as _0x360462}from'ckeditor5/src/core.js';import{getTranslation as _0x591d78}from'../utils/common-translations.js';export default class Mt extends _0x360462{constructor(_0x20bd6b){const _0x5679e4=_0x418d;super(_0x20bd6b),this[_0x5679e4(0x181)]=[_0x5679e4(0x182),_0x5679e4(0x16e),_0x5679e4(0x18f),_0x5679e4(0x16c),_0x5679e4(0x18a),_0x5679e4(0x18c),_0x5679e4(0x165)],this[_0x5679e4(0x17d)]=[_0x5679e4(0x180),_0x5679e4(0x15d),_0x5679e4(0x152),_0x5679e4(0x189),_0x5679e4(0x16b),_0x5679e4(0x185),_0x5679e4(0x17b),_0x5679e4(0x15c),_0x5679e4(0x19b)];}static get[_0x48174b(0x157)](){const _0x3f19b7=_0x48174b;return _0x3f19b7(0x162);}[_0x48174b(0x187)](){const _0x3c554c=_0x48174b,_0x40e8e5=this[_0x3c554c(0x160)][_0x3c554c(0x18e)][_0x3c554c(0x183)](_0x3c554c(0x188));if(this[_0x3c554c(0x160)][_0x3c554c(0x18e)][_0x3c554c(0x168)](_0x3c554c(0x195))){for(const _0x221792 of this[_0x3c554c(0x181)])_0x40e8e5[_0x3c554c(0x19f)](_0x221792,(_0x15ecd9,_0x5188f9)=>{const _0x3b7c6e=_0x3c554c,_0x5875e2=this[_0x3b7c6e(0x160)][_0x3b7c6e(0x184)][_0x3b7c6e(0x17a)][_0x3b7c6e(0x173)][_0x3b7c6e(0x190)]()[_0x3b7c6e(0x19a)](_0x3b7c6e(0x19e));this[_0x3b7c6e(0x177)](_0x221792,[_0x5875e2],this[_0x3b7c6e(0x181)],_0x3b7c6e(0x181),_0x15ecd9,_0x5188f9);});_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x181),_0x3c554c(0x19d),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x199)](_0x3c554c(0x196),null,_0x3c554c(0x194))),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x181),_0x3c554c(0x194),(_0x55f218,_0x46fcc6)=>this[_0x3c554c(0x159)](this[_0x3c554c(0x181)],_0x55f218,_0x46fcc6)),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x181),_0x3c554c(0x156),()=>!0x1);}if(this[_0x3c554c(0x160)][_0x3c554c(0x18e)][_0x3c554c(0x168)](_0x3c554c(0x153))){for(const _0x516cdd of this[_0x3c554c(0x17d)])_0x40e8e5[_0x3c554c(0x19f)](_0x516cdd,(_0xdec558,_0x479f84)=>{const _0x15713b=_0x3c554c,_0x511f47=this[_0x15713b(0x160)][_0x15713b(0x18e)][_0x15713b(0x183)](_0x15713b(0x172))[_0x15713b(0x19c)](this[_0x15713b(0x160)][_0x15713b(0x184)][_0x15713b(0x17a)][_0x15713b(0x173)]);this[_0x15713b(0x177)](_0x516cdd,_0x511f47,this[_0x15713b(0x17d)],_0x15713b(0x17d),_0xdec558,_0x479f84);});_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x17d),_0x3c554c(0x19d),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x199)](_0x3c554c(0x196),null,_0x3c554c(0x194))),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x17d),_0x3c554c(0x194),(_0x3b8647,_0x3f6962)=>this[_0x3c554c(0x159)](this[_0x3c554c(0x17d)],_0x3b8647,_0x3f6962)),_0x40e8e5[_0x3c554c(0x198)][_0x3c554c(0x174)](_0x3c554c(0x196),_0x3c554c(0x17d),_0x3c554c(0x156),()=>!0x1);}_0x40e8e5[_0x3c554c(0x192)][_0x3c554c(0x15f)](_0x3e1a8c=>this[_0x3c554c(0x16f)](_0x3e1a8c));}[_0x48174b(0x177)](_0x941b81,_0x5e1ee6,_0x36d621,_0x3ca875,_0x4525ef,_0x177934){const _0x3c174e=_0x48174b,_0x3eab5d=this[_0x3c174e(0x160)][_0x3c174e(0x18e)][_0x3c174e(0x183)](_0x3c174e(0x188));this[_0x3c174e(0x160)][_0x3c174e(0x184)][_0x3c174e(0x18b)](_0x177934[_0x3c174e(0x178)],()=>{const _0x547052=_0x3c174e;for(const _0x43c42f of _0x5e1ee6){if(this[_0x547052(0x175)](_0x43c42f,_0x3ca875))_0x4525ef(_0x177934);else{const _0x431e58={};for(const _0x1590ab of _0x36d621){const _0xe0856d=_0x43c42f[_0x547052(0x176)](_0x1590ab);void 0x0!==_0xe0856d&&(_0x431e58[_0x1590ab]=_0xe0856d);}_0x4525ef(_0x177934),_0x3eab5d[_0x547052(0x17e)](_0x43c42f,{'commandParams':[_0x431e58]},[],_0x3ca875);}}});}[_0x48174b(0x159)](_0x43ec1a,_0x53fa13,_0x58cb49){const _0x34dcf0=_0x48174b,_0x1cb284=_0x53fa13[0x0][_0x34dcf0(0x191)][_0x34dcf0(0x16a)],_0x1e26cd=_0x58cb49[_0x34dcf0(0x163)][0x0];this[_0x34dcf0(0x160)][_0x34dcf0(0x184)][_0x34dcf0(0x158)](_0x3353a5=>{const _0x514242=_0x34dcf0;for(const _0x585982 of _0x43ec1a)void 0x0!==_0x1e26cd[_0x585982]?_0x3353a5[_0x514242(0x193)](_0x585982,_0x1e26cd[_0x585982],_0x1cb284):_0x3353a5[_0x514242(0x17f)](_0x585982,_0x1cb284);});}[_0x48174b(0x16f)](_0x3aae3a){const _0x16282e=_0x48174b;if(_0x3aae3a[_0x16282e(0x164)])switch(_0x3aae3a[_0x16282e(0x155)]){case _0x16282e(0x181):return{'type':_0x16282e(0x166),'content':_0x591d78(this[_0x16282e(0x160)][_0x16282e(0x15b)],_0x16282e(0x170))};case _0x16282e(0x17d):return{'type':_0x16282e(0x166),'content':_0x591d78(this[_0x16282e(0x160)][_0x16282e(0x15b)],_0x16282e(0x15a))};}}[_0x48174b(0x175)](_0x2e5be6,_0x6152f5){const _0x3a8325=_0x48174b,_0x47fc2b=this[_0x3a8325(0x160)][_0x3a8325(0x18e)][_0x3a8325(0x183)](_0x3a8325(0x188));for(const _0x3af7bd of _0x47fc2b[_0x3a8325(0x161)]({'skipNotAttached':!0x0})){const _0x7cbedf=_0x3af7bd[_0x3a8325(0x17c)]();if(_0x3af7bd[_0x3a8325(0x155)]===_0x6152f5&&_0x7cbedf===_0x2e5be6)return _0x3af7bd;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xae72c9=_0x16a9;function _0x2b86(){const _0x3c0865=['has','plugins','5639001eKiomL','editor','4rbnBlu','get','2384648NkWKDr','5725tEJvdl','66XjRjnU','insertTemplate','7OhhJfW','573130ICwTko','enableCommand','TrackChangesEditing','1135282HzKSYW','1966728SFGZWM','3306sDOnoM','Template','9rSIKDc','afterInit','1683660oRORyw'];_0x2b86=function(){return _0x3c0865;};return _0x2b86();}(function(_0x1197ee,_0x123dd6){const _0x12e225=_0x16a9,_0x400368=_0x1197ee();while(!![]){try{const _0x1cc038=-parseInt(_0x12e225(0xb3))/0x1+-parseInt(_0x12e225(0xb4))/0x2+parseInt(_0x12e225(0xa7))/0x3*(parseInt(_0x12e225(0xa9))/0x4)+-parseInt(_0x12e225(0xac))/0x5*(-parseInt(_0x12e225(0xb5))/0x6)+parseInt(_0x12e225(0xaf))/0x7*(-parseInt(_0x12e225(0xab))/0x8)+-parseInt(_0x12e225(0xb7))/0x9*(-parseInt(_0x12e225(0xb0))/0xa)+parseInt(_0x12e225(0xad))/0xb*(parseInt(_0x12e225(0xb9))/0xc);if(_0x1cc038===_0x123dd6)break;else _0x400368['push'](_0x400368['shift']());}catch(_0x458455){_0x400368['push'](_0x400368['shift']());}}}(_0x2b86,0xf26d2));function _0x16a9(_0x3c34a5,_0x3b775c){const _0x2b864b=_0x2b86();return _0x16a9=function(_0x16a950,_0x278025){_0x16a950=_0x16a950-0xa7;let _0x390137=_0x2b864b[_0x16a950];return _0x390137;},_0x16a9(_0x3c34a5,_0x3b775c);}import{Plugin as _0x2014c7}from'ckeditor5/src/core.js';export default class vt extends _0x2014c7{[_0xae72c9(0xb8)](){const _0x42973=_0xae72c9,_0x2d8ceb=this[_0x42973(0xa8)];_0x2d8ceb[_0x42973(0xbb)][_0x42973(0xba)](_0x42973(0xb6))&&_0x2d8ceb[_0x42973(0xbb)][_0x42973(0xaa)](_0x42973(0xb2))[_0x42973(0xb1)](_0x42973(0xae));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x477e0c=_0x12ad;(function(_0xbef8ba,_0x5bf995){const _0x2fb8c8=_0x12ad,_0x3974e8=_0xbef8ba();while(!![]){try{const _0x2b9e39=parseInt(_0x2fb8c8(0x168))/0x1+-parseInt(_0x2fb8c8(0x185))/0x2+-parseInt(_0x2fb8c8(0x184))/0x3*(-parseInt(_0x2fb8c8(0x188))/0x4)+-parseInt(_0x2fb8c8(0x181))/0x5*(parseInt(_0x2fb8c8(0x187))/0x6)+parseInt(_0x2fb8c8(0x171))/0x7+-parseInt(_0x2fb8c8(0x190))/0x8+parseInt(_0x2fb8c8(0x180))/0x9*(-parseInt(_0x2fb8c8(0x189))/0xa);if(_0x2b9e39===_0x5bf995)break;else _0x3974e8['push'](_0x3974e8['shift']());}catch(_0xb71186){_0x3974e8['push'](_0x3974e8['shift']());}}}(_0x61b4,0x737d5));function _0x61b4(){const _0x5caa84=['has','Title','start','_splitMarkerName','newRange','removeMarker','title-content','model','isTouching','_descriptionFactory','isCollapsed','createRange','isEqual','end','27OxGSHZ','84860TzGCNn','schema','document','3MFoyyB','397870lOJBHW','differ','84cPoxJz','3394676WJnbwU','1102690pCBuyy','getNearestSelectionRange','locale','updateMarker','forward','suggestion','TrackChangesEditing','4507504wBgcdE','nodeBefore','element','getChangedMarkers','279018gzPanC','plugins','ELEMENT_TITLE','afterInit','editor','get','registerElementLabel','registerPostFixer','from','4733022saUMXZ'];_0x61b4=function(){return _0x5caa84;};return _0x61b4();}import{Plugin as _0xf831bb}from'ckeditor5/src/core.js';function _0x12ad(_0x5b72b0,_0x3fc33d){const _0x61b45b=_0x61b4();return _0x12ad=function(_0x12adf8,_0x44204e){_0x12adf8=_0x12adf8-0x168;let _0x33e693=_0x61b45b[_0x12adf8];return _0x33e693;},_0x12ad(_0x5b72b0,_0x3fc33d);}import{getTranslation as _0x75f176}from'../utils/common-translations.js';export default class Ct extends _0xf831bb{[_0x477e0c(0x16b)](){const _0x28b2c4=_0x477e0c,_0xfc0a7f=this[_0x28b2c4(0x16c)];if(!_0xfc0a7f[_0x28b2c4(0x169)][_0x28b2c4(0x172)](_0x28b2c4(0x173)))return;const _0x4b1730=_0xfc0a7f[_0x28b2c4(0x169)][_0x28b2c4(0x16d)](_0x28b2c4(0x18f));_0x4b1730[_0x28b2c4(0x17b)][_0x28b2c4(0x16e)](_0x28b2c4(0x178),()=>_0x75f176(_0xfc0a7f[_0x28b2c4(0x18b)],_0x28b2c4(0x16a))),_0xfc0a7f[_0x28b2c4(0x179)][_0x28b2c4(0x183)][_0x28b2c4(0x16f)](_0x54849d=>{const _0x95a090=_0x28b2c4;let _0x371246=!0x1;const _0x2b9102=Array[_0x95a090(0x170)](_0xfc0a7f[_0x95a090(0x179)][_0x95a090(0x183)][_0x95a090(0x186)][_0x95a090(0x193)]());for(const {name:_0x29b426,data:_0x1d74f2}of _0x2b9102){const {group:_0x462e52}=_0x4b1730[_0x95a090(0x175)](_0x29b426);if(_0x95a090(0x18e)!==_0x462e52||!_0x1d74f2[_0x95a090(0x176)])continue;const _0x9afced=_0x1d74f2[_0x95a090(0x176)],_0x2ba6e2=_0x9afced[_0x95a090(0x17f)][_0x95a090(0x191)];if(!_0x2ba6e2||!_0x2ba6e2['is'](_0x95a090(0x192),_0x95a090(0x178)))continue;if(!_0x9afced[_0x95a090(0x174)][_0x95a090(0x17a)](_0x9afced[_0x95a090(0x17f)]))continue;const _0x742c33=_0xfc0a7f[_0x95a090(0x179)][_0x95a090(0x182)][_0x95a090(0x18a)](_0x9afced[_0x95a090(0x17f)],_0x95a090(0x18d));if(_0x742c33&&_0x742c33[_0x95a090(0x17c)]){const _0x1442c8=_0x54849d[_0x95a090(0x17d)](_0x9afced[_0x95a090(0x174)],_0x742c33[_0x95a090(0x174)]);_0x1442c8[_0x95a090(0x17e)](_0x9afced)||(_0x54849d[_0x95a090(0x18c)](_0x29b426,{'range':_0x1442c8}),_0x371246=!0x0);}_0x371246||(_0x54849d[_0x95a090(0x177)](_0x29b426),_0x371246=!0x0);}return _0x371246;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c9ff1=_0x3400;(function(_0x5b1db4,_0x307b05){const _0x125a85=_0x3400,_0x45e628=_0x5b1db4();while(!![]){try{const _0x173d29=-parseInt(_0x125a85(0x130))/0x1*(parseInt(_0x125a85(0x133))/0x2)+parseInt(_0x125a85(0x13c))/0x3+parseInt(_0x125a85(0x138))/0x4+-parseInt(_0x125a85(0x135))/0x5+-parseInt(_0x125a85(0x139))/0x6*(parseInt(_0x125a85(0x13d))/0x7)+parseInt(_0x125a85(0x12f))/0x8+parseInt(_0x125a85(0x132))/0x9;if(_0x173d29===_0x307b05)break;else _0x45e628['push'](_0x45e628['shift']());}catch(_0x59af54){_0x45e628['push'](_0x45e628['shift']());}}}(_0x1514,0xbf4a6));function _0x3400(_0x3faf3f,_0x567e48){const _0x15149e=_0x1514();return _0x3400=function(_0x34006b,_0x353ac7){_0x34006b=_0x34006b-0x12c;let _0xa9d99f=_0x15149e[_0x34006b];return _0xa9d99f;},_0x3400(_0x3faf3f,_0x567e48);}import{Plugin as _0x4e6997}from'ckeditor5/src/core.js';export default class Dt extends _0x4e6997{[_0x3c9ff1(0x131)](){const _0x3950a1=_0x3c9ff1,_0x280064=this[_0x3950a1(0x13a)],_0x3a6430=_0x280064[_0x3950a1(0x13b)][_0x3950a1(0x12d)](_0x3950a1(0x136));_0x280064[_0x3950a1(0x13b)][_0x3950a1(0x134)](_0x3950a1(0x13e))&&(_0x3a6430[_0x3950a1(0x12e)](_0x3950a1(0x12c)),_0x3a6430[_0x3950a1(0x12e)](_0x3950a1(0x137)));}}function _0x1514(){const _0x5b32e2=['undo','get','enableCommand','653240MJJRvz','1ZHCWCb','afterInit','25437942gujrqJ','1508434kTTWoI','has','6450860loqxGs','TrackChangesEditing','redo','528468pvjddd','54JgOQjm','editor','plugins','58878vUeMby','180383IUnceV','UndoEditing'];_0x1514=function(){return _0x5b32e2;};return _0x1514();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1b3c(){const _0x1ecdb7=['elementEnd','isBlock','insert','plugins','mapper','listItem','ck-suggestion-marker-','359184wyqJfq','consumable','writer','35NiIobN','bindElementToMarker','item','get','schema','createRangeOn','span','getAttribute','test','type','previousPosition','includes','7864424DzcKuO','7046BNdyxC','nextSibling','getWalker','createUIElement','isAtEnd','model','getCustomProperty','start','markerName','addClass','markerRange','addHighlight','parent','206mxaeYA','702610IsZlrM','toViewElement','element','listIndent','TrackChangesEditing','ck-suggestion-marker--active','25630PFNNAT','isContent','toViewPosition','2208987jJcBRT','getItems','32382NxLdwj','name','isLimit','hasAttribute','activeMarkers','5481uEsDjS','push'];_0x1b3c=function(){return _0x1ecdb7;};return _0x1b3c();}function _0x32ef(_0x133a01,_0x1638ed){const _0x1b3cd7=_0x1b3c();return _0x32ef=function(_0x32efb1,_0x84bf07){_0x32efb1=_0x32efb1-0x8f;let _0x4cc3d6=_0x1b3cd7[_0x32efb1];return _0x4cc3d6;},_0x32ef(_0x133a01,_0x1638ed);}(function(_0x1c3af0,_0x3e4781){const _0xd48246=_0x32ef,_0x1423b3=_0x1c3af0();while(!![]){try{const _0x113059=-parseInt(_0xd48246(0x96))/0x1*(-parseInt(_0xd48246(0xc0))/0x2)+-parseInt(_0xd48246(0xa0))/0x3+-parseInt(_0xd48246(0xb0))/0x4+parseInt(_0xd48246(0x97))/0x5+parseInt(_0xd48246(0xa2))/0x6*(parseInt(_0xd48246(0xb3))/0x7)+-parseInt(_0xd48246(0xbf))/0x8+-parseInt(_0xd48246(0xa7))/0x9*(-parseInt(_0xd48246(0x9d))/0xa);if(_0x113059===_0x3e4781)break;else _0x1423b3['push'](_0x1423b3['shift']());}catch(_0x1f7804){_0x1423b3['push'](_0x1423b3['shift']());}}}(_0x1b3c,0x9d746));export function getRangesWithAttribute(_0x97a4d2,_0x3d90f4,_0x153525){const _0x17d514=_0x32ef,_0x4007a5=[];for(const _0x5248b6 of _0x3d90f4[_0x17d514(0xa1)]())_0x5248b6[_0x17d514(0xa5)](_0x97a4d2)&&_0x4007a5[_0x17d514(0xa8)](_0x153525[_0x17d514(0xb8)](_0x5248b6));return _0x4007a5;}export function getElementsAffectedByListItemRename(_0x4b617e){const _0x42d439=_0x32ef,_0x9b0df7=[];if(_0x4b617e['is'](_0x42d439(0x99),_0x42d439(0xae))){let _0x23f421=_0x4b617e[_0x42d439(0xc1)];for(;_0x23f421&&_0x23f421['is'](_0x42d439(0x99),_0x42d439(0xae))&&_0x23f421[_0x42d439(0xba)](_0x42d439(0x9a))>0x0;)_0x9b0df7[_0x42d439(0xa8)](_0x23f421),_0x23f421=_0x23f421[_0x42d439(0xc1)];}return _0x9b0df7;}export function downcastSplitMergeMarker(_0x42440b,_0x2c9fb5,{showActiveMarker:_0x43d88a=!0x0}={}){const _0x2e49b8=_0x32ef,_0x372236=_0x42440b[_0x2e49b8(0xac)][_0x2e49b8(0xb6)](_0x2e49b8(0x9b));return(_0x4baf10,_0x32dd46,_0x2a9228)=>{const _0x9a7dc8=_0x2e49b8;if(!_0x2a9228[_0x9a7dc8(0xb1)][_0x9a7dc8(0xbb)](_0x32dd46[_0x9a7dc8(0x93)],_0x4baf10[_0x9a7dc8(0xa3)]))return;const _0x3cd9ee=_0x32dd46[_0x9a7dc8(0x93)][_0x9a7dc8(0xc2)](),_0x4dcb2c=_0x32dd46[_0x9a7dc8(0x93)][_0x9a7dc8(0x90)],_0x33b203=_0x42440b[_0x9a7dc8(0xc5)][_0x9a7dc8(0xb7)];let _0x8c397a=null,_0x2f620e=null,_0x32fa85=!0x1,_0x5dae69=!0x1;for(const _0x3fec4c of _0x3cd9ee){const _0x7e00e=_0x3fec4c[_0x9a7dc8(0xb5)];_0x32fa85=_0x32fa85||_0x33b203[_0x9a7dc8(0x9e)](_0x7e00e);const _0x1aa4c4=_0x2a9228[_0x9a7dc8(0xad)][_0x9a7dc8(0x98)](_0x7e00e);if(_0x1aa4c4&&_0x1aa4c4[_0x9a7dc8(0x8f)](_0x9a7dc8(0x94)))return;_0x9a7dc8(0xa9)==_0x3fec4c[_0x9a7dc8(0xbc)]&&(_0x33b203[_0x9a7dc8(0xaa)](_0x7e00e)&&!_0x33b203[_0x9a7dc8(0xa4)](_0x7e00e)&&(_0x7e00e[_0x9a7dc8(0xc1)]||_0x4dcb2c[_0x9a7dc8(0xc4)]?_0x8c397a&&_0x8c397a[_0x9a7dc8(0x95)]==_0x7e00e||(_0x8c397a=_0x7e00e,_0x57a275(_0x3fec4c[_0x9a7dc8(0xbd)]),_0x5dae69=!0x0):_0x2f620e=_0x2f620e||_0x3fec4c[_0x9a7dc8(0xbd)]));}function _0x57a275(_0x382865){const _0x112a08=_0x9a7dc8,_0x5354dc=_0x2a9228[_0x112a08(0xb2)][_0x112a08(0xc3)](_0x112a08(0xb9),{'class':_0x112a08(0xaf)+_0x2c9fb5}),_0x589f41=_0x2a9228[_0x112a08(0xad)][_0x112a08(0x9f)](_0x382865);_0x43d88a&&_0x372236[_0x112a08(0xa6)][_0x112a08(0xbe)](_0x32dd46[_0x112a08(0x91)])&&_0x2a9228[_0x112a08(0xb2)][_0x112a08(0x92)](_0x112a08(0x9c),_0x5354dc),_0x2a9228[_0x112a08(0xb2)][_0x112a08(0xab)](_0x589f41,_0x5354dc),_0x2a9228[_0x112a08(0xad)][_0x112a08(0xb4)](_0x5354dc,_0x32dd46[_0x112a08(0x91)]);}_0x32fa85||_0x5dae69||!_0x2f620e||_0x57a275(_0x2f620e);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2e9af7=_0x21dc;function _0x3e2d(){const _0x905603=['_model','getMarkers','onDiscard','set','next','data','getFirstRange','_onDiscard','nodeAfter','delete','@external','toJSON','112432nUtkmx','onAccept','end','discard','type','authoredAt','getFirstMarker','isMultiRange','isInContent','substr','8914808pvhfct','add','markers','attributes','author','8683965HsVctt','_isDataLoaded','onAttributesChange','removeMarkers','previous','96081roqBeq','setAttribute','14MIZstK','reduce','addRange','getMarkerNames','_saved','_onAccept','isIntersecting','_onAttributesChange','filter','split','subType','isExternal','change','get','6285083vjdQVp','getContainedElement','_markerNames','length','hasComments','size','removeAttribute','removeMarker','clear','156pvpHVF','commentThread','decorate','addMarker','head','map','suggestion:','from','accept','nodeBefore','addMarkerName','getItems','getRanges','5853132yuAGYX','40bUsvLL','10691904HBBLbb','createdAt','push','getMultiRangeId','isIntersectingWithRange','getAllAdjacentSuggestions','getRange','start','creator'];_0x3e2d=function(){return _0x905603;};return _0x3e2d();}(function(_0x460518,_0x335f51){const _0x3dd98c=_0x21dc,_0x56a69e=_0x460518();while(!![]){try{const _0x464b28=-parseInt(_0x3dd98c(0xbd))/0x1*(parseInt(_0x3dd98c(0x82))/0x2)+-parseInt(_0x3dd98c(0x80))/0x3*(parseInt(_0x3dd98c(0x99))/0x4)+parseInt(_0x3dd98c(0x7b))/0x5+parseInt(_0x3dd98c(0xa8))/0x6+parseInt(_0x3dd98c(0x90))/0x7+parseInt(_0x3dd98c(0xc7))/0x8+-parseInt(_0x3dd98c(0xa6))/0x9*(parseInt(_0x3dd98c(0xa7))/0xa);if(_0x464b28===_0x335f51)break;else _0x56a69e['push'](_0x56a69e['shift']());}catch(_0x387af5){_0x56a69e['push'](_0x56a69e['shift']());}}}(_0x3e2d,0xda258));import{Element as _0x5f2d2c}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x323ea6,uid as _0x1cedf9}from'ckeditor5/src/utils.js';import{cloneDeep as _0x26de14,isEqual as _0x1b1798,set as _0x17f9fc,unset as _0x3cbc33}from'lodash-es';function _0x21dc(_0x1e848a,_0x3c78b7){const _0x3e2d03=_0x3e2d();return _0x21dc=function(_0x21dc49,_0x9afeef){_0x21dc49=_0x21dc49-0x77;let _0x3f0c19=_0x3e2d03[_0x21dc49];return _0x3f0c19;},_0x21dc(_0x1e848a,_0x3c78b7);}export default class u extends _0x323ea6(){constructor(_0x675931,_0x5d3d6d){const _0x14946c=_0x21dc;super(),this[_0x14946c(0x7c)]=!0x1,this['id']=_0x5d3d6d['id'],this[_0x14946c(0xc1)]=_0x5d3d6d[_0x14946c(0xc1)],this[_0x14946c(0x8c)]=_0x5d3d6d[_0x14946c(0x8c)]||null,this[_0x14946c(0x7a)]=_0x5d3d6d[_0x14946c(0x7a)],this[_0x14946c(0xb0)]=_0x5d3d6d[_0x14946c(0xb0)]||_0x5d3d6d[_0x14946c(0x7a)],this[_0x14946c(0x8d)]=Boolean(_0x5d3d6d[_0x14946c(0x79)]&&_0x5d3d6d[_0x14946c(0x79)][_0x14946c(0xbb)]),this[_0x14946c(0xb6)]=null,this[_0x14946c(0xb1)]=_0x675931,this[_0x14946c(0x87)]=_0x5d3d6d[_0x14946c(0xbe)],this[_0x14946c(0xb8)]=_0x5d3d6d[_0x14946c(0xb3)],this[_0x14946c(0x89)]=_0x5d3d6d[_0x14946c(0x7d)],this[_0x14946c(0x92)]=new Set(),this[_0x14946c(0xa9)]=null,this[_0x14946c(0xb4)](_0x14946c(0xc2),null),this[_0x14946c(0xb4)](_0x14946c(0x79),_0x5d3d6d[_0x14946c(0x79)]||{}),this[_0x14946c(0xb4)](_0x14946c(0x7f),null),this[_0x14946c(0xb4)](_0x14946c(0xb5),null),this[_0x14946c(0xb4)](_0x14946c(0x9a),null),this[_0x14946c(0xb4)](_0x14946c(0x86),!0x1),this[_0x14946c(0x9b)](_0x14946c(0xa1)),this[_0x14946c(0x9b)](_0x14946c(0xc0));}get[_0x2e9af7(0x9d)](){const _0x512f1b=_0x2e9af7;let _0x390c01=this;for(;_0x390c01[_0x512f1b(0x7f)];)_0x390c01=_0x390c01[_0x512f1b(0x7f)];return _0x390c01;}get[_0x2e9af7(0x94)](){const _0x32f267=_0x2e9af7;return!!this[_0x32f267(0x9a)]&&this[_0x32f267(0x9a)][_0x32f267(0x93)]>0x0;}get[_0x2e9af7(0xc4)](){const _0x15d616=_0x2e9af7;if(0x0==this[_0x15d616(0x92)][_0x15d616(0x95)])return!0x1;return 0x6==Array[_0x15d616(0xa0)](this[_0x15d616(0x92)])[0x0][_0x15d616(0x8b)](':')[_0x15d616(0x93)];}get[_0x2e9af7(0xc5)](){const _0x45e997=_0x2e9af7;return null!==this[_0x45e997(0xc3)]();}[_0x2e9af7(0xa3)](_0x15e683){const _0x377d10=_0x2e9af7;this[_0x377d10(0x92)][_0x377d10(0x77)](_0x15e683);}[_0x2e9af7(0x85)](){const _0x82d0f=_0x2e9af7;return Array[_0x82d0f(0xa0)](this[_0x82d0f(0x92)]);}[_0x2e9af7(0xb2)](){const _0xc472f9=_0x2e9af7;return this[_0xc472f9(0x85)]()[_0xc472f9(0x9e)](_0x4a787b=>this[_0xc472f9(0xb1)][_0xc472f9(0x78)][_0xc472f9(0x8f)](_0x4a787b))[_0xc472f9(0x8a)](_0x4d50e3=>_0x4d50e3);}[_0x2e9af7(0xc3)](){const _0x3e6b66=_0x2e9af7;return this[_0x3e6b66(0xb2)]()[0x0]||null;}[_0x2e9af7(0x7e)](){const _0xdf096a=_0x2e9af7;this[_0xdf096a(0xb1)][_0xdf096a(0x8e)](_0x4d6b07=>{const _0x1b3d14=_0xdf096a;for(const _0x2efcb9 of this[_0x1b3d14(0xb2)]())_0x4d6b07[_0x1b3d14(0x97)](_0x2efcb9);}),this[_0xdf096a(0x92)][_0xdf096a(0x98)]();}[_0x2e9af7(0x97)](_0x1b3390){const _0x183678=_0x2e9af7;this[_0x183678(0xb1)][_0x183678(0x8e)](_0x2170db=>{const _0x3180d1=_0x183678;_0x2170db[_0x3180d1(0x97)](_0x1b3390);}),this[_0x183678(0x92)][_0x183678(0xba)](_0x1b3390);}[_0x2e9af7(0x84)](_0x59e101){const _0x119d4e=_0x2e9af7,_0x4425b3=_0x119d4e(0x9f)+this[_0x119d4e(0xc1)]+':'+this[_0x119d4e(0x8c)]+':'+this['id']+':'+this[_0x119d4e(0xb0)]['id']+':'+u[_0x119d4e(0xab)]();this[_0x119d4e(0xa3)](_0x4425b3),this[_0x119d4e(0xb1)][_0x119d4e(0x8e)](_0x588962=>{const _0x2223be=_0x119d4e;_0x588962[_0x2223be(0x9c)](_0x4425b3,{'range':_0x59e101,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2e9af7(0xac)](_0x3b4b57){const _0x5401f6=_0x2e9af7;for(const _0x27c9dd of this[_0x5401f6(0xa5)]())if(_0x27c9dd[_0x5401f6(0x88)](_0x3b4b57))return!0x0;return!0x1;}[_0x2e9af7(0xa5)](){const _0x204b25=_0x2e9af7;return this[_0x204b25(0xb2)]()[_0x204b25(0x9e)](_0x1f5fff=>_0x1f5fff[_0x204b25(0xae)]());}[_0x2e9af7(0xa4)](){const _0xcf6abd=_0x2e9af7;return this[_0xcf6abd(0xa5)]()[_0xcf6abd(0x83)]((_0x3d09a0,_0x1aab03)=>[..._0x3d09a0,..._0x1aab03[_0xcf6abd(0xa4)]()],[]);}[_0x2e9af7(0xb7)](){const _0x52c3e7=_0x2e9af7;var _0x405c15;return(null===(_0x405c15=this[_0x52c3e7(0xc3)]())||void 0x0===_0x405c15?void 0x0:_0x405c15[_0x52c3e7(0xae)]())||null;}[_0x2e9af7(0x91)](){const _0x12893c=_0x2e9af7,_0x1048c3=this[_0x12893c(0xa5)]();if(0x1!=_0x1048c3[_0x12893c(0x93)])return null;const _0x5990aa=_0x1048c3[0x0],_0x3977cf=_0x5990aa[_0x12893c(0xaf)][_0x12893c(0xb9)],_0x2f94aa=_0x5990aa[_0x12893c(0xbf)][_0x12893c(0xa2)];return _0x3977cf instanceof _0x5f2d2c?_0x3977cf!=_0x2f94aa?null:_0x3977cf:null;}[_0x2e9af7(0xa1)](){const _0x39760b=_0x2e9af7;this[_0x39760b(0x87)](this[_0x39760b(0xa5)](),this[_0x39760b(0xb6)],this[_0x39760b(0x79)]),this[_0x39760b(0x7e)]();}[_0x2e9af7(0xc0)](){const _0x36740e=_0x2e9af7;this[_0x36740e(0xb8)](this[_0x36740e(0xa5)](),this[_0x36740e(0xb6)],this[_0x36740e(0x79)]),this[_0x36740e(0x7e)]();}[_0x2e9af7(0xad)](){const _0x1777cf=_0x2e9af7,_0x355197=[];let _0x1e7304=this[_0x1777cf(0x9d)];for(;_0x1e7304;)_0x355197[_0x1777cf(0xaa)](_0x1e7304),_0x1e7304=_0x1e7304[_0x1777cf(0xb5)];return _0x355197;}[_0x2e9af7(0x81)](_0x2810ef,_0xda5324){const _0x196c6e=_0x2e9af7,_0x3a9c86=_0x26de14(this[_0x196c6e(0x79)]);_0x17f9fc(_0x3a9c86,_0x2810ef,_0xda5324),_0x1b1798(_0x3a9c86,this[_0x196c6e(0x79)])||(this[_0x196c6e(0x79)]=_0x3a9c86,this[_0x196c6e(0x89)](_0x3a9c86));}[_0x2e9af7(0x96)](_0xfd98f2){const _0x371e71=_0x2e9af7,_0x454ed6=_0x26de14(this[_0x371e71(0x79)]);_0x3cbc33(_0x454ed6,_0xfd98f2),_0x1b1798(_0x454ed6,this[_0x371e71(0x79)])||(this[_0x371e71(0x79)]=_0x454ed6,this[_0x371e71(0x89)](this[_0x371e71(0x79)]));}[_0x2e9af7(0xbc)](){const _0x5d32f3=_0x2e9af7;return{'id':this['id'],'type':this[_0x5d32f3(0x8c)]?this[_0x5d32f3(0xc1)]+':'+this[_0x5d32f3(0x8c)]:this[_0x5d32f3(0xc1)],'authorId':this[_0x5d32f3(0xb0)]['id'],'createdAt':this[_0x5d32f3(0xa9)],'hasComments':this[_0x5d32f3(0x94)],'data':this[_0x5d32f3(0xb6)],'attributes':this[_0x5d32f3(0x79)]};}static[_0x2e9af7(0xab)](){const _0x241b4a=_0x2e9af7;return _0x1cedf9()[_0x241b4a(0xc6)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39ae5e=_0x49d3;(function(_0x59de70,_0x5f5875){const _0x973d96=_0x49d3,_0x3f821e=_0x59de70();while(!![]){try{const _0x33a354=parseInt(_0x973d96(0xb4))/0x1+parseInt(_0x973d96(0xb3))/0x2*(parseInt(_0x973d96(0xc7))/0x3)+-parseInt(_0x973d96(0x91))/0x4+parseInt(_0x973d96(0x6d))/0x5*(-parseInt(_0x973d96(0x87))/0x6)+-parseInt(_0x973d96(0x7c))/0x7+-parseInt(_0x973d96(0x95))/0x8*(parseInt(_0x973d96(0xb6))/0x9)+parseInt(_0x973d96(0xb8))/0xa*(parseInt(_0x973d96(0xc6))/0xb);if(_0x33a354===_0x5f5875)break;else _0x3f821e['push'](_0x3f821e['shift']());}catch(_0x30e7bc){_0x3f821e['push'](_0x3f821e['shift']());}}}(_0x4ec2,0x77752));function _0x49d3(_0x4fdb2c,_0x500d34){const _0x4ec2b8=_0x4ec2();return _0x49d3=function(_0x49d34c,_0x1286e1){_0x49d34c=_0x49d34c-0x6a;let _0x14aa1e=_0x4ec2b8[_0x49d34c];return _0x14aa1e;},_0x49d3(_0x4fdb2c,_0x500d34);}import{getTranslation as _0x223b37}from'./utils/common-translations.js';function _0x4ec2(){const _0x22591b=['push','_handleAttributeSuggestionDescription','removeContainer','normal','get','newValue','*Remove:*\x20%0','registerElementLabel','REPLACE_TEXT','Container','end','isEqual','elementStart','nodeAfter','map','has','_handleInsertRemoveSuggestionDescription','*Insert:*\x20%0','_customCallbacks','addEmptyContainer','_schema','registerAttributeLabel','$textProxy','$text','match','indexOf','format','pop','457782cSfSCV','272218EQtsbN','nextSibling','77427SrCshL','subType','5040WUdzRZ','element','quantity','addFormat','matchingCallback','EmptyContainer','name','getWalker','_locale','addContainer','replace','*Set\x20format:*\x20%0','item','ELEMENT_SPACE','19943ncPvLk','9sARKWG','isInContent','removeEmptyContainer','key','insertion','deletion','data','_handleCustomCallbackDescription','1247590cwEYgr','registerDescriptionCallback','removeObject','_itemLabels','remove','*Remove\x20format:*\x20%0','text','start','_attributeLabels','_addDescriptionItems','getItemLabel','add','removeFormat','*Split:*\x20%0','function','517804ijnOAW','getDescriptions','Object','_handleRenameSuggestionDescription','checkChild','type','getFirstRange','isEmpty','label','softBreak','isObject','6FsIqDG','length','_resolveDescriptionItems','set','previousSibling','elementEnd','_itemLabelsCallbacks','attribute','join','skip','2622056pZIwcW','$1\x20$2','*Change\x20to:*\x20%0','addObject','376vIDQub','*Merge:*\x20%0'];_0x4ec2=function(){return _0x22591b;};return _0x4ec2();}import{priorities as _0x39108b,insertToPriorityArray as _0x1642e3}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x433d20}from'./trackchangesediting.js';export default class f{constructor(_0x1e4386,_0x5d8a1f){const _0xbaff43=_0x49d3;this[_0xbaff43(0xa9)]=[],this[_0xbaff43(0x70)]=new Map(),this[_0xbaff43(0x8d)]=[],this[_0xbaff43(0x75)]=new Map(),this[_0xbaff43(0xab)]=_0x1e4386,this[_0xbaff43(0xc0)]=_0x5d8a1f;}[_0x39ae5e(0x7d)](_0x8e1273){const _0x52e77e=_0x39ae5e,_0x13a001=[],_0x5c992d=new Set(),_0x3d23f4=new Set();for(let _0x14be9a=0x0;_0x14be9a<_0x8e1273[_0x52e77e(0x88)];_0x14be9a++){const _0x258165=_0x8e1273[_0x14be9a];if(!_0x258165[_0x52e77e(0xc8)])continue;const _0x1f629e=this[_0x52e77e(0x6c)](_0x258165);if(_0x1f629e){if(null!=_0x258165[_0x52e77e(0xb7)]){if(_0x5c992d[_0x52e77e(0xa6)](_0x258165[_0x52e77e(0xb7)]))continue;_0x5c992d[_0x52e77e(0x78)](_0x258165[_0x52e77e(0xb7)]);}_0x13a001[_0x52e77e(0x97)](_0x1f629e);}else{if(_0x52e77e(0x8e)!=_0x258165[_0x52e77e(0x81)])_0x52e77e(0xcb)!=_0x258165[_0x52e77e(0x81)]&&_0x52e77e(0x6a)!=_0x258165[_0x52e77e(0x81)]||this[_0x52e77e(0xa7)](_0x13a001,_0x258165,_0x8e1273[_0x14be9a+0x1]);else{const _0x428c28=_0x258165[_0x52e77e(0x6b)][_0x52e77e(0xca)];if(_0x3d23f4[_0x52e77e(0xa6)](_0x428c28))continue;_0x3d23f4[_0x52e77e(0x78)](_0x258165[_0x52e77e(0x6b)][_0x52e77e(0xca)]),_0x428c28==_0x433d20?this[_0x52e77e(0x7f)](_0x13a001,_0x258165):this[_0x52e77e(0x98)](_0x13a001,_0x258165);}}}return this[_0x52e77e(0x89)](_0x13a001);}[_0x39ae5e(0x6e)](_0x2df9fb){const _0x1ca45d=_0x39ae5e;this[_0x1ca45d(0xa9)][_0x1ca45d(0x97)](_0x2df9fb);}[_0x39ae5e(0x9e)](_0x2ed82b,_0x32ef74,_0x392064=_0x39108b[_0x39ae5e(0x9a)]){const _0x422fa3=_0x39ae5e;_0x422fa3(0x7b)==typeof _0x2ed82b?_0x1642e3(this[_0x422fa3(0x8d)],{'matchingCallback':_0x2ed82b,'label':_0x32ef74,'priority':_0x392064}):this[_0x422fa3(0x70)][_0x422fa3(0x8a)](_0x2ed82b,_0x32ef74);}[_0x39ae5e(0xac)](_0x58bd04,_0xfc6b25){const _0x4ca2b8=_0x39ae5e;this[_0x4ca2b8(0x75)][_0x4ca2b8(0x8a)](_0x58bd04,_0xfc6b25);}[_0x39ae5e(0x77)](_0x475797,_0x5c1970=0x1){const _0x48ceee=_0x39ae5e;let _0x229486;for(const _0x275d59 of this[_0x48ceee(0x8d)])if(_0x275d59[_0x48ceee(0xbc)](_0x475797)){_0x229486=_0x275d59[_0x48ceee(0x84)];break;}return _0x229486||(_0x229486=this[_0x48ceee(0x70)][_0x48ceee(0x9b)](_0x475797[_0x48ceee(0xbe)])),_0x229486?_0x229486(_0x5c1970):0x1!==_0x5c1970?_0x5c1970+'\x20'+_0x475797[_0x48ceee(0xbe)]+'s':''+_0x475797[_0x48ceee(0xbe)];}[_0x39ae5e(0x76)](_0x10bc25,_0x4bd32e){const _0x2b8dd1=_0x39ae5e,_0xd2e28d=_0x4bd32e[_0x2b8dd1(0x82)]()[_0x2b8dd1(0xbf)](),_0x4a2cd1=_0x2b8dd1(0xcb)==_0x4bd32e[_0x2b8dd1(0x81)]?_0x2b8dd1(0x78):_0x2b8dd1(0x71);for(const _0x159e8f of _0xd2e28d){const _0x1e9748=_0x159e8f[_0x2b8dd1(0xc4)],_0xb376cb=_0x10bc25[_0x10bc25[_0x2b8dd1(0x88)]-0x1];if(_0x1e9748['is'](_0x2b8dd1(0xad)))_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))>-0x1&&_0x10bc25[_0x2b8dd1(0xb2)](),_0xb376cb&&_0x2b8dd1(0x73)==_0xb376cb[_0x2b8dd1(0x81)]?_0xb376cb[_0x4a2cd1]+=_0x1e9748[_0x2b8dd1(0x6b)]:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x2b8dd1(0x73),'add':_0x2b8dd1(0x78)==_0x4a2cd1?_0x1e9748[_0x2b8dd1(0x6b)]:'','remove':_0x2b8dd1(0x71)==_0x4a2cd1?_0x1e9748[_0x2b8dd1(0x6b)]:''});else{if(this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x1e9748)){const _0x16dc8e=_0x1e9748;if(_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))>-0x1&&_0x10bc25[_0x2b8dd1(0xb2)](),_0x2b8dd1(0x8c)==_0x159e8f[_0x2b8dd1(0x81)])continue;_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)]==_0x4a2cd1+_0x2b8dd1(0x7e)&&_0xb376cb[_0x2b8dd1(0xb9)][_0x2b8dd1(0xbe)]==_0x16dc8e[_0x2b8dd1(0xbe)]?_0xb376cb[_0x2b8dd1(0xba)]++:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0x7e),'element':_0x16dc8e,'quantity':0x1}),_0xd2e28d[_0x2b8dd1(0x90)](_0x278d24=>!(_0x2b8dd1(0x8c)==_0x278d24[_0x2b8dd1(0x81)]&&_0x278d24[_0x2b8dd1(0xc4)]==_0x1e9748));}else{if(this[_0x2b8dd1(0xab)][_0x2b8dd1(0x80)](_0x1e9748,_0x2b8dd1(0xae))||_0x1e9748['is'](_0x2b8dd1(0xb9),_0x2b8dd1(0x85))){const _0x37653c=_0x1e9748;if(_0x2b8dd1(0x78)==_0x4a2cd1&&_0x2b8dd1(0xa3)==_0x159e8f[_0x2b8dd1(0x81)]||_0x2b8dd1(0x71)==_0x4a2cd1&&_0x2b8dd1(0x8c)==_0x159e8f[_0x2b8dd1(0x81)])continue;if(_0xb376cb&&-0x1==_0xb376cb[_0x2b8dd1(0x81)][_0x2b8dd1(0xb0)](_0x2b8dd1(0xa0))){_0x2b8dd1(0x73)==_0xb376cb[_0x2b8dd1(0x81)]&&(_0xb376cb[_0x4a2cd1]+='\x0a');continue;}let _0x3b2615;if(_0x3b2615=_0x2b8dd1(0x78)==_0x4a2cd1?_0x37653c[_0x2b8dd1(0xb5)]&&!this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x37653c[_0x2b8dd1(0xb5)])?_0x37653c[_0x2b8dd1(0xb5)]:null:_0x37653c[_0x2b8dd1(0x8b)]&&!this[_0x2b8dd1(0xab)][_0x2b8dd1(0x86)](_0x37653c[_0x2b8dd1(0x8b)])?_0x37653c[_0x2b8dd1(0x8b)]:null,_0x37653c[_0x2b8dd1(0x83)]||_0x3b2615&&_0x3b2615[_0x2b8dd1(0x83)]){const _0x4610db=_0x3b2615&&_0x3b2615[_0x2b8dd1(0x83)]?_0x3b2615:_0x37653c;_0xb376cb&&_0xb376cb[_0x2b8dd1(0x81)]==_0x4a2cd1+_0x2b8dd1(0xbd)&&_0xb376cb[_0x2b8dd1(0xb9)][_0x2b8dd1(0xbe)]==_0x4610db[_0x2b8dd1(0xbe)]?_0xb376cb[_0x2b8dd1(0xba)]++:_0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0xbd),'element':_0x4610db,'quantity':0x1});}else _0x10bc25[_0x2b8dd1(0x97)]({'type':_0x4a2cd1+_0x2b8dd1(0xa0),'element':_0x37653c});}}}}}[_0x39ae5e(0x89)](_0x753998){const _0x23fd0e=_0x39ae5e,_0x4484c7=this[_0x23fd0e(0xc0)],_0x2f106e=[],_0x4d3576=[],_0x2fdef1=[];for(const _0x185838 of _0x753998)switch(_0x185838[_0x23fd0e(0x81)]){case _0x23fd0e(0x73):if(_0x185838[_0x23fd0e(0x78)]=_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0xc2)](/(\S)\u000A+(\S)/g,_0x23fd0e(0x92))[_0x23fd0e(0xc2)](/\u000A/g,''),_0x185838[_0x23fd0e(0x71)]=_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0xc2)](/(\S)\u000A+(\S)/g,_0x23fd0e(0x92))[_0x23fd0e(0xc2)](/\u000A/g,''),''!=_0x185838[_0x23fd0e(0x78)]&&''!=_0x185838[_0x23fd0e(0x71)]){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xc2),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9f),['\x22'+_0x185838[_0x23fd0e(0x71)]+'\x22','\x22'+_0x185838[_0x23fd0e(0x78)]+'\x22'])});continue;}if(null!=_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0xaf)](/^ +$/)){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),_0x223b37(_0x4484c7,_0x23fd0e(0xc5),_0x185838[_0x23fd0e(0x78)][_0x23fd0e(0x88)]))});continue;}if(null!=_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0xaf)](/^ +$/)){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),_0x223b37(_0x4484c7,_0x23fd0e(0xc5),_0x185838[_0x23fd0e(0x71)][_0x23fd0e(0x88)]))});continue;}if(''!=_0x185838[_0x23fd0e(0x78)]){_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),'\x22'+_0x185838[_0x23fd0e(0x78)]+'\x22')});continue;}_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),'\x22'+_0x185838[_0x23fd0e(0x71)]+'\x22')});continue;case _0x23fd0e(0xaa):case _0x23fd0e(0x94):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0xa8),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xc9):case _0x23fd0e(0x6f):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x9d),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xc1):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xcb),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x7a),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0x99):_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0x6a),'content':_0x223b37(_0x4484c7,_0x23fd0e(0x96),this[_0x23fd0e(0x77)](_0x185838[_0x23fd0e(0xb9)],_0x185838[_0x23fd0e(0xba)]))});continue;case _0x23fd0e(0xbb):_0x4d3576[_0x23fd0e(0x97)](_0x185838[_0x23fd0e(0xca)]);continue;case _0x23fd0e(0x79):_0x2fdef1[_0x23fd0e(0x97)](_0x185838[_0x23fd0e(0xca)]);continue;default:_0x2f106e[_0x23fd0e(0x97)](_0x185838);}if(_0x4d3576[_0x23fd0e(0x88)]){const _0x17423e=_0x4d3576[_0x23fd0e(0xa5)](_0x35037d=>this[_0x23fd0e(0x75)][_0x23fd0e(0xa6)](_0x35037d)?this[_0x23fd0e(0x75)][_0x23fd0e(0x9b)](_0x35037d):_0x35037d)[_0x23fd0e(0x8f)](',\x20');_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xb1),'content':_0x223b37(this[_0x23fd0e(0xc0)],_0x23fd0e(0xc3),_0x17423e)});}if(_0x2fdef1[_0x23fd0e(0x88)]){const _0x4b59d9=_0x2fdef1[_0x23fd0e(0xa5)](_0x22f9b0=>this[_0x23fd0e(0x75)][_0x23fd0e(0xa6)](_0x22f9b0)?this[_0x23fd0e(0x75)][_0x23fd0e(0x9b)](_0x22f9b0):_0x22f9b0)[_0x23fd0e(0x8f)](',\x20');_0x2f106e[_0x23fd0e(0x97)]({'type':_0x23fd0e(0xb1),'content':_0x223b37(this[_0x23fd0e(0xc0)],_0x23fd0e(0x72),_0x4b59d9)});}return _0x2f106e;}[_0x39ae5e(0x6c)](_0x41832f){const _0x246ac4=_0x39ae5e;for(const _0x113f74 of this[_0x246ac4(0xa9)]){const _0x5d610d=_0x113f74(_0x41832f);if(_0x5d610d&&_0x246ac4(0x81)in _0x5d610d)return _0x5d610d;}}[_0x39ae5e(0x98)](_0x3221de,_0x374af2){const _0x2dec7f=_0x39ae5e,_0x1fca3a=_0x374af2[_0x2dec7f(0x6b)],_0x3dec1a=void 0x0===_0x1fca3a[_0x2dec7f(0x9c)]?_0x2dec7f(0x79):_0x2dec7f(0xbb);_0x3221de[_0x2dec7f(0x97)]({'type':_0x3dec1a,'key':_0x1fca3a[_0x2dec7f(0xca)]});}[_0x39ae5e(0x7f)](_0x225a60,_0x357f81){const _0x656ee0=_0x39ae5e;_0x225a60[_0x656ee0(0x97)]({'type':_0x656ee0(0xb1),'content':_0x223b37(this[_0x656ee0(0xc0)],_0x656ee0(0x93),this[_0x656ee0(0x77)](_0x357f81[_0x656ee0(0x82)]()[_0x656ee0(0x74)][_0x656ee0(0xa4)],0x1))});}[_0x39ae5e(0xa7)](_0x5d6ef3,_0x4aaa7a,_0x22260f){const _0x319870=_0x39ae5e;if(this[_0x319870(0x76)](_0x5d6ef3,_0x4aaa7a),_0x22260f&&_0x22260f[_0x319870(0x82)]()&&!_0x4aaa7a[_0x319870(0x82)]()[_0x319870(0xa1)][_0x319870(0xa2)](_0x22260f[_0x319870(0x82)]()[_0x319870(0x74)])){const _0x57a7b1=_0x5d6ef3[_0x5d6ef3[_0x319870(0x88)]-0x1],_0x4bf636=_0x319870(0xcb)==_0x4aaa7a[_0x319870(0x81)]?_0x319870(0x78):_0x319870(0x71);_0x57a7b1&&_0x319870(0x73)==_0x57a7b1[_0x319870(0x81)]&&(_0x57a7b1[_0x4bf636]+='\x0a');}}}
|
|
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');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x53d5c1=_0x5acb;function _0x41c2(){var _0x21b8fb=['plugins','371691Ntkvfq','1720824IlSxGa','2768031YNBbHK','846891ddzJpm','pluginName','getSuggestion','Comments','adapter','requires','70SLibwA','addSuggestion','2429048qNzBNo','editor','addSuggestionData','TrackChanges','569834EoNOjW','getSuggestions','28542tZoFfY','get'];_0x41c2=function(){return _0x21b8fb;};return _0x41c2();}(function(_0x1a687a,_0x25734e){var _0x14b234=_0x5acb,_0xaeb962=_0x1a687a();while(!![]){try{var _0x1f1d87=-parseInt(_0x14b234(0x99))/0x1+parseInt(_0x14b234(0xa8))/0x2+-parseInt(_0x14b234(0x9c))/0x3+parseInt(_0x14b234(0x9a))/0x4+-parseInt(_0x14b234(0xa2))/0x5*(-parseInt(_0x14b234(0x96))/0x6)+parseInt(_0x14b234(0x9b))/0x7+-parseInt(_0x14b234(0xa4))/0x8;if(_0x1f1d87===_0x25734e)break;else _0xaeb962['push'](_0xaeb962['shift']());}catch(_0x229943){_0xaeb962['push'](_0xaeb962['shift']());}}}(_0x41c2,0x3598f));import{Plugin as _0x594a2c}from'ckeditor5/src/core.js';function _0x5acb(_0x121ce7,_0x34e57d){var _0x41c252=_0x41c2();return _0x5acb=function(_0x5acbd5,_0x56ba4e){_0x5acbd5=_0x5acbd5-0x95;var _0xdaea60=_0x41c252[_0x5acbd5];return _0xdaea60;},_0x5acb(_0x121ce7,_0x34e57d);}import _0x4ae0d8 from'./trackchangesui.js';import _0x2ed3f2 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x594a2c{static get[_0x53d5c1(0xa1)](){var _0x35c13c=_0x53d5c1;return[_0x2ed3f2,_0x4ae0d8,_0x35c13c(0x9f)];}static get[_0x53d5c1(0x9d)](){var _0x434c36=_0x53d5c1;return _0x434c36(0xa7);}set[_0x53d5c1(0xa0)](_0x517581){var _0x4f4a6d=_0x53d5c1;this[_0x4f4a6d(0xa5)][_0x4f4a6d(0x98)][_0x4f4a6d(0x97)](_0x2ed3f2)[_0x4f4a6d(0xa0)]=_0x517581;}get[_0x53d5c1(0xa0)](){var _0x3be79d=_0x53d5c1;return this[_0x3be79d(0xa5)][_0x3be79d(0x98)][_0x3be79d(0x97)](_0x2ed3f2)[_0x3be79d(0xa0)];}[_0x53d5c1(0xa3)](_0x57faac){var _0x433e49=_0x53d5c1;return this[_0x433e49(0xa5)][_0x433e49(0x98)][_0x433e49(0x97)](_0x2ed3f2)[_0x433e49(0xa6)](_0x57faac);}[_0x53d5c1(0x95)]({skipNotAttached:_0x30514e=!0x1,toJSON:_0x4aae37=!0x1}={}){var _0x3e9207=_0x53d5c1;return this[_0x3e9207(0xa5)][_0x3e9207(0x98)][_0x3e9207(0x97)](_0x2ed3f2)[_0x3e9207(0x95)]({'skipNotAttached':_0x30514e,'toJSON':_0x4aae37});}[_0x53d5c1(0x9e)](_0x47a7de){var _0x52e4a0=_0x53d5c1;return this[_0x52e4a0(0xa5)][_0x52e4a0(0x98)][_0x52e4a0(0x97)](_0x2ed3f2)[_0x52e4a0(0x9e)](_0x47a7de);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5e681a=_0x321c;(function(_0x1a064c,_0x194715){const _0x490e35=_0x321c,_0x1dccea=_0x1a064c();while(!![]){try{const _0x5b0e13=parseInt(_0x490e35(0x203))/0x1+-parseInt(_0x490e35(0x219))/0x2+-parseInt(_0x490e35(0x212))/0x3*(parseInt(_0x490e35(0x206))/0x4)+parseInt(_0x490e35(0x202))/0x5+parseInt(_0x490e35(0x204))/0x6*(parseInt(_0x490e35(0x214))/0x7)+-parseInt(_0x490e35(0x21b))/0x8+parseInt(_0x490e35(0x208))/0x9;if(_0x5b0e13===_0x194715)break;else _0x1dccea['push'](_0x1dccea['shift']());}catch(_0x4987bb){_0x1dccea['push'](_0x1dccea['shift']());}}}(_0x23a3,0x7c536));import{Plugin as _0x4a0d62}from'ckeditor5/src/core.js';import{CKEditorError as _0x51de09}from'ckeditor5/src/utils.js';function _0x23a3(){const _0xff858b=['Users','trackChangesData.editorCreator','TrackChangesEditing','get','getRootsAttributes','data','addSuggestionData','name','map','users','plugins','push','pluginName','destroy','getUser','discardAllSuggestions','getSuggestions','div','_adapter','define','end','createDocumentFragment','trackChangesData','document','appendChild','getDataWithDiscardedSuggestions','5034565FWwdoR','589686ealHQO','288780trqyEv','addUser','5204odASna','create','5748597WSMORI','execute','model','rootsAttributes','getFullData','result','init','TrackChangesData','getDataWithAcceptedSuggestions','config','1806dXCgjC','getRootNames','98zfEGEW','requires','Pagination','editorCreator','function','2020426DOybEd','track-changes-data-invalid-editor-creator','4851992kWtyrs','reduce','constructor','editor','TrackChangesDataGetter','useAnonymousUser','set','CommentsRepository','createElement','acceptAllSuggestions'];_0x23a3=function(){return _0xff858b;};return _0x23a3();}function _0x321c(_0x858403,_0x1cb306){const _0x23a3c5=_0x23a3();return _0x321c=function(_0x321c6c,_0x32d42e){_0x321c6c=_0x321c6c-0x1ed;let _0x3d46f7=_0x23a3c5[_0x321c6c];return _0x3d46f7;},_0x321c(_0x858403,_0x1cb306);}import _0x447220 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x33e025}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x5e681a(0x216)];export default class P extends _0x4a0d62{static get[_0x5e681a(0x215)](){return[_0x447220];}static get[_0x5e681a(0x1f4)](){const _0x551806=_0x5e681a;return _0x551806(0x20f);}[_0x5e681a(0x20e)](){const _0xf3a9eb=_0x5e681a,_0x5470cb=this[_0xf3a9eb(0x21e)];if(_0x5470cb[_0xf3a9eb(0x211)][_0xf3a9eb(0x1fb)](_0xf3a9eb(0x226),_0x5963e7=>{const _0x4c8978=_0xf3a9eb,_0x56dbd2=_0x5470cb[_0x4c8978(0x20a)][_0x4c8978(0x1ff)][_0x4c8978(0x213)]()[_0x4c8978(0x21c)]((_0x413c92,_0x274fda)=>(_0x413c92[_0x274fda]='',_0x413c92),{});return _0x5470cb[_0x4c8978(0x21d)][_0x4c8978(0x207)](_0x56dbd2,_0x5963e7);}),_0xf3a9eb(0x218)!=typeof _0x5470cb[_0xf3a9eb(0x211)][_0xf3a9eb(0x228)](_0xf3a9eb(0x1fe))[_0xf3a9eb(0x217)])throw new _0x51de09(_0xf3a9eb(0x21a));}[_0x5e681a(0x210)](_0x719cc4){const _0x572dbe=_0x5e681a;return N(this[_0x572dbe(0x21e)],!0x0,_0x719cc4);}[_0x5e681a(0x201)](_0x56fc2e){const _0x18053a=_0x5e681a;return N(this[_0x18053a(0x21e)],!0x1,_0x56fc2e);}}class D extends _0x4a0d62{static get[_0x5e681a(0x1f4)](){const _0x53a5b1=_0x5e681a;return _0x53a5b1(0x21f);}constructor(_0x1a36c7){const _0x1ea2dc=_0x5e681a;super(_0x1a36c7),this[_0x1ea2dc(0x20d)]=_0x1ea2dc(0x1fc);}[_0x5e681a(0x20e)](){const _0x5e487b=_0x5e681a;this[_0x5e487b(0x21e)][_0x5e487b(0x1f2)][_0x5e487b(0x228)](_0x5e487b(0x222))[_0x5e487b(0x1fa)]={'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[_0x5e487b(0x21e)][_0x5e487b(0x1f2)][_0x5e487b(0x228)](_0x5e487b(0x227))[_0x5e487b(0x1fa)]=null;}}function v(_0x2c5b34){const _0x25f38f=_0x5e681a;return void 0x0!==_0x2c5b34[_0x25f38f(0x229)];}async function N(_0x36d502,_0x415395,_0x59d9a8){const _0x2215cb=_0x5e681a,_0x2ced36=_0x33e025(_0x36d502,T);_0x2ced36[_0x2215cb(0x1f2)][_0x2215cb(0x1f3)](_0x447220,D),_0x2ced36[_0x2215cb(0x20b)]=v(_0x36d502)?_0x36d502[_0x2215cb(0x229)]():void 0x0;const _0x52c116=document[_0x2215cb(0x1fd)](),_0x2e0d2c=_0x36d502[_0x2215cb(0x211)][_0x2215cb(0x228)](_0x2215cb(0x1fe))[_0x2215cb(0x217)],_0x28dcab=await _0x2e0d2c(_0x2ced36,()=>function(_0x50b161){const _0xac55d4=_0x2215cb,_0xb2dc4d=document[_0xac55d4(0x223)](_0xac55d4(0x1f9));return _0x50b161[_0xac55d4(0x200)](_0xb2dc4d),_0xb2dc4d;}(_0x52c116));!function(_0xcdfb92,_0x341fa8){const _0x3262d0=_0x2215cb,_0x2c68d3=_0xcdfb92[_0x3262d0(0x20a)][_0x3262d0(0x1ff)][_0x3262d0(0x213)]()[_0x3262d0(0x21c)]((_0x2937f1,_0x5e37b5)=>(_0x2937f1[_0x5e37b5]=_0xcdfb92[_0x3262d0(0x1ed)][_0x3262d0(0x228)]({'rootName':_0x5e37b5}),_0x2937f1),{}),_0x45c0b5=_0xcdfb92[_0x3262d0(0x1f2)][_0x3262d0(0x228)](_0x3262d0(0x225))[_0x3262d0(0x1f1)][_0x3262d0(0x1f0)](_0x55541c=>({'id':_0x55541c['id'],'name':_0x55541c[_0x3262d0(0x1ef)]})),_0x580f57=_0xcdfb92[_0x3262d0(0x1f2)][_0x3262d0(0x228)](_0x3262d0(0x227))[_0x3262d0(0x1f8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x284331=_0x341fa8[_0x3262d0(0x1f2)][_0x3262d0(0x228)](_0x3262d0(0x225)),_0x18a1af=_0x341fa8[_0x3262d0(0x1f2)][_0x3262d0(0x228)](_0x3262d0(0x227));for(const _0x1adaed of _0x45c0b5)_0x284331[_0x3262d0(0x1f6)](_0x1adaed['id'])||_0x284331[_0x3262d0(0x205)](_0x1adaed);_0x284331['me']||_0x284331[_0x3262d0(0x220)]();for(const _0x597ea9 of _0x580f57)_0x18a1af[_0x3262d0(0x1ee)](_0x597ea9);_0x341fa8[_0x3262d0(0x1ed)][_0x3262d0(0x221)](_0x2c68d3);}(_0x36d502,_0x28dcab),_0x28dcab[_0x2215cb(0x209)](_0x415395?_0x2215cb(0x224):_0x2215cb(0x1f7));const _0x582b39=v(_0x28dcab)?_0x28dcab[_0x2215cb(0x20c)](_0x59d9a8):_0x28dcab[_0x2215cb(0x1ed)][_0x2215cb(0x228)](_0x59d9a8);return await _0x28dcab[_0x2215cb(0x1f5)](),_0x582b39;}
|