@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240619.0 → 0.0.0-nightly-20240619.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf95aa0=_0x29c6;function _0x29c6(_0x21909b,_0x3bcc2b){const _0x136e82=_0x136e();return _0x29c6=function(_0x29c6ea,_0x23b1ad){_0x29c6ea=_0x29c6ea-0x153;let _0x477369=_0x136e82[_0x29c6ea];return _0x477369;},_0x29c6(_0x21909b,_0x3bcc2b);}(function(_0x378244,_0x2a6647){const _0x261ce8=_0x29c6,_0x57d029=_0x378244();while(!![]){try{const _0x223c14=-parseInt(_0x261ce8(0x16e))/0x1*(parseInt(_0x261ce8(0x1a4))/0x2)+parseInt(_0x261ce8(0x194))/0x3+-parseInt(_0x261ce8(0x156))/0x4+parseInt(_0x261ce8(0x17e))/0x5*(parseInt(_0x261ce8(0x179))/0x6)+-parseInt(_0x261ce8(0x185))/0x7+-parseInt(_0x261ce8(0x15a))/0x8*(parseInt(_0x261ce8(0x16c))/0x9)+-parseInt(_0x261ce8(0x158))/0xa*(-parseInt(_0x261ce8(0x16d))/0xb);if(_0x223c14===_0x2a6647)break;else _0x57d029['push'](_0x57d029['shift']());}catch(_0x4e08d5){_0x57d029['push'](_0x57d029['shift']());}}}(_0x136e,0x2a63e));import{Plugin as _0x45cda0}from'ckeditor5/src/core.js';import _0x23da48 from'./table.js';import{LiveRange as _0x3d4039}from'ckeditor5/src/engine.js';function _0x136e(){const _0x4bfea8=['direction','commandName','279066sCUibA','*Merge\x20cells*','TrackChangesEditing','from','getRanges','mergeTableCellUp','has','tableCell','registerDescriptionCallback','mergeTableCellRight','element','cell','document','getSuggestions','accept','descriptionFactory','442682oONZTi','refresh','getCellLocation','insertion','set:isEnabled','markMultiRangeBlockFormat','splitTableCellHorizontally','findAncestor','TableUtils','TableEditing','formatBlock','markBlockFormat','enableCommand','_isForcedDefaultExecutionBlock','locale','isInContent','_areMergableCells','fromRange','containsRange','stop','setSelection','editor','1213880BkqOmW','*Split\x20cell:*\x20vertically','130DRfXlj','length','360wrgMiA','getSelectionAffectedTableCells','selection','getFirstPosition','author','_suggestionFactory','mergeTableCells','forceDefaultExecution','trackChanges','detach','rootName','plugins','root','type','highest','model','map','horizontally','31734IUvPmD','462055QjSdfL','1VCpvAv','change','get','low','isEnabled','afterInit','return','value','execute','deletion','formatInline','348jLCkaz','size','requires','$graveyard','add','24865RIxSEo','createTableWalker','commands','subType','_acceptFormatSuggestionCallbackFactory','getAncestors','registerCustomCallback','492870gtzMVA','splitTableCellVertically','find','push','createRangeOn','mergeTableCellDown','filter','_tablePostFixingSubtypes','table','_areSelectedCellsMergable','mergeTableCellLeft','*Split\x20cell:*\x20horizontally','format'];_0x136e=function(){return _0x4bfea8;};return _0x136e();}import{getTranslation as _0x3ee1eb}from'../utils/common-translations.js';export default class St extends _0x45cda0{static get[_0xf95aa0(0x17b)](){return[_0x23da48];}[_0xf95aa0(0x173)](){const _0x2ac968=_0xf95aa0,_0x279c39=this[_0x2ac968(0x155)],_0x378618=_0x279c39[_0x2ac968(0x169)][_0x2ac968(0x1a0)][_0x2ac968(0x15c)],_0x3c57a4=_0x279c39[_0x2ac968(0x1b2)];if(!_0x279c39[_0x2ac968(0x165)][_0x2ac968(0x19a)](_0x2ac968(0x1ad)))return;const _0x4d489a=_0x279c39[_0x2ac968(0x165)][_0x2ac968(0x170)](_0x2ac968(0x196)),_0x91551=_0x279c39[_0x2ac968(0x165)][_0x2ac968(0x170)](_0x2ac968(0x1ac)),_0x28bc62=_0x279c39[_0x2ac968(0x165)][_0x2ac968(0x170)](_0x23da48);_0x28bc62[_0x2ac968(0x18c)][_0x2ac968(0x188)](_0x2ac968(0x160)),_0x4d489a[_0x2ac968(0x1b0)](_0x2ac968(0x160),()=>{const _0x2eefd7=_0x2ac968,_0x5e974f=_0x91551[_0x2eefd7(0x15b)](_0x279c39[_0x2eefd7(0x169)][_0x2eefd7(0x1a0)][_0x2eefd7(0x15c)]);_0x279c39[_0x2eefd7(0x169)][_0x2eefd7(0x16f)](()=>{const _0x14a668=_0x2eefd7;_0x4d489a[_0x14a668(0x1a9)](_0x5e974f,{'commandName':_0x14a668(0x160),'commandParams':[]},[],_0x14a668(0x160));});}),_0x279c39[_0x2ac968(0x180)][_0x2ac968(0x170)](_0x2ac968(0x160))['on'](_0x2ac968(0x176),(_0x2e6c28,_0xc6c73b)=>{const _0x2d6589=_0x2ac968;_0x279c39[_0x2d6589(0x180)][_0x2d6589(0x170)](_0x2d6589(0x162))[_0x2d6589(0x175)]&&(_0xc6c73b[_0x2d6589(0x159)]>0x0&&_0xc6c73b[_0xc6c73b[_0x2d6589(0x159)]-0x1]&&_0xc6c73b[_0xc6c73b[_0x2d6589(0x159)]-0x1][_0x2d6589(0x161)]||_0x4d489a[_0x2d6589(0x1b1)]||this[_0x2d6589(0x18e)]()||_0x2e6c28[_0x2d6589(0x153)]());},{'priority':_0x2ac968(0x168)});for(const _0x31dd83 of[_0x2ac968(0x199),_0x2ac968(0x19d),_0x2ac968(0x18a),_0x2ac968(0x18f)]){const _0x1f8aec=_0x279c39[_0x2ac968(0x180)][_0x2ac968(0x170)](_0x31dd83);_0x4d489a[_0x2ac968(0x1b0)](_0x31dd83,()=>{const _0x399f6e=_0x2ac968,_0x24fd41=_0x279c39[_0x399f6e(0x169)][_0x399f6e(0x1a0)][_0x399f6e(0x15c)][_0x399f6e(0x15d)]()[_0x399f6e(0x183)]()[_0x399f6e(0x187)](_0x2c6d4c=>_0x2c6d4c['is'](_0x399f6e(0x19e),_0x399f6e(0x19b))),_0x828e9d=_0x1f8aec[_0x399f6e(0x175)];_0x279c39[_0x399f6e(0x169)][_0x399f6e(0x16f)](()=>{const _0x3df970=_0x399f6e;_0x4d489a[_0x3df970(0x1a9)]([_0x24fd41,_0x828e9d],{'commandName':_0x3df970(0x160),'commandParams':[]},[],_0x3df970(0x160));});});}for(const _0xb88dd8 of[_0x2ac968(0x186),_0x2ac968(0x1aa)]){const _0xaf15f9=_0x279c39[_0x2ac968(0x180)][_0x2ac968(0x170)](_0xb88dd8);_0x4d489a[_0x2ac968(0x1b0)](_0xb88dd8,()=>{const _0x40c5f3=_0x2ac968,_0x11bef9=_0x91551[_0x40c5f3(0x15b)](_0x279c39[_0x40c5f3(0x169)][_0x40c5f3(0x1a0)][_0x40c5f3(0x15c)])[0x0],_0x3031d7=_0x11bef9[_0x40c5f3(0x1ab)](_0x40c5f3(0x18d)),{column:_0x14dec7,row:_0x16978b}=_0x91551[_0x40c5f3(0x1a6)](_0x11bef9);let _0xe9b16e=[];if(_0x40c5f3(0x16b)==_0xaf15f9[_0x40c5f3(0x192)]){const _0x30983a=_0x91551[_0x40c5f3(0x17f)](_0x3031d7,{'startRow':_0x16978b,'endRow':_0x16978b,'includeAllSlots':!0x0});_0xe9b16e=Array[_0x40c5f3(0x197)](_0x30983a)[_0x40c5f3(0x16a)](_0x2f3fe2=>_0x2f3fe2[_0x40c5f3(0x19f)]);}else{const _0x29dedf=_0x91551[_0x40c5f3(0x17f)](_0x3031d7,{'column':_0x14dec7,'includeAllSlots':!0x0});_0xe9b16e=Array[_0x40c5f3(0x197)](_0x29dedf)[_0x40c5f3(0x16a)](_0x41ea03=>_0x41ea03[_0x40c5f3(0x19f)]);}_0x279c39[_0x40c5f3(0x169)][_0x40c5f3(0x16f)](_0x593c7a=>{const _0x3c8cb4=_0x40c5f3;_0x4d489a[_0x3c8cb4(0x1af)](_0x593c7a[_0x3c8cb4(0x189)](_0x11bef9),{'commandName':_0xb88dd8,'commandParams':[]},_0xe9b16e,_0xb88dd8);});});}_0x4d489a[_0x2ac968(0x1a3)][_0x2ac968(0x19c)](_0xa5ff95=>{const _0x6c614=_0x2ac968;if(_0x6c614(0x1ae)!=_0xa5ff95[_0x6c614(0x167)]&&_0x6c614(0x178)!=_0xa5ff95[_0x6c614(0x167)])return;const {data:_0x2f30bf}=_0xa5ff95;return _0x2f30bf&&_0x6c614(0x160)==_0x2f30bf[_0x6c614(0x193)]?{'type':_0x6c614(0x191),'content':_0x3ee1eb(_0x3c57a4,_0x6c614(0x195))}:void 0x0;}),_0x4d489a[_0x2ac968(0x1a3)][_0x2ac968(0x19c)](_0x1446b5=>{const _0x224fb9=_0x2ac968;if(_0x224fb9(0x1ae)!=_0x1446b5[_0x224fb9(0x167)]&&_0x224fb9(0x178)!=_0x1446b5[_0x224fb9(0x167)])return;const {data:_0x10991e}=_0x1446b5;return _0x10991e?_0x224fb9(0x186)==_0x10991e[_0x224fb9(0x193)]?{'type':_0x224fb9(0x191),'content':_0x3ee1eb(_0x3c57a4,_0x224fb9(0x157))}:_0x224fb9(0x1aa)==_0x10991e[_0x224fb9(0x193)]?{'type':_0x224fb9(0x191),'content':_0x3ee1eb(_0x3c57a4,_0x224fb9(0x190))}:void 0x0:void 0x0;});const _0x459e18=_0x28bc62[_0x2ac968(0x182)]();for(const _0x13e2e0 of[_0x2ac968(0x199),_0x2ac968(0x19d),_0x2ac968(0x18a),_0x2ac968(0x18f)])_0x4d489a[_0x2ac968(0x15f)][_0x2ac968(0x184)](_0x2ac968(0x1ae),_0x13e2e0,_0x2ac968(0x1a2),_0x459e18);for(const _0x26f2d4 of[_0x2ac968(0x186),_0x2ac968(0x1aa)])_0x4d489a[_0x2ac968(0x15f)][_0x2ac968(0x184)](_0x2ac968(0x1ae),_0x26f2d4,_0x2ac968(0x1a2),_0x459e18);_0x4d489a[_0x2ac968(0x15f)][_0x2ac968(0x184)](_0x2ac968(0x1ae),_0x2ac968(0x160),_0x2ac968(0x1a2),_0x43d628=>{const _0x1bb322=_0x2ac968;_0x279c39[_0x1bb322(0x169)][_0x1bb322(0x16f)](_0xc3f82e=>{const _0x22df7d=_0x1bb322,_0x2badfb=Array[_0x22df7d(0x197)](_0x378618[_0x22df7d(0x198)]())[_0x22df7d(0x16a)](_0x5c13e0=>_0x3d4039[_0x22df7d(0x1b5)](_0x5c13e0));_0xc3f82e[_0x22df7d(0x154)](_0x43d628),_0x279c39[_0x22df7d(0x180)][_0x22df7d(0x170)](_0x22df7d(0x160))[_0x22df7d(0x1a5)](),_0x279c39[_0x22df7d(0x176)](_0x22df7d(0x160),{'forceDefaultExecution':!0x0});const _0x12c030=_0x2badfb[_0x22df7d(0x18b)](_0x587e97=>_0x22df7d(0x17c)!=_0x587e97[_0x22df7d(0x166)][_0x22df7d(0x164)]);_0x12c030[_0x22df7d(0x159)]>0x0&&_0xc3f82e[_0x22df7d(0x154)](_0x12c030);for(const _0x50fd7f of _0x2badfb)_0x50fd7f[_0x22df7d(0x163)]();});});for(const _0x432d07 of[_0x2ac968(0x199),_0x2ac968(0x18a),_0x2ac968(0x18f),_0x2ac968(0x19d)]){const _0x349348=_0x279c39[_0x2ac968(0x180)][_0x2ac968(0x170)](_0x432d07);_0x349348['on'](_0x2ac968(0x1a8),(_0x1d9001,_0x429877,_0x5bf761)=>{const _0x180704=_0x2ac968;if(_0x5bf761){const _0x67e6d0=_0x279c39[_0x180704(0x169)][_0x180704(0x1a0)][_0x180704(0x15c)][_0x180704(0x15d)]()[_0x180704(0x183)]()[_0x180704(0x187)](_0x4fa19e=>_0x4fa19e['is'](_0x180704(0x19e),_0x180704(0x19b)));this[_0x180704(0x1b4)](_0x349348[_0x180704(0x175)],_0x67e6d0)||(_0x1d9001[_0x180704(0x174)]=!0x1,_0x1d9001[_0x180704(0x153)]());}},{'priority':_0x2ac968(0x171)});}}[_0xf95aa0(0x18e)](){const _0x58ffa7=_0xf95aa0,_0x57be4e=this[_0x58ffa7(0x155)][_0x58ffa7(0x180)][_0x58ffa7(0x170)](_0x58ffa7(0x160)),_0x58fb68=this[_0x58ffa7(0x155)][_0x58ffa7(0x165)][_0x58ffa7(0x170)](_0x58ffa7(0x1ac));if(!_0x57be4e[_0x58ffa7(0x172)])return!0x1;const _0x1e6c13=_0x58fb68[_0x58ffa7(0x15b)](this[_0x58ffa7(0x155)][_0x58ffa7(0x169)][_0x58ffa7(0x1a0)][_0x58ffa7(0x15c)]);for(const _0x4eb4cc of _0x1e6c13)for(const _0x4ce03e of _0x1e6c13)if(_0x4eb4cc!=_0x4ce03e&&!this[_0x58ffa7(0x1b4)](_0x4eb4cc,_0x4ce03e))return!0x1;return!0x0;}[_0xf95aa0(0x1b4)](_0x5259d7,_0x545e97){const _0x5ed35e=_0xf95aa0,_0x130e4e=this[_0x5ed35e(0x155)][_0x5ed35e(0x165)][_0x5ed35e(0x170)](_0x5ed35e(0x196)),_0x1b00ca=this[_0x5ed35e(0x155)][_0x5ed35e(0x169)][_0x5ed35e(0x189)](_0x5259d7),_0x3c8f9b=this[_0x5ed35e(0x155)][_0x5ed35e(0x169)][_0x5ed35e(0x189)](_0x545e97),_0xd3043e=new Set(),_0xdab6fc=new Set();for(const _0x38776c of _0x130e4e[_0x5ed35e(0x1a1)]())if((_0x5ed35e(0x1a7)==_0x38776c[_0x5ed35e(0x167)]||_0x5ed35e(0x177)==_0x38776c[_0x5ed35e(0x167)]||_0x5ed35e(0x160)==_0x38776c[_0x5ed35e(0x181)])&&_0x38776c[_0x5ed35e(0x1b3)]){for(const _0x2d54f3 of _0x38776c[_0x5ed35e(0x198)]())_0x2d54f3[_0x5ed35e(0x1b6)](_0x1b00ca,!0x0)&&_0xd3043e[_0x5ed35e(0x17d)](_0x38776c[_0x5ed35e(0x167)]+':'+_0x38776c[_0x5ed35e(0x15e)]['id']),_0x2d54f3[_0x5ed35e(0x1b6)](_0x3c8f9b,!0x0)&&_0xdab6fc[_0x5ed35e(0x17d)](_0x38776c[_0x5ed35e(0x167)]+':'+_0x38776c[_0x5ed35e(0x15e)]['id']);}if(_0xd3043e[_0x5ed35e(0x17a)]!=_0xdab6fc[_0x5ed35e(0x17a)])return!0x1;for(const _0x3a20ca of _0xd3043e)if(!_0xdab6fc[_0x5ed35e(0x19a)](_0x3a20ca))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4a98(_0x422621,_0x2cbd73){const _0x1c8ab8=_0x1c8a();return _0x4a98=function(_0x4a982a,_0x51b89d){_0x4a982a=_0x4a982a-0x1c1;let _0x477e33=_0x1c8ab8[_0x4a982a];return _0x477e33;},_0x4a98(_0x422621,_0x2cbd73);}const _0x16e267=_0x4a98;function _0x1c8a(){const _0x5c8ca8=['detach','enableCommand','isEnabled','highest','cell','direction','subType','1265565TjtroQ','author','findAncestor','find','createRangeOn','markBlockFormat','return','registerCustomCallback','splitTableCellHorizontally','value','4608BcpaKJ','getRanges','markMultiRangeBlockFormat','selection','model','TableEditing','filter','low','1vKKfsS','table','mergeTableCells','insertion','$graveyard','5059340rMYMMx','splitTableCellVertically','map','7170kOLwLN','_areMergableCells','*Split\x20cell:*\x20vertically','size','getSelectionAffectedTableCells','*Split\x20cell:*\x20horizontally','refresh','commandName','locale','get','6CueIPR','fromRange','deletion','forceDefaultExecution','commands','*Merge\x20cells*','trackChanges','horizontally','push','getAncestors','_isForcedDefaultExecutionBlock','409314AsSuBy','editor','document','createTableWalker','_suggestionFactory','accept','1382752TmGxTI','setSelection','tableCell','getCellLocation','178655sDUNdb','getSuggestions','stop','mergeTableCellLeft','mergeTableCellUp','_acceptFormatSuggestionCallbackFactory','afterInit','TableUtils','isInContent','mergeTableCellDown','type','length','execute','format','54VUOTLT','has','change','containsRange','set:isEnabled','303jWeclT','root','formatInline','from','mergeTableCellRight','formatBlock','getFirstPosition','requires','descriptionFactory','plugins','_tablePostFixingSubtypes','registerDescriptionCallback','TrackChangesEditing','rootName','add','_areSelectedCellsMergable','element'];_0x1c8a=function(){return _0x5c8ca8;};return _0x1c8a();}(function(_0x4788c5,_0xe720fa){const _0x24a428=_0x4a98,_0x536d94=_0x4788c5();while(!![]){try{const _0x2e9687=-parseInt(_0x24a428(0x1cd))/0x1*(parseInt(_0x24a428(0x1ea))/0x2)+-parseInt(_0x24a428(0x207))/0x3*(parseInt(_0x24a428(0x1c5))/0x4)+parseInt(_0x24a428(0x1f4))/0x5*(-parseInt(_0x24a428(0x1df))/0x6)+parseInt(_0x24a428(0x21f))/0x7+-parseInt(_0x24a428(0x1f0))/0x8+-parseInt(_0x24a428(0x202))/0x9*(-parseInt(_0x24a428(0x1d5))/0xa)+parseInt(_0x24a428(0x1d2))/0xb;if(_0x2e9687===_0xe720fa)break;else _0x536d94['push'](_0x536d94['shift']());}catch(_0x18fbb8){_0x536d94['push'](_0x536d94['shift']());}}}(_0x1c8a,0x1c2fd));import{Plugin as _0x2f755f}from'ckeditor5/src/core.js';import _0x3f6acb from'./table.js';import{LiveRange as _0x5be981}from'ckeditor5/src/engine.js';import{getTranslation as _0x31d068}from'../utils/common-translations.js';export default class St extends _0x2f755f{static get[_0x16e267(0x20e)](){return[_0x3f6acb];}[_0x16e267(0x1fa)](){const _0x440f2c=_0x16e267,_0x346f81=this[_0x440f2c(0x1eb)],_0x1004e9=_0x346f81[_0x440f2c(0x1c9)][_0x440f2c(0x1ec)][_0x440f2c(0x1c8)],_0xee3ab2=_0x346f81[_0x440f2c(0x1dd)];if(!_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x203)](_0x440f2c(0x1ca)))return;const _0x3cd97f=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x440f2c(0x213)),_0x4375a9=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x440f2c(0x1fb)),_0x2e7a94=_0x346f81[_0x440f2c(0x210)][_0x440f2c(0x1de)](_0x3f6acb);_0x2e7a94[_0x440f2c(0x211)][_0x440f2c(0x1e7)](_0x440f2c(0x1cf)),_0x3cd97f[_0x440f2c(0x219)](_0x440f2c(0x1cf),()=>{const _0x2b988f=_0x440f2c,_0x76076=_0x4375a9[_0x2b988f(0x1d9)](_0x346f81[_0x2b988f(0x1c9)][_0x2b988f(0x1ec)][_0x2b988f(0x1c8)]);_0x346f81[_0x2b988f(0x1c9)][_0x2b988f(0x204)](()=>{const _0x31a6a1=_0x2b988f;_0x3cd97f[_0x31a6a1(0x1c7)](_0x76076,{'commandName':_0x31a6a1(0x1cf),'commandParams':[]},[],_0x31a6a1(0x1cf));});}),_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x440f2c(0x1cf))['on'](_0x440f2c(0x200),(_0x5211f6,_0x1fcf3d)=>{const _0x44f6d5=_0x440f2c;_0x346f81[_0x44f6d5(0x1e3)][_0x44f6d5(0x1de)](_0x44f6d5(0x1e5))[_0x44f6d5(0x1c4)]&&(_0x1fcf3d[_0x44f6d5(0x1ff)]>0x0&&_0x1fcf3d[_0x1fcf3d[_0x44f6d5(0x1ff)]-0x1]&&_0x1fcf3d[_0x1fcf3d[_0x44f6d5(0x1ff)]-0x1][_0x44f6d5(0x1e2)]||_0x3cd97f[_0x44f6d5(0x1e9)]||this[_0x44f6d5(0x216)]()||_0x5211f6[_0x44f6d5(0x1f6)]());},{'priority':_0x440f2c(0x21b)});for(const _0x33cba6 of[_0x440f2c(0x1f8),_0x440f2c(0x20b),_0x440f2c(0x1fd),_0x440f2c(0x1f7)]){const _0x419520=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x33cba6);_0x3cd97f[_0x440f2c(0x219)](_0x33cba6,()=>{const _0x1544ac=_0x440f2c,_0x3557d9=_0x346f81[_0x1544ac(0x1c9)][_0x1544ac(0x1ec)][_0x1544ac(0x1c8)][_0x1544ac(0x20d)]()[_0x1544ac(0x1e8)]()[_0x1544ac(0x222)](_0x58c4da=>_0x58c4da['is'](_0x1544ac(0x217),_0x1544ac(0x1f2))),_0x370dc4=_0x419520[_0x1544ac(0x1c4)];_0x346f81[_0x1544ac(0x1c9)][_0x1544ac(0x204)](()=>{const _0x28b1d0=_0x1544ac;_0x3cd97f[_0x28b1d0(0x1c7)]([_0x3557d9,_0x370dc4],{'commandName':_0x28b1d0(0x1cf),'commandParams':[]},[],_0x28b1d0(0x1cf));});});}for(const _0x5e6453 of[_0x440f2c(0x1d3),_0x440f2c(0x1c3)]){const _0xc97fb6=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x5e6453);_0x3cd97f[_0x440f2c(0x219)](_0x5e6453,()=>{const _0x56f7c9=_0x440f2c,_0x42d6e9=_0x4375a9[_0x56f7c9(0x1d9)](_0x346f81[_0x56f7c9(0x1c9)][_0x56f7c9(0x1ec)][_0x56f7c9(0x1c8)])[0x0],_0x54c6eb=_0x42d6e9[_0x56f7c9(0x221)](_0x56f7c9(0x1ce)),{column:_0x4e4979,row:_0x5c06da}=_0x4375a9[_0x56f7c9(0x1f3)](_0x42d6e9);let _0x54ab89=[];if(_0x56f7c9(0x1e6)==_0xc97fb6[_0x56f7c9(0x21d)]){const _0x47f5aa=_0x4375a9[_0x56f7c9(0x1ed)](_0x54c6eb,{'startRow':_0x5c06da,'endRow':_0x5c06da,'includeAllSlots':!0x0});_0x54ab89=Array[_0x56f7c9(0x20a)](_0x47f5aa)[_0x56f7c9(0x1d4)](_0x517feb=>_0x517feb[_0x56f7c9(0x21c)]);}else{const _0x1ed691=_0x4375a9[_0x56f7c9(0x1ed)](_0x54c6eb,{'column':_0x4e4979,'includeAllSlots':!0x0});_0x54ab89=Array[_0x56f7c9(0x20a)](_0x1ed691)[_0x56f7c9(0x1d4)](_0xbde333=>_0xbde333[_0x56f7c9(0x21c)]);}_0x346f81[_0x56f7c9(0x1c9)][_0x56f7c9(0x204)](_0x1f7d45=>{const _0x1819e7=_0x56f7c9;_0x3cd97f[_0x1819e7(0x224)](_0x1f7d45[_0x1819e7(0x223)](_0x42d6e9),{'commandName':_0x5e6453,'commandParams':[]},_0x54ab89,_0x5e6453);});});}_0x3cd97f[_0x440f2c(0x20f)][_0x440f2c(0x212)](_0x5c26ba=>{const _0x5ce192=_0x440f2c;if(_0x5ce192(0x20c)!=_0x5c26ba[_0x5ce192(0x1fe)]&&_0x5ce192(0x209)!=_0x5c26ba[_0x5ce192(0x1fe)])return;const {data:_0x205586}=_0x5c26ba;return _0x205586&&_0x5ce192(0x1cf)==_0x205586[_0x5ce192(0x1dc)]?{'type':_0x5ce192(0x201),'content':_0x31d068(_0xee3ab2,_0x5ce192(0x1e4))}:void 0x0;}),_0x3cd97f[_0x440f2c(0x20f)][_0x440f2c(0x212)](_0xa7cb0a=>{const _0x4be801=_0x440f2c;if(_0x4be801(0x20c)!=_0xa7cb0a[_0x4be801(0x1fe)]&&_0x4be801(0x209)!=_0xa7cb0a[_0x4be801(0x1fe)])return;const {data:_0x4bc207}=_0xa7cb0a;return _0x4bc207?_0x4be801(0x1d3)==_0x4bc207[_0x4be801(0x1dc)]?{'type':_0x4be801(0x201),'content':_0x31d068(_0xee3ab2,_0x4be801(0x1d7))}:_0x4be801(0x1c3)==_0x4bc207[_0x4be801(0x1dc)]?{'type':_0x4be801(0x201),'content':_0x31d068(_0xee3ab2,_0x4be801(0x1da))}:void 0x0:void 0x0;});const _0x5b46a6=_0x2e7a94[_0x440f2c(0x1f9)]();for(const _0x4cc857 of[_0x440f2c(0x1f8),_0x440f2c(0x20b),_0x440f2c(0x1fd),_0x440f2c(0x1f7)])_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x4cc857,_0x440f2c(0x1ef),_0x5b46a6);for(const _0x32560c of[_0x440f2c(0x1d3),_0x440f2c(0x1c3)])_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x32560c,_0x440f2c(0x1ef),_0x5b46a6);_0x3cd97f[_0x440f2c(0x1ee)][_0x440f2c(0x1c2)](_0x440f2c(0x20c),_0x440f2c(0x1cf),_0x440f2c(0x1ef),_0x4d96fb=>{const _0x1b6962=_0x440f2c;_0x346f81[_0x1b6962(0x1c9)][_0x1b6962(0x204)](_0x6dfd87=>{const _0x34eb72=_0x1b6962,_0x139897=Array[_0x34eb72(0x20a)](_0x1004e9[_0x34eb72(0x1c6)]())[_0x34eb72(0x1d4)](_0x389d1d=>_0x5be981[_0x34eb72(0x1e0)](_0x389d1d));_0x6dfd87[_0x34eb72(0x1f1)](_0x4d96fb),_0x346f81[_0x34eb72(0x1e3)][_0x34eb72(0x1de)](_0x34eb72(0x1cf))[_0x34eb72(0x1db)](),_0x346f81[_0x34eb72(0x200)](_0x34eb72(0x1cf),{'forceDefaultExecution':!0x0});const _0x56e4df=_0x139897[_0x34eb72(0x1cb)](_0x22e064=>_0x34eb72(0x1d1)!=_0x22e064[_0x34eb72(0x208)][_0x34eb72(0x214)]);_0x56e4df[_0x34eb72(0x1ff)]>0x0&&_0x6dfd87[_0x34eb72(0x1f1)](_0x56e4df);for(const _0x3b3f79 of _0x139897)_0x3b3f79[_0x34eb72(0x218)]();});});for(const _0x5d424a of[_0x440f2c(0x1f8),_0x440f2c(0x1fd),_0x440f2c(0x1f7),_0x440f2c(0x20b)]){const _0xfa0039=_0x346f81[_0x440f2c(0x1e3)][_0x440f2c(0x1de)](_0x5d424a);_0xfa0039['on'](_0x440f2c(0x206),(_0x15bdd3,_0x5c0173,_0x37d5df)=>{const _0x1b0d87=_0x440f2c;if(_0x37d5df){const _0x1673c4=_0x346f81[_0x1b0d87(0x1c9)][_0x1b0d87(0x1ec)][_0x1b0d87(0x1c8)][_0x1b0d87(0x20d)]()[_0x1b0d87(0x1e8)]()[_0x1b0d87(0x222)](_0x3dd904=>_0x3dd904['is'](_0x1b0d87(0x217),_0x1b0d87(0x1f2)));this[_0x1b0d87(0x1d6)](_0xfa0039[_0x1b0d87(0x1c4)],_0x1673c4)||(_0x15bdd3[_0x1b0d87(0x1c1)]=!0x1,_0x15bdd3[_0x1b0d87(0x1f6)]());}},{'priority':_0x440f2c(0x1cc)});}}[_0x16e267(0x216)](){const _0x4c9ba9=_0x16e267,_0x4d0dea=this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x1e3)][_0x4c9ba9(0x1de)](_0x4c9ba9(0x1cf)),_0x3dc89e=this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x210)][_0x4c9ba9(0x1de)](_0x4c9ba9(0x1fb));if(!_0x4d0dea[_0x4c9ba9(0x21a)])return!0x1;const _0x30a457=_0x3dc89e[_0x4c9ba9(0x1d9)](this[_0x4c9ba9(0x1eb)][_0x4c9ba9(0x1c9)][_0x4c9ba9(0x1ec)][_0x4c9ba9(0x1c8)]);for(const _0x2ecfeb of _0x30a457)for(const _0x4d3dfc of _0x30a457)if(_0x2ecfeb!=_0x4d3dfc&&!this[_0x4c9ba9(0x1d6)](_0x2ecfeb,_0x4d3dfc))return!0x1;return!0x0;}[_0x16e267(0x1d6)](_0x7a0961,_0x40c122){const _0x11fa43=_0x16e267,_0x399eb0=this[_0x11fa43(0x1eb)][_0x11fa43(0x210)][_0x11fa43(0x1de)](_0x11fa43(0x213)),_0x5c0944=this[_0x11fa43(0x1eb)][_0x11fa43(0x1c9)][_0x11fa43(0x223)](_0x7a0961),_0x20c958=this[_0x11fa43(0x1eb)][_0x11fa43(0x1c9)][_0x11fa43(0x223)](_0x40c122),_0x146748=new Set(),_0x38d04b=new Set();for(const _0x51f133 of _0x399eb0[_0x11fa43(0x1f5)]())if((_0x11fa43(0x1d0)==_0x51f133[_0x11fa43(0x1fe)]||_0x11fa43(0x1e1)==_0x51f133[_0x11fa43(0x1fe)]||_0x11fa43(0x1cf)==_0x51f133[_0x11fa43(0x21e)])&&_0x51f133[_0x11fa43(0x1fc)]){for(const _0x66e87f of _0x51f133[_0x11fa43(0x1c6)]())_0x66e87f[_0x11fa43(0x205)](_0x5c0944,!0x0)&&_0x146748[_0x11fa43(0x215)](_0x51f133[_0x11fa43(0x1fe)]+':'+_0x51f133[_0x11fa43(0x220)]['id']),_0x66e87f[_0x11fa43(0x205)](_0x20c958,!0x0)&&_0x38d04b[_0x11fa43(0x215)](_0x51f133[_0x11fa43(0x1fe)]+':'+_0x51f133[_0x11fa43(0x220)]['id']);}if(_0x146748[_0x11fa43(0x1d8)]!=_0x38d04b[_0x11fa43(0x1d8)])return!0x1;for(const _0x434428 of _0x146748)if(!_0x38d04b[_0x11fa43(0x203)](_0x434428))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d0a06=_0x5c3f;(function(_0x4e08b3,_0x480f94){const _0x31963b=_0x5c3f,_0x558e6a=_0x4e08b3();while(!![]){try{const _0x3f7c14=parseInt(_0x31963b(0x1fc))/0x1*(-parseInt(_0x31963b(0x1fb))/0x2)+-parseInt(_0x31963b(0x1f7))/0x3*(-parseInt(_0x31963b(0x1ef))/0x4)+parseInt(_0x31963b(0x1f0))/0x5+-parseInt(_0x31963b(0x1f3))/0x6*(-parseInt(_0x31963b(0x1ed))/0x7)+-parseInt(_0x31963b(0x1f8))/0x8+parseInt(_0x31963b(0x1f2))/0x9*(parseInt(_0x31963b(0x1ec))/0xa)+parseInt(_0x31963b(0x1fe))/0xb*(-parseInt(_0x31963b(0x1f1))/0xc);if(_0x3f7c14===_0x480f94)break;else _0x558e6a['push'](_0x558e6a['shift']());}catch(_0xeab827){_0x558e6a['push'](_0x558e6a['shift']());}}}(_0x5083,0x80f73));function _0x5083(){const _0xd0be6f=['2283192sBkhTl','registerElementLabel','plugins','72614BSnzHo','29bYfVwV','enableCommand','44EOpnWi','get','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','locale','tableOfContents','TrackChangesEditing','401930kMWZbF','609aScDnL','commands','4srcdYO','1956930HKpNvK','1797348dBekdc','171AntYqh','38970HDqsiB','editor','insertTableOfContents','afterInit','2236629fkyuOa'];_0x5083=function(){return _0xd0be6f;};return _0x5083();}import{Plugin as _0x51e5e7}from'ckeditor5/src/core.js';import{getTranslation as _0x26456a}from'../utils/common-translations.js';function _0x5c3f(_0x41ff40,_0x7c20ff){const _0x508323=_0x5083();return _0x5c3f=function(_0x5c3f9c,_0x27da90){_0x5c3f9c=_0x5c3f9c-0x1e6;let _0x470550=_0x508323[_0x5c3f9c];return _0x470550;},_0x5c3f(_0x41ff40,_0x7c20ff);}export default class _t extends _0x51e5e7{[_0x5d0a06(0x1f6)](){const _0x4a43fc=_0x5d0a06,_0x14f89c=this[_0x4a43fc(0x1f4)];if(!_0x14f89c[_0x4a43fc(0x1ee)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1f5)))return;_0x14f89c[_0x4a43fc(0x1fa)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1eb))[_0x4a43fc(0x1fd)](_0x4a43fc(0x1f5));const _0x4904b1=_0x14f89c[_0x4a43fc(0x1fa)][_0x4a43fc(0x1e6)](_0x4a43fc(0x1eb)),_0x142ac2=_0x14f89c[_0x4a43fc(0x1e9)];_0x4904b1[_0x4a43fc(0x1e7)][_0x4a43fc(0x1f9)](_0x4a43fc(0x1ea),_0x15ba53=>_0x26456a(_0x142ac2,_0x4a43fc(0x1e8),_0x15ba53));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32cc(_0x540bed,_0x42e83a){const _0x5595b9=_0x5595();return _0x32cc=function(_0x32ccdb,_0x531034){_0x32ccdb=_0x32ccdb-0xc2;let _0x4feb1f=_0x5595b9[_0x32ccdb];return _0x4feb1f;},_0x32cc(_0x540bed,_0x42e83a);}const _0x47c017=_0x32cc;(function(_0x380ec5,_0xc8a570){const _0x4f410f=_0x32cc,_0x1b8ca2=_0x380ec5();while(!![]){try{const _0x14b6d8=parseInt(_0x4f410f(0xe7))/0x1*(-parseInt(_0x4f410f(0xf0))/0x2)+parseInt(_0x4f410f(0xde))/0x3+parseInt(_0x4f410f(0xe9))/0x4+-parseInt(_0x4f410f(0xfd))/0x5+-parseInt(_0x4f410f(0xd6))/0x6*(parseInt(_0x4f410f(0xd8))/0x7)+-parseInt(_0x4f410f(0xf9))/0x8+parseInt(_0x4f410f(0xf2))/0x9;if(_0x14b6d8===_0xc8a570)break;else _0x1b8ca2['push'](_0x1b8ca2['shift']());}catch(_0x83d0a4){_0x1b8ca2['push'](_0x1b8ca2['shift']());}}}(_0x5595,0x2e888));import{Plugin as _0x4c4d29}from'ckeditor5/src/core.js';import{getTranslation as _0x3f3330}from'../utils/common-translations.js';export default class $t extends _0x4c4d29{constructor(_0xa8a481){const _0x25e11c=_0x32cc;super(_0xa8a481),this[_0x25e11c(0xef)]=[_0x25e11c(0xcb),_0x25e11c(0xd3),_0x25e11c(0x10e),_0x25e11c(0xc9),_0x25e11c(0xc4),_0x25e11c(0xd9),_0x25e11c(0xfb)],this[_0x25e11c(0xcd)]=[_0x25e11c(0xe5),_0x25e11c(0xec),_0x25e11c(0xd7),_0x25e11c(0xd1),_0x25e11c(0xc2),_0x25e11c(0x103),_0x25e11c(0xfa),_0x25e11c(0x108),_0x25e11c(0xea)];}static get[_0x47c017(0x109)](){const _0x1c3e59=_0x47c017;return _0x1c3e59(0xe8);}[_0x47c017(0xf4)](){const _0x2bbc18=_0x47c017,_0x393748=this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0xe6)](_0x2bbc18(0xc3));if(this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0x106)](_0x2bbc18(0x105))){for(const _0x52408c of this[_0x2bbc18(0xef)])_0x393748[_0x2bbc18(0xc7)](_0x52408c,(_0x4f66bc,_0x4644ce)=>{const _0x42d02d=_0x2bbc18,_0x18ba97=this[_0x42d02d(0xc8)][_0x42d02d(0xca)][_0x42d02d(0xe0)][_0x42d02d(0xe2)][_0x42d02d(0xfe)]()[_0x42d02d(0xc5)](_0x42d02d(0xdf));this[_0x42d02d(0x104)](_0x52408c,[_0x18ba97],this[_0x42d02d(0xef)],_0x42d02d(0xef),_0x4f66bc,_0x4644ce);});_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0x10a),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x102)](_0x2bbc18(0xf5),null,_0x2bbc18(0xd0))),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0xd0),(_0x10e2c3,_0x5b2fc5)=>this[_0x2bbc18(0x100)](this[_0x2bbc18(0xef)],_0x10e2c3,_0x5b2fc5)),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xef),_0x2bbc18(0xed),()=>!0x1);}if(this[_0x2bbc18(0xc8)][_0x2bbc18(0xdc)][_0x2bbc18(0x106)](_0x2bbc18(0xdd))){for(const _0x3083b3 of this[_0x2bbc18(0xcd)])_0x393748[_0x2bbc18(0xc7)](_0x3083b3,(_0x271d22,_0x1d6129)=>{const _0x1eabb3=_0x2bbc18,_0x9e941d=this[_0x1eabb3(0xc8)][_0x1eabb3(0xdc)][_0x1eabb3(0xe6)](_0x1eabb3(0xda))[_0x1eabb3(0xd5)](this[_0x1eabb3(0xc8)][_0x1eabb3(0xca)][_0x1eabb3(0xe0)][_0x1eabb3(0xe2)]);this[_0x1eabb3(0x104)](_0x3083b3,_0x9e941d,this[_0x1eabb3(0xcd)],_0x1eabb3(0xcd),_0x271d22,_0x1d6129);});_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0x10a),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x102)](_0x2bbc18(0xf5),null,_0x2bbc18(0xd0))),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0xd0),(_0x2dee12,_0x30d61f)=>this[_0x2bbc18(0x100)](this[_0x2bbc18(0xcd)],_0x2dee12,_0x30d61f)),_0x393748[_0x2bbc18(0xff)][_0x2bbc18(0x101)](_0x2bbc18(0xf5),_0x2bbc18(0xcd),_0x2bbc18(0xed),()=>!0x1);}_0x393748[_0x2bbc18(0xc6)][_0x2bbc18(0xce)](_0x3a7bcc=>this[_0x2bbc18(0xf7)](_0x3a7bcc));}[_0x47c017(0x104)](_0x36fda5,_0x29bbd1,_0x4d73df,_0x34a065,_0x474ac8,_0x137f72){const _0x3bbfab=_0x47c017,_0x3746ee=this[_0x3bbfab(0xc8)][_0x3bbfab(0xdc)][_0x3bbfab(0xe6)](_0x3bbfab(0xc3));this[_0x3bbfab(0xc8)][_0x3bbfab(0xca)][_0x3bbfab(0xee)](_0x137f72[_0x3bbfab(0x10c)],()=>{const _0x1d26de=_0x3bbfab;for(const _0x1a0b55 of _0x29bbd1){if(this[_0x1d26de(0xf8)](_0x1a0b55,_0x34a065))_0x474ac8(_0x137f72);else{const _0x82ef59={};for(const _0x50c37a of _0x4d73df){const _0x14da01=_0x1a0b55[_0x1d26de(0xd4)](_0x50c37a);void 0x0!==_0x14da01&&(_0x82ef59[_0x50c37a]=_0x14da01);}_0x474ac8(_0x137f72),_0x3746ee[_0x1d26de(0xcc)](_0x1a0b55,{'commandParams':[_0x82ef59]},[],_0x34a065);}}});}[_0x47c017(0x100)](_0x39165a,_0x2c53ce,_0x4db67d){const _0x2efd64=_0x47c017,_0x23ed03=_0x2c53ce[0x0][_0x2efd64(0xdb)][_0x2efd64(0xf3)],_0x36497b=_0x4db67d[_0x2efd64(0xd2)][0x0];this[_0x2efd64(0xc8)][_0x2efd64(0xca)][_0x2efd64(0xe4)](_0x16dddf=>{const _0x37078c=_0x2efd64;for(const _0x5d9cf3 of _0x39165a)void 0x0!==_0x36497b[_0x5d9cf3]?_0x16dddf[_0x37078c(0xe3)](_0x5d9cf3,_0x36497b[_0x5d9cf3],_0x23ed03):_0x16dddf[_0x37078c(0x10b)](_0x5d9cf3,_0x23ed03);});}[_0x47c017(0xf7)](_0x2f4188){const _0x2cd2ca=_0x47c017;if(_0x2f4188[_0x2cd2ca(0xcf)])switch(_0x2f4188[_0x2cd2ca(0x107)]){case _0x2cd2ca(0xef):return{'type':_0x2cd2ca(0xf1),'content':_0x3f3330(this[_0x2cd2ca(0xc8)][_0x2cd2ca(0xe1)],_0x2cd2ca(0xfc))};case _0x2cd2ca(0xcd):return{'type':_0x2cd2ca(0xf1),'content':_0x3f3330(this[_0x2cd2ca(0xc8)][_0x2cd2ca(0xe1)],_0x2cd2ca(0xeb))};}}[_0x47c017(0xf8)](_0x255c52,_0x32cc36){const _0x2411a6=_0x47c017,_0x336e7d=this[_0x2411a6(0xc8)][_0x2411a6(0xdc)][_0x2411a6(0xe6)](_0x2411a6(0xc3));for(const _0x5d4d8f of _0x336e7d[_0x2411a6(0xf6)]({'skipNotAttached':!0x0})){const _0x2e9253=_0x5d4d8f[_0x2411a6(0x10d)]();if(_0x5d4d8f[_0x2411a6(0x107)]===_0x32cc36&&_0x2e9253===_0x255c52)return _0x5d4d8f;}return null;}}function _0x5595(){const _0x1b08a1=['655980WZEVwS','tableCellVerticalAlignment','*Format:*\x20change\x20table\x20cell\x20properties','tableCellBorderStyle','join','enqueueChange','tableProperties','16MuRcwu','format','6917697oydZlw','nodeAfter','afterInit','formatBlock','getSuggestions','handleSuggestionDescription','_getSuggestion','2208272vvghzj','tableCellBackgroundColor','tableBackgroundColor','*Format:*\x20change\x20table\x20properties','989365ClXvSj','getFirstPosition','_suggestionFactory','handleDiscardAction','registerCustomCallback','getSuggestionCallback','tableCellHeight','_handlePropertyChange','TablePropertiesEditing','has','subType','tableCellHorizontalAlignment','pluginName','accept','removeAttribute','batch','getContainedElement','tableBorderWidth','tableCellWidth','TrackChangesEditing','tableWidth','findAncestor','descriptionFactory','enableCommand','editor','tableAlignment','model','tableBorderColor','markBlockFormat','tableCellProperties','registerDescriptionCallback','data','discard','tableCellPadding','commandParams','tableBorderStyle','getAttribute','getSelectionAffectedTableCells','565854NitHis','tableCellBorderWidth','21tYuQnr','tableHeight','TableUtils','start','plugins','TableCellPropertiesEditing','978354fFsDYF','table','document','locale','selection','setAttribute','change','tableCellBorderColor','get','38914iTZcjk','TrackChangesTableProperties'];_0x5595=function(){return _0x1b08a1;};return _0x5595();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7a28(){const _0x9d2d4=['36ItMNhr','268634HXcHsh','get','9nrqDbF','insertTemplate','3339836qjQtLs','plugins','1750557CKDqHT','209915LSuCio','3318580qjGbjN','afterInit','has','2lWAlKQ','editor','TrackChangesEditing','3347505iexBkN','enableCommand','Template','1485416GKZgoL'];_0x7a28=function(){return _0x9d2d4;};return _0x7a28();}const _0x3af1df=_0x2310;function _0x2310(_0x171d3b,_0x2402a8){const _0x7a285e=_0x7a28();return _0x2310=function(_0x2310fc,_0x5b0b35){_0x2310fc=_0x2310fc-0x135;let _0x179d3b=_0x7a285e[_0x2310fc];return _0x179d3b;},_0x2310(_0x171d3b,_0x2402a8);}(function(_0x19ca2d,_0x43dc80){const _0xf2b9a2=_0x2310,_0x3efcef=_0x19ca2d();while(!![]){try{const _0x4dd2d9=parseInt(_0xf2b9a2(0x143))/0x1+-parseInt(_0xf2b9a2(0x13b))/0x2*(-parseInt(_0xf2b9a2(0x136))/0x3)+parseInt(_0xf2b9a2(0x147))/0x4+-parseInt(_0xf2b9a2(0x137))/0x5*(parseInt(_0xf2b9a2(0x142))/0x6)+-parseInt(_0xf2b9a2(0x13e))/0x7+-parseInt(_0xf2b9a2(0x141))/0x8*(parseInt(_0xf2b9a2(0x145))/0x9)+-parseInt(_0xf2b9a2(0x138))/0xa;if(_0x4dd2d9===_0x43dc80)break;else _0x3efcef['push'](_0x3efcef['shift']());}catch(_0x4e5c71){_0x3efcef['push'](_0x3efcef['shift']());}}}(_0x7a28,0x6b4a8));import{Plugin as _0x28bd57}from'ckeditor5/src/core.js';export default class Ct extends _0x28bd57{[_0x3af1df(0x139)](){const _0x225c29=_0x3af1df,_0x218813=this[_0x225c29(0x13c)];_0x218813[_0x225c29(0x135)][_0x225c29(0x13a)](_0x225c29(0x140))&&_0x218813[_0x225c29(0x135)][_0x225c29(0x144)](_0x225c29(0x13d))[_0x225c29(0x13f)](_0x225c29(0x146));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f1f6=_0x3d90;function _0x3d90(_0x2e36bd,_0xcc058e){const _0x26174a=_0x2617();return _0x3d90=function(_0x3d90ba,_0x26c717){_0x3d90ba=_0x3d90ba-0x16f;let _0x459e92=_0x26174a[_0x3d90ba];return _0x459e92;},_0x3d90(_0x2e36bd,_0xcc058e);}function _0x2617(){const _0xd0fa7b=['element','875YyDwMl','432896qGhMOY','updateMarker','locale','331674ufjxgK','232275kchfbf','createRange','suggestion','Title','removeMarker','2094nTTfsl','document','isCollapsed','end','newRange','12436BUKRvH','isEqual','plugins','getNearestSelectionRange','isTouching','20ofNpAK','has','differ','editor','schema','registerPostFixer','ELEMENT_TITLE','getChangedMarkers','TrackChangesEditing','start','model','forward','title-content','from','nodeBefore','registerElementLabel','819945HVzbBt','get','afterInit','63884TgGapI','_splitMarkerName','descriptionFactory'];_0x2617=function(){return _0xd0fa7b;};return _0x2617();}(function(_0x127f1f,_0x150f39){const _0x59d4a9=_0x3d90,_0x172f62=_0x127f1f();while(!![]){try{const _0x1a2581=parseInt(_0x59d4a9(0x182))/0x1+parseInt(_0x59d4a9(0x18a))/0x2+parseInt(_0x59d4a9(0x18b))/0x3+parseInt(_0x59d4a9(0x195))/0x4*(-parseInt(_0x59d4a9(0x16f))/0x5)+-parseInt(_0x59d4a9(0x190))/0x6*(parseInt(_0x59d4a9(0x186))/0x7)+-parseInt(_0x59d4a9(0x187))/0x8+-parseInt(_0x59d4a9(0x17f))/0x9;if(_0x1a2581===_0x150f39)break;else _0x172f62['push'](_0x172f62['shift']());}catch(_0x298209){_0x172f62['push'](_0x172f62['shift']());}}}(_0x2617,0x19d8c));import{Plugin as _0x71a7c}from'ckeditor5/src/core.js';import{getTranslation as _0x2a0e02}from'../utils/common-translations.js';export default class Dt extends _0x71a7c{[_0x41f1f6(0x181)](){const _0x4d7fb7=_0x41f1f6,_0x438d7f=this[_0x4d7fb7(0x172)];if(!_0x438d7f[_0x4d7fb7(0x197)][_0x4d7fb7(0x170)](_0x4d7fb7(0x18e)))return;const _0x548813=_0x438d7f[_0x4d7fb7(0x197)][_0x4d7fb7(0x180)](_0x4d7fb7(0x177));_0x548813[_0x4d7fb7(0x184)][_0x4d7fb7(0x17e)](_0x4d7fb7(0x17b),()=>_0x2a0e02(_0x438d7f[_0x4d7fb7(0x189)],_0x4d7fb7(0x175))),_0x438d7f[_0x4d7fb7(0x179)][_0x4d7fb7(0x191)][_0x4d7fb7(0x174)](_0x5b04bd=>{const _0x1ba05f=_0x4d7fb7;let _0x4cd61a=!0x1;const _0x71e622=Array[_0x1ba05f(0x17c)](_0x438d7f[_0x1ba05f(0x179)][_0x1ba05f(0x191)][_0x1ba05f(0x171)][_0x1ba05f(0x176)]());for(const {name:_0x5c0032,data:_0xda5c81}of _0x71e622){const {group:_0x2222ba}=_0x548813[_0x1ba05f(0x183)](_0x5c0032);if(_0x1ba05f(0x18d)!==_0x2222ba||!_0xda5c81[_0x1ba05f(0x194)])continue;const _0x52e734=_0xda5c81[_0x1ba05f(0x194)],_0x2cbec9=_0x52e734[_0x1ba05f(0x193)][_0x1ba05f(0x17d)];if(!_0x2cbec9||!_0x2cbec9['is'](_0x1ba05f(0x185),_0x1ba05f(0x17b)))continue;if(!_0x52e734[_0x1ba05f(0x178)][_0x1ba05f(0x199)](_0x52e734[_0x1ba05f(0x193)]))continue;const _0x89e594=_0x438d7f[_0x1ba05f(0x179)][_0x1ba05f(0x173)][_0x1ba05f(0x198)](_0x52e734[_0x1ba05f(0x193)],_0x1ba05f(0x17a));if(_0x89e594&&_0x89e594[_0x1ba05f(0x192)]){const _0x2d8e86=_0x5b04bd[_0x1ba05f(0x18c)](_0x52e734[_0x1ba05f(0x178)],_0x89e594[_0x1ba05f(0x178)]);_0x2d8e86[_0x1ba05f(0x196)](_0x52e734)||(_0x5b04bd[_0x1ba05f(0x188)](_0x5c0032,{'range':_0x2d8e86}),_0x4cd61a=!0x0);}_0x4cd61a||(_0x5b04bd[_0x1ba05f(0x18f)](_0x5c0032),_0x4cd61a=!0x0);}return _0x4cd61a;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53e261=_0x3fa3;(function(_0xe5e9c3,_0x5697a3){const _0x45081=_0x3fa3,_0x3c0577=_0xe5e9c3();while(!![]){try{const _0x38197b=-parseInt(_0x45081(0xa1))/0x1*(parseInt(_0x45081(0x93))/0x2)+-parseInt(_0x45081(0x91))/0x3+-parseInt(_0x45081(0x94))/0x4+-parseInt(_0x45081(0x9b))/0x5*(parseInt(_0x45081(0x99))/0x6)+-parseInt(_0x45081(0x97))/0x7*(-parseInt(_0x45081(0x9a))/0x8)+parseInt(_0x45081(0x90))/0x9*(-parseInt(_0x45081(0x9f))/0xa)+parseInt(_0x45081(0x8e))/0xb;if(_0x38197b===_0x5697a3)break;else _0x3c0577['push'](_0x3c0577['shift']());}catch(_0x21cd9b){_0x3c0577['push'](_0x3c0577['shift']());}}}(_0x3d4c,0x7fa45));import{Plugin as _0x59c1e8}from'ckeditor5/src/core.js';export default class Nt extends _0x59c1e8{[_0x53e261(0x8f)](){const _0x1ba53d=_0x53e261,_0x17cc58=this[_0x1ba53d(0x96)],_0x5badf4=_0x17cc58[_0x1ba53d(0x9c)][_0x1ba53d(0xa2)](_0x1ba53d(0x98));_0x17cc58[_0x1ba53d(0x9c)][_0x1ba53d(0x95)](_0x1ba53d(0x9e))&&(_0x5badf4[_0x1ba53d(0x9d)](_0x1ba53d(0xa0)),_0x5badf4[_0x1ba53d(0x9d)](_0x1ba53d(0x92)));}}function _0x3fa3(_0x43a90c,_0x480020){const _0x3d4c43=_0x3d4c();return _0x3fa3=function(_0x3fa34c,_0x30d563){_0x3fa34c=_0x3fa34c-0x8e;let _0x2201c6=_0x3d4c43[_0x3fa34c];return _0x2201c6;},_0x3fa3(_0x43a90c,_0x480020);}function _0x3d4c(){const _0x46b756=['plugins','enableCommand','UndoEditing','565540MCbrsL','undo','1SwHITc','get','22966196XTxIBX','afterInit','18qigqHV','497445ftPAAe','redo','2072194OTLtYp','1176276GADUoX','has','editor','3290ChTtnt','TrackChangesEditing','156xAqAvJ','8128JMrOdP','83355cdxVSk'];_0x3d4c=function(){return _0x46b756;};return _0x3d4c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5735(){const _0x4c94e2=['TrackChangesEditing','getItems','getCustomProperty','nextSibling','plugins','786570CQPZEw','ck-suggestion-marker--active','schema','isContent','createUIElement','toViewElement','start','2NIRUWO','mapper','isLimit','3JivklJ','bindElementToMarker','addClass','item','elementEnd','isBlock','includes','addHighlight','model','createRangeOn','267896RVouGK','push','hasAttribute','activeMarkers','parent','149281ZRuUOs','get','name','consumable','10cNZmsz','1220640PMuwoo','span','ck-suggestion-marker-','markerName','getWalker','markerRange','3112335lgJMTI','writer','previousPosition','toViewPosition','test','type','isAtEnd','91225CTfzzK','1463630kOWHDQ','insert'];_0x5735=function(){return _0x4c94e2;};return _0x5735();}(function(_0x1158e4,_0x5c9930){const _0x22b2f6=_0x3f4e,_0x5336db=_0x1158e4();while(!![]){try{const _0x5c59c5=-parseInt(_0x22b2f6(0xdf))/0x1*(parseInt(_0x22b2f6(0x100))/0x2)+parseInt(_0x22b2f6(0xd0))/0x3*(parseInt(_0x22b2f6(0xda))/0x4)+parseInt(_0x22b2f6(0xf1))/0x5+parseInt(_0x22b2f6(0xf9))/0x6+-parseInt(_0x22b2f6(0xf2))/0x7+parseInt(_0x22b2f6(0xe4))/0x8+-parseInt(_0x22b2f6(0xea))/0x9*(-parseInt(_0x22b2f6(0xe3))/0xa);if(_0x5c59c5===_0x5c9930)break;else _0x5336db['push'](_0x5336db['shift']());}catch(_0x5473f4){_0x5336db['push'](_0x5336db['shift']());}}}(_0x5735,0x56ff2));function _0x3f4e(_0x25d550,_0x23fa2b){const _0x573513=_0x5735();return _0x3f4e=function(_0x3f4eeb,_0x740ca3){_0x3f4eeb=_0x3f4eeb-0xcf;let _0x3faa64=_0x573513[_0x3f4eeb];return _0x3faa64;},_0x3f4e(_0x25d550,_0x23fa2b);}export function getRangesWithAttribute(_0x1708e4,_0x5e9783,_0x152779){const _0x4addba=_0x3f4e,_0x57ccb3=[];for(const _0x41ac00 of _0x5e9783[_0x4addba(0xf5)]())_0x41ac00[_0x4addba(0xdc)](_0x1708e4)&&_0x57ccb3[_0x4addba(0xdb)](_0x152779[_0x4addba(0xd9)](_0x41ac00));return _0x57ccb3;}export function downcastSplitMergeMarker(_0x350534,_0x364c03,{showActiveMarker:_0x5460b7=!0x0}={}){const _0x379dd2=_0x3f4e,_0x3b5801=_0x350534[_0x379dd2(0xf8)][_0x379dd2(0xe0)](_0x379dd2(0xf4));return(_0x47b5c3,_0x542924,_0x32ffb2)=>{const _0x97ed7c=_0x379dd2;if(!_0x32ffb2[_0x97ed7c(0xe2)][_0x97ed7c(0xee)](_0x542924[_0x97ed7c(0xe9)],_0x47b5c3[_0x97ed7c(0xe1)]))return;const _0x59f41c=_0x542924[_0x97ed7c(0xe9)][_0x97ed7c(0xe8)](),_0xbfcc3d=_0x542924[_0x97ed7c(0xe9)][_0x97ed7c(0xff)],_0x241377=_0x350534[_0x97ed7c(0xd8)][_0x97ed7c(0xfb)];let _0x4a815a=null,_0x4953a1=null,_0x519e9b=!0x1,_0x27c996=!0x1;for(const _0x50a3eb of _0x59f41c){const _0x186189=_0x50a3eb[_0x97ed7c(0xd3)];_0x519e9b=_0x519e9b||_0x241377[_0x97ed7c(0xfc)](_0x186189);const _0xf04feb=_0x32ffb2[_0x97ed7c(0x101)][_0x97ed7c(0xfe)](_0x186189);if(_0xf04feb&&_0xf04feb[_0x97ed7c(0xf6)](_0x97ed7c(0xd7)))return;_0x97ed7c(0xd4)==_0x50a3eb[_0x97ed7c(0xef)]&&(_0x241377[_0x97ed7c(0xd5)](_0x186189)&&!_0x241377[_0x97ed7c(0xcf)](_0x186189)&&(_0x186189[_0x97ed7c(0xf7)]||_0xbfcc3d[_0x97ed7c(0xf0)]?_0x4a815a&&_0x4a815a[_0x97ed7c(0xde)]==_0x186189||(_0x4a815a=_0x186189,_0x4efe79(_0x50a3eb[_0x97ed7c(0xec)]),_0x27c996=!0x0):_0x4953a1=_0x4953a1||_0x50a3eb[_0x97ed7c(0xec)]));}function _0x4efe79(_0x1cb7f3){const _0x534253=_0x97ed7c,_0x57ba7c=_0x32ffb2[_0x534253(0xeb)][_0x534253(0xfd)](_0x534253(0xe5),{'class':_0x534253(0xe6)+_0x364c03}),_0x92ebfd=_0x32ffb2[_0x534253(0x101)][_0x534253(0xed)](_0x1cb7f3);_0x5460b7&&_0x3b5801[_0x534253(0xdd)][_0x534253(0xd6)](_0x542924[_0x534253(0xe7)])&&_0x32ffb2[_0x534253(0xeb)][_0x534253(0xd2)](_0x534253(0xfa),_0x57ba7c),_0x32ffb2[_0x534253(0xeb)][_0x534253(0xf3)](_0x92ebfd,_0x57ba7c),_0x32ffb2[_0x534253(0x101)][_0x534253(0xd1)](_0x57ba7c,_0x542924[_0x534253(0xe7)]);}_0x519e9b||_0x27c996||!_0x4953a1||_0x4efe79(_0x4953a1);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5a2b3e=_0x4ce4;(function(_0x3010df,_0x5949a9){const _0x2fe81d=_0x4ce4,_0x3a9039=_0x3010df();while(!![]){try{const _0x3edcf5=-parseInt(_0x2fe81d(0x176))/0x1+-parseInt(_0x2fe81d(0x179))/0x2+-parseInt(_0x2fe81d(0x149))/0x3+parseInt(_0x2fe81d(0x173))/0x4+parseInt(_0x2fe81d(0x191))/0x5*(parseInt(_0x2fe81d(0x146))/0x6)+-parseInt(_0x2fe81d(0x165))/0x7+parseInt(_0x2fe81d(0x166))/0x8*(parseInt(_0x2fe81d(0x14c))/0x9);if(_0x3edcf5===_0x5949a9)break;else _0x3a9039['push'](_0x3a9039['shift']());}catch(_0x39a999){_0x3a9039['push'](_0x3a9039['shift']());}}}(_0x1919,0x1c053));import{Element as _0x2ae074}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1620e4,uid as _0x3b29ad}from'ckeditor5/src/utils.js';import{cloneDeep as _0x2115ec,isEqual as _0x3b6de1,set as _0x3494a6,unset as _0x4a1495}from'lodash-es';function _0x4ce4(_0x224f77,_0x42a175){const _0x19193b=_0x1919();return _0x4ce4=function(_0x4ce4ab,_0x53afbd){_0x4ce4ab=_0x4ce4ab-0x142;let _0x4c14d6=_0x19193b[_0x4ce4ab];return _0x4c14d6;},_0x4ce4(_0x224f77,_0x42a175);}function _0x1919(){const _0xa02a9d=['_saved','getAllAdjacentSuggestions','from','data','toJSON','getMarkers','clear','subType','getRanges','_onDiscard','reduce','size','_markerNames','isExternal','getMarkerNames','change','push','1265733GorjPJ','22608DORQgW','markers','get','delete','accept','length','getRange','getContainedElement','_onAccept','getFirstMarker','authoredAt','nodeBefore','discard','87804BCYeDT','onDiscard','onAttributesChange','214439XQZpUX','onAccept','hasComments','17476FMPLkk','head','getItems','decorate','addMarkerName','split','getMultiRangeId','next','previous','creator','setAttribute','substr','isIntersecting','add','commentThread','createdAt','getFirstRange','addMarker','end','_model','@external','map','_onAttributesChange','isIntersectingWithRange','389985hTKOVJ','set','isMultiRange','removeAttribute','author','12JLvtvq','nodeAfter','type','596832QDBanh','start','_isDataLoaded','1719BXHZzQ','removeMarker','isInContent','addRange','filter','suggestion:','attributes','removeMarkers'];_0x1919=function(){return _0xa02a9d;};return _0x1919();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1620e4(){constructor(_0x3e24d3,_0x31e00c){const _0x406d70=_0x4ce4;super(),this[_0x406d70(0x14b)]=!0x1,this['id']=_0x31e00c['id'],this[_0x406d70(0x148)]=_0x31e00c[_0x406d70(0x148)],this[_0x406d70(0x15b)]=_0x31e00c[_0x406d70(0x15b)]||null,this[_0x406d70(0x145)]=_0x31e00c[_0x406d70(0x145)],this[_0x406d70(0x182)]=_0x31e00c[_0x406d70(0x182)]||_0x31e00c[_0x406d70(0x145)],this[_0x406d70(0x161)]=Boolean(_0x31e00c[_0x406d70(0x152)]&&_0x31e00c[_0x406d70(0x152)][_0x406d70(0x18d)]),this[_0x406d70(0x157)]=null,this[_0x406d70(0x18c)]=_0x3e24d3,this[_0x406d70(0x16e)]=_0x31e00c[_0x406d70(0x177)],this[_0x406d70(0x15d)]=_0x31e00c[_0x406d70(0x174)],this[_0x406d70(0x18f)]=_0x31e00c[_0x406d70(0x175)],this[_0x406d70(0x160)]=new Set(),this[_0x406d70(0x188)]=null,this[_0x406d70(0x142)](_0x406d70(0x170),null),this[_0x406d70(0x142)](_0x406d70(0x152),_0x31e00c[_0x406d70(0x152)]||{}),this[_0x406d70(0x142)](_0x406d70(0x181),null),this[_0x406d70(0x142)](_0x406d70(0x180),null),this[_0x406d70(0x142)](_0x406d70(0x187),null),this[_0x406d70(0x142)](_0x406d70(0x154),!0x1),this[_0x406d70(0x17c)](_0x406d70(0x16a)),this[_0x406d70(0x17c)](_0x406d70(0x172));}get[_0x5a2b3e(0x17a)](){const _0x15e8dc=_0x5a2b3e;let _0x33fa1f=this;for(;_0x33fa1f[_0x15e8dc(0x181)];)_0x33fa1f=_0x33fa1f[_0x15e8dc(0x181)];return _0x33fa1f;}get[_0x5a2b3e(0x178)](){const _0x1dd0d3=_0x5a2b3e;return!!this[_0x1dd0d3(0x187)]&&this[_0x1dd0d3(0x187)][_0x1dd0d3(0x16b)]>0x0;}get[_0x5a2b3e(0x143)](){const _0x40d4c0=_0x5a2b3e;if(0x0==this[_0x40d4c0(0x160)][_0x40d4c0(0x15f)])return!0x1;return 0x6==Array[_0x40d4c0(0x156)](this[_0x40d4c0(0x160)])[0x0][_0x40d4c0(0x17e)](':')[_0x40d4c0(0x16b)];}get[_0x5a2b3e(0x14e)](){const _0x48ff99=_0x5a2b3e;return null!==this[_0x48ff99(0x16f)]();}[_0x5a2b3e(0x17d)](_0x508d39){const _0x10630f=_0x5a2b3e;this[_0x10630f(0x160)][_0x10630f(0x186)](_0x508d39);}[_0x5a2b3e(0x162)](){const _0x4ad281=_0x5a2b3e;return Array[_0x4ad281(0x156)](this[_0x4ad281(0x160)]);}[_0x5a2b3e(0x159)](){const _0x58ed70=_0x5a2b3e;return this[_0x58ed70(0x162)]()[_0x58ed70(0x18e)](_0x286fe9=>this[_0x58ed70(0x18c)][_0x58ed70(0x167)][_0x58ed70(0x168)](_0x286fe9))[_0x58ed70(0x150)](_0x1f61c0=>_0x1f61c0);}[_0x5a2b3e(0x16f)](){const _0x3c20ec=_0x5a2b3e;return this[_0x3c20ec(0x159)]()[0x0]||null;}[_0x5a2b3e(0x153)](){const _0x5064af=_0x5a2b3e;this[_0x5064af(0x18c)][_0x5064af(0x163)](_0x2b0e0c=>{const _0x366dc2=_0x5064af;for(const _0x27e721 of this[_0x366dc2(0x159)]())_0x2b0e0c[_0x366dc2(0x14d)](_0x27e721);}),this[_0x5064af(0x160)][_0x5064af(0x15a)]();}[_0x5a2b3e(0x14d)](_0x44fcb2){const _0x52defc=_0x5a2b3e;this[_0x52defc(0x18c)][_0x52defc(0x163)](_0x16a979=>{const _0x4da754=_0x52defc;_0x16a979[_0x4da754(0x14d)](_0x44fcb2);}),this[_0x52defc(0x160)][_0x52defc(0x169)](_0x44fcb2);}[_0x5a2b3e(0x14f)](_0x4dda51){const _0xc26709=_0x5a2b3e,_0x339397=_0xc26709(0x151)+this[_0xc26709(0x148)]+':'+this[_0xc26709(0x15b)]+':'+this['id']+':'+this[_0xc26709(0x182)]['id']+':'+u[_0xc26709(0x17f)]();this[_0xc26709(0x17d)](_0x339397),this[_0xc26709(0x18c)][_0xc26709(0x163)](_0x92f47=>{const _0x22a48a=_0xc26709;_0x92f47[_0x22a48a(0x18a)](_0x339397,{'range':_0x4dda51,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5a2b3e(0x190)](_0x156fe4){const _0x23308a=_0x5a2b3e;for(const _0x247881 of this[_0x23308a(0x15c)]())if(_0x247881[_0x23308a(0x185)](_0x156fe4))return!0x0;return!0x1;}[_0x5a2b3e(0x15c)](){const _0x3f8fc8=_0x5a2b3e;return this[_0x3f8fc8(0x159)]()[_0x3f8fc8(0x18e)](_0x3db5c1=>_0x3db5c1[_0x3f8fc8(0x16c)]());}[_0x5a2b3e(0x17b)](){const _0x5973ac=_0x5a2b3e;return this[_0x5973ac(0x15c)]()[_0x5973ac(0x15e)]((_0x2d898c,_0x6f1196)=>[..._0x2d898c,..._0x6f1196[_0x5973ac(0x17b)]()],[]);}[_0x5a2b3e(0x189)](){const _0x3e5e41=_0x5a2b3e;var _0x5f57f4;return(null===(_0x5f57f4=this[_0x3e5e41(0x16f)]())||void 0x0===_0x5f57f4?void 0x0:_0x5f57f4[_0x3e5e41(0x16c)]())||null;}[_0x5a2b3e(0x16d)](){const _0x5cbcfd=_0x5a2b3e,_0xe1b65f=this[_0x5cbcfd(0x15c)]();if(0x1!=_0xe1b65f[_0x5cbcfd(0x16b)])return null;const _0x430dc9=_0xe1b65f[0x0],_0x260ea3=_0x430dc9[_0x5cbcfd(0x14a)][_0x5cbcfd(0x147)],_0x15cc8a=_0x430dc9[_0x5cbcfd(0x18b)][_0x5cbcfd(0x171)];return _0x260ea3 instanceof _0x2ae074?_0x260ea3!=_0x15cc8a?null:_0x260ea3:null;}[_0x5a2b3e(0x16a)](){const _0x13be57=_0x5a2b3e;this[_0x13be57(0x16e)](this[_0x13be57(0x15c)](),this[_0x13be57(0x157)],this[_0x13be57(0x152)]),this[_0x13be57(0x153)]();}[_0x5a2b3e(0x172)](){const _0x2dfd0b=_0x5a2b3e;this[_0x2dfd0b(0x15d)](this[_0x2dfd0b(0x15c)](),this[_0x2dfd0b(0x157)],this[_0x2dfd0b(0x152)]),this[_0x2dfd0b(0x153)]();}[_0x5a2b3e(0x155)](){const _0x4ae379=_0x5a2b3e,_0x3c9a13=[];let _0x4355fb=this[_0x4ae379(0x17a)];for(;_0x4355fb;)_0x3c9a13[_0x4ae379(0x164)](_0x4355fb),_0x4355fb=_0x4355fb[_0x4ae379(0x180)];return _0x3c9a13;}[_0x5a2b3e(0x183)](_0x416b99,_0xd685c1){const _0x360acb=_0x5a2b3e,_0x182097=_0x2115ec(this[_0x360acb(0x152)]);_0x3494a6(_0x182097,_0x416b99,_0xd685c1),_0x3b6de1(_0x182097,this[_0x360acb(0x152)])||(this[_0x360acb(0x152)]=_0x182097,this[_0x360acb(0x18f)](_0x182097));}[_0x5a2b3e(0x144)](_0x4d3f83){const _0x1c37a4=_0x5a2b3e,_0x7147c8=_0x2115ec(this[_0x1c37a4(0x152)]);_0x4a1495(_0x7147c8,_0x4d3f83),_0x3b6de1(_0x7147c8,this[_0x1c37a4(0x152)])||(this[_0x1c37a4(0x152)]=_0x7147c8,this[_0x1c37a4(0x18f)](this[_0x1c37a4(0x152)]));}[_0x5a2b3e(0x158)](){const _0x196a61=_0x5a2b3e;return{'id':this['id'],'type':this[_0x196a61(0x15b)]?this[_0x196a61(0x148)]+':'+this[_0x196a61(0x15b)]:this[_0x196a61(0x148)],'authorId':this[_0x196a61(0x182)]['id'],'createdAt':this[_0x196a61(0x188)],'hasComments':this[_0x196a61(0x178)],'data':this[_0x196a61(0x157)],'attributes':this[_0x196a61(0x152)]};}static[_0x5a2b3e(0x17f)](){const _0x1ca602=_0x5a2b3e;return _0x3b29ad()[_0x1ca602(0x184)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x117e(_0x1ba5cb,_0x302185){const _0x136a9f=_0x136a();return _0x117e=function(_0x117ef9,_0xc0a931){_0x117ef9=_0x117ef9-0x174;let _0xffa0b7=_0x136a9f[_0x117ef9];return _0xffa0b7;},_0x117e(_0x1ba5cb,_0x302185);}const _0x52f16b=_0x117e;(function(_0x1a0f4e,_0x344b1a){const _0x3bb22d=_0x117e,_0x55edb4=_0x1a0f4e();while(!![]){try{const _0x141b20=parseInt(_0x3bb22d(0x1a9))/0x1*(parseInt(_0x3bb22d(0x192))/0x2)+parseInt(_0x3bb22d(0x1d2))/0x3*(parseInt(_0x3bb22d(0x179))/0x4)+parseInt(_0x3bb22d(0x184))/0x5+-parseInt(_0x3bb22d(0x1ab))/0x6+-parseInt(_0x3bb22d(0x1c3))/0x7*(parseInt(_0x3bb22d(0x1c2))/0x8)+-parseInt(_0x3bb22d(0x187))/0x9*(-parseInt(_0x3bb22d(0x1b0))/0xa)+-parseInt(_0x3bb22d(0x1d4))/0xb*(parseInt(_0x3bb22d(0x1c9))/0xc);if(_0x141b20===_0x344b1a)break;else _0x55edb4['push'](_0x55edb4['shift']());}catch(_0x41ac74){_0x55edb4['push'](_0x55edb4['shift']());}}}(_0x136a,0x72c18));import{getTranslation as _0x24437a}from'./utils/common-translations.js';function _0x136a(){const _0x9e20a=['normal','deletion','elementStart','match','addEmptyContainer','newValue','get','join','Container','insertion','pop','_locale','data','_addDescriptionItems','quantity','isEmpty','function','695133smgbHD','_customCallbacks','4328748qlCvvM','add','checkChild','ELEMENT_SPACE','length','10Mybpln','_schema','set','subType','isObject','*Merge:*\x20%0','format','start','matchingCallback','end','_resolveDescriptionItems','map','_handleRenameSuggestionDescription','text','has','push','nextSibling','skip','304JSrkVi','114765oHKTXc','*Insert:*\x20%0','addObject','label','_itemLabelsCallbacks','indexOf','703128HtpdVX','getItemLabel','getDescriptions','_handleInsertRemoveSuggestionDescription','addFormat','elementEnd','removeObject','registerAttributeLabel','registerDescriptionCallback','1141626xNCTXs','nodeAfter','88SpJATg','_itemLabels','replace','$text','getWalker','element','removeEmptyContainer','addContainer','4HZRinP','_handleCustomCallbackDescription','isInContent','removeFormat','$textProxy','getFirstRange','*Split:*\x20%0','registerElementLabel','isEqual','_handleAttributeSuggestionDescription','_attributeLabels','3307515CxYFUf','item','remove','4914738jCWWaJ','previousSibling','Object','*Remove\x20format:*\x20%0','type','removeContainer','*Remove:*\x20%0','*Set\x20format:*\x20%0','$1\x20$2','key','attribute','2PlRTZE','name','EmptyContainer','REPLACE_TEXT','softBreak','*Change\x20to:*\x20%0'];_0x136a=function(){return _0x9e20a;};return _0x136a();}import{priorities as _0x570d1f,insertToPriorityArray as _0x39e9e9}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x3527f1}from'./trackchangesediting.js';export default class f{constructor(_0x564421,_0x29cf72){const _0x3babf9=_0x117e;this[_0x3babf9(0x1aa)]=[],this[_0x3babf9(0x1d5)]=new Map(),this[_0x3babf9(0x1c7)]=[],this[_0x3babf9(0x183)]=new Map(),this[_0x3babf9(0x1b1)]=_0x564421,this[_0x3babf9(0x1a3)]=_0x29cf72;}[_0x52f16b(0x1cb)](_0x845d06){const _0x355063=_0x52f16b,_0x429086=[],_0x2d7612=new Set(),_0x170131=new Set();for(let _0x260a2b=0x0;_0x260a2b<_0x845d06[_0x355063(0x1af)];_0x260a2b++){const _0x335593=_0x845d06[_0x260a2b];if(!_0x335593[_0x355063(0x17b)])continue;const _0x598c86=this[_0x355063(0x17a)](_0x335593);if(_0x598c86){if(null!=_0x335593[_0x355063(0x1b3)]){if(_0x2d7612[_0x355063(0x1be)](_0x335593[_0x355063(0x1b3)]))continue;_0x2d7612[_0x355063(0x1ac)](_0x335593[_0x355063(0x1b3)]);}_0x429086[_0x355063(0x1bf)](_0x598c86);}else{if(_0x355063(0x191)!=_0x335593[_0x355063(0x18b)])_0x355063(0x1a1)!=_0x335593[_0x355063(0x18b)]&&_0x355063(0x199)!=_0x335593[_0x355063(0x18b)]||this[_0x355063(0x1cc)](_0x429086,_0x335593,_0x845d06[_0x260a2b+0x1]);else{const _0x5a6ea5=_0x335593[_0x355063(0x1a4)][_0x355063(0x190)];if(_0x170131[_0x355063(0x1be)](_0x5a6ea5))continue;_0x170131[_0x355063(0x1ac)](_0x335593[_0x355063(0x1a4)][_0x355063(0x190)]),_0x5a6ea5==_0x3527f1?this[_0x355063(0x1bc)](_0x429086,_0x335593):this[_0x355063(0x182)](_0x429086,_0x335593);}}}return this[_0x355063(0x1ba)](_0x429086);}[_0x52f16b(0x1d1)](_0x24b735){const _0x1b86ca=_0x52f16b;this[_0x1b86ca(0x1aa)][_0x1b86ca(0x1bf)](_0x24b735);}[_0x52f16b(0x180)](_0x4d14bd,_0x58c0de,_0x13ffac=_0x570d1f[_0x52f16b(0x198)]){const _0x25e4c9=_0x52f16b;_0x25e4c9(0x1a8)==typeof _0x4d14bd?_0x39e9e9(this[_0x25e4c9(0x1c7)],{'matchingCallback':_0x4d14bd,'label':_0x58c0de,'priority':_0x13ffac}):this[_0x25e4c9(0x1d5)][_0x25e4c9(0x1b2)](_0x4d14bd,_0x58c0de);}[_0x52f16b(0x1d0)](_0x53a1b2,_0x2d5299){const _0xfdd3d2=_0x52f16b;this[_0xfdd3d2(0x183)][_0xfdd3d2(0x1b2)](_0x53a1b2,_0x2d5299);}[_0x52f16b(0x1ca)](_0x31b046,_0x19f155=0x1){const _0x5e903a=_0x52f16b;let _0x1bec95;for(const _0x15a39c of this[_0x5e903a(0x1c7)])if(_0x15a39c[_0x5e903a(0x1b8)](_0x31b046)){_0x1bec95=_0x15a39c[_0x5e903a(0x1c6)];break;}return _0x1bec95||(_0x1bec95=this[_0x5e903a(0x1d5)][_0x5e903a(0x19e)](_0x31b046[_0x5e903a(0x193)])),_0x1bec95?_0x1bec95(_0x19f155):0x1!==_0x19f155?_0x19f155+'\x20'+_0x31b046[_0x5e903a(0x193)]+'s':''+_0x31b046[_0x5e903a(0x193)];}[_0x52f16b(0x1a5)](_0x1d9d08,_0x4a3b80){const _0x4e21ef=_0x52f16b,_0x2e14f4=_0x4a3b80[_0x4e21ef(0x17e)]()[_0x4e21ef(0x175)](),_0x5efd09=_0x4e21ef(0x1a1)==_0x4a3b80[_0x4e21ef(0x18b)]?_0x4e21ef(0x1ac):_0x4e21ef(0x186);for(const _0x19e902 of _0x2e14f4){const _0x49ddeb=_0x19e902[_0x4e21ef(0x185)],_0x31d7ff=_0x1d9d08[_0x1d9d08[_0x4e21ef(0x1af)]-0x1];if(_0x49ddeb['is'](_0x4e21ef(0x17d)))_0x31d7ff&&_0x31d7ff[_0x4e21ef(0x18b)][_0x4e21ef(0x1c8)](_0x4e21ef(0x1a0))>-0x1&&_0x1d9d08[_0x4e21ef(0x1a2)](),_0x31d7ff&&_0x4e21ef(0x1bd)==_0x31d7ff[_0x4e21ef(0x18b)]?_0x31d7ff[_0x5efd09]+=_0x49ddeb[_0x4e21ef(0x1a4)]:_0x1d9d08[_0x4e21ef(0x1bf)]({'type':_0x4e21ef(0x1bd),'add':_0x4e21ef(0x1ac)==_0x5efd09?_0x49ddeb[_0x4e21ef(0x1a4)]:'','remove':_0x4e21ef(0x186)==_0x5efd09?_0x49ddeb[_0x4e21ef(0x1a4)]:''});else{if(this[_0x4e21ef(0x1b1)][_0x4e21ef(0x1b4)](_0x49ddeb)){const _0x5024de=_0x49ddeb;if(_0x31d7ff&&_0x31d7ff[_0x4e21ef(0x18b)][_0x4e21ef(0x1c8)](_0x4e21ef(0x1a0))>-0x1&&_0x1d9d08[_0x4e21ef(0x1a2)](),_0x4e21ef(0x1ce)==_0x19e902[_0x4e21ef(0x18b)])continue;_0x31d7ff&&_0x31d7ff[_0x4e21ef(0x18b)]==_0x5efd09+_0x4e21ef(0x189)&&_0x31d7ff[_0x4e21ef(0x176)][_0x4e21ef(0x193)]==_0x5024de[_0x4e21ef(0x193)]?_0x31d7ff[_0x4e21ef(0x1a6)]++:_0x1d9d08[_0x4e21ef(0x1bf)]({'type':_0x5efd09+_0x4e21ef(0x189),'element':_0x5024de,'quantity':0x1}),_0x2e14f4[_0x4e21ef(0x1c1)](_0x30d79a=>!(_0x4e21ef(0x1ce)==_0x30d79a[_0x4e21ef(0x18b)]&&_0x30d79a[_0x4e21ef(0x185)]==_0x49ddeb));}else{if(this[_0x4e21ef(0x1b1)][_0x4e21ef(0x1ad)](_0x49ddeb,_0x4e21ef(0x174))||_0x49ddeb['is'](_0x4e21ef(0x176),_0x4e21ef(0x196))){const _0x197969=_0x49ddeb;if(_0x4e21ef(0x1ac)==_0x5efd09&&_0x4e21ef(0x19a)==_0x19e902[_0x4e21ef(0x18b)]||_0x4e21ef(0x186)==_0x5efd09&&_0x4e21ef(0x1ce)==_0x19e902[_0x4e21ef(0x18b)])continue;if(_0x31d7ff&&-0x1==_0x31d7ff[_0x4e21ef(0x18b)][_0x4e21ef(0x1c8)](_0x4e21ef(0x1a0))){_0x4e21ef(0x1bd)==_0x31d7ff[_0x4e21ef(0x18b)]&&(_0x31d7ff[_0x5efd09]+='\x0a');continue;}let _0x4d1a25;if(_0x4d1a25=_0x4e21ef(0x1ac)==_0x5efd09?_0x197969[_0x4e21ef(0x1c0)]&&!this[_0x4e21ef(0x1b1)][_0x4e21ef(0x1b4)](_0x197969[_0x4e21ef(0x1c0)])?_0x197969[_0x4e21ef(0x1c0)]:null:_0x197969[_0x4e21ef(0x188)]&&!this[_0x4e21ef(0x1b1)][_0x4e21ef(0x1b4)](_0x197969[_0x4e21ef(0x188)])?_0x197969[_0x4e21ef(0x188)]:null,_0x197969[_0x4e21ef(0x1a7)]||_0x4d1a25&&_0x4d1a25[_0x4e21ef(0x1a7)]){const _0x38a84a=_0x4d1a25&&_0x4d1a25[_0x4e21ef(0x1a7)]?_0x4d1a25:_0x197969;_0x31d7ff&&_0x31d7ff[_0x4e21ef(0x18b)]==_0x5efd09+_0x4e21ef(0x194)&&_0x31d7ff[_0x4e21ef(0x176)][_0x4e21ef(0x193)]==_0x38a84a[_0x4e21ef(0x193)]?_0x31d7ff[_0x4e21ef(0x1a6)]++:_0x1d9d08[_0x4e21ef(0x1bf)]({'type':_0x5efd09+_0x4e21ef(0x194),'element':_0x38a84a,'quantity':0x1});}else _0x1d9d08[_0x4e21ef(0x1bf)]({'type':_0x5efd09+_0x4e21ef(0x1a0),'element':_0x197969});}}}}}[_0x52f16b(0x1ba)](_0x21fc07){const _0x24bcb1=_0x52f16b,_0x562665=this[_0x24bcb1(0x1a3)],_0x2ed168=[],_0x4d7a70=[],_0x2deaa2=[];for(const _0x63834a of _0x21fc07)switch(_0x63834a[_0x24bcb1(0x18b)]){case _0x24bcb1(0x1bd):if(_0x63834a[_0x24bcb1(0x1ac)]=_0x63834a[_0x24bcb1(0x1ac)][_0x24bcb1(0x1d6)](/(\S)\u000A+(\S)/g,_0x24bcb1(0x18f))[_0x24bcb1(0x1d6)](/\u000A/g,''),_0x63834a[_0x24bcb1(0x186)]=_0x63834a[_0x24bcb1(0x186)][_0x24bcb1(0x1d6)](/(\S)\u000A+(\S)/g,_0x24bcb1(0x18f))[_0x24bcb1(0x1d6)](/\u000A/g,''),''!=_0x63834a[_0x24bcb1(0x1ac)]&&''!=_0x63834a[_0x24bcb1(0x186)]){_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1d6),'content':_0x24437a(_0x562665,_0x24bcb1(0x195),['\x22'+_0x63834a[_0x24bcb1(0x186)]+'\x22','\x22'+_0x63834a[_0x24bcb1(0x1ac)]+'\x22'])});continue;}if(null!=_0x63834a[_0x24bcb1(0x1ac)][_0x24bcb1(0x19b)](/^ +$/)){_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1a1),'content':_0x24437a(_0x562665,_0x24bcb1(0x1c4),_0x24437a(_0x562665,_0x24bcb1(0x1ae),_0x63834a[_0x24bcb1(0x1ac)][_0x24bcb1(0x1af)]))});continue;}if(null!=_0x63834a[_0x24bcb1(0x186)][_0x24bcb1(0x19b)](/^ +$/)){_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x199),'content':_0x24437a(_0x562665,_0x24bcb1(0x18d),_0x24437a(_0x562665,_0x24bcb1(0x1ae),_0x63834a[_0x24bcb1(0x186)][_0x24bcb1(0x1af)]))});continue;}if(''!=_0x63834a[_0x24bcb1(0x1ac)]){_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1a1),'content':_0x24437a(_0x562665,_0x24bcb1(0x1c4),'\x22'+_0x63834a[_0x24bcb1(0x1ac)]+'\x22')});continue;}_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x199),'content':_0x24437a(_0x562665,_0x24bcb1(0x18d),'\x22'+_0x63834a[_0x24bcb1(0x186)]+'\x22')});continue;case _0x24bcb1(0x19c):case _0x24bcb1(0x1c5):_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1a1),'content':_0x24437a(_0x562665,_0x24bcb1(0x1c4),this[_0x24bcb1(0x1ca)](_0x63834a[_0x24bcb1(0x176)],_0x63834a[_0x24bcb1(0x1a6)]))});continue;case _0x24bcb1(0x177):case _0x24bcb1(0x1cf):_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x199),'content':_0x24437a(_0x562665,_0x24bcb1(0x18d),this[_0x24bcb1(0x1ca)](_0x63834a[_0x24bcb1(0x176)],_0x63834a[_0x24bcb1(0x1a6)]))});continue;case _0x24bcb1(0x178):_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1a1),'content':_0x24437a(_0x562665,_0x24bcb1(0x17f),this[_0x24bcb1(0x1ca)](_0x63834a[_0x24bcb1(0x176)],_0x63834a[_0x24bcb1(0x1a6)]))});continue;case _0x24bcb1(0x18c):_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x199),'content':_0x24437a(_0x562665,_0x24bcb1(0x1b5),this[_0x24bcb1(0x1ca)](_0x63834a[_0x24bcb1(0x176)],_0x63834a[_0x24bcb1(0x1a6)]))});continue;case _0x24bcb1(0x1cd):_0x4d7a70[_0x24bcb1(0x1bf)](_0x63834a[_0x24bcb1(0x190)]);continue;case _0x24bcb1(0x17c):_0x2deaa2[_0x24bcb1(0x1bf)](_0x63834a[_0x24bcb1(0x190)]);continue;default:_0x2ed168[_0x24bcb1(0x1bf)](_0x63834a);}if(_0x4d7a70[_0x24bcb1(0x1af)]){const _0xa7b448=_0x4d7a70[_0x24bcb1(0x1bb)](_0x46f57f=>this[_0x24bcb1(0x183)][_0x24bcb1(0x1be)](_0x46f57f)?this[_0x24bcb1(0x183)][_0x24bcb1(0x19e)](_0x46f57f):_0x46f57f)[_0x24bcb1(0x19f)](',\x20');_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1b6),'content':_0x24437a(this[_0x24bcb1(0x1a3)],_0x24bcb1(0x18e),_0xa7b448)});}if(_0x2deaa2[_0x24bcb1(0x1af)]){const _0x3dbde4=_0x2deaa2[_0x24bcb1(0x1bb)](_0x2e24b9=>this[_0x24bcb1(0x183)][_0x24bcb1(0x1be)](_0x2e24b9)?this[_0x24bcb1(0x183)][_0x24bcb1(0x19e)](_0x2e24b9):_0x2e24b9)[_0x24bcb1(0x19f)](',\x20');_0x2ed168[_0x24bcb1(0x1bf)]({'type':_0x24bcb1(0x1b6),'content':_0x24437a(this[_0x24bcb1(0x1a3)],_0x24bcb1(0x18a),_0x3dbde4)});}return _0x2ed168;}[_0x52f16b(0x17a)](_0x5f22ba){const _0x380d6c=_0x52f16b;for(const _0x244917 of this[_0x380d6c(0x1aa)]){const _0x3ecd04=_0x244917(_0x5f22ba);if(_0x3ecd04&&_0x380d6c(0x18b)in _0x3ecd04)return _0x3ecd04;}}[_0x52f16b(0x182)](_0x2343d0,_0x4b3e7b){const _0x85f638=_0x52f16b,_0x296407=_0x4b3e7b[_0x85f638(0x1a4)],_0x1631e7=void 0x0===_0x296407[_0x85f638(0x19d)]?_0x85f638(0x17c):_0x85f638(0x1cd);_0x2343d0[_0x85f638(0x1bf)]({'type':_0x1631e7,'key':_0x296407[_0x85f638(0x190)]});}[_0x52f16b(0x1bc)](_0x3007be,_0x42b201){const _0x5cdd93=_0x52f16b;_0x3007be[_0x5cdd93(0x1bf)]({'type':_0x5cdd93(0x1b6),'content':_0x24437a(this[_0x5cdd93(0x1a3)],_0x5cdd93(0x197),this[_0x5cdd93(0x1ca)](_0x42b201[_0x5cdd93(0x17e)]()[_0x5cdd93(0x1b7)][_0x5cdd93(0x1d3)],0x1))});}[_0x52f16b(0x1cc)](_0x211f78,_0x45cc65,_0x1351c5){const _0x410edb=_0x52f16b;if(this[_0x410edb(0x1a5)](_0x211f78,_0x45cc65),_0x1351c5&&_0x1351c5[_0x410edb(0x17e)]()&&!_0x45cc65[_0x410edb(0x17e)]()[_0x410edb(0x1b9)][_0x410edb(0x181)](_0x1351c5[_0x410edb(0x17e)]()[_0x410edb(0x1b7)])){const _0x349876=_0x211f78[_0x211f78[_0x410edb(0x1af)]-0x1],_0x5ca1a8=_0x410edb(0x1a1)==_0x45cc65[_0x410edb(0x18b)]?_0x410edb(0x1ac):_0x410edb(0x186);_0x349876&&_0x410edb(0x1bd)==_0x349876[_0x410edb(0x18b)]&&(_0x349876[_0x5ca1a8]+='\x0a');}}}
|
|
23
|
+
function _0x1346(){const _0xb51be9=['*Merge:*\x20%0','elementStart','_resolveDescriptionItems','elementEnd','getWalker','pop','$1\x20$2','registerAttributeLabel','isEmpty','96Lwxfid','addObject','set','_handleRenameSuggestionDescription','get','subType','ELEMENT_SPACE','removeFormat','getItemLabel','softBreak','format','checkChild','label','Object','start','_handleInsertRemoveSuggestionDescription','end','registerElementLabel','key','_locale','has','$text','83830OsgxUR','registerDescriptionCallback','replace','*Change\x20to:*\x20%0','indexOf','addFormat','map','4hBTWkD','match','isInContent','add','*Set\x20format:*\x20%0','addContainer','7232057OjhRrF','normal','*Remove\x20format:*\x20%0','*Remove:*\x20%0','52ptyuoi','_itemLabels','push','element','*Insert:*\x20%0','removeEmptyContainer','isObject','addEmptyContainer','_customCallbacks','_attributeLabels','REPLACE_TEXT','Container','skip','item','length','12731310FdyeZD','join','previousSibling','removeContainer','getDescriptions','1503474NTCDhl','newValue','_schema','isEqual','text','725049BXDeiv','function','5717076RKAwca','nodeAfter','name','_handleCustomCallbackDescription','remove','type','_handleAttributeSuggestionDescription','quantity','getFirstRange','data','deletion','attribute','EmptyContainer','matchingCallback','nextSibling','*Split:*\x20%0','_addDescriptionItems','removeObject','162709qznQtc','_itemLabelsCallbacks','$textProxy','insertion'];_0x1346=function(){return _0xb51be9;};return _0x1346();}const _0x4201e5=_0x2996;(function(_0xd7fab6,_0x256586){const _0x3d5bba=_0x2996,_0x5a0ce4=_0xd7fab6();while(!![]){try{const _0x1e9521=-parseInt(_0x3d5bba(0x99))/0x1+parseInt(_0x3d5bba(0xc3))/0x2*(parseInt(_0x3d5bba(0xe1))/0x3)+parseInt(_0x3d5bba(0xcd))/0x4*(parseInt(_0x3d5bba(0xbc))/0x5)+parseInt(_0x3d5bba(0x87))/0x6+-parseInt(_0x3d5bba(0xc9))/0x7+parseInt(_0x3d5bba(0xa6))/0x8*(parseInt(_0x3d5bba(0x85))/0x9)+-parseInt(_0x3d5bba(0xdc))/0xa;if(_0x1e9521===_0x256586)break;else _0x5a0ce4['push'](_0x5a0ce4['shift']());}catch(_0x249ba4){_0x5a0ce4['push'](_0x5a0ce4['shift']());}}}(_0x1346,0xa3c8d));import{getTranslation as _0x45f95b}from'./utils/common-translations.js';function _0x2996(_0x5aa684,_0x467e9c){const _0x134612=_0x1346();return _0x2996=function(_0x29962e,_0x5be4e5){_0x29962e=_0x29962e-0x82;let _0x3713e0=_0x134612[_0x29962e];return _0x3713e0;},_0x2996(_0x5aa684,_0x467e9c);}import{priorities as _0x4a80ed,insertToPriorityArray as _0x189c29}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x543f92}from'./trackchangesediting.js';export default class f{constructor(_0x1d2bb8,_0x4a44b1){const _0x4733cf=_0x2996;this[_0x4733cf(0xd5)]=[],this[_0x4733cf(0xce)]=new Map(),this[_0x4733cf(0x9a)]=[],this[_0x4733cf(0xd6)]=new Map(),this[_0x4733cf(0x82)]=_0x1d2bb8,this[_0x4733cf(0xb9)]=_0x4a44b1;}[_0x4201e5(0xe0)](_0x4c8c42){const _0x1ef769=_0x4201e5,_0x4459a5=[],_0x5c4566=new Set(),_0x14d8d4=new Set();for(let _0x1f6ea4=0x0;_0x1f6ea4<_0x4c8c42[_0x1ef769(0xdb)];_0x1f6ea4++){const _0x108fbd=_0x4c8c42[_0x1f6ea4];if(!_0x108fbd[_0x1ef769(0xc5)])continue;const _0x4408d0=this[_0x1ef769(0x8a)](_0x108fbd);if(_0x4408d0){if(null!=_0x108fbd[_0x1ef769(0xab)]){if(_0x5c4566[_0x1ef769(0xba)](_0x108fbd[_0x1ef769(0xab)]))continue;_0x5c4566[_0x1ef769(0xc6)](_0x108fbd[_0x1ef769(0xab)]);}_0x4459a5[_0x1ef769(0xcf)](_0x4408d0);}else{if(_0x1ef769(0x92)!=_0x108fbd[_0x1ef769(0x8c)])_0x1ef769(0x9c)!=_0x108fbd[_0x1ef769(0x8c)]&&_0x1ef769(0x91)!=_0x108fbd[_0x1ef769(0x8c)]||this[_0x1ef769(0xb5)](_0x4459a5,_0x108fbd,_0x4c8c42[_0x1f6ea4+0x1]);else{const _0x685947=_0x108fbd[_0x1ef769(0x90)][_0x1ef769(0xb8)];if(_0x14d8d4[_0x1ef769(0xba)](_0x685947))continue;_0x14d8d4[_0x1ef769(0xc6)](_0x108fbd[_0x1ef769(0x90)][_0x1ef769(0xb8)]),_0x685947==_0x543f92?this[_0x1ef769(0xa9)](_0x4459a5,_0x108fbd):this[_0x1ef769(0x8d)](_0x4459a5,_0x108fbd);}}}return this[_0x1ef769(0x9f)](_0x4459a5);}[_0x4201e5(0xbd)](_0x4beb28){const _0x537441=_0x4201e5;this[_0x537441(0xd5)][_0x537441(0xcf)](_0x4beb28);}[_0x4201e5(0xb7)](_0x55eb2e,_0x11eded,_0x427d12=_0x4a80ed[_0x4201e5(0xca)]){const _0x5443c3=_0x4201e5;_0x5443c3(0x86)==typeof _0x55eb2e?_0x189c29(this[_0x5443c3(0x9a)],{'matchingCallback':_0x55eb2e,'label':_0x11eded,'priority':_0x427d12}):this[_0x5443c3(0xce)][_0x5443c3(0xa8)](_0x55eb2e,_0x11eded);}[_0x4201e5(0xa4)](_0x5db9aa,_0x3a16ff){const _0x50dfbc=_0x4201e5;this[_0x50dfbc(0xd6)][_0x50dfbc(0xa8)](_0x5db9aa,_0x3a16ff);}[_0x4201e5(0xae)](_0x54c07c,_0x58dd27=0x1){const _0x1a546b=_0x4201e5;let _0x2dc6c6;for(const _0x175027 of this[_0x1a546b(0x9a)])if(_0x175027[_0x1a546b(0x94)](_0x54c07c)){_0x2dc6c6=_0x175027[_0x1a546b(0xb2)];break;}return _0x2dc6c6||(_0x2dc6c6=this[_0x1a546b(0xce)][_0x1a546b(0xaa)](_0x54c07c[_0x1a546b(0x89)])),_0x2dc6c6?_0x2dc6c6(_0x58dd27):0x1!==_0x58dd27?_0x58dd27+'\x20'+_0x54c07c[_0x1a546b(0x89)]+'s':''+_0x54c07c[_0x1a546b(0x89)];}[_0x4201e5(0x97)](_0x3ef4cb,_0xf51ec8){const _0x3c746a=_0x4201e5,_0x357416=_0xf51ec8[_0x3c746a(0x8f)]()[_0x3c746a(0xa1)](),_0x371406=_0x3c746a(0x9c)==_0xf51ec8[_0x3c746a(0x8c)]?_0x3c746a(0xc6):_0x3c746a(0x8b);for(const _0x5b16b0 of _0x357416){const _0x4e0927=_0x5b16b0[_0x3c746a(0xda)],_0x5453b9=_0x3ef4cb[_0x3ef4cb[_0x3c746a(0xdb)]-0x1];if(_0x4e0927['is'](_0x3c746a(0x9b)))_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))>-0x1&&_0x3ef4cb[_0x3c746a(0xa2)](),_0x5453b9&&_0x3c746a(0x84)==_0x5453b9[_0x3c746a(0x8c)]?_0x5453b9[_0x371406]+=_0x4e0927[_0x3c746a(0x90)]:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x3c746a(0x84),'add':_0x3c746a(0xc6)==_0x371406?_0x4e0927[_0x3c746a(0x90)]:'','remove':_0x3c746a(0x8b)==_0x371406?_0x4e0927[_0x3c746a(0x90)]:''});else{if(this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x4e0927)){const _0x12f763=_0x4e0927;if(_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))>-0x1&&_0x3ef4cb[_0x3c746a(0xa2)](),_0x3c746a(0xa0)==_0x5b16b0[_0x3c746a(0x8c)])continue;_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)]==_0x371406+_0x3c746a(0xb3)&&_0x5453b9[_0x3c746a(0xd0)][_0x3c746a(0x89)]==_0x12f763[_0x3c746a(0x89)]?_0x5453b9[_0x3c746a(0x8e)]++:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0xb3),'element':_0x12f763,'quantity':0x1}),_0x357416[_0x3c746a(0xd9)](_0x360862=>!(_0x3c746a(0xa0)==_0x360862[_0x3c746a(0x8c)]&&_0x360862[_0x3c746a(0xda)]==_0x4e0927));}else{if(this[_0x3c746a(0x82)][_0x3c746a(0xb1)](_0x4e0927,_0x3c746a(0xbb))||_0x4e0927['is'](_0x3c746a(0xd0),_0x3c746a(0xaf))){const _0x46d189=_0x4e0927;if(_0x3c746a(0xc6)==_0x371406&&_0x3c746a(0x9e)==_0x5b16b0[_0x3c746a(0x8c)]||_0x3c746a(0x8b)==_0x371406&&_0x3c746a(0xa0)==_0x5b16b0[_0x3c746a(0x8c)])continue;if(_0x5453b9&&-0x1==_0x5453b9[_0x3c746a(0x8c)][_0x3c746a(0xc0)](_0x3c746a(0xd8))){_0x3c746a(0x84)==_0x5453b9[_0x3c746a(0x8c)]&&(_0x5453b9[_0x371406]+='\x0a');continue;}let _0x4a1fd5;if(_0x4a1fd5=_0x3c746a(0xc6)==_0x371406?_0x46d189[_0x3c746a(0x95)]&&!this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x46d189[_0x3c746a(0x95)])?_0x46d189[_0x3c746a(0x95)]:null:_0x46d189[_0x3c746a(0xde)]&&!this[_0x3c746a(0x82)][_0x3c746a(0xd3)](_0x46d189[_0x3c746a(0xde)])?_0x46d189[_0x3c746a(0xde)]:null,_0x46d189[_0x3c746a(0xa5)]||_0x4a1fd5&&_0x4a1fd5[_0x3c746a(0xa5)]){const _0x6c4648=_0x4a1fd5&&_0x4a1fd5[_0x3c746a(0xa5)]?_0x4a1fd5:_0x46d189;_0x5453b9&&_0x5453b9[_0x3c746a(0x8c)]==_0x371406+_0x3c746a(0x93)&&_0x5453b9[_0x3c746a(0xd0)][_0x3c746a(0x89)]==_0x6c4648[_0x3c746a(0x89)]?_0x5453b9[_0x3c746a(0x8e)]++:_0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0x93),'element':_0x6c4648,'quantity':0x1});}else _0x3ef4cb[_0x3c746a(0xcf)]({'type':_0x371406+_0x3c746a(0xd8),'element':_0x46d189});}}}}}[_0x4201e5(0x9f)](_0x551957){const _0x407d6e=_0x4201e5,_0x16b0ba=this[_0x407d6e(0xb9)],_0x4c3041=[],_0x1c6d06=[],_0x57c782=[];for(const _0x47ab4a of _0x551957)switch(_0x47ab4a[_0x407d6e(0x8c)]){case _0x407d6e(0x84):if(_0x47ab4a[_0x407d6e(0xc6)]=_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xbe)](/(\S)\u000A+(\S)/g,_0x407d6e(0xa3))[_0x407d6e(0xbe)](/\u000A/g,''),_0x47ab4a[_0x407d6e(0x8b)]=_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xbe)](/(\S)\u000A+(\S)/g,_0x407d6e(0xa3))[_0x407d6e(0xbe)](/\u000A/g,''),''!=_0x47ab4a[_0x407d6e(0xc6)]&&''!=_0x47ab4a[_0x407d6e(0x8b)]){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xbe),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd7),['\x22'+_0x47ab4a[_0x407d6e(0x8b)]+'\x22','\x22'+_0x47ab4a[_0x407d6e(0xc6)]+'\x22'])});continue;}if(null!=_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xc4)](/^ +$/)){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),_0x45f95b(_0x16b0ba,_0x407d6e(0xac),_0x47ab4a[_0x407d6e(0xc6)][_0x407d6e(0xdb)]))});continue;}if(null!=_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xc4)](/^ +$/)){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),_0x45f95b(_0x16b0ba,_0x407d6e(0xac),_0x47ab4a[_0x407d6e(0x8b)][_0x407d6e(0xdb)]))});continue;}if(''!=_0x47ab4a[_0x407d6e(0xc6)]){_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),'\x22'+_0x47ab4a[_0x407d6e(0xc6)]+'\x22')});continue;}_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),'\x22'+_0x47ab4a[_0x407d6e(0x8b)]+'\x22')});continue;case _0x407d6e(0xd4):case _0x407d6e(0xa7):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xd1),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xd2):case _0x407d6e(0x98):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0xcc),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xc8):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x9c),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0x96),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xdf):_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0x91),'content':_0x45f95b(_0x16b0ba,_0x407d6e(0x9d),this[_0x407d6e(0xae)](_0x47ab4a[_0x407d6e(0xd0)],_0x47ab4a[_0x407d6e(0x8e)]))});continue;case _0x407d6e(0xc1):_0x1c6d06[_0x407d6e(0xcf)](_0x47ab4a[_0x407d6e(0xb8)]);continue;case _0x407d6e(0xad):_0x57c782[_0x407d6e(0xcf)](_0x47ab4a[_0x407d6e(0xb8)]);continue;default:_0x4c3041[_0x407d6e(0xcf)](_0x47ab4a);}if(_0x1c6d06[_0x407d6e(0xdb)]){const _0x186f00=_0x1c6d06[_0x407d6e(0xc2)](_0x1a2f6e=>this[_0x407d6e(0xd6)][_0x407d6e(0xba)](_0x1a2f6e)?this[_0x407d6e(0xd6)][_0x407d6e(0xaa)](_0x1a2f6e):_0x1a2f6e)[_0x407d6e(0xdd)](',\x20');_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xb0),'content':_0x45f95b(this[_0x407d6e(0xb9)],_0x407d6e(0xc7),_0x186f00)});}if(_0x57c782[_0x407d6e(0xdb)]){const _0x28d12b=_0x57c782[_0x407d6e(0xc2)](_0x56d81d=>this[_0x407d6e(0xd6)][_0x407d6e(0xba)](_0x56d81d)?this[_0x407d6e(0xd6)][_0x407d6e(0xaa)](_0x56d81d):_0x56d81d)[_0x407d6e(0xdd)](',\x20');_0x4c3041[_0x407d6e(0xcf)]({'type':_0x407d6e(0xb0),'content':_0x45f95b(this[_0x407d6e(0xb9)],_0x407d6e(0xcb),_0x28d12b)});}return _0x4c3041;}[_0x4201e5(0x8a)](_0x58cc1f){const _0x455bff=_0x4201e5;for(const _0xd6b134 of this[_0x455bff(0xd5)]){const _0x4c545a=_0xd6b134(_0x58cc1f);if(_0x4c545a&&_0x455bff(0x8c)in _0x4c545a)return _0x4c545a;}}[_0x4201e5(0x8d)](_0x212f71,_0x380323){const _0x1c2122=_0x4201e5,_0x1e4272=_0x380323[_0x1c2122(0x90)],_0x31c202=void 0x0===_0x1e4272[_0x1c2122(0xe2)]?_0x1c2122(0xad):_0x1c2122(0xc1);_0x212f71[_0x1c2122(0xcf)]({'type':_0x31c202,'key':_0x1e4272[_0x1c2122(0xb8)]});}[_0x4201e5(0xa9)](_0x358b84,_0x523ad0){const _0x3fd688=_0x4201e5;_0x358b84[_0x3fd688(0xcf)]({'type':_0x3fd688(0xb0),'content':_0x45f95b(this[_0x3fd688(0xb9)],_0x3fd688(0xbf),this[_0x3fd688(0xae)](_0x523ad0[_0x3fd688(0x8f)]()[_0x3fd688(0xb4)][_0x3fd688(0x88)],0x1))});}[_0x4201e5(0xb5)](_0xf140ef,_0x5b43ca,_0x5caefe){const _0x5e3f2=_0x4201e5;if(this[_0x5e3f2(0x97)](_0xf140ef,_0x5b43ca),_0x5caefe&&_0x5caefe[_0x5e3f2(0x8f)]()&&!_0x5b43ca[_0x5e3f2(0x8f)]()[_0x5e3f2(0xb6)][_0x5e3f2(0x83)](_0x5caefe[_0x5e3f2(0x8f)]()[_0x5e3f2(0xb4)])){const _0x20bc58=_0xf140ef[_0xf140ef[_0x5e3f2(0xdb)]-0x1],_0x50199c=_0x5e3f2(0x9c)==_0x5b43ca[_0x5e3f2(0x8c)]?_0x5e3f2(0xc6):_0x5e3f2(0x8b);_0x20bc58&&_0x5e3f2(0x84)==_0x20bc58[_0x5e3f2(0x8c)]&&(_0x20bc58[_0x50199c]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x59b0e3=_0x2011;(function(_0x3acbe1,_0x33b4e3){var _0x55f9b5=_0x2011,_0x36e6f6=_0x3acbe1();while(!![]){try{var _0x27fb45=-parseInt(_0x55f9b5(0xde))/0x1+-parseInt(_0x55f9b5(0xcb))/0x2*(parseInt(_0x55f9b5(0xcd))/0x3)+-parseInt(_0x55f9b5(0xd4))/0x4*(parseInt(_0x55f9b5(0xd5))/0x5)+parseInt(_0x55f9b5(0xd2))/0x6+-parseInt(_0x55f9b5(0xd0))/0x7+-parseInt(_0x55f9b5(0xdc))/0x8+parseInt(_0x55f9b5(0xdb))/0x9;if(_0x27fb45===_0x33b4e3)break;else _0x36e6f6['push'](_0x36e6f6['shift']());}catch(_0xd456b7){_0x36e6f6['push'](_0x36e6f6['shift']());}}}(_0x1107,0xe52e8));import{Plugin as _0x32243b}from'ckeditor5/src/core.js';function _0x1107(){var _0x43d455=['addSuggestionData','requires','TrackChanges','26629047oNlQGV','6993752AdqaBh','getSuggestions','198790OwLfXa','get','11576KpyRCa','addSuggestion','39BPebpX','plugins','getSuggestion','10572590oVvemR','pluginName','4179306SvVFCR','Comments','4BPYGxV','289915SeLyPI','editor','adapter'];_0x1107=function(){return _0x43d455;};return _0x1107();}function _0x2011(_0x5caff7,_0xc5914d){var _0x1107df=_0x1107();return _0x2011=function(_0x201125,_0x2a1373){_0x201125=_0x201125-0xca;var _0x9fa779=_0x1107df[_0x201125];return _0x9fa779;},_0x2011(_0x5caff7,_0xc5914d);}import _0x395b7c from'./trackchangesui.js';import _0x5a5c86 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x32243b{static get[_0x59b0e3(0xd9)](){var _0x24b83=_0x59b0e3;return[_0x5a5c86,_0x395b7c,_0x24b83(0xd3)];}static get[_0x59b0e3(0xd1)](){var _0x511c5c=_0x59b0e3;return _0x511c5c(0xda);}set[_0x59b0e3(0xd7)](_0x5e5af7){var _0x167287=_0x59b0e3;this[_0x167287(0xd6)][_0x167287(0xce)][_0x167287(0xca)](_0x5a5c86)[_0x167287(0xd7)]=_0x5e5af7;}get[_0x59b0e3(0xd7)](){var _0x32d51b=_0x59b0e3;return this[_0x32d51b(0xd6)][_0x32d51b(0xce)][_0x32d51b(0xca)](_0x5a5c86)[_0x32d51b(0xd7)];}[_0x59b0e3(0xcc)](_0x15ba56){var _0x2d012b=_0x59b0e3;return this[_0x2d012b(0xd6)][_0x2d012b(0xce)][_0x2d012b(0xca)](_0x5a5c86)[_0x2d012b(0xd8)](_0x15ba56);}[_0x59b0e3(0xdd)]({skipNotAttached:_0x15d86d=!0x1,toJSON:_0x45d7fc=!0x1}={}){var _0x169db5=_0x59b0e3;return this[_0x169db5(0xd6)][_0x169db5(0xce)][_0x169db5(0xca)](_0x5a5c86)[_0x169db5(0xdd)]({'skipNotAttached':_0x15d86d,'toJSON':_0x45d7fc});}[_0x59b0e3(0xcf)](_0x468246){var _0x1258b0=_0x59b0e3;return this[_0x1258b0(0xd6)][_0x1258b0(0xce)][_0x1258b0(0xca)](_0x5a5c86)[_0x1258b0(0xcf)](_0x468246);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1fb42f=_0x5dd1;(function(_0x184df9,_0x505444){const _0x395f63=_0x5dd1,_0x191734=_0x184df9();while(!![]){try{const _0x112eac=parseInt(_0x395f63(0xc0))/0x1+-parseInt(_0x395f63(0xc7))/0x2*(parseInt(_0x395f63(0xb5))/0x3)+-parseInt(_0x395f63(0xce))/0x4+-parseInt(_0x395f63(0xb1))/0x5+parseInt(_0x395f63(0xd8))/0x6+parseInt(_0x395f63(0xa5))/0x7*(-parseInt(_0x395f63(0xba))/0x8)+parseInt(_0x395f63(0xa7))/0x9;if(_0x112eac===_0x505444)break;else _0x191734['push'](_0x191734['shift']());}catch(_0x38d2e5){_0x191734['push'](_0x191734['shift']());}}}(_0x12ec,0xf1330));function _0x5dd1(_0x1862b2,_0x4da302){const _0x12ecfe=_0x12ec();return _0x5dd1=function(_0x5dd1ef,_0x34f2b1){_0x5dd1ef=_0x5dd1ef-0xa0;let _0x17fe8c=_0x12ecfe[_0x5dd1ef];return _0x17fe8c;},_0x5dd1(_0x1862b2,_0x4da302);}import{Plugin as _0x55dcd3}from'ckeditor5/src/core.js';import{CKEditorError as _0x498082}from'ckeditor5/src/utils.js';import _0x2fdd66 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x5c384d}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x1fb42f(0xc9)];export default class P extends _0x55dcd3{static get[_0x1fb42f(0xd2)](){return[_0x2fdd66];}static get[_0x1fb42f(0xc3)](){const _0x4028bc=_0x1fb42f;return _0x4028bc(0xcd);}[_0x1fb42f(0xa3)](){const _0x5df46f=_0x1fb42f,_0x834ac5=this[_0x5df46f(0xd1)];if(_0x834ac5[_0x5df46f(0xa6)][_0x5df46f(0xca)](_0x5df46f(0xd9),_0x3c3d77=>{const _0x3486bf=_0x5df46f,_0x16b262=_0x834ac5[_0x3486bf(0xbe)][_0x3486bf(0xda)][_0x3486bf(0xcc)]()[_0x3486bf(0xdc)]((_0x5e2165,_0x1f016b)=>(_0x5e2165[_0x1f016b]='',_0x5e2165),{});return _0x834ac5[_0x3486bf(0xc1)][_0x3486bf(0xaf)](_0x16b262,_0x3c3d77);}),_0x5df46f(0xd4)!=typeof _0x834ac5[_0x5df46f(0xa6)][_0x5df46f(0xb6)](_0x5df46f(0xbd))[_0x5df46f(0xb2)])throw new _0x498082(_0x5df46f(0xd6));}[_0x1fb42f(0xc2)](_0x38aebd){const _0x5529ca=_0x1fb42f;return N(this[_0x5529ca(0xd1)],!0x0,_0x38aebd);}[_0x1fb42f(0xbf)](_0x1d2243){const _0x179645=_0x1fb42f;return N(this[_0x179645(0xd1)],!0x1,_0x1d2243);}}class D extends _0x55dcd3{static get[_0x1fb42f(0xc3)](){const _0x18a22f=_0x1fb42f;return _0x18a22f(0xde);}constructor(_0x33928c){const _0x4ae0a8=_0x1fb42f;super(_0x33928c),this[_0x4ae0a8(0xd7)]=_0x4ae0a8(0xb8);}[_0x1fb42f(0xa3)](){const _0x3692a5=_0x1fb42f;this[_0x3692a5(0xd1)][_0x3692a5(0xc6)][_0x3692a5(0xb6)](_0x3692a5(0xb7))[_0x3692a5(0xb4)]={'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[_0x3692a5(0xd1)][_0x3692a5(0xc6)][_0x3692a5(0xb6)](_0x3692a5(0xbb))[_0x3692a5(0xb4)]=null;}}function v(_0x1edf77){const _0x35c93=_0x1fb42f;return void 0x0!==_0x1edf77[_0x35c93(0xd0)];}function _0x12ec(){const _0x5bbcdb=['TrackChangesEditing','addUser','trackChangesData','model','getDataWithDiscardedSuggestions','1637835YBrXrS','constructor','getDataWithAcceptedSuggestions','pluginName','div','getSuggestions','plugins','99436qQIoOS','addCommentThread','Pagination','define','name','getRootNames','TrackChangesData','1144232IbTVsN','addSuggestionData','getRootsAttributes','editor','requires','destroy','function','getFullData','track-changes-data-invalid-editor-creator','result','4532598zMKfKZ','trackChangesData.editorCreator','document','createElement','reduce','discardAllSuggestions','TrackChangesDataGetter','getCommentThreads','acceptAllSuggestions','appendChild','init','execute','29491tQPfZO','config','10391598IrlFzB','push','getUser','users','useAnonymousUser','map','set','createDocumentFragment','create','Users','579355phXopn','editorCreator','data','_adapter','72CBIjiE','get','CommentsRepository','end','rootsAttributes','1832rwDTBR'];_0x12ec=function(){return _0x5bbcdb;};return _0x12ec();}async function N(_0x440761,_0x3ff06f,_0x214033){const _0x3d8487=_0x1fb42f,_0x10c707=_0x5c384d(_0x440761,T);_0x10c707[_0x3d8487(0xc6)][_0x3d8487(0xa8)](_0x2fdd66,D),_0x10c707[_0x3d8487(0xb9)]=v(_0x440761)?_0x440761[_0x3d8487(0xd0)]():void 0x0;const _0x219cab=document[_0x3d8487(0xae)](),_0xb0775f=_0x440761[_0x3d8487(0xa6)][_0x3d8487(0xb6)](_0x3d8487(0xbd))[_0x3d8487(0xb2)],_0x46785c=await _0xb0775f(_0x10c707,()=>function(_0x29f3e5){const _0x254e3c=_0x3d8487,_0xd38749=document[_0x254e3c(0xdb)](_0x254e3c(0xc4));return _0x29f3e5[_0x254e3c(0xa2)](_0xd38749),_0xd38749;}(_0x219cab));!function(_0x2eb223,_0x53a905){const _0x39e43d=_0x3d8487,_0x2d13a1=_0x2eb223[_0x39e43d(0xbe)][_0x39e43d(0xda)][_0x39e43d(0xcc)]()[_0x39e43d(0xdc)]((_0xf61f29,_0x47faa8)=>(_0xf61f29[_0x47faa8]=_0x2eb223[_0x39e43d(0xb3)][_0x39e43d(0xb6)]({'rootName':_0x47faa8}),_0xf61f29),{}),_0x4cd1b8=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb0))[_0x39e43d(0xaa)][_0x39e43d(0xac)](_0x12b257=>({'id':_0x12b257['id'],'name':_0x12b257[_0x39e43d(0xcb)]})),_0xb36f53=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xbb))[_0x39e43d(0xc5)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5182ee=_0x2eb223[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb7))[_0x39e43d(0xa0)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x401ed9=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb0)),_0x444d19=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xbb)),_0x19fa7d=_0x53a905[_0x39e43d(0xc6)][_0x39e43d(0xb6)](_0x39e43d(0xb7));for(const _0x21524f of _0x4cd1b8)_0x401ed9[_0x39e43d(0xa9)](_0x21524f['id'])||_0x401ed9[_0x39e43d(0xbc)](_0x21524f);_0x401ed9['me']||_0x401ed9[_0x39e43d(0xab)]();for(const _0x6c9def of _0x5182ee)_0x19fa7d[_0x39e43d(0xc8)](_0x6c9def);for(const _0xb990a of _0xb36f53)_0x444d19[_0x39e43d(0xcf)](_0xb990a);_0x53a905[_0x39e43d(0xb3)][_0x39e43d(0xad)](_0x2d13a1);}(_0x440761,_0x46785c),_0x46785c[_0x3d8487(0xa4)](_0x3ff06f?_0x3d8487(0xa1):_0x3d8487(0xdd));const _0x576291=v(_0x46785c)?_0x46785c[_0x3d8487(0xd5)](_0x214033):_0x46785c[_0x3d8487(0xb3)][_0x3d8487(0xb6)](_0x214033);return await _0x46785c[_0x3d8487(0xd3)](),_0x576291;}
|