@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240722.0 → 0.0.0-nightly-20240723.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/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.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/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- 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 +2 -2
- 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 _0x375263=_0xe006;(function(_0x19fe75,_0x36fab3){const _0x27eccb=_0xe006,_0x18fafe=_0x19fe75();while(!![]){try{const _0x3b8993=parseInt(_0x27eccb(0x10c))/0x1+-parseInt(_0x27eccb(0x14c))/0x2+-parseInt(_0x27eccb(0x11f))/0x3*(-parseInt(_0x27eccb(0x142))/0x4)+-parseInt(_0x27eccb(0x14b))/0x5*(parseInt(_0x27eccb(0x113))/0x6)+-parseInt(_0x27eccb(0x123))/0x7+parseInt(_0x27eccb(0x12c))/0x8+-parseInt(_0x27eccb(0x150))/0x9*(-parseInt(_0x27eccb(0x12b))/0xa);if(_0x3b8993===_0x36fab3)break;else _0x18fafe['push'](_0x18fafe['shift']());}catch(_0x12a5e2){_0x18fafe['push'](_0x18fafe['shift']());}}}(_0x1f74,0x7ad15));import{Plugin as _0x4e3581}from'ckeditor5/src/core.js';import _0x30fd2c from'./table.js';function _0xe006(_0x5e567c,_0x58e1dd){const _0x1f7443=_0x1f74();return _0xe006=function(_0xe00660,_0x39b393){_0xe00660=_0xe00660-0x105;let _0x4eb463=_0x1f7443[_0xe00660];return _0x4eb463;},_0xe006(_0x5e567c,_0x58e1dd);}import{LiveRange as _0x458011}from'ckeditor5/src/engine.js';import{getTranslation as _0x31dc73}from'../utils/common-translations.js';function _0x1f74(){const _0x5cfa5c=['get','markBlockFormat','createRangeOn','*Split\x20cell:*\x20vertically','getSelectionAffectedTableCells','splitTableCellHorizontally','createTableWalker','subType','registerDescriptionCallback','formatBlock','159421woioGY','fromRange','commandName','getCellLocation','mergeTableCellDown','trackChanges','push','972LyFvUp','selection','enableCommand','cell','TableEditing','deletion','requires','mergeTableCells','TableUtils','add','set:isEnabled','isEnabled','3JQLnMH','execute','splitTableCellVertically','plugins','6820275qhwwNM','mergeTableCellLeft','length','tableCell','forceDefaultExecution','isInContent','type','$graveyard','2952190etZqLG','2962232eVLkqj','afterInit','filter','horizontally','_isForcedDefaultExecutionBlock','from','*Split\x20cell:*\x20horizontally','locale','author','return','*Merge\x20cells*','getAncestors','accept','format','refresh','_acceptFormatSuggestionCallbackFactory','setSelection','direction','table','map','root','value','3515324DzHRBT','element','find','mergeTableCellRight','commands','findAncestor','_areSelectedCellsMergable','formatInline','detach','24850TIjMAQ','613762mbjMTc','low','getRanges','TrackChangesEditing','36NHuctO','registerCustomCallback','stop','getSuggestions','highest','descriptionFactory','_areMergableCells','model','markMultiRangeBlockFormat','size','insertion','_tablePostFixingSubtypes','mergeTableCellUp','change','containsRange','_suggestionFactory','getFirstPosition','rootName','document','has','editor'];_0x1f74=function(){return _0x5cfa5c;};return _0x1f74();}export default class At extends _0x4e3581{static get[_0x375263(0x119)](){return[_0x30fd2c];}[_0x375263(0x12d)](){const _0x5d9420=_0x375263,_0x24e888=this[_0x5d9420(0x164)],_0x23483e=_0x24e888[_0x5d9420(0x157)][_0x5d9420(0x162)][_0x5d9420(0x114)],_0x3be5e0=_0x24e888[_0x5d9420(0x133)];if(!_0x24e888[_0x5d9420(0x122)][_0x5d9420(0x163)](_0x5d9420(0x117)))return;const _0x37b46a=_0x24e888[_0x5d9420(0x122)][_0x5d9420(0x165)](_0x5d9420(0x14f)),_0x436b34=_0x24e888[_0x5d9420(0x122)][_0x5d9420(0x165)](_0x5d9420(0x11b)),_0x78588f=_0x24e888[_0x5d9420(0x122)][_0x5d9420(0x165)](_0x30fd2c);_0x78588f[_0x5d9420(0x15b)][_0x5d9420(0x112)](_0x5d9420(0x11a)),_0x37b46a[_0x5d9420(0x115)](_0x5d9420(0x11a),()=>{const _0x39a1e5=_0x5d9420,_0x30818f=_0x436b34[_0x39a1e5(0x106)](_0x24e888[_0x39a1e5(0x157)][_0x39a1e5(0x162)][_0x39a1e5(0x114)]);_0x24e888[_0x39a1e5(0x157)][_0x39a1e5(0x15d)](()=>{const _0x3f3ffa=_0x39a1e5;_0x37b46a[_0x3f3ffa(0x158)](_0x30818f,{'commandName':_0x3f3ffa(0x11a),'commandParams':[]},[],_0x3f3ffa(0x11a));});}),_0x24e888[_0x5d9420(0x146)][_0x5d9420(0x165)](_0x5d9420(0x11a))['on'](_0x5d9420(0x120),(_0xf5cb8b,_0x54bfbd)=>{const _0xa6939d=_0x5d9420;_0x24e888[_0xa6939d(0x146)][_0xa6939d(0x165)](_0xa6939d(0x111))[_0xa6939d(0x141)]&&(_0x54bfbd[_0xa6939d(0x125)]>0x0&&_0x54bfbd[_0x54bfbd[_0xa6939d(0x125)]-0x1]&&_0x54bfbd[_0x54bfbd[_0xa6939d(0x125)]-0x1][_0xa6939d(0x127)]||_0x37b46a[_0xa6939d(0x130)]||this[_0xa6939d(0x148)]()||_0xf5cb8b[_0xa6939d(0x152)]());},{'priority':_0x5d9420(0x154)});for(const _0x4bd798 of[_0x5d9420(0x15c),_0x5d9420(0x145),_0x5d9420(0x110),_0x5d9420(0x124)]){const _0x2511ec=_0x24e888[_0x5d9420(0x146)][_0x5d9420(0x165)](_0x4bd798);_0x37b46a[_0x5d9420(0x115)](_0x4bd798,()=>{const _0x1a4ada=_0x5d9420,_0x3164ed=_0x24e888[_0x1a4ada(0x157)][_0x1a4ada(0x162)][_0x1a4ada(0x114)][_0x1a4ada(0x160)]()[_0x1a4ada(0x137)]()[_0x1a4ada(0x144)](_0xe2cf0a=>_0xe2cf0a['is'](_0x1a4ada(0x143),_0x1a4ada(0x126))),_0x4ecfff=_0x2511ec[_0x1a4ada(0x141)];_0x24e888[_0x1a4ada(0x157)][_0x1a4ada(0x15d)](()=>{const _0x1f3b7e=_0x1a4ada;_0x37b46a[_0x1f3b7e(0x158)]([_0x3164ed,_0x4ecfff],{'commandName':_0x1f3b7e(0x11a),'commandParams':[]},[],_0x1f3b7e(0x11a));});});}for(const _0x370ad5 of[_0x5d9420(0x121),_0x5d9420(0x107)]){const _0x3ba394=_0x24e888[_0x5d9420(0x146)][_0x5d9420(0x165)](_0x370ad5);_0x37b46a[_0x5d9420(0x115)](_0x370ad5,()=>{const _0x313428=_0x5d9420,_0x26c445=_0x436b34[_0x313428(0x106)](_0x24e888[_0x313428(0x157)][_0x313428(0x162)][_0x313428(0x114)])[0x0],_0x35368c=_0x26c445[_0x313428(0x147)](_0x313428(0x13e)),{column:_0x2192b9,row:_0x5f10bc}=_0x436b34[_0x313428(0x10f)](_0x26c445);let _0x2f3ec4=[];if(_0x313428(0x12f)==_0x3ba394[_0x313428(0x13d)]){const _0x8bd0cd=_0x436b34[_0x313428(0x108)](_0x35368c,{'startRow':_0x5f10bc,'endRow':_0x5f10bc,'includeAllSlots':!0x0});_0x2f3ec4=Array[_0x313428(0x131)](_0x8bd0cd)[_0x313428(0x13f)](_0xea297f=>_0xea297f[_0x313428(0x116)]);}else{const _0xed9c5=_0x436b34[_0x313428(0x108)](_0x35368c,{'column':_0x2192b9,'includeAllSlots':!0x0});_0x2f3ec4=Array[_0x313428(0x131)](_0xed9c5)[_0x313428(0x13f)](_0xa077dc=>_0xa077dc[_0x313428(0x116)]);}_0x24e888[_0x313428(0x157)][_0x313428(0x15d)](_0x4759a6=>{const _0x4832fb=_0x313428;_0x37b46a[_0x4832fb(0x166)](_0x4759a6[_0x4832fb(0x167)](_0x26c445),{'commandName':_0x370ad5,'commandParams':[]},_0x2f3ec4,_0x370ad5);});});}_0x37b46a[_0x5d9420(0x155)][_0x5d9420(0x10a)](_0x5715d9=>{const _0x125e2b=_0x5d9420;if(_0x125e2b(0x10b)!=_0x5715d9[_0x125e2b(0x129)]&&_0x125e2b(0x149)!=_0x5715d9[_0x125e2b(0x129)])return;const {data:_0x4f8cbe}=_0x5715d9;return _0x4f8cbe&&_0x125e2b(0x11a)==_0x4f8cbe[_0x125e2b(0x10e)]?{'type':_0x125e2b(0x139),'content':_0x31dc73(_0x3be5e0,_0x125e2b(0x136))}:void 0x0;}),_0x37b46a[_0x5d9420(0x155)][_0x5d9420(0x10a)](_0x16ccc2=>{const _0xd6660a=_0x5d9420;if(_0xd6660a(0x10b)!=_0x16ccc2[_0xd6660a(0x129)]&&_0xd6660a(0x149)!=_0x16ccc2[_0xd6660a(0x129)])return;const {data:_0x6d52b7}=_0x16ccc2;return _0x6d52b7?_0xd6660a(0x121)==_0x6d52b7[_0xd6660a(0x10e)]?{'type':_0xd6660a(0x139),'content':_0x31dc73(_0x3be5e0,_0xd6660a(0x105))}:_0xd6660a(0x107)==_0x6d52b7[_0xd6660a(0x10e)]?{'type':_0xd6660a(0x139),'content':_0x31dc73(_0x3be5e0,_0xd6660a(0x132))}:void 0x0:void 0x0;});const _0x12c416=_0x78588f[_0x5d9420(0x13b)]();for(const _0x56975 of[_0x5d9420(0x15c),_0x5d9420(0x145),_0x5d9420(0x110),_0x5d9420(0x124)])_0x37b46a[_0x5d9420(0x15f)][_0x5d9420(0x151)](_0x5d9420(0x10b),_0x56975,_0x5d9420(0x138),_0x12c416);for(const _0x411915 of[_0x5d9420(0x121),_0x5d9420(0x107)])_0x37b46a[_0x5d9420(0x15f)][_0x5d9420(0x151)](_0x5d9420(0x10b),_0x411915,_0x5d9420(0x138),_0x12c416);_0x37b46a[_0x5d9420(0x15f)][_0x5d9420(0x151)](_0x5d9420(0x10b),_0x5d9420(0x11a),_0x5d9420(0x138),_0x49b33c=>{const _0xd99412=_0x5d9420;_0x24e888[_0xd99412(0x157)][_0xd99412(0x15d)](_0x1568cb=>{const _0x424083=_0xd99412,_0x1460cd=Array[_0x424083(0x131)](_0x23483e[_0x424083(0x14e)]())[_0x424083(0x13f)](_0x10ac9f=>_0x458011[_0x424083(0x10d)](_0x10ac9f));_0x1568cb[_0x424083(0x13c)](_0x49b33c),_0x24e888[_0x424083(0x146)][_0x424083(0x165)](_0x424083(0x11a))[_0x424083(0x13a)](),_0x24e888[_0x424083(0x120)](_0x424083(0x11a),{'forceDefaultExecution':!0x0});const _0xa82cf5=_0x1460cd[_0x424083(0x12e)](_0x395748=>_0x424083(0x12a)!=_0x395748[_0x424083(0x140)][_0x424083(0x161)]);_0xa82cf5[_0x424083(0x125)]>0x0&&_0x1568cb[_0x424083(0x13c)](_0xa82cf5);for(const _0x53045e of _0x1460cd)_0x53045e[_0x424083(0x14a)]();});});for(const _0x4d1e3f of[_0x5d9420(0x15c),_0x5d9420(0x110),_0x5d9420(0x124),_0x5d9420(0x145)]){const _0x165565=_0x24e888[_0x5d9420(0x146)][_0x5d9420(0x165)](_0x4d1e3f);_0x165565['on'](_0x5d9420(0x11d),(_0x38513c,_0x223cc8,_0x3a3643)=>{const _0x39b9e5=_0x5d9420;if(_0x3a3643){const _0x4ea369=_0x24e888[_0x39b9e5(0x157)][_0x39b9e5(0x162)][_0x39b9e5(0x114)][_0x39b9e5(0x160)]()[_0x39b9e5(0x137)]()[_0x39b9e5(0x144)](_0x222f1c=>_0x222f1c['is'](_0x39b9e5(0x143),_0x39b9e5(0x126)));this[_0x39b9e5(0x156)](_0x165565[_0x39b9e5(0x141)],_0x4ea369)||(_0x38513c[_0x39b9e5(0x135)]=!0x1,_0x38513c[_0x39b9e5(0x152)]());}},{'priority':_0x5d9420(0x14d)});}}[_0x375263(0x148)](){const _0xe3104a=_0x375263,_0x2d722b=this[_0xe3104a(0x164)][_0xe3104a(0x146)][_0xe3104a(0x165)](_0xe3104a(0x11a)),_0x1175ab=this[_0xe3104a(0x164)][_0xe3104a(0x122)][_0xe3104a(0x165)](_0xe3104a(0x11b));if(!_0x2d722b[_0xe3104a(0x11e)])return!0x1;const _0x450bfa=_0x1175ab[_0xe3104a(0x106)](this[_0xe3104a(0x164)][_0xe3104a(0x157)][_0xe3104a(0x162)][_0xe3104a(0x114)]);for(const _0x1fb471 of _0x450bfa)for(const _0x443f8d of _0x450bfa)if(_0x1fb471!=_0x443f8d&&!this[_0xe3104a(0x156)](_0x1fb471,_0x443f8d))return!0x1;return!0x0;}[_0x375263(0x156)](_0x3c3dea,_0x34a2c4){const _0x55d9f3=_0x375263,_0xa35238=this[_0x55d9f3(0x164)][_0x55d9f3(0x122)][_0x55d9f3(0x165)](_0x55d9f3(0x14f)),_0xed89d3=this[_0x55d9f3(0x164)][_0x55d9f3(0x157)][_0x55d9f3(0x167)](_0x3c3dea),_0x52d62a=this[_0x55d9f3(0x164)][_0x55d9f3(0x157)][_0x55d9f3(0x167)](_0x34a2c4),_0x28a0a3=new Set(),_0x1df964=new Set();for(const _0x48af8d of _0xa35238[_0x55d9f3(0x153)]())if((_0x55d9f3(0x15a)==_0x48af8d[_0x55d9f3(0x129)]||_0x55d9f3(0x118)==_0x48af8d[_0x55d9f3(0x129)]||_0x55d9f3(0x11a)==_0x48af8d[_0x55d9f3(0x109)])&&_0x48af8d[_0x55d9f3(0x128)]){for(const _0x55e0ad of _0x48af8d[_0x55d9f3(0x14e)]())_0x55e0ad[_0x55d9f3(0x15e)](_0xed89d3,!0x0)&&_0x28a0a3[_0x55d9f3(0x11c)](_0x48af8d[_0x55d9f3(0x129)]+':'+_0x48af8d[_0x55d9f3(0x134)]['id']),_0x55e0ad[_0x55d9f3(0x15e)](_0x52d62a,!0x0)&&_0x1df964[_0x55d9f3(0x11c)](_0x48af8d[_0x55d9f3(0x129)]+':'+_0x48af8d[_0x55d9f3(0x134)]['id']);}if(_0x28a0a3[_0x55d9f3(0x159)]!=_0x1df964[_0x55d9f3(0x159)])return!0x1;for(const _0x179bbf of _0x28a0a3)if(!_0x1df964[_0x55d9f3(0x163)](_0x179bbf))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x12feb8=_0x5665;(function(_0x379a5c,_0x1a8216){const _0x567bd8=_0x5665,_0xa5221c=_0x379a5c();while(!![]){try{const _0x335e39=-parseInt(_0x567bd8(0xd5))/0x1*(parseInt(_0x567bd8(0xbe))/0x2)+parseInt(_0x567bd8(0xe1))/0x3*(parseInt(_0x567bd8(0xb8))/0x4)+-parseInt(_0x567bd8(0xee))/0x5+-parseInt(_0x567bd8(0xa6))/0x6+parseInt(_0x567bd8(0xea))/0x7*(-parseInt(_0x567bd8(0xcd))/0x8)+-parseInt(_0x567bd8(0xcc))/0x9*(parseInt(_0x567bd8(0xc1))/0xa)+-parseInt(_0x567bd8(0xdb))/0xb*(-parseInt(_0x567bd8(0x93))/0xc);if(_0x335e39===_0x1a8216)break;else _0xa5221c['push'](_0xa5221c['shift']());}catch(_0x2ebf06){_0xa5221c['push'](_0xa5221c['shift']());}}}(_0x5e5d,0x36d98));import{Plugin as _0x1c71d6}from'ckeditor5/src/core.js';function _0x5665(_0x5ded0f,_0x5de48a){const _0x5e5dbe=_0x5e5d();return _0x5665=function(_0x5665ff,_0x14829){_0x5665ff=_0x5665ff-0x91;let _0x68a620=_0x5e5dbe[_0x5665ff];return _0x68a620;},_0x5665(_0x5ded0f,_0x5de48a);}import _0xc26c40 from'./table.js';import{LiveRange as _0x2e6ea0}from'ckeditor5/src/engine.js';import{getTranslation as _0x38e586}from'../utils/common-translations.js';export default class At extends _0x1c71d6{static get[_0x12feb8(0xe8)](){return[_0xc26c40];}[_0x12feb8(0xc0)](){const _0x409dd2=_0x12feb8,_0x3f93c0=this[_0x409dd2(0x9d)],_0x53db99=_0x3f93c0[_0x409dd2(0xd1)][_0x409dd2(0xa5)][_0x409dd2(0x99)],_0x123597=_0x3f93c0[_0x409dd2(0xb2)];if(!_0x3f93c0[_0x409dd2(0xd6)][_0x409dd2(0xc2)](_0x409dd2(0xe7)))return;const _0x2304ee=_0x3f93c0[_0x409dd2(0xd6)][_0x409dd2(0xf4)](_0x409dd2(0xd2)),_0x47306a=_0x3f93c0[_0x409dd2(0xd6)][_0x409dd2(0xf4)](_0x409dd2(0x9b)),_0x402262=_0x3f93c0[_0x409dd2(0xd6)][_0x409dd2(0xf4)](_0xc26c40);_0x402262[_0x409dd2(0x97)][_0x409dd2(0xed)](_0x409dd2(0xce)),_0x2304ee[_0x409dd2(0xb5)](_0x409dd2(0xce),()=>{const _0x3e48ca=_0x409dd2,_0x4c4134=_0x47306a[_0x3e48ca(0xb7)](_0x3f93c0[_0x3e48ca(0xd1)][_0x3e48ca(0xa5)][_0x3e48ca(0x99)]);_0x3f93c0[_0x3e48ca(0xd1)][_0x3e48ca(0xbf)](()=>{const _0x339d0e=_0x3e48ca;_0x2304ee[_0x339d0e(0xac)](_0x4c4134,{'commandName':_0x339d0e(0xce),'commandParams':[]},[],_0x339d0e(0xce));});}),_0x3f93c0[_0x409dd2(0xf2)][_0x409dd2(0xf4)](_0x409dd2(0xce))['on'](_0x409dd2(0x9e),(_0xb1ac6e,_0x3536cb)=>{const _0xb47c24=_0x409dd2;_0x3f93c0[_0xb47c24(0xf2)][_0xb47c24(0xf4)](_0xb47c24(0xc7))[_0xb47c24(0x98)]&&(_0x3536cb[_0xb47c24(0xdf)]>0x0&&_0x3536cb[_0x3536cb[_0xb47c24(0xdf)]-0x1]&&_0x3536cb[_0x3536cb[_0xb47c24(0xdf)]-0x1][_0xb47c24(0xa8)]||_0x2304ee[_0xb47c24(0xa0)]||this[_0xb47c24(0xbb)]()||_0xb1ac6e[_0xb47c24(0x9c)]());},{'priority':_0x409dd2(0xc9)});for(const _0x1c96a9 of[_0x409dd2(0xec),_0x409dd2(0xeb),_0x409dd2(0xa7),_0x409dd2(0xa3)]){const _0x1bb15e=_0x3f93c0[_0x409dd2(0xf2)][_0x409dd2(0xf4)](_0x1c96a9);_0x2304ee[_0x409dd2(0xb5)](_0x1c96a9,()=>{const _0x5742e0=_0x409dd2,_0x1a80dc=_0x3f93c0[_0x5742e0(0xd1)][_0x5742e0(0xa5)][_0x5742e0(0x99)][_0x5742e0(0xe0)]()[_0x5742e0(0x96)]()[_0x5742e0(0xae)](_0x473777=>_0x473777['is'](_0x5742e0(0xb9),_0x5742e0(0xe2))),_0x24612b=_0x1bb15e[_0x5742e0(0x98)];_0x3f93c0[_0x5742e0(0xd1)][_0x5742e0(0xbf)](()=>{const _0x38f5ec=_0x5742e0;_0x2304ee[_0x38f5ec(0xac)]([_0x1a80dc,_0x24612b],{'commandName':_0x38f5ec(0xce),'commandParams':[]},[],_0x38f5ec(0xce));});});}for(const _0x2f2407 of[_0x409dd2(0xc4),_0x409dd2(0x92)]){const _0x203464=_0x3f93c0[_0x409dd2(0xf2)][_0x409dd2(0xf4)](_0x2f2407);_0x2304ee[_0x409dd2(0xb5)](_0x2f2407,()=>{const _0x5bd58c=_0x409dd2,_0x48691b=_0x47306a[_0x5bd58c(0xb7)](_0x3f93c0[_0x5bd58c(0xd1)][_0x5bd58c(0xa5)][_0x5bd58c(0x99)])[0x0],_0xaeb084=_0x48691b[_0x5bd58c(0xd9)](_0x5bd58c(0xc8)),{column:_0x134eef,row:_0x20a831}=_0x47306a[_0x5bd58c(0xca)](_0x48691b);let _0xb72235=[];if(_0x5bd58c(0x94)==_0x203464[_0x5bd58c(0xb1)]){const _0x30e359=_0x47306a[_0x5bd58c(0xcb)](_0xaeb084,{'startRow':_0x20a831,'endRow':_0x20a831,'includeAllSlots':!0x0});_0xb72235=Array[_0x5bd58c(0xdd)](_0x30e359)[_0x5bd58c(0xc3)](_0x8555ef=>_0x8555ef[_0x5bd58c(0xad)]);}else{const _0x40d77e=_0x47306a[_0x5bd58c(0xcb)](_0xaeb084,{'column':_0x134eef,'includeAllSlots':!0x0});_0xb72235=Array[_0x5bd58c(0xdd)](_0x40d77e)[_0x5bd58c(0xc3)](_0x42c44a=>_0x42c44a[_0x5bd58c(0xad)]);}_0x3f93c0[_0x5bd58c(0xd1)][_0x5bd58c(0xbf)](_0x105a79=>{const _0x5e54a9=_0x5bd58c;_0x2304ee[_0x5e54a9(0xe6)](_0x105a79[_0x5e54a9(0x9a)](_0x48691b),{'commandName':_0x2f2407,'commandParams':[]},_0xb72235,_0x2f2407);});});}_0x2304ee[_0x409dd2(0xda)][_0x409dd2(0xaf)](_0x5da9ea=>{const _0x23caf8=_0x409dd2;if(_0x23caf8(0xb0)!=_0x5da9ea[_0x23caf8(0xab)]&&_0x23caf8(0xe9)!=_0x5da9ea[_0x23caf8(0xab)])return;const {data:_0x1f54b3}=_0x5da9ea;return _0x1f54b3&&_0x23caf8(0xce)==_0x1f54b3[_0x23caf8(0xd7)]?{'type':_0x23caf8(0xa4),'content':_0x38e586(_0x123597,_0x23caf8(0xb4))}:void 0x0;}),_0x2304ee[_0x409dd2(0xda)][_0x409dd2(0xaf)](_0x3fefc9=>{const _0x54a6f4=_0x409dd2;if(_0x54a6f4(0xb0)!=_0x3fefc9[_0x54a6f4(0xab)]&&_0x54a6f4(0xe9)!=_0x3fefc9[_0x54a6f4(0xab)])return;const {data:_0xbcf969}=_0x3fefc9;return _0xbcf969?_0x54a6f4(0xc4)==_0xbcf969[_0x54a6f4(0xd7)]?{'type':_0x54a6f4(0xa4),'content':_0x38e586(_0x123597,_0x54a6f4(0xf1))}:_0x54a6f4(0x92)==_0xbcf969[_0x54a6f4(0xd7)]?{'type':_0x54a6f4(0xa4),'content':_0x38e586(_0x123597,_0x54a6f4(0xbd))}:void 0x0:void 0x0;});const _0x4ebdbb=_0x402262[_0x409dd2(0xa2)]();for(const _0x458bf3 of[_0x409dd2(0xec),_0x409dd2(0xeb),_0x409dd2(0xa7),_0x409dd2(0xa3)])_0x2304ee[_0x409dd2(0xb6)][_0x409dd2(0xf3)](_0x409dd2(0xb0),_0x458bf3,_0x409dd2(0xbc),_0x4ebdbb);for(const _0x52e2c9 of[_0x409dd2(0xc4),_0x409dd2(0x92)])_0x2304ee[_0x409dd2(0xb6)][_0x409dd2(0xf3)](_0x409dd2(0xb0),_0x52e2c9,_0x409dd2(0xbc),_0x4ebdbb);_0x2304ee[_0x409dd2(0xb6)][_0x409dd2(0xf3)](_0x409dd2(0xb0),_0x409dd2(0xce),_0x409dd2(0xbc),_0xcaa9b2=>{const _0x47609f=_0x409dd2;_0x3f93c0[_0x47609f(0xd1)][_0x47609f(0xbf)](_0x57f1ad=>{const _0x18f67a=_0x47609f,_0x47b5ef=Array[_0x18f67a(0xdd)](_0x53db99[_0x18f67a(0xa9)]())[_0x18f67a(0xc3)](_0x1dff7a=>_0x2e6ea0[_0x18f67a(0xdc)](_0x1dff7a));_0x57f1ad[_0x18f67a(0xef)](_0xcaa9b2),_0x3f93c0[_0x18f67a(0xf2)][_0x18f67a(0xf4)](_0x18f67a(0xce))[_0x18f67a(0xe4)](),_0x3f93c0[_0x18f67a(0x9e)](_0x18f67a(0xce),{'forceDefaultExecution':!0x0});const _0x297ff9=_0x47b5ef[_0x18f67a(0xe5)](_0x1b4329=>_0x18f67a(0x95)!=_0x1b4329[_0x18f67a(0xc6)][_0x18f67a(0xa1)]);_0x297ff9[_0x18f67a(0xdf)]>0x0&&_0x57f1ad[_0x18f67a(0xef)](_0x297ff9);for(const _0x3911ca of _0x47b5ef)_0x3911ca[_0x18f67a(0xba)]();});});for(const _0xd237c of[_0x409dd2(0xec),_0x409dd2(0xa7),_0x409dd2(0xa3),_0x409dd2(0xeb)]){const _0x486c96=_0x3f93c0[_0x409dd2(0xf2)][_0x409dd2(0xf4)](_0xd237c);_0x486c96['on'](_0x409dd2(0xd0),(_0x33f713,_0x355805,_0x461ce4)=>{const _0x463c5a=_0x409dd2;if(_0x461ce4){const _0x5889bd=_0x3f93c0[_0x463c5a(0xd1)][_0x463c5a(0xa5)][_0x463c5a(0x99)][_0x463c5a(0xe0)]()[_0x463c5a(0x96)]()[_0x463c5a(0xae)](_0x23d26b=>_0x23d26b['is'](_0x463c5a(0xb9),_0x463c5a(0xe2)));this[_0x463c5a(0xf5)](_0x486c96[_0x463c5a(0x98)],_0x5889bd)||(_0x33f713[_0x463c5a(0xb3)]=!0x1,_0x33f713[_0x463c5a(0x9c)]());}},{'priority':_0x409dd2(0xd8)});}}[_0x12feb8(0xbb)](){const _0x171d06=_0x12feb8,_0x2fe2a3=this[_0x171d06(0x9d)][_0x171d06(0xf2)][_0x171d06(0xf4)](_0x171d06(0xce)),_0x93d95f=this[_0x171d06(0x9d)][_0x171d06(0xd6)][_0x171d06(0xf4)](_0x171d06(0x9b));if(!_0x2fe2a3[_0x171d06(0xf0)])return!0x1;const _0x45a140=_0x93d95f[_0x171d06(0xb7)](this[_0x171d06(0x9d)][_0x171d06(0xd1)][_0x171d06(0xa5)][_0x171d06(0x99)]);for(const _0x1b21fc of _0x45a140)for(const _0x5d4794 of _0x45a140)if(_0x1b21fc!=_0x5d4794&&!this[_0x171d06(0xf5)](_0x1b21fc,_0x5d4794))return!0x1;return!0x0;}[_0x12feb8(0xf5)](_0x14c06c,_0x13d84){const _0x6993b2=_0x12feb8,_0x4e734a=this[_0x6993b2(0x9d)][_0x6993b2(0xd6)][_0x6993b2(0xf4)](_0x6993b2(0xd2)),_0x3aa5e9=this[_0x6993b2(0x9d)][_0x6993b2(0xd1)][_0x6993b2(0x9a)](_0x14c06c),_0x3c11f8=this[_0x6993b2(0x9d)][_0x6993b2(0xd1)][_0x6993b2(0x9a)](_0x13d84),_0x2ddff4=new Set(),_0x522c87=new Set();for(const _0x21063c of _0x4e734a[_0x6993b2(0xcf)]())if((_0x6993b2(0xde)==_0x21063c[_0x6993b2(0xab)]||_0x6993b2(0xd3)==_0x21063c[_0x6993b2(0xab)]||_0x6993b2(0xce)==_0x21063c[_0x6993b2(0xd4)])&&_0x21063c[_0x6993b2(0xc5)]){for(const _0x5144a3 of _0x21063c[_0x6993b2(0xa9)]())_0x5144a3[_0x6993b2(0x91)](_0x3aa5e9,!0x0)&&_0x2ddff4[_0x6993b2(0xe3)](_0x21063c[_0x6993b2(0xab)]+':'+_0x21063c[_0x6993b2(0xaa)]['id']),_0x5144a3[_0x6993b2(0x91)](_0x3c11f8,!0x0)&&_0x522c87[_0x6993b2(0xe3)](_0x21063c[_0x6993b2(0xab)]+':'+_0x21063c[_0x6993b2(0xaa)]['id']);}if(_0x2ddff4[_0x6993b2(0x9f)]!=_0x522c87[_0x6993b2(0x9f)])return!0x1;for(const _0x3be3a0 of _0x2ddff4)if(!_0x522c87[_0x6993b2(0xc2)](_0x3be3a0))return!0x1;return!0x0;}}function _0x5e5d(){const _0x521729=['registerDescriptionCallback','formatBlock','direction','locale','return','*Merge\x20cells*','enableCommand','_suggestionFactory','getSelectionAffectedTableCells','9212nMTKWb','element','detach','_areSelectedCellsMergable','accept','*Split\x20cell:*\x20horizontally','5470unLobx','change','afterInit','2090PEoYAw','has','map','splitTableCellVertically','isInContent','root','trackChanges','table','highest','getCellLocation','createTableWalker','8163CPkeuo','3074872ndCGYB','mergeTableCells','getSuggestions','set:isEnabled','model','TrackChangesEditing','deletion','subType','43oVeVUC','plugins','commandName','low','findAncestor','descriptionFactory','15004pauUFa','fromRange','from','insertion','length','getFirstPosition','105DKoiHy','tableCell','add','refresh','filter','markBlockFormat','TableEditing','requires','formatInline','7oVuIrC','mergeTableCellRight','mergeTableCellUp','push','1812110qPAhDe','setSelection','isEnabled','*Split\x20cell:*\x20vertically','commands','registerCustomCallback','get','_areMergableCells','containsRange','splitTableCellHorizontally','13404bpjQRf','horizontally','$graveyard','getAncestors','_tablePostFixingSubtypes','value','selection','createRangeOn','TableUtils','stop','editor','execute','size','_isForcedDefaultExecutionBlock','rootName','_acceptFormatSuggestionCallbackFactory','mergeTableCellLeft','format','document','1953480jRMxoV','mergeTableCellDown','forceDefaultExecution','getRanges','author','type','markMultiRangeBlockFormat','cell','find'];_0x5e5d=function(){return _0x521729;};return _0x5e5d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x542f9e=_0x1c3d;(function(_0xcd21ce,_0x51d3cc){const _0xd5391b=_0x1c3d,_0x1a456c=_0xcd21ce();while(!![]){try{const _0x89fd3c=parseInt(_0xd5391b(0x1ab))/0x1*(parseInt(_0xd5391b(0x1a9))/0x2)+parseInt(_0xd5391b(0x1b3))/0x3*(-parseInt(_0xd5391b(0x1b9))/0x4)+-parseInt(_0xd5391b(0x1b5))/0x5+-parseInt(_0xd5391b(0x1b4))/0x6*(parseInt(_0xd5391b(0x1af))/0x7)+parseInt(_0xd5391b(0x1ac))/0x8+-parseInt(_0xd5391b(0x1a8))/0x9*(parseInt(_0xd5391b(0x1a2))/0xa)+parseInt(_0xd5391b(0x1b6))/0xb*(parseInt(_0xd5391b(0x1aa))/0xc);if(_0x89fd3c===_0x51d3cc)break;else _0x1a456c['push'](_0x1a456c['shift']());}catch(_0x3ce41d){_0x1a456c['push'](_0x1a456c['shift']());}}}(_0x1f24,0x60fc3));import{Plugin as _0x5155f3}from'ckeditor5/src/core.js';import{getTranslation as _0xf4ca86}from'../utils/common-translations.js';export default class Dt extends _0x5155f3{[_0x542f9e(0x1b2)](){const _0x428fce=_0x542f9e,_0x532da0=this[_0x428fce(0x1ad)];if(!_0x532da0[_0x428fce(0x1ba)][_0x428fce(0x1a3)](_0x428fce(0x1ae)))return;_0x532da0[_0x428fce(0x1b0)][_0x428fce(0x1a3)](_0x428fce(0x1b7))[_0x428fce(0x1a6)](_0x428fce(0x1ae));const _0x9c93f2=_0x532da0[_0x428fce(0x1b0)][_0x428fce(0x1a3)](_0x428fce(0x1b7)),_0x535288=_0x532da0[_0x428fce(0x1a5)];_0x9c93f2[_0x428fce(0x1b1)][_0x428fce(0x1a4)](_0x428fce(0x1a7),_0x43dc4e=>_0xf4ca86(_0x535288,_0x428fce(0x1b8),_0x43dc4e));}}function _0x1c3d(_0x107acf,_0x303bbd){const _0x1f24f9=_0x1f24();return _0x1c3d=function(_0x1c3d6e,_0x4ffdf1){_0x1c3d6e=_0x1c3d6e-0x1a2;let _0x59b89f=_0x1f24f9[_0x1c3d6e];return _0x59b89f;},_0x1c3d(_0x107acf,_0x303bbd);}function _0x1f24(){const _0x3142db=['descriptionFactory','afterInit','3Rjfuhh','6xVdPxT','2960100AKezKN','99CUaXpb','TrackChangesEditing','ELEMENT_TABLE_OF_CONTENTS','2334996TUTXKE','commands','10Cmoout','get','registerElementLabel','locale','enableCommand','tableOfContents','3056058sVlaPo','236746gRLrcP','1874532MRLPsi','1AxIeGP','3282616fShOFa','editor','insertTableOfContents','154119nbcvWT','plugins'];_0x1f24=function(){return _0x3142db;};return _0x1f24();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42a525=_0x2638;(function(_0x3a2f33,_0x930206){const _0x59a089=_0x2638,_0x5f49b8=_0x3a2f33();while(!![]){try{const _0x4f77f1=parseInt(_0x59a089(0x204))/0x1*(parseInt(_0x59a089(0x1ef))/0x2)+-parseInt(_0x59a089(0x1dc))/0x3+-parseInt(_0x59a089(0x1f8))/0x4*(parseInt(_0x59a089(0x205))/0x5)+parseInt(_0x59a089(0x1ea))/0x6+parseInt(_0x59a089(0x21a))/0x7+-parseInt(_0x59a089(0x1da))/0x8+parseInt(_0x59a089(0x1f7))/0x9;if(_0x4f77f1===_0x930206)break;else _0x5f49b8['push'](_0x5f49b8['shift']());}catch(_0x1e8ca9){_0x5f49b8['push'](_0x5f49b8['shift']());}}}(_0x5274,0x8844f));import{Plugin as _0x252880}from'ckeditor5/src/core.js';import{getTranslation as _0x101e34}from'../utils/common-translations.js';export default class Bt extends _0x252880{constructor(_0x9dffce){const _0x230513=_0x2638;super(_0x9dffce),this[_0x230513(0x1db)]=[_0x230513(0x1f6),_0x230513(0x20b),_0x230513(0x1e1),_0x230513(0x1e8),_0x230513(0x21f),_0x230513(0x1d6),_0x230513(0x1fa)],this[_0x230513(0x20d)]=[_0x230513(0x216),_0x230513(0x1ff),_0x230513(0x20c),_0x230513(0x1e3),_0x230513(0x1f5),_0x230513(0x211),_0x230513(0x208),_0x230513(0x212),_0x230513(0x1fd)];}static get[_0x42a525(0x1e5)](){const _0xc142e8=_0x42a525;return _0xc142e8(0x213);}[_0x42a525(0x218)](){const _0xc69e7c=_0x42a525,_0x204cad=this[_0xc69e7c(0x1fb)][_0xc69e7c(0x217)][_0xc69e7c(0x201)](_0xc69e7c(0x21d));if(this[_0xc69e7c(0x1fb)][_0xc69e7c(0x217)][_0xc69e7c(0x219)](_0xc69e7c(0x1d4))){for(const _0x14c92c of this[_0xc69e7c(0x1db)])_0x204cad[_0xc69e7c(0x207)](_0x14c92c,(_0x34f7ef,_0x1b05fb)=>{const _0x438a1d=_0xc69e7c,_0x142ab9=this[_0x438a1d(0x1fb)][_0x438a1d(0x1f4)][_0x438a1d(0x209)][_0x438a1d(0x1f0)][_0x438a1d(0x20f)]()[_0x438a1d(0x1ec)](_0x438a1d(0x220));this[_0x438a1d(0x1f1)](_0x14c92c,[_0x142ab9],this[_0x438a1d(0x1db)],_0x438a1d(0x1db),_0x34f7ef,_0x1b05fb);});_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x1db),_0xc69e7c(0x1e6),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1ee)](_0xc69e7c(0x21c),null,_0xc69e7c(0x21b))),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x1db),_0xc69e7c(0x21b),(_0x4c9008,_0xabbfcd)=>this[_0xc69e7c(0x1d8)](this[_0xc69e7c(0x1db)],_0x4c9008,_0xabbfcd)),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x1db),_0xc69e7c(0x214),()=>!0x1);}if(this[_0xc69e7c(0x1fb)][_0xc69e7c(0x217)][_0xc69e7c(0x219)](_0xc69e7c(0x202))){for(const _0x43e997 of this[_0xc69e7c(0x20d)])_0x204cad[_0xc69e7c(0x207)](_0x43e997,(_0x4f7c1d,_0x1f5610)=>{const _0x336842=_0xc69e7c,_0x1d10c0=this[_0x336842(0x1fb)][_0x336842(0x217)][_0x336842(0x201)](_0x336842(0x1df))[_0x336842(0x203)](this[_0x336842(0x1fb)][_0x336842(0x1f4)][_0x336842(0x209)][_0x336842(0x1f0)]);this[_0x336842(0x1f1)](_0x43e997,_0x1d10c0,this[_0x336842(0x20d)],_0x336842(0x20d),_0x4f7c1d,_0x1f5610);});_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x20d),_0xc69e7c(0x1e6),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1ee)](_0xc69e7c(0x21c),null,_0xc69e7c(0x21b))),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x20d),_0xc69e7c(0x21b),(_0x3975bf,_0xbbd10d)=>this[_0xc69e7c(0x1d8)](this[_0xc69e7c(0x20d)],_0x3975bf,_0xbbd10d)),_0x204cad[_0xc69e7c(0x1fc)][_0xc69e7c(0x1e2)](_0xc69e7c(0x21c),_0xc69e7c(0x20d),_0xc69e7c(0x214),()=>!0x1);}_0x204cad[_0xc69e7c(0x1de)][_0xc69e7c(0x1d7)](_0x37d706=>this[_0xc69e7c(0x200)](_0x37d706));}[_0x42a525(0x1f1)](_0x3d2803,_0x4f749b,_0x1ccbb6,_0xdb3b04,_0x1bb4be,_0x442dbb){const _0x325648=_0x42a525,_0x34c574=this[_0x325648(0x1fb)][_0x325648(0x217)][_0x325648(0x201)](_0x325648(0x21d));this[_0x325648(0x1fb)][_0x325648(0x1f4)][_0x325648(0x215)](_0x442dbb[_0x325648(0x1d5)],()=>{const _0x3e6f05=_0x325648;for(const _0x1a7932 of _0x4f749b){if(this[_0x3e6f05(0x1e9)](_0x1a7932,_0xdb3b04))_0x1bb4be(_0x442dbb);else{const _0x3dbce1={};for(const _0x7dc8ef of _0x1ccbb6){const _0x108885=_0x1a7932[_0x3e6f05(0x1eb)](_0x7dc8ef);void 0x0!==_0x108885&&(_0x3dbce1[_0x7dc8ef]=_0x108885);}_0x1bb4be(_0x442dbb),_0x34c574[_0x3e6f05(0x1e7)](_0x1a7932,{'commandParams':[_0x3dbce1]},[],_0xdb3b04);}}});}[_0x42a525(0x1d8)](_0x935d39,_0x57a08d,_0x11e815){const _0x1b42fa=_0x42a525,_0xa449d4=_0x57a08d[0x0][_0x1b42fa(0x1d9)][_0x1b42fa(0x20e)],_0x346c23=_0x11e815[_0x1b42fa(0x21e)][0x0];this[_0x1b42fa(0x1fb)][_0x1b42fa(0x1f4)][_0x1b42fa(0x1f9)](_0x32897d=>{const _0x5c069a=_0x1b42fa;for(const _0x477eb9 of _0x935d39)void 0x0!==_0x346c23[_0x477eb9]?_0x32897d[_0x5c069a(0x206)](_0x477eb9,_0x346c23[_0x477eb9],_0xa449d4):_0x32897d[_0x5c069a(0x1dd)](_0x477eb9,_0xa449d4);});}[_0x42a525(0x200)](_0x27fc89){const _0x38b686=_0x42a525;if(_0x27fc89[_0x38b686(0x1f3)])switch(_0x27fc89[_0x38b686(0x1f2)]){case _0x38b686(0x1db):return{'type':_0x38b686(0x1e0),'content':_0x101e34(this[_0x38b686(0x1fb)][_0x38b686(0x1ed)],_0x38b686(0x210))};case _0x38b686(0x20d):return{'type':_0x38b686(0x1e0),'content':_0x101e34(this[_0x38b686(0x1fb)][_0x38b686(0x1ed)],_0x38b686(0x1e4))};}}[_0x42a525(0x1e9)](_0x18c57d,_0x38b8fb){const _0xc2cd77=_0x42a525,_0x275a5d=this[_0xc2cd77(0x1fb)][_0xc2cd77(0x217)][_0xc2cd77(0x201)](_0xc2cd77(0x21d));for(const _0x374d0f of _0x275a5d[_0xc2cd77(0x20a)]({'skipNotAttached':!0x0})){const _0x2fbd45=_0x374d0f[_0xc2cd77(0x1fe)]();if(_0x374d0f[_0xc2cd77(0x1f2)]===_0x38b8fb&&_0x2fbd45===_0x18c57d)return _0x374d0f;}return null;}}function _0x2638(_0x50b9b4,_0x3e0f05){const _0x527480=_0x5274();return _0x2638=function(_0x26381e,_0x581f59){_0x26381e=_0x26381e-0x1d4;let _0x36e62d=_0x527480[_0x26381e];return _0x36e62d;},_0x2638(_0x50b9b4,_0x3e0f05);}function _0x5274(){const _0x4dd046=['2575202NaCRGX','discard','formatBlock','TrackChangesEditing','commandParams','tableWidth','table','TablePropertiesEditing','batch','tableHeight','registerDescriptionCallback','handleDiscardAction','start','8153448ACZlBI','tableProperties','168117fmJrbW','removeAttribute','descriptionFactory','TableUtils','format','tableBorderWidth','registerCustomCallback','tableCellPadding','*Format:*\x20change\x20table\x20cell\x20properties','pluginName','accept','markBlockFormat','tableAlignment','_getSuggestion','2024172GzmCtq','getAttribute','findAncestor','locale','getSuggestionCallback','2ncKnJf','selection','_handlePropertyChange','subType','data','model','tableCellWidth','tableBorderColor','4821507uirZWS','68HnzDpe','change','tableBackgroundColor','editor','_suggestionFactory','tableCellVerticalAlignment','getContainedElement','tableCellBorderStyle','handleSuggestionDescription','get','TableCellPropertiesEditing','getSelectionAffectedTableCells','722157YbGnKD','96985TipLYH','setAttribute','enableCommand','tableCellBackgroundColor','document','getSuggestions','tableBorderStyle','tableCellBorderWidth','tableCellProperties','nodeAfter','getFirstPosition','*Format:*\x20change\x20table\x20properties','tableCellHeight','tableCellHorizontalAlignment','TrackChangesTableProperties','join','enqueueChange','tableCellBorderColor','plugins','afterInit','has'];_0x5274=function(){return _0x4dd046;};return _0x5274();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e9c(_0x266eb8,_0xc82484){const _0x28e597=_0x28e5();return _0x5e9c=function(_0x5e9cbf,_0x4b2322){_0x5e9cbf=_0x5e9cbf-0x1c0;let _0x257ba2=_0x28e597[_0x5e9cbf];return _0x257ba2;},_0x5e9c(_0x266eb8,_0xc82484);}const _0x27e950=_0x5e9c;(function(_0x53b42e,_0x20cc0b){const _0x352936=_0x5e9c,_0x2d59f1=_0x53b42e();while(!![]){try{const _0x2f46ef=parseInt(_0x352936(0x1cb))/0x1*(-parseInt(_0x352936(0x1c5))/0x2)+parseInt(_0x352936(0x1d0))/0x3+parseInt(_0x352936(0x1c7))/0x4*(-parseInt(_0x352936(0x1c2))/0x5)+-parseInt(_0x352936(0x1c3))/0x6*(-parseInt(_0x352936(0x1cc))/0x7)+-parseInt(_0x352936(0x1d1))/0x8+parseInt(_0x352936(0x1c9))/0x9*(-parseInt(_0x352936(0x1c6))/0xa)+parseInt(_0x352936(0x1cd))/0xb;if(_0x2f46ef===_0x20cc0b)break;else _0x2d59f1['push'](_0x2d59f1['shift']());}catch(_0x10df25){_0x2d59f1['push'](_0x2d59f1['shift']());}}}(_0x28e5,0x3b74f));import{Plugin as _0xf2e314}from'ckeditor5/src/core.js';export default class _t extends _0xf2e314{[_0x27e950(0x1d2)](){const _0x13abcd=_0x27e950,_0x4f45f7=this[_0x13abcd(0x1ca)];_0x4f45f7[_0x13abcd(0x1c1)][_0x13abcd(0x1c8)](_0x13abcd(0x1ce))&&_0x4f45f7[_0x13abcd(0x1c1)][_0x13abcd(0x1c4)](_0x13abcd(0x1cf))[_0x13abcd(0x1d3)](_0x13abcd(0x1c0));}}function _0x28e5(){const _0x3e85e3=['get','50fVabcS','230riuUDM','4yrRrqw','has','132903XtJCEj','editor','446moOdqw','294mpHTtx','5622133DwKqiS','Template','TrackChangesEditing','1174560GPXyif','1207520HKdSnX','afterInit','enableCommand','insertTemplate','plugins','1650515UYowRS','24678ZlyxNi'];_0x28e5=function(){return _0x3e85e3;};return _0x28e5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e58c=_0x51e2;(function(_0x2aa2ee,_0x87fc04){const _0x8268df=_0x51e2,_0x59f21d=_0x2aa2ee();while(!![]){try{const _0x47acf8=parseInt(_0x8268df(0x1e6))/0x1*(parseInt(_0x8268df(0x1d8))/0x2)+-parseInt(_0x8268df(0x1e0))/0x3+parseInt(_0x8268df(0x1dd))/0x4*(parseInt(_0x8268df(0x1db))/0x5)+-parseInt(_0x8268df(0x1f5))/0x6+-parseInt(_0x8268df(0x1e5))/0x7+-parseInt(_0x8268df(0x1da))/0x8*(-parseInt(_0x8268df(0x1e4))/0x9)+-parseInt(_0x8268df(0x1d3))/0xa;if(_0x47acf8===_0x87fc04)break;else _0x59f21d['push'](_0x59f21d['shift']());}catch(_0x30c264){_0x59f21d['push'](_0x59f21d['shift']());}}}(_0xa3ef,0x96525));function _0x51e2(_0x1ce051,_0x4c9195){const _0xa3ef23=_0xa3ef();return _0x51e2=function(_0x51e2e9,_0xaffc12){_0x51e2e9=_0x51e2e9-0x1cd;let _0x2ee5a6=_0xa3ef23[_0x51e2e9];return _0x2ee5a6;},_0x51e2(_0x1ce051,_0x4c9195);}function _0xa3ef(){const _0x563296=['get','6955290SxdKlp','document','registerPostFixer','start','model','title-content','differ','isTouching','descriptionFactory','locale','661820qIYFLu','getChangedMarkers','ELEMENT_TITLE','afterInit','_splitMarkerName','26EcOhJO','suggestion','493000IaUONI','4775515GiQeUP','createRange','4UWDLdF','forward','editor','877782EBXddt','getNearestSelectionRange','nodeBefore','Title','63Vqdcon','529599KczlIY','63299rQpxAJ','removeMarker','end','has','plugins','isCollapsed','from','registerElementLabel','newRange','element','isEqual','TrackChangesEditing','updateMarker','schema'];_0xa3ef=function(){return _0x563296;};return _0xa3ef();}import{Plugin as _0x5578d3}from'ckeditor5/src/core.js';import{getTranslation as _0x2adf85}from'../utils/common-translations.js';export default class Nt extends _0x5578d3{[_0x31e58c(0x1d6)](){const _0x87e289=_0x31e58c,_0x9059e4=this[_0x87e289(0x1df)];if(!_0x9059e4[_0x87e289(0x1ea)][_0x87e289(0x1e9)](_0x87e289(0x1e3)))return;const _0x5b99e4=_0x9059e4[_0x87e289(0x1ea)][_0x87e289(0x1f4)](_0x87e289(0x1f1));_0x5b99e4[_0x87e289(0x1d1)][_0x87e289(0x1ed)](_0x87e289(0x1ce),()=>_0x2adf85(_0x9059e4[_0x87e289(0x1d2)],_0x87e289(0x1d5))),_0x9059e4[_0x87e289(0x1cd)][_0x87e289(0x1f6)][_0x87e289(0x1f7)](_0x1bf655=>{const _0x49e4dc=_0x87e289;let _0x4064f1=!0x1;const _0x1fd98a=Array[_0x49e4dc(0x1ec)](_0x9059e4[_0x49e4dc(0x1cd)][_0x49e4dc(0x1f6)][_0x49e4dc(0x1cf)][_0x49e4dc(0x1d4)]());for(const {name:_0x41e5f3,data:_0x289147}of _0x1fd98a){const {group:_0xc68336}=_0x5b99e4[_0x49e4dc(0x1d7)](_0x41e5f3);if(_0x49e4dc(0x1d9)!==_0xc68336||!_0x289147[_0x49e4dc(0x1ee)])continue;const _0x4e0251=_0x289147[_0x49e4dc(0x1ee)],_0x84d5e=_0x4e0251[_0x49e4dc(0x1e8)][_0x49e4dc(0x1e2)];if(!_0x84d5e||!_0x84d5e['is'](_0x49e4dc(0x1ef),_0x49e4dc(0x1ce)))continue;if(!_0x4e0251[_0x49e4dc(0x1f8)][_0x49e4dc(0x1d0)](_0x4e0251[_0x49e4dc(0x1e8)]))continue;const _0x565a3a=_0x9059e4[_0x49e4dc(0x1cd)][_0x49e4dc(0x1f3)][_0x49e4dc(0x1e1)](_0x4e0251[_0x49e4dc(0x1e8)],_0x49e4dc(0x1de));if(_0x565a3a&&_0x565a3a[_0x49e4dc(0x1eb)]){const _0x1e5619=_0x1bf655[_0x49e4dc(0x1dc)](_0x4e0251[_0x49e4dc(0x1f8)],_0x565a3a[_0x49e4dc(0x1f8)]);_0x1e5619[_0x49e4dc(0x1f0)](_0x4e0251)||(_0x1bf655[_0x49e4dc(0x1f2)](_0x41e5f3,{'range':_0x1e5619}),_0x4064f1=!0x0);}_0x4064f1||(_0x1bf655[_0x49e4dc(0x1e7)](_0x41e5f3),_0x4064f1=!0x0);}return _0x4064f1;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3401(_0x1c044c,_0x4c8670){const _0x1a7a79=_0x1a7a();return _0x3401=function(_0x3401bf,_0x4ab9d5){_0x3401bf=_0x3401bf-0x176;let _0x41ddf3=_0x1a7a79[_0x3401bf];return _0x41ddf3;},_0x3401(_0x1c044c,_0x4c8670);}const _0x4805fb=_0x3401;function _0x1a7a(){const _0x2de82b=['1519858UJrhFF','editor','1216604BaueWf','redo','has','1RUlKCw','afterInit','TrackChangesEditing','191457Nheesn','plugins','654jGtAdN','16YITGRu','2245620HHwmCj','UndoEditing','undo','get','enableCommand','4115385DFazWR','20223evnnwu','9006170eUpklO'];_0x1a7a=function(){return _0x2de82b;};return _0x1a7a();}(function(_0x3de862,_0x18463e){const _0x3974ef=_0x3401,_0x309d8a=_0x3de862();while(!![]){try{const _0x382d19=parseInt(_0x3974ef(0x187))/0x1*(-parseInt(_0x3974ef(0x182))/0x2)+-parseInt(_0x3974ef(0x176))/0x3+parseInt(_0x3974ef(0x184))/0x4+-parseInt(_0x3974ef(0x17a))/0x5+parseInt(_0x3974ef(0x178))/0x6*(-parseInt(_0x3974ef(0x180))/0x7)+-parseInt(_0x3974ef(0x179))/0x8*(-parseInt(_0x3974ef(0x17f))/0x9)+parseInt(_0x3974ef(0x181))/0xa;if(_0x382d19===_0x18463e)break;else _0x309d8a['push'](_0x309d8a['shift']());}catch(_0x32be7b){_0x309d8a['push'](_0x309d8a['shift']());}}}(_0x1a7a,0x81c45));import{Plugin as _0x596cdc}from'ckeditor5/src/core.js';export default class Mt extends _0x596cdc{[_0x4805fb(0x188)](){const _0x32ec37=_0x4805fb,_0x142a8d=this[_0x32ec37(0x183)],_0x5da2ee=_0x142a8d[_0x32ec37(0x177)][_0x32ec37(0x17d)](_0x32ec37(0x189));_0x142a8d[_0x32ec37(0x177)][_0x32ec37(0x186)](_0x32ec37(0x17b))&&(_0x5da2ee[_0x32ec37(0x17e)](_0x32ec37(0x17c)),_0x5da2ee[_0x32ec37(0x17e)](_0x32ec37(0x185)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2cf6(_0x2b07bb,_0x443ab0){const _0x112df2=_0x112d();return _0x2cf6=function(_0x2cf635,_0x3d9815){_0x2cf635=_0x2cf635-0x1be;let _0x2aa0ad=_0x112df2[_0x2cf635];return _0x2aa0ad;},_0x2cf6(_0x2b07bb,_0x443ab0);}(function(_0x59b45b,_0x56f74f){const _0x1027fe=_0x2cf6,_0x1aefe8=_0x59b45b();while(!![]){try{const _0xb34a1b=-parseInt(_0x1027fe(0x1ec))/0x1*(parseInt(_0x1027fe(0x1c1))/0x2)+parseInt(_0x1027fe(0x1c4))/0x3*(parseInt(_0x1027fe(0x1f0))/0x4)+-parseInt(_0x1027fe(0x1d2))/0x5*(-parseInt(_0x1027fe(0x1d3))/0x6)+parseInt(_0x1027fe(0x1f1))/0x7*(parseInt(_0x1027fe(0x1d1))/0x8)+parseInt(_0x1027fe(0x1eb))/0x9+parseInt(_0x1027fe(0x1ef))/0xa*(-parseInt(_0x1027fe(0x1c3))/0xb)+parseInt(_0x1027fe(0x1c5))/0xc*(-parseInt(_0x1027fe(0x1c0))/0xd);if(_0xb34a1b===_0x56f74f)break;else _0x1aefe8['push'](_0x1aefe8['shift']());}catch(_0xdeb2c3){_0x1aefe8['push'](_0x1aefe8['shift']());}}}(_0x112d,0x593ac));export function getRangesWithAttribute(_0x493c33,_0x38c9c0,_0x5b0169){const _0x5cde6d=_0x2cf6,_0x10f13e=[];for(const _0x2b6f19 of _0x38c9c0[_0x5cde6d(0x1c9)]())_0x2b6f19[_0x5cde6d(0x1d0)](_0x493c33)&&_0x10f13e[_0x5cde6d(0x1e9)](_0x5b0169[_0x5cde6d(0x1ed)](_0x2b6f19));return _0x10f13e;}function _0x112d(){const _0x4234ea=['item','test','TrackChangesEditing','type','getWalker','model','push','nextSibling','1364463TurNnU','483821oLwIKX','createRangeOn','markerName','10cxJWtc','2817572KuXKAX','28yyYxdi','get','previousPosition','addHighlight','addClass','13DOansf','2NrzcMO','plugins','5747819EQAPbb','3Zweilk','10344372UHSGgU','markerRange','bindElementToMarker','writer','getItems','mapper','elementEnd','isContent','createUIElement','activeMarkers','isAtEnd','hasAttribute','1412704FMYMGJ','90745eQyJtY','222lIlido','insert','span','ck-suggestion-marker--active','getCustomProperty','schema','ck-suggestion-marker-','isBlock','toViewPosition','consumable','parent','name','toViewElement','start','isLimit','includes'];_0x112d=function(){return _0x4234ea;};return _0x112d();}export function downcastSplitMergeMarker(_0x4b18ba,_0x545a06,{showActiveMarker:_0x19f0e5=!0x0}={}){const _0x55afed=_0x2cf6,_0x34d4cb=_0x4b18ba[_0x55afed(0x1c2)][_0x55afed(0x1f2)](_0x55afed(0x1e5));return(_0x11aa8d,_0x4612fe,_0x6778b4)=>{const _0x3fdc0e=_0x55afed;if(!_0x6778b4[_0x3fdc0e(0x1dc)][_0x3fdc0e(0x1e4)](_0x4612fe[_0x3fdc0e(0x1c6)],_0x11aa8d[_0x3fdc0e(0x1de)]))return;const _0x8e09ef=_0x4612fe[_0x3fdc0e(0x1c6)][_0x3fdc0e(0x1e7)](),_0x2b5cb9=_0x4612fe[_0x3fdc0e(0x1c6)][_0x3fdc0e(0x1e0)],_0x82a3c8=_0x4b18ba[_0x3fdc0e(0x1e8)][_0x3fdc0e(0x1d8)];let _0x23b0fa=null,_0x5258f9=null,_0x240f73=!0x1,_0x247962=!0x1;for(const _0x1a7e75 of _0x8e09ef){const _0x53e5a8=_0x1a7e75[_0x3fdc0e(0x1e3)];_0x240f73=_0x240f73||_0x82a3c8[_0x3fdc0e(0x1cc)](_0x53e5a8);const _0x3237a2=_0x6778b4[_0x3fdc0e(0x1ca)][_0x3fdc0e(0x1df)](_0x53e5a8);if(_0x3237a2&&_0x3237a2[_0x3fdc0e(0x1d7)](_0x3fdc0e(0x1be)))return;_0x3fdc0e(0x1cb)==_0x1a7e75[_0x3fdc0e(0x1e6)]&&(_0x82a3c8[_0x3fdc0e(0x1da)](_0x53e5a8)&&!_0x82a3c8[_0x3fdc0e(0x1e1)](_0x53e5a8)&&(_0x53e5a8[_0x3fdc0e(0x1ea)]||_0x2b5cb9[_0x3fdc0e(0x1cf)]?_0x23b0fa&&_0x23b0fa[_0x3fdc0e(0x1dd)]==_0x53e5a8||(_0x23b0fa=_0x53e5a8,_0x55747c(_0x1a7e75[_0x3fdc0e(0x1f3)]),_0x247962=!0x0):_0x5258f9=_0x5258f9||_0x1a7e75[_0x3fdc0e(0x1f3)]));}function _0x55747c(_0x6f7bee){const _0x5aedc0=_0x3fdc0e,_0x1e2f0e=_0x6778b4[_0x5aedc0(0x1c8)][_0x5aedc0(0x1cd)](_0x5aedc0(0x1d5),{'class':_0x5aedc0(0x1d9)+_0x545a06}),_0x3ac8c1=_0x6778b4[_0x5aedc0(0x1ca)][_0x5aedc0(0x1db)](_0x6f7bee);_0x19f0e5&&_0x34d4cb[_0x5aedc0(0x1ce)][_0x5aedc0(0x1e2)](_0x4612fe[_0x5aedc0(0x1ee)])&&_0x6778b4[_0x5aedc0(0x1c8)][_0x5aedc0(0x1bf)](_0x5aedc0(0x1d6),_0x1e2f0e),_0x6778b4[_0x5aedc0(0x1c8)][_0x5aedc0(0x1d4)](_0x3ac8c1,_0x1e2f0e),_0x6778b4[_0x5aedc0(0x1ca)][_0x5aedc0(0x1c7)](_0x1e2f0e,_0x4612fe[_0x5aedc0(0x1ee)]);}_0x240f73||_0x247962||!_0x5258f9||_0x55747c(_0x5258f9);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x58a6d2=_0x16b6;(function(_0x1a444f,_0x1de15b){const _0x4774af=_0x16b6,_0x3179ca=_0x1a444f();while(!![]){try{const _0x5f40ec=parseInt(_0x4774af(0x120))/0x1+-parseInt(_0x4774af(0x117))/0x2*(parseInt(_0x4774af(0x11e))/0x3)+parseInt(_0x4774af(0x125))/0x4+-parseInt(_0x4774af(0xea))/0x5*(-parseInt(_0x4774af(0xe1))/0x6)+-parseInt(_0x4774af(0xf8))/0x7+parseInt(_0x4774af(0x119))/0x8+parseInt(_0x4774af(0xe9))/0x9*(-parseInt(_0x4774af(0x11f))/0xa);if(_0x5f40ec===_0x1de15b)break;else _0x3179ca['push'](_0x3179ca['shift']());}catch(_0xf85189){_0x3179ca['push'](_0x3179ca['shift']());}}}(_0x466f,0x19cff));import{Element as _0x5dc19a}from'ckeditor5/src/engine.js';function _0x16b6(_0x430ffb,_0x431b59){const _0x466fa8=_0x466f();return _0x16b6=function(_0x16b663,_0x28ee26){_0x16b663=_0x16b663-0xe1;let _0x4f86fc=_0x466fa8[_0x16b663];return _0x4f86fc;},_0x16b6(_0x430ffb,_0x431b59);}function _0x466f(){const _0x32068e=['decorate','previous','removeMarkers','toJSON','_onAccept','suggestion:','removeMarker','getRanges','split','getContainedElement','nodeAfter','2HKnxwq','hasComments','1512536klTnka','commentThread','discard','author','isInContent','621729mlUJaT','30nAaUlX','195957SqAHgp','head','length','size','substr','796020MRDYZR','type','isIntersectingWithRange','getFirstRange','isExternal','getMarkerNames','add','accept','_isDataLoaded','filter','subType','addRange','data','390162iqLOBk','getRange','markers','next','onAttributesChange','delete','getMultiRangeId','@external','556704SaFqWn','5efBLjN','push','_onDiscard','_markerNames','onAccept','getFirstMarker','isIntersecting','reduce','end','getMarkers','onDiscard','get','_model','nodeBefore','1053626qEPMqz','removeAttribute','start','addMarkerName','authoredAt','createdAt','getItems','clear','addMarker','change','_saved','setAttribute','attributes','map','_onAttributesChange','isMultiRange','set','creator','from','getAllAdjacentSuggestions'];_0x466f=function(){return _0x32068e;};return _0x466f();}import{ObservableMixin as _0x204179,uid as _0xec0a8}from'ckeditor5/src/utils.js';import{cloneDeep as _0x480074,isEqual as _0x152240,set as _0x15d7bd,unset as _0x5dec97}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x204179(){constructor(_0x4abd11,_0x21eb8e){const _0x2d1ba8=_0x16b6;super(),this[_0x2d1ba8(0x12d)]=!0x1,this['id']=_0x21eb8e['id'],this[_0x2d1ba8(0x126)]=_0x21eb8e[_0x2d1ba8(0x126)],this[_0x2d1ba8(0x12f)]=_0x21eb8e[_0x2d1ba8(0x12f)]||null,this[_0x2d1ba8(0x11c)]=_0x21eb8e[_0x2d1ba8(0x11c)],this[_0x2d1ba8(0x109)]=_0x21eb8e[_0x2d1ba8(0x109)]||_0x21eb8e[_0x2d1ba8(0x11c)],this[_0x2d1ba8(0x129)]=Boolean(_0x21eb8e[_0x2d1ba8(0x104)]&&_0x21eb8e[_0x2d1ba8(0x104)][_0x2d1ba8(0xe8)]),this[_0x2d1ba8(0x131)]=null,this[_0x2d1ba8(0xf6)]=_0x4abd11,this[_0x2d1ba8(0x110)]=_0x21eb8e[_0x2d1ba8(0xee)],this[_0x2d1ba8(0xec)]=_0x21eb8e[_0x2d1ba8(0xf4)],this[_0x2d1ba8(0x106)]=_0x21eb8e[_0x2d1ba8(0xe5)],this[_0x2d1ba8(0xed)]=new Set(),this[_0x2d1ba8(0xfd)]=null,this[_0x2d1ba8(0x108)](_0x2d1ba8(0xfc),null),this[_0x2d1ba8(0x108)](_0x2d1ba8(0x104),_0x21eb8e[_0x2d1ba8(0x104)]||{}),this[_0x2d1ba8(0x108)](_0x2d1ba8(0x10d),null),this[_0x2d1ba8(0x108)](_0x2d1ba8(0xe4),null),this[_0x2d1ba8(0x108)](_0x2d1ba8(0x11a),null),this[_0x2d1ba8(0x108)](_0x2d1ba8(0x102),!0x1),this[_0x2d1ba8(0x10c)](_0x2d1ba8(0x12c)),this[_0x2d1ba8(0x10c)](_0x2d1ba8(0x11b));}get[_0x58a6d2(0x121)](){const _0x5468be=_0x58a6d2;let _0x209486=this;for(;_0x209486[_0x5468be(0x10d)];)_0x209486=_0x209486[_0x5468be(0x10d)];return _0x209486;}get[_0x58a6d2(0x118)](){const _0x88eaf0=_0x58a6d2;return!!this[_0x88eaf0(0x11a)]&&this[_0x88eaf0(0x11a)][_0x88eaf0(0x122)]>0x0;}get[_0x58a6d2(0x107)](){const _0x28ff7d=_0x58a6d2;if(0x0==this[_0x28ff7d(0xed)][_0x28ff7d(0x123)])return!0x1;return 0x6==Array[_0x28ff7d(0x10a)](this[_0x28ff7d(0xed)])[0x0][_0x28ff7d(0x114)](':')[_0x28ff7d(0x122)];}get[_0x58a6d2(0x11d)](){const _0x49f297=_0x58a6d2;return null!==this[_0x49f297(0xef)]();}[_0x58a6d2(0xfb)](_0x39406a){const _0x25d07=_0x58a6d2;this[_0x25d07(0xed)][_0x25d07(0x12b)](_0x39406a);}[_0x58a6d2(0x12a)](){const _0x3e0aff=_0x58a6d2;return Array[_0x3e0aff(0x10a)](this[_0x3e0aff(0xed)]);}[_0x58a6d2(0xf3)](){const _0x37bd89=_0x58a6d2;return this[_0x37bd89(0x12a)]()[_0x37bd89(0x105)](_0x5d0cba=>this[_0x37bd89(0xf6)][_0x37bd89(0xe3)][_0x37bd89(0xf5)](_0x5d0cba))[_0x37bd89(0x12e)](_0xd665e7=>_0xd665e7);}[_0x58a6d2(0xef)](){const _0x13a998=_0x58a6d2;return this[_0x13a998(0xf3)]()[0x0]||null;}[_0x58a6d2(0x10e)](){const _0x21c6dd=_0x58a6d2;this[_0x21c6dd(0xf6)][_0x21c6dd(0x101)](_0x5d1535=>{const _0xc82997=_0x21c6dd;for(const _0x12147e of this[_0xc82997(0xf3)]())_0x5d1535[_0xc82997(0x112)](_0x12147e);}),this[_0x21c6dd(0xed)][_0x21c6dd(0xff)]();}[_0x58a6d2(0x112)](_0x31c0a0){const _0x3478be=_0x58a6d2;this[_0x3478be(0xf6)][_0x3478be(0x101)](_0x5c1660=>{const _0x31a2d2=_0x3478be;_0x5c1660[_0x31a2d2(0x112)](_0x31c0a0);}),this[_0x3478be(0xed)][_0x3478be(0xe6)](_0x31c0a0);}[_0x58a6d2(0x130)](_0x59fb37){const _0x65bda4=_0x58a6d2,_0x5b931e=_0x65bda4(0x111)+this[_0x65bda4(0x126)]+':'+this[_0x65bda4(0x12f)]+':'+this['id']+':'+this[_0x65bda4(0x109)]['id']+':'+u[_0x65bda4(0xe7)]();this[_0x65bda4(0xfb)](_0x5b931e),this[_0x65bda4(0xf6)][_0x65bda4(0x101)](_0x12a9ec=>{const _0x25b992=_0x65bda4;_0x12a9ec[_0x25b992(0x100)](_0x5b931e,{'range':_0x59fb37,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x58a6d2(0x127)](_0x4b2a5a){const _0x2f6086=_0x58a6d2;for(const _0x2b3fc7 of this[_0x2f6086(0x113)]())if(_0x2b3fc7[_0x2f6086(0xf0)](_0x4b2a5a))return!0x0;return!0x1;}[_0x58a6d2(0x113)](){const _0x2da42f=_0x58a6d2;return this[_0x2da42f(0xf3)]()[_0x2da42f(0x105)](_0x46ae19=>_0x46ae19[_0x2da42f(0xe2)]());}[_0x58a6d2(0xfe)](){const _0x1e60e4=_0x58a6d2;return this[_0x1e60e4(0x113)]()[_0x1e60e4(0xf1)]((_0x3feee2,_0x20b336)=>[..._0x3feee2,..._0x20b336[_0x1e60e4(0xfe)]()],[]);}[_0x58a6d2(0x128)](){const _0x2f0a4e=_0x58a6d2;var _0x3a70dd;return(null===(_0x3a70dd=this[_0x2f0a4e(0xef)]())||void 0x0===_0x3a70dd?void 0x0:_0x3a70dd[_0x2f0a4e(0xe2)]())||null;}[_0x58a6d2(0x115)](){const _0x1fa4c0=_0x58a6d2,_0x4f552e=this[_0x1fa4c0(0x113)]();if(0x1!=_0x4f552e[_0x1fa4c0(0x122)])return null;const _0x2c41c4=_0x4f552e[0x0],_0x52fb3a=_0x2c41c4[_0x1fa4c0(0xfa)][_0x1fa4c0(0x116)],_0x4b25c9=_0x2c41c4[_0x1fa4c0(0xf2)][_0x1fa4c0(0xf7)];return _0x52fb3a instanceof _0x5dc19a?_0x52fb3a!=_0x4b25c9?null:_0x52fb3a:null;}[_0x58a6d2(0x12c)](){const _0x4b835c=_0x58a6d2;this[_0x4b835c(0x110)](this[_0x4b835c(0x113)](),this[_0x4b835c(0x131)],this[_0x4b835c(0x104)]),this[_0x4b835c(0x10e)]();}[_0x58a6d2(0x11b)](){const _0x277d1d=_0x58a6d2;this[_0x277d1d(0xec)](this[_0x277d1d(0x113)](),this[_0x277d1d(0x131)],this[_0x277d1d(0x104)]),this[_0x277d1d(0x10e)]();}[_0x58a6d2(0x10b)](){const _0x500f34=_0x58a6d2,_0x585b0a=[];let _0x4a80f5=this[_0x500f34(0x121)];for(;_0x4a80f5;)_0x585b0a[_0x500f34(0xeb)](_0x4a80f5),_0x4a80f5=_0x4a80f5[_0x500f34(0xe4)];return _0x585b0a;}[_0x58a6d2(0x103)](_0x2e2fcf,_0x3eadd7){const _0x48bce8=_0x58a6d2,_0x39d501=_0x480074(this[_0x48bce8(0x104)]);_0x15d7bd(_0x39d501,_0x2e2fcf,_0x3eadd7),_0x152240(_0x39d501,this[_0x48bce8(0x104)])||(this[_0x48bce8(0x104)]=_0x39d501,this[_0x48bce8(0x106)](_0x39d501));}[_0x58a6d2(0xf9)](_0x3bc65b){const _0x309af9=_0x58a6d2,_0x2addd9=_0x480074(this[_0x309af9(0x104)]);_0x5dec97(_0x2addd9,_0x3bc65b),_0x152240(_0x2addd9,this[_0x309af9(0x104)])||(this[_0x309af9(0x104)]=_0x2addd9,this[_0x309af9(0x106)](this[_0x309af9(0x104)]));}[_0x58a6d2(0x10f)](){const _0x3588d8=_0x58a6d2;return{'id':this['id'],'type':this[_0x3588d8(0x12f)]?this[_0x3588d8(0x126)]+':'+this[_0x3588d8(0x12f)]:this[_0x3588d8(0x126)],'authorId':this[_0x3588d8(0x109)]['id'],'createdAt':this[_0x3588d8(0xfd)],'hasComments':this[_0x3588d8(0x118)],'data':this[_0x3588d8(0x131)],'attributes':this[_0x3588d8(0x104)]};}static[_0x58a6d2(0xe7)](){const _0xbd39d=_0x58a6d2;return _0xec0a8()[_0xbd39d(0x124)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d4bdf=_0x4f29;(function(_0x2d9715,_0x108d4f){const _0x95fd9=_0x4f29,_0x14a0c3=_0x2d9715();while(!![]){try{const _0x4bc510=-parseInt(_0x95fd9(0x18c))/0x1+parseInt(_0x95fd9(0x1b2))/0x2*(parseInt(_0x95fd9(0x1de))/0x3)+-parseInt(_0x95fd9(0x1a3))/0x4+parseInt(_0x95fd9(0x1cf))/0x5+-parseInt(_0x95fd9(0x1b1))/0x6*(-parseInt(_0x95fd9(0x185))/0x7)+parseInt(_0x95fd9(0x1c2))/0x8+parseInt(_0x95fd9(0x19d))/0x9;if(_0x4bc510===_0x108d4f)break;else _0x14a0c3['push'](_0x14a0c3['shift']());}catch(_0x22e365){_0x14a0c3['push'](_0x14a0c3['shift']());}}}(_0x1e9d,0x71935));import{getTranslation as _0x128235}from'./utils/common-translations.js';import{priorities as _0x22eef9,insertToPriorityArray as _0x22874a}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x5ce748}from'./trackchangesediting.js';function _0x1e9d(){const _0x3355a3=['elementStart','removeContainer','add','$textProxy','key','matchingCallback','6325728QIeJAW','registerDescriptionCallback','Container','isEqual','addEmptyContainer','elementEnd','match','removeFormat','_handleCustomCallbackDescription','getDescriptions','item','_locale','name','768230CAOLzc','*Change\x20to:*\x20%0','text','_handleInsertRemoveSuggestionDescription','data','*Remove\x20format:*\x20%0','registerAttributeLabel','getWalker','join','insertion','has','_itemLabelsCallbacks','function','map','isObject','212478NYnxqV','set','replace','label','REPLACE_TEXT','end','ELEMENT_SPACE','7BCIRgL','type','isEmpty','indexOf','*Split:*\x20%0','registerElementLabel','_handleRenameSuggestionDescription','644391YxTVSO','format','get','_customCallbacks','normal','_itemLabels','Object','push','removeObject','nodeAfter','_attributeLabels','removeEmptyContainer','getFirstRange','element','checkChild','subType','addContainer','477117cOhnbU','addObject','_resolveDescriptionItems','remove','softBreak','quantity','508552xsQviF','start','$1\x20$2','_schema','*Remove:*\x20%0','*Insert:*\x20%0','isInContent','addFormat','EmptyContainer','skip','_addDescriptionItems','deletion','*Merge:*\x20%0','pop','161286igBxgc','6IkBxsG','length','previousSibling','*Set\x20format:*\x20%0','getItemLabel','$text','newValue','_handleAttributeSuggestionDescription','nextSibling','attribute'];_0x1e9d=function(){return _0x3355a3;};return _0x1e9d();}function _0x4f29(_0x40aa50,_0x4057dc){const _0x1e9da2=_0x1e9d();return _0x4f29=function(_0x4f2960,_0x14a481){_0x4f2960=_0x4f2960-0x181;let _0x198fd7=_0x1e9da2[_0x4f2960];return _0x198fd7;},_0x4f29(_0x40aa50,_0x4057dc);}export default class f{constructor(_0x19173a,_0xbc0bce){const _0x589e6d=_0x4f29;this[_0x589e6d(0x18f)]=[],this[_0x589e6d(0x191)]=new Map(),this[_0x589e6d(0x1da)]=[],this[_0x589e6d(0x196)]=new Map(),this[_0x589e6d(0x1a6)]=_0x19173a,this[_0x589e6d(0x1cd)]=_0xbc0bce;}[_0x2d4bdf(0x1cb)](_0x456e3d){const _0x1c9d6d=_0x2d4bdf,_0x52262c=[],_0x156c6d=new Set(),_0x5d7f5a=new Set();for(let _0x51893c=0x0;_0x51893c<_0x456e3d[_0x1c9d6d(0x1b3)];_0x51893c++){const _0x3b681f=_0x456e3d[_0x51893c];if(!_0x3b681f[_0x1c9d6d(0x1a9)])continue;const _0x3bd531=this[_0x1c9d6d(0x1ca)](_0x3b681f);if(_0x3bd531){if(null!=_0x3b681f[_0x1c9d6d(0x19b)]){if(_0x156c6d[_0x1c9d6d(0x1d9)](_0x3b681f[_0x1c9d6d(0x19b)]))continue;_0x156c6d[_0x1c9d6d(0x1be)](_0x3b681f[_0x1c9d6d(0x19b)]);}_0x52262c[_0x1c9d6d(0x193)](_0x3bd531);}else{if(_0x1c9d6d(0x1bb)!=_0x3b681f[_0x1c9d6d(0x186)])_0x1c9d6d(0x1d8)!=_0x3b681f[_0x1c9d6d(0x186)]&&_0x1c9d6d(0x1ae)!=_0x3b681f[_0x1c9d6d(0x186)]||this[_0x1c9d6d(0x1d2)](_0x52262c,_0x3b681f,_0x456e3d[_0x51893c+0x1]);else{const _0x325f27=_0x3b681f[_0x1c9d6d(0x1d3)][_0x1c9d6d(0x1c0)];if(_0x5d7f5a[_0x1c9d6d(0x1d9)](_0x325f27))continue;_0x5d7f5a[_0x1c9d6d(0x1be)](_0x3b681f[_0x1c9d6d(0x1d3)][_0x1c9d6d(0x1c0)]),_0x325f27==_0x5ce748?this[_0x1c9d6d(0x18b)](_0x52262c,_0x3b681f):this[_0x1c9d6d(0x1b9)](_0x52262c,_0x3b681f);}}}return this[_0x1c9d6d(0x19f)](_0x52262c);}[_0x2d4bdf(0x1c3)](_0x3f8839){const _0x10a2a5=_0x2d4bdf;this[_0x10a2a5(0x18f)][_0x10a2a5(0x193)](_0x3f8839);}[_0x2d4bdf(0x18a)](_0x171f46,_0x10f9ce,_0x34b41c=_0x22eef9[_0x2d4bdf(0x190)]){const _0x5b78e7=_0x2d4bdf;_0x5b78e7(0x1db)==typeof _0x171f46?_0x22874a(this[_0x5b78e7(0x1da)],{'matchingCallback':_0x171f46,'label':_0x10f9ce,'priority':_0x34b41c}):this[_0x5b78e7(0x191)][_0x5b78e7(0x1df)](_0x171f46,_0x10f9ce);}[_0x2d4bdf(0x1d5)](_0x1f6174,_0x34caae){const _0x55ca65=_0x2d4bdf;this[_0x55ca65(0x196)][_0x55ca65(0x1df)](_0x1f6174,_0x34caae);}[_0x2d4bdf(0x1b6)](_0x191a3d,_0x17f680=0x1){const _0x2f0e20=_0x2d4bdf;let _0x39803f;for(const _0x57a38b of this[_0x2f0e20(0x1da)])if(_0x57a38b[_0x2f0e20(0x1c1)](_0x191a3d)){_0x39803f=_0x57a38b[_0x2f0e20(0x181)];break;}return _0x39803f||(_0x39803f=this[_0x2f0e20(0x191)][_0x2f0e20(0x18e)](_0x191a3d[_0x2f0e20(0x1ce)])),_0x39803f?_0x39803f(_0x17f680):0x1!==_0x17f680?_0x17f680+'\x20'+_0x191a3d[_0x2f0e20(0x1ce)]+'s':''+_0x191a3d[_0x2f0e20(0x1ce)];}[_0x2d4bdf(0x1ad)](_0x2179da,_0x22cf3a){const _0x6f8fe9=_0x2d4bdf,_0x454ba3=_0x22cf3a[_0x6f8fe9(0x198)]()[_0x6f8fe9(0x1d6)](),_0x267676=_0x6f8fe9(0x1d8)==_0x22cf3a[_0x6f8fe9(0x186)]?_0x6f8fe9(0x1be):_0x6f8fe9(0x1a0);for(const _0x25c18c of _0x454ba3){const _0x305c98=_0x25c18c[_0x6f8fe9(0x1cc)],_0x249d39=_0x2179da[_0x2179da[_0x6f8fe9(0x1b3)]-0x1];if(_0x305c98['is'](_0x6f8fe9(0x1bf)))_0x249d39&&_0x249d39[_0x6f8fe9(0x186)][_0x6f8fe9(0x188)](_0x6f8fe9(0x1c4))>-0x1&&_0x2179da[_0x6f8fe9(0x1b0)](),_0x249d39&&_0x6f8fe9(0x1d1)==_0x249d39[_0x6f8fe9(0x186)]?_0x249d39[_0x267676]+=_0x305c98[_0x6f8fe9(0x1d3)]:_0x2179da[_0x6f8fe9(0x193)]({'type':_0x6f8fe9(0x1d1),'add':_0x6f8fe9(0x1be)==_0x267676?_0x305c98[_0x6f8fe9(0x1d3)]:'','remove':_0x6f8fe9(0x1a0)==_0x267676?_0x305c98[_0x6f8fe9(0x1d3)]:''});else{if(this[_0x6f8fe9(0x1a6)][_0x6f8fe9(0x1dd)](_0x305c98)){const _0x2d3252=_0x305c98;if(_0x249d39&&_0x249d39[_0x6f8fe9(0x186)][_0x6f8fe9(0x188)](_0x6f8fe9(0x1c4))>-0x1&&_0x2179da[_0x6f8fe9(0x1b0)](),_0x6f8fe9(0x1c7)==_0x25c18c[_0x6f8fe9(0x186)])continue;_0x249d39&&_0x249d39[_0x6f8fe9(0x186)]==_0x267676+_0x6f8fe9(0x192)&&_0x249d39[_0x6f8fe9(0x199)][_0x6f8fe9(0x1ce)]==_0x2d3252[_0x6f8fe9(0x1ce)]?_0x249d39[_0x6f8fe9(0x1a2)]++:_0x2179da[_0x6f8fe9(0x193)]({'type':_0x267676+_0x6f8fe9(0x192),'element':_0x2d3252,'quantity':0x1}),_0x454ba3[_0x6f8fe9(0x1ac)](_0x382497=>!(_0x6f8fe9(0x1c7)==_0x382497[_0x6f8fe9(0x186)]&&_0x382497[_0x6f8fe9(0x1cc)]==_0x305c98));}else{if(this[_0x6f8fe9(0x1a6)][_0x6f8fe9(0x19a)](_0x305c98,_0x6f8fe9(0x1b7))||_0x305c98['is'](_0x6f8fe9(0x199),_0x6f8fe9(0x1a1))){const _0x11b062=_0x305c98;if(_0x6f8fe9(0x1be)==_0x267676&&_0x6f8fe9(0x1bc)==_0x25c18c[_0x6f8fe9(0x186)]||_0x6f8fe9(0x1a0)==_0x267676&&_0x6f8fe9(0x1c7)==_0x25c18c[_0x6f8fe9(0x186)])continue;if(_0x249d39&&-0x1==_0x249d39[_0x6f8fe9(0x186)][_0x6f8fe9(0x188)](_0x6f8fe9(0x1c4))){_0x6f8fe9(0x1d1)==_0x249d39[_0x6f8fe9(0x186)]&&(_0x249d39[_0x267676]+='\x0a');continue;}let _0x30cd27;if(_0x30cd27=_0x6f8fe9(0x1be)==_0x267676?_0x11b062[_0x6f8fe9(0x1ba)]&&!this[_0x6f8fe9(0x1a6)][_0x6f8fe9(0x1dd)](_0x11b062[_0x6f8fe9(0x1ba)])?_0x11b062[_0x6f8fe9(0x1ba)]:null:_0x11b062[_0x6f8fe9(0x1b4)]&&!this[_0x6f8fe9(0x1a6)][_0x6f8fe9(0x1dd)](_0x11b062[_0x6f8fe9(0x1b4)])?_0x11b062[_0x6f8fe9(0x1b4)]:null,_0x11b062[_0x6f8fe9(0x187)]||_0x30cd27&&_0x30cd27[_0x6f8fe9(0x187)]){const _0x493dc4=_0x30cd27&&_0x30cd27[_0x6f8fe9(0x187)]?_0x30cd27:_0x11b062;_0x249d39&&_0x249d39[_0x6f8fe9(0x186)]==_0x267676+_0x6f8fe9(0x1ab)&&_0x249d39[_0x6f8fe9(0x199)][_0x6f8fe9(0x1ce)]==_0x493dc4[_0x6f8fe9(0x1ce)]?_0x249d39[_0x6f8fe9(0x1a2)]++:_0x2179da[_0x6f8fe9(0x193)]({'type':_0x267676+_0x6f8fe9(0x1ab),'element':_0x493dc4,'quantity':0x1});}else _0x2179da[_0x6f8fe9(0x193)]({'type':_0x267676+_0x6f8fe9(0x1c4),'element':_0x11b062});}}}}}[_0x2d4bdf(0x19f)](_0x4cea65){const _0x34b1df=_0x2d4bdf,_0x57d11e=this[_0x34b1df(0x1cd)],_0x45b12b=[],_0x320e2c=[],_0x15f2bc=[];for(const _0x41d991 of _0x4cea65)switch(_0x41d991[_0x34b1df(0x186)]){case _0x34b1df(0x1d1):if(_0x41d991[_0x34b1df(0x1be)]=_0x41d991[_0x34b1df(0x1be)][_0x34b1df(0x1e0)](/(\S)\u000A+(\S)/g,_0x34b1df(0x1a5))[_0x34b1df(0x1e0)](/\u000A/g,''),_0x41d991[_0x34b1df(0x1a0)]=_0x41d991[_0x34b1df(0x1a0)][_0x34b1df(0x1e0)](/(\S)\u000A+(\S)/g,_0x34b1df(0x1a5))[_0x34b1df(0x1e0)](/\u000A/g,''),''!=_0x41d991[_0x34b1df(0x1be)]&&''!=_0x41d991[_0x34b1df(0x1a0)]){_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1e0),'content':_0x128235(_0x57d11e,_0x34b1df(0x182),['\x22'+_0x41d991[_0x34b1df(0x1a0)]+'\x22','\x22'+_0x41d991[_0x34b1df(0x1be)]+'\x22'])});continue;}if(null!=_0x41d991[_0x34b1df(0x1be)][_0x34b1df(0x1c8)](/^ +$/)){_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1d8),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a8),_0x128235(_0x57d11e,_0x34b1df(0x184),_0x41d991[_0x34b1df(0x1be)][_0x34b1df(0x1b3)]))});continue;}if(null!=_0x41d991[_0x34b1df(0x1a0)][_0x34b1df(0x1c8)](/^ +$/)){_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1ae),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a7),_0x128235(_0x57d11e,_0x34b1df(0x184),_0x41d991[_0x34b1df(0x1a0)][_0x34b1df(0x1b3)]))});continue;}if(''!=_0x41d991[_0x34b1df(0x1be)]){_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1d8),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a8),'\x22'+_0x41d991[_0x34b1df(0x1be)]+'\x22')});continue;}_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1ae),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a7),'\x22'+_0x41d991[_0x34b1df(0x1a0)]+'\x22')});continue;case _0x34b1df(0x1c6):case _0x34b1df(0x19e):_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1d8),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a8),this[_0x34b1df(0x1b6)](_0x41d991[_0x34b1df(0x199)],_0x41d991[_0x34b1df(0x1a2)]))});continue;case _0x34b1df(0x197):case _0x34b1df(0x194):_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1ae),'content':_0x128235(_0x57d11e,_0x34b1df(0x1a7),this[_0x34b1df(0x1b6)](_0x41d991[_0x34b1df(0x199)],_0x41d991[_0x34b1df(0x1a2)]))});continue;case _0x34b1df(0x19c):_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1d8),'content':_0x128235(_0x57d11e,_0x34b1df(0x189),this[_0x34b1df(0x1b6)](_0x41d991[_0x34b1df(0x199)],_0x41d991[_0x34b1df(0x1a2)]))});continue;case _0x34b1df(0x1bd):_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x1ae),'content':_0x128235(_0x57d11e,_0x34b1df(0x1af),this[_0x34b1df(0x1b6)](_0x41d991[_0x34b1df(0x199)],_0x41d991[_0x34b1df(0x1a2)]))});continue;case _0x34b1df(0x1aa):_0x320e2c[_0x34b1df(0x193)](_0x41d991[_0x34b1df(0x1c0)]);continue;case _0x34b1df(0x1c9):_0x15f2bc[_0x34b1df(0x193)](_0x41d991[_0x34b1df(0x1c0)]);continue;default:_0x45b12b[_0x34b1df(0x193)](_0x41d991);}if(_0x320e2c[_0x34b1df(0x1b3)]){const _0x5ea634=_0x320e2c[_0x34b1df(0x1dc)](_0x5f38cf=>this[_0x34b1df(0x196)][_0x34b1df(0x1d9)](_0x5f38cf)?this[_0x34b1df(0x196)][_0x34b1df(0x18e)](_0x5f38cf):_0x5f38cf)[_0x34b1df(0x1d7)](',\x20');_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x18d),'content':_0x128235(this[_0x34b1df(0x1cd)],_0x34b1df(0x1b5),_0x5ea634)});}if(_0x15f2bc[_0x34b1df(0x1b3)]){const _0x183c0f=_0x15f2bc[_0x34b1df(0x1dc)](_0x2d6964=>this[_0x34b1df(0x196)][_0x34b1df(0x1d9)](_0x2d6964)?this[_0x34b1df(0x196)][_0x34b1df(0x18e)](_0x2d6964):_0x2d6964)[_0x34b1df(0x1d7)](',\x20');_0x45b12b[_0x34b1df(0x193)]({'type':_0x34b1df(0x18d),'content':_0x128235(this[_0x34b1df(0x1cd)],_0x34b1df(0x1d4),_0x183c0f)});}return _0x45b12b;}[_0x2d4bdf(0x1ca)](_0x12e13c){const _0x101239=_0x2d4bdf;for(const _0x31947a of this[_0x101239(0x18f)]){const _0x340c30=_0x31947a(_0x12e13c);if(_0x340c30&&_0x101239(0x186)in _0x340c30)return _0x340c30;}}[_0x2d4bdf(0x1b9)](_0x1771fe,_0x16b8e5){const _0x4454d4=_0x2d4bdf,_0x2e56f2=_0x16b8e5[_0x4454d4(0x1d3)],_0x20e1be=void 0x0===_0x2e56f2[_0x4454d4(0x1b8)]?_0x4454d4(0x1c9):_0x4454d4(0x1aa);_0x1771fe[_0x4454d4(0x193)]({'type':_0x20e1be,'key':_0x2e56f2[_0x4454d4(0x1c0)]});}[_0x2d4bdf(0x18b)](_0x46c349,_0x8fbb41){const _0x40770d=_0x2d4bdf;_0x46c349[_0x40770d(0x193)]({'type':_0x40770d(0x18d),'content':_0x128235(this[_0x40770d(0x1cd)],_0x40770d(0x1d0),this[_0x40770d(0x1b6)](_0x8fbb41[_0x40770d(0x198)]()[_0x40770d(0x1a4)][_0x40770d(0x195)],0x1))});}[_0x2d4bdf(0x1d2)](_0x10badc,_0x4e3c2d,_0x15b0ad){const _0x21f987=_0x2d4bdf;if(this[_0x21f987(0x1ad)](_0x10badc,_0x4e3c2d),_0x15b0ad&&_0x15b0ad[_0x21f987(0x198)]()&&!_0x4e3c2d[_0x21f987(0x198)]()[_0x21f987(0x183)][_0x21f987(0x1c5)](_0x15b0ad[_0x21f987(0x198)]()[_0x21f987(0x1a4)])){const _0x432497=_0x10badc[_0x10badc[_0x21f987(0x1b3)]-0x1],_0x2dec4f=_0x21f987(0x1d8)==_0x4e3c2d[_0x21f987(0x186)]?_0x21f987(0x1be):_0x21f987(0x1a0);_0x432497&&_0x21f987(0x1d1)==_0x432497[_0x21f987(0x186)]&&(_0x432497[_0x2dec4f]+='\x0a');}}}
|
|
23
|
+
const _0x11b9f0=_0x2786;(function(_0x36bc89,_0x323d83){const _0x1c7880=_0x2786,_0x3b1baa=_0x36bc89();while(!![]){try{const _0x368f1f=parseInt(_0x1c7880(0x114))/0x1*(-parseInt(_0x1c7880(0x127))/0x2)+parseInt(_0x1c7880(0x11b))/0x3*(parseInt(_0x1c7880(0xe8))/0x4)+parseInt(_0x1c7880(0x12b))/0x5+-parseInt(_0x1c7880(0x109))/0x6*(parseInt(_0x1c7880(0x12c))/0x7)+parseInt(_0x1c7880(0x136))/0x8+parseInt(_0x1c7880(0x13b))/0x9*(parseInt(_0x1c7880(0x138))/0xa)+-parseInt(_0x1c7880(0xfd))/0xb;if(_0x368f1f===_0x323d83)break;else _0x3b1baa['push'](_0x3b1baa['shift']());}catch(_0x52ef87){_0x3b1baa['push'](_0x3b1baa['shift']());}}}(_0x5ac3,0x54dab));import{getTranslation as _0x4e31c8}from'./utils/common-translations.js';import{priorities as _0x21f759,insertToPriorityArray as _0x56feba}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x497714}from'./trackchangesediting.js';export default class f{constructor(_0x5dec97,_0x561a28){const _0x4ac38a=_0x2786;this[_0x4ac38a(0x10f)]=[],this[_0x4ac38a(0xeb)]=new Map(),this[_0x4ac38a(0x101)]=[],this[_0x4ac38a(0x107)]=new Map(),this[_0x4ac38a(0x111)]=_0x5dec97,this[_0x4ac38a(0x13c)]=_0x561a28;}[_0x11b9f0(0xf1)](_0x179825){const _0x139d01=_0x11b9f0,_0x2c70ec=[],_0x3eccd1=new Set(),_0x1888d7=new Set();for(let _0x3d11f9=0x0;_0x3d11f9<_0x179825[_0x139d01(0xef)];_0x3d11f9++){const _0x1c35cb=_0x179825[_0x3d11f9];if(!_0x1c35cb[_0x139d01(0xee)])continue;const _0x3379a3=this[_0x139d01(0xe4)](_0x1c35cb);if(_0x3379a3){if(null!=_0x1c35cb[_0x139d01(0x10d)]){if(_0x3eccd1[_0x139d01(0xec)](_0x1c35cb[_0x139d01(0x10d)]))continue;_0x3eccd1[_0x139d01(0x125)](_0x1c35cb[_0x139d01(0x10d)]);}_0x2c70ec[_0x139d01(0xf2)](_0x3379a3);}else{if(_0x139d01(0xfe)!=_0x1c35cb[_0x139d01(0x131)])_0x139d01(0x106)!=_0x1c35cb[_0x139d01(0x131)]&&_0x139d01(0x130)!=_0x1c35cb[_0x139d01(0x131)]||this[_0x139d01(0x129)](_0x2c70ec,_0x1c35cb,_0x179825[_0x3d11f9+0x1]);else{const _0x1e165b=_0x1c35cb[_0x139d01(0x122)][_0x139d01(0x102)];if(_0x1888d7[_0x139d01(0xec)](_0x1e165b))continue;_0x1888d7[_0x139d01(0x125)](_0x1c35cb[_0x139d01(0x122)][_0x139d01(0x102)]),_0x1e165b==_0x497714?this[_0x139d01(0x124)](_0x2c70ec,_0x1c35cb):this[_0x139d01(0x100)](_0x2c70ec,_0x1c35cb);}}}return this[_0x139d01(0x12a)](_0x2c70ec);}[_0x11b9f0(0x104)](_0x2ed19a){const _0x595bce=_0x11b9f0;this[_0x595bce(0x10f)][_0x595bce(0xf2)](_0x2ed19a);}[_0x11b9f0(0x12e)](_0x5321f4,_0x55b2f6,_0xec1b9e=_0x21f759[_0x11b9f0(0x126)]){const _0x1b8c88=_0x11b9f0;_0x1b8c88(0x12d)==typeof _0x5321f4?_0x56feba(this[_0x1b8c88(0x101)],{'matchingCallback':_0x5321f4,'label':_0x55b2f6,'priority':_0xec1b9e}):this[_0x1b8c88(0xeb)][_0x1b8c88(0xdf)](_0x5321f4,_0x55b2f6);}[_0x11b9f0(0xed)](_0x403720,_0x2477fc){const _0x5d6628=_0x11b9f0;this[_0x5d6628(0x107)][_0x5d6628(0xdf)](_0x403720,_0x2477fc);}[_0x11b9f0(0x13e)](_0x5c3ad7,_0x3409ae=0x1){const _0x4ecfca=_0x11b9f0;let _0x16666a;for(const _0x26cd86 of this[_0x4ecfca(0x101)])if(_0x26cd86[_0x4ecfca(0x120)](_0x5c3ad7)){_0x16666a=_0x26cd86[_0x4ecfca(0x108)];break;}return _0x16666a||(_0x16666a=this[_0x4ecfca(0xeb)][_0x4ecfca(0x13f)](_0x5c3ad7[_0x4ecfca(0x140)])),_0x16666a?_0x16666a(_0x3409ae):0x1!==_0x3409ae?_0x3409ae+'\x20'+_0x5c3ad7[_0x4ecfca(0x140)]+'s':''+_0x5c3ad7[_0x4ecfca(0x140)];}[_0x11b9f0(0x10a)](_0x570225,_0xceb391){const _0x3f95b0=_0x11b9f0,_0xba068b=_0xceb391[_0x3f95b0(0x10e)]()[_0x3f95b0(0xe7)](),_0x2c322d=_0x3f95b0(0x106)==_0xceb391[_0x3f95b0(0x131)]?_0x3f95b0(0x125):_0x3f95b0(0xf6);for(const _0x4cda0d of _0xba068b){const _0x5c02f0=_0x4cda0d[_0x3f95b0(0x13d)],_0x2301d4=_0x570225[_0x570225[_0x3f95b0(0xef)]-0x1];if(_0x5c02f0['is'](_0x3f95b0(0x123)))_0x2301d4&&_0x2301d4[_0x3f95b0(0x131)][_0x3f95b0(0x11f)](_0x3f95b0(0xe0))>-0x1&&_0x570225[_0x3f95b0(0xf7)](),_0x2301d4&&_0x3f95b0(0x139)==_0x2301d4[_0x3f95b0(0x131)]?_0x2301d4[_0x2c322d]+=_0x5c02f0[_0x3f95b0(0x122)]:_0x570225[_0x3f95b0(0xf2)]({'type':_0x3f95b0(0x139),'add':_0x3f95b0(0x125)==_0x2c322d?_0x5c02f0[_0x3f95b0(0x122)]:'','remove':_0x3f95b0(0xf6)==_0x2c322d?_0x5c02f0[_0x3f95b0(0x122)]:''});else{if(this[_0x3f95b0(0x111)][_0x3f95b0(0x134)](_0x5c02f0)){const _0x32974a=_0x5c02f0;if(_0x2301d4&&_0x2301d4[_0x3f95b0(0x131)][_0x3f95b0(0x11f)](_0x3f95b0(0xe0))>-0x1&&_0x570225[_0x3f95b0(0xf7)](),_0x3f95b0(0x117)==_0x4cda0d[_0x3f95b0(0x131)])continue;_0x2301d4&&_0x2301d4[_0x3f95b0(0x131)]==_0x2c322d+_0x3f95b0(0x13a)&&_0x2301d4[_0x3f95b0(0xe3)][_0x3f95b0(0x140)]==_0x32974a[_0x3f95b0(0x140)]?_0x2301d4[_0x3f95b0(0x119)]++:_0x570225[_0x3f95b0(0xf2)]({'type':_0x2c322d+_0x3f95b0(0x13a),'element':_0x32974a,'quantity':0x1}),_0xba068b[_0x3f95b0(0xe2)](_0x54fae5=>!(_0x3f95b0(0x117)==_0x54fae5[_0x3f95b0(0x131)]&&_0x54fae5[_0x3f95b0(0x13d)]==_0x5c02f0));}else{if(this[_0x3f95b0(0x111)][_0x3f95b0(0x10b)](_0x5c02f0,_0x3f95b0(0xe5))||_0x5c02f0['is'](_0x3f95b0(0xe3),_0x3f95b0(0x121))){const _0x230e04=_0x5c02f0;if(_0x3f95b0(0x125)==_0x2c322d&&_0x3f95b0(0x12f)==_0x4cda0d[_0x3f95b0(0x131)]||_0x3f95b0(0xf6)==_0x2c322d&&_0x3f95b0(0x117)==_0x4cda0d[_0x3f95b0(0x131)])continue;if(_0x2301d4&&-0x1==_0x2301d4[_0x3f95b0(0x131)][_0x3f95b0(0x11f)](_0x3f95b0(0xe0))){_0x3f95b0(0x139)==_0x2301d4[_0x3f95b0(0x131)]&&(_0x2301d4[_0x2c322d]+='\x0a');continue;}let _0x561569;if(_0x561569=_0x3f95b0(0x125)==_0x2c322d?_0x230e04[_0x3f95b0(0x11e)]&&!this[_0x3f95b0(0x111)][_0x3f95b0(0x134)](_0x230e04[_0x3f95b0(0x11e)])?_0x230e04[_0x3f95b0(0x11e)]:null:_0x230e04[_0x3f95b0(0x133)]&&!this[_0x3f95b0(0x111)][_0x3f95b0(0x134)](_0x230e04[_0x3f95b0(0x133)])?_0x230e04[_0x3f95b0(0x133)]:null,_0x230e04[_0x3f95b0(0xe1)]||_0x561569&&_0x561569[_0x3f95b0(0xe1)]){const _0x10fd3f=_0x561569&&_0x561569[_0x3f95b0(0xe1)]?_0x561569:_0x230e04;_0x2301d4&&_0x2301d4[_0x3f95b0(0x131)]==_0x2c322d+_0x3f95b0(0x128)&&_0x2301d4[_0x3f95b0(0xe3)][_0x3f95b0(0x140)]==_0x10fd3f[_0x3f95b0(0x140)]?_0x2301d4[_0x3f95b0(0x119)]++:_0x570225[_0x3f95b0(0xf2)]({'type':_0x2c322d+_0x3f95b0(0x128),'element':_0x10fd3f,'quantity':0x1});}else _0x570225[_0x3f95b0(0xf2)]({'type':_0x2c322d+_0x3f95b0(0xe0),'element':_0x230e04});}}}}}[_0x11b9f0(0x12a)](_0x3a5039){const _0x504208=_0x11b9f0,_0x5ab2dc=this[_0x504208(0x13c)],_0x384510=[],_0x15bc4a=[],_0x36a16a=[];for(const _0x22b341 of _0x3a5039)switch(_0x22b341[_0x504208(0x131)]){case _0x504208(0x139):if(_0x22b341[_0x504208(0x125)]=_0x22b341[_0x504208(0x125)][_0x504208(0x113)](/(\S)\u000A+(\S)/g,_0x504208(0x135))[_0x504208(0x113)](/\u000A/g,''),_0x22b341[_0x504208(0xf6)]=_0x22b341[_0x504208(0xf6)][_0x504208(0x113)](/(\S)\u000A+(\S)/g,_0x504208(0x135))[_0x504208(0x113)](/\u000A/g,''),''!=_0x22b341[_0x504208(0x125)]&&''!=_0x22b341[_0x504208(0xf6)]){_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x113),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0xfc),['\x22'+_0x22b341[_0x504208(0xf6)]+'\x22','\x22'+_0x22b341[_0x504208(0x125)]+'\x22'])});continue;}if(null!=_0x22b341[_0x504208(0x125)][_0x504208(0xff)](/^ +$/)){_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x106),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0x10c),_0x4e31c8(_0x5ab2dc,_0x504208(0xf3),_0x22b341[_0x504208(0x125)][_0x504208(0xef)]))});continue;}if(null!=_0x22b341[_0x504208(0xf6)][_0x504208(0xff)](/^ +$/)){_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x130),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0xea),_0x4e31c8(_0x5ab2dc,_0x504208(0xf3),_0x22b341[_0x504208(0xf6)][_0x504208(0xef)]))});continue;}if(''!=_0x22b341[_0x504208(0x125)]){_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x106),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0x10c),'\x22'+_0x22b341[_0x504208(0x125)]+'\x22')});continue;}_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x130),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0xea),'\x22'+_0x22b341[_0x504208(0xf6)]+'\x22')});continue;case _0x504208(0x11d):case _0x504208(0xf5):_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x106),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0x10c),this[_0x504208(0x13e)](_0x22b341[_0x504208(0xe3)],_0x22b341[_0x504208(0x119)]))});continue;case _0x504208(0xf4):case _0x504208(0x115):_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x130),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0xea),this[_0x504208(0x13e)](_0x22b341[_0x504208(0xe3)],_0x22b341[_0x504208(0x119)]))});continue;case _0x504208(0x105):_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x106),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0x116),this[_0x504208(0x13e)](_0x22b341[_0x504208(0xe3)],_0x22b341[_0x504208(0x119)]))});continue;case _0x504208(0x110):_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x130),'content':_0x4e31c8(_0x5ab2dc,_0x504208(0x118),this[_0x504208(0x13e)](_0x22b341[_0x504208(0xe3)],_0x22b341[_0x504208(0x119)]))});continue;case _0x504208(0xf8):_0x15bc4a[_0x504208(0xf2)](_0x22b341[_0x504208(0x102)]);continue;case _0x504208(0xf9):_0x36a16a[_0x504208(0xf2)](_0x22b341[_0x504208(0x102)]);continue;default:_0x384510[_0x504208(0xf2)](_0x22b341);}if(_0x15bc4a[_0x504208(0xef)]){const _0x4a831c=_0x15bc4a[_0x504208(0x11a)](_0x5eee72=>this[_0x504208(0x107)][_0x504208(0xec)](_0x5eee72)?this[_0x504208(0x107)][_0x504208(0x13f)](_0x5eee72):_0x5eee72)[_0x504208(0xfa)](',\x20');_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x11c),'content':_0x4e31c8(this[_0x504208(0x13c)],_0x504208(0x137),_0x4a831c)});}if(_0x36a16a[_0x504208(0xef)]){const _0x380b3e=_0x36a16a[_0x504208(0x11a)](_0x6112e7=>this[_0x504208(0x107)][_0x504208(0xec)](_0x6112e7)?this[_0x504208(0x107)][_0x504208(0x13f)](_0x6112e7):_0x6112e7)[_0x504208(0xfa)](',\x20');_0x384510[_0x504208(0xf2)]({'type':_0x504208(0x11c),'content':_0x4e31c8(this[_0x504208(0x13c)],_0x504208(0xe9),_0x380b3e)});}return _0x384510;}[_0x11b9f0(0xe4)](_0xe4a5af){const _0x155281=_0x11b9f0;for(const _0x3675c5 of this[_0x155281(0x10f)]){const _0x43e6ba=_0x3675c5(_0xe4a5af);if(_0x43e6ba&&_0x155281(0x131)in _0x43e6ba)return _0x43e6ba;}}[_0x11b9f0(0x100)](_0x279f78,_0x514bfa){const _0x2a61ff=_0x11b9f0,_0x2ecc04=_0x514bfa[_0x2a61ff(0x122)],_0x484a97=void 0x0===_0x2ecc04[_0x2a61ff(0x132)]?_0x2a61ff(0xf9):_0x2a61ff(0xf8);_0x279f78[_0x2a61ff(0xf2)]({'type':_0x484a97,'key':_0x2ecc04[_0x2a61ff(0x102)]});}[_0x11b9f0(0x124)](_0x579008,_0x49f862){const _0x177bd6=_0x11b9f0;_0x579008[_0x177bd6(0xf2)]({'type':_0x177bd6(0x11c),'content':_0x4e31c8(this[_0x177bd6(0x13c)],_0x177bd6(0xf0),this[_0x177bd6(0x13e)](_0x49f862[_0x177bd6(0x10e)]()[_0x177bd6(0x103)][_0x177bd6(0xe6)],0x1))});}[_0x11b9f0(0x129)](_0x203a22,_0x3e3ee0,_0x105c62){const _0x20bf75=_0x11b9f0;if(this[_0x20bf75(0x10a)](_0x203a22,_0x3e3ee0),_0x105c62&&_0x105c62[_0x20bf75(0x10e)]()&&!_0x3e3ee0[_0x20bf75(0x10e)]()[_0x20bf75(0xfb)][_0x20bf75(0x112)](_0x105c62[_0x20bf75(0x10e)]()[_0x20bf75(0x103)])){const _0x4db35b=_0x203a22[_0x203a22[_0x20bf75(0xef)]-0x1],_0x59381a=_0x20bf75(0x106)==_0x3e3ee0[_0x20bf75(0x131)]?_0x20bf75(0x125):_0x20bf75(0xf6);_0x4db35b&&_0x20bf75(0x139)==_0x4db35b[_0x20bf75(0x131)]&&(_0x4db35b[_0x59381a]+='\x0a');}}}function _0x2786(_0x3725e1,_0x1d1bfe){const _0x5ac36c=_0x5ac3();return _0x2786=function(_0x2786ab,_0x4ba1ea){_0x2786ab=_0x2786ab-0xdf;let _0x244fe9=_0x5ac36c[_0x2786ab];return _0x244fe9;},_0x2786(_0x3725e1,_0x1d1bfe);}function _0x5ac3(){const _0x4c5be3=['set','Container','isEmpty','skip','element','_handleCustomCallbackDescription','$text','nodeAfter','getWalker','932OnDROW','*Remove\x20format:*\x20%0','*Remove:*\x20%0','_itemLabels','has','registerAttributeLabel','isInContent','length','*Change\x20to:*\x20%0','getDescriptions','push','ELEMENT_SPACE','removeEmptyContainer','addObject','remove','pop','addFormat','removeFormat','join','end','REPLACE_TEXT','9602692yPvFot','attribute','match','_handleAttributeSuggestionDescription','_itemLabelsCallbacks','key','start','registerDescriptionCallback','addContainer','insertion','_attributeLabels','label','81786QKxhdO','_addDescriptionItems','checkChild','*Insert:*\x20%0','subType','getFirstRange','_customCallbacks','removeContainer','_schema','isEqual','replace','59047Tskdsn','removeObject','*Split:*\x20%0','elementEnd','*Merge:*\x20%0','quantity','map','6777lpusOI','format','addEmptyContainer','nextSibling','indexOf','matchingCallback','softBreak','data','$textProxy','_handleRenameSuggestionDescription','add','normal','4CCutJg','EmptyContainer','_handleInsertRemoveSuggestionDescription','_resolveDescriptionItems','111025HabgTu','49ThpUNv','function','registerElementLabel','elementStart','deletion','type','newValue','previousSibling','isObject','$1\x20$2','2901760AyFRwW','*Set\x20format:*\x20%0','124470JovTpw','text','Object','378FfiDMF','_locale','item','getItemLabel','get','name'];_0x5ac3=function(){return _0x4c5be3;};return _0x5ac3();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4f7af8=_0x53e5;(function(_0x51e8b5,_0x48e868){var _0x58c347=_0x53e5,_0x1dfa06=_0x51e8b5();while(!![]){try{var _0x3020ed=-parseInt(_0x58c347(0x17b))/0x1+-parseInt(_0x58c347(0x17a))/0x2+parseInt(_0x58c347(0x17c))/0x3+parseInt(_0x58c347(0x184))/0x4*(parseInt(_0x58c347(0x187))/0x5)+-parseInt(_0x58c347(0x175))/0x6*(parseInt(_0x58c347(0x17d))/0x7)+-parseInt(_0x58c347(0x182))/0x8+parseInt(_0x58c347(0x180))/0x9;if(_0x3020ed===_0x48e868)break;else _0x1dfa06['push'](_0x1dfa06['shift']());}catch(_0x26f589){_0x1dfa06['push'](_0x1dfa06['shift']());}}}(_0x33e6,0xf343c));import{Plugin as _0xe41ec0}from'ckeditor5/src/core.js';import _0x5deec7 from'./trackchangesui.js';function _0x53e5(_0xc30c2f,_0x219e82){var _0x33e639=_0x33e6();return _0x53e5=function(_0x53e568,_0x498143){_0x53e568=_0x53e568-0x174;var _0xee6946=_0x33e639[_0x53e568];return _0xee6946;},_0x53e5(_0xc30c2f,_0x219e82);}import _0x4eb381 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x33e6(){var _0x5b6a21=['Comments','addSuggestionData','2677188FglmTD','adapter','editor','get','addSuggestion','1766042vRVTte','941199ObtImc','4717776mJIdad','21RvnIHb','requires','pluginName','22216923tKRJvn','TrackChanges','11118880fyZQkG','plugins','12JMKwqb','getSuggestions','getSuggestion','2513245AliNvu'];_0x33e6=function(){return _0x5b6a21;};return _0x33e6();}export default class k extends _0xe41ec0{static get[_0x4f7af8(0x17e)](){var _0x4e6265=_0x4f7af8;return[_0x4eb381,_0x5deec7,_0x4e6265(0x188)];}static get[_0x4f7af8(0x17f)](){var _0x1bde3a=_0x4f7af8;return _0x1bde3a(0x181);}set[_0x4f7af8(0x176)](_0x51acfc){var _0xa43709=_0x4f7af8;this[_0xa43709(0x177)][_0xa43709(0x183)][_0xa43709(0x178)](_0x4eb381)[_0xa43709(0x176)]=_0x51acfc;}get[_0x4f7af8(0x176)](){var _0x343b4f=_0x4f7af8;return this[_0x343b4f(0x177)][_0x343b4f(0x183)][_0x343b4f(0x178)](_0x4eb381)[_0x343b4f(0x176)];}[_0x4f7af8(0x179)](_0x64d811){var _0x4f299b=_0x4f7af8;return this[_0x4f299b(0x177)][_0x4f299b(0x183)][_0x4f299b(0x178)](_0x4eb381)[_0x4f299b(0x174)](_0x64d811);}[_0x4f7af8(0x185)]({skipNotAttached:_0x41a480=!0x1,toJSON:_0x3602bc=!0x1}={}){var _0x5cc25e=_0x4f7af8;return this[_0x5cc25e(0x177)][_0x5cc25e(0x183)][_0x5cc25e(0x178)](_0x4eb381)[_0x5cc25e(0x185)]({'skipNotAttached':_0x41a480,'toJSON':_0x3602bc});}[_0x4f7af8(0x186)](_0x441d94){var _0x47f7b7=_0x4f7af8;return this[_0x47f7b7(0x177)][_0x47f7b7(0x183)][_0x47f7b7(0x178)](_0x4eb381)[_0x47f7b7(0x186)](_0x441d94);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ef2a5=_0x2897;function _0x52e5(){const _0x45626a=['result','destroy','plugins','792400TcPshZ','addSuggestionData','requires','init','56ffosrC','discardAllSuggestions','getCommentThreads','name','editor','getSuggestions','trackChangesData.editorCreator','addCommentThread','config','createDocumentFragment','pluginName','198096DNVjyN','getRootNames','reduce','TrackChangesDataGetter','push','data','map','12338SWLgZm','function','users','div','rootsAttributes','33uzVOqp','document','944721ZbnfKS','240883uRCdXd','appendChild','getDataWithAcceptedSuggestions','TrackChangesData','10782sRjWlx','end','execute','CommentsRepository','model','TrackChangesEditing','getDataWithDiscardedSuggestions','getUser','_adapter','track-changes-data-invalid-editor-creator','Users','acceptAllSuggestions','45SeDhGp','createElement','create','3130420FAVhtg','Pagination','define','trackChangesData','addUser','getRootsAttributes','editorCreator','useAnonymousUser','set','constructor','getFullData','get'];_0x52e5=function(){return _0x45626a;};return _0x52e5();}(function(_0x4e8fd0,_0x2a9175){const _0x140bf3=_0x2897,_0x58c26b=_0x4e8fd0();while(!![]){try{const _0x22ec21=-parseInt(_0x140bf3(0x1f8))/0x1+-parseInt(_0x140bf3(0x1f0))/0x2*(-parseInt(_0x140bf3(0x1f5))/0x3)+parseInt(_0x140bf3(0x21a))/0x4+-parseInt(_0x140bf3(0x208))/0x5*(parseInt(_0x140bf3(0x1fc))/0x6)+parseInt(_0x140bf3(0x21e))/0x7*(-parseInt(_0x140bf3(0x229))/0x8)+parseInt(_0x140bf3(0x1f7))/0x9+parseInt(_0x140bf3(0x20b))/0xa;if(_0x22ec21===_0x2a9175)break;else _0x58c26b['push'](_0x58c26b['shift']());}catch(_0x2e017f){_0x58c26b['push'](_0x58c26b['shift']());}}}(_0x52e5,0x37dd2));import{Plugin as _0x39e272}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e1fb5}from'ckeditor5/src/utils.js';import _0x1ff1a6 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3046e8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2897(_0x6691ab,_0x4f919d){const _0x52e506=_0x52e5();return _0x2897=function(_0x289767,_0xa78c49){_0x289767=_0x289767-0x1ef;let _0x3aae07=_0x52e506[_0x289767];return _0x3aae07;},_0x2897(_0x6691ab,_0x4f919d);}const T=[_0x3ef2a5(0x20c)];export default class P extends _0x39e272{static get[_0x3ef2a5(0x21c)](){return[_0x1ff1a6];}static get[_0x3ef2a5(0x228)](){const _0x2023d4=_0x3ef2a5;return _0x2023d4(0x1fb);}[_0x3ef2a5(0x21d)](){const _0x29665f=_0x3ef2a5,_0x5caa6b=this[_0x29665f(0x222)];if(_0x5caa6b[_0x29665f(0x226)][_0x29665f(0x20d)](_0x29665f(0x224),_0x442c46=>{const _0x38568a=_0x29665f,_0x4c53af=_0x5caa6b[_0x38568a(0x200)][_0x38568a(0x1f6)][_0x38568a(0x22a)]()[_0x38568a(0x22b)]((_0x2ef19e,_0x1a111d)=>(_0x2ef19e[_0x1a111d]='',_0x2ef19e),{});return _0x5caa6b[_0x38568a(0x214)][_0x38568a(0x20a)](_0x4c53af,_0x442c46);}),_0x29665f(0x1f1)!=typeof _0x5caa6b[_0x29665f(0x226)][_0x29665f(0x216)](_0x29665f(0x20e))[_0x29665f(0x211)])throw new _0x4e1fb5(_0x29665f(0x205));}[_0x3ef2a5(0x1fa)](_0x329a9f){const _0x2a83dd=_0x3ef2a5;return N(this[_0x2a83dd(0x222)],!0x0,_0x329a9f);}[_0x3ef2a5(0x202)](_0x569b62){const _0x400c3b=_0x3ef2a5;return N(this[_0x400c3b(0x222)],!0x1,_0x569b62);}}class D extends _0x39e272{static get[_0x3ef2a5(0x228)](){const _0x31d10d=_0x3ef2a5;return _0x31d10d(0x22c);}constructor(_0x4f2251){const _0xc9ca59=_0x3ef2a5;super(_0x4f2251),this[_0xc9ca59(0x217)]=_0xc9ca59(0x1fd);}[_0x3ef2a5(0x21d)](){const _0xab9603=_0x3ef2a5;this[_0xab9603(0x222)][_0xab9603(0x219)][_0xab9603(0x216)](_0xab9603(0x1ff))[_0xab9603(0x204)]={'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[_0xab9603(0x222)][_0xab9603(0x219)][_0xab9603(0x216)](_0xab9603(0x201))[_0xab9603(0x204)]=null;}}function v(_0xb75d00){const _0x2fa2d9=_0x3ef2a5;return void 0x0!==_0xb75d00[_0x2fa2d9(0x210)];}async function N(_0x415716,_0x4d226a,_0x56ef8b){const _0x51db3c=_0x3ef2a5,_0x2322c3=_0x3046e8(_0x415716,T);_0x2322c3[_0x51db3c(0x219)][_0x51db3c(0x22d)](_0x1ff1a6,D),_0x2322c3[_0x51db3c(0x1f4)]=v(_0x415716)?_0x415716[_0x51db3c(0x210)]():void 0x0;const _0x2d02e4=document[_0x51db3c(0x227)](),_0x4f631e=_0x415716[_0x51db3c(0x226)][_0x51db3c(0x216)](_0x51db3c(0x20e))[_0x51db3c(0x211)],_0x2404b9=await _0x4f631e(_0x2322c3,()=>function(_0x3ad523){const _0x5bf70f=_0x51db3c,_0x145807=document[_0x5bf70f(0x209)](_0x5bf70f(0x1f3));return _0x3ad523[_0x5bf70f(0x1f9)](_0x145807),_0x145807;}(_0x2d02e4));!function(_0x4008a5,_0x1ede11){const _0x1f3037=_0x51db3c,_0x4675c5=_0x4008a5[_0x1f3037(0x200)][_0x1f3037(0x1f6)][_0x1f3037(0x22a)]()[_0x1f3037(0x22b)]((_0x1e498a,_0x244552)=>(_0x1e498a[_0x244552]=_0x4008a5[_0x1f3037(0x22e)][_0x1f3037(0x216)]({'rootName':_0x244552}),_0x1e498a),{}),_0x6ae749=_0x4008a5[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x206))[_0x1f3037(0x1f2)][_0x1f3037(0x1ef)](_0x1cac53=>({'id':_0x1cac53['id'],'name':_0x1cac53[_0x1f3037(0x221)]})),_0x137541=_0x4008a5[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x201))[_0x1f3037(0x223)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x52c86f=_0x4008a5[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x1ff))[_0x1f3037(0x220)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x44a913=_0x1ede11[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x206)),_0x48ffde=_0x1ede11[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x201)),_0x31fce4=_0x1ede11[_0x1f3037(0x219)][_0x1f3037(0x216)](_0x1f3037(0x1ff));for(const _0x7431ad of _0x6ae749)_0x44a913[_0x1f3037(0x203)](_0x7431ad['id'])||_0x44a913[_0x1f3037(0x20f)](_0x7431ad);_0x44a913['me']||_0x44a913[_0x1f3037(0x212)]();for(const _0x47d3f5 of _0x52c86f)_0x31fce4[_0x1f3037(0x225)](_0x47d3f5);for(const _0x15b4fa of _0x137541)_0x48ffde[_0x1f3037(0x21b)](_0x15b4fa);_0x1ede11[_0x1f3037(0x22e)][_0x1f3037(0x213)](_0x4675c5);}(_0x415716,_0x2404b9),_0x2404b9[_0x51db3c(0x1fe)](_0x4d226a?_0x51db3c(0x207):_0x51db3c(0x21f));const _0x345850=v(_0x2404b9)?_0x2404b9[_0x51db3c(0x215)](_0x56ef8b):_0x2404b9[_0x51db3c(0x22e)][_0x51db3c(0x216)](_0x56ef8b);return await _0x2404b9[_0x51db3c(0x218)](),_0x345850;}
|