@ckeditor/ckeditor5-track-changes 42.0.0-alpha.5 → 42.0.0-alpha.7
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
|
-
const _0x5eab0c=_0x2ae4;function _0x2ae4(_0x1e0baf,_0x5ce3d1){const _0x11a9b8=_0x11a9();return _0x2ae4=function(_0x2ae43a,_0x4d9ba1){_0x2ae43a=_0x2ae43a-0x1da;let _0x1f6fb4=_0x11a9b8[_0x2ae43a];return _0x1f6fb4;},_0x2ae4(_0x1e0baf,_0x5ce3d1);}(function(_0x141bec,_0x22234a){const _0x8dc2ed=_0x2ae4,_0x597a18=_0x141bec();while(!![]){try{const _0x467b56=parseInt(_0x8dc2ed(0x1e8))/0x1+-parseInt(_0x8dc2ed(0x228))/0x2+parseInt(_0x8dc2ed(0x1fe))/0x3+parseInt(_0x8dc2ed(0x213))/0x4*(parseInt(_0x8dc2ed(0x230))/0x5)+-parseInt(_0x8dc2ed(0x1fa))/0x6*(-parseInt(_0x8dc2ed(0x1e1))/0x7)+parseInt(_0x8dc2ed(0x1f4))/0x8+parseInt(_0x8dc2ed(0x1dd))/0x9*(-parseInt(_0x8dc2ed(0x1da))/0xa);if(_0x467b56===_0x22234a)break;else _0x597a18['push'](_0x597a18['shift']());}catch(_0x383b87){_0x597a18['push'](_0x597a18['shift']());}}}(_0x11a9,0x5b4d1));import{Plugin as _0x10947}from'ckeditor5/src/core.js';function _0x11a9(){const _0x1f991f=['selection','getAncestors','filter','1552496NUOoaJ','push','markBlockFormat','setSelection','trackChanges','descriptionFactory','36kYDoMI','_areSelectedCellsMergable','requires','markMultiRangeBlockFormat','1861503QVdHjB','has','return','direction','deletion','editor','_tablePostFixingSubtypes','isInContent','*Split\x20cell:*\x20horizontally','element','get','registerCustomCallback','change','TableEditing','length','subType','root','cell','refresh','fromRange','value','589188CRMWEb','enableCommand','highest','mergeTableCellLeft','find','table','mergeTableCellDown','createRangeOn','*Merge\x20cells*','model','getSuggestions','mergeTableCells','format','commands','rootName','insertion','mergeTableCellRight','from','map','horizontally','findAncestor','209096krpaWx','afterInit','createTableWalker','mergeTableCellUp','_areMergableCells','low','author','detach','20ZXtUzK','accept','TrackChangesEditing','tableCell','getCellLocation','getSelectionAffectedTableCells','containsRange','plugins','set:isEnabled','_suggestionFactory','$graveyard','*Split\x20cell:*\x20vertically','execute','80lRYjlb','_isForcedDefaultExecutionBlock','stop','1803843lLPahQ','type','splitTableCellVertically','isEnabled','708267OwTLZY','registerDescriptionCallback','_acceptFormatSuggestionCallbackFactory','size','add','commandName','document','71096zXvVfu','splitTableCellHorizontally','forceDefaultExecution','getRanges','formatBlock','locale','formatInline','getFirstPosition','TableUtils'];_0x11a9=function(){return _0x1f991f;};return _0x11a9();}import _0x12728c from'./table.js';import{LiveRange as _0xc11c77}from'ckeditor5/src/engine.js';import{getTranslation as _0x2d830a}from'../utils/common-translations.js';export default class St extends _0x10947{static get[_0x5eab0c(0x1fc)](){return[_0x12728c];}[_0x5eab0c(0x229)](){const _0x27ad17=_0x5eab0c,_0x4a5129=this[_0x27ad17(0x203)],_0x54a7cd=_0x4a5129[_0x27ad17(0x21c)][_0x27ad17(0x1e7)][_0x27ad17(0x1f1)],_0x453b39=_0x4a5129[_0x27ad17(0x1ed)];if(!_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x1ff)](_0x27ad17(0x20b)))return;const _0x563eee=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x232)),_0x47cf75=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x27ad17(0x1f0)),_0x82b3ea=_0x4a5129[_0x27ad17(0x237)][_0x27ad17(0x208)](_0x12728c);_0x82b3ea[_0x27ad17(0x204)][_0x27ad17(0x1f5)](_0x27ad17(0x21e)),_0x563eee[_0x27ad17(0x214)](_0x27ad17(0x21e),()=>{const _0x1b9366=_0x27ad17,_0x3a2178=_0x47cf75[_0x1b9366(0x235)](_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x1e7)][_0x1b9366(0x1f1)]);_0x4a5129[_0x1b9366(0x21c)][_0x1b9366(0x20a)](()=>{const _0x54aa82=_0x1b9366;_0x563eee[_0x54aa82(0x1fd)](_0x3a2178,{'commandName':_0x54aa82(0x21e),'commandParams':[]},[],_0x54aa82(0x21e));});}),_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x27ad17(0x21e))['on'](_0x27ad17(0x23c),(_0x25f513,_0x50ddae)=>{const _0x469429=_0x27ad17;_0x4a5129[_0x469429(0x220)][_0x469429(0x208)](_0x469429(0x1f8))[_0x469429(0x212)]&&(_0x50ddae[_0x469429(0x20c)]>0x0&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1]&&_0x50ddae[_0x50ddae[_0x469429(0x20c)]-0x1][_0x469429(0x1ea)]||_0x563eee[_0x469429(0x1db)]||this[_0x469429(0x1fb)]()||_0x25f513[_0x469429(0x1dc)]());},{'priority':_0x27ad17(0x215)});for(const _0x54bcd2 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)]){const _0x286af7=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x54bcd2);_0x563eee[_0x27ad17(0x214)](_0x54bcd2,()=>{const _0x2d2c4f=_0x27ad17,_0x1d3bd0=_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x1e7)][_0x2d2c4f(0x1f1)][_0x2d2c4f(0x1ef)]()[_0x2d2c4f(0x1f2)]()[_0x2d2c4f(0x217)](_0x387a02=>_0x387a02['is'](_0x2d2c4f(0x207),_0x2d2c4f(0x233))),_0x55d6c6=_0x286af7[_0x2d2c4f(0x212)];_0x4a5129[_0x2d2c4f(0x21c)][_0x2d2c4f(0x20a)](()=>{const _0x478aaa=_0x2d2c4f;_0x563eee[_0x478aaa(0x1fd)]([_0x1d3bd0,_0x55d6c6],{'commandName':_0x478aaa(0x21e),'commandParams':[]},[],_0x478aaa(0x21e));});});}for(const _0x38bdc2 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)]){const _0x172f0e=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x38bdc2);_0x563eee[_0x27ad17(0x214)](_0x38bdc2,()=>{const _0x4e532c=_0x27ad17,_0x524d1e=_0x47cf75[_0x4e532c(0x235)](_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x1e7)][_0x4e532c(0x1f1)])[0x0],_0x4852e3=_0x524d1e[_0x4e532c(0x227)](_0x4e532c(0x218)),{column:_0x15f1fd,row:_0x179eab}=_0x47cf75[_0x4e532c(0x234)](_0x524d1e);let _0x429b39=[];if(_0x4e532c(0x226)==_0x172f0e[_0x4e532c(0x201)]){const _0x3f9542=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'startRow':_0x179eab,'endRow':_0x179eab,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x3f9542)[_0x4e532c(0x225)](_0x1cfe62=>_0x1cfe62[_0x4e532c(0x20f)]);}else{const _0x181caa=_0x47cf75[_0x4e532c(0x22a)](_0x4852e3,{'column':_0x15f1fd,'includeAllSlots':!0x0});_0x429b39=Array[_0x4e532c(0x224)](_0x181caa)[_0x4e532c(0x225)](_0x38060e=>_0x38060e[_0x4e532c(0x20f)]);}_0x4a5129[_0x4e532c(0x21c)][_0x4e532c(0x20a)](_0x44e3e9=>{const _0x6e97c8=_0x4e532c;_0x563eee[_0x6e97c8(0x1f6)](_0x44e3e9[_0x6e97c8(0x21a)](_0x524d1e),{'commandName':_0x38bdc2,'commandParams':[]},_0x429b39,_0x38bdc2);});});}_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x28c624=>{const _0x352eef=_0x27ad17;if(_0x352eef(0x1ec)!=_0x28c624[_0x352eef(0x1de)]&&_0x352eef(0x1ee)!=_0x28c624[_0x352eef(0x1de)])return;const {data:_0x395667}=_0x28c624;return _0x395667&&_0x352eef(0x21e)==_0x395667[_0x352eef(0x1e6)]?{'type':_0x352eef(0x21f),'content':_0x2d830a(_0x453b39,_0x352eef(0x21b))}:void 0x0;}),_0x563eee[_0x27ad17(0x1f9)][_0x27ad17(0x1e2)](_0x25d5f4=>{const _0x5e9c14=_0x27ad17;if(_0x5e9c14(0x1ec)!=_0x25d5f4[_0x5e9c14(0x1de)]&&_0x5e9c14(0x1ee)!=_0x25d5f4[_0x5e9c14(0x1de)])return;const {data:_0x20589a}=_0x25d5f4;return _0x20589a?_0x5e9c14(0x1df)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x23b))}:_0x5e9c14(0x1e9)==_0x20589a[_0x5e9c14(0x1e6)]?{'type':_0x5e9c14(0x21f),'content':_0x2d830a(_0x453b39,_0x5e9c14(0x206))}:void 0x0:void 0x0;});const _0x4ad6aa=_0x82b3ea[_0x27ad17(0x1e3)]();for(const _0x14a7c9 of[_0x27ad17(0x22b),_0x27ad17(0x223),_0x27ad17(0x219),_0x27ad17(0x216)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x14a7c9,_0x27ad17(0x231),_0x4ad6aa);for(const _0x2c92b8 of[_0x27ad17(0x1df),_0x27ad17(0x1e9)])_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x2c92b8,_0x27ad17(0x231),_0x4ad6aa);_0x563eee[_0x27ad17(0x239)][_0x27ad17(0x209)](_0x27ad17(0x1ec),_0x27ad17(0x21e),_0x27ad17(0x231),_0x5cc0ef=>{const _0x43993a=_0x27ad17;_0x4a5129[_0x43993a(0x21c)][_0x43993a(0x20a)](_0x5e036f=>{const _0x32ebcc=_0x43993a,_0x417fd9=Array[_0x32ebcc(0x224)](_0x54a7cd[_0x32ebcc(0x1eb)]())[_0x32ebcc(0x225)](_0x44e319=>_0xc11c77[_0x32ebcc(0x211)](_0x44e319));_0x5e036f[_0x32ebcc(0x1f7)](_0x5cc0ef),_0x4a5129[_0x32ebcc(0x220)][_0x32ebcc(0x208)](_0x32ebcc(0x21e))[_0x32ebcc(0x210)](),_0x4a5129[_0x32ebcc(0x23c)](_0x32ebcc(0x21e),{'forceDefaultExecution':!0x0});const _0x5208de=_0x417fd9[_0x32ebcc(0x1f3)](_0xd8239c=>_0x32ebcc(0x23a)!=_0xd8239c[_0x32ebcc(0x20e)][_0x32ebcc(0x221)]);_0x5208de[_0x32ebcc(0x20c)]>0x0&&_0x5e036f[_0x32ebcc(0x1f7)](_0x5208de);for(const _0x511513 of _0x417fd9)_0x511513[_0x32ebcc(0x22f)]();});});for(const _0x1d3810 of[_0x27ad17(0x22b),_0x27ad17(0x219),_0x27ad17(0x216),_0x27ad17(0x223)]){const _0x242667=_0x4a5129[_0x27ad17(0x220)][_0x27ad17(0x208)](_0x1d3810);_0x242667['on'](_0x27ad17(0x238),(_0x5c7c55,_0x1ea96c,_0x52775a)=>{const _0x406de8=_0x27ad17;if(_0x52775a){const _0x178bc2=_0x4a5129[_0x406de8(0x21c)][_0x406de8(0x1e7)][_0x406de8(0x1f1)][_0x406de8(0x1ef)]()[_0x406de8(0x1f2)]()[_0x406de8(0x217)](_0x21e475=>_0x21e475['is'](_0x406de8(0x207),_0x406de8(0x233)));this[_0x406de8(0x22c)](_0x242667[_0x406de8(0x212)],_0x178bc2)||(_0x5c7c55[_0x406de8(0x200)]=!0x1,_0x5c7c55[_0x406de8(0x1dc)]());}},{'priority':_0x27ad17(0x22d)});}}[_0x5eab0c(0x1fb)](){const _0x5b6694=_0x5eab0c,_0x5e6826=this[_0x5b6694(0x203)][_0x5b6694(0x220)][_0x5b6694(0x208)](_0x5b6694(0x21e)),_0x2916ff=this[_0x5b6694(0x203)][_0x5b6694(0x237)][_0x5b6694(0x208)](_0x5b6694(0x1f0));if(!_0x5e6826[_0x5b6694(0x1e0)])return!0x1;const _0x33b917=_0x2916ff[_0x5b6694(0x235)](this[_0x5b6694(0x203)][_0x5b6694(0x21c)][_0x5b6694(0x1e7)][_0x5b6694(0x1f1)]);for(const _0x5f12b1 of _0x33b917)for(const _0x856ed4 of _0x33b917)if(_0x5f12b1!=_0x856ed4&&!this[_0x5b6694(0x22c)](_0x5f12b1,_0x856ed4))return!0x1;return!0x0;}[_0x5eab0c(0x22c)](_0x38af02,_0x40fcc7){const _0x47d694=_0x5eab0c,_0x16e72d=this[_0x47d694(0x203)][_0x47d694(0x237)][_0x47d694(0x208)](_0x47d694(0x232)),_0x283d91=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x38af02),_0x37de38=this[_0x47d694(0x203)][_0x47d694(0x21c)][_0x47d694(0x21a)](_0x40fcc7),_0x59ae31=new Set(),_0x168668=new Set();for(const _0x18e32f of _0x16e72d[_0x47d694(0x21d)]())if((_0x47d694(0x222)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x202)==_0x18e32f[_0x47d694(0x1de)]||_0x47d694(0x21e)==_0x18e32f[_0x47d694(0x20d)])&&_0x18e32f[_0x47d694(0x205)]){for(const _0x44febe of _0x18e32f[_0x47d694(0x1eb)]())_0x44febe[_0x47d694(0x236)](_0x283d91,!0x0)&&_0x59ae31[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']),_0x44febe[_0x47d694(0x236)](_0x37de38,!0x0)&&_0x168668[_0x47d694(0x1e5)](_0x18e32f[_0x47d694(0x1de)]+':'+_0x18e32f[_0x47d694(0x22e)]['id']);}if(_0x59ae31[_0x47d694(0x1e4)]!=_0x168668[_0x47d694(0x1e4)])return!0x1;for(const _0x49b85e of _0x59ae31)if(!_0x168668[_0x47d694(0x1ff)](_0x49b85e))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x1964a5=_0x1ef2;function _0x1ef2(_0x1dc6a1,_0x3fef10){const _0x404c67=_0x404c();return _0x1ef2=function(_0x1ef231,_0x509f38){_0x1ef231=_0x1ef231-0x17c;let _0x453faf=_0x404c67[_0x1ef231];return _0x453faf;},_0x1ef2(_0x1dc6a1,_0x3fef10);}function _0x404c(){const _0x515ffe=['formatInline','getCellLocation','type','*Merge\x20cells*','author','rootName','value','TableEditing','has','_suggestionFactory','markBlockFormat','setSelection','findAncestor','2009700SYgxYR','root','mergeTableCellLeft','getFirstPosition','236cSOKWq','set:isEnabled','$graveyard','getSuggestions','splitTableCellHorizontally','highest','_isForcedDefaultExecutionBlock','mergeTableCellRight','isEnabled','return','insertion','11kPLQUK','stop','getAncestors','accept','detach','get','2486560hfGnae','subType','horizontally','plugins','cell','_acceptFormatSuggestionCallbackFactory','element','*Split\x20cell:*\x20vertically','95606upwpNn','commandName','forceDefaultExecution','low','table','2492478jgShIC','fromRange','model','TrackChangesEditing','deletion','requires','mergeTableCellDown','_tablePostFixingSubtypes','from','afterInit','_areSelectedCellsMergable','getRanges','_areMergableCells','isInContent','1598210ScpOhV','document','472YnZlXA','selection','descriptionFactory','getSelectionAffectedTableCells','format','change','execute','tableCell','formatBlock','refresh','*Split\x20cell:*\x20horizontally','locale','7CltIBX','trackChanges','size','TableUtils','mergeTableCellUp','containsRange','add','map','splitTableCellVertically','markMultiRangeBlockFormat','1119OZqNhr','direction','length','commands','enableCommand','find','filter','registerDescriptionCallback','createRangeOn','push','editor','66969LUsgHe','mergeTableCells','registerCustomCallback','createTableWalker'];_0x404c=function(){return _0x515ffe;};return _0x404c();}(function(_0x2fdb00,_0x32eb5b){const _0x54a6ea=_0x1ef2,_0x37af27=_0x2fdb00();while(!![]){try{const _0x2e9f6f=parseInt(_0x54a6ea(0x1d6))/0x1*(parseInt(_0x54a6ea(0x1b5))/0x2)+-parseInt(_0x54a6ea(0x17c))/0x3*(parseInt(_0x54a6ea(0x19c))/0x4)+-parseInt(_0x54a6ea(0x1c8))/0x5+parseInt(_0x54a6ea(0x1ba))/0x6+-parseInt(_0x54a6ea(0x198))/0x7+-parseInt(_0x54a6ea(0x1ca))/0x8*(-parseInt(_0x54a6ea(0x187))/0x9)+parseInt(_0x54a6ea(0x1ad))/0xa*(-parseInt(_0x54a6ea(0x1a7))/0xb);if(_0x2e9f6f===_0x32eb5b)break;else _0x37af27['push'](_0x37af27['shift']());}catch(_0x43cb82){_0x37af27['push'](_0x37af27['shift']());}}}(_0x404c,0x4c160));import{Plugin as _0x29d791}from'ckeditor5/src/core.js';import _0x4d9c8d from'./table.js';import{LiveRange as _0x295ff}from'ckeditor5/src/engine.js';import{getTranslation as _0xf5e373}from'../utils/common-translations.js';export default class St extends _0x29d791{static get[_0x1964a5(0x1bf)](){return[_0x4d9c8d];}[_0x1964a5(0x1c3)](){const _0x2c2050=_0x1964a5,_0x2259a6=this[_0x2c2050(0x186)],_0x5c95f5=_0x2259a6[_0x2c2050(0x1bc)][_0x2c2050(0x1c9)][_0x2c2050(0x1cb)],_0x4cbb3e=_0x2259a6[_0x2c2050(0x1d5)];if(!_0x2259a6[_0x2c2050(0x1b0)][_0x2c2050(0x193)](_0x2c2050(0x192)))return;const _0x523147=_0x2259a6[_0x2c2050(0x1b0)][_0x2c2050(0x1ac)](_0x2c2050(0x1bd)),_0x5a7a33=_0x2259a6[_0x2c2050(0x1b0)][_0x2c2050(0x1ac)](_0x2c2050(0x1d9)),_0x3829d8=_0x2259a6[_0x2c2050(0x1b0)][_0x2c2050(0x1ac)](_0x4d9c8d);_0x3829d8[_0x2c2050(0x1c1)][_0x2c2050(0x185)](_0x2c2050(0x188)),_0x523147[_0x2c2050(0x180)](_0x2c2050(0x188),()=>{const _0xf4045e=_0x2c2050,_0x1b0d4e=_0x5a7a33[_0xf4045e(0x1cd)](_0x2259a6[_0xf4045e(0x1bc)][_0xf4045e(0x1c9)][_0xf4045e(0x1cb)]);_0x2259a6[_0xf4045e(0x1bc)][_0xf4045e(0x1cf)](()=>{const _0x256711=_0xf4045e;_0x523147[_0x256711(0x1df)](_0x1b0d4e,{'commandName':_0x256711(0x188),'commandParams':[]},[],_0x256711(0x188));});}),_0x2259a6[_0x2c2050(0x17f)][_0x2c2050(0x1ac)](_0x2c2050(0x188))['on'](_0x2c2050(0x1d0),(_0x303b8b,_0x46f6df)=>{const _0x2d8e22=_0x2c2050;_0x2259a6[_0x2d8e22(0x17f)][_0x2d8e22(0x1ac)](_0x2d8e22(0x1d7))[_0x2d8e22(0x191)]&&(_0x46f6df[_0x2d8e22(0x17e)]>0x0&&_0x46f6df[_0x46f6df[_0x2d8e22(0x17e)]-0x1]&&_0x46f6df[_0x46f6df[_0x2d8e22(0x17e)]-0x1][_0x2d8e22(0x1b7)]||_0x523147[_0x2d8e22(0x1a2)]||this[_0x2d8e22(0x1c4)]()||_0x303b8b[_0x2d8e22(0x1a8)]());},{'priority':_0x2c2050(0x1a1)});for(const _0x59560d of[_0x2c2050(0x1da),_0x2c2050(0x1a3),_0x2c2050(0x1c0),_0x2c2050(0x19a)]){const _0xb07a5=_0x2259a6[_0x2c2050(0x17f)][_0x2c2050(0x1ac)](_0x59560d);_0x523147[_0x2c2050(0x180)](_0x59560d,()=>{const _0x18c05b=_0x2c2050,_0x3df615=_0x2259a6[_0x18c05b(0x1bc)][_0x18c05b(0x1c9)][_0x18c05b(0x1cb)][_0x18c05b(0x19b)]()[_0x18c05b(0x1a9)]()[_0x18c05b(0x181)](_0x385f71=>_0x385f71['is'](_0x18c05b(0x1b3),_0x18c05b(0x1d1))),_0x2e97f3=_0xb07a5[_0x18c05b(0x191)];_0x2259a6[_0x18c05b(0x1bc)][_0x18c05b(0x1cf)](()=>{const _0xdc83d6=_0x18c05b;_0x523147[_0xdc83d6(0x1df)]([_0x3df615,_0x2e97f3],{'commandName':_0xdc83d6(0x188),'commandParams':[]},[],_0xdc83d6(0x188));});});}for(const _0x18e232 of[_0x2c2050(0x1de),_0x2c2050(0x1a0)]){const _0xf76048=_0x2259a6[_0x2c2050(0x17f)][_0x2c2050(0x1ac)](_0x18e232);_0x523147[_0x2c2050(0x180)](_0x18e232,()=>{const _0x3260df=_0x2c2050,_0x122ce1=_0x5a7a33[_0x3260df(0x1cd)](_0x2259a6[_0x3260df(0x1bc)][_0x3260df(0x1c9)][_0x3260df(0x1cb)])[0x0],_0x4f90d3=_0x122ce1[_0x3260df(0x197)](_0x3260df(0x1b9)),{column:_0x212e15,row:_0x3a1497}=_0x5a7a33[_0x3260df(0x18c)](_0x122ce1);let _0x2919fd=[];if(_0x3260df(0x1af)==_0xf76048[_0x3260df(0x17d)]){const _0x885bee=_0x5a7a33[_0x3260df(0x18a)](_0x4f90d3,{'startRow':_0x3a1497,'endRow':_0x3a1497,'includeAllSlots':!0x0});_0x2919fd=Array[_0x3260df(0x1c2)](_0x885bee)[_0x3260df(0x1dd)](_0x36d66e=>_0x36d66e[_0x3260df(0x1b1)]);}else{const _0x3bb5d5=_0x5a7a33[_0x3260df(0x18a)](_0x4f90d3,{'column':_0x212e15,'includeAllSlots':!0x0});_0x2919fd=Array[_0x3260df(0x1c2)](_0x3bb5d5)[_0x3260df(0x1dd)](_0x22d714=>_0x22d714[_0x3260df(0x1b1)]);}_0x2259a6[_0x3260df(0x1bc)][_0x3260df(0x1cf)](_0x1bac24=>{const _0x84f270=_0x3260df;_0x523147[_0x84f270(0x195)](_0x1bac24[_0x84f270(0x184)](_0x122ce1),{'commandName':_0x18e232,'commandParams':[]},_0x2919fd,_0x18e232);});});}_0x523147[_0x2c2050(0x1cc)][_0x2c2050(0x183)](_0x1a2ff3=>{const _0x1e21fa=_0x2c2050;if(_0x1e21fa(0x1d2)!=_0x1a2ff3[_0x1e21fa(0x18d)]&&_0x1e21fa(0x18b)!=_0x1a2ff3[_0x1e21fa(0x18d)])return;const {data:_0x18d5e5}=_0x1a2ff3;return _0x18d5e5&&_0x1e21fa(0x188)==_0x18d5e5[_0x1e21fa(0x1b6)]?{'type':_0x1e21fa(0x1ce),'content':_0xf5e373(_0x4cbb3e,_0x1e21fa(0x18e))}:void 0x0;}),_0x523147[_0x2c2050(0x1cc)][_0x2c2050(0x183)](_0x18707a=>{const _0x16ed7f=_0x2c2050;if(_0x16ed7f(0x1d2)!=_0x18707a[_0x16ed7f(0x18d)]&&_0x16ed7f(0x18b)!=_0x18707a[_0x16ed7f(0x18d)])return;const {data:_0xf78dc8}=_0x18707a;return _0xf78dc8?_0x16ed7f(0x1de)==_0xf78dc8[_0x16ed7f(0x1b6)]?{'type':_0x16ed7f(0x1ce),'content':_0xf5e373(_0x4cbb3e,_0x16ed7f(0x1b4))}:_0x16ed7f(0x1a0)==_0xf78dc8[_0x16ed7f(0x1b6)]?{'type':_0x16ed7f(0x1ce),'content':_0xf5e373(_0x4cbb3e,_0x16ed7f(0x1d4))}:void 0x0:void 0x0;});const _0x464258=_0x3829d8[_0x2c2050(0x1b2)]();for(const _0x51bcee of[_0x2c2050(0x1da),_0x2c2050(0x1a3),_0x2c2050(0x1c0),_0x2c2050(0x19a)])_0x523147[_0x2c2050(0x194)][_0x2c2050(0x189)](_0x2c2050(0x1d2),_0x51bcee,_0x2c2050(0x1aa),_0x464258);for(const _0x9d4f3e of[_0x2c2050(0x1de),_0x2c2050(0x1a0)])_0x523147[_0x2c2050(0x194)][_0x2c2050(0x189)](_0x2c2050(0x1d2),_0x9d4f3e,_0x2c2050(0x1aa),_0x464258);_0x523147[_0x2c2050(0x194)][_0x2c2050(0x189)](_0x2c2050(0x1d2),_0x2c2050(0x188),_0x2c2050(0x1aa),_0xf46aa2=>{const _0x1ff15e=_0x2c2050;_0x2259a6[_0x1ff15e(0x1bc)][_0x1ff15e(0x1cf)](_0x37e2b4=>{const _0xd170ae=_0x1ff15e,_0x88a2e7=Array[_0xd170ae(0x1c2)](_0x5c95f5[_0xd170ae(0x1c5)]())[_0xd170ae(0x1dd)](_0x2be646=>_0x295ff[_0xd170ae(0x1bb)](_0x2be646));_0x37e2b4[_0xd170ae(0x196)](_0xf46aa2),_0x2259a6[_0xd170ae(0x17f)][_0xd170ae(0x1ac)](_0xd170ae(0x188))[_0xd170ae(0x1d3)](),_0x2259a6[_0xd170ae(0x1d0)](_0xd170ae(0x188),{'forceDefaultExecution':!0x0});const _0x52abee=_0x88a2e7[_0xd170ae(0x182)](_0x5c9d05=>_0xd170ae(0x19e)!=_0x5c9d05[_0xd170ae(0x199)][_0xd170ae(0x190)]);_0x52abee[_0xd170ae(0x17e)]>0x0&&_0x37e2b4[_0xd170ae(0x196)](_0x52abee);for(const _0x5964a7 of _0x88a2e7)_0x5964a7[_0xd170ae(0x1ab)]();});});for(const _0x4077ed of[_0x2c2050(0x1da),_0x2c2050(0x1c0),_0x2c2050(0x19a),_0x2c2050(0x1a3)]){const _0x13f0f1=_0x2259a6[_0x2c2050(0x17f)][_0x2c2050(0x1ac)](_0x4077ed);_0x13f0f1['on'](_0x2c2050(0x19d),(_0x13e287,_0x3e2b46,_0xd96489)=>{const _0x24b77f=_0x2c2050;if(_0xd96489){const _0x5e0205=_0x2259a6[_0x24b77f(0x1bc)][_0x24b77f(0x1c9)][_0x24b77f(0x1cb)][_0x24b77f(0x19b)]()[_0x24b77f(0x1a9)]()[_0x24b77f(0x181)](_0x2286d6=>_0x2286d6['is'](_0x24b77f(0x1b3),_0x24b77f(0x1d1)));this[_0x24b77f(0x1c6)](_0x13f0f1[_0x24b77f(0x191)],_0x5e0205)||(_0x13e287[_0x24b77f(0x1a5)]=!0x1,_0x13e287[_0x24b77f(0x1a8)]());}},{'priority':_0x2c2050(0x1b8)});}}[_0x1964a5(0x1c4)](){const _0x4d4e61=_0x1964a5,_0x15be58=this[_0x4d4e61(0x186)][_0x4d4e61(0x17f)][_0x4d4e61(0x1ac)](_0x4d4e61(0x188)),_0xc095be=this[_0x4d4e61(0x186)][_0x4d4e61(0x1b0)][_0x4d4e61(0x1ac)](_0x4d4e61(0x1d9));if(!_0x15be58[_0x4d4e61(0x1a4)])return!0x1;const _0x1c42b7=_0xc095be[_0x4d4e61(0x1cd)](this[_0x4d4e61(0x186)][_0x4d4e61(0x1bc)][_0x4d4e61(0x1c9)][_0x4d4e61(0x1cb)]);for(const _0x24538d of _0x1c42b7)for(const _0x2e51e0 of _0x1c42b7)if(_0x24538d!=_0x2e51e0&&!this[_0x4d4e61(0x1c6)](_0x24538d,_0x2e51e0))return!0x1;return!0x0;}[_0x1964a5(0x1c6)](_0x56194a,_0x38b7e8){const _0xfffb80=_0x1964a5,_0x2ad59c=this[_0xfffb80(0x186)][_0xfffb80(0x1b0)][_0xfffb80(0x1ac)](_0xfffb80(0x1bd)),_0x3bb682=this[_0xfffb80(0x186)][_0xfffb80(0x1bc)][_0xfffb80(0x184)](_0x56194a),_0x289245=this[_0xfffb80(0x186)][_0xfffb80(0x1bc)][_0xfffb80(0x184)](_0x38b7e8),_0x1a08af=new Set(),_0x3eb661=new Set();for(const _0x25101a of _0x2ad59c[_0xfffb80(0x19f)]())if((_0xfffb80(0x1a6)==_0x25101a[_0xfffb80(0x18d)]||_0xfffb80(0x1be)==_0x25101a[_0xfffb80(0x18d)]||_0xfffb80(0x188)==_0x25101a[_0xfffb80(0x1ae)])&&_0x25101a[_0xfffb80(0x1c7)]){for(const _0x1ac96d of _0x25101a[_0xfffb80(0x1c5)]())_0x1ac96d[_0xfffb80(0x1db)](_0x3bb682,!0x0)&&_0x1a08af[_0xfffb80(0x1dc)](_0x25101a[_0xfffb80(0x18d)]+':'+_0x25101a[_0xfffb80(0x18f)]['id']),_0x1ac96d[_0xfffb80(0x1db)](_0x289245,!0x0)&&_0x3eb661[_0xfffb80(0x1dc)](_0x25101a[_0xfffb80(0x18d)]+':'+_0x25101a[_0xfffb80(0x18f)]['id']);}if(_0x1a08af[_0xfffb80(0x1d8)]!=_0x3eb661[_0xfffb80(0x1d8)])return!0x1;for(const _0x1740a1 of _0x1a08af)if(!_0x3eb661[_0xfffb80(0x193)](_0x1740a1))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1dca(){const _0x34ef2c=['ELEMENT_TABLE_OF_CONTENTS','locale','24hvIzak','get','enableCommand','634827BajxiV','registerElementLabel','3juRaPC','25184568tIeLbr','commands','10ZEWMdj','insertTableOfContents','31280JgEsIh','plugins','editor','700034BqZYGP','TrackChangesEditing','descriptionFactory','762WYDLOJ','38878WLSwiI','551700niSqRt','tableOfContents','104OfvIeq','afterInit','7833727JaWuXV'];_0x1dca=function(){return _0x34ef2c;};return _0x1dca();}const _0x4b39c3=_0x4739;(function(_0x466e64,_0x533db2){const _0x283f02=_0x4739,_0xb7667c=_0x466e64();while(!![]){try{const _0x34d4e8=-parseInt(_0x283f02(0x197))/0x1+parseInt(_0x283f02(0x1a1))/0x2*(parseInt(_0x283f02(0x199))/0x3)+parseInt(_0x283f02(0x1a8))/0x4*(parseInt(_0x283f02(0x19e))/0x5)+parseInt(_0x283f02(0x1a4))/0x6*(-parseInt(_0x283f02(0x1a5))/0x7)+parseInt(_0x283f02(0x1ad))/0x8*(-parseInt(_0x283f02(0x1a6))/0x9)+-parseInt(_0x283f02(0x19c))/0xa*(parseInt(_0x283f02(0x1aa))/0xb)+parseInt(_0x283f02(0x19a))/0xc;if(_0x34d4e8===_0x533db2)break;else _0xb7667c['push'](_0xb7667c['shift']());}catch(_0x343e20){_0xb7667c['push'](_0xb7667c['shift']());}}}(_0x1dca,0x5b969));import{Plugin as _0x30ffe8}from'ckeditor5/src/core.js';import{getTranslation as _0x464f1f}from'../utils/common-translations.js';function _0x4739(_0x186c1a,_0x445df4){const _0x1dca3f=_0x1dca();return _0x4739=function(_0x473965,_0x3d105f){_0x473965=_0x473965-0x197;let _0x46ca17=_0x1dca3f[_0x473965];return _0x46ca17;},_0x4739(_0x186c1a,_0x445df4);}export default class _t extends _0x30ffe8{[_0x4b39c3(0x1a9)](){const _0x19bac5=_0x4b39c3,_0x26fb2f=this[_0x19bac5(0x1a0)];if(!_0x26fb2f[_0x19bac5(0x19b)][_0x19bac5(0x1ae)](_0x19bac5(0x19d)))return;_0x26fb2f[_0x19bac5(0x19f)][_0x19bac5(0x1ae)](_0x19bac5(0x1a2))[_0x19bac5(0x1af)](_0x19bac5(0x19d));const _0x51c1e5=_0x26fb2f[_0x19bac5(0x19f)][_0x19bac5(0x1ae)](_0x19bac5(0x1a2)),_0x242f1c=_0x26fb2f[_0x19bac5(0x1ac)];_0x51c1e5[_0x19bac5(0x1a3)][_0x19bac5(0x198)](_0x19bac5(0x1a7),_0x131c0c=>_0x464f1f(_0x242f1c,_0x19bac5(0x1ab),_0x131c0c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb4ca5b=_0x1aac;function _0x3448(){const _0x41b592=['9327157WymDDS','pluginName','tableBackgroundColor','change','has','subType','TableCellPropertiesEditing','registerDescriptionCallback','registerCustomCallback','document','getSelectionAffectedTableCells','join','2910teSXVq','tableCellBackgroundColor','16366380MvTpwH','TableUtils','enableCommand','tableWidth','TrackChangesTableProperties','getSuggestionCallback','handleSuggestionDescription','tableHeight','locale','tableCellBorderStyle','afterInit','removeAttribute','460136uNdPzd','plugins','data','handleDiscardAction','findAncestor','63FvjXsj','getContainedElement','*Format:*\x20change\x20table\x20properties','_suggestionFactory','7848522oprhHj','tableCellProperties','getSuggestions','selection','descriptionFactory','getFirstPosition','tableBorderColor','start','nodeAfter','editor','discard','tableBorderStyle','accept','enqueueChange','tableCellWidth','get','table','982617NhMbWq','tableCellBorderWidth','tableCellHeight','_handlePropertyChange','tableCellBorderColor','tableAlignment','format','getAttribute','tableBorderWidth','TrackChangesEditing','6770pISOmD','tableCellPadding','3988OnGjjD','tableCellVerticalAlignment','98lbTuhu','*Format:*\x20change\x20table\x20cell\x20properties','batch','commandParams','formatBlock','TablePropertiesEditing','model','setAttribute','tableCellHorizontalAlignment','tableProperties','markBlockFormat','_getSuggestion'];_0x3448=function(){return _0x41b592;};return _0x3448();}(function(_0x2ae676,_0xb52418){const _0x216bfc=_0x1aac,_0x3d522c=_0x2ae676();while(!![]){try{const _0xb982f2=parseInt(_0x216bfc(0x152))/0x1+parseInt(_0x216bfc(0x160))/0x2*(-parseInt(_0x216bfc(0x12a))/0x3)+parseInt(_0x216bfc(0x15e))/0x4*(parseInt(_0x216bfc(0x15c))/0x5)+-parseInt(_0x216bfc(0x141))/0x6+-parseInt(_0x216bfc(0x11e))/0x7+-parseInt(_0x216bfc(0x138))/0x8*(parseInt(_0x216bfc(0x13d))/0x9)+parseInt(_0x216bfc(0x12c))/0xa;if(_0xb982f2===_0xb52418)break;else _0x3d522c['push'](_0x3d522c['shift']());}catch(_0x38d49d){_0x3d522c['push'](_0x3d522c['shift']());}}}(_0x3448,0xd67aa));import{Plugin as _0x2ef727}from'ckeditor5/src/core.js';import{getTranslation as _0x28f535}from'../utils/common-translations.js';function _0x1aac(_0x22b100,_0x197405){const _0x344894=_0x3448();return _0x1aac=function(_0x1aacd5,_0x4c61bb){_0x1aacd5=_0x1aacd5-0x118;let _0x57d308=_0x344894[_0x1aacd5];return _0x57d308;},_0x1aac(_0x22b100,_0x197405);}export default class $t extends _0x2ef727{constructor(_0xd194bf){const _0x35ada2=_0x1aac;super(_0xd194bf),this[_0x35ada2(0x11b)]=[_0x35ada2(0x147),_0x35ada2(0x14c),_0x35ada2(0x15a),_0x35ada2(0x157),_0x35ada2(0x12f),_0x35ada2(0x133),_0x35ada2(0x120)],this[_0x35ada2(0x142)]=[_0x35ada2(0x156),_0x35ada2(0x135),_0x35ada2(0x153),_0x35ada2(0x15d),_0x35ada2(0x14f),_0x35ada2(0x154),_0x35ada2(0x12b),_0x35ada2(0x11a),_0x35ada2(0x15f)];}static get[_0xb4ca5b(0x11f)](){const _0x2e31dc=_0xb4ca5b;return _0x2e31dc(0x130);}[_0xb4ca5b(0x136)](){const _0x3c4d0f=_0xb4ca5b,_0x347885=this[_0x3c4d0f(0x14a)][_0x3c4d0f(0x139)][_0x3c4d0f(0x150)](_0x3c4d0f(0x15b));if(this[_0x3c4d0f(0x14a)][_0x3c4d0f(0x139)][_0x3c4d0f(0x122)](_0x3c4d0f(0x165))){for(const _0x3b91b9 of this[_0x3c4d0f(0x11b)])_0x347885[_0x3c4d0f(0x12e)](_0x3b91b9,(_0x1cf394,_0x25a2a5)=>{const _0x2fb352=_0x3c4d0f,_0x334e07=this[_0x2fb352(0x14a)][_0x2fb352(0x118)][_0x2fb352(0x127)][_0x2fb352(0x144)][_0x2fb352(0x146)]()[_0x2fb352(0x13c)](_0x2fb352(0x151));this[_0x2fb352(0x155)](_0x3b91b9,[_0x334e07],this[_0x2fb352(0x11b)],_0x2fb352(0x11b),_0x1cf394,_0x25a2a5);});_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x11b),_0x3c4d0f(0x14d),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x131)](_0x3c4d0f(0x164),null,_0x3c4d0f(0x14b))),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x11b),_0x3c4d0f(0x14b),(_0x2cb5eb,_0x270f99)=>this[_0x3c4d0f(0x13b)](this[_0x3c4d0f(0x11b)],_0x2cb5eb,_0x270f99)),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x11b),_0x3c4d0f(0x129),()=>!0x1);}if(this[_0x3c4d0f(0x14a)][_0x3c4d0f(0x139)][_0x3c4d0f(0x122)](_0x3c4d0f(0x124))){for(const _0x4b1b1f of this[_0x3c4d0f(0x142)])_0x347885[_0x3c4d0f(0x12e)](_0x4b1b1f,(_0x596dbc,_0x1cb1f3)=>{const _0x13d4e7=_0x3c4d0f,_0x10b18f=this[_0x13d4e7(0x14a)][_0x13d4e7(0x139)][_0x13d4e7(0x150)](_0x13d4e7(0x12d))[_0x13d4e7(0x128)](this[_0x13d4e7(0x14a)][_0x13d4e7(0x118)][_0x13d4e7(0x127)][_0x13d4e7(0x144)]);this[_0x13d4e7(0x155)](_0x4b1b1f,_0x10b18f,this[_0x13d4e7(0x142)],_0x13d4e7(0x142),_0x596dbc,_0x1cb1f3);});_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x142),_0x3c4d0f(0x14d),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x131)](_0x3c4d0f(0x164),null,_0x3c4d0f(0x14b))),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x142),_0x3c4d0f(0x14b),(_0x447fef,_0x3ec6ef)=>this[_0x3c4d0f(0x13b)](this[_0x3c4d0f(0x142)],_0x447fef,_0x3ec6ef)),_0x347885[_0x3c4d0f(0x140)][_0x3c4d0f(0x126)](_0x3c4d0f(0x164),_0x3c4d0f(0x142),_0x3c4d0f(0x129),()=>!0x1);}_0x347885[_0x3c4d0f(0x145)][_0x3c4d0f(0x125)](_0x39aafd=>this[_0x3c4d0f(0x132)](_0x39aafd));}[_0xb4ca5b(0x155)](_0xb3e508,_0x5a3690,_0x22562a,_0x1beeb1,_0x52ed8e,_0x5220f4){const _0x47e71c=_0xb4ca5b,_0x356964=this[_0x47e71c(0x14a)][_0x47e71c(0x139)][_0x47e71c(0x150)](_0x47e71c(0x15b));this[_0x47e71c(0x14a)][_0x47e71c(0x118)][_0x47e71c(0x14e)](_0x5220f4[_0x47e71c(0x162)],()=>{const _0x514159=_0x47e71c;for(const _0x2146c4 of _0x5a3690){if(this[_0x514159(0x11d)](_0x2146c4,_0x1beeb1))_0x52ed8e(_0x5220f4);else{const _0x13482e={};for(const _0x2997d9 of _0x22562a){const _0x46a1f1=_0x2146c4[_0x514159(0x159)](_0x2997d9);void 0x0!==_0x46a1f1&&(_0x13482e[_0x2997d9]=_0x46a1f1);}_0x52ed8e(_0x5220f4),_0x356964[_0x514159(0x11c)](_0x2146c4,{'commandParams':[_0x13482e]},[],_0x1beeb1);}}});}[_0xb4ca5b(0x13b)](_0x1ef26a,_0x17d0f7,_0x4759fe){const _0x5f45f4=_0xb4ca5b,_0xfa2d41=_0x17d0f7[0x0][_0x5f45f4(0x148)][_0x5f45f4(0x149)],_0x48f634=_0x4759fe[_0x5f45f4(0x163)][0x0];this[_0x5f45f4(0x14a)][_0x5f45f4(0x118)][_0x5f45f4(0x121)](_0x4270a4=>{const _0x1f8bc3=_0x5f45f4;for(const _0x5b7186 of _0x1ef26a)void 0x0!==_0x48f634[_0x5b7186]?_0x4270a4[_0x1f8bc3(0x119)](_0x5b7186,_0x48f634[_0x5b7186],_0xfa2d41):_0x4270a4[_0x1f8bc3(0x137)](_0x5b7186,_0xfa2d41);});}[_0xb4ca5b(0x132)](_0x50bd9e){const _0x12ca09=_0xb4ca5b;if(_0x50bd9e[_0x12ca09(0x13a)])switch(_0x50bd9e[_0x12ca09(0x123)]){case _0x12ca09(0x11b):return{'type':_0x12ca09(0x158),'content':_0x28f535(this[_0x12ca09(0x14a)][_0x12ca09(0x134)],_0x12ca09(0x13f))};case _0x12ca09(0x142):return{'type':_0x12ca09(0x158),'content':_0x28f535(this[_0x12ca09(0x14a)][_0x12ca09(0x134)],_0x12ca09(0x161))};}}[_0xb4ca5b(0x11d)](_0x3218bc,_0x296c69){const _0x98e423=_0xb4ca5b,_0x9f4397=this[_0x98e423(0x14a)][_0x98e423(0x139)][_0x98e423(0x150)](_0x98e423(0x15b));for(const _0x562885 of _0x9f4397[_0x98e423(0x143)]({'skipNotAttached':!0x0})){const _0x39449a=_0x562885[_0x98e423(0x13e)]();if(_0x562885[_0x98e423(0x123)]===_0x296c69&&_0x39449a===_0x3218bc)return _0x562885;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fa1f4=_0x107a;function _0x3583(){const _0x2efbc2=['Template','34613359CsDKmw','3viWQkO','11iqCEQY','3960820WSbAgH','3162467DfKFAI','8vNhNda','enableCommand','13722DfqGGz','afterInit','plugins','editor','194572GtlsaY','1308864MoqOWh','has','2841327sChImO','insertTemplate','get','TrackChangesEditing','2720DqtEvj'];_0x3583=function(){return _0x2efbc2;};return _0x3583();}(function(_0x454e05,_0x11f5e8){const _0x4ea4dd=_0x107a,_0x129cdf=_0x454e05();while(!![]){try{const _0x35167d=parseInt(_0x4ea4dd(0x10b))/0x1*(-parseInt(_0x4ea4dd(0x100))/0x2)+parseInt(_0x4ea4dd(0x10a))/0x3*(parseInt(_0x4ea4dd(0x101))/0x4)+-parseInt(_0x4ea4dd(0x107))/0x5*(parseInt(_0x4ea4dd(0xfc))/0x6)+-parseInt(_0x4ea4dd(0x10d))/0x7+parseInt(_0x4ea4dd(0x10e))/0x8*(-parseInt(_0x4ea4dd(0x103))/0x9)+parseInt(_0x4ea4dd(0x10c))/0xa+parseInt(_0x4ea4dd(0x109))/0xb;if(_0x35167d===_0x11f5e8)break;else _0x129cdf['push'](_0x129cdf['shift']());}catch(_0x5a4647){_0x129cdf['push'](_0x129cdf['shift']());}}}(_0x3583,0xc06f1));import{Plugin as _0x5e111c}from'ckeditor5/src/core.js';function _0x107a(_0x3a0148,_0x384f0a){const _0x3583c1=_0x3583();return _0x107a=function(_0x107a0c,_0xac9005){_0x107a0c=_0x107a0c-0xfc;let _0x211c5c=_0x3583c1[_0x107a0c];return _0x211c5c;},_0x107a(_0x3a0148,_0x384f0a);}export default class Ct extends _0x5e111c{[_0x2fa1f4(0xfd)](){const _0x5c34b5=_0x2fa1f4,_0x50d248=this[_0x5c34b5(0xff)];_0x50d248[_0x5c34b5(0xfe)][_0x5c34b5(0x102)](_0x5c34b5(0x108))&&_0x50d248[_0x5c34b5(0xfe)][_0x5c34b5(0x105)](_0x5c34b5(0x106))[_0x5c34b5(0x10f)](_0x5c34b5(0x104));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33e6e8=_0x32e3;function _0x32e3(_0x2232f8,_0x4acba9){const _0x6f961a=_0x6f96();return _0x32e3=function(_0x32e3e0,_0x379d91){_0x32e3e0=_0x32e3e0-0x125;let _0x2a80f3=_0x6f961a[_0x32e3e0];return _0x2a80f3;},_0x32e3(_0x2232f8,_0x4acba9);}(function(_0x563cb3,_0x69ed81){const _0x4f12da=_0x32e3,_0x217de1=_0x563cb3();while(!![]){try{const _0x4b9184=-parseInt(_0x4f12da(0x125))/0x1+parseInt(_0x4f12da(0x146))/0x2+parseInt(_0x4f12da(0x148))/0x3*(parseInt(_0x4f12da(0x13a))/0x4)+-parseInt(_0x4f12da(0x134))/0x5+parseInt(_0x4f12da(0x14a))/0x6+parseInt(_0x4f12da(0x143))/0x7+-parseInt(_0x4f12da(0x139))/0x8;if(_0x4b9184===_0x69ed81)break;else _0x217de1['push'](_0x217de1['shift']());}catch(_0x47a134){_0x217de1['push'](_0x217de1['shift']());}}}(_0x6f96,0x1e752));import{Plugin as _0xf12d96}from'ckeditor5/src/core.js';import{getTranslation as _0x267fe2}from'../utils/common-translations.js';export default class Dt extends _0xf12d96{[_0x33e6e8(0x144)](){const _0x519546=_0x33e6e8,_0x9f16de=this[_0x519546(0x13e)];if(!_0x9f16de[_0x519546(0x12e)][_0x519546(0x141)](_0x519546(0x13d)))return;const _0x3706b2=_0x9f16de[_0x519546(0x12e)][_0x519546(0x14c)](_0x519546(0x132));_0x3706b2[_0x519546(0x137)][_0x519546(0x14d)](_0x519546(0x14e),()=>_0x267fe2(_0x9f16de[_0x519546(0x127)],_0x519546(0x140))),_0x9f16de[_0x519546(0x136)][_0x519546(0x12f)][_0x519546(0x12a)](_0x4e8442=>{const _0x334c4d=_0x519546;let _0x569fcb=!0x1;const _0x40888e=Array[_0x334c4d(0x129)](_0x9f16de[_0x334c4d(0x136)][_0x334c4d(0x12f)][_0x334c4d(0x149)][_0x334c4d(0x138)]());for(const {name:_0x83b5d6,data:_0x358287}of _0x40888e){const {group:_0x3713c1}=_0x3706b2[_0x334c4d(0x126)](_0x83b5d6);if(_0x334c4d(0x13c)!==_0x3713c1||!_0x358287[_0x334c4d(0x133)])continue;const _0xf3d152=_0x358287[_0x334c4d(0x133)],_0x59e771=_0xf3d152[_0x334c4d(0x13f)][_0x334c4d(0x142)];if(!_0x59e771||!_0x59e771['is'](_0x334c4d(0x12d),_0x334c4d(0x14e)))continue;if(!_0xf3d152[_0x334c4d(0x147)][_0x334c4d(0x12b)](_0xf3d152[_0x334c4d(0x13f)]))continue;const _0x2f3c80=_0x9f16de[_0x334c4d(0x136)][_0x334c4d(0x14b)][_0x334c4d(0x130)](_0xf3d152[_0x334c4d(0x13f)],_0x334c4d(0x12c));if(_0x2f3c80&&_0x2f3c80[_0x334c4d(0x135)]){const _0x67f51c=_0x4e8442[_0x334c4d(0x145)](_0xf3d152[_0x334c4d(0x147)],_0x2f3c80[_0x334c4d(0x147)]);_0x67f51c[_0x334c4d(0x128)](_0xf3d152)||(_0x4e8442[_0x334c4d(0x13b)](_0x83b5d6,{'range':_0x67f51c}),_0x569fcb=!0x0);}_0x569fcb||(_0x4e8442[_0x334c4d(0x131)](_0x83b5d6),_0x569fcb=!0x0);}return _0x569fcb;});}}function _0x6f96(){const _0x2f8c53=['has','nodeBefore','992467vQBQFc','afterInit','createRange','493250qrzqFa','start','634086exNHXi','differ','1383786FGYYZs','schema','get','registerElementLabel','title-content','163123xTXhdx','_splitMarkerName','locale','isEqual','from','registerPostFixer','isTouching','forward','element','plugins','document','getNearestSelectionRange','removeMarker','TrackChangesEditing','newRange','892600KFrrMi','isCollapsed','model','descriptionFactory','getChangedMarkers','2912016xGOjHE','4cttuXS','updateMarker','suggestion','Title','editor','end','ELEMENT_TITLE'];_0x6f96=function(){return _0x2f8c53;};return _0x6f96();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5ec2bd=_0x141d;function _0x30ae(){const _0x18feb0=['1671nTdltH','4447668jLyygu','74911qcHoJN','get','888DAAREf','261102mEmbQR','has','126uqiFsd','undo','3473658ukNugR','enableCommand','306096ZVvzvn','afterInit','editor','417868RZPOEg','plugins','UndoEditing','48bMhnAc','TrackChangesEditing','30ScPWkZ','65tVBQWg','redo'];_0x30ae=function(){return _0x18feb0;};return _0x30ae();}function _0x141d(_0x4e8dd2,_0x4856ff){const _0x30aee6=_0x30ae();return _0x141d=function(_0x141d93,_0x1a9ca9){_0x141d93=_0x141d93-0x14b;let _0x23dfd1=_0x30aee6[_0x141d93];return _0x23dfd1;},_0x141d(_0x4e8dd2,_0x4856ff);}(function(_0x384b2c,_0x4750d6){const _0x314b69=_0x141d,_0x437122=_0x384b2c();while(!![]){try{const _0x5d47d7=-parseInt(_0x314b69(0x155))/0x1+-parseInt(_0x314b69(0x14e))/0x2*(-parseInt(_0x314b69(0x153))/0x3)+-parseInt(_0x314b69(0x154))/0x4+-parseInt(_0x314b69(0x151))/0x5*(parseInt(_0x314b69(0x158))/0x6)+-parseInt(_0x314b69(0x15a))/0x7*(-parseInt(_0x314b69(0x15e))/0x8)+parseInt(_0x314b69(0x15c))/0x9*(-parseInt(_0x314b69(0x150))/0xa)+-parseInt(_0x314b69(0x14b))/0xb*(-parseInt(_0x314b69(0x157))/0xc);if(_0x5d47d7===_0x4750d6)break;else _0x437122['push'](_0x437122['shift']());}catch(_0x598870){_0x437122['push'](_0x437122['shift']());}}}(_0x30ae,0x93289));import{Plugin as _0x2fb9d1}from'ckeditor5/src/core.js';export default class Nt extends _0x2fb9d1{[_0x5ec2bd(0x15f)](){const _0x472e24=_0x5ec2bd,_0x2ef2f4=this[_0x472e24(0x160)],_0x5bc099=_0x2ef2f4[_0x472e24(0x14c)][_0x472e24(0x156)](_0x472e24(0x14f));_0x2ef2f4[_0x472e24(0x14c)][_0x472e24(0x159)](_0x472e24(0x14d))&&(_0x5bc099[_0x472e24(0x15d)](_0x472e24(0x15b)),_0x5bc099[_0x472e24(0x15d)](_0x472e24(0x152)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1395ec,_0x2d4f82){const _0x2b09eb=_0x3ceb,_0x3c9b19=_0x1395ec();while(!![]){try{const _0x57b0a5=-parseInt(_0x2b09eb(0x172))/0x1*(-parseInt(_0x2b09eb(0x169))/0x2)+-parseInt(_0x2b09eb(0x15d))/0x3*(parseInt(_0x2b09eb(0x16f))/0x4)+parseInt(_0x2b09eb(0x14d))/0x5+parseInt(_0x2b09eb(0x17c))/0x6+parseInt(_0x2b09eb(0x179))/0x7*(parseInt(_0x2b09eb(0x16b))/0x8)+-parseInt(_0x2b09eb(0x156))/0x9*(parseInt(_0x2b09eb(0x175))/0xa)+-parseInt(_0x2b09eb(0x174))/0xb*(parseInt(_0x2b09eb(0x154))/0xc);if(_0x57b0a5===_0x2d4f82)break;else _0x3c9b19['push'](_0x3c9b19['shift']());}catch(_0xf1d6f8){_0x3c9b19['push'](_0x3c9b19['shift']());}}}(_0x2cc2,0x8d5be));function _0x3ceb(_0x4a3fc3,_0x535128){const _0x2cc2a2=_0x2cc2();return _0x3ceb=function(_0x3ceb7a,_0xbc2578){_0x3ceb7a=_0x3ceb7a-0x148;let _0x36c4f0=_0x2cc2a2[_0x3ceb7a];return _0x36c4f0;},_0x3ceb(_0x4a3fc3,_0x535128);}export function getRangesWithAttribute(_0x5c623b,_0x1456f8,_0x35bbf8){const _0x2fb25a=_0x3ceb,_0x25eb3f=[];for(const _0xf7cd1 of _0x1456f8[_0x2fb25a(0x17b)]())_0xf7cd1[_0x2fb25a(0x173)](_0x5c623b)&&_0x25eb3f[_0x2fb25a(0x159)](_0x35bbf8[_0x2fb25a(0x162)](_0xf7cd1));return _0x25eb3f;}function _0x2cc2(){const _0x8d6b46=['span','getCustomProperty','includes','createRangeOn','schema','isBlock','createUIElement','plugins','parent','addClass','2Zoqgyq','markerName','24ujhhcx','consumable','ck-suggestion-marker-','model','116dxJHAt','elementEnd','writer','197423EQIObQ','hasAttribute','4994TeTRUC','10QFcMpV','isContent','getWalker','get','1543822KACeQs','isAtEnd','getItems','966834Ouduzv','TrackChangesEditing','type','markerRange','bindElementToMarker','ck-suggestion-marker--active','2944150bFoOoi','addHighlight','previousPosition','start','activeMarkers','name','toViewPosition','14460WOYHap','toViewElement','1157427evpKCl','test','item','push','nextSibling','insert','isLimit','36657dzKxpo','mapper'];_0x2cc2=function(){return _0x8d6b46;};return _0x2cc2();}export function downcastSplitMergeMarker(_0x154183,_0x556fab,{showActiveMarker:_0x40d31d=!0x0}={}){const _0x5e84b3=_0x3ceb,_0x4703ae=_0x154183[_0x5e84b3(0x166)][_0x5e84b3(0x178)](_0x5e84b3(0x148));return(_0x4eaa6c,_0x16fe43,_0x269d19)=>{const _0x373bfa=_0x5e84b3;if(!_0x269d19[_0x373bfa(0x16c)][_0x373bfa(0x157)](_0x16fe43[_0x373bfa(0x14a)],_0x4eaa6c[_0x373bfa(0x152)]))return;const _0x255f4a=_0x16fe43[_0x373bfa(0x14a)][_0x373bfa(0x177)](),_0x1ab172=_0x16fe43[_0x373bfa(0x14a)][_0x373bfa(0x150)],_0x38e89b=_0x154183[_0x373bfa(0x16e)][_0x373bfa(0x163)];let _0x4b7144=null,_0x2e655f=null,_0x34dff6=!0x1,_0x5bb2c4=!0x1;for(const _0x4bed80 of _0x255f4a){const _0x4ca419=_0x4bed80[_0x373bfa(0x158)];_0x34dff6=_0x34dff6||_0x38e89b[_0x373bfa(0x176)](_0x4ca419);const _0x25aa73=_0x269d19[_0x373bfa(0x15e)][_0x373bfa(0x155)](_0x4ca419);if(_0x25aa73&&_0x25aa73[_0x373bfa(0x160)](_0x373bfa(0x14e)))return;_0x373bfa(0x170)==_0x4bed80[_0x373bfa(0x149)]&&(_0x38e89b[_0x373bfa(0x164)](_0x4ca419)&&!_0x38e89b[_0x373bfa(0x15c)](_0x4ca419)&&(_0x4ca419[_0x373bfa(0x15a)]||_0x1ab172[_0x373bfa(0x17a)]?_0x4b7144&&_0x4b7144[_0x373bfa(0x167)]==_0x4ca419||(_0x4b7144=_0x4ca419,_0x355fc0(_0x4bed80[_0x373bfa(0x14f)]),_0x5bb2c4=!0x0):_0x2e655f=_0x2e655f||_0x4bed80[_0x373bfa(0x14f)]));}function _0x355fc0(_0x5863e7){const _0xff6c8d=_0x373bfa,_0x1ef72d=_0x269d19[_0xff6c8d(0x171)][_0xff6c8d(0x165)](_0xff6c8d(0x15f),{'class':_0xff6c8d(0x16d)+_0x556fab}),_0x19dfd2=_0x269d19[_0xff6c8d(0x15e)][_0xff6c8d(0x153)](_0x5863e7);_0x40d31d&&_0x4703ae[_0xff6c8d(0x151)][_0xff6c8d(0x161)](_0x16fe43[_0xff6c8d(0x16a)])&&_0x269d19[_0xff6c8d(0x171)][_0xff6c8d(0x168)](_0xff6c8d(0x14c),_0x1ef72d),_0x269d19[_0xff6c8d(0x171)][_0xff6c8d(0x15b)](_0x19dfd2,_0x1ef72d),_0x269d19[_0xff6c8d(0x15e)][_0xff6c8d(0x14b)](_0x1ef72d,_0x16fe43[_0xff6c8d(0x16a)]);}_0x34dff6||_0x5bb2c4||!_0x2e655f||_0x355fc0(_0x2e655f);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x10fd9d=_0x7ee0;(function(_0x1b6cd2,_0xf4be65){const _0x1f9a23=_0x7ee0,_0x3438eb=_0x1b6cd2();while(!![]){try{const _0x457a73=parseInt(_0x1f9a23(0xfd))/0x1*(parseInt(_0x1f9a23(0xf5))/0x2)+-parseInt(_0x1f9a23(0xff))/0x3*(-parseInt(_0x1f9a23(0x124))/0x4)+parseInt(_0x1f9a23(0x13a))/0x5*(-parseInt(_0x1f9a23(0xee))/0x6)+-parseInt(_0x1f9a23(0x117))/0x7*(-parseInt(_0x1f9a23(0x13e))/0x8)+parseInt(_0x1f9a23(0x103))/0x9+-parseInt(_0x1f9a23(0x100))/0xa+-parseInt(_0x1f9a23(0xed))/0xb;if(_0x457a73===_0xf4be65)break;else _0x3438eb['push'](_0x3438eb['shift']());}catch(_0xd79562){_0x3438eb['push'](_0x3438eb['shift']());}}}(_0x2437,0x75890));import{Element as _0x46e44f}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x103421,uid as _0x25a701}from'ckeditor5/src/utils.js';function _0x2437(){const _0x188d5e=['7653440RJtePY','3290991zYKgmS','6ffDYfm','commentThread','setAttribute','getAllAdjacentSuggestions','createdAt','isMultiRange','substr','502ODQUtc','getRange','getFirstMarker','next','start','getMultiRangeId','discard','push','1465FwKrEi','_onDiscard','18brCKdw','7565980RfvMNx','split','data','7658559XYkeaL','add','from','markers','authoredAt','nodeBefore','get','filter','onDiscard','previous','accept','isIntersectingWithRange','isIntersecting','type','getRanges','_isDataLoaded','isExternal','suggestion:','onAccept','@external','7fsNCAe','getFirstRange','clear','change','getMarkers','creator','author','getMarkerNames','removeAttribute','set','delete','attributes','getContainedElement','107200yjacdV','_onAccept','addMarkerName','removeMarkers','isInContent','decorate','_saved','length','subType','_onAttributesChange','_markerNames','hasComments','nodeAfter','toJSON','map','addRange','getItems','reduce','size','removeMarker','head','_model','3994715wqmQHh','end','addMarker','onAttributesChange'];_0x2437=function(){return _0x188d5e;};return _0x2437();}import{cloneDeep as _0xf3fab,isEqual as _0x2069fc,set as _0x286c38,unset as _0x95eb58}from'lodash-es';function _0x7ee0(_0x2367ac,_0x344df0){const _0x2437db=_0x2437();return _0x7ee0=function(_0x7ee093,_0x2d2655){_0x7ee093=_0x7ee093-0xed;let _0x5c128d=_0x2437db[_0x7ee093];return _0x5c128d;},_0x7ee0(_0x2367ac,_0x344df0);}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x103421(){constructor(_0x582c50,_0x18d20d){const _0x570a17=_0x7ee0;super(),this[_0x570a17(0x112)]=!0x1,this['id']=_0x18d20d['id'],this[_0x570a17(0x110)]=_0x18d20d[_0x570a17(0x110)],this[_0x570a17(0x12c)]=_0x18d20d[_0x570a17(0x12c)]||null,this[_0x570a17(0x11d)]=_0x18d20d[_0x570a17(0x11d)],this[_0x570a17(0x11c)]=_0x18d20d[_0x570a17(0x11c)]||_0x18d20d[_0x570a17(0x11d)],this[_0x570a17(0x113)]=Boolean(_0x18d20d[_0x570a17(0x122)]&&_0x18d20d[_0x570a17(0x122)][_0x570a17(0x116)]),this[_0x570a17(0x102)]=null,this[_0x570a17(0x139)]=_0x582c50,this[_0x570a17(0x125)]=_0x18d20d[_0x570a17(0x115)],this[_0x570a17(0xfe)]=_0x18d20d[_0x570a17(0x10b)],this[_0x570a17(0x12d)]=_0x18d20d[_0x570a17(0x13d)],this[_0x570a17(0x12e)]=new Set(),this[_0x570a17(0xf2)]=null,this[_0x570a17(0x120)](_0x570a17(0x107),null),this[_0x570a17(0x120)](_0x570a17(0x122),_0x18d20d[_0x570a17(0x122)]||{}),this[_0x570a17(0x120)](_0x570a17(0x10c),null),this[_0x570a17(0x120)](_0x570a17(0xf8),null),this[_0x570a17(0x120)](_0x570a17(0xef),null),this[_0x570a17(0x120)](_0x570a17(0x12a),!0x1),this[_0x570a17(0x129)](_0x570a17(0x10d)),this[_0x570a17(0x129)](_0x570a17(0xfb));}get[_0x10fd9d(0x138)](){const _0x4b15b3=_0x10fd9d;let _0x397dae=this;for(;_0x397dae[_0x4b15b3(0x10c)];)_0x397dae=_0x397dae[_0x4b15b3(0x10c)];return _0x397dae;}get[_0x10fd9d(0x12f)](){const _0x401d9b=_0x10fd9d;return!!this[_0x401d9b(0xef)]&&this[_0x401d9b(0xef)][_0x401d9b(0x12b)]>0x0;}get[_0x10fd9d(0xf3)](){const _0xf9a2a2=_0x10fd9d;if(0x0==this[_0xf9a2a2(0x12e)][_0xf9a2a2(0x136)])return!0x1;return 0x6==Array[_0xf9a2a2(0x105)](this[_0xf9a2a2(0x12e)])[0x0][_0xf9a2a2(0x101)](':')[_0xf9a2a2(0x12b)];}get[_0x10fd9d(0x128)](){const _0x1f51fa=_0x10fd9d;return null!==this[_0x1f51fa(0xf7)]();}[_0x10fd9d(0x126)](_0x25e1b1){const _0x11d146=_0x10fd9d;this[_0x11d146(0x12e)][_0x11d146(0x104)](_0x25e1b1);}[_0x10fd9d(0x11e)](){const _0x240b2b=_0x10fd9d;return Array[_0x240b2b(0x105)](this[_0x240b2b(0x12e)]);}[_0x10fd9d(0x11b)](){const _0x2c5022=_0x10fd9d;return this[_0x2c5022(0x11e)]()[_0x2c5022(0x132)](_0x2fa8bf=>this[_0x2c5022(0x139)][_0x2c5022(0x106)][_0x2c5022(0x109)](_0x2fa8bf))[_0x2c5022(0x10a)](_0x223456=>_0x223456);}[_0x10fd9d(0xf7)](){const _0x597997=_0x10fd9d;return this[_0x597997(0x11b)]()[0x0]||null;}[_0x10fd9d(0x127)](){const _0x3d4114=_0x10fd9d;this[_0x3d4114(0x139)][_0x3d4114(0x11a)](_0x2a61f6=>{const _0x45f483=_0x3d4114;for(const _0x8d7046 of this[_0x45f483(0x11b)]())_0x2a61f6[_0x45f483(0x137)](_0x8d7046);}),this[_0x3d4114(0x12e)][_0x3d4114(0x119)]();}[_0x10fd9d(0x137)](_0x43692d){const _0x9e4c85=_0x10fd9d;this[_0x9e4c85(0x139)][_0x9e4c85(0x11a)](_0x4c5887=>{const _0x20650e=_0x9e4c85;_0x4c5887[_0x20650e(0x137)](_0x43692d);}),this[_0x9e4c85(0x12e)][_0x9e4c85(0x121)](_0x43692d);}[_0x10fd9d(0x133)](_0x4ac832){const _0x30cfa2=_0x10fd9d,_0x165b46=_0x30cfa2(0x114)+this[_0x30cfa2(0x110)]+':'+this[_0x30cfa2(0x12c)]+':'+this['id']+':'+this[_0x30cfa2(0x11c)]['id']+':'+u[_0x30cfa2(0xfa)]();this[_0x30cfa2(0x126)](_0x165b46),this[_0x30cfa2(0x139)][_0x30cfa2(0x11a)](_0x5aa058=>{const _0x23b88a=_0x30cfa2;_0x5aa058[_0x23b88a(0x13c)](_0x165b46,{'range':_0x4ac832,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x10fd9d(0x10e)](_0x578405){const _0x308f69=_0x10fd9d;for(const _0x58ff9e of this[_0x308f69(0x111)]())if(_0x58ff9e[_0x308f69(0x10f)](_0x578405))return!0x0;return!0x1;}[_0x10fd9d(0x111)](){const _0x3376db=_0x10fd9d;return this[_0x3376db(0x11b)]()[_0x3376db(0x132)](_0x7df33b=>_0x7df33b[_0x3376db(0xf6)]());}[_0x10fd9d(0x134)](){const _0x1542b2=_0x10fd9d;return this[_0x1542b2(0x111)]()[_0x1542b2(0x135)]((_0x2ddd83,_0x35b187)=>[..._0x2ddd83,..._0x35b187[_0x1542b2(0x134)]()],[]);}[_0x10fd9d(0x118)](){const _0x354bbd=_0x10fd9d;var _0x15dbba;return(null===(_0x15dbba=this[_0x354bbd(0xf7)]())||void 0x0===_0x15dbba?void 0x0:_0x15dbba[_0x354bbd(0xf6)]())||null;}[_0x10fd9d(0x123)](){const _0x36013e=_0x10fd9d,_0xd88e88=this[_0x36013e(0x111)]();if(0x1!=_0xd88e88[_0x36013e(0x12b)])return null;const _0x20d72b=_0xd88e88[0x0],_0x22c033=_0x20d72b[_0x36013e(0xf9)][_0x36013e(0x130)],_0x324d9c=_0x20d72b[_0x36013e(0x13b)][_0x36013e(0x108)];return _0x22c033 instanceof _0x46e44f?_0x22c033!=_0x324d9c?null:_0x22c033:null;}[_0x10fd9d(0x10d)](){const _0x1b693f=_0x10fd9d;this[_0x1b693f(0x125)](this[_0x1b693f(0x111)](),this[_0x1b693f(0x102)],this[_0x1b693f(0x122)]),this[_0x1b693f(0x127)]();}[_0x10fd9d(0xfb)](){const _0x50398f=_0x10fd9d;this[_0x50398f(0xfe)](this[_0x50398f(0x111)](),this[_0x50398f(0x102)],this[_0x50398f(0x122)]),this[_0x50398f(0x127)]();}[_0x10fd9d(0xf1)](){const _0x328529=_0x10fd9d,_0x494767=[];let _0x412b0c=this[_0x328529(0x138)];for(;_0x412b0c;)_0x494767[_0x328529(0xfc)](_0x412b0c),_0x412b0c=_0x412b0c[_0x328529(0xf8)];return _0x494767;}[_0x10fd9d(0xf0)](_0x5067fb,_0x4d334a){const _0x303f84=_0x10fd9d,_0x67d6fc=_0xf3fab(this[_0x303f84(0x122)]);_0x286c38(_0x67d6fc,_0x5067fb,_0x4d334a),_0x2069fc(_0x67d6fc,this[_0x303f84(0x122)])||(this[_0x303f84(0x122)]=_0x67d6fc,this[_0x303f84(0x12d)](_0x67d6fc));}[_0x10fd9d(0x11f)](_0x16f912){const _0x4af9e0=_0x10fd9d,_0x30f61b=_0xf3fab(this[_0x4af9e0(0x122)]);_0x95eb58(_0x30f61b,_0x16f912),_0x2069fc(_0x30f61b,this[_0x4af9e0(0x122)])||(this[_0x4af9e0(0x122)]=_0x30f61b,this[_0x4af9e0(0x12d)](this[_0x4af9e0(0x122)]));}[_0x10fd9d(0x131)](){const _0x34f7d9=_0x10fd9d;return{'id':this['id'],'type':this[_0x34f7d9(0x12c)]?this[_0x34f7d9(0x110)]+':'+this[_0x34f7d9(0x12c)]:this[_0x34f7d9(0x110)],'authorId':this[_0x34f7d9(0x11c)]['id'],'createdAt':this[_0x34f7d9(0xf2)],'hasComments':this[_0x34f7d9(0x12f)],'data':this[_0x34f7d9(0x102)],'attributes':this[_0x34f7d9(0x122)]};}static[_0x10fd9d(0xfa)](){const _0x44d064=_0x10fd9d;return _0x25a701()[_0x44d064(0xf4)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2bd951=_0x9449;function _0xa3cf(){const _0x21e35a=['key','removeEmptyContainer','getWalker','skip','join','_handleCustomCallbackDescription','normal','getFirstRange','set','newValue','*Insert:*\x20%0','_schema','REPLACE_TEXT','previousSibling','nodeAfter','isEmpty','start','addObject','isObject','_itemLabelsCallbacks','match','item','*Split:*\x20%0','subType','27617gITAeg','457628QAGSbk','_locale','26ufelfM','registerDescriptionCallback','3IKxJzV','_handleRenameSuggestionDescription','type','removeFormat','softBreak','remove','get','name','122733czAxBn','function','getItemLabel','registerElementLabel','EmptyContainer','_itemLabels','_handleAttributeSuggestionDescription','has','push','pop','elementEnd','895884DHThYb','insertion','_addDescriptionItems','1442240CHktrS','*Remove\x20format:*\x20%0','deletion','addEmptyContainer','map','element','1002035BNNjZV','$text','format','isInContent','*Merge:*\x20%0','end','_customCallbacks','_handleInsertRemoveSuggestionDescription','nextSibling','_resolveDescriptionItems','text','$1\x20$2','ELEMENT_SPACE','indexOf','removeContainer','Object','isEqual','$textProxy','addFormat','addContainer','replace','removeObject','*Remove:*\x20%0','checkChild','getDescriptions','add','data','elementStart','4655640GaQgAW','matchingCallback','registerAttributeLabel','attribute','*Set\x20format:*\x20%0','*Change\x20to:*\x20%0','length','quantity','label','_attributeLabels','14JMZXax','Container'];_0xa3cf=function(){return _0x21e35a;};return _0xa3cf();}(function(_0x18f926,_0x3337e1){const _0x450d97=_0x9449,_0x361364=_0x18f926();while(!![]){try{const _0x142c59=-parseInt(_0x450d97(0x1bd))/0x1*(-parseInt(_0x450d97(0x1c0))/0x2)+parseInt(_0x450d97(0x1c2))/0x3*(parseInt(_0x450d97(0x1be))/0x4)+-parseInt(_0x450d97(0x1de))/0x5+-parseInt(_0x450d97(0x1d5))/0x6+-parseInt(_0x450d97(0x204))/0x7*(parseInt(_0x450d97(0x1d8))/0x8)+parseInt(_0x450d97(0x1ca))/0x9+parseInt(_0x450d97(0x1fa))/0xa;if(_0x142c59===_0x3337e1)break;else _0x361364['push'](_0x361364['shift']());}catch(_0x43ccb5){_0x361364['push'](_0x361364['shift']());}}}(_0xa3cf,0x3b2ac));import{getTranslation as _0x46b6d5}from'./utils/common-translations.js';import{priorities as _0x4cd32e,insertToPriorityArray as _0x83af05}from'ckeditor5/src/utils.js';function _0x9449(_0x2c289e,_0x593bda){const _0xa3cf70=_0xa3cf();return _0x9449=function(_0x944925,_0x29d702){_0x944925=_0x944925-0x1a8;let _0x4e47d8=_0xa3cf70[_0x944925];return _0x4e47d8;},_0x9449(_0x2c289e,_0x593bda);}import{renameAttributeKey as _0x48146b}from'./trackchangesediting.js';export default class f{constructor(_0x84be33,_0x53cfed){const _0xf0056d=_0x9449;this[_0xf0056d(0x1e4)]=[],this[_0xf0056d(0x1cf)]=new Map(),this[_0xf0056d(0x1b8)]=[],this[_0xf0056d(0x203)]=new Map(),this[_0xf0056d(0x1b0)]=_0x84be33,this[_0xf0056d(0x1bf)]=_0x53cfed;}[_0x2bd951(0x1f6)](_0x291581){const _0x1e47a3=_0x2bd951,_0x16be46=[],_0x25404a=new Set(),_0x9b993c=new Set();for(let _0xed331=0x0;_0xed331<_0x291581[_0x1e47a3(0x200)];_0xed331++){const _0x5087ff=_0x291581[_0xed331];if(!_0x5087ff[_0x1e47a3(0x1e1)])continue;const _0x372b0d=this[_0x1e47a3(0x1aa)](_0x5087ff);if(_0x372b0d){if(null!=_0x5087ff[_0x1e47a3(0x1bc)]){if(_0x25404a[_0x1e47a3(0x1d1)](_0x5087ff[_0x1e47a3(0x1bc)]))continue;_0x25404a[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1bc)]);}_0x16be46[_0x1e47a3(0x1d2)](_0x372b0d);}else{if(_0x1e47a3(0x1fd)!=_0x5087ff[_0x1e47a3(0x1c4)])_0x1e47a3(0x1d6)!=_0x5087ff[_0x1e47a3(0x1c4)]&&_0x1e47a3(0x1da)!=_0x5087ff[_0x1e47a3(0x1c4)]||this[_0x1e47a3(0x1e5)](_0x16be46,_0x5087ff,_0x291581[_0xed331+0x1]);else{const _0x1c7e10=_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)];if(_0x9b993c[_0x1e47a3(0x1d1)](_0x1c7e10))continue;_0x9b993c[_0x1e47a3(0x1f7)](_0x5087ff[_0x1e47a3(0x1f8)][_0x1e47a3(0x206)]),_0x1c7e10==_0x48146b?this[_0x1e47a3(0x1c3)](_0x16be46,_0x5087ff):this[_0x1e47a3(0x1d0)](_0x16be46,_0x5087ff);}}}return this[_0x1e47a3(0x1e7)](_0x16be46);}[_0x2bd951(0x1c1)](_0x4153f0){const _0x469d30=_0x2bd951;this[_0x469d30(0x1e4)][_0x469d30(0x1d2)](_0x4153f0);}[_0x2bd951(0x1cd)](_0x41dc07,_0xa906ca,_0x5f47e9=_0x4cd32e[_0x2bd951(0x1ab)]){const _0x2968be=_0x2bd951;_0x2968be(0x1cb)==typeof _0x41dc07?_0x83af05(this[_0x2968be(0x1b8)],{'matchingCallback':_0x41dc07,'label':_0xa906ca,'priority':_0x5f47e9}):this[_0x2968be(0x1cf)][_0x2968be(0x1ad)](_0x41dc07,_0xa906ca);}[_0x2bd951(0x1fc)](_0x99ec18,_0x4de2f6){const _0x5ec9df=_0x2bd951;this[_0x5ec9df(0x203)][_0x5ec9df(0x1ad)](_0x99ec18,_0x4de2f6);}[_0x2bd951(0x1cc)](_0x2ab71d,_0x15fce8=0x1){const _0x353436=_0x2bd951;let _0x4ac7ba;for(const _0x2d3dcc of this[_0x353436(0x1b8)])if(_0x2d3dcc[_0x353436(0x1fb)](_0x2ab71d)){_0x4ac7ba=_0x2d3dcc[_0x353436(0x202)];break;}return _0x4ac7ba||(_0x4ac7ba=this[_0x353436(0x1cf)][_0x353436(0x1c8)](_0x2ab71d[_0x353436(0x1c9)])),_0x4ac7ba?_0x4ac7ba(_0x15fce8):0x1!==_0x15fce8?_0x15fce8+'\x20'+_0x2ab71d[_0x353436(0x1c9)]+'s':''+_0x2ab71d[_0x353436(0x1c9)];}[_0x2bd951(0x1d7)](_0x36a723,_0x2037ad){const _0x3f959f=_0x2bd951,_0x5ad297=_0x2037ad[_0x3f959f(0x1ac)]()[_0x3f959f(0x208)](),_0x404bdc=_0x3f959f(0x1d6)==_0x2037ad[_0x3f959f(0x1c4)]?_0x3f959f(0x1f7):_0x3f959f(0x1c7);for(const _0x4090ea of _0x5ad297){const _0xb8e0ba=_0x4090ea[_0x3f959f(0x1ba)],_0x272448=_0x36a723[_0x36a723[_0x3f959f(0x200)]-0x1];if(_0xb8e0ba['is'](_0x3f959f(0x1ef)))_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x272448&&_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]?_0x272448[_0x404bdc]+=_0xb8e0ba[_0x3f959f(0x1f8)]:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x3f959f(0x1e8),'add':_0x3f959f(0x1f7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:'','remove':_0x3f959f(0x1c7)==_0x404bdc?_0xb8e0ba[_0x3f959f(0x1f8)]:''});else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0xb8e0ba)){const _0x9e91af=_0xb8e0ba;if(_0x272448&&_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))>-0x1&&_0x36a723[_0x3f959f(0x1d3)](),_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ed)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x9e91af[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ed),'element':_0x9e91af,'quantity':0x1}),_0x5ad297[_0x3f959f(0x1a8)](_0x4264e5=>!(_0x3f959f(0x1d4)==_0x4264e5[_0x3f959f(0x1c4)]&&_0x4264e5[_0x3f959f(0x1ba)]==_0xb8e0ba));}else{if(this[_0x3f959f(0x1b0)][_0x3f959f(0x1f5)](_0xb8e0ba,_0x3f959f(0x1df))||_0xb8e0ba['is'](_0x3f959f(0x1dd),_0x3f959f(0x1c6))){const _0x21975e=_0xb8e0ba;if(_0x3f959f(0x1f7)==_0x404bdc&&_0x3f959f(0x1f9)==_0x4090ea[_0x3f959f(0x1c4)]||_0x3f959f(0x1c7)==_0x404bdc&&_0x3f959f(0x1d4)==_0x4090ea[_0x3f959f(0x1c4)])continue;if(_0x272448&&-0x1==_0x272448[_0x3f959f(0x1c4)][_0x3f959f(0x1eb)](_0x3f959f(0x205))){_0x3f959f(0x1e8)==_0x272448[_0x3f959f(0x1c4)]&&(_0x272448[_0x404bdc]+='\x0a');continue;}let _0x18a086;if(_0x18a086=_0x3f959f(0x1f7)==_0x404bdc?_0x21975e[_0x3f959f(0x1e6)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1e6)])?_0x21975e[_0x3f959f(0x1e6)]:null:_0x21975e[_0x3f959f(0x1b2)]&&!this[_0x3f959f(0x1b0)][_0x3f959f(0x1b7)](_0x21975e[_0x3f959f(0x1b2)])?_0x21975e[_0x3f959f(0x1b2)]:null,_0x21975e[_0x3f959f(0x1b4)]||_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]){const _0x20b74a=_0x18a086&&_0x18a086[_0x3f959f(0x1b4)]?_0x18a086:_0x21975e;_0x272448&&_0x272448[_0x3f959f(0x1c4)]==_0x404bdc+_0x3f959f(0x1ce)&&_0x272448[_0x3f959f(0x1dd)][_0x3f959f(0x1c9)]==_0x20b74a[_0x3f959f(0x1c9)]?_0x272448[_0x3f959f(0x201)]++:_0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x1ce),'element':_0x20b74a,'quantity':0x1});}else _0x36a723[_0x3f959f(0x1d2)]({'type':_0x404bdc+_0x3f959f(0x205),'element':_0x21975e});}}}}}[_0x2bd951(0x1e7)](_0x4a1829){const _0x2b39e7=_0x2bd951,_0xa1566d=this[_0x2b39e7(0x1bf)],_0x5dd42e=[],_0x5a22f9=[],_0xbe7280=[];for(const _0x419d8b of _0x4a1829)switch(_0x419d8b[_0x2b39e7(0x1c4)]){case _0x2b39e7(0x1e8):if(_0x419d8b[_0x2b39e7(0x1f7)]=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),_0x419d8b[_0x2b39e7(0x1c7)]=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1f2)](/(\S)\u000A+(\S)/g,_0x2b39e7(0x1e9))[_0x2b39e7(0x1f2)](/\u000A/g,''),''!=_0x419d8b[_0x2b39e7(0x1f7)]&&''!=_0x419d8b[_0x2b39e7(0x1c7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1f2),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1b1),['\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22','\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22'])});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1f7)][_0x2b39e7(0x200)]))});continue;}if(null!=_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x1b9)](/^ +$/)){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),_0x46b6d5(_0xa1566d,_0x2b39e7(0x1ea),_0x419d8b[_0x2b39e7(0x1c7)][_0x2b39e7(0x200)]))});continue;}if(''!=_0x419d8b[_0x2b39e7(0x1f7)]){_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),'\x22'+_0x419d8b[_0x2b39e7(0x1f7)]+'\x22')});continue;}_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),'\x22'+_0x419d8b[_0x2b39e7(0x1c7)]+'\x22')});continue;case _0x2b39e7(0x1db):case _0x2b39e7(0x1b6):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1af),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x207):case _0x2b39e7(0x1f3):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1f4),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f1):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1d6),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1bb),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1ec):_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1da),'content':_0x46b6d5(_0xa1566d,_0x2b39e7(0x1e2),this[_0x2b39e7(0x1cc)](_0x419d8b[_0x2b39e7(0x1dd)],_0x419d8b[_0x2b39e7(0x201)]))});continue;case _0x2b39e7(0x1f0):_0x5a22f9[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;case _0x2b39e7(0x1c5):_0xbe7280[_0x2b39e7(0x1d2)](_0x419d8b[_0x2b39e7(0x206)]);continue;default:_0x5dd42e[_0x2b39e7(0x1d2)](_0x419d8b);}if(_0x5a22f9[_0x2b39e7(0x200)]){const _0x43d1d1=_0x5a22f9[_0x2b39e7(0x1dc)](_0x3ee312=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x3ee312)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x3ee312):_0x3ee312)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1fe),_0x43d1d1)});}if(_0xbe7280[_0x2b39e7(0x200)]){const _0x1541c0=_0xbe7280[_0x2b39e7(0x1dc)](_0x363333=>this[_0x2b39e7(0x203)][_0x2b39e7(0x1d1)](_0x363333)?this[_0x2b39e7(0x203)][_0x2b39e7(0x1c8)](_0x363333):_0x363333)[_0x2b39e7(0x1a9)](',\x20');_0x5dd42e[_0x2b39e7(0x1d2)]({'type':_0x2b39e7(0x1e0),'content':_0x46b6d5(this[_0x2b39e7(0x1bf)],_0x2b39e7(0x1d9),_0x1541c0)});}return _0x5dd42e;}[_0x2bd951(0x1aa)](_0x477754){const _0x415dde=_0x2bd951;for(const _0x2bff5a of this[_0x415dde(0x1e4)]){const _0x2d576a=_0x2bff5a(_0x477754);if(_0x2d576a&&_0x415dde(0x1c4)in _0x2d576a)return _0x2d576a;}}[_0x2bd951(0x1d0)](_0x345f8e,_0x45a7b0){const _0x25eef0=_0x2bd951,_0x5d733e=_0x45a7b0[_0x25eef0(0x1f8)],_0x5a8143=void 0x0===_0x5d733e[_0x25eef0(0x1ae)]?_0x25eef0(0x1c5):_0x25eef0(0x1f0);_0x345f8e[_0x25eef0(0x1d2)]({'type':_0x5a8143,'key':_0x5d733e[_0x25eef0(0x206)]});}[_0x2bd951(0x1c3)](_0xf1b01f,_0x9418e4){const _0x1bc1a1=_0x2bd951;_0xf1b01f[_0x1bc1a1(0x1d2)]({'type':_0x1bc1a1(0x1e0),'content':_0x46b6d5(this[_0x1bc1a1(0x1bf)],_0x1bc1a1(0x1ff),this[_0x1bc1a1(0x1cc)](_0x9418e4[_0x1bc1a1(0x1ac)]()[_0x1bc1a1(0x1b5)][_0x1bc1a1(0x1b3)],0x1))});}[_0x2bd951(0x1e5)](_0x30c7e9,_0x5bb79b,_0x513474){const _0x499a6c=_0x2bd951;if(this[_0x499a6c(0x1d7)](_0x30c7e9,_0x5bb79b),_0x513474&&_0x513474[_0x499a6c(0x1ac)]()&&!_0x5bb79b[_0x499a6c(0x1ac)]()[_0x499a6c(0x1e3)][_0x499a6c(0x1ee)](_0x513474[_0x499a6c(0x1ac)]()[_0x499a6c(0x1b5)])){const _0x448177=_0x30c7e9[_0x30c7e9[_0x499a6c(0x200)]-0x1],_0x4fb45e=_0x499a6c(0x1d6)==_0x5bb79b[_0x499a6c(0x1c4)]?_0x499a6c(0x1f7):_0x499a6c(0x1c7);_0x448177&&_0x499a6c(0x1e8)==_0x448177[_0x499a6c(0x1c4)]&&(_0x448177[_0x4fb45e]+='\x0a');}}}
|
|
23
|
+
const _0x2bb72d=_0x3117;function _0x3117(_0x437712,_0x39249d){const _0x1924b7=_0x1924();return _0x3117=function(_0x3117d1,_0xed0d3f){_0x3117d1=_0x3117d1-0xb5;let _0x1868de=_0x1924b7[_0x3117d1];return _0x1868de;},_0x3117(_0x437712,_0x39249d);}function _0x1924(){const _0x368a83=['remove','isInContent','_addDescriptionItems','label','_customCallbacks','_attributeLabels','subType','getFirstRange','isEqual','*Change\x20to:*\x20%0','text','pop','set','join','attribute','getItemLabel','*Split:*\x20%0','registerDescriptionCallback','addObject','isObject','getDescriptions','elementStart','351GMaqVo','*Merge:*\x20%0','item','164900eKhzkC','REPLACE_TEXT','18950KiLQxa','addContainer','2eLHBlg','_handleAttributeSuggestionDescription','_resolveDescriptionItems','skip','get','map','elementEnd','$1\x20$2','158720MnZJJB','quantity','start','nextSibling','21YmmjMB','*Insert:*\x20%0','*Remove:*\x20%0','12pYBdWj','end','element','has','insertion','Container','softBreak','deletion','addEmptyContainer','push','ELEMENT_SPACE','removeEmptyContainer','type','function','normal','141744JkALsE','registerAttributeLabel','replace','Object','removeContainer','matchingCallback','EmptyContainer','newValue','*Set\x20format:*\x20%0','$text','nodeAfter','format','15srXBLh','$textProxy','checkChild','removeFormat','previousSibling','name','_handleInsertRemoveSuggestionDescription','key','removeObject','isEmpty','indexOf','data','getWalker','_handleCustomCallbackDescription','913368sKNNqZ','match','399619AdqyaO','_handleRenameSuggestionDescription','length','_locale','addFormat','_itemLabels','*Remove\x20format:*\x20%0','registerElementLabel','_schema','add','96188sGWjKC','_itemLabelsCallbacks'];_0x1924=function(){return _0x368a83;};return _0x1924();}(function(_0x56f17f,_0x39106f){const _0x20e9b2=_0x3117,_0x71a324=_0x56f17f();while(!![]){try{const _0x402731=parseInt(_0x20e9b2(0xd1))/0x1*(parseInt(_0x20e9b2(0x115))/0x2)+parseInt(_0x20e9b2(0x109))/0x3+parseInt(_0x20e9b2(0xcd))/0x4*(-parseInt(_0x20e9b2(0xfb))/0x5)+parseInt(_0x20e9b2(0xef))/0x6*(-parseInt(_0x20e9b2(0xdd))/0x7)+parseInt(_0x20e9b2(0xd9))/0x8+-parseInt(_0x20e9b2(0xca))/0x9*(parseInt(_0x20e9b2(0xcf))/0xa)+-parseInt(_0x20e9b2(0x10b))/0xb*(-parseInt(_0x20e9b2(0xe0))/0xc);if(_0x402731===_0x39106f)break;else _0x71a324['push'](_0x71a324['shift']());}catch(_0x36b197){_0x71a324['push'](_0x71a324['shift']());}}}(_0x1924,0x2dfc9));import{getTranslation as _0x357ac2}from'./utils/common-translations.js';import{priorities as _0x19ef2f,insertToPriorityArray as _0x45de8a}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x974b73}from'./trackchangesediting.js';export default class f{constructor(_0x5e40e1,_0x5a3a9a){const _0x33732c=_0x3117;this[_0x33732c(0xb8)]=[],this[_0x33732c(0x110)]=new Map(),this[_0x33732c(0x116)]=[],this[_0x33732c(0xb9)]=new Map(),this[_0x33732c(0x113)]=_0x5e40e1,this[_0x33732c(0x10e)]=_0x5a3a9a;}[_0x2bb72d(0xc8)](_0x101e4c){const _0x1ebc78=_0x2bb72d,_0x321edd=[],_0x1a8c84=new Set(),_0x39c5da=new Set();for(let _0x1f2ef0=0x0;_0x1f2ef0<_0x101e4c[_0x1ebc78(0x10d)];_0x1f2ef0++){const _0x565d2d=_0x101e4c[_0x1f2ef0];if(!_0x565d2d[_0x1ebc78(0xb5)])continue;const _0x5e09b2=this[_0x1ebc78(0x108)](_0x565d2d);if(_0x5e09b2){if(null!=_0x565d2d[_0x1ebc78(0xba)]){if(_0x1a8c84[_0x1ebc78(0xe3)](_0x565d2d[_0x1ebc78(0xba)]))continue;_0x1a8c84[_0x1ebc78(0x114)](_0x565d2d[_0x1ebc78(0xba)]);}_0x321edd[_0x1ebc78(0xe9)](_0x5e09b2);}else{if(_0x1ebc78(0xc2)!=_0x565d2d[_0x1ebc78(0xec)])_0x1ebc78(0xe4)!=_0x565d2d[_0x1ebc78(0xec)]&&_0x1ebc78(0xe7)!=_0x565d2d[_0x1ebc78(0xec)]||this[_0x1ebc78(0x101)](_0x321edd,_0x565d2d,_0x101e4c[_0x1f2ef0+0x1]);else{const _0x470cf1=_0x565d2d[_0x1ebc78(0x106)][_0x1ebc78(0x102)];if(_0x39c5da[_0x1ebc78(0xe3)](_0x470cf1))continue;_0x39c5da[_0x1ebc78(0x114)](_0x565d2d[_0x1ebc78(0x106)][_0x1ebc78(0x102)]),_0x470cf1==_0x974b73?this[_0x1ebc78(0x10c)](_0x321edd,_0x565d2d):this[_0x1ebc78(0xd2)](_0x321edd,_0x565d2d);}}}return this[_0x1ebc78(0xd3)](_0x321edd);}[_0x2bb72d(0xc5)](_0x1fb2ad){const _0x503ae3=_0x2bb72d;this[_0x503ae3(0xb8)][_0x503ae3(0xe9)](_0x1fb2ad);}[_0x2bb72d(0x112)](_0x5db9e2,_0x2b1d61,_0x50a9f9=_0x19ef2f[_0x2bb72d(0xee)]){const _0x29119a=_0x2bb72d;_0x29119a(0xed)==typeof _0x5db9e2?_0x45de8a(this[_0x29119a(0x116)],{'matchingCallback':_0x5db9e2,'label':_0x2b1d61,'priority':_0x50a9f9}):this[_0x29119a(0x110)][_0x29119a(0xc0)](_0x5db9e2,_0x2b1d61);}[_0x2bb72d(0xf0)](_0xe43e63,_0x3a81e8){const _0x5e59a3=_0x2bb72d;this[_0x5e59a3(0xb9)][_0x5e59a3(0xc0)](_0xe43e63,_0x3a81e8);}[_0x2bb72d(0xc3)](_0x36b007,_0x4d2eca=0x1){const _0x1875bd=_0x2bb72d;let _0x555b75;for(const _0x250b8b of this[_0x1875bd(0x116)])if(_0x250b8b[_0x1875bd(0xf4)](_0x36b007)){_0x555b75=_0x250b8b[_0x1875bd(0xb7)];break;}return _0x555b75||(_0x555b75=this[_0x1875bd(0x110)][_0x1875bd(0xd5)](_0x36b007[_0x1875bd(0x100)])),_0x555b75?_0x555b75(_0x4d2eca):0x1!==_0x4d2eca?_0x4d2eca+'\x20'+_0x36b007[_0x1875bd(0x100)]+'s':''+_0x36b007[_0x1875bd(0x100)];}[_0x2bb72d(0xb6)](_0x5650a3,_0x306455){const _0x2f454f=_0x2bb72d,_0x5924bd=_0x306455[_0x2f454f(0xbb)]()[_0x2f454f(0x107)](),_0x16ac5c=_0x2f454f(0xe4)==_0x306455[_0x2f454f(0xec)]?_0x2f454f(0x114):_0x2f454f(0x117);for(const _0x51ce1f of _0x5924bd){const _0x472fbb=_0x51ce1f[_0x2f454f(0xcc)],_0x47ce06=_0x5650a3[_0x5650a3[_0x2f454f(0x10d)]-0x1];if(_0x472fbb['is'](_0x2f454f(0xfc)))_0x47ce06&&_0x47ce06[_0x2f454f(0xec)][_0x2f454f(0x105)](_0x2f454f(0xe5))>-0x1&&_0x5650a3[_0x2f454f(0xbf)](),_0x47ce06&&_0x2f454f(0xbe)==_0x47ce06[_0x2f454f(0xec)]?_0x47ce06[_0x16ac5c]+=_0x472fbb[_0x2f454f(0x106)]:_0x5650a3[_0x2f454f(0xe9)]({'type':_0x2f454f(0xbe),'add':_0x2f454f(0x114)==_0x16ac5c?_0x472fbb[_0x2f454f(0x106)]:'','remove':_0x2f454f(0x117)==_0x16ac5c?_0x472fbb[_0x2f454f(0x106)]:''});else{if(this[_0x2f454f(0x113)][_0x2f454f(0xc7)](_0x472fbb)){const _0x46a840=_0x472fbb;if(_0x47ce06&&_0x47ce06[_0x2f454f(0xec)][_0x2f454f(0x105)](_0x2f454f(0xe5))>-0x1&&_0x5650a3[_0x2f454f(0xbf)](),_0x2f454f(0xd7)==_0x51ce1f[_0x2f454f(0xec)])continue;_0x47ce06&&_0x47ce06[_0x2f454f(0xec)]==_0x16ac5c+_0x2f454f(0xf2)&&_0x47ce06[_0x2f454f(0xe2)][_0x2f454f(0x100)]==_0x46a840[_0x2f454f(0x100)]?_0x47ce06[_0x2f454f(0xda)]++:_0x5650a3[_0x2f454f(0xe9)]({'type':_0x16ac5c+_0x2f454f(0xf2),'element':_0x46a840,'quantity':0x1}),_0x5924bd[_0x2f454f(0xd4)](_0x1de582=>!(_0x2f454f(0xd7)==_0x1de582[_0x2f454f(0xec)]&&_0x1de582[_0x2f454f(0xcc)]==_0x472fbb));}else{if(this[_0x2f454f(0x113)][_0x2f454f(0xfd)](_0x472fbb,_0x2f454f(0xf8))||_0x472fbb['is'](_0x2f454f(0xe2),_0x2f454f(0xe6))){const _0xf8861b=_0x472fbb;if(_0x2f454f(0x114)==_0x16ac5c&&_0x2f454f(0xc9)==_0x51ce1f[_0x2f454f(0xec)]||_0x2f454f(0x117)==_0x16ac5c&&_0x2f454f(0xd7)==_0x51ce1f[_0x2f454f(0xec)])continue;if(_0x47ce06&&-0x1==_0x47ce06[_0x2f454f(0xec)][_0x2f454f(0x105)](_0x2f454f(0xe5))){_0x2f454f(0xbe)==_0x47ce06[_0x2f454f(0xec)]&&(_0x47ce06[_0x16ac5c]+='\x0a');continue;}let _0x207a4c;if(_0x207a4c=_0x2f454f(0x114)==_0x16ac5c?_0xf8861b[_0x2f454f(0xdc)]&&!this[_0x2f454f(0x113)][_0x2f454f(0xc7)](_0xf8861b[_0x2f454f(0xdc)])?_0xf8861b[_0x2f454f(0xdc)]:null:_0xf8861b[_0x2f454f(0xff)]&&!this[_0x2f454f(0x113)][_0x2f454f(0xc7)](_0xf8861b[_0x2f454f(0xff)])?_0xf8861b[_0x2f454f(0xff)]:null,_0xf8861b[_0x2f454f(0x104)]||_0x207a4c&&_0x207a4c[_0x2f454f(0x104)]){const _0x96cc0d=_0x207a4c&&_0x207a4c[_0x2f454f(0x104)]?_0x207a4c:_0xf8861b;_0x47ce06&&_0x47ce06[_0x2f454f(0xec)]==_0x16ac5c+_0x2f454f(0xf5)&&_0x47ce06[_0x2f454f(0xe2)][_0x2f454f(0x100)]==_0x96cc0d[_0x2f454f(0x100)]?_0x47ce06[_0x2f454f(0xda)]++:_0x5650a3[_0x2f454f(0xe9)]({'type':_0x16ac5c+_0x2f454f(0xf5),'element':_0x96cc0d,'quantity':0x1});}else _0x5650a3[_0x2f454f(0xe9)]({'type':_0x16ac5c+_0x2f454f(0xe5),'element':_0xf8861b});}}}}}[_0x2bb72d(0xd3)](_0x425cd1){const _0x3b201a=_0x2bb72d,_0x1f12bf=this[_0x3b201a(0x10e)],_0x5b0be2=[],_0x3fb0cb=[],_0x13f505=[];for(const _0x20b576 of _0x425cd1)switch(_0x20b576[_0x3b201a(0xec)]){case _0x3b201a(0xbe):if(_0x20b576[_0x3b201a(0x114)]=_0x20b576[_0x3b201a(0x114)][_0x3b201a(0xf1)](/(\S)\u000A+(\S)/g,_0x3b201a(0xd8))[_0x3b201a(0xf1)](/\u000A/g,''),_0x20b576[_0x3b201a(0x117)]=_0x20b576[_0x3b201a(0x117)][_0x3b201a(0xf1)](/(\S)\u000A+(\S)/g,_0x3b201a(0xd8))[_0x3b201a(0xf1)](/\u000A/g,''),''!=_0x20b576[_0x3b201a(0x114)]&&''!=_0x20b576[_0x3b201a(0x117)]){_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xf1),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xce),['\x22'+_0x20b576[_0x3b201a(0x117)]+'\x22','\x22'+_0x20b576[_0x3b201a(0x114)]+'\x22'])});continue;}if(null!=_0x20b576[_0x3b201a(0x114)][_0x3b201a(0x10a)](/^ +$/)){_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe4),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xde),_0x357ac2(_0x1f12bf,_0x3b201a(0xea),_0x20b576[_0x3b201a(0x114)][_0x3b201a(0x10d)]))});continue;}if(null!=_0x20b576[_0x3b201a(0x117)][_0x3b201a(0x10a)](/^ +$/)){_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe7),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xdf),_0x357ac2(_0x1f12bf,_0x3b201a(0xea),_0x20b576[_0x3b201a(0x117)][_0x3b201a(0x10d)]))});continue;}if(''!=_0x20b576[_0x3b201a(0x114)]){_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe4),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xde),'\x22'+_0x20b576[_0x3b201a(0x114)]+'\x22')});continue;}_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe7),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xdf),'\x22'+_0x20b576[_0x3b201a(0x117)]+'\x22')});continue;case _0x3b201a(0xe8):case _0x3b201a(0xc6):_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe4),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xde),this[_0x3b201a(0xc3)](_0x20b576[_0x3b201a(0xe2)],_0x20b576[_0x3b201a(0xda)]))});continue;case _0x3b201a(0xeb):case _0x3b201a(0x103):_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe7),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xdf),this[_0x3b201a(0xc3)](_0x20b576[_0x3b201a(0xe2)],_0x20b576[_0x3b201a(0xda)]))});continue;case _0x3b201a(0xd0):_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe4),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xc4),this[_0x3b201a(0xc3)](_0x20b576[_0x3b201a(0xe2)],_0x20b576[_0x3b201a(0xda)]))});continue;case _0x3b201a(0xf3):_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xe7),'content':_0x357ac2(_0x1f12bf,_0x3b201a(0xcb),this[_0x3b201a(0xc3)](_0x20b576[_0x3b201a(0xe2)],_0x20b576[_0x3b201a(0xda)]))});continue;case _0x3b201a(0x10f):_0x3fb0cb[_0x3b201a(0xe9)](_0x20b576[_0x3b201a(0x102)]);continue;case _0x3b201a(0xfe):_0x13f505[_0x3b201a(0xe9)](_0x20b576[_0x3b201a(0x102)]);continue;default:_0x5b0be2[_0x3b201a(0xe9)](_0x20b576);}if(_0x3fb0cb[_0x3b201a(0x10d)]){const _0x42915a=_0x3fb0cb[_0x3b201a(0xd6)](_0x8fd772=>this[_0x3b201a(0xb9)][_0x3b201a(0xe3)](_0x8fd772)?this[_0x3b201a(0xb9)][_0x3b201a(0xd5)](_0x8fd772):_0x8fd772)[_0x3b201a(0xc1)](',\x20');_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xfa),'content':_0x357ac2(this[_0x3b201a(0x10e)],_0x3b201a(0xf7),_0x42915a)});}if(_0x13f505[_0x3b201a(0x10d)]){const _0x1c1aa1=_0x13f505[_0x3b201a(0xd6)](_0x1a06f0=>this[_0x3b201a(0xb9)][_0x3b201a(0xe3)](_0x1a06f0)?this[_0x3b201a(0xb9)][_0x3b201a(0xd5)](_0x1a06f0):_0x1a06f0)[_0x3b201a(0xc1)](',\x20');_0x5b0be2[_0x3b201a(0xe9)]({'type':_0x3b201a(0xfa),'content':_0x357ac2(this[_0x3b201a(0x10e)],_0x3b201a(0x111),_0x1c1aa1)});}return _0x5b0be2;}[_0x2bb72d(0x108)](_0x26d50d){const _0x259c9d=_0x2bb72d;for(const _0x2987ed of this[_0x259c9d(0xb8)]){const _0x269f53=_0x2987ed(_0x26d50d);if(_0x269f53&&_0x259c9d(0xec)in _0x269f53)return _0x269f53;}}[_0x2bb72d(0xd2)](_0xc12a78,_0x4973d3){const _0x2bcdc7=_0x2bb72d,_0x587145=_0x4973d3[_0x2bcdc7(0x106)],_0x5ca9b1=void 0x0===_0x587145[_0x2bcdc7(0xf6)]?_0x2bcdc7(0xfe):_0x2bcdc7(0x10f);_0xc12a78[_0x2bcdc7(0xe9)]({'type':_0x5ca9b1,'key':_0x587145[_0x2bcdc7(0x102)]});}[_0x2bb72d(0x10c)](_0x5b6f35,_0xbe53ef){const _0x24057a=_0x2bb72d;_0x5b6f35[_0x24057a(0xe9)]({'type':_0x24057a(0xfa),'content':_0x357ac2(this[_0x24057a(0x10e)],_0x24057a(0xbd),this[_0x24057a(0xc3)](_0xbe53ef[_0x24057a(0xbb)]()[_0x24057a(0xdb)][_0x24057a(0xf9)],0x1))});}[_0x2bb72d(0x101)](_0x61fc81,_0x99eb60,_0x18abb4){const _0x1dfe76=_0x2bb72d;if(this[_0x1dfe76(0xb6)](_0x61fc81,_0x99eb60),_0x18abb4&&_0x18abb4[_0x1dfe76(0xbb)]()&&!_0x99eb60[_0x1dfe76(0xbb)]()[_0x1dfe76(0xe1)][_0x1dfe76(0xbc)](_0x18abb4[_0x1dfe76(0xbb)]()[_0x1dfe76(0xdb)])){const _0x46272d=_0x61fc81[_0x61fc81[_0x1dfe76(0x10d)]-0x1],_0x183e42=_0x1dfe76(0xe4)==_0x99eb60[_0x1dfe76(0xec)]?_0x1dfe76(0x114):_0x1dfe76(0x117);_0x46272d&&_0x1dfe76(0xbe)==_0x46272d[_0x1dfe76(0xec)]&&(_0x46272d[_0x183e42]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x18d8da=_0x5699;(function(_0x3ab903,_0xd9f631){var _0x432962=_0x5699,_0x4e14ce=_0x3ab903();while(!![]){try{var _0x5eeed6=-parseInt(_0x432962(0x92))/0x1+parseInt(_0x432962(0x99))/0x2*(parseInt(_0x432962(0x9d))/0x3)+-parseInt(_0x432962(0x91))/0x4*(-parseInt(_0x432962(0x8a))/0x5)+parseInt(_0x432962(0x89))/0x6+parseInt(_0x432962(0x8f))/0x7*(parseInt(_0x432962(0x8d))/0x8)+-parseInt(_0x432962(0x96))/0x9+parseInt(_0x432962(0x97))/0xa*(-parseInt(_0x432962(0x88))/0xb);if(_0x5eeed6===_0xd9f631)break;else _0x4e14ce['push'](_0x4e14ce['shift']());}catch(_0x27bcde){_0x4e14ce['push'](_0x4e14ce['shift']());}}}(_0x2587,0xeb5dc));import{Plugin as _0x548dca}from'ckeditor5/src/core.js';function _0x2587(){var _0x970fd5=['getSuggestions','12865437PTvjZa','167160pRtvQk','editor','1888934SggkGR','addSuggestion','getSuggestion','addSuggestionData','3NZIJzC','requires','55IArCuZ','3120390IPtszG','7687780bXzriA','pluginName','adapter','1855440qOxWhV','TrackChanges','35ngvRqN','Comments','4QJelKP','1684605DnGqGC','plugins','get'];_0x2587=function(){return _0x970fd5;};return _0x2587();}import _0x8b70e5 from'./trackchangesui.js';function _0x5699(_0x3feb96,_0x14a934){var _0x258726=_0x2587();return _0x5699=function(_0x56997f,_0x3f5679){_0x56997f=_0x56997f-0x88;var _0x228bcc=_0x258726[_0x56997f];return _0x228bcc;},_0x5699(_0x3feb96,_0x14a934);}import _0x66641d from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x548dca{static get[_0x18d8da(0x9e)](){var _0x4d8c12=_0x18d8da;return[_0x66641d,_0x8b70e5,_0x4d8c12(0x90)];}static get[_0x18d8da(0x8b)](){var _0x1f74bd=_0x18d8da;return _0x1f74bd(0x8e);}set[_0x18d8da(0x8c)](_0x37a8f1){var _0x13cd9e=_0x18d8da;this[_0x13cd9e(0x98)][_0x13cd9e(0x93)][_0x13cd9e(0x94)](_0x66641d)[_0x13cd9e(0x8c)]=_0x37a8f1;}get[_0x18d8da(0x8c)](){var _0xa3c50b=_0x18d8da;return this[_0xa3c50b(0x98)][_0xa3c50b(0x93)][_0xa3c50b(0x94)](_0x66641d)[_0xa3c50b(0x8c)];}[_0x18d8da(0x9a)](_0x62dffd){var _0x1cd6c5=_0x18d8da;return this[_0x1cd6c5(0x98)][_0x1cd6c5(0x93)][_0x1cd6c5(0x94)](_0x66641d)[_0x1cd6c5(0x9c)](_0x62dffd);}[_0x18d8da(0x95)]({skipNotAttached:_0x4dcd7b=!0x1,toJSON:_0x17217f=!0x1}={}){var _0x5f3ccc=_0x18d8da;return this[_0x5f3ccc(0x98)][_0x5f3ccc(0x93)][_0x5f3ccc(0x94)](_0x66641d)[_0x5f3ccc(0x95)]({'skipNotAttached':_0x4dcd7b,'toJSON':_0x17217f});}[_0x18d8da(0x9b)](_0x3355b3){var _0x25b0a0=_0x18d8da;return this[_0x25b0a0(0x98)][_0x25b0a0(0x93)][_0x25b0a0(0x94)](_0x66641d)[_0x25b0a0(0x9b)](_0x3355b3);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d6b99=_0x6ecd;(function(_0xbcf1d7,_0x3b2d24){const _0x2d1252=_0x6ecd,_0x51dc51=_0xbcf1d7();while(!![]){try{const _0x511214=parseInt(_0x2d1252(0x131))/0x1+-parseInt(_0x2d1252(0x106))/0x2*(parseInt(_0x2d1252(0x10b))/0x3)+parseInt(_0x2d1252(0x10e))/0x4*(-parseInt(_0x2d1252(0xfb))/0x5)+-parseInt(_0x2d1252(0xfd))/0x6+-parseInt(_0x2d1252(0x129))/0x7+-parseInt(_0x2d1252(0x101))/0x8*(-parseInt(_0x2d1252(0x116))/0x9)+parseInt(_0x2d1252(0x11c))/0xa*(parseInt(_0x2d1252(0x130))/0xb);if(_0x511214===_0x3b2d24)break;else _0x51dc51['push'](_0x51dc51['shift']());}catch(_0x4fbbbf){_0x51dc51['push'](_0x51dc51['shift']());}}}(_0x221e,0x482ac));function _0x6ecd(_0x1f0ede,_0xfb32e5){const _0x221ea0=_0x221e();return _0x6ecd=function(_0x6ecd57,_0x14bc14){_0x6ecd57=_0x6ecd57-0xf4;let _0x30d090=_0x221ea0[_0x6ecd57];return _0x30d090;},_0x6ecd(_0x1f0ede,_0xfb32e5);}import{Plugin as _0xc9e6ca}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c730f}from'ckeditor5/src/utils.js';import _0x503778 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3e3a44}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x221e(){const _0x2f1633=['users','createElement','getRootsAttributes','488108xjmdfk','reduce','getCommentThreads','requires','getRootNames','6qfnwmE','trackChangesData','discardAllSuggestions','21212BkJMyA','config','model','getDataWithAcceptedSuggestions','define','execute','TrackChangesEditing','document','331794VPjzjy','addCommentThread','set','trackChangesData.editorCreator','create','getUser','10JwwDcH','getDataWithDiscardedSuggestions','plugins','Pagination','TrackChangesDataGetter','pluginName','acceptAllSuggestions','Users','init','div','getSuggestions','get','getFullData','3904026koNQNI','track-changes-data-invalid-editor-creator','rootsAttributes','addUser','useAnonymousUser','result','TrackChangesData','8886361EImHii','374496nUszTE','constructor','CommentsRepository','function','_adapter','editorCreator','destroy','appendChild','name','createDocumentFragment','push','45JlPsbO','editor','1855932ONCkfY','end','addSuggestionData','data','112aClPeS','map'];_0x221e=function(){return _0x2f1633;};return _0x221e();}const T=[_0x2d6b99(0x11f)];export default class P extends _0xc9e6ca{static get[_0x2d6b99(0x109)](){return[_0x503778];}static get[_0x2d6b99(0x121)](){const _0x1bfc28=_0x2d6b99;return _0x1bfc28(0x12f);}[_0x2d6b99(0x124)](){const _0x5a899e=_0x2d6b99,_0x349b8f=this[_0x5a899e(0xfc)];if(_0x349b8f[_0x5a899e(0x10f)][_0x5a899e(0x112)](_0x5a899e(0x119),_0x2c3d48=>{const _0x72a1db=_0x5a899e,_0x242369=_0x349b8f[_0x72a1db(0x110)][_0x72a1db(0x115)][_0x72a1db(0x10a)]()[_0x72a1db(0x107)]((_0x50a089,_0x49b08b)=>(_0x50a089[_0x49b08b]='',_0x50a089),{});return _0x349b8f[_0x72a1db(0x132)][_0x72a1db(0x11a)](_0x242369,_0x2c3d48);}),_0x5a899e(0x134)!=typeof _0x349b8f[_0x5a899e(0x10f)][_0x5a899e(0x127)](_0x5a899e(0x10c))[_0x5a899e(0xf5)])throw new _0x5c730f(_0x5a899e(0x12a));}[_0x2d6b99(0x111)](_0x5ab309){const _0x39681c=_0x2d6b99;return N(this[_0x39681c(0xfc)],!0x0,_0x5ab309);}[_0x2d6b99(0x11d)](_0x1e5357){const _0x23b4bd=_0x2d6b99;return N(this[_0x23b4bd(0xfc)],!0x1,_0x1e5357);}}class D extends _0xc9e6ca{static get[_0x2d6b99(0x121)](){const _0x539b2d=_0x2d6b99;return _0x539b2d(0x120);}constructor(_0x20f487){const _0x8d8efb=_0x2d6b99;super(_0x20f487),this[_0x8d8efb(0x12e)]=_0x8d8efb(0xfe);}[_0x2d6b99(0x124)](){const _0x2e306f=_0x2d6b99;this[_0x2e306f(0xfc)][_0x2e306f(0x11e)][_0x2e306f(0x127)](_0x2e306f(0x133))[_0x2e306f(0xf4)]={'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[_0x2e306f(0xfc)][_0x2e306f(0x11e)][_0x2e306f(0x127)](_0x2e306f(0x114))[_0x2e306f(0xf4)]=null;}}function v(_0x325315){const _0x5097e8=_0x2d6b99;return void 0x0!==_0x325315[_0x5097e8(0x105)];}async function N(_0x1f4f37,_0x25ea1f,_0x29d3af){const _0x266bf6=_0x2d6b99,_0x1a41df=_0x3e3a44(_0x1f4f37,T);_0x1a41df[_0x266bf6(0x11e)][_0x266bf6(0xfa)](_0x503778,D),_0x1a41df[_0x266bf6(0x12b)]=v(_0x1f4f37)?_0x1f4f37[_0x266bf6(0x105)]():void 0x0;const _0x5468b5=document[_0x266bf6(0xf9)](),_0x541bb2=_0x1f4f37[_0x266bf6(0x10f)][_0x266bf6(0x127)](_0x266bf6(0x10c))[_0x266bf6(0xf5)],_0x12ba34=await _0x541bb2(_0x1a41df,()=>function(_0x29d3d4){const _0x3635b6=_0x266bf6,_0x41c105=document[_0x3635b6(0x104)](_0x3635b6(0x125));return _0x29d3d4[_0x3635b6(0xf7)](_0x41c105),_0x41c105;}(_0x5468b5));!function(_0x1f2a46,_0xa022a7){const _0x1678b6=_0x266bf6,_0x3488fa=_0x1f2a46[_0x1678b6(0x110)][_0x1678b6(0x115)][_0x1678b6(0x10a)]()[_0x1678b6(0x107)]((_0x58712c,_0xb6a45b)=>(_0x58712c[_0xb6a45b]=_0x1f2a46[_0x1678b6(0x100)][_0x1678b6(0x127)]({'rootName':_0xb6a45b}),_0x58712c),{}),_0x10570b=_0x1f2a46[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x123))[_0x1678b6(0x103)][_0x1678b6(0x102)](_0x1d4aa1=>({'id':_0x1d4aa1['id'],'name':_0x1d4aa1[_0x1678b6(0xf8)]})),_0x4d6e90=_0x1f2a46[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x114))[_0x1678b6(0x126)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x279dfd=_0x1f2a46[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x133))[_0x1678b6(0x108)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x2f4130=_0xa022a7[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x123)),_0x2660f9=_0xa022a7[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x114)),_0x24ff8e=_0xa022a7[_0x1678b6(0x11e)][_0x1678b6(0x127)](_0x1678b6(0x133));for(const _0x7d3495 of _0x10570b)_0x2f4130[_0x1678b6(0x11b)](_0x7d3495['id'])||_0x2f4130[_0x1678b6(0x12c)](_0x7d3495);_0x2f4130['me']||_0x2f4130[_0x1678b6(0x12d)]();for(const _0x453945 of _0x279dfd)_0x24ff8e[_0x1678b6(0x117)](_0x453945);for(const _0x76f78a of _0x4d6e90)_0x2660f9[_0x1678b6(0xff)](_0x76f78a);_0xa022a7[_0x1678b6(0x100)][_0x1678b6(0x118)](_0x3488fa);}(_0x1f4f37,_0x12ba34),_0x12ba34[_0x266bf6(0x113)](_0x25ea1f?_0x266bf6(0x122):_0x266bf6(0x10d));const _0x3e2a97=v(_0x12ba34)?_0x12ba34[_0x266bf6(0x128)](_0x29d3af):_0x12ba34[_0x266bf6(0x100)][_0x266bf6(0x127)](_0x29d3af);return await _0x12ba34[_0x266bf6(0xf6)](),_0x3e2a97;}
|