@ckeditor/ckeditor5-track-changes 42.0.0-alpha.2 → 42.0.0-alpha.21
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 _0x172f85=_0x2b5c;(function(_0x2b6c59,_0x4cb2e2){const _0x26c992=_0x2b5c,_0x20d485=_0x2b6c59();while(!![]){try{const _0x40328b=parseInt(_0x26c992(0x1db))/0x1*(-parseInt(_0x26c992(0x20f))/0x2)+parseInt(_0x26c992(0x219))/0x3+parseInt(_0x26c992(0x1d3))/0x4+parseInt(_0x26c992(0x1d8))/0x5+parseInt(_0x26c992(0x1f9))/0x6*(-parseInt(_0x26c992(0x1f1))/0x7)+parseInt(_0x26c992(0x1df))/0x8+-parseInt(_0x26c992(0x1cb))/0x9;if(_0x40328b===_0x4cb2e2)break;else _0x20d485['push'](_0x20d485['shift']());}catch(_0x4b64e7){_0x20d485['push'](_0x20d485['shift']());}}}(_0x1cd1,0x80e41));import{Plugin as _0xc814fd}from'ckeditor5/src/core.js';import _0x73930 from'./table.js';import{LiveRange as _0x3fe06a}from'ckeditor5/src/engine.js';import{getTranslation as _0x70dc34}from'../utils/common-translations.js';function _0x2b5c(_0x5b404a,_0x43221d){const _0x1cd1e8=_0x1cd1();return _0x2b5c=function(_0x2b5c53,_0xb389a0){_0x2b5c53=_0x2b5c53-0x1ba;let _0xb25b40=_0x1cd1e8[_0x2b5c53];return _0xb25b40;},_0x2b5c(_0x5b404a,_0x43221d);}function _0x1cd1(){const _0x4d418b=['getAncestors','stop','getSuggestions','*Split\x20cell:*\x20horizontally','format','return','createRangeOn','commandName','tableCell','_areSelectedCellsMergable','descriptionFactory','getFirstPosition','type','$graveyard','change','forceDefaultExecution','refresh','9730656TQfLIn','horizontally','setSelection','value','length','requires','TrackChangesEditing','low','1216372RifYfm','formatInline','registerDescriptionCallback','isEnabled','_areMergableCells','4952480tszKGW','add','rootName','39FJoYZw','markBlockFormat','isInContent','*Merge\x20cells*','8222648ltxOBZ','getCellLocation','element','execute','from','TableUtils','model','fromRange','author','deletion','afterInit','_suggestionFactory','mergeTableCells','_acceptFormatSuggestionCallbackFactory','cell','splitTableCellVertically','document','root','4526963dHIFPu','editor','*Split\x20cell:*\x20vertically','enableCommand','commands','createTableWalker','map','set:isEnabled','6CqrBHR','mergeTableCellLeft','findAncestor','plugins','mergeTableCellRight','_isForcedDefaultExecutionBlock','containsRange','get','detach','splitTableCellHorizontally','highest','direction','registerCustomCallback','markMultiRangeBlockFormat','table','find','subType','formatBlock','has','locale','mergeTableCellDown','filter','20294sDsvXK','getRanges','accept','size','getSelectionAffectedTableCells','trackChanges','selection','push','insertion','_tablePostFixingSubtypes','987429TclBIS','TableEditing','mergeTableCellUp'];_0x1cd1=function(){return _0x4d418b;};return _0x1cd1();}export default class St extends _0xc814fd{static get[_0x172f85(0x1d0)](){return[_0x73930];}[_0x172f85(0x1e9)](){const _0x1502c6=_0x172f85,_0x281a6f=this[_0x1502c6(0x1f2)],_0xd529ef=_0x281a6f[_0x1502c6(0x1e5)][_0x1502c6(0x1ef)][_0x1502c6(0x215)],_0x2e7d12=_0x281a6f[_0x1502c6(0x20c)];if(!_0x281a6f[_0x1502c6(0x1fc)][_0x1502c6(0x20b)](_0x1502c6(0x21a)))return;const _0x3f9788=_0x281a6f[_0x1502c6(0x1fc)][_0x1502c6(0x200)](_0x1502c6(0x1d1)),_0x11fc35=_0x281a6f[_0x1502c6(0x1fc)][_0x1502c6(0x200)](_0x1502c6(0x1e4)),_0x2641bf=_0x281a6f[_0x1502c6(0x1fc)][_0x1502c6(0x200)](_0x73930);_0x2641bf[_0x1502c6(0x218)][_0x1502c6(0x216)](_0x1502c6(0x1eb)),_0x3f9788[_0x1502c6(0x1f4)](_0x1502c6(0x1eb),()=>{const _0x47f01=_0x1502c6,_0x515f25=_0x11fc35[_0x47f01(0x213)](_0x281a6f[_0x47f01(0x1e5)][_0x47f01(0x1ef)][_0x47f01(0x215)]);_0x281a6f[_0x47f01(0x1e5)][_0x47f01(0x1c8)](()=>{const _0x955602=_0x47f01;_0x3f9788[_0x955602(0x206)](_0x515f25,{'commandName':_0x955602(0x1eb),'commandParams':[]},[],_0x955602(0x1eb));});}),_0x281a6f[_0x1502c6(0x1f5)][_0x1502c6(0x200)](_0x1502c6(0x1eb))['on'](_0x1502c6(0x1e2),(_0x552e04,_0x575030)=>{const _0x283f50=_0x1502c6;_0x281a6f[_0x283f50(0x1f5)][_0x283f50(0x200)](_0x283f50(0x214))[_0x283f50(0x1ce)]&&(_0x575030[_0x283f50(0x1cf)]>0x0&&_0x575030[_0x575030[_0x283f50(0x1cf)]-0x1]&&_0x575030[_0x575030[_0x283f50(0x1cf)]-0x1][_0x283f50(0x1c9)]||_0x3f9788[_0x283f50(0x1fe)]||this[_0x283f50(0x1c3)]()||_0x552e04[_0x283f50(0x1bb)]());},{'priority':_0x1502c6(0x203)});for(const _0x49868b of[_0x1502c6(0x21b),_0x1502c6(0x1fd),_0x1502c6(0x20d),_0x1502c6(0x1fa)]){const _0x2a29a5=_0x281a6f[_0x1502c6(0x1f5)][_0x1502c6(0x200)](_0x49868b);_0x3f9788[_0x1502c6(0x1f4)](_0x49868b,()=>{const _0x45d109=_0x1502c6,_0x5c8369=_0x281a6f[_0x45d109(0x1e5)][_0x45d109(0x1ef)][_0x45d109(0x215)][_0x45d109(0x1c5)]()[_0x45d109(0x1ba)]()[_0x45d109(0x208)](_0x3abb41=>_0x3abb41['is'](_0x45d109(0x1e1),_0x45d109(0x1c2))),_0x40d617=_0x2a29a5[_0x45d109(0x1ce)];_0x281a6f[_0x45d109(0x1e5)][_0x45d109(0x1c8)](()=>{const _0xf296b8=_0x45d109;_0x3f9788[_0xf296b8(0x206)]([_0x5c8369,_0x40d617],{'commandName':_0xf296b8(0x1eb),'commandParams':[]},[],_0xf296b8(0x1eb));});});}for(const _0x24bd16 of[_0x1502c6(0x1ee),_0x1502c6(0x202)]){const _0x2c22c8=_0x281a6f[_0x1502c6(0x1f5)][_0x1502c6(0x200)](_0x24bd16);_0x3f9788[_0x1502c6(0x1f4)](_0x24bd16,()=>{const _0x1d6614=_0x1502c6,_0x1b7db1=_0x11fc35[_0x1d6614(0x213)](_0x281a6f[_0x1d6614(0x1e5)][_0x1d6614(0x1ef)][_0x1d6614(0x215)])[0x0],_0x5a41ff=_0x1b7db1[_0x1d6614(0x1fb)](_0x1d6614(0x207)),{column:_0x25b0a6,row:_0x14cbea}=_0x11fc35[_0x1d6614(0x1e0)](_0x1b7db1);let _0x441a89=[];if(_0x1d6614(0x1cc)==_0x2c22c8[_0x1d6614(0x204)]){const _0x3caaa6=_0x11fc35[_0x1d6614(0x1f6)](_0x5a41ff,{'startRow':_0x14cbea,'endRow':_0x14cbea,'includeAllSlots':!0x0});_0x441a89=Array[_0x1d6614(0x1e3)](_0x3caaa6)[_0x1d6614(0x1f7)](_0x3cccb4=>_0x3cccb4[_0x1d6614(0x1ed)]);}else{const _0x4a9d1b=_0x11fc35[_0x1d6614(0x1f6)](_0x5a41ff,{'column':_0x25b0a6,'includeAllSlots':!0x0});_0x441a89=Array[_0x1d6614(0x1e3)](_0x4a9d1b)[_0x1d6614(0x1f7)](_0x5c046f=>_0x5c046f[_0x1d6614(0x1ed)]);}_0x281a6f[_0x1d6614(0x1e5)][_0x1d6614(0x1c8)](_0x59066c=>{const _0x1a06e2=_0x1d6614;_0x3f9788[_0x1a06e2(0x1dc)](_0x59066c[_0x1a06e2(0x1c0)](_0x1b7db1),{'commandName':_0x24bd16,'commandParams':[]},_0x441a89,_0x24bd16);});});}_0x3f9788[_0x1502c6(0x1c4)][_0x1502c6(0x1d5)](_0x467899=>{const _0x2ee9ae=_0x1502c6;if(_0x2ee9ae(0x20a)!=_0x467899[_0x2ee9ae(0x1c6)]&&_0x2ee9ae(0x1d4)!=_0x467899[_0x2ee9ae(0x1c6)])return;const {data:_0x5d4b2d}=_0x467899;return _0x5d4b2d&&_0x2ee9ae(0x1eb)==_0x5d4b2d[_0x2ee9ae(0x1c1)]?{'type':_0x2ee9ae(0x1be),'content':_0x70dc34(_0x2e7d12,_0x2ee9ae(0x1de))}:void 0x0;}),_0x3f9788[_0x1502c6(0x1c4)][_0x1502c6(0x1d5)](_0x21581a=>{const _0x5f25c0=_0x1502c6;if(_0x5f25c0(0x20a)!=_0x21581a[_0x5f25c0(0x1c6)]&&_0x5f25c0(0x1d4)!=_0x21581a[_0x5f25c0(0x1c6)])return;const {data:_0x2ce56c}=_0x21581a;return _0x2ce56c?_0x5f25c0(0x1ee)==_0x2ce56c[_0x5f25c0(0x1c1)]?{'type':_0x5f25c0(0x1be),'content':_0x70dc34(_0x2e7d12,_0x5f25c0(0x1f3))}:_0x5f25c0(0x202)==_0x2ce56c[_0x5f25c0(0x1c1)]?{'type':_0x5f25c0(0x1be),'content':_0x70dc34(_0x2e7d12,_0x5f25c0(0x1bd))}:void 0x0:void 0x0;});const _0x4cfe6f=_0x2641bf[_0x1502c6(0x1ec)]();for(const _0x19d19d of[_0x1502c6(0x21b),_0x1502c6(0x1fd),_0x1502c6(0x20d),_0x1502c6(0x1fa)])_0x3f9788[_0x1502c6(0x1ea)][_0x1502c6(0x205)](_0x1502c6(0x20a),_0x19d19d,_0x1502c6(0x211),_0x4cfe6f);for(const _0x477fb7 of[_0x1502c6(0x1ee),_0x1502c6(0x202)])_0x3f9788[_0x1502c6(0x1ea)][_0x1502c6(0x205)](_0x1502c6(0x20a),_0x477fb7,_0x1502c6(0x211),_0x4cfe6f);_0x3f9788[_0x1502c6(0x1ea)][_0x1502c6(0x205)](_0x1502c6(0x20a),_0x1502c6(0x1eb),_0x1502c6(0x211),_0x19d69d=>{const _0xa1dc0c=_0x1502c6;_0x281a6f[_0xa1dc0c(0x1e5)][_0xa1dc0c(0x1c8)](_0x506b81=>{const _0x46154d=_0xa1dc0c,_0x591a67=Array[_0x46154d(0x1e3)](_0xd529ef[_0x46154d(0x210)]())[_0x46154d(0x1f7)](_0x523b2a=>_0x3fe06a[_0x46154d(0x1e6)](_0x523b2a));_0x506b81[_0x46154d(0x1cd)](_0x19d69d),_0x281a6f[_0x46154d(0x1f5)][_0x46154d(0x200)](_0x46154d(0x1eb))[_0x46154d(0x1ca)](),_0x281a6f[_0x46154d(0x1e2)](_0x46154d(0x1eb),{'forceDefaultExecution':!0x0});const _0x41f7d4=_0x591a67[_0x46154d(0x20e)](_0x23b808=>_0x46154d(0x1c7)!=_0x23b808[_0x46154d(0x1f0)][_0x46154d(0x1da)]);_0x41f7d4[_0x46154d(0x1cf)]>0x0&&_0x506b81[_0x46154d(0x1cd)](_0x41f7d4);for(const _0x583d63 of _0x591a67)_0x583d63[_0x46154d(0x201)]();});});for(const _0x2620a7 of[_0x1502c6(0x21b),_0x1502c6(0x20d),_0x1502c6(0x1fa),_0x1502c6(0x1fd)]){const _0x395ccf=_0x281a6f[_0x1502c6(0x1f5)][_0x1502c6(0x200)](_0x2620a7);_0x395ccf['on'](_0x1502c6(0x1f8),(_0x5bfac0,_0x54a997,_0x33b691)=>{const _0x24d3f5=_0x1502c6;if(_0x33b691){const _0x276e84=_0x281a6f[_0x24d3f5(0x1e5)][_0x24d3f5(0x1ef)][_0x24d3f5(0x215)][_0x24d3f5(0x1c5)]()[_0x24d3f5(0x1ba)]()[_0x24d3f5(0x208)](_0x4631b4=>_0x4631b4['is'](_0x24d3f5(0x1e1),_0x24d3f5(0x1c2)));this[_0x24d3f5(0x1d7)](_0x395ccf[_0x24d3f5(0x1ce)],_0x276e84)||(_0x5bfac0[_0x24d3f5(0x1bf)]=!0x1,_0x5bfac0[_0x24d3f5(0x1bb)]());}},{'priority':_0x1502c6(0x1d2)});}}[_0x172f85(0x1c3)](){const _0x3d916f=_0x172f85,_0x2cafe1=this[_0x3d916f(0x1f2)][_0x3d916f(0x1f5)][_0x3d916f(0x200)](_0x3d916f(0x1eb)),_0x5b5f0c=this[_0x3d916f(0x1f2)][_0x3d916f(0x1fc)][_0x3d916f(0x200)](_0x3d916f(0x1e4));if(!_0x2cafe1[_0x3d916f(0x1d6)])return!0x1;const _0x368c6f=_0x5b5f0c[_0x3d916f(0x213)](this[_0x3d916f(0x1f2)][_0x3d916f(0x1e5)][_0x3d916f(0x1ef)][_0x3d916f(0x215)]);for(const _0x14c55b of _0x368c6f)for(const _0x171623 of _0x368c6f)if(_0x14c55b!=_0x171623&&!this[_0x3d916f(0x1d7)](_0x14c55b,_0x171623))return!0x1;return!0x0;}[_0x172f85(0x1d7)](_0x7b7213,_0x4762ca){const _0x650284=_0x172f85,_0x4c5cce=this[_0x650284(0x1f2)][_0x650284(0x1fc)][_0x650284(0x200)](_0x650284(0x1d1)),_0x37796e=this[_0x650284(0x1f2)][_0x650284(0x1e5)][_0x650284(0x1c0)](_0x7b7213),_0x48366d=this[_0x650284(0x1f2)][_0x650284(0x1e5)][_0x650284(0x1c0)](_0x4762ca),_0xe45d92=new Set(),_0x2b0f06=new Set();for(const _0x1fdc72 of _0x4c5cce[_0x650284(0x1bc)]())if((_0x650284(0x217)==_0x1fdc72[_0x650284(0x1c6)]||_0x650284(0x1e8)==_0x1fdc72[_0x650284(0x1c6)]||_0x650284(0x1eb)==_0x1fdc72[_0x650284(0x209)])&&_0x1fdc72[_0x650284(0x1dd)]){for(const _0x107b45 of _0x1fdc72[_0x650284(0x210)]())_0x107b45[_0x650284(0x1ff)](_0x37796e,!0x0)&&_0xe45d92[_0x650284(0x1d9)](_0x1fdc72[_0x650284(0x1c6)]+':'+_0x1fdc72[_0x650284(0x1e7)]['id']),_0x107b45[_0x650284(0x1ff)](_0x48366d,!0x0)&&_0x2b0f06[_0x650284(0x1d9)](_0x1fdc72[_0x650284(0x1c6)]+':'+_0x1fdc72[_0x650284(0x1e7)]['id']);}if(_0xe45d92[_0x650284(0x212)]!=_0x2b0f06[_0x650284(0x212)])return!0x1;for(const _0x5d87de of _0xe45d92)if(!_0x2b0f06[_0x650284(0x20b)](_0x5d87de))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f0ce8=_0x1127;(function(_0x4c31cc,_0x316ed1){const _0x1c7463=_0x1127,_0x239671=_0x4c31cc();while(!![]){try{const _0x2f3590=parseInt(_0x1c7463(0xc0))/0x1*(-parseInt(_0x1c7463(0xc2))/0x2)+-parseInt(_0x1c7463(0xcf))/0x3+-parseInt(_0x1c7463(0xd0))/0x4*(-parseInt(_0x1c7463(0xc9))/0x5)+-parseInt(_0x1c7463(0xcc))/0x6*(-parseInt(_0x1c7463(0xbd))/0x7)+-parseInt(_0x1c7463(0xc5))/0x8+parseInt(_0x1c7463(0xbf))/0x9+-parseInt(_0x1c7463(0xd1))/0xa;if(_0x2f3590===_0x316ed1)break;else _0x239671['push'](_0x239671['shift']());}catch(_0x1305e2){_0x239671['push'](_0x239671['shift']());}}}(_0x3c00,0x7245e));function _0x3c00(){const _0x1f3a18=['registerElementLabel','33696HGBXqu','editor','plugins','48660FPuDdL','1295788tRmeDy','9132320CTUtbG','TrackChangesEditing','get','413zeqRXD','insertTableOfContents','4106421yCguOr','419PLHxUl','tableOfContents','58dxevFF','locale','enableCommand','206736XWfKlu','commands','ELEMENT_TABLE_OF_CONTENTS','descriptionFactory','10eKXvLC','afterInit'];_0x3c00=function(){return _0x1f3a18;};return _0x3c00();}import{Plugin as _0x524390}from'ckeditor5/src/core.js';function _0x1127(_0x4f083c,_0x1d5332){const _0x3c001d=_0x3c00();return _0x1127=function(_0x11271b,_0x2eac0a){_0x11271b=_0x11271b-0xbd;let _0x2fd5a9=_0x3c001d[_0x11271b];return _0x2fd5a9;},_0x1127(_0x4f083c,_0x1d5332);}import{getTranslation as _0x2c0bd0}from'../utils/common-translations.js';export default class _t extends _0x524390{[_0x1f0ce8(0xca)](){const _0x355e1c=_0x1f0ce8,_0x37fe85=this[_0x355e1c(0xcd)];if(!_0x37fe85[_0x355e1c(0xc6)][_0x355e1c(0xd3)](_0x355e1c(0xbe)))return;_0x37fe85[_0x355e1c(0xce)][_0x355e1c(0xd3)](_0x355e1c(0xd2))[_0x355e1c(0xc4)](_0x355e1c(0xbe));const _0x55a598=_0x37fe85[_0x355e1c(0xce)][_0x355e1c(0xd3)](_0x355e1c(0xd2)),_0x30a576=_0x37fe85[_0x355e1c(0xc3)];_0x55a598[_0x355e1c(0xc8)][_0x355e1c(0xcb)](_0x355e1c(0xc1),_0xdffe8f=>_0x2c0bd0(_0x30a576,_0x355e1c(0xc7),_0xdffe8f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x512f00=_0x5c96;function _0x5c96(_0x335fdf,_0x50caf6){const _0x300ec3=_0x300e();return _0x5c96=function(_0x5c9620,_0x4002bd){_0x5c9620=_0x5c9620-0x1e0;let _0x327d86=_0x300ec3[_0x5c9620];return _0x327d86;},_0x5c96(_0x335fdf,_0x50caf6);}(function(_0x14d4ad,_0x1b2efe){const _0x568a71=_0x5c96,_0x23e438=_0x14d4ad();while(!![]){try{const _0x58c725=parseInt(_0x568a71(0x209))/0x1*(-parseInt(_0x568a71(0x212))/0x2)+-parseInt(_0x568a71(0x224))/0x3*(-parseInt(_0x568a71(0x225))/0x4)+parseInt(_0x568a71(0x21e))/0x5+parseInt(_0x568a71(0x1f1))/0x6*(parseInt(_0x568a71(0x214))/0x7)+parseInt(_0x568a71(0x219))/0x8*(-parseInt(_0x568a71(0x1e6))/0x9)+-parseInt(_0x568a71(0x1e9))/0xa+parseInt(_0x568a71(0x205))/0xb*(-parseInt(_0x568a71(0x1f3))/0xc);if(_0x58c725===_0x1b2efe)break;else _0x23e438['push'](_0x23e438['shift']());}catch(_0xd2689){_0x23e438['push'](_0x23e438['shift']());}}}(_0x300e,0x79763));function _0x300e(){const _0x3a3910=['7YmPqAd','TrackChangesTableProperties','tableWidth','discard','tableCellWidth','45528zrsNRB','getFirstPosition','findAncestor','*Format:*\x20change\x20table\x20properties','tableProperties','2967475CnDaZf','tableCellHorizontalAlignment','handleSuggestionDescription','setAttribute','change','tableCellBorderStyle','1282317EfEQbs','8CSkDau','tableAlignment','commandParams','batch','accept','_getSuggestion','pluginName','afterInit','_suggestionFactory','locale','getContainedElement','data','document','getSelectionAffectedTableCells','descriptionFactory','TrackChangesEditing','tableBorderWidth','459ZKyEay','getAttribute','registerDescriptionCallback','4127300qjniKZ','tableCellProperties','start','model','join','tableCellVerticalAlignment','handleDiscardAction','getSuggestions','2241060QwkvHP','plugins','36fLYmvh','nodeAfter','getSuggestionCallback','tableCellPadding','tableBackgroundColor','enableCommand','tableCellBorderWidth','tableCellBorderColor','formatBlock','table','removeAttribute','editor','TablePropertiesEditing','get','TableUtils','tableCellHeight','*Format:*\x20change\x20table\x20cell\x20properties','markBlockFormat','2068957OzxKiI','format','registerCustomCallback','subType','4762SGiujy','TableCellPropertiesEditing','tableCellBackgroundColor','_handlePropertyChange','tableHeight','tableBorderStyle','tableBorderColor','enqueueChange','selection','24MGakJl','has'];_0x300e=function(){return _0x3a3910;};return _0x300e();}import{Plugin as _0x248fd6}from'ckeditor5/src/core.js';import{getTranslation as _0x57ddc8}from'../utils/common-translations.js';export default class $t extends _0x248fd6{constructor(_0x452267){const _0x3ddd74=_0x5c96;super(_0x452267),this[_0x3ddd74(0x21d)]=[_0x3ddd74(0x20f),_0x3ddd74(0x20e),_0x3ddd74(0x1e5),_0x3ddd74(0x226),_0x3ddd74(0x216),_0x3ddd74(0x20d),_0x3ddd74(0x1f7)],this[_0x3ddd74(0x1ea)]=[_0x3ddd74(0x1fa),_0x3ddd74(0x223),_0x3ddd74(0x1f9),_0x3ddd74(0x1f6),_0x3ddd74(0x218),_0x3ddd74(0x202),_0x3ddd74(0x20b),_0x3ddd74(0x21f),_0x3ddd74(0x1ee)];}static get[_0x512f00(0x22b)](){const _0x274498=_0x512f00;return _0x274498(0x215);}[_0x512f00(0x22c)](){const _0xa4199e=_0x512f00,_0x3849f4=this[_0xa4199e(0x1fe)][_0xa4199e(0x1f2)][_0xa4199e(0x200)](_0xa4199e(0x1e4));if(this[_0xa4199e(0x1fe)][_0xa4199e(0x1f2)][_0xa4199e(0x213)](_0xa4199e(0x1ff))){for(const _0x275e9d of this[_0xa4199e(0x21d)])_0x3849f4[_0xa4199e(0x1f8)](_0x275e9d,(_0x17fa05,_0x4b0909)=>{const _0x5456e3=_0xa4199e,_0x4d435a=this[_0x5456e3(0x1fe)][_0x5456e3(0x1ec)][_0x5456e3(0x1e1)][_0x5456e3(0x211)][_0x5456e3(0x21a)]()[_0x5456e3(0x21b)](_0x5456e3(0x1fc));this[_0x5456e3(0x20c)](_0x275e9d,[_0x4d435a],this[_0x5456e3(0x21d)],_0x5456e3(0x21d),_0x17fa05,_0x4b0909);});_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x21d),_0xa4199e(0x229),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x1f5)](_0xa4199e(0x1fb),null,_0xa4199e(0x217))),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x21d),_0xa4199e(0x217),(_0x5094ed,_0x27ae46)=>this[_0xa4199e(0x1ef)](this[_0xa4199e(0x21d)],_0x5094ed,_0x27ae46)),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x21d),_0xa4199e(0x1ed),()=>!0x1);}if(this[_0xa4199e(0x1fe)][_0xa4199e(0x1f2)][_0xa4199e(0x213)](_0xa4199e(0x20a))){for(const _0x3582c5 of this[_0xa4199e(0x1ea)])_0x3849f4[_0xa4199e(0x1f8)](_0x3582c5,(_0x411eb8,_0x4f1b66)=>{const _0x5518fe=_0xa4199e,_0x26c207=this[_0x5518fe(0x1fe)][_0x5518fe(0x1f2)][_0x5518fe(0x200)](_0x5518fe(0x201))[_0x5518fe(0x1e2)](this[_0x5518fe(0x1fe)][_0x5518fe(0x1ec)][_0x5518fe(0x1e1)][_0x5518fe(0x211)]);this[_0x5518fe(0x20c)](_0x3582c5,_0x26c207,this[_0x5518fe(0x1ea)],_0x5518fe(0x1ea),_0x411eb8,_0x4f1b66);});_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x1ea),_0xa4199e(0x229),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x1f5)](_0xa4199e(0x1fb),null,_0xa4199e(0x217))),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x1ea),_0xa4199e(0x217),(_0x5b2410,_0x55b5c7)=>this[_0xa4199e(0x1ef)](this[_0xa4199e(0x1ea)],_0x5b2410,_0x55b5c7)),_0x3849f4[_0xa4199e(0x22d)][_0xa4199e(0x207)](_0xa4199e(0x1fb),_0xa4199e(0x1ea),_0xa4199e(0x1ed),()=>!0x1);}_0x3849f4[_0xa4199e(0x1e3)][_0xa4199e(0x1e8)](_0x216ecd=>this[_0xa4199e(0x220)](_0x216ecd));}[_0x512f00(0x20c)](_0x2fb11b,_0x551e08,_0xde7203,_0x44b0a0,_0x474a1b,_0x498fd5){const _0x55bb2e=_0x512f00,_0x2dcd1c=this[_0x55bb2e(0x1fe)][_0x55bb2e(0x1f2)][_0x55bb2e(0x200)](_0x55bb2e(0x1e4));this[_0x55bb2e(0x1fe)][_0x55bb2e(0x1ec)][_0x55bb2e(0x210)](_0x498fd5[_0x55bb2e(0x228)],()=>{const _0x402989=_0x55bb2e;for(const _0x377a62 of _0x551e08){if(this[_0x402989(0x22a)](_0x377a62,_0x44b0a0))_0x474a1b(_0x498fd5);else{const _0x40f42a={};for(const _0x4260d1 of _0xde7203){const _0x19fc51=_0x377a62[_0x402989(0x1e7)](_0x4260d1);void 0x0!==_0x19fc51&&(_0x40f42a[_0x4260d1]=_0x19fc51);}_0x474a1b(_0x498fd5),_0x2dcd1c[_0x402989(0x204)](_0x377a62,{'commandParams':[_0x40f42a]},[],_0x44b0a0);}}});}[_0x512f00(0x1ef)](_0x51fe4b,_0x3c5b8b,_0x4b604d){const _0x43892a=_0x512f00,_0x20643e=_0x3c5b8b[0x0][_0x43892a(0x1eb)][_0x43892a(0x1f4)],_0x4389ed=_0x4b604d[_0x43892a(0x227)][0x0];this[_0x43892a(0x1fe)][_0x43892a(0x1ec)][_0x43892a(0x222)](_0x35c21b=>{const _0x22df40=_0x43892a;for(const _0x438d68 of _0x51fe4b)void 0x0!==_0x4389ed[_0x438d68]?_0x35c21b[_0x22df40(0x221)](_0x438d68,_0x4389ed[_0x438d68],_0x20643e):_0x35c21b[_0x22df40(0x1fd)](_0x438d68,_0x20643e);});}[_0x512f00(0x220)](_0x20d49f){const _0x55228e=_0x512f00;if(_0x20d49f[_0x55228e(0x1e0)])switch(_0x20d49f[_0x55228e(0x208)]){case _0x55228e(0x21d):return{'type':_0x55228e(0x206),'content':_0x57ddc8(this[_0x55228e(0x1fe)][_0x55228e(0x22e)],_0x55228e(0x21c))};case _0x55228e(0x1ea):return{'type':_0x55228e(0x206),'content':_0x57ddc8(this[_0x55228e(0x1fe)][_0x55228e(0x22e)],_0x55228e(0x203))};}}[_0x512f00(0x22a)](_0x20484f,_0x4ac415){const _0x5e6609=_0x512f00,_0x57e871=this[_0x5e6609(0x1fe)][_0x5e6609(0x1f2)][_0x5e6609(0x200)](_0x5e6609(0x1e4));for(const _0x4626c1 of _0x57e871[_0x5e6609(0x1f0)]({'skipNotAttached':!0x0})){const _0x254994=_0x4626c1[_0x5e6609(0x22f)]();if(_0x4626c1[_0x5e6609(0x208)]===_0x4ac415&&_0x254994===_0x20484f)return _0x4626c1;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b0c79=_0x147f;function _0x147f(_0xedbdad,_0x42ae6d){const _0x4bb3a0=_0x4bb3();return _0x147f=function(_0x147f85,_0x1cebb8){_0x147f85=_0x147f85-0x164;let _0x22b6b2=_0x4bb3a0[_0x147f85];return _0x22b6b2;},_0x147f(_0xedbdad,_0x42ae6d);}function _0x4bb3(){const _0x1de9f7=['Template','TrackChangesEditing','4503690mGUzVH','get','has','3820LTpJDq','8XwUwtB','9959oILmyY','258llfPLS','editor','10359398IOvzcx','afterInit','insertTemplate','1158240nrzJIv','79720kSPuSb','201BTZKCU','enableCommand','plugins','5018913oQeXeC','158521TUjmNI'];_0x4bb3=function(){return _0x1de9f7;};return _0x4bb3();}(function(_0x32ce4f,_0x2277fd){const _0x46e0eb=_0x147f,_0x370c60=_0x32ce4f();while(!![]){try{const _0x46cda1=parseInt(_0x46e0eb(0x168))/0x1*(-parseInt(_0x46e0eb(0x169))/0x2)+parseInt(_0x46e0eb(0x170))/0x3*(-parseInt(_0x46e0eb(0x16f))/0x4)+-parseInt(_0x46e0eb(0x16e))/0x5+-parseInt(_0x46e0eb(0x177))/0x6+parseInt(_0x46e0eb(0x16b))/0x7*(-parseInt(_0x46e0eb(0x167))/0x8)+parseInt(_0x46e0eb(0x173))/0x9+-parseInt(_0x46e0eb(0x166))/0xa*(-parseInt(_0x46e0eb(0x174))/0xb);if(_0x46cda1===_0x2277fd)break;else _0x370c60['push'](_0x370c60['shift']());}catch(_0x20d11c){_0x370c60['push'](_0x370c60['shift']());}}}(_0x4bb3,0xef5ed));import{Plugin as _0x870e33}from'ckeditor5/src/core.js';export default class Ct extends _0x870e33{[_0x5b0c79(0x16c)](){const _0x1003a8=_0x5b0c79,_0x405a5f=this[_0x1003a8(0x16a)];_0x405a5f[_0x1003a8(0x172)][_0x1003a8(0x165)](_0x1003a8(0x175))&&_0x405a5f[_0x1003a8(0x172)][_0x1003a8(0x164)](_0x1003a8(0x176))[_0x1003a8(0x171)](_0x1003a8(0x16d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2887(){const _0x3d100d=['registerPostFixer','getChangedMarkers','ELEMENT_TITLE','title-content','start','descriptionFactory','isEqual','1195880PrrFcl','editor','differ','TrackChangesEditing','nodeBefore','updateMarker','getNearestSelectionRange','1402362OZUCGL','27IcbKWT','document','isTouching','locale','from','2784385wqYZDh','_splitMarkerName','schema','removeMarker','705378EepmGX','registerElementLabel','plugins','8ZMTqui','3400285pWiVOh','newRange','element','has','end','3327848qcFSFo','2flQijN','suggestion','isCollapsed','7162790rVaIMm','createRange','model','forward','Title','get','afterInit'];_0x2887=function(){return _0x3d100d;};return _0x2887();}const _0x22f587=_0x61b2;(function(_0x101f56,_0x21ef63){const _0x513861=_0x61b2,_0x2261f3=_0x101f56();while(!![]){try{const _0x2662cf=-parseInt(_0x513861(0xb1))/0x1+-parseInt(_0x513861(0xa0))/0x2*(-parseInt(_0x513861(0x96))/0x3)+parseInt(_0x513861(0x9f))/0x4+-parseInt(_0x513861(0xbe))/0x5+-parseInt(_0x513861(0xb8))/0x6+parseInt(_0x513861(0x9a))/0x7*(-parseInt(_0x513861(0x99))/0x8)+-parseInt(_0x513861(0xb9))/0x9*(-parseInt(_0x513861(0xa3))/0xa);if(_0x2662cf===_0x21ef63)break;else _0x2261f3['push'](_0x2261f3['shift']());}catch(_0x3d333c){_0x2261f3['push'](_0x2261f3['shift']());}}}(_0x2887,0xb5906));function _0x61b2(_0x324d37,_0x5eb41e){const _0x2887ea=_0x2887();return _0x61b2=function(_0x61b23f,_0x4134bf){_0x61b23f=_0x61b23f-0x94;let _0x394838=_0x2887ea[_0x61b23f];return _0x394838;},_0x61b2(_0x324d37,_0x5eb41e);}import{Plugin as _0x1ff916}from'ckeditor5/src/core.js';import{getTranslation as _0x259c95}from'../utils/common-translations.js';export default class Dt extends _0x1ff916{[_0x22f587(0xa9)](){const _0x4a4788=_0x22f587,_0x43e547=this[_0x4a4788(0xb2)];if(!_0x43e547[_0x4a4788(0x98)][_0x4a4788(0x9d)](_0x4a4788(0xa7)))return;const _0x29b7a0=_0x43e547[_0x4a4788(0x98)][_0x4a4788(0xa8)](_0x4a4788(0xb4));_0x29b7a0[_0x4a4788(0xaf)][_0x4a4788(0x97)](_0x4a4788(0xad),()=>_0x259c95(_0x43e547[_0x4a4788(0xbc)],_0x4a4788(0xac))),_0x43e547[_0x4a4788(0xa5)][_0x4a4788(0xba)][_0x4a4788(0xaa)](_0x30cadc=>{const _0x4c8232=_0x4a4788;let _0x28241b=!0x1;const _0x21e56c=Array[_0x4c8232(0xbd)](_0x43e547[_0x4c8232(0xa5)][_0x4c8232(0xba)][_0x4c8232(0xb3)][_0x4c8232(0xab)]());for(const {name:_0x6ca5ec,data:_0x447dd7}of _0x21e56c){const {group:_0x344c08}=_0x29b7a0[_0x4c8232(0xbf)](_0x6ca5ec);if(_0x4c8232(0xa1)!==_0x344c08||!_0x447dd7[_0x4c8232(0x9b)])continue;const _0x3896a3=_0x447dd7[_0x4c8232(0x9b)],_0x5eacb7=_0x3896a3[_0x4c8232(0x9e)][_0x4c8232(0xb5)];if(!_0x5eacb7||!_0x5eacb7['is'](_0x4c8232(0x9c),_0x4c8232(0xad)))continue;if(!_0x3896a3[_0x4c8232(0xae)][_0x4c8232(0xbb)](_0x3896a3[_0x4c8232(0x9e)]))continue;const _0x39e714=_0x43e547[_0x4c8232(0xa5)][_0x4c8232(0x94)][_0x4c8232(0xb7)](_0x3896a3[_0x4c8232(0x9e)],_0x4c8232(0xa6));if(_0x39e714&&_0x39e714[_0x4c8232(0xa2)]){const _0xaa2698=_0x30cadc[_0x4c8232(0xa4)](_0x3896a3[_0x4c8232(0xae)],_0x39e714[_0x4c8232(0xae)]);_0xaa2698[_0x4c8232(0xb0)](_0x3896a3)||(_0x30cadc[_0x4c8232(0xb6)](_0x6ca5ec,{'range':_0xaa2698}),_0x28241b=!0x0);}_0x28241b||(_0x30cadc[_0x4c8232(0x95)](_0x6ca5ec),_0x28241b=!0x0);}return _0x28241b;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x47c75f=_0x15e7;function _0x15e7(_0x1bdda4,_0x506fac){const _0x147d28=_0x147d();return _0x15e7=function(_0x15e775,_0x1170aa){_0x15e775=_0x15e775-0x133;let _0x3bc8f3=_0x147d28[_0x15e775];return _0x3bc8f3;},_0x15e7(_0x1bdda4,_0x506fac);}(function(_0x74f4f3,_0x5e6986){const _0x46be82=_0x15e7,_0x11e421=_0x74f4f3();while(!![]){try{const _0x5daa5b=-parseInt(_0x46be82(0x144))/0x1+parseInt(_0x46be82(0x134))/0x2*(-parseInt(_0x46be82(0x137))/0x3)+-parseInt(_0x46be82(0x133))/0x4+parseInt(_0x46be82(0x140))/0x5+-parseInt(_0x46be82(0x13c))/0x6+-parseInt(_0x46be82(0x136))/0x7+parseInt(_0x46be82(0x142))/0x8;if(_0x5daa5b===_0x5e6986)break;else _0x11e421['push'](_0x11e421['shift']());}catch(_0x200fb3){_0x11e421['push'](_0x11e421['shift']());}}}(_0x147d,0xb4e59));function _0x147d(){const _0x19b94d=['4651730PRiNfx','enableCommand','6785296TOfwtC','get','153213QARaLX','1790048JsPHwo','21728kMkPWh','editor','457667NagPMd','87xxOrsz','redo','plugins','has','TrackChangesEditing','338358jjJSpQ','afterInit','UndoEditing','undo'];_0x147d=function(){return _0x19b94d;};return _0x147d();}import{Plugin as _0x2ed947}from'ckeditor5/src/core.js';export default class Nt extends _0x2ed947{[_0x47c75f(0x13d)](){const _0x2d85fd=_0x47c75f,_0x3472a5=this[_0x2d85fd(0x135)],_0x29f453=_0x3472a5[_0x2d85fd(0x139)][_0x2d85fd(0x143)](_0x2d85fd(0x13b));_0x3472a5[_0x2d85fd(0x139)][_0x2d85fd(0x13a)](_0x2d85fd(0x13e))&&(_0x29f453[_0x2d85fd(0x141)](_0x2d85fd(0x13f)),_0x29f453[_0x2d85fd(0x141)](_0x2d85fd(0x138)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1b93d0,_0x52827a){const _0x3b8ce9=_0x4aca,_0x24bc29=_0x1b93d0();while(!![]){try{const _0x29566c=-parseInt(_0x3b8ce9(0x122))/0x1*(parseInt(_0x3b8ce9(0x10c))/0x2)+parseInt(_0x3b8ce9(0x101))/0x3+parseInt(_0x3b8ce9(0x125))/0x4+-parseInt(_0x3b8ce9(0xfc))/0x5+-parseInt(_0x3b8ce9(0x11a))/0x6*(parseInt(_0x3b8ce9(0x115))/0x7)+-parseInt(_0x3b8ce9(0xf7))/0x8*(-parseInt(_0x3b8ce9(0x112))/0x9)+parseInt(_0x3b8ce9(0x11c))/0xa;if(_0x29566c===_0x52827a)break;else _0x24bc29['push'](_0x24bc29['shift']());}catch(_0x5a6e06){_0x24bc29['push'](_0x24bc29['shift']());}}}(_0x7716,0x743ac));export function getRangesWithAttribute(_0x8ac176,_0x3eafc7,_0x4f5c20){const _0x3b2a34=_0x4aca,_0x3cda0b=[];for(const _0x13ad3a of _0x3eafc7[_0x3b2a34(0x119)]())_0x13ad3a[_0x3b2a34(0xf6)](_0x8ac176)&&_0x3cda0b[_0x3b2a34(0x11e)](_0x4f5c20[_0x3b2a34(0x105)](_0x13ad3a));return _0x3cda0b;}function _0x7716(){const _0x4a3348=['toViewElement','model','createRangeOn','elementEnd','ck-suggestion-marker-','type','getCustomProperty','toViewPosition','isBlock','4986EFayiV','getWalker','writer','previousPosition','createUIElement','TrackChangesEditing','4223322QKwpyf','schema','name','14Hcbrgt','addClass','addHighlight','span','getItems','1512642uDBSIv','bindElementToMarker','1906140fvVnWl','get','push','start','isContent','markerRange','65ytHjAc','item','consumable','1257496XSyPYl','nextSibling','includes','activeMarkers','hasAttribute','8pJSktr','parent','mapper','ck-suggestion-marker--active','markerName','782865gnDqCr','plugins','test','insert','isLimit','973986QfiMdS','isAtEnd'];_0x7716=function(){return _0x4a3348;};return _0x7716();}function _0x4aca(_0x51a473,_0x4cea45){const _0x77166e=_0x7716();return _0x4aca=function(_0x4aca08,_0x504635){_0x4aca08=_0x4aca08-0xf5;let _0xb6929d=_0x77166e[_0x4aca08];return _0xb6929d;},_0x4aca(_0x51a473,_0x4cea45);}export function downcastSplitMergeMarker(_0x35273a,_0x3ccd5f,{showActiveMarker:_0x1c2a63=!0x0}={}){const _0x53991b=_0x4aca,_0x2e18d2=_0x35273a[_0x53991b(0xfd)][_0x53991b(0x11d)](_0x53991b(0x111));return(_0x2a4dd4,_0x30705d,_0x34ec8a)=>{const _0x51204d=_0x53991b;if(!_0x34ec8a[_0x51204d(0x124)][_0x51204d(0xfe)](_0x30705d[_0x51204d(0x121)],_0x2a4dd4[_0x51204d(0x114)]))return;const _0x216e81=_0x30705d[_0x51204d(0x121)][_0x51204d(0x10d)](),_0x59d1f5=_0x30705d[_0x51204d(0x121)][_0x51204d(0x11f)],_0x16aeb9=_0x35273a[_0x51204d(0x104)][_0x51204d(0x113)];let _0x467b54=null,_0x41e280=null,_0x11922a=!0x1,_0x2ebe7f=!0x1;for(const _0x49b2dc of _0x216e81){const _0x7c4e13=_0x49b2dc[_0x51204d(0x123)];_0x11922a=_0x11922a||_0x16aeb9[_0x51204d(0x120)](_0x7c4e13);const _0x521e06=_0x34ec8a[_0x51204d(0xf9)][_0x51204d(0x103)](_0x7c4e13);if(_0x521e06&&_0x521e06[_0x51204d(0x109)](_0x51204d(0x117)))return;_0x51204d(0x106)==_0x49b2dc[_0x51204d(0x108)]&&(_0x16aeb9[_0x51204d(0x10b)](_0x7c4e13)&&!_0x16aeb9[_0x51204d(0x100)](_0x7c4e13)&&(_0x7c4e13[_0x51204d(0x126)]||_0x59d1f5[_0x51204d(0x102)]?_0x467b54&&_0x467b54[_0x51204d(0xf8)]==_0x7c4e13||(_0x467b54=_0x7c4e13,_0x5c1223(_0x49b2dc[_0x51204d(0x10f)]),_0x2ebe7f=!0x0):_0x41e280=_0x41e280||_0x49b2dc[_0x51204d(0x10f)]));}function _0x5c1223(_0x383191){const _0x5bf20d=_0x51204d,_0x5e89c3=_0x34ec8a[_0x5bf20d(0x10e)][_0x5bf20d(0x110)](_0x5bf20d(0x118),{'class':_0x5bf20d(0x107)+_0x3ccd5f}),_0xfb97b2=_0x34ec8a[_0x5bf20d(0xf9)][_0x5bf20d(0x10a)](_0x383191);_0x1c2a63&&_0x2e18d2[_0x5bf20d(0xf5)][_0x5bf20d(0x127)](_0x30705d[_0x5bf20d(0xfb)])&&_0x34ec8a[_0x5bf20d(0x10e)][_0x5bf20d(0x116)](_0x5bf20d(0xfa),_0x5e89c3),_0x34ec8a[_0x5bf20d(0x10e)][_0x5bf20d(0xff)](_0xfb97b2,_0x5e89c3),_0x34ec8a[_0x5bf20d(0xf9)][_0x5bf20d(0x11b)](_0x5e89c3,_0x30705d[_0x5bf20d(0xfb)]);}_0x11922a||_0x2ebe7f||!_0x41e280||_0x5c1223(_0x41e280);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x4cfa64=_0x3b4f;(function(_0x248a6c,_0x19af8c){const _0x5043ae=_0x3b4f,_0x461b01=_0x248a6c();while(!![]){try{const _0x42b1f1=-parseInt(_0x5043ae(0x195))/0x1+parseInt(_0x5043ae(0x1c2))/0x2+parseInt(_0x5043ae(0x19a))/0x3+parseInt(_0x5043ae(0x1bf))/0x4+parseInt(_0x5043ae(0x1bd))/0x5*(-parseInt(_0x5043ae(0x1b4))/0x6)+parseInt(_0x5043ae(0x1d8))/0x7+-parseInt(_0x5043ae(0x1dc))/0x8;if(_0x42b1f1===_0x19af8c)break;else _0x461b01['push'](_0x461b01['shift']());}catch(_0x237bf1){_0x461b01['push'](_0x461b01['shift']());}}}(_0x1716,0xcb0f7));import{Element as _0x1ef3a3}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x68de16,uid as _0x4f0b0f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x7f4f25,isEqual as _0x14a2a8,set as _0x4ca223,unset as _0x4b9794}from'lodash-es';function _0x1716(){const _0xd0b288=['previous','removeAttribute','add','split','isIntersecting','isInContent','17585cIEuwa','from','4400816jOAcqD','decorate','reduce','3245682muzHdl','map','_onAttributesChange','author','attributes','setAttribute','delete','isExternal','toJSON','subType','removeMarker','getRanges','_saved','size','isMultiRange','nodeAfter','getItems','createdAt','removeMarkers','getFirstMarker','_isDataLoaded','suggestion:','6383566cSJCLo','head','onDiscard','set','3365744KNSbog','filter','next','type','addRange','_markerNames','getMarkers','nodeBefore','1408664IykcIX','push','_onDiscard','addMarkerName','markers','222600ZggtKe','getContainedElement','get','isIntersectingWithRange','end','addMarker','onAccept','_model','commentThread','creator','getFirstRange','@external','_onAccept','getAllAdjacentSuggestions','clear','onAttributesChange','getRange','discard','length','change','data','getMarkerNames','getMultiRangeId','accept','authoredAt','start','1788aWlhMF','hasComments','substr'];_0x1716=function(){return _0xd0b288;};return _0x1716();}function _0x3b4f(_0x1636c5,_0x3125d1){const _0x171660=_0x1716();return _0x3b4f=function(_0x3b4fac,_0x1fae56){_0x3b4fac=_0x3b4fac-0x191;let _0x31a631=_0x171660[_0x3b4fac];return _0x31a631;},_0x3b4f(_0x1636c5,_0x3125d1);}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x68de16(){constructor(_0x2d611a,_0x1e4ea3){const _0x1b5fe9=_0x3b4f;super(),this[_0x1b5fe9(0x1d6)]=!0x1,this['id']=_0x1e4ea3['id'],this[_0x1b5fe9(0x1df)]=_0x1e4ea3[_0x1b5fe9(0x1df)],this[_0x1b5fe9(0x1cb)]=_0x1e4ea3[_0x1b5fe9(0x1cb)]||null,this[_0x1b5fe9(0x1c5)]=_0x1e4ea3[_0x1b5fe9(0x1c5)],this[_0x1b5fe9(0x1a3)]=_0x1e4ea3[_0x1b5fe9(0x1a3)]||_0x1e4ea3[_0x1b5fe9(0x1c5)],this[_0x1b5fe9(0x1c9)]=Boolean(_0x1e4ea3[_0x1b5fe9(0x1c6)]&&_0x1e4ea3[_0x1b5fe9(0x1c6)][_0x1b5fe9(0x1a5)]),this[_0x1b5fe9(0x1ae)]=null,this[_0x1b5fe9(0x1a1)]=_0x2d611a,this[_0x1b5fe9(0x1a6)]=_0x1e4ea3[_0x1b5fe9(0x1a0)],this[_0x1b5fe9(0x197)]=_0x1e4ea3[_0x1b5fe9(0x1da)],this[_0x1b5fe9(0x1c4)]=_0x1e4ea3[_0x1b5fe9(0x1a9)],this[_0x1b5fe9(0x192)]=new Set(),this[_0x1b5fe9(0x1d3)]=null,this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1b2),null),this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1c6),_0x1e4ea3[_0x1b5fe9(0x1c6)]||{}),this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1b7),null),this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1de),null),this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1a2),null),this[_0x1b5fe9(0x1db)](_0x1b5fe9(0x1ce),!0x1),this[_0x1b5fe9(0x1c0)](_0x1b5fe9(0x1b1)),this[_0x1b5fe9(0x1c0)](_0x1b5fe9(0x1ab));}get[_0x4cfa64(0x1d9)](){const _0x502062=_0x4cfa64;let _0x2c4953=this;for(;_0x2c4953[_0x502062(0x1b7)];)_0x2c4953=_0x2c4953[_0x502062(0x1b7)];return _0x2c4953;}get[_0x4cfa64(0x1b5)](){const _0xd0db6f=_0x4cfa64;return!!this[_0xd0db6f(0x1a2)]&&this[_0xd0db6f(0x1a2)][_0xd0db6f(0x1ac)]>0x0;}get[_0x4cfa64(0x1d0)](){const _0xa937a3=_0x4cfa64;if(0x0==this[_0xa937a3(0x192)][_0xa937a3(0x1cf)])return!0x1;return 0x6==Array[_0xa937a3(0x1be)](this[_0xa937a3(0x192)])[0x0][_0xa937a3(0x1ba)](':')[_0xa937a3(0x1ac)];}get[_0x4cfa64(0x1bc)](){const _0x4c31f5=_0x4cfa64;return null!==this[_0x4c31f5(0x1d5)]();}[_0x4cfa64(0x198)](_0x474460){const _0x2a3315=_0x4cfa64;this[_0x2a3315(0x192)][_0x2a3315(0x1b9)](_0x474460);}[_0x4cfa64(0x1af)](){const _0x5af458=_0x4cfa64;return Array[_0x5af458(0x1be)](this[_0x5af458(0x192)]);}[_0x4cfa64(0x193)](){const _0xb510c8=_0x4cfa64;return this[_0xb510c8(0x1af)]()[_0xb510c8(0x1c3)](_0x31fa91=>this[_0xb510c8(0x1a1)][_0xb510c8(0x199)][_0xb510c8(0x19c)](_0x31fa91))[_0xb510c8(0x1dd)](_0x2860be=>_0x2860be);}[_0x4cfa64(0x1d5)](){const _0x8df2e8=_0x4cfa64;return this[_0x8df2e8(0x193)]()[0x0]||null;}[_0x4cfa64(0x1d4)](){const _0x4b3276=_0x4cfa64;this[_0x4b3276(0x1a1)][_0x4b3276(0x1ad)](_0x562151=>{const _0x44c897=_0x4b3276;for(const _0x1b48b3 of this[_0x44c897(0x193)]())_0x562151[_0x44c897(0x1cc)](_0x1b48b3);}),this[_0x4b3276(0x192)][_0x4b3276(0x1a8)]();}[_0x4cfa64(0x1cc)](_0x1e2db2){const _0x5de971=_0x4cfa64;this[_0x5de971(0x1a1)][_0x5de971(0x1ad)](_0x18c809=>{const _0x12edb6=_0x5de971;_0x18c809[_0x12edb6(0x1cc)](_0x1e2db2);}),this[_0x5de971(0x192)][_0x5de971(0x1c8)](_0x1e2db2);}[_0x4cfa64(0x191)](_0xbb31af){const _0x16012e=_0x4cfa64,_0x22780a=_0x16012e(0x1d7)+this[_0x16012e(0x1df)]+':'+this[_0x16012e(0x1cb)]+':'+this['id']+':'+this[_0x16012e(0x1a3)]['id']+':'+u[_0x16012e(0x1b0)]();this[_0x16012e(0x198)](_0x22780a),this[_0x16012e(0x1a1)][_0x16012e(0x1ad)](_0x2f501f=>{const _0x4031a7=_0x16012e;_0x2f501f[_0x4031a7(0x19f)](_0x22780a,{'range':_0xbb31af,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4cfa64(0x19d)](_0x4a78d9){const _0x1f63f7=_0x4cfa64;for(const _0x202712 of this[_0x1f63f7(0x1cd)]())if(_0x202712[_0x1f63f7(0x1bb)](_0x4a78d9))return!0x0;return!0x1;}[_0x4cfa64(0x1cd)](){const _0x50bd83=_0x4cfa64;return this[_0x50bd83(0x193)]()[_0x50bd83(0x1c3)](_0x178e58=>_0x178e58[_0x50bd83(0x1aa)]());}[_0x4cfa64(0x1d2)](){const _0x2e2ad2=_0x4cfa64;return this[_0x2e2ad2(0x1cd)]()[_0x2e2ad2(0x1c1)]((_0x3fb666,_0x202530)=>[..._0x3fb666,..._0x202530[_0x2e2ad2(0x1d2)]()],[]);}[_0x4cfa64(0x1a4)](){const _0x35325c=_0x4cfa64;var _0x432c71;return(null===(_0x432c71=this[_0x35325c(0x1d5)]())||void 0x0===_0x432c71?void 0x0:_0x432c71[_0x35325c(0x1aa)]())||null;}[_0x4cfa64(0x19b)](){const _0x19f0af=_0x4cfa64,_0x5d056d=this[_0x19f0af(0x1cd)]();if(0x1!=_0x5d056d[_0x19f0af(0x1ac)])return null;const _0x5a01c8=_0x5d056d[0x0],_0x140691=_0x5a01c8[_0x19f0af(0x1b3)][_0x19f0af(0x1d1)],_0x7eec16=_0x5a01c8[_0x19f0af(0x19e)][_0x19f0af(0x194)];return _0x140691 instanceof _0x1ef3a3?_0x140691!=_0x7eec16?null:_0x140691:null;}[_0x4cfa64(0x1b1)](){const _0x145914=_0x4cfa64;this[_0x145914(0x1a6)](this[_0x145914(0x1cd)](),this[_0x145914(0x1ae)],this[_0x145914(0x1c6)]),this[_0x145914(0x1d4)]();}[_0x4cfa64(0x1ab)](){const _0x2b928d=_0x4cfa64;this[_0x2b928d(0x197)](this[_0x2b928d(0x1cd)](),this[_0x2b928d(0x1ae)],this[_0x2b928d(0x1c6)]),this[_0x2b928d(0x1d4)]();}[_0x4cfa64(0x1a7)](){const _0xf7068a=_0x4cfa64,_0x32b2f8=[];let _0x12c1a7=this[_0xf7068a(0x1d9)];for(;_0x12c1a7;)_0x32b2f8[_0xf7068a(0x196)](_0x12c1a7),_0x12c1a7=_0x12c1a7[_0xf7068a(0x1de)];return _0x32b2f8;}[_0x4cfa64(0x1c7)](_0x5e489d,_0x3757b0){const _0x4b97a8=_0x4cfa64,_0x440683=_0x7f4f25(this[_0x4b97a8(0x1c6)]);_0x4ca223(_0x440683,_0x5e489d,_0x3757b0),_0x14a2a8(_0x440683,this[_0x4b97a8(0x1c6)])||(this[_0x4b97a8(0x1c6)]=_0x440683,this[_0x4b97a8(0x1c4)](_0x440683));}[_0x4cfa64(0x1b8)](_0x34f789){const _0x436147=_0x4cfa64,_0x247fdd=_0x7f4f25(this[_0x436147(0x1c6)]);_0x4b9794(_0x247fdd,_0x34f789),_0x14a2a8(_0x247fdd,this[_0x436147(0x1c6)])||(this[_0x436147(0x1c6)]=_0x247fdd,this[_0x436147(0x1c4)](this[_0x436147(0x1c6)]));}[_0x4cfa64(0x1ca)](){const _0x21b276=_0x4cfa64;return{'id':this['id'],'type':this[_0x21b276(0x1cb)]?this[_0x21b276(0x1df)]+':'+this[_0x21b276(0x1cb)]:this[_0x21b276(0x1df)],'authorId':this[_0x21b276(0x1a3)]['id'],'createdAt':this[_0x21b276(0x1d3)],'hasComments':this[_0x21b276(0x1b5)],'data':this[_0x21b276(0x1ae)],'attributes':this[_0x21b276(0x1c6)]};}static[_0x4cfa64(0x1b0)](){const _0x2374cf=_0x4cfa64;return _0x4f0b0f()[_0x2374cf(0x1b6)](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
|
+
function _0x13ae(){const _0x4472b7=['replace','208qCvxas','nextSibling','removeEmptyContainer','481855EwloLU','deletion','addObject','isEmpty','getItemLabel','label','*Merge:*\x20%0','1424990oRCNlF','$1\x20$2','_addDescriptionItems','_resolveDescriptionItems','getWalker','nodeAfter','item','pop','_itemLabels','match','data','newValue','_locale','isObject','$textProxy','_schema','removeObject','16kxjEDq','remove','registerAttributeLabel','start','has','isEqual','*Insert:*\x20%0','_itemLabelsCallbacks','_handleInsertRemoveSuggestionDescription','_handleCustomCallbackDescription','*Remove:*\x20%0','getFirstRange','set','name','EmptyContainer','map','removeContainer','_customCallbacks','checkChild','40ZNAaAn','quantity','*Remove\x20format:*\x20%0','format','Container','element','*Split:*\x20%0','20zoaeQz','*Change\x20to:*\x20%0','getDescriptions','join','ELEMENT_SPACE','23559GfEcvT','Object','get','registerElementLabel','8ouVmAR','type','previousSibling','4217340VbnHvv','addContainer','indexOf','$text','key','add','end','skip','normal','_attributeLabels','softBreak','matchingCallback','36458zMHMWN','attribute','_handleRenameSuggestionDescription','REPLACE_TEXT','addFormat','removeFormat','elementStart','225027CuiIQn','519666Vztkwh','insertion','elementEnd','_handleAttributeSuggestionDescription','addEmptyContainer','length','function','isInContent','*Set\x20format:*\x20%0','subType','registerDescriptionCallback','text','push'];_0x13ae=function(){return _0x4472b7;};return _0x13ae();}const _0x1ff50f=_0x16cd;(function(_0x44d682,_0x2c7bfc){const _0xb1b656=_0x16cd,_0x2b31df=_0x44d682();while(!![]){try{const _0x282541=-parseInt(_0xb1b656(0x13d))/0x1*(-parseInt(_0xb1b656(0x12e))/0x2)+-parseInt(_0xb1b656(0x12a))/0x3*(parseInt(_0xb1b656(0xf0))/0x4)+parseInt(_0xb1b656(0x125))/0x5*(-parseInt(_0xb1b656(0xe2))/0x6)+parseInt(_0xb1b656(0xfa))/0x7*(parseInt(_0xb1b656(0x10b))/0x8)+parseInt(_0xb1b656(0xe1))/0x9*(parseInt(_0xb1b656(0x11e))/0xa)+-parseInt(_0xb1b656(0xf3))/0xb+parseInt(_0xb1b656(0x131))/0xc;if(_0x282541===_0x2c7bfc)break;else _0x2b31df['push'](_0x2b31df['shift']());}catch(_0x268361){_0x2b31df['push'](_0x2b31df['shift']());}}}(_0x13ae,0x32400));import{getTranslation as _0x1cfa30}from'./utils/common-translations.js';import{priorities as _0x4222f0,insertToPriorityArray as _0xe14a6a}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x21cb8b}from'./trackchangesediting.js';function _0x16cd(_0x798fd5,_0x46ae66){const _0x13ae9c=_0x13ae();return _0x16cd=function(_0x16cd86,_0x48f2b2){_0x16cd86=_0x16cd86-0xe0;let _0xbc40dd=_0x13ae9c[_0x16cd86];return _0xbc40dd;},_0x16cd(_0x798fd5,_0x46ae66);}export default class f{constructor(_0x112f8b,_0x7d11b3){const _0x222b98=_0x16cd;this[_0x222b98(0x11c)]=[],this[_0x222b98(0x102)]=new Map(),this[_0x222b98(0x112)]=[],this[_0x222b98(0x13a)]=new Map(),this[_0x222b98(0x109)]=_0x112f8b,this[_0x222b98(0x106)]=_0x7d11b3;}[_0x1ff50f(0x127)](_0x3cea21){const _0x5ec6fb=_0x1ff50f,_0x17fcc5=[],_0x11cdd6=new Set(),_0xa30ad7=new Set();for(let _0x4289fb=0x0;_0x4289fb<_0x3cea21[_0x5ec6fb(0xe7)];_0x4289fb++){const _0x242887=_0x3cea21[_0x4289fb];if(!_0x242887[_0x5ec6fb(0xe9)])continue;const _0x5eac9c=this[_0x5ec6fb(0x114)](_0x242887);if(_0x5eac9c){if(null!=_0x242887[_0x5ec6fb(0xeb)]){if(_0x11cdd6[_0x5ec6fb(0x10f)](_0x242887[_0x5ec6fb(0xeb)]))continue;_0x11cdd6[_0x5ec6fb(0x136)](_0x242887[_0x5ec6fb(0xeb)]);}_0x17fcc5[_0x5ec6fb(0xee)](_0x5eac9c);}else{if(_0x5ec6fb(0x13e)!=_0x242887[_0x5ec6fb(0x12f)])_0x5ec6fb(0xe3)!=_0x242887[_0x5ec6fb(0x12f)]&&_0x5ec6fb(0xf4)!=_0x242887[_0x5ec6fb(0x12f)]||this[_0x5ec6fb(0x113)](_0x17fcc5,_0x242887,_0x3cea21[_0x4289fb+0x1]);else{const _0x559a6b=_0x242887[_0x5ec6fb(0x104)][_0x5ec6fb(0x135)];if(_0xa30ad7[_0x5ec6fb(0x10f)](_0x559a6b))continue;_0xa30ad7[_0x5ec6fb(0x136)](_0x242887[_0x5ec6fb(0x104)][_0x5ec6fb(0x135)]),_0x559a6b==_0x21cb8b?this[_0x5ec6fb(0x13f)](_0x17fcc5,_0x242887):this[_0x5ec6fb(0xe5)](_0x17fcc5,_0x242887);}}}return this[_0x5ec6fb(0xfd)](_0x17fcc5);}[_0x1ff50f(0xec)](_0x405234){const _0x480275=_0x1ff50f;this[_0x480275(0x11c)][_0x480275(0xee)](_0x405234);}[_0x1ff50f(0x12d)](_0x5d231b,_0x4834e6,_0xf60de5=_0x4222f0[_0x1ff50f(0x139)]){const _0x2d1c92=_0x1ff50f;_0x2d1c92(0xe8)==typeof _0x5d231b?_0xe14a6a(this[_0x2d1c92(0x112)],{'matchingCallback':_0x5d231b,'label':_0x4834e6,'priority':_0xf60de5}):this[_0x2d1c92(0x102)][_0x2d1c92(0x117)](_0x5d231b,_0x4834e6);}[_0x1ff50f(0x10d)](_0x3f2ba7,_0x242710){const _0x39938b=_0x1ff50f;this[_0x39938b(0x13a)][_0x39938b(0x117)](_0x3f2ba7,_0x242710);}[_0x1ff50f(0xf7)](_0x3b5755,_0x18a75b=0x1){const _0xfeafc8=_0x1ff50f;let _0x316cb9;for(const _0xe6b8a5 of this[_0xfeafc8(0x112)])if(_0xe6b8a5[_0xfeafc8(0x13c)](_0x3b5755)){_0x316cb9=_0xe6b8a5[_0xfeafc8(0xf8)];break;}return _0x316cb9||(_0x316cb9=this[_0xfeafc8(0x102)][_0xfeafc8(0x12c)](_0x3b5755[_0xfeafc8(0x118)])),_0x316cb9?_0x316cb9(_0x18a75b):0x1!==_0x18a75b?_0x18a75b+'\x20'+_0x3b5755[_0xfeafc8(0x118)]+'s':''+_0x3b5755[_0xfeafc8(0x118)];}[_0x1ff50f(0xfc)](_0x104c8f,_0x53852a){const _0x213708=_0x1ff50f,_0xcafbb0=_0x53852a[_0x213708(0x116)]()[_0x213708(0xfe)](),_0x318534=_0x213708(0xe3)==_0x53852a[_0x213708(0x12f)]?_0x213708(0x136):_0x213708(0x10c);for(const _0x2ae816 of _0xcafbb0){const _0x1a4821=_0x2ae816[_0x213708(0x100)],_0x4b236d=_0x104c8f[_0x104c8f[_0x213708(0xe7)]-0x1];if(_0x1a4821['is'](_0x213708(0x108)))_0x4b236d&&_0x4b236d[_0x213708(0x12f)][_0x213708(0x133)](_0x213708(0x122))>-0x1&&_0x104c8f[_0x213708(0x101)](),_0x4b236d&&_0x213708(0xed)==_0x4b236d[_0x213708(0x12f)]?_0x4b236d[_0x318534]+=_0x1a4821[_0x213708(0x104)]:_0x104c8f[_0x213708(0xee)]({'type':_0x213708(0xed),'add':_0x213708(0x136)==_0x318534?_0x1a4821[_0x213708(0x104)]:'','remove':_0x213708(0x10c)==_0x318534?_0x1a4821[_0x213708(0x104)]:''});else{if(this[_0x213708(0x109)][_0x213708(0x107)](_0x1a4821)){const _0x304da6=_0x1a4821;if(_0x4b236d&&_0x4b236d[_0x213708(0x12f)][_0x213708(0x133)](_0x213708(0x122))>-0x1&&_0x104c8f[_0x213708(0x101)](),_0x213708(0xe4)==_0x2ae816[_0x213708(0x12f)])continue;_0x4b236d&&_0x4b236d[_0x213708(0x12f)]==_0x318534+_0x213708(0x12b)&&_0x4b236d[_0x213708(0x123)][_0x213708(0x118)]==_0x304da6[_0x213708(0x118)]?_0x4b236d[_0x213708(0x11f)]++:_0x104c8f[_0x213708(0xee)]({'type':_0x318534+_0x213708(0x12b),'element':_0x304da6,'quantity':0x1}),_0xcafbb0[_0x213708(0x138)](_0x2e49dc=>!(_0x213708(0xe4)==_0x2e49dc[_0x213708(0x12f)]&&_0x2e49dc[_0x213708(0x100)]==_0x1a4821));}else{if(this[_0x213708(0x109)][_0x213708(0x11d)](_0x1a4821,_0x213708(0x134))||_0x1a4821['is'](_0x213708(0x123),_0x213708(0x13b))){const _0x41a3e3=_0x1a4821;if(_0x213708(0x136)==_0x318534&&_0x213708(0xe0)==_0x2ae816[_0x213708(0x12f)]||_0x213708(0x10c)==_0x318534&&_0x213708(0xe4)==_0x2ae816[_0x213708(0x12f)])continue;if(_0x4b236d&&-0x1==_0x4b236d[_0x213708(0x12f)][_0x213708(0x133)](_0x213708(0x122))){_0x213708(0xed)==_0x4b236d[_0x213708(0x12f)]&&(_0x4b236d[_0x318534]+='\x0a');continue;}let _0x10a18b;if(_0x10a18b=_0x213708(0x136)==_0x318534?_0x41a3e3[_0x213708(0xf1)]&&!this[_0x213708(0x109)][_0x213708(0x107)](_0x41a3e3[_0x213708(0xf1)])?_0x41a3e3[_0x213708(0xf1)]:null:_0x41a3e3[_0x213708(0x130)]&&!this[_0x213708(0x109)][_0x213708(0x107)](_0x41a3e3[_0x213708(0x130)])?_0x41a3e3[_0x213708(0x130)]:null,_0x41a3e3[_0x213708(0xf6)]||_0x10a18b&&_0x10a18b[_0x213708(0xf6)]){const _0xf4c819=_0x10a18b&&_0x10a18b[_0x213708(0xf6)]?_0x10a18b:_0x41a3e3;_0x4b236d&&_0x4b236d[_0x213708(0x12f)]==_0x318534+_0x213708(0x119)&&_0x4b236d[_0x213708(0x123)][_0x213708(0x118)]==_0xf4c819[_0x213708(0x118)]?_0x4b236d[_0x213708(0x11f)]++:_0x104c8f[_0x213708(0xee)]({'type':_0x318534+_0x213708(0x119),'element':_0xf4c819,'quantity':0x1});}else _0x104c8f[_0x213708(0xee)]({'type':_0x318534+_0x213708(0x122),'element':_0x41a3e3});}}}}}[_0x1ff50f(0xfd)](_0x27ac1b){const _0x49cf34=_0x1ff50f,_0x312743=this[_0x49cf34(0x106)],_0xa0caf2=[],_0xab7379=[],_0x52efd2=[];for(const _0x27513e of _0x27ac1b)switch(_0x27513e[_0x49cf34(0x12f)]){case _0x49cf34(0xed):if(_0x27513e[_0x49cf34(0x136)]=_0x27513e[_0x49cf34(0x136)][_0x49cf34(0xef)](/(\S)\u000A+(\S)/g,_0x49cf34(0xfb))[_0x49cf34(0xef)](/\u000A/g,''),_0x27513e[_0x49cf34(0x10c)]=_0x27513e[_0x49cf34(0x10c)][_0x49cf34(0xef)](/(\S)\u000A+(\S)/g,_0x49cf34(0xfb))[_0x49cf34(0xef)](/\u000A/g,''),''!=_0x27513e[_0x49cf34(0x136)]&&''!=_0x27513e[_0x49cf34(0x10c)]){_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xef),'content':_0x1cfa30(_0x312743,_0x49cf34(0x140),['\x22'+_0x27513e[_0x49cf34(0x10c)]+'\x22','\x22'+_0x27513e[_0x49cf34(0x136)]+'\x22'])});continue;}if(null!=_0x27513e[_0x49cf34(0x136)][_0x49cf34(0x103)](/^ +$/)){_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xe3),'content':_0x1cfa30(_0x312743,_0x49cf34(0x111),_0x1cfa30(_0x312743,_0x49cf34(0x129),_0x27513e[_0x49cf34(0x136)][_0x49cf34(0xe7)]))});continue;}if(null!=_0x27513e[_0x49cf34(0x10c)][_0x49cf34(0x103)](/^ +$/)){_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xf4),'content':_0x1cfa30(_0x312743,_0x49cf34(0x115),_0x1cfa30(_0x312743,_0x49cf34(0x129),_0x27513e[_0x49cf34(0x10c)][_0x49cf34(0xe7)]))});continue;}if(''!=_0x27513e[_0x49cf34(0x136)]){_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xe3),'content':_0x1cfa30(_0x312743,_0x49cf34(0x111),'\x22'+_0x27513e[_0x49cf34(0x136)]+'\x22')});continue;}_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xf4),'content':_0x1cfa30(_0x312743,_0x49cf34(0x115),'\x22'+_0x27513e[_0x49cf34(0x10c)]+'\x22')});continue;case _0x49cf34(0xe6):case _0x49cf34(0xf5):_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xe3),'content':_0x1cfa30(_0x312743,_0x49cf34(0x111),this[_0x49cf34(0xf7)](_0x27513e[_0x49cf34(0x123)],_0x27513e[_0x49cf34(0x11f)]))});continue;case _0x49cf34(0xf2):case _0x49cf34(0x10a):_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xf4),'content':_0x1cfa30(_0x312743,_0x49cf34(0x115),this[_0x49cf34(0xf7)](_0x27513e[_0x49cf34(0x123)],_0x27513e[_0x49cf34(0x11f)]))});continue;case _0x49cf34(0x132):_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xe3),'content':_0x1cfa30(_0x312743,_0x49cf34(0x124),this[_0x49cf34(0xf7)](_0x27513e[_0x49cf34(0x123)],_0x27513e[_0x49cf34(0x11f)]))});continue;case _0x49cf34(0x11b):_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0xf4),'content':_0x1cfa30(_0x312743,_0x49cf34(0xf9),this[_0x49cf34(0xf7)](_0x27513e[_0x49cf34(0x123)],_0x27513e[_0x49cf34(0x11f)]))});continue;case _0x49cf34(0x141):_0xab7379[_0x49cf34(0xee)](_0x27513e[_0x49cf34(0x135)]);continue;case _0x49cf34(0x142):_0x52efd2[_0x49cf34(0xee)](_0x27513e[_0x49cf34(0x135)]);continue;default:_0xa0caf2[_0x49cf34(0xee)](_0x27513e);}if(_0xab7379[_0x49cf34(0xe7)]){const _0x2f183a=_0xab7379[_0x49cf34(0x11a)](_0xcac5e5=>this[_0x49cf34(0x13a)][_0x49cf34(0x10f)](_0xcac5e5)?this[_0x49cf34(0x13a)][_0x49cf34(0x12c)](_0xcac5e5):_0xcac5e5)[_0x49cf34(0x128)](',\x20');_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0x121),'content':_0x1cfa30(this[_0x49cf34(0x106)],_0x49cf34(0xea),_0x2f183a)});}if(_0x52efd2[_0x49cf34(0xe7)]){const _0x54b24f=_0x52efd2[_0x49cf34(0x11a)](_0x354d41=>this[_0x49cf34(0x13a)][_0x49cf34(0x10f)](_0x354d41)?this[_0x49cf34(0x13a)][_0x49cf34(0x12c)](_0x354d41):_0x354d41)[_0x49cf34(0x128)](',\x20');_0xa0caf2[_0x49cf34(0xee)]({'type':_0x49cf34(0x121),'content':_0x1cfa30(this[_0x49cf34(0x106)],_0x49cf34(0x120),_0x54b24f)});}return _0xa0caf2;}[_0x1ff50f(0x114)](_0x5b94e9){const _0x3d08cf=_0x1ff50f;for(const _0x2f45cb of this[_0x3d08cf(0x11c)]){const _0x4368c9=_0x2f45cb(_0x5b94e9);if(_0x4368c9&&_0x3d08cf(0x12f)in _0x4368c9)return _0x4368c9;}}[_0x1ff50f(0xe5)](_0x45fa08,_0x114daf){const _0x449c6f=_0x1ff50f,_0x562d1e=_0x114daf[_0x449c6f(0x104)],_0x1aad4c=void 0x0===_0x562d1e[_0x449c6f(0x105)]?_0x449c6f(0x142):_0x449c6f(0x141);_0x45fa08[_0x449c6f(0xee)]({'type':_0x1aad4c,'key':_0x562d1e[_0x449c6f(0x135)]});}[_0x1ff50f(0x13f)](_0x212f58,_0x3d0315){const _0xf2ad55=_0x1ff50f;_0x212f58[_0xf2ad55(0xee)]({'type':_0xf2ad55(0x121),'content':_0x1cfa30(this[_0xf2ad55(0x106)],_0xf2ad55(0x126),this[_0xf2ad55(0xf7)](_0x3d0315[_0xf2ad55(0x116)]()[_0xf2ad55(0x10e)][_0xf2ad55(0xff)],0x1))});}[_0x1ff50f(0x113)](_0x27d2b4,_0xeaff04,_0x2d926a){const _0x4d141a=_0x1ff50f;if(this[_0x4d141a(0xfc)](_0x27d2b4,_0xeaff04),_0x2d926a&&_0x2d926a[_0x4d141a(0x116)]()&&!_0xeaff04[_0x4d141a(0x116)]()[_0x4d141a(0x137)][_0x4d141a(0x110)](_0x2d926a[_0x4d141a(0x116)]()[_0x4d141a(0x10e)])){const _0x11d957=_0x27d2b4[_0x27d2b4[_0x4d141a(0xe7)]-0x1],_0x5c37d4=_0x4d141a(0xe3)==_0xeaff04[_0x4d141a(0x12f)]?_0x4d141a(0x136):_0x4d141a(0x10c);_0x11d957&&_0x4d141a(0xed)==_0x11d957[_0x4d141a(0x12f)]&&(_0x11d957[_0x5c37d4]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1d9159=_0x3557;(function(_0x5ccee5,_0x408c6a){var _0x121ec2=_0x3557,_0x4296ff=_0x5ccee5();while(!![]){try{var _0x23a9bf=-parseInt(_0x121ec2(0x11b))/0x1*(parseInt(_0x121ec2(0x122))/0x2)+parseInt(_0x121ec2(0x114))/0x3+parseInt(_0x121ec2(0x124))/0x4*(-parseInt(_0x121ec2(0x118))/0x5)+-parseInt(_0x121ec2(0x112))/0x6*(-parseInt(_0x121ec2(0x123))/0x7)+parseInt(_0x121ec2(0x121))/0x8*(-parseInt(_0x121ec2(0x119))/0x9)+parseInt(_0x121ec2(0x129))/0xa+-parseInt(_0x121ec2(0x126))/0xb*(-parseInt(_0x121ec2(0x125))/0xc);if(_0x23a9bf===_0x408c6a)break;else _0x4296ff['push'](_0x4296ff['shift']());}catch(_0x7eef53){_0x4296ff['push'](_0x4296ff['shift']());}}}(_0x1ffc,0xdfd61));import{Plugin as _0x5ce176}from'ckeditor5/src/core.js';import _0x270d17 from'./trackchangesui.js';function _0x1ffc(){var _0x185453=['12822090MiLnRD','2759064uLJrbp','get','4127775aGeLEv','editor','TrackChanges','plugins','2535805xOQeOh','18PZKTxi','pluginName','5mUEDVO','getSuggestion','addSuggestionData','requires','addSuggestion','adapter','5383640XDTosq','449758OSlNQv','14HDlScL','8hAFGGA','3294552WUxMsA','33IBdEqU','getSuggestions','Comments'];_0x1ffc=function(){return _0x185453;};return _0x1ffc();}import _0x374b93 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x3557(_0x58a624,_0x5dcb7d){var _0x1ffc2e=_0x1ffc();return _0x3557=function(_0x355766,_0x5eb9f5){_0x355766=_0x355766-0x112;var _0x5be14a=_0x1ffc2e[_0x355766];return _0x5be14a;},_0x3557(_0x58a624,_0x5dcb7d);}export default class k extends _0x5ce176{static get[_0x1d9159(0x11e)](){var _0x42a187=_0x1d9159;return[_0x374b93,_0x270d17,_0x42a187(0x128)];}static get[_0x1d9159(0x11a)](){var _0x2dc7d9=_0x1d9159;return _0x2dc7d9(0x116);}set[_0x1d9159(0x120)](_0x296934){var _0x278cfd=_0x1d9159;this[_0x278cfd(0x115)][_0x278cfd(0x117)][_0x278cfd(0x113)](_0x374b93)[_0x278cfd(0x120)]=_0x296934;}get[_0x1d9159(0x120)](){var _0x3bfd64=_0x1d9159;return this[_0x3bfd64(0x115)][_0x3bfd64(0x117)][_0x3bfd64(0x113)](_0x374b93)[_0x3bfd64(0x120)];}[_0x1d9159(0x11f)](_0x276bd6){var _0x2c05d0=_0x1d9159;return this[_0x2c05d0(0x115)][_0x2c05d0(0x117)][_0x2c05d0(0x113)](_0x374b93)[_0x2c05d0(0x11d)](_0x276bd6);}[_0x1d9159(0x127)]({skipNotAttached:_0x4b45f5=!0x1,toJSON:_0xe8999f=!0x1}={}){var _0x327d11=_0x1d9159;return this[_0x327d11(0x115)][_0x327d11(0x117)][_0x327d11(0x113)](_0x374b93)[_0x327d11(0x127)]({'skipNotAttached':_0x4b45f5,'toJSON':_0xe8999f});}[_0x1d9159(0x11c)](_0x4a3565){var _0x466314=_0x1d9159;return this[_0x466314(0x115)][_0x466314(0x117)][_0x466314(0x113)](_0x374b93)[_0x466314(0x11c)](_0x4a3565);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5258(_0x3af6fe,_0x1ca12d){const _0x45f44f=_0x45f4();return _0x5258=function(_0x525862,_0x295c39){_0x525862=_0x525862-0x10f;let _0x1ec169=_0x45f44f[_0x525862];return _0x1ec169;},_0x5258(_0x3af6fe,_0x1ca12d);}const _0x37bebb=_0x5258;(function(_0x13a456,_0x399472){const _0x354850=_0x5258,_0x43c7a5=_0x13a456();while(!![]){try{const _0x592c20=parseInt(_0x354850(0x14e))/0x1+parseInt(_0x354850(0x124))/0x2+-parseInt(_0x354850(0x126))/0x3*(-parseInt(_0x354850(0x12b))/0x4)+-parseInt(_0x354850(0x12f))/0x5+parseInt(_0x354850(0x127))/0x6+parseInt(_0x354850(0x148))/0x7*(parseInt(_0x354850(0x12c))/0x8)+-parseInt(_0x354850(0x11f))/0x9*(parseInt(_0x354850(0x11b))/0xa);if(_0x592c20===_0x399472)break;else _0x43c7a5['push'](_0x43c7a5['shift']());}catch(_0x5c19ab){_0x43c7a5['push'](_0x43c7a5['shift']());}}}(_0x45f4,0xd6b0c));function _0x45f4(){const _0x56d999=['225QWNYnE','Users','function','plugins','getRootsAttributes','250030aUSOkn','create','3Pnlajr','6343056XHFmpM','createDocumentFragment','getSuggestions','pluginName','2132300QWCKpg','209992QktrGl','TrackChangesData','destroy','5512805oidjcL','users','track-changes-data-invalid-editor-creator','push','div','Pagination','constructor','model','getFullData','addSuggestionData','TrackChangesEditing','getUser','requires','rootsAttributes','reduce','config','editor','acceptAllSuggestions','init','CommentsRepository','addUser','useAnonymousUser','trackChangesData.editorCreator','trackChangesData','getDataWithAcceptedSuggestions','112ZSmIXr','get','addCommentThread','discardAllSuggestions','TrackChangesDataGetter','editorCreator','1628958OQxBJK','getRootNames','getDataWithDiscardedSuggestions','createElement','data','document','set','name','getCommentThreads','_adapter','result','appendChild','define','712910XqlqoF','map','execute','end'];_0x45f4=function(){return _0x56d999;};return _0x45f4();}import{Plugin as _0x2eff1e}from'ckeditor5/src/core.js';import{CKEditorError as _0x50e193}from'ckeditor5/src/utils.js';import _0x37482e from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x1f7446}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x37bebb(0x134)];export default class P extends _0x2eff1e{static get[_0x37bebb(0x13b)](){return[_0x37482e];}static get[_0x37bebb(0x12a)](){const _0x50c100=_0x37bebb;return _0x50c100(0x12d);}[_0x37bebb(0x141)](){const _0x9de264=_0x37bebb,_0x1fb2c9=this[_0x9de264(0x13f)];if(_0x1fb2c9[_0x9de264(0x13e)][_0x9de264(0x11a)](_0x9de264(0x145),_0x1645b8=>{const _0x55b642=_0x9de264,_0x108b0a=_0x1fb2c9[_0x55b642(0x136)][_0x55b642(0x113)][_0x55b642(0x10f)]()[_0x55b642(0x13d)]((_0x48fe77,_0x1096a1)=>(_0x48fe77[_0x1096a1]='',_0x48fe77),{});return _0x1fb2c9[_0x55b642(0x135)][_0x55b642(0x125)](_0x108b0a,_0x1645b8);}),_0x9de264(0x121)!=typeof _0x1fb2c9[_0x9de264(0x13e)][_0x9de264(0x149)](_0x9de264(0x146))[_0x9de264(0x14d)])throw new _0x50e193(_0x9de264(0x131));}[_0x37bebb(0x147)](_0x1224e1){const _0x22bdc2=_0x37bebb;return N(this[_0x22bdc2(0x13f)],!0x0,_0x1224e1);}[_0x37bebb(0x110)](_0x59af60){const _0x448873=_0x37bebb;return N(this[_0x448873(0x13f)],!0x1,_0x59af60);}}class D extends _0x2eff1e{static get[_0x37bebb(0x12a)](){const _0x26ebf4=_0x37bebb;return _0x26ebf4(0x14c);}constructor(_0x16fb86){const _0x5a40c1=_0x37bebb;super(_0x16fb86),this[_0x5a40c1(0x118)]=_0x5a40c1(0x11e);}[_0x37bebb(0x141)](){const _0x5538ac=_0x37bebb;this[_0x5538ac(0x13f)][_0x5538ac(0x122)][_0x5538ac(0x149)](_0x5538ac(0x142))[_0x5538ac(0x117)]={'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[_0x5538ac(0x13f)][_0x5538ac(0x122)][_0x5538ac(0x149)](_0x5538ac(0x139))[_0x5538ac(0x117)]=null;}}function v(_0x5f0384){const _0x429ae2=_0x37bebb;return void 0x0!==_0x5f0384[_0x429ae2(0x123)];}async function N(_0x271125,_0x449bf5,_0x2fe2ed){const _0x1a097a=_0x37bebb,_0x4d6890=_0x1f7446(_0x271125,T);_0x4d6890[_0x1a097a(0x122)][_0x1a097a(0x132)](_0x37482e,D),_0x4d6890[_0x1a097a(0x13c)]=v(_0x271125)?_0x271125[_0x1a097a(0x123)]():void 0x0;const _0x21496d=document[_0x1a097a(0x128)](),_0x4031b2=_0x271125[_0x1a097a(0x13e)][_0x1a097a(0x149)](_0x1a097a(0x146))[_0x1a097a(0x14d)],_0x1964a5=await _0x4031b2(_0x4d6890,()=>function(_0x180197){const _0xc30804=_0x1a097a,_0x449ed1=document[_0xc30804(0x111)](_0xc30804(0x133));return _0x180197[_0xc30804(0x119)](_0x449ed1),_0x449ed1;}(_0x21496d));!function(_0x327986,_0x2a03cd){const _0x5db3e2=_0x1a097a,_0x3d7f45=_0x327986[_0x5db3e2(0x136)][_0x5db3e2(0x113)][_0x5db3e2(0x10f)]()[_0x5db3e2(0x13d)]((_0x57ba29,_0x3a98cb)=>(_0x57ba29[_0x3a98cb]=_0x327986[_0x5db3e2(0x112)][_0x5db3e2(0x149)]({'rootName':_0x3a98cb}),_0x57ba29),{}),_0x5cbd1b=_0x327986[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x120))[_0x5db3e2(0x130)][_0x5db3e2(0x11c)](_0x3623af=>({'id':_0x3623af['id'],'name':_0x3623af[_0x5db3e2(0x115)]})),_0x283091=_0x327986[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x139))[_0x5db3e2(0x129)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x8bd746=_0x327986[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x142))[_0x5db3e2(0x116)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1a16fd=_0x2a03cd[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x120)),_0x8477ad=_0x2a03cd[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x139)),_0x5effa2=_0x2a03cd[_0x5db3e2(0x122)][_0x5db3e2(0x149)](_0x5db3e2(0x142));for(const _0x24ab0c of _0x5cbd1b)_0x1a16fd[_0x5db3e2(0x13a)](_0x24ab0c['id'])||_0x1a16fd[_0x5db3e2(0x143)](_0x24ab0c);_0x1a16fd['me']||_0x1a16fd[_0x5db3e2(0x144)]();for(const _0x29e7d9 of _0x8bd746)_0x5effa2[_0x5db3e2(0x14a)](_0x29e7d9);for(const _0x302342 of _0x283091)_0x8477ad[_0x5db3e2(0x138)](_0x302342);_0x2a03cd[_0x5db3e2(0x112)][_0x5db3e2(0x114)](_0x3d7f45);}(_0x271125,_0x1964a5),_0x1964a5[_0x1a097a(0x11d)](_0x449bf5?_0x1a097a(0x140):_0x1a097a(0x14b));const _0x11c7cb=v(_0x1964a5)?_0x1964a5[_0x1a097a(0x137)](_0x2fe2ed):_0x1964a5[_0x1a097a(0x112)][_0x1a097a(0x149)](_0x2fe2ed);return await _0x1964a5[_0x1a097a(0x12e)](),_0x11c7cb;}
|