@ckeditor/ckeditor5-track-changes 43.0.0-alpha.0 → 43.0.0-alpha.1
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 +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1ede(){const _0xf759a8=['return','enableCommand','TableEditing','3556280VllxZx','TrackChangesEditing','mergeTableCellRight','plugins','tableCell','forceDefaultExecution','createTableWalker','27zYVDfG','formatBlock','find','accept','*Split\x20cell:*\x20vertically','value','filter','map','3rYXuii','fromRange','6ZaAdjm','_suggestionFactory','horizontally','set:isEnabled','direction','registerDescriptionCallback','mergeTableCellUp','*Merge\x20cells*','commands','editor','findAncestor','_areSelectedCellsMergable','getRanges','getAncestors','mergeTableCellDown','getCellLocation','rootName','markMultiRangeBlockFormat','table','_areMergableCells','_isForcedDefaultExecutionBlock','getFirstPosition','model','requires','root','781678BVAYlG','afterInit','2293704tiGOlm','_acceptFormatSuggestionCallbackFactory','668620vkUzfm','TableUtils','*Split\x20cell:*\x20horizontally','containsRange','change','1390876jXfveB','stop','4210735BNmUIW','locale','cell','has','element','getSuggestions','selection','createRangeOn','mergeTableCells','isInContent','type','$graveyard','getSelectionAffectedTableCells','push','formatInline','descriptionFactory','1eAzxMQ','commandName','subType','detach','length','registerCustomCallback','isEnabled','execute','_tablePostFixingSubtypes','48hmoCNL','mergeTableCellLeft','setSelection','deletion','refresh','document','from','low','highest','2834018OWsYRY','markBlockFormat','get','splitTableCellHorizontally','trackChanges','author','format','insertion','add','splitTableCellVertically','size'];_0x1ede=function(){return _0xf759a8;};return _0x1ede();}const _0x38c95d=_0x37de;(function(_0x3074a8,_0x19e714){const _0x1ef00a=_0x37de,_0x3ff471=_0x3074a8();while(!![]){try{const _0x57b893=parseInt(_0x1ef00a(0x1ea))/0x1*(-parseInt(_0x1ef00a(0x1cf))/0x2)+-parseInt(_0x1ef00a(0x1b4))/0x3*(-parseInt(_0x1ef00a(0x1d8))/0x4)+-parseInt(_0x1ef00a(0x1da))/0x5*(parseInt(_0x1ef00a(0x1b6))/0x6)+-parseInt(_0x1ef00a(0x1d1))/0x7+parseInt(_0x1ef00a(0x20a))/0x8+-parseInt(_0x1ef00a(0x211))/0x9*(-parseInt(_0x1ef00a(0x1d3))/0xa)+parseInt(_0x1ef00a(0x1fc))/0xb*(parseInt(_0x1ef00a(0x1f3))/0xc);if(_0x57b893===_0x19e714)break;else _0x3ff471['push'](_0x3ff471['shift']());}catch(_0x41800d){_0x3ff471['push'](_0x3ff471['shift']());}}}(_0x1ede,0x70f8e));import{Plugin as _0x13bcb8}from'ckeditor5/src/core.js';function _0x37de(_0x415a46,_0x3a08a8){const _0x1ede5c=_0x1ede();return _0x37de=function(_0x37def3,_0x482205){_0x37def3=_0x37def3-0x1b1;let _0x2258f3=_0x1ede5c[_0x37def3];return _0x2258f3;},_0x37de(_0x415a46,_0x3a08a8);}import _0x3f00af from'./table.js';import{LiveRange as _0x5b2e1a}from'ckeditor5/src/engine.js';import{getTranslation as _0x314736}from'../utils/common-translations.js';export default class vt extends _0x13bcb8{static get[_0x38c95d(0x1cd)](){return[_0x3f00af];}[_0x38c95d(0x1d0)](){const _0x44619a=_0x38c95d,_0x226954=this[_0x44619a(0x1bf)],_0x2c6aee=_0x226954[_0x44619a(0x1cc)][_0x44619a(0x1f8)][_0x44619a(0x1e0)],_0x42cfa2=_0x226954[_0x44619a(0x1db)];if(!_0x226954[_0x44619a(0x20d)][_0x44619a(0x1dd)](_0x44619a(0x209)))return;const _0x23a432=_0x226954[_0x44619a(0x20d)][_0x44619a(0x1fe)](_0x44619a(0x20b)),_0x42dcd4=_0x226954[_0x44619a(0x20d)][_0x44619a(0x1fe)](_0x44619a(0x1d4)),_0x1b931a=_0x226954[_0x44619a(0x20d)][_0x44619a(0x1fe)](_0x3f00af);_0x1b931a[_0x44619a(0x1f2)][_0x44619a(0x1e7)](_0x44619a(0x1e2)),_0x23a432[_0x44619a(0x208)](_0x44619a(0x1e2),()=>{const _0xc74e9=_0x44619a,_0x30b8a4=_0x42dcd4[_0xc74e9(0x1e6)](_0x226954[_0xc74e9(0x1cc)][_0xc74e9(0x1f8)][_0xc74e9(0x1e0)]);_0x226954[_0xc74e9(0x1cc)][_0xc74e9(0x1d7)](()=>{const _0x4d320a=_0xc74e9;_0x23a432[_0x4d320a(0x1c7)](_0x30b8a4,{'commandName':_0x4d320a(0x1e2),'commandParams':[]},[],_0x4d320a(0x1e2));});}),_0x226954[_0x44619a(0x1be)][_0x44619a(0x1fe)](_0x44619a(0x1e2))['on'](_0x44619a(0x1f1),(_0x3b7e9d,_0x47b97f)=>{const _0x181c9d=_0x44619a;_0x226954[_0x181c9d(0x1be)][_0x181c9d(0x1fe)](_0x181c9d(0x200))[_0x181c9d(0x1b1)]&&(_0x47b97f[_0x181c9d(0x1ee)]>0x0&&_0x47b97f[_0x47b97f[_0x181c9d(0x1ee)]-0x1]&&_0x47b97f[_0x47b97f[_0x181c9d(0x1ee)]-0x1][_0x181c9d(0x20f)]||_0x23a432[_0x181c9d(0x1ca)]||this[_0x181c9d(0x1c1)]()||_0x3b7e9d[_0x181c9d(0x1d9)]());},{'priority':_0x44619a(0x1fb)});for(const _0x42aa56 of[_0x44619a(0x1bc),_0x44619a(0x20c),_0x44619a(0x1c4),_0x44619a(0x1f4)]){const _0x44f269=_0x226954[_0x44619a(0x1be)][_0x44619a(0x1fe)](_0x42aa56);_0x23a432[_0x44619a(0x208)](_0x42aa56,()=>{const _0x194861=_0x44619a,_0x143959=_0x226954[_0x194861(0x1cc)][_0x194861(0x1f8)][_0x194861(0x1e0)][_0x194861(0x1cb)]()[_0x194861(0x1c3)]()[_0x194861(0x213)](_0x5a6632=>_0x5a6632['is'](_0x194861(0x1de),_0x194861(0x20e))),_0x474e6c=_0x44f269[_0x194861(0x1b1)];_0x226954[_0x194861(0x1cc)][_0x194861(0x1d7)](()=>{const _0x5d6db5=_0x194861;_0x23a432[_0x5d6db5(0x1c7)]([_0x143959,_0x474e6c],{'commandName':_0x5d6db5(0x1e2),'commandParams':[]},[],_0x5d6db5(0x1e2));});});}for(const _0x546a2c of[_0x44619a(0x205),_0x44619a(0x1ff)]){const _0x55768f=_0x226954[_0x44619a(0x1be)][_0x44619a(0x1fe)](_0x546a2c);_0x23a432[_0x44619a(0x208)](_0x546a2c,()=>{const _0x64e69f=_0x44619a,_0x231721=_0x42dcd4[_0x64e69f(0x1e6)](_0x226954[_0x64e69f(0x1cc)][_0x64e69f(0x1f8)][_0x64e69f(0x1e0)])[0x0],_0x191522=_0x231721[_0x64e69f(0x1c0)](_0x64e69f(0x1c8)),{column:_0x43f17b,row:_0x4c12dd}=_0x42dcd4[_0x64e69f(0x1c5)](_0x231721);let _0x5e1950=[];if(_0x64e69f(0x1b8)==_0x55768f[_0x64e69f(0x1ba)]){const _0x3b49fb=_0x42dcd4[_0x64e69f(0x210)](_0x191522,{'startRow':_0x4c12dd,'endRow':_0x4c12dd,'includeAllSlots':!0x0});_0x5e1950=Array[_0x64e69f(0x1f9)](_0x3b49fb)[_0x64e69f(0x1b3)](_0xb5dab9=>_0xb5dab9[_0x64e69f(0x1dc)]);}else{const _0x103331=_0x42dcd4[_0x64e69f(0x210)](_0x191522,{'column':_0x43f17b,'includeAllSlots':!0x0});_0x5e1950=Array[_0x64e69f(0x1f9)](_0x103331)[_0x64e69f(0x1b3)](_0x48aa48=>_0x48aa48[_0x64e69f(0x1dc)]);}_0x226954[_0x64e69f(0x1cc)][_0x64e69f(0x1d7)](_0x220e7c=>{const _0x44b045=_0x64e69f;_0x23a432[_0x44b045(0x1fd)](_0x220e7c[_0x44b045(0x1e1)](_0x231721),{'commandName':_0x546a2c,'commandParams':[]},_0x5e1950,_0x546a2c);});});}_0x23a432[_0x44619a(0x1e9)][_0x44619a(0x1bb)](_0x512ebf=>{const _0x102520=_0x44619a;if(_0x102520(0x212)!=_0x512ebf[_0x102520(0x1e4)]&&_0x102520(0x1e8)!=_0x512ebf[_0x102520(0x1e4)])return;const {data:_0x1c2e33}=_0x512ebf;return _0x1c2e33&&_0x102520(0x1e2)==_0x1c2e33[_0x102520(0x1eb)]?{'type':_0x102520(0x202),'content':_0x314736(_0x42cfa2,_0x102520(0x1bd))}:void 0x0;}),_0x23a432[_0x44619a(0x1e9)][_0x44619a(0x1bb)](_0x4de767=>{const _0x7a34a1=_0x44619a;if(_0x7a34a1(0x212)!=_0x4de767[_0x7a34a1(0x1e4)]&&_0x7a34a1(0x1e8)!=_0x4de767[_0x7a34a1(0x1e4)])return;const {data:_0x51001f}=_0x4de767;return _0x51001f?_0x7a34a1(0x205)==_0x51001f[_0x7a34a1(0x1eb)]?{'type':_0x7a34a1(0x202),'content':_0x314736(_0x42cfa2,_0x7a34a1(0x215))}:_0x7a34a1(0x1ff)==_0x51001f[_0x7a34a1(0x1eb)]?{'type':_0x7a34a1(0x202),'content':_0x314736(_0x42cfa2,_0x7a34a1(0x1d5))}:void 0x0:void 0x0;});const _0x59d35a=_0x1b931a[_0x44619a(0x1d2)]();for(const _0x2d54bf of[_0x44619a(0x1bc),_0x44619a(0x20c),_0x44619a(0x1c4),_0x44619a(0x1f4)])_0x23a432[_0x44619a(0x1b7)][_0x44619a(0x1ef)](_0x44619a(0x212),_0x2d54bf,_0x44619a(0x214),_0x59d35a);for(const _0x455f83 of[_0x44619a(0x205),_0x44619a(0x1ff)])_0x23a432[_0x44619a(0x1b7)][_0x44619a(0x1ef)](_0x44619a(0x212),_0x455f83,_0x44619a(0x214),_0x59d35a);_0x23a432[_0x44619a(0x1b7)][_0x44619a(0x1ef)](_0x44619a(0x212),_0x44619a(0x1e2),_0x44619a(0x214),_0x20919c=>{const _0x19261e=_0x44619a;_0x226954[_0x19261e(0x1cc)][_0x19261e(0x1d7)](_0x3d0ef8=>{const _0x49127b=_0x19261e,_0x5d7027=Array[_0x49127b(0x1f9)](_0x2c6aee[_0x49127b(0x1c2)]())[_0x49127b(0x1b3)](_0xe31271=>_0x5b2e1a[_0x49127b(0x1b5)](_0xe31271));_0x3d0ef8[_0x49127b(0x1f5)](_0x20919c),_0x226954[_0x49127b(0x1be)][_0x49127b(0x1fe)](_0x49127b(0x1e2))[_0x49127b(0x1f7)](),_0x226954[_0x49127b(0x1f1)](_0x49127b(0x1e2),{'forceDefaultExecution':!0x0});const _0x2181c1=_0x5d7027[_0x49127b(0x1b2)](_0x7b9e44=>_0x49127b(0x1e5)!=_0x7b9e44[_0x49127b(0x1ce)][_0x49127b(0x1c6)]);_0x2181c1[_0x49127b(0x1ee)]>0x0&&_0x3d0ef8[_0x49127b(0x1f5)](_0x2181c1);for(const _0x33c21e of _0x5d7027)_0x33c21e[_0x49127b(0x1ed)]();});});for(const _0xc1720e of[_0x44619a(0x1bc),_0x44619a(0x1c4),_0x44619a(0x1f4),_0x44619a(0x20c)]){const _0x82b04a=_0x226954[_0x44619a(0x1be)][_0x44619a(0x1fe)](_0xc1720e);_0x82b04a['on'](_0x44619a(0x1b9),(_0x5adb4e,_0x25d76d,_0x57baf9)=>{const _0x399d8c=_0x44619a;if(_0x57baf9){const _0xa20a0c=_0x226954[_0x399d8c(0x1cc)][_0x399d8c(0x1f8)][_0x399d8c(0x1e0)][_0x399d8c(0x1cb)]()[_0x399d8c(0x1c3)]()[_0x399d8c(0x213)](_0x149675=>_0x149675['is'](_0x399d8c(0x1de),_0x399d8c(0x20e)));this[_0x399d8c(0x1c9)](_0x82b04a[_0x399d8c(0x1b1)],_0xa20a0c)||(_0x5adb4e[_0x399d8c(0x207)]=!0x1,_0x5adb4e[_0x399d8c(0x1d9)]());}},{'priority':_0x44619a(0x1fa)});}}[_0x38c95d(0x1c1)](){const _0x3b5f59=_0x38c95d,_0x71ec40=this[_0x3b5f59(0x1bf)][_0x3b5f59(0x1be)][_0x3b5f59(0x1fe)](_0x3b5f59(0x1e2)),_0x2e135c=this[_0x3b5f59(0x1bf)][_0x3b5f59(0x20d)][_0x3b5f59(0x1fe)](_0x3b5f59(0x1d4));if(!_0x71ec40[_0x3b5f59(0x1f0)])return!0x1;const _0x432c61=_0x2e135c[_0x3b5f59(0x1e6)](this[_0x3b5f59(0x1bf)][_0x3b5f59(0x1cc)][_0x3b5f59(0x1f8)][_0x3b5f59(0x1e0)]);for(const _0x2a5d43 of _0x432c61)for(const _0x2e2f5b of _0x432c61)if(_0x2a5d43!=_0x2e2f5b&&!this[_0x3b5f59(0x1c9)](_0x2a5d43,_0x2e2f5b))return!0x1;return!0x0;}[_0x38c95d(0x1c9)](_0x4b5495,_0x9f7eac){const _0x159a26=_0x38c95d,_0x179552=this[_0x159a26(0x1bf)][_0x159a26(0x20d)][_0x159a26(0x1fe)](_0x159a26(0x20b)),_0xe554bd=this[_0x159a26(0x1bf)][_0x159a26(0x1cc)][_0x159a26(0x1e1)](_0x4b5495),_0x39adf2=this[_0x159a26(0x1bf)][_0x159a26(0x1cc)][_0x159a26(0x1e1)](_0x9f7eac),_0xe222e0=new Set(),_0x25a7f3=new Set();for(const _0x18a4b8 of _0x179552[_0x159a26(0x1df)]())if((_0x159a26(0x203)==_0x18a4b8[_0x159a26(0x1e4)]||_0x159a26(0x1f6)==_0x18a4b8[_0x159a26(0x1e4)]||_0x159a26(0x1e2)==_0x18a4b8[_0x159a26(0x1ec)])&&_0x18a4b8[_0x159a26(0x1e3)]){for(const _0x4da9f9 of _0x18a4b8[_0x159a26(0x1c2)]())_0x4da9f9[_0x159a26(0x1d6)](_0xe554bd,!0x0)&&_0xe222e0[_0x159a26(0x204)](_0x18a4b8[_0x159a26(0x1e4)]+':'+_0x18a4b8[_0x159a26(0x201)]['id']),_0x4da9f9[_0x159a26(0x1d6)](_0x39adf2,!0x0)&&_0x25a7f3[_0x159a26(0x204)](_0x18a4b8[_0x159a26(0x1e4)]+':'+_0x18a4b8[_0x159a26(0x201)]['id']);}if(_0xe222e0[_0x159a26(0x206)]!=_0x25a7f3[_0x159a26(0x206)])return!0x1;for(const _0xed8666 of _0xe222e0)if(!_0x25a7f3[_0x159a26(0x1dd)](_0xed8666))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2f6399=_0x2521;(function(_0x469f23,_0x58958f){const _0x2b75ff=_0x2521,_0x4b7060=_0x469f23();while(!![]){try{const _0x4ed1c2=-parseInt(_0x2b75ff(0x211))/0x1*(-parseInt(_0x2b75ff(0x22f))/0x2)+parseInt(_0x2b75ff(0x23e))/0x3*(parseInt(_0x2b75ff(0x227))/0x4)+-parseInt(_0x2b75ff(0x22c))/0x5*(parseInt(_0x2b75ff(0x239))/0x6)+parseInt(_0x2b75ff(0x212))/0x7+parseInt(_0x2b75ff(0x240))/0x8+-parseInt(_0x2b75ff(0x22b))/0x9+-parseInt(_0x2b75ff(0x228))/0xa;if(_0x4ed1c2===_0x58958f)break;else _0x4b7060['push'](_0x4b7060['shift']());}catch(_0x21bab5){_0x4b7060['push'](_0x4b7060['shift']());}}}(_0x5514,0xea1da));function _0x2521(_0x25c3b0,_0xf9ead2){const _0x551488=_0x5514();return _0x2521=function(_0x2521e6,_0x4a3b98){_0x2521e6=_0x2521e6-0x1f4;let _0x218fe7=_0x551488[_0x2521e6];return _0x218fe7;},_0x2521(_0x25c3b0,_0xf9ead2);}import{Plugin as _0x162c62}from'ckeditor5/src/core.js';import _0x227550 from'./table.js';import{LiveRange as _0x5f65cd}from'ckeditor5/src/engine.js';function _0x5514(){const _0x2992d5=['set:isEnabled','stop','_acceptFormatSuggestionCallbackFactory','splitTableCellHorizontally','editor','getRanges','descriptionFactory','13828nZNMKE','30242160RpXMbL','change','document','11361240dvuEVq','5GSJSNx','execute','element','10EoEHNi','TableUtils','registerDescriptionCallback','*Split\x20cell:*\x20vertically','find','containsRange','*Split\x20cell:*\x20horizontally','size','table','commandName','2511426Jwhmzk','_suggestionFactory','TrackChangesEditing','get','getFirstPosition','1371zZKAxl','has','14634304DcHEWd','locale','mergeTableCellLeft','cell','length','detach','registerCustomCallback','insertion','afterInit','TableEditing','getAncestors','_areMergableCells','mergeTableCellUp','*Merge\x20cells*','_areSelectedCellsMergable','add','tableCell','author','highest','fromRange','deletion','refresh','selection','createTableWalker','rootName','mergeTableCellDown','getCellLocation','getSuggestions','trackChanges','format','from','subType','markMultiRangeBlockFormat','formatBlock','accept','mergeTableCellRight','formatInline','enableCommand','getSelectionAffectedTableCells','isEnabled','_tablePostFixingSubtypes','createRangeOn','requires','model','$graveyard','forceDefaultExecution','filter','value','push','_isForcedDefaultExecutionBlock','plugins','horizontally','201289LyoHzE','8739521OqrHak','findAncestor','mergeTableCells','markBlockFormat','root','map','isInContent','type','splitTableCellVertically','low','return','direction','commands','setSelection'];_0x5514=function(){return _0x2992d5;};return _0x5514();}import{getTranslation as _0x46ee31}from'../utils/common-translations.js';export default class vt extends _0x162c62{static get[_0x2f6399(0x207)](){return[_0x227550];}[_0x2f6399(0x248)](){const _0x26854b=_0x2f6399,_0x2e9eba=this[_0x26854b(0x224)],_0x58692e=_0x2e9eba[_0x26854b(0x208)][_0x26854b(0x22a)][_0x26854b(0x256)],_0x2ef668=_0x2e9eba[_0x26854b(0x241)];if(!_0x2e9eba[_0x26854b(0x20f)][_0x26854b(0x23f)](_0x26854b(0x249)))return;const _0x58f20b=_0x2e9eba[_0x26854b(0x20f)][_0x26854b(0x23c)](_0x26854b(0x23b)),_0x252ed6=_0x2e9eba[_0x26854b(0x20f)][_0x26854b(0x23c)](_0x26854b(0x230)),_0x10e80d=_0x2e9eba[_0x26854b(0x20f)][_0x26854b(0x23c)](_0x227550);_0x10e80d[_0x26854b(0x205)][_0x26854b(0x20d)](_0x26854b(0x214)),_0x58f20b[_0x26854b(0x202)](_0x26854b(0x214),()=>{const _0x584cea=_0x26854b,_0x37e657=_0x252ed6[_0x584cea(0x203)](_0x2e9eba[_0x584cea(0x208)][_0x584cea(0x22a)][_0x584cea(0x256)]);_0x2e9eba[_0x584cea(0x208)][_0x584cea(0x229)](()=>{const _0x38331f=_0x584cea;_0x58f20b[_0x38331f(0x1fd)](_0x37e657,{'commandName':_0x38331f(0x214),'commandParams':[]},[],_0x38331f(0x214));});}),_0x2e9eba[_0x26854b(0x21e)][_0x26854b(0x23c)](_0x26854b(0x214))['on'](_0x26854b(0x22d),(_0x535a9f,_0x558731)=>{const _0x43d07a=_0x26854b;_0x2e9eba[_0x43d07a(0x21e)][_0x43d07a(0x23c)](_0x43d07a(0x1f9))[_0x43d07a(0x20c)]&&(_0x558731[_0x43d07a(0x244)]>0x0&&_0x558731[_0x558731[_0x43d07a(0x244)]-0x1]&&_0x558731[_0x558731[_0x43d07a(0x244)]-0x1][_0x43d07a(0x20a)]||_0x58f20b[_0x43d07a(0x20e)]||this[_0x43d07a(0x24e)]()||_0x535a9f[_0x43d07a(0x221)]());},{'priority':_0x26854b(0x252)});for(const _0x50eee8 of[_0x26854b(0x24c),_0x26854b(0x200),_0x26854b(0x1f6),_0x26854b(0x242)]){const _0x3edf62=_0x2e9eba[_0x26854b(0x21e)][_0x26854b(0x23c)](_0x50eee8);_0x58f20b[_0x26854b(0x202)](_0x50eee8,()=>{const _0xad5866=_0x26854b,_0x39716e=_0x2e9eba[_0xad5866(0x208)][_0xad5866(0x22a)][_0xad5866(0x256)][_0xad5866(0x23d)]()[_0xad5866(0x24a)]()[_0xad5866(0x233)](_0x157ea7=>_0x157ea7['is'](_0xad5866(0x22e),_0xad5866(0x250))),_0x147962=_0x3edf62[_0xad5866(0x20c)];_0x2e9eba[_0xad5866(0x208)][_0xad5866(0x229)](()=>{const _0x42455d=_0xad5866;_0x58f20b[_0x42455d(0x1fd)]([_0x39716e,_0x147962],{'commandName':_0x42455d(0x214),'commandParams':[]},[],_0x42455d(0x214));});});}for(const _0x6d3c28 of[_0x26854b(0x21a),_0x26854b(0x223)]){const _0x148a0e=_0x2e9eba[_0x26854b(0x21e)][_0x26854b(0x23c)](_0x6d3c28);_0x58f20b[_0x26854b(0x202)](_0x6d3c28,()=>{const _0x21dd53=_0x26854b,_0xccaefb=_0x252ed6[_0x21dd53(0x203)](_0x2e9eba[_0x21dd53(0x208)][_0x21dd53(0x22a)][_0x21dd53(0x256)])[0x0],_0x2345b2=_0xccaefb[_0x21dd53(0x213)](_0x21dd53(0x237)),{column:_0x684e8c,row:_0x2c9b5e}=_0x252ed6[_0x21dd53(0x1f7)](_0xccaefb);let _0x1f7f91=[];if(_0x21dd53(0x210)==_0x148a0e[_0x21dd53(0x21d)]){const _0x52744c=_0x252ed6[_0x21dd53(0x1f4)](_0x2345b2,{'startRow':_0x2c9b5e,'endRow':_0x2c9b5e,'includeAllSlots':!0x0});_0x1f7f91=Array[_0x21dd53(0x1fb)](_0x52744c)[_0x21dd53(0x217)](_0x58ad11=>_0x58ad11[_0x21dd53(0x243)]);}else{const _0x1ef45c=_0x252ed6[_0x21dd53(0x1f4)](_0x2345b2,{'column':_0x684e8c,'includeAllSlots':!0x0});_0x1f7f91=Array[_0x21dd53(0x1fb)](_0x1ef45c)[_0x21dd53(0x217)](_0x226d22=>_0x226d22[_0x21dd53(0x243)]);}_0x2e9eba[_0x21dd53(0x208)][_0x21dd53(0x229)](_0x15970c=>{const _0x1f370b=_0x21dd53;_0x58f20b[_0x1f370b(0x215)](_0x15970c[_0x1f370b(0x206)](_0xccaefb),{'commandName':_0x6d3c28,'commandParams':[]},_0x1f7f91,_0x6d3c28);});});}_0x58f20b[_0x26854b(0x226)][_0x26854b(0x231)](_0x30cc0d=>{const _0x4db430=_0x26854b;if(_0x4db430(0x1fe)!=_0x30cc0d[_0x4db430(0x219)]&&_0x4db430(0x201)!=_0x30cc0d[_0x4db430(0x219)])return;const {data:_0xbf090e}=_0x30cc0d;return _0xbf090e&&_0x4db430(0x214)==_0xbf090e[_0x4db430(0x238)]?{'type':_0x4db430(0x1fa),'content':_0x46ee31(_0x2ef668,_0x4db430(0x24d))}:void 0x0;}),_0x58f20b[_0x26854b(0x226)][_0x26854b(0x231)](_0x15043d=>{const _0x2c0bbb=_0x26854b;if(_0x2c0bbb(0x1fe)!=_0x15043d[_0x2c0bbb(0x219)]&&_0x2c0bbb(0x201)!=_0x15043d[_0x2c0bbb(0x219)])return;const {data:_0x348598}=_0x15043d;return _0x348598?_0x2c0bbb(0x21a)==_0x348598[_0x2c0bbb(0x238)]?{'type':_0x2c0bbb(0x1fa),'content':_0x46ee31(_0x2ef668,_0x2c0bbb(0x232))}:_0x2c0bbb(0x223)==_0x348598[_0x2c0bbb(0x238)]?{'type':_0x2c0bbb(0x1fa),'content':_0x46ee31(_0x2ef668,_0x2c0bbb(0x235))}:void 0x0:void 0x0;});const _0x3abe25=_0x10e80d[_0x26854b(0x222)]();for(const _0xdd9d8f of[_0x26854b(0x24c),_0x26854b(0x200),_0x26854b(0x1f6),_0x26854b(0x242)])_0x58f20b[_0x26854b(0x23a)][_0x26854b(0x246)](_0x26854b(0x1fe),_0xdd9d8f,_0x26854b(0x1ff),_0x3abe25);for(const _0x273ec1 of[_0x26854b(0x21a),_0x26854b(0x223)])_0x58f20b[_0x26854b(0x23a)][_0x26854b(0x246)](_0x26854b(0x1fe),_0x273ec1,_0x26854b(0x1ff),_0x3abe25);_0x58f20b[_0x26854b(0x23a)][_0x26854b(0x246)](_0x26854b(0x1fe),_0x26854b(0x214),_0x26854b(0x1ff),_0x17b701=>{const _0x26f6cd=_0x26854b;_0x2e9eba[_0x26f6cd(0x208)][_0x26f6cd(0x229)](_0x17a8d5=>{const _0x182d2c=_0x26f6cd,_0x5e439d=Array[_0x182d2c(0x1fb)](_0x58692e[_0x182d2c(0x225)]())[_0x182d2c(0x217)](_0x1c5b7f=>_0x5f65cd[_0x182d2c(0x253)](_0x1c5b7f));_0x17a8d5[_0x182d2c(0x21f)](_0x17b701),_0x2e9eba[_0x182d2c(0x21e)][_0x182d2c(0x23c)](_0x182d2c(0x214))[_0x182d2c(0x255)](),_0x2e9eba[_0x182d2c(0x22d)](_0x182d2c(0x214),{'forceDefaultExecution':!0x0});const _0x3eba78=_0x5e439d[_0x182d2c(0x20b)](_0x32349a=>_0x182d2c(0x209)!=_0x32349a[_0x182d2c(0x216)][_0x182d2c(0x1f5)]);_0x3eba78[_0x182d2c(0x244)]>0x0&&_0x17a8d5[_0x182d2c(0x21f)](_0x3eba78);for(const _0x5983d0 of _0x5e439d)_0x5983d0[_0x182d2c(0x245)]();});});for(const _0x5a3a75 of[_0x26854b(0x24c),_0x26854b(0x1f6),_0x26854b(0x242),_0x26854b(0x200)]){const _0x347d4e=_0x2e9eba[_0x26854b(0x21e)][_0x26854b(0x23c)](_0x5a3a75);_0x347d4e['on'](_0x26854b(0x220),(_0x170a2b,_0x4ae999,_0x4de5ee)=>{const _0x2e71e5=_0x26854b;if(_0x4de5ee){const _0x23b71e=_0x2e9eba[_0x2e71e5(0x208)][_0x2e71e5(0x22a)][_0x2e71e5(0x256)][_0x2e71e5(0x23d)]()[_0x2e71e5(0x24a)]()[_0x2e71e5(0x233)](_0x2324d3=>_0x2324d3['is'](_0x2e71e5(0x22e),_0x2e71e5(0x250)));this[_0x2e71e5(0x24b)](_0x347d4e[_0x2e71e5(0x20c)],_0x23b71e)||(_0x170a2b[_0x2e71e5(0x21c)]=!0x1,_0x170a2b[_0x2e71e5(0x221)]());}},{'priority':_0x26854b(0x21b)});}}[_0x2f6399(0x24e)](){const _0xd5b355=_0x2f6399,_0x37522a=this[_0xd5b355(0x224)][_0xd5b355(0x21e)][_0xd5b355(0x23c)](_0xd5b355(0x214)),_0x3e8ff6=this[_0xd5b355(0x224)][_0xd5b355(0x20f)][_0xd5b355(0x23c)](_0xd5b355(0x230));if(!_0x37522a[_0xd5b355(0x204)])return!0x1;const _0x1fd1f2=_0x3e8ff6[_0xd5b355(0x203)](this[_0xd5b355(0x224)][_0xd5b355(0x208)][_0xd5b355(0x22a)][_0xd5b355(0x256)]);for(const _0x3d244e of _0x1fd1f2)for(const _0x1aeff5 of _0x1fd1f2)if(_0x3d244e!=_0x1aeff5&&!this[_0xd5b355(0x24b)](_0x3d244e,_0x1aeff5))return!0x1;return!0x0;}[_0x2f6399(0x24b)](_0x4e0340,_0x43b3d5){const _0x31e15f=_0x2f6399,_0x2d6c80=this[_0x31e15f(0x224)][_0x31e15f(0x20f)][_0x31e15f(0x23c)](_0x31e15f(0x23b)),_0x4d3ef4=this[_0x31e15f(0x224)][_0x31e15f(0x208)][_0x31e15f(0x206)](_0x4e0340),_0x38207c=this[_0x31e15f(0x224)][_0x31e15f(0x208)][_0x31e15f(0x206)](_0x43b3d5),_0x572894=new Set(),_0x320160=new Set();for(const _0x4f74fb of _0x2d6c80[_0x31e15f(0x1f8)]())if((_0x31e15f(0x247)==_0x4f74fb[_0x31e15f(0x219)]||_0x31e15f(0x254)==_0x4f74fb[_0x31e15f(0x219)]||_0x31e15f(0x214)==_0x4f74fb[_0x31e15f(0x1fc)])&&_0x4f74fb[_0x31e15f(0x218)]){for(const _0x1af2fa of _0x4f74fb[_0x31e15f(0x225)]())_0x1af2fa[_0x31e15f(0x234)](_0x4d3ef4,!0x0)&&_0x572894[_0x31e15f(0x24f)](_0x4f74fb[_0x31e15f(0x219)]+':'+_0x4f74fb[_0x31e15f(0x251)]['id']),_0x1af2fa[_0x31e15f(0x234)](_0x38207c,!0x0)&&_0x320160[_0x31e15f(0x24f)](_0x4f74fb[_0x31e15f(0x219)]+':'+_0x4f74fb[_0x31e15f(0x251)]['id']);}if(_0x572894[_0x31e15f(0x236)]!=_0x320160[_0x31e15f(0x236)])return!0x1;for(const _0x5915f0 of _0x572894)if(!_0x320160[_0x31e15f(0x23f)](_0x5915f0))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a8fda=_0x4ede;(function(_0x4d7129,_0xe715e6){const _0x175db1=_0x4ede,_0x35389c=_0x4d7129();while(!![]){try{const _0x5bfdcd=parseInt(_0x175db1(0x109))/0x1*(-parseInt(_0x175db1(0x11b))/0x2)+-parseInt(_0x175db1(0x117))/0x3*(parseInt(_0x175db1(0x105))/0x4)+parseInt(_0x175db1(0x10f))/0x5*(parseInt(_0x175db1(0x115))/0x6)+-parseInt(_0x175db1(0x10b))/0x7*(parseInt(_0x175db1(0x106))/0x8)+-parseInt(_0x175db1(0x10e))/0x9*(parseInt(_0x175db1(0x104))/0xa)+-parseInt(_0x175db1(0x10c))/0xb*(-parseInt(_0x175db1(0x10a))/0xc)+-parseInt(_0x175db1(0x116))/0xd*(-parseInt(_0x175db1(0x101))/0xe);if(_0x5bfdcd===_0xe715e6)break;else _0x35389c['push'](_0x35389c['shift']());}catch(_0x394000){_0x35389c['push'](_0x35389c['shift']());}}}(_0x2f29,0x8286f));import{Plugin as _0x44f3a1}from'ckeditor5/src/core.js';function _0x4ede(_0x59c5ff,_0x3ecf9b){const _0x2f292e=_0x2f29();return _0x4ede=function(_0x4edec4,_0x127247){_0x4edec4=_0x4edec4-0x101;let _0x1b1a3e=_0x2f292e[_0x4edec4];return _0x1b1a3e;},_0x4ede(_0x59c5ff,_0x3ecf9b);}import{getTranslation as _0x9c6e36}from'../utils/common-translations.js';export default class Mt extends _0x44f3a1{[_0x4a8fda(0x103)](){const _0xfdd29d=_0x4a8fda,_0x29bae4=this[_0xfdd29d(0x11a)];if(!_0x29bae4[_0xfdd29d(0x118)][_0xfdd29d(0x110)](_0xfdd29d(0x112)))return;_0x29bae4[_0xfdd29d(0x102)][_0xfdd29d(0x110)](_0xfdd29d(0x111))[_0xfdd29d(0x107)](_0xfdd29d(0x112));const _0xa18b45=_0x29bae4[_0xfdd29d(0x102)][_0xfdd29d(0x110)](_0xfdd29d(0x111)),_0x37063e=_0x29bae4[_0xfdd29d(0x108)];_0xa18b45[_0xfdd29d(0x113)][_0xfdd29d(0x114)](_0xfdd29d(0x10d),_0x5cfcca=>_0x9c6e36(_0x37063e,_0xfdd29d(0x119),_0x5cfcca));}}function _0x2f29(){const _0x28bcea=['501489YGfcua','36620CaEWxE','get','TrackChangesEditing','insertTableOfContents','descriptionFactory','registerElementLabel','48Lwkgba','8350693XKIdEn','3twrMTd','commands','ELEMENT_TABLE_OF_CONTENTS','editor','384Tstmxk','28mUkLhZ','plugins','afterInit','50wtPDTx','141148wkrHvO','5205576hQPXMh','enableCommand','locale','1342tDjeAq','4962936VqAOfR','7qANmqX','11dohqbc','tableOfContents'];_0x2f29=function(){return _0x28bcea;};return _0x2f29();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d849b=_0x850c;function _0x850c(_0x4f729a,_0x39f754){const _0x36ba17=_0x36ba();return _0x850c=function(_0x850c89,_0x38ad25){_0x850c89=_0x850c89-0x17f;let _0x210c36=_0x36ba17[_0x850c89];return _0x210c36;},_0x850c(_0x4f729a,_0x39f754);}(function(_0x550db3,_0x47c0cf){const _0x508268=_0x850c,_0x42eb89=_0x550db3();while(!![]){try{const _0x799d73=-parseInt(_0x508268(0x1bc))/0x1+-parseInt(_0x508268(0x1be))/0x2+parseInt(_0x508268(0x192))/0x3*(-parseInt(_0x508268(0x1c2))/0x4)+-parseInt(_0x508268(0x1a6))/0x5*(parseInt(_0x508268(0x19c))/0x6)+parseInt(_0x508268(0x195))/0x7*(parseInt(_0x508268(0x189))/0x8)+-parseInt(_0x508268(0x1a9))/0x9+parseInt(_0x508268(0x1a2))/0xa;if(_0x799d73===_0x47c0cf)break;else _0x42eb89['push'](_0x42eb89['shift']());}catch(_0xb8f582){_0x42eb89['push'](_0x42eb89['shift']());}}}(_0x36ba,0x3bda8));import{Plugin as _0x5adbbc}from'ckeditor5/src/core.js';import{getTranslation as _0x10304a}from'../utils/common-translations.js';function _0x36ba(){const _0x50a609=['_getSuggestion','registerDescriptionCallback','join','*Format:*\x20change\x20table\x20cell\x20properties','batch','plugins','1164YxWWjp','TablePropertiesEditing','TableUtils','getSuggestionCallback','tableWidth','getFirstPosition','13739890CHYkrO','TrackChangesTableProperties','document','removeAttribute','10INwumL','subType','locale','4381200izuufi','tableCellPadding','enqueueChange','getSuggestions','tableHeight','_handlePropertyChange','model','tableCellHeight','markBlockFormat','nodeAfter','discard','start','formatBlock','accept','get','tableCellBorderWidth','table','enableCommand','tableCellHorizontalAlignment','2516VcRZgE','setAttribute','859714nchtcJ','TableCellPropertiesEditing','format','has','135640ToUqwK','descriptionFactory','data','commandParams','tableCellWidth','tableCellBorderStyle','tableProperties','registerCustomCallback','tableBorderColor','editor','tableCellVerticalAlignment','pluginName','_suggestionFactory','handleDiscardAction','getAttribute','getSelectionAffectedTableCells','afterInit','findAncestor','tableCellProperties','tableAlignment','handleSuggestionDescription','16lzfjiv','tableBackgroundColor','getContainedElement','TrackChangesEditing','*Format:*\x20change\x20table\x20properties','tableBorderWidth','tableCellBackgroundColor','change','tableBorderStyle','21GuYfFW','selection','tableCellBorderColor','98357WGTOOh'];_0x36ba=function(){return _0x50a609;};return _0x36ba();}export default class Rt extends _0x5adbbc{constructor(_0x56e46c){const _0x1e95b5=_0x850c;super(_0x56e46c),this[_0x1e95b5(0x1c8)]=[_0x1e95b5(0x1ca),_0x1e95b5(0x191),_0x1e95b5(0x18e),_0x1e95b5(0x187),_0x1e95b5(0x1a0),_0x1e95b5(0x1ad),_0x1e95b5(0x18a)],this[_0x1e95b5(0x186)]=[_0x1e95b5(0x194),_0x1e95b5(0x1c7),_0x1e95b5(0x1b8),_0x1e95b5(0x1aa),_0x1e95b5(0x1c6),_0x1e95b5(0x1b0),_0x1e95b5(0x18f),_0x1e95b5(0x1bb),_0x1e95b5(0x1cc)];}static get[_0x5d849b(0x17f)](){const _0x44f1ed=_0x5d849b;return _0x44f1ed(0x1a3);}[_0x5d849b(0x184)](){const _0x3f77dc=_0x5d849b,_0x30e216=this[_0x3f77dc(0x1cb)][_0x3f77dc(0x19b)][_0x3f77dc(0x1b7)](_0x3f77dc(0x18c));if(this[_0x3f77dc(0x1cb)][_0x3f77dc(0x19b)][_0x3f77dc(0x1c1)](_0x3f77dc(0x19d))){for(const _0xad4dc of this[_0x3f77dc(0x1c8)])_0x30e216[_0x3f77dc(0x1ba)](_0xad4dc,(_0xe84d48,_0x14c131)=>{const _0x13f4a4=_0x3f77dc,_0x4afdfb=this[_0x13f4a4(0x1cb)][_0x13f4a4(0x1af)][_0x13f4a4(0x1a4)][_0x13f4a4(0x193)][_0x13f4a4(0x1a1)]()[_0x13f4a4(0x185)](_0x13f4a4(0x1b9));this[_0x13f4a4(0x1ae)](_0xad4dc,[_0x4afdfb],this[_0x13f4a4(0x1c8)],_0x13f4a4(0x1c8),_0xe84d48,_0x14c131);});_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x1c8),_0x3f77dc(0x1b6),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x19f)](_0x3f77dc(0x1b5),null,_0x3f77dc(0x1b3))),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x1c8),_0x3f77dc(0x1b3),(_0x2c61c2,_0x30fa4b)=>this[_0x3f77dc(0x181)](this[_0x3f77dc(0x1c8)],_0x2c61c2,_0x30fa4b)),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x1c8),_0x3f77dc(0x198),()=>!0x1);}if(this[_0x3f77dc(0x1cb)][_0x3f77dc(0x19b)][_0x3f77dc(0x1c1)](_0x3f77dc(0x1bf))){for(const _0x3da0b8 of this[_0x3f77dc(0x186)])_0x30e216[_0x3f77dc(0x1ba)](_0x3da0b8,(_0x520601,_0x390b40)=>{const _0x2fe66a=_0x3f77dc,_0x4058f9=this[_0x2fe66a(0x1cb)][_0x2fe66a(0x19b)][_0x2fe66a(0x1b7)](_0x2fe66a(0x19e))[_0x2fe66a(0x183)](this[_0x2fe66a(0x1cb)][_0x2fe66a(0x1af)][_0x2fe66a(0x1a4)][_0x2fe66a(0x193)]);this[_0x2fe66a(0x1ae)](_0x3da0b8,_0x4058f9,this[_0x2fe66a(0x186)],_0x2fe66a(0x186),_0x520601,_0x390b40);});_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x186),_0x3f77dc(0x1b6),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x19f)](_0x3f77dc(0x1b5),null,_0x3f77dc(0x1b3))),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x186),_0x3f77dc(0x1b3),(_0x4346c3,_0x2425f9)=>this[_0x3f77dc(0x181)](this[_0x3f77dc(0x186)],_0x4346c3,_0x2425f9)),_0x30e216[_0x3f77dc(0x180)][_0x3f77dc(0x1c9)](_0x3f77dc(0x1b5),_0x3f77dc(0x186),_0x3f77dc(0x198),()=>!0x1);}_0x30e216[_0x3f77dc(0x1c3)][_0x3f77dc(0x197)](_0x38e10d=>this[_0x3f77dc(0x188)](_0x38e10d));}[_0x5d849b(0x1ae)](_0x549f84,_0x6ec8a1,_0x5422e4,_0x1a8949,_0x130c56,_0x2fca69){const _0x27d0d9=_0x5d849b,_0x4a5e4b=this[_0x27d0d9(0x1cb)][_0x27d0d9(0x19b)][_0x27d0d9(0x1b7)](_0x27d0d9(0x18c));this[_0x27d0d9(0x1cb)][_0x27d0d9(0x1af)][_0x27d0d9(0x1ab)](_0x2fca69[_0x27d0d9(0x19a)],()=>{const _0xa3fe79=_0x27d0d9;for(const _0x24a403 of _0x6ec8a1){if(this[_0xa3fe79(0x196)](_0x24a403,_0x1a8949))_0x130c56(_0x2fca69);else{const _0xc824d0={};for(const _0x892a56 of _0x5422e4){const _0x56a0bf=_0x24a403[_0xa3fe79(0x182)](_0x892a56);void 0x0!==_0x56a0bf&&(_0xc824d0[_0x892a56]=_0x56a0bf);}_0x130c56(_0x2fca69),_0x4a5e4b[_0xa3fe79(0x1b1)](_0x24a403,{'commandParams':[_0xc824d0]},[],_0x1a8949);}}});}[_0x5d849b(0x181)](_0x56dcef,_0x2a51db,_0x592bbf){const _0x523e9b=_0x5d849b,_0x2c1cbb=_0x2a51db[0x0][_0x523e9b(0x1b4)][_0x523e9b(0x1b2)],_0x4087b0=_0x592bbf[_0x523e9b(0x1c5)][0x0];this[_0x523e9b(0x1cb)][_0x523e9b(0x1af)][_0x523e9b(0x190)](_0x54af79=>{const _0x188701=_0x523e9b;for(const _0x803aea of _0x56dcef)void 0x0!==_0x4087b0[_0x803aea]?_0x54af79[_0x188701(0x1bd)](_0x803aea,_0x4087b0[_0x803aea],_0x2c1cbb):_0x54af79[_0x188701(0x1a5)](_0x803aea,_0x2c1cbb);});}[_0x5d849b(0x188)](_0xd76428){const _0x1ce637=_0x5d849b;if(_0xd76428[_0x1ce637(0x1c4)])switch(_0xd76428[_0x1ce637(0x1a7)]){case _0x1ce637(0x1c8):return{'type':_0x1ce637(0x1c0),'content':_0x10304a(this[_0x1ce637(0x1cb)][_0x1ce637(0x1a8)],_0x1ce637(0x18d))};case _0x1ce637(0x186):return{'type':_0x1ce637(0x1c0),'content':_0x10304a(this[_0x1ce637(0x1cb)][_0x1ce637(0x1a8)],_0x1ce637(0x199))};}}[_0x5d849b(0x196)](_0x26e40c,_0x173243){const _0x3ad3f1=_0x5d849b,_0x471cb7=this[_0x3ad3f1(0x1cb)][_0x3ad3f1(0x19b)][_0x3ad3f1(0x1b7)](_0x3ad3f1(0x18c));for(const _0x1e2a01 of _0x471cb7[_0x3ad3f1(0x1ac)]({'skipNotAttached':!0x0})){const _0x214f65=_0x1e2a01[_0x3ad3f1(0x18b)]();if(_0x1e2a01[_0x3ad3f1(0x1a7)]===_0x173243&&_0x214f65===_0x26e40c)return _0x1e2a01;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50b09d=_0x2362;(function(_0x1192a6,_0x1b349a){const _0x59a9a6=_0x2362,_0x18cf32=_0x1192a6();while(!![]){try{const _0x77c09e=parseInt(_0x59a9a6(0x101))/0x1+-parseInt(_0x59a9a6(0xfb))/0x2+-parseInt(_0x59a9a6(0xf4))/0x3+-parseInt(_0x59a9a6(0x104))/0x4*(parseInt(_0x59a9a6(0xfd))/0x5)+-parseInt(_0x59a9a6(0x103))/0x6+-parseInt(_0x59a9a6(0xfa))/0x7*(parseInt(_0x59a9a6(0xfe))/0x8)+parseInt(_0x59a9a6(0xff))/0x9;if(_0x77c09e===_0x1b349a)break;else _0x18cf32['push'](_0x18cf32['shift']());}catch(_0x18d101){_0x18cf32['push'](_0x18cf32['shift']());}}}(_0x21de,0x69892));import{Plugin as _0x46f42f}from'ckeditor5/src/core.js';function _0x2362(_0x597e14,_0x32c192){const _0x21dec3=_0x21de();return _0x2362=function(_0x2362cd,_0x328bc3){_0x2362cd=_0x2362cd-0xf4;let _0x37c399=_0x21dec3[_0x2362cd];return _0x37c399;},_0x2362(_0x597e14,_0x32c192);}export default class Dt extends _0x46f42f{[_0x50b09d(0xf7)](){const _0x14afef=_0x50b09d,_0x56b725=this[_0x14afef(0xf8)];_0x56b725[_0x14afef(0x102)][_0x14afef(0xf6)](_0x14afef(0x100))&&_0x56b725[_0x14afef(0x102)][_0x14afef(0xf5)](_0x14afef(0xfc))[_0x14afef(0x105)](_0x14afef(0xf9));}}function _0x21de(){const _0x5b0239=['304zFRtzZ','enableCommand','273663huUyZC','get','has','afterInit','editor','insertTemplate','7PkyEHR','1429910cpTFkW','TrackChangesEditing','9355UJplQJ','5307048NVBSTO','12216195pPUOCh','Template','759337qTfPMa','plugins','435990hijNLz'];_0x21de=function(){return _0x5b0239;};return _0x21de();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b34b2=_0x20d7;function _0x20d7(_0x566175,_0x1a1052){const _0x297af6=_0x297a();return _0x20d7=function(_0x20d7cd,_0x17ff6a){_0x20d7cd=_0x20d7cd-0x16a;let _0x24bc9f=_0x297af6[_0x20d7cd];return _0x24bc9f;},_0x20d7(_0x566175,_0x1a1052);}(function(_0x4d80ec,_0x4c7e9e){const _0x432fd9=_0x20d7,_0x4ca846=_0x4d80ec();while(!![]){try{const _0x1655e3=parseInt(_0x432fd9(0x193))/0x1+-parseInt(_0x432fd9(0x172))/0x2*(parseInt(_0x432fd9(0x16f))/0x3)+-parseInt(_0x432fd9(0x174))/0x4+parseInt(_0x432fd9(0x185))/0x5*(parseInt(_0x432fd9(0x18c))/0x6)+-parseInt(_0x432fd9(0x195))/0x7+parseInt(_0x432fd9(0x17d))/0x8*(-parseInt(_0x432fd9(0x181))/0x9)+-parseInt(_0x432fd9(0x18d))/0xa*(-parseInt(_0x432fd9(0x16d))/0xb);if(_0x1655e3===_0x4c7e9e)break;else _0x4ca846['push'](_0x4ca846['shift']());}catch(_0x57ffe2){_0x4ca846['push'](_0x4ca846['shift']());}}}(_0x297a,0x1e75a));import{Plugin as _0x1ccd92}from'ckeditor5/src/core.js';import{getTranslation as _0x4b4851}from'../utils/common-translations.js';export default class $t extends _0x1ccd92{[_0x2b34b2(0x179)](){const _0x12b7af=_0x2b34b2,_0x30ff27=this[_0x12b7af(0x170)];if(!_0x30ff27[_0x12b7af(0x177)][_0x12b7af(0x171)](_0x12b7af(0x16a)))return;const _0x16158b=_0x30ff27[_0x12b7af(0x177)][_0x12b7af(0x188)](_0x12b7af(0x191));_0x16158b[_0x12b7af(0x178)][_0x12b7af(0x196)](_0x12b7af(0x186),()=>_0x4b4851(_0x30ff27[_0x12b7af(0x17f)],_0x12b7af(0x17c))),_0x30ff27[_0x12b7af(0x189)][_0x12b7af(0x18a)][_0x12b7af(0x16e)](_0x199050=>{const _0x3754ce=_0x12b7af;let _0x2675f9=!0x1;const _0xe6aa54=Array[_0x3754ce(0x18e)](_0x30ff27[_0x3754ce(0x189)][_0x3754ce(0x18a)][_0x3754ce(0x16c)][_0x3754ce(0x18b)]());for(const {name:_0x246fe8,data:_0x515d7c}of _0xe6aa54){const {group:_0x18f96a}=_0x16158b[_0x3754ce(0x192)](_0x246fe8);if(_0x3754ce(0x17b)!==_0x18f96a||!_0x515d7c[_0x3754ce(0x175)])continue;const _0x38915b=_0x515d7c[_0x3754ce(0x175)],_0x28a6ff=_0x38915b[_0x3754ce(0x190)][_0x3754ce(0x182)];if(!_0x28a6ff||!_0x28a6ff['is'](_0x3754ce(0x18f),_0x3754ce(0x186)))continue;if(!_0x38915b[_0x3754ce(0x184)][_0x3754ce(0x183)](_0x38915b[_0x3754ce(0x190)]))continue;const _0x4038ba=_0x30ff27[_0x3754ce(0x189)][_0x3754ce(0x180)][_0x3754ce(0x187)](_0x38915b[_0x3754ce(0x190)],_0x3754ce(0x17e));if(_0x4038ba&&_0x4038ba[_0x3754ce(0x194)]){const _0x5d173e=_0x199050[_0x3754ce(0x173)](_0x38915b[_0x3754ce(0x184)],_0x4038ba[_0x3754ce(0x184)]);_0x5d173e[_0x3754ce(0x17a)](_0x38915b)||(_0x199050[_0x3754ce(0x16b)](_0x246fe8,{'range':_0x5d173e}),_0x2675f9=!0x0);}_0x2675f9||(_0x199050[_0x3754ce(0x176)](_0x246fe8),_0x2675f9=!0x0);}return _0x2675f9;});}}function _0x297a(){const _0x1d721d=['title-content','getNearestSelectionRange','get','model','document','getChangedMarkers','1272342ULkkKK','2642740pniFDF','from','element','end','TrackChangesEditing','_splitMarkerName','61115ZlpmDT','isCollapsed','415968uKBMxP','registerElementLabel','Title','updateMarker','differ','11wCUYHv','registerPostFixer','3BPHLXF','editor','has','220006jdnNUm','createRange','779560rGgpCv','newRange','removeMarker','plugins','descriptionFactory','afterInit','isEqual','suggestion','ELEMENT_TITLE','35176MpDsfD','forward','locale','schema','99Eloeii','nodeBefore','isTouching','start','5MfNJVF'];_0x297a=function(){return _0x1d721d;};return _0x297a();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x599c(){const _0x1d94b6=['undo','get','884574FYMEoY','4112073wCBuFc','459392sveSYe','TrackChangesEditing','enableCommand','plugins','UndoEditing','70quOBjK','3137757ogfuuB','6gyNyYH','has','9229280iflLMu','11383968FMiWhy','editor','afterInit','redo','1YHSTAo','2363062dmUYmd'];_0x599c=function(){return _0x1d94b6;};return _0x599c();}const _0x2a84eb=_0x3382;(function(_0x1595df,_0x20b6d6){const _0x104cfd=_0x3382,_0xd31b6e=_0x1595df();while(!![]){try{const _0x510266=-parseInt(_0x104cfd(0x17c))/0x1*(-parseInt(_0x104cfd(0x17d))/0x2)+parseInt(_0x104cfd(0x16c))/0x3+-parseInt(_0x104cfd(0x16e))/0x4+parseInt(_0x104cfd(0x177))/0x5+parseInt(_0x104cfd(0x175))/0x6*(-parseInt(_0x104cfd(0x174))/0x7)+parseInt(_0x104cfd(0x178))/0x8+parseInt(_0x104cfd(0x16d))/0x9*(-parseInt(_0x104cfd(0x173))/0xa);if(_0x510266===_0x20b6d6)break;else _0xd31b6e['push'](_0xd31b6e['shift']());}catch(_0x34c73d){_0xd31b6e['push'](_0xd31b6e['shift']());}}}(_0x599c,0xf0337));function _0x3382(_0x4f2f14,_0x4409d9){const _0x599cd8=_0x599c();return _0x3382=function(_0x338293,_0x209404){_0x338293=_0x338293-0x16c;let _0x488b76=_0x599cd8[_0x338293];return _0x488b76;},_0x3382(_0x4f2f14,_0x4409d9);}import{Plugin as _0x450026}from'ckeditor5/src/core.js';export default class Bt extends _0x450026{[_0x2a84eb(0x17a)](){const _0x42c028=_0x2a84eb,_0x1c3c57=this[_0x42c028(0x179)],_0x1ecfef=_0x1c3c57[_0x42c028(0x171)][_0x42c028(0x17f)](_0x42c028(0x16f));_0x1c3c57[_0x42c028(0x171)][_0x42c028(0x176)](_0x42c028(0x172))&&(_0x1ecfef[_0x42c028(0x170)](_0x42c028(0x17e)),_0x1ecfef[_0x42c028(0x170)](_0x42c028(0x17b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5254(_0x2b558c,_0x5101a8){const _0x13be70=_0x13be();return _0x5254=function(_0x525458,_0x27f406){_0x525458=_0x525458-0x140;let _0x1c4dcc=_0x13be70[_0x525458];return _0x1c4dcc;},_0x5254(_0x2b558c,_0x5101a8);}(function(_0xa77eb3,_0x163e62){const _0x2e6a71=_0x5254,_0x514c11=_0xa77eb3();while(!![]){try{const _0x160f87=parseInt(_0x2e6a71(0x16f))/0x1*(-parseInt(_0x2e6a71(0x147))/0x2)+parseInt(_0x2e6a71(0x141))/0x3+parseInt(_0x2e6a71(0x149))/0x4*(-parseInt(_0x2e6a71(0x172))/0x5)+parseInt(_0x2e6a71(0x16d))/0x6+parseInt(_0x2e6a71(0x14f))/0x7+parseInt(_0x2e6a71(0x156))/0x8+-parseInt(_0x2e6a71(0x161))/0x9*(-parseInt(_0x2e6a71(0x150))/0xa);if(_0x160f87===_0x163e62)break;else _0x514c11['push'](_0x514c11['shift']());}catch(_0xa55081){_0x514c11['push'](_0x514c11['shift']());}}}(_0x13be,0x239f3));export function getRangesWithAttribute(_0x5f0e09,_0x3b2a53,_0x1f4b3a){const _0x158222=_0x5254,_0x239c49=[];for(const _0x10bc31 of _0x3b2a53[_0x158222(0x162)]())_0x10bc31[_0x158222(0x16b)](_0x5f0e09)&&_0x239c49[_0x158222(0x14b)](_0x1f4b3a[_0x158222(0x148)](_0x10bc31));return _0x239c49;}export function downcastSplitMergeMarker(_0x46cdec,_0x1524ac,{showActiveMarker:_0x24ce18=!0x0}={}){const _0x492daa=_0x5254,_0x4b7009=_0x46cdec[_0x492daa(0x15f)][_0x492daa(0x140)](_0x492daa(0x14d));return(_0x1c8da2,_0xfd546,_0x58155c)=>{const _0x187836=_0x492daa;if(!_0x58155c[_0x187836(0x168)][_0x187836(0x15d)](_0xfd546[_0x187836(0x14a)],_0x1c8da2[_0x187836(0x15e)]))return;const _0x1a2629=_0xfd546[_0x187836(0x14a)][_0x187836(0x159)](),_0x9f1d98=_0xfd546[_0x187836(0x14a)][_0x187836(0x145)],_0x40dfcc=_0x46cdec[_0x187836(0x152)][_0x187836(0x157)];let _0x241cd4=null,_0x5f1bfa=null,_0x277d1d=!0x1,_0x44509f=!0x1;for(const _0x14842f of _0x1a2629){const _0x3ba35e=_0x14842f[_0x187836(0x170)];_0x277d1d=_0x277d1d||_0x40dfcc[_0x187836(0x153)](_0x3ba35e);const _0x4efc4c=_0x58155c[_0x187836(0x164)][_0x187836(0x163)](_0x3ba35e);if(_0x4efc4c&&_0x4efc4c[_0x187836(0x146)](_0x187836(0x169)))return;_0x187836(0x142)==_0x14842f[_0x187836(0x158)]&&(_0x40dfcc[_0x187836(0x144)](_0x3ba35e)&&!_0x40dfcc[_0x187836(0x143)](_0x3ba35e)&&(_0x3ba35e[_0x187836(0x165)]||_0x9f1d98[_0x187836(0x16c)]?_0x241cd4&&_0x241cd4[_0x187836(0x171)]==_0x3ba35e||(_0x241cd4=_0x3ba35e,_0x855c0f(_0x14842f[_0x187836(0x16a)]),_0x44509f=!0x0):_0x5f1bfa=_0x5f1bfa||_0x14842f[_0x187836(0x16a)]));}function _0x855c0f(_0x52694f){const _0x587afc=_0x187836,_0x15a85d=_0x58155c[_0x587afc(0x14e)][_0x587afc(0x160)](_0x587afc(0x16e),{'class':_0x587afc(0x154)+_0x1524ac}),_0x53ffdd=_0x58155c[_0x587afc(0x164)][_0x587afc(0x14c)](_0x52694f);_0x24ce18&&_0x4b7009[_0x587afc(0x15b)][_0x587afc(0x155)](_0xfd546[_0x587afc(0x15c)])&&_0x58155c[_0x587afc(0x14e)][_0x587afc(0x151)](_0x587afc(0x167),_0x15a85d),_0x58155c[_0x587afc(0x14e)][_0x587afc(0x15a)](_0x53ffdd,_0x15a85d),_0x58155c[_0x587afc(0x164)][_0x587afc(0x166)](_0x15a85d,_0xfd546[_0x587afc(0x15c)]);}_0x277d1d||_0x44509f||!_0x5f1bfa||_0x855c0f(_0x5f1bfa);};}function _0x13be(){const _0x24c4e3=['consumable','addHighlight','previousPosition','hasAttribute','isAtEnd','611646MorQSv','span','9247AQYamH','item','parent','20465SQKWcc','get','124956BKGWWA','elementEnd','isLimit','isBlock','start','getCustomProperty','58VGjMAF','createRangeOn','100qBDPxi','markerRange','push','toViewPosition','TrackChangesEditing','writer','111727FdxuXU','10kmbxFF','addClass','model','isContent','ck-suggestion-marker-','includes','387800xRMRPj','schema','type','getWalker','insert','activeMarkers','markerName','test','name','plugins','createUIElement','2775294PsZvil','getItems','toViewElement','mapper','nextSibling','bindElementToMarker','ck-suggestion-marker--active'];_0x13be=function(){return _0x24c4e3;};return _0x13be();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x210d(){const _0x3d9630=['accept','markers','344408YACHYY','toJSON','authoredAt','onAttributesChange','split','type','commentThread','18GCBzkF','nodeAfter','_onAttributesChange','getRange','getFirstRange','430577FgpOJI','decorate','addRange','getMarkers','createdAt','_markerNames','1483784wpzAIh','attributes','isInContent','substr','_onAccept','creator','getRanges','get','_isDataLoaded','_onDiscard','getMultiRangeId','subType','onDiscard','change','getContainedElement','_model','addMarker','_saved','isIntersecting','filter','suggestion:','head','hasComments','add','removeAttribute','addMarkerName','isIntersectingWithRange','nodeBefore','getItems','end','onAccept','length','start','2554065xHZBjW','discard','getMarkerNames','getAllAdjacentSuggestions','author','previous','push','setAttribute','@external','delete','reduce','map','from','getFirstMarker','230280wfgXSh','1355HPMgDv','removeMarkers','isMultiRange','removeMarker','size','data','1868fhOtLk','isExternal','clear','890259HfLloP','next','set'];_0x210d=function(){return _0x3d9630;};return _0x210d();}const _0x2c6332=_0x28dc;(function(_0x5b3399,_0x3ad318){const _0x46bd99=_0x28dc,_0x269fbe=_0x5b3399();while(!![]){try{const _0x504baf=parseInt(_0x46bd99(0xb4))/0x1+-parseInt(_0x46bd99(0xc3))/0x2+-parseInt(_0x46bd99(0xbe))/0x3+-parseInt(_0x46bd99(0xbb))/0x4*(-parseInt(_0x46bd99(0xb5))/0x5)+parseInt(_0x46bd99(0x7a))/0x6*(parseInt(_0x46bd99(0x7f))/0x7)+-parseInt(_0x46bd99(0x85))/0x8+parseInt(_0x46bd99(0xa6))/0x9;if(_0x504baf===_0x3ad318)break;else _0x269fbe['push'](_0x269fbe['shift']());}catch(_0x2187be){_0x269fbe['push'](_0x269fbe['shift']());}}}(_0x210d,0x29ae5));import{Element as _0x5da031}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x3a5e2d,uid as _0x57f8bd}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5795ce,isEqual as _0x582fa0,set as _0xa9927d,unset as _0x3ad282}from'lodash-es';function _0x28dc(_0x11a3ec,_0x4d676d){const _0x210daf=_0x210d();return _0x28dc=function(_0x28dc35,_0x8f15a3){_0x28dc35=_0x28dc35-0x78;let _0x3bed25=_0x210daf[_0x28dc35];return _0x3bed25;},_0x28dc(_0x11a3ec,_0x4d676d);}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a5e2d(){constructor(_0x5c42b1,_0x1bc599){const _0x571d2f=_0x28dc;super(),this[_0x571d2f(0x8d)]=!0x1,this['id']=_0x1bc599['id'],this[_0x571d2f(0x78)]=_0x1bc599[_0x571d2f(0x78)],this[_0x571d2f(0x90)]=_0x1bc599[_0x571d2f(0x90)]||null,this[_0x571d2f(0xaa)]=_0x1bc599[_0x571d2f(0xaa)],this[_0x571d2f(0x8a)]=_0x1bc599[_0x571d2f(0x8a)]||_0x1bc599[_0x571d2f(0xaa)],this[_0x571d2f(0xbc)]=Boolean(_0x1bc599[_0x571d2f(0x86)]&&_0x1bc599[_0x571d2f(0x86)][_0x571d2f(0xae)]),this[_0x571d2f(0xba)]=null,this[_0x571d2f(0x94)]=_0x5c42b1,this[_0x571d2f(0x89)]=_0x1bc599[_0x571d2f(0xa3)],this[_0x571d2f(0x8e)]=_0x1bc599[_0x571d2f(0x91)],this[_0x571d2f(0x7c)]=_0x1bc599[_0x571d2f(0xc6)],this[_0x571d2f(0x84)]=new Set(),this[_0x571d2f(0x83)]=null,this[_0x571d2f(0xc0)](_0x571d2f(0xc5),null),this[_0x571d2f(0xc0)](_0x571d2f(0x86),_0x1bc599[_0x571d2f(0x86)]||{}),this[_0x571d2f(0xc0)](_0x571d2f(0xab),null),this[_0x571d2f(0xc0)](_0x571d2f(0xbf),null),this[_0x571d2f(0xc0)](_0x571d2f(0x79),null),this[_0x571d2f(0xc0)](_0x571d2f(0x96),!0x1),this[_0x571d2f(0x80)](_0x571d2f(0xc1)),this[_0x571d2f(0x80)](_0x571d2f(0xa7));}get[_0x2c6332(0x9a)](){const _0x5d546e=_0x2c6332;let _0x1e3d89=this;for(;_0x1e3d89[_0x5d546e(0xab)];)_0x1e3d89=_0x1e3d89[_0x5d546e(0xab)];return _0x1e3d89;}get[_0x2c6332(0x9b)](){const _0x14e797=_0x2c6332;return!!this[_0x14e797(0x79)]&&this[_0x14e797(0x79)][_0x14e797(0xa4)]>0x0;}get[_0x2c6332(0xb7)](){const _0x3bbb4d=_0x2c6332;if(0x0==this[_0x3bbb4d(0x84)][_0x3bbb4d(0xb9)])return!0x1;return 0x6==Array[_0x3bbb4d(0xb2)](this[_0x3bbb4d(0x84)])[0x0][_0x3bbb4d(0xc7)](':')[_0x3bbb4d(0xa4)];}get[_0x2c6332(0x87)](){const _0x383dd7=_0x2c6332;return null!==this[_0x383dd7(0xb3)]();}[_0x2c6332(0x9e)](_0x165b96){const _0x5deb23=_0x2c6332;this[_0x5deb23(0x84)][_0x5deb23(0x9c)](_0x165b96);}[_0x2c6332(0xa8)](){const _0x267d48=_0x2c6332;return Array[_0x267d48(0xb2)](this[_0x267d48(0x84)]);}[_0x2c6332(0x82)](){const _0x23f9f7=_0x2c6332;return this[_0x23f9f7(0xa8)]()[_0x23f9f7(0xb1)](_0x85a2f8=>this[_0x23f9f7(0x94)][_0x23f9f7(0xc2)][_0x23f9f7(0x8c)](_0x85a2f8))[_0x23f9f7(0x98)](_0x14c985=>_0x14c985);}[_0x2c6332(0xb3)](){const _0x3396ee=_0x2c6332;return this[_0x3396ee(0x82)]()[0x0]||null;}[_0x2c6332(0xb6)](){const _0x2d562b=_0x2c6332;this[_0x2d562b(0x94)][_0x2d562b(0x92)](_0x32f395=>{const _0x529d2d=_0x2d562b;for(const _0x45c46b of this[_0x529d2d(0x82)]())_0x32f395[_0x529d2d(0xb8)](_0x45c46b);}),this[_0x2d562b(0x84)][_0x2d562b(0xbd)]();}[_0x2c6332(0xb8)](_0x51866d){const _0x3fa89d=_0x2c6332;this[_0x3fa89d(0x94)][_0x3fa89d(0x92)](_0x38bca7=>{const _0x10594a=_0x3fa89d;_0x38bca7[_0x10594a(0xb8)](_0x51866d);}),this[_0x3fa89d(0x84)][_0x3fa89d(0xaf)](_0x51866d);}[_0x2c6332(0x81)](_0x309567){const _0x1f1077=_0x2c6332,_0x33619f=_0x1f1077(0x99)+this[_0x1f1077(0x78)]+':'+this[_0x1f1077(0x90)]+':'+this['id']+':'+this[_0x1f1077(0x8a)]['id']+':'+u[_0x1f1077(0x8f)]();this[_0x1f1077(0x9e)](_0x33619f),this[_0x1f1077(0x94)][_0x1f1077(0x92)](_0x2dc1fb=>{const _0x4c1bc0=_0x1f1077;_0x2dc1fb[_0x4c1bc0(0x95)](_0x33619f,{'range':_0x309567,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2c6332(0x9f)](_0x44a73e){const _0x1254f2=_0x2c6332;for(const _0x512cde of this[_0x1254f2(0x8b)]())if(_0x512cde[_0x1254f2(0x97)](_0x44a73e))return!0x0;return!0x1;}[_0x2c6332(0x8b)](){const _0x2a9b88=_0x2c6332;return this[_0x2a9b88(0x82)]()[_0x2a9b88(0xb1)](_0xd8d547=>_0xd8d547[_0x2a9b88(0x7d)]());}[_0x2c6332(0xa1)](){const _0x2247c0=_0x2c6332;return this[_0x2247c0(0x8b)]()[_0x2247c0(0xb0)]((_0x1f0b71,_0x4648b1)=>[..._0x1f0b71,..._0x4648b1[_0x2247c0(0xa1)]()],[]);}[_0x2c6332(0x7e)](){const _0x1a1769=_0x2c6332;var _0x413c44;return(null===(_0x413c44=this[_0x1a1769(0xb3)]())||void 0x0===_0x413c44?void 0x0:_0x413c44[_0x1a1769(0x7d)]())||null;}[_0x2c6332(0x93)](){const _0x475be6=_0x2c6332,_0x1c697a=this[_0x475be6(0x8b)]();if(0x1!=_0x1c697a[_0x475be6(0xa4)])return null;const _0x1435c7=_0x1c697a[0x0],_0x2404ec=_0x1435c7[_0x475be6(0xa5)][_0x475be6(0x7b)],_0x51fc5c=_0x1435c7[_0x475be6(0xa2)][_0x475be6(0xa0)];return _0x2404ec instanceof _0x5da031?_0x2404ec!=_0x51fc5c?null:_0x2404ec:null;}[_0x2c6332(0xc1)](){const _0x319aa7=_0x2c6332;this[_0x319aa7(0x89)](this[_0x319aa7(0x8b)](),this[_0x319aa7(0xba)],this[_0x319aa7(0x86)]),this[_0x319aa7(0xb6)]();}[_0x2c6332(0xa7)](){const _0x4f4677=_0x2c6332;this[_0x4f4677(0x8e)](this[_0x4f4677(0x8b)](),this[_0x4f4677(0xba)],this[_0x4f4677(0x86)]),this[_0x4f4677(0xb6)]();}[_0x2c6332(0xa9)](){const _0x2ccb00=_0x2c6332,_0x202ccc=[];let _0x3be999=this[_0x2ccb00(0x9a)];for(;_0x3be999;)_0x202ccc[_0x2ccb00(0xac)](_0x3be999),_0x3be999=_0x3be999[_0x2ccb00(0xbf)];return _0x202ccc;}[_0x2c6332(0xad)](_0x339a0a,_0x108694){const _0x579e7b=_0x2c6332,_0x563f3d=_0x5795ce(this[_0x579e7b(0x86)]);_0xa9927d(_0x563f3d,_0x339a0a,_0x108694),_0x582fa0(_0x563f3d,this[_0x579e7b(0x86)])||(this[_0x579e7b(0x86)]=_0x563f3d,this[_0x579e7b(0x7c)](_0x563f3d));}[_0x2c6332(0x9d)](_0x1b9973){const _0x4862df=_0x2c6332,_0x2fda28=_0x5795ce(this[_0x4862df(0x86)]);_0x3ad282(_0x2fda28,_0x1b9973),_0x582fa0(_0x2fda28,this[_0x4862df(0x86)])||(this[_0x4862df(0x86)]=_0x2fda28,this[_0x4862df(0x7c)](this[_0x4862df(0x86)]));}[_0x2c6332(0xc4)](){const _0x32a0a8=_0x2c6332;return{'id':this['id'],'type':this[_0x32a0a8(0x90)]?this[_0x32a0a8(0x78)]+':'+this[_0x32a0a8(0x90)]:this[_0x32a0a8(0x78)],'authorId':this[_0x32a0a8(0x8a)]['id'],'createdAt':this[_0x32a0a8(0x83)],'hasComments':this[_0x32a0a8(0x9b)],'data':this[_0x32a0a8(0xba)],'attributes':this[_0x32a0a8(0x86)]};}static[_0x2c6332(0x8f)](){const _0x34c4e6=_0x2c6332;return _0x57f8bd()[_0x34c4e6(0x88)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51c54c=_0x32a1;(function(_0x52bb17,_0x575b70){const _0x5296b2=_0x32a1,_0xd9dc22=_0x52bb17();while(!![]){try{const _0x38748c=-parseInt(_0x5296b2(0x16b))/0x1+parseInt(_0x5296b2(0x1bd))/0x2*(-parseInt(_0x5296b2(0x17a))/0x3)+parseInt(_0x5296b2(0x1c2))/0x4*(-parseInt(_0x5296b2(0x16d))/0x5)+-parseInt(_0x5296b2(0x1b8))/0x6+-parseInt(_0x5296b2(0x1c1))/0x7*(-parseInt(_0x5296b2(0x1b5))/0x8)+-parseInt(_0x5296b2(0x1b6))/0x9+parseInt(_0x5296b2(0x1b4))/0xa;if(_0x38748c===_0x575b70)break;else _0xd9dc22['push'](_0xd9dc22['shift']());}catch(_0x27e3bb){_0xd9dc22['push'](_0xd9dc22['shift']());}}}(_0x286f,0xc7a9a));function _0x32a1(_0x260ae9,_0x1c65d8){const _0x286fda=_0x286f();return _0x32a1=function(_0x32a195,_0x2d76db){_0x32a195=_0x32a195-0x163;let _0x2f3d32=_0x286fda[_0x32a195];return _0x2f3d32;},_0x32a1(_0x260ae9,_0x1c65d8);}import{getTranslation as _0x14df84}from'./utils/common-translations.js';import{priorities as _0x4092c3,insertToPriorityArray as _0x1f1925}from'ckeditor5/src/utils.js';function _0x286f(){const _0x11d445=['*Split:*\x20%0','getWalker','registerAttributeLabel','_customCallbacks','pop','registerElementLabel','add','checkChild','*Change\x20to:*\x20%0','replace','element','type','matchingCallback','softBreak','key','_schema','*Merge:*\x20%0','newValue','removeEmptyContainer','normal','start','_handleRenameSuggestionDescription','$text','remove','*Set\x20format:*\x20%0','_handleAttributeSuggestionDescription','_resolveDescriptionItems','removeFormat','*Remove:*\x20%0','push','removeContainer','elementStart','getItemLabel','data','_itemLabels','indexOf','*Insert:*\x20%0','Object','removeObject','get','join','ELEMENT_SPACE','has','_attributeLabels','text','$1\x20$2','_locale','quantity','$textProxy','34466840PZlgVY','8yUiXeD','3659229ahZGsi','nextSibling','3092532oECzEk','set','addContainer','getFirstRange','deletion','284Larwhp','subType','length','addFormat','5619803McpiHb','3590444hatBJQ','name','_handleInsertRemoveSuggestionDescription','_addDescriptionItems','nodeAfter','match','addEmptyContainer','addObject','isEmpty','isObject','688797OpxPIs','elementEnd','5ZpiDOp','EmptyContainer','Container','skip','function','attribute','item','insertion','_itemLabelsCallbacks','getDescriptions','previousSibling','label','isEqual','19506gYFgpT','map','format','*Remove\x20format:*\x20%0','REPLACE_TEXT','registerDescriptionCallback','_handleCustomCallbackDescription','isInContent','end'];_0x286f=function(){return _0x11d445;};return _0x286f();}import{renameAttributeKey as _0x2ab63c}from'./trackchangesediting.js';export default class f{constructor(_0x4880f5,_0x239056){const _0x598212=_0x32a1;this[_0x598212(0x186)]=[],this[_0x598212(0x1a5)]=new Map(),this[_0x598212(0x175)]=[],this[_0x598212(0x1ae)]=new Map(),this[_0x598212(0x192)]=_0x4880f5,this[_0x598212(0x1b1)]=_0x239056;}[_0x51c54c(0x176)](_0x19ebd9){const _0x197369=_0x51c54c,_0x554e93=[],_0x4d651f=new Set(),_0x24e326=new Set();for(let _0x37e728=0x0;_0x37e728<_0x19ebd9[_0x197369(0x1bf)];_0x37e728++){const _0x593798=_0x19ebd9[_0x37e728];if(!_0x593798[_0x197369(0x181)])continue;const _0x417fc1=this[_0x197369(0x180)](_0x593798);if(_0x417fc1){if(null!=_0x593798[_0x197369(0x1be)]){if(_0x4d651f[_0x197369(0x1ad)](_0x593798[_0x197369(0x1be)]))continue;_0x4d651f[_0x197369(0x189)](_0x593798[_0x197369(0x1be)]);}_0x554e93[_0x197369(0x1a0)](_0x417fc1);}else{if(_0x197369(0x172)!=_0x593798[_0x197369(0x18e)])_0x197369(0x174)!=_0x593798[_0x197369(0x18e)]&&_0x197369(0x1bc)!=_0x593798[_0x197369(0x18e)]||this[_0x197369(0x163)](_0x554e93,_0x593798,_0x19ebd9[_0x37e728+0x1]);else{const _0x34cee7=_0x593798[_0x197369(0x1a4)][_0x197369(0x191)];if(_0x24e326[_0x197369(0x1ad)](_0x34cee7))continue;_0x24e326[_0x197369(0x189)](_0x593798[_0x197369(0x1a4)][_0x197369(0x191)]),_0x34cee7==_0x2ab63c?this[_0x197369(0x198)](_0x554e93,_0x593798):this[_0x197369(0x19c)](_0x554e93,_0x593798);}}}return this[_0x197369(0x19d)](_0x554e93);}[_0x51c54c(0x17f)](_0x271c3b){const _0x8fab3=_0x51c54c;this[_0x8fab3(0x186)][_0x8fab3(0x1a0)](_0x271c3b);}[_0x51c54c(0x188)](_0x20a23d,_0x538ff9,_0x21c7c1=_0x4092c3[_0x51c54c(0x196)]){const _0x41b112=_0x51c54c;_0x41b112(0x171)==typeof _0x20a23d?_0x1f1925(this[_0x41b112(0x175)],{'matchingCallback':_0x20a23d,'label':_0x538ff9,'priority':_0x21c7c1}):this[_0x41b112(0x1a5)][_0x41b112(0x1b9)](_0x20a23d,_0x538ff9);}[_0x51c54c(0x185)](_0x387b7d,_0x1fd479){const _0x42023e=_0x51c54c;this[_0x42023e(0x1ae)][_0x42023e(0x1b9)](_0x387b7d,_0x1fd479);}[_0x51c54c(0x1a3)](_0x115151,_0x5466e2=0x1){const _0x4a05ca=_0x51c54c;let _0x3e1410;for(const _0xc3d12a of this[_0x4a05ca(0x175)])if(_0xc3d12a[_0x4a05ca(0x18f)](_0x115151)){_0x3e1410=_0xc3d12a[_0x4a05ca(0x178)];break;}return _0x3e1410||(_0x3e1410=this[_0x4a05ca(0x1a5)][_0x4a05ca(0x1aa)](_0x115151[_0x4a05ca(0x1c3)])),_0x3e1410?_0x3e1410(_0x5466e2):0x1!==_0x5466e2?_0x5466e2+'\x20'+_0x115151[_0x4a05ca(0x1c3)]+'s':''+_0x115151[_0x4a05ca(0x1c3)];}[_0x51c54c(0x164)](_0x4fcfc8,_0x24fe7b){const _0x176225=_0x51c54c,_0x563777=_0x24fe7b[_0x176225(0x1bb)]()[_0x176225(0x184)](),_0x297059=_0x176225(0x174)==_0x24fe7b[_0x176225(0x18e)]?_0x176225(0x189):_0x176225(0x19a);for(const _0x449367 of _0x563777){const _0x3d4f1b=_0x449367[_0x176225(0x173)],_0x179107=_0x4fcfc8[_0x4fcfc8[_0x176225(0x1bf)]-0x1];if(_0x3d4f1b['is'](_0x176225(0x1b3)))_0x179107&&_0x179107[_0x176225(0x18e)][_0x176225(0x1a6)](_0x176225(0x16f))>-0x1&&_0x4fcfc8[_0x176225(0x187)](),_0x179107&&_0x176225(0x1af)==_0x179107[_0x176225(0x18e)]?_0x179107[_0x297059]+=_0x3d4f1b[_0x176225(0x1a4)]:_0x4fcfc8[_0x176225(0x1a0)]({'type':_0x176225(0x1af),'add':_0x176225(0x189)==_0x297059?_0x3d4f1b[_0x176225(0x1a4)]:'','remove':_0x176225(0x19a)==_0x297059?_0x3d4f1b[_0x176225(0x1a4)]:''});else{if(this[_0x176225(0x192)][_0x176225(0x16a)](_0x3d4f1b)){const _0x2124cd=_0x3d4f1b;if(_0x179107&&_0x179107[_0x176225(0x18e)][_0x176225(0x1a6)](_0x176225(0x16f))>-0x1&&_0x4fcfc8[_0x176225(0x187)](),_0x176225(0x16c)==_0x449367[_0x176225(0x18e)])continue;_0x179107&&_0x179107[_0x176225(0x18e)]==_0x297059+_0x176225(0x1a8)&&_0x179107[_0x176225(0x18d)][_0x176225(0x1c3)]==_0x2124cd[_0x176225(0x1c3)]?_0x179107[_0x176225(0x1b2)]++:_0x4fcfc8[_0x176225(0x1a0)]({'type':_0x297059+_0x176225(0x1a8),'element':_0x2124cd,'quantity':0x1}),_0x563777[_0x176225(0x170)](_0x506168=>!(_0x176225(0x16c)==_0x506168[_0x176225(0x18e)]&&_0x506168[_0x176225(0x173)]==_0x3d4f1b));}else{if(this[_0x176225(0x192)][_0x176225(0x18a)](_0x3d4f1b,_0x176225(0x199))||_0x3d4f1b['is'](_0x176225(0x18d),_0x176225(0x190))){const _0x35dd56=_0x3d4f1b;if(_0x176225(0x189)==_0x297059&&_0x176225(0x1a2)==_0x449367[_0x176225(0x18e)]||_0x176225(0x19a)==_0x297059&&_0x176225(0x16c)==_0x449367[_0x176225(0x18e)])continue;if(_0x179107&&-0x1==_0x179107[_0x176225(0x18e)][_0x176225(0x1a6)](_0x176225(0x16f))){_0x176225(0x1af)==_0x179107[_0x176225(0x18e)]&&(_0x179107[_0x297059]+='\x0a');continue;}let _0x1b747a;if(_0x1b747a=_0x176225(0x189)==_0x297059?_0x35dd56[_0x176225(0x1b7)]&&!this[_0x176225(0x192)][_0x176225(0x16a)](_0x35dd56[_0x176225(0x1b7)])?_0x35dd56[_0x176225(0x1b7)]:null:_0x35dd56[_0x176225(0x177)]&&!this[_0x176225(0x192)][_0x176225(0x16a)](_0x35dd56[_0x176225(0x177)])?_0x35dd56[_0x176225(0x177)]:null,_0x35dd56[_0x176225(0x169)]||_0x1b747a&&_0x1b747a[_0x176225(0x169)]){const _0x3fb402=_0x1b747a&&_0x1b747a[_0x176225(0x169)]?_0x1b747a:_0x35dd56;_0x179107&&_0x179107[_0x176225(0x18e)]==_0x297059+_0x176225(0x16e)&&_0x179107[_0x176225(0x18d)][_0x176225(0x1c3)]==_0x3fb402[_0x176225(0x1c3)]?_0x179107[_0x176225(0x1b2)]++:_0x4fcfc8[_0x176225(0x1a0)]({'type':_0x297059+_0x176225(0x16e),'element':_0x3fb402,'quantity':0x1});}else _0x4fcfc8[_0x176225(0x1a0)]({'type':_0x297059+_0x176225(0x16f),'element':_0x35dd56});}}}}}[_0x51c54c(0x19d)](_0x3580ae){const _0x2e5d3a=_0x51c54c,_0x4855b5=this[_0x2e5d3a(0x1b1)],_0x3867ea=[],_0x234935=[],_0x4516ba=[];for(const _0x24a55d of _0x3580ae)switch(_0x24a55d[_0x2e5d3a(0x18e)]){case _0x2e5d3a(0x1af):if(_0x24a55d[_0x2e5d3a(0x189)]=_0x24a55d[_0x2e5d3a(0x189)][_0x2e5d3a(0x18c)](/(\S)\u000A+(\S)/g,_0x2e5d3a(0x1b0))[_0x2e5d3a(0x18c)](/\u000A/g,''),_0x24a55d[_0x2e5d3a(0x19a)]=_0x24a55d[_0x2e5d3a(0x19a)][_0x2e5d3a(0x18c)](/(\S)\u000A+(\S)/g,_0x2e5d3a(0x1b0))[_0x2e5d3a(0x18c)](/\u000A/g,''),''!=_0x24a55d[_0x2e5d3a(0x189)]&&''!=_0x24a55d[_0x2e5d3a(0x19a)]){_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x18c),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x17e),['\x22'+_0x24a55d[_0x2e5d3a(0x19a)]+'\x22','\x22'+_0x24a55d[_0x2e5d3a(0x189)]+'\x22'])});continue;}if(null!=_0x24a55d[_0x2e5d3a(0x189)][_0x2e5d3a(0x166)](/^ +$/)){_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x174),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x1a7),_0x14df84(_0x4855b5,_0x2e5d3a(0x1ac),_0x24a55d[_0x2e5d3a(0x189)][_0x2e5d3a(0x1bf)]))});continue;}if(null!=_0x24a55d[_0x2e5d3a(0x19a)][_0x2e5d3a(0x166)](/^ +$/)){_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x1bc),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x19f),_0x14df84(_0x4855b5,_0x2e5d3a(0x1ac),_0x24a55d[_0x2e5d3a(0x19a)][_0x2e5d3a(0x1bf)]))});continue;}if(''!=_0x24a55d[_0x2e5d3a(0x189)]){_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x174),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x1a7),'\x22'+_0x24a55d[_0x2e5d3a(0x189)]+'\x22')});continue;}_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x1bc),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x19f),'\x22'+_0x24a55d[_0x2e5d3a(0x19a)]+'\x22')});continue;case _0x2e5d3a(0x167):case _0x2e5d3a(0x168):_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x174),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x1a7),this[_0x2e5d3a(0x1a3)](_0x24a55d[_0x2e5d3a(0x18d)],_0x24a55d[_0x2e5d3a(0x1b2)]))});continue;case _0x2e5d3a(0x195):case _0x2e5d3a(0x1a9):_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x1bc),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x19f),this[_0x2e5d3a(0x1a3)](_0x24a55d[_0x2e5d3a(0x18d)],_0x24a55d[_0x2e5d3a(0x1b2)]))});continue;case _0x2e5d3a(0x1ba):_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x174),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x183),this[_0x2e5d3a(0x1a3)](_0x24a55d[_0x2e5d3a(0x18d)],_0x24a55d[_0x2e5d3a(0x1b2)]))});continue;case _0x2e5d3a(0x1a1):_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x1bc),'content':_0x14df84(_0x4855b5,_0x2e5d3a(0x193),this[_0x2e5d3a(0x1a3)](_0x24a55d[_0x2e5d3a(0x18d)],_0x24a55d[_0x2e5d3a(0x1b2)]))});continue;case _0x2e5d3a(0x1c0):_0x234935[_0x2e5d3a(0x1a0)](_0x24a55d[_0x2e5d3a(0x191)]);continue;case _0x2e5d3a(0x19e):_0x4516ba[_0x2e5d3a(0x1a0)](_0x24a55d[_0x2e5d3a(0x191)]);continue;default:_0x3867ea[_0x2e5d3a(0x1a0)](_0x24a55d);}if(_0x234935[_0x2e5d3a(0x1bf)]){const _0xf98785=_0x234935[_0x2e5d3a(0x17b)](_0x5e92e7=>this[_0x2e5d3a(0x1ae)][_0x2e5d3a(0x1ad)](_0x5e92e7)?this[_0x2e5d3a(0x1ae)][_0x2e5d3a(0x1aa)](_0x5e92e7):_0x5e92e7)[_0x2e5d3a(0x1ab)](',\x20');_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x17c),'content':_0x14df84(this[_0x2e5d3a(0x1b1)],_0x2e5d3a(0x19b),_0xf98785)});}if(_0x4516ba[_0x2e5d3a(0x1bf)]){const _0xe2b54f=_0x4516ba[_0x2e5d3a(0x17b)](_0x3b18e4=>this[_0x2e5d3a(0x1ae)][_0x2e5d3a(0x1ad)](_0x3b18e4)?this[_0x2e5d3a(0x1ae)][_0x2e5d3a(0x1aa)](_0x3b18e4):_0x3b18e4)[_0x2e5d3a(0x1ab)](',\x20');_0x3867ea[_0x2e5d3a(0x1a0)]({'type':_0x2e5d3a(0x17c),'content':_0x14df84(this[_0x2e5d3a(0x1b1)],_0x2e5d3a(0x17d),_0xe2b54f)});}return _0x3867ea;}[_0x51c54c(0x180)](_0x2319dc){const _0x5ac6df=_0x51c54c;for(const _0x48461b of this[_0x5ac6df(0x186)]){const _0x40b0ad=_0x48461b(_0x2319dc);if(_0x40b0ad&&_0x5ac6df(0x18e)in _0x40b0ad)return _0x40b0ad;}}[_0x51c54c(0x19c)](_0x573a0b,_0x1db97c){const _0x42a180=_0x51c54c,_0x53f6ef=_0x1db97c[_0x42a180(0x1a4)],_0x5f496f=void 0x0===_0x53f6ef[_0x42a180(0x194)]?_0x42a180(0x19e):_0x42a180(0x1c0);_0x573a0b[_0x42a180(0x1a0)]({'type':_0x5f496f,'key':_0x53f6ef[_0x42a180(0x191)]});}[_0x51c54c(0x198)](_0x2175a2,_0xdb24a3){const _0x4dd000=_0x51c54c;_0x2175a2[_0x4dd000(0x1a0)]({'type':_0x4dd000(0x17c),'content':_0x14df84(this[_0x4dd000(0x1b1)],_0x4dd000(0x18b),this[_0x4dd000(0x1a3)](_0xdb24a3[_0x4dd000(0x1bb)]()[_0x4dd000(0x197)][_0x4dd000(0x165)],0x1))});}[_0x51c54c(0x163)](_0x189dc5,_0x38ebcf,_0x35c925){const _0x37b2b3=_0x51c54c;if(this[_0x37b2b3(0x164)](_0x189dc5,_0x38ebcf),_0x35c925&&_0x35c925[_0x37b2b3(0x1bb)]()&&!_0x38ebcf[_0x37b2b3(0x1bb)]()[_0x37b2b3(0x182)][_0x37b2b3(0x179)](_0x35c925[_0x37b2b3(0x1bb)]()[_0x37b2b3(0x197)])){const _0x3db879=_0x189dc5[_0x189dc5[_0x37b2b3(0x1bf)]-0x1],_0x5b578a=_0x37b2b3(0x174)==_0x38ebcf[_0x37b2b3(0x18e)]?_0x37b2b3(0x189):_0x37b2b3(0x19a);_0x3db879&&_0x37b2b3(0x1af)==_0x3db879[_0x37b2b3(0x18e)]&&(_0x3db879[_0x5b578a]+='\x0a');}}}
|
|
23
|
+
const _0x1f9d54=_0x6b6c;function _0x6b6c(_0x125e53,_0x452da9){const _0x298a11=_0x298a();return _0x6b6c=function(_0x6b6c1c,_0x2fe5fe){_0x6b6c1c=_0x6b6c1c-0xeb;let _0x2ecaaf=_0x298a11[_0x6b6c1c];return _0x2ecaaf;},_0x6b6c(_0x125e53,_0x452da9);}(function(_0x4ea6df,_0x271cf9){const _0x4d1923=_0x6b6c,_0x4a6c7a=_0x4ea6df();while(!![]){try{const _0x3501eb=parseInt(_0x4d1923(0x126))/0x1+parseInt(_0x4d1923(0x10c))/0x2+-parseInt(_0x4d1923(0x139))/0x3*(parseInt(_0x4d1923(0xed))/0x4)+-parseInt(_0x4d1923(0x112))/0x5*(-parseInt(_0x4d1923(0x11f))/0x6)+parseInt(_0x4d1923(0x108))/0x7*(parseInt(_0x4d1923(0xf7))/0x8)+-parseInt(_0x4d1923(0x107))/0x9+parseInt(_0x4d1923(0x11c))/0xa*(-parseInt(_0x4d1923(0x138))/0xb);if(_0x3501eb===_0x271cf9)break;else _0x4a6c7a['push'](_0x4a6c7a['shift']());}catch(_0x4d391e){_0x4a6c7a['push'](_0x4a6c7a['shift']());}}}(_0x298a,0xf079f));import{getTranslation as _0x14db4b}from'./utils/common-translations.js';import{priorities as _0x39f59a,insertToPriorityArray as _0xa80a55}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x38bcdb}from'./trackchangesediting.js';export default class f{constructor(_0x1ac5af,_0x3776b2){const _0x4ea126=_0x6b6c;this[_0x4ea126(0x10b)]=[],this[_0x4ea126(0x13e)]=new Map(),this[_0x4ea126(0x13c)]=[],this[_0x4ea126(0x149)]=new Map(),this[_0x4ea126(0x118)]=_0x1ac5af,this[_0x4ea126(0x13f)]=_0x3776b2;}[_0x1f9d54(0x11b)](_0x3a234f){const _0x5da8b6=_0x1f9d54,_0x9d58b9=[],_0x13b3f0=new Set(),_0x13b683=new Set();for(let _0x2c89a6=0x0;_0x2c89a6<_0x3a234f[_0x5da8b6(0xf2)];_0x2c89a6++){const _0x34c6b5=_0x3a234f[_0x2c89a6];if(!_0x34c6b5[_0x5da8b6(0x12d)])continue;const _0x8ebd88=this[_0x5da8b6(0x124)](_0x34c6b5);if(_0x8ebd88){if(null!=_0x34c6b5[_0x5da8b6(0xfb)]){if(_0x13b3f0[_0x5da8b6(0x12a)](_0x34c6b5[_0x5da8b6(0xfb)]))continue;_0x13b3f0[_0x5da8b6(0x105)](_0x34c6b5[_0x5da8b6(0xfb)]);}_0x9d58b9[_0x5da8b6(0xeb)](_0x8ebd88);}else{if(_0x5da8b6(0x114)!=_0x34c6b5[_0x5da8b6(0x10a)])_0x5da8b6(0xf0)!=_0x34c6b5[_0x5da8b6(0x10a)]&&_0x5da8b6(0x129)!=_0x34c6b5[_0x5da8b6(0x10a)]||this[_0x5da8b6(0x123)](_0x9d58b9,_0x34c6b5,_0x3a234f[_0x2c89a6+0x1]);else{const _0x26409c=_0x34c6b5[_0x5da8b6(0x131)][_0x5da8b6(0x136)];if(_0x13b683[_0x5da8b6(0x12a)](_0x26409c))continue;_0x13b683[_0x5da8b6(0x105)](_0x34c6b5[_0x5da8b6(0x131)][_0x5da8b6(0x136)]),_0x26409c==_0x38bcdb?this[_0x5da8b6(0x13d)](_0x9d58b9,_0x34c6b5):this[_0x5da8b6(0x106)](_0x9d58b9,_0x34c6b5);}}}return this[_0x5da8b6(0x110)](_0x9d58b9);}[_0x1f9d54(0xfc)](_0x598e6b){const _0x22a187=_0x1f9d54;this[_0x22a187(0x10b)][_0x22a187(0xeb)](_0x598e6b);}[_0x1f9d54(0xef)](_0xd0e1d8,_0xd8dc3a,_0x65a186=_0x39f59a[_0x1f9d54(0x109)]){const _0x39a10d=_0x1f9d54;_0x39a10d(0x13a)==typeof _0xd0e1d8?_0xa80a55(this[_0x39a10d(0x13c)],{'matchingCallback':_0xd0e1d8,'label':_0xd8dc3a,'priority':_0x65a186}):this[_0x39a10d(0x13e)][_0x39a10d(0x10d)](_0xd0e1d8,_0xd8dc3a);}[_0x1f9d54(0xf1)](_0x119ab3,_0x12d94d){const _0x5dfcd3=_0x1f9d54;this[_0x5dfcd3(0x149)][_0x5dfcd3(0x10d)](_0x119ab3,_0x12d94d);}[_0x1f9d54(0x100)](_0x453d61,_0x296cc7=0x1){const _0x6169f9=_0x1f9d54;let _0x30036c;for(const _0x2f3759 of this[_0x6169f9(0x13c)])if(_0x2f3759[_0x6169f9(0x11a)](_0x453d61)){_0x30036c=_0x2f3759[_0x6169f9(0xf5)];break;}return _0x30036c||(_0x30036c=this[_0x6169f9(0x13e)][_0x6169f9(0x145)](_0x453d61[_0x6169f9(0x144)])),_0x30036c?_0x30036c(_0x296cc7):0x1!==_0x296cc7?_0x296cc7+'\x20'+_0x453d61[_0x6169f9(0x144)]+'s':''+_0x453d61[_0x6169f9(0x144)];}[_0x1f9d54(0xee)](_0x1fb028,_0x1f0670){const _0x257926=_0x1f9d54,_0x259d78=_0x1f0670[_0x257926(0x143)]()[_0x257926(0x11e)](),_0x3a89be=_0x257926(0xf0)==_0x1f0670[_0x257926(0x10a)]?_0x257926(0x105):_0x257926(0xfd);for(const _0x163d06 of _0x259d78){const _0x3ce089=_0x163d06[_0x257926(0x121)],_0x4d8ab0=_0x1fb028[_0x1fb028[_0x257926(0xf2)]-0x1];if(_0x3ce089['is'](_0x257926(0x120)))_0x4d8ab0&&_0x4d8ab0[_0x257926(0x10a)][_0x257926(0x12f)](_0x257926(0x111))>-0x1&&_0x1fb028[_0x257926(0x14b)](),_0x4d8ab0&&_0x257926(0x146)==_0x4d8ab0[_0x257926(0x10a)]?_0x4d8ab0[_0x3a89be]+=_0x3ce089[_0x257926(0x131)]:_0x1fb028[_0x257926(0xeb)]({'type':_0x257926(0x146),'add':_0x257926(0x105)==_0x3a89be?_0x3ce089[_0x257926(0x131)]:'','remove':_0x257926(0xfd)==_0x3a89be?_0x3ce089[_0x257926(0x131)]:''});else{if(this[_0x257926(0x118)][_0x257926(0x10f)](_0x3ce089)){const _0x41297f=_0x3ce089;if(_0x4d8ab0&&_0x4d8ab0[_0x257926(0x10a)][_0x257926(0x12f)](_0x257926(0x111))>-0x1&&_0x1fb028[_0x257926(0x14b)](),_0x257926(0xf4)==_0x163d06[_0x257926(0x10a)])continue;_0x4d8ab0&&_0x4d8ab0[_0x257926(0x10a)]==_0x3a89be+_0x257926(0x12c)&&_0x4d8ab0[_0x257926(0x122)][_0x257926(0x144)]==_0x41297f[_0x257926(0x144)]?_0x4d8ab0[_0x257926(0x14a)]++:_0x1fb028[_0x257926(0xeb)]({'type':_0x3a89be+_0x257926(0x12c),'element':_0x41297f,'quantity':0x1}),_0x259d78[_0x257926(0x142)](_0x25f041=>!(_0x257926(0xf4)==_0x25f041[_0x257926(0x10a)]&&_0x25f041[_0x257926(0x121)]==_0x3ce089));}else{if(this[_0x257926(0x118)][_0x257926(0x113)](_0x3ce089,_0x257926(0x128))||_0x3ce089['is'](_0x257926(0x122),_0x257926(0xf6))){const _0x106e53=_0x3ce089;if(_0x257926(0x105)==_0x3a89be&&_0x257926(0x12e)==_0x163d06[_0x257926(0x10a)]||_0x257926(0xfd)==_0x3a89be&&_0x257926(0xf4)==_0x163d06[_0x257926(0x10a)])continue;if(_0x4d8ab0&&-0x1==_0x4d8ab0[_0x257926(0x10a)][_0x257926(0x12f)](_0x257926(0x111))){_0x257926(0x146)==_0x4d8ab0[_0x257926(0x10a)]&&(_0x4d8ab0[_0x3a89be]+='\x0a');continue;}let _0x28c2d7;if(_0x28c2d7=_0x257926(0x105)==_0x3a89be?_0x106e53[_0x257926(0x132)]&&!this[_0x257926(0x118)][_0x257926(0x10f)](_0x106e53[_0x257926(0x132)])?_0x106e53[_0x257926(0x132)]:null:_0x106e53[_0x257926(0xf3)]&&!this[_0x257926(0x118)][_0x257926(0x10f)](_0x106e53[_0x257926(0xf3)])?_0x106e53[_0x257926(0xf3)]:null,_0x106e53[_0x257926(0x104)]||_0x28c2d7&&_0x28c2d7[_0x257926(0x104)]){const _0x4d95a0=_0x28c2d7&&_0x28c2d7[_0x257926(0x104)]?_0x28c2d7:_0x106e53;_0x4d8ab0&&_0x4d8ab0[_0x257926(0x10a)]==_0x3a89be+_0x257926(0x13b)&&_0x4d8ab0[_0x257926(0x122)][_0x257926(0x144)]==_0x4d95a0[_0x257926(0x144)]?_0x4d8ab0[_0x257926(0x14a)]++:_0x1fb028[_0x257926(0xeb)]({'type':_0x3a89be+_0x257926(0x13b),'element':_0x4d95a0,'quantity':0x1});}else _0x1fb028[_0x257926(0xeb)]({'type':_0x3a89be+_0x257926(0x111),'element':_0x106e53});}}}}}[_0x1f9d54(0x110)](_0x374903){const _0x4131e2=_0x1f9d54,_0x5aa6f5=this[_0x4131e2(0x13f)],_0x18f826=[],_0x17747c=[],_0x417b05=[];for(const _0x1ecd54 of _0x374903)switch(_0x1ecd54[_0x4131e2(0x10a)]){case _0x4131e2(0x146):if(_0x1ecd54[_0x4131e2(0x105)]=_0x1ecd54[_0x4131e2(0x105)][_0x4131e2(0x10e)](/(\S)\u000A+(\S)/g,_0x4131e2(0x130))[_0x4131e2(0x10e)](/\u000A/g,''),_0x1ecd54[_0x4131e2(0xfd)]=_0x1ecd54[_0x4131e2(0xfd)][_0x4131e2(0x10e)](/(\S)\u000A+(\S)/g,_0x4131e2(0x130))[_0x4131e2(0x10e)](/\u000A/g,''),''!=_0x1ecd54[_0x4131e2(0x105)]&&''!=_0x1ecd54[_0x4131e2(0xfd)]){_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x10e),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x141),['\x22'+_0x1ecd54[_0x4131e2(0xfd)]+'\x22','\x22'+_0x1ecd54[_0x4131e2(0x105)]+'\x22'])});continue;}if(null!=_0x1ecd54[_0x4131e2(0x105)][_0x4131e2(0xf9)](/^ +$/)){_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0xf0),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x125),_0x14db4b(_0x5aa6f5,_0x4131e2(0x12b),_0x1ecd54[_0x4131e2(0x105)][_0x4131e2(0xf2)]))});continue;}if(null!=_0x1ecd54[_0x4131e2(0xfd)][_0x4131e2(0xf9)](/^ +$/)){_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x129),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x135),_0x14db4b(_0x5aa6f5,_0x4131e2(0x12b),_0x1ecd54[_0x4131e2(0xfd)][_0x4131e2(0xf2)]))});continue;}if(''!=_0x1ecd54[_0x4131e2(0x105)]){_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0xf0),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x125),'\x22'+_0x1ecd54[_0x4131e2(0x105)]+'\x22')});continue;}_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x129),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x135),'\x22'+_0x1ecd54[_0x4131e2(0xfd)]+'\x22')});continue;case _0x4131e2(0x148):case _0x4131e2(0xfe):_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0xf0),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x125),this[_0x4131e2(0x100)](_0x1ecd54[_0x4131e2(0x122)],_0x1ecd54[_0x4131e2(0x14a)]))});continue;case _0x4131e2(0x115):case _0x4131e2(0x103):_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x129),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x135),this[_0x4131e2(0x100)](_0x1ecd54[_0x4131e2(0x122)],_0x1ecd54[_0x4131e2(0x14a)]))});continue;case _0x4131e2(0x140):_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0xf0),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0xf8),this[_0x4131e2(0x100)](_0x1ecd54[_0x4131e2(0x122)],_0x1ecd54[_0x4131e2(0x14a)]))});continue;case _0x4131e2(0xff):_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x129),'content':_0x14db4b(_0x5aa6f5,_0x4131e2(0x102),this[_0x4131e2(0x100)](_0x1ecd54[_0x4131e2(0x122)],_0x1ecd54[_0x4131e2(0x14a)]))});continue;case _0x4131e2(0x134):_0x17747c[_0x4131e2(0xeb)](_0x1ecd54[_0x4131e2(0x136)]);continue;case _0x4131e2(0x101):_0x417b05[_0x4131e2(0xeb)](_0x1ecd54[_0x4131e2(0x136)]);continue;default:_0x18f826[_0x4131e2(0xeb)](_0x1ecd54);}if(_0x17747c[_0x4131e2(0xf2)]){const _0x30ab5b=_0x17747c[_0x4131e2(0x127)](_0x5411e9=>this[_0x4131e2(0x149)][_0x4131e2(0x12a)](_0x5411e9)?this[_0x4131e2(0x149)][_0x4131e2(0x145)](_0x5411e9):_0x5411e9)[_0x4131e2(0x137)](',\x20');_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x147),'content':_0x14db4b(this[_0x4131e2(0x13f)],_0x4131e2(0x119),_0x30ab5b)});}if(_0x417b05[_0x4131e2(0xf2)]){const _0x3be9bf=_0x417b05[_0x4131e2(0x127)](_0x310cdf=>this[_0x4131e2(0x149)][_0x4131e2(0x12a)](_0x310cdf)?this[_0x4131e2(0x149)][_0x4131e2(0x145)](_0x310cdf):_0x310cdf)[_0x4131e2(0x137)](',\x20');_0x18f826[_0x4131e2(0xeb)]({'type':_0x4131e2(0x147),'content':_0x14db4b(this[_0x4131e2(0x13f)],_0x4131e2(0x117),_0x3be9bf)});}return _0x18f826;}[_0x1f9d54(0x124)](_0x518721){const _0x41f502=_0x1f9d54;for(const _0xa1b6be of this[_0x41f502(0x10b)]){const _0x464184=_0xa1b6be(_0x518721);if(_0x464184&&_0x41f502(0x10a)in _0x464184)return _0x464184;}}[_0x1f9d54(0x106)](_0x2aa5fd,_0x3c628f){const _0x56076b=_0x1f9d54,_0x53b5fd=_0x3c628f[_0x56076b(0x131)],_0x525d93=void 0x0===_0x53b5fd[_0x56076b(0x11d)]?_0x56076b(0x101):_0x56076b(0x134);_0x2aa5fd[_0x56076b(0xeb)]({'type':_0x525d93,'key':_0x53b5fd[_0x56076b(0x136)]});}[_0x1f9d54(0x13d)](_0xd9ea07,_0x4124ee){const _0x5d21a5=_0x1f9d54;_0xd9ea07[_0x5d21a5(0xeb)]({'type':_0x5d21a5(0x147),'content':_0x14db4b(this[_0x5d21a5(0x13f)],_0x5d21a5(0xec),this[_0x5d21a5(0x100)](_0x4124ee[_0x5d21a5(0x143)]()[_0x5d21a5(0x116)][_0x5d21a5(0xfa)],0x1))});}[_0x1f9d54(0x123)](_0x48f37d,_0x2173ff,_0x26f465){const _0x18bf7e=_0x1f9d54;if(this[_0x18bf7e(0xee)](_0x48f37d,_0x2173ff),_0x26f465&&_0x26f465[_0x18bf7e(0x143)]()&&!_0x2173ff[_0x18bf7e(0x143)]()[_0x18bf7e(0x133)][_0x18bf7e(0x14c)](_0x26f465[_0x18bf7e(0x143)]()[_0x18bf7e(0x116)])){const _0x1919b6=_0x48f37d[_0x48f37d[_0x18bf7e(0xf2)]-0x1],_0x31290a=_0x18bf7e(0xf0)==_0x2173ff[_0x18bf7e(0x10a)]?_0x18bf7e(0x105):_0x18bf7e(0xfd);_0x1919b6&&_0x18bf7e(0x146)==_0x1919b6[_0x18bf7e(0x10a)]&&(_0x1919b6[_0x31290a]+='\x0a');}}}function _0x298a(){const _0x411d01=['REPLACE_TEXT','skip','getFirstRange','name','get','text','format','addEmptyContainer','_attributeLabels','quantity','pop','isEqual','push','*Change\x20to:*\x20%0','20836LXxjaA','_addDescriptionItems','registerElementLabel','insertion','registerAttributeLabel','length','previousSibling','elementEnd','label','softBreak','4978024XWNEdo','*Split:*\x20%0','match','nodeAfter','subType','registerDescriptionCallback','remove','addObject','removeContainer','getItemLabel','removeFormat','*Merge:*\x20%0','removeObject','isEmpty','add','_handleAttributeSuggestionDescription','10337229UpNjlS','14SJYLtP','normal','type','_customCallbacks','2096692ByoOkY','set','replace','isObject','_resolveDescriptionItems','Container','25ecedRh','checkChild','attribute','removeEmptyContainer','start','*Remove\x20format:*\x20%0','_schema','*Set\x20format:*\x20%0','matchingCallback','getDescriptions','10212610UpRfdV','newValue','getWalker','1680414guBQTO','$textProxy','item','element','_handleInsertRemoveSuggestionDescription','_handleCustomCallbackDescription','*Insert:*\x20%0','284658eBUjsf','map','$text','deletion','has','ELEMENT_SPACE','Object','isInContent','elementStart','indexOf','$1\x20$2','data','nextSibling','end','addFormat','*Remove:*\x20%0','key','join','11lueWBY','474IZDOku','function','EmptyContainer','_itemLabelsCallbacks','_handleRenameSuggestionDescription','_itemLabels','_locale','addContainer'];_0x298a=function(){return _0x411d01;};return _0x298a();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x55907d=_0x2301;(function(_0x1e0a61,_0x3ed3dd){var _0xcfc9ee=_0x2301,_0x319ceb=_0x1e0a61();while(!![]){try{var _0x2aa048=-parseInt(_0xcfc9ee(0xe3))/0x1+-parseInt(_0xcfc9ee(0xdf))/0x2+-parseInt(_0xcfc9ee(0xd8))/0x3*(parseInt(_0xcfc9ee(0xda))/0x4)+-parseInt(_0xcfc9ee(0xe2))/0x5+-parseInt(_0xcfc9ee(0xe7))/0x6+parseInt(_0xcfc9ee(0xd7))/0x7*(parseInt(_0xcfc9ee(0xea))/0x8)+parseInt(_0xcfc9ee(0xe6))/0x9;if(_0x2aa048===_0x3ed3dd)break;else _0x319ceb['push'](_0x319ceb['shift']());}catch(_0x4ee244){_0x319ceb['push'](_0x319ceb['shift']());}}}(_0x2bfa,0x7cf33));import{Plugin as _0x59bdc1}from'ckeditor5/src/core.js';import _0x5f299c from'./trackchangesui.js';import _0x5b9aae from'./trackchangesediting.js';function _0x2bfa(){var _0x2ec505=['264OOwSaq','getSuggestion','requires','getSuggestions','adapter','1471730NDazgV','addSuggestionData','Comments','4529135ESoWhr','651026iHzvGn','TrackChanges','get','33029235gHQlEG','1675980GrMSoS','plugins','editor','43256bYfRGL','addSuggestion','266kzWXkn','35979nmGjJU','pluginName'];_0x2bfa=function(){return _0x2ec505;};return _0x2bfa();}import'ckeditor5-collaboration/src/collaboration-core.js';function _0x2301(_0x4434f4,_0x5b4891){var _0x2bfafa=_0x2bfa();return _0x2301=function(_0x23015e,_0x4d10a6){_0x23015e=_0x23015e-0xd7;var _0x34e05f=_0x2bfafa[_0x23015e];return _0x34e05f;},_0x2301(_0x4434f4,_0x5b4891);}export default class k extends _0x59bdc1{static get[_0x55907d(0xdc)](){var _0x1e074e=_0x55907d;return[_0x5b9aae,_0x5f299c,_0x1e074e(0xe1)];}static get[_0x55907d(0xd9)](){var _0x29122f=_0x55907d;return _0x29122f(0xe4);}set[_0x55907d(0xde)](_0x52c753){var _0x1bc233=_0x55907d;this[_0x1bc233(0xe9)][_0x1bc233(0xe8)][_0x1bc233(0xe5)](_0x5b9aae)[_0x1bc233(0xde)]=_0x52c753;}get[_0x55907d(0xde)](){var _0x59b929=_0x55907d;return this[_0x59b929(0xe9)][_0x59b929(0xe8)][_0x59b929(0xe5)](_0x5b9aae)[_0x59b929(0xde)];}[_0x55907d(0xeb)](_0x3b200d){var _0x57de03=_0x55907d;return this[_0x57de03(0xe9)][_0x57de03(0xe8)][_0x57de03(0xe5)](_0x5b9aae)[_0x57de03(0xe0)](_0x3b200d);}[_0x55907d(0xdd)]({skipNotAttached:_0x1f7a79=!0x1,toJSON:_0x4d05e7=!0x1}={}){var _0x46a52a=_0x55907d;return this[_0x46a52a(0xe9)][_0x46a52a(0xe8)][_0x46a52a(0xe5)](_0x5b9aae)[_0x46a52a(0xdd)]({'skipNotAttached':_0x1f7a79,'toJSON':_0x4d05e7});}[_0x55907d(0xdb)](_0x38e650){var _0x514cf5=_0x55907d;return this[_0x514cf5(0xe9)][_0x514cf5(0xe8)][_0x514cf5(0xe5)](_0x5b9aae)[_0x514cf5(0xdb)](_0x38e650);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x505588=_0x576c;(function(_0x2cd059,_0x16023c){const _0x2a064d=_0x576c,_0x1e7b9f=_0x2cd059();while(!![]){try{const _0xe45a52=-parseInt(_0x2a064d(0xc7))/0x1*(parseInt(_0x2a064d(0xcb))/0x2)+-parseInt(_0x2a064d(0xf1))/0x3*(-parseInt(_0x2a064d(0xe1))/0x4)+-parseInt(_0x2a064d(0xf5))/0x5+-parseInt(_0x2a064d(0xe9))/0x6+parseInt(_0x2a064d(0xe5))/0x7+-parseInt(_0x2a064d(0xe2))/0x8+parseInt(_0x2a064d(0xd8))/0x9;if(_0xe45a52===_0x16023c)break;else _0x1e7b9f['push'](_0x1e7b9f['shift']());}catch(_0x57f784){_0x1e7b9f['push'](_0x1e7b9f['shift']());}}}(_0x1dc3,0xeddce));function _0x576c(_0xe5170e,_0x4a4df9){const _0x1dc36e=_0x1dc3();return _0x576c=function(_0x576c18,_0x311911){_0x576c18=_0x576c18-0xb9;let _0x5889a0=_0x1dc36e[_0x576c18];return _0x5889a0;},_0x576c(_0xe5170e,_0x4a4df9);}import{Plugin as _0x3256f1}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a4f8d}from'ckeditor5/src/utils.js';import _0x4d1fea from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x383c37}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x505588(0xc0)];function _0x1dc3(){const _0x5b3cc6=['getCommentThreads','execute','createDocumentFragment','8ewNDal','define','get','TrackChangesDataGetter','appendChild','getDataWithDiscardedSuggestions','set','TrackChangesData','discardAllSuggestions','getUser','map','_adapter','getRootsAttributes','33517368oTGUeG','rootsAttributes','requires','editorCreator','destroy','getRootNames','addUser','result','getFullData','42844fOobSv','242496kuFAHq','function','Users','4188163KUfPJE','trackChangesData','constructor','getSuggestions','10110264FJbcBt','document','TrackChangesEditing','model','track-changes-data-invalid-editor-creator','users','push','pluginName','486GuuMor','data','CommentsRepository','useAnonymousUser','7884945XdpkXB','addCommentThread','createElement','acceptAllSuggestions','addSuggestionData','init','plugins','getDataWithAcceptedSuggestions','div','end','Pagination','config','editor','trackChangesData.editorCreator','name','reduce','create','447753BpJPVW'];_0x1dc3=function(){return _0x5b3cc6;};return _0x1dc3();}export default class P extends _0x3256f1{static get[_0x505588(0xda)](){return[_0x4d1fea];}static get[_0x505588(0xf0)](){const _0x137e62=_0x505588;return _0x137e62(0xd2);}[_0x505588(0xbb)](){const _0x26907a=_0x505588,_0x448a66=this[_0x26907a(0xc2)];if(_0x448a66[_0x26907a(0xc1)][_0x26907a(0xcc)](_0x26907a(0xc3),_0x2eea77=>{const _0x5477cb=_0x26907a,_0x2acb61=_0x448a66[_0x5477cb(0xec)][_0x5477cb(0xea)][_0x5477cb(0xdd)]()[_0x5477cb(0xc5)]((_0x5af840,_0x1e370f)=>(_0x5af840[_0x1e370f]='',_0x5af840),{});return _0x448a66[_0x5477cb(0xe7)][_0x5477cb(0xc6)](_0x2acb61,_0x2eea77);}),_0x26907a(0xe3)!=typeof _0x448a66[_0x26907a(0xc1)][_0x26907a(0xcd)](_0x26907a(0xe6))[_0x26907a(0xdb)])throw new _0x5a4f8d(_0x26907a(0xed));}[_0x505588(0xbd)](_0x103bae){const _0x1d704c=_0x505588;return N(this[_0x1d704c(0xc2)],!0x0,_0x103bae);}[_0x505588(0xd0)](_0x179f5b){const _0xcf25af=_0x505588;return N(this[_0xcf25af(0xc2)],!0x1,_0x179f5b);}}class D extends _0x3256f1{static get[_0x505588(0xf0)](){const _0x3f5895=_0x505588;return _0x3f5895(0xce);}constructor(_0x417fe8){const _0x1fdb65=_0x505588;super(_0x417fe8),this[_0x1fdb65(0xdf)]=_0x1fdb65(0xbf);}[_0x505588(0xbb)](){const _0x5e2063=_0x505588;this[_0x5e2063(0xc2)][_0x5e2063(0xbc)][_0x5e2063(0xcd)](_0x5e2063(0xf3))[_0x5e2063(0xd6)]={'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[_0x5e2063(0xc2)][_0x5e2063(0xbc)][_0x5e2063(0xcd)](_0x5e2063(0xeb))[_0x5e2063(0xd6)]=null;}}function v(_0x1aedf2){const _0x3b28b2=_0x505588;return void 0x0!==_0x1aedf2[_0x3b28b2(0xd7)];}async function N(_0x11fa19,_0x297e1a,_0x24fdab){const _0x42e6c8=_0x505588,_0x288fb1=_0x383c37(_0x11fa19,T);_0x288fb1[_0x42e6c8(0xbc)][_0x42e6c8(0xef)](_0x4d1fea,D),_0x288fb1[_0x42e6c8(0xd9)]=v(_0x11fa19)?_0x11fa19[_0x42e6c8(0xd7)]():void 0x0;const _0x151b73=document[_0x42e6c8(0xca)](),_0x2a2cee=_0x11fa19[_0x42e6c8(0xc1)][_0x42e6c8(0xcd)](_0x42e6c8(0xe6))[_0x42e6c8(0xdb)],_0x48edbd=await _0x2a2cee(_0x288fb1,()=>function(_0x55893b){const _0x5888d2=_0x42e6c8,_0x2f4ad9=document[_0x5888d2(0xf7)](_0x5888d2(0xbe));return _0x55893b[_0x5888d2(0xcf)](_0x2f4ad9),_0x2f4ad9;}(_0x151b73));!function(_0x3a6290,_0x3f6f5d){const _0x2a0411=_0x42e6c8,_0x321041=_0x3a6290[_0x2a0411(0xec)][_0x2a0411(0xea)][_0x2a0411(0xdd)]()[_0x2a0411(0xc5)]((_0x158c6a,_0x5eacec)=>(_0x158c6a[_0x5eacec]=_0x3a6290[_0x2a0411(0xf2)][_0x2a0411(0xcd)]({'rootName':_0x5eacec}),_0x158c6a),{}),_0x13d82a=_0x3a6290[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xe4))[_0x2a0411(0xee)][_0x2a0411(0xd5)](_0x47d1ae=>({'id':_0x47d1ae['id'],'name':_0x47d1ae[_0x2a0411(0xc4)]})),_0x59158f=_0x3a6290[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xeb))[_0x2a0411(0xe8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4526fb=_0x3a6290[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xf3))[_0x2a0411(0xc8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xedff21=_0x3f6f5d[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xe4)),_0x1eb6f4=_0x3f6f5d[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xeb)),_0x420837=_0x3f6f5d[_0x2a0411(0xbc)][_0x2a0411(0xcd)](_0x2a0411(0xf3));for(const _0x1f1478 of _0x13d82a)_0xedff21[_0x2a0411(0xd4)](_0x1f1478['id'])||_0xedff21[_0x2a0411(0xde)](_0x1f1478);_0xedff21['me']||_0xedff21[_0x2a0411(0xf4)]();for(const _0x5d2138 of _0x4526fb)_0x420837[_0x2a0411(0xf6)](_0x5d2138);for(const _0x295d8b of _0x59158f)_0x1eb6f4[_0x2a0411(0xba)](_0x295d8b);_0x3f6f5d[_0x2a0411(0xf2)][_0x2a0411(0xd1)](_0x321041);}(_0x11fa19,_0x48edbd),_0x48edbd[_0x42e6c8(0xc9)](_0x297e1a?_0x42e6c8(0xb9):_0x42e6c8(0xd3));const _0x45543e=v(_0x48edbd)?_0x48edbd[_0x42e6c8(0xe0)](_0x24fdab):_0x48edbd[_0x42e6c8(0xf2)][_0x42e6c8(0xcd)](_0x24fdab);return await _0x48edbd[_0x42e6c8(0xdc)](),_0x45543e;}
|