@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240717.0 → 0.0.0-nightly-20240718.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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 _0x1304(){const _0x12bdb1=['refresh','format','map','mergeTableCellRight','mergeTableCellDown','_isForcedDefaultExecutionBlock','afterInit','50707OOhkcT','length','plugins','findAncestor','commandName','horizontally','subType','table','formatBlock','_acceptFormatSuggestionCallbackFactory','86555ruKTHN','isInContent','push','1240745wQjcgV','low','change','registerDescriptionCallback','createRangeOn','$graveyard','mergeTableCellUp','createTableWalker','isEnabled','mergeTableCells','direction','_tablePostFixingSubtypes','locale','getSuggestions','getAncestors','execute','splitTableCellVertically','model','tableCell','getSelectionAffectedTableCells','stop','forceDefaultExecution','document','containsRange','2893696EMgUJo','deletion','rootName','descriptionFactory','type','*Merge\x20cells*','getRanges','commands','has','registerCustomCallback','detach','getFirstPosition','return','70gUgEmS','root','getCellLocation','size','filter','editor','_suggestionFactory','insertion','from','markMultiRangeBlockFormat','288JBFSGx','TableEditing','cell','formatInline','10038KCqdjQ','_areSelectedCellsMergable','*Split\x20cell:*\x20horizontally','set:isEnabled','mergeTableCellLeft','fromRange','75RKleDv','TableUtils','TrackChangesEditing','element','author','_areMergableCells','12GaHXLt','requires','get','enableCommand','markBlockFormat','splitTableCellHorizontally','accept','*Split\x20cell:*\x20vertically','selection','add','highest','trackChanges','740547hYyWmP','find','setSelection','value','257319RREJVx'];_0x1304=function(){return _0x12bdb1;};return _0x1304();}const _0x16e358=_0x654e;function _0x654e(_0x559cf2,_0x172417){const _0x130410=_0x1304();return _0x654e=function(_0x654e8b,_0x1b3d1d){_0x654e8b=_0x654e8b-0xf5;let _0x25b1a9=_0x130410[_0x654e8b];return _0x25b1a9;},_0x654e(_0x559cf2,_0x172417);}(function(_0xb9eafb,_0x1a6dac){const _0x1a6c24=_0x654e,_0x16102d=_0xb9eafb();while(!![]){try{const _0x3c3967=-parseInt(_0x1a6c24(0x10e))/0x1*(-parseInt(_0x1a6c24(0xf6))/0x2)+-parseInt(_0x1a6c24(0x102))/0x3+parseInt(_0x1a6c24(0x133))/0x4+-parseInt(_0x1a6c24(0x154))/0x5*(-parseInt(_0x1a6c24(0x14e))/0x6)+parseInt(_0x1a6c24(0x118))/0x7*(parseInt(_0x1a6c24(0x14a))/0x8)+-parseInt(_0x1a6c24(0x106))/0x9+-parseInt(_0x1a6c24(0x140))/0xa*(parseInt(_0x1a6c24(0x11b))/0xb);if(_0x3c3967===_0x1a6dac)break;else _0x16102d['push'](_0x16102d['shift']());}catch(_0x1eb85c){_0x16102d['push'](_0x16102d['shift']());}}}(_0x1304,0x69b00));import{Plugin as _0x17f666}from'ckeditor5/src/core.js';import _0x24b9bc from'./table.js';import{LiveRange as _0xec6d2f}from'ckeditor5/src/engine.js';import{getTranslation as _0x4036fc}from'../utils/common-translations.js';export default class At extends _0x17f666{static get[_0x16e358(0xf7)](){return[_0x24b9bc];}[_0x16e358(0x10d)](){const _0x8516b8=_0x16e358,_0x3e8f86=this[_0x8516b8(0x145)],_0x2971b8=_0x3e8f86[_0x8516b8(0x12c)][_0x8516b8(0x131)][_0x8516b8(0xfe)],_0x292a5f=_0x3e8f86[_0x8516b8(0x127)];if(!_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0x13b)](_0x8516b8(0x14b)))return;const _0x38ea9d=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x8516b8(0x156)),_0x57f68f=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x8516b8(0x155)),_0xe15453=_0x3e8f86[_0x8516b8(0x110)][_0x8516b8(0xf8)](_0x24b9bc);_0xe15453[_0x8516b8(0x126)][_0x8516b8(0x11a)](_0x8516b8(0x124)),_0x38ea9d[_0x8516b8(0xf9)](_0x8516b8(0x124),()=>{const _0x1b9394=_0x8516b8,_0xe52f56=_0x57f68f[_0x1b9394(0x12e)](_0x3e8f86[_0x1b9394(0x12c)][_0x1b9394(0x131)][_0x1b9394(0xfe)]);_0x3e8f86[_0x1b9394(0x12c)][_0x1b9394(0x11d)](()=>{const _0x4fa202=_0x1b9394;_0x38ea9d[_0x4fa202(0x149)](_0xe52f56,{'commandName':_0x4fa202(0x124),'commandParams':[]},[],_0x4fa202(0x124));});}),_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x8516b8(0x124))['on'](_0x8516b8(0x12a),(_0x3e1657,_0x5c37bf)=>{const _0x176426=_0x8516b8;_0x3e8f86[_0x176426(0x13a)][_0x176426(0xf8)](_0x176426(0x101))[_0x176426(0x105)]&&(_0x5c37bf[_0x176426(0x10f)]>0x0&&_0x5c37bf[_0x5c37bf[_0x176426(0x10f)]-0x1]&&_0x5c37bf[_0x5c37bf[_0x176426(0x10f)]-0x1][_0x176426(0x130)]||_0x38ea9d[_0x176426(0x10c)]||this[_0x176426(0x14f)]()||_0x3e1657[_0x176426(0x12f)]());},{'priority':_0x8516b8(0x100)});for(const _0x4d7ac8 of[_0x8516b8(0x121),_0x8516b8(0x10a),_0x8516b8(0x10b),_0x8516b8(0x152)]){const _0x54c571=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x4d7ac8);_0x38ea9d[_0x8516b8(0xf9)](_0x4d7ac8,()=>{const _0x561e95=_0x8516b8,_0x499e69=_0x3e8f86[_0x561e95(0x12c)][_0x561e95(0x131)][_0x561e95(0xfe)][_0x561e95(0x13e)]()[_0x561e95(0x129)]()[_0x561e95(0x103)](_0x510dfe=>_0x510dfe['is'](_0x561e95(0x157),_0x561e95(0x12d))),_0x36675e=_0x54c571[_0x561e95(0x105)];_0x3e8f86[_0x561e95(0x12c)][_0x561e95(0x11d)](()=>{const _0x431818=_0x561e95;_0x38ea9d[_0x431818(0x149)]([_0x499e69,_0x36675e],{'commandName':_0x431818(0x124),'commandParams':[]},[],_0x431818(0x124));});});}for(const _0x4784b4 of[_0x8516b8(0x12b),_0x8516b8(0xfb)]){const _0x2dd2f2=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x4784b4);_0x38ea9d[_0x8516b8(0xf9)](_0x4784b4,()=>{const _0x3a3ef7=_0x8516b8,_0x48f99c=_0x57f68f[_0x3a3ef7(0x12e)](_0x3e8f86[_0x3a3ef7(0x12c)][_0x3a3ef7(0x131)][_0x3a3ef7(0xfe)])[0x0],_0x2a99b1=_0x48f99c[_0x3a3ef7(0x111)](_0x3a3ef7(0x115)),{column:_0x531dee,row:_0x1f1215}=_0x57f68f[_0x3a3ef7(0x142)](_0x48f99c);let _0x194eba=[];if(_0x3a3ef7(0x113)==_0x2dd2f2[_0x3a3ef7(0x125)]){const _0x21ef14=_0x57f68f[_0x3a3ef7(0x122)](_0x2a99b1,{'startRow':_0x1f1215,'endRow':_0x1f1215,'includeAllSlots':!0x0});_0x194eba=Array[_0x3a3ef7(0x148)](_0x21ef14)[_0x3a3ef7(0x109)](_0x2b9f7f=>_0x2b9f7f[_0x3a3ef7(0x14c)]);}else{const _0xebe5bb=_0x57f68f[_0x3a3ef7(0x122)](_0x2a99b1,{'column':_0x531dee,'includeAllSlots':!0x0});_0x194eba=Array[_0x3a3ef7(0x148)](_0xebe5bb)[_0x3a3ef7(0x109)](_0x3debdc=>_0x3debdc[_0x3a3ef7(0x14c)]);}_0x3e8f86[_0x3a3ef7(0x12c)][_0x3a3ef7(0x11d)](_0xb376a9=>{const _0x5cfc12=_0x3a3ef7;_0x38ea9d[_0x5cfc12(0xfa)](_0xb376a9[_0x5cfc12(0x11f)](_0x48f99c),{'commandName':_0x4784b4,'commandParams':[]},_0x194eba,_0x4784b4);});});}_0x38ea9d[_0x8516b8(0x136)][_0x8516b8(0x11e)](_0x28d159=>{const _0x18b1e7=_0x8516b8;if(_0x18b1e7(0x116)!=_0x28d159[_0x18b1e7(0x137)]&&_0x18b1e7(0x14d)!=_0x28d159[_0x18b1e7(0x137)])return;const {data:_0x56dd49}=_0x28d159;return _0x56dd49&&_0x18b1e7(0x124)==_0x56dd49[_0x18b1e7(0x112)]?{'type':_0x18b1e7(0x108),'content':_0x4036fc(_0x292a5f,_0x18b1e7(0x138))}:void 0x0;}),_0x38ea9d[_0x8516b8(0x136)][_0x8516b8(0x11e)](_0x30d5f5=>{const _0x2bf081=_0x8516b8;if(_0x2bf081(0x116)!=_0x30d5f5[_0x2bf081(0x137)]&&_0x2bf081(0x14d)!=_0x30d5f5[_0x2bf081(0x137)])return;const {data:_0x2e2521}=_0x30d5f5;return _0x2e2521?_0x2bf081(0x12b)==_0x2e2521[_0x2bf081(0x112)]?{'type':_0x2bf081(0x108),'content':_0x4036fc(_0x292a5f,_0x2bf081(0xfd))}:_0x2bf081(0xfb)==_0x2e2521[_0x2bf081(0x112)]?{'type':_0x2bf081(0x108),'content':_0x4036fc(_0x292a5f,_0x2bf081(0x150))}:void 0x0:void 0x0;});const _0x513902=_0xe15453[_0x8516b8(0x117)]();for(const _0x38a327 of[_0x8516b8(0x121),_0x8516b8(0x10a),_0x8516b8(0x10b),_0x8516b8(0x152)])_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x38a327,_0x8516b8(0xfc),_0x513902);for(const _0x47f82c of[_0x8516b8(0x12b),_0x8516b8(0xfb)])_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x47f82c,_0x8516b8(0xfc),_0x513902);_0x38ea9d[_0x8516b8(0x146)][_0x8516b8(0x13c)](_0x8516b8(0x116),_0x8516b8(0x124),_0x8516b8(0xfc),_0x233153=>{const _0x3bcf95=_0x8516b8;_0x3e8f86[_0x3bcf95(0x12c)][_0x3bcf95(0x11d)](_0x9e20f2=>{const _0x22910c=_0x3bcf95,_0x50984e=Array[_0x22910c(0x148)](_0x2971b8[_0x22910c(0x139)]())[_0x22910c(0x109)](_0x37f38d=>_0xec6d2f[_0x22910c(0x153)](_0x37f38d));_0x9e20f2[_0x22910c(0x104)](_0x233153),_0x3e8f86[_0x22910c(0x13a)][_0x22910c(0xf8)](_0x22910c(0x124))[_0x22910c(0x107)](),_0x3e8f86[_0x22910c(0x12a)](_0x22910c(0x124),{'forceDefaultExecution':!0x0});const _0xf12877=_0x50984e[_0x22910c(0x144)](_0x21726c=>_0x22910c(0x120)!=_0x21726c[_0x22910c(0x141)][_0x22910c(0x135)]);_0xf12877[_0x22910c(0x10f)]>0x0&&_0x9e20f2[_0x22910c(0x104)](_0xf12877);for(const _0x304d66 of _0x50984e)_0x304d66[_0x22910c(0x13d)]();});});for(const _0x19336d of[_0x8516b8(0x121),_0x8516b8(0x10b),_0x8516b8(0x152),_0x8516b8(0x10a)]){const _0x15414f=_0x3e8f86[_0x8516b8(0x13a)][_0x8516b8(0xf8)](_0x19336d);_0x15414f['on'](_0x8516b8(0x151),(_0x2a9bfe,_0x4009fa,_0x4f87fe)=>{const _0x1b28a4=_0x8516b8;if(_0x4f87fe){const _0x16aa62=_0x3e8f86[_0x1b28a4(0x12c)][_0x1b28a4(0x131)][_0x1b28a4(0xfe)][_0x1b28a4(0x13e)]()[_0x1b28a4(0x129)]()[_0x1b28a4(0x103)](_0xcbec10=>_0xcbec10['is'](_0x1b28a4(0x157),_0x1b28a4(0x12d)));this[_0x1b28a4(0xf5)](_0x15414f[_0x1b28a4(0x105)],_0x16aa62)||(_0x2a9bfe[_0x1b28a4(0x13f)]=!0x1,_0x2a9bfe[_0x1b28a4(0x12f)]());}},{'priority':_0x8516b8(0x11c)});}}[_0x16e358(0x14f)](){const _0x91d297=_0x16e358,_0x27af00=this[_0x91d297(0x145)][_0x91d297(0x13a)][_0x91d297(0xf8)](_0x91d297(0x124)),_0x7511ad=this[_0x91d297(0x145)][_0x91d297(0x110)][_0x91d297(0xf8)](_0x91d297(0x155));if(!_0x27af00[_0x91d297(0x123)])return!0x1;const _0x298a77=_0x7511ad[_0x91d297(0x12e)](this[_0x91d297(0x145)][_0x91d297(0x12c)][_0x91d297(0x131)][_0x91d297(0xfe)]);for(const _0x4faf3f of _0x298a77)for(const _0x56a3dc of _0x298a77)if(_0x4faf3f!=_0x56a3dc&&!this[_0x91d297(0xf5)](_0x4faf3f,_0x56a3dc))return!0x1;return!0x0;}[_0x16e358(0xf5)](_0x3c0861,_0xe2bad6){const _0x114aa4=_0x16e358,_0x5b20ee=this[_0x114aa4(0x145)][_0x114aa4(0x110)][_0x114aa4(0xf8)](_0x114aa4(0x156)),_0x1dec8c=this[_0x114aa4(0x145)][_0x114aa4(0x12c)][_0x114aa4(0x11f)](_0x3c0861),_0x47afe9=this[_0x114aa4(0x145)][_0x114aa4(0x12c)][_0x114aa4(0x11f)](_0xe2bad6),_0x429fe1=new Set(),_0x2678a3=new Set();for(const _0x3d7484 of _0x5b20ee[_0x114aa4(0x128)]())if((_0x114aa4(0x147)==_0x3d7484[_0x114aa4(0x137)]||_0x114aa4(0x134)==_0x3d7484[_0x114aa4(0x137)]||_0x114aa4(0x124)==_0x3d7484[_0x114aa4(0x114)])&&_0x3d7484[_0x114aa4(0x119)]){for(const _0x142072 of _0x3d7484[_0x114aa4(0x139)]())_0x142072[_0x114aa4(0x132)](_0x1dec8c,!0x0)&&_0x429fe1[_0x114aa4(0xff)](_0x3d7484[_0x114aa4(0x137)]+':'+_0x3d7484[_0x114aa4(0x158)]['id']),_0x142072[_0x114aa4(0x132)](_0x47afe9,!0x0)&&_0x2678a3[_0x114aa4(0xff)](_0x3d7484[_0x114aa4(0x137)]+':'+_0x3d7484[_0x114aa4(0x158)]['id']);}if(_0x429fe1[_0x114aa4(0x143)]!=_0x2678a3[_0x114aa4(0x143)])return!0x1;for(const _0x57ee39 of _0x429fe1)if(!_0x2678a3[_0x114aa4(0x13b)](_0x57ee39))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x3bc613=_0x3b07;function _0x7d59(){const _0x4832f5=['isInContent','mergeTableCellDown','mergeTableCellLeft','root','push','accept','map','TrackChangesEditing','mergeTableCellUp','splitTableCellVertically','filter','cell','type','markMultiRangeBlockFormat','refresh','model','rootName','createTableWalker','mergeTableCellRight','_suggestionFactory','forceDefaultExecution','getFirstPosition','author','commandName','tableCell','formatBlock','low','$graveyard','mergeTableCells','getAncestors','*Merge\x20cells*','270363PWQocF','128144qbkbuN','descriptionFactory','containsRange','return','setSelection','formatInline','_acceptFormatSuggestionCallbackFactory','plugins','execute','set:isEnabled','change','_tablePostFixingSubtypes','size','createRangeOn','find','trackChanges','selection','isEnabled','TableUtils','add','fromRange','36kyiyle','requires','TableEditing','98650UIUhWn','getSuggestions','afterInit','format','editor','horizontally','_areMergableCells','684bKwWDP','deletion','direction','22HrFEaW','_areSelectedCellsMergable','1264404NnKQlV','markBlockFormat','get','subType','has','enableCommand','insertion','commands','5QTfvXp','registerDescriptionCallback','splitTableCellHorizontally','*Split\x20cell:*\x20vertically','value','5737599VsUcEN','findAncestor','244394yCRhda','locale','10QDExCg','7814238tbwPFe','from','highest','document','element','stop','table','getCellLocation','getSelectionAffectedTableCells','registerCustomCallback','getRanges','_isForcedDefaultExecutionBlock','*Split\x20cell:*\x20horizontally','length','detach'];_0x7d59=function(){return _0x4832f5;};return _0x7d59();}(function(_0x49772a,_0x2199f5){const _0x113b9a=_0x3b07,_0x5ddbff=_0x49772a();while(!![]){try{const _0x1c1ef8=parseInt(_0x113b9a(0x146))/0x1*(parseInt(_0x113b9a(0x144))/0x2)+-parseInt(_0x113b9a(0x110))/0x3*(-parseInt(_0x113b9a(0x126))/0x4)+-parseInt(_0x113b9a(0x13d))/0x5*(parseInt(_0x113b9a(0x147))/0x6)+-parseInt(_0x113b9a(0x142))/0x7+parseInt(_0x113b9a(0x111))/0x8+-parseInt(_0x113b9a(0x130))/0x9*(-parseInt(_0x113b9a(0x129))/0xa)+parseInt(_0x113b9a(0x133))/0xb*(parseInt(_0x113b9a(0x135))/0xc);if(_0x1c1ef8===_0x2199f5)break;else _0x5ddbff['push'](_0x5ddbff['shift']());}catch(_0x55e35e){_0x5ddbff['push'](_0x5ddbff['shift']());}}}(_0x7d59,0xd8ae1));import{Plugin as _0x40457f}from'ckeditor5/src/core.js';function _0x3b07(_0x3786ed,_0x3f6ec0){const _0x7d596b=_0x7d59();return _0x3b07=function(_0x3b075a,_0x16b5dc){_0x3b075a=_0x3b075a-0xfd;let _0x2fd2e0=_0x7d596b[_0x3b075a];return _0x2fd2e0;},_0x3b07(_0x3786ed,_0x3f6ec0);}import _0x28a0bb from'./table.js';import{LiveRange as _0x3c8efd}from'ckeditor5/src/engine.js';import{getTranslation as _0x12251d}from'../utils/common-translations.js';export default class At extends _0x40457f{static get[_0x3bc613(0x127)](){return[_0x28a0bb];}[_0x3bc613(0x12b)](){const _0x4d93eb=_0x3bc613,_0x29e516=this[_0x4d93eb(0x12d)],_0x1c7185=_0x29e516[_0x4d93eb(0x100)][_0x4d93eb(0x14a)][_0x4d93eb(0x121)],_0x38d366=_0x29e516[_0x4d93eb(0x145)];if(!_0x29e516[_0x4d93eb(0x118)][_0x4d93eb(0x139)](_0x4d93eb(0x128)))return;const _0x12c6ec=_0x29e516[_0x4d93eb(0x118)][_0x4d93eb(0x137)](_0x4d93eb(0x15d)),_0x47b809=_0x29e516[_0x4d93eb(0x118)][_0x4d93eb(0x137)](_0x4d93eb(0x123)),_0xc76231=_0x29e516[_0x4d93eb(0x118)][_0x4d93eb(0x137)](_0x28a0bb);_0xc76231[_0x4d93eb(0x11c)][_0x4d93eb(0x15a)](_0x4d93eb(0x10d)),_0x12c6ec[_0x4d93eb(0x13a)](_0x4d93eb(0x10d),()=>{const _0x47e4c2=_0x4d93eb,_0x3a2ba5=_0x47b809[_0x47e4c2(0x14f)](_0x29e516[_0x47e4c2(0x100)][_0x47e4c2(0x14a)][_0x47e4c2(0x121)]);_0x29e516[_0x47e4c2(0x100)][_0x47e4c2(0x11b)](()=>{const _0x356117=_0x47e4c2;_0x12c6ec[_0x356117(0xfe)](_0x3a2ba5,{'commandName':_0x356117(0x10d),'commandParams':[]},[],_0x356117(0x10d));});}),_0x29e516[_0x4d93eb(0x13c)][_0x4d93eb(0x137)](_0x4d93eb(0x10d))['on'](_0x4d93eb(0x119),(_0x3a59c5,_0x2253f2)=>{const _0x193c3=_0x4d93eb;_0x29e516[_0x193c3(0x13c)][_0x193c3(0x137)](_0x193c3(0x120))[_0x193c3(0x141)]&&(_0x2253f2[_0x193c3(0x154)]>0x0&&_0x2253f2[_0x2253f2[_0x193c3(0x154)]-0x1]&&_0x2253f2[_0x2253f2[_0x193c3(0x154)]-0x1][_0x193c3(0x105)]||_0x12c6ec[_0x193c3(0x152)]||this[_0x193c3(0x134)]()||_0x3a59c5[_0x193c3(0x14c)]());},{'priority':_0x4d93eb(0x149)});for(const _0x70b04b of[_0x4d93eb(0x15e),_0x4d93eb(0x103),_0x4d93eb(0x157),_0x4d93eb(0x158)]){const _0x19750b=_0x29e516[_0x4d93eb(0x13c)][_0x4d93eb(0x137)](_0x70b04b);_0x12c6ec[_0x4d93eb(0x13a)](_0x70b04b,()=>{const _0x27cb75=_0x4d93eb,_0x1b5925=_0x29e516[_0x27cb75(0x100)][_0x27cb75(0x14a)][_0x27cb75(0x121)][_0x27cb75(0x106)]()[_0x27cb75(0x10e)]()[_0x27cb75(0x11f)](_0x304ad1=>_0x304ad1['is'](_0x27cb75(0x14b),_0x27cb75(0x109))),_0x56e6d6=_0x19750b[_0x27cb75(0x141)];_0x29e516[_0x27cb75(0x100)][_0x27cb75(0x11b)](()=>{const _0x13b11c=_0x27cb75;_0x12c6ec[_0x13b11c(0xfe)]([_0x1b5925,_0x56e6d6],{'commandName':_0x13b11c(0x10d),'commandParams':[]},[],_0x13b11c(0x10d));});});}for(const _0x31281a of[_0x4d93eb(0x15f),_0x4d93eb(0x13f)]){const _0x533ebc=_0x29e516[_0x4d93eb(0x13c)][_0x4d93eb(0x137)](_0x31281a);_0x12c6ec[_0x4d93eb(0x13a)](_0x31281a,()=>{const _0x499484=_0x4d93eb,_0x5d172d=_0x47b809[_0x499484(0x14f)](_0x29e516[_0x499484(0x100)][_0x499484(0x14a)][_0x499484(0x121)])[0x0],_0x2731c2=_0x5d172d[_0x499484(0x143)](_0x499484(0x14d)),{column:_0x20e314,row:_0x4b433b}=_0x47b809[_0x499484(0x14e)](_0x5d172d);let _0x1d077f=[];if(_0x499484(0x12e)==_0x533ebc[_0x499484(0x132)]){const _0x591ee9=_0x47b809[_0x499484(0x102)](_0x2731c2,{'startRow':_0x4b433b,'endRow':_0x4b433b,'includeAllSlots':!0x0});_0x1d077f=Array[_0x499484(0x148)](_0x591ee9)[_0x499484(0x15c)](_0x4f1154=>_0x4f1154[_0x499484(0x161)]);}else{const _0x34258b=_0x47b809[_0x499484(0x102)](_0x2731c2,{'column':_0x20e314,'includeAllSlots':!0x0});_0x1d077f=Array[_0x499484(0x148)](_0x34258b)[_0x499484(0x15c)](_0x268c9c=>_0x268c9c[_0x499484(0x161)]);}_0x29e516[_0x499484(0x100)][_0x499484(0x11b)](_0x38ec7d=>{const _0x1d9e5f=_0x499484;_0x12c6ec[_0x1d9e5f(0x136)](_0x38ec7d[_0x1d9e5f(0x11e)](_0x5d172d),{'commandName':_0x31281a,'commandParams':[]},_0x1d077f,_0x31281a);});});}_0x12c6ec[_0x4d93eb(0x112)][_0x4d93eb(0x13e)](_0x14e30b=>{const _0x570762=_0x4d93eb;if(_0x570762(0x10a)!=_0x14e30b[_0x570762(0xfd)]&&_0x570762(0x116)!=_0x14e30b[_0x570762(0xfd)])return;const {data:_0x38dd74}=_0x14e30b;return _0x38dd74&&_0x570762(0x10d)==_0x38dd74[_0x570762(0x108)]?{'type':_0x570762(0x12c),'content':_0x12251d(_0x38d366,_0x570762(0x10f))}:void 0x0;}),_0x12c6ec[_0x4d93eb(0x112)][_0x4d93eb(0x13e)](_0x74b517=>{const _0x2ff5d6=_0x4d93eb;if(_0x2ff5d6(0x10a)!=_0x74b517[_0x2ff5d6(0xfd)]&&_0x2ff5d6(0x116)!=_0x74b517[_0x2ff5d6(0xfd)])return;const {data:_0x466aad}=_0x74b517;return _0x466aad?_0x2ff5d6(0x15f)==_0x466aad[_0x2ff5d6(0x108)]?{'type':_0x2ff5d6(0x12c),'content':_0x12251d(_0x38d366,_0x2ff5d6(0x140))}:_0x2ff5d6(0x13f)==_0x466aad[_0x2ff5d6(0x108)]?{'type':_0x2ff5d6(0x12c),'content':_0x12251d(_0x38d366,_0x2ff5d6(0x153))}:void 0x0:void 0x0;});const _0x35d4f5=_0xc76231[_0x4d93eb(0x117)]();for(const _0x1e1879 of[_0x4d93eb(0x15e),_0x4d93eb(0x103),_0x4d93eb(0x157),_0x4d93eb(0x158)])_0x12c6ec[_0x4d93eb(0x104)][_0x4d93eb(0x150)](_0x4d93eb(0x10a),_0x1e1879,_0x4d93eb(0x15b),_0x35d4f5);for(const _0x6ed2dc of[_0x4d93eb(0x15f),_0x4d93eb(0x13f)])_0x12c6ec[_0x4d93eb(0x104)][_0x4d93eb(0x150)](_0x4d93eb(0x10a),_0x6ed2dc,_0x4d93eb(0x15b),_0x35d4f5);_0x12c6ec[_0x4d93eb(0x104)][_0x4d93eb(0x150)](_0x4d93eb(0x10a),_0x4d93eb(0x10d),_0x4d93eb(0x15b),_0x3c062f=>{const _0x364d55=_0x4d93eb;_0x29e516[_0x364d55(0x100)][_0x364d55(0x11b)](_0x2530c2=>{const _0x1aeb1f=_0x364d55,_0x27d38e=Array[_0x1aeb1f(0x148)](_0x1c7185[_0x1aeb1f(0x151)]())[_0x1aeb1f(0x15c)](_0xa46e80=>_0x3c8efd[_0x1aeb1f(0x125)](_0xa46e80));_0x2530c2[_0x1aeb1f(0x115)](_0x3c062f),_0x29e516[_0x1aeb1f(0x13c)][_0x1aeb1f(0x137)](_0x1aeb1f(0x10d))[_0x1aeb1f(0xff)](),_0x29e516[_0x1aeb1f(0x119)](_0x1aeb1f(0x10d),{'forceDefaultExecution':!0x0});const _0xc57565=_0x27d38e[_0x1aeb1f(0x160)](_0x21c47c=>_0x1aeb1f(0x10c)!=_0x21c47c[_0x1aeb1f(0x159)][_0x1aeb1f(0x101)]);_0xc57565[_0x1aeb1f(0x154)]>0x0&&_0x2530c2[_0x1aeb1f(0x115)](_0xc57565);for(const _0x4c6f4d of _0x27d38e)_0x4c6f4d[_0x1aeb1f(0x155)]();});});for(const _0x3d1f7d of[_0x4d93eb(0x15e),_0x4d93eb(0x157),_0x4d93eb(0x158),_0x4d93eb(0x103)]){const _0x2b6d4f=_0x29e516[_0x4d93eb(0x13c)][_0x4d93eb(0x137)](_0x3d1f7d);_0x2b6d4f['on'](_0x4d93eb(0x11a),(_0x459a23,_0x4af127,_0x7f7c37)=>{const _0x482421=_0x4d93eb;if(_0x7f7c37){const _0x1e7f81=_0x29e516[_0x482421(0x100)][_0x482421(0x14a)][_0x482421(0x121)][_0x482421(0x106)]()[_0x482421(0x10e)]()[_0x482421(0x11f)](_0x541053=>_0x541053['is'](_0x482421(0x14b),_0x482421(0x109)));this[_0x482421(0x12f)](_0x2b6d4f[_0x482421(0x141)],_0x1e7f81)||(_0x459a23[_0x482421(0x114)]=!0x1,_0x459a23[_0x482421(0x14c)]());}},{'priority':_0x4d93eb(0x10b)});}}[_0x3bc613(0x134)](){const _0x7b0f72=_0x3bc613,_0x3596ce=this[_0x7b0f72(0x12d)][_0x7b0f72(0x13c)][_0x7b0f72(0x137)](_0x7b0f72(0x10d)),_0xab9226=this[_0x7b0f72(0x12d)][_0x7b0f72(0x118)][_0x7b0f72(0x137)](_0x7b0f72(0x123));if(!_0x3596ce[_0x7b0f72(0x122)])return!0x1;const _0x234b26=_0xab9226[_0x7b0f72(0x14f)](this[_0x7b0f72(0x12d)][_0x7b0f72(0x100)][_0x7b0f72(0x14a)][_0x7b0f72(0x121)]);for(const _0x24e4e3 of _0x234b26)for(const _0x5abf07 of _0x234b26)if(_0x24e4e3!=_0x5abf07&&!this[_0x7b0f72(0x12f)](_0x24e4e3,_0x5abf07))return!0x1;return!0x0;}[_0x3bc613(0x12f)](_0x546a44,_0x5eb3ec){const _0x24d69f=_0x3bc613,_0x4687d2=this[_0x24d69f(0x12d)][_0x24d69f(0x118)][_0x24d69f(0x137)](_0x24d69f(0x15d)),_0x5ec5ee=this[_0x24d69f(0x12d)][_0x24d69f(0x100)][_0x24d69f(0x11e)](_0x546a44),_0x4c8cd6=this[_0x24d69f(0x12d)][_0x24d69f(0x100)][_0x24d69f(0x11e)](_0x5eb3ec),_0xe04fcd=new Set(),_0x13bae0=new Set();for(const _0x52cb90 of _0x4687d2[_0x24d69f(0x12a)]())if((_0x24d69f(0x13b)==_0x52cb90[_0x24d69f(0xfd)]||_0x24d69f(0x131)==_0x52cb90[_0x24d69f(0xfd)]||_0x24d69f(0x10d)==_0x52cb90[_0x24d69f(0x138)])&&_0x52cb90[_0x24d69f(0x156)]){for(const _0x5df69f of _0x52cb90[_0x24d69f(0x151)]())_0x5df69f[_0x24d69f(0x113)](_0x5ec5ee,!0x0)&&_0xe04fcd[_0x24d69f(0x124)](_0x52cb90[_0x24d69f(0xfd)]+':'+_0x52cb90[_0x24d69f(0x107)]['id']),_0x5df69f[_0x24d69f(0x113)](_0x4c8cd6,!0x0)&&_0x13bae0[_0x24d69f(0x124)](_0x52cb90[_0x24d69f(0xfd)]+':'+_0x52cb90[_0x24d69f(0x107)]['id']);}if(_0xe04fcd[_0x24d69f(0x11d)]!=_0x13bae0[_0x24d69f(0x11d)])return!0x1;for(const _0x4b75f1 of _0xe04fcd)if(!_0x13bae0[_0x24d69f(0x139)](_0x4b75f1))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5416(_0x270b6b,_0x95ebc){const _0x1830da=_0x1830();return _0x5416=function(_0x5416aa,_0xdeb68b){_0x5416aa=_0x5416aa-0x175;let _0x467cdc=_0x1830da[_0x5416aa];return _0x467cdc;},_0x5416(_0x270b6b,_0x95ebc);}const _0x121bab=_0x5416;(function(_0x3dc16e,_0x39bf8c){const _0x8a1d66=_0x5416,_0x4db1bd=_0x3dc16e();while(!![]){try{const _0x4da440=parseInt(_0x8a1d66(0x17b))/0x1+parseInt(_0x8a1d66(0x185))/0x2*(parseInt(_0x8a1d66(0x186))/0x3)+parseInt(_0x8a1d66(0x183))/0x4+-parseInt(_0x8a1d66(0x17d))/0x5+parseInt(_0x8a1d66(0x179))/0x6+parseInt(_0x8a1d66(0x180))/0x7+-parseInt(_0x8a1d66(0x17f))/0x8;if(_0x4da440===_0x39bf8c)break;else _0x4db1bd['push'](_0x4db1bd['shift']());}catch(_0x681d6a){_0x4db1bd['push'](_0x4db1bd['shift']());}}}(_0x1830,0x96c88));function _0x1830(){const _0x5626d5=['2243574GvFywa','locale','829556eqEQno','editor','6147950YtFRsu','registerElementLabel','14916336WwbbTr','1149463kjvbQh','plugins','enableCommand','4587072glJOaH','get','25474qMROMr','282nHMcHX','TrackChangesEditing','insertTableOfContents','afterInit','tableOfContents','commands','ELEMENT_TABLE_OF_CONTENTS','descriptionFactory'];_0x1830=function(){return _0x5626d5;};return _0x1830();}import{Plugin as _0x338a88}from'ckeditor5/src/core.js';import{getTranslation as _0x5e9b35}from'../utils/common-translations.js';export default class Dt extends _0x338a88{[_0x121bab(0x189)](){const _0x58edd7=_0x121bab,_0x3959d3=this[_0x58edd7(0x17c)];if(!_0x3959d3[_0x58edd7(0x176)][_0x58edd7(0x184)](_0x58edd7(0x188)))return;_0x3959d3[_0x58edd7(0x181)][_0x58edd7(0x184)](_0x58edd7(0x187))[_0x58edd7(0x182)](_0x58edd7(0x188));const _0x3c53ea=_0x3959d3[_0x58edd7(0x181)][_0x58edd7(0x184)](_0x58edd7(0x187)),_0x5249cb=_0x3959d3[_0x58edd7(0x17a)];_0x3c53ea[_0x58edd7(0x178)][_0x58edd7(0x17e)](_0x58edd7(0x175),_0x57cab3=>_0x5e9b35(_0x5249cb,_0x58edd7(0x177),_0x57cab3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x434f(){const _0x5d9832=['start','getSuggestionCallback','tableCellHorizontalAlignment','formatBlock','getSelectionAffectedTableCells','_getSuggestion','handleDiscardAction','editor','getFirstPosition','_handlePropertyChange','commandParams','tableCellWidth','tableCellBackgroundColor','1601136iaOakj','2136841ICiuKq','change','getContainedElement','document','tableCellBorderStyle','registerDescriptionCallback','get','selection','tableWidth','tableCellBorderColor','pluginName','subType','TablePropertiesEditing','tableCellHeight','tableCellVerticalAlignment','plugins','registerCustomCallback','enqueueChange','65295YPDnQi','*Format:*\x20change\x20table\x20cell\x20properties','data','tableCellBorderWidth','tableAlignment','table','tableBorderColor','tableCellProperties','TrackChangesTableProperties','TableCellPropertiesEditing','275495XbKZFJ','tableHeight','getAttribute','2pJnAMT','tableBorderStyle','getSuggestions','markBlockFormat','afterInit','discard','batch','enableCommand','_suggestionFactory','TrackChangesEditing','join','handleSuggestionDescription','tableBackgroundColor','findAncestor','16slNGzH','accept','1789936WnPBCo','removeAttribute','*Format:*\x20change\x20table\x20properties','48918MhsmyS','tableCellPadding','1190IGRLaA','TableUtils','has','63520cpsaVf','format','setAttribute','descriptionFactory','nodeAfter','model','tableProperties','tableBorderWidth','locale'];_0x434f=function(){return _0x5d9832;};return _0x434f();}const _0x38c967=_0x2851;(function(_0x86869,_0x12349e){const _0x50317=_0x2851,_0x3cd837=_0x86869();while(!![]){try{const _0x28bc72=-parseInt(_0x50317(0xe7))/0x1*(parseInt(_0x50317(0xea))/0x2)+-parseInt(_0x50317(0xfd))/0x3+parseInt(_0x50317(0xf8))/0x4*(-parseInt(_0x50317(0x102))/0x5)+-parseInt(_0x50317(0xca))/0x6+-parseInt(_0x50317(0xcb))/0x7+parseInt(_0x50317(0xfa))/0x8+parseInt(_0x50317(0xdd))/0x9*(parseInt(_0x50317(0xff))/0xa);if(_0x28bc72===_0x12349e)break;else _0x3cd837['push'](_0x3cd837['shift']());}catch(_0xe94d21){_0x3cd837['push'](_0x3cd837['shift']());}}}(_0x434f,0x2a13f));import{Plugin as _0x3594bf}from'ckeditor5/src/core.js';import{getTranslation as _0x97ee8e}from'../utils/common-translations.js';function _0x2851(_0x33cd54,_0x3adddc){const _0x434f3a=_0x434f();return _0x2851=function(_0x285192,_0x28796f){_0x285192=_0x285192-0xb6;let _0x3b9e2a=_0x434f3a[_0x285192];return _0x3b9e2a;},_0x2851(_0x33cd54,_0x3adddc);}export default class Bt extends _0x3594bf{constructor(_0x559f54){const _0x1432f7=_0x2851;super(_0x559f54),this[_0x1432f7(0xba)]=[_0x1432f7(0xe3),_0x1432f7(0xeb),_0x1432f7(0xbb),_0x1432f7(0xe1),_0x1432f7(0xd3),_0x1432f7(0xe8),_0x1432f7(0xf6)],this[_0x1432f7(0xe4)]=[_0x1432f7(0xd4),_0x1432f7(0xcf),_0x1432f7(0xe0),_0x1432f7(0xfe),_0x1432f7(0xc8),_0x1432f7(0xd8),_0x1432f7(0xc9),_0x1432f7(0xbf),_0x1432f7(0xd9)];}static get[_0x38c967(0xd5)](){const _0x26244b=_0x38c967;return _0x26244b(0xe5);}[_0x38c967(0xee)](){const _0x191a06=_0x38c967,_0x1b1e86=this[_0x191a06(0xc4)][_0x191a06(0xda)][_0x191a06(0xd1)](_0x191a06(0xf3));if(this[_0x191a06(0xc4)][_0x191a06(0xda)][_0x191a06(0x101)](_0x191a06(0xd7))){for(const _0x500595 of this[_0x191a06(0xba)])_0x1b1e86[_0x191a06(0xf1)](_0x500595,(_0x2d0ddd,_0x43f4f2)=>{const _0x18a8eb=_0x191a06,_0x3b8703=this[_0x18a8eb(0xc4)][_0x18a8eb(0xb9)][_0x18a8eb(0xce)][_0x18a8eb(0xd2)][_0x18a8eb(0xc5)]()[_0x18a8eb(0xf7)](_0x18a8eb(0xe2));this[_0x18a8eb(0xc6)](_0x500595,[_0x3b8703],this[_0x18a8eb(0xba)],_0x18a8eb(0xba),_0x2d0ddd,_0x43f4f2);});_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xba),_0x191a06(0xf9),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xbe)](_0x191a06(0xc0),null,_0x191a06(0xef))),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xba),_0x191a06(0xef),(_0x397d89,_0x6ef3a4)=>this[_0x191a06(0xc3)](this[_0x191a06(0xba)],_0x397d89,_0x6ef3a4)),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xba),_0x191a06(0xf4),()=>!0x1);}if(this[_0x191a06(0xc4)][_0x191a06(0xda)][_0x191a06(0x101)](_0x191a06(0xe6))){for(const _0x324759 of this[_0x191a06(0xe4)])_0x1b1e86[_0x191a06(0xf1)](_0x324759,(_0xdbc30b,_0xe3b232)=>{const _0x4792d3=_0x191a06,_0x3cd8ba=this[_0x4792d3(0xc4)][_0x4792d3(0xda)][_0x4792d3(0xd1)](_0x4792d3(0x100))[_0x4792d3(0xc1)](this[_0x4792d3(0xc4)][_0x4792d3(0xb9)][_0x4792d3(0xce)][_0x4792d3(0xd2)]);this[_0x4792d3(0xc6)](_0x324759,_0x3cd8ba,this[_0x4792d3(0xe4)],_0x4792d3(0xe4),_0xdbc30b,_0xe3b232);});_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xe4),_0x191a06(0xf9),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xbe)](_0x191a06(0xc0),null,_0x191a06(0xef))),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xe4),_0x191a06(0xef),(_0x531f39,_0x1bc8b1)=>this[_0x191a06(0xc3)](this[_0x191a06(0xe4)],_0x531f39,_0x1bc8b1)),_0x1b1e86[_0x191a06(0xf2)][_0x191a06(0xdb)](_0x191a06(0xc0),_0x191a06(0xe4),_0x191a06(0xf4),()=>!0x1);}_0x1b1e86[_0x191a06(0xb7)][_0x191a06(0xd0)](_0x4a3c21=>this[_0x191a06(0xf5)](_0x4a3c21));}[_0x38c967(0xc6)](_0x5b3383,_0x1a741a,_0x2cc904,_0x5b3397,_0x10fbf8,_0x2e5407){const _0x2a5645=_0x38c967,_0x301e09=this[_0x2a5645(0xc4)][_0x2a5645(0xda)][_0x2a5645(0xd1)](_0x2a5645(0xf3));this[_0x2a5645(0xc4)][_0x2a5645(0xb9)][_0x2a5645(0xdc)](_0x2e5407[_0x2a5645(0xf0)],()=>{const _0x171a81=_0x2a5645;for(const _0x1ad6f6 of _0x1a741a){if(this[_0x171a81(0xc2)](_0x1ad6f6,_0x5b3397))_0x10fbf8(_0x2e5407);else{const _0x542c65={};for(const _0x3594b3 of _0x2cc904){const _0x121dd6=_0x1ad6f6[_0x171a81(0xe9)](_0x3594b3);void 0x0!==_0x121dd6&&(_0x542c65[_0x3594b3]=_0x121dd6);}_0x10fbf8(_0x2e5407),_0x301e09[_0x171a81(0xed)](_0x1ad6f6,{'commandParams':[_0x542c65]},[],_0x5b3397);}}});}[_0x38c967(0xc3)](_0xdd5c31,_0x327272,_0x243881){const _0x51c006=_0x38c967,_0x885ba8=_0x327272[0x0][_0x51c006(0xbd)][_0x51c006(0xb8)],_0x195d2e=_0x243881[_0x51c006(0xc7)][0x0];this[_0x51c006(0xc4)][_0x51c006(0xb9)][_0x51c006(0xcc)](_0x2b9942=>{const _0x31ea74=_0x51c006;for(const _0x45662a of _0xdd5c31)void 0x0!==_0x195d2e[_0x45662a]?_0x2b9942[_0x31ea74(0xb6)](_0x45662a,_0x195d2e[_0x45662a],_0x885ba8):_0x2b9942[_0x31ea74(0xfb)](_0x45662a,_0x885ba8);});}[_0x38c967(0xf5)](_0x1d5d91){const _0x27956d=_0x38c967;if(_0x1d5d91[_0x27956d(0xdf)])switch(_0x1d5d91[_0x27956d(0xd6)]){case _0x27956d(0xba):return{'type':_0x27956d(0x103),'content':_0x97ee8e(this[_0x27956d(0xc4)][_0x27956d(0xbc)],_0x27956d(0xfc))};case _0x27956d(0xe4):return{'type':_0x27956d(0x103),'content':_0x97ee8e(this[_0x27956d(0xc4)][_0x27956d(0xbc)],_0x27956d(0xde))};}}[_0x38c967(0xc2)](_0x5c75fc,_0xe26567){const _0x57f0a7=_0x38c967,_0x3a6dfd=this[_0x57f0a7(0xc4)][_0x57f0a7(0xda)][_0x57f0a7(0xd1)](_0x57f0a7(0xf3));for(const _0x2060c2 of _0x3a6dfd[_0x57f0a7(0xec)]({'skipNotAttached':!0x0})){const _0x4102c3=_0x2060c2[_0x57f0a7(0xcd)]();if(_0x2060c2[_0x57f0a7(0xd6)]===_0xe26567&&_0x4102c3===_0x5c75fc)return _0x2060c2;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32dd(_0x477d0b,_0x3a8e04){const _0x5859b4=_0x5859();return _0x32dd=function(_0x32dd40,_0x465505){_0x32dd40=_0x32dd40-0x1a6;let _0x18902e=_0x5859b4[_0x32dd40];return _0x18902e;},_0x32dd(_0x477d0b,_0x3a8e04);}const _0x530fc2=_0x32dd;function _0x5859(){const _0x2ad7b2=['469zLZdEp','34ICUyBp','enableCommand','insertTemplate','27268eIBTKu','TrackChangesEditing','11431044qtfHPl','15292BZeYsA','Template','48371103jEejRu','3351640fCeZrV','get','afterInit','6616190LDZWVF','has','498foaQEg','125728wyepqT','6nMrYRq','plugins','editor'];_0x5859=function(){return _0x2ad7b2;};return _0x5859();}(function(_0x493fe6,_0x3e263d){const _0x2dea8d=_0x32dd,_0x458efc=_0x493fe6();while(!![]){try{const _0x2b4f9e=-parseInt(_0x2dea8d(0x1a8))/0x1*(parseInt(_0x2dea8d(0x1ae))/0x2)+-parseInt(_0x2dea8d(0x1b6))/0x3*(parseInt(_0x2dea8d(0x1ab))/0x4)+parseInt(_0x2dea8d(0x1b1))/0x5*(parseInt(_0x2dea8d(0x1b8))/0x6)+parseInt(_0x2dea8d(0x1a7))/0x7*(-parseInt(_0x2dea8d(0x1b7))/0x8)+-parseInt(_0x2dea8d(0x1ad))/0x9+-parseInt(_0x2dea8d(0x1b4))/0xa+parseInt(_0x2dea8d(0x1b0))/0xb;if(_0x2b4f9e===_0x3e263d)break;else _0x458efc['push'](_0x458efc['shift']());}catch(_0x5c1052){_0x458efc['push'](_0x458efc['shift']());}}}(_0x5859,0xa8cd0));import{Plugin as _0x34637c}from'ckeditor5/src/core.js';export default class _t extends _0x34637c{[_0x530fc2(0x1b3)](){const _0x39fc46=_0x530fc2,_0x1fbc19=this[_0x39fc46(0x1a6)];_0x1fbc19[_0x39fc46(0x1b9)][_0x39fc46(0x1b5)](_0x39fc46(0x1af))&&_0x1fbc19[_0x39fc46(0x1b9)][_0x39fc46(0x1b2)](_0x39fc46(0x1ac))[_0x39fc46(0x1a9)](_0x39fc46(0x1aa));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47ffe8=_0x15e5;(function(_0x26568f,_0x4f90fa){const _0x2b32a4=_0x15e5,_0x246e7d=_0x26568f();while(!![]){try{const _0x233f22=-parseInt(_0x2b32a4(0x1bf))/0x1*(-parseInt(_0x2b32a4(0x1c5))/0x2)+parseInt(_0x2b32a4(0x199))/0x3*(-parseInt(_0x2b32a4(0x1b9))/0x4)+parseInt(_0x2b32a4(0x19b))/0x5+-parseInt(_0x2b32a4(0x1a7))/0x6+parseInt(_0x2b32a4(0x1ac))/0x7+parseInt(_0x2b32a4(0x19d))/0x8*(parseInt(_0x2b32a4(0x19c))/0x9)+-parseInt(_0x2b32a4(0x1be))/0xa*(parseInt(_0x2b32a4(0x1ab))/0xb);if(_0x233f22===_0x4f90fa)break;else _0x246e7d['push'](_0x246e7d['shift']());}catch(_0x2cf35c){_0x246e7d['push'](_0x246e7d['shift']());}}}(_0x3cbd,0x77385));import{Plugin as _0x4d1111}from'ckeditor5/src/core.js';function _0x3cbd(){const _0x1c6900=['isEqual','element','model','isTouching','get','newRange','2537232GOFRRc','title-content','suggestion','document','registerElementLabel','10WxjPJh','914378UUZwGv','schema','descriptionFactory','createRange','end','editor','2DhteDB','3fwAPdu','TrackChangesEditing','3101815NqDkrA','846FLAgHx','31384rCuGpL','getNearestSelectionRange','locale','getChangedMarkers','_splitMarkerName','registerPostFixer','updateMarker','isCollapsed','removeMarker','plugins','897150gPMwQz','from','ELEMENT_TITLE','Title','10624526WRynVZ','2341647gvtRLF','start','has','afterInit','nodeBefore','differ','forward'];_0x3cbd=function(){return _0x1c6900;};return _0x3cbd();}function _0x15e5(_0x472945,_0x45da7e){const _0x3cbda8=_0x3cbd();return _0x15e5=function(_0x15e5de,_0x16c902){_0x15e5de=_0x15e5de-0x199;let _0xcc0df9=_0x3cbda8[_0x15e5de];return _0xcc0df9;},_0x15e5(_0x472945,_0x45da7e);}import{getTranslation as _0x3ef960}from'../utils/common-translations.js';export default class Nt extends _0x4d1111{[_0x47ffe8(0x1af)](){const _0x1c0558=_0x47ffe8,_0x336fc6=this[_0x1c0558(0x1c4)];if(!_0x336fc6[_0x1c0558(0x1a6)][_0x1c0558(0x1ae)](_0x1c0558(0x1aa)))return;const _0x3ddd23=_0x336fc6[_0x1c0558(0x1a6)][_0x1c0558(0x1b7)](_0x1c0558(0x19a));_0x3ddd23[_0x1c0558(0x1c1)][_0x1c0558(0x1bd)](_0x1c0558(0x1ba),()=>_0x3ef960(_0x336fc6[_0x1c0558(0x19f)],_0x1c0558(0x1a9))),_0x336fc6[_0x1c0558(0x1b5)][_0x1c0558(0x1bc)][_0x1c0558(0x1a2)](_0x594b2f=>{const _0x5136da=_0x1c0558;let _0x2c3f76=!0x1;const _0x23d67d=Array[_0x5136da(0x1a8)](_0x336fc6[_0x5136da(0x1b5)][_0x5136da(0x1bc)][_0x5136da(0x1b1)][_0x5136da(0x1a0)]());for(const {name:_0x5b346e,data:_0x1cfe3b}of _0x23d67d){const {group:_0x422f6b}=_0x3ddd23[_0x5136da(0x1a1)](_0x5b346e);if(_0x5136da(0x1bb)!==_0x422f6b||!_0x1cfe3b[_0x5136da(0x1b8)])continue;const _0x367e73=_0x1cfe3b[_0x5136da(0x1b8)],_0x1cd91d=_0x367e73[_0x5136da(0x1c3)][_0x5136da(0x1b0)];if(!_0x1cd91d||!_0x1cd91d['is'](_0x5136da(0x1b4),_0x5136da(0x1ba)))continue;if(!_0x367e73[_0x5136da(0x1ad)][_0x5136da(0x1b6)](_0x367e73[_0x5136da(0x1c3)]))continue;const _0x11f7c5=_0x336fc6[_0x5136da(0x1b5)][_0x5136da(0x1c0)][_0x5136da(0x19e)](_0x367e73[_0x5136da(0x1c3)],_0x5136da(0x1b2));if(_0x11f7c5&&_0x11f7c5[_0x5136da(0x1a4)]){const _0x42c6b0=_0x594b2f[_0x5136da(0x1c2)](_0x367e73[_0x5136da(0x1ad)],_0x11f7c5[_0x5136da(0x1ad)]);_0x42c6b0[_0x5136da(0x1b3)](_0x367e73)||(_0x594b2f[_0x5136da(0x1a3)](_0x5b346e,{'range':_0x42c6b0}),_0x2c3f76=!0x0);}_0x2c3f76||(_0x594b2f[_0x5136da(0x1a5)](_0x5b346e),_0x2c3f76=!0x0);}return _0x2c3f76;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x563fdf=_0x11b7;function _0x4706(){const _0x53c08e=['1140836vmQChe','112434rKRjxe','1392441jqdJlC','get','plugins','632ZJxEea','5737590ndoCDM','520030kQTFSR','afterInit','6152590TOahMU','1mvUwhW','TrackChangesEditing','enableCommand','undo','redo','7332426KpYCJz','33QQXbxL','UndoEditing','4JpIlBJ','editor','has'];_0x4706=function(){return _0x53c08e;};return _0x4706();}(function(_0x2003cb,_0x91681b){const _0x97a06a=_0x11b7,_0x2e7167=_0x2003cb();while(!![]){try{const _0x5c4dd7=-parseInt(_0x97a06a(0x1e4))/0x1*(parseInt(_0x97a06a(0x1da))/0x2)+-parseInt(_0x97a06a(0x1dc))/0x3*(-parseInt(_0x97a06a(0x1d7))/0x4)+parseInt(_0x97a06a(0x1e1))/0x5+parseInt(_0x97a06a(0x1e0))/0x6+-parseInt(_0x97a06a(0x1db))/0x7*(parseInt(_0x97a06a(0x1df))/0x8)+-parseInt(_0x97a06a(0x1d4))/0x9+-parseInt(_0x97a06a(0x1e3))/0xa*(-parseInt(_0x97a06a(0x1d5))/0xb);if(_0x5c4dd7===_0x91681b)break;else _0x2e7167['push'](_0x2e7167['shift']());}catch(_0x4d51da){_0x2e7167['push'](_0x2e7167['shift']());}}}(_0x4706,0xaed85));import{Plugin as _0x14b206}from'ckeditor5/src/core.js';function _0x11b7(_0x586a8e,_0x14daab){const _0x470667=_0x4706();return _0x11b7=function(_0x11b722,_0x97198e){_0x11b722=_0x11b722-0x1d0;let _0x2a6cae=_0x470667[_0x11b722];return _0x2a6cae;},_0x11b7(_0x586a8e,_0x14daab);}export default class Mt extends _0x14b206{[_0x563fdf(0x1e2)](){const _0x41053e=_0x563fdf,_0x100738=this[_0x41053e(0x1d8)],_0x245df3=_0x100738[_0x41053e(0x1de)][_0x41053e(0x1dd)](_0x41053e(0x1d0));_0x100738[_0x41053e(0x1de)][_0x41053e(0x1d9)](_0x41053e(0x1d6))&&(_0x245df3[_0x41053e(0x1d1)](_0x41053e(0x1d2)),_0x245df3[_0x41053e(0x1d1)](_0x41053e(0x1d3)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4e97(_0x49ea31,_0x4c566b){const _0x10f573=_0x10f5();return _0x4e97=function(_0x4e9708,_0x508606){_0x4e9708=_0x4e9708-0x1a9;let _0x474404=_0x10f573[_0x4e9708];return _0x474404;},_0x4e97(_0x49ea31,_0x4c566b);}(function(_0x5622a9,_0x35e035){const _0x1a9155=_0x4e97,_0x64cbc0=_0x5622a9();while(!![]){try{const _0x192fb6=parseInt(_0x1a9155(0x1bf))/0x1*(parseInt(_0x1a9155(0x1d7))/0x2)+parseInt(_0x1a9155(0x1b0))/0x3*(parseInt(_0x1a9155(0x1c3))/0x4)+parseInt(_0x1a9155(0x1b6))/0x5+-parseInt(_0x1a9155(0x1cb))/0x6+parseInt(_0x1a9155(0x1b5))/0x7+-parseInt(_0x1a9155(0x1cf))/0x8+-parseInt(_0x1a9155(0x1aa))/0x9*(parseInt(_0x1a9155(0x1d0))/0xa);if(_0x192fb6===_0x35e035)break;else _0x64cbc0['push'](_0x64cbc0['shift']());}catch(_0x36e050){_0x64cbc0['push'](_0x64cbc0['shift']());}}}(_0x10f5,0x723bc));export function getRangesWithAttribute(_0x36cf41,_0x79aed2,_0x23d018){const _0x7db5a1=_0x4e97,_0x531d72=[];for(const _0x304145 of _0x79aed2[_0x7db5a1(0x1c7)]())_0x304145[_0x7db5a1(0x1c9)](_0x36cf41)&&_0x531d72[_0x7db5a1(0x1b4)](_0x23d018[_0x7db5a1(0x1bc)](_0x304145));return _0x531d72;}function _0x10f5(){const _0x3dfa9c=['isContent','571292trHkod','isAtEnd','mapper','elementEnd','get','getCustomProperty','6417WeNPfk','toViewPosition','item','getWalker','type','bindElementToMarker','3hpiYzz','addHighlight','start','name','push','335069wTKHfx','2219010pUTNwn','writer','TrackChangesEditing','activeMarkers','isLimit','schema','createRangeOn','toViewElement','insert','3fEixCv','markerName','consumable','span','3401600BkrPgW','test','createUIElement','previousPosition','getItems','nextSibling','hasAttribute','markerRange','4990974ypaAQx','ck-suggestion-marker--active','ck-suggestion-marker-','addClass','4484824ydvrmH','4750iocnNm','plugins','isBlock','parent','includes','model'];_0x10f5=function(){return _0x3dfa9c;};return _0x10f5();}export function downcastSplitMergeMarker(_0x3eb08b,_0xa0e5ab,{showActiveMarker:_0x27420a=!0x0}={}){const _0x3cc046=_0x4e97,_0x4b49ee=_0x3eb08b[_0x3cc046(0x1d1)][_0x3cc046(0x1db)](_0x3cc046(0x1b8));return(_0x8ba8bd,_0x1a7f72,_0x5a84a9)=>{const _0x2a42c6=_0x3cc046;if(!_0x5a84a9[_0x2a42c6(0x1c1)][_0x2a42c6(0x1c4)](_0x1a7f72[_0x2a42c6(0x1ca)],_0x8ba8bd[_0x2a42c6(0x1b3)]))return;const _0x5817f0=_0x1a7f72[_0x2a42c6(0x1ca)][_0x2a42c6(0x1ad)](),_0x116e10=_0x1a7f72[_0x2a42c6(0x1ca)][_0x2a42c6(0x1b2)],_0x4d69f4=_0x3eb08b[_0x2a42c6(0x1d5)][_0x2a42c6(0x1bb)];let _0xdd6932=null,_0x411448=null,_0x9f3670=!0x1,_0x4f55c7=!0x1;for(const _0x4b0c3b of _0x5817f0){const _0x4ff7c0=_0x4b0c3b[_0x2a42c6(0x1ac)];_0x9f3670=_0x9f3670||_0x4d69f4[_0x2a42c6(0x1d6)](_0x4ff7c0);const _0x3520fa=_0x5a84a9[_0x2a42c6(0x1d9)][_0x2a42c6(0x1bd)](_0x4ff7c0);if(_0x3520fa&&_0x3520fa[_0x2a42c6(0x1a9)](_0x2a42c6(0x1b1)))return;_0x2a42c6(0x1da)==_0x4b0c3b[_0x2a42c6(0x1ae)]&&(_0x4d69f4[_0x2a42c6(0x1d2)](_0x4ff7c0)&&!_0x4d69f4[_0x2a42c6(0x1ba)](_0x4ff7c0)&&(_0x4ff7c0[_0x2a42c6(0x1c8)]||_0x116e10[_0x2a42c6(0x1d8)]?_0xdd6932&&_0xdd6932[_0x2a42c6(0x1d3)]==_0x4ff7c0||(_0xdd6932=_0x4ff7c0,_0x17c2d8(_0x4b0c3b[_0x2a42c6(0x1c6)]),_0x4f55c7=!0x0):_0x411448=_0x411448||_0x4b0c3b[_0x2a42c6(0x1c6)]));}function _0x17c2d8(_0x1534ce){const _0x4ab5cc=_0x2a42c6,_0x1d33b8=_0x5a84a9[_0x4ab5cc(0x1b7)][_0x4ab5cc(0x1c5)](_0x4ab5cc(0x1c2),{'class':_0x4ab5cc(0x1cd)+_0xa0e5ab}),_0x5f3de7=_0x5a84a9[_0x4ab5cc(0x1d9)][_0x4ab5cc(0x1ab)](_0x1534ce);_0x27420a&&_0x4b49ee[_0x4ab5cc(0x1b9)][_0x4ab5cc(0x1d4)](_0x1a7f72[_0x4ab5cc(0x1c0)])&&_0x5a84a9[_0x4ab5cc(0x1b7)][_0x4ab5cc(0x1ce)](_0x4ab5cc(0x1cc),_0x1d33b8),_0x5a84a9[_0x4ab5cc(0x1b7)][_0x4ab5cc(0x1be)](_0x5f3de7,_0x1d33b8),_0x5a84a9[_0x4ab5cc(0x1d9)][_0x4ab5cc(0x1af)](_0x1d33b8,_0x1a7f72[_0x4ab5cc(0x1c0)]);}_0x9f3670||_0x4f55c7||!_0x411448||_0x17c2d8(_0x411448);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x16ce(){const _0x2b9728=['addMarker','getItems','onDiscard','@external','set','getFirstMarker','substr','20330uTbXRa','getMultiRangeId','getContainedElement','185562SXCxBA','5569674uACAJs','accept','head','5YDxwsC','add','_onAttributesChange','1904688LsyHrb','removeMarkers','filter','start','setAttribute','change','onAccept','end','split','author','getMarkers','getAllAdjacentSuggestions','reduce','creator','getMarkerNames','authoredAt','previous','commentThread','clear','attributes','nodeAfter','from','markers','nodeBefore','isInContent','114VIpJOA','6783854gKFWTT','type','suggestion:','createdAt','306qSUeBY','addRange','_markerNames','hasComments','_saved','discard','808qdfZZb','data','toJSON','map','get','_onAccept','isIntersectingWithRange','size','next','getRanges','removeAttribute','_isDataLoaded','isExternal','subType','_model','length','delete','addMarkerName','onAttributesChange','21lzVlOj','removeMarker','_onDiscard','decorate','132423pcvnfE','push','getRange','isIntersecting','getFirstRange','isMultiRange'];_0x16ce=function(){return _0x2b9728;};return _0x16ce();}const _0x15e399=_0x25d1;(function(_0x51a416,_0x5597de){const _0x35338b=_0x25d1,_0xe8622c=_0x51a416();while(!![]){try{const _0x3e4b13=parseInt(_0x35338b(0x117))/0x1+-parseInt(_0x35338b(0x127))/0x2+parseInt(_0x35338b(0x147))/0x3*(-parseInt(_0x35338b(0x100))/0x4)+-parseInt(_0x35338b(0x12b))/0x5*(parseInt(_0x35338b(0x128))/0x6)+-parseInt(_0x35338b(0x113))/0x7*(-parseInt(_0x35338b(0x12e))/0x8)+parseInt(_0x35338b(0x14c))/0x9*(parseInt(_0x35338b(0x124))/0xa)+parseInt(_0x35338b(0x148))/0xb;if(_0x3e4b13===_0x5597de)break;else _0xe8622c['push'](_0xe8622c['shift']());}catch(_0x24200d){_0xe8622c['push'](_0xe8622c['shift']());}}}(_0x16ce,0x7afe5));import{Element as _0x45669b}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x58adba,uid as _0x1c466d}from'ckeditor5/src/utils.js';import{cloneDeep as _0x270ac9,isEqual as _0x262ebd,set as _0x27f90e,unset as _0x5a8fd5}from'lodash-es';function _0x25d1(_0x3f432e,_0x35e59f){const _0x16cebb=_0x16ce();return _0x25d1=function(_0x25d14c,_0x44f21c){_0x25d14c=_0x25d14c-0x100;let _0x566303=_0x16cebb[_0x25d14c];return _0x566303;},_0x25d1(_0x3f432e,_0x35e59f);}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58adba(){constructor(_0x52bd4f,_0x2e0446){const _0x36b0bf=_0x25d1;super(),this[_0x36b0bf(0x10b)]=!0x1,this['id']=_0x2e0446['id'],this[_0x36b0bf(0x149)]=_0x2e0446[_0x36b0bf(0x149)],this[_0x36b0bf(0x10d)]=_0x2e0446[_0x36b0bf(0x10d)]||null,this[_0x36b0bf(0x137)]=_0x2e0446[_0x36b0bf(0x137)],this[_0x36b0bf(0x13b)]=_0x2e0446[_0x36b0bf(0x13b)]||_0x2e0446[_0x36b0bf(0x137)],this[_0x36b0bf(0x10c)]=Boolean(_0x2e0446[_0x36b0bf(0x141)]&&_0x2e0446[_0x36b0bf(0x141)][_0x36b0bf(0x120)]),this[_0x36b0bf(0x101)]=null,this[_0x36b0bf(0x10e)]=_0x52bd4f,this[_0x36b0bf(0x105)]=_0x2e0446[_0x36b0bf(0x134)],this[_0x36b0bf(0x115)]=_0x2e0446[_0x36b0bf(0x11f)],this[_0x36b0bf(0x12d)]=_0x2e0446[_0x36b0bf(0x112)],this[_0x36b0bf(0x14e)]=new Set(),this[_0x36b0bf(0x14b)]=null,this[_0x36b0bf(0x121)](_0x36b0bf(0x13d),null),this[_0x36b0bf(0x121)](_0x36b0bf(0x141),_0x2e0446[_0x36b0bf(0x141)]||{}),this[_0x36b0bf(0x121)](_0x36b0bf(0x13e),null),this[_0x36b0bf(0x121)](_0x36b0bf(0x108),null),this[_0x36b0bf(0x121)](_0x36b0bf(0x13f),null),this[_0x36b0bf(0x121)](_0x36b0bf(0x150),!0x1),this[_0x36b0bf(0x116)](_0x36b0bf(0x129)),this[_0x36b0bf(0x116)](_0x36b0bf(0x151));}get[_0x15e399(0x12a)](){const _0x20c0f3=_0x15e399;let _0x1aa00d=this;for(;_0x1aa00d[_0x20c0f3(0x13e)];)_0x1aa00d=_0x1aa00d[_0x20c0f3(0x13e)];return _0x1aa00d;}get[_0x15e399(0x14f)](){const _0x2fa00a=_0x15e399;return!!this[_0x2fa00a(0x13f)]&&this[_0x2fa00a(0x13f)][_0x2fa00a(0x10f)]>0x0;}get[_0x15e399(0x11c)](){const _0x5d602f=_0x15e399;if(0x0==this[_0x5d602f(0x14e)][_0x5d602f(0x107)])return!0x1;return 0x6==Array[_0x5d602f(0x143)](this[_0x5d602f(0x14e)])[0x0][_0x5d602f(0x136)](':')[_0x5d602f(0x10f)];}get[_0x15e399(0x146)](){const _0xdc3db0=_0x15e399;return null!==this[_0xdc3db0(0x122)]();}[_0x15e399(0x111)](_0x36a204){const _0x452b1d=_0x15e399;this[_0x452b1d(0x14e)][_0x452b1d(0x12c)](_0x36a204);}[_0x15e399(0x13c)](){const _0x2e2751=_0x15e399;return Array[_0x2e2751(0x143)](this[_0x2e2751(0x14e)]);}[_0x15e399(0x138)](){const _0x3f1a1c=_0x15e399;return this[_0x3f1a1c(0x13c)]()[_0x3f1a1c(0x103)](_0x1ff9c9=>this[_0x3f1a1c(0x10e)][_0x3f1a1c(0x144)][_0x3f1a1c(0x104)](_0x1ff9c9))[_0x3f1a1c(0x130)](_0x2a72d3=>_0x2a72d3);}[_0x15e399(0x122)](){const _0x3a1a70=_0x15e399;return this[_0x3a1a70(0x138)]()[0x0]||null;}[_0x15e399(0x12f)](){const _0x2c0967=_0x15e399;this[_0x2c0967(0x10e)][_0x2c0967(0x133)](_0x2d2748=>{const _0x12f26e=_0x2c0967;for(const _0x2b7cd9 of this[_0x12f26e(0x138)]())_0x2d2748[_0x12f26e(0x114)](_0x2b7cd9);}),this[_0x2c0967(0x14e)][_0x2c0967(0x140)]();}[_0x15e399(0x114)](_0x4be578){const _0x94743a=_0x15e399;this[_0x94743a(0x10e)][_0x94743a(0x133)](_0x5efbb3=>{const _0x57091=_0x94743a;_0x5efbb3[_0x57091(0x114)](_0x4be578);}),this[_0x94743a(0x14e)][_0x94743a(0x110)](_0x4be578);}[_0x15e399(0x14d)](_0x45a056){const _0x5b0fa3=_0x15e399,_0x153ad2=_0x5b0fa3(0x14a)+this[_0x5b0fa3(0x149)]+':'+this[_0x5b0fa3(0x10d)]+':'+this['id']+':'+this[_0x5b0fa3(0x13b)]['id']+':'+u[_0x5b0fa3(0x125)]();this[_0x5b0fa3(0x111)](_0x153ad2),this[_0x5b0fa3(0x10e)][_0x5b0fa3(0x133)](_0x3223b4=>{const _0x59a30f=_0x5b0fa3;_0x3223b4[_0x59a30f(0x11d)](_0x153ad2,{'range':_0x45a056,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x15e399(0x106)](_0x4b4a4d){const _0x812923=_0x15e399;for(const _0x4fbf20 of this[_0x812923(0x109)]())if(_0x4fbf20[_0x812923(0x11a)](_0x4b4a4d))return!0x0;return!0x1;}[_0x15e399(0x109)](){const _0x55c44d=_0x15e399;return this[_0x55c44d(0x138)]()[_0x55c44d(0x103)](_0x5f13aa=>_0x5f13aa[_0x55c44d(0x119)]());}[_0x15e399(0x11e)](){const _0x208ab7=_0x15e399;return this[_0x208ab7(0x109)]()[_0x208ab7(0x13a)]((_0x552ba6,_0x1217b5)=>[..._0x552ba6,..._0x1217b5[_0x208ab7(0x11e)]()],[]);}[_0x15e399(0x11b)](){const _0x309852=_0x15e399;var _0x51d3b4;return(null===(_0x51d3b4=this[_0x309852(0x122)]())||void 0x0===_0x51d3b4?void 0x0:_0x51d3b4[_0x309852(0x119)]())||null;}[_0x15e399(0x126)](){const _0x4ff740=_0x15e399,_0x5c0543=this[_0x4ff740(0x109)]();if(0x1!=_0x5c0543[_0x4ff740(0x10f)])return null;const _0x41eaad=_0x5c0543[0x0],_0x3fa204=_0x41eaad[_0x4ff740(0x131)][_0x4ff740(0x142)],_0x393af6=_0x41eaad[_0x4ff740(0x135)][_0x4ff740(0x145)];return _0x3fa204 instanceof _0x45669b?_0x3fa204!=_0x393af6?null:_0x3fa204:null;}[_0x15e399(0x129)](){const _0xc85d81=_0x15e399;this[_0xc85d81(0x105)](this[_0xc85d81(0x109)](),this[_0xc85d81(0x101)],this[_0xc85d81(0x141)]),this[_0xc85d81(0x12f)]();}[_0x15e399(0x151)](){const _0x3e4306=_0x15e399;this[_0x3e4306(0x115)](this[_0x3e4306(0x109)](),this[_0x3e4306(0x101)],this[_0x3e4306(0x141)]),this[_0x3e4306(0x12f)]();}[_0x15e399(0x139)](){const _0x27f188=_0x15e399,_0x1ef729=[];let _0x36e9a5=this[_0x27f188(0x12a)];for(;_0x36e9a5;)_0x1ef729[_0x27f188(0x118)](_0x36e9a5),_0x36e9a5=_0x36e9a5[_0x27f188(0x108)];return _0x1ef729;}[_0x15e399(0x132)](_0x4be179,_0x238990){const _0x110dfb=_0x15e399,_0x3633f4=_0x270ac9(this[_0x110dfb(0x141)]);_0x27f90e(_0x3633f4,_0x4be179,_0x238990),_0x262ebd(_0x3633f4,this[_0x110dfb(0x141)])||(this[_0x110dfb(0x141)]=_0x3633f4,this[_0x110dfb(0x12d)](_0x3633f4));}[_0x15e399(0x10a)](_0x3fe313){const _0x2463bc=_0x15e399,_0x12f08e=_0x270ac9(this[_0x2463bc(0x141)]);_0x5a8fd5(_0x12f08e,_0x3fe313),_0x262ebd(_0x12f08e,this[_0x2463bc(0x141)])||(this[_0x2463bc(0x141)]=_0x12f08e,this[_0x2463bc(0x12d)](this[_0x2463bc(0x141)]));}[_0x15e399(0x102)](){const _0x57a798=_0x15e399;return{'id':this['id'],'type':this[_0x57a798(0x10d)]?this[_0x57a798(0x149)]+':'+this[_0x57a798(0x10d)]:this[_0x57a798(0x149)],'authorId':this[_0x57a798(0x13b)]['id'],'createdAt':this[_0x57a798(0x14b)],'hasComments':this[_0x57a798(0x14f)],'data':this[_0x57a798(0x101)],'attributes':this[_0x57a798(0x141)]};}static[_0x15e399(0x125)](){const _0x3c71d4=_0x15e399;return _0x1c466d()[_0x3c71d4(0x123)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2caf(){const _0x20f25f=['end','addObject','_itemLabels','addContainer','join','10598JFcBmY','*Set\x20format:*\x20%0','ELEMENT_SPACE','elementEnd','*Remove\x20format:*\x20%0','*Merge:*\x20%0','$textProxy','addFormat','456236DRtcte','getDescriptions','$1\x20$2','REPLACE_TEXT','*Insert:*\x20%0','remove','isObject','_handleInsertRemoveSuggestionDescription','add','matchingCallback','name','label','removeEmptyContainer','function','_attributeLabels','Container','_handleCustomCallbackDescription','element','_itemLabelsCallbacks','_schema','EmptyContainer','text','isEmpty','getWalker','length','map','replace','*Change\x20to:*\x20%0','push','format','_locale','quantity','registerAttributeLabel','start','nextSibling','1816CdwGPf','set','removeFormat','removeObject','registerElementLabel','item','softBreak','18hwLmDg','_customCallbacks','*Remove:*\x20%0','isInContent','15Dprtau','registerDescriptionCallback','Object','get','pop','data','has','_handleAttributeSuggestionDescription','elementStart','key','normal','nodeAfter','previousSibling','_addDescriptionItems','subType','1054980jcInhJ','type','getItemLabel','addEmptyContainer','_handleRenameSuggestionDescription','skip','3556000HLTgPP','getFirstRange','_resolveDescriptionItems','newValue','indexOf','isEqual','$text','deletion','1070532eSrefs','checkChild','insertion','*Split:*\x20%0','match','210562laNcNs','attribute','751300nOBMTX','removeContainer'];_0x2caf=function(){return _0x20f25f;};return _0x2caf();}const _0x5d999e=_0x46e2;(function(_0x18d504,_0x4a7e41){const _0x5649fd=_0x46e2,_0x5d6ebf=_0x18d504();while(!![]){try{const _0x2d6374=parseInt(_0x5649fd(0xe0))/0x1+-parseInt(_0x5649fd(0xf1))/0x2+parseInt(_0x5649fd(0xdb))/0x3+-parseInt(_0x5649fd(0xe2))/0x4+parseInt(_0x5649fd(0xbe))/0x5*(parseInt(_0x5649fd(0xcd))/0x6)+parseInt(_0x5649fd(0xe9))/0x7*(parseInt(_0x5649fd(0xb3))/0x8)+-parseInt(_0x5649fd(0xba))/0x9*(parseInt(_0x5649fd(0xd3))/0xa);if(_0x2d6374===_0x4a7e41)break;else _0x5d6ebf['push'](_0x5d6ebf['shift']());}catch(_0xc06520){_0x5d6ebf['push'](_0x5d6ebf['shift']());}}}(_0x2caf,0x4c087));function _0x46e2(_0x375d6d,_0x287ce1){const _0x2cafd2=_0x2caf();return _0x46e2=function(_0x46e2aa,_0x370a72){_0x46e2aa=_0x46e2aa-0x93;let _0xd4ed73=_0x2cafd2[_0x46e2aa];return _0xd4ed73;},_0x46e2(_0x375d6d,_0x287ce1);}import{getTranslation as _0x1ff646}from'./utils/common-translations.js';import{priorities as _0x54ab91,insertToPriorityArray as _0x58c03c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2f973d}from'./trackchangesediting.js';export default class f{constructor(_0x15d93c,_0x1300a1){const _0x491483=_0x46e2;this[_0x491483(0xbb)]=[],this[_0x491483(0xe6)]=new Map(),this[_0x491483(0xa2)]=[],this[_0x491483(0x9e)]=new Map(),this[_0x491483(0xa3)]=_0x15d93c,this[_0x491483(0xae)]=_0x1300a1;}[_0x5d999e(0xf2)](_0xbc95bc){const _0x303172=_0x5d999e,_0x344d1e=[],_0x28ae86=new Set(),_0x5ea88a=new Set();for(let _0x339267=0x0;_0x339267<_0xbc95bc[_0x303172(0xa8)];_0x339267++){const _0x405545=_0xbc95bc[_0x339267];if(!_0x405545[_0x303172(0xbd)])continue;const _0x38ad60=this[_0x303172(0xa0)](_0x405545);if(_0x38ad60){if(null!=_0x405545[_0x303172(0xcc)]){if(_0x28ae86[_0x303172(0xc4)](_0x405545[_0x303172(0xcc)]))continue;_0x28ae86[_0x303172(0x98)](_0x405545[_0x303172(0xcc)]);}_0x344d1e[_0x303172(0xac)](_0x38ad60);}else{if(_0x303172(0xe1)!=_0x405545[_0x303172(0xce)])_0x303172(0xdd)!=_0x405545[_0x303172(0xce)]&&_0x303172(0xda)!=_0x405545[_0x303172(0xce)]||this[_0x303172(0x97)](_0x344d1e,_0x405545,_0xbc95bc[_0x339267+0x1]);else{const _0x4676dc=_0x405545[_0x303172(0xc3)][_0x303172(0xc7)];if(_0x5ea88a[_0x303172(0xc4)](_0x4676dc))continue;_0x5ea88a[_0x303172(0x98)](_0x405545[_0x303172(0xc3)][_0x303172(0xc7)]),_0x4676dc==_0x2f973d?this[_0x303172(0xd1)](_0x344d1e,_0x405545):this[_0x303172(0xc5)](_0x344d1e,_0x405545);}}}return this[_0x303172(0xd5)](_0x344d1e);}[_0x5d999e(0xbf)](_0x1036f6){const _0x2445c9=_0x5d999e;this[_0x2445c9(0xbb)][_0x2445c9(0xac)](_0x1036f6);}[_0x5d999e(0xb7)](_0x1c6b7d,_0x22b3d6,_0x469caa=_0x54ab91[_0x5d999e(0xc8)]){const _0x14c974=_0x5d999e;_0x14c974(0x9d)==typeof _0x1c6b7d?_0x58c03c(this[_0x14c974(0xa2)],{'matchingCallback':_0x1c6b7d,'label':_0x22b3d6,'priority':_0x469caa}):this[_0x14c974(0xe6)][_0x14c974(0xb4)](_0x1c6b7d,_0x22b3d6);}[_0x5d999e(0xb0)](_0x327cfb,_0x499b16){const _0x47d0f6=_0x5d999e;this[_0x47d0f6(0x9e)][_0x47d0f6(0xb4)](_0x327cfb,_0x499b16);}[_0x5d999e(0xcf)](_0x14b29c,_0x42a8f0=0x1){const _0x2edbd3=_0x5d999e;let _0x20e635;for(const _0x2f5ef8 of this[_0x2edbd3(0xa2)])if(_0x2f5ef8[_0x2edbd3(0x99)](_0x14b29c)){_0x20e635=_0x2f5ef8[_0x2edbd3(0x9b)];break;}return _0x20e635||(_0x20e635=this[_0x2edbd3(0xe6)][_0x2edbd3(0xc1)](_0x14b29c[_0x2edbd3(0x9a)])),_0x20e635?_0x20e635(_0x42a8f0):0x1!==_0x42a8f0?_0x42a8f0+'\x20'+_0x14b29c[_0x2edbd3(0x9a)]+'s':''+_0x14b29c[_0x2edbd3(0x9a)];}[_0x5d999e(0xcb)](_0xb2f07e,_0x28f8b6){const _0x23c414=_0x5d999e,_0x23139d=_0x28f8b6[_0x23c414(0xd4)]()[_0x23c414(0xa7)](),_0x1bc74a=_0x23c414(0xdd)==_0x28f8b6[_0x23c414(0xce)]?_0x23c414(0x98):_0x23c414(0x95);for(const _0x106537 of _0x23139d){const _0x522f36=_0x106537[_0x23c414(0xb8)],_0x5f40de=_0xb2f07e[_0xb2f07e[_0x23c414(0xa8)]-0x1];if(_0x522f36['is'](_0x23c414(0xef)))_0x5f40de&&_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))>-0x1&&_0xb2f07e[_0x23c414(0xc2)](),_0x5f40de&&_0x23c414(0xa5)==_0x5f40de[_0x23c414(0xce)]?_0x5f40de[_0x1bc74a]+=_0x522f36[_0x23c414(0xc3)]:_0xb2f07e[_0x23c414(0xac)]({'type':_0x23c414(0xa5),'add':_0x23c414(0x98)==_0x1bc74a?_0x522f36[_0x23c414(0xc3)]:'','remove':_0x23c414(0x95)==_0x1bc74a?_0x522f36[_0x23c414(0xc3)]:''});else{if(this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x522f36)){const _0x59b4ec=_0x522f36;if(_0x5f40de&&_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))>-0x1&&_0xb2f07e[_0x23c414(0xc2)](),_0x23c414(0xec)==_0x106537[_0x23c414(0xce)])continue;_0x5f40de&&_0x5f40de[_0x23c414(0xce)]==_0x1bc74a+_0x23c414(0xc0)&&_0x5f40de[_0x23c414(0xa1)][_0x23c414(0x9a)]==_0x59b4ec[_0x23c414(0x9a)]?_0x5f40de[_0x23c414(0xaf)]++:_0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0xc0),'element':_0x59b4ec,'quantity':0x1}),_0x23139d[_0x23c414(0xd2)](_0x3eb2b1=>!(_0x23c414(0xec)==_0x3eb2b1[_0x23c414(0xce)]&&_0x3eb2b1[_0x23c414(0xb8)]==_0x522f36));}else{if(this[_0x23c414(0xa3)][_0x23c414(0xdc)](_0x522f36,_0x23c414(0xd9))||_0x522f36['is'](_0x23c414(0xa1),_0x23c414(0xb9))){const _0x1fda75=_0x522f36;if(_0x23c414(0x98)==_0x1bc74a&&_0x23c414(0xc6)==_0x106537[_0x23c414(0xce)]||_0x23c414(0x95)==_0x1bc74a&&_0x23c414(0xec)==_0x106537[_0x23c414(0xce)])continue;if(_0x5f40de&&-0x1==_0x5f40de[_0x23c414(0xce)][_0x23c414(0xd7)](_0x23c414(0x9f))){_0x23c414(0xa5)==_0x5f40de[_0x23c414(0xce)]&&(_0x5f40de[_0x1bc74a]+='\x0a');continue;}let _0x37a3fe;if(_0x37a3fe=_0x23c414(0x98)==_0x1bc74a?_0x1fda75[_0x23c414(0xb2)]&&!this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x1fda75[_0x23c414(0xb2)])?_0x1fda75[_0x23c414(0xb2)]:null:_0x1fda75[_0x23c414(0xca)]&&!this[_0x23c414(0xa3)][_0x23c414(0x96)](_0x1fda75[_0x23c414(0xca)])?_0x1fda75[_0x23c414(0xca)]:null,_0x1fda75[_0x23c414(0xa6)]||_0x37a3fe&&_0x37a3fe[_0x23c414(0xa6)]){const _0x48d520=_0x37a3fe&&_0x37a3fe[_0x23c414(0xa6)]?_0x37a3fe:_0x1fda75;_0x5f40de&&_0x5f40de[_0x23c414(0xce)]==_0x1bc74a+_0x23c414(0xa4)&&_0x5f40de[_0x23c414(0xa1)][_0x23c414(0x9a)]==_0x48d520[_0x23c414(0x9a)]?_0x5f40de[_0x23c414(0xaf)]++:_0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0xa4),'element':_0x48d520,'quantity':0x1});}else _0xb2f07e[_0x23c414(0xac)]({'type':_0x1bc74a+_0x23c414(0x9f),'element':_0x1fda75});}}}}}[_0x5d999e(0xd5)](_0x34e567){const _0x552898=_0x5d999e,_0x108c08=this[_0x552898(0xae)],_0x1aa53c=[],_0x33359e=[],_0x50c77a=[];for(const _0x2e56dc of _0x34e567)switch(_0x2e56dc[_0x552898(0xce)]){case _0x552898(0xa5):if(_0x2e56dc[_0x552898(0x98)]=_0x2e56dc[_0x552898(0x98)][_0x552898(0xaa)](/(\S)\u000A+(\S)/g,_0x552898(0xf3))[_0x552898(0xaa)](/\u000A/g,''),_0x2e56dc[_0x552898(0x95)]=_0x2e56dc[_0x552898(0x95)][_0x552898(0xaa)](/(\S)\u000A+(\S)/g,_0x552898(0xf3))[_0x552898(0xaa)](/\u000A/g,''),''!=_0x2e56dc[_0x552898(0x98)]&&''!=_0x2e56dc[_0x552898(0x95)]){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xaa),'content':_0x1ff646(_0x108c08,_0x552898(0x93),['\x22'+_0x2e56dc[_0x552898(0x95)]+'\x22','\x22'+_0x2e56dc[_0x552898(0x98)]+'\x22'])});continue;}if(null!=_0x2e56dc[_0x552898(0x98)][_0x552898(0xdf)](/^ +$/)){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),_0x1ff646(_0x108c08,_0x552898(0xeb),_0x2e56dc[_0x552898(0x98)][_0x552898(0xa8)]))});continue;}if(null!=_0x2e56dc[_0x552898(0x95)][_0x552898(0xdf)](/^ +$/)){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),_0x1ff646(_0x108c08,_0x552898(0xeb),_0x2e56dc[_0x552898(0x95)][_0x552898(0xa8)]))});continue;}if(''!=_0x2e56dc[_0x552898(0x98)]){_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),'\x22'+_0x2e56dc[_0x552898(0x98)]+'\x22')});continue;}_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),'\x22'+_0x2e56dc[_0x552898(0x95)]+'\x22')});continue;case _0x552898(0xd0):case _0x552898(0xe5):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0x94),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0x9c):case _0x552898(0xb6):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xbc),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xe7):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xdd),'content':_0x1ff646(_0x108c08,_0x552898(0xde),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xe3):_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xda),'content':_0x1ff646(_0x108c08,_0x552898(0xee),this[_0x552898(0xcf)](_0x2e56dc[_0x552898(0xa1)],_0x2e56dc[_0x552898(0xaf)]))});continue;case _0x552898(0xf0):_0x33359e[_0x552898(0xac)](_0x2e56dc[_0x552898(0xc7)]);continue;case _0x552898(0xb5):_0x50c77a[_0x552898(0xac)](_0x2e56dc[_0x552898(0xc7)]);continue;default:_0x1aa53c[_0x552898(0xac)](_0x2e56dc);}if(_0x33359e[_0x552898(0xa8)]){const _0x51614f=_0x33359e[_0x552898(0xa9)](_0x1708a0=>this[_0x552898(0x9e)][_0x552898(0xc4)](_0x1708a0)?this[_0x552898(0x9e)][_0x552898(0xc1)](_0x1708a0):_0x1708a0)[_0x552898(0xe8)](',\x20');_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xad),'content':_0x1ff646(this[_0x552898(0xae)],_0x552898(0xea),_0x51614f)});}if(_0x50c77a[_0x552898(0xa8)]){const _0x514568=_0x50c77a[_0x552898(0xa9)](_0x4fa5cd=>this[_0x552898(0x9e)][_0x552898(0xc4)](_0x4fa5cd)?this[_0x552898(0x9e)][_0x552898(0xc1)](_0x4fa5cd):_0x4fa5cd)[_0x552898(0xe8)](',\x20');_0x1aa53c[_0x552898(0xac)]({'type':_0x552898(0xad),'content':_0x1ff646(this[_0x552898(0xae)],_0x552898(0xed),_0x514568)});}return _0x1aa53c;}[_0x5d999e(0xa0)](_0x14a1d5){const _0x413f52=_0x5d999e;for(const _0x1666c9 of this[_0x413f52(0xbb)]){const _0x2c798f=_0x1666c9(_0x14a1d5);if(_0x2c798f&&_0x413f52(0xce)in _0x2c798f)return _0x2c798f;}}[_0x5d999e(0xc5)](_0x3091b7,_0x4ac8b7){const _0x21518b=_0x5d999e,_0x3ee150=_0x4ac8b7[_0x21518b(0xc3)],_0x5a9f7f=void 0x0===_0x3ee150[_0x21518b(0xd6)]?_0x21518b(0xb5):_0x21518b(0xf0);_0x3091b7[_0x21518b(0xac)]({'type':_0x5a9f7f,'key':_0x3ee150[_0x21518b(0xc7)]});}[_0x5d999e(0xd1)](_0x1dc7b4,_0x2d0626){const _0x1495de=_0x5d999e;_0x1dc7b4[_0x1495de(0xac)]({'type':_0x1495de(0xad),'content':_0x1ff646(this[_0x1495de(0xae)],_0x1495de(0xab),this[_0x1495de(0xcf)](_0x2d0626[_0x1495de(0xd4)]()[_0x1495de(0xb1)][_0x1495de(0xc9)],0x1))});}[_0x5d999e(0x97)](_0x49da68,_0x105e03,_0x2052f8){const _0xa4f092=_0x5d999e;if(this[_0xa4f092(0xcb)](_0x49da68,_0x105e03),_0x2052f8&&_0x2052f8[_0xa4f092(0xd4)]()&&!_0x105e03[_0xa4f092(0xd4)]()[_0xa4f092(0xe4)][_0xa4f092(0xd8)](_0x2052f8[_0xa4f092(0xd4)]()[_0xa4f092(0xb1)])){const _0x49de68=_0x49da68[_0x49da68[_0xa4f092(0xa8)]-0x1],_0x32d203=_0xa4f092(0xdd)==_0x105e03[_0xa4f092(0xce)]?_0xa4f092(0x98):_0xa4f092(0x95);_0x49de68&&_0xa4f092(0xa5)==_0x49de68[_0xa4f092(0xce)]&&(_0x49de68[_0x32d203]+='\x0a');}}}
|
|
23
|
+
const _0x375266=_0x46a2;(function(_0x4694fe,_0x1f8bc1){const _0x91cbfe=_0x46a2,_0x1d9c03=_0x4694fe();while(!![]){try{const _0xccc3db=-parseInt(_0x91cbfe(0x188))/0x1+-parseInt(_0x91cbfe(0x192))/0x2+parseInt(_0x91cbfe(0x1a1))/0x3+-parseInt(_0x91cbfe(0x1c1))/0x4+-parseInt(_0x91cbfe(0x1b7))/0x5+parseInt(_0x91cbfe(0x1b0))/0x6+parseInt(_0x91cbfe(0x1d9))/0x7*(parseInt(_0x91cbfe(0x19e))/0x8);if(_0xccc3db===_0x1f8bc1)break;else _0x1d9c03['push'](_0x1d9c03['shift']());}catch(_0x123cd5){_0x1d9c03['push'](_0x1d9c03['shift']());}}}(_0x1fa2,0xd25b2));function _0x46a2(_0x56f7a5,_0x6baae3){const _0x1fa26e=_0x1fa2();return _0x46a2=function(_0x46a2fa,_0x680eaf){_0x46a2fa=_0x46a2fa-0x17c;let _0x35b67c=_0x1fa26e[_0x46a2fa];return _0x35b67c;},_0x46a2(_0x56f7a5,_0x6baae3);}function _0x1fa2(){const _0x40e033=['skip','data','removeObject','getFirstRange','previousSibling','pop','5916664igkKzH','subType','addObject','_locale','elementEnd','match','start','map','length','*Remove\x20format:*\x20%0','quantity','$text','addEmptyContainer','elementStart','removeContainer','normal','addFormat','addContainer','key','REPLACE_TEXT','deletion','_schema','_handleCustomCallbackDescription','insertion','721917acydEv','removeFormat','nodeAfter','push','*Change\x20to:*\x20%0','*Merge:*\x20%0','indexOf','_itemLabelsCallbacks','softBreak','getItemLabel','isInContent','EmptyContainer','name','_attributeLabels','595343bQDZKZ','_customCallbacks','_resolveDescriptionItems','Container','set','attribute','newValue','removeEmptyContainer','text','*Remove:*\x20%0','1858432VEZYBS','*Insert:*\x20%0','matchingCallback','end','*Set\x20format:*\x20%0','get','has','replace','*Split:*\x20%0','isObject','join','_handleRenameSuggestionDescription','208pBtMuU','getDescriptions','_handleInsertRemoveSuggestionDescription','2160753yQDCRr','registerElementLabel','function','$textProxy','isEmpty','isEqual','$1\x20$2','remove','type','registerDescriptionCallback','_addDescriptionItems','element','registerAttributeLabel','_itemLabels','format','7084230LkgGWd','_handleAttributeSuggestionDescription','getWalker','Object','label','nextSibling','item','3585095rGxZdv','checkChild','ELEMENT_SPACE','add'];_0x1fa2=function(){return _0x40e033;};return _0x1fa2();}import{getTranslation as _0x22203f}from'./utils/common-translations.js';import{priorities as _0x270573,insertToPriorityArray as _0x526dde}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x37b328}from'./trackchangesediting.js';export default class f{constructor(_0x328d5a,_0x495b19){const _0x45f1d9=_0x46a2;this[_0x45f1d9(0x189)]=[],this[_0x45f1d9(0x1ae)]=new Map(),this[_0x45f1d9(0x181)]=[],this[_0x45f1d9(0x187)]=new Map(),this[_0x45f1d9(0x1d6)]=_0x328d5a,this[_0x45f1d9(0x1c4)]=_0x495b19;}[_0x375266(0x19f)](_0x513ed3){const _0x32a1ea=_0x375266,_0x90c42=[],_0x4d7ca2=new Set(),_0x3aa933=new Set();for(let _0x2cd0ab=0x0;_0x2cd0ab<_0x513ed3[_0x32a1ea(0x1c9)];_0x2cd0ab++){const _0x571557=_0x513ed3[_0x2cd0ab];if(!_0x571557[_0x32a1ea(0x184)])continue;const _0x5204c5=this[_0x32a1ea(0x1d7)](_0x571557);if(_0x5204c5){if(null!=_0x571557[_0x32a1ea(0x1c2)]){if(_0x4d7ca2[_0x32a1ea(0x198)](_0x571557[_0x32a1ea(0x1c2)]))continue;_0x4d7ca2[_0x32a1ea(0x1ba)](_0x571557[_0x32a1ea(0x1c2)]);}_0x90c42[_0x32a1ea(0x17d)](_0x5204c5);}else{if(_0x32a1ea(0x18d)!=_0x571557[_0x32a1ea(0x1a9)])_0x32a1ea(0x1d8)!=_0x571557[_0x32a1ea(0x1a9)]&&_0x32a1ea(0x1d5)!=_0x571557[_0x32a1ea(0x1a9)]||this[_0x32a1ea(0x1a0)](_0x90c42,_0x571557,_0x513ed3[_0x2cd0ab+0x1]);else{const _0x454868=_0x571557[_0x32a1ea(0x1bc)][_0x32a1ea(0x1d3)];if(_0x3aa933[_0x32a1ea(0x198)](_0x454868))continue;_0x3aa933[_0x32a1ea(0x1ba)](_0x571557[_0x32a1ea(0x1bc)][_0x32a1ea(0x1d3)]),_0x454868==_0x37b328?this[_0x32a1ea(0x19d)](_0x90c42,_0x571557):this[_0x32a1ea(0x1b1)](_0x90c42,_0x571557);}}}return this[_0x32a1ea(0x18a)](_0x90c42);}[_0x375266(0x1aa)](_0x5bcfb6){const _0x2fc700=_0x375266;this[_0x2fc700(0x189)][_0x2fc700(0x17d)](_0x5bcfb6);}[_0x375266(0x1a2)](_0x52d835,_0x3ea00b,_0x58c160=_0x270573[_0x375266(0x1d0)]){const _0xf8a31a=_0x375266;_0xf8a31a(0x1a3)==typeof _0x52d835?_0x526dde(this[_0xf8a31a(0x181)],{'matchingCallback':_0x52d835,'label':_0x3ea00b,'priority':_0x58c160}):this[_0xf8a31a(0x1ae)][_0xf8a31a(0x18c)](_0x52d835,_0x3ea00b);}[_0x375266(0x1ad)](_0x3fb84e,_0x20998c){const _0x1d743a=_0x375266;this[_0x1d743a(0x187)][_0x1d743a(0x18c)](_0x3fb84e,_0x20998c);}[_0x375266(0x183)](_0x5a792b,_0x4ada89=0x1){const _0x81738=_0x375266;let _0x133f14;for(const _0x33df07 of this[_0x81738(0x181)])if(_0x33df07[_0x81738(0x194)](_0x5a792b)){_0x133f14=_0x33df07[_0x81738(0x1b4)];break;}return _0x133f14||(_0x133f14=this[_0x81738(0x1ae)][_0x81738(0x197)](_0x5a792b[_0x81738(0x186)])),_0x133f14?_0x133f14(_0x4ada89):0x1!==_0x4ada89?_0x4ada89+'\x20'+_0x5a792b[_0x81738(0x186)]+'s':''+_0x5a792b[_0x81738(0x186)];}[_0x375266(0x1ab)](_0x1de052,_0xf772c5){const _0x3abf3f=_0x375266,_0x48d7d7=_0xf772c5[_0x3abf3f(0x1be)]()[_0x3abf3f(0x1b2)](),_0xc29c66=_0x3abf3f(0x1d8)==_0xf772c5[_0x3abf3f(0x1a9)]?_0x3abf3f(0x1ba):_0x3abf3f(0x1a8);for(const _0x3882d7 of _0x48d7d7){const _0x3ea0ef=_0x3882d7[_0x3abf3f(0x1b6)],_0x52f988=_0x1de052[_0x1de052[_0x3abf3f(0x1c9)]-0x1];if(_0x3ea0ef['is'](_0x3abf3f(0x1a4)))_0x52f988&&_0x52f988[_0x3abf3f(0x1a9)][_0x3abf3f(0x180)](_0x3abf3f(0x18b))>-0x1&&_0x1de052[_0x3abf3f(0x1c0)](),_0x52f988&&_0x3abf3f(0x190)==_0x52f988[_0x3abf3f(0x1a9)]?_0x52f988[_0xc29c66]+=_0x3ea0ef[_0x3abf3f(0x1bc)]:_0x1de052[_0x3abf3f(0x17d)]({'type':_0x3abf3f(0x190),'add':_0x3abf3f(0x1ba)==_0xc29c66?_0x3ea0ef[_0x3abf3f(0x1bc)]:'','remove':_0x3abf3f(0x1a8)==_0xc29c66?_0x3ea0ef[_0x3abf3f(0x1bc)]:''});else{if(this[_0x3abf3f(0x1d6)][_0x3abf3f(0x19b)](_0x3ea0ef)){const _0x3b74c6=_0x3ea0ef;if(_0x52f988&&_0x52f988[_0x3abf3f(0x1a9)][_0x3abf3f(0x180)](_0x3abf3f(0x18b))>-0x1&&_0x1de052[_0x3abf3f(0x1c0)](),_0x3abf3f(0x1c5)==_0x3882d7[_0x3abf3f(0x1a9)])continue;_0x52f988&&_0x52f988[_0x3abf3f(0x1a9)]==_0xc29c66+_0x3abf3f(0x1b3)&&_0x52f988[_0x3abf3f(0x1ac)][_0x3abf3f(0x186)]==_0x3b74c6[_0x3abf3f(0x186)]?_0x52f988[_0x3abf3f(0x1cb)]++:_0x1de052[_0x3abf3f(0x17d)]({'type':_0xc29c66+_0x3abf3f(0x1b3),'element':_0x3b74c6,'quantity':0x1}),_0x48d7d7[_0x3abf3f(0x1bb)](_0x53ad0a=>!(_0x3abf3f(0x1c5)==_0x53ad0a[_0x3abf3f(0x1a9)]&&_0x53ad0a[_0x3abf3f(0x1b6)]==_0x3ea0ef));}else{if(this[_0x3abf3f(0x1d6)][_0x3abf3f(0x1b8)](_0x3ea0ef,_0x3abf3f(0x1cc))||_0x3ea0ef['is'](_0x3abf3f(0x1ac),_0x3abf3f(0x182))){const _0x13e694=_0x3ea0ef;if(_0x3abf3f(0x1ba)==_0xc29c66&&_0x3abf3f(0x1ce)==_0x3882d7[_0x3abf3f(0x1a9)]||_0x3abf3f(0x1a8)==_0xc29c66&&_0x3abf3f(0x1c5)==_0x3882d7[_0x3abf3f(0x1a9)])continue;if(_0x52f988&&-0x1==_0x52f988[_0x3abf3f(0x1a9)][_0x3abf3f(0x180)](_0x3abf3f(0x18b))){_0x3abf3f(0x190)==_0x52f988[_0x3abf3f(0x1a9)]&&(_0x52f988[_0xc29c66]+='\x0a');continue;}let _0x2c9b42;if(_0x2c9b42=_0x3abf3f(0x1ba)==_0xc29c66?_0x13e694[_0x3abf3f(0x1b5)]&&!this[_0x3abf3f(0x1d6)][_0x3abf3f(0x19b)](_0x13e694[_0x3abf3f(0x1b5)])?_0x13e694[_0x3abf3f(0x1b5)]:null:_0x13e694[_0x3abf3f(0x1bf)]&&!this[_0x3abf3f(0x1d6)][_0x3abf3f(0x19b)](_0x13e694[_0x3abf3f(0x1bf)])?_0x13e694[_0x3abf3f(0x1bf)]:null,_0x13e694[_0x3abf3f(0x1a5)]||_0x2c9b42&&_0x2c9b42[_0x3abf3f(0x1a5)]){const _0x5f2445=_0x2c9b42&&_0x2c9b42[_0x3abf3f(0x1a5)]?_0x2c9b42:_0x13e694;_0x52f988&&_0x52f988[_0x3abf3f(0x1a9)]==_0xc29c66+_0x3abf3f(0x185)&&_0x52f988[_0x3abf3f(0x1ac)][_0x3abf3f(0x186)]==_0x5f2445[_0x3abf3f(0x186)]?_0x52f988[_0x3abf3f(0x1cb)]++:_0x1de052[_0x3abf3f(0x17d)]({'type':_0xc29c66+_0x3abf3f(0x185),'element':_0x5f2445,'quantity':0x1});}else _0x1de052[_0x3abf3f(0x17d)]({'type':_0xc29c66+_0x3abf3f(0x18b),'element':_0x13e694});}}}}}[_0x375266(0x18a)](_0x6adfcb){const _0x5947cd=_0x375266,_0x28b63d=this[_0x5947cd(0x1c4)],_0x299d9e=[],_0x3315c4=[],_0x4d84f8=[];for(const _0x32c500 of _0x6adfcb)switch(_0x32c500[_0x5947cd(0x1a9)]){case _0x5947cd(0x190):if(_0x32c500[_0x5947cd(0x1ba)]=_0x32c500[_0x5947cd(0x1ba)][_0x5947cd(0x199)](/(\S)\u000A+(\S)/g,_0x5947cd(0x1a7))[_0x5947cd(0x199)](/\u000A/g,''),_0x32c500[_0x5947cd(0x1a8)]=_0x32c500[_0x5947cd(0x1a8)][_0x5947cd(0x199)](/(\S)\u000A+(\S)/g,_0x5947cd(0x1a7))[_0x5947cd(0x199)](/\u000A/g,''),''!=_0x32c500[_0x5947cd(0x1ba)]&&''!=_0x32c500[_0x5947cd(0x1a8)]){_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x199),'content':_0x22203f(_0x28b63d,_0x5947cd(0x1d4),['\x22'+_0x32c500[_0x5947cd(0x1a8)]+'\x22','\x22'+_0x32c500[_0x5947cd(0x1ba)]+'\x22'])});continue;}if(null!=_0x32c500[_0x5947cd(0x1ba)][_0x5947cd(0x1c6)](/^ +$/)){_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d8),'content':_0x22203f(_0x28b63d,_0x5947cd(0x193),_0x22203f(_0x28b63d,_0x5947cd(0x1b9),_0x32c500[_0x5947cd(0x1ba)][_0x5947cd(0x1c9)]))});continue;}if(null!=_0x32c500[_0x5947cd(0x1a8)][_0x5947cd(0x1c6)](/^ +$/)){_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d5),'content':_0x22203f(_0x28b63d,_0x5947cd(0x191),_0x22203f(_0x28b63d,_0x5947cd(0x1b9),_0x32c500[_0x5947cd(0x1a8)][_0x5947cd(0x1c9)]))});continue;}if(''!=_0x32c500[_0x5947cd(0x1ba)]){_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d8),'content':_0x22203f(_0x28b63d,_0x5947cd(0x193),'\x22'+_0x32c500[_0x5947cd(0x1ba)]+'\x22')});continue;}_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d5),'content':_0x22203f(_0x28b63d,_0x5947cd(0x191),'\x22'+_0x32c500[_0x5947cd(0x1a8)]+'\x22')});continue;case _0x5947cd(0x1cd):case _0x5947cd(0x1c3):_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d8),'content':_0x22203f(_0x28b63d,_0x5947cd(0x193),this[_0x5947cd(0x183)](_0x32c500[_0x5947cd(0x1ac)],_0x32c500[_0x5947cd(0x1cb)]))});continue;case _0x5947cd(0x18f):case _0x5947cd(0x1bd):_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d5),'content':_0x22203f(_0x28b63d,_0x5947cd(0x191),this[_0x5947cd(0x183)](_0x32c500[_0x5947cd(0x1ac)],_0x32c500[_0x5947cd(0x1cb)]))});continue;case _0x5947cd(0x1d2):_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d8),'content':_0x22203f(_0x28b63d,_0x5947cd(0x19a),this[_0x5947cd(0x183)](_0x32c500[_0x5947cd(0x1ac)],_0x32c500[_0x5947cd(0x1cb)]))});continue;case _0x5947cd(0x1cf):_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1d5),'content':_0x22203f(_0x28b63d,_0x5947cd(0x17f),this[_0x5947cd(0x183)](_0x32c500[_0x5947cd(0x1ac)],_0x32c500[_0x5947cd(0x1cb)]))});continue;case _0x5947cd(0x1d1):_0x3315c4[_0x5947cd(0x17d)](_0x32c500[_0x5947cd(0x1d3)]);continue;case _0x5947cd(0x1da):_0x4d84f8[_0x5947cd(0x17d)](_0x32c500[_0x5947cd(0x1d3)]);continue;default:_0x299d9e[_0x5947cd(0x17d)](_0x32c500);}if(_0x3315c4[_0x5947cd(0x1c9)]){const _0x46a277=_0x3315c4[_0x5947cd(0x1c8)](_0x7f2593=>this[_0x5947cd(0x187)][_0x5947cd(0x198)](_0x7f2593)?this[_0x5947cd(0x187)][_0x5947cd(0x197)](_0x7f2593):_0x7f2593)[_0x5947cd(0x19c)](',\x20');_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1af),'content':_0x22203f(this[_0x5947cd(0x1c4)],_0x5947cd(0x196),_0x46a277)});}if(_0x4d84f8[_0x5947cd(0x1c9)]){const _0x141669=_0x4d84f8[_0x5947cd(0x1c8)](_0x389f3d=>this[_0x5947cd(0x187)][_0x5947cd(0x198)](_0x389f3d)?this[_0x5947cd(0x187)][_0x5947cd(0x197)](_0x389f3d):_0x389f3d)[_0x5947cd(0x19c)](',\x20');_0x299d9e[_0x5947cd(0x17d)]({'type':_0x5947cd(0x1af),'content':_0x22203f(this[_0x5947cd(0x1c4)],_0x5947cd(0x1ca),_0x141669)});}return _0x299d9e;}[_0x375266(0x1d7)](_0x2e6f0e){const _0x3b4911=_0x375266;for(const _0x28f649 of this[_0x3b4911(0x189)]){const _0x480d53=_0x28f649(_0x2e6f0e);if(_0x480d53&&_0x3b4911(0x1a9)in _0x480d53)return _0x480d53;}}[_0x375266(0x1b1)](_0x14eeff,_0x31e5f0){const _0x374ff5=_0x375266,_0x32ebee=_0x31e5f0[_0x374ff5(0x1bc)],_0x2591bd=void 0x0===_0x32ebee[_0x374ff5(0x18e)]?_0x374ff5(0x1da):_0x374ff5(0x1d1);_0x14eeff[_0x374ff5(0x17d)]({'type':_0x2591bd,'key':_0x32ebee[_0x374ff5(0x1d3)]});}[_0x375266(0x19d)](_0x3c2daf,_0x5a08ee){const _0x353985=_0x375266;_0x3c2daf[_0x353985(0x17d)]({'type':_0x353985(0x1af),'content':_0x22203f(this[_0x353985(0x1c4)],_0x353985(0x17e),this[_0x353985(0x183)](_0x5a08ee[_0x353985(0x1be)]()[_0x353985(0x1c7)][_0x353985(0x17c)],0x1))});}[_0x375266(0x1a0)](_0x294371,_0x59cdc2,_0x170fda){const _0x2926ab=_0x375266;if(this[_0x2926ab(0x1ab)](_0x294371,_0x59cdc2),_0x170fda&&_0x170fda[_0x2926ab(0x1be)]()&&!_0x59cdc2[_0x2926ab(0x1be)]()[_0x2926ab(0x195)][_0x2926ab(0x1a6)](_0x170fda[_0x2926ab(0x1be)]()[_0x2926ab(0x1c7)])){const _0x527f6d=_0x294371[_0x294371[_0x2926ab(0x1c9)]-0x1],_0x3cacf8=_0x2926ab(0x1d8)==_0x59cdc2[_0x2926ab(0x1a9)]?_0x2926ab(0x1ba):_0x2926ab(0x1a8);_0x527f6d&&_0x2926ab(0x190)==_0x527f6d[_0x2926ab(0x1a9)]&&(_0x527f6d[_0x3cacf8]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5511e0=_0x197f;function _0x197f(_0x31783b,_0x40a420){var _0x4d41e2=_0x4d41();return _0x197f=function(_0x197f6d,_0x3a017a){_0x197f6d=_0x197f6d-0xa2;var _0x3c418d=_0x4d41e2[_0x197f6d];return _0x3c418d;},_0x197f(_0x31783b,_0x40a420);}(function(_0x4c7325,_0x178706){var _0x3d8966=_0x197f,_0xfc674c=_0x4c7325();while(!![]){try{var _0x11dd28=parseInt(_0x3d8966(0xac))/0x1+-parseInt(_0x3d8966(0xb2))/0x2+-parseInt(_0x3d8966(0xaf))/0x3*(parseInt(_0x3d8966(0xab))/0x4)+parseInt(_0x3d8966(0xb4))/0x5+-parseInt(_0x3d8966(0xa3))/0x6*(-parseInt(_0x3d8966(0xb0))/0x7)+parseInt(_0x3d8966(0xa7))/0x8+-parseInt(_0x3d8966(0xb6))/0x9;if(_0x11dd28===_0x178706)break;else _0xfc674c['push'](_0xfc674c['shift']());}catch(_0x5c200a){_0xfc674c['push'](_0xfc674c['shift']());}}}(_0x4d41,0x7694a));import{Plugin as _0x2bc895}from'ckeditor5/src/core.js';import _0xe0e71b from'./trackchangesui.js';import _0x5d415e from'./trackchangesediting.js';function _0x4d41(){var _0x222339=['Comments','getSuggestions','TrackChanges','7022024dDdBBW','addSuggestionData','addSuggestion','get','16CvgnAH','486673YPWyFR','requires','plugins','650706CfMHQt','547869JzvcrQ','getSuggestion','171162zVYHjx','editor','344120oNXfMa','adapter','4880016JxFqmG','pluginName','42iOBlyT'];_0x4d41=function(){return _0x222339;};return _0x4d41();}import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x2bc895{static get[_0x5511e0(0xad)](){var _0x28ebfd=_0x5511e0;return[_0x5d415e,_0xe0e71b,_0x28ebfd(0xa4)];}static get[_0x5511e0(0xa2)](){var _0x1244e2=_0x5511e0;return _0x1244e2(0xa6);}set[_0x5511e0(0xb5)](_0x40f276){var _0xeabf20=_0x5511e0;this[_0xeabf20(0xb3)][_0xeabf20(0xae)][_0xeabf20(0xaa)](_0x5d415e)[_0xeabf20(0xb5)]=_0x40f276;}get[_0x5511e0(0xb5)](){var _0x13e8f0=_0x5511e0;return this[_0x13e8f0(0xb3)][_0x13e8f0(0xae)][_0x13e8f0(0xaa)](_0x5d415e)[_0x13e8f0(0xb5)];}[_0x5511e0(0xa9)](_0x48ba93){var _0x1bf6a=_0x5511e0;return this[_0x1bf6a(0xb3)][_0x1bf6a(0xae)][_0x1bf6a(0xaa)](_0x5d415e)[_0x1bf6a(0xa8)](_0x48ba93);}[_0x5511e0(0xa5)]({skipNotAttached:_0x362ab2=!0x1,toJSON:_0x40a4b2=!0x1}={}){var _0x226377=_0x5511e0;return this[_0x226377(0xb3)][_0x226377(0xae)][_0x226377(0xaa)](_0x5d415e)[_0x226377(0xa5)]({'skipNotAttached':_0x362ab2,'toJSON':_0x40a4b2});}[_0x5511e0(0xb1)](_0x7e6bd2){var _0x49ba83=_0x5511e0;return this[_0x49ba83(0xb3)][_0x49ba83(0xae)][_0x49ba83(0xaa)](_0x5d415e)[_0x49ba83(0xb1)](_0x7e6bd2);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a3b35=_0x1f06;(function(_0x46df49,_0x3d1a1c){const _0x75556b=_0x1f06,_0x168ede=_0x46df49();while(!![]){try{const _0x44b4c4=-parseInt(_0x75556b(0xcf))/0x1+-parseInt(_0x75556b(0x102))/0x2+parseInt(_0x75556b(0xd0))/0x3*(parseInt(_0x75556b(0xcd))/0x4)+-parseInt(_0x75556b(0xf6))/0x5*(-parseInt(_0x75556b(0xf4))/0x6)+-parseInt(_0x75556b(0xca))/0x7+parseInt(_0x75556b(0xd7))/0x8+-parseInt(_0x75556b(0xe6))/0x9*(-parseInt(_0x75556b(0xe4))/0xa);if(_0x44b4c4===_0x3d1a1c)break;else _0x168ede['push'](_0x168ede['shift']());}catch(_0x1853c3){_0x168ede['push'](_0x168ede['shift']());}}}(_0x591c,0x8363a));import{Plugin as _0x2fc2bb}from'ckeditor5/src/core.js';import{CKEditorError as _0x354ce0}from'ckeditor5/src/utils.js';function _0x1f06(_0x2a93ca,_0x4c57ab){const _0x591c65=_0x591c();return _0x1f06=function(_0x1f067c,_0x3abafe){_0x1f067c=_0x1f067c-0xc9;let _0x235328=_0x591c65[_0x1f067c];return _0x235328;},_0x1f06(_0x2a93ca,_0x4c57ab);}import _0x4cb2e9 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x25f2c5}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x2a3b35(0x101)];export default class P extends _0x2fc2bb{static get[_0x2a3b35(0xdf)](){return[_0x4cb2e9];}static get[_0x2a3b35(0x106)](){const _0xa334dc=_0x2a3b35;return _0xa334dc(0xd5);}[_0x2a3b35(0xec)](){const _0xbe3640=_0x2a3b35,_0x439be0=this[_0xbe3640(0xcb)];if(_0x439be0[_0xbe3640(0x108)][_0xbe3640(0xe7)](_0xbe3640(0xfa),_0x1dbc8e=>{const _0x29ea69=_0xbe3640,_0x4d9180=_0x439be0[_0x29ea69(0xef)][_0x29ea69(0xe2)][_0x29ea69(0xf0)]()[_0x29ea69(0xf9)]((_0x5d42f0,_0x4bda4a)=>(_0x5d42f0[_0x4bda4a]='',_0x5d42f0),{});return _0x439be0[_0x29ea69(0xfb)][_0x29ea69(0xfd)](_0x4d9180,_0x1dbc8e);}),_0xbe3640(0xea)!=typeof _0x439be0[_0xbe3640(0x108)][_0xbe3640(0xf7)](_0xbe3640(0xd9))[_0xbe3640(0xe3)])throw new _0x354ce0(_0xbe3640(0xe5));}[_0x2a3b35(0xe9)](_0x59ce45){const _0x2f6204=_0x2a3b35;return N(this[_0x2f6204(0xcb)],!0x0,_0x59ce45);}[_0x2a3b35(0xd1)](_0x1a8b0c){const _0x4c57a5=_0x2a3b35;return N(this[_0x4c57a5(0xcb)],!0x1,_0x1a8b0c);}}class D extends _0x2fc2bb{static get[_0x2a3b35(0x106)](){const _0x44ac1b=_0x2a3b35;return _0x44ac1b(0xfe);}constructor(_0x37e399){const _0x2fb8ef=_0x2a3b35;super(_0x37e399),this[_0x2fb8ef(0xe1)]=_0x2fb8ef(0xe8);}[_0x2a3b35(0xec)](){const _0x484f97=_0x2a3b35;this[_0x484f97(0xcb)][_0x484f97(0xf8)][_0x484f97(0xf7)](_0x484f97(0xf1))[_0x484f97(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[_0x484f97(0xcb)][_0x484f97(0xf8)][_0x484f97(0xf7)](_0x484f97(0x107))[_0x484f97(0xd6)]=null;}}function v(_0x569914){const _0x330f53=_0x2a3b35;return void 0x0!==_0x569914[_0x330f53(0xd4)];}async function N(_0xf0a37b,_0x403ffd,_0x10e8a1){const _0x2130ac=_0x2a3b35,_0x391dc8=_0x25f2c5(_0xf0a37b,T);_0x391dc8[_0x2130ac(0xf8)][_0x2130ac(0xff)](_0x4cb2e9,D),_0x391dc8[_0x2130ac(0xf5)]=v(_0xf0a37b)?_0xf0a37b[_0x2130ac(0xd4)]():void 0x0;const _0x18b9e0=document[_0x2130ac(0x104)](),_0x64c98a=_0xf0a37b[_0x2130ac(0x108)][_0x2130ac(0xf7)](_0x2130ac(0xd9))[_0x2130ac(0xe3)],_0x8670eb=await _0x64c98a(_0x391dc8,()=>function(_0x5447bf){const _0x7304f6=_0x2130ac,_0x568638=document[_0x7304f6(0xd2)](_0x7304f6(0xf2));return _0x5447bf[_0x7304f6(0xfc)](_0x568638),_0x568638;}(_0x18b9e0));!function(_0x1cbd39,_0x1f812c){const _0x42abdc=_0x2130ac,_0xe7dd35=_0x1cbd39[_0x42abdc(0xef)][_0x42abdc(0xe2)][_0x42abdc(0xf0)]()[_0x42abdc(0xf9)]((_0x964405,_0x5d339c)=>(_0x964405[_0x5d339c]=_0x1cbd39[_0x42abdc(0xee)][_0x42abdc(0xf7)]({'rootName':_0x5d339c}),_0x964405),{}),_0x2983e5=_0x1cbd39[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0xd8))[_0x42abdc(0xd3)][_0x42abdc(0xcc)](_0x214067=>({'id':_0x214067['id'],'name':_0x214067[_0x42abdc(0xdd)]})),_0x2fa131=_0x1cbd39[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0x107))[_0x42abdc(0x105)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4b84cb=_0x1cbd39[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0xf1))[_0x42abdc(0x100)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3e514b=_0x1f812c[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0xd8)),_0x171f88=_0x1f812c[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0x107)),_0x47a57f=_0x1f812c[_0x42abdc(0xf8)][_0x42abdc(0xf7)](_0x42abdc(0xf1));for(const _0x4e4de1 of _0x2983e5)_0x3e514b[_0x42abdc(0xc9)](_0x4e4de1['id'])||_0x3e514b[_0x42abdc(0xeb)](_0x4e4de1);_0x3e514b['me']||_0x3e514b[_0x42abdc(0x103)]();for(const _0x162545 of _0x4b84cb)_0x47a57f[_0x42abdc(0xde)](_0x162545);for(const _0x405422 of _0x2fa131)_0x171f88[_0x42abdc(0xda)](_0x405422);_0x1f812c[_0x42abdc(0xee)][_0x42abdc(0xf3)](_0xe7dd35);}(_0xf0a37b,_0x8670eb),_0x8670eb[_0x2130ac(0xce)](_0x403ffd?_0x2130ac(0xdb):_0x2130ac(0xed));const _0x281930=v(_0x8670eb)?_0x8670eb[_0x2130ac(0xdc)](_0x10e8a1):_0x8670eb[_0x2130ac(0xee)][_0x2130ac(0xf7)](_0x10e8a1);return await _0x8670eb[_0x2130ac(0xe0)](),_0x281930;}function _0x591c(){const _0xf7782e=['requires','destroy','result','document','editorCreator','8870bOaHJi','track-changes-data-invalid-editor-creator','13383HddFpA','define','end','getDataWithAcceptedSuggestions','function','addUser','init','discardAllSuggestions','data','model','getRootNames','CommentsRepository','div','set','256842jiHQNe','rootsAttributes','45SQRgIO','get','plugins','reduce','trackChangesData.editorCreator','constructor','appendChild','create','TrackChangesDataGetter','push','getCommentThreads','Pagination','871410ILRtDL','useAnonymousUser','createDocumentFragment','getSuggestions','pluginName','TrackChangesEditing','config','getUser','7508508vCpxfp','editor','map','12WLbWGV','execute','484840AwwEPk','666867bpHwyN','getDataWithDiscardedSuggestions','createElement','users','getRootsAttributes','TrackChangesData','_adapter','1282080FiNcUo','Users','trackChangesData','addSuggestionData','acceptAllSuggestions','getFullData','name','addCommentThread'];_0x591c=function(){return _0xf7782e;};return _0x591c();}
|