@ckeditor/ckeditor5-track-changes 43.0.0-alpha.4 → 43.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/trackchangesconfig.d.ts +7 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/suggestioncontroller.d.ts +1 -1
- package/dist/ui/view/basesuggestionthreadview.d.ts +8 -2
- package/dist/ui/view/suggestionthreadview.d.ts +42 -137
- package/dist/ui/view/suggestionview.d.ts +194 -0
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +7 -0
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +8 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +42 -137
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.d.ts +190 -0
- package/src/ui/view/suggestionview.js +23 -0
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c7d7d=_0x1808;(function(_0x3c9d1c,_0x57f9a3){const _0x3cf2c2=_0x1808,_0x5b5443=_0x3c9d1c();while(!![]){try{const _0x25e5b1=-parseInt(_0x3cf2c2(0xbc))/0x1*(parseInt(_0x3cf2c2(0xb0))/0x2)+-parseInt(_0x3cf2c2(0xd2))/0x3*(-parseInt(_0x3cf2c2(0xa5))/0x4)+parseInt(_0x3cf2c2(0xae))/0x5*(-parseInt(_0x3cf2c2(0x83))/0x6)+-parseInt(_0x3cf2c2(0xa3))/0x7+-parseInt(_0x3cf2c2(0xd0))/0x8+parseInt(_0x3cf2c2(0x93))/0x9+parseInt(_0x3cf2c2(0xb8))/0xa;if(_0x25e5b1===_0x57f9a3)break;else _0x5b5443['push'](_0x5b5443['shift']());}catch(_0x15ba13){_0x5b5443['push'](_0x5b5443['shift']());}}}(_0x4c9b,0x98064));function _0x1808(_0x2ef3a7,_0x5080eb){const _0x4c9b29=_0x4c9b();return _0x1808=function(_0x180891,_0x5e7c24){_0x180891=_0x180891-0x81;let _0x302e4f=_0x4c9b29[_0x180891];return _0x302e4f;},_0x1808(_0x2ef3a7,_0x5080eb);}import{Plugin as _0x5eaeb0}from'ckeditor5/src/core.js';function _0x4c9b(){const _0x5d2932=['966789GhezsU','model','formatBlock','_acceptFormatSuggestionCallbackFactory','containsRange','fromRange','findAncestor','TrackChangesEditing','cell','editor','forceDefaultExecution','rootName','_isForcedDefaultExecutionBlock','mergeTableCellUp','splitTableCellVertically','_tablePostFixingSubtypes','2536730NYTBIT','refresh','212xCyHcc','splitTableCellHorizontally','$graveyard','return','filter','setSelection','map','table','_areMergableCells','5IzgoSO','_areSelectedCellsMergable','2ZTKdNT','isInContent','from','execute','getSuggestions','commandName','subType','tableCell','13164530YyixEM','TableEditing','stop','detach','51066KaeWZe','markMultiRangeBlockFormat','mergeTableCellLeft','descriptionFactory','set:isEnabled','format','root','type','mergeTableCells','*Merge\x20cells*','accept','locale','deletion','length','author','mergeTableCellRight','createRangeOn','size','commands','requires','5230584OZjzsm','*Split\x20cell:*\x20horizontally','18426rOGzyL','element','insertion','getCellLocation','highest','has','trackChanges','change','horizontally','afterInit','_suggestionFactory','selection','*Split\x20cell:*\x20vertically','add','push','markBlockFormat','getAncestors','isEnabled','value','document','356574FkUJli','plugins','getSelectionAffectedTableCells','registerCustomCallback','get','getFirstPosition','createTableWalker','mergeTableCellDown','find','getRanges','formatInline','enableCommand','TableUtils','registerDescriptionCallback','direction','low'];_0x4c9b=function(){return _0x5d2932;};return _0x4c9b();}import _0x267be6 from'./table.js';import{LiveRange as _0x2efae3}from'ckeditor5/src/engine.js';import{getTranslation as _0x1434a6}from'../utils/common-translations.js';export default class vt extends _0x5eaeb0{static get[_0x1c7d7d(0xcf)](){return[_0x267be6];}[_0x1c7d7d(0xdb)](){const _0x360d12=_0x1c7d7d,_0x20a521=this[_0x360d12(0x9c)],_0x164227=_0x20a521[_0x360d12(0x94)][_0x360d12(0x82)][_0x360d12(0xdd)],_0x4acffd=_0x20a521[_0x360d12(0xc7)];if(!_0x20a521[_0x360d12(0x84)][_0x360d12(0xd7)](_0x360d12(0xb9)))return;const _0x1b24ee=_0x20a521[_0x360d12(0x84)][_0x360d12(0x87)](_0x360d12(0x9a)),_0x289d65=_0x20a521[_0x360d12(0x84)][_0x360d12(0x87)](_0x360d12(0x8f)),_0x37f940=_0x20a521[_0x360d12(0x84)][_0x360d12(0x87)](_0x267be6);_0x37f940[_0x360d12(0xa2)][_0x360d12(0xe0)](_0x360d12(0xc4)),_0x1b24ee[_0x360d12(0x8e)](_0x360d12(0xc4),()=>{const _0x1f7fee=_0x360d12,_0x2e73c8=_0x289d65[_0x1f7fee(0x85)](_0x20a521[_0x1f7fee(0x94)][_0x1f7fee(0x82)][_0x1f7fee(0xdd)]);_0x20a521[_0x1f7fee(0x94)][_0x1f7fee(0xd9)](()=>{const _0x2f3f46=_0x1f7fee;_0x1b24ee[_0x2f3f46(0xbd)](_0x2e73c8,{'commandName':_0x2f3f46(0xc4),'commandParams':[]},[],_0x2f3f46(0xc4));});}),_0x20a521[_0x360d12(0xce)][_0x360d12(0x87)](_0x360d12(0xc4))['on'](_0x360d12(0xb3),(_0x4e3832,_0x3ff9ce)=>{const _0x23e842=_0x360d12;_0x20a521[_0x23e842(0xce)][_0x23e842(0x87)](_0x23e842(0xd8))[_0x23e842(0x81)]&&(_0x3ff9ce[_0x23e842(0xc9)]>0x0&&_0x3ff9ce[_0x3ff9ce[_0x23e842(0xc9)]-0x1]&&_0x3ff9ce[_0x3ff9ce[_0x23e842(0xc9)]-0x1][_0x23e842(0x9d)]||_0x1b24ee[_0x23e842(0x9f)]||this[_0x23e842(0xaf)]()||_0x4e3832[_0x23e842(0xba)]());},{'priority':_0x360d12(0xd6)});for(const _0xcf37cc of[_0x360d12(0xa0),_0x360d12(0xcb),_0x360d12(0x8a),_0x360d12(0xbe)]){const _0x7332e7=_0x20a521[_0x360d12(0xce)][_0x360d12(0x87)](_0xcf37cc);_0x1b24ee[_0x360d12(0x8e)](_0xcf37cc,()=>{const _0x372ff6=_0x360d12,_0x4028c3=_0x20a521[_0x372ff6(0x94)][_0x372ff6(0x82)][_0x372ff6(0xdd)][_0x372ff6(0x88)]()[_0x372ff6(0xe2)]()[_0x372ff6(0x8b)](_0x575ad6=>_0x575ad6['is'](_0x372ff6(0xd3),_0x372ff6(0xb7))),_0x211f58=_0x7332e7[_0x372ff6(0x81)];_0x20a521[_0x372ff6(0x94)][_0x372ff6(0xd9)](()=>{const _0x4bad88=_0x372ff6;_0x1b24ee[_0x4bad88(0xbd)]([_0x4028c3,_0x211f58],{'commandName':_0x4bad88(0xc4),'commandParams':[]},[],_0x4bad88(0xc4));});});}for(const _0x134e37 of[_0x360d12(0xa1),_0x360d12(0xa6)]){const _0xc0199b=_0x20a521[_0x360d12(0xce)][_0x360d12(0x87)](_0x134e37);_0x1b24ee[_0x360d12(0x8e)](_0x134e37,()=>{const _0x2179b4=_0x360d12,_0x2ac0bf=_0x289d65[_0x2179b4(0x85)](_0x20a521[_0x2179b4(0x94)][_0x2179b4(0x82)][_0x2179b4(0xdd)])[0x0],_0x1cc9cb=_0x2ac0bf[_0x2179b4(0x99)](_0x2179b4(0xac)),{column:_0x19543f,row:_0x290b28}=_0x289d65[_0x2179b4(0xd5)](_0x2ac0bf);let _0x3f52ae=[];if(_0x2179b4(0xda)==_0xc0199b[_0x2179b4(0x91)]){const _0xe132b0=_0x289d65[_0x2179b4(0x89)](_0x1cc9cb,{'startRow':_0x290b28,'endRow':_0x290b28,'includeAllSlots':!0x0});_0x3f52ae=Array[_0x2179b4(0xb2)](_0xe132b0)[_0x2179b4(0xab)](_0x3ad981=>_0x3ad981[_0x2179b4(0x9b)]);}else{const _0x1184ba=_0x289d65[_0x2179b4(0x89)](_0x1cc9cb,{'column':_0x19543f,'includeAllSlots':!0x0});_0x3f52ae=Array[_0x2179b4(0xb2)](_0x1184ba)[_0x2179b4(0xab)](_0x525395=>_0x525395[_0x2179b4(0x9b)]);}_0x20a521[_0x2179b4(0x94)][_0x2179b4(0xd9)](_0x4e965f=>{const _0x296995=_0x2179b4;_0x1b24ee[_0x296995(0xe1)](_0x4e965f[_0x296995(0xcc)](_0x2ac0bf),{'commandName':_0x134e37,'commandParams':[]},_0x3f52ae,_0x134e37);});});}_0x1b24ee[_0x360d12(0xbf)][_0x360d12(0x90)](_0x5ad759=>{const _0x2bc4e2=_0x360d12;if(_0x2bc4e2(0x95)!=_0x5ad759[_0x2bc4e2(0xc3)]&&_0x2bc4e2(0x8d)!=_0x5ad759[_0x2bc4e2(0xc3)])return;const {data:_0x7d85b1}=_0x5ad759;return _0x7d85b1&&_0x2bc4e2(0xc4)==_0x7d85b1[_0x2bc4e2(0xb5)]?{'type':_0x2bc4e2(0xc1),'content':_0x1434a6(_0x4acffd,_0x2bc4e2(0xc5))}:void 0x0;}),_0x1b24ee[_0x360d12(0xbf)][_0x360d12(0x90)](_0x3a67f4=>{const _0x29faff=_0x360d12;if(_0x29faff(0x95)!=_0x3a67f4[_0x29faff(0xc3)]&&_0x29faff(0x8d)!=_0x3a67f4[_0x29faff(0xc3)])return;const {data:_0x286bd4}=_0x3a67f4;return _0x286bd4?_0x29faff(0xa1)==_0x286bd4[_0x29faff(0xb5)]?{'type':_0x29faff(0xc1),'content':_0x1434a6(_0x4acffd,_0x29faff(0xde))}:_0x29faff(0xa6)==_0x286bd4[_0x29faff(0xb5)]?{'type':_0x29faff(0xc1),'content':_0x1434a6(_0x4acffd,_0x29faff(0xd1))}:void 0x0:void 0x0;});const _0x10c6f1=_0x37f940[_0x360d12(0x96)]();for(const _0x54c21f of[_0x360d12(0xa0),_0x360d12(0xcb),_0x360d12(0x8a),_0x360d12(0xbe)])_0x1b24ee[_0x360d12(0xdc)][_0x360d12(0x86)](_0x360d12(0x95),_0x54c21f,_0x360d12(0xc6),_0x10c6f1);for(const _0x2d23c3 of[_0x360d12(0xa1),_0x360d12(0xa6)])_0x1b24ee[_0x360d12(0xdc)][_0x360d12(0x86)](_0x360d12(0x95),_0x2d23c3,_0x360d12(0xc6),_0x10c6f1);_0x1b24ee[_0x360d12(0xdc)][_0x360d12(0x86)](_0x360d12(0x95),_0x360d12(0xc4),_0x360d12(0xc6),_0x486e45=>{const _0x3550bb=_0x360d12;_0x20a521[_0x3550bb(0x94)][_0x3550bb(0xd9)](_0x2c11b6=>{const _0x469fbe=_0x3550bb,_0x38429a=Array[_0x469fbe(0xb2)](_0x164227[_0x469fbe(0x8c)]())[_0x469fbe(0xab)](_0xa728d6=>_0x2efae3[_0x469fbe(0x98)](_0xa728d6));_0x2c11b6[_0x469fbe(0xaa)](_0x486e45),_0x20a521[_0x469fbe(0xce)][_0x469fbe(0x87)](_0x469fbe(0xc4))[_0x469fbe(0xa4)](),_0x20a521[_0x469fbe(0xb3)](_0x469fbe(0xc4),{'forceDefaultExecution':!0x0});const _0x3e207f=_0x38429a[_0x469fbe(0xa9)](_0x441af4=>_0x469fbe(0xa7)!=_0x441af4[_0x469fbe(0xc2)][_0x469fbe(0x9e)]);_0x3e207f[_0x469fbe(0xc9)]>0x0&&_0x2c11b6[_0x469fbe(0xaa)](_0x3e207f);for(const _0x389d77 of _0x38429a)_0x389d77[_0x469fbe(0xbb)]();});});for(const _0x33d0de of[_0x360d12(0xa0),_0x360d12(0x8a),_0x360d12(0xbe),_0x360d12(0xcb)]){const _0x2b4355=_0x20a521[_0x360d12(0xce)][_0x360d12(0x87)](_0x33d0de);_0x2b4355['on'](_0x360d12(0xc0),(_0x22ce20,_0x17d633,_0xff52d8)=>{const _0x8f92b8=_0x360d12;if(_0xff52d8){const _0x9f7820=_0x20a521[_0x8f92b8(0x94)][_0x8f92b8(0x82)][_0x8f92b8(0xdd)][_0x8f92b8(0x88)]()[_0x8f92b8(0xe2)]()[_0x8f92b8(0x8b)](_0x2f4d99=>_0x2f4d99['is'](_0x8f92b8(0xd3),_0x8f92b8(0xb7)));this[_0x8f92b8(0xad)](_0x2b4355[_0x8f92b8(0x81)],_0x9f7820)||(_0x22ce20[_0x8f92b8(0xa8)]=!0x1,_0x22ce20[_0x8f92b8(0xba)]());}},{'priority':_0x360d12(0x92)});}}[_0x1c7d7d(0xaf)](){const _0x3c9375=_0x1c7d7d,_0x1a1b92=this[_0x3c9375(0x9c)][_0x3c9375(0xce)][_0x3c9375(0x87)](_0x3c9375(0xc4)),_0x577e58=this[_0x3c9375(0x9c)][_0x3c9375(0x84)][_0x3c9375(0x87)](_0x3c9375(0x8f));if(!_0x1a1b92[_0x3c9375(0xe3)])return!0x1;const _0x4220f1=_0x577e58[_0x3c9375(0x85)](this[_0x3c9375(0x9c)][_0x3c9375(0x94)][_0x3c9375(0x82)][_0x3c9375(0xdd)]);for(const _0x39da87 of _0x4220f1)for(const _0x16e30d of _0x4220f1)if(_0x39da87!=_0x16e30d&&!this[_0x3c9375(0xad)](_0x39da87,_0x16e30d))return!0x1;return!0x0;}[_0x1c7d7d(0xad)](_0x188fde,_0x1ca0c4){const _0xa9dc71=_0x1c7d7d,_0x102ff7=this[_0xa9dc71(0x9c)][_0xa9dc71(0x84)][_0xa9dc71(0x87)](_0xa9dc71(0x9a)),_0xf96a7d=this[_0xa9dc71(0x9c)][_0xa9dc71(0x94)][_0xa9dc71(0xcc)](_0x188fde),_0x36a6e6=this[_0xa9dc71(0x9c)][_0xa9dc71(0x94)][_0xa9dc71(0xcc)](_0x1ca0c4),_0x368339=new Set(),_0x3569e8=new Set();for(const _0x5bbdbd of _0x102ff7[_0xa9dc71(0xb4)]())if((_0xa9dc71(0xd4)==_0x5bbdbd[_0xa9dc71(0xc3)]||_0xa9dc71(0xc8)==_0x5bbdbd[_0xa9dc71(0xc3)]||_0xa9dc71(0xc4)==_0x5bbdbd[_0xa9dc71(0xb6)])&&_0x5bbdbd[_0xa9dc71(0xb1)]){for(const _0x54a557 of _0x5bbdbd[_0xa9dc71(0x8c)]())_0x54a557[_0xa9dc71(0x97)](_0xf96a7d,!0x0)&&_0x368339[_0xa9dc71(0xdf)](_0x5bbdbd[_0xa9dc71(0xc3)]+':'+_0x5bbdbd[_0xa9dc71(0xca)]['id']),_0x54a557[_0xa9dc71(0x97)](_0x36a6e6,!0x0)&&_0x3569e8[_0xa9dc71(0xdf)](_0x5bbdbd[_0xa9dc71(0xc3)]+':'+_0x5bbdbd[_0xa9dc71(0xca)]['id']);}if(_0x368339[_0xa9dc71(0xcd)]!=_0x3569e8[_0xa9dc71(0xcd)])return!0x1;for(const _0x3764a4 of _0x368339)if(!_0x3569e8[_0xa9dc71(0xd7)](_0x3764a4))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4194(){const _0x3f2641=['add','format','*Merge\x20cells*','registerCustomCallback','getAncestors','findAncestor','isInContent','from','_areMergableCells','15589008JWgKyS','TrackChangesEditing','mergeTableCellRight','*Split\x20cell:*\x20horizontally','enableCommand','commands','_isForcedDefaultExecutionBlock','splitTableCellHorizontally','getSelectionAffectedTableCells','containsRange','descriptionFactory','getCellLocation','subType','setSelection','forceDefaultExecution','getRanges','low','has','afterInit','mergeTableCellLeft','_areSelectedCellsMergable','execute','highest','type','document','horizontally','formatBlock','detach','$graveyard','root','author','accept','trackChanges','_suggestionFactory','3556vvxoPA','mergeTableCells','refresh','locale','element','tableCell','TableUtils','selection','fromRange','createRangeOn','direction','requires','TableEditing','model','86715yqHjyX','formatInline','mergeTableCellUp','map','value','plugins','createTableWalker','3732FLzJRC','push','length','cell','76ombYbk','splitTableCellVertically','editor','_acceptFormatSuggestionCallbackFactory','*Split\x20cell:*\x20vertically','338872rqmOKI','getFirstPosition','stop','table','rootName','2475495HOooEI','markBlockFormat','415941vrxsCd','get','return','set:isEnabled','deletion','getSuggestions','change','commandName','registerDescriptionCallback','insertion','mergeTableCellDown','filter','markMultiRangeBlockFormat','find','6074848CEAMVs','isEnabled','_tablePostFixingSubtypes','size'];_0x4194=function(){return _0x3f2641;};return _0x4194();}function _0x23c9(_0x23b465,_0x5d2349){const _0x4194ca=_0x4194();return _0x23c9=function(_0x23c9a3,_0x2a5376){_0x23c9a3=_0x23c9a3-0x102;let _0x2f252c=_0x4194ca[_0x23c9a3];return _0x2f252c;},_0x23c9(_0x23b465,_0x5d2349);}const _0x2998b5=_0x23c9;(function(_0x514fa5,_0x3ce184){const _0x43e857=_0x23c9,_0x54ed0b=_0x514fa5();while(!![]){try{const _0x830e47=-parseInt(_0x43e857(0x10b))/0x1+-parseInt(_0x43e857(0x104))/0x2+-parseInt(_0x43e857(0x109))/0x3+-parseInt(_0x43e857(0x161))/0x4*(parseInt(_0x43e857(0x156))/0x5)+parseInt(_0x43e857(0x15d))/0x6*(-parseInt(_0x43e857(0x148))/0x7)+parseInt(_0x43e857(0x119))/0x8+parseInt(_0x43e857(0x126))/0x9;if(_0x830e47===_0x3ce184)break;else _0x54ed0b['push'](_0x54ed0b['shift']());}catch(_0x36e264){_0x54ed0b['push'](_0x54ed0b['shift']());}}}(_0x4194,0x6a4e9));import{Plugin as _0x40dd3e}from'ckeditor5/src/core.js';import _0x4c1c49 from'./table.js';import{LiveRange as _0x48837d}from'ckeditor5/src/engine.js';import{getTranslation as _0x132757}from'../utils/common-translations.js';export default class vt extends _0x40dd3e{static get[_0x2998b5(0x153)](){return[_0x4c1c49];}[_0x2998b5(0x138)](){const _0x26c6a7=_0x2998b5,_0x5b84a4=this[_0x26c6a7(0x163)],_0x55f054=_0x5b84a4[_0x26c6a7(0x155)][_0x26c6a7(0x13e)][_0x26c6a7(0x14f)],_0x19459b=_0x5b84a4[_0x26c6a7(0x14b)];if(!_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x137)](_0x26c6a7(0x154)))return;const _0x41e946=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x26c6a7(0x127)),_0x5ddc29=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x26c6a7(0x14e)),_0x8810d2=_0x5b84a4[_0x26c6a7(0x15b)][_0x26c6a7(0x10c)](_0x4c1c49);_0x8810d2[_0x26c6a7(0x11b)][_0x26c6a7(0x15e)](_0x26c6a7(0x149)),_0x41e946[_0x26c6a7(0x12a)](_0x26c6a7(0x149),()=>{const _0x15900e=_0x26c6a7,_0x2b55cd=_0x5ddc29[_0x15900e(0x12e)](_0x5b84a4[_0x15900e(0x155)][_0x15900e(0x13e)][_0x15900e(0x14f)]);_0x5b84a4[_0x15900e(0x155)][_0x15900e(0x111)](()=>{const _0x36e766=_0x15900e;_0x41e946[_0x36e766(0x117)](_0x2b55cd,{'commandName':_0x36e766(0x149),'commandParams':[]},[],_0x36e766(0x149));});}),_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x26c6a7(0x149))['on'](_0x26c6a7(0x13b),(_0x49865e,_0x4885eb)=>{const _0x4b1941=_0x26c6a7;_0x5b84a4[_0x4b1941(0x12b)][_0x4b1941(0x10c)](_0x4b1941(0x146))[_0x4b1941(0x15a)]&&(_0x4885eb[_0x4b1941(0x15f)]>0x0&&_0x4885eb[_0x4885eb[_0x4b1941(0x15f)]-0x1]&&_0x4885eb[_0x4885eb[_0x4b1941(0x15f)]-0x1][_0x4b1941(0x134)]||_0x41e946[_0x4b1941(0x12c)]||this[_0x4b1941(0x13a)]()||_0x49865e[_0x4b1941(0x106)]());},{'priority':_0x26c6a7(0x13c)});for(const _0x54e065 of[_0x26c6a7(0x158),_0x26c6a7(0x128),_0x26c6a7(0x115),_0x26c6a7(0x139)]){const _0x11dbb3=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x54e065);_0x41e946[_0x26c6a7(0x12a)](_0x54e065,()=>{const _0x2d1a9c=_0x26c6a7,_0x2f9c42=_0x5b84a4[_0x2d1a9c(0x155)][_0x2d1a9c(0x13e)][_0x2d1a9c(0x14f)][_0x2d1a9c(0x105)]()[_0x2d1a9c(0x121)]()[_0x2d1a9c(0x118)](_0x13c40c=>_0x13c40c['is'](_0x2d1a9c(0x14c),_0x2d1a9c(0x14d))),_0x155f44=_0x11dbb3[_0x2d1a9c(0x15a)];_0x5b84a4[_0x2d1a9c(0x155)][_0x2d1a9c(0x111)](()=>{const _0x32dd62=_0x2d1a9c;_0x41e946[_0x32dd62(0x117)]([_0x2f9c42,_0x155f44],{'commandName':_0x32dd62(0x149),'commandParams':[]},[],_0x32dd62(0x149));});});}for(const _0x954ddb of[_0x26c6a7(0x162),_0x26c6a7(0x12d)]){const _0x1c8130=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x954ddb);_0x41e946[_0x26c6a7(0x12a)](_0x954ddb,()=>{const _0xbdbf3c=_0x26c6a7,_0x5c7aa6=_0x5ddc29[_0xbdbf3c(0x12e)](_0x5b84a4[_0xbdbf3c(0x155)][_0xbdbf3c(0x13e)][_0xbdbf3c(0x14f)])[0x0],_0x3d3757=_0x5c7aa6[_0xbdbf3c(0x122)](_0xbdbf3c(0x107)),{column:_0x29575a,row:_0x171045}=_0x5ddc29[_0xbdbf3c(0x131)](_0x5c7aa6);let _0x546c4a=[];if(_0xbdbf3c(0x13f)==_0x1c8130[_0xbdbf3c(0x152)]){const _0xd58f70=_0x5ddc29[_0xbdbf3c(0x15c)](_0x3d3757,{'startRow':_0x171045,'endRow':_0x171045,'includeAllSlots':!0x0});_0x546c4a=Array[_0xbdbf3c(0x124)](_0xd58f70)[_0xbdbf3c(0x159)](_0x55076d=>_0x55076d[_0xbdbf3c(0x160)]);}else{const _0x5216aa=_0x5ddc29[_0xbdbf3c(0x15c)](_0x3d3757,{'column':_0x29575a,'includeAllSlots':!0x0});_0x546c4a=Array[_0xbdbf3c(0x124)](_0x5216aa)[_0xbdbf3c(0x159)](_0x1a21af=>_0x1a21af[_0xbdbf3c(0x160)]);}_0x5b84a4[_0xbdbf3c(0x155)][_0xbdbf3c(0x111)](_0x382483=>{const _0x423ce2=_0xbdbf3c;_0x41e946[_0x423ce2(0x10a)](_0x382483[_0x423ce2(0x151)](_0x5c7aa6),{'commandName':_0x954ddb,'commandParams':[]},_0x546c4a,_0x954ddb);});});}_0x41e946[_0x26c6a7(0x130)][_0x26c6a7(0x113)](_0x3271f5=>{const _0x386596=_0x26c6a7;if(_0x386596(0x140)!=_0x3271f5[_0x386596(0x13d)]&&_0x386596(0x157)!=_0x3271f5[_0x386596(0x13d)])return;const {data:_0x2f1007}=_0x3271f5;return _0x2f1007&&_0x386596(0x149)==_0x2f1007[_0x386596(0x112)]?{'type':_0x386596(0x11e),'content':_0x132757(_0x19459b,_0x386596(0x11f))}:void 0x0;}),_0x41e946[_0x26c6a7(0x130)][_0x26c6a7(0x113)](_0x5bcb0e=>{const _0x27f2eb=_0x26c6a7;if(_0x27f2eb(0x140)!=_0x5bcb0e[_0x27f2eb(0x13d)]&&_0x27f2eb(0x157)!=_0x5bcb0e[_0x27f2eb(0x13d)])return;const {data:_0x37f97e}=_0x5bcb0e;return _0x37f97e?_0x27f2eb(0x162)==_0x37f97e[_0x27f2eb(0x112)]?{'type':_0x27f2eb(0x11e),'content':_0x132757(_0x19459b,_0x27f2eb(0x103))}:_0x27f2eb(0x12d)==_0x37f97e[_0x27f2eb(0x112)]?{'type':_0x27f2eb(0x11e),'content':_0x132757(_0x19459b,_0x27f2eb(0x129))}:void 0x0:void 0x0;});const _0x458dc9=_0x8810d2[_0x26c6a7(0x102)]();for(const _0x230720 of[_0x26c6a7(0x158),_0x26c6a7(0x128),_0x26c6a7(0x115),_0x26c6a7(0x139)])_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x230720,_0x26c6a7(0x145),_0x458dc9);for(const _0x8e197b of[_0x26c6a7(0x162),_0x26c6a7(0x12d)])_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x8e197b,_0x26c6a7(0x145),_0x458dc9);_0x41e946[_0x26c6a7(0x147)][_0x26c6a7(0x120)](_0x26c6a7(0x140),_0x26c6a7(0x149),_0x26c6a7(0x145),_0x5123d6=>{const _0x3d6144=_0x26c6a7;_0x5b84a4[_0x3d6144(0x155)][_0x3d6144(0x111)](_0x5bcbd7=>{const _0xe5c352=_0x3d6144,_0x31cd7c=Array[_0xe5c352(0x124)](_0x55f054[_0xe5c352(0x135)]())[_0xe5c352(0x159)](_0x13af5e=>_0x48837d[_0xe5c352(0x150)](_0x13af5e));_0x5bcbd7[_0xe5c352(0x133)](_0x5123d6),_0x5b84a4[_0xe5c352(0x12b)][_0xe5c352(0x10c)](_0xe5c352(0x149))[_0xe5c352(0x14a)](),_0x5b84a4[_0xe5c352(0x13b)](_0xe5c352(0x149),{'forceDefaultExecution':!0x0});const _0x4edace=_0x31cd7c[_0xe5c352(0x116)](_0x48ac44=>_0xe5c352(0x142)!=_0x48ac44[_0xe5c352(0x143)][_0xe5c352(0x108)]);_0x4edace[_0xe5c352(0x15f)]>0x0&&_0x5bcbd7[_0xe5c352(0x133)](_0x4edace);for(const _0x3e8c76 of _0x31cd7c)_0x3e8c76[_0xe5c352(0x141)]();});});for(const _0x3503ec of[_0x26c6a7(0x158),_0x26c6a7(0x115),_0x26c6a7(0x139),_0x26c6a7(0x128)]){const _0x25c6fc=_0x5b84a4[_0x26c6a7(0x12b)][_0x26c6a7(0x10c)](_0x3503ec);_0x25c6fc['on'](_0x26c6a7(0x10e),(_0x58b08d,_0x3a4c0e,_0x37916b)=>{const _0x5020ad=_0x26c6a7;if(_0x37916b){const _0x2431a6=_0x5b84a4[_0x5020ad(0x155)][_0x5020ad(0x13e)][_0x5020ad(0x14f)][_0x5020ad(0x105)]()[_0x5020ad(0x121)]()[_0x5020ad(0x118)](_0x584d14=>_0x584d14['is'](_0x5020ad(0x14c),_0x5020ad(0x14d)));this[_0x5020ad(0x125)](_0x25c6fc[_0x5020ad(0x15a)],_0x2431a6)||(_0x58b08d[_0x5020ad(0x10d)]=!0x1,_0x58b08d[_0x5020ad(0x106)]());}},{'priority':_0x26c6a7(0x136)});}}[_0x2998b5(0x13a)](){const _0x2fd5e1=_0x2998b5,_0x3ad5a5=this[_0x2fd5e1(0x163)][_0x2fd5e1(0x12b)][_0x2fd5e1(0x10c)](_0x2fd5e1(0x149)),_0x20d714=this[_0x2fd5e1(0x163)][_0x2fd5e1(0x15b)][_0x2fd5e1(0x10c)](_0x2fd5e1(0x14e));if(!_0x3ad5a5[_0x2fd5e1(0x11a)])return!0x1;const _0x459dfa=_0x20d714[_0x2fd5e1(0x12e)](this[_0x2fd5e1(0x163)][_0x2fd5e1(0x155)][_0x2fd5e1(0x13e)][_0x2fd5e1(0x14f)]);for(const _0x5f31ea of _0x459dfa)for(const _0xa82677 of _0x459dfa)if(_0x5f31ea!=_0xa82677&&!this[_0x2fd5e1(0x125)](_0x5f31ea,_0xa82677))return!0x1;return!0x0;}[_0x2998b5(0x125)](_0x4d379a,_0x578eea){const _0x81a0d1=_0x2998b5,_0x4acb8f=this[_0x81a0d1(0x163)][_0x81a0d1(0x15b)][_0x81a0d1(0x10c)](_0x81a0d1(0x127)),_0xcd64f=this[_0x81a0d1(0x163)][_0x81a0d1(0x155)][_0x81a0d1(0x151)](_0x4d379a),_0x28141d=this[_0x81a0d1(0x163)][_0x81a0d1(0x155)][_0x81a0d1(0x151)](_0x578eea),_0x28eeab=new Set(),_0x4cc7d8=new Set();for(const _0x56fe80 of _0x4acb8f[_0x81a0d1(0x110)]())if((_0x81a0d1(0x114)==_0x56fe80[_0x81a0d1(0x13d)]||_0x81a0d1(0x10f)==_0x56fe80[_0x81a0d1(0x13d)]||_0x81a0d1(0x149)==_0x56fe80[_0x81a0d1(0x132)])&&_0x56fe80[_0x81a0d1(0x123)]){for(const _0x59eef1 of _0x56fe80[_0x81a0d1(0x135)]())_0x59eef1[_0x81a0d1(0x12f)](_0xcd64f,!0x0)&&_0x28eeab[_0x81a0d1(0x11d)](_0x56fe80[_0x81a0d1(0x13d)]+':'+_0x56fe80[_0x81a0d1(0x144)]['id']),_0x59eef1[_0x81a0d1(0x12f)](_0x28141d,!0x0)&&_0x4cc7d8[_0x81a0d1(0x11d)](_0x56fe80[_0x81a0d1(0x13d)]+':'+_0x56fe80[_0x81a0d1(0x144)]['id']);}if(_0x28eeab[_0x81a0d1(0x11c)]!=_0x4cc7d8[_0x81a0d1(0x11c)])return!0x1;for(const _0x46164f of _0x28eeab)if(!_0x4cc7d8[_0x81a0d1(0x137)](_0x46164f))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bd4f6=_0x4d71;(function(_0x2f303c,_0x43abea){const _0x3089a7=_0x4d71,_0x33b40d=_0x2f303c();while(!![]){try{const _0x196c4e=-parseInt(_0x3089a7(0x103))/0x1*(-parseInt(_0x3089a7(0x100))/0x2)+parseInt(_0x3089a7(0x110))/0x3+parseInt(_0x3089a7(0x10e))/0x4+parseInt(_0x3089a7(0x10a))/0x5+-parseInt(_0x3089a7(0x113))/0x6*(parseInt(_0x3089a7(0x108))/0x7)+parseInt(_0x3089a7(0x10f))/0x8+-parseInt(_0x3089a7(0x109))/0x9;if(_0x196c4e===_0x43abea)break;else _0x33b40d['push'](_0x33b40d['shift']());}catch(_0x1a6b92){_0x33b40d['push'](_0x33b40d['shift']());}}}(_0x1db4,0xa347c));function _0x4d71(_0x1640e9,_0x1b6d6f){const _0x1db4cb=_0x1db4();return _0x4d71=function(_0x4d7184,_0x2207f3){_0x4d7184=_0x4d7184-0xfe;let _0x35cef5=_0x1db4cb[_0x4d7184];return _0x35cef5;},_0x4d71(_0x1640e9,_0x1b6d6f);}import{Plugin as _0x94105d}from'ckeditor5/src/core.js';import{getTranslation as _0x22f019}from'../utils/common-translations.js';function _0x1db4(){const _0x595e5c=['TrackChangesEditing','registerElementLabel','plugins','3069104cUGoNS','4258032HQNirI','3226437AWiBzz','afterInit','enableCommand','910698pkVXsX','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','210yDcmPs','locale','insertTableOfContents','9147uxuLqh','tableOfContents','editor','get','commands','21rQiQSG','22741056XjoAkV','1577425GKMADQ'];_0x1db4=function(){return _0x595e5c;};return _0x1db4();}export default class Mt extends _0x94105d{[_0x3bd4f6(0x111)](){const _0x49b56a=_0x3bd4f6,_0x2e4c0a=this[_0x49b56a(0x105)];if(!_0x2e4c0a[_0x49b56a(0x107)][_0x49b56a(0x106)](_0x49b56a(0x102)))return;_0x2e4c0a[_0x49b56a(0x10d)][_0x49b56a(0x106)](_0x49b56a(0x10b))[_0x49b56a(0x112)](_0x49b56a(0x102));const _0x4aa14a=_0x2e4c0a[_0x49b56a(0x10d)][_0x49b56a(0x106)](_0x49b56a(0x10b)),_0x24a6ac=_0x2e4c0a[_0x49b56a(0x101)];_0x4aa14a[_0x49b56a(0xfe)][_0x49b56a(0x10c)](_0x49b56a(0x104),_0x4f4a9f=>_0x22f019(_0x24a6ac,_0x49b56a(0xff),_0x4f4a9f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3445(_0x5c421f,_0x3f327e){const _0x58d8b8=_0x58d8();return _0x3445=function(_0x3445a5,_0x3634f3){_0x3445a5=_0x3445a5-0x124;let _0x2f7b99=_0x58d8b8[_0x3445a5];return _0x2f7b99;},_0x3445(_0x5c421f,_0x3f327e);}const _0xfec518=_0x3445;(function(_0x579fed,_0x1ea24d){const _0x53dced=_0x3445,_0x262ae2=_0x579fed();while(!![]){try{const _0x1fcb2c=parseInt(_0x53dced(0x139))/0x1*(-parseInt(_0x53dced(0x164))/0x2)+-parseInt(_0x53dced(0x12b))/0x3*(parseInt(_0x53dced(0x16b))/0x4)+-parseInt(_0x53dced(0x150))/0x5+parseInt(_0x53dced(0x158))/0x6+parseInt(_0x53dced(0x138))/0x7*(-parseInt(_0x53dced(0x156))/0x8)+parseInt(_0x53dced(0x162))/0x9*(-parseInt(_0x53dced(0x149))/0xa)+parseInt(_0x53dced(0x167))/0xb*(parseInt(_0x53dced(0x161))/0xc);if(_0x1fcb2c===_0x1ea24d)break;else _0x262ae2['push'](_0x262ae2['shift']());}catch(_0x292001){_0x262ae2['push'](_0x262ae2['shift']());}}}(_0x58d8,0x1a463));import{Plugin as _0x45aa1c}from'ckeditor5/src/core.js';import{getTranslation as _0x3e6d83}from'../utils/common-translations.js';export default class Rt extends _0x45aa1c{constructor(_0x58f40a){const _0x578368=_0x3445;super(_0x58f40a),this[_0x578368(0x136)]=[_0x578368(0x12f),_0x578368(0x147),_0x578368(0x128),_0x578368(0x14d),_0x578368(0x170),_0x578368(0x141),_0x578368(0x168)],this[_0x578368(0x14b)]=[_0x578368(0x16d),_0x578368(0x15c),_0x578368(0x14c),_0x578368(0x15d),_0x578368(0x146),_0x578368(0x152),_0x578368(0x15a),_0x578368(0x131),_0x578368(0x159)];}static get[_0xfec518(0x14a)](){const _0x264328=_0xfec518;return _0x264328(0x16c);}[_0xfec518(0x127)](){const _0x2b40e8=_0xfec518,_0x244ccd=this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13e)](_0x2b40e8(0x157));if(this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13c)](_0x2b40e8(0x145))){for(const _0x1bfa04 of this[_0x2b40e8(0x136)])_0x244ccd[_0x2b40e8(0x148)](_0x1bfa04,(_0x560ba6,_0x2aa652)=>{const _0x39c75f=_0x2b40e8,_0x10c50f=this[_0x39c75f(0x143)][_0x39c75f(0x137)][_0x39c75f(0x151)][_0x39c75f(0x163)][_0x39c75f(0x154)]()[_0x39c75f(0x15e)](_0x39c75f(0x12e));this[_0x39c75f(0x15f)](_0x1bfa04,[_0x10c50f],this[_0x39c75f(0x136)],_0x39c75f(0x136),_0x560ba6,_0x2aa652);});_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x130),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x172)](_0x2b40e8(0x13b),null,_0x2b40e8(0x140))),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x140),(_0x6dfd87,_0xaa40e6)=>this[_0x2b40e8(0x132)](this[_0x2b40e8(0x136)],_0x6dfd87,_0xaa40e6)),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x136),_0x2b40e8(0x13d),()=>!0x1);}if(this[_0x2b40e8(0x143)][_0x2b40e8(0x165)][_0x2b40e8(0x13c)](_0x2b40e8(0x12a))){for(const _0x21fe72 of this[_0x2b40e8(0x14b)])_0x244ccd[_0x2b40e8(0x148)](_0x21fe72,(_0x4d6ad4,_0x3094a0)=>{const _0x315356=_0x2b40e8,_0x3821f8=this[_0x315356(0x143)][_0x315356(0x165)][_0x315356(0x13e)](_0x315356(0x144))[_0x315356(0x173)](this[_0x315356(0x143)][_0x315356(0x137)][_0x315356(0x151)][_0x315356(0x163)]);this[_0x315356(0x15f)](_0x21fe72,_0x3821f8,this[_0x315356(0x14b)],_0x315356(0x14b),_0x4d6ad4,_0x3094a0);});_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x130),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x172)](_0x2b40e8(0x13b),null,_0x2b40e8(0x140))),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x140),(_0x52ffb4,_0x187dd3)=>this[_0x2b40e8(0x132)](this[_0x2b40e8(0x14b)],_0x52ffb4,_0x187dd3)),_0x244ccd[_0x2b40e8(0x16e)][_0x2b40e8(0x160)](_0x2b40e8(0x13b),_0x2b40e8(0x14b),_0x2b40e8(0x13d),()=>!0x1);}_0x244ccd[_0x2b40e8(0x171)][_0x2b40e8(0x166)](_0x41a917=>this[_0x2b40e8(0x125)](_0x41a917));}[_0xfec518(0x15f)](_0x461b27,_0x3a539b,_0x5e6502,_0x2b8b55,_0x172b68,_0x4bb23b){const _0x56e276=_0xfec518,_0x3f5184=this[_0x56e276(0x143)][_0x56e276(0x165)][_0x56e276(0x13e)](_0x56e276(0x157));this[_0x56e276(0x143)][_0x56e276(0x137)][_0x56e276(0x135)](_0x4bb23b[_0x56e276(0x124)],()=>{const _0x4d4291=_0x56e276;for(const _0x2df983 of _0x3a539b){if(this[_0x4d4291(0x14f)](_0x2df983,_0x2b8b55))_0x172b68(_0x4bb23b);else{const _0x2530eb={};for(const _0x28a91c of _0x5e6502){const _0xb0cdc2=_0x2df983[_0x4d4291(0x12d)](_0x28a91c);void 0x0!==_0xb0cdc2&&(_0x2530eb[_0x28a91c]=_0xb0cdc2);}_0x172b68(_0x4bb23b),_0x3f5184[_0x4d4291(0x134)](_0x2df983,{'commandParams':[_0x2530eb]},[],_0x2b8b55);}}});}[_0xfec518(0x132)](_0x4f8e96,_0x58ae1b,_0x27c2b3){const _0x5b1fee=_0xfec518,_0x5cdc58=_0x58ae1b[0x0][_0x5b1fee(0x126)][_0x5b1fee(0x13a)],_0x476652=_0x27c2b3[_0x5b1fee(0x12c)][0x0];this[_0x5b1fee(0x143)][_0x5b1fee(0x137)][_0x5b1fee(0x153)](_0xd0aa6e=>{const _0x55d2e3=_0x5b1fee;for(const _0x4eae59 of _0x4f8e96)void 0x0!==_0x476652[_0x4eae59]?_0xd0aa6e[_0x55d2e3(0x169)](_0x4eae59,_0x476652[_0x4eae59],_0x5cdc58):_0xd0aa6e[_0x55d2e3(0x155)](_0x4eae59,_0x5cdc58);});}[_0xfec518(0x125)](_0x489f75){const _0x4c09bb=_0xfec518;if(_0x489f75[_0x4c09bb(0x16f)])switch(_0x489f75[_0x4c09bb(0x129)]){case _0x4c09bb(0x136):return{'type':_0x4c09bb(0x14e),'content':_0x3e6d83(this[_0x4c09bb(0x143)][_0x4c09bb(0x15b)],_0x4c09bb(0x142))};case _0x4c09bb(0x14b):return{'type':_0x4c09bb(0x14e),'content':_0x3e6d83(this[_0x4c09bb(0x143)][_0x4c09bb(0x15b)],_0x4c09bb(0x13f))};}}[_0xfec518(0x14f)](_0x57e598,_0x11827c){const _0x1a1d40=_0xfec518,_0x329e39=this[_0x1a1d40(0x143)][_0x1a1d40(0x165)][_0x1a1d40(0x13e)](_0x1a1d40(0x157));for(const _0x14f619 of _0x329e39[_0x1a1d40(0x133)]({'skipNotAttached':!0x0})){const _0x18ff23=_0x14f619[_0x1a1d40(0x16a)]();if(_0x14f619[_0x1a1d40(0x129)]===_0x11827c&&_0x18ff23===_0x57e598)return _0x14f619;}return null;}}function _0x58d8(){const _0x2854d9=['3226AfHtBh','plugins','registerDescriptionCallback','3026584VVgHOS','tableBackgroundColor','setAttribute','getContainedElement','24ijWJJl','TrackChangesTableProperties','tableCellBorderColor','_suggestionFactory','data','tableWidth','descriptionFactory','getSuggestionCallback','getSelectionAffectedTableCells','batch','handleSuggestionDescription','start','afterInit','tableBorderWidth','subType','TableCellPropertiesEditing','45894qtzONV','commandParams','getAttribute','table','tableBorderColor','accept','tableCellHorizontalAlignment','handleDiscardAction','getSuggestions','markBlockFormat','enqueueChange','tableProperties','model','35ToTbFp','40xbGuSS','nodeAfter','formatBlock','has','join','get','*Format:*\x20change\x20table\x20cell\x20properties','discard','tableHeight','*Format:*\x20change\x20table\x20properties','editor','TableUtils','TablePropertiesEditing','tableCellWidth','tableBorderStyle','enableCommand','341480DtxgzE','pluginName','tableCellProperties','tableCellBorderWidth','tableAlignment','format','_getSuggestion','624360lkMBZH','document','tableCellHeight','change','getFirstPosition','removeAttribute','70160ANVGav','TrackChangesEditing','113718NlWmXr','tableCellVerticalAlignment','tableCellBackgroundColor','locale','tableCellBorderStyle','tableCellPadding','findAncestor','_handlePropertyChange','registerCustomCallback','24NgoxSd','36oPxowU','selection'];_0x58d8=function(){return _0x2854d9;};return _0x58d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x47ac4b=_0x55e6;function _0x2112(){const _0x3e600f=['240hpkmmt','746620cZAuFC','plugins','1472YITQyh','editor','137111xuhpeg','4TFaZEw','6AvWksF','89897qhVUSQ','afterInit','4OfDjYp','insertTemplate','TrackChangesEditing','1359HmQzwe','541854imLfRP','1634185jAlyUW','enableCommand','276YyjUCC','Template','get','has','25817bDFUGg'];_0x2112=function(){return _0x3e600f;};return _0x2112();}(function(_0x56fe46,_0xe7f45f){const _0x1396e9=_0x55e6,_0x4454ef=_0x56fe46();while(!![]){try{const _0x23997d=parseInt(_0x1396e9(0x1d6))/0x1*(-parseInt(_0x1396e9(0x1d4))/0x2)+parseInt(_0x1396e9(0x1dc))/0x3*(parseInt(_0x1396e9(0x1d8))/0x4)+-parseInt(_0x1396e9(0x1dd))/0x5*(-parseInt(_0x1396e9(0x1d5))/0x6)+parseInt(_0x1396e9(0x1cf))/0x7+parseInt(_0x1396e9(0x1d1))/0x8*(-parseInt(_0x1396e9(0x1db))/0x9)+parseInt(_0x1396e9(0x1ce))/0xa*(parseInt(_0x1396e9(0x1e3))/0xb)+parseInt(_0x1396e9(0x1df))/0xc*(-parseInt(_0x1396e9(0x1d3))/0xd);if(_0x23997d===_0xe7f45f)break;else _0x4454ef['push'](_0x4454ef['shift']());}catch(_0x3fb42b){_0x4454ef['push'](_0x4454ef['shift']());}}}(_0x2112,0x35c7c));import{Plugin as _0x4f4a1c}from'ckeditor5/src/core.js';function _0x55e6(_0x10549e,_0x56028c){const _0x2112af=_0x2112();return _0x55e6=function(_0x55e674,_0x29d9f5){_0x55e674=_0x55e674-0x1ce;let _0x153c1=_0x2112af[_0x55e674];return _0x153c1;},_0x55e6(_0x10549e,_0x56028c);}export default class Dt extends _0x4f4a1c{[_0x47ac4b(0x1d7)](){const _0x5bb14d=_0x47ac4b,_0x1858ca=this[_0x5bb14d(0x1d2)];_0x1858ca[_0x5bb14d(0x1d0)][_0x5bb14d(0x1e2)](_0x5bb14d(0x1e0))&&_0x1858ca[_0x5bb14d(0x1d0)][_0x5bb14d(0x1e1)](_0x5bb14d(0x1da))[_0x5bb14d(0x1de)](_0x5bb14d(0x1d9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e6d40=_0x139a;(function(_0x35fb79,_0x345710){const _0x1e77c8=_0x139a,_0x26d215=_0x35fb79();while(!![]){try{const _0x531394=-parseInt(_0x1e77c8(0x142))/0x1*(parseInt(_0x1e77c8(0x152))/0x2)+-parseInt(_0x1e77c8(0x138))/0x3+-parseInt(_0x1e77c8(0x144))/0x4+parseInt(_0x1e77c8(0x151))/0x5*(parseInt(_0x1e77c8(0x13c))/0x6)+-parseInt(_0x1e77c8(0x146))/0x7+parseInt(_0x1e77c8(0x133))/0x8*(-parseInt(_0x1e77c8(0x14b))/0x9)+parseInt(_0x1e77c8(0x137))/0xa;if(_0x531394===_0x345710)break;else _0x26d215['push'](_0x26d215['shift']());}catch(_0x543bf6){_0x26d215['push'](_0x26d215['shift']());}}}(_0x1bdb,0x3c640));import{Plugin as _0x2e97cb}from'ckeditor5/src/core.js';function _0x139a(_0x525b9e,_0x2cb807){const _0x1bdb70=_0x1bdb();return _0x139a=function(_0x139a7a,_0x5be299){_0x139a7a=_0x139a7a-0x129;let _0x52f727=_0x1bdb70[_0x139a7a];return _0x52f727;},_0x139a(_0x525b9e,_0x2cb807);}import{getTranslation as _0x209cd1}from'../utils/common-translations.js';function _0x1bdb(){const _0x1e35d1=['684846EgKNCW','forward','end','start','TrackChangesEditing','has','isCollapsed','suggestion','createRange','registerElementLabel','descriptionFactory','model','afterInit','205144tydEVj','removeMarker','editor','get','9830040miuWPH','1012893rJiGbf','schema','getNearestSelectionRange','nodeBefore','609414FieoRs','newRange','element','plugins','title-content','isEqual','1vlgoGU','Title','109040orGeAx','from','729792JdKLdi','differ','document','_splitMarkerName','ELEMENT_TITLE','9dJGMqc','isTouching','locale','getChangedMarkers','registerPostFixer','updateMarker','5CkRcnn'];_0x1bdb=function(){return _0x1e35d1;};return _0x1bdb();}export default class $t extends _0x2e97cb{[_0x3e6d40(0x132)](){const _0x1cfba8=_0x3e6d40,_0x1f3c1e=this[_0x1cfba8(0x135)];if(!_0x1f3c1e[_0x1cfba8(0x13f)][_0x1cfba8(0x12b)](_0x1cfba8(0x143)))return;const _0x269fbe=_0x1f3c1e[_0x1cfba8(0x13f)][_0x1cfba8(0x136)](_0x1cfba8(0x12a));_0x269fbe[_0x1cfba8(0x130)][_0x1cfba8(0x12f)](_0x1cfba8(0x140),()=>_0x209cd1(_0x1f3c1e[_0x1cfba8(0x14d)],_0x1cfba8(0x14a))),_0x1f3c1e[_0x1cfba8(0x131)][_0x1cfba8(0x148)][_0x1cfba8(0x14f)](_0x5d5801=>{const _0x1be857=_0x1cfba8;let _0x66c077=!0x1;const _0x3b80dc=Array[_0x1be857(0x145)](_0x1f3c1e[_0x1be857(0x131)][_0x1be857(0x148)][_0x1be857(0x147)][_0x1be857(0x14e)]());for(const {name:_0x51e0d6,data:_0x55feeb}of _0x3b80dc){const {group:_0x51d15e}=_0x269fbe[_0x1be857(0x149)](_0x51e0d6);if(_0x1be857(0x12d)!==_0x51d15e||!_0x55feeb[_0x1be857(0x13d)])continue;const _0x198f05=_0x55feeb[_0x1be857(0x13d)],_0x1193b8=_0x198f05[_0x1be857(0x154)][_0x1be857(0x13b)];if(!_0x1193b8||!_0x1193b8['is'](_0x1be857(0x13e),_0x1be857(0x140)))continue;if(!_0x198f05[_0x1be857(0x129)][_0x1be857(0x14c)](_0x198f05[_0x1be857(0x154)]))continue;const _0x41115b=_0x1f3c1e[_0x1be857(0x131)][_0x1be857(0x139)][_0x1be857(0x13a)](_0x198f05[_0x1be857(0x154)],_0x1be857(0x153));if(_0x41115b&&_0x41115b[_0x1be857(0x12c)]){const _0x27fc8a=_0x5d5801[_0x1be857(0x12e)](_0x198f05[_0x1be857(0x129)],_0x41115b[_0x1be857(0x129)]);_0x27fc8a[_0x1be857(0x141)](_0x198f05)||(_0x5d5801[_0x1be857(0x150)](_0x51e0d6,{'range':_0x27fc8a}),_0x66c077=!0x0);}_0x66c077||(_0x5d5801[_0x1be857(0x134)](_0x51e0d6),_0x66c077=!0x0);}return _0x66c077;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x138f(){const _0x5be2de=['10000550frAwPu','enableCommand','plugins','33jrwdkY','1342144xwlsMr','get','10872UMGfoQ','2453944shlVbL','14235EYhwUe','redo','undo','has','editor','TrackChangesEditing','afterInit','UndoEditing','268JpgDaN','1902lZKNrO','17899viTiTX','9272BwYALZ','3294155kEPAFw'];_0x138f=function(){return _0x5be2de;};return _0x138f();}const _0x5beadf=_0x303a;(function(_0x2f625c,_0xccb9bb){const _0xd1fbb9=_0x303a,_0x3c8664=_0x2f625c();while(!![]){try{const _0x14430b=parseInt(_0xd1fbb9(0x1bb))/0x1+parseInt(_0xd1fbb9(0x1be))/0x2+-parseInt(_0xd1fbb9(0x1bf))/0x3*(parseInt(_0xd1fbb9(0x1c7))/0x4)+-parseInt(_0xd1fbb9(0x1cb))/0x5+-parseInt(_0xd1fbb9(0x1c8))/0x6*(-parseInt(_0xd1fbb9(0x1c9))/0x7)+-parseInt(_0xd1fbb9(0x1ca))/0x8*(-parseInt(_0xd1fbb9(0x1bd))/0x9)+parseInt(_0xd1fbb9(0x1b7))/0xa*(-parseInt(_0xd1fbb9(0x1ba))/0xb);if(_0x14430b===_0xccb9bb)break;else _0x3c8664['push'](_0x3c8664['shift']());}catch(_0x467adb){_0x3c8664['push'](_0x3c8664['shift']());}}}(_0x138f,0xc401e));function _0x303a(_0x3e4c3,_0x3acdde){const _0x138f8d=_0x138f();return _0x303a=function(_0x303abc,_0x324550){_0x303abc=_0x303abc-0x1b7;let _0x1d1823=_0x138f8d[_0x303abc];return _0x1d1823;},_0x303a(_0x3e4c3,_0x3acdde);}import{Plugin as _0x2e19ae}from'ckeditor5/src/core.js';export default class Bt extends _0x2e19ae{[_0x5beadf(0x1c5)](){const _0x21aa8a=_0x5beadf,_0x4962fe=this[_0x21aa8a(0x1c3)],_0x3a6a95=_0x4962fe[_0x21aa8a(0x1b9)][_0x21aa8a(0x1bc)](_0x21aa8a(0x1c4));_0x4962fe[_0x21aa8a(0x1b9)][_0x21aa8a(0x1c2)](_0x21aa8a(0x1c6))&&(_0x3a6a95[_0x21aa8a(0x1b8)](_0x21aa8a(0x1c1)),_0x3a6a95[_0x21aa8a(0x1b8)](_0x21aa8a(0x1c0)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2fa5(){const _0x3a6ba6=['ck-suggestion-marker--active','ck-suggestion-marker-','item','isContent','schema','1571184cHBjFd','get','name','plugins','writer','markerName','start','test','isLimit','createUIElement','addHighlight','createRangeOn','model','978890xnuFWZ','mapper','markerRange','hasAttribute','activeMarkers','toViewPosition','getWalker','span','addClass','getCustomProperty','773472JcMUSK','push','getItems','elementEnd','parent','type','consumable','TrackChangesEditing','isBlock','3133756TATgeN','18473623IRPPaL','1812570WWyvWz','bindElementToMarker','previousPosition','nextSibling','1142196cUqusy','includes','isAtEnd','toViewElement','insert'];_0x2fa5=function(){return _0x3a6ba6;};return _0x2fa5();}(function(_0x46eb8c,_0x491744){const _0x32f379=_0x239e,_0x4bc9ef=_0x46eb8c();while(!![]){try{const _0x56c8c7=parseInt(_0x32f379(0xf3))/0x1+parseInt(_0x32f379(0xe9))/0x2+parseInt(_0x32f379(0x102))/0x3+parseInt(_0x32f379(0xfc))/0x4+parseInt(_0x32f379(0xfe))/0x5+parseInt(_0x32f379(0x10c))/0x6+-parseInt(_0x32f379(0xfd))/0x7;if(_0x56c8c7===_0x491744)break;else _0x4bc9ef['push'](_0x4bc9ef['shift']());}catch(_0x346ea8){_0x4bc9ef['push'](_0x4bc9ef['shift']());}}}(_0x2fa5,0x64ad9));function _0x239e(_0x410c8a,_0x154689){const _0x2fa520=_0x2fa5();return _0x239e=function(_0x239e51,_0x4547ad){_0x239e51=_0x239e51-0xe0;let _0x24ed45=_0x2fa520[_0x239e51];return _0x24ed45;},_0x239e(_0x410c8a,_0x154689);}export function getRangesWithAttribute(_0x34c4ee,_0x392d86,_0x5b7c3e){const _0x1951b4=_0x239e,_0xa6d7e3=[];for(const _0x1f7b63 of _0x392d86[_0x1951b4(0xf5)]())_0x1f7b63[_0x1951b4(0xec)](_0x34c4ee)&&_0xa6d7e3[_0x1951b4(0xf4)](_0x5b7c3e[_0x1951b4(0xe7)](_0x1f7b63));return _0xa6d7e3;}export function downcastSplitMergeMarker(_0x48f14d,_0x2671da,{showActiveMarker:_0x3ae923=!0x0}={}){const _0x1d302c=_0x239e,_0x1b1d38=_0x48f14d[_0x1d302c(0x10f)][_0x1d302c(0x10d)](_0x1d302c(0xfa));return(_0x17ea8f,_0x2dbed5,_0x24f208)=>{const _0x49a151=_0x1d302c;if(!_0x24f208[_0x49a151(0xf9)][_0x49a151(0xe3)](_0x2dbed5[_0x49a151(0xeb)],_0x17ea8f[_0x49a151(0x10e)]))return;const _0x41b8ff=_0x2dbed5[_0x49a151(0xeb)][_0x49a151(0xef)](),_0x3af821=_0x2dbed5[_0x49a151(0xeb)][_0x49a151(0xe2)],_0x482ccc=_0x48f14d[_0x49a151(0xe8)][_0x49a151(0x10b)];let _0x1bc6af=null,_0x394c63=null,_0x31cd8f=!0x1,_0x3f30f3=!0x1;for(const _0x4da792 of _0x41b8ff){const _0xbb0962=_0x4da792[_0x49a151(0x109)];_0x31cd8f=_0x31cd8f||_0x482ccc[_0x49a151(0x10a)](_0xbb0962);const _0x293eaf=_0x24f208[_0x49a151(0xea)][_0x49a151(0x105)](_0xbb0962);if(_0x293eaf&&_0x293eaf[_0x49a151(0xf2)](_0x49a151(0xe6)))return;_0x49a151(0xf6)==_0x4da792[_0x49a151(0xf8)]&&(_0x482ccc[_0x49a151(0xfb)](_0xbb0962)&&!_0x482ccc[_0x49a151(0xe4)](_0xbb0962)&&(_0xbb0962[_0x49a151(0x101)]||_0x3af821[_0x49a151(0x104)]?_0x1bc6af&&_0x1bc6af[_0x49a151(0xf7)]==_0xbb0962||(_0x1bc6af=_0xbb0962,_0x4c467c(_0x4da792[_0x49a151(0x100)]),_0x3f30f3=!0x0):_0x394c63=_0x394c63||_0x4da792[_0x49a151(0x100)]));}function _0x4c467c(_0x37fc75){const _0x38e443=_0x49a151,_0x3ec736=_0x24f208[_0x38e443(0xe0)][_0x38e443(0xe5)](_0x38e443(0xf0),{'class':_0x38e443(0x108)+_0x2671da}),_0x14c26d=_0x24f208[_0x38e443(0xea)][_0x38e443(0xee)](_0x37fc75);_0x3ae923&&_0x1b1d38[_0x38e443(0xed)][_0x38e443(0x103)](_0x2dbed5[_0x38e443(0xe1)])&&_0x24f208[_0x38e443(0xe0)][_0x38e443(0xf1)](_0x38e443(0x107),_0x3ec736),_0x24f208[_0x38e443(0xe0)][_0x38e443(0x106)](_0x14c26d,_0x3ec736),_0x24f208[_0x38e443(0xea)][_0x38e443(0xff)](_0x3ec736,_0x2dbed5[_0x38e443(0xe1)]);}_0x31cd8f||_0x3f30f3||!_0x394c63||_0x4c467c(_0x394c63);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3a1045=_0x284c;(function(_0x7a8ef9,_0xc8e6f3){const _0x1e53ac=_0x284c,_0x4f03ea=_0x7a8ef9();while(!![]){try{const _0x240a5e=-parseInt(_0x1e53ac(0xaf))/0x1*(-parseInt(_0x1e53ac(0xc6))/0x2)+-parseInt(_0x1e53ac(0xf4))/0x3*(parseInt(_0x1e53ac(0xef))/0x4)+parseInt(_0x1e53ac(0xad))/0x5+-parseInt(_0x1e53ac(0xac))/0x6*(parseInt(_0x1e53ac(0xb3))/0x7)+parseInt(_0x1e53ac(0xdf))/0x8*(-parseInt(_0x1e53ac(0xb0))/0x9)+parseInt(_0x1e53ac(0xb9))/0xa+-parseInt(_0x1e53ac(0xbf))/0xb*(-parseInt(_0x1e53ac(0xda))/0xc);if(_0x240a5e===_0xc8e6f3)break;else _0x4f03ea['push'](_0x4f03ea['shift']());}catch(_0x26cfc4){_0x4f03ea['push'](_0x4f03ea['shift']());}}}(_0x19b5,0x9a8d8));import{Element as _0x58e6d4}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5b1c4e,uid as _0xa01a4a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x43c29e,isEqual as _0xd38d19,set as _0x43bd6c,unset as _0x1701f9}from'lodash-es';function _0x284c(_0x137ef9,_0x38b6a7){const _0x19b54d=_0x19b5();return _0x284c=function(_0x284c27,_0x271d40){_0x284c27=_0x284c27-0xa5;let _0x2b9c48=_0x19b54d[_0x284c27];return _0x2b9c48;},_0x284c(_0x137ef9,_0x38b6a7);}function _0x19b5(){const _0x4399bc=['addMarkerName','isExternal','_isDataLoaded','_model','nodeBefore','isMultiRange','head','accept','commentThread','getMarkers','set','getContainedElement','map','78324nKCrbi','start','length','getMarkerNames','end','53112ezwXPF','@external','removeMarker','hasComments','size','addRange','suggestion:','nodeAfter','attributes','getRange','previous','_markerNames','getRanges','isIntersectingWithRange','add','reduce','544mZVRCX','push','filter','onAccept','removeAttribute','3693nlxhet','addMarker','onAttributesChange','type','_saved','delete','markers','_onAccept','subType','getAllAdjacentSuggestions','_onAttributesChange','6uOsajG','5244325iIfRGg','creator','371857WROviC','1233PxfPCO','discard','substr','5312909KtAcLX','isInContent','createdAt','getFirstMarker','getItems','next','2327610lLQkvV','removeMarkers','isIntersecting','getFirstRange','authoredAt','setAttribute','121zPeoXE','data','decorate','author','split','change','_onDiscard','6ltpWFH','onDiscard','get','getMultiRangeId','from','clear','toJSON'];_0x19b5=function(){return _0x4399bc;};return _0x19b5();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b1c4e(){constructor(_0x760e04,_0x4c0cc6){const _0xdb4524=_0x284c;super(),this[_0xdb4524(0xcf)]=!0x1,this['id']=_0x4c0cc6['id'],this[_0xdb4524(0xf7)]=_0x4c0cc6[_0xdb4524(0xf7)],this[_0xdb4524(0xa9)]=_0x4c0cc6[_0xdb4524(0xa9)]||null,this[_0xdb4524(0xc2)]=_0x4c0cc6[_0xdb4524(0xc2)],this[_0xdb4524(0xae)]=_0x4c0cc6[_0xdb4524(0xae)]||_0x4c0cc6[_0xdb4524(0xc2)],this[_0xdb4524(0xce)]=Boolean(_0x4c0cc6[_0xdb4524(0xe7)]&&_0x4c0cc6[_0xdb4524(0xe7)][_0xdb4524(0xe0)]),this[_0xdb4524(0xc0)]=null,this[_0xdb4524(0xd0)]=_0x760e04,this[_0xdb4524(0xa8)]=_0x4c0cc6[_0xdb4524(0xf2)],this[_0xdb4524(0xc5)]=_0x4c0cc6[_0xdb4524(0xc7)],this[_0xdb4524(0xab)]=_0x4c0cc6[_0xdb4524(0xf6)],this[_0xdb4524(0xea)]=new Set(),this[_0xdb4524(0xb5)]=null,this[_0xdb4524(0xd7)](_0xdb4524(0xbd),null),this[_0xdb4524(0xd7)](_0xdb4524(0xe7),_0x4c0cc6[_0xdb4524(0xe7)]||{}),this[_0xdb4524(0xd7)](_0xdb4524(0xe9),null),this[_0xdb4524(0xd7)](_0xdb4524(0xb8),null),this[_0xdb4524(0xd7)](_0xdb4524(0xd5),null),this[_0xdb4524(0xd7)](_0xdb4524(0xa5),!0x1),this[_0xdb4524(0xc1)](_0xdb4524(0xd4)),this[_0xdb4524(0xc1)](_0xdb4524(0xb1));}get[_0x3a1045(0xd3)](){const _0xbd4b2=_0x3a1045;let _0x24de46=this;for(;_0x24de46[_0xbd4b2(0xe9)];)_0x24de46=_0x24de46[_0xbd4b2(0xe9)];return _0x24de46;}get[_0x3a1045(0xe2)](){const _0x110f4e=_0x3a1045;return!!this[_0x110f4e(0xd5)]&&this[_0x110f4e(0xd5)][_0x110f4e(0xdc)]>0x0;}get[_0x3a1045(0xd2)](){const _0x1d517d=_0x3a1045;if(0x0==this[_0x1d517d(0xea)][_0x1d517d(0xe3)])return!0x1;return 0x6==Array[_0x1d517d(0xca)](this[_0x1d517d(0xea)])[0x0][_0x1d517d(0xc3)](':')[_0x1d517d(0xdc)];}get[_0x3a1045(0xb4)](){const _0x73a727=_0x3a1045;return null!==this[_0x73a727(0xb6)]();}[_0x3a1045(0xcd)](_0x1cbfe0){const _0x4e690d=_0x3a1045;this[_0x4e690d(0xea)][_0x4e690d(0xed)](_0x1cbfe0);}[_0x3a1045(0xdd)](){const _0x7eb3d3=_0x3a1045;return Array[_0x7eb3d3(0xca)](this[_0x7eb3d3(0xea)]);}[_0x3a1045(0xd6)](){const _0x1f368e=_0x3a1045;return this[_0x1f368e(0xdd)]()[_0x1f368e(0xd9)](_0x15c600=>this[_0x1f368e(0xd0)][_0x1f368e(0xa7)][_0x1f368e(0xc8)](_0x15c600))[_0x1f368e(0xf1)](_0x2cb887=>_0x2cb887);}[_0x3a1045(0xb6)](){const _0x2d5245=_0x3a1045;return this[_0x2d5245(0xd6)]()[0x0]||null;}[_0x3a1045(0xba)](){const _0xbf045c=_0x3a1045;this[_0xbf045c(0xd0)][_0xbf045c(0xc4)](_0x5f5328=>{const _0x2137d8=_0xbf045c;for(const _0xda6e4a of this[_0x2137d8(0xd6)]())_0x5f5328[_0x2137d8(0xe1)](_0xda6e4a);}),this[_0xbf045c(0xea)][_0xbf045c(0xcb)]();}[_0x3a1045(0xe1)](_0x1c6247){const _0x5c9e1e=_0x3a1045;this[_0x5c9e1e(0xd0)][_0x5c9e1e(0xc4)](_0x4c654c=>{const _0x38110f=_0x5c9e1e;_0x4c654c[_0x38110f(0xe1)](_0x1c6247);}),this[_0x5c9e1e(0xea)][_0x5c9e1e(0xa6)](_0x1c6247);}[_0x3a1045(0xe4)](_0x43198d){const _0x4db1e2=_0x3a1045,_0x37a07b=_0x4db1e2(0xe5)+this[_0x4db1e2(0xf7)]+':'+this[_0x4db1e2(0xa9)]+':'+this['id']+':'+this[_0x4db1e2(0xae)]['id']+':'+u[_0x4db1e2(0xc9)]();this[_0x4db1e2(0xcd)](_0x37a07b),this[_0x4db1e2(0xd0)][_0x4db1e2(0xc4)](_0x520f16=>{const _0x3d9f26=_0x4db1e2;_0x520f16[_0x3d9f26(0xf5)](_0x37a07b,{'range':_0x43198d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3a1045(0xec)](_0x9f08b8){const _0x5b3a95=_0x3a1045;for(const _0x1c1cca of this[_0x5b3a95(0xeb)]())if(_0x1c1cca[_0x5b3a95(0xbb)](_0x9f08b8))return!0x0;return!0x1;}[_0x3a1045(0xeb)](){const _0x27c9da=_0x3a1045;return this[_0x27c9da(0xd6)]()[_0x27c9da(0xd9)](_0x36316d=>_0x36316d[_0x27c9da(0xe8)]());}[_0x3a1045(0xb7)](){const _0x29580b=_0x3a1045;return this[_0x29580b(0xeb)]()[_0x29580b(0xee)]((_0x309f4d,_0x50bb78)=>[..._0x309f4d,..._0x50bb78[_0x29580b(0xb7)]()],[]);}[_0x3a1045(0xbc)](){const _0x48f139=_0x3a1045;var _0x95427b;return(null===(_0x95427b=this[_0x48f139(0xb6)]())||void 0x0===_0x95427b?void 0x0:_0x95427b[_0x48f139(0xe8)]())||null;}[_0x3a1045(0xd8)](){const _0x3007ef=_0x3a1045,_0x42eeb2=this[_0x3007ef(0xeb)]();if(0x1!=_0x42eeb2[_0x3007ef(0xdc)])return null;const _0x4ac75e=_0x42eeb2[0x0],_0x37cc91=_0x4ac75e[_0x3007ef(0xdb)][_0x3007ef(0xe6)],_0x40f73d=_0x4ac75e[_0x3007ef(0xde)][_0x3007ef(0xd1)];return _0x37cc91 instanceof _0x58e6d4?_0x37cc91!=_0x40f73d?null:_0x37cc91:null;}[_0x3a1045(0xd4)](){const _0x4ec61e=_0x3a1045;this[_0x4ec61e(0xa8)](this[_0x4ec61e(0xeb)](),this[_0x4ec61e(0xc0)],this[_0x4ec61e(0xe7)]),this[_0x4ec61e(0xba)]();}[_0x3a1045(0xb1)](){const _0x4e9daf=_0x3a1045;this[_0x4e9daf(0xc5)](this[_0x4e9daf(0xeb)](),this[_0x4e9daf(0xc0)],this[_0x4e9daf(0xe7)]),this[_0x4e9daf(0xba)]();}[_0x3a1045(0xaa)](){const _0x2497fd=_0x3a1045,_0x2e1a20=[];let _0x45c121=this[_0x2497fd(0xd3)];for(;_0x45c121;)_0x2e1a20[_0x2497fd(0xf0)](_0x45c121),_0x45c121=_0x45c121[_0x2497fd(0xb8)];return _0x2e1a20;}[_0x3a1045(0xbe)](_0x4e51bc,_0x4e7deb){const _0x394d9e=_0x3a1045,_0x4175b5=_0x43c29e(this[_0x394d9e(0xe7)]);_0x43bd6c(_0x4175b5,_0x4e51bc,_0x4e7deb),_0xd38d19(_0x4175b5,this[_0x394d9e(0xe7)])||(this[_0x394d9e(0xe7)]=_0x4175b5,this[_0x394d9e(0xab)](_0x4175b5));}[_0x3a1045(0xf3)](_0xc4d210){const _0x3678b5=_0x3a1045,_0x1b42b3=_0x43c29e(this[_0x3678b5(0xe7)]);_0x1701f9(_0x1b42b3,_0xc4d210),_0xd38d19(_0x1b42b3,this[_0x3678b5(0xe7)])||(this[_0x3678b5(0xe7)]=_0x1b42b3,this[_0x3678b5(0xab)](this[_0x3678b5(0xe7)]));}[_0x3a1045(0xcc)](){const _0x33fd06=_0x3a1045;return{'id':this['id'],'type':this[_0x33fd06(0xa9)]?this[_0x33fd06(0xf7)]+':'+this[_0x33fd06(0xa9)]:this[_0x33fd06(0xf7)],'authorId':this[_0x33fd06(0xae)]['id'],'createdAt':this[_0x33fd06(0xb5)],'hasComments':this[_0x33fd06(0xe2)],'data':this[_0x33fd06(0xc0)],'attributes':this[_0x33fd06(0xe7)]};}static[_0x3a1045(0xc9)](){const _0x19d881=_0x3a1045;return _0xa01a4a()[_0x19d881(0xb2)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x12854b=_0x3ab7;(function(_0xce8ab4,_0x33df20){const _0x205f4a=_0x3ab7,_0x3143d3=_0xce8ab4();while(!![]){try{const _0x3db8d4=-parseInt(_0x205f4a(0xc0))/0x1*(parseInt(_0x205f4a(0x9b))/0x2)+-parseInt(_0x205f4a(0xdb))/0x3+parseInt(_0x205f4a(0x9d))/0x4+parseInt(_0x205f4a(0xae))/0x5*(-parseInt(_0x205f4a(0x94))/0x6)+-parseInt(_0x205f4a(0xc6))/0x7+-parseInt(_0x205f4a(0x88))/0x8+parseInt(_0x205f4a(0x8c))/0x9*(parseInt(_0x205f4a(0x89))/0xa);if(_0x3db8d4===_0x33df20)break;else _0x3143d3['push'](_0x3143d3['shift']());}catch(_0x5791a9){_0x3143d3['push'](_0x3143d3['shift']());}}}(_0x158b,0x6ed4f));import{getTranslation as _0x51aebb}from'./utils/common-translations.js';import{priorities as _0x565528,insertToPriorityArray as _0xea659f}from'ckeditor5/src/utils.js';function _0x3ab7(_0x4446db,_0x5bc450){const _0x158bb9=_0x158b();return _0x3ab7=function(_0x3ab70f,_0x40fc36){_0x3ab70f=_0x3ab70f-0x87;let _0x1a29dc=_0x158bb9[_0x3ab70f];return _0x1a29dc;},_0x3ab7(_0x4446db,_0x5bc450);}import{renameAttributeKey as _0x3d5b68}from'./trackchangesediting.js';export default class f{constructor(_0x2da7a4,_0x3628d2){const _0xb857d5=_0x3ab7;this[_0xb857d5(0xda)]=[],this[_0xb857d5(0xc5)]=new Map(),this[_0xb857d5(0xa7)]=[],this[_0xb857d5(0xd0)]=new Map(),this[_0xb857d5(0xb0)]=_0x2da7a4,this[_0xb857d5(0xe3)]=_0x3628d2;}[_0x12854b(0x98)](_0x48c3fb){const _0xa30536=_0x12854b,_0x3c6805=[],_0x21063b=new Set(),_0x58c9c4=new Set();for(let _0x592ea4=0x0;_0x592ea4<_0x48c3fb[_0xa30536(0x8f)];_0x592ea4++){const _0x816315=_0x48c3fb[_0x592ea4];if(!_0x816315[_0xa30536(0xbd)])continue;const _0x21ef2b=this[_0xa30536(0xc7)](_0x816315);if(_0x21ef2b){if(null!=_0x816315[_0xa30536(0x9a)]){if(_0x21063b[_0xa30536(0xd8)](_0x816315[_0xa30536(0x9a)]))continue;_0x21063b[_0xa30536(0xad)](_0x816315[_0xa30536(0x9a)]);}_0x3c6805[_0xa30536(0xe1)](_0x21ef2b);}else{if(_0xa30536(0xa0)!=_0x816315[_0xa30536(0xc1)])_0xa30536(0xb7)!=_0x816315[_0xa30536(0xc1)]&&_0xa30536(0xbe)!=_0x816315[_0xa30536(0xc1)]||this[_0xa30536(0xac)](_0x3c6805,_0x816315,_0x48c3fb[_0x592ea4+0x1]);else{const _0x19d23c=_0x816315[_0xa30536(0x8b)][_0xa30536(0x92)];if(_0x58c9c4[_0xa30536(0xd8)](_0x19d23c))continue;_0x58c9c4[_0xa30536(0xad)](_0x816315[_0xa30536(0x8b)][_0xa30536(0x92)]),_0x19d23c==_0x3d5b68?this[_0xa30536(0x8e)](_0x3c6805,_0x816315):this[_0xa30536(0xab)](_0x3c6805,_0x816315);}}}return this[_0xa30536(0xca)](_0x3c6805);}[_0x12854b(0xd1)](_0x45623d){const _0x4e6809=_0x12854b;this[_0x4e6809(0xda)][_0x4e6809(0xe1)](_0x45623d);}[_0x12854b(0xb6)](_0x2670f6,_0xa78a5e,_0x462fcd=_0x565528[_0x12854b(0x8a)]){const _0x24e8dc=_0x12854b;_0x24e8dc(0xb9)==typeof _0x2670f6?_0xea659f(this[_0x24e8dc(0xa7)],{'matchingCallback':_0x2670f6,'label':_0xa78a5e,'priority':_0x462fcd}):this[_0x24e8dc(0xc5)][_0x24e8dc(0xa5)](_0x2670f6,_0xa78a5e);}[_0x12854b(0xde)](_0x3bc1fd,_0x458d69){const _0x23bce3=_0x12854b;this[_0x23bce3(0xd0)][_0x23bce3(0xa5)](_0x3bc1fd,_0x458d69);}[_0x12854b(0xa1)](_0x4da8c4,_0x362936=0x1){const _0xf3b2a6=_0x12854b;let _0x19c9d4;for(const _0x5655d8 of this[_0xf3b2a6(0xa7)])if(_0x5655d8[_0xf3b2a6(0x91)](_0x4da8c4)){_0x19c9d4=_0x5655d8[_0xf3b2a6(0xa6)];break;}return _0x19c9d4||(_0x19c9d4=this[_0xf3b2a6(0xc5)][_0xf3b2a6(0xce)](_0x4da8c4[_0xf3b2a6(0xc9)])),_0x19c9d4?_0x19c9d4(_0x362936):0x1!==_0x362936?_0x362936+'\x20'+_0x4da8c4[_0xf3b2a6(0xc9)]+'s':''+_0x4da8c4[_0xf3b2a6(0xc9)];}[_0x12854b(0xdf)](_0x40e6f6,_0x3ad5ad){const _0x42bc18=_0x12854b,_0x1555ed=_0x3ad5ad[_0x42bc18(0xb1)]()[_0x42bc18(0xcc)](),_0x2e1e64=_0x42bc18(0xb7)==_0x3ad5ad[_0x42bc18(0xc1)]?_0x42bc18(0xad):_0x42bc18(0xdd);for(const _0x15fa17 of _0x1555ed){const _0x57c47f=_0x15fa17[_0x42bc18(0xcb)],_0x5933c4=_0x40e6f6[_0x40e6f6[_0x42bc18(0x8f)]-0x1];if(_0x57c47f['is'](_0x42bc18(0xe6)))_0x5933c4&&_0x5933c4[_0x42bc18(0xc1)][_0x42bc18(0xe5)](_0x42bc18(0xbc))>-0x1&&_0x40e6f6[_0x42bc18(0xc3)](),_0x5933c4&&_0x42bc18(0xbf)==_0x5933c4[_0x42bc18(0xc1)]?_0x5933c4[_0x2e1e64]+=_0x57c47f[_0x42bc18(0x8b)]:_0x40e6f6[_0x42bc18(0xe1)]({'type':_0x42bc18(0xbf),'add':_0x42bc18(0xad)==_0x2e1e64?_0x57c47f[_0x42bc18(0x8b)]:'','remove':_0x42bc18(0xdd)==_0x2e1e64?_0x57c47f[_0x42bc18(0x8b)]:''});else{if(this[_0x42bc18(0xb0)][_0x42bc18(0xe0)](_0x57c47f)){const _0x82f6c1=_0x57c47f;if(_0x5933c4&&_0x5933c4[_0x42bc18(0xc1)][_0x42bc18(0xe5)](_0x42bc18(0xbc))>-0x1&&_0x40e6f6[_0x42bc18(0xc3)](),_0x42bc18(0xb5)==_0x15fa17[_0x42bc18(0xc1)])continue;_0x5933c4&&_0x5933c4[_0x42bc18(0xc1)]==_0x2e1e64+_0x42bc18(0x97)&&_0x5933c4[_0x42bc18(0xa8)][_0x42bc18(0xc9)]==_0x82f6c1[_0x42bc18(0xc9)]?_0x5933c4[_0x42bc18(0xcd)]++:_0x40e6f6[_0x42bc18(0xe1)]({'type':_0x2e1e64+_0x42bc18(0x97),'element':_0x82f6c1,'quantity':0x1}),_0x1555ed[_0x42bc18(0xc2)](_0x2def6a=>!(_0x42bc18(0xb5)==_0x2def6a[_0x42bc18(0xc1)]&&_0x2def6a[_0x42bc18(0xcb)]==_0x57c47f));}else{if(this[_0x42bc18(0xb0)][_0x42bc18(0xc4)](_0x57c47f,_0x42bc18(0xd7))||_0x57c47f['is'](_0x42bc18(0xa8),_0x42bc18(0xd4))){const _0x1ca1b4=_0x57c47f;if(_0x42bc18(0xad)==_0x2e1e64&&_0x42bc18(0x9f)==_0x15fa17[_0x42bc18(0xc1)]||_0x42bc18(0xdd)==_0x2e1e64&&_0x42bc18(0xb5)==_0x15fa17[_0x42bc18(0xc1)])continue;if(_0x5933c4&&-0x1==_0x5933c4[_0x42bc18(0xc1)][_0x42bc18(0xe5)](_0x42bc18(0xbc))){_0x42bc18(0xbf)==_0x5933c4[_0x42bc18(0xc1)]&&(_0x5933c4[_0x2e1e64]+='\x0a');continue;}let _0x107fbe;if(_0x107fbe=_0x42bc18(0xad)==_0x2e1e64?_0x1ca1b4[_0x42bc18(0xe4)]&&!this[_0x42bc18(0xb0)][_0x42bc18(0xe0)](_0x1ca1b4[_0x42bc18(0xe4)])?_0x1ca1b4[_0x42bc18(0xe4)]:null:_0x1ca1b4[_0x42bc18(0xd2)]&&!this[_0x42bc18(0xb0)][_0x42bc18(0xe0)](_0x1ca1b4[_0x42bc18(0xd2)])?_0x1ca1b4[_0x42bc18(0xd2)]:null,_0x1ca1b4[_0x42bc18(0xa2)]||_0x107fbe&&_0x107fbe[_0x42bc18(0xa2)]){const _0x41a182=_0x107fbe&&_0x107fbe[_0x42bc18(0xa2)]?_0x107fbe:_0x1ca1b4;_0x5933c4&&_0x5933c4[_0x42bc18(0xc1)]==_0x2e1e64+_0x42bc18(0x8d)&&_0x5933c4[_0x42bc18(0xa8)][_0x42bc18(0xc9)]==_0x41a182[_0x42bc18(0xc9)]?_0x5933c4[_0x42bc18(0xcd)]++:_0x40e6f6[_0x42bc18(0xe1)]({'type':_0x2e1e64+_0x42bc18(0x8d),'element':_0x41a182,'quantity':0x1});}else _0x40e6f6[_0x42bc18(0xe1)]({'type':_0x2e1e64+_0x42bc18(0xbc),'element':_0x1ca1b4});}}}}}[_0x12854b(0xca)](_0x23306b){const _0x80efbd=_0x12854b,_0x3a7295=this[_0x80efbd(0xe3)],_0x36d39d=[],_0xbed4ac=[],_0x7cd788=[];for(const _0xab3845 of _0x23306b)switch(_0xab3845[_0x80efbd(0xc1)]){case _0x80efbd(0xbf):if(_0xab3845[_0x80efbd(0xad)]=_0xab3845[_0x80efbd(0xad)][_0x80efbd(0x87)](/(\S)\u000A+(\S)/g,_0x80efbd(0xdc))[_0x80efbd(0x87)](/\u000A/g,''),_0xab3845[_0x80efbd(0xdd)]=_0xab3845[_0x80efbd(0xdd)][_0x80efbd(0x87)](/(\S)\u000A+(\S)/g,_0x80efbd(0xdc))[_0x80efbd(0x87)](/\u000A/g,''),''!=_0xab3845[_0x80efbd(0xad)]&&''!=_0xab3845[_0x80efbd(0xdd)]){_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0x87),'content':_0x51aebb(_0x3a7295,_0x80efbd(0xa9),['\x22'+_0xab3845[_0x80efbd(0xdd)]+'\x22','\x22'+_0xab3845[_0x80efbd(0xad)]+'\x22'])});continue;}if(null!=_0xab3845[_0x80efbd(0xad)][_0x80efbd(0x90)](/^ +$/)){_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xb7),'content':_0x51aebb(_0x3a7295,_0x80efbd(0xbb),_0x51aebb(_0x3a7295,_0x80efbd(0xb2),_0xab3845[_0x80efbd(0xad)][_0x80efbd(0x8f)]))});continue;}if(null!=_0xab3845[_0x80efbd(0xdd)][_0x80efbd(0x90)](/^ +$/)){_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xbe),'content':_0x51aebb(_0x3a7295,_0x80efbd(0x9c),_0x51aebb(_0x3a7295,_0x80efbd(0xb2),_0xab3845[_0x80efbd(0xdd)][_0x80efbd(0x8f)]))});continue;}if(''!=_0xab3845[_0x80efbd(0xad)]){_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xb7),'content':_0x51aebb(_0x3a7295,_0x80efbd(0xbb),'\x22'+_0xab3845[_0x80efbd(0xad)]+'\x22')});continue;}_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xbe),'content':_0x51aebb(_0x3a7295,_0x80efbd(0x9c),'\x22'+_0xab3845[_0x80efbd(0xdd)]+'\x22')});continue;case _0x80efbd(0x93):case _0x80efbd(0xd5):_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xb7),'content':_0x51aebb(_0x3a7295,_0x80efbd(0xbb),this[_0x80efbd(0xa1)](_0xab3845[_0x80efbd(0xa8)],_0xab3845[_0x80efbd(0xcd)]))});continue;case _0x80efbd(0xd6):case _0x80efbd(0xa4):_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xbe),'content':_0x51aebb(_0x3a7295,_0x80efbd(0x9c),this[_0x80efbd(0xa1)](_0xab3845[_0x80efbd(0xa8)],_0xab3845[_0x80efbd(0xcd)]))});continue;case _0x80efbd(0x9e):_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xb7),'content':_0x51aebb(_0x3a7295,_0x80efbd(0x99),this[_0x80efbd(0xa1)](_0xab3845[_0x80efbd(0xa8)],_0xab3845[_0x80efbd(0xcd)]))});continue;case _0x80efbd(0xaa):_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xbe),'content':_0x51aebb(_0x3a7295,_0x80efbd(0xc8),this[_0x80efbd(0xa1)](_0xab3845[_0x80efbd(0xa8)],_0xab3845[_0x80efbd(0xcd)]))});continue;case _0x80efbd(0xe7):_0xbed4ac[_0x80efbd(0xe1)](_0xab3845[_0x80efbd(0x92)]);continue;case _0x80efbd(0xcf):_0x7cd788[_0x80efbd(0xe1)](_0xab3845[_0x80efbd(0x92)]);continue;default:_0x36d39d[_0x80efbd(0xe1)](_0xab3845);}if(_0xbed4ac[_0x80efbd(0x8f)]){const _0x89b7ef=_0xbed4ac[_0x80efbd(0xa3)](_0x39db32=>this[_0x80efbd(0xd0)][_0x80efbd(0xd8)](_0x39db32)?this[_0x80efbd(0xd0)][_0x80efbd(0xce)](_0x39db32):_0x39db32)[_0x80efbd(0xba)](',\x20');_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xd3),'content':_0x51aebb(this[_0x80efbd(0xe3)],_0x80efbd(0x95),_0x89b7ef)});}if(_0x7cd788[_0x80efbd(0x8f)]){const _0x5a649c=_0x7cd788[_0x80efbd(0xa3)](_0x55b98a=>this[_0x80efbd(0xd0)][_0x80efbd(0xd8)](_0x55b98a)?this[_0x80efbd(0xd0)][_0x80efbd(0xce)](_0x55b98a):_0x55b98a)[_0x80efbd(0xba)](',\x20');_0x36d39d[_0x80efbd(0xe1)]({'type':_0x80efbd(0xd3),'content':_0x51aebb(this[_0x80efbd(0xe3)],_0x80efbd(0x96),_0x5a649c)});}return _0x36d39d;}[_0x12854b(0xc7)](_0x2d5159){const _0x32cc4b=_0x12854b;for(const _0x4e5fb3 of this[_0x32cc4b(0xda)]){const _0x375aa7=_0x4e5fb3(_0x2d5159);if(_0x375aa7&&_0x32cc4b(0xc1)in _0x375aa7)return _0x375aa7;}}[_0x12854b(0xab)](_0x10fcac,_0x3b240a){const _0x579b93=_0x12854b,_0x121c4d=_0x3b240a[_0x579b93(0x8b)],_0x4ba870=void 0x0===_0x121c4d[_0x579b93(0xe2)]?_0x579b93(0xcf):_0x579b93(0xe7);_0x10fcac[_0x579b93(0xe1)]({'type':_0x4ba870,'key':_0x121c4d[_0x579b93(0x92)]});}[_0x12854b(0x8e)](_0x5032d5,_0x382497){const _0x391e8e=_0x12854b;_0x5032d5[_0x391e8e(0xe1)]({'type':_0x391e8e(0xd3),'content':_0x51aebb(this[_0x391e8e(0xe3)],_0x391e8e(0xd9),this[_0x391e8e(0xa1)](_0x382497[_0x391e8e(0xb1)]()[_0x391e8e(0xb8)][_0x391e8e(0xb4)],0x1))});}[_0x12854b(0xac)](_0x36979f,_0x4c5942,_0xef2b62){const _0x26db1c=_0x12854b;if(this[_0x26db1c(0xdf)](_0x36979f,_0x4c5942),_0xef2b62&&_0xef2b62[_0x26db1c(0xb1)]()&&!_0x4c5942[_0x26db1c(0xb1)]()[_0x26db1c(0xb3)][_0x26db1c(0xaf)](_0xef2b62[_0x26db1c(0xb1)]()[_0x26db1c(0xb8)])){const _0xd1a171=_0x36979f[_0x36979f[_0x26db1c(0x8f)]-0x1],_0x23a318=_0x26db1c(0xb7)==_0x4c5942[_0x26db1c(0xc1)]?_0x26db1c(0xad):_0x26db1c(0xdd);_0xd1a171&&_0x26db1c(0xbf)==_0xd1a171[_0x26db1c(0xc1)]&&(_0xd1a171[_0x23a318]+='\x0a');}}}function _0x158b(){const _0x35b04a=['removeEmptyContainer','$text','has','*Change\x20to:*\x20%0','_customCallbacks','362898hUGQAw','$1\x20$2','remove','registerAttributeLabel','_addDescriptionItems','isObject','push','newValue','_locale','nextSibling','indexOf','$textProxy','addFormat','replace','1409440ObDcnx','15087770xjgAad','normal','data','9hwpVBw','EmptyContainer','_handleRenameSuggestionDescription','length','match','matchingCallback','key','addEmptyContainer','4005870OAjDik','*Set\x20format:*\x20%0','*Remove\x20format:*\x20%0','Object','getDescriptions','*Split:*\x20%0','subType','1217298QdWKat','*Remove:*\x20%0','2114264Yscwne','addContainer','elementStart','attribute','getItemLabel','isEmpty','map','removeObject','set','label','_itemLabelsCallbacks','element','REPLACE_TEXT','removeContainer','_handleAttributeSuggestionDescription','_handleInsertRemoveSuggestionDescription','add','5vqVYvW','isEqual','_schema','getFirstRange','ELEMENT_SPACE','end','nodeAfter','elementEnd','registerElementLabel','insertion','start','function','join','*Insert:*\x20%0','Container','isInContent','deletion','text','1keVaeY','type','skip','pop','checkChild','_itemLabels','69552FtnLKA','_handleCustomCallbackDescription','*Merge:*\x20%0','name','_resolveDescriptionItems','item','getWalker','quantity','get','removeFormat','_attributeLabels','registerDescriptionCallback','previousSibling','format','softBreak','addObject'];_0x158b=function(){return _0x35b04a;};return _0x158b();}
|
|
23
|
+
const _0x21df77=_0x453a;(function(_0x7bf662,_0x18d816){const _0x247660=_0x453a,_0x42c142=_0x7bf662();while(!![]){try{const _0x476042=-parseInt(_0x247660(0xb3))/0x1+parseInt(_0x247660(0xbc))/0x2*(-parseInt(_0x247660(0xa3))/0x3)+parseInt(_0x247660(0xc5))/0x4+parseInt(_0x247660(0xc6))/0x5*(-parseInt(_0x247660(0xb0))/0x6)+parseInt(_0x247660(0xab))/0x7*(-parseInt(_0x247660(0x9e))/0x8)+parseInt(_0x247660(0xe5))/0x9+-parseInt(_0x247660(0xa1))/0xa*(-parseInt(_0x247660(0xca))/0xb);if(_0x476042===_0x18d816)break;else _0x42c142['push'](_0x42c142['shift']());}catch(_0x5af0ff){_0x42c142['push'](_0x42c142['shift']());}}}(_0x26a1,0xdf149));function _0x453a(_0x4c54f3,_0x469d78){const _0x26a108=_0x26a1();return _0x453a=function(_0x453a6c,_0x203af0){_0x453a6c=_0x453a6c-0x8c;let _0x56db63=_0x26a108[_0x453a6c];return _0x56db63;},_0x453a(_0x4c54f3,_0x469d78);}import{getTranslation as _0x477312}from'./utils/common-translations.js';function _0x26a1(){const _0x2e1ed6=['match','end','*Change\x20to:*\x20%0','_handleRenameSuggestionDescription','type','*Split:*\x20%0','isObject','insertion','15072444kzDdxe','$1\x20$2','registerDescriptionCallback','ELEMENT_SPACE','addContainer','skip','getItemLabel','removeObject','EmptyContainer','_schema','$text','_customCallbacks','_itemLabelsCallbacks','add','text','*Insert:*\x20%0','isEmpty','removeEmptyContainer','elementStart','nextSibling','replace','registerElementLabel','*Merge:*\x20%0','*Remove:*\x20%0','previousSibling','function','registerAttributeLabel','50488GdBXVB','getFirstRange','_handleAttributeSuggestionDescription','10rgIYwg','attribute','17517XudEIE','set','getDescriptions','$textProxy','subType','softBreak','length','quantity','798KdZyCy','REPLACE_TEXT','_handleCustomCallbackDescription','addObject','push','2002296wQIscL','matchingCallback','_locale','1712213msSaXi','_attributeLabels','map','_itemLabels','isEqual','item','get','_resolveDescriptionItems','deletion','346OcoWaU','removeFormat','normal','element','data','name','Container','removeContainer','checkChild','2431688PbNLEK','20cxwGZZ','*Remove\x20format:*\x20%0','remove','addFormat','37485547YPsdtH','label','*Set\x20format:*\x20%0','indexOf','join','start','elementEnd','Object','nodeAfter','getWalker','has','format','_handleInsertRemoveSuggestionDescription','newValue','key','_addDescriptionItems','isInContent','addEmptyContainer','pop'];_0x26a1=function(){return _0x2e1ed6;};return _0x26a1();}import{priorities as _0xcbc21b,insertToPriorityArray as _0x238200}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3f25e0}from'./trackchangesediting.js';export default class f{constructor(_0x140d71,_0x3874c0){const _0x667e52=_0x453a;this[_0x667e52(0x8e)]=[],this[_0x667e52(0xb6)]=new Map(),this[_0x667e52(0x8f)]=[],this[_0x667e52(0xb4)]=new Map(),this[_0x667e52(0x8c)]=_0x140d71,this[_0x667e52(0xb2)]=_0x3874c0;}[_0x21df77(0xa5)](_0x4e5418){const _0x207fae=_0x21df77,_0x25891a=[],_0x2334db=new Set(),_0x4b86be=new Set();for(let _0x5596aa=0x0;_0x5596aa<_0x4e5418[_0x207fae(0xa9)];_0x5596aa++){const _0x4f6575=_0x4e5418[_0x5596aa];if(!_0x4f6575[_0x207fae(0xda)])continue;const _0x4de03e=this[_0x207fae(0xad)](_0x4f6575);if(_0x4de03e){if(null!=_0x4f6575[_0x207fae(0xa7)]){if(_0x2334db[_0x207fae(0xd4)](_0x4f6575[_0x207fae(0xa7)]))continue;_0x2334db[_0x207fae(0x90)](_0x4f6575[_0x207fae(0xa7)]);}_0x25891a[_0x207fae(0xaf)](_0x4de03e);}else{if(_0x207fae(0xa2)!=_0x4f6575[_0x207fae(0xe1)])_0x207fae(0xe4)!=_0x4f6575[_0x207fae(0xe1)]&&_0x207fae(0xbb)!=_0x4f6575[_0x207fae(0xe1)]||this[_0x207fae(0xd6)](_0x25891a,_0x4f6575,_0x4e5418[_0x5596aa+0x1]);else{const _0x2b1eac=_0x4f6575[_0x207fae(0xc0)][_0x207fae(0xd8)];if(_0x4b86be[_0x207fae(0xd4)](_0x2b1eac))continue;_0x4b86be[_0x207fae(0x90)](_0x4f6575[_0x207fae(0xc0)][_0x207fae(0xd8)]),_0x2b1eac==_0x3f25e0?this[_0x207fae(0xe0)](_0x25891a,_0x4f6575):this[_0x207fae(0xa0)](_0x25891a,_0x4f6575);}}}return this[_0x207fae(0xba)](_0x25891a);}[_0x21df77(0xe7)](_0x11bf05){const _0xb23c1a=_0x21df77;this[_0xb23c1a(0x8e)][_0xb23c1a(0xaf)](_0x11bf05);}[_0x21df77(0x98)](_0x155e48,_0x3ec3d4,_0x1f384e=_0xcbc21b[_0x21df77(0xbe)]){const _0x3ad042=_0x21df77;_0x3ad042(0x9c)==typeof _0x155e48?_0x238200(this[_0x3ad042(0x8f)],{'matchingCallback':_0x155e48,'label':_0x3ec3d4,'priority':_0x1f384e}):this[_0x3ad042(0xb6)][_0x3ad042(0xa4)](_0x155e48,_0x3ec3d4);}[_0x21df77(0x9d)](_0x2e48e9,_0x344879){const _0x37f22d=_0x21df77;this[_0x37f22d(0xb4)][_0x37f22d(0xa4)](_0x2e48e9,_0x344879);}[_0x21df77(0xeb)](_0x5c290e,_0x49b6dc=0x1){const _0x1b4bf6=_0x21df77;let _0x59f663;for(const _0x271fba of this[_0x1b4bf6(0x8f)])if(_0x271fba[_0x1b4bf6(0xb1)](_0x5c290e)){_0x59f663=_0x271fba[_0x1b4bf6(0xcb)];break;}return _0x59f663||(_0x59f663=this[_0x1b4bf6(0xb6)][_0x1b4bf6(0xb9)](_0x5c290e[_0x1b4bf6(0xc1)])),_0x59f663?_0x59f663(_0x49b6dc):0x1!==_0x49b6dc?_0x49b6dc+'\x20'+_0x5c290e[_0x1b4bf6(0xc1)]+'s':''+_0x5c290e[_0x1b4bf6(0xc1)];}[_0x21df77(0xd9)](_0x444e8e,_0x504f94){const _0x1b2b5d=_0x21df77,_0x176ba5=_0x504f94[_0x1b2b5d(0x9f)]()[_0x1b2b5d(0xd3)](),_0x335017=_0x1b2b5d(0xe4)==_0x504f94[_0x1b2b5d(0xe1)]?_0x1b2b5d(0x90):_0x1b2b5d(0xc8);for(const _0x103571 of _0x176ba5){const _0x5bfafd=_0x103571[_0x1b2b5d(0xb8)],_0x5c647c=_0x444e8e[_0x444e8e[_0x1b2b5d(0xa9)]-0x1];if(_0x5bfafd['is'](_0x1b2b5d(0xa6)))_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))>-0x1&&_0x444e8e[_0x1b2b5d(0xdc)](),_0x5c647c&&_0x1b2b5d(0x91)==_0x5c647c[_0x1b2b5d(0xe1)]?_0x5c647c[_0x335017]+=_0x5bfafd[_0x1b2b5d(0xc0)]:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x1b2b5d(0x91),'add':_0x1b2b5d(0x90)==_0x335017?_0x5bfafd[_0x1b2b5d(0xc0)]:'','remove':_0x1b2b5d(0xc8)==_0x335017?_0x5bfafd[_0x1b2b5d(0xc0)]:''});else{if(this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0x5bfafd)){const _0x4ce755=_0x5bfafd;if(_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))>-0x1&&_0x444e8e[_0x1b2b5d(0xdc)](),_0x1b2b5d(0xd0)==_0x103571[_0x1b2b5d(0xe1)])continue;_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)]==_0x335017+_0x1b2b5d(0xd1)&&_0x5c647c[_0x1b2b5d(0xbf)][_0x1b2b5d(0xc1)]==_0x4ce755[_0x1b2b5d(0xc1)]?_0x5c647c[_0x1b2b5d(0xaa)]++:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xd1),'element':_0x4ce755,'quantity':0x1}),_0x176ba5[_0x1b2b5d(0xea)](_0x5cd275=>!(_0x1b2b5d(0xd0)==_0x5cd275[_0x1b2b5d(0xe1)]&&_0x5cd275[_0x1b2b5d(0xb8)]==_0x5bfafd));}else{if(this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xc4)](_0x5bfafd,_0x1b2b5d(0x8d))||_0x5bfafd['is'](_0x1b2b5d(0xbf),_0x1b2b5d(0xa8))){const _0xf14aee=_0x5bfafd;if(_0x1b2b5d(0x90)==_0x335017&&_0x1b2b5d(0x95)==_0x103571[_0x1b2b5d(0xe1)]||_0x1b2b5d(0xc8)==_0x335017&&_0x1b2b5d(0xd0)==_0x103571[_0x1b2b5d(0xe1)])continue;if(_0x5c647c&&-0x1==_0x5c647c[_0x1b2b5d(0xe1)][_0x1b2b5d(0xcd)](_0x1b2b5d(0xc2))){_0x1b2b5d(0x91)==_0x5c647c[_0x1b2b5d(0xe1)]&&(_0x5c647c[_0x335017]+='\x0a');continue;}let _0xedd6c4;if(_0xedd6c4=_0x1b2b5d(0x90)==_0x335017?_0xf14aee[_0x1b2b5d(0x96)]&&!this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0xf14aee[_0x1b2b5d(0x96)])?_0xf14aee[_0x1b2b5d(0x96)]:null:_0xf14aee[_0x1b2b5d(0x9b)]&&!this[_0x1b2b5d(0x8c)][_0x1b2b5d(0xe3)](_0xf14aee[_0x1b2b5d(0x9b)])?_0xf14aee[_0x1b2b5d(0x9b)]:null,_0xf14aee[_0x1b2b5d(0x93)]||_0xedd6c4&&_0xedd6c4[_0x1b2b5d(0x93)]){const _0x63675c=_0xedd6c4&&_0xedd6c4[_0x1b2b5d(0x93)]?_0xedd6c4:_0xf14aee;_0x5c647c&&_0x5c647c[_0x1b2b5d(0xe1)]==_0x335017+_0x1b2b5d(0xed)&&_0x5c647c[_0x1b2b5d(0xbf)][_0x1b2b5d(0xc1)]==_0x63675c[_0x1b2b5d(0xc1)]?_0x5c647c[_0x1b2b5d(0xaa)]++:_0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xed),'element':_0x63675c,'quantity':0x1});}else _0x444e8e[_0x1b2b5d(0xaf)]({'type':_0x335017+_0x1b2b5d(0xc2),'element':_0xf14aee});}}}}}[_0x21df77(0xba)](_0x48db5a){const _0x27f78c=_0x21df77,_0x440cfd=this[_0x27f78c(0xb2)],_0x5fc218=[],_0x156481=[],_0x483e8c=[];for(const _0x521fee of _0x48db5a)switch(_0x521fee[_0x27f78c(0xe1)]){case _0x27f78c(0x91):if(_0x521fee[_0x27f78c(0x90)]=_0x521fee[_0x27f78c(0x90)][_0x27f78c(0x97)](/(\S)\u000A+(\S)/g,_0x27f78c(0xe6))[_0x27f78c(0x97)](/\u000A/g,''),_0x521fee[_0x27f78c(0xc8)]=_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0x97)](/(\S)\u000A+(\S)/g,_0x27f78c(0xe6))[_0x27f78c(0x97)](/\u000A/g,''),''!=_0x521fee[_0x27f78c(0x90)]&&''!=_0x521fee[_0x27f78c(0xc8)]){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0x97),'content':_0x477312(_0x440cfd,_0x27f78c(0xac),['\x22'+_0x521fee[_0x27f78c(0xc8)]+'\x22','\x22'+_0x521fee[_0x27f78c(0x90)]+'\x22'])});continue;}if(null!=_0x521fee[_0x27f78c(0x90)][_0x27f78c(0xdd)](/^ +$/)){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),_0x477312(_0x440cfd,_0x27f78c(0xe8),_0x521fee[_0x27f78c(0x90)][_0x27f78c(0xa9)]))});continue;}if(null!=_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0xdd)](/^ +$/)){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),_0x477312(_0x440cfd,_0x27f78c(0xe8),_0x521fee[_0x27f78c(0xc8)][_0x27f78c(0xa9)]))});continue;}if(''!=_0x521fee[_0x27f78c(0x90)]){_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),'\x22'+_0x521fee[_0x27f78c(0x90)]+'\x22')});continue;}_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),'\x22'+_0x521fee[_0x27f78c(0xc8)]+'\x22')});continue;case _0x27f78c(0xdb):case _0x27f78c(0xae):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0x92),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0x94):case _0x27f78c(0xec):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x9a),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xe9):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xe4),'content':_0x477312(_0x440cfd,_0x27f78c(0xe2),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xc3):_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xbb),'content':_0x477312(_0x440cfd,_0x27f78c(0x99),this[_0x27f78c(0xeb)](_0x521fee[_0x27f78c(0xbf)],_0x521fee[_0x27f78c(0xaa)]))});continue;case _0x27f78c(0xc9):_0x156481[_0x27f78c(0xaf)](_0x521fee[_0x27f78c(0xd8)]);continue;case _0x27f78c(0xbd):_0x483e8c[_0x27f78c(0xaf)](_0x521fee[_0x27f78c(0xd8)]);continue;default:_0x5fc218[_0x27f78c(0xaf)](_0x521fee);}if(_0x156481[_0x27f78c(0xa9)]){const _0x25feba=_0x156481[_0x27f78c(0xb5)](_0x357ecd=>this[_0x27f78c(0xb4)][_0x27f78c(0xd4)](_0x357ecd)?this[_0x27f78c(0xb4)][_0x27f78c(0xb9)](_0x357ecd):_0x357ecd)[_0x27f78c(0xce)](',\x20');_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xd5),'content':_0x477312(this[_0x27f78c(0xb2)],_0x27f78c(0xcc),_0x25feba)});}if(_0x483e8c[_0x27f78c(0xa9)]){const _0x207253=_0x483e8c[_0x27f78c(0xb5)](_0x279dc1=>this[_0x27f78c(0xb4)][_0x27f78c(0xd4)](_0x279dc1)?this[_0x27f78c(0xb4)][_0x27f78c(0xb9)](_0x279dc1):_0x279dc1)[_0x27f78c(0xce)](',\x20');_0x5fc218[_0x27f78c(0xaf)]({'type':_0x27f78c(0xd5),'content':_0x477312(this[_0x27f78c(0xb2)],_0x27f78c(0xc7),_0x207253)});}return _0x5fc218;}[_0x21df77(0xad)](_0x3abc73){const _0x36475e=_0x21df77;for(const _0x33b73b of this[_0x36475e(0x8e)]){const _0xcd1d3f=_0x33b73b(_0x3abc73);if(_0xcd1d3f&&_0x36475e(0xe1)in _0xcd1d3f)return _0xcd1d3f;}}[_0x21df77(0xa0)](_0x3187d3,_0x2fd9f2){const _0x3f679c=_0x21df77,_0x18c49d=_0x2fd9f2[_0x3f679c(0xc0)],_0xd93ecf=void 0x0===_0x18c49d[_0x3f679c(0xd7)]?_0x3f679c(0xbd):_0x3f679c(0xc9);_0x3187d3[_0x3f679c(0xaf)]({'type':_0xd93ecf,'key':_0x18c49d[_0x3f679c(0xd8)]});}[_0x21df77(0xe0)](_0x3883ce,_0x476ea1){const _0x251e0c=_0x21df77;_0x3883ce[_0x251e0c(0xaf)]({'type':_0x251e0c(0xd5),'content':_0x477312(this[_0x251e0c(0xb2)],_0x251e0c(0xdf),this[_0x251e0c(0xeb)](_0x476ea1[_0x251e0c(0x9f)]()[_0x251e0c(0xcf)][_0x251e0c(0xd2)],0x1))});}[_0x21df77(0xd6)](_0xc884d2,_0x20656c,_0x44beac){const _0xfacde8=_0x21df77;if(this[_0xfacde8(0xd9)](_0xc884d2,_0x20656c),_0x44beac&&_0x44beac[_0xfacde8(0x9f)]()&&!_0x20656c[_0xfacde8(0x9f)]()[_0xfacde8(0xde)][_0xfacde8(0xb7)](_0x44beac[_0xfacde8(0x9f)]()[_0xfacde8(0xcf)])){const _0x4589ce=_0xc884d2[_0xc884d2[_0xfacde8(0xa9)]-0x1],_0x1c0e2c=_0xfacde8(0xe4)==_0x20656c[_0xfacde8(0xe1)]?_0xfacde8(0x90):_0xfacde8(0xc8);_0x4589ce&&_0xfacde8(0x91)==_0x4589ce[_0xfacde8(0xe1)]&&(_0x4589ce[_0x1c0e2c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2fddf3=_0xb15e;function _0xb15e(_0x126b04,_0x28e847){var _0xb649de=_0xb649();return _0xb15e=function(_0xb15e69,_0x91700a){_0xb15e69=_0xb15e69-0x86;var _0x1f2180=_0xb649de[_0xb15e69];return _0x1f2180;},_0xb15e(_0x126b04,_0x28e847);}(function(_0x44b198,_0x324c12){var _0x28fa2c=_0xb15e,_0x3ebee2=_0x44b198();while(!![]){try{var _0xa7dd61=-parseInt(_0x28fa2c(0x9a))/0x1+-parseInt(_0x28fa2c(0x97))/0x2*(parseInt(_0x28fa2c(0x8e))/0x3)+parseInt(_0x28fa2c(0x98))/0x4*(parseInt(_0x28fa2c(0x88))/0x5)+parseInt(_0x28fa2c(0x93))/0x6+parseInt(_0x28fa2c(0x8d))/0x7+parseInt(_0x28fa2c(0x8b))/0x8+-parseInt(_0x28fa2c(0x89))/0x9*(-parseInt(_0x28fa2c(0x92))/0xa);if(_0xa7dd61===_0x324c12)break;else _0x3ebee2['push'](_0x3ebee2['shift']());}catch(_0x212b11){_0x3ebee2['push'](_0x3ebee2['shift']());}}}(_0xb649,0x44f36));import{Plugin as _0x19d792}from'ckeditor5/src/core.js';import _0x4343c4 from'./trackchangesui.js';function _0xb649(){var _0x32552a=['1582567rHpKTY','15IPeZzR','plugins','get','adapter','1439190ArIJFm','1182102TysZbC','requires','addSuggestion','editor','143966LmTEvE','52RNuxwf','getSuggestions','130730DAUjCt','Comments','getSuggestion','pluginName','77255xytMun','9rmfNlS','TrackChanges','41496HzPRnB','addSuggestionData'];_0xb649=function(){return _0x32552a;};return _0xb649();}import _0x3cea70 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x19d792{static get[_0x2fddf3(0x94)](){var _0x4dd59f=_0x2fddf3;return[_0x3cea70,_0x4343c4,_0x4dd59f(0x9b)];}static get[_0x2fddf3(0x87)](){var _0x243ae5=_0x2fddf3;return _0x243ae5(0x8a);}set[_0x2fddf3(0x91)](_0x9079f4){var _0x1e6cfb=_0x2fddf3;this[_0x1e6cfb(0x96)][_0x1e6cfb(0x8f)][_0x1e6cfb(0x90)](_0x3cea70)[_0x1e6cfb(0x91)]=_0x9079f4;}get[_0x2fddf3(0x91)](){var _0x57747e=_0x2fddf3;return this[_0x57747e(0x96)][_0x57747e(0x8f)][_0x57747e(0x90)](_0x3cea70)[_0x57747e(0x91)];}[_0x2fddf3(0x95)](_0x5afa83){var _0x290037=_0x2fddf3;return this[_0x290037(0x96)][_0x290037(0x8f)][_0x290037(0x90)](_0x3cea70)[_0x290037(0x8c)](_0x5afa83);}[_0x2fddf3(0x99)]({skipNotAttached:_0x383e96=!0x1,toJSON:_0x2135ea=!0x1}={}){var _0x3e226c=_0x2fddf3;return this[_0x3e226c(0x96)][_0x3e226c(0x8f)][_0x3e226c(0x90)](_0x3cea70)[_0x3e226c(0x99)]({'skipNotAttached':_0x383e96,'toJSON':_0x2135ea});}[_0x2fddf3(0x86)](_0x593f9a){var _0x2d446a=_0x2fddf3;return this[_0x2d446a(0x96)][_0x2d446a(0x8f)][_0x2d446a(0x90)](_0x3cea70)[_0x2d446a(0x86)](_0x593f9a);}}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import type SuggestionThreadView from './ui/view/suggestionthreadview.js';
|
|
10
|
+
import type SuggestionView from './ui/view/suggestionview.js';
|
|
10
11
|
/**
|
|
11
12
|
* The configuration of the track changes feature.
|
|
12
13
|
*
|
|
@@ -75,4 +76,10 @@ export interface TrackChangesConfig {
|
|
|
75
76
|
* when this property is not set.
|
|
76
77
|
*/
|
|
77
78
|
SuggestionThreadView?: typeof SuggestionThreadView;
|
|
79
|
+
/**
|
|
80
|
+
* A view class to be used to create the suggestion view.
|
|
81
|
+
*
|
|
82
|
+
* {@link module:track-changes/ui/view/suggestionview~SuggestionView} is used by default when this property is not set.
|
|
83
|
+
*/
|
|
84
|
+
SuggestionView?: typeof SuggestionView;
|
|
78
85
|
}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21f412=_0x5732;(function(_0x57b552,_0x59895c){const _0x1b4ae=_0x5732,_0x2c0dc4=_0x57b552();while(!![]){try{const _0x25c22e=parseInt(_0x1b4ae(0x1ee))/0x1+parseInt(_0x1b4ae(0x1e3))/0x2*(parseInt(_0x1b4ae(0x1cb))/0x3)+parseInt(_0x1b4ae(0x1ed))/0x4+parseInt(_0x1b4ae(0x1c2))/0x5+parseInt(_0x1b4ae(0x1c7))/0x6+-parseInt(_0x1b4ae(0x1b2))/0x7*(-parseInt(_0x1b4ae(0x1ea))/0x8)+-parseInt(_0x1b4ae(0x1b3))/0x9;if(_0x25c22e===_0x59895c)break;else _0x2c0dc4['push'](_0x2c0dc4['shift']());}catch(_0x692bee){_0x2c0dc4['push'](_0x2c0dc4['shift']());}}}(_0x2626,0x2833f));import{Plugin as _0x229de6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae099}from'ckeditor5/src/utils.js';import _0x4dfeae from'./trackchangesediting.js';function _0x5732(_0x64aae3,_0x5d7e18){const _0x262630=_0x2626();return _0x5732=function(_0x5732b3,_0x45c7e2){_0x5732b3=_0x5732b3-0x1b2;let _0x1689b0=_0x262630[_0x5732b3];return _0x1689b0;},_0x5732(_0x64aae3,_0x5d7e18);}import{sanitizeEditorConfig as _0x5904bb}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x21f412(0x1e4)];export default class P extends _0x229de6{static get[_0x21f412(0x1e0)](){return[_0x4dfeae];}static get[_0x21f412(0x1e2)](){const _0x146563=_0x21f412;return _0x146563(0x1e7);}[_0x21f412(0x1bf)](){const _0x1bdf26=_0x21f412,_0xc4b8ae=this[_0x1bdf26(0x1d9)];if(_0xc4b8ae[_0x1bdf26(0x1bd)][_0x1bdf26(0x1e1)](_0x1bdf26(0x1d3),_0x1c9029=>{const _0x2c33e9=_0x1bdf26,_0x46ce22=_0xc4b8ae[_0x2c33e9(0x1ce)][_0x2c33e9(0x1c5)][_0x2c33e9(0x1d7)]()[_0x2c33e9(0x1cd)]((_0x3522ff,_0x4ce26c)=>(_0x3522ff[_0x4ce26c]='',_0x3522ff),{});return _0xc4b8ae[_0x2c33e9(0x1ba)][_0x2c33e9(0x1c4)](_0x46ce22,_0x1c9029);}),_0x1bdf26(0x1de)!=typeof _0xc4b8ae[_0x1bdf26(0x1bd)][_0x1bdf26(0x1d4)](_0x1bdf26(0x1c8))[_0x1bdf26(0x1d5)])throw new _0x3ae099(_0x1bdf26(0x1cc));}[_0x21f412(0x1b6)](_0x2b6a97){const _0x4e9bc5=_0x21f412;return N(this[_0x4e9bc5(0x1d9)],!0x0,_0x2b6a97);}[_0x21f412(0x1e8)](_0x258321){const _0x4f3f05=_0x21f412;return N(this[_0x4f3f05(0x1d9)],!0x1,_0x258321);}}function _0x2626(){const _0x571203=['createElement','getFullData','constructor','div','name','config','map','init','addSuggestionData','createDocumentFragment','1252140YkZTuz','TrackChangesDataGetter','create','document','_adapter','1195482iNTHII','trackChangesData','getRootsAttributes','getSuggestions','2481UOTBeo','track-changes-data-invalid-editor-creator','reduce','model','appendChild','end','rootsAttributes','acceptAllSuggestions','trackChangesData.editorCreator','get','editorCreator','execute','getRootNames','getCommentThreads','editor','data','useAnonymousUser','Users','CommentsRepository','function','plugins','requires','define','pluginName','124qbYgUx','Pagination','discardAllSuggestions','set','TrackChangesData','getDataWithDiscardedSuggestions','result','671112JwOFGO','push','users','377496NiAyCC','192823PNwlWO','getUser','addUser','14qtCTjf','7121277XZxyBa','TrackChangesEditing','addCommentThread','getDataWithAcceptedSuggestions','destroy'];_0x2626=function(){return _0x571203;};return _0x2626();}class D extends _0x229de6{static get[_0x21f412(0x1e2)](){const _0x233249=_0x21f412;return _0x233249(0x1c3);}constructor(_0x8f7c62){const _0x1d7f97=_0x21f412;super(_0x8f7c62),this[_0x1d7f97(0x1e9)]=_0x1d7f97(0x1d0);}[_0x21f412(0x1bf)](){const _0x2371fb=_0x21f412;this[_0x2371fb(0x1d9)][_0x2371fb(0x1df)][_0x2371fb(0x1d4)](_0x2371fb(0x1dd))[_0x2371fb(0x1c6)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x2371fb(0x1d9)][_0x2371fb(0x1df)][_0x2371fb(0x1d4)](_0x2371fb(0x1b4))[_0x2371fb(0x1c6)]=null;}}function v(_0x4999e6){const _0x4b79df=_0x21f412;return void 0x0!==_0x4999e6[_0x4b79df(0x1c9)];}async function N(_0x1dc791,_0x41e6a6,_0x7f5369){const _0x5796d3=_0x21f412,_0x10e259=_0x5904bb(_0x1dc791,T);_0x10e259[_0x5796d3(0x1df)][_0x5796d3(0x1eb)](_0x4dfeae,D),_0x10e259[_0x5796d3(0x1d1)]=v(_0x1dc791)?_0x1dc791[_0x5796d3(0x1c9)]():void 0x0;const _0x859f98=document[_0x5796d3(0x1c1)](),_0xaa15f9=_0x1dc791[_0x5796d3(0x1bd)][_0x5796d3(0x1d4)](_0x5796d3(0x1c8))[_0x5796d3(0x1d5)],_0x2aa68c=await _0xaa15f9(_0x10e259,()=>function(_0x392e66){const _0x4ce388=_0x5796d3,_0x4fc899=document[_0x4ce388(0x1b8)](_0x4ce388(0x1bb));return _0x392e66[_0x4ce388(0x1cf)](_0x4fc899),_0x4fc899;}(_0x859f98));!function(_0x48c320,_0x12e7e0){const _0x528a8a=_0x5796d3,_0x395060=_0x48c320[_0x528a8a(0x1ce)][_0x528a8a(0x1c5)][_0x528a8a(0x1d7)]()[_0x528a8a(0x1cd)]((_0x446ddb,_0x37fbac)=>(_0x446ddb[_0x37fbac]=_0x48c320[_0x528a8a(0x1da)][_0x528a8a(0x1d4)]({'rootName':_0x37fbac}),_0x446ddb),{}),_0x37a716=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dc))[_0x528a8a(0x1ec)][_0x528a8a(0x1be)](_0x5157c2=>({'id':_0x5157c2['id'],'name':_0x5157c2[_0x528a8a(0x1bc)]})),_0x39d60e=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1b4))[_0x528a8a(0x1ca)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x49a432=_0x48c320[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dd))[_0x528a8a(0x1d8)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4607f1=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dc)),_0x4eb866=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1b4)),_0x54109a=_0x12e7e0[_0x528a8a(0x1df)][_0x528a8a(0x1d4)](_0x528a8a(0x1dd));for(const _0x4c633e of _0x37a716)_0x4607f1[_0x528a8a(0x1ef)](_0x4c633e['id'])||_0x4607f1[_0x528a8a(0x1f0)](_0x4c633e);_0x4607f1['me']||_0x4607f1[_0x528a8a(0x1db)]();for(const _0x44d660 of _0x49a432)_0x54109a[_0x528a8a(0x1b5)](_0x44d660);for(const _0x4283b4 of _0x39d60e)_0x4eb866[_0x528a8a(0x1c0)](_0x4283b4);_0x12e7e0[_0x528a8a(0x1da)][_0x528a8a(0x1e6)](_0x395060);}(_0x1dc791,_0x2aa68c),_0x2aa68c[_0x5796d3(0x1d6)](_0x41e6a6?_0x5796d3(0x1d2):_0x5796d3(0x1e5));const _0x423a5a=v(_0x2aa68c)?_0x2aa68c[_0x5796d3(0x1b9)](_0x7f5369):_0x2aa68c[_0x5796d3(0x1da)][_0x5796d3(0x1d4)](_0x7f5369);return await _0x2aa68c[_0x5796d3(0x1b7)](),_0x423a5a;}
|