@ckeditor/ckeditor5-track-changes 43.0.0-alpha.5 → 43.0.0-alpha.6
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.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/trackchangesconfig.d.ts +7 -0
- 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/dist/ui/suggestioncontroller.d.ts +1 -1
- package/dist/ui/view/basesuggestionthreadview.d.ts +8 -2
- package/dist/ui/view/suggestionthreadview.d.ts +42 -137
- package/dist/ui/view/suggestionview.d.ts +194 -0
- package/package.json +10 -10
- 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.d.ts +1 -0
- 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/trackchangesconfig.d.ts +7 -0
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +8 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +42 -137
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.d.ts +190 -0
- package/src/ui/view/suggestionview.js +23 -0
- 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 _0x23f4f6=_0x57f7;function _0x3272(){const _0x5140c3=['2zpGKsS','getSuggestions','set:isEnabled','forceDefaultExecution','mergeTableCellDown','value','markBlockFormat','*Split\x20cell:*\x20horizontally','add','editor','1214219dJafMz','mergeTableCells','type','model','trackChanges','37392381AfCQLh','_tablePostFixingSubtypes','insertion','plugins','filter','$graveyard','document','push','low','highest','TrackChangesEditing','selection','locale','execute','formatBlock','rootName','change','table','1509621jpsLBD','root','_isForcedDefaultExecutionBlock','splitTableCellVertically','mergeTableCellRight','5416980RgnUBc','commands','getCellLocation','isInContent','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','isEnabled','7LpoRFe','createRangeOn','cell','setSelection','format','_suggestionFactory','1799526sMdjAE','tableCell','findAncestor','map','splitTableCellHorizontally','_areMergableCells','TableEditing','mergeTableCellLeft','length','fromRange','horizontally','direction','subType','getRanges','registerDescriptionCallback','refresh','from','registerCustomCallback','*Merge\x20cells*','return','deletion','size','afterInit','TableUtils','markMultiRangeBlockFormat','enableCommand','6987015TDXTBa','getFirstPosition','_areSelectedCellsMergable','detach','formatInline','author','createTableWalker','getAncestors','accept','*Split\x20cell:*\x20vertically','commandName','find','descriptionFactory','get','element','requires','getSelectionAffectedTableCells','stop','containsRange','has','11367424aWZcnf'];_0x3272=function(){return _0x5140c3;};return _0x3272();}(function(_0x4fb1e1,_0x54b9e0){const _0x5c4579=_0x57f7,_0x174e52=_0x4fb1e1();while(!![]){try{const _0xe5cc42=parseInt(_0x5c4579(0xb9))/0x1*(-parseInt(_0x5c4579(0xaf))/0x2)+-parseInt(_0x5c4579(0xd0))/0x3+-parseInt(_0x5c4579(0xd5))/0x4+parseInt(_0x5c4579(0x9a))/0x5+parseInt(_0x5c4579(0xe2))/0x6*(-parseInt(_0x5c4579(0xdc))/0x7)+-parseInt(_0x5c4579(0xae))/0x8+parseInt(_0x5c4579(0xbe))/0x9;if(_0xe5cc42===_0x54b9e0)break;else _0x174e52['push'](_0x174e52['shift']());}catch(_0x1f9616){_0x174e52['push'](_0x174e52['shift']());}}}(_0x3272,0xb9728));import{Plugin as _0x40444b}from'ckeditor5/src/core.js';import _0x26c97a from'./table.js';import{LiveRange as _0x10adf4}from'ckeditor5/src/engine.js';import{getTranslation as _0x3e786e}from'../utils/common-translations.js';function _0x57f7(_0x2c1e55,_0xb1d2){const _0x327227=_0x3272();return _0x57f7=function(_0x57f766,_0x1f6471){_0x57f766=_0x57f766-0x85;let _0x373abf=_0x327227[_0x57f766];return _0x373abf;},_0x57f7(_0x2c1e55,_0xb1d2);}export default class vt extends _0x40444b{static get[_0x23f4f6(0xa9)](){return[_0x26c97a];}[_0x23f4f6(0x96)](){const _0x13d110=_0x23f4f6,_0x59ee73=this[_0x13d110(0xb8)],_0x426eac=_0x59ee73[_0x13d110(0xbc)][_0x13d110(0xc4)][_0x13d110(0xc9)],_0x160b5d=_0x59ee73[_0x13d110(0xca)];if(!_0x59ee73[_0x13d110(0xc1)][_0x13d110(0xad)](_0x13d110(0x86)))return;const _0x37a2d5=_0x59ee73[_0x13d110(0xc1)][_0x13d110(0xa7)](_0x13d110(0xc8)),_0x1e586d=_0x59ee73[_0x13d110(0xc1)][_0x13d110(0xa7)](_0x13d110(0x97)),_0x460cd3=_0x59ee73[_0x13d110(0xc1)][_0x13d110(0xa7)](_0x26c97a);_0x460cd3[_0x13d110(0xbf)][_0x13d110(0xc5)](_0x13d110(0xba)),_0x37a2d5[_0x13d110(0x99)](_0x13d110(0xba),()=>{const _0x5b4720=_0x13d110,_0x3bfa51=_0x1e586d[_0x5b4720(0xaa)](_0x59ee73[_0x5b4720(0xbc)][_0x5b4720(0xc4)][_0x5b4720(0xc9)]);_0x59ee73[_0x5b4720(0xbc)][_0x5b4720(0xce)](()=>{const _0x4c63bd=_0x5b4720;_0x37a2d5[_0x4c63bd(0x98)](_0x3bfa51,{'commandName':_0x4c63bd(0xba),'commandParams':[]},[],_0x4c63bd(0xba));});}),_0x59ee73[_0x13d110(0xd6)][_0x13d110(0xa7)](_0x13d110(0xba))['on'](_0x13d110(0xcb),(_0xb0668f,_0x1f0268)=>{const _0x29e4d4=_0x13d110;_0x59ee73[_0x29e4d4(0xd6)][_0x29e4d4(0xa7)](_0x29e4d4(0xbd))[_0x29e4d4(0xb4)]&&(_0x1f0268[_0x29e4d4(0x88)]>0x0&&_0x1f0268[_0x1f0268[_0x29e4d4(0x88)]-0x1]&&_0x1f0268[_0x1f0268[_0x29e4d4(0x88)]-0x1][_0x29e4d4(0xb2)]||_0x37a2d5[_0x29e4d4(0xd2)]||this[_0x29e4d4(0x9c)]()||_0xb0668f[_0x29e4d4(0xab)]());},{'priority':_0x13d110(0xc7)});for(const _0x1951a2 of[_0x13d110(0xda),_0x13d110(0xd4),_0x13d110(0xb3),_0x13d110(0x87)]){const _0x5d50ea=_0x59ee73[_0x13d110(0xd6)][_0x13d110(0xa7)](_0x1951a2);_0x37a2d5[_0x13d110(0x99)](_0x1951a2,()=>{const _0x26cd71=_0x13d110,_0x5aae86=_0x59ee73[_0x26cd71(0xbc)][_0x26cd71(0xc4)][_0x26cd71(0xc9)][_0x26cd71(0x9b)]()[_0x26cd71(0xa1)]()[_0x26cd71(0xa5)](_0x2ab574=>_0x2ab574['is'](_0x26cd71(0xa8),_0x26cd71(0xe3))),_0x197832=_0x5d50ea[_0x26cd71(0xb4)];_0x59ee73[_0x26cd71(0xbc)][_0x26cd71(0xce)](()=>{const _0x5aae33=_0x26cd71;_0x37a2d5[_0x5aae33(0x98)]([_0x5aae86,_0x197832],{'commandName':_0x5aae33(0xba),'commandParams':[]},[],_0x5aae33(0xba));});});}for(const _0x8d9a4 of[_0x13d110(0xd3),_0x13d110(0xe6)]){const _0x30a45e=_0x59ee73[_0x13d110(0xd6)][_0x13d110(0xa7)](_0x8d9a4);_0x37a2d5[_0x13d110(0x99)](_0x8d9a4,()=>{const _0x2c9249=_0x13d110,_0x3f9d12=_0x1e586d[_0x2c9249(0xaa)](_0x59ee73[_0x2c9249(0xbc)][_0x2c9249(0xc4)][_0x2c9249(0xc9)])[0x0],_0x559f33=_0x3f9d12[_0x2c9249(0xe4)](_0x2c9249(0xcf)),{column:_0x4349ba,row:_0xe637e0}=_0x1e586d[_0x2c9249(0xd7)](_0x3f9d12);let _0x504cf7=[];if(_0x2c9249(0x8a)==_0x30a45e[_0x2c9249(0x8b)]){const _0x504ec6=_0x1e586d[_0x2c9249(0xa0)](_0x559f33,{'startRow':_0xe637e0,'endRow':_0xe637e0,'includeAllSlots':!0x0});_0x504cf7=Array[_0x2c9249(0x90)](_0x504ec6)[_0x2c9249(0xe5)](_0x2b5b9f=>_0x2b5b9f[_0x2c9249(0xde)]);}else{const _0x5b7cce=_0x1e586d[_0x2c9249(0xa0)](_0x559f33,{'column':_0x4349ba,'includeAllSlots':!0x0});_0x504cf7=Array[_0x2c9249(0x90)](_0x5b7cce)[_0x2c9249(0xe5)](_0xc48ae=>_0xc48ae[_0x2c9249(0xde)]);}_0x59ee73[_0x2c9249(0xbc)][_0x2c9249(0xce)](_0x231d7a=>{const _0x163cbc=_0x2c9249;_0x37a2d5[_0x163cbc(0xb5)](_0x231d7a[_0x163cbc(0xdd)](_0x3f9d12),{'commandName':_0x8d9a4,'commandParams':[]},_0x504cf7,_0x8d9a4);});});}_0x37a2d5[_0x13d110(0xa6)][_0x13d110(0x8e)](_0x54a2e5=>{const _0x41fad3=_0x13d110;if(_0x41fad3(0xcc)!=_0x54a2e5[_0x41fad3(0xbb)]&&_0x41fad3(0x9e)!=_0x54a2e5[_0x41fad3(0xbb)])return;const {data:_0x2e95c0}=_0x54a2e5;return _0x2e95c0&&_0x41fad3(0xba)==_0x2e95c0[_0x41fad3(0xa4)]?{'type':_0x41fad3(0xe0),'content':_0x3e786e(_0x160b5d,_0x41fad3(0x92))}:void 0x0;}),_0x37a2d5[_0x13d110(0xa6)][_0x13d110(0x8e)](_0x2abeb1=>{const _0x15a853=_0x13d110;if(_0x15a853(0xcc)!=_0x2abeb1[_0x15a853(0xbb)]&&_0x15a853(0x9e)!=_0x2abeb1[_0x15a853(0xbb)])return;const {data:_0x22c14d}=_0x2abeb1;return _0x22c14d?_0x15a853(0xd3)==_0x22c14d[_0x15a853(0xa4)]?{'type':_0x15a853(0xe0),'content':_0x3e786e(_0x160b5d,_0x15a853(0xa3))}:_0x15a853(0xe6)==_0x22c14d[_0x15a853(0xa4)]?{'type':_0x15a853(0xe0),'content':_0x3e786e(_0x160b5d,_0x15a853(0xb6))}:void 0x0:void 0x0;});const _0x4feee5=_0x460cd3[_0x13d110(0xd9)]();for(const _0x559b9a of[_0x13d110(0xda),_0x13d110(0xd4),_0x13d110(0xb3),_0x13d110(0x87)])_0x37a2d5[_0x13d110(0xe1)][_0x13d110(0x91)](_0x13d110(0xcc),_0x559b9a,_0x13d110(0xa2),_0x4feee5);for(const _0x3ba7e3 of[_0x13d110(0xd3),_0x13d110(0xe6)])_0x37a2d5[_0x13d110(0xe1)][_0x13d110(0x91)](_0x13d110(0xcc),_0x3ba7e3,_0x13d110(0xa2),_0x4feee5);_0x37a2d5[_0x13d110(0xe1)][_0x13d110(0x91)](_0x13d110(0xcc),_0x13d110(0xba),_0x13d110(0xa2),_0x410892=>{const _0x30b3a0=_0x13d110;_0x59ee73[_0x30b3a0(0xbc)][_0x30b3a0(0xce)](_0x24b302=>{const _0x4c0e48=_0x30b3a0,_0x3675b6=Array[_0x4c0e48(0x90)](_0x426eac[_0x4c0e48(0x8d)]())[_0x4c0e48(0xe5)](_0x46bcb7=>_0x10adf4[_0x4c0e48(0x89)](_0x46bcb7));_0x24b302[_0x4c0e48(0xdf)](_0x410892),_0x59ee73[_0x4c0e48(0xd6)][_0x4c0e48(0xa7)](_0x4c0e48(0xba))[_0x4c0e48(0x8f)](),_0x59ee73[_0x4c0e48(0xcb)](_0x4c0e48(0xba),{'forceDefaultExecution':!0x0});const _0x245479=_0x3675b6[_0x4c0e48(0xc2)](_0x4c0eda=>_0x4c0e48(0xc3)!=_0x4c0eda[_0x4c0e48(0xd1)][_0x4c0e48(0xcd)]);_0x245479[_0x4c0e48(0x88)]>0x0&&_0x24b302[_0x4c0e48(0xdf)](_0x245479);for(const _0x3b35db of _0x3675b6)_0x3b35db[_0x4c0e48(0x9d)]();});});for(const _0x4ddcdd of[_0x13d110(0xda),_0x13d110(0xb3),_0x13d110(0x87),_0x13d110(0xd4)]){const _0x57b96a=_0x59ee73[_0x13d110(0xd6)][_0x13d110(0xa7)](_0x4ddcdd);_0x57b96a['on'](_0x13d110(0xb1),(_0x44bd09,_0x55fb8d,_0x3602b9)=>{const _0x48b232=_0x13d110;if(_0x3602b9){const _0x1759cb=_0x59ee73[_0x48b232(0xbc)][_0x48b232(0xc4)][_0x48b232(0xc9)][_0x48b232(0x9b)]()[_0x48b232(0xa1)]()[_0x48b232(0xa5)](_0x50d648=>_0x50d648['is'](_0x48b232(0xa8),_0x48b232(0xe3)));this[_0x48b232(0x85)](_0x57b96a[_0x48b232(0xb4)],_0x1759cb)||(_0x44bd09[_0x48b232(0x93)]=!0x1,_0x44bd09[_0x48b232(0xab)]());}},{'priority':_0x13d110(0xc6)});}}[_0x23f4f6(0x9c)](){const _0xb7a885=_0x23f4f6,_0x3c0873=this[_0xb7a885(0xb8)][_0xb7a885(0xd6)][_0xb7a885(0xa7)](_0xb7a885(0xba)),_0x594389=this[_0xb7a885(0xb8)][_0xb7a885(0xc1)][_0xb7a885(0xa7)](_0xb7a885(0x97));if(!_0x3c0873[_0xb7a885(0xdb)])return!0x1;const _0x414387=_0x594389[_0xb7a885(0xaa)](this[_0xb7a885(0xb8)][_0xb7a885(0xbc)][_0xb7a885(0xc4)][_0xb7a885(0xc9)]);for(const _0x3f04f4 of _0x414387)for(const _0x25d1df of _0x414387)if(_0x3f04f4!=_0x25d1df&&!this[_0xb7a885(0x85)](_0x3f04f4,_0x25d1df))return!0x1;return!0x0;}[_0x23f4f6(0x85)](_0x283e9b,_0x17b9dd){const _0x59241d=_0x23f4f6,_0x432e8a=this[_0x59241d(0xb8)][_0x59241d(0xc1)][_0x59241d(0xa7)](_0x59241d(0xc8)),_0x1a3f67=this[_0x59241d(0xb8)][_0x59241d(0xbc)][_0x59241d(0xdd)](_0x283e9b),_0x5995f0=this[_0x59241d(0xb8)][_0x59241d(0xbc)][_0x59241d(0xdd)](_0x17b9dd),_0x48eca3=new Set(),_0x477aaf=new Set();for(const _0x501184 of _0x432e8a[_0x59241d(0xb0)]())if((_0x59241d(0xc0)==_0x501184[_0x59241d(0xbb)]||_0x59241d(0x94)==_0x501184[_0x59241d(0xbb)]||_0x59241d(0xba)==_0x501184[_0x59241d(0x8c)])&&_0x501184[_0x59241d(0xd8)]){for(const _0x1cf181 of _0x501184[_0x59241d(0x8d)]())_0x1cf181[_0x59241d(0xac)](_0x1a3f67,!0x0)&&_0x48eca3[_0x59241d(0xb7)](_0x501184[_0x59241d(0xbb)]+':'+_0x501184[_0x59241d(0x9f)]['id']),_0x1cf181[_0x59241d(0xac)](_0x5995f0,!0x0)&&_0x477aaf[_0x59241d(0xb7)](_0x501184[_0x59241d(0xbb)]+':'+_0x501184[_0x59241d(0x9f)]['id']);}if(_0x48eca3[_0x59241d(0x95)]!=_0x477aaf[_0x59241d(0x95)])return!0x1;for(const _0x3be9d6 of _0x48eca3)if(!_0x477aaf[_0x59241d(0xad)](_0x3be9d6))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4194(){const _0x3f2641=['add','format','*Merge\x20cells*','registerCustomCallback','getAncestors','findAncestor','isInContent','from','_areMergableCells','15589008JWgKyS','TrackChangesEditing','mergeTableCellRight','*Split\x20cell:*\x20horizontally','enableCommand','commands','_isForcedDefaultExecutionBlock','splitTableCellHorizontally','getSelectionAffectedTableCells','containsRange','descriptionFactory','getCellLocation','subType','setSelection','forceDefaultExecution','getRanges','low','has','afterInit','mergeTableCellLeft','_areSelectedCellsMergable','execute','highest','type','document','horizontally','formatBlock','detach','$graveyard','root','author','accept','trackChanges','_suggestionFactory','3556vvxoPA','mergeTableCells','refresh','locale','element','tableCell','TableUtils','selection','fromRange','createRangeOn','direction','requires','TableEditing','model','86715yqHjyX','formatInline','mergeTableCellUp','map','value','plugins','createTableWalker','3732FLzJRC','push','length','cell','76ombYbk','splitTableCellVertically','editor','_acceptFormatSuggestionCallbackFactory','*Split\x20cell:*\x20vertically','338872rqmOKI','getFirstPosition','stop','table','rootName','2475495HOooEI','markBlockFormat','415941vrxsCd','get','return','set:isEnabled','deletion','getSuggestions','change','commandName','registerDescriptionCallback','insertion','mergeTableCellDown','filter','markMultiRangeBlockFormat','find','6074848CEAMVs','isEnabled','_tablePostFixingSubtypes','size'];_0x4194=function(){return _0x3f2641;};return _0x4194();}function _0x23c9(_0x23b465,_0x5d2349){const _0x4194ca=_0x4194();return _0x23c9=function(_0x23c9a3,_0x2a5376){_0x23c9a3=_0x23c9a3-0x102;let _0x2f252c=_0x4194ca[_0x23c9a3];return _0x2f252c;},_0x23c9(_0x23b465,_0x5d2349);}const _0x2998b5=_0x23c9;(function(_0x514fa5,_0x3ce184){const _0x43e857=_0x23c9,_0x54ed0b=_0x514fa5();while(!![]){try{const _0x830e47=-parseInt(_0x43e857(0x10b))/0x1+-parseInt(_0x43e857(0x104))/0x2+-parseInt(_0x43e857(0x109))/0x3+-parseInt(_0x43e857(0x161))/0x4*(parseInt(_0x43e857(0x156))/0x5)+parseInt(_0x43e857(0x15d))/0x6*(-parseInt(_0x43e857(0x148))/0x7)+parseInt(_0x43e857(0x119))/0x8+parseInt(_0x43e857(0x126))/0x9;if(_0x830e47===_0x3ce184)break;else _0x54ed0b['push'](_0x54ed0b['shift']());}catch(_0x36e264){_0x54ed0b['push'](_0x54ed0b['shift']());}}}(_0x4194,0x6a4e9));import{Plugin as _0x40dd3e}from'ckeditor5/src/core.js';import _0x4c1c49 from'./table.js';import{LiveRange as _0x48837d}from'ckeditor5/src/engine.js';import{getTranslation as _0x132757}from'../utils/common-translations.js';export default class vt extends _0x40dd3e{static get[_0x2998b5(0x153)](){return[_0x4c1c49];}[_0x2998b5(0x138)](){const _0x26c6a7=_0x2998b5,_0x5b84a4=this[_0x26c6a7(0x163)],_0x55f054=_0x5b84a4[_0x26c6a7(0x155)][_0x26c6a7(0x13e)][_0x26c6a7(0x14f)],_0x19459b=_0x5b84a4[_0x26c6a7(0x14b)];if(!_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x137)](_0x26c6a7(0x154)))return;const _0x41e946=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x26c6a7(0x127)),_0x5ddc29=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x26c6a7(0x14e)),_0x8810d2=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x4c1c49);_0x8810d2[_0x26c6a7(0x11b)][_0x26c6a7(0x15e)](_0x26c6a7(0x149)),_0x41e946[_0x26c6a7(0x12a)](_0x26c6a7(0x149),()=>{const _0x15900e=_0x26c6a7,_0x2b55cd=_0x5ddc29[_0x15900e(0x12e)](_0x5b84a4[_0x15900e(0x155)][_0x15900e(0x13e)][_0x15900e(0x14f)]);_0x5b84a4[_0x15900e(0x155)][_0x15900e(0x111)](()=>{const _0x36e766=_0x15900e;_0x41e946[_0x36e766(0x117)](_0x2b55cd,{'commandName':_0x36e766(0x149),'commandParams':[]},[],_0x36e766(0x149));});}),_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x26c6a7(0x149))['on'](_0x26c6a7(0x13b),(_0x49865e,_0x4885eb)=>{const _0x4b1941=_0x26c6a7;_0x5b84a4[_0x4b1941(0x12b)][_0x4b1941(0x10c)](_0x4b1941(0x146))[_0x4b1941(0x15a)]&&(_0x4885eb[_0x4b1941(0x15f)]>0x0&&_0x4885eb[_0x4885eb[_0x4b1941(0x15f)]-0x1]&&_0x4885eb[_0x4885eb[_0x4b1941(0x15f)]-0x1][_0x4b1941(0x134)]||_0x41e946[_0x4b1941(0x12c)]||this[_0x4b1941(0x13a)]()||_0x49865e[_0x4b1941(0x106)]());},{'priority':_0x26c6a7(0x13c)});for(const _0x54e065 of[_0x26c6a7(0x158),_0x26c6a7(0x128),_0x26c6a7(0x115),_0x26c6a7(0x139)]){const _0x11dbb3=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x54e065);_0x41e946[_0x26c6a7(0x12a)](_0x54e065,()=>{const _0x2d1a9c=_0x26c6a7,_0x2f9c42=_0x5b84a4[_0x2d1a9c(0x155)][_0x2d1a9c(0x13e)][_0x2d1a9c(0x14f)][_0x2d1a9c(0x105)]()[_0x2d1a9c(0x121)]()[_0x2d1a9c(0x118)](_0x13c40c=>_0x13c40c['is'](_0x2d1a9c(0x14c),_0x2d1a9c(0x14d))),_0x155f44=_0x11dbb3[_0x2d1a9c(0x15a)];_0x5b84a4[_0x2d1a9c(0x155)][_0x2d1a9c(0x111)](()=>{const _0x32dd62=_0x2d1a9c;_0x41e946[_0x32dd62(0x117)]([_0x2f9c42,_0x155f44],{'commandName':_0x32dd62(0x149),'commandParams':[]},[],_0x32dd62(0x149));});});}for(const _0x954ddb of[_0x26c6a7(0x162),_0x26c6a7(0x12d)]){const _0x1c8130=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x954ddb);_0x41e946[_0x26c6a7(0x12a)](_0x954ddb,()=>{const _0xbdbf3c=_0x26c6a7,_0x5c7aa6=_0x5ddc29[_0xbdbf3c(0x12e)](_0x5b84a4[_0xbdbf3c(0x155)][_0xbdbf3c(0x13e)][_0xbdbf3c(0x14f)])[0x0],_0x3d3757=_0x5c7aa6[_0xbdbf3c(0x122)](_0xbdbf3c(0x107)),{column:_0x29575a,row:_0x171045}=_0x5ddc29[_0xbdbf3c(0x131)](_0x5c7aa6);let _0x546c4a=[];if(_0xbdbf3c(0x13f)==_0x1c8130[_0xbdbf3c(0x152)]){const _0xd58f70=_0x5ddc29[_0xbdbf3c(0x15c)](_0x3d3757,{'startRow':_0x171045,'endRow':_0x171045,'includeAllSlots':!0x0});_0x546c4a=Array[_0xbdbf3c(0x124)](_0xd58f70)[_0xbdbf3c(0x159)](_0x55076d=>_0x55076d[_0xbdbf3c(0x160)]);}else{const _0x5216aa=_0x5ddc29[_0xbdbf3c(0x15c)](_0x3d3757,{'column':_0x29575a,'includeAllSlots':!0x0});_0x546c4a=Array[_0xbdbf3c(0x124)](_0x5216aa)[_0xbdbf3c(0x159)](_0x1a21af=>_0x1a21af[_0xbdbf3c(0x160)]);}_0x5b84a4[_0xbdbf3c(0x155)][_0xbdbf3c(0x111)](_0x382483=>{const _0x423ce2=_0xbdbf3c;_0x41e946[_0x423ce2(0x10a)](_0x382483[_0x423ce2(0x151)](_0x5c7aa6),{'commandName':_0x954ddb,'commandParams':[]},_0x546c4a,_0x954ddb);});});}_0x41e946[_0x26c6a7(0x130)][_0x26c6a7(0x113)](_0x3271f5=>{const _0x386596=_0x26c6a7;if(_0x386596(0x140)!=_0x3271f5[_0x386596(0x13d)]&&_0x386596(0x157)!=_0x3271f5[_0x386596(0x13d)])return;const {data:_0x2f1007}=_0x3271f5;return _0x2f1007&&_0x386596(0x149)==_0x2f1007[_0x386596(0x112)]?{'type':_0x386596(0x11e),'content':_0x132757(_0x19459b,_0x386596(0x11f))}:void 0x0;}),_0x41e946[_0x26c6a7(0x130)][_0x26c6a7(0x113)](_0x5bcb0e=>{const _0x27f2eb=_0x26c6a7;if(_0x27f2eb(0x140)!=_0x5bcb0e[_0x27f2eb(0x13d)]&&_0x27f2eb(0x157)!=_0x5bcb0e[_0x27f2eb(0x13d)])return;const {data:_0x37f97e}=_0x5bcb0e;return _0x37f97e?_0x27f2eb(0x162)==_0x37f97e[_0x27f2eb(0x112)]?{'type':_0x27f2eb(0x11e),'content':_0x132757(_0x19459b,_0x27f2eb(0x103))}:_0x27f2eb(0x12d)==_0x37f97e[_0x27f2eb(0x112)]?{'type':_0x27f2eb(0x11e),'content':_0x132757(_0x19459b,_0x27f2eb(0x129))}:void 0x0:void 0x0;});const _0x458dc9=_0x8810d2[_0x26c6a7(0x102)]();for(const _0x230720 of[_0x26c6a7(0x158),_0x26c6a7(0x128),_0x26c6a7(0x115),_0x26c6a7(0x139)])_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x230720,_0x26c6a7(0x145),_0x458dc9);for(const _0x8e197b of[_0x26c6a7(0x162),_0x26c6a7(0x12d)])_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x8e197b,_0x26c6a7(0x145),_0x458dc9);_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x26c6a7(0x149),_0x26c6a7(0x145),_0x5123d6=>{const _0x3d6144=_0x26c6a7;_0x5b84a4[_0x3d6144(0x155)][_0x3d6144(0x111)](_0x5bcbd7=>{const _0xe5c352=_0x3d6144,_0x31cd7c=Array[_0xe5c352(0x124)](_0x55f054[_0xe5c352(0x135)]())[_0xe5c352(0x159)](_0x13af5e=>_0x48837d[_0xe5c352(0x150)](_0x13af5e));_0x5bcbd7[_0xe5c352(0x133)](_0x5123d6),_0x5b84a4[_0xe5c352(0x12b)][_0xe5c352(0x10c)](_0xe5c352(0x149))[_0xe5c352(0x14a)](),_0x5b84a4[_0xe5c352(0x13b)](_0xe5c352(0x149),{'forceDefaultExecution':!0x0});const _0x4edace=_0x31cd7c[_0xe5c352(0x116)](_0x48ac44=>_0xe5c352(0x142)!=_0x48ac44[_0xe5c352(0x143)][_0xe5c352(0x108)]);_0x4edace[_0xe5c352(0x15f)]>0x0&&_0x5bcbd7[_0xe5c352(0x133)](_0x4edace);for(const _0x3e8c76 of _0x31cd7c)_0x3e8c76[_0xe5c352(0x141)]();});});for(const _0x3503ec of[_0x26c6a7(0x158),_0x26c6a7(0x115),_0x26c6a7(0x139),_0x26c6a7(0x128)]){const _0x25c6fc=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x3503ec);_0x25c6fc['on'](_0x26c6a7(0x10e),(_0x58b08d,_0x3a4c0e,_0x37916b)=>{const _0x5020ad=_0x26c6a7;if(_0x37916b){const _0x2431a6=_0x5b84a4[_0x5020ad(0x155)][_0x5020ad(0x13e)][_0x5020ad(0x14f)][_0x5020ad(0x105)]()[_0x5020ad(0x121)]()[_0x5020ad(0x118)](_0x584d14=>_0x584d14['is'](_0x5020ad(0x14c),_0x5020ad(0x14d)));this[_0x5020ad(0x125)](_0x25c6fc[_0x5020ad(0x15a)],_0x2431a6)||(_0x58b08d[_0x5020ad(0x10d)]=!0x1,_0x58b08d[_0x5020ad(0x106)]());}},{'priority':_0x26c6a7(0x136)});}}[_0x2998b5(0x13a)](){const _0x2fd5e1=_0x2998b5,_0x3ad5a5=this[_0x2fd5e1(0x163)][_0x2fd5e1(0x12b)][_0x2fd5e1(0x10c)](_0x2fd5e1(0x149)),_0x20d714=this[_0x2fd5e1(0x163)][_0x2fd5e1(0x15b)][_0x2fd5e1(0x10c)](_0x2fd5e1(0x14e));if(!_0x3ad5a5[_0x2fd5e1(0x11a)])return!0x1;const _0x459dfa=_0x20d714[_0x2fd5e1(0x12e)](this[_0x2fd5e1(0x163)][_0x2fd5e1(0x155)][_0x2fd5e1(0x13e)][_0x2fd5e1(0x14f)]);for(const _0x5f31ea of _0x459dfa)for(const _0xa82677 of _0x459dfa)if(_0x5f31ea!=_0xa82677&&!this[_0x2fd5e1(0x125)](_0x5f31ea,_0xa82677))return!0x1;return!0x0;}[_0x2998b5(0x125)](_0x4d379a,_0x578eea){const _0x81a0d1=_0x2998b5,_0x4acb8f=this[_0x81a0d1(0x163)][_0x81a0d1(0x15b)][_0x81a0d1(0x10c)](_0x81a0d1(0x127)),_0xcd64f=this[_0x81a0d1(0x163)][_0x81a0d1(0x155)][_0x81a0d1(0x151)](_0x4d379a),_0x28141d=this[_0x81a0d1(0x163)][_0x81a0d1(0x155)][_0x81a0d1(0x151)](_0x578eea),_0x28eeab=new Set(),_0x4cc7d8=new Set();for(const _0x56fe80 of _0x4acb8f[_0x81a0d1(0x110)]())if((_0x81a0d1(0x114)==_0x56fe80[_0x81a0d1(0x13d)]||_0x81a0d1(0x10f)==_0x56fe80[_0x81a0d1(0x13d)]||_0x81a0d1(0x149)==_0x56fe80[_0x81a0d1(0x132)])&&_0x56fe80[_0x81a0d1(0x123)]){for(const _0x59eef1 of _0x56fe80[_0x81a0d1(0x135)]())_0x59eef1[_0x81a0d1(0x12f)](_0xcd64f,!0x0)&&_0x28eeab[_0x81a0d1(0x11d)](_0x56fe80[_0x81a0d1(0x13d)]+':'+_0x56fe80[_0x81a0d1(0x144)]['id']),_0x59eef1[_0x81a0d1(0x12f)](_0x28141d,!0x0)&&_0x4cc7d8[_0x81a0d1(0x11d)](_0x56fe80[_0x81a0d1(0x13d)]+':'+_0x56fe80[_0x81a0d1(0x144)]['id']);}if(_0x28eeab[_0x81a0d1(0x11c)]!=_0x4cc7d8[_0x81a0d1(0x11c)])return!0x1;for(const _0x46164f of _0x28eeab)if(!_0x4cc7d8[_0x81a0d1(0x137)](_0x46164f))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bd4f6=_0x4d71;(function(_0x2f303c,_0x43abea){const _0x3089a7=_0x4d71,_0x33b40d=_0x2f303c();while(!![]){try{const _0x196c4e=-parseInt(_0x3089a7(0x103))/0x1*(-parseInt(_0x3089a7(0x100))/0x2)+parseInt(_0x3089a7(0x110))/0x3+parseInt(_0x3089a7(0x10e))/0x4+parseInt(_0x3089a7(0x10a))/0x5+-parseInt(_0x3089a7(0x113))/0x6*(parseInt(_0x3089a7(0x108))/0x7)+parseInt(_0x3089a7(0x10f))/0x8+-parseInt(_0x3089a7(0x109))/0x9;if(_0x196c4e===_0x43abea)break;else _0x33b40d['push'](_0x33b40d['shift']());}catch(_0x1a6b92){_0x33b40d['push'](_0x33b40d['shift']());}}}(_0x1db4,0xa347c));function _0x4d71(_0x1640e9,_0x1b6d6f){const _0x1db4cb=_0x1db4();return _0x4d71=function(_0x4d7184,_0x2207f3){_0x4d7184=_0x4d7184-0xfe;let _0x35cef5=_0x1db4cb[_0x4d7184];return _0x35cef5;},_0x4d71(_0x1640e9,_0x1b6d6f);}import{Plugin as _0x94105d}from'ckeditor5/src/core.js';import{getTranslation as _0x22f019}from'../utils/common-translations.js';function _0x1db4(){const _0x595e5c=['TrackChangesEditing','registerElementLabel','plugins','3069104cUGoNS','4258032HQNirI','3226437AWiBzz','afterInit','enableCommand','910698pkVXsX','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','210yDcmPs','locale','insertTableOfContents','9147uxuLqh','tableOfContents','editor','get','commands','21rQiQSG','22741056XjoAkV','1577425GKMADQ'];_0x1db4=function(){return _0x595e5c;};return _0x1db4();}export default class Mt extends _0x94105d{[_0x3bd4f6(0x111)](){const _0x49b56a=_0x3bd4f6,_0x2e4c0a=this[_0x49b56a(0x105)];if(!_0x2e4c0a[_0x49b56a(0x107)][_0x49b56a(0x106)](_0x49b56a(0x102)))return;_0x2e4c0a[_0x49b56a(0x10d)][_0x49b56a(0x106)](_0x49b56a(0x10b))[_0x49b56a(0x112)](_0x49b56a(0x102));const _0x4aa14a=_0x2e4c0a[_0x49b56a(0x10d)][_0x49b56a(0x106)](_0x49b56a(0x10b)),_0x24a6ac=_0x2e4c0a[_0x49b56a(0x101)];_0x4aa14a[_0x49b56a(0xfe)][_0x49b56a(0x10c)](_0x49b56a(0x104),_0x4f4a9f=>_0x22f019(_0x24a6ac,_0x49b56a(0xff),_0x4f4a9f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3445(_0x5c421f,_0x3f327e){const _0x58d8b8=_0x58d8();return _0x3445=function(_0x3445a5,_0x3634f3){_0x3445a5=_0x3445a5-0x124;let _0x2f7b99=_0x58d8b8[_0x3445a5];return _0x2f7b99;},_0x3445(_0x5c421f,_0x3f327e);}const _0xfec518=_0x3445;(function(_0x579fed,_0x1ea24d){const _0x53dced=_0x3445,_0x262ae2=_0x579fed();while(!![]){try{const _0x1fcb2c=parseInt(_0x53dced(0x139))/0x1*(-parseInt(_0x53dced(0x164))/0x2)+-parseInt(_0x53dced(0x12b))/0x3*(parseInt(_0x53dced(0x16b))/0x4)+-parseInt(_0x53dced(0x150))/0x5+parseInt(_0x53dced(0x158))/0x6+parseInt(_0x53dced(0x138))/0x7*(-parseInt(_0x53dced(0x156))/0x8)+parseInt(_0x53dced(0x162))/0x9*(-parseInt(_0x53dced(0x149))/0xa)+parseInt(_0x53dced(0x167))/0xb*(parseInt(_0x53dced(0x161))/0xc);if(_0x1fcb2c===_0x1ea24d)break;else _0x262ae2['push'](_0x262ae2['shift']());}catch(_0x292001){_0x262ae2['push'](_0x262ae2['shift']());}}}(_0x58d8,0x1a463));import{Plugin as _0x45aa1c}from'ckeditor5/src/core.js';import{getTranslation as _0x3e6d83}from'../utils/common-translations.js';export default class Rt extends _0x45aa1c{constructor(_0x58f40a){const _0x578368=_0x3445;super(_0x58f40a),this[_0x578368(0x136)]=[_0x578368(0x12f),_0x578368(0x147),_0x578368(0x128),_0x578368(0x14d),_0x578368(0x170),_0x578368(0x141),_0x578368(0x168)],this[_0x578368(0x14b)]=[_0x578368(0x16d),_0x578368(0x15c),_0x578368(0x14c),_0x578368(0x15d),_0x578368(0x146),_0x578368(0x152),_0x578368(0x15a),_0x578368(0x131),_0x578368(0x159)];}static get[_0xfec518(0x14a)](){const _0x264328=_0xfec518;return _0x264328(0x16c);}[_0xfec518(0x127)](){const _0x2b40e8=_0xfec518,_0x244ccd=this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13e)](_0x2b40e8(0x157));if(this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13c)](_0x2b40e8(0x145))){for(const _0x1bfa04 of this[_0x2b40e8(0x136)])_0x244ccd[_0x2b40e8(0x148)](_0x1bfa04,(_0x560ba6,_0x2aa652)=>{const _0x39c75f=_0x2b40e8,_0x10c50f=this[_0x39c75f(0x143)][_0x39c75f(0x137)][_0x39c75f(0x151)][_0x39c75f(0x163)][_0x39c75f(0x154)]()[_0x39c75f(0x15e)](_0x39c75f(0x12e));this[_0x39c75f(0x15f)](_0x1bfa04,[_0x10c50f],this[_0x39c75f(0x136)],_0x39c75f(0x136),_0x560ba6,_0x2aa652);});_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x130),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x172)](_0x2b40e8(0x13b),null,_0x2b40e8(0x140))),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x140),(_0x6dfd87,_0xaa40e6)=>this[_0x2b40e8(0x132)](this[_0x2b40e8(0x136)],_0x6dfd87,_0xaa40e6)),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x13d),()=>!0x1);}if(this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13c)](_0x2b40e8(0x12a))){for(const _0x21fe72 of this[_0x2b40e8(0x14b)])_0x244ccd[_0x2b40e8(0x148)](_0x21fe72,(_0x4d6ad4,_0x3094a0)=>{const _0x315356=_0x2b40e8,_0x3821f8=this[_0x315356(0x143)][_0x315356(0x165)][_0x315356(0x13e)](_0x315356(0x144))[_0x315356(0x173)](this[_0x315356(0x143)][_0x315356(0x137)][_0x315356(0x151)][_0x315356(0x163)]);this[_0x315356(0x15f)](_0x21fe72,_0x3821f8,this[_0x315356(0x14b)],_0x315356(0x14b),_0x4d6ad4,_0x3094a0);});_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x130),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x172)](_0x2b40e8(0x13b),null,_0x2b40e8(0x140))),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x140),(_0x52ffb4,_0x187dd3)=>this[_0x2b40e8(0x132)](this[_0x2b40e8(0x14b)],_0x52ffb4,_0x187dd3)),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x13d),()=>!0x1);}_0x244ccd[_0x2b40e8(0x171)][_0x2b40e8(0x166)](_0x41a917=>this[_0x2b40e8(0x125)](_0x41a917));}[_0xfec518(0x15f)](_0x461b27,_0x3a539b,_0x5e6502,_0x2b8b55,_0x172b68,_0x4bb23b){const _0x56e276=_0xfec518,_0x3f5184=this[_0x56e276(0x143)][_0x56e276(0x165)][_0x56e276(0x13e)](_0x56e276(0x157));this[_0x56e276(0x143)][_0x56e276(0x137)][_0x56e276(0x135)](_0x4bb23b[_0x56e276(0x124)],()=>{const _0x4d4291=_0x56e276;for(const _0x2df983 of _0x3a539b){if(this[_0x4d4291(0x14f)](_0x2df983,_0x2b8b55))_0x172b68(_0x4bb23b);else{const _0x2530eb={};for(const _0x28a91c of _0x5e6502){const _0xb0cdc2=_0x2df983[_0x4d4291(0x12d)](_0x28a91c);void 0x0!==_0xb0cdc2&&(_0x2530eb[_0x28a91c]=_0xb0cdc2);}_0x172b68(_0x4bb23b),_0x3f5184[_0x4d4291(0x134)](_0x2df983,{'commandParams':[_0x2530eb]},[],_0x2b8b55);}}});}[_0xfec518(0x132)](_0x4f8e96,_0x58ae1b,_0x27c2b3){const _0x5b1fee=_0xfec518,_0x5cdc58=_0x58ae1b[0x0][_0x5b1fee(0x126)][_0x5b1fee(0x13a)],_0x476652=_0x27c2b3[_0x5b1fee(0x12c)][0x0];this[_0x5b1fee(0x143)][_0x5b1fee(0x137)][_0x5b1fee(0x153)](_0xd0aa6e=>{const _0x55d2e3=_0x5b1fee;for(const _0x4eae59 of _0x4f8e96)void 0x0!==_0x476652[_0x4eae59]?_0xd0aa6e[_0x55d2e3(0x169)](_0x4eae59,_0x476652[_0x4eae59],_0x5cdc58):_0xd0aa6e[_0x55d2e3(0x155)](_0x4eae59,_0x5cdc58);});}[_0xfec518(0x125)](_0x489f75){const _0x4c09bb=_0xfec518;if(_0x489f75[_0x4c09bb(0x16f)])switch(_0x489f75[_0x4c09bb(0x129)]){case _0x4c09bb(0x136):return{'type':_0x4c09bb(0x14e),'content':_0x3e6d83(this[_0x4c09bb(0x143)][_0x4c09bb(0x15b)],_0x4c09bb(0x142))};case _0x4c09bb(0x14b):return{'type':_0x4c09bb(0x14e),'content':_0x3e6d83(this[_0x4c09bb(0x143)][_0x4c09bb(0x15b)],_0x4c09bb(0x13f))};}}[_0xfec518(0x14f)](_0x57e598,_0x11827c){const _0x1a1d40=_0xfec518,_0x329e39=this[_0x1a1d40(0x143)][_0x1a1d40(0x165)][_0x1a1d40(0x13e)](_0x1a1d40(0x157));for(const _0x14f619 of _0x329e39[_0x1a1d40(0x133)]({'skipNotAttached':!0x0})){const _0x18ff23=_0x14f619[_0x1a1d40(0x16a)]();if(_0x14f619[_0x1a1d40(0x129)]===_0x11827c&&_0x18ff23===_0x57e598)return _0x14f619;}return null;}}function _0x58d8(){const _0x2854d9=['3226AfHtBh','plugins','registerDescriptionCallback','3026584VVgHOS','tableBackgroundColor','setAttribute','getContainedElement','24ijWJJl','TrackChangesTableProperties','tableCellBorderColor','_suggestionFactory','data','tableWidth','descriptionFactory','getSuggestionCallback','getSelectionAffectedTableCells','batch','handleSuggestionDescription','start','afterInit','tableBorderWidth','subType','TableCellPropertiesEditing','45894qtzONV','commandParams','getAttribute','table','tableBorderColor','accept','tableCellHorizontalAlignment','handleDiscardAction','getSuggestions','markBlockFormat','enqueueChange','tableProperties','model','35ToTbFp','40xbGuSS','nodeAfter','formatBlock','has','join','get','*Format:*\x20change\x20table\x20cell\x20properties','discard','tableHeight','*Format:*\x20change\x20table\x20properties','editor','TableUtils','TablePropertiesEditing','tableCellWidth','tableBorderStyle','enableCommand','341480DtxgzE','pluginName','tableCellProperties','tableCellBorderWidth','tableAlignment','format','_getSuggestion','624360lkMBZH','document','tableCellHeight','change','getFirstPosition','removeAttribute','70160ANVGav','TrackChangesEditing','113718NlWmXr','tableCellVerticalAlignment','tableCellBackgroundColor','locale','tableCellBorderStyle','tableCellPadding','findAncestor','_handlePropertyChange','registerCustomCallback','24NgoxSd','36oPxowU','selection'];_0x58d8=function(){return _0x2854d9;};return _0x58d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47ac4b=_0x55e6;function _0x2112(){const _0x3e600f=['240hpkmmt','746620cZAuFC','plugins','1472YITQyh','editor','137111xuhpeg','4TFaZEw','6AvWksF','89897qhVUSQ','afterInit','4OfDjYp','insertTemplate','TrackChangesEditing','1359HmQzwe','541854imLfRP','1634185jAlyUW','enableCommand','276YyjUCC','Template','get','has','25817bDFUGg'];_0x2112=function(){return _0x3e600f;};return _0x2112();}(function(_0x56fe46,_0xe7f45f){const _0x1396e9=_0x55e6,_0x4454ef=_0x56fe46();while(!![]){try{const _0x23997d=parseInt(_0x1396e9(0x1d6))/0x1*(-parseInt(_0x1396e9(0x1d4))/0x2)+parseInt(_0x1396e9(0x1dc))/0x3*(parseInt(_0x1396e9(0x1d8))/0x4)+-parseInt(_0x1396e9(0x1dd))/0x5*(-parseInt(_0x1396e9(0x1d5))/0x6)+parseInt(_0x1396e9(0x1cf))/0x7+parseInt(_0x1396e9(0x1d1))/0x8*(-parseInt(_0x1396e9(0x1db))/0x9)+parseInt(_0x1396e9(0x1ce))/0xa*(parseInt(_0x1396e9(0x1e3))/0xb)+parseInt(_0x1396e9(0x1df))/0xc*(-parseInt(_0x1396e9(0x1d3))/0xd);if(_0x23997d===_0xe7f45f)break;else _0x4454ef['push'](_0x4454ef['shift']());}catch(_0x3fb42b){_0x4454ef['push'](_0x4454ef['shift']());}}}(_0x2112,0x35c7c));import{Plugin as _0x4f4a1c}from'ckeditor5/src/core.js';function _0x55e6(_0x10549e,_0x56028c){const _0x2112af=_0x2112();return _0x55e6=function(_0x55e674,_0x29d9f5){_0x55e674=_0x55e674-0x1ce;let _0x153c1=_0x2112af[_0x55e674];return _0x153c1;},_0x55e6(_0x10549e,_0x56028c);}export default class Dt extends _0x4f4a1c{[_0x47ac4b(0x1d7)](){const _0x5bb14d=_0x47ac4b,_0x1858ca=this[_0x5bb14d(0x1d2)];_0x1858ca[_0x5bb14d(0x1d0)][_0x5bb14d(0x1e2)](_0x5bb14d(0x1e0))&&_0x1858ca[_0x5bb14d(0x1d0)][_0x5bb14d(0x1e1)](_0x5bb14d(0x1da))[_0x5bb14d(0x1de)](_0x5bb14d(0x1d9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e6d40=_0x139a;(function(_0x35fb79,_0x345710){const _0x1e77c8=_0x139a,_0x26d215=_0x35fb79();while(!![]){try{const _0x531394=-parseInt(_0x1e77c8(0x142))/0x1*(parseInt(_0x1e77c8(0x152))/0x2)+-parseInt(_0x1e77c8(0x138))/0x3+-parseInt(_0x1e77c8(0x144))/0x4+parseInt(_0x1e77c8(0x151))/0x5*(parseInt(_0x1e77c8(0x13c))/0x6)+-parseInt(_0x1e77c8(0x146))/0x7+parseInt(_0x1e77c8(0x133))/0x8*(-parseInt(_0x1e77c8(0x14b))/0x9)+parseInt(_0x1e77c8(0x137))/0xa;if(_0x531394===_0x345710)break;else _0x26d215['push'](_0x26d215['shift']());}catch(_0x543bf6){_0x26d215['push'](_0x26d215['shift']());}}}(_0x1bdb,0x3c640));import{Plugin as _0x2e97cb}from'ckeditor5/src/core.js';function _0x139a(_0x525b9e,_0x2cb807){const _0x1bdb70=_0x1bdb();return _0x139a=function(_0x139a7a,_0x5be299){_0x139a7a=_0x139a7a-0x129;let _0x52f727=_0x1bdb70[_0x139a7a];return _0x52f727;},_0x139a(_0x525b9e,_0x2cb807);}import{getTranslation as _0x209cd1}from'../utils/common-translations.js';function _0x1bdb(){const _0x1e35d1=['684846EgKNCW','forward','end','start','TrackChangesEditing','has','isCollapsed','suggestion','createRange','registerElementLabel','descriptionFactory','model','afterInit','205144tydEVj','removeMarker','editor','get','9830040miuWPH','1012893rJiGbf','schema','getNearestSelectionRange','nodeBefore','609414FieoRs','newRange','element','plugins','title-content','isEqual','1vlgoGU','Title','109040orGeAx','from','729792JdKLdi','differ','document','_splitMarkerName','ELEMENT_TITLE','9dJGMqc','isTouching','locale','getChangedMarkers','registerPostFixer','updateMarker','5CkRcnn'];_0x1bdb=function(){return _0x1e35d1;};return _0x1bdb();}export default class $t extends _0x2e97cb{[_0x3e6d40(0x132)](){const _0x1cfba8=_0x3e6d40,_0x1f3c1e=this[_0x1cfba8(0x135)];if(!_0x1f3c1e[_0x1cfba8(0x13f)][_0x1cfba8(0x12b)](_0x1cfba8(0x143)))return;const _0x269fbe=_0x1f3c1e[_0x1cfba8(0x13f)][_0x1cfba8(0x136)](_0x1cfba8(0x12a));_0x269fbe[_0x1cfba8(0x130)][_0x1cfba8(0x12f)](_0x1cfba8(0x140),()=>_0x209cd1(_0x1f3c1e[_0x1cfba8(0x14d)],_0x1cfba8(0x14a))),_0x1f3c1e[_0x1cfba8(0x131)][_0x1cfba8(0x148)][_0x1cfba8(0x14f)](_0x5d5801=>{const _0x1be857=_0x1cfba8;let _0x66c077=!0x1;const _0x3b80dc=Array[_0x1be857(0x145)](_0x1f3c1e[_0x1be857(0x131)][_0x1be857(0x148)][_0x1be857(0x147)][_0x1be857(0x14e)]());for(const {name:_0x51e0d6,data:_0x55feeb}of _0x3b80dc){const {group:_0x51d15e}=_0x269fbe[_0x1be857(0x149)](_0x51e0d6);if(_0x1be857(0x12d)!==_0x51d15e||!_0x55feeb[_0x1be857(0x13d)])continue;const _0x198f05=_0x55feeb[_0x1be857(0x13d)],_0x1193b8=_0x198f05[_0x1be857(0x154)][_0x1be857(0x13b)];if(!_0x1193b8||!_0x1193b8['is'](_0x1be857(0x13e),_0x1be857(0x140)))continue;if(!_0x198f05[_0x1be857(0x129)][_0x1be857(0x14c)](_0x198f05[_0x1be857(0x154)]))continue;const _0x41115b=_0x1f3c1e[_0x1be857(0x131)][_0x1be857(0x139)][_0x1be857(0x13a)](_0x198f05[_0x1be857(0x154)],_0x1be857(0x153));if(_0x41115b&&_0x41115b[_0x1be857(0x12c)]){const _0x27fc8a=_0x5d5801[_0x1be857(0x12e)](_0x198f05[_0x1be857(0x129)],_0x41115b[_0x1be857(0x129)]);_0x27fc8a[_0x1be857(0x141)](_0x198f05)||(_0x5d5801[_0x1be857(0x150)](_0x51e0d6,{'range':_0x27fc8a}),_0x66c077=!0x0);}_0x66c077||(_0x5d5801[_0x1be857(0x134)](_0x51e0d6),_0x66c077=!0x0);}return _0x66c077;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x138f(){const _0x5be2de=['10000550frAwPu','enableCommand','plugins','33jrwdkY','1342144xwlsMr','get','10872UMGfoQ','2453944shlVbL','14235EYhwUe','redo','undo','has','editor','TrackChangesEditing','afterInit','UndoEditing','268JpgDaN','1902lZKNrO','17899viTiTX','9272BwYALZ','3294155kEPAFw'];_0x138f=function(){return _0x5be2de;};return _0x138f();}const _0x5beadf=_0x303a;(function(_0x2f625c,_0xccb9bb){const _0xd1fbb9=_0x303a,_0x3c8664=_0x2f625c();while(!![]){try{const _0x14430b=parseInt(_0xd1fbb9(0x1bb))/0x1+parseInt(_0xd1fbb9(0x1be))/0x2+-parseInt(_0xd1fbb9(0x1bf))/0x3*(parseInt(_0xd1fbb9(0x1c7))/0x4)+-parseInt(_0xd1fbb9(0x1cb))/0x5+-parseInt(_0xd1fbb9(0x1c8))/0x6*(-parseInt(_0xd1fbb9(0x1c9))/0x7)+-parseInt(_0xd1fbb9(0x1ca))/0x8*(-parseInt(_0xd1fbb9(0x1bd))/0x9)+parseInt(_0xd1fbb9(0x1b7))/0xa*(-parseInt(_0xd1fbb9(0x1ba))/0xb);if(_0x14430b===_0xccb9bb)break;else _0x3c8664['push'](_0x3c8664['shift']());}catch(_0x467adb){_0x3c8664['push'](_0x3c8664['shift']());}}}(_0x138f,0xc401e));function _0x303a(_0x3e4c3,_0x3acdde){const _0x138f8d=_0x138f();return _0x303a=function(_0x303abc,_0x324550){_0x303abc=_0x303abc-0x1b7;let _0x1d1823=_0x138f8d[_0x303abc];return _0x1d1823;},_0x303a(_0x3e4c3,_0x3acdde);}import{Plugin as _0x2e19ae}from'ckeditor5/src/core.js';export default class Bt extends _0x2e19ae{[_0x5beadf(0x1c5)](){const _0x21aa8a=_0x5beadf,_0x4962fe=this[_0x21aa8a(0x1c3)],_0x3a6a95=_0x4962fe[_0x21aa8a(0x1b9)][_0x21aa8a(0x1bc)](_0x21aa8a(0x1c4));_0x4962fe[_0x21aa8a(0x1b9)][_0x21aa8a(0x1c2)](_0x21aa8a(0x1c6))&&(_0x3a6a95[_0x21aa8a(0x1b8)](_0x21aa8a(0x1c1)),_0x3a6a95[_0x21aa8a(0x1b8)](_0x21aa8a(0x1c0)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2fa5(){const _0x3a6ba6=['ck-suggestion-marker--active','ck-suggestion-marker-','item','isContent','schema','1571184cHBjFd','get','name','plugins','writer','markerName','start','test','isLimit','createUIElement','addHighlight','createRangeOn','model','978890xnuFWZ','mapper','markerRange','hasAttribute','activeMarkers','toViewPosition','getWalker','span','addClass','getCustomProperty','773472JcMUSK','push','getItems','elementEnd','parent','type','consumable','TrackChangesEditing','isBlock','3133756TATgeN','18473623IRPPaL','1812570WWyvWz','bindElementToMarker','previousPosition','nextSibling','1142196cUqusy','includes','isAtEnd','toViewElement','insert'];_0x2fa5=function(){return _0x3a6ba6;};return _0x2fa5();}(function(_0x46eb8c,_0x491744){const _0x32f379=_0x239e,_0x4bc9ef=_0x46eb8c();while(!![]){try{const _0x56c8c7=parseInt(_0x32f379(0xf3))/0x1+parseInt(_0x32f379(0xe9))/0x2+parseInt(_0x32f379(0x102))/0x3+parseInt(_0x32f379(0xfc))/0x4+parseInt(_0x32f379(0xfe))/0x5+parseInt(_0x32f379(0x10c))/0x6+-parseInt(_0x32f379(0xfd))/0x7;if(_0x56c8c7===_0x491744)break;else _0x4bc9ef['push'](_0x4bc9ef['shift']());}catch(_0x346ea8){_0x4bc9ef['push'](_0x4bc9ef['shift']());}}}(_0x2fa5,0x64ad9));function _0x239e(_0x410c8a,_0x154689){const _0x2fa520=_0x2fa5();return _0x239e=function(_0x239e51,_0x4547ad){_0x239e51=_0x239e51-0xe0;let _0x24ed45=_0x2fa520[_0x239e51];return _0x24ed45;},_0x239e(_0x410c8a,_0x154689);}export function getRangesWithAttribute(_0x34c4ee,_0x392d86,_0x5b7c3e){const _0x1951b4=_0x239e,_0xa6d7e3=[];for(const _0x1f7b63 of _0x392d86[_0x1951b4(0xf5)]())_0x1f7b63[_0x1951b4(0xec)](_0x34c4ee)&&_0xa6d7e3[_0x1951b4(0xf4)](_0x5b7c3e[_0x1951b4(0xe7)](_0x1f7b63));return _0xa6d7e3;}export function downcastSplitMergeMarker(_0x48f14d,_0x2671da,{showActiveMarker:_0x3ae923=!0x0}={}){const _0x1d302c=_0x239e,_0x1b1d38=_0x48f14d[_0x1d302c(0x10f)][_0x1d302c(0x10d)](_0x1d302c(0xfa));return(_0x17ea8f,_0x2dbed5,_0x24f208)=>{const _0x49a151=_0x1d302c;if(!_0x24f208[_0x49a151(0xf9)][_0x49a151(0xe3)](_0x2dbed5[_0x49a151(0xeb)],_0x17ea8f[_0x49a151(0x10e)]))return;const _0x41b8ff=_0x2dbed5[_0x49a151(0xeb)][_0x49a151(0xef)](),_0x3af821=_0x2dbed5[_0x49a151(0xeb)][_0x49a151(0xe2)],_0x482ccc=_0x48f14d[_0x49a151(0xe8)][_0x49a151(0x10b)];let _0x1bc6af=null,_0x394c63=null,_0x31cd8f=!0x1,_0x3f30f3=!0x1;for(const _0x4da792 of _0x41b8ff){const _0xbb0962=_0x4da792[_0x49a151(0x109)];_0x31cd8f=_0x31cd8f||_0x482ccc[_0x49a151(0x10a)](_0xbb0962);const _0x293eaf=_0x24f208[_0x49a151(0xea)][_0x49a151(0x105)](_0xbb0962);if(_0x293eaf&&_0x293eaf[_0x49a151(0xf2)](_0x49a151(0xe6)))return;_0x49a151(0xf6)==_0x4da792[_0x49a151(0xf8)]&&(_0x482ccc[_0x49a151(0xfb)](_0xbb0962)&&!_0x482ccc[_0x49a151(0xe4)](_0xbb0962)&&(_0xbb0962[_0x49a151(0x101)]||_0x3af821[_0x49a151(0x104)]?_0x1bc6af&&_0x1bc6af[_0x49a151(0xf7)]==_0xbb0962||(_0x1bc6af=_0xbb0962,_0x4c467c(_0x4da792[_0x49a151(0x100)]),_0x3f30f3=!0x0):_0x394c63=_0x394c63||_0x4da792[_0x49a151(0x100)]));}function _0x4c467c(_0x37fc75){const _0x38e443=_0x49a151,_0x3ec736=_0x24f208[_0x38e443(0xe0)][_0x38e443(0xe5)](_0x38e443(0xf0),{'class':_0x38e443(0x108)+_0x2671da}),_0x14c26d=_0x24f208[_0x38e443(0xea)][_0x38e443(0xee)](_0x37fc75);_0x3ae923&&_0x1b1d38[_0x38e443(0xed)][_0x38e443(0x103)](_0x2dbed5[_0x38e443(0xe1)])&&_0x24f208[_0x38e443(0xe0)][_0x38e443(0xf1)](_0x38e443(0x107),_0x3ec736),_0x24f208[_0x38e443(0xe0)][_0x38e443(0x106)](_0x14c26d,_0x3ec736),_0x24f208[_0x38e443(0xea)][_0x38e443(0xff)](_0x3ec736,_0x2dbed5[_0x38e443(0xe1)]);}_0x31cd8f||_0x3f30f3||!_0x394c63||_0x4c467c(_0x394c63);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3a1045=_0x284c;(function(_0x7a8ef9,_0xc8e6f3){const _0x1e53ac=_0x284c,_0x4f03ea=_0x7a8ef9();while(!![]){try{const _0x240a5e=-parseInt(_0x1e53ac(0xaf))/0x1*(-parseInt(_0x1e53ac(0xc6))/0x2)+-parseInt(_0x1e53ac(0xf4))/0x3*(parseInt(_0x1e53ac(0xef))/0x4)+parseInt(_0x1e53ac(0xad))/0x5+-parseInt(_0x1e53ac(0xac))/0x6*(parseInt(_0x1e53ac(0xb3))/0x7)+parseInt(_0x1e53ac(0xdf))/0x8*(-parseInt(_0x1e53ac(0xb0))/0x9)+parseInt(_0x1e53ac(0xb9))/0xa+-parseInt(_0x1e53ac(0xbf))/0xb*(-parseInt(_0x1e53ac(0xda))/0xc);if(_0x240a5e===_0xc8e6f3)break;else _0x4f03ea['push'](_0x4f03ea['shift']());}catch(_0x26cfc4){_0x4f03ea['push'](_0x4f03ea['shift']());}}}(_0x19b5,0x9a8d8));import{Element as _0x58e6d4}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5b1c4e,uid as _0xa01a4a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x43c29e,isEqual as _0xd38d19,set as _0x43bd6c,unset as _0x1701f9}from'lodash-es';function _0x284c(_0x137ef9,_0x38b6a7){const _0x19b54d=_0x19b5();return _0x284c=function(_0x284c27,_0x271d40){_0x284c27=_0x284c27-0xa5;let _0x2b9c48=_0x19b54d[_0x284c27];return _0x2b9c48;},_0x284c(_0x137ef9,_0x38b6a7);}function _0x19b5(){const _0x4399bc=['addMarkerName','isExternal','_isDataLoaded','_model','nodeBefore','isMultiRange','head','accept','commentThread','getMarkers','set','getContainedElement','map','78324nKCrbi','start','length','getMarkerNames','end','53112ezwXPF','@external','removeMarker','hasComments','size','addRange','suggestion:','nodeAfter','attributes','getRange','previous','_markerNames','getRanges','isIntersectingWithRange','add','reduce','544mZVRCX','push','filter','onAccept','removeAttribute','3693nlxhet','addMarker','onAttributesChange','type','_saved','delete','markers','_onAccept','subType','getAllAdjacentSuggestions','_onAttributesChange','6uOsajG','5244325iIfRGg','creator','371857WROviC','1233PxfPCO','discard','substr','5312909KtAcLX','isInContent','createdAt','getFirstMarker','getItems','next','2327610lLQkvV','removeMarkers','isIntersecting','getFirstRange','authoredAt','setAttribute','121zPeoXE','data','decorate','author','split','change','_onDiscard','6ltpWFH','onDiscard','get','getMultiRangeId','from','clear','toJSON'];_0x19b5=function(){return _0x4399bc;};return _0x19b5();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b1c4e(){constructor(_0x760e04,_0x4c0cc6){const _0xdb4524=_0x284c;super(),this[_0xdb4524(0xcf)]=!0x1,this['id']=_0x4c0cc6['id'],this[_0xdb4524(0xf7)]=_0x4c0cc6[_0xdb4524(0xf7)],this[_0xdb4524(0xa9)]=_0x4c0cc6[_0xdb4524(0xa9)]||null,this[_0xdb4524(0xc2)]=_0x4c0cc6[_0xdb4524(0xc2)],this[_0xdb4524(0xae)]=_0x4c0cc6[_0xdb4524(0xae)]||_0x4c0cc6[_0xdb4524(0xc2)],this[_0xdb4524(0xce)]=Boolean(_0x4c0cc6[_0xdb4524(0xe7)]&&_0x4c0cc6[_0xdb4524(0xe7)][_0xdb4524(0xe0)]),this[_0xdb4524(0xc0)]=null,this[_0xdb4524(0xd0)]=_0x760e04,this[_0xdb4524(0xa8)]=_0x4c0cc6[_0xdb4524(0xf2)],this[_0xdb4524(0xc5)]=_0x4c0cc6[_0xdb4524(0xc7)],this[_0xdb4524(0xab)]=_0x4c0cc6[_0xdb4524(0xf6)],this[_0xdb4524(0xea)]=new Set(),this[_0xdb4524(0xb5)]=null,this[_0xdb4524(0xd7)](_0xdb4524(0xbd),null),this[_0xdb4524(0xd7)](_0xdb4524(0xe7),_0x4c0cc6[_0xdb4524(0xe7)]||{}),this[_0xdb4524(0xd7)](_0xdb4524(0xe9),null),this[_0xdb4524(0xd7)](_0xdb4524(0xb8),null),this[_0xdb4524(0xd7)](_0xdb4524(0xd5),null),this[_0xdb4524(0xd7)](_0xdb4524(0xa5),!0x1),this[_0xdb4524(0xc1)](_0xdb4524(0xd4)),this[_0xdb4524(0xc1)](_0xdb4524(0xb1));}get[_0x3a1045(0xd3)](){const _0xbd4b2=_0x3a1045;let _0x24de46=this;for(;_0x24de46[_0xbd4b2(0xe9)];)_0x24de46=_0x24de46[_0xbd4b2(0xe9)];return _0x24de46;}get[_0x3a1045(0xe2)](){const _0x110f4e=_0x3a1045;return!!this[_0x110f4e(0xd5)]&&this[_0x110f4e(0xd5)][_0x110f4e(0xdc)]>0x0;}get[_0x3a1045(0xd2)](){const _0x1d517d=_0x3a1045;if(0x0==this[_0x1d517d(0xea)][_0x1d517d(0xe3)])return!0x1;return 0x6==Array[_0x1d517d(0xca)](this[_0x1d517d(0xea)])[0x0][_0x1d517d(0xc3)](':')[_0x1d517d(0xdc)];}get[_0x3a1045(0xb4)](){const _0x73a727=_0x3a1045;return null!==this[_0x73a727(0xb6)]();}[_0x3a1045(0xcd)](_0x1cbfe0){const _0x4e690d=_0x3a1045;this[_0x4e690d(0xea)][_0x4e690d(0xed)](_0x1cbfe0);}[_0x3a1045(0xdd)](){const _0x7eb3d3=_0x3a1045;return Array[_0x7eb3d3(0xca)](this[_0x7eb3d3(0xea)]);}[_0x3a1045(0xd6)](){const _0x1f368e=_0x3a1045;return this[_0x1f368e(0xdd)]()[_0x1f368e(0xd9)](_0x15c600=>this[_0x1f368e(0xd0)][_0x1f368e(0xa7)][_0x1f368e(0xc8)](_0x15c600))[_0x1f368e(0xf1)](_0x2cb887=>_0x2cb887);}[_0x3a1045(0xb6)](){const _0x2d5245=_0x3a1045;return this[_0x2d5245(0xd6)]()[0x0]||null;}[_0x3a1045(0xba)](){const _0xbf045c=_0x3a1045;this[_0xbf045c(0xd0)][_0xbf045c(0xc4)](_0x5f5328=>{const _0x2137d8=_0xbf045c;for(const _0xda6e4a of this[_0x2137d8(0xd6)]())_0x5f5328[_0x2137d8(0xe1)](_0xda6e4a);}),this[_0xbf045c(0xea)][_0xbf045c(0xcb)]();}[_0x3a1045(0xe1)](_0x1c6247){const _0x5c9e1e=_0x3a1045;this[_0x5c9e1e(0xd0)][_0x5c9e1e(0xc4)](_0x4c654c=>{const _0x38110f=_0x5c9e1e;_0x4c654c[_0x38110f(0xe1)](_0x1c6247);}),this[_0x5c9e1e(0xea)][_0x5c9e1e(0xa6)](_0x1c6247);}[_0x3a1045(0xe4)](_0x43198d){const _0x4db1e2=_0x3a1045,_0x37a07b=_0x4db1e2(0xe5)+this[_0x4db1e2(0xf7)]+':'+this[_0x4db1e2(0xa9)]+':'+this['id']+':'+this[_0x4db1e2(0xae)]['id']+':'+u[_0x4db1e2(0xc9)]();this[_0x4db1e2(0xcd)](_0x37a07b),this[_0x4db1e2(0xd0)][_0x4db1e2(0xc4)](_0x520f16=>{const _0x3d9f26=_0x4db1e2;_0x520f16[_0x3d9f26(0xf5)](_0x37a07b,{'range':_0x43198d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3a1045(0xec)](_0x9f08b8){const _0x5b3a95=_0x3a1045;for(const _0x1c1cca of this[_0x5b3a95(0xeb)]())if(_0x1c1cca[_0x5b3a95(0xbb)](_0x9f08b8))return!0x0;return!0x1;}[_0x3a1045(0xeb)](){const _0x27c9da=_0x3a1045;return this[_0x27c9da(0xd6)]()[_0x27c9da(0xd9)](_0x36316d=>_0x36316d[_0x27c9da(0xe8)]());}[_0x3a1045(0xb7)](){const _0x29580b=_0x3a1045;return this[_0x29580b(0xeb)]()[_0x29580b(0xee)]((_0x309f4d,_0x50bb78)=>[..._0x309f4d,..._0x50bb78[_0x29580b(0xb7)]()],[]);}[_0x3a1045(0xbc)](){const _0x48f139=_0x3a1045;var _0x95427b;return(null===(_0x95427b=this[_0x48f139(0xb6)]())||void 0x0===_0x95427b?void 0x0:_0x95427b[_0x48f139(0xe8)]())||null;}[_0x3a1045(0xd8)](){const _0x3007ef=_0x3a1045,_0x42eeb2=this[_0x3007ef(0xeb)]();if(0x1!=_0x42eeb2[_0x3007ef(0xdc)])return null;const _0x4ac75e=_0x42eeb2[0x0],_0x37cc91=_0x4ac75e[_0x3007ef(0xdb)][_0x3007ef(0xe6)],_0x40f73d=_0x4ac75e[_0x3007ef(0xde)][_0x3007ef(0xd1)];return _0x37cc91 instanceof _0x58e6d4?_0x37cc91!=_0x40f73d?null:_0x37cc91:null;}[_0x3a1045(0xd4)](){const _0x4ec61e=_0x3a1045;this[_0x4ec61e(0xa8)](this[_0x4ec61e(0xeb)](),this[_0x4ec61e(0xc0)],this[_0x4ec61e(0xe7)]),this[_0x4ec61e(0xba)]();}[_0x3a1045(0xb1)](){const _0x4e9daf=_0x3a1045;this[_0x4e9daf(0xc5)](this[_0x4e9daf(0xeb)](),this[_0x4e9daf(0xc0)],this[_0x4e9daf(0xe7)]),this[_0x4e9daf(0xba)]();}[_0x3a1045(0xaa)](){const _0x2497fd=_0x3a1045,_0x2e1a20=[];let _0x45c121=this[_0x2497fd(0xd3)];for(;_0x45c121;)_0x2e1a20[_0x2497fd(0xf0)](_0x45c121),_0x45c121=_0x45c121[_0x2497fd(0xb8)];return _0x2e1a20;}[_0x3a1045(0xbe)](_0x4e51bc,_0x4e7deb){const _0x394d9e=_0x3a1045,_0x4175b5=_0x43c29e(this[_0x394d9e(0xe7)]);_0x43bd6c(_0x4175b5,_0x4e51bc,_0x4e7deb),_0xd38d19(_0x4175b5,this[_0x394d9e(0xe7)])||(this[_0x394d9e(0xe7)]=_0x4175b5,this[_0x394d9e(0xab)](_0x4175b5));}[_0x3a1045(0xf3)](_0xc4d210){const _0x3678b5=_0x3a1045,_0x1b42b3=_0x43c29e(this[_0x3678b5(0xe7)]);_0x1701f9(_0x1b42b3,_0xc4d210),_0xd38d19(_0x1b42b3,this[_0x3678b5(0xe7)])||(this[_0x3678b5(0xe7)]=_0x1b42b3,this[_0x3678b5(0xab)](this[_0x3678b5(0xe7)]));}[_0x3a1045(0xcc)](){const _0x33fd06=_0x3a1045;return{'id':this['id'],'type':this[_0x33fd06(0xa9)]?this[_0x33fd06(0xf7)]+':'+this[_0x33fd06(0xa9)]:this[_0x33fd06(0xf7)],'authorId':this[_0x33fd06(0xae)]['id'],'createdAt':this[_0x33fd06(0xb5)],'hasComments':this[_0x33fd06(0xe2)],'data':this[_0x33fd06(0xc0)],'attributes':this[_0x33fd06(0xe7)]};}static[_0x3a1045(0xc9)](){const _0x19d881=_0x3a1045;return _0xa01a4a()[_0x19d881(0xb2)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f27(_0x269478,_0x5e7865){const _0x48eb87=_0x48eb();return _0x3f27=function(_0x3f2724,_0x4a669a){_0x3f2724=_0x3f2724-0x192;let _0x3d2ca1=_0x48eb87[_0x3f2724];return _0x3d2ca1;},_0x3f27(_0x269478,_0x5e7865);}const _0x5370c4=_0x3f27;(function(_0x54d75e,_0x152205){const _0x3c10e4=_0x3f27,_0x33c677=_0x54d75e();while(!![]){try{const _0x145fb8=parseInt(_0x3c10e4(0x1b2))/0x1*(-parseInt(_0x3c10e4(0x1ef))/0x2)+parseInt(_0x3c10e4(0x1b7))/0x3+-parseInt(_0x3c10e4(0x1d5))/0x4+parseInt(_0x3c10e4(0x1ea))/0x5*(-parseInt(_0x3c10e4(0x1a9))/0x6)+-parseInt(_0x3c10e4(0x1bb))/0x7+parseInt(_0x3c10e4(0x1dc))/0x8*(parseInt(_0x3c10e4(0x1cf))/0x9)+parseInt(_0x3c10e4(0x19b))/0xa;if(_0x145fb8===_0x152205)break;else _0x33c677['push'](_0x33c677['shift']());}catch(_0x3b246b){_0x33c677['push'](_0x33c677['shift']());}}}(_0x48eb,0xa2ce3));import{getTranslation as _0x11b58c}from'./utils/common-translations.js';import{priorities as _0x1361b2,insertToPriorityArray as _0x5496ac}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2b699e}from'./trackchangesediting.js';export default class f{constructor(_0xa861ff,_0x2c0352){const _0x4ccf90=_0x3f27;this[_0x4ccf90(0x1bf)]=[],this[_0x4ccf90(0x1df)]=new Map(),this[_0x4ccf90(0x19a)]=[],this[_0x4ccf90(0x1a5)]=new Map(),this[_0x4ccf90(0x1c4)]=_0xa861ff,this[_0x4ccf90(0x1af)]=_0x2c0352;}[_0x5370c4(0x1be)](_0x3ec3c1){const _0x3507e5=_0x5370c4,_0x489032=[],_0x3d2555=new Set(),_0xcd55a=new Set();for(let _0x50c916=0x0;_0x50c916<_0x3ec3c1[_0x3507e5(0x1ad)];_0x50c916++){const _0x38a2a0=_0x3ec3c1[_0x50c916];if(!_0x38a2a0[_0x3507e5(0x1de)])continue;const _0x4ce952=this[_0x3507e5(0x1f0)](_0x38a2a0);if(_0x4ce952){if(null!=_0x38a2a0[_0x3507e5(0x1e4)]){if(_0x3d2555[_0x3507e5(0x1d7)](_0x38a2a0[_0x3507e5(0x1e4)]))continue;_0x3d2555[_0x3507e5(0x1d3)](_0x38a2a0[_0x3507e5(0x1e4)]);}_0x489032[_0x3507e5(0x1a0)](_0x4ce952);}else{if(_0x3507e5(0x1b3)!=_0x38a2a0[_0x3507e5(0x1d6)])_0x3507e5(0x1c0)!=_0x38a2a0[_0x3507e5(0x1d6)]&&_0x3507e5(0x199)!=_0x38a2a0[_0x3507e5(0x1d6)]||this[_0x3507e5(0x1ca)](_0x489032,_0x38a2a0,_0x3ec3c1[_0x50c916+0x1]);else{const _0x450de3=_0x38a2a0[_0x3507e5(0x19c)][_0x3507e5(0x1e5)];if(_0xcd55a[_0x3507e5(0x1d7)](_0x450de3))continue;_0xcd55a[_0x3507e5(0x1d3)](_0x38a2a0[_0x3507e5(0x19c)][_0x3507e5(0x1e5)]),_0x450de3==_0x2b699e?this[_0x3507e5(0x197)](_0x489032,_0x38a2a0):this[_0x3507e5(0x1cc)](_0x489032,_0x38a2a0);}}}return this[_0x3507e5(0x1ed)](_0x489032);}[_0x5370c4(0x1a3)](_0x258998){const _0x475e92=_0x5370c4;this[_0x475e92(0x1bf)][_0x475e92(0x1a0)](_0x258998);}[_0x5370c4(0x192)](_0x462133,_0x88e9e,_0x418faa=_0x1361b2[_0x5370c4(0x19d)]){const _0x5d7313=_0x5370c4;_0x5d7313(0x1c6)==typeof _0x462133?_0x5496ac(this[_0x5d7313(0x19a)],{'matchingCallback':_0x462133,'label':_0x88e9e,'priority':_0x418faa}):this[_0x5d7313(0x1df)][_0x5d7313(0x1e8)](_0x462133,_0x88e9e);}[_0x5370c4(0x1e3)](_0x47c64e,_0x29015f){const _0x14f9b6=_0x5370c4;this[_0x14f9b6(0x1a5)][_0x14f9b6(0x1e8)](_0x47c64e,_0x29015f);}[_0x5370c4(0x1c7)](_0x4ea723,_0x169871=0x1){const _0x403c6f=_0x5370c4;let _0x33531a;for(const _0x4ea177 of this[_0x403c6f(0x19a)])if(_0x4ea177[_0x403c6f(0x195)](_0x4ea723)){_0x33531a=_0x4ea177[_0x403c6f(0x19f)];break;}return _0x33531a||(_0x33531a=this[_0x403c6f(0x1df)][_0x403c6f(0x1bc)](_0x4ea723[_0x403c6f(0x1ce)])),_0x33531a?_0x33531a(_0x169871):0x1!==_0x169871?_0x169871+'\x20'+_0x4ea723[_0x403c6f(0x1ce)]+'s':''+_0x4ea723[_0x403c6f(0x1ce)];}[_0x5370c4(0x1b0)](_0x3bf9e9,_0x3e2a5f){const _0x52f67d=_0x5370c4,_0x1b1862=_0x3e2a5f[_0x52f67d(0x1e0)]()[_0x52f67d(0x1ab)](),_0x3ed4a7=_0x52f67d(0x1c0)==_0x3e2a5f[_0x52f67d(0x1d6)]?_0x52f67d(0x1d3):_0x52f67d(0x1e2);for(const _0x144861 of _0x1b1862){const _0x3eedf7=_0x144861[_0x52f67d(0x1b8)],_0x4d3104=_0x3bf9e9[_0x3bf9e9[_0x52f67d(0x1ad)]-0x1];if(_0x3eedf7['is'](_0x52f67d(0x1a8)))_0x4d3104&&_0x4d3104[_0x52f67d(0x1d6)][_0x52f67d(0x1eb)](_0x52f67d(0x1d9))>-0x1&&_0x3bf9e9[_0x52f67d(0x198)](),_0x4d3104&&_0x52f67d(0x1d8)==_0x4d3104[_0x52f67d(0x1d6)]?_0x4d3104[_0x3ed4a7]+=_0x3eedf7[_0x52f67d(0x19c)]:_0x3bf9e9[_0x52f67d(0x1a0)]({'type':_0x52f67d(0x1d8),'add':_0x52f67d(0x1d3)==_0x3ed4a7?_0x3eedf7[_0x52f67d(0x19c)]:'','remove':_0x52f67d(0x1e2)==_0x3ed4a7?_0x3eedf7[_0x52f67d(0x19c)]:''});else{if(this[_0x52f67d(0x1c4)][_0x52f67d(0x1a6)](_0x3eedf7)){const _0x4114df=_0x3eedf7;if(_0x4d3104&&_0x4d3104[_0x52f67d(0x1d6)][_0x52f67d(0x1eb)](_0x52f67d(0x1d9))>-0x1&&_0x3bf9e9[_0x52f67d(0x198)](),_0x52f67d(0x1c1)==_0x144861[_0x52f67d(0x1d6)])continue;_0x4d3104&&_0x4d3104[_0x52f67d(0x1d6)]==_0x3ed4a7+_0x52f67d(0x1d4)&&_0x4d3104[_0x52f67d(0x1b4)][_0x52f67d(0x1ce)]==_0x4114df[_0x52f67d(0x1ce)]?_0x4d3104[_0x52f67d(0x1c9)]++:_0x3bf9e9[_0x52f67d(0x1a0)]({'type':_0x3ed4a7+_0x52f67d(0x1d4),'element':_0x4114df,'quantity':0x1}),_0x1b1862[_0x52f67d(0x196)](_0x38f945=>!(_0x52f67d(0x1c1)==_0x38f945[_0x52f67d(0x1d6)]&&_0x38f945[_0x52f67d(0x1b8)]==_0x3eedf7));}else{if(this[_0x52f67d(0x1c4)][_0x52f67d(0x1b5)](_0x3eedf7,_0x52f67d(0x1da))||_0x3eedf7['is'](_0x52f67d(0x1b4),_0x52f67d(0x1ba))){const _0x59ae18=_0x3eedf7;if(_0x52f67d(0x1d3)==_0x3ed4a7&&_0x52f67d(0x1db)==_0x144861[_0x52f67d(0x1d6)]||_0x52f67d(0x1e2)==_0x3ed4a7&&_0x52f67d(0x1c1)==_0x144861[_0x52f67d(0x1d6)])continue;if(_0x4d3104&&-0x1==_0x4d3104[_0x52f67d(0x1d6)][_0x52f67d(0x1eb)](_0x52f67d(0x1d9))){_0x52f67d(0x1d8)==_0x4d3104[_0x52f67d(0x1d6)]&&(_0x4d3104[_0x3ed4a7]+='\x0a');continue;}let _0xc2afab;if(_0xc2afab=_0x52f67d(0x1d3)==_0x3ed4a7?_0x59ae18[_0x52f67d(0x1f1)]&&!this[_0x52f67d(0x1c4)][_0x52f67d(0x1a6)](_0x59ae18[_0x52f67d(0x1f1)])?_0x59ae18[_0x52f67d(0x1f1)]:null:_0x59ae18[_0x52f67d(0x1ee)]&&!this[_0x52f67d(0x1c4)][_0x52f67d(0x1a6)](_0x59ae18[_0x52f67d(0x1ee)])?_0x59ae18[_0x52f67d(0x1ee)]:null,_0x59ae18[_0x52f67d(0x1cd)]||_0xc2afab&&_0xc2afab[_0x52f67d(0x1cd)]){const _0x47e4c0=_0xc2afab&&_0xc2afab[_0x52f67d(0x1cd)]?_0xc2afab:_0x59ae18;_0x4d3104&&_0x4d3104[_0x52f67d(0x1d6)]==_0x3ed4a7+_0x52f67d(0x1d2)&&_0x4d3104[_0x52f67d(0x1b4)][_0x52f67d(0x1ce)]==_0x47e4c0[_0x52f67d(0x1ce)]?_0x4d3104[_0x52f67d(0x1c9)]++:_0x3bf9e9[_0x52f67d(0x1a0)]({'type':_0x3ed4a7+_0x52f67d(0x1d2),'element':_0x47e4c0,'quantity':0x1});}else _0x3bf9e9[_0x52f67d(0x1a0)]({'type':_0x3ed4a7+_0x52f67d(0x1d9),'element':_0x59ae18});}}}}}[_0x5370c4(0x1ed)](_0x3ee95f){const _0x3d54b3=_0x5370c4,_0x5cde1d=this[_0x3d54b3(0x1af)],_0x4ba3e6=[],_0x418486=[],_0x2bad98=[];for(const _0x5a12de of _0x3ee95f)switch(_0x5a12de[_0x3d54b3(0x1d6)]){case _0x3d54b3(0x1d8):if(_0x5a12de[_0x3d54b3(0x1d3)]=_0x5a12de[_0x3d54b3(0x1d3)][_0x3d54b3(0x1d0)](/(\S)\u000A+(\S)/g,_0x3d54b3(0x1b9))[_0x3d54b3(0x1d0)](/\u000A/g,''),_0x5a12de[_0x3d54b3(0x1e2)]=_0x5a12de[_0x3d54b3(0x1e2)][_0x3d54b3(0x1d0)](/(\S)\u000A+(\S)/g,_0x3d54b3(0x1b9))[_0x3d54b3(0x1d0)](/\u000A/g,''),''!=_0x5a12de[_0x3d54b3(0x1d3)]&&''!=_0x5a12de[_0x3d54b3(0x1e2)]){_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1d0),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1ac),['\x22'+_0x5a12de[_0x3d54b3(0x1e2)]+'\x22','\x22'+_0x5a12de[_0x3d54b3(0x1d3)]+'\x22'])});continue;}if(null!=_0x5a12de[_0x3d54b3(0x1d3)][_0x3d54b3(0x1f2)](/^ +$/)){_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1c0),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1ae),_0x11b58c(_0x5cde1d,_0x3d54b3(0x1e7),_0x5a12de[_0x3d54b3(0x1d3)][_0x3d54b3(0x1ad)]))});continue;}if(null!=_0x5a12de[_0x3d54b3(0x1e2)][_0x3d54b3(0x1f2)](/^ +$/)){_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x199),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1a1),_0x11b58c(_0x5cde1d,_0x3d54b3(0x1e7),_0x5a12de[_0x3d54b3(0x1e2)][_0x3d54b3(0x1ad)]))});continue;}if(''!=_0x5a12de[_0x3d54b3(0x1d3)]){_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1c0),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1ae),'\x22'+_0x5a12de[_0x3d54b3(0x1d3)]+'\x22')});continue;}_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x199),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1a1),'\x22'+_0x5a12de[_0x3d54b3(0x1e2)]+'\x22')});continue;case _0x3d54b3(0x1a7):case _0x3d54b3(0x1e1):_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1c0),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1ae),this[_0x3d54b3(0x1c7)](_0x5a12de[_0x3d54b3(0x1b4)],_0x5a12de[_0x3d54b3(0x1c9)]))});continue;case _0x3d54b3(0x1c3):case _0x3d54b3(0x19e):_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x199),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1a1),this[_0x3d54b3(0x1c7)](_0x5a12de[_0x3d54b3(0x1b4)],_0x5a12de[_0x3d54b3(0x1c9)]))});continue;case _0x3d54b3(0x1b1):_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1c0),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1d1),this[_0x3d54b3(0x1c7)](_0x5a12de[_0x3d54b3(0x1b4)],_0x5a12de[_0x3d54b3(0x1c9)]))});continue;case _0x3d54b3(0x1e9):_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x199),'content':_0x11b58c(_0x5cde1d,_0x3d54b3(0x1cb),this[_0x3d54b3(0x1c7)](_0x5a12de[_0x3d54b3(0x1b4)],_0x5a12de[_0x3d54b3(0x1c9)]))});continue;case _0x3d54b3(0x1c8):_0x418486[_0x3d54b3(0x1a0)](_0x5a12de[_0x3d54b3(0x1e5)]);continue;case _0x3d54b3(0x1e6):_0x2bad98[_0x3d54b3(0x1a0)](_0x5a12de[_0x3d54b3(0x1e5)]);continue;default:_0x4ba3e6[_0x3d54b3(0x1a0)](_0x5a12de);}if(_0x418486[_0x3d54b3(0x1ad)]){const _0x396db0=_0x418486[_0x3d54b3(0x1aa)](_0xf68d2c=>this[_0x3d54b3(0x1a5)][_0x3d54b3(0x1d7)](_0xf68d2c)?this[_0x3d54b3(0x1a5)][_0x3d54b3(0x1bc)](_0xf68d2c):_0xf68d2c)[_0x3d54b3(0x1c5)](',\x20');_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1a4),'content':_0x11b58c(this[_0x3d54b3(0x1af)],_0x3d54b3(0x1dd),_0x396db0)});}if(_0x2bad98[_0x3d54b3(0x1ad)]){const _0x534ba4=_0x2bad98[_0x3d54b3(0x1aa)](_0x49daa8=>this[_0x3d54b3(0x1a5)][_0x3d54b3(0x1d7)](_0x49daa8)?this[_0x3d54b3(0x1a5)][_0x3d54b3(0x1bc)](_0x49daa8):_0x49daa8)[_0x3d54b3(0x1c5)](',\x20');_0x4ba3e6[_0x3d54b3(0x1a0)]({'type':_0x3d54b3(0x1a4),'content':_0x11b58c(this[_0x3d54b3(0x1af)],_0x3d54b3(0x1c2),_0x534ba4)});}return _0x4ba3e6;}[_0x5370c4(0x1f0)](_0x857d19){const _0x49aa6c=_0x5370c4;for(const _0x225138 of this[_0x49aa6c(0x1bf)]){const _0x6016bb=_0x225138(_0x857d19);if(_0x6016bb&&_0x49aa6c(0x1d6)in _0x6016bb)return _0x6016bb;}}[_0x5370c4(0x1cc)](_0x4a0a61,_0x1597ef){const _0xf1262a=_0x5370c4,_0x2ea6fe=_0x1597ef[_0xf1262a(0x19c)],_0x3a5fa0=void 0x0===_0x2ea6fe[_0xf1262a(0x1b6)]?_0xf1262a(0x1e6):_0xf1262a(0x1c8);_0x4a0a61[_0xf1262a(0x1a0)]({'type':_0x3a5fa0,'key':_0x2ea6fe[_0xf1262a(0x1e5)]});}[_0x5370c4(0x197)](_0x393acc,_0x10a026){const _0x2035cf=_0x5370c4;_0x393acc[_0x2035cf(0x1a0)]({'type':_0x2035cf(0x1a4),'content':_0x11b58c(this[_0x2035cf(0x1af)],_0x2035cf(0x193),this[_0x2035cf(0x1c7)](_0x10a026[_0x2035cf(0x1e0)]()[_0x2035cf(0x1ec)][_0x2035cf(0x194)],0x1))});}[_0x5370c4(0x1ca)](_0x2868d9,_0x212c77,_0x4cef48){const _0x50c8c8=_0x5370c4;if(this[_0x50c8c8(0x1b0)](_0x2868d9,_0x212c77),_0x4cef48&&_0x4cef48[_0x50c8c8(0x1e0)]()&&!_0x212c77[_0x50c8c8(0x1e0)]()[_0x50c8c8(0x1a2)][_0x50c8c8(0x1bd)](_0x4cef48[_0x50c8c8(0x1e0)]()[_0x50c8c8(0x1ec)])){const _0x401dcc=_0x2868d9[_0x2868d9[_0x50c8c8(0x1ad)]-0x1],_0x29d7da=_0x50c8c8(0x1c0)==_0x212c77[_0x50c8c8(0x1d6)]?_0x50c8c8(0x1d3):_0x50c8c8(0x1e2);_0x401dcc&&_0x50c8c8(0x1d8)==_0x401dcc[_0x50c8c8(0x1d6)]&&(_0x401dcc[_0x29d7da]+='\x0a');}}}function _0x48eb(){const _0x558fbd=['addEmptyContainer','$textProxy','7518402JrTcCq','map','getWalker','REPLACE_TEXT','length','*Insert:*\x20%0','_locale','_addDescriptionItems','addContainer','1965XCWKeJ','attribute','element','checkChild','newValue','483324mJOruh','item','$1\x20$2','softBreak','3785859OsNaHl','get','isEqual','getDescriptions','_customCallbacks','insertion','elementEnd','*Remove\x20format:*\x20%0','removeEmptyContainer','_schema','join','function','getItemLabel','addFormat','quantity','_handleInsertRemoveSuggestionDescription','*Merge:*\x20%0','_handleAttributeSuggestionDescription','isEmpty','name','11540079TLuVXv','replace','*Split:*\x20%0','EmptyContainer','add','Object','1394552iCguGf','type','has','text','Container','$text','elementStart','8lMviJt','*Set\x20format:*\x20%0','isInContent','_itemLabels','getFirstRange','addObject','remove','registerAttributeLabel','subType','key','removeFormat','ELEMENT_SPACE','set','removeContainer','5YhFaVR','indexOf','start','_resolveDescriptionItems','previousSibling','604nkJqiV','_handleCustomCallbackDescription','nextSibling','match','registerElementLabel','*Change\x20to:*\x20%0','nodeAfter','matchingCallback','skip','_handleRenameSuggestionDescription','pop','deletion','_itemLabelsCallbacks','19594840XosGIB','data','normal','removeObject','label','push','*Remove:*\x20%0','end','registerDescriptionCallback','format','_attributeLabels','isObject'];_0x48eb=function(){return _0x558fbd;};return _0x48eb();}
|
|
23
|
+
const _0x21df77=_0x453a;(function(_0x7bf662,_0x18d816){const _0x247660=_0x453a,_0x42c142=_0x7bf662();while(!![]){try{const _0x476042=-parseInt(_0x247660(0xb3))/0x1+parseInt(_0x247660(0xbc))/0x2*(-parseInt(_0x247660(0xa3))/0x3)+parseInt(_0x247660(0xc5))/0x4+parseInt(_0x247660(0xc6))/0x5*(-parseInt(_0x247660(0xb0))/0x6)+parseInt(_0x247660(0xab))/0x7*(-parseInt(_0x247660(0x9e))/0x8)+parseInt(_0x247660(0xe5))/0x9+-parseInt(_0x247660(0xa1))/0xa*(-parseInt(_0x247660(0xca))/0xb);if(_0x476042===_0x18d816)break;else _0x42c142['push'](_0x42c142['shift']());}catch(_0x5af0ff){_0x42c142['push'](_0x42c142['shift']());}}}(_0x26a1,0xdf149));function _0x453a(_0x4c54f3,_0x469d78){const _0x26a108=_0x26a1();return _0x453a=function(_0x453a6c,_0x203af0){_0x453a6c=_0x453a6c-0x8c;let _0x56db63=_0x26a108[_0x453a6c];return _0x56db63;},_0x453a(_0x4c54f3,_0x469d78);}import{getTranslation as _0x477312}from'./utils/common-translations.js';function _0x26a1(){const _0x2e1ed6=['match','end','*Change\x20to:*\x20%0','_handleRenameSuggestionDescription','type','*Split:*\x20%0','isObject','insertion','15072444kzDdxe','$1\x20$2','registerDescriptionCallback','ELEMENT_SPACE','addContainer','skip','getItemLabel','removeObject','EmptyContainer','_schema','$text','_customCallbacks','_itemLabelsCallbacks','add','text','*Insert:*\x20%0','isEmpty','removeEmptyContainer','elementStart','nextSibling','replace','registerElementLabel','*Merge:*\x20%0','*Remove:*\x20%0','previousSibling','function','registerAttributeLabel','50488GdBXVB','getFirstRange','_handleAttributeSuggestionDescription','10rgIYwg','attribute','17517XudEIE','set','getDescriptions','$textProxy','subType','softBreak','length','quantity','798KdZyCy','REPLACE_TEXT','_handleCustomCallbackDescription','addObject','push','2002296wQIscL','matchingCallback','_locale','1712213msSaXi','_attributeLabels','map','_itemLabels','isEqual','item','get','_resolveDescriptionItems','deletion','346OcoWaU','removeFormat','normal','element','data','name','Container','removeContainer','checkChild','2431688PbNLEK','20cxwGZZ','*Remove\x20format:*\x20%0','remove','addFormat','37485547YPsdtH','label','*Set\x20format:*\x20%0','indexOf','join','start','elementEnd','Object','nodeAfter','getWalker','has','format','_handleInsertRemoveSuggestionDescription','newValue','key','_addDescriptionItems','isInContent','addEmptyContainer','pop'];_0x26a1=function(){return _0x2e1ed6;};return _0x26a1();}import{priorities as _0xcbc21b,insertToPriorityArray as _0x238200}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3f25e0}from'./trackchangesediting.js';export default class f{constructor(_0x140d71,_0x3874c0){const _0x667e52=_0x453a;this[_0x667e52(0x8e)]=[],this[_0x667e52(0xb6)]=new Map(),this[_0x667e52(0x8f)]=[],this[_0x667e52(0xb4)]=new Map(),this[_0x667e52(0x8c)]=_0x140d71,this[_0x667e52(0xb2)]=_0x3874c0;}[_0x21df77(0xa5)](_0x4e5418){const _0x207fae=_0x21df77,_0x25891a=[],_0x2334db=new Set(),_0x4b86be=new Set();for(let _0x5596aa=0x0;_0x5596aa<_0x4e5418[_0x207fae(0xa9)];_0x5596aa++){const _0x4f6575=_0x4e5418[_0x5596aa];if(!_0x4f6575[_0x207fae(0xda)])continue;const _0x4de03e=this[_0x207fae(0xad)](_0x4f6575);if(_0x4de03e){if(null!=_0x4f6575[_0x207fae(0xa7)]){if(_0x2334db[_0x207fae(0xd4)](_0x4f6575[_0x207fae(0xa7)]))continue;_0x2334db[_0x207fae(0x90)](_0x4f6575[_0x207fae(0xa7)]);}_0x25891a[_0x207fae(0xaf)](_0x4de03e);}else{if(_0x207fae(0xa2)!=_0x4f6575[_0x207fae(0xe1)])_0x207fae(0xe4)!=_0x4f6575[_0x207fae(0xe1)]&&_0x207fae(0xbb)!=_0x4f6575[_0x207fae(0xe1)]||this[_0x207fae(0xd6)](_0x25891a,_0x4f6575,_0x4e5418[_0x5596aa+0x1]);else{const _0x2b1eac=_0x4f6575[_0x207fae(0xc0)][_0x207fae(0xd8)];if(_0x4b86be[_0x207fae(0xd4)](_0x2b1eac))continue;_0x4b86be[_0x207fae(0x90)](_0x4f6575[_0x207fae(0xc0)][_0x207fae(0xd8)]),_0x2b1eac==_0x3f25e0?this[_0x207fae(0xe0)](_0x25891a,_0x4f6575):this[_0x207fae(0xa0)](_0x25891a,_0x4f6575);}}}return this[_0x207fae(0xba)](_0x25891a);}[_0x21df77(0xe7)](_0x11bf05){const _0xb23c1a=_0x21df77;this[_0xb23c1a(0x8e)][_0xb23c1a(0xaf)](_0x11bf05);}[_0x21df77(0x98)](_0x155e48,_0x3ec3d4,_0x1f384e=_0xcbc21b[_0x21df77(0xbe)]){const _0x3ad042=_0x21df77;_0x3ad042(0x9c)==typeof _0x155e48?_0x238200(this[_0x3ad042(0x8f)],{'matchingCallback':_0x155e48,'label':_0x3ec3d4,'priority':_0x1f384e}):this[_0x3ad042(0xb6)][_0x3ad042(0xa4)](_0x155e48,_0x3ec3d4);}[_0x21df77(0x9d)](_0x2e48e9,_0x344879){const _0x37f22d=_0x21df77;this[_0x37f22d(0xb4)][_0x37f22d(0xa4)](_0x2e48e9,_0x344879);}[_0x21df77(0xeb)](_0x5c290e,_0x49b6dc=0x1){const _0x1b4bf6=_0x21df77;let _0x59f663;for(const _0x271fba of this[_0x1b4bf6(0x8f)])if(_0x271fba[_0x1b4bf6(0xb1)](_0x5c290e)){_0x59f663=_0x271fba[_0x1b4bf6(0xcb)];break;}return _0x59f663||(_0x59f663=this[_0x1b4bf6(0xb6)][_0x1b4bf6(0xb9)](_0x5c290e[_0x1b4bf6(0xc1)])),_0x59f663?_0x59f663(_0x49b6dc):0x1!==_0x49b6dc?_0x49b6dc+'\x20'+_0x5c290e[_0x1b4bf6(0xc1)]+'s':''+_0x5c290e[_0x1b4bf6(0xc1)];}[_0x21df77(0xd9)](_0x444e8e,_0x504f94){const _0x1b2b5d=_0x21df77,_0x176ba5=_0x504f94[_0x1b2b5d(0x9f)]()[_0x1b2b5d(0xd3)](),_0x335017=_0x1b2b5d(0xe4)==_0x504f94[_0x1b2b5d(0xe1)]?_0x1b2b5d(0x90):_0x1b2b5d(0xc8);for(const _0x103571 of _0x176ba5){const _0x5bfafd=_0x103571[_0x1b2b5d(0xb8)],_0x5c647c=_0x444e8e[_0x444e8e[_0x1b2b5d(0xa9)]-0x1];if(_0x5bfafd['is'](_0x1b2b5d(0xa6)))_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))>-0x1&&_0x444e8e[_0x1b2b5d(0xdc)](),_0x5c647c&&_0x1b2b5d(0x91)==_0x5c647c[_0x1b2b5d(0xe1)]?_0x5c647c[_0x335017]+=_0x5bfafd[_0x1b2b5d(0xc0)]:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x1b2b5d(0x91),'add':_0x1b2b5d(0x90)==_0x335017?_0x5bfafd[_0x1b2b5d(0xc0)]:'','remove':_0x1b2b5d(0xc8)==_0x335017?_0x5bfafd[_0x1b2b5d(0xc0)]:''});else{if(this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0x5bfafd)){const _0x4ce755=_0x5bfafd;if(_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))>-0x1&&_0x444e8e[_0x1b2b5d(0xdc)](),_0x1b2b5d(0xd0)==_0x103571[_0x1b2b5d(0xe1)])continue;_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)]==_0x335017+_0x1b2b5d(0xd1)&&_0x5c647c[_0x1b2b5d(0xbf)][_0x1b2b5d(0xc1)]==_0x4ce755[_0x1b2b5d(0xc1)]?_0x5c647c[_0x1b2b5d(0xaa)]++:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xd1),'element':_0x4ce755,'quantity':0x1}),_0x176ba5[_0x1b2b5d(0xea)](_0x5cd275=>!(_0x1b2b5d(0xd0)==_0x5cd275[_0x1b2b5d(0xe1)]&&_0x5cd275[_0x1b2b5d(0xb8)]==_0x5bfafd));}else{if(this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xc4)](_0x5bfafd,_0x1b2b5d(0x8d))||_0x5bfafd['is'](_0x1b2b5d(0xbf),_0x1b2b5d(0xa8))){const _0xf14aee=_0x5bfafd;if(_0x1b2b5d(0x90)==_0x335017&&_0x1b2b5d(0x95)==_0x103571[_0x1b2b5d(0xe1)]||_0x1b2b5d(0xc8)==_0x335017&&_0x1b2b5d(0xd0)==_0x103571[_0x1b2b5d(0xe1)])continue;if(_0x5c647c&&-0x1==_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))){_0x1b2b5d(0x91)==_0x5c647c[_0x1b2b5d(0xe1)]&&(_0x5c647c[_0x335017]+='\x0a');continue;}let _0xedd6c4;if(_0xedd6c4=_0x1b2b5d(0x90)==_0x335017?_0xf14aee[_0x1b2b5d(0x96)]&&!this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0xf14aee[_0x1b2b5d(0x96)])?_0xf14aee[_0x1b2b5d(0x96)]:null:_0xf14aee[_0x1b2b5d(0x9b)]&&!this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0xf14aee[_0x1b2b5d(0x9b)])?_0xf14aee[_0x1b2b5d(0x9b)]:null,_0xf14aee[_0x1b2b5d(0x93)]||_0xedd6c4&&_0xedd6c4[_0x1b2b5d(0x93)]){const _0x63675c=_0xedd6c4&&_0xedd6c4[_0x1b2b5d(0x93)]?_0xedd6c4:_0xf14aee;_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)]==_0x335017+_0x1b2b5d(0xed)&&_0x5c647c[_0x1b2b5d(0xbf)][_0x1b2b5d(0xc1)]==_0x63675c[_0x1b2b5d(0xc1)]?_0x5c647c[_0x1b2b5d(0xaa)]++:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xed),'element':_0x63675c,'quantity':0x1});}else _0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xc2),'element':_0xf14aee});}}}}}[_0x21df77(0xba)](_0x48db5a){const _0x27f78c=_0x21df77,_0x440cfd=this[_0x27f78c(0xb2)],_0x5fc218=[],_0x156481=[],_0x483e8c=[];for(const _0x521fee of _0x48db5a)switch(_0x521fee[_0x27f78c(0xe1)]){case _0x27f78c(0x91):if(_0x521fee[_0x27f78c(0x90)]=_0x521fee[_0x27f78c(0x90)][_0x27f78c(0x97)](/(\S)\u000A+(\S)/g,_0x27f78c(0xe6))[_0x27f78c(0x97)](/\u000A/g,''),_0x521fee[_0x27f78c(0xc8)]=_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0x97)](/(\S)\u000A+(\S)/g,_0x27f78c(0xe6))[_0x27f78c(0x97)](/\u000A/g,''),''!=_0x521fee[_0x27f78c(0x90)]&&''!=_0x521fee[_0x27f78c(0xc8)]){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0x97),'content':_0x477312(_0x440cfd,_0x27f78c(0xac),['\x22'+_0x521fee[_0x27f78c(0xc8)]+'\x22','\x22'+_0x521fee[_0x27f78c(0x90)]+'\x22'])});continue;}if(null!=_0x521fee[_0x27f78c(0x90)][_0x27f78c(0xdd)](/^ +$/)){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),_0x477312(_0x440cfd,_0x27f78c(0xe8),_0x521fee[_0x27f78c(0x90)][_0x27f78c(0xa9)]))});continue;}if(null!=_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0xdd)](/^ +$/)){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),_0x477312(_0x440cfd,_0x27f78c(0xe8),_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0xa9)]))});continue;}if(''!=_0x521fee[_0x27f78c(0x90)]){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),'\x22'+_0x521fee[_0x27f78c(0x90)]+'\x22')});continue;}_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),'\x22'+_0x521fee[_0x27f78c(0xc8)]+'\x22')});continue;case _0x27f78c(0xdb):case _0x27f78c(0xae):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0x94):case _0x27f78c(0xec):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xe9):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0xe2),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xc3):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x99),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xc9):_0x156481[_0x27f78c(0xaf)](_0x521fee[_0x27f78c(0xd8)]);continue;case _0x27f78c(0xbd):_0x483e8c[_0x27f78c(0xaf)](_0x521fee[_0x27f78c(0xd8)]);continue;default:_0x5fc218[_0x27f78c(0xaf)](_0x521fee);}if(_0x156481[_0x27f78c(0xa9)]){const _0x25feba=_0x156481[_0x27f78c(0xb5)](_0x357ecd=>this[_0x27f78c(0xb4)][_0x27f78c(0xd4)](_0x357ecd)?this[_0x27f78c(0xb4)][_0x27f78c(0xb9)](_0x357ecd):_0x357ecd)[_0x27f78c(0xce)](',\x20');_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xd5),'content':_0x477312(this[_0x27f78c(0xb2)],_0x27f78c(0xcc),_0x25feba)});}if(_0x483e8c[_0x27f78c(0xa9)]){const _0x207253=_0x483e8c[_0x27f78c(0xb5)](_0x279dc1=>this[_0x27f78c(0xb4)][_0x27f78c(0xd4)](_0x279dc1)?this[_0x27f78c(0xb4)][_0x27f78c(0xb9)](_0x279dc1):_0x279dc1)[_0x27f78c(0xce)](',\x20');_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xd5),'content':_0x477312(this[_0x27f78c(0xb2)],_0x27f78c(0xc7),_0x207253)});}return _0x5fc218;}[_0x21df77(0xad)](_0x3abc73){const _0x36475e=_0x21df77;for(const _0x33b73b of this[_0x36475e(0x8e)]){const _0xcd1d3f=_0x33b73b(_0x3abc73);if(_0xcd1d3f&&_0x36475e(0xe1)in _0xcd1d3f)return _0xcd1d3f;}}[_0x21df77(0xa0)](_0x3187d3,_0x2fd9f2){const _0x3f679c=_0x21df77,_0x18c49d=_0x2fd9f2[_0x3f679c(0xc0)],_0xd93ecf=void 0x0===_0x18c49d[_0x3f679c(0xd7)]?_0x3f679c(0xbd):_0x3f679c(0xc9);_0x3187d3[_0x3f679c(0xaf)]({'type':_0xd93ecf,'key':_0x18c49d[_0x3f679c(0xd8)]});}[_0x21df77(0xe0)](_0x3883ce,_0x476ea1){const _0x251e0c=_0x21df77;_0x3883ce[_0x251e0c(0xaf)]({'type':_0x251e0c(0xd5),'content':_0x477312(this[_0x251e0c(0xb2)],_0x251e0c(0xdf),this[_0x251e0c(0xeb)](_0x476ea1[_0x251e0c(0x9f)]()[_0x251e0c(0xcf)][_0x251e0c(0xd2)],0x1))});}[_0x21df77(0xd6)](_0xc884d2,_0x20656c,_0x44beac){const _0xfacde8=_0x21df77;if(this[_0xfacde8(0xd9)](_0xc884d2,_0x20656c),_0x44beac&&_0x44beac[_0xfacde8(0x9f)]()&&!_0x20656c[_0xfacde8(0x9f)]()[_0xfacde8(0xde)][_0xfacde8(0xb7)](_0x44beac[_0xfacde8(0x9f)]()[_0xfacde8(0xcf)])){const _0x4589ce=_0xc884d2[_0xc884d2[_0xfacde8(0xa9)]-0x1],_0x1c0e2c=_0xfacde8(0xe4)==_0x20656c[_0xfacde8(0xe1)]?_0xfacde8(0x90):_0xfacde8(0xc8);_0x4589ce&&_0xfacde8(0x91)==_0x4589ce[_0xfacde8(0xe1)]&&(_0x4589ce[_0x1c0e2c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2fddf3=_0xb15e;function _0xb15e(_0x126b04,_0x28e847){var _0xb649de=_0xb649();return _0xb15e=function(_0xb15e69,_0x91700a){_0xb15e69=_0xb15e69-0x86;var _0x1f2180=_0xb649de[_0xb15e69];return _0x1f2180;},_0xb15e(_0x126b04,_0x28e847);}(function(_0x44b198,_0x324c12){var _0x28fa2c=_0xb15e,_0x3ebee2=_0x44b198();while(!![]){try{var _0xa7dd61=-parseInt(_0x28fa2c(0x9a))/0x1+-parseInt(_0x28fa2c(0x97))/0x2*(parseInt(_0x28fa2c(0x8e))/0x3)+parseInt(_0x28fa2c(0x98))/0x4*(parseInt(_0x28fa2c(0x88))/0x5)+parseInt(_0x28fa2c(0x93))/0x6+parseInt(_0x28fa2c(0x8d))/0x7+parseInt(_0x28fa2c(0x8b))/0x8+-parseInt(_0x28fa2c(0x89))/0x9*(-parseInt(_0x28fa2c(0x92))/0xa);if(_0xa7dd61===_0x324c12)break;else _0x3ebee2['push'](_0x3ebee2['shift']());}catch(_0x212b11){_0x3ebee2['push'](_0x3ebee2['shift']());}}}(_0xb649,0x44f36));import{Plugin as _0x19d792}from'ckeditor5/src/core.js';import _0x4343c4 from'./trackchangesui.js';function _0xb649(){var _0x32552a=['1582567rHpKTY','15IPeZzR','plugins','get','adapter','1439190ArIJFm','1182102TysZbC','requires','addSuggestion','editor','143966LmTEvE','52RNuxwf','getSuggestions','130730DAUjCt','Comments','getSuggestion','pluginName','77255xytMun','9rmfNlS','TrackChanges','41496HzPRnB','addSuggestionData'];_0xb649=function(){return _0x32552a;};return _0xb649();}import _0x3cea70 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x19d792{static get[_0x2fddf3(0x94)](){var _0x4dd59f=_0x2fddf3;return[_0x3cea70,_0x4343c4,_0x4dd59f(0x9b)];}static get[_0x2fddf3(0x87)](){var _0x243ae5=_0x2fddf3;return _0x243ae5(0x8a);}set[_0x2fddf3(0x91)](_0x9079f4){var _0x1e6cfb=_0x2fddf3;this[_0x1e6cfb(0x96)][_0x1e6cfb(0x8f)][_0x1e6cfb(0x90)](_0x3cea70)[_0x1e6cfb(0x91)]=_0x9079f4;}get[_0x2fddf3(0x91)](){var _0x57747e=_0x2fddf3;return this[_0x57747e(0x96)][_0x57747e(0x8f)][_0x57747e(0x90)](_0x3cea70)[_0x57747e(0x91)];}[_0x2fddf3(0x95)](_0x5afa83){var _0x290037=_0x2fddf3;return this[_0x290037(0x96)][_0x290037(0x8f)][_0x290037(0x90)](_0x3cea70)[_0x290037(0x8c)](_0x5afa83);}[_0x2fddf3(0x99)]({skipNotAttached:_0x383e96=!0x1,toJSON:_0x2135ea=!0x1}={}){var _0x3e226c=_0x2fddf3;return this[_0x3e226c(0x96)][_0x3e226c(0x8f)][_0x3e226c(0x90)](_0x3cea70)[_0x3e226c(0x99)]({'skipNotAttached':_0x383e96,'toJSON':_0x2135ea});}[_0x2fddf3(0x86)](_0x593f9a){var _0x2d446a=_0x2fddf3;return this[_0x2d446a(0x96)][_0x2d446a(0x8f)][_0x2d446a(0x90)](_0x3cea70)[_0x2d446a(0x86)](_0x593f9a);}}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import type SuggestionThreadView from './ui/view/suggestionthreadview.js';
|
|
10
|
+
import type SuggestionView from './ui/view/suggestionview.js';
|
|
10
11
|
/**
|
|
11
12
|
* The configuration of the track changes feature.
|
|
12
13
|
*
|
|
@@ -75,4 +76,10 @@ export interface TrackChangesConfig {
|
|
|
75
76
|
* when this property is not set.
|
|
76
77
|
*/
|
|
77
78
|
SuggestionThreadView?: typeof SuggestionThreadView;
|
|
79
|
+
/**
|
|
80
|
+
* A view class to be used to create the suggestion view.
|
|
81
|
+
*
|
|
82
|
+
* {@link module:track-changes/ui/view/suggestionview~SuggestionView} is used by default when this property is not set.
|
|
83
|
+
*/
|
|
84
|
+
SuggestionView?: typeof SuggestionView;
|
|
78
85
|
}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21f412=_0x5732;(function(_0x57b552,_0x59895c){const _0x1b4ae=_0x5732,_0x2c0dc4=_0x57b552();while(!![]){try{const _0x25c22e=parseInt(_0x1b4ae(0x1ee))/0x1+parseInt(_0x1b4ae(0x1e3))/0x2*(parseInt(_0x1b4ae(0x1cb))/0x3)+parseInt(_0x1b4ae(0x1ed))/0x4+parseInt(_0x1b4ae(0x1c2))/0x5+parseInt(_0x1b4ae(0x1c7))/0x6+-parseInt(_0x1b4ae(0x1b2))/0x7*(-parseInt(_0x1b4ae(0x1ea))/0x8)+-parseInt(_0x1b4ae(0x1b3))/0x9;if(_0x25c22e===_0x59895c)break;else _0x2c0dc4['push'](_0x2c0dc4['shift']());}catch(_0x692bee){_0x2c0dc4['push'](_0x2c0dc4['shift']());}}}(_0x2626,0x2833f));import{Plugin as _0x229de6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae099}from'ckeditor5/src/utils.js';import _0x4dfeae from'./trackchangesediting.js';function _0x5732(_0x64aae3,_0x5d7e18){const _0x262630=_0x2626();return _0x5732=function(_0x5732b3,_0x45c7e2){_0x5732b3=_0x5732b3-0x1b2;let _0x1689b0=_0x262630[_0x5732b3];return _0x1689b0;},_0x5732(_0x64aae3,_0x5d7e18);}import{sanitizeEditorConfig as _0x5904bb}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x21f412(0x1e4)];export default class P extends _0x229de6{static get[_0x21f412(0x1e0)](){return[_0x4dfeae];}static get[_0x21f412(0x1e2)](){const _0x146563=_0x21f412;return _0x146563(0x1e7);}[_0x21f412(0x1bf)](){const _0x1bdf26=_0x21f412,_0xc4b8ae=this[_0x1bdf26(0x1d9)];if(_0xc4b8ae[_0x1bdf26(0x1bd)][_0x1bdf26(0x1e1)](_0x1bdf26(0x1d3),_0x1c9029=>{const _0x2c33e9=_0x1bdf26,_0x46ce22=_0xc4b8ae[_0x2c33e9(0x1ce)][_0x2c33e9(0x1c5)][_0x2c33e9(0x1d7)]()[_0x2c33e9(0x1cd)]((_0x3522ff,_0x4ce26c)=>(_0x3522ff[_0x4ce26c]='',_0x3522ff),{});return _0xc4b8ae[_0x2c33e9(0x1ba)][_0x2c33e9(0x1c4)](_0x46ce22,_0x1c9029);}),_0x1bdf26(0x1de)!=typeof _0xc4b8ae[_0x1bdf26(0x1bd)][_0x1bdf26(0x1d4)](_0x1bdf26(0x1c8))[_0x1bdf26(0x1d5)])throw new _0x3ae099(_0x1bdf26(0x1cc));}[_0x21f412(0x1b6)](_0x2b6a97){const _0x4e9bc5=_0x21f412;return N(this[_0x4e9bc5(0x1d9)],!0x0,_0x2b6a97);}[_0x21f412(0x1e8)](_0x258321){const _0x4f3f05=_0x21f412;return N(this[_0x4f3f05(0x1d9)],!0x1,_0x258321);}}function _0x2626(){const _0x571203=['createElement','getFullData','constructor','div','name','config','map','init','addSuggestionData','createDocumentFragment','1252140YkZTuz','TrackChangesDataGetter','create','document','_adapter','1195482iNTHII','trackChangesData','getRootsAttributes','getSuggestions','2481UOTBeo','track-changes-data-invalid-editor-creator','reduce','model','appendChild','end','rootsAttributes','acceptAllSuggestions','trackChangesData.editorCreator','get','editorCreator','execute','getRootNames','getCommentThreads','editor','data','useAnonymousUser','Users','CommentsRepository','function','plugins','requires','define','pluginName','124qbYgUx','Pagination','discardAllSuggestions','set','TrackChangesData','getDataWithDiscardedSuggestions','result','671112JwOFGO','push','users','377496NiAyCC','192823PNwlWO','getUser','addUser','14qtCTjf','7121277XZxyBa','TrackChangesEditing','addCommentThread','getDataWithAcceptedSuggestions','destroy'];_0x2626=function(){return _0x571203;};return _0x2626();}class D extends _0x229de6{static get[_0x21f412(0x1e2)](){const _0x233249=_0x21f412;return _0x233249(0x1c3);}constructor(_0x8f7c62){const _0x1d7f97=_0x21f412;super(_0x8f7c62),this[_0x1d7f97(0x1e9)]=_0x1d7f97(0x1d0);}[_0x21f412(0x1bf)](){const _0x2371fb=_0x21f412;this[_0x2371fb(0x1d9)][_0x2371fb(0x1df)][_0x2371fb(0x1d4)](_0x2371fb(0x1dd))[_0x2371fb(0x1c6)]={'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[_0x2371fb(0x1d9)][_0x2371fb(0x1df)][_0x2371fb(0x1d4)](_0x2371fb(0x1b4))[_0x2371fb(0x1c6)]=null;}}function v(_0x4999e6){const _0x4b79df=_0x21f412;return void 0x0!==_0x4999e6[_0x4b79df(0x1c9)];}async function N(_0x1dc791,_0x41e6a6,_0x7f5369){const _0x5796d3=_0x21f412,_0x10e259=_0x5904bb(_0x1dc791,T);_0x10e259[_0x5796d3(0x1df)][_0x5796d3(0x1eb)](_0x4dfeae,D),_0x10e259[_0x5796d3(0x1d1)]=v(_0x1dc791)?_0x1dc791[_0x5796d3(0x1c9)]():void 0x0;const _0x859f98=document[_0x5796d3(0x1c1)](),_0xaa15f9=_0x1dc791[_0x5796d3(0x1bd)][_0x5796d3(0x1d4)](_0x5796d3(0x1c8))[_0x5796d3(0x1d5)],_0x2aa68c=await _0xaa15f9(_0x10e259,()=>function(_0x392e66){const _0x4ce388=_0x5796d3,_0x4fc899=document[_0x4ce388(0x1b8)](_0x4ce388(0x1bb));return _0x392e66[_0x4ce388(0x1cf)](_0x4fc899),_0x4fc899;}(_0x859f98));!function(_0x48c320,_0x12e7e0){const _0x528a8a=_0x5796d3,_0x395060=_0x48c320[_0x528a8a(0x1ce)][_0x528a8a(0x1c5)][_0x528a8a(0x1d7)]()[_0x528a8a(0x1cd)]((_0x446ddb,_0x37fbac)=>(_0x446ddb[_0x37fbac]=_0x48c320[_0x528a8a(0x1da)][_0x528a8a(0x1d4)]({'rootName':_0x37fbac}),_0x446ddb),{}),_0x37a716=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dc))[_0x528a8a(0x1ec)][_0x528a8a(0x1be)](_0x5157c2=>({'id':_0x5157c2['id'],'name':_0x5157c2[_0x528a8a(0x1bc)]})),_0x39d60e=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1b4))[_0x528a8a(0x1ca)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x49a432=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dd))[_0x528a8a(0x1d8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4607f1=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dc)),_0x4eb866=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1b4)),_0x54109a=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dd));for(const _0x4c633e of _0x37a716)_0x4607f1[_0x528a8a(0x1ef)](_0x4c633e['id'])||_0x4607f1[_0x528a8a(0x1f0)](_0x4c633e);_0x4607f1['me']||_0x4607f1[_0x528a8a(0x1db)]();for(const _0x44d660 of _0x49a432)_0x54109a[_0x528a8a(0x1b5)](_0x44d660);for(const _0x4283b4 of _0x39d60e)_0x4eb866[_0x528a8a(0x1c0)](_0x4283b4);_0x12e7e0[_0x528a8a(0x1da)][_0x528a8a(0x1e6)](_0x395060);}(_0x1dc791,_0x2aa68c),_0x2aa68c[_0x5796d3(0x1d6)](_0x41e6a6?_0x5796d3(0x1d2):_0x5796d3(0x1e5));const _0x423a5a=v(_0x2aa68c)?_0x2aa68c[_0x5796d3(0x1b9)](_0x7f5369):_0x2aa68c[_0x5796d3(0x1da)][_0x5796d3(0x1d4)](_0x7f5369);return await _0x2aa68c[_0x5796d3(0x1b7)](),_0x423a5a;}
|