@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240630.0 → 0.0.0-nightly-20240702.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/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
|
-
function _0xbca6(_0x1b3cdb,_0x53affa){const _0x51c942=_0x51c9();return _0xbca6=function(_0xbca632,_0x2c197a){_0xbca632=_0xbca632-0xd0;let _0x32cc7f=_0x51c942[_0xbca632];return _0x32cc7f;},_0xbca6(_0x1b3cdb,_0x53affa);}const _0x475ed4=_0xbca6;(function(_0x4a1e9e,_0x4a6fa9){const _0x5aeb3e=_0xbca6,_0x53464c=_0x4a1e9e();while(!![]){try{const _0x12ce91=-parseInt(_0x5aeb3e(0x108))/0x1+-parseInt(_0x5aeb3e(0x11f))/0x2*(parseInt(_0x5aeb3e(0x104))/0x3)+-parseInt(_0x5aeb3e(0x10b))/0x4+parseInt(_0x5aeb3e(0x111))/0x5+parseInt(_0x5aeb3e(0x127))/0x6+parseInt(_0x5aeb3e(0x12e))/0x7*(parseInt(_0x5aeb3e(0x128))/0x8)+parseInt(_0x5aeb3e(0xd7))/0x9;if(_0x12ce91===_0x4a6fa9)break;else _0x53464c['push'](_0x53464c['shift']());}catch(_0x1abfb2){_0x53464c['push'](_0x53464c['shift']());}}}(_0x51c9,0xbedbc));import{Plugin as _0x4da519}from'ckeditor5/src/core.js';import _0x511d50 from'./table.js';import{LiveRange as _0xd50bf8}from'ckeditor5/src/engine.js';import{getTranslation as _0x513a24}from'../utils/common-translations.js';function _0x51c9(){const _0x2fd30e=['selection','_acceptFormatSuggestionCallbackFactory','model','containsRange','format','requires','TrackChangesEditing','mergeTableCellLeft','createRangeOn','getAncestors','stop','change','enableCommand','TableEditing','tableCell','value','deletion','detach','has','mergeTableCellRight','refresh','1843005pAEvaD','type','mergeTableCellUp','trackChanges','938511RcFcBu','*Split\x20cell:*\x20horizontally','getRanges','1869528HlPubQ','TableUtils','$graveyard','_areMergableCells','from','getSelectionAffectedTableCells','4082345LGdKmT','set:isEnabled','markBlockFormat','isInContent','plugins','formatBlock','getCellLocation','subType','getSuggestions','splitTableCellVertically','*Merge\x20cells*','_suggestionFactory','_areSelectedCellsMergable','_tablePostFixingSubtypes','2hEuVls','mergeTableCellDown','descriptionFactory','_isForcedDefaultExecutionBlock','get','element','push','highest','2360004DhRgrE','16816HGTklN','getFirstPosition','low','locale','registerDescriptionCallback','direction','903EcNIhF','root','formatInline','setSelection','size','add','afterInit','accept','findAncestor','*Split\x20cell:*\x20vertically','author','11889207BdqbKo','markMultiRangeBlockFormat','find','registerCustomCallback','map','forceDefaultExecution','filter','editor','rootName','mergeTableCells','commandName','fromRange','length','cell','table','horizontally','execute','return','insertion','commands','document','createTableWalker','splitTableCellHorizontally','isEnabled'];_0x51c9=function(){return _0x2fd30e;};return _0x51c9();}export default class St extends _0x4da519{static get[_0x475ed4(0xf4)](){return[_0x511d50];}[_0x475ed4(0xd2)](){const _0xf24242=_0x475ed4,_0x239a88=this[_0xf24242(0xde)],_0x1bd7a=_0x239a88[_0xf24242(0xf1)][_0xf24242(0xeb)][_0xf24242(0xef)],_0x51452b=_0x239a88[_0xf24242(0x12b)];if(!_0x239a88[_0xf24242(0x115)][_0xf24242(0x101)](_0xf24242(0xfc)))return;const _0xc1f9fe=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0xf24242(0xf5)),_0x54d2f3=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0xf24242(0x10c)),_0x3990c4=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0x511d50);_0x3990c4[_0xf24242(0x11e)][_0xf24242(0x125)](_0xf24242(0xe0)),_0xc1f9fe[_0xf24242(0xfb)](_0xf24242(0xe0),()=>{const _0x480d3e=_0xf24242,_0x250dbc=_0x54d2f3[_0x480d3e(0x110)](_0x239a88[_0x480d3e(0xf1)][_0x480d3e(0xeb)][_0x480d3e(0xef)]);_0x239a88[_0x480d3e(0xf1)][_0x480d3e(0xfa)](()=>{const _0x5e6063=_0x480d3e;_0xc1f9fe[_0x5e6063(0xd8)](_0x250dbc,{'commandName':_0x5e6063(0xe0),'commandParams':[]},[],_0x5e6063(0xe0));});}),_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0xf24242(0xe0))['on'](_0xf24242(0xe7),(_0x26a466,_0x2c8471)=>{const _0x35d8dd=_0xf24242;_0x239a88[_0x35d8dd(0xea)][_0x35d8dd(0x123)](_0x35d8dd(0x107))[_0x35d8dd(0xfe)]&&(_0x2c8471[_0x35d8dd(0xe3)]>0x0&&_0x2c8471[_0x2c8471[_0x35d8dd(0xe3)]-0x1]&&_0x2c8471[_0x2c8471[_0x35d8dd(0xe3)]-0x1][_0x35d8dd(0xdc)]||_0xc1f9fe[_0x35d8dd(0x122)]||this[_0x35d8dd(0x11d)]()||_0x26a466[_0x35d8dd(0xf9)]());},{'priority':_0xf24242(0x126)});for(const _0x19132a of[_0xf24242(0x106),_0xf24242(0x102),_0xf24242(0x120),_0xf24242(0xf6)]){const _0x589ba1=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x19132a);_0xc1f9fe[_0xf24242(0xfb)](_0x19132a,()=>{const _0x330af8=_0xf24242,_0x3100a2=_0x239a88[_0x330af8(0xf1)][_0x330af8(0xeb)][_0x330af8(0xef)][_0x330af8(0x129)]()[_0x330af8(0xf8)]()[_0x330af8(0xd9)](_0xc80be6=>_0xc80be6['is'](_0x330af8(0x124),_0x330af8(0xfd))),_0xc87507=_0x589ba1[_0x330af8(0xfe)];_0x239a88[_0x330af8(0xf1)][_0x330af8(0xfa)](()=>{const _0x5e9a37=_0x330af8;_0xc1f9fe[_0x5e9a37(0xd8)]([_0x3100a2,_0xc87507],{'commandName':_0x5e9a37(0xe0),'commandParams':[]},[],_0x5e9a37(0xe0));});});}for(const _0x45de86 of[_0xf24242(0x11a),_0xf24242(0xed)]){const _0x32c842=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x45de86);_0xc1f9fe[_0xf24242(0xfb)](_0x45de86,()=>{const _0x4f6ff0=_0xf24242,_0x990d1=_0x54d2f3[_0x4f6ff0(0x110)](_0x239a88[_0x4f6ff0(0xf1)][_0x4f6ff0(0xeb)][_0x4f6ff0(0xef)])[0x0],_0xa250c=_0x990d1[_0x4f6ff0(0xd4)](_0x4f6ff0(0xe5)),{column:_0x23e530,row:_0x358c96}=_0x54d2f3[_0x4f6ff0(0x117)](_0x990d1);let _0x21268b=[];if(_0x4f6ff0(0xe6)==_0x32c842[_0x4f6ff0(0x12d)]){const _0x4a14fd=_0x54d2f3[_0x4f6ff0(0xec)](_0xa250c,{'startRow':_0x358c96,'endRow':_0x358c96,'includeAllSlots':!0x0});_0x21268b=Array[_0x4f6ff0(0x10f)](_0x4a14fd)[_0x4f6ff0(0xdb)](_0x2dedb6=>_0x2dedb6[_0x4f6ff0(0xe4)]);}else{const _0x6bb42=_0x54d2f3[_0x4f6ff0(0xec)](_0xa250c,{'column':_0x23e530,'includeAllSlots':!0x0});_0x21268b=Array[_0x4f6ff0(0x10f)](_0x6bb42)[_0x4f6ff0(0xdb)](_0x212efa=>_0x212efa[_0x4f6ff0(0xe4)]);}_0x239a88[_0x4f6ff0(0xf1)][_0x4f6ff0(0xfa)](_0x3152fd=>{const _0xc7c8=_0x4f6ff0;_0xc1f9fe[_0xc7c8(0x113)](_0x3152fd[_0xc7c8(0xf7)](_0x990d1),{'commandName':_0x45de86,'commandParams':[]},_0x21268b,_0x45de86);});});}_0xc1f9fe[_0xf24242(0x121)][_0xf24242(0x12c)](_0x266f0b=>{const _0x43db81=_0xf24242;if(_0x43db81(0x116)!=_0x266f0b[_0x43db81(0x105)]&&_0x43db81(0x130)!=_0x266f0b[_0x43db81(0x105)])return;const {data:_0x2824f6}=_0x266f0b;return _0x2824f6&&_0x43db81(0xe0)==_0x2824f6[_0x43db81(0xe1)]?{'type':_0x43db81(0xf3),'content':_0x513a24(_0x51452b,_0x43db81(0x11b))}:void 0x0;}),_0xc1f9fe[_0xf24242(0x121)][_0xf24242(0x12c)](_0x5be3c2=>{const _0x145541=_0xf24242;if(_0x145541(0x116)!=_0x5be3c2[_0x145541(0x105)]&&_0x145541(0x130)!=_0x5be3c2[_0x145541(0x105)])return;const {data:_0x55dd32}=_0x5be3c2;return _0x55dd32?_0x145541(0x11a)==_0x55dd32[_0x145541(0xe1)]?{'type':_0x145541(0xf3),'content':_0x513a24(_0x51452b,_0x145541(0xd5))}:_0x145541(0xed)==_0x55dd32[_0x145541(0xe1)]?{'type':_0x145541(0xf3),'content':_0x513a24(_0x51452b,_0x145541(0x109))}:void 0x0:void 0x0;});const _0x3869d6=_0x3990c4[_0xf24242(0xf0)]();for(const _0x195cf9 of[_0xf24242(0x106),_0xf24242(0x102),_0xf24242(0x120),_0xf24242(0xf6)])_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0x195cf9,_0xf24242(0xd3),_0x3869d6);for(const _0x2f3d85 of[_0xf24242(0x11a),_0xf24242(0xed)])_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0x2f3d85,_0xf24242(0xd3),_0x3869d6);_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0xf24242(0xe0),_0xf24242(0xd3),_0x50e5cb=>{const _0x51cbd0=_0xf24242;_0x239a88[_0x51cbd0(0xf1)][_0x51cbd0(0xfa)](_0x5d64f9=>{const _0x55c4d3=_0x51cbd0,_0x2f192a=Array[_0x55c4d3(0x10f)](_0x1bd7a[_0x55c4d3(0x10a)]())[_0x55c4d3(0xdb)](_0x271aaa=>_0xd50bf8[_0x55c4d3(0xe2)](_0x271aaa));_0x5d64f9[_0x55c4d3(0x131)](_0x50e5cb),_0x239a88[_0x55c4d3(0xea)][_0x55c4d3(0x123)](_0x55c4d3(0xe0))[_0x55c4d3(0x103)](),_0x239a88[_0x55c4d3(0xe7)](_0x55c4d3(0xe0),{'forceDefaultExecution':!0x0});const _0x589294=_0x2f192a[_0x55c4d3(0xdd)](_0x2204b5=>_0x55c4d3(0x10d)!=_0x2204b5[_0x55c4d3(0x12f)][_0x55c4d3(0xdf)]);_0x589294[_0x55c4d3(0xe3)]>0x0&&_0x5d64f9[_0x55c4d3(0x131)](_0x589294);for(const _0x107f95 of _0x2f192a)_0x107f95[_0x55c4d3(0x100)]();});});for(const _0x9ac723 of[_0xf24242(0x106),_0xf24242(0x120),_0xf24242(0xf6),_0xf24242(0x102)]){const _0x2d4f85=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x9ac723);_0x2d4f85['on'](_0xf24242(0x112),(_0x22f47b,_0x23135f,_0x727628)=>{const _0x321825=_0xf24242;if(_0x727628){const _0x29a44a=_0x239a88[_0x321825(0xf1)][_0x321825(0xeb)][_0x321825(0xef)][_0x321825(0x129)]()[_0x321825(0xf8)]()[_0x321825(0xd9)](_0x45312f=>_0x45312f['is'](_0x321825(0x124),_0x321825(0xfd)));this[_0x321825(0x10e)](_0x2d4f85[_0x321825(0xfe)],_0x29a44a)||(_0x22f47b[_0x321825(0xe8)]=!0x1,_0x22f47b[_0x321825(0xf9)]());}},{'priority':_0xf24242(0x12a)});}}[_0x475ed4(0x11d)](){const _0x22444a=_0x475ed4,_0x253c59=this[_0x22444a(0xde)][_0x22444a(0xea)][_0x22444a(0x123)](_0x22444a(0xe0)),_0x1ea4e6=this[_0x22444a(0xde)][_0x22444a(0x115)][_0x22444a(0x123)](_0x22444a(0x10c));if(!_0x253c59[_0x22444a(0xee)])return!0x1;const _0x30f8b8=_0x1ea4e6[_0x22444a(0x110)](this[_0x22444a(0xde)][_0x22444a(0xf1)][_0x22444a(0xeb)][_0x22444a(0xef)]);for(const _0x444644 of _0x30f8b8)for(const _0x2247c6 of _0x30f8b8)if(_0x444644!=_0x2247c6&&!this[_0x22444a(0x10e)](_0x444644,_0x2247c6))return!0x1;return!0x0;}[_0x475ed4(0x10e)](_0x2fba11,_0x4346de){const _0x3a95c5=_0x475ed4,_0x10f3bd=this[_0x3a95c5(0xde)][_0x3a95c5(0x115)][_0x3a95c5(0x123)](_0x3a95c5(0xf5)),_0x688f63=this[_0x3a95c5(0xde)][_0x3a95c5(0xf1)][_0x3a95c5(0xf7)](_0x2fba11),_0x2f55ed=this[_0x3a95c5(0xde)][_0x3a95c5(0xf1)][_0x3a95c5(0xf7)](_0x4346de),_0x4cf05c=new Set(),_0x310138=new Set();for(const _0x4e49fb of _0x10f3bd[_0x3a95c5(0x119)]())if((_0x3a95c5(0xe9)==_0x4e49fb[_0x3a95c5(0x105)]||_0x3a95c5(0xff)==_0x4e49fb[_0x3a95c5(0x105)]||_0x3a95c5(0xe0)==_0x4e49fb[_0x3a95c5(0x118)])&&_0x4e49fb[_0x3a95c5(0x114)]){for(const _0x30f829 of _0x4e49fb[_0x3a95c5(0x10a)]())_0x30f829[_0x3a95c5(0xf2)](_0x688f63,!0x0)&&_0x4cf05c[_0x3a95c5(0xd1)](_0x4e49fb[_0x3a95c5(0x105)]+':'+_0x4e49fb[_0x3a95c5(0xd6)]['id']),_0x30f829[_0x3a95c5(0xf2)](_0x2f55ed,!0x0)&&_0x310138[_0x3a95c5(0xd1)](_0x4e49fb[_0x3a95c5(0x105)]+':'+_0x4e49fb[_0x3a95c5(0xd6)]['id']);}if(_0x4cf05c[_0x3a95c5(0xd0)]!=_0x310138[_0x3a95c5(0xd0)])return!0x1;for(const _0x2f9f4a of _0x4cf05c)if(!_0x310138[_0x3a95c5(0x101)](_0x2f9f4a))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x304f38=_0x51e8;function _0x295d(){const _0x1fa29e=['size','refresh','find','_areMergableCells','execute','stop','setSelection','3frVNfr','findAncestor','mergeTableCells','getRanges','*Merge\x20cells*','markMultiRangeBlockFormat','editor','tableCell','add','_suggestionFactory','root','getAncestors','containsRange','afterInit','29314860YtoFTs','return','push','_acceptFormatSuggestionCallbackFactory','plugins','insertion','document','set:isEnabled','get','from','5fVeKhv','author','length','$graveyard','mergeTableCellDown','createTableWalker','getFirstPosition','mergeTableCellLeft','trackChanges','TableUtils','getSelectionAffectedTableCells','registerCustomCallback','table','mergeTableCellUp','splitTableCellVertically','selection','mergeTableCellRight','descriptionFactory','map','422192qOnrPB','isEnabled','element','getCellLocation','change','commands','registerDescriptionCallback','_isForcedDefaultExecutionBlock','value','307637VEZKGq','3692563RsphIJ','accept','model','isInContent','commandName','direction','TableEditing','rootName','highest','markBlockFormat','splitTableCellHorizontally','*Split\x20cell:*\x20vertically','525144VIsaOq','1804078xBPDQh','243JxAtNi','6gwSkgz','formatBlock','TrackChangesEditing','format','4459748aFEPha','formatInline','fromRange','locale','*Split\x20cell:*\x20horizontally','forceDefaultExecution','filter','low','deletion','type','350YqsoEb','horizontally','_areSelectedCellsMergable','enableCommand','has','cell','requires','_tablePostFixingSubtypes','subType','detach','createRangeOn','getSuggestions'];_0x295d=function(){return _0x1fa29e;};return _0x295d();}function _0x51e8(_0x3c5cb2,_0x28a146){const _0x295d2e=_0x295d();return _0x51e8=function(_0x51e803,_0x2f45af){_0x51e803=_0x51e803-0x11e;let _0x5041f1=_0x295d2e[_0x51e803];return _0x5041f1;},_0x51e8(_0x3c5cb2,_0x28a146);}(function(_0xc3b44d,_0x277914){const _0x1edf63=_0x51e8,_0x2e1621=_0xc3b44d();while(!![]){try{const _0x300b31=-parseInt(_0x1edf63(0x15e))/0x1+parseInt(_0x1edf63(0x15f))/0x2*(parseInt(_0x1edf63(0x182))/0x3)+-parseInt(_0x1edf63(0x165))/0x4*(parseInt(_0x1edf63(0x135))/0x5)+-parseInt(_0x1edf63(0x161))/0x6*(parseInt(_0x1edf63(0x152))/0x7)+parseInt(_0x1edf63(0x148))/0x8*(-parseInt(_0x1edf63(0x160))/0x9)+-parseInt(_0x1edf63(0x16f))/0xa*(-parseInt(_0x1edf63(0x151))/0xb)+parseInt(_0x1edf63(0x12b))/0xc;if(_0x300b31===_0x277914)break;else _0x2e1621['push'](_0x2e1621['shift']());}catch(_0xe690b3){_0x2e1621['push'](_0x2e1621['shift']());}}}(_0x295d,0xb28a5));import{Plugin as _0x204644}from'ckeditor5/src/core.js';import _0x556edb from'./table.js';import{LiveRange as _0x1acd78}from'ckeditor5/src/engine.js';import{getTranslation as _0xddf123}from'../utils/common-translations.js';export default class St extends _0x204644{static get[_0x304f38(0x175)](){return[_0x556edb];}[_0x304f38(0x12a)](){const _0x55ade9=_0x304f38,_0x5390c6=this[_0x55ade9(0x123)],_0x104947=_0x5390c6[_0x55ade9(0x154)][_0x55ade9(0x131)][_0x55ade9(0x144)],_0x4d61dd=_0x5390c6[_0x55ade9(0x168)];if(!_0x5390c6[_0x55ade9(0x12f)][_0x55ade9(0x173)](_0x55ade9(0x158)))return;const _0x136077=_0x5390c6[_0x55ade9(0x12f)][_0x55ade9(0x133)](_0x55ade9(0x163)),_0x529fe2=_0x5390c6[_0x55ade9(0x12f)][_0x55ade9(0x133)](_0x55ade9(0x13e)),_0x1af26f=_0x5390c6[_0x55ade9(0x12f)][_0x55ade9(0x133)](_0x556edb);_0x1af26f[_0x55ade9(0x176)][_0x55ade9(0x12d)](_0x55ade9(0x11f)),_0x136077[_0x55ade9(0x172)](_0x55ade9(0x11f),()=>{const _0x55fa48=_0x55ade9,_0x56f138=_0x529fe2[_0x55fa48(0x13f)](_0x5390c6[_0x55fa48(0x154)][_0x55fa48(0x131)][_0x55fa48(0x144)]);_0x5390c6[_0x55fa48(0x154)][_0x55fa48(0x14c)](()=>{const _0x5edb58=_0x55fa48;_0x136077[_0x5edb58(0x122)](_0x56f138,{'commandName':_0x5edb58(0x11f),'commandParams':[]},[],_0x5edb58(0x11f));});}),_0x5390c6[_0x55ade9(0x14d)][_0x55ade9(0x133)](_0x55ade9(0x11f))['on'](_0x55ade9(0x17f),(_0x587f8c,_0x547e3e)=>{const _0x241968=_0x55ade9;_0x5390c6[_0x241968(0x14d)][_0x241968(0x133)](_0x241968(0x13d))[_0x241968(0x150)]&&(_0x547e3e[_0x241968(0x137)]>0x0&&_0x547e3e[_0x547e3e[_0x241968(0x137)]-0x1]&&_0x547e3e[_0x547e3e[_0x241968(0x137)]-0x1][_0x241968(0x16a)]||_0x136077[_0x241968(0x14f)]||this[_0x241968(0x171)]()||_0x587f8c[_0x241968(0x180)]());},{'priority':_0x55ade9(0x15a)});for(const _0x3a6fbc of[_0x55ade9(0x142),_0x55ade9(0x145),_0x55ade9(0x139),_0x55ade9(0x13c)]){const _0xbd0a06=_0x5390c6[_0x55ade9(0x14d)][_0x55ade9(0x133)](_0x3a6fbc);_0x136077[_0x55ade9(0x172)](_0x3a6fbc,()=>{const _0x37b46f=_0x55ade9,_0x16964c=_0x5390c6[_0x37b46f(0x154)][_0x37b46f(0x131)][_0x37b46f(0x144)][_0x37b46f(0x13b)]()[_0x37b46f(0x128)]()[_0x37b46f(0x17d)](_0x28609c=>_0x28609c['is'](_0x37b46f(0x14a),_0x37b46f(0x124))),_0xaa4e6f=_0xbd0a06[_0x37b46f(0x150)];_0x5390c6[_0x37b46f(0x154)][_0x37b46f(0x14c)](()=>{const _0x44467b=_0x37b46f;_0x136077[_0x44467b(0x122)]([_0x16964c,_0xaa4e6f],{'commandName':_0x44467b(0x11f),'commandParams':[]},[],_0x44467b(0x11f));});});}for(const _0x365f4f of[_0x55ade9(0x143),_0x55ade9(0x15c)]){const _0x3079d7=_0x5390c6[_0x55ade9(0x14d)][_0x55ade9(0x133)](_0x365f4f);_0x136077[_0x55ade9(0x172)](_0x365f4f,()=>{const _0x393f9e=_0x55ade9,_0x56d538=_0x529fe2[_0x393f9e(0x13f)](_0x5390c6[_0x393f9e(0x154)][_0x393f9e(0x131)][_0x393f9e(0x144)])[0x0],_0x21f94a=_0x56d538[_0x393f9e(0x11e)](_0x393f9e(0x141)),{column:_0x338370,row:_0xe50135}=_0x529fe2[_0x393f9e(0x14b)](_0x56d538);let _0xf40645=[];if(_0x393f9e(0x170)==_0x3079d7[_0x393f9e(0x157)]){const _0xa5da74=_0x529fe2[_0x393f9e(0x13a)](_0x21f94a,{'startRow':_0xe50135,'endRow':_0xe50135,'includeAllSlots':!0x0});_0xf40645=Array[_0x393f9e(0x134)](_0xa5da74)[_0x393f9e(0x147)](_0x35bb6c=>_0x35bb6c[_0x393f9e(0x174)]);}else{const _0x30923f=_0x529fe2[_0x393f9e(0x13a)](_0x21f94a,{'column':_0x338370,'includeAllSlots':!0x0});_0xf40645=Array[_0x393f9e(0x134)](_0x30923f)[_0x393f9e(0x147)](_0x15aecc=>_0x15aecc[_0x393f9e(0x174)]);}_0x5390c6[_0x393f9e(0x154)][_0x393f9e(0x14c)](_0x33b995=>{const _0x40b878=_0x393f9e;_0x136077[_0x40b878(0x15b)](_0x33b995[_0x40b878(0x179)](_0x56d538),{'commandName':_0x365f4f,'commandParams':[]},_0xf40645,_0x365f4f);});});}_0x136077[_0x55ade9(0x146)][_0x55ade9(0x14e)](_0x2ab206=>{const _0x523bd1=_0x55ade9;if(_0x523bd1(0x162)!=_0x2ab206[_0x523bd1(0x16e)]&&_0x523bd1(0x166)!=_0x2ab206[_0x523bd1(0x16e)])return;const {data:_0x3226eb}=_0x2ab206;return _0x3226eb&&_0x523bd1(0x11f)==_0x3226eb[_0x523bd1(0x156)]?{'type':_0x523bd1(0x164),'content':_0xddf123(_0x4d61dd,_0x523bd1(0x121))}:void 0x0;}),_0x136077[_0x55ade9(0x146)][_0x55ade9(0x14e)](_0x3738da=>{const _0x4f4209=_0x55ade9;if(_0x4f4209(0x162)!=_0x3738da[_0x4f4209(0x16e)]&&_0x4f4209(0x166)!=_0x3738da[_0x4f4209(0x16e)])return;const {data:_0x1a6cb8}=_0x3738da;return _0x1a6cb8?_0x4f4209(0x143)==_0x1a6cb8[_0x4f4209(0x156)]?{'type':_0x4f4209(0x164),'content':_0xddf123(_0x4d61dd,_0x4f4209(0x15d))}:_0x4f4209(0x15c)==_0x1a6cb8[_0x4f4209(0x156)]?{'type':_0x4f4209(0x164),'content':_0xddf123(_0x4d61dd,_0x4f4209(0x169))}:void 0x0:void 0x0;});const _0x44cc2e=_0x1af26f[_0x55ade9(0x12e)]();for(const _0x5b27ed of[_0x55ade9(0x142),_0x55ade9(0x145),_0x55ade9(0x139),_0x55ade9(0x13c)])_0x136077[_0x55ade9(0x126)][_0x55ade9(0x140)](_0x55ade9(0x162),_0x5b27ed,_0x55ade9(0x153),_0x44cc2e);for(const _0xca689d of[_0x55ade9(0x143),_0x55ade9(0x15c)])_0x136077[_0x55ade9(0x126)][_0x55ade9(0x140)](_0x55ade9(0x162),_0xca689d,_0x55ade9(0x153),_0x44cc2e);_0x136077[_0x55ade9(0x126)][_0x55ade9(0x140)](_0x55ade9(0x162),_0x55ade9(0x11f),_0x55ade9(0x153),_0x45f156=>{const _0x2edb76=_0x55ade9;_0x5390c6[_0x2edb76(0x154)][_0x2edb76(0x14c)](_0x18cb13=>{const _0x54746f=_0x2edb76,_0x1fbe22=Array[_0x54746f(0x134)](_0x104947[_0x54746f(0x120)]())[_0x54746f(0x147)](_0x1e6de1=>_0x1acd78[_0x54746f(0x167)](_0x1e6de1));_0x18cb13[_0x54746f(0x181)](_0x45f156),_0x5390c6[_0x54746f(0x14d)][_0x54746f(0x133)](_0x54746f(0x11f))[_0x54746f(0x17c)](),_0x5390c6[_0x54746f(0x17f)](_0x54746f(0x11f),{'forceDefaultExecution':!0x0});const _0x4d87c4=_0x1fbe22[_0x54746f(0x16b)](_0x3bba87=>_0x54746f(0x138)!=_0x3bba87[_0x54746f(0x127)][_0x54746f(0x159)]);_0x4d87c4[_0x54746f(0x137)]>0x0&&_0x18cb13[_0x54746f(0x181)](_0x4d87c4);for(const _0x5b386b of _0x1fbe22)_0x5b386b[_0x54746f(0x178)]();});});for(const _0x1b1d9a of[_0x55ade9(0x142),_0x55ade9(0x139),_0x55ade9(0x13c),_0x55ade9(0x145)]){const _0x8707e7=_0x5390c6[_0x55ade9(0x14d)][_0x55ade9(0x133)](_0x1b1d9a);_0x8707e7['on'](_0x55ade9(0x132),(_0x41aa48,_0x3582dd,_0x27480d)=>{const _0x367468=_0x55ade9;if(_0x27480d){const _0x9d819f=_0x5390c6[_0x367468(0x154)][_0x367468(0x131)][_0x367468(0x144)][_0x367468(0x13b)]()[_0x367468(0x128)]()[_0x367468(0x17d)](_0x5c9405=>_0x5c9405['is'](_0x367468(0x14a),_0x367468(0x124)));this[_0x367468(0x17e)](_0x8707e7[_0x367468(0x150)],_0x9d819f)||(_0x41aa48[_0x367468(0x12c)]=!0x1,_0x41aa48[_0x367468(0x180)]());}},{'priority':_0x55ade9(0x16c)});}}[_0x304f38(0x171)](){const _0x11508c=_0x304f38,_0x48f8d2=this[_0x11508c(0x123)][_0x11508c(0x14d)][_0x11508c(0x133)](_0x11508c(0x11f)),_0x2ecc5b=this[_0x11508c(0x123)][_0x11508c(0x12f)][_0x11508c(0x133)](_0x11508c(0x13e));if(!_0x48f8d2[_0x11508c(0x149)])return!0x1;const _0x4f7e14=_0x2ecc5b[_0x11508c(0x13f)](this[_0x11508c(0x123)][_0x11508c(0x154)][_0x11508c(0x131)][_0x11508c(0x144)]);for(const _0x3ae137 of _0x4f7e14)for(const _0x3ba3b1 of _0x4f7e14)if(_0x3ae137!=_0x3ba3b1&&!this[_0x11508c(0x17e)](_0x3ae137,_0x3ba3b1))return!0x1;return!0x0;}[_0x304f38(0x17e)](_0x5465c5,_0x229459){const _0x10f9f6=_0x304f38,_0x8183a=this[_0x10f9f6(0x123)][_0x10f9f6(0x12f)][_0x10f9f6(0x133)](_0x10f9f6(0x163)),_0x3b5546=this[_0x10f9f6(0x123)][_0x10f9f6(0x154)][_0x10f9f6(0x179)](_0x5465c5),_0x590bf3=this[_0x10f9f6(0x123)][_0x10f9f6(0x154)][_0x10f9f6(0x179)](_0x229459),_0x984bd7=new Set(),_0x5e5389=new Set();for(const _0x1288c8 of _0x8183a[_0x10f9f6(0x17a)]())if((_0x10f9f6(0x130)==_0x1288c8[_0x10f9f6(0x16e)]||_0x10f9f6(0x16d)==_0x1288c8[_0x10f9f6(0x16e)]||_0x10f9f6(0x11f)==_0x1288c8[_0x10f9f6(0x177)])&&_0x1288c8[_0x10f9f6(0x155)]){for(const _0x17c323 of _0x1288c8[_0x10f9f6(0x120)]())_0x17c323[_0x10f9f6(0x129)](_0x3b5546,!0x0)&&_0x984bd7[_0x10f9f6(0x125)](_0x1288c8[_0x10f9f6(0x16e)]+':'+_0x1288c8[_0x10f9f6(0x136)]['id']),_0x17c323[_0x10f9f6(0x129)](_0x590bf3,!0x0)&&_0x5e5389[_0x10f9f6(0x125)](_0x1288c8[_0x10f9f6(0x16e)]+':'+_0x1288c8[_0x10f9f6(0x136)]['id']);}if(_0x984bd7[_0x10f9f6(0x17b)]!=_0x5e5389[_0x10f9f6(0x17b)])return!0x1;for(const _0x47428a of _0x984bd7)if(!_0x5e5389[_0x10f9f6(0x173)](_0x47428a))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5c7bac=_0x3a3a;function _0x3025(){const _0x356fa2=['99aCtMdS','insertTableOfContents','descriptionFactory','1000uRvroc','registerElementLabel','afterInit','7302tWjtkv','TrackChangesEditing','get','1782508inHAak','425676WTsnCV','commands','854301eXIozB','tableOfContents','11671570opZipo','502658RwkTgM','plugins','enableCommand','locale','265168LhICBI','1DqUcpu','editor','ELEMENT_TABLE_OF_CONTENTS'];_0x3025=function(){return _0x356fa2;};return _0x3025();}(function(_0x13bca7,_0x3dd929){const _0x1ec2e5=_0x3a3a,_0x22e324=_0x13bca7();while(!![]){try{const _0x3daba5=-parseInt(_0x1ec2e5(0x155))/0x1*(parseInt(_0x1ec2e5(0x150))/0x2)+parseInt(_0x1ec2e5(0x14d))/0x3+-parseInt(_0x1ec2e5(0x162))/0x4+-parseInt(_0x1ec2e5(0x15b))/0x5*(parseInt(_0x1ec2e5(0x15e))/0x6)+-parseInt(_0x1ec2e5(0x161))/0x7+parseInt(_0x1ec2e5(0x154))/0x8*(-parseInt(_0x1ec2e5(0x158))/0x9)+parseInt(_0x1ec2e5(0x14f))/0xa;if(_0x3daba5===_0x3dd929)break;else _0x22e324['push'](_0x22e324['shift']());}catch(_0x5f230d){_0x22e324['push'](_0x22e324['shift']());}}}(_0x3025,0x38866));import{Plugin as _0x2b0fbc}from'ckeditor5/src/core.js';function _0x3a3a(_0x156cdb,_0x515f82){const _0x30256b=_0x3025();return _0x3a3a=function(_0x3a3af7,_0x4444ee){_0x3a3af7=_0x3a3af7-0x14c;let _0x5f0fe1=_0x30256b[_0x3a3af7];return _0x5f0fe1;},_0x3a3a(_0x156cdb,_0x515f82);}import{getTranslation as _0x51fd81}from'../utils/common-translations.js';export default class _t extends _0x2b0fbc{[_0x5c7bac(0x15d)](){const _0x829e06=_0x5c7bac,_0x3a1786=this[_0x829e06(0x156)];if(!_0x3a1786[_0x829e06(0x14c)][_0x829e06(0x160)](_0x829e06(0x159)))return;_0x3a1786[_0x829e06(0x151)][_0x829e06(0x160)](_0x829e06(0x15f))[_0x829e06(0x152)](_0x829e06(0x159));const _0x1b7bd9=_0x3a1786[_0x829e06(0x151)][_0x829e06(0x160)](_0x829e06(0x15f)),_0x22a2ba=_0x3a1786[_0x829e06(0x153)];_0x1b7bd9[_0x829e06(0x15a)][_0x829e06(0x15c)](_0x829e06(0x14e),_0x3dd5fc=>_0x51fd81(_0x22a2ba,_0x829e06(0x157),_0x3dd5fc));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2907c5=_0x4538;function _0xc3aa(){const _0x8c297c=['table','tableCellBorderStyle','descriptionFactory','getSuggestionCallback','join','100CtChss','getFirstPosition','tableBorderStyle','tableCellBorderWidth','279OwMwhP','2653ktAwgm','tableCellProperties','tableWidth','getSelectionAffectedTableCells','TrackChangesEditing','672636fvGHyQ','tableCellBorderColor','change','markBlockFormat','accept','TrackChangesTableProperties','getAttribute','locale','3068cvqPoY','afterInit','editor','tableAlignment','model','276bbprnz','tableProperties','tableCellHorizontalAlignment','document','8bXOdxV','TableUtils','*Format:*\x20change\x20table\x20properties','registerCustomCallback','10735UCGvXM','5214cvNKBf','format','batch','nodeAfter','registerDescriptionCallback','tableCellBackgroundColor','handleDiscardAction','discard','11532wiWYDH','enqueueChange','_handlePropertyChange','removeAttribute','data','3766drnHIf','get','setAttribute','*Format:*\x20change\x20table\x20cell\x20properties','getContainedElement','tableCellPadding','tableBorderWidth','tableHeight','tableCellWidth','subType','start','276668kELRhl','findAncestor','has','tableBackgroundColor','formatBlock','selection','commandParams','plugins','208160mZvoHX','handleSuggestionDescription','_getSuggestion','tableBorderColor','tableCellHeight','TablePropertiesEditing','enableCommand','TableCellPropertiesEditing','_suggestionFactory','pluginName','3syTHax','tableCellVerticalAlignment','getSuggestions'];_0xc3aa=function(){return _0x8c297c;};return _0xc3aa();}(function(_0xc042de,_0x4b69e7){const _0x3f9d7d=_0x4538,_0x4fb774=_0xc042de();while(!![]){try{const _0x3cdd10=parseInt(_0x3f9d7d(0x1f9))/0x1*(parseInt(_0x3f9d7d(0x1f4))/0x2)+parseInt(_0x3f9d7d(0x1ec))/0x3*(parseInt(_0x3f9d7d(0x1fe))/0x4)+-parseInt(_0x3f9d7d(0x213))/0x5*(parseInt(_0x3f9d7d(0x20b))/0x6)+-parseInt(_0x3f9d7d(0x22c))/0x7*(-parseInt(_0x3f9d7d(0x20f))/0x8)+-parseInt(_0x3f9d7d(0x1f8))/0x9*(-parseInt(_0x3f9d7d(0x234))/0xa)+parseInt(_0x3f9d7d(0x214))/0xb*(-parseInt(_0x3f9d7d(0x21c))/0xc)+parseInt(_0x3f9d7d(0x206))/0xd*(-parseInt(_0x3f9d7d(0x221))/0xe);if(_0x3cdd10===_0x4b69e7)break;else _0x4fb774['push'](_0x4fb774['shift']());}catch(_0x531236){_0x4fb774['push'](_0x4fb774['shift']());}}}(_0xc3aa,0x59cfd));import{Plugin as _0x5b1b27}from'ckeditor5/src/core.js';import{getTranslation as _0x3c5eaa}from'../utils/common-translations.js';function _0x4538(_0x1ee444,_0x1e2e20){const _0xc3aa3f=_0xc3aa();return _0x4538=function(_0x453809,_0x43deca){_0x453809=_0x453809-0x1e3;let _0x5e0940=_0xc3aa3f[_0x453809];return _0x5e0940;},_0x4538(_0x1ee444,_0x1e2e20);}export default class $t extends _0x5b1b27{constructor(_0x4666ca){const _0x58890d=_0x4538;super(_0x4666ca),this[_0x58890d(0x20c)]=[_0x58890d(0x1e5),_0x58890d(0x1f6),_0x58890d(0x227),_0x58890d(0x209),_0x58890d(0x1fb),_0x58890d(0x228),_0x58890d(0x22f)],this[_0x58890d(0x1fa)]=[_0x58890d(0x1ff),_0x58890d(0x1f0),_0x58890d(0x1f7),_0x58890d(0x226),_0x58890d(0x229),_0x58890d(0x1e6),_0x58890d(0x219),_0x58890d(0x20d),_0x58890d(0x1ed)];}static get[_0x2907c5(0x1eb)](){const _0x1b6118=_0x2907c5;return _0x1b6118(0x203);}[_0x2907c5(0x207)](){const _0xf86fe1=_0x2907c5,_0x5b4dde=this[_0xf86fe1(0x208)][_0xf86fe1(0x233)][_0xf86fe1(0x222)](_0xf86fe1(0x1fd));if(this[_0xf86fe1(0x208)][_0xf86fe1(0x233)][_0xf86fe1(0x22e)](_0xf86fe1(0x1e7))){for(const _0x22d223 of this[_0xf86fe1(0x20c)])_0x5b4dde[_0xf86fe1(0x1e8)](_0x22d223,(_0x598ed0,_0xd5f27b)=>{const _0x57e6c=_0xf86fe1,_0x55543e=this[_0x57e6c(0x208)][_0x57e6c(0x20a)][_0x57e6c(0x20e)][_0x57e6c(0x231)][_0x57e6c(0x1f5)]()[_0x57e6c(0x22d)](_0x57e6c(0x1ef));this[_0x57e6c(0x21e)](_0x22d223,[_0x55543e],this[_0x57e6c(0x20c)],_0x57e6c(0x20c),_0x598ed0,_0xd5f27b);});_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x20c),_0xf86fe1(0x202),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x1f2)](_0xf86fe1(0x230),null,_0xf86fe1(0x21b))),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x20c),_0xf86fe1(0x21b),(_0x4ce150,_0x56de79)=>this[_0xf86fe1(0x21a)](this[_0xf86fe1(0x20c)],_0x4ce150,_0x56de79)),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x20c),_0xf86fe1(0x1f3),()=>!0x1);}if(this[_0xf86fe1(0x208)][_0xf86fe1(0x233)][_0xf86fe1(0x22e)](_0xf86fe1(0x1e9))){for(const _0x214abe of this[_0xf86fe1(0x1fa)])_0x5b4dde[_0xf86fe1(0x1e8)](_0x214abe,(_0x322c82,_0x2c4bd0)=>{const _0x4398fb=_0xf86fe1,_0x4efdec=this[_0x4398fb(0x208)][_0x4398fb(0x233)][_0x4398fb(0x222)](_0x4398fb(0x210))[_0x4398fb(0x1fc)](this[_0x4398fb(0x208)][_0x4398fb(0x20a)][_0x4398fb(0x20e)][_0x4398fb(0x231)]);this[_0x4398fb(0x21e)](_0x214abe,_0x4efdec,this[_0x4398fb(0x1fa)],_0x4398fb(0x1fa),_0x322c82,_0x2c4bd0);});_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x1fa),_0xf86fe1(0x202),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x1f2)](_0xf86fe1(0x230),null,_0xf86fe1(0x21b))),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x1fa),_0xf86fe1(0x21b),(_0x239b2f,_0x155836)=>this[_0xf86fe1(0x21a)](this[_0xf86fe1(0x1fa)],_0x239b2f,_0x155836)),_0x5b4dde[_0xf86fe1(0x1ea)][_0xf86fe1(0x212)](_0xf86fe1(0x230),_0xf86fe1(0x1fa),_0xf86fe1(0x1f3),()=>!0x1);}_0x5b4dde[_0xf86fe1(0x1f1)][_0xf86fe1(0x218)](_0xc65cf9=>this[_0xf86fe1(0x1e3)](_0xc65cf9));}[_0x2907c5(0x21e)](_0x337446,_0x2ce8be,_0x107963,_0x10b575,_0x57ad5d,_0x29bda3){const _0x3d949f=_0x2907c5,_0x594e98=this[_0x3d949f(0x208)][_0x3d949f(0x233)][_0x3d949f(0x222)](_0x3d949f(0x1fd));this[_0x3d949f(0x208)][_0x3d949f(0x20a)][_0x3d949f(0x21d)](_0x29bda3[_0x3d949f(0x216)],()=>{const _0x22bff0=_0x3d949f;for(const _0x5ebf64 of _0x2ce8be){if(this[_0x22bff0(0x1e4)](_0x5ebf64,_0x10b575))_0x57ad5d(_0x29bda3);else{const _0x30fe35={};for(const _0x15c814 of _0x107963){const _0x4b432f=_0x5ebf64[_0x22bff0(0x204)](_0x15c814);void 0x0!==_0x4b432f&&(_0x30fe35[_0x15c814]=_0x4b432f);}_0x57ad5d(_0x29bda3),_0x594e98[_0x22bff0(0x201)](_0x5ebf64,{'commandParams':[_0x30fe35]},[],_0x10b575);}}});}[_0x2907c5(0x21a)](_0xc8b67f,_0xbe5a26,_0xec16c8){const _0x25d534=_0x2907c5,_0x9586c=_0xbe5a26[0x0][_0x25d534(0x22b)][_0x25d534(0x217)],_0x6bd8f4=_0xec16c8[_0x25d534(0x232)][0x0];this[_0x25d534(0x208)][_0x25d534(0x20a)][_0x25d534(0x200)](_0x20cc36=>{const _0x470c55=_0x25d534;for(const _0x5a091a of _0xc8b67f)void 0x0!==_0x6bd8f4[_0x5a091a]?_0x20cc36[_0x470c55(0x223)](_0x5a091a,_0x6bd8f4[_0x5a091a],_0x9586c):_0x20cc36[_0x470c55(0x21f)](_0x5a091a,_0x9586c);});}[_0x2907c5(0x1e3)](_0x494a1f){const _0x40afd2=_0x2907c5;if(_0x494a1f[_0x40afd2(0x220)])switch(_0x494a1f[_0x40afd2(0x22a)]){case _0x40afd2(0x20c):return{'type':_0x40afd2(0x215),'content':_0x3c5eaa(this[_0x40afd2(0x208)][_0x40afd2(0x205)],_0x40afd2(0x211))};case _0x40afd2(0x1fa):return{'type':_0x40afd2(0x215),'content':_0x3c5eaa(this[_0x40afd2(0x208)][_0x40afd2(0x205)],_0x40afd2(0x224))};}}[_0x2907c5(0x1e4)](_0x28ee4f,_0x4680ad){const _0x551f5a=_0x2907c5,_0x10c99e=this[_0x551f5a(0x208)][_0x551f5a(0x233)][_0x551f5a(0x222)](_0x551f5a(0x1fd));for(const _0x35793e of _0x10c99e[_0x551f5a(0x1ee)]({'skipNotAttached':!0x0})){const _0x362129=_0x35793e[_0x551f5a(0x225)]();if(_0x35793e[_0x551f5a(0x22a)]===_0x4680ad&&_0x362129===_0x28ee4f)return _0x35793e;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d3605=_0x118d;(function(_0x1b369f,_0x38ba04){const _0x355691=_0x118d,_0x256be7=_0x1b369f();while(!![]){try{const _0x5411db=-parseInt(_0x355691(0xa1))/0x1+parseInt(_0x355691(0xa0))/0x2+-parseInt(_0x355691(0xa2))/0x3+-parseInt(_0x355691(0x9e))/0x4+parseInt(_0x355691(0x9a))/0x5+-parseInt(_0x355691(0x9c))/0x6+parseInt(_0x355691(0x9f))/0x7*(parseInt(_0x355691(0xa4))/0x8);if(_0x5411db===_0x38ba04)break;else _0x256be7['push'](_0x256be7['shift']());}catch(_0x5477f2){_0x256be7['push'](_0x256be7['shift']());}}}(_0x538f,0xd91b0));import{Plugin as _0x5d1242}from'ckeditor5/src/core.js';function _0x538f(){const _0x314317=['plugins','TrackChangesEditing','has','afterInit','6390070HDicFv','editor','1417410DDbMYS','insertTemplate','6698288BNWyxh','77IWNqbT','253070fyZWWC','1449797gSyrZh','1117599qdJGtr','enableCommand','2340256jXyZcm','get','Template'];_0x538f=function(){return _0x314317;};return _0x538f();}function _0x118d(_0x3a4504,_0x401c46){const _0x538f9d=_0x538f();return _0x118d=function(_0x118d38,_0x5e9be8){_0x118d38=_0x118d38-0x99;let _0x3154d0=_0x538f9d[_0x118d38];return _0x3154d0;},_0x118d(_0x3a4504,_0x401c46);}export default class Ct extends _0x5d1242{[_0x3d3605(0x99)](){const _0x36b486=_0x3d3605,_0x29f133=this[_0x36b486(0x9b)];_0x29f133[_0x36b486(0xa7)][_0x36b486(0xa9)](_0x36b486(0xa6))&&_0x29f133[_0x36b486(0xa7)][_0x36b486(0xa5)](_0x36b486(0xa8))[_0x36b486(0xa3)](_0x36b486(0x9d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xad3ba1=_0x5dd2;function _0x5dd2(_0x263f54,_0x41c6b9){const _0x45f092=_0x45f0();return _0x5dd2=function(_0x5dd276,_0xc3df52){_0x5dd276=_0x5dd276-0x68;let _0x325322=_0x45f092[_0x5dd276];return _0x325322;},_0x5dd2(_0x263f54,_0x41c6b9);}(function(_0x5ddbe7,_0xc8f257){const _0x5e98ee=_0x5dd2,_0x24da04=_0x5ddbe7();while(!![]){try{const _0xd05fe0=-parseInt(_0x5e98ee(0x7b))/0x1*(-parseInt(_0x5e98ee(0x69))/0x2)+-parseInt(_0x5e98ee(0x7a))/0x3*(-parseInt(_0x5e98ee(0x7f))/0x4)+-parseInt(_0x5e98ee(0x77))/0x5+-parseInt(_0x5e98ee(0x6b))/0x6+-parseInt(_0x5e98ee(0x7d))/0x7*(-parseInt(_0x5e98ee(0x8d))/0x8)+parseInt(_0x5e98ee(0x74))/0x9+parseInt(_0x5e98ee(0x82))/0xa*(-parseInt(_0x5e98ee(0x8c))/0xb);if(_0xd05fe0===_0xc8f257)break;else _0x24da04['push'](_0x24da04['shift']());}catch(_0x21d246){_0x24da04['push'](_0x24da04['shift']());}}}(_0x45f0,0x5b88d));function _0x45f0(){const _0x15ef7a=['getNearestSelectionRange','164571izXBZA','24BpdEac','getChangedMarkers','nodeBefore','createRange','newRange','registerPostFixer','TrackChangesEditing','isTouching','title-content','205202omcCUe','Title','3445560YaFnLt','removeMarker','schema','suggestion','locale','model','document','get','editor','1905642CicxBK','differ','_splitMarkerName','3271620ROwlRs','forward','end','340821tNQVTP','5ostMfX','has','1423219RjMvVP','updateMarker','20RNpGGK','afterInit','plugins','200IQnSAD','ELEMENT_TITLE','from','isEqual','descriptionFactory','registerElementLabel','element','isCollapsed','start'];_0x45f0=function(){return _0x15ef7a;};return _0x45f0();}import{Plugin as _0x4c5f1e}from'ckeditor5/src/core.js';import{getTranslation as _0x221d94}from'../utils/common-translations.js';export default class Dt extends _0x4c5f1e{[_0xad3ba1(0x80)](){const _0x108be2=_0xad3ba1,_0x5316df=this[_0x108be2(0x73)];if(!_0x5316df[_0x108be2(0x81)][_0x108be2(0x7c)](_0x108be2(0x6a)))return;const _0x501032=_0x5316df[_0x108be2(0x81)][_0x108be2(0x72)](_0x108be2(0x93));_0x501032[_0x108be2(0x86)][_0x108be2(0x87)](_0x108be2(0x68),()=>_0x221d94(_0x5316df[_0x108be2(0x6f)],_0x108be2(0x83))),_0x5316df[_0x108be2(0x70)][_0x108be2(0x71)][_0x108be2(0x92)](_0x397555=>{const _0x1cf504=_0x108be2;let _0x47d058=!0x1;const _0x190bed=Array[_0x1cf504(0x84)](_0x5316df[_0x1cf504(0x70)][_0x1cf504(0x71)][_0x1cf504(0x75)][_0x1cf504(0x8e)]());for(const {name:_0x819942,data:_0x45a005}of _0x190bed){const {group:_0x389595}=_0x501032[_0x1cf504(0x76)](_0x819942);if(_0x1cf504(0x6e)!==_0x389595||!_0x45a005[_0x1cf504(0x91)])continue;const _0x837511=_0x45a005[_0x1cf504(0x91)],_0x5d38b7=_0x837511[_0x1cf504(0x79)][_0x1cf504(0x8f)];if(!_0x5d38b7||!_0x5d38b7['is'](_0x1cf504(0x88),_0x1cf504(0x68)))continue;if(!_0x837511[_0x1cf504(0x8a)][_0x1cf504(0x94)](_0x837511[_0x1cf504(0x79)]))continue;const _0x53706c=_0x5316df[_0x1cf504(0x70)][_0x1cf504(0x6d)][_0x1cf504(0x8b)](_0x837511[_0x1cf504(0x79)],_0x1cf504(0x78));if(_0x53706c&&_0x53706c[_0x1cf504(0x89)]){const _0x5dac93=_0x397555[_0x1cf504(0x90)](_0x837511[_0x1cf504(0x8a)],_0x53706c[_0x1cf504(0x8a)]);_0x5dac93[_0x1cf504(0x85)](_0x837511)||(_0x397555[_0x1cf504(0x7e)](_0x819942,{'range':_0x5dac93}),_0x47d058=!0x0);}_0x47d058||(_0x397555[_0x1cf504(0x6c)](_0x819942),_0x47d058=!0x0);}return _0x47d058;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5992(){const _0x1445db=['8JPGSNH','885790ynujVp','undo','redo','765740ZiRdzs','6LNGRtX','2688282fLxxgt','has','plugins','editor','get','152590hxiHLE','471030jyAyCr','enableCommand','1MxrMgS','afterInit','3175344KdJuRq','5077156fhmscO','UndoEditing','TrackChangesEditing'];_0x5992=function(){return _0x1445db;};return _0x5992();}function _0xd7af(_0x422fde,_0x589382){const _0x5992d8=_0x5992();return _0xd7af=function(_0xd7af13,_0x5d9348){_0xd7af13=_0xd7af13-0x90;let _0x5c8517=_0x5992d8[_0xd7af13];return _0x5c8517;},_0xd7af(_0x422fde,_0x589382);}const _0x2b3c17=_0xd7af;(function(_0xcf66b1,_0x71d450){const _0x225fbc=_0xd7af,_0xa9a3da=_0xcf66b1();while(!![]){try{const _0x4b1c1d=parseInt(_0x225fbc(0xa0))/0x1*(parseInt(_0x225fbc(0x9e))/0x2)+-parseInt(_0x225fbc(0x97))/0x3*(parseInt(_0x225fbc(0x96))/0x4)+parseInt(_0x225fbc(0x9d))/0x5+-parseInt(_0x225fbc(0x98))/0x6+-parseInt(_0x225fbc(0xa3))/0x7*(-parseInt(_0x225fbc(0x92))/0x8)+parseInt(_0x225fbc(0xa2))/0x9+-parseInt(_0x225fbc(0x93))/0xa;if(_0x4b1c1d===_0x71d450)break;else _0xa9a3da['push'](_0xa9a3da['shift']());}catch(_0x153e1b){_0xa9a3da['push'](_0xa9a3da['shift']());}}}(_0x5992,0x67ad5));import{Plugin as _0x2cc372}from'ckeditor5/src/core.js';export default class Nt extends _0x2cc372{[_0x2b3c17(0xa1)](){const _0x19b667=_0x2b3c17,_0xaa751d=this[_0x19b667(0x9b)],_0x1e3f1a=_0xaa751d[_0x19b667(0x9a)][_0x19b667(0x9c)](_0x19b667(0x91));_0xaa751d[_0x19b667(0x9a)][_0x19b667(0x99)](_0x19b667(0x90))&&(_0x1e3f1a[_0x19b667(0x9f)](_0x19b667(0x94)),_0x1e3f1a[_0x19b667(0x9f)](_0x19b667(0x95)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x44c3(){const _0x4f4572=['toViewPosition','isContent','name','elementEnd','514098uQCpCb','test','ck-suggestion-marker-','item','addClass','getCustomProperty','start','ck-suggestion-marker--active','isLimit','585100mGmDsC','TrackChangesEditing','16871920JJDoUl','createUIElement','3409221tadpoE','push','activeMarkers','markerName','8116325KCNReG','type','mapper','addHighlight','createRangeOn','schema','isAtEnd','getWalker','plugins','includes','isBlock','1536382JVPBkU','markerRange','4xjSQSI','nextSibling','1220814gJzrLK','consumable','previousPosition','writer','getItems','get','insert','bindElementToMarker','parent','toViewElement','span','model','hasAttribute'];_0x44c3=function(){return _0x4f4572;};return _0x44c3();}function _0x5274(_0x40aac7,_0x1d8be6){const _0x44c394=_0x44c3();return _0x5274=function(_0x5274dd,_0xc4e2b3){_0x5274dd=_0x5274dd-0x90;let _0x20575c=_0x44c394[_0x5274dd];return _0x20575c;},_0x5274(_0x40aac7,_0x1d8be6);}(function(_0x5d389e,_0xe4b5fb){const _0x45213d=_0x5274,_0x2e461e=_0x5d389e();while(!![]){try{const _0xe98dde=parseInt(_0x45213d(0xc0))/0x1+-parseInt(_0x45213d(0xbc))/0x2+parseInt(_0x45213d(0xad))/0x3*(parseInt(_0x45213d(0xbe))/0x4)+parseInt(_0x45213d(0xa9))/0x5+-parseInt(_0x45213d(0xa0))/0x6+parseInt(_0x45213d(0xb1))/0x7+-parseInt(_0x45213d(0xab))/0x8;if(_0xe98dde===_0xe4b5fb)break;else _0x2e461e['push'](_0x2e461e['shift']());}catch(_0x2fa388){_0x2e461e['push'](_0x2e461e['shift']());}}}(_0x44c3,0xa3c84));export function getRangesWithAttribute(_0x4e16bd,_0x7049e,_0x158f31){const _0x1b5a6e=_0x5274,_0x57341=[];for(const _0x34404f of _0x7049e[_0x1b5a6e(0x93)]())_0x34404f[_0x1b5a6e(0x9b)](_0x4e16bd)&&_0x57341[_0x1b5a6e(0xae)](_0x158f31[_0x1b5a6e(0xb5)](_0x34404f));return _0x57341;}export function downcastSplitMergeMarker(_0x252a6c,_0x3ee70c,{showActiveMarker:_0x466b17=!0x0}={}){const _0x46efe7=_0x5274,_0x3efbb6=_0x252a6c[_0x46efe7(0xb9)][_0x46efe7(0x94)](_0x46efe7(0xaa));return(_0x5acc77,_0x2aad29,_0x329b16)=>{const _0x593fbe=_0x46efe7;if(!_0x329b16[_0x593fbe(0x90)][_0x593fbe(0xa1)](_0x2aad29[_0x593fbe(0xbd)],_0x5acc77[_0x593fbe(0x9e)]))return;const _0x3c3673=_0x2aad29[_0x593fbe(0xbd)][_0x593fbe(0xb8)](),_0x35e988=_0x2aad29[_0x593fbe(0xbd)][_0x593fbe(0xa6)],_0x1141c2=_0x252a6c[_0x593fbe(0x9a)][_0x593fbe(0xb6)];let _0x1b51cd=null,_0x251135=null,_0x343872=!0x1,_0x301b25=!0x1;for(const _0x5e376b of _0x3c3673){const _0x481df4=_0x5e376b[_0x593fbe(0xa3)];_0x343872=_0x343872||_0x1141c2[_0x593fbe(0x9d)](_0x481df4);const _0x54a9fe=_0x329b16[_0x593fbe(0xb3)][_0x593fbe(0x98)](_0x481df4);if(_0x54a9fe&&_0x54a9fe[_0x593fbe(0xa5)](_0x593fbe(0xb4)))return;_0x593fbe(0x9f)==_0x5e376b[_0x593fbe(0xb2)]&&(_0x1141c2[_0x593fbe(0xbb)](_0x481df4)&&!_0x1141c2[_0x593fbe(0xa8)](_0x481df4)&&(_0x481df4[_0x593fbe(0xbf)]||_0x35e988[_0x593fbe(0xb7)]?_0x1b51cd&&_0x1b51cd[_0x593fbe(0x97)]==_0x481df4||(_0x1b51cd=_0x481df4,_0x3a067b(_0x5e376b[_0x593fbe(0x91)]),_0x301b25=!0x0):_0x251135=_0x251135||_0x5e376b[_0x593fbe(0x91)]));}function _0x3a067b(_0x3ddd91){const _0x5ee09b=_0x593fbe,_0x39e36b=_0x329b16[_0x5ee09b(0x92)][_0x5ee09b(0xac)](_0x5ee09b(0x99),{'class':_0x5ee09b(0xa2)+_0x3ee70c}),_0x38a568=_0x329b16[_0x5ee09b(0xb3)][_0x5ee09b(0x9c)](_0x3ddd91);_0x466b17&&_0x3efbb6[_0x5ee09b(0xaf)][_0x5ee09b(0xba)](_0x2aad29[_0x5ee09b(0xb0)])&&_0x329b16[_0x5ee09b(0x92)][_0x5ee09b(0xa4)](_0x5ee09b(0xa7),_0x39e36b),_0x329b16[_0x5ee09b(0x92)][_0x5ee09b(0x95)](_0x38a568,_0x39e36b),_0x329b16[_0x5ee09b(0xb3)][_0x5ee09b(0x96)](_0x39e36b,_0x2aad29[_0x5ee09b(0xb0)]);}_0x343872||_0x301b25||!_0x251135||_0x3a067b(_0x251135);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x50e267=_0x4cd4;function _0x4cd4(_0x2bfd2c,_0x618b4c){const _0x268046=_0x2680();return _0x4cd4=function(_0x4cd4c4,_0x4fd995){_0x4cd4c4=_0x4cd4c4-0x124;let _0x56e658=_0x268046[_0x4cd4c4];return _0x56e658;},_0x4cd4(_0x2bfd2c,_0x618b4c);}function _0x2680(){const _0x2467b1=['suggestion:','getItems','755076sNVOhu','isExternal','getMarkers','getMarkerNames','next','hasComments','2800992EGMQqm','removeAttribute','set','markers','getContainedElement','decorate','addRange','filter','addMarkerName','split','1464078mBeIKm','commentThread','_saved','_onAttributesChange','addMarker','5avJsMP','isIntersecting','size','change','type','339gyGBcz','map','removeMarker','isIntersectingWithRange','getRanges','reduce','removeMarkers','end','_onDiscard','onAttributesChange','accept','_isDataLoaded','_model','author','add','getAllAdjacentSuggestions','head','createdAt','isMultiRange','discard','toJSON','setAttribute','56907OMMMvR','312921ZdRypD','getFirstRange','_markerNames','push','attributes','onDiscard','authoredAt','1581708gsTwle','creator','substr','clear','6268yDauJv','from','start','onAccept','nodeBefore','isInContent','getRange','nodeAfter','subType','get','580OBBdcR','length','delete','getFirstMarker','@external','getMultiRangeId','data','previous','_onAccept'];_0x2680=function(){return _0x2467b1;};return _0x2680();}(function(_0x37e876,_0x3dbd68){const _0xc6623e=_0x4cd4,_0x97ef0d=_0x37e876();while(!![]){try{const _0x5979d5=-parseInt(_0xc6623e(0x158))/0x1+parseInt(_0xc6623e(0x127))/0x2+-parseInt(_0xc6623e(0x141))/0x3*(parseInt(_0xc6623e(0x163))/0x4)+-parseInt(_0xc6623e(0x13c))/0x5*(-parseInt(_0xc6623e(0x15f))/0x6)+parseInt(_0xc6623e(0x137))/0x7+parseInt(_0xc6623e(0x12d))/0x8+parseInt(_0xc6623e(0x157))/0x9*(-parseInt(_0xc6623e(0x16d))/0xa);if(_0x5979d5===_0x3dbd68)break;else _0x97ef0d['push'](_0x97ef0d['shift']());}catch(_0x5e9af5){_0x97ef0d['push'](_0x97ef0d['shift']());}}}(_0x2680,0x53e9c));import{Element as _0x444d81}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x249077,uid as _0x40d142}from'ckeditor5/src/utils.js';import{cloneDeep as _0x430da6,isEqual as _0x1c8fae,set as _0x5f5446,unset as _0x34e387}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x249077(){constructor(_0xaa44fa,_0x35c30f){const _0x5350e4=_0x4cd4;super(),this[_0x5350e4(0x14c)]=!0x1,this['id']=_0x35c30f['id'],this[_0x5350e4(0x140)]=_0x35c30f[_0x5350e4(0x140)],this[_0x5350e4(0x16b)]=_0x35c30f[_0x5350e4(0x16b)]||null,this[_0x5350e4(0x14e)]=_0x35c30f[_0x5350e4(0x14e)],this[_0x5350e4(0x160)]=_0x35c30f[_0x5350e4(0x160)]||_0x35c30f[_0x5350e4(0x14e)],this[_0x5350e4(0x128)]=Boolean(_0x35c30f[_0x5350e4(0x15c)]&&_0x35c30f[_0x5350e4(0x15c)][_0x5350e4(0x171)]),this[_0x5350e4(0x173)]=null,this[_0x5350e4(0x14d)]=_0xaa44fa,this[_0x5350e4(0x124)]=_0x35c30f[_0x5350e4(0x166)],this[_0x5350e4(0x149)]=_0x35c30f[_0x5350e4(0x15d)],this[_0x5350e4(0x13a)]=_0x35c30f[_0x5350e4(0x14a)],this[_0x5350e4(0x15a)]=new Set(),this[_0x5350e4(0x152)]=null,this[_0x5350e4(0x12f)](_0x5350e4(0x15e),null),this[_0x5350e4(0x12f)](_0x5350e4(0x15c),_0x35c30f[_0x5350e4(0x15c)]||{}),this[_0x5350e4(0x12f)](_0x5350e4(0x174),null),this[_0x5350e4(0x12f)](_0x5350e4(0x12b),null),this[_0x5350e4(0x12f)](_0x5350e4(0x138),null),this[_0x5350e4(0x12f)](_0x5350e4(0x139),!0x1),this[_0x5350e4(0x132)](_0x5350e4(0x14b)),this[_0x5350e4(0x132)](_0x5350e4(0x154));}get[_0x50e267(0x151)](){const _0x1f8ef4=_0x50e267;let _0x32ebea=this;for(;_0x32ebea[_0x1f8ef4(0x174)];)_0x32ebea=_0x32ebea[_0x1f8ef4(0x174)];return _0x32ebea;}get[_0x50e267(0x12c)](){const _0x29d6ed=_0x50e267;return!!this[_0x29d6ed(0x138)]&&this[_0x29d6ed(0x138)][_0x29d6ed(0x16e)]>0x0;}get[_0x50e267(0x153)](){const _0x15afcd=_0x50e267;if(0x0==this[_0x15afcd(0x15a)][_0x15afcd(0x13e)])return!0x1;return 0x6==Array[_0x15afcd(0x164)](this[_0x15afcd(0x15a)])[0x0][_0x15afcd(0x136)](':')[_0x15afcd(0x16e)];}get[_0x50e267(0x168)](){const _0x3aa635=_0x50e267;return null!==this[_0x3aa635(0x170)]();}[_0x50e267(0x135)](_0x541784){const _0x2d1d9d=_0x50e267;this[_0x2d1d9d(0x15a)][_0x2d1d9d(0x14f)](_0x541784);}[_0x50e267(0x12a)](){const _0xcecb5b=_0x50e267;return Array[_0xcecb5b(0x164)](this[_0xcecb5b(0x15a)]);}[_0x50e267(0x129)](){const _0x39cb12=_0x50e267;return this[_0x39cb12(0x12a)]()[_0x39cb12(0x142)](_0x5b22cb=>this[_0x39cb12(0x14d)][_0x39cb12(0x130)][_0x39cb12(0x16c)](_0x5b22cb))[_0x39cb12(0x134)](_0x11d4ea=>_0x11d4ea);}[_0x50e267(0x170)](){const _0x1ed0bb=_0x50e267;return this[_0x1ed0bb(0x129)]()[0x0]||null;}[_0x50e267(0x147)](){const _0x1d366e=_0x50e267;this[_0x1d366e(0x14d)][_0x1d366e(0x13f)](_0x33620c=>{const _0x35dfb1=_0x1d366e;for(const _0x5bfb43 of this[_0x35dfb1(0x129)]())_0x33620c[_0x35dfb1(0x143)](_0x5bfb43);}),this[_0x1d366e(0x15a)][_0x1d366e(0x162)]();}[_0x50e267(0x143)](_0x23c10b){const _0x255288=_0x50e267;this[_0x255288(0x14d)][_0x255288(0x13f)](_0x3c049e=>{const _0x2dbb7d=_0x255288;_0x3c049e[_0x2dbb7d(0x143)](_0x23c10b);}),this[_0x255288(0x15a)][_0x255288(0x16f)](_0x23c10b);}[_0x50e267(0x133)](_0x462dc9){const _0x5a235e=_0x50e267,_0x26d700=_0x5a235e(0x125)+this[_0x5a235e(0x140)]+':'+this[_0x5a235e(0x16b)]+':'+this['id']+':'+this[_0x5a235e(0x160)]['id']+':'+u[_0x5a235e(0x172)]();this[_0x5a235e(0x135)](_0x26d700),this[_0x5a235e(0x14d)][_0x5a235e(0x13f)](_0x2c77d6=>{const _0xaeba6d=_0x5a235e;_0x2c77d6[_0xaeba6d(0x13b)](_0x26d700,{'range':_0x462dc9,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x50e267(0x144)](_0x58e12f){const _0x1eaa03=_0x50e267;for(const _0x31fd24 of this[_0x1eaa03(0x145)]())if(_0x31fd24[_0x1eaa03(0x13d)](_0x58e12f))return!0x0;return!0x1;}[_0x50e267(0x145)](){const _0x4b5fe8=_0x50e267;return this[_0x4b5fe8(0x129)]()[_0x4b5fe8(0x142)](_0x12d1b9=>_0x12d1b9[_0x4b5fe8(0x169)]());}[_0x50e267(0x126)](){const _0x56542d=_0x50e267;return this[_0x56542d(0x145)]()[_0x56542d(0x146)]((_0xfe42d1,_0x83e9c5)=>[..._0xfe42d1,..._0x83e9c5[_0x56542d(0x126)]()],[]);}[_0x50e267(0x159)](){const _0xc14b27=_0x50e267;var _0x233280;return(null===(_0x233280=this[_0xc14b27(0x170)]())||void 0x0===_0x233280?void 0x0:_0x233280[_0xc14b27(0x169)]())||null;}[_0x50e267(0x131)](){const _0x5f3b4e=_0x50e267,_0x450345=this[_0x5f3b4e(0x145)]();if(0x1!=_0x450345[_0x5f3b4e(0x16e)])return null;const _0x40acce=_0x450345[0x0],_0xdfa4ad=_0x40acce[_0x5f3b4e(0x165)][_0x5f3b4e(0x16a)],_0x4bc318=_0x40acce[_0x5f3b4e(0x148)][_0x5f3b4e(0x167)];return _0xdfa4ad instanceof _0x444d81?_0xdfa4ad!=_0x4bc318?null:_0xdfa4ad:null;}[_0x50e267(0x14b)](){const _0x171db0=_0x50e267;this[_0x171db0(0x124)](this[_0x171db0(0x145)](),this[_0x171db0(0x173)],this[_0x171db0(0x15c)]),this[_0x171db0(0x147)]();}[_0x50e267(0x154)](){const _0x57d5a6=_0x50e267;this[_0x57d5a6(0x149)](this[_0x57d5a6(0x145)](),this[_0x57d5a6(0x173)],this[_0x57d5a6(0x15c)]),this[_0x57d5a6(0x147)]();}[_0x50e267(0x150)](){const _0x2a4791=_0x50e267,_0x5e3c3c=[];let _0x4ce090=this[_0x2a4791(0x151)];for(;_0x4ce090;)_0x5e3c3c[_0x2a4791(0x15b)](_0x4ce090),_0x4ce090=_0x4ce090[_0x2a4791(0x12b)];return _0x5e3c3c;}[_0x50e267(0x156)](_0x5252d7,_0xa97c9e){const _0x1c2712=_0x50e267,_0x18df90=_0x430da6(this[_0x1c2712(0x15c)]);_0x5f5446(_0x18df90,_0x5252d7,_0xa97c9e),_0x1c8fae(_0x18df90,this[_0x1c2712(0x15c)])||(this[_0x1c2712(0x15c)]=_0x18df90,this[_0x1c2712(0x13a)](_0x18df90));}[_0x50e267(0x12e)](_0x131bc2){const _0x4be972=_0x50e267,_0x179fd9=_0x430da6(this[_0x4be972(0x15c)]);_0x34e387(_0x179fd9,_0x131bc2),_0x1c8fae(_0x179fd9,this[_0x4be972(0x15c)])||(this[_0x4be972(0x15c)]=_0x179fd9,this[_0x4be972(0x13a)](this[_0x4be972(0x15c)]));}[_0x50e267(0x155)](){const _0x105f83=_0x50e267;return{'id':this['id'],'type':this[_0x105f83(0x16b)]?this[_0x105f83(0x140)]+':'+this[_0x105f83(0x16b)]:this[_0x105f83(0x140)],'authorId':this[_0x105f83(0x160)]['id'],'createdAt':this[_0x105f83(0x152)],'hasComments':this[_0x105f83(0x12c)],'data':this[_0x105f83(0x173)],'attributes':this[_0x105f83(0x15c)]};}static[_0x50e267(0x172)](){const _0x2ae578=_0x50e267;return _0x40d142()[_0x2ae578(0x161)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2954(_0x3c3503,_0x329742){const _0x4ca76f=_0x4ca7();return _0x2954=function(_0x29549c,_0x3ad8df){_0x29549c=_0x29549c-0x19d;let _0x2b5de0=_0x4ca76f[_0x29549c];return _0x2b5de0;},_0x2954(_0x3c3503,_0x329742);}const _0x2983cb=_0x2954;(function(_0x3652ba,_0x2c67a1){const _0x27ea4a=_0x2954,_0x5b0f49=_0x3652ba();while(!![]){try{const _0x2fb125=parseInt(_0x27ea4a(0x1c0))/0x1+parseInt(_0x27ea4a(0x1f7))/0x2+-parseInt(_0x27ea4a(0x1f2))/0x3*(-parseInt(_0x27ea4a(0x1cd))/0x4)+-parseInt(_0x27ea4a(0x1e2))/0x5*(-parseInt(_0x27ea4a(0x1b2))/0x6)+-parseInt(_0x27ea4a(0x1a1))/0x7*(-parseInt(_0x27ea4a(0x1fa))/0x8)+-parseInt(_0x27ea4a(0x1cb))/0x9+-parseInt(_0x27ea4a(0x1e3))/0xa;if(_0x2fb125===_0x2c67a1)break;else _0x5b0f49['push'](_0x5b0f49['shift']());}catch(_0x205e6c){_0x5b0f49['push'](_0x5b0f49['shift']());}}}(_0x4ca7,0xa7c94));import{getTranslation as _0x5d8438}from'./utils/common-translations.js';import{priorities as _0x49a111,insertToPriorityArray as _0x47c7a2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x100016}from'./trackchangesediting.js';export default class f{constructor(_0xbd519f,_0x2bcf0c){const _0x797c3e=_0x2954;this[_0x797c3e(0x1ae)]=[],this[_0x797c3e(0x1d1)]=new Map(),this[_0x797c3e(0x1dd)]=[],this[_0x797c3e(0x1f6)]=new Map(),this[_0x797c3e(0x1ce)]=_0xbd519f,this[_0x797c3e(0x1d9)]=_0x2bcf0c;}[_0x2983cb(0x1cc)](_0x280841){const _0x2a0a8a=_0x2983cb,_0x12e1ec=[],_0x4bb340=new Set(),_0x57c98c=new Set();for(let _0x2d63b4=0x0;_0x2d63b4<_0x280841[_0x2a0a8a(0x1e6)];_0x2d63b4++){const _0x24d0dd=_0x280841[_0x2d63b4];if(!_0x24d0dd[_0x2a0a8a(0x1ac)])continue;const _0x2a07cd=this[_0x2a0a8a(0x1c2)](_0x24d0dd);if(_0x2a07cd){if(null!=_0x24d0dd[_0x2a0a8a(0x1bb)]){if(_0x4bb340[_0x2a0a8a(0x1f8)](_0x24d0dd[_0x2a0a8a(0x1bb)]))continue;_0x4bb340[_0x2a0a8a(0x1b4)](_0x24d0dd[_0x2a0a8a(0x1bb)]);}_0x12e1ec[_0x2a0a8a(0x1e7)](_0x2a07cd);}else{if(_0x2a0a8a(0x1d0)!=_0x24d0dd[_0x2a0a8a(0x1a9)])_0x2a0a8a(0x1e8)!=_0x24d0dd[_0x2a0a8a(0x1a9)]&&_0x2a0a8a(0x1c6)!=_0x24d0dd[_0x2a0a8a(0x1a9)]||this[_0x2a0a8a(0x1a4)](_0x12e1ec,_0x24d0dd,_0x280841[_0x2d63b4+0x1]);else{const _0x3fcf6c=_0x24d0dd[_0x2a0a8a(0x1d4)][_0x2a0a8a(0x1d2)];if(_0x57c98c[_0x2a0a8a(0x1f8)](_0x3fcf6c))continue;_0x57c98c[_0x2a0a8a(0x1b4)](_0x24d0dd[_0x2a0a8a(0x1d4)][_0x2a0a8a(0x1d2)]),_0x3fcf6c==_0x100016?this[_0x2a0a8a(0x1aa)](_0x12e1ec,_0x24d0dd):this[_0x2a0a8a(0x1c8)](_0x12e1ec,_0x24d0dd);}}}return this[_0x2a0a8a(0x1bc)](_0x12e1ec);}[_0x2983cb(0x1a5)](_0x10d6a7){const _0xd79f2f=_0x2983cb;this[_0xd79f2f(0x1ae)][_0xd79f2f(0x1e7)](_0x10d6a7);}[_0x2983cb(0x1ed)](_0x6c3a63,_0x1ac4aa,_0x1c4bb9=_0x49a111[_0x2983cb(0x1b0)]){const _0x41a617=_0x2983cb;_0x41a617(0x1e9)==typeof _0x6c3a63?_0x47c7a2(this[_0x41a617(0x1dd)],{'matchingCallback':_0x6c3a63,'label':_0x1ac4aa,'priority':_0x1c4bb9}):this[_0x41a617(0x1d1)][_0x41a617(0x1d5)](_0x6c3a63,_0x1ac4aa);}[_0x2983cb(0x1fd)](_0x4f1d03,_0x43dc64){const _0x348153=_0x2983cb;this[_0x348153(0x1f6)][_0x348153(0x1d5)](_0x4f1d03,_0x43dc64);}[_0x2983cb(0x1c5)](_0x24671f,_0x9e0c3d=0x1){const _0x564564=_0x2983cb;let _0x5dba55;for(const _0x6cad78 of this[_0x564564(0x1dd)])if(_0x6cad78[_0x564564(0x1f4)](_0x24671f)){_0x5dba55=_0x6cad78[_0x564564(0x1f3)];break;}return _0x5dba55||(_0x5dba55=this[_0x564564(0x1d1)][_0x564564(0x19d)](_0x24671f[_0x564564(0x1ca)])),_0x5dba55?_0x5dba55(_0x9e0c3d):0x1!==_0x9e0c3d?_0x9e0c3d+'\x20'+_0x24671f[_0x564564(0x1ca)]+'s':''+_0x24671f[_0x564564(0x1ca)];}[_0x2983cb(0x1a7)](_0xcbe277,_0x7bab0f){const _0x42ab14=_0x2983cb,_0x495265=_0x7bab0f[_0x42ab14(0x1d7)]()[_0x42ab14(0x1b5)](),_0x4341fa=_0x42ab14(0x1e8)==_0x7bab0f[_0x42ab14(0x1a9)]?_0x42ab14(0x1b4):_0x42ab14(0x1af);for(const _0x1ab87c of _0x495265){const _0x1281d6=_0x1ab87c[_0x42ab14(0x1e1)],_0x54c8ab=_0xcbe277[_0xcbe277[_0x42ab14(0x1e6)]-0x1];if(_0x1281d6['is'](_0x42ab14(0x1de)))_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))>-0x1&&_0xcbe277[_0x42ab14(0x1d6)](),_0x54c8ab&&_0x42ab14(0x1a8)==_0x54c8ab[_0x42ab14(0x1a9)]?_0x54c8ab[_0x4341fa]+=_0x1281d6[_0x42ab14(0x1d4)]:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x42ab14(0x1a8),'add':_0x42ab14(0x1b4)==_0x4341fa?_0x1281d6[_0x42ab14(0x1d4)]:'','remove':_0x42ab14(0x1af)==_0x4341fa?_0x1281d6[_0x42ab14(0x1d4)]:''});else{if(this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x1281d6)){const _0x5d85a8=_0x1281d6;if(_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))>-0x1&&_0xcbe277[_0x42ab14(0x1d6)](),_0x42ab14(0x1ef)==_0x1ab87c[_0x42ab14(0x1a9)])continue;_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)]==_0x4341fa+_0x42ab14(0x1a2)&&_0x54c8ab[_0x42ab14(0x1b1)][_0x42ab14(0x1ca)]==_0x5d85a8[_0x42ab14(0x1ca)]?_0x54c8ab[_0x42ab14(0x1ba)]++:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1a2),'element':_0x5d85a8,'quantity':0x1}),_0x495265[_0x42ab14(0x1b8)](_0x174bab=>!(_0x42ab14(0x1ef)==_0x174bab[_0x42ab14(0x1a9)]&&_0x174bab[_0x42ab14(0x1e1)]==_0x1281d6));}else{if(this[_0x42ab14(0x1ce)][_0x42ab14(0x1b3)](_0x1281d6,_0x42ab14(0x1bd))||_0x1281d6['is'](_0x42ab14(0x1b1),_0x42ab14(0x1c7))){const _0x4e60c8=_0x1281d6;if(_0x42ab14(0x1b4)==_0x4341fa&&_0x42ab14(0x1dc)==_0x1ab87c[_0x42ab14(0x1a9)]||_0x42ab14(0x1af)==_0x4341fa&&_0x42ab14(0x1ef)==_0x1ab87c[_0x42ab14(0x1a9)])continue;if(_0x54c8ab&&-0x1==_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))){_0x42ab14(0x1a8)==_0x54c8ab[_0x42ab14(0x1a9)]&&(_0x54c8ab[_0x4341fa]+='\x0a');continue;}let _0x376178;if(_0x376178=_0x42ab14(0x1b4)==_0x4341fa?_0x4e60c8[_0x42ab14(0x1f5)]&&!this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x4e60c8[_0x42ab14(0x1f5)])?_0x4e60c8[_0x42ab14(0x1f5)]:null:_0x4e60c8[_0x42ab14(0x1ec)]&&!this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x4e60c8[_0x42ab14(0x1ec)])?_0x4e60c8[_0x42ab14(0x1ec)]:null,_0x4e60c8[_0x42ab14(0x1fc)]||_0x376178&&_0x376178[_0x42ab14(0x1fc)]){const _0x21def0=_0x376178&&_0x376178[_0x42ab14(0x1fc)]?_0x376178:_0x4e60c8;_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)]==_0x4341fa+_0x42ab14(0x1be)&&_0x54c8ab[_0x42ab14(0x1b1)][_0x42ab14(0x1ca)]==_0x21def0[_0x42ab14(0x1ca)]?_0x54c8ab[_0x42ab14(0x1ba)]++:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1be),'element':_0x21def0,'quantity':0x1});}else _0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1bf),'element':_0x4e60c8});}}}}}[_0x2983cb(0x1bc)](_0x27aa3f){const _0x1fd9df=_0x2983cb,_0x39ef03=this[_0x1fd9df(0x1d9)],_0x362aae=[],_0x3eae07=[],_0xb10384=[];for(const _0x32cc80 of _0x27aa3f)switch(_0x32cc80[_0x1fd9df(0x1a9)]){case _0x1fd9df(0x1a8):if(_0x32cc80[_0x1fd9df(0x1b4)]=_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1a0)](/(\S)\u000A+(\S)/g,_0x1fd9df(0x1e5))[_0x1fd9df(0x1a0)](/\u000A/g,''),_0x32cc80[_0x1fd9df(0x1af)]=_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1a0)](/(\S)\u000A+(\S)/g,_0x1fd9df(0x1e5))[_0x1fd9df(0x1a0)](/\u000A/g,''),''!=_0x32cc80[_0x1fd9df(0x1b4)]&&''!=_0x32cc80[_0x1fd9df(0x1af)]){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1a0),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x19f),['\x22'+_0x32cc80[_0x1fd9df(0x1af)]+'\x22','\x22'+_0x32cc80[_0x1fd9df(0x1b4)]+'\x22'])});continue;}if(null!=_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1a6)](/^ +$/)){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),_0x5d8438(_0x39ef03,_0x1fd9df(0x1f1),_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1e6)]))});continue;}if(null!=_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1a6)](/^ +$/)){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),_0x5d8438(_0x39ef03,_0x1fd9df(0x1f1),_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1e6)]))});continue;}if(''!=_0x32cc80[_0x1fd9df(0x1b4)]){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),'\x22'+_0x32cc80[_0x1fd9df(0x1b4)]+'\x22')});continue;}_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),'\x22'+_0x32cc80[_0x1fd9df(0x1af)]+'\x22')});continue;case _0x1fd9df(0x1b6):case _0x1fd9df(0x1a3):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1d8):case _0x1fd9df(0x1ea):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1db):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c1),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1ab):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1e4),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1f9):_0x3eae07[_0x1fd9df(0x1e7)](_0x32cc80[_0x1fd9df(0x1d2)]);continue;case _0x1fd9df(0x1c9):_0xb10384[_0x1fd9df(0x1e7)](_0x32cc80[_0x1fd9df(0x1d2)]);continue;default:_0x362aae[_0x1fd9df(0x1e7)](_0x32cc80);}if(_0x3eae07[_0x1fd9df(0x1e6)]){const _0x270d7e=_0x3eae07[_0x1fd9df(0x1eb)](_0x405246=>this[_0x1fd9df(0x1f6)][_0x1fd9df(0x1f8)](_0x405246)?this[_0x1fd9df(0x1f6)][_0x1fd9df(0x19d)](_0x405246):_0x405246)[_0x1fd9df(0x1e0)](',\x20');_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c4),'content':_0x5d8438(this[_0x1fd9df(0x1d9)],_0x1fd9df(0x1d3),_0x270d7e)});}if(_0xb10384[_0x1fd9df(0x1e6)]){const _0x4fe3b0=_0xb10384[_0x1fd9df(0x1eb)](_0x6f8b57=>this[_0x1fd9df(0x1f6)][_0x1fd9df(0x1f8)](_0x6f8b57)?this[_0x1fd9df(0x1f6)][_0x1fd9df(0x19d)](_0x6f8b57):_0x6f8b57)[_0x1fd9df(0x1e0)](',\x20');_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c4),'content':_0x5d8438(this[_0x1fd9df(0x1d9)],_0x1fd9df(0x1ad),_0x4fe3b0)});}return _0x362aae;}[_0x2983cb(0x1c2)](_0x59cdab){const _0x22ff96=_0x2983cb;for(const _0x45afa9 of this[_0x22ff96(0x1ae)]){const _0x48b4db=_0x45afa9(_0x59cdab);if(_0x48b4db&&_0x22ff96(0x1a9)in _0x48b4db)return _0x48b4db;}}[_0x2983cb(0x1c8)](_0x1517d2,_0x431177){const _0x22c327=_0x2983cb,_0x1914e8=_0x431177[_0x22c327(0x1d4)],_0x2d3391=void 0x0===_0x1914e8[_0x22c327(0x1f0)]?_0x22c327(0x1c9):_0x22c327(0x1f9);_0x1517d2[_0x22c327(0x1e7)]({'type':_0x2d3391,'key':_0x1914e8[_0x22c327(0x1d2)]});}[_0x2983cb(0x1aa)](_0x5b680d,_0x476fb6){const _0x5cfe98=_0x2983cb;_0x5b680d[_0x5cfe98(0x1e7)]({'type':_0x5cfe98(0x1c4),'content':_0x5d8438(this[_0x5cfe98(0x1d9)],_0x5cfe98(0x1b7),this[_0x5cfe98(0x1c5)](_0x476fb6[_0x5cfe98(0x1d7)]()[_0x5cfe98(0x1df)][_0x5cfe98(0x19e)],0x1))});}[_0x2983cb(0x1a4)](_0x1bdb50,_0x378421,_0x19e08b){const _0xad2bca=_0x2983cb;if(this[_0xad2bca(0x1a7)](_0x1bdb50,_0x378421),_0x19e08b&&_0x19e08b[_0xad2bca(0x1d7)]()&&!_0x378421[_0xad2bca(0x1d7)]()[_0xad2bca(0x1da)][_0xad2bca(0x1fb)](_0x19e08b[_0xad2bca(0x1d7)]()[_0xad2bca(0x1df)])){const _0x2c5a8d=_0x1bdb50[_0x1bdb50[_0xad2bca(0x1e6)]-0x1],_0x1bf9f1=_0xad2bca(0x1e8)==_0x378421[_0xad2bca(0x1a9)]?_0xad2bca(0x1b4):_0xad2bca(0x1af);_0x2c5a8d&&_0xad2bca(0x1a8)==_0x2c5a8d[_0xad2bca(0x1a9)]&&(_0x2c5a8d[_0x1bf9f1]+='\x0a');}}}function _0x4ca7(){const _0x4c3e14=['*Remove\x20format:*\x20%0','_customCallbacks','remove','normal','element','651762fdoKbL','checkChild','add','getWalker','addEmptyContainer','*Change\x20to:*\x20%0','skip','indexOf','quantity','subType','_resolveDescriptionItems','$text','EmptyContainer','Container','185191GNHDdJ','*Split:*\x20%0','_handleCustomCallbackDescription','*Insert:*\x20%0','format','getItemLabel','deletion','softBreak','_handleAttributeSuggestionDescription','removeFormat','name','7820595IghWTb','getDescriptions','1437524zTJUUx','_schema','*Remove:*\x20%0','attribute','_itemLabels','key','*Set\x20format:*\x20%0','data','set','pop','getFirstRange','removeEmptyContainer','_locale','end','addContainer','elementStart','_itemLabelsCallbacks','$textProxy','start','join','item','45kGCPVa','19577510jShhVT','*Merge:*\x20%0','$1\x20$2','length','push','insertion','function','removeObject','map','previousSibling','registerElementLabel','isObject','elementEnd','newValue','ELEMENT_SPACE','6RLnccK','label','matchingCallback','nextSibling','_attributeLabels','2467508iOakRq','has','addFormat','113888HiRtDU','isEqual','isEmpty','registerAttributeLabel','get','nodeAfter','REPLACE_TEXT','replace','196JnzWaG','Object','addObject','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','match','_addDescriptionItems','text','type','_handleRenameSuggestionDescription','removeContainer','isInContent'];_0x4ca7=function(){return _0x4c3e14;};return _0x4ca7();}
|
|
23
|
+
function _0x51ce(_0x5a5cd1,_0x574b8f){const _0x2f98ee=_0x2f98();return _0x51ce=function(_0x51ce8e,_0x53dc82){_0x51ce8e=_0x51ce8e-0x191;let _0x455b67=_0x2f98ee[_0x51ce8e];return _0x455b67;},_0x51ce(_0x5a5cd1,_0x574b8f);}function _0x2f98(){const _0x3a7c99=['subType','checkChild','_locale','skip','join','pop','addFormat','*Change\x20to:*\x20%0','registerAttributeLabel','_customCallbacks','$1\x20$2','$text','label','4052560XQDjyo','has','12bgnjUD','match','_attributeLabels','5407976tSMABV','_handleCustomCallbackDescription','removeEmptyContainer','getFirstRange','insertion','registerDescriptionCallback','softBreak','*Remove:*\x20%0','EmptyContainer','_handleRenameSuggestionDescription','elementEnd','data','getItemLabel','isEmpty','*Split:*\x20%0','Container','function','311166CwiZSQ','quantity','normal','elementStart','_addDescriptionItems','indexOf','*Set\x20format:*\x20%0','remove','type','matchingCallback','nextSibling','format','_handleAttributeSuggestionDescription','660iUAXbQ','7OnnMmY','push','isEqual','nodeAfter','*Insert:*\x20%0','deletion','length','attribute','item','set','_itemLabelsCallbacks','isInContent','isObject','previousSibling','_schema','getDescriptions','start','text','removeContainer','replace','*Remove\x20format:*\x20%0','end','add','2580096fGqMAO','addObject','registerElementLabel','addContainer','ELEMENT_SPACE','get','_itemLabels','Object','_handleInsertRemoveSuggestionDescription','*Merge:*\x20%0','map','removeObject','$textProxy','REPLACE_TEXT','getWalker','name','newValue','9506pmaoRk','162693RtqJEi','key','_resolveDescriptionItems','removeFormat','element','addEmptyContainer','566524ijEqXa'];_0x2f98=function(){return _0x3a7c99;};return _0x2f98();}const _0x1129c7=_0x51ce;(function(_0x2d5047,_0x36aa6b){const _0x1f67b6=_0x51ce,_0x43c422=_0x2d5047();while(!![]){try{const _0x5cf56d=-parseInt(_0x1f67b6(0x1c2))/0x1*(-parseInt(_0x1f67b6(0x1ea))/0x2)+-parseInt(_0x1f67b6(0x1a0))/0x3*(-parseInt(_0x1f67b6(0x1f1))/0x4)+-parseInt(_0x1f67b6(0x19e))/0x5+-parseInt(_0x1f67b6(0x1b4))/0x6+-parseInt(_0x1f67b6(0x1a3))/0x7+parseInt(_0x1f67b6(0x1d9))/0x8+parseInt(_0x1f67b6(0x1eb))/0x9*(parseInt(_0x1f67b6(0x1c1))/0xa);if(_0x5cf56d===_0x36aa6b)break;else _0x43c422['push'](_0x43c422['shift']());}catch(_0x30277d){_0x43c422['push'](_0x43c422['shift']());}}}(_0x2f98,0x754c0));import{getTranslation as _0x82f648}from'./utils/common-translations.js';import{priorities as _0x19353e,insertToPriorityArray as _0x37dfde}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2e64fc}from'./trackchangesediting.js';export default class f{constructor(_0x28ad56,_0x3e934b){const _0x16f8b2=_0x51ce;this[_0x16f8b2(0x19a)]=[],this[_0x16f8b2(0x1df)]=new Map(),this[_0x16f8b2(0x1cc)]=[],this[_0x16f8b2(0x1a2)]=new Map(),this[_0x16f8b2(0x1d0)]=_0x28ad56,this[_0x16f8b2(0x193)]=_0x3e934b;}[_0x1129c7(0x1d1)](_0x31febb){const _0x589b64=_0x1129c7,_0x42e265=[],_0x53888e=new Set(),_0x3bf872=new Set();for(let _0x16deab=0x0;_0x16deab<_0x31febb[_0x589b64(0x1c8)];_0x16deab++){const _0x124ca5=_0x31febb[_0x16deab];if(!_0x124ca5[_0x589b64(0x1cd)])continue;const _0x8eee79=this[_0x589b64(0x1a4)](_0x124ca5);if(_0x8eee79){if(null!=_0x124ca5[_0x589b64(0x191)]){if(_0x53888e[_0x589b64(0x19f)](_0x124ca5[_0x589b64(0x191)]))continue;_0x53888e[_0x589b64(0x1d8)](_0x124ca5[_0x589b64(0x191)]);}_0x42e265[_0x589b64(0x1c3)](_0x8eee79);}else{if(_0x589b64(0x1c9)!=_0x124ca5[_0x589b64(0x1bc)])_0x589b64(0x1a7)!=_0x124ca5[_0x589b64(0x1bc)]&&_0x589b64(0x1c7)!=_0x124ca5[_0x589b64(0x1bc)]||this[_0x589b64(0x1e1)](_0x42e265,_0x124ca5,_0x31febb[_0x16deab+0x1]);else{const _0x4ac004=_0x124ca5[_0x589b64(0x1ae)][_0x589b64(0x1ec)];if(_0x3bf872[_0x589b64(0x19f)](_0x4ac004))continue;_0x3bf872[_0x589b64(0x1d8)](_0x124ca5[_0x589b64(0x1ae)][_0x589b64(0x1ec)]),_0x4ac004==_0x2e64fc?this[_0x589b64(0x1ac)](_0x42e265,_0x124ca5):this[_0x589b64(0x1c0)](_0x42e265,_0x124ca5);}}}return this[_0x589b64(0x1ed)](_0x42e265);}[_0x1129c7(0x1a8)](_0x21cdd1){const _0x487487=_0x1129c7;this[_0x487487(0x19a)][_0x487487(0x1c3)](_0x21cdd1);}[_0x1129c7(0x1db)](_0x454938,_0x5be0cb,_0x8183b8=_0x19353e[_0x1129c7(0x1b6)]){const _0x5291ac=_0x1129c7;_0x5291ac(0x1b3)==typeof _0x454938?_0x37dfde(this[_0x5291ac(0x1cc)],{'matchingCallback':_0x454938,'label':_0x5be0cb,'priority':_0x8183b8}):this[_0x5291ac(0x1df)][_0x5291ac(0x1cb)](_0x454938,_0x5be0cb);}[_0x1129c7(0x199)](_0x3bdb73,_0x126ae7){const _0x348fcd=_0x1129c7;this[_0x348fcd(0x1a2)][_0x348fcd(0x1cb)](_0x3bdb73,_0x126ae7);}[_0x1129c7(0x1af)](_0x3003d8,_0x155df4=0x1){const _0x25d6cc=_0x1129c7;let _0xca0167;for(const _0x462725 of this[_0x25d6cc(0x1cc)])if(_0x462725[_0x25d6cc(0x1bd)](_0x3003d8)){_0xca0167=_0x462725[_0x25d6cc(0x19d)];break;}return _0xca0167||(_0xca0167=this[_0x25d6cc(0x1df)][_0x25d6cc(0x1de)](_0x3003d8[_0x25d6cc(0x1e8)])),_0xca0167?_0xca0167(_0x155df4):0x1!==_0x155df4?_0x155df4+'\x20'+_0x3003d8[_0x25d6cc(0x1e8)]+'s':''+_0x3003d8[_0x25d6cc(0x1e8)];}[_0x1129c7(0x1b8)](_0x362f74,_0xa5615f){const _0x1760d8=_0x1129c7,_0x5275ad=_0xa5615f[_0x1760d8(0x1a6)]()[_0x1760d8(0x1e7)](),_0x795073=_0x1760d8(0x1a7)==_0xa5615f[_0x1760d8(0x1bc)]?_0x1760d8(0x1d8):_0x1760d8(0x1bb);for(const _0x17e4f7 of _0x5275ad){const _0x42a2fb=_0x17e4f7[_0x1760d8(0x1ca)],_0x108d03=_0x362f74[_0x362f74[_0x1760d8(0x1c8)]-0x1];if(_0x42a2fb['is'](_0x1760d8(0x1e5)))_0x108d03&&_0x108d03[_0x1760d8(0x1bc)][_0x1760d8(0x1b9)](_0x1760d8(0x1b2))>-0x1&&_0x362f74[_0x1760d8(0x196)](),_0x108d03&&_0x1760d8(0x1d3)==_0x108d03[_0x1760d8(0x1bc)]?_0x108d03[_0x795073]+=_0x42a2fb[_0x1760d8(0x1ae)]:_0x362f74[_0x1760d8(0x1c3)]({'type':_0x1760d8(0x1d3),'add':_0x1760d8(0x1d8)==_0x795073?_0x42a2fb[_0x1760d8(0x1ae)]:'','remove':_0x1760d8(0x1bb)==_0x795073?_0x42a2fb[_0x1760d8(0x1ae)]:''});else{if(this[_0x1760d8(0x1d0)][_0x1760d8(0x1ce)](_0x42a2fb)){const _0x341d79=_0x42a2fb;if(_0x108d03&&_0x108d03[_0x1760d8(0x1bc)][_0x1760d8(0x1b9)](_0x1760d8(0x1b2))>-0x1&&_0x362f74[_0x1760d8(0x196)](),_0x1760d8(0x1ad)==_0x17e4f7[_0x1760d8(0x1bc)])continue;_0x108d03&&_0x108d03[_0x1760d8(0x1bc)]==_0x795073+_0x1760d8(0x1e0)&&_0x108d03[_0x1760d8(0x1ef)][_0x1760d8(0x1e8)]==_0x341d79[_0x1760d8(0x1e8)]?_0x108d03[_0x1760d8(0x1b5)]++:_0x362f74[_0x1760d8(0x1c3)]({'type':_0x795073+_0x1760d8(0x1e0),'element':_0x341d79,'quantity':0x1}),_0x5275ad[_0x1760d8(0x194)](_0x5f2ab4=>!(_0x1760d8(0x1ad)==_0x5f2ab4[_0x1760d8(0x1bc)]&&_0x5f2ab4[_0x1760d8(0x1ca)]==_0x42a2fb));}else{if(this[_0x1760d8(0x1d0)][_0x1760d8(0x192)](_0x42a2fb,_0x1760d8(0x19c))||_0x42a2fb['is'](_0x1760d8(0x1ef),_0x1760d8(0x1a9))){const _0x5917cb=_0x42a2fb;if(_0x1760d8(0x1d8)==_0x795073&&_0x1760d8(0x1b7)==_0x17e4f7[_0x1760d8(0x1bc)]||_0x1760d8(0x1bb)==_0x795073&&_0x1760d8(0x1ad)==_0x17e4f7[_0x1760d8(0x1bc)])continue;if(_0x108d03&&-0x1==_0x108d03[_0x1760d8(0x1bc)][_0x1760d8(0x1b9)](_0x1760d8(0x1b2))){_0x1760d8(0x1d3)==_0x108d03[_0x1760d8(0x1bc)]&&(_0x108d03[_0x795073]+='\x0a');continue;}let _0x2d371d;if(_0x2d371d=_0x1760d8(0x1d8)==_0x795073?_0x5917cb[_0x1760d8(0x1be)]&&!this[_0x1760d8(0x1d0)][_0x1760d8(0x1ce)](_0x5917cb[_0x1760d8(0x1be)])?_0x5917cb[_0x1760d8(0x1be)]:null:_0x5917cb[_0x1760d8(0x1cf)]&&!this[_0x1760d8(0x1d0)][_0x1760d8(0x1ce)](_0x5917cb[_0x1760d8(0x1cf)])?_0x5917cb[_0x1760d8(0x1cf)]:null,_0x5917cb[_0x1760d8(0x1b0)]||_0x2d371d&&_0x2d371d[_0x1760d8(0x1b0)]){const _0xdf1437=_0x2d371d&&_0x2d371d[_0x1760d8(0x1b0)]?_0x2d371d:_0x5917cb;_0x108d03&&_0x108d03[_0x1760d8(0x1bc)]==_0x795073+_0x1760d8(0x1ab)&&_0x108d03[_0x1760d8(0x1ef)][_0x1760d8(0x1e8)]==_0xdf1437[_0x1760d8(0x1e8)]?_0x108d03[_0x1760d8(0x1b5)]++:_0x362f74[_0x1760d8(0x1c3)]({'type':_0x795073+_0x1760d8(0x1ab),'element':_0xdf1437,'quantity':0x1});}else _0x362f74[_0x1760d8(0x1c3)]({'type':_0x795073+_0x1760d8(0x1b2),'element':_0x5917cb});}}}}}[_0x1129c7(0x1ed)](_0x1b9856){const _0x286507=_0x1129c7,_0x5f4d74=this[_0x286507(0x193)],_0x595e6f=[],_0x1d5bc3=[],_0x9e666=[];for(const _0x16e60a of _0x1b9856)switch(_0x16e60a[_0x286507(0x1bc)]){case _0x286507(0x1d3):if(_0x16e60a[_0x286507(0x1d8)]=_0x16e60a[_0x286507(0x1d8)][_0x286507(0x1d5)](/(\S)\u000A+(\S)/g,_0x286507(0x19b))[_0x286507(0x1d5)](/\u000A/g,''),_0x16e60a[_0x286507(0x1bb)]=_0x16e60a[_0x286507(0x1bb)][_0x286507(0x1d5)](/(\S)\u000A+(\S)/g,_0x286507(0x19b))[_0x286507(0x1d5)](/\u000A/g,''),''!=_0x16e60a[_0x286507(0x1d8)]&&''!=_0x16e60a[_0x286507(0x1bb)]){_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1d5),'content':_0x82f648(_0x5f4d74,_0x286507(0x1e6),['\x22'+_0x16e60a[_0x286507(0x1bb)]+'\x22','\x22'+_0x16e60a[_0x286507(0x1d8)]+'\x22'])});continue;}if(null!=_0x16e60a[_0x286507(0x1d8)][_0x286507(0x1a1)](/^ +$/)){_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1a7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1c6),_0x82f648(_0x5f4d74,_0x286507(0x1dd),_0x16e60a[_0x286507(0x1d8)][_0x286507(0x1c8)]))});continue;}if(null!=_0x16e60a[_0x286507(0x1bb)][_0x286507(0x1a1)](/^ +$/)){_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1c7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1aa),_0x82f648(_0x5f4d74,_0x286507(0x1dd),_0x16e60a[_0x286507(0x1bb)][_0x286507(0x1c8)]))});continue;}if(''!=_0x16e60a[_0x286507(0x1d8)]){_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1a7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1c6),'\x22'+_0x16e60a[_0x286507(0x1d8)]+'\x22')});continue;}_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1c7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1aa),'\x22'+_0x16e60a[_0x286507(0x1bb)]+'\x22')});continue;case _0x286507(0x1f0):case _0x286507(0x1da):_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1a7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1c6),this[_0x286507(0x1af)](_0x16e60a[_0x286507(0x1ef)],_0x16e60a[_0x286507(0x1b5)]))});continue;case _0x286507(0x1a5):case _0x286507(0x1e4):_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1c7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1aa),this[_0x286507(0x1af)](_0x16e60a[_0x286507(0x1ef)],_0x16e60a[_0x286507(0x1b5)]))});continue;case _0x286507(0x1dc):_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1a7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1b1),this[_0x286507(0x1af)](_0x16e60a[_0x286507(0x1ef)],_0x16e60a[_0x286507(0x1b5)]))});continue;case _0x286507(0x1d4):_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1c7),'content':_0x82f648(_0x5f4d74,_0x286507(0x1e2),this[_0x286507(0x1af)](_0x16e60a[_0x286507(0x1ef)],_0x16e60a[_0x286507(0x1b5)]))});continue;case _0x286507(0x197):_0x1d5bc3[_0x286507(0x1c3)](_0x16e60a[_0x286507(0x1ec)]);continue;case _0x286507(0x1ee):_0x9e666[_0x286507(0x1c3)](_0x16e60a[_0x286507(0x1ec)]);continue;default:_0x595e6f[_0x286507(0x1c3)](_0x16e60a);}if(_0x1d5bc3[_0x286507(0x1c8)]){const _0x393556=_0x1d5bc3[_0x286507(0x1e3)](_0x21e3b7=>this[_0x286507(0x1a2)][_0x286507(0x19f)](_0x21e3b7)?this[_0x286507(0x1a2)][_0x286507(0x1de)](_0x21e3b7):_0x21e3b7)[_0x286507(0x195)](',\x20');_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1bf),'content':_0x82f648(this[_0x286507(0x193)],_0x286507(0x1ba),_0x393556)});}if(_0x9e666[_0x286507(0x1c8)]){const _0x3b6a4d=_0x9e666[_0x286507(0x1e3)](_0xf4f270=>this[_0x286507(0x1a2)][_0x286507(0x19f)](_0xf4f270)?this[_0x286507(0x1a2)][_0x286507(0x1de)](_0xf4f270):_0xf4f270)[_0x286507(0x195)](',\x20');_0x595e6f[_0x286507(0x1c3)]({'type':_0x286507(0x1bf),'content':_0x82f648(this[_0x286507(0x193)],_0x286507(0x1d6),_0x3b6a4d)});}return _0x595e6f;}[_0x1129c7(0x1a4)](_0x4497e1){const _0x367f87=_0x1129c7;for(const _0x1e2a2f of this[_0x367f87(0x19a)]){const _0x222437=_0x1e2a2f(_0x4497e1);if(_0x222437&&_0x367f87(0x1bc)in _0x222437)return _0x222437;}}[_0x1129c7(0x1c0)](_0x8cd1af,_0x2420ec){const _0x4390c0=_0x1129c7,_0x581a55=_0x2420ec[_0x4390c0(0x1ae)],_0x182be2=void 0x0===_0x581a55[_0x4390c0(0x1e9)]?_0x4390c0(0x1ee):_0x4390c0(0x197);_0x8cd1af[_0x4390c0(0x1c3)]({'type':_0x182be2,'key':_0x581a55[_0x4390c0(0x1ec)]});}[_0x1129c7(0x1ac)](_0x35ba4e,_0x2d244e){const _0x6b3c81=_0x1129c7;_0x35ba4e[_0x6b3c81(0x1c3)]({'type':_0x6b3c81(0x1bf),'content':_0x82f648(this[_0x6b3c81(0x193)],_0x6b3c81(0x198),this[_0x6b3c81(0x1af)](_0x2d244e[_0x6b3c81(0x1a6)]()[_0x6b3c81(0x1d2)][_0x6b3c81(0x1c5)],0x1))});}[_0x1129c7(0x1e1)](_0x59bfee,_0x8af132,_0x5267ff){const _0x5e671d=_0x1129c7;if(this[_0x5e671d(0x1b8)](_0x59bfee,_0x8af132),_0x5267ff&&_0x5267ff[_0x5e671d(0x1a6)]()&&!_0x8af132[_0x5e671d(0x1a6)]()[_0x5e671d(0x1d7)][_0x5e671d(0x1c4)](_0x5267ff[_0x5e671d(0x1a6)]()[_0x5e671d(0x1d2)])){const _0x696a46=_0x59bfee[_0x59bfee[_0x5e671d(0x1c8)]-0x1],_0xe54e99=_0x5e671d(0x1a7)==_0x8af132[_0x5e671d(0x1bc)]?_0x5e671d(0x1d8):_0x5e671d(0x1bb);_0x696a46&&_0x5e671d(0x1d3)==_0x696a46[_0x5e671d(0x1bc)]&&(_0x696a46[_0xe54e99]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5b72(){var _0x500613=['12838TrytWQ','addSuggestion','309lMeVso','55ADlsxd','8HBucdK','requires','plugins','TrackChanges','getSuggestion','pluginName','editor','getSuggestions','10983864tQGFDU','1944dsbYnu','9483070aeFnei','45956TUvfHH','9cZktaP','Comments','adapter','get','545820CqQsIc','259367Khipav','addSuggestionData','16251785KigNkS'];_0x5b72=function(){return _0x500613;};return _0x5b72();}function _0x29f3(_0x3cef71,_0x4ffe9b){var _0x5b72b5=_0x5b72();return _0x29f3=function(_0x29f3dd,_0x3dfadb){_0x29f3dd=_0x29f3dd-0xc4;var _0x1ad915=_0x5b72b5[_0x29f3dd];return _0x1ad915;},_0x29f3(_0x3cef71,_0x4ffe9b);}var _0xfec6de=_0x29f3;(function(_0x5c2f2d,_0x94d56f){var _0x5417cc=_0x29f3,_0x5c52d2=_0x5c2f2d();while(!![]){try{var _0x364f40=parseInt(_0x5417cc(0xc4))/0x1*(parseInt(_0x5417cc(0xcb))/0x2)+-parseInt(_0x5417cc(0xc9))/0x3*(parseInt(_0x5417cc(0xd6))/0x4)+parseInt(_0x5417cc(0xca))/0x5*(parseInt(_0x5417cc(0xdb))/0x6)+-parseInt(_0x5417cc(0xc7))/0x7*(-parseInt(_0x5417cc(0xd4))/0x8)+parseInt(_0x5417cc(0xd7))/0x9*(-parseInt(_0x5417cc(0xd5))/0xa)+parseInt(_0x5417cc(0xc6))/0xb+-parseInt(_0x5417cc(0xd3))/0xc;if(_0x364f40===_0x94d56f)break;else _0x5c52d2['push'](_0x5c52d2['shift']());}catch(_0x5a909c){_0x5c52d2['push'](_0x5c52d2['shift']());}}}(_0x5b72,0xdf33f));import{Plugin as _0x58da13}from'ckeditor5/src/core.js';import _0x276b11 from'./trackchangesui.js';import _0x51bfe8 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x58da13{static get[_0xfec6de(0xcc)](){var _0x4aacb7=_0xfec6de;return[_0x51bfe8,_0x276b11,_0x4aacb7(0xd8)];}static get[_0xfec6de(0xd0)](){var _0x3630df=_0xfec6de;return _0x3630df(0xce);}set[_0xfec6de(0xd9)](_0x2260a5){var _0x30e080=_0xfec6de;this[_0x30e080(0xd1)][_0x30e080(0xcd)][_0x30e080(0xda)](_0x51bfe8)[_0x30e080(0xd9)]=_0x2260a5;}get[_0xfec6de(0xd9)](){var _0x4de37b=_0xfec6de;return this[_0x4de37b(0xd1)][_0x4de37b(0xcd)][_0x4de37b(0xda)](_0x51bfe8)[_0x4de37b(0xd9)];}[_0xfec6de(0xc8)](_0x1d51ba){var _0xd965ec=_0xfec6de;return this[_0xd965ec(0xd1)][_0xd965ec(0xcd)][_0xd965ec(0xda)](_0x51bfe8)[_0xd965ec(0xc5)](_0x1d51ba);}[_0xfec6de(0xd2)]({skipNotAttached:_0x29a9a2=!0x1,toJSON:_0x575545=!0x1}={}){var _0x22d0dd=_0xfec6de;return this[_0x22d0dd(0xd1)][_0x22d0dd(0xcd)][_0x22d0dd(0xda)](_0x51bfe8)[_0x22d0dd(0xd2)]({'skipNotAttached':_0x29a9a2,'toJSON':_0x575545});}[_0xfec6de(0xcf)](_0x484a64){var _0xc00a10=_0xfec6de;return this[_0xc00a10(0xd1)][_0xc00a10(0xcd)][_0xc00a10(0xda)](_0x51bfe8)[_0xc00a10(0xcf)](_0x484a64);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe3e3d2=_0x2020;(function(_0x5d8230,_0x4104aa){const _0x35d085=_0x2020,_0x3b9a16=_0x5d8230();while(!![]){try{const _0x2fd06a=-parseInt(_0x35d085(0x15e))/0x1*(-parseInt(_0x35d085(0x11f))/0x2)+-parseInt(_0x35d085(0x132))/0x3*(parseInt(_0x35d085(0x12c))/0x4)+parseInt(_0x35d085(0x15c))/0x5+parseInt(_0x35d085(0x128))/0x6*(parseInt(_0x35d085(0x14b))/0x7)+-parseInt(_0x35d085(0x133))/0x8+parseInt(_0x35d085(0x13e))/0x9+parseInt(_0x35d085(0x147))/0xa*(-parseInt(_0x35d085(0x139))/0xb);if(_0x2fd06a===_0x4104aa)break;else _0x3b9a16['push'](_0x3b9a16['shift']());}catch(_0x53f621){_0x3b9a16['push'](_0x3b9a16['shift']());}}}(_0x57b7,0xd7d66));import{Plugin as _0x1b154a}from'ckeditor5/src/core.js';import{CKEditorError as _0x3cb96c}from'ckeditor5/src/utils.js';import _0x12a147 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x1683cd}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0xe3e3d2(0x136)];export default class P extends _0x1b154a{static get[_0xe3e3d2(0x137)](){return[_0x12a147];}static get[_0xe3e3d2(0x12f)](){const _0x474a9f=_0xe3e3d2;return _0x474a9f(0x152);}[_0xe3e3d2(0x158)](){const _0x1cf49a=_0xe3e3d2,_0xe0969b=this[_0x1cf49a(0x13a)];if(_0xe0969b[_0x1cf49a(0x129)][_0x1cf49a(0x126)](_0x1cf49a(0x123),_0x1b3db9=>{const _0x4a3d41=_0x1cf49a,_0x2694b3=_0xe0969b[_0x4a3d41(0x134)][_0x4a3d41(0x157)][_0x4a3d41(0x15d)]()[_0x4a3d41(0x138)]((_0x246d65,_0x3cd11a)=>(_0x246d65[_0x3cd11a]='',_0x246d65),{});return _0xe0969b[_0x4a3d41(0x131)][_0x4a3d41(0x149)](_0x2694b3,_0x1b3db9);}),_0x1cf49a(0x151)!=typeof _0xe0969b[_0x1cf49a(0x129)][_0x1cf49a(0x14c)](_0x1cf49a(0x13c))[_0x1cf49a(0x153)])throw new _0x3cb96c(_0x1cf49a(0x12b));}[_0xe3e3d2(0x15b)](_0x547951){const _0x4272e2=_0xe3e3d2;return N(this[_0x4272e2(0x13a)],!0x0,_0x547951);}[_0xe3e3d2(0x14d)](_0x1ba692){const _0x372db5=_0xe3e3d2;return N(this[_0x372db5(0x13a)],!0x1,_0x1ba692);}}function _0x57b7(){const _0x111eb8=['getFullData','destroy','trackChangesData.editorCreator','end','discardAllSuggestions','define','useAnonymousUser','405546TfgjRe','config','acceptAllSuggestions','track-changes-data-invalid-editor-creator','24692KALEBH','div','appendChild','pluginName','users','constructor','231NEdZAx','3369848UVSqiU','model','getUser','Pagination','requires','reduce','3136287bmsIfl','editor','CommentsRepository','trackChangesData','rootsAttributes','8239158RjPnLL','result','plugins','TrackChangesDataGetter','Users','addCommentThread','createElement','getCommentThreads','_adapter','40vcLjyR','TrackChangesEditing','create','addSuggestionData','21KKlZHm','get','getDataWithDiscardedSuggestions','set','getRootsAttributes','push','function','TrackChangesData','editorCreator','data','execute','createDocumentFragment','document','init','name','map','getDataWithAcceptedSuggestions','7055235TnFXgb','getRootNames','391808zJMBfH','getSuggestions','2oQKKyH','addUser'];_0x57b7=function(){return _0x111eb8;};return _0x57b7();}class D extends _0x1b154a{static get[_0xe3e3d2(0x12f)](){const _0x3a9685=_0xe3e3d2;return _0x3a9685(0x141);}constructor(_0x8e2369){const _0x16b396=_0xe3e3d2;super(_0x8e2369),this[_0x16b396(0x13f)]=_0x16b396(0x124);}[_0xe3e3d2(0x158)](){const _0x4f6b53=_0xe3e3d2;this[_0x4f6b53(0x13a)][_0x4f6b53(0x140)][_0x4f6b53(0x14c)](_0x4f6b53(0x13b))[_0x4f6b53(0x146)]={'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[_0x4f6b53(0x13a)][_0x4f6b53(0x140)][_0x4f6b53(0x14c)](_0x4f6b53(0x148))[_0x4f6b53(0x146)]=null;}}function v(_0x51813b){const _0x2bb17d=_0xe3e3d2;return void 0x0!==_0x51813b[_0x2bb17d(0x14f)];}function _0x2020(_0x5567a3,_0x471043){const _0x57b7af=_0x57b7();return _0x2020=function(_0x20201d,_0x2af420){_0x20201d=_0x20201d-0x11e;let _0x3a57b9=_0x57b7af[_0x20201d];return _0x3a57b9;},_0x2020(_0x5567a3,_0x471043);}async function N(_0x3c5a59,_0x14c4f7,_0x430a73){const _0x2e46b8=_0xe3e3d2,_0x2ababb=_0x1683cd(_0x3c5a59,T);_0x2ababb[_0x2e46b8(0x140)][_0x2e46b8(0x150)](_0x12a147,D),_0x2ababb[_0x2e46b8(0x13d)]=v(_0x3c5a59)?_0x3c5a59[_0x2e46b8(0x14f)]():void 0x0;const _0x2aec6a=document[_0x2e46b8(0x156)](),_0x1803eb=_0x3c5a59[_0x2e46b8(0x129)][_0x2e46b8(0x14c)](_0x2e46b8(0x13c))[_0x2e46b8(0x153)],_0x309db6=await _0x1803eb(_0x2ababb,()=>function(_0x28e8f8){const _0x4bed11=_0x2e46b8,_0x34c092=document[_0x4bed11(0x144)](_0x4bed11(0x12d));return _0x28e8f8[_0x4bed11(0x12e)](_0x34c092),_0x34c092;}(_0x2aec6a));!function(_0x6f2876,_0xef1e42){const _0x26ef20=_0x2e46b8,_0x5a37ea=_0x6f2876[_0x26ef20(0x134)][_0x26ef20(0x157)][_0x26ef20(0x15d)]()[_0x26ef20(0x138)]((_0x665511,_0x5354c4)=>(_0x665511[_0x5354c4]=_0x6f2876[_0x26ef20(0x154)][_0x26ef20(0x14c)]({'rootName':_0x5354c4}),_0x665511),{}),_0x28c038=_0x6f2876[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x142))[_0x26ef20(0x130)][_0x26ef20(0x15a)](_0x406668=>({'id':_0x406668['id'],'name':_0x406668[_0x26ef20(0x159)]})),_0x2c2761=_0x6f2876[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x148))[_0x26ef20(0x11e)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x569509=_0x6f2876[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x13b))[_0x26ef20(0x145)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x25b7bf=_0xef1e42[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x142)),_0x5d88ae=_0xef1e42[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x148)),_0x39b7a4=_0xef1e42[_0x26ef20(0x140)][_0x26ef20(0x14c)](_0x26ef20(0x13b));for(const _0x569d50 of _0x28c038)_0x25b7bf[_0x26ef20(0x135)](_0x569d50['id'])||_0x25b7bf[_0x26ef20(0x120)](_0x569d50);_0x25b7bf['me']||_0x25b7bf[_0x26ef20(0x127)]();for(const _0x4b6748 of _0x569509)_0x39b7a4[_0x26ef20(0x143)](_0x4b6748);for(const _0x2aa81c of _0x2c2761)_0x5d88ae[_0x26ef20(0x14a)](_0x2aa81c);_0xef1e42[_0x26ef20(0x154)][_0x26ef20(0x14e)](_0x5a37ea);}(_0x3c5a59,_0x309db6),_0x309db6[_0x2e46b8(0x155)](_0x14c4f7?_0x2e46b8(0x12a):_0x2e46b8(0x125));const _0x19a52e=v(_0x309db6)?_0x309db6[_0x2e46b8(0x121)](_0x430a73):_0x309db6[_0x2e46b8(0x154)][_0x2e46b8(0x14c)](_0x430a73);return await _0x309db6[_0x2e46b8(0x122)](),_0x19a52e;}
|