@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240628.0 → 0.0.0-nightly-20240629.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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 _0x3133c6=_0x2f90;function _0x2f90(_0x698c7f,_0x21be99){const _0x3b7ed9=_0x3b7e();return _0x2f90=function(_0x2f90c0,_0x4c4de3){_0x2f90c0=_0x2f90c0-0x14e;let _0x27c6bb=_0x3b7ed9[_0x2f90c0];return _0x27c6bb;},_0x2f90(_0x698c7f,_0x21be99);}(function(_0x547cc7,_0x1aff01){const _0x2049c7=_0x2f90,_0x26c3b0=_0x547cc7();while(!![]){try{const _0x16b4d9=-parseInt(_0x2049c7(0x15b))/0x1+parseInt(_0x2049c7(0x186))/0x2+parseInt(_0x2049c7(0x165))/0x3+parseInt(_0x2049c7(0x167))/0x4+-parseInt(_0x2049c7(0x16a))/0x5+parseInt(_0x2049c7(0x16f))/0x6+parseInt(_0x2049c7(0x1aa))/0x7;if(_0x16b4d9===_0x1aff01)break;else _0x26c3b0['push'](_0x26c3b0['shift']());}catch(_0x293ac7){_0x26c3b0['push'](_0x26c3b0['shift']());}}}(_0x3b7e,0x31382));import{Plugin as _0x5228d8}from'ckeditor5/src/core.js';function _0x3b7e(){const _0x4d5ab7=['filter','mergeTableCellLeft','registerDescriptionCallback','afterInit','containsRange','$graveyard','mergeTableCellDown','commandName','_isForcedDefaultExecutionBlock','_tablePostFixingSubtypes','execute','locale','plugins','splitTableCellHorizontally','*Split\x20cell:*\x20horizontally','add','horizontally','commands','accept','return','length','createTableWalker','*Split\x20cell:*\x20vertically','findAncestor','_suggestionFactory','mergeTableCells','1741418LeJpPQ','TableEditing','getAncestors','push','deletion','map','TableUtils','formatBlock','formatInline','splitTableCellVertically','getFirstPosition','has','getCellLocation','detach','*Merge\x20cells*','_areSelectedCellsMergable','refresh','115553GHYMPE','highest','markMultiRangeBlockFormat','find','size','isEnabled','forceDefaultExecution','change','cell','element','575373BbOpTu','get','483232fAtkie','tableCell','document','1478205pKOqSG','value','setSelection','markBlockFormat','mergeTableCellRight','209082etaWlG','set:isEnabled','TrackChangesEditing','selection','mergeTableCellUp','enableCommand','fromRange','type','rootName','low','format','isInContent','subType','createRangeOn','getRanges','trackChanges','root','author','stop','direction','descriptionFactory','insertion','table','33152SkapUZ','editor','_areMergableCells','getSelectionAffectedTableCells','registerCustomCallback','from','_acceptFormatSuggestionCallbackFactory','getSuggestions','model','requires'];_0x3b7e=function(){return _0x4d5ab7;};return _0x3b7e();}import _0x2d3de0 from'./table.js';import{LiveRange as _0x4899e0}from'ckeditor5/src/engine.js';import{getTranslation as _0x8e0756}from'../utils/common-translations.js';export default class St extends _0x5228d8{static get[_0x3133c6(0x18f)](){return[_0x2d3de0];}[_0x3133c6(0x193)](){const _0x228c76=_0x3133c6,_0x43f132=this[_0x228c76(0x187)],_0x2f01a5=_0x43f132[_0x228c76(0x18e)][_0x228c76(0x169)][_0x228c76(0x172)],_0x5d2757=_0x43f132[_0x228c76(0x19b)];if(!_0x43f132[_0x228c76(0x19c)][_0x228c76(0x155)](_0x228c76(0x1ab)))return;const _0x132cba=_0x43f132[_0x228c76(0x19c)][_0x228c76(0x166)](_0x228c76(0x171)),_0x2cbc88=_0x43f132[_0x228c76(0x19c)][_0x228c76(0x166)](_0x228c76(0x150)),_0x383e9a=_0x43f132[_0x228c76(0x19c)][_0x228c76(0x166)](_0x2d3de0);_0x383e9a[_0x228c76(0x199)][_0x228c76(0x1ad)](_0x228c76(0x1a9)),_0x132cba[_0x228c76(0x174)](_0x228c76(0x1a9),()=>{const _0x270d21=_0x228c76,_0x4254fb=_0x2cbc88[_0x270d21(0x189)](_0x43f132[_0x270d21(0x18e)][_0x270d21(0x169)][_0x270d21(0x172)]);_0x43f132[_0x270d21(0x18e)][_0x270d21(0x162)](()=>{const _0xd5f8ff=_0x270d21;_0x132cba[_0xd5f8ff(0x15d)](_0x4254fb,{'commandName':_0xd5f8ff(0x1a9),'commandParams':[]},[],_0xd5f8ff(0x1a9));});}),_0x43f132[_0x228c76(0x1a1)][_0x228c76(0x166)](_0x228c76(0x1a9))['on'](_0x228c76(0x19a),(_0x53478e,_0x19e628)=>{const _0x6eaa8d=_0x228c76;_0x43f132[_0x6eaa8d(0x1a1)][_0x6eaa8d(0x166)](_0x6eaa8d(0x17e))[_0x6eaa8d(0x16b)]&&(_0x19e628[_0x6eaa8d(0x1a4)]>0x0&&_0x19e628[_0x19e628[_0x6eaa8d(0x1a4)]-0x1]&&_0x19e628[_0x19e628[_0x6eaa8d(0x1a4)]-0x1][_0x6eaa8d(0x161)]||_0x132cba[_0x6eaa8d(0x198)]||this[_0x6eaa8d(0x159)]()||_0x53478e[_0x6eaa8d(0x181)]());},{'priority':_0x228c76(0x15c)});for(const _0x24d736 of[_0x228c76(0x173),_0x228c76(0x16e),_0x228c76(0x196),_0x228c76(0x191)]){const _0x2ad3e5=_0x43f132[_0x228c76(0x1a1)][_0x228c76(0x166)](_0x24d736);_0x132cba[_0x228c76(0x174)](_0x24d736,()=>{const _0x8937b=_0x228c76,_0x23d191=_0x43f132[_0x8937b(0x18e)][_0x8937b(0x169)][_0x8937b(0x172)][_0x8937b(0x154)]()[_0x8937b(0x1ac)]()[_0x8937b(0x15e)](_0x570253=>_0x570253['is'](_0x8937b(0x164),_0x8937b(0x168))),_0x4ddbc5=_0x2ad3e5[_0x8937b(0x16b)];_0x43f132[_0x8937b(0x18e)][_0x8937b(0x162)](()=>{const _0x17c3a0=_0x8937b;_0x132cba[_0x17c3a0(0x15d)]([_0x23d191,_0x4ddbc5],{'commandName':_0x17c3a0(0x1a9),'commandParams':[]},[],_0x17c3a0(0x1a9));});});}for(const _0x3dab7a of[_0x228c76(0x153),_0x228c76(0x19d)]){const _0x12ba0d=_0x43f132[_0x228c76(0x1a1)][_0x228c76(0x166)](_0x3dab7a);_0x132cba[_0x228c76(0x174)](_0x3dab7a,()=>{const _0x48874f=_0x228c76,_0x106299=_0x2cbc88[_0x48874f(0x189)](_0x43f132[_0x48874f(0x18e)][_0x48874f(0x169)][_0x48874f(0x172)])[0x0],_0x1becc8=_0x106299[_0x48874f(0x1a7)](_0x48874f(0x185)),{column:_0x4a2963,row:_0x2f72d5}=_0x2cbc88[_0x48874f(0x156)](_0x106299);let _0xabfdea=[];if(_0x48874f(0x1a0)==_0x12ba0d[_0x48874f(0x182)]){const _0x152ba5=_0x2cbc88[_0x48874f(0x1a5)](_0x1becc8,{'startRow':_0x2f72d5,'endRow':_0x2f72d5,'includeAllSlots':!0x0});_0xabfdea=Array[_0x48874f(0x18b)](_0x152ba5)[_0x48874f(0x14f)](_0x4c6e6d=>_0x4c6e6d[_0x48874f(0x163)]);}else{const _0x40caeb=_0x2cbc88[_0x48874f(0x1a5)](_0x1becc8,{'column':_0x4a2963,'includeAllSlots':!0x0});_0xabfdea=Array[_0x48874f(0x18b)](_0x40caeb)[_0x48874f(0x14f)](_0x1ce201=>_0x1ce201[_0x48874f(0x163)]);}_0x43f132[_0x48874f(0x18e)][_0x48874f(0x162)](_0x1e0866=>{const _0x4dce4a=_0x48874f;_0x132cba[_0x4dce4a(0x16d)](_0x1e0866[_0x4dce4a(0x17c)](_0x106299),{'commandName':_0x3dab7a,'commandParams':[]},_0xabfdea,_0x3dab7a);});});}_0x132cba[_0x228c76(0x183)][_0x228c76(0x192)](_0x2d31bf=>{const _0x17796f=_0x228c76;if(_0x17796f(0x151)!=_0x2d31bf[_0x17796f(0x176)]&&_0x17796f(0x152)!=_0x2d31bf[_0x17796f(0x176)])return;const {data:_0x108642}=_0x2d31bf;return _0x108642&&_0x17796f(0x1a9)==_0x108642[_0x17796f(0x197)]?{'type':_0x17796f(0x179),'content':_0x8e0756(_0x5d2757,_0x17796f(0x158))}:void 0x0;}),_0x132cba[_0x228c76(0x183)][_0x228c76(0x192)](_0x3e3b99=>{const _0xa0e24e=_0x228c76;if(_0xa0e24e(0x151)!=_0x3e3b99[_0xa0e24e(0x176)]&&_0xa0e24e(0x152)!=_0x3e3b99[_0xa0e24e(0x176)])return;const {data:_0x497117}=_0x3e3b99;return _0x497117?_0xa0e24e(0x153)==_0x497117[_0xa0e24e(0x197)]?{'type':_0xa0e24e(0x179),'content':_0x8e0756(_0x5d2757,_0xa0e24e(0x1a6))}:_0xa0e24e(0x19d)==_0x497117[_0xa0e24e(0x197)]?{'type':_0xa0e24e(0x179),'content':_0x8e0756(_0x5d2757,_0xa0e24e(0x19e))}:void 0x0:void 0x0;});const _0x3c3336=_0x383e9a[_0x228c76(0x18c)]();for(const _0x454bca of[_0x228c76(0x173),_0x228c76(0x16e),_0x228c76(0x196),_0x228c76(0x191)])_0x132cba[_0x228c76(0x1a8)][_0x228c76(0x18a)](_0x228c76(0x151),_0x454bca,_0x228c76(0x1a2),_0x3c3336);for(const _0x296abb of[_0x228c76(0x153),_0x228c76(0x19d)])_0x132cba[_0x228c76(0x1a8)][_0x228c76(0x18a)](_0x228c76(0x151),_0x296abb,_0x228c76(0x1a2),_0x3c3336);_0x132cba[_0x228c76(0x1a8)][_0x228c76(0x18a)](_0x228c76(0x151),_0x228c76(0x1a9),_0x228c76(0x1a2),_0x2a87d5=>{const _0x25a0ea=_0x228c76;_0x43f132[_0x25a0ea(0x18e)][_0x25a0ea(0x162)](_0x4cbcf4=>{const _0x424e8c=_0x25a0ea,_0x36d014=Array[_0x424e8c(0x18b)](_0x2f01a5[_0x424e8c(0x17d)]())[_0x424e8c(0x14f)](_0x41e4cc=>_0x4899e0[_0x424e8c(0x175)](_0x41e4cc));_0x4cbcf4[_0x424e8c(0x16c)](_0x2a87d5),_0x43f132[_0x424e8c(0x1a1)][_0x424e8c(0x166)](_0x424e8c(0x1a9))[_0x424e8c(0x15a)](),_0x43f132[_0x424e8c(0x19a)](_0x424e8c(0x1a9),{'forceDefaultExecution':!0x0});const _0x27ebbd=_0x36d014[_0x424e8c(0x190)](_0xf8aad3=>_0x424e8c(0x195)!=_0xf8aad3[_0x424e8c(0x17f)][_0x424e8c(0x177)]);_0x27ebbd[_0x424e8c(0x1a4)]>0x0&&_0x4cbcf4[_0x424e8c(0x16c)](_0x27ebbd);for(const _0x165ef5 of _0x36d014)_0x165ef5[_0x424e8c(0x157)]();});});for(const _0x2ba59a of[_0x228c76(0x173),_0x228c76(0x196),_0x228c76(0x191),_0x228c76(0x16e)]){const _0x3dce74=_0x43f132[_0x228c76(0x1a1)][_0x228c76(0x166)](_0x2ba59a);_0x3dce74['on'](_0x228c76(0x170),(_0x4481ca,_0x612d8a,_0x45d426)=>{const _0x100a10=_0x228c76;if(_0x45d426){const _0x549ef2=_0x43f132[_0x100a10(0x18e)][_0x100a10(0x169)][_0x100a10(0x172)][_0x100a10(0x154)]()[_0x100a10(0x1ac)]()[_0x100a10(0x15e)](_0x596560=>_0x596560['is'](_0x100a10(0x164),_0x100a10(0x168)));this[_0x100a10(0x188)](_0x3dce74[_0x100a10(0x16b)],_0x549ef2)||(_0x4481ca[_0x100a10(0x1a3)]=!0x1,_0x4481ca[_0x100a10(0x181)]());}},{'priority':_0x228c76(0x178)});}}[_0x3133c6(0x159)](){const _0x5e6b55=_0x3133c6,_0xd8d829=this[_0x5e6b55(0x187)][_0x5e6b55(0x1a1)][_0x5e6b55(0x166)](_0x5e6b55(0x1a9)),_0x52a6cf=this[_0x5e6b55(0x187)][_0x5e6b55(0x19c)][_0x5e6b55(0x166)](_0x5e6b55(0x150));if(!_0xd8d829[_0x5e6b55(0x160)])return!0x1;const _0x35e149=_0x52a6cf[_0x5e6b55(0x189)](this[_0x5e6b55(0x187)][_0x5e6b55(0x18e)][_0x5e6b55(0x169)][_0x5e6b55(0x172)]);for(const _0x50f600 of _0x35e149)for(const _0x7cbbeb of _0x35e149)if(_0x50f600!=_0x7cbbeb&&!this[_0x5e6b55(0x188)](_0x50f600,_0x7cbbeb))return!0x1;return!0x0;}[_0x3133c6(0x188)](_0x3e3941,_0x2e5264){const _0x1ff329=_0x3133c6,_0x386626=this[_0x1ff329(0x187)][_0x1ff329(0x19c)][_0x1ff329(0x166)](_0x1ff329(0x171)),_0x3b776c=this[_0x1ff329(0x187)][_0x1ff329(0x18e)][_0x1ff329(0x17c)](_0x3e3941),_0x2af584=this[_0x1ff329(0x187)][_0x1ff329(0x18e)][_0x1ff329(0x17c)](_0x2e5264),_0x528510=new Set(),_0x43fbcd=new Set();for(const _0xbb4ac2 of _0x386626[_0x1ff329(0x18d)]())if((_0x1ff329(0x184)==_0xbb4ac2[_0x1ff329(0x176)]||_0x1ff329(0x14e)==_0xbb4ac2[_0x1ff329(0x176)]||_0x1ff329(0x1a9)==_0xbb4ac2[_0x1ff329(0x17b)])&&_0xbb4ac2[_0x1ff329(0x17a)]){for(const _0x3cea74 of _0xbb4ac2[_0x1ff329(0x17d)]())_0x3cea74[_0x1ff329(0x194)](_0x3b776c,!0x0)&&_0x528510[_0x1ff329(0x19f)](_0xbb4ac2[_0x1ff329(0x176)]+':'+_0xbb4ac2[_0x1ff329(0x180)]['id']),_0x3cea74[_0x1ff329(0x194)](_0x2af584,!0x0)&&_0x43fbcd[_0x1ff329(0x19f)](_0xbb4ac2[_0x1ff329(0x176)]+':'+_0xbb4ac2[_0x1ff329(0x180)]['id']);}if(_0x528510[_0x1ff329(0x15f)]!=_0x43fbcd[_0x1ff329(0x15f)])return!0x1;for(const _0x323555 of _0x528510)if(!_0x43fbcd[_0x1ff329(0x155)](_0x323555))return!0x1;return!0x0;}}
|
|
23
|
+
function _0xbca6(_0x1b3cdb,_0x53affa){const _0x51c942=_0x51c9();return _0xbca6=function(_0xbca632,_0x2c197a){_0xbca632=_0xbca632-0xd0;let _0x32cc7f=_0x51c942[_0xbca632];return _0x32cc7f;},_0xbca6(_0x1b3cdb,_0x53affa);}const _0x475ed4=_0xbca6;(function(_0x4a1e9e,_0x4a6fa9){const _0x5aeb3e=_0xbca6,_0x53464c=_0x4a1e9e();while(!![]){try{const _0x12ce91=-parseInt(_0x5aeb3e(0x108))/0x1+-parseInt(_0x5aeb3e(0x11f))/0x2*(parseInt(_0x5aeb3e(0x104))/0x3)+-parseInt(_0x5aeb3e(0x10b))/0x4+parseInt(_0x5aeb3e(0x111))/0x5+parseInt(_0x5aeb3e(0x127))/0x6+parseInt(_0x5aeb3e(0x12e))/0x7*(parseInt(_0x5aeb3e(0x128))/0x8)+parseInt(_0x5aeb3e(0xd7))/0x9;if(_0x12ce91===_0x4a6fa9)break;else _0x53464c['push'](_0x53464c['shift']());}catch(_0x1abfb2){_0x53464c['push'](_0x53464c['shift']());}}}(_0x51c9,0xbedbc));import{Plugin as _0x4da519}from'ckeditor5/src/core.js';import _0x511d50 from'./table.js';import{LiveRange as _0xd50bf8}from'ckeditor5/src/engine.js';import{getTranslation as _0x513a24}from'../utils/common-translations.js';function _0x51c9(){const _0x2fd30e=['selection','_acceptFormatSuggestionCallbackFactory','model','containsRange','format','requires','TrackChangesEditing','mergeTableCellLeft','createRangeOn','getAncestors','stop','change','enableCommand','TableEditing','tableCell','value','deletion','detach','has','mergeTableCellRight','refresh','1843005pAEvaD','type','mergeTableCellUp','trackChanges','938511RcFcBu','*Split\x20cell:*\x20horizontally','getRanges','1869528HlPubQ','TableUtils','$graveyard','_areMergableCells','from','getSelectionAffectedTableCells','4082345LGdKmT','set:isEnabled','markBlockFormat','isInContent','plugins','formatBlock','getCellLocation','subType','getSuggestions','splitTableCellVertically','*Merge\x20cells*','_suggestionFactory','_areSelectedCellsMergable','_tablePostFixingSubtypes','2hEuVls','mergeTableCellDown','descriptionFactory','_isForcedDefaultExecutionBlock','get','element','push','highest','2360004DhRgrE','16816HGTklN','getFirstPosition','low','locale','registerDescriptionCallback','direction','903EcNIhF','root','formatInline','setSelection','size','add','afterInit','accept','findAncestor','*Split\x20cell:*\x20vertically','author','11889207BdqbKo','markMultiRangeBlockFormat','find','registerCustomCallback','map','forceDefaultExecution','filter','editor','rootName','mergeTableCells','commandName','fromRange','length','cell','table','horizontally','execute','return','insertion','commands','document','createTableWalker','splitTableCellHorizontally','isEnabled'];_0x51c9=function(){return _0x2fd30e;};return _0x51c9();}export default class St extends _0x4da519{static get[_0x475ed4(0xf4)](){return[_0x511d50];}[_0x475ed4(0xd2)](){const _0xf24242=_0x475ed4,_0x239a88=this[_0xf24242(0xde)],_0x1bd7a=_0x239a88[_0xf24242(0xf1)][_0xf24242(0xeb)][_0xf24242(0xef)],_0x51452b=_0x239a88[_0xf24242(0x12b)];if(!_0x239a88[_0xf24242(0x115)][_0xf24242(0x101)](_0xf24242(0xfc)))return;const _0xc1f9fe=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0xf24242(0xf5)),_0x54d2f3=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0xf24242(0x10c)),_0x3990c4=_0x239a88[_0xf24242(0x115)][_0xf24242(0x123)](_0x511d50);_0x3990c4[_0xf24242(0x11e)][_0xf24242(0x125)](_0xf24242(0xe0)),_0xc1f9fe[_0xf24242(0xfb)](_0xf24242(0xe0),()=>{const _0x480d3e=_0xf24242,_0x250dbc=_0x54d2f3[_0x480d3e(0x110)](_0x239a88[_0x480d3e(0xf1)][_0x480d3e(0xeb)][_0x480d3e(0xef)]);_0x239a88[_0x480d3e(0xf1)][_0x480d3e(0xfa)](()=>{const _0x5e6063=_0x480d3e;_0xc1f9fe[_0x5e6063(0xd8)](_0x250dbc,{'commandName':_0x5e6063(0xe0),'commandParams':[]},[],_0x5e6063(0xe0));});}),_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0xf24242(0xe0))['on'](_0xf24242(0xe7),(_0x26a466,_0x2c8471)=>{const _0x35d8dd=_0xf24242;_0x239a88[_0x35d8dd(0xea)][_0x35d8dd(0x123)](_0x35d8dd(0x107))[_0x35d8dd(0xfe)]&&(_0x2c8471[_0x35d8dd(0xe3)]>0x0&&_0x2c8471[_0x2c8471[_0x35d8dd(0xe3)]-0x1]&&_0x2c8471[_0x2c8471[_0x35d8dd(0xe3)]-0x1][_0x35d8dd(0xdc)]||_0xc1f9fe[_0x35d8dd(0x122)]||this[_0x35d8dd(0x11d)]()||_0x26a466[_0x35d8dd(0xf9)]());},{'priority':_0xf24242(0x126)});for(const _0x19132a of[_0xf24242(0x106),_0xf24242(0x102),_0xf24242(0x120),_0xf24242(0xf6)]){const _0x589ba1=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x19132a);_0xc1f9fe[_0xf24242(0xfb)](_0x19132a,()=>{const _0x330af8=_0xf24242,_0x3100a2=_0x239a88[_0x330af8(0xf1)][_0x330af8(0xeb)][_0x330af8(0xef)][_0x330af8(0x129)]()[_0x330af8(0xf8)]()[_0x330af8(0xd9)](_0xc80be6=>_0xc80be6['is'](_0x330af8(0x124),_0x330af8(0xfd))),_0xc87507=_0x589ba1[_0x330af8(0xfe)];_0x239a88[_0x330af8(0xf1)][_0x330af8(0xfa)](()=>{const _0x5e9a37=_0x330af8;_0xc1f9fe[_0x5e9a37(0xd8)]([_0x3100a2,_0xc87507],{'commandName':_0x5e9a37(0xe0),'commandParams':[]},[],_0x5e9a37(0xe0));});});}for(const _0x45de86 of[_0xf24242(0x11a),_0xf24242(0xed)]){const _0x32c842=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x45de86);_0xc1f9fe[_0xf24242(0xfb)](_0x45de86,()=>{const _0x4f6ff0=_0xf24242,_0x990d1=_0x54d2f3[_0x4f6ff0(0x110)](_0x239a88[_0x4f6ff0(0xf1)][_0x4f6ff0(0xeb)][_0x4f6ff0(0xef)])[0x0],_0xa250c=_0x990d1[_0x4f6ff0(0xd4)](_0x4f6ff0(0xe5)),{column:_0x23e530,row:_0x358c96}=_0x54d2f3[_0x4f6ff0(0x117)](_0x990d1);let _0x21268b=[];if(_0x4f6ff0(0xe6)==_0x32c842[_0x4f6ff0(0x12d)]){const _0x4a14fd=_0x54d2f3[_0x4f6ff0(0xec)](_0xa250c,{'startRow':_0x358c96,'endRow':_0x358c96,'includeAllSlots':!0x0});_0x21268b=Array[_0x4f6ff0(0x10f)](_0x4a14fd)[_0x4f6ff0(0xdb)](_0x2dedb6=>_0x2dedb6[_0x4f6ff0(0xe4)]);}else{const _0x6bb42=_0x54d2f3[_0x4f6ff0(0xec)](_0xa250c,{'column':_0x23e530,'includeAllSlots':!0x0});_0x21268b=Array[_0x4f6ff0(0x10f)](_0x6bb42)[_0x4f6ff0(0xdb)](_0x212efa=>_0x212efa[_0x4f6ff0(0xe4)]);}_0x239a88[_0x4f6ff0(0xf1)][_0x4f6ff0(0xfa)](_0x3152fd=>{const _0xc7c8=_0x4f6ff0;_0xc1f9fe[_0xc7c8(0x113)](_0x3152fd[_0xc7c8(0xf7)](_0x990d1),{'commandName':_0x45de86,'commandParams':[]},_0x21268b,_0x45de86);});});}_0xc1f9fe[_0xf24242(0x121)][_0xf24242(0x12c)](_0x266f0b=>{const _0x43db81=_0xf24242;if(_0x43db81(0x116)!=_0x266f0b[_0x43db81(0x105)]&&_0x43db81(0x130)!=_0x266f0b[_0x43db81(0x105)])return;const {data:_0x2824f6}=_0x266f0b;return _0x2824f6&&_0x43db81(0xe0)==_0x2824f6[_0x43db81(0xe1)]?{'type':_0x43db81(0xf3),'content':_0x513a24(_0x51452b,_0x43db81(0x11b))}:void 0x0;}),_0xc1f9fe[_0xf24242(0x121)][_0xf24242(0x12c)](_0x5be3c2=>{const _0x145541=_0xf24242;if(_0x145541(0x116)!=_0x5be3c2[_0x145541(0x105)]&&_0x145541(0x130)!=_0x5be3c2[_0x145541(0x105)])return;const {data:_0x55dd32}=_0x5be3c2;return _0x55dd32?_0x145541(0x11a)==_0x55dd32[_0x145541(0xe1)]?{'type':_0x145541(0xf3),'content':_0x513a24(_0x51452b,_0x145541(0xd5))}:_0x145541(0xed)==_0x55dd32[_0x145541(0xe1)]?{'type':_0x145541(0xf3),'content':_0x513a24(_0x51452b,_0x145541(0x109))}:void 0x0:void 0x0;});const _0x3869d6=_0x3990c4[_0xf24242(0xf0)]();for(const _0x195cf9 of[_0xf24242(0x106),_0xf24242(0x102),_0xf24242(0x120),_0xf24242(0xf6)])_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0x195cf9,_0xf24242(0xd3),_0x3869d6);for(const _0x2f3d85 of[_0xf24242(0x11a),_0xf24242(0xed)])_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0x2f3d85,_0xf24242(0xd3),_0x3869d6);_0xc1f9fe[_0xf24242(0x11c)][_0xf24242(0xda)](_0xf24242(0x116),_0xf24242(0xe0),_0xf24242(0xd3),_0x50e5cb=>{const _0x51cbd0=_0xf24242;_0x239a88[_0x51cbd0(0xf1)][_0x51cbd0(0xfa)](_0x5d64f9=>{const _0x55c4d3=_0x51cbd0,_0x2f192a=Array[_0x55c4d3(0x10f)](_0x1bd7a[_0x55c4d3(0x10a)]())[_0x55c4d3(0xdb)](_0x271aaa=>_0xd50bf8[_0x55c4d3(0xe2)](_0x271aaa));_0x5d64f9[_0x55c4d3(0x131)](_0x50e5cb),_0x239a88[_0x55c4d3(0xea)][_0x55c4d3(0x123)](_0x55c4d3(0xe0))[_0x55c4d3(0x103)](),_0x239a88[_0x55c4d3(0xe7)](_0x55c4d3(0xe0),{'forceDefaultExecution':!0x0});const _0x589294=_0x2f192a[_0x55c4d3(0xdd)](_0x2204b5=>_0x55c4d3(0x10d)!=_0x2204b5[_0x55c4d3(0x12f)][_0x55c4d3(0xdf)]);_0x589294[_0x55c4d3(0xe3)]>0x0&&_0x5d64f9[_0x55c4d3(0x131)](_0x589294);for(const _0x107f95 of _0x2f192a)_0x107f95[_0x55c4d3(0x100)]();});});for(const _0x9ac723 of[_0xf24242(0x106),_0xf24242(0x120),_0xf24242(0xf6),_0xf24242(0x102)]){const _0x2d4f85=_0x239a88[_0xf24242(0xea)][_0xf24242(0x123)](_0x9ac723);_0x2d4f85['on'](_0xf24242(0x112),(_0x22f47b,_0x23135f,_0x727628)=>{const _0x321825=_0xf24242;if(_0x727628){const _0x29a44a=_0x239a88[_0x321825(0xf1)][_0x321825(0xeb)][_0x321825(0xef)][_0x321825(0x129)]()[_0x321825(0xf8)]()[_0x321825(0xd9)](_0x45312f=>_0x45312f['is'](_0x321825(0x124),_0x321825(0xfd)));this[_0x321825(0x10e)](_0x2d4f85[_0x321825(0xfe)],_0x29a44a)||(_0x22f47b[_0x321825(0xe8)]=!0x1,_0x22f47b[_0x321825(0xf9)]());}},{'priority':_0xf24242(0x12a)});}}[_0x475ed4(0x11d)](){const _0x22444a=_0x475ed4,_0x253c59=this[_0x22444a(0xde)][_0x22444a(0xea)][_0x22444a(0x123)](_0x22444a(0xe0)),_0x1ea4e6=this[_0x22444a(0xde)][_0x22444a(0x115)][_0x22444a(0x123)](_0x22444a(0x10c));if(!_0x253c59[_0x22444a(0xee)])return!0x1;const _0x30f8b8=_0x1ea4e6[_0x22444a(0x110)](this[_0x22444a(0xde)][_0x22444a(0xf1)][_0x22444a(0xeb)][_0x22444a(0xef)]);for(const _0x444644 of _0x30f8b8)for(const _0x2247c6 of _0x30f8b8)if(_0x444644!=_0x2247c6&&!this[_0x22444a(0x10e)](_0x444644,_0x2247c6))return!0x1;return!0x0;}[_0x475ed4(0x10e)](_0x2fba11,_0x4346de){const _0x3a95c5=_0x475ed4,_0x10f3bd=this[_0x3a95c5(0xde)][_0x3a95c5(0x115)][_0x3a95c5(0x123)](_0x3a95c5(0xf5)),_0x688f63=this[_0x3a95c5(0xde)][_0x3a95c5(0xf1)][_0x3a95c5(0xf7)](_0x2fba11),_0x2f55ed=this[_0x3a95c5(0xde)][_0x3a95c5(0xf1)][_0x3a95c5(0xf7)](_0x4346de),_0x4cf05c=new Set(),_0x310138=new Set();for(const _0x4e49fb of _0x10f3bd[_0x3a95c5(0x119)]())if((_0x3a95c5(0xe9)==_0x4e49fb[_0x3a95c5(0x105)]||_0x3a95c5(0xff)==_0x4e49fb[_0x3a95c5(0x105)]||_0x3a95c5(0xe0)==_0x4e49fb[_0x3a95c5(0x118)])&&_0x4e49fb[_0x3a95c5(0x114)]){for(const _0x30f829 of _0x4e49fb[_0x3a95c5(0x10a)]())_0x30f829[_0x3a95c5(0xf2)](_0x688f63,!0x0)&&_0x4cf05c[_0x3a95c5(0xd1)](_0x4e49fb[_0x3a95c5(0x105)]+':'+_0x4e49fb[_0x3a95c5(0xd6)]['id']),_0x30f829[_0x3a95c5(0xf2)](_0x2f55ed,!0x0)&&_0x310138[_0x3a95c5(0xd1)](_0x4e49fb[_0x3a95c5(0x105)]+':'+_0x4e49fb[_0x3a95c5(0xd6)]['id']);}if(_0x4cf05c[_0x3a95c5(0xd0)]!=_0x310138[_0x3a95c5(0xd0)])return!0x1;for(const _0x2f9f4a of _0x4cf05c)if(!_0x310138[_0x3a95c5(0x101)](_0x2f9f4a))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2b6a(_0x255e93,_0xb06ff0){const _0x23e11a=_0x23e1();return _0x2b6a=function(_0x2b6af1,_0x3f345e){_0x2b6af1=_0x2b6af1-0x141;let _0x32a70d=_0x23e11a[_0x2b6af1];return _0x32a70d;},_0x2b6a(_0x255e93,_0xb06ff0);}const _0x1efcf4=_0x2b6a;(function(_0x482a10,_0xa00dd7){const _0x417602=_0x2b6a,_0x1748f4=_0x482a10();while(!![]){try{const _0x131d0d=parseInt(_0x417602(0x153))/0x1+parseInt(_0x417602(0x148))/0x2+parseInt(_0x417602(0x149))/0x3*(-parseInt(_0x417602(0x14d))/0x4)+-parseInt(_0x417602(0x152))/0x5+parseInt(_0x417602(0x14f))/0x6*(parseInt(_0x417602(0x14e))/0x7)+parseInt(_0x417602(0x156))/0x8*(parseInt(_0x417602(0x150))/0x9)+-parseInt(_0x417602(0x14a))/0xa*(parseInt(_0x417602(0x154))/0xb);if(_0x131d0d===_0xa00dd7)break;else _0x1748f4['push'](_0x1748f4['shift']());}catch(_0x11048c){_0x1748f4['push'](_0x1748f4['shift']());}}}(_0x23e1,0x24274));import{Plugin as _0x45d6d2}from'ckeditor5/src/core.js';function _0x23e1(){const _0xe8689=['locale','548038MIKuYI','3SrhNms','31750kHhXIP','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','181472oXzdXI','2863cKnGtL','2634OVlXcZ','9gALHln','commands','1270975eMEwrL','185708FKjuiP','1408eOPprA','TrackChangesEditing','1718152dehZuL','descriptionFactory','get','tableOfContents','plugins','editor','enableCommand','insertTableOfContents','afterInit'];_0x23e1=function(){return _0xe8689;};return _0x23e1();}import{getTranslation as _0x19f6bb}from'../utils/common-translations.js';export default class _t extends _0x45d6d2{[_0x1efcf4(0x146)](){const _0x3093a5=_0x1efcf4,_0x456a29=this[_0x3093a5(0x143)];if(!_0x456a29[_0x3093a5(0x151)][_0x3093a5(0x158)](_0x3093a5(0x145)))return;_0x456a29[_0x3093a5(0x142)][_0x3093a5(0x158)](_0x3093a5(0x155))[_0x3093a5(0x144)](_0x3093a5(0x145));const _0xff42d0=_0x456a29[_0x3093a5(0x142)][_0x3093a5(0x158)](_0x3093a5(0x155)),_0x13d780=_0x456a29[_0x3093a5(0x147)];_0xff42d0[_0x3093a5(0x157)][_0x3093a5(0x14c)](_0x3093a5(0x141),_0x20ed2a=>_0x19f6bb(_0x13d780,_0x3093a5(0x14b),_0x20ed2a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x239bae=_0xcb50;(function(_0x141e8e,_0x4f21f8){const _0x22f195=_0xcb50,_0x21075e=_0x141e8e();while(!![]){try{const _0x27f09c=parseInt(_0x22f195(0x13a))/0x1+parseInt(_0x22f195(0xf7))/0x2*(parseInt(_0x22f195(0xfa))/0x3)+parseInt(_0x22f195(0x132))/0x4+-parseInt(_0x22f195(0x113))/0x5*(parseInt(_0x22f195(0x112))/0x6)+parseInt(_0x22f195(0xfc))/0x7+parseInt(_0x22f195(0x109))/0x8+parseInt(_0x22f195(0x11d))/0x9*(-parseInt(_0x22f195(0x13b))/0xa);if(_0x27f09c===_0x4f21f8)break;else _0x21075e['push'](_0x21075e['shift']());}catch(_0x83f9ee){_0x21075e['push'](_0x21075e['shift']());}}}(_0x4a16,0x86ab1));import{Plugin as _0x4fc67c}from'ckeditor5/src/core.js';function _0x4a16(){const _0x4ea066=['change','tableCellBorderColor','tableCellBackgroundColor','nodeAfter','get','enableCommand','afterInit','markBlockFormat','6QHlxWR','1602405VUpPFV','start','TableUtils','format','tableCellHorizontalAlignment','TablePropertiesEditing','join','tableCellBorderWidth','handleSuggestionDescription','*Format:*\x20change\x20table\x20properties','9sOzOTQ','tableWidth','subType','tableCellWidth','handleDiscardAction','model','TableCellPropertiesEditing','getContainedElement','tableBorderStyle','tableCellPadding','document','getFirstPosition','editor','getAttribute','findAncestor','tableCellVerticalAlignment','tableBorderColor','getSuggestions','removeAttribute','data','tableAlignment','1540524YWaPQc','has','_getSuggestion','getSelectionAffectedTableCells','tableBackgroundColor','accept','tableBorderWidth','pluginName','236908dRRsgm','14302330YUCZRC','formatBlock','enqueueChange','getSuggestionCallback','tableCellBorderStyle','*Format:*\x20change\x20table\x20cell\x20properties','descriptionFactory','tableCellHeight','commandParams','locale','56366VUDoey','TrackChangesTableProperties','table','39FkurlD','_suggestionFactory','4452665GSKZuK','setAttribute','tableCellProperties','registerDescriptionCallback','_handlePropertyChange','discard','batch','plugins','tableHeight','TrackChangesEditing','selection','tableProperties','registerCustomCallback','5422416VDYynt'];_0x4a16=function(){return _0x4ea066;};return _0x4a16();}import{getTranslation as _0x3a389f}from'../utils/common-translations.js';function _0xcb50(_0x5563ef,_0x2e8af5){const _0x4a1622=_0x4a16();return _0xcb50=function(_0xcb5080,_0x13153c){_0xcb5080=_0xcb5080-0xf4;let _0x635c95=_0x4a1622[_0xcb5080];return _0x635c95;},_0xcb50(_0x5563ef,_0x2e8af5);}export default class $t extends _0x4fc67c{constructor(_0xb9e499){const _0x2388c6=_0xcb50;super(_0xb9e499),this[_0x2388c6(0x107)]=[_0x2388c6(0x12d),_0x2388c6(0x125),_0x2388c6(0x138),_0x2388c6(0x131),_0x2388c6(0x11e),_0x2388c6(0x104),_0x2388c6(0x136)],this[_0x2388c6(0xfe)]=[_0x2388c6(0x10b),_0x2388c6(0x13f),_0x2388c6(0x11a),_0x2388c6(0x126),_0x2388c6(0x120),_0x2388c6(0xf4),_0x2388c6(0x10c),_0x2388c6(0x117),_0x2388c6(0x12c)];}static get[_0x239bae(0x139)](){const _0x57273f=_0x239bae;return _0x57273f(0xf8);}[_0x239bae(0x110)](){const _0xe7f820=_0x239bae,_0x498d48=this[_0xe7f820(0x129)][_0xe7f820(0x103)][_0xe7f820(0x10e)](_0xe7f820(0x105));if(this[_0xe7f820(0x129)][_0xe7f820(0x103)][_0xe7f820(0x133)](_0xe7f820(0x118))){for(const _0x160ad3 of this[_0xe7f820(0x107)])_0x498d48[_0xe7f820(0x10f)](_0x160ad3,(_0x1f0031,_0x54dd79)=>{const _0x5eaee2=_0xe7f820,_0x4d14f6=this[_0x5eaee2(0x129)][_0x5eaee2(0x122)][_0x5eaee2(0x127)][_0x5eaee2(0x106)][_0x5eaee2(0x128)]()[_0x5eaee2(0x12b)](_0x5eaee2(0xf9));this[_0x5eaee2(0x100)](_0x160ad3,[_0x4d14f6],this[_0x5eaee2(0x107)],_0x5eaee2(0x107),_0x1f0031,_0x54dd79);});_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0x107),_0xe7f820(0x137),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x13e)](_0xe7f820(0x13c),null,_0xe7f820(0x101))),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0x107),_0xe7f820(0x101),(_0x2ec20c,_0x2c1bee)=>this[_0xe7f820(0x121)](this[_0xe7f820(0x107)],_0x2ec20c,_0x2c1bee)),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0x107),_0xe7f820(0x119),()=>!0x1);}if(this[_0xe7f820(0x129)][_0xe7f820(0x103)][_0xe7f820(0x133)](_0xe7f820(0x123))){for(const _0x14f647 of this[_0xe7f820(0xfe)])_0x498d48[_0xe7f820(0x10f)](_0x14f647,(_0x2d27a0,_0x1b00b6)=>{const _0x216334=_0xe7f820,_0x3b7f40=this[_0x216334(0x129)][_0x216334(0x103)][_0x216334(0x10e)](_0x216334(0x115))[_0x216334(0x135)](this[_0x216334(0x129)][_0x216334(0x122)][_0x216334(0x127)][_0x216334(0x106)]);this[_0x216334(0x100)](_0x14f647,_0x3b7f40,this[_0x216334(0xfe)],_0x216334(0xfe),_0x2d27a0,_0x1b00b6);});_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0xfe),_0xe7f820(0x137),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x13e)](_0xe7f820(0x13c),null,_0xe7f820(0x101))),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0xfe),_0xe7f820(0x101),(_0x1de7de,_0x1dd75d)=>this[_0xe7f820(0x121)](this[_0xe7f820(0xfe)],_0x1de7de,_0x1dd75d)),_0x498d48[_0xe7f820(0xfb)][_0xe7f820(0x108)](_0xe7f820(0x13c),_0xe7f820(0xfe),_0xe7f820(0x119),()=>!0x1);}_0x498d48[_0xe7f820(0x141)][_0xe7f820(0xff)](_0x37d111=>this[_0xe7f820(0x11b)](_0x37d111));}[_0x239bae(0x100)](_0x5634b5,_0x225c0,_0x3cc4b8,_0x434544,_0x3044a7,_0x54e562){const _0x2bf777=_0x239bae,_0x52b9c8=this[_0x2bf777(0x129)][_0x2bf777(0x103)][_0x2bf777(0x10e)](_0x2bf777(0x105));this[_0x2bf777(0x129)][_0x2bf777(0x122)][_0x2bf777(0x13d)](_0x54e562[_0x2bf777(0x102)],()=>{const _0x2a1c22=_0x2bf777;for(const _0x4eb641 of _0x225c0){if(this[_0x2a1c22(0x134)](_0x4eb641,_0x434544))_0x3044a7(_0x54e562);else{const _0x4978c9={};for(const _0x27f699 of _0x3cc4b8){const _0x5cff83=_0x4eb641[_0x2a1c22(0x12a)](_0x27f699);void 0x0!==_0x5cff83&&(_0x4978c9[_0x27f699]=_0x5cff83);}_0x3044a7(_0x54e562),_0x52b9c8[_0x2a1c22(0x111)](_0x4eb641,{'commandParams':[_0x4978c9]},[],_0x434544);}}});}[_0x239bae(0x121)](_0x3f0603,_0x2a05de,_0x28e49c){const _0x4fc8b5=_0x239bae,_0x1a77a8=_0x2a05de[0x0][_0x4fc8b5(0x114)][_0x4fc8b5(0x10d)],_0x414b37=_0x28e49c[_0x4fc8b5(0xf5)][0x0];this[_0x4fc8b5(0x129)][_0x4fc8b5(0x122)][_0x4fc8b5(0x10a)](_0x2d5dcc=>{const _0x108e11=_0x4fc8b5;for(const _0x365654 of _0x3f0603)void 0x0!==_0x414b37[_0x365654]?_0x2d5dcc[_0x108e11(0xfd)](_0x365654,_0x414b37[_0x365654],_0x1a77a8):_0x2d5dcc[_0x108e11(0x12f)](_0x365654,_0x1a77a8);});}[_0x239bae(0x11b)](_0x1c6730){const _0x4d63e2=_0x239bae;if(_0x1c6730[_0x4d63e2(0x130)])switch(_0x1c6730[_0x4d63e2(0x11f)]){case _0x4d63e2(0x107):return{'type':_0x4d63e2(0x116),'content':_0x3a389f(this[_0x4d63e2(0x129)][_0x4d63e2(0xf6)],_0x4d63e2(0x11c))};case _0x4d63e2(0xfe):return{'type':_0x4d63e2(0x116),'content':_0x3a389f(this[_0x4d63e2(0x129)][_0x4d63e2(0xf6)],_0x4d63e2(0x140))};}}[_0x239bae(0x134)](_0x71c88c,_0x497af1){const _0xca18=_0x239bae,_0x4de5cb=this[_0xca18(0x129)][_0xca18(0x103)][_0xca18(0x10e)](_0xca18(0x105));for(const _0x54952a of _0x4de5cb[_0xca18(0x12e)]({'skipNotAttached':!0x0})){const _0x1399a4=_0x54952a[_0xca18(0x124)]();if(_0x54952a[_0xca18(0x11f)]===_0x497af1&&_0x1399a4===_0x71c88c)return _0x54952a;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x137351=_0x5f1b;(function(_0x55c367,_0x2fc55f){const _0x4322b6=_0x5f1b,_0x5af33e=_0x55c367();while(!![]){try{const _0x508ca9=-parseInt(_0x4322b6(0x192))/0x1*(parseInt(_0x4322b6(0x18a))/0x2)+-parseInt(_0x4322b6(0x184))/0x3+parseInt(_0x4322b6(0x188))/0x4+parseInt(_0x4322b6(0x18d))/0x5+parseInt(_0x4322b6(0x193))/0x6*(parseInt(_0x4322b6(0x185))/0x7)+-parseInt(_0x4322b6(0x194))/0x8+parseInt(_0x4322b6(0x18c))/0x9;if(_0x508ca9===_0x2fc55f)break;else _0x5af33e['push'](_0x5af33e['shift']());}catch(_0x56dfde){_0x5af33e['push'](_0x5af33e['shift']());}}}(_0x423a,0xd4ab9));function _0x5f1b(_0x438b29,_0x2eeeab){const _0x423af6=_0x423a();return _0x5f1b=function(_0x5f1b2c,_0x1f2c9e){_0x5f1b2c=_0x5f1b2c-0x183;let _0x311224=_0x423af6[_0x5f1b2c];return _0x311224;},_0x5f1b(_0x438b29,_0x2eeeab);}function _0x423a(){const _0x3c7603=['Template','editor','enableCommand','1HOuMCH','9330mTykCw','1678752mkDlxT','get','4617549AfAsXP','1883jWiZiI','TrackChangesEditing','insertTemplate','2419140VAkpmk','plugins','2562410MyitVF','has','16364673TtJWUz','5299760GipLeO','afterInit'];_0x423a=function(){return _0x3c7603;};return _0x423a();}import{Plugin as _0x307dc8}from'ckeditor5/src/core.js';export default class Ct extends _0x307dc8{[_0x137351(0x18e)](){const _0x3e95b5=_0x137351,_0x5b79a6=this[_0x3e95b5(0x190)];_0x5b79a6[_0x3e95b5(0x189)][_0x3e95b5(0x18b)](_0x3e95b5(0x18f))&&_0x5b79a6[_0x3e95b5(0x189)][_0x3e95b5(0x183)](_0x3e95b5(0x186))[_0x3e95b5(0x191)](_0x3e95b5(0x187));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x68bb91=_0x1ea0;function _0x1ea0(_0x495b7d,_0x416354){const _0x30bc0c=_0x30bc();return _0x1ea0=function(_0x1ea0a3,_0x4ebcdc){_0x1ea0a3=_0x1ea0a3-0x163;let _0x5461c6=_0x30bc0c[_0x1ea0a3];return _0x5461c6;},_0x1ea0(_0x495b7d,_0x416354);}(function(_0xb9437a,_0x28ea22){const _0x51cdec=_0x1ea0,_0xa76dc2=_0xb9437a();while(!![]){try{const _0xa7525f=-parseInt(_0x51cdec(0x17d))/0x1+-parseInt(_0x51cdec(0x176))/0x2+parseInt(_0x51cdec(0x169))/0x3+-parseInt(_0x51cdec(0x17a))/0x4+parseInt(_0x51cdec(0x18c))/0x5+-parseInt(_0x51cdec(0x16e))/0x6*(-parseInt(_0x51cdec(0x173))/0x7)+parseInt(_0x51cdec(0x188))/0x8;if(_0xa7525f===_0x28ea22)break;else _0xa76dc2['push'](_0xa76dc2['shift']());}catch(_0xe1c33f){_0xa76dc2['push'](_0xa76dc2['shift']());}}}(_0x30bc,0x4e3aa));import{Plugin as _0x5117c5}from'ckeditor5/src/core.js';import{getTranslation as _0x45ca4a}from'../utils/common-translations.js';export default class Dt extends _0x5117c5{[_0x68bb91(0x18a)](){const _0x7135b6=_0x68bb91,_0x5aabc8=this[_0x7135b6(0x17e)];if(!_0x5aabc8[_0x7135b6(0x16d)][_0x7135b6(0x16a)](_0x7135b6(0x172)))return;const _0x3c0e27=_0x5aabc8[_0x7135b6(0x16d)][_0x7135b6(0x167)](_0x7135b6(0x164));_0x3c0e27[_0x7135b6(0x182)][_0x7135b6(0x16b)](_0x7135b6(0x171),()=>_0x45ca4a(_0x5aabc8[_0x7135b6(0x179)],_0x7135b6(0x178))),_0x5aabc8[_0x7135b6(0x175)][_0x7135b6(0x181)][_0x7135b6(0x165)](_0x394497=>{const _0x34d094=_0x7135b6;let _0x34395b=!0x1;const _0x229375=Array[_0x34d094(0x18b)](_0x5aabc8[_0x34d094(0x175)][_0x34d094(0x181)][_0x34d094(0x17b)][_0x34d094(0x17c)]());for(const {name:_0x158584,data:_0xb9d7d0}of _0x229375){const {group:_0x166ecc}=_0x3c0e27[_0x34d094(0x163)](_0x158584);if(_0x34d094(0x168)!==_0x166ecc||!_0xb9d7d0[_0x34d094(0x174)])continue;const _0x568117=_0xb9d7d0[_0x34d094(0x174)],_0x28b4c7=_0x568117[_0x34d094(0x16f)][_0x34d094(0x186)];if(!_0x28b4c7||!_0x28b4c7['is'](_0x34d094(0x166),_0x34d094(0x171)))continue;if(!_0x568117[_0x34d094(0x16c)][_0x34d094(0x185)](_0x568117[_0x34d094(0x16f)]))continue;const _0x529207=_0x5aabc8[_0x34d094(0x175)][_0x34d094(0x17f)][_0x34d094(0x183)](_0x568117[_0x34d094(0x16f)],_0x34d094(0x184));if(_0x529207&&_0x529207[_0x34d094(0x170)]){const _0x1364b0=_0x394497[_0x34d094(0x180)](_0x568117[_0x34d094(0x16c)],_0x529207[_0x34d094(0x16c)]);_0x1364b0[_0x34d094(0x187)](_0x568117)||(_0x394497[_0x34d094(0x177)](_0x158584,{'range':_0x1364b0}),_0x34395b=!0x0);}_0x34395b||(_0x394497[_0x34d094(0x189)](_0x158584),_0x34395b=!0x0);}return _0x34395b;});}}function _0x30bc(){const _0x5d9e30=['document','descriptionFactory','getNearestSelectionRange','forward','isTouching','nodeBefore','isEqual','3874328OtJETY','removeMarker','afterInit','from','351190VArlgM','_splitMarkerName','TrackChangesEditing','registerPostFixer','element','get','suggestion','1235538yPdAUN','has','registerElementLabel','start','plugins','283344TiEgQz','end','isCollapsed','title-content','Title','7aISrkp','newRange','model','616930utDLdb','updateMarker','ELEMENT_TITLE','locale','46324OcZbxK','differ','getChangedMarkers','373127kULcBU','editor','schema','createRange'];_0x30bc=function(){return _0x5d9e30;};return _0x30bc();}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17c3dd=_0x59bd;(function(_0x48451d,_0x2a7ded){const _0x1df282=_0x59bd,_0x4dbf35=_0x48451d();while(!![]){try{const _0x1daa09=parseInt(_0x1df282(0x10f))/0x1*(-parseInt(_0x1df282(0x11c))/0x2)+-parseInt(_0x1df282(0x113))/0x3*(parseInt(_0x1df282(0x10d))/0x4)+parseInt(_0x1df282(0x112))/0x5+parseInt(_0x1df282(0x110))/0x6*(parseInt(_0x1df282(0x11b))/0x7)+parseInt(_0x1df282(0x10a))/0x8*(-parseInt(_0x1df282(0x116))/0x9)+parseInt(_0x1df282(0x115))/0xa+parseInt(_0x1df282(0x10b))/0xb;if(_0x1daa09===_0x2a7ded)break;else _0x4dbf35['push'](_0x4dbf35['shift']());}catch(_0x549fe6){_0x4dbf35['push'](_0x4dbf35['shift']());}}}(_0xdf1b,0x266e3));import{Plugin as _0x41fa4f}from'ckeditor5/src/core.js';export default class Nt extends _0x41fa4f{[_0x17c3dd(0x10e)](){const _0x1d2bf5=_0x17c3dd,_0x57beaa=this[_0x1d2bf5(0x11a)],_0x2a9a74=_0x57beaa[_0x1d2bf5(0x118)][_0x1d2bf5(0x114)](_0x1d2bf5(0x11d));_0x57beaa[_0x1d2bf5(0x118)][_0x1d2bf5(0x10c)](_0x1d2bf5(0x119))&&(_0x2a9a74[_0x1d2bf5(0x111)](_0x1d2bf5(0x11e)),_0x2a9a74[_0x1d2bf5(0x111)](_0x1d2bf5(0x117)));}}function _0x59bd(_0x3951fa,_0x260bd1){const _0xdf1bc3=_0xdf1b();return _0x59bd=function(_0x59bd85,_0x164bd8){_0x59bd85=_0x59bd85-0x10a;let _0x2776fc=_0xdf1bc3[_0x59bd85];return _0x2776fc;},_0x59bd(_0x3951fa,_0x260bd1);}function _0xdf1b(){const _0x2c4175=['268626jdRLQE','TrackChangesEditing','undo','8aoQMAi','1503975EkSDfS','has','47592sqitxd','afterInit','1lGSwnw','6wrjsrK','enableCommand','63350XeEwrS','15KRPRjt','get','1203170VlziqP','170829mhzYqA','redo','plugins','UndoEditing','editor','703381IYkwyi'];_0xdf1b=function(){return _0x2c4175;};return _0xdf1b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x27e1(){const _0x28e20d=['toViewElement','getWalker','539992yiArrb','consumable','item','33017AjvdRz','getCustomProperty','schema','6787BkIeaT','5588090jvWtis','start','ck-suggestion-marker-','includes','name','insert','markerName','38MYbiwu','1787352RLfIkD','15870kjybnS','addClass','writer','bindElementToMarker','hasAttribute','activeMarkers','parent','push','addHighlight','createRangeOn','elementEnd','isBlock','2461611ajQMVA','isLimit','getItems','previousPosition','isAtEnd','plugins','1333348lUIMzT','test','markerRange','createUIElement','TrackChangesEditing','get','nextSibling','isContent','type','toViewPosition','6LJzitP','span','model','ck-suggestion-marker--active','54pcWMno','mapper'];_0x27e1=function(){return _0x28e20d;};return _0x27e1();}function _0x240e(_0x5dce5a,_0x3a1fa4){const _0x27e1bb=_0x27e1();return _0x240e=function(_0x240e39,_0x4df052){_0x240e39=_0x240e39-0x1aa;let _0x4dff8d=_0x27e1bb[_0x240e39];return _0x4dff8d;},_0x240e(_0x5dce5a,_0x3a1fa4);}(function(_0x30f861,_0xbf17e){const _0x17a99d=_0x240e,_0x81e82c=_0x30f861();while(!![]){try{const _0x2d8b37=parseInt(_0x17a99d(0x1d6))/0x1*(parseInt(_0x17a99d(0x1ad))/0x2)+parseInt(_0x17a99d(0x1bb))/0x3+-parseInt(_0x17a99d(0x1c1))/0x4+parseInt(_0x17a99d(0x1da))/0x5*(parseInt(_0x17a99d(0x1cb))/0x6)+-parseInt(_0x17a99d(0x1ae))/0x7+-parseInt(_0x17a99d(0x1d3))/0x8*(parseInt(_0x17a99d(0x1cf))/0x9)+-parseInt(_0x17a99d(0x1af))/0xa*(parseInt(_0x17a99d(0x1d9))/0xb);if(_0x2d8b37===_0xbf17e)break;else _0x81e82c['push'](_0x81e82c['shift']());}catch(_0x36bfb8){_0x81e82c['push'](_0x81e82c['shift']());}}}(_0x27e1,0x90af8));export function getRangesWithAttribute(_0x192be2,_0x480c66,_0x5355bc){const _0x1ce682=_0x240e,_0x397f9d=[];for(const _0x4aa05a of _0x480c66[_0x1ce682(0x1bd)]())_0x4aa05a[_0x1ce682(0x1b3)](_0x192be2)&&_0x397f9d[_0x1ce682(0x1b6)](_0x5355bc[_0x1ce682(0x1b8)](_0x4aa05a));return _0x397f9d;}export function downcastSplitMergeMarker(_0x2482f0,_0x204f63,{showActiveMarker:_0x578a61=!0x0}={}){const _0x2342bd=_0x240e,_0x58938d=_0x2482f0[_0x2342bd(0x1c0)][_0x2342bd(0x1c6)](_0x2342bd(0x1c5));return(_0x322f86,_0xefd389,_0x2b624c)=>{const _0x57c6d8=_0x2342bd;if(!_0x2b624c[_0x57c6d8(0x1d4)][_0x57c6d8(0x1c2)](_0xefd389[_0x57c6d8(0x1c3)],_0x322f86[_0x57c6d8(0x1aa)]))return;const _0x13e9bd=_0xefd389[_0x57c6d8(0x1c3)][_0x57c6d8(0x1d2)](),_0x2c5459=_0xefd389[_0x57c6d8(0x1c3)][_0x57c6d8(0x1db)],_0x470d96=_0x2482f0[_0x57c6d8(0x1cd)][_0x57c6d8(0x1d8)];let _0x25bb34=null,_0x49e032=null,_0x58fe48=!0x1,_0x159988=!0x1;for(const _0x74514f of _0x13e9bd){const _0x47eace=_0x74514f[_0x57c6d8(0x1d5)];_0x58fe48=_0x58fe48||_0x470d96[_0x57c6d8(0x1c8)](_0x47eace);const _0x5b57ea=_0x2b624c[_0x57c6d8(0x1d0)][_0x57c6d8(0x1d1)](_0x47eace);if(_0x5b57ea&&_0x5b57ea[_0x57c6d8(0x1d7)](_0x57c6d8(0x1b7)))return;_0x57c6d8(0x1b9)==_0x74514f[_0x57c6d8(0x1c9)]&&(_0x470d96[_0x57c6d8(0x1ba)](_0x47eace)&&!_0x470d96[_0x57c6d8(0x1bc)](_0x47eace)&&(_0x47eace[_0x57c6d8(0x1c7)]||_0x2c5459[_0x57c6d8(0x1bf)]?_0x25bb34&&_0x25bb34[_0x57c6d8(0x1b5)]==_0x47eace||(_0x25bb34=_0x47eace,_0x281845(_0x74514f[_0x57c6d8(0x1be)]),_0x159988=!0x0):_0x49e032=_0x49e032||_0x74514f[_0x57c6d8(0x1be)]));}function _0x281845(_0xfa6852){const _0x599d1d=_0x57c6d8,_0x595b7e=_0x2b624c[_0x599d1d(0x1b1)][_0x599d1d(0x1c4)](_0x599d1d(0x1cc),{'class':_0x599d1d(0x1dc)+_0x204f63}),_0x10183f=_0x2b624c[_0x599d1d(0x1d0)][_0x599d1d(0x1ca)](_0xfa6852);_0x578a61&&_0x58938d[_0x599d1d(0x1b4)][_0x599d1d(0x1dd)](_0xefd389[_0x599d1d(0x1ac)])&&_0x2b624c[_0x599d1d(0x1b1)][_0x599d1d(0x1b0)](_0x599d1d(0x1ce),_0x595b7e),_0x2b624c[_0x599d1d(0x1b1)][_0x599d1d(0x1ab)](_0x10183f,_0x595b7e),_0x2b624c[_0x599d1d(0x1d0)][_0x599d1d(0x1b2)](_0x595b7e,_0xefd389[_0x599d1d(0x1ac)]);}_0x58fe48||_0x159988||!_0x49e032||_0x281845(_0x49e032);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1724e3=_0x8b31;function _0x14de(){const _0x493946=['author','setAttribute','add','getMultiRangeId','_isDataLoaded','set','1090953fHyjSx','length','end','getRanges','clear','start','addMarker','getFirstMarker','removeAttribute','getRange','filter','change','head','_onAttributesChange','commentThread','decorate','get','5431DtPfHT','getFirstRange','_markerNames','discard','16640YCoFDD','delete','onDiscard','3908984htVCbR','markers','hasComments','accept','split','map','removeMarkers','118715qXjnIb','suggestion:','addRange','removeMarker','authoredAt','_onDiscard','createdAt','next','isIntersecting','type','nodeBefore','@external','creator','isIntersectingWithRange','previous','getAllAdjacentSuggestions','getItems','getContainedElement','150EZMmfq','_saved','from','getMarkers','push','_onAccept','onAccept','4GdhSav','1806600YkIZig','size','128BkYhkB','addMarkerName','isInContent','subType','isMultiRange','4521kSXvdo','data','getMarkerNames','nodeAfter','substr','attributes','toJSON','2711121aSUuDk','_model','onAttributesChange','reduce','isExternal'];_0x14de=function(){return _0x493946;};return _0x14de();}function _0x8b31(_0x5acb92,_0x311d43){const _0x14deb6=_0x14de();return _0x8b31=function(_0x8b310e,_0xf27e5d){_0x8b310e=_0x8b310e-0x156;let _0x148b4a=_0x14deb6[_0x8b310e];return _0x148b4a;},_0x8b31(_0x5acb92,_0x311d43);}(function(_0x5eca6b,_0x4cba0c){const _0x4c4d51=_0x8b31,_0x398f22=_0x5eca6b();while(!![]){try{const _0x1b9551=parseInt(_0x4c4d51(0x189))/0x1*(-parseInt(_0x4c4d51(0x161))/0x2)+-parseInt(_0x4c4d51(0x15f))/0x3*(-parseInt(_0x4c4d51(0x15e))/0x4)+-parseInt(_0x4c4d51(0x197))/0x5*(-parseInt(_0x4c4d51(0x157))/0x6)+-parseInt(_0x4c4d51(0x16d))/0x7+parseInt(_0x4c4d51(0x190))/0x8+parseInt(_0x4c4d51(0x178))/0x9+parseInt(_0x4c4d51(0x18d))/0xa*(-parseInt(_0x4c4d51(0x166))/0xb);if(_0x1b9551===_0x4cba0c)break;else _0x398f22['push'](_0x398f22['shift']());}catch(_0x2a1d3a){_0x398f22['push'](_0x398f22['shift']());}}}(_0x14de,0x5e708));import{Element as _0x30babe}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x109713,uid as _0x4aa7ba}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5951f2,isEqual as _0x14d29a,set as _0x51ff4d,unset as _0x58b0b}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x109713(){constructor(_0x2da610,_0x5d88b6){const _0x5eac45=_0x8b31;super(),this[_0x5eac45(0x176)]=!0x1,this['id']=_0x5d88b6['id'],this[_0x5eac45(0x1a0)]=_0x5d88b6[_0x5eac45(0x1a0)],this[_0x5eac45(0x164)]=_0x5d88b6[_0x5eac45(0x164)]||null,this[_0x5eac45(0x172)]=_0x5d88b6[_0x5eac45(0x172)],this[_0x5eac45(0x1a3)]=_0x5d88b6[_0x5eac45(0x1a3)]||_0x5d88b6[_0x5eac45(0x172)],this[_0x5eac45(0x171)]=Boolean(_0x5d88b6[_0x5eac45(0x16b)]&&_0x5d88b6[_0x5eac45(0x16b)][_0x5eac45(0x1a2)]),this[_0x5eac45(0x167)]=null,this[_0x5eac45(0x16e)]=_0x2da610,this[_0x5eac45(0x15c)]=_0x5d88b6[_0x5eac45(0x15d)],this[_0x5eac45(0x19c)]=_0x5d88b6[_0x5eac45(0x18f)],this[_0x5eac45(0x185)]=_0x5d88b6[_0x5eac45(0x16f)],this[_0x5eac45(0x18b)]=new Set(),this[_0x5eac45(0x19d)]=null,this[_0x5eac45(0x177)](_0x5eac45(0x19b),null),this[_0x5eac45(0x177)](_0x5eac45(0x16b),_0x5d88b6[_0x5eac45(0x16b)]||{}),this[_0x5eac45(0x177)](_0x5eac45(0x1a5),null),this[_0x5eac45(0x177)](_0x5eac45(0x19e),null),this[_0x5eac45(0x177)](_0x5eac45(0x186),null),this[_0x5eac45(0x177)](_0x5eac45(0x158),!0x1),this[_0x5eac45(0x187)](_0x5eac45(0x193)),this[_0x5eac45(0x187)](_0x5eac45(0x18c));}get[_0x1724e3(0x184)](){const _0x1d3f58=_0x1724e3;let _0x1be634=this;for(;_0x1be634[_0x1d3f58(0x1a5)];)_0x1be634=_0x1be634[_0x1d3f58(0x1a5)];return _0x1be634;}get[_0x1724e3(0x192)](){const _0x4e4ed7=_0x1724e3;return!!this[_0x4e4ed7(0x186)]&&this[_0x4e4ed7(0x186)][_0x4e4ed7(0x179)]>0x0;}get[_0x1724e3(0x165)](){const _0x5a2991=_0x1724e3;if(0x0==this[_0x5a2991(0x18b)][_0x5a2991(0x160)])return!0x1;return 0x6==Array[_0x5a2991(0x159)](this[_0x5a2991(0x18b)])[0x0][_0x5a2991(0x194)](':')[_0x5a2991(0x179)];}get[_0x1724e3(0x163)](){const _0x9e21ff=_0x1724e3;return null!==this[_0x9e21ff(0x17f)]();}[_0x1724e3(0x162)](_0x543997){const _0x2934f6=_0x1724e3;this[_0x2934f6(0x18b)][_0x2934f6(0x174)](_0x543997);}[_0x1724e3(0x168)](){const _0xdae30c=_0x1724e3;return Array[_0xdae30c(0x159)](this[_0xdae30c(0x18b)]);}[_0x1724e3(0x15a)](){const _0x371248=_0x1724e3;return this[_0x371248(0x168)]()[_0x371248(0x195)](_0x193fae=>this[_0x371248(0x16e)][_0x371248(0x191)][_0x371248(0x188)](_0x193fae))[_0x371248(0x182)](_0x59b03b=>_0x59b03b);}[_0x1724e3(0x17f)](){const _0x3299b4=_0x1724e3;return this[_0x3299b4(0x15a)]()[0x0]||null;}[_0x1724e3(0x196)](){const _0x3cdc15=_0x1724e3;this[_0x3cdc15(0x16e)][_0x3cdc15(0x183)](_0x1cf33a=>{const _0x42cbc0=_0x3cdc15;for(const _0x5dab41 of this[_0x42cbc0(0x15a)]())_0x1cf33a[_0x42cbc0(0x19a)](_0x5dab41);}),this[_0x3cdc15(0x18b)][_0x3cdc15(0x17c)]();}[_0x1724e3(0x19a)](_0x104151){const _0x5b97a7=_0x1724e3;this[_0x5b97a7(0x16e)][_0x5b97a7(0x183)](_0xb88560=>{const _0x372353=_0x5b97a7;_0xb88560[_0x372353(0x19a)](_0x104151);}),this[_0x5b97a7(0x18b)][_0x5b97a7(0x18e)](_0x104151);}[_0x1724e3(0x199)](_0x13f885){const _0x2ab2b5=_0x1724e3,_0x48c21f=_0x2ab2b5(0x198)+this[_0x2ab2b5(0x1a0)]+':'+this[_0x2ab2b5(0x164)]+':'+this['id']+':'+this[_0x2ab2b5(0x1a3)]['id']+':'+u[_0x2ab2b5(0x175)]();this[_0x2ab2b5(0x162)](_0x48c21f),this[_0x2ab2b5(0x16e)][_0x2ab2b5(0x183)](_0x31c6b5=>{const _0x56cf78=_0x2ab2b5;_0x31c6b5[_0x56cf78(0x17e)](_0x48c21f,{'range':_0x13f885,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1724e3(0x1a4)](_0x266bf4){const _0xc523e5=_0x1724e3;for(const _0x16718b of this[_0xc523e5(0x17b)]())if(_0x16718b[_0xc523e5(0x19f)](_0x266bf4))return!0x0;return!0x1;}[_0x1724e3(0x17b)](){const _0x4f7754=_0x1724e3;return this[_0x4f7754(0x15a)]()[_0x4f7754(0x195)](_0x10dd68=>_0x10dd68[_0x4f7754(0x181)]());}[_0x1724e3(0x1a7)](){const _0x4517a6=_0x1724e3;return this[_0x4517a6(0x17b)]()[_0x4517a6(0x170)]((_0x58428c,_0x468c95)=>[..._0x58428c,..._0x468c95[_0x4517a6(0x1a7)]()],[]);}[_0x1724e3(0x18a)](){const _0x41a198=_0x1724e3;var _0xb3bbf8;return(null===(_0xb3bbf8=this[_0x41a198(0x17f)]())||void 0x0===_0xb3bbf8?void 0x0:_0xb3bbf8[_0x41a198(0x181)]())||null;}[_0x1724e3(0x156)](){const _0x1e028f=_0x1724e3,_0x4e2b6e=this[_0x1e028f(0x17b)]();if(0x1!=_0x4e2b6e[_0x1e028f(0x179)])return null;const _0x222454=_0x4e2b6e[0x0],_0xbea1d8=_0x222454[_0x1e028f(0x17d)][_0x1e028f(0x169)],_0x5d1639=_0x222454[_0x1e028f(0x17a)][_0x1e028f(0x1a1)];return _0xbea1d8 instanceof _0x30babe?_0xbea1d8!=_0x5d1639?null:_0xbea1d8:null;}[_0x1724e3(0x193)](){const _0x531305=_0x1724e3;this[_0x531305(0x15c)](this[_0x531305(0x17b)](),this[_0x531305(0x167)],this[_0x531305(0x16b)]),this[_0x531305(0x196)]();}[_0x1724e3(0x18c)](){const _0x5e96e2=_0x1724e3;this[_0x5e96e2(0x19c)](this[_0x5e96e2(0x17b)](),this[_0x5e96e2(0x167)],this[_0x5e96e2(0x16b)]),this[_0x5e96e2(0x196)]();}[_0x1724e3(0x1a6)](){const _0x2297d4=_0x1724e3,_0x1bad37=[];let _0x44fca5=this[_0x2297d4(0x184)];for(;_0x44fca5;)_0x1bad37[_0x2297d4(0x15b)](_0x44fca5),_0x44fca5=_0x44fca5[_0x2297d4(0x19e)];return _0x1bad37;}[_0x1724e3(0x173)](_0x37cc86,_0x5d4260){const _0x31a082=_0x1724e3,_0xa68ab4=_0x5951f2(this[_0x31a082(0x16b)]);_0x51ff4d(_0xa68ab4,_0x37cc86,_0x5d4260),_0x14d29a(_0xa68ab4,this[_0x31a082(0x16b)])||(this[_0x31a082(0x16b)]=_0xa68ab4,this[_0x31a082(0x185)](_0xa68ab4));}[_0x1724e3(0x180)](_0x5b8145){const _0x695a91=_0x1724e3,_0x19e341=_0x5951f2(this[_0x695a91(0x16b)]);_0x58b0b(_0x19e341,_0x5b8145),_0x14d29a(_0x19e341,this[_0x695a91(0x16b)])||(this[_0x695a91(0x16b)]=_0x19e341,this[_0x695a91(0x185)](this[_0x695a91(0x16b)]));}[_0x1724e3(0x16c)](){const _0x8cb77f=_0x1724e3;return{'id':this['id'],'type':this[_0x8cb77f(0x164)]?this[_0x8cb77f(0x1a0)]+':'+this[_0x8cb77f(0x164)]:this[_0x8cb77f(0x1a0)],'authorId':this[_0x8cb77f(0x1a3)]['id'],'createdAt':this[_0x8cb77f(0x19d)],'hasComments':this[_0x8cb77f(0x192)],'data':this[_0x8cb77f(0x167)],'attributes':this[_0x8cb77f(0x16b)]};}static[_0x1724e3(0x175)](){const _0x5d7f81=_0x1724e3;return _0x4aa7ba()[_0x5d7f81(0x16a)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9ee4ef=_0x8633;(function(_0x2e84fd,_0x4f90d6){const _0x344bf8=_0x8633,_0x13fe80=_0x2e84fd();while(!![]){try{const _0x4dc8bf=parseInt(_0x344bf8(0xfb))/0x1+parseInt(_0x344bf8(0xbf))/0x2+-parseInt(_0x344bf8(0x102))/0x3*(-parseInt(_0x344bf8(0xcd))/0x4)+parseInt(_0x344bf8(0xf4))/0x5*(parseInt(_0x344bf8(0x104))/0x6)+-parseInt(_0x344bf8(0xb1))/0x7+parseInt(_0x344bf8(0xe7))/0x8*(-parseInt(_0x344bf8(0x10a))/0x9)+-parseInt(_0x344bf8(0xf7))/0xa*(-parseInt(_0x344bf8(0xef))/0xb);if(_0x4dc8bf===_0x4f90d6)break;else _0x13fe80['push'](_0x13fe80['shift']());}catch(_0x364f31){_0x13fe80['push'](_0x13fe80['shift']());}}}(_0xb4e0,0x7b8ac));import{getTranslation as _0x4ab397}from'./utils/common-translations.js';function _0xb4e0(){const _0xb35341=['removeObject','remove','deletion','end','addFormat','key','_handleInsertRemoveSuggestionDescription','*Change\x20to:*\x20%0','*Set\x20format:*\x20%0','name','get','_locale','elementStart','registerElementLabel','registerDescriptionCallback','quantity','subType','match','ELEMENT_SPACE','256qjicHX','elementEnd','getFirstRange','newValue','label','_resolveDescriptionItems','*Remove\x20format:*\x20%0','indexOf','77VVviZw','_customCallbacks','_itemLabels','_attributeLabels','type','5BqgReC','$textProxy','Object','176940JxPZfU','_itemLabelsCallbacks','previousSibling','has','339197LobEok','add','isObject','$1\x20$2','isInContent','push','format','186zoFnth','nextSibling','4750434FSoEkP','addObject','map','isEqual','$text','join','201654olAPFn','EmptyContainer','_handleAttributeSuggestionDescription','_handleRenameSuggestionDescription','text','*Split:*\x20%0','addEmptyContainer','start','*Remove:*\x20%0','3816365UERwDk','getWalker','removeContainer','attribute','getItemLabel','_handleCustomCallbackDescription','matchingCallback','removeFormat','function','insertion','isEmpty','nodeAfter','skip','item','471570nYnyiN','softBreak','removeEmptyContainer','getDescriptions','checkChild','_addDescriptionItems','length','normal','data','_schema','element','*Insert:*\x20%0','set','*Merge:*\x20%0','17912zYTMtI','registerAttributeLabel','replace','REPLACE_TEXT','pop','Container','addContainer'];_0xb4e0=function(){return _0xb35341;};return _0xb4e0();}function _0x8633(_0x3f26ff,_0xca0f4e){const _0xb4e0ad=_0xb4e0();return _0x8633=function(_0x863391,_0x48f4bc){_0x863391=_0x863391-0xa9;let _0xeebbed=_0xb4e0ad[_0x863391];return _0xeebbed;},_0x8633(_0x3f26ff,_0xca0f4e);}import{priorities as _0x2378a8,insertToPriorityArray as _0x4e22ae}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x4b5617}from'./trackchangesediting.js';export default class f{constructor(_0x52be2d,_0x40bdba){const _0x11f4c1=_0x8633;this[_0x11f4c1(0xf0)]=[],this[_0x11f4c1(0xf1)]=new Map(),this[_0x11f4c1(0xf8)]=[],this[_0x11f4c1(0xf2)]=new Map(),this[_0x11f4c1(0xc8)]=_0x52be2d,this[_0x11f4c1(0xdf)]=_0x40bdba;}[_0x9ee4ef(0xc2)](_0x1d8faf){const _0x3783c5=_0x9ee4ef,_0xe1b5e=[],_0x3dc29b=new Set(),_0x3a2fb2=new Set();for(let _0x46198b=0x0;_0x46198b<_0x1d8faf[_0x3783c5(0xc5)];_0x46198b++){const _0x55558f=_0x1d8faf[_0x46198b];if(!_0x55558f[_0x3783c5(0xff)])continue;const _0x54e1bf=this[_0x3783c5(0xb6)](_0x55558f);if(_0x54e1bf){if(null!=_0x55558f[_0x3783c5(0xe4)]){if(_0x3dc29b[_0x3783c5(0xfa)](_0x55558f[_0x3783c5(0xe4)]))continue;_0x3dc29b[_0x3783c5(0xfc)](_0x55558f[_0x3783c5(0xe4)]);}_0xe1b5e[_0x3783c5(0x100)](_0x54e1bf);}else{if(_0x3783c5(0xb4)!=_0x55558f[_0x3783c5(0xf3)])_0x3783c5(0xba)!=_0x55558f[_0x3783c5(0xf3)]&&_0x3783c5(0xd6)!=_0x55558f[_0x3783c5(0xf3)]||this[_0x3783c5(0xda)](_0xe1b5e,_0x55558f,_0x1d8faf[_0x46198b+0x1]);else{const _0x915bf6=_0x55558f[_0x3783c5(0xc7)][_0x3783c5(0xd9)];if(_0x3a2fb2[_0x3783c5(0xfa)](_0x915bf6))continue;_0x3a2fb2[_0x3783c5(0xfc)](_0x55558f[_0x3783c5(0xc7)][_0x3783c5(0xd9)]),_0x915bf6==_0x4b5617?this[_0x3783c5(0xab)](_0xe1b5e,_0x55558f):this[_0x3783c5(0xaa)](_0xe1b5e,_0x55558f);}}}return this[_0x3783c5(0xec)](_0xe1b5e);}[_0x9ee4ef(0xe2)](_0xe66e78){const _0x142d74=_0x9ee4ef;this[_0x142d74(0xf0)][_0x142d74(0x100)](_0xe66e78);}[_0x9ee4ef(0xe1)](_0x597999,_0x2efd0c,_0x4fb558=_0x2378a8[_0x9ee4ef(0xc6)]){const _0x1ce9df=_0x9ee4ef;_0x1ce9df(0xb9)==typeof _0x597999?_0x4e22ae(this[_0x1ce9df(0xf8)],{'matchingCallback':_0x597999,'label':_0x2efd0c,'priority':_0x4fb558}):this[_0x1ce9df(0xf1)][_0x1ce9df(0xcb)](_0x597999,_0x2efd0c);}[_0x9ee4ef(0xce)](_0x6e46c8,_0x4eaf9d){const _0x5f411e=_0x9ee4ef;this[_0x5f411e(0xf2)][_0x5f411e(0xcb)](_0x6e46c8,_0x4eaf9d);}[_0x9ee4ef(0xb5)](_0x454976,_0x1ad95b=0x1){const _0x346b9b=_0x9ee4ef;let _0x31c3d2;for(const _0x2f7137 of this[_0x346b9b(0xf8)])if(_0x2f7137[_0x346b9b(0xb7)](_0x454976)){_0x31c3d2=_0x2f7137[_0x346b9b(0xeb)];break;}return _0x31c3d2||(_0x31c3d2=this[_0x346b9b(0xf1)][_0x346b9b(0xde)](_0x454976[_0x346b9b(0xdd)])),_0x31c3d2?_0x31c3d2(_0x1ad95b):0x1!==_0x1ad95b?_0x1ad95b+'\x20'+_0x454976[_0x346b9b(0xdd)]+'s':''+_0x454976[_0x346b9b(0xdd)];}[_0x9ee4ef(0xc4)](_0x5397dc,_0x56c7e9){const _0x3c9ab3=_0x9ee4ef,_0x1f7ed4=_0x56c7e9[_0x3c9ab3(0xe9)]()[_0x3c9ab3(0xb2)](),_0x2bf9ad=_0x3c9ab3(0xba)==_0x56c7e9[_0x3c9ab3(0xf3)]?_0x3c9ab3(0xfc):_0x3c9ab3(0xd5);for(const _0x5455a6 of _0x1f7ed4){const _0x295a34=_0x5455a6[_0x3c9ab3(0xbe)],_0x27cc6a=_0x5397dc[_0x5397dc[_0x3c9ab3(0xc5)]-0x1];if(_0x295a34['is'](_0x3c9ab3(0xf5)))_0x27cc6a&&_0x27cc6a[_0x3c9ab3(0xf3)][_0x3c9ab3(0xee)](_0x3c9ab3(0xd2))>-0x1&&_0x5397dc[_0x3c9ab3(0xd1)](),_0x27cc6a&&_0x3c9ab3(0xac)==_0x27cc6a[_0x3c9ab3(0xf3)]?_0x27cc6a[_0x2bf9ad]+=_0x295a34[_0x3c9ab3(0xc7)]:_0x5397dc[_0x3c9ab3(0x100)]({'type':_0x3c9ab3(0xac),'add':_0x3c9ab3(0xfc)==_0x2bf9ad?_0x295a34[_0x3c9ab3(0xc7)]:'','remove':_0x3c9ab3(0xd5)==_0x2bf9ad?_0x295a34[_0x3c9ab3(0xc7)]:''});else{if(this[_0x3c9ab3(0xc8)][_0x3c9ab3(0xfd)](_0x295a34)){const _0x550804=_0x295a34;if(_0x27cc6a&&_0x27cc6a[_0x3c9ab3(0xf3)][_0x3c9ab3(0xee)](_0x3c9ab3(0xd2))>-0x1&&_0x5397dc[_0x3c9ab3(0xd1)](),_0x3c9ab3(0xe8)==_0x5455a6[_0x3c9ab3(0xf3)])continue;_0x27cc6a&&_0x27cc6a[_0x3c9ab3(0xf3)]==_0x2bf9ad+_0x3c9ab3(0xf6)&&_0x27cc6a[_0x3c9ab3(0xc9)][_0x3c9ab3(0xdd)]==_0x550804[_0x3c9ab3(0xdd)]?_0x27cc6a[_0x3c9ab3(0xe3)]++:_0x5397dc[_0x3c9ab3(0x100)]({'type':_0x2bf9ad+_0x3c9ab3(0xf6),'element':_0x550804,'quantity':0x1}),_0x1f7ed4[_0x3c9ab3(0xbd)](_0x11a07d=>!(_0x3c9ab3(0xe8)==_0x11a07d[_0x3c9ab3(0xf3)]&&_0x11a07d[_0x3c9ab3(0xbe)]==_0x295a34));}else{if(this[_0x3c9ab3(0xc8)][_0x3c9ab3(0xc3)](_0x295a34,_0x3c9ab3(0x108))||_0x295a34['is'](_0x3c9ab3(0xc9),_0x3c9ab3(0xc0))){const _0x34a044=_0x295a34;if(_0x3c9ab3(0xfc)==_0x2bf9ad&&_0x3c9ab3(0xe0)==_0x5455a6[_0x3c9ab3(0xf3)]||_0x3c9ab3(0xd5)==_0x2bf9ad&&_0x3c9ab3(0xe8)==_0x5455a6[_0x3c9ab3(0xf3)])continue;if(_0x27cc6a&&-0x1==_0x27cc6a[_0x3c9ab3(0xf3)][_0x3c9ab3(0xee)](_0x3c9ab3(0xd2))){_0x3c9ab3(0xac)==_0x27cc6a[_0x3c9ab3(0xf3)]&&(_0x27cc6a[_0x2bf9ad]+='\x0a');continue;}let _0x91fa93;if(_0x91fa93=_0x3c9ab3(0xfc)==_0x2bf9ad?_0x34a044[_0x3c9ab3(0x103)]&&!this[_0x3c9ab3(0xc8)][_0x3c9ab3(0xfd)](_0x34a044[_0x3c9ab3(0x103)])?_0x34a044[_0x3c9ab3(0x103)]:null:_0x34a044[_0x3c9ab3(0xf9)]&&!this[_0x3c9ab3(0xc8)][_0x3c9ab3(0xfd)](_0x34a044[_0x3c9ab3(0xf9)])?_0x34a044[_0x3c9ab3(0xf9)]:null,_0x34a044[_0x3c9ab3(0xbb)]||_0x91fa93&&_0x91fa93[_0x3c9ab3(0xbb)]){const _0x3fd90b=_0x91fa93&&_0x91fa93[_0x3c9ab3(0xbb)]?_0x91fa93:_0x34a044;_0x27cc6a&&_0x27cc6a[_0x3c9ab3(0xf3)]==_0x2bf9ad+_0x3c9ab3(0xa9)&&_0x27cc6a[_0x3c9ab3(0xc9)][_0x3c9ab3(0xdd)]==_0x3fd90b[_0x3c9ab3(0xdd)]?_0x27cc6a[_0x3c9ab3(0xe3)]++:_0x5397dc[_0x3c9ab3(0x100)]({'type':_0x2bf9ad+_0x3c9ab3(0xa9),'element':_0x3fd90b,'quantity':0x1});}else _0x5397dc[_0x3c9ab3(0x100)]({'type':_0x2bf9ad+_0x3c9ab3(0xd2),'element':_0x34a044});}}}}}[_0x9ee4ef(0xec)](_0x37fecc){const _0x1933f8=_0x9ee4ef,_0x41acf6=this[_0x1933f8(0xdf)],_0x4a0f46=[],_0x5e7f5f=[],_0x1301e6=[];for(const _0x5c67c7 of _0x37fecc)switch(_0x5c67c7[_0x1933f8(0xf3)]){case _0x1933f8(0xac):if(_0x5c67c7[_0x1933f8(0xfc)]=_0x5c67c7[_0x1933f8(0xfc)][_0x1933f8(0xcf)](/(\S)\u000A+(\S)/g,_0x1933f8(0xfe))[_0x1933f8(0xcf)](/\u000A/g,''),_0x5c67c7[_0x1933f8(0xd5)]=_0x5c67c7[_0x1933f8(0xd5)][_0x1933f8(0xcf)](/(\S)\u000A+(\S)/g,_0x1933f8(0xfe))[_0x1933f8(0xcf)](/\u000A/g,''),''!=_0x5c67c7[_0x1933f8(0xfc)]&&''!=_0x5c67c7[_0x1933f8(0xd5)]){_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xcf),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xd0),['\x22'+_0x5c67c7[_0x1933f8(0xd5)]+'\x22','\x22'+_0x5c67c7[_0x1933f8(0xfc)]+'\x22'])});continue;}if(null!=_0x5c67c7[_0x1933f8(0xfc)][_0x1933f8(0xe5)](/^ +$/)){_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xba),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xca),_0x4ab397(_0x41acf6,_0x1933f8(0xe6),_0x5c67c7[_0x1933f8(0xfc)][_0x1933f8(0xc5)]))});continue;}if(null!=_0x5c67c7[_0x1933f8(0xd5)][_0x1933f8(0xe5)](/^ +$/)){_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xd6),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xb0),_0x4ab397(_0x41acf6,_0x1933f8(0xe6),_0x5c67c7[_0x1933f8(0xd5)][_0x1933f8(0xc5)]))});continue;}if(''!=_0x5c67c7[_0x1933f8(0xfc)]){_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xba),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xca),'\x22'+_0x5c67c7[_0x1933f8(0xfc)]+'\x22')});continue;}_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xd6),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xb0),'\x22'+_0x5c67c7[_0x1933f8(0xd5)]+'\x22')});continue;case _0x1933f8(0xae):case _0x1933f8(0x105):_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xba),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xca),this[_0x1933f8(0xb5)](_0x5c67c7[_0x1933f8(0xc9)],_0x5c67c7[_0x1933f8(0xe3)]))});continue;case _0x1933f8(0xc1):case _0x1933f8(0xd4):_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xd6),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xb0),this[_0x1933f8(0xb5)](_0x5c67c7[_0x1933f8(0xc9)],_0x5c67c7[_0x1933f8(0xe3)]))});continue;case _0x1933f8(0xd3):_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xba),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xad),this[_0x1933f8(0xb5)](_0x5c67c7[_0x1933f8(0xc9)],_0x5c67c7[_0x1933f8(0xe3)]))});continue;case _0x1933f8(0xb3):_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0xd6),'content':_0x4ab397(_0x41acf6,_0x1933f8(0xcc),this[_0x1933f8(0xb5)](_0x5c67c7[_0x1933f8(0xc9)],_0x5c67c7[_0x1933f8(0xe3)]))});continue;case _0x1933f8(0xd8):_0x5e7f5f[_0x1933f8(0x100)](_0x5c67c7[_0x1933f8(0xd9)]);continue;case _0x1933f8(0xb8):_0x1301e6[_0x1933f8(0x100)](_0x5c67c7[_0x1933f8(0xd9)]);continue;default:_0x4a0f46[_0x1933f8(0x100)](_0x5c67c7);}if(_0x5e7f5f[_0x1933f8(0xc5)]){const _0x834f67=_0x5e7f5f[_0x1933f8(0x106)](_0x131394=>this[_0x1933f8(0xf2)][_0x1933f8(0xfa)](_0x131394)?this[_0x1933f8(0xf2)][_0x1933f8(0xde)](_0x131394):_0x131394)[_0x1933f8(0x109)](',\x20');_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0x101),'content':_0x4ab397(this[_0x1933f8(0xdf)],_0x1933f8(0xdc),_0x834f67)});}if(_0x1301e6[_0x1933f8(0xc5)]){const _0x16e766=_0x1301e6[_0x1933f8(0x106)](_0x4f7ede=>this[_0x1933f8(0xf2)][_0x1933f8(0xfa)](_0x4f7ede)?this[_0x1933f8(0xf2)][_0x1933f8(0xde)](_0x4f7ede):_0x4f7ede)[_0x1933f8(0x109)](',\x20');_0x4a0f46[_0x1933f8(0x100)]({'type':_0x1933f8(0x101),'content':_0x4ab397(this[_0x1933f8(0xdf)],_0x1933f8(0xed),_0x16e766)});}return _0x4a0f46;}[_0x9ee4ef(0xb6)](_0x5cace3){const _0xe33e3b=_0x9ee4ef;for(const _0x351531 of this[_0xe33e3b(0xf0)]){const _0xd7dac9=_0x351531(_0x5cace3);if(_0xd7dac9&&_0xe33e3b(0xf3)in _0xd7dac9)return _0xd7dac9;}}[_0x9ee4ef(0xaa)](_0x1ec23c,_0x44ae29){const _0x5abdc9=_0x9ee4ef,_0x346011=_0x44ae29[_0x5abdc9(0xc7)],_0x470c9f=void 0x0===_0x346011[_0x5abdc9(0xea)]?_0x5abdc9(0xb8):_0x5abdc9(0xd8);_0x1ec23c[_0x5abdc9(0x100)]({'type':_0x470c9f,'key':_0x346011[_0x5abdc9(0xd9)]});}[_0x9ee4ef(0xab)](_0x3b5fd1,_0x49f2c9){const _0x4b3d45=_0x9ee4ef;_0x3b5fd1[_0x4b3d45(0x100)]({'type':_0x4b3d45(0x101),'content':_0x4ab397(this[_0x4b3d45(0xdf)],_0x4b3d45(0xdb),this[_0x4b3d45(0xb5)](_0x49f2c9[_0x4b3d45(0xe9)]()[_0x4b3d45(0xaf)][_0x4b3d45(0xbc)],0x1))});}[_0x9ee4ef(0xda)](_0xdda8f,_0x111d31,_0x1e0e91){const _0x569977=_0x9ee4ef;if(this[_0x569977(0xc4)](_0xdda8f,_0x111d31),_0x1e0e91&&_0x1e0e91[_0x569977(0xe9)]()&&!_0x111d31[_0x569977(0xe9)]()[_0x569977(0xd7)][_0x569977(0x107)](_0x1e0e91[_0x569977(0xe9)]()[_0x569977(0xaf)])){const _0x23af11=_0xdda8f[_0xdda8f[_0x569977(0xc5)]-0x1],_0x514ed1=_0x569977(0xba)==_0x111d31[_0x569977(0xf3)]?_0x569977(0xfc):_0x569977(0xd5);_0x23af11&&_0x569977(0xac)==_0x23af11[_0x569977(0xf3)]&&(_0x23af11[_0x514ed1]+='\x0a');}}}
|
|
23
|
+
function _0x2954(_0x3c3503,_0x329742){const _0x4ca76f=_0x4ca7();return _0x2954=function(_0x29549c,_0x3ad8df){_0x29549c=_0x29549c-0x19d;let _0x2b5de0=_0x4ca76f[_0x29549c];return _0x2b5de0;},_0x2954(_0x3c3503,_0x329742);}const _0x2983cb=_0x2954;(function(_0x3652ba,_0x2c67a1){const _0x27ea4a=_0x2954,_0x5b0f49=_0x3652ba();while(!![]){try{const _0x2fb125=parseInt(_0x27ea4a(0x1c0))/0x1+parseInt(_0x27ea4a(0x1f7))/0x2+-parseInt(_0x27ea4a(0x1f2))/0x3*(-parseInt(_0x27ea4a(0x1cd))/0x4)+-parseInt(_0x27ea4a(0x1e2))/0x5*(-parseInt(_0x27ea4a(0x1b2))/0x6)+-parseInt(_0x27ea4a(0x1a1))/0x7*(-parseInt(_0x27ea4a(0x1fa))/0x8)+-parseInt(_0x27ea4a(0x1cb))/0x9+-parseInt(_0x27ea4a(0x1e3))/0xa;if(_0x2fb125===_0x2c67a1)break;else _0x5b0f49['push'](_0x5b0f49['shift']());}catch(_0x205e6c){_0x5b0f49['push'](_0x5b0f49['shift']());}}}(_0x4ca7,0xa7c94));import{getTranslation as _0x5d8438}from'./utils/common-translations.js';import{priorities as _0x49a111,insertToPriorityArray as _0x47c7a2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x100016}from'./trackchangesediting.js';export default class f{constructor(_0xbd519f,_0x2bcf0c){const _0x797c3e=_0x2954;this[_0x797c3e(0x1ae)]=[],this[_0x797c3e(0x1d1)]=new Map(),this[_0x797c3e(0x1dd)]=[],this[_0x797c3e(0x1f6)]=new Map(),this[_0x797c3e(0x1ce)]=_0xbd519f,this[_0x797c3e(0x1d9)]=_0x2bcf0c;}[_0x2983cb(0x1cc)](_0x280841){const _0x2a0a8a=_0x2983cb,_0x12e1ec=[],_0x4bb340=new Set(),_0x57c98c=new Set();for(let _0x2d63b4=0x0;_0x2d63b4<_0x280841[_0x2a0a8a(0x1e6)];_0x2d63b4++){const _0x24d0dd=_0x280841[_0x2d63b4];if(!_0x24d0dd[_0x2a0a8a(0x1ac)])continue;const _0x2a07cd=this[_0x2a0a8a(0x1c2)](_0x24d0dd);if(_0x2a07cd){if(null!=_0x24d0dd[_0x2a0a8a(0x1bb)]){if(_0x4bb340[_0x2a0a8a(0x1f8)](_0x24d0dd[_0x2a0a8a(0x1bb)]))continue;_0x4bb340[_0x2a0a8a(0x1b4)](_0x24d0dd[_0x2a0a8a(0x1bb)]);}_0x12e1ec[_0x2a0a8a(0x1e7)](_0x2a07cd);}else{if(_0x2a0a8a(0x1d0)!=_0x24d0dd[_0x2a0a8a(0x1a9)])_0x2a0a8a(0x1e8)!=_0x24d0dd[_0x2a0a8a(0x1a9)]&&_0x2a0a8a(0x1c6)!=_0x24d0dd[_0x2a0a8a(0x1a9)]||this[_0x2a0a8a(0x1a4)](_0x12e1ec,_0x24d0dd,_0x280841[_0x2d63b4+0x1]);else{const _0x3fcf6c=_0x24d0dd[_0x2a0a8a(0x1d4)][_0x2a0a8a(0x1d2)];if(_0x57c98c[_0x2a0a8a(0x1f8)](_0x3fcf6c))continue;_0x57c98c[_0x2a0a8a(0x1b4)](_0x24d0dd[_0x2a0a8a(0x1d4)][_0x2a0a8a(0x1d2)]),_0x3fcf6c==_0x100016?this[_0x2a0a8a(0x1aa)](_0x12e1ec,_0x24d0dd):this[_0x2a0a8a(0x1c8)](_0x12e1ec,_0x24d0dd);}}}return this[_0x2a0a8a(0x1bc)](_0x12e1ec);}[_0x2983cb(0x1a5)](_0x10d6a7){const _0xd79f2f=_0x2983cb;this[_0xd79f2f(0x1ae)][_0xd79f2f(0x1e7)](_0x10d6a7);}[_0x2983cb(0x1ed)](_0x6c3a63,_0x1ac4aa,_0x1c4bb9=_0x49a111[_0x2983cb(0x1b0)]){const _0x41a617=_0x2983cb;_0x41a617(0x1e9)==typeof _0x6c3a63?_0x47c7a2(this[_0x41a617(0x1dd)],{'matchingCallback':_0x6c3a63,'label':_0x1ac4aa,'priority':_0x1c4bb9}):this[_0x41a617(0x1d1)][_0x41a617(0x1d5)](_0x6c3a63,_0x1ac4aa);}[_0x2983cb(0x1fd)](_0x4f1d03,_0x43dc64){const _0x348153=_0x2983cb;this[_0x348153(0x1f6)][_0x348153(0x1d5)](_0x4f1d03,_0x43dc64);}[_0x2983cb(0x1c5)](_0x24671f,_0x9e0c3d=0x1){const _0x564564=_0x2983cb;let _0x5dba55;for(const _0x6cad78 of this[_0x564564(0x1dd)])if(_0x6cad78[_0x564564(0x1f4)](_0x24671f)){_0x5dba55=_0x6cad78[_0x564564(0x1f3)];break;}return _0x5dba55||(_0x5dba55=this[_0x564564(0x1d1)][_0x564564(0x19d)](_0x24671f[_0x564564(0x1ca)])),_0x5dba55?_0x5dba55(_0x9e0c3d):0x1!==_0x9e0c3d?_0x9e0c3d+'\x20'+_0x24671f[_0x564564(0x1ca)]+'s':''+_0x24671f[_0x564564(0x1ca)];}[_0x2983cb(0x1a7)](_0xcbe277,_0x7bab0f){const _0x42ab14=_0x2983cb,_0x495265=_0x7bab0f[_0x42ab14(0x1d7)]()[_0x42ab14(0x1b5)](),_0x4341fa=_0x42ab14(0x1e8)==_0x7bab0f[_0x42ab14(0x1a9)]?_0x42ab14(0x1b4):_0x42ab14(0x1af);for(const _0x1ab87c of _0x495265){const _0x1281d6=_0x1ab87c[_0x42ab14(0x1e1)],_0x54c8ab=_0xcbe277[_0xcbe277[_0x42ab14(0x1e6)]-0x1];if(_0x1281d6['is'](_0x42ab14(0x1de)))_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))>-0x1&&_0xcbe277[_0x42ab14(0x1d6)](),_0x54c8ab&&_0x42ab14(0x1a8)==_0x54c8ab[_0x42ab14(0x1a9)]?_0x54c8ab[_0x4341fa]+=_0x1281d6[_0x42ab14(0x1d4)]:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x42ab14(0x1a8),'add':_0x42ab14(0x1b4)==_0x4341fa?_0x1281d6[_0x42ab14(0x1d4)]:'','remove':_0x42ab14(0x1af)==_0x4341fa?_0x1281d6[_0x42ab14(0x1d4)]:''});else{if(this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x1281d6)){const _0x5d85a8=_0x1281d6;if(_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))>-0x1&&_0xcbe277[_0x42ab14(0x1d6)](),_0x42ab14(0x1ef)==_0x1ab87c[_0x42ab14(0x1a9)])continue;_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)]==_0x4341fa+_0x42ab14(0x1a2)&&_0x54c8ab[_0x42ab14(0x1b1)][_0x42ab14(0x1ca)]==_0x5d85a8[_0x42ab14(0x1ca)]?_0x54c8ab[_0x42ab14(0x1ba)]++:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1a2),'element':_0x5d85a8,'quantity':0x1}),_0x495265[_0x42ab14(0x1b8)](_0x174bab=>!(_0x42ab14(0x1ef)==_0x174bab[_0x42ab14(0x1a9)]&&_0x174bab[_0x42ab14(0x1e1)]==_0x1281d6));}else{if(this[_0x42ab14(0x1ce)][_0x42ab14(0x1b3)](_0x1281d6,_0x42ab14(0x1bd))||_0x1281d6['is'](_0x42ab14(0x1b1),_0x42ab14(0x1c7))){const _0x4e60c8=_0x1281d6;if(_0x42ab14(0x1b4)==_0x4341fa&&_0x42ab14(0x1dc)==_0x1ab87c[_0x42ab14(0x1a9)]||_0x42ab14(0x1af)==_0x4341fa&&_0x42ab14(0x1ef)==_0x1ab87c[_0x42ab14(0x1a9)])continue;if(_0x54c8ab&&-0x1==_0x54c8ab[_0x42ab14(0x1a9)][_0x42ab14(0x1b9)](_0x42ab14(0x1bf))){_0x42ab14(0x1a8)==_0x54c8ab[_0x42ab14(0x1a9)]&&(_0x54c8ab[_0x4341fa]+='\x0a');continue;}let _0x376178;if(_0x376178=_0x42ab14(0x1b4)==_0x4341fa?_0x4e60c8[_0x42ab14(0x1f5)]&&!this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x4e60c8[_0x42ab14(0x1f5)])?_0x4e60c8[_0x42ab14(0x1f5)]:null:_0x4e60c8[_0x42ab14(0x1ec)]&&!this[_0x42ab14(0x1ce)][_0x42ab14(0x1ee)](_0x4e60c8[_0x42ab14(0x1ec)])?_0x4e60c8[_0x42ab14(0x1ec)]:null,_0x4e60c8[_0x42ab14(0x1fc)]||_0x376178&&_0x376178[_0x42ab14(0x1fc)]){const _0x21def0=_0x376178&&_0x376178[_0x42ab14(0x1fc)]?_0x376178:_0x4e60c8;_0x54c8ab&&_0x54c8ab[_0x42ab14(0x1a9)]==_0x4341fa+_0x42ab14(0x1be)&&_0x54c8ab[_0x42ab14(0x1b1)][_0x42ab14(0x1ca)]==_0x21def0[_0x42ab14(0x1ca)]?_0x54c8ab[_0x42ab14(0x1ba)]++:_0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1be),'element':_0x21def0,'quantity':0x1});}else _0xcbe277[_0x42ab14(0x1e7)]({'type':_0x4341fa+_0x42ab14(0x1bf),'element':_0x4e60c8});}}}}}[_0x2983cb(0x1bc)](_0x27aa3f){const _0x1fd9df=_0x2983cb,_0x39ef03=this[_0x1fd9df(0x1d9)],_0x362aae=[],_0x3eae07=[],_0xb10384=[];for(const _0x32cc80 of _0x27aa3f)switch(_0x32cc80[_0x1fd9df(0x1a9)]){case _0x1fd9df(0x1a8):if(_0x32cc80[_0x1fd9df(0x1b4)]=_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1a0)](/(\S)\u000A+(\S)/g,_0x1fd9df(0x1e5))[_0x1fd9df(0x1a0)](/\u000A/g,''),_0x32cc80[_0x1fd9df(0x1af)]=_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1a0)](/(\S)\u000A+(\S)/g,_0x1fd9df(0x1e5))[_0x1fd9df(0x1a0)](/\u000A/g,''),''!=_0x32cc80[_0x1fd9df(0x1b4)]&&''!=_0x32cc80[_0x1fd9df(0x1af)]){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1a0),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x19f),['\x22'+_0x32cc80[_0x1fd9df(0x1af)]+'\x22','\x22'+_0x32cc80[_0x1fd9df(0x1b4)]+'\x22'])});continue;}if(null!=_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1a6)](/^ +$/)){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),_0x5d8438(_0x39ef03,_0x1fd9df(0x1f1),_0x32cc80[_0x1fd9df(0x1b4)][_0x1fd9df(0x1e6)]))});continue;}if(null!=_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1a6)](/^ +$/)){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),_0x5d8438(_0x39ef03,_0x1fd9df(0x1f1),_0x32cc80[_0x1fd9df(0x1af)][_0x1fd9df(0x1e6)]))});continue;}if(''!=_0x32cc80[_0x1fd9df(0x1b4)]){_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),'\x22'+_0x32cc80[_0x1fd9df(0x1b4)]+'\x22')});continue;}_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),'\x22'+_0x32cc80[_0x1fd9df(0x1af)]+'\x22')});continue;case _0x1fd9df(0x1b6):case _0x1fd9df(0x1a3):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c3),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1d8):case _0x1fd9df(0x1ea):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1cf),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1db):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1e8),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1c1),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1ab):_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c6),'content':_0x5d8438(_0x39ef03,_0x1fd9df(0x1e4),this[_0x1fd9df(0x1c5)](_0x32cc80[_0x1fd9df(0x1b1)],_0x32cc80[_0x1fd9df(0x1ba)]))});continue;case _0x1fd9df(0x1f9):_0x3eae07[_0x1fd9df(0x1e7)](_0x32cc80[_0x1fd9df(0x1d2)]);continue;case _0x1fd9df(0x1c9):_0xb10384[_0x1fd9df(0x1e7)](_0x32cc80[_0x1fd9df(0x1d2)]);continue;default:_0x362aae[_0x1fd9df(0x1e7)](_0x32cc80);}if(_0x3eae07[_0x1fd9df(0x1e6)]){const _0x270d7e=_0x3eae07[_0x1fd9df(0x1eb)](_0x405246=>this[_0x1fd9df(0x1f6)][_0x1fd9df(0x1f8)](_0x405246)?this[_0x1fd9df(0x1f6)][_0x1fd9df(0x19d)](_0x405246):_0x405246)[_0x1fd9df(0x1e0)](',\x20');_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c4),'content':_0x5d8438(this[_0x1fd9df(0x1d9)],_0x1fd9df(0x1d3),_0x270d7e)});}if(_0xb10384[_0x1fd9df(0x1e6)]){const _0x4fe3b0=_0xb10384[_0x1fd9df(0x1eb)](_0x6f8b57=>this[_0x1fd9df(0x1f6)][_0x1fd9df(0x1f8)](_0x6f8b57)?this[_0x1fd9df(0x1f6)][_0x1fd9df(0x19d)](_0x6f8b57):_0x6f8b57)[_0x1fd9df(0x1e0)](',\x20');_0x362aae[_0x1fd9df(0x1e7)]({'type':_0x1fd9df(0x1c4),'content':_0x5d8438(this[_0x1fd9df(0x1d9)],_0x1fd9df(0x1ad),_0x4fe3b0)});}return _0x362aae;}[_0x2983cb(0x1c2)](_0x59cdab){const _0x22ff96=_0x2983cb;for(const _0x45afa9 of this[_0x22ff96(0x1ae)]){const _0x48b4db=_0x45afa9(_0x59cdab);if(_0x48b4db&&_0x22ff96(0x1a9)in _0x48b4db)return _0x48b4db;}}[_0x2983cb(0x1c8)](_0x1517d2,_0x431177){const _0x22c327=_0x2983cb,_0x1914e8=_0x431177[_0x22c327(0x1d4)],_0x2d3391=void 0x0===_0x1914e8[_0x22c327(0x1f0)]?_0x22c327(0x1c9):_0x22c327(0x1f9);_0x1517d2[_0x22c327(0x1e7)]({'type':_0x2d3391,'key':_0x1914e8[_0x22c327(0x1d2)]});}[_0x2983cb(0x1aa)](_0x5b680d,_0x476fb6){const _0x5cfe98=_0x2983cb;_0x5b680d[_0x5cfe98(0x1e7)]({'type':_0x5cfe98(0x1c4),'content':_0x5d8438(this[_0x5cfe98(0x1d9)],_0x5cfe98(0x1b7),this[_0x5cfe98(0x1c5)](_0x476fb6[_0x5cfe98(0x1d7)]()[_0x5cfe98(0x1df)][_0x5cfe98(0x19e)],0x1))});}[_0x2983cb(0x1a4)](_0x1bdb50,_0x378421,_0x19e08b){const _0xad2bca=_0x2983cb;if(this[_0xad2bca(0x1a7)](_0x1bdb50,_0x378421),_0x19e08b&&_0x19e08b[_0xad2bca(0x1d7)]()&&!_0x378421[_0xad2bca(0x1d7)]()[_0xad2bca(0x1da)][_0xad2bca(0x1fb)](_0x19e08b[_0xad2bca(0x1d7)]()[_0xad2bca(0x1df)])){const _0x2c5a8d=_0x1bdb50[_0x1bdb50[_0xad2bca(0x1e6)]-0x1],_0x1bf9f1=_0xad2bca(0x1e8)==_0x378421[_0xad2bca(0x1a9)]?_0xad2bca(0x1b4):_0xad2bca(0x1af);_0x2c5a8d&&_0xad2bca(0x1a8)==_0x2c5a8d[_0xad2bca(0x1a9)]&&(_0x2c5a8d[_0x1bf9f1]+='\x0a');}}}function _0x4ca7(){const _0x4c3e14=['*Remove\x20format:*\x20%0','_customCallbacks','remove','normal','element','651762fdoKbL','checkChild','add','getWalker','addEmptyContainer','*Change\x20to:*\x20%0','skip','indexOf','quantity','subType','_resolveDescriptionItems','$text','EmptyContainer','Container','185191GNHDdJ','*Split:*\x20%0','_handleCustomCallbackDescription','*Insert:*\x20%0','format','getItemLabel','deletion','softBreak','_handleAttributeSuggestionDescription','removeFormat','name','7820595IghWTb','getDescriptions','1437524zTJUUx','_schema','*Remove:*\x20%0','attribute','_itemLabels','key','*Set\x20format:*\x20%0','data','set','pop','getFirstRange','removeEmptyContainer','_locale','end','addContainer','elementStart','_itemLabelsCallbacks','$textProxy','start','join','item','45kGCPVa','19577510jShhVT','*Merge:*\x20%0','$1\x20$2','length','push','insertion','function','removeObject','map','previousSibling','registerElementLabel','isObject','elementEnd','newValue','ELEMENT_SPACE','6RLnccK','label','matchingCallback','nextSibling','_attributeLabels','2467508iOakRq','has','addFormat','113888HiRtDU','isEqual','isEmpty','registerAttributeLabel','get','nodeAfter','REPLACE_TEXT','replace','196JnzWaG','Object','addObject','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','match','_addDescriptionItems','text','type','_handleRenameSuggestionDescription','removeContainer','isInContent'];_0x4ca7=function(){return _0x4c3e14;};return _0x4ca7();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x37a92d=_0x5b1c;(function(_0x50524b,_0x5cd541){var _0x4bd6fb=_0x5b1c,_0x3bb990=_0x50524b();while(!![]){try{var _0x116adc=-parseInt(_0x4bd6fb(0xfd))/0x1+parseInt(_0x4bd6fb(0xf8))/0x2*(parseInt(_0x4bd6fb(0x106))/0x3)+-parseInt(_0x4bd6fb(0xf6))/0x4*(-parseInt(_0x4bd6fb(0x105))/0x5)+-parseInt(_0x4bd6fb(0x108))/0x6+-parseInt(_0x4bd6fb(0x103))/0x7+parseInt(_0x4bd6fb(0xfb))/0x8+-parseInt(_0x4bd6fb(0xfc))/0x9*(-parseInt(_0x4bd6fb(0x107))/0xa);if(_0x116adc===_0x5cd541)break;else _0x3bb990['push'](_0x3bb990['shift']());}catch(_0x1931cd){_0x3bb990['push'](_0x3bb990['shift']());}}}(_0x31a2,0x91516));function _0x31a2(){var _0xa7502b=['requires','plugins','getSuggestions','877681UTMLAf','addSuggestionData','10bInCPU','1176TXYVAw','620QQZpJh','6194874UZSHbL','pluginName','editor','adapter','1433556kpbCvn','TrackChanges','1214UCdaGQ','getSuggestion','addSuggestion','50352BGebsO','132147AACPzq','118278SYbPkK','get','Comments'];_0x31a2=function(){return _0xa7502b;};return _0x31a2();}import{Plugin as _0x1ef9d4}from'ckeditor5/src/core.js';function _0x5b1c(_0x53424b,_0x31752c){var _0x31a24a=_0x31a2();return _0x5b1c=function(_0x5b1cea,_0x53a663){_0x5b1cea=_0x5b1cea-0xf3;var _0x12ca6c=_0x31a24a[_0x5b1cea];return _0x12ca6c;},_0x5b1c(_0x53424b,_0x31752c);}import _0x2161d3 from'./trackchangesui.js';import _0x642c74 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1ef9d4{static get[_0x37a92d(0x100)](){var _0x26977d=_0x37a92d;return[_0x642c74,_0x2161d3,_0x26977d(0xff)];}static get[_0x37a92d(0xf3)](){var _0x2de6ed=_0x37a92d;return _0x2de6ed(0xf7);}set[_0x37a92d(0xf5)](_0x773d10){var _0x1d0eb7=_0x37a92d;this[_0x1d0eb7(0xf4)][_0x1d0eb7(0x101)][_0x1d0eb7(0xfe)](_0x642c74)[_0x1d0eb7(0xf5)]=_0x773d10;}get[_0x37a92d(0xf5)](){var _0x208b96=_0x37a92d;return this[_0x208b96(0xf4)][_0x208b96(0x101)][_0x208b96(0xfe)](_0x642c74)[_0x208b96(0xf5)];}[_0x37a92d(0xfa)](_0x330c60){var _0x1be3bc=_0x37a92d;return this[_0x1be3bc(0xf4)][_0x1be3bc(0x101)][_0x1be3bc(0xfe)](_0x642c74)[_0x1be3bc(0x104)](_0x330c60);}[_0x37a92d(0x102)]({skipNotAttached:_0x55ceb1=!0x1,toJSON:_0x492135=!0x1}={}){var _0x47fd29=_0x37a92d;return this[_0x47fd29(0xf4)][_0x47fd29(0x101)][_0x47fd29(0xfe)](_0x642c74)[_0x47fd29(0x102)]({'skipNotAttached':_0x55ceb1,'toJSON':_0x492135});}[_0x37a92d(0xf9)](_0x5b9a4c){var _0x151d8c=_0x37a92d;return this[_0x151d8c(0xf4)][_0x151d8c(0x101)][_0x151d8c(0xfe)](_0x642c74)[_0x151d8c(0xf9)](_0x5b9a4c);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x325135=_0x18ad;(function(_0x446178,_0x18043a){const _0x4d9fe3=_0x18ad,_0x2d4dc6=_0x446178();while(!![]){try{const _0x2e4f61=parseInt(_0x4d9fe3(0x109))/0x1+-parseInt(_0x4d9fe3(0x10c))/0x2*(-parseInt(_0x4d9fe3(0x10b))/0x3)+-parseInt(_0x4d9fe3(0x100))/0x4+parseInt(_0x4d9fe3(0x123))/0x5+parseInt(_0x4d9fe3(0xf5))/0x6*(parseInt(_0x4d9fe3(0xf7))/0x7)+parseInt(_0x4d9fe3(0x130))/0x8*(-parseInt(_0x4d9fe3(0xff))/0x9)+-parseInt(_0x4d9fe3(0x108))/0xa;if(_0x2e4f61===_0x18043a)break;else _0x2d4dc6['push'](_0x2d4dc6['shift']());}catch(_0x472940){_0x2d4dc6['push'](_0x2d4dc6['shift']());}}}(_0x32cd,0x5ce8b));function _0x32cd(){const _0x1e7415=['editor','constructor','6RoOuiN','_adapter','5284965VQTHpN','create','track-changes-data-invalid-editor-creator','destroy','useAnonymousUser','rootsAttributes','createElement','data','9JaMDSC','1629768NZjQRv','getDataWithAcceptedSuggestions','addSuggestionData','end','discardAllSuggestions','getUser','reduce','getFullData','9663340qQeeSJ','609328zrfGal','Users','154653wFYCSB','20sEuJda','requires','name','document','createDocumentFragment','config','addCommentThread','trackChangesData.editorCreator','push','model','getRootNames','addUser','div','editorCreator','TrackChangesEditing','acceptAllSuggestions','plugins','function','get','init','result','trackChangesData','TrackChangesData','2137950XGrGdV','pluginName','users','getDataWithDiscardedSuggestions','getCommentThreads','Pagination','TrackChangesDataGetter','set','getRootsAttributes','execute','getSuggestions','appendChild','define','4424736gJjYxu','CommentsRepository','map'];_0x32cd=function(){return _0x1e7415;};return _0x32cd();}import{Plugin as _0x2d7874}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ff3b9}from'ckeditor5/src/utils.js';import _0x5a6142 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4482e2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x18ad(_0x50580d,_0xf81db2){const _0x32cde9=_0x32cd();return _0x18ad=function(_0x18ad64,_0x5c7975){_0x18ad64=_0x18ad64-0xf3;let _0x1916cb=_0x32cde9[_0x18ad64];return _0x1916cb;},_0x18ad(_0x50580d,_0xf81db2);}const T=[_0x325135(0x128)];export default class P extends _0x2d7874{static get[_0x325135(0x10d)](){return[_0x5a6142];}static get[_0x325135(0x124)](){const _0xa6844e=_0x325135;return _0xa6844e(0x122);}[_0x325135(0x11f)](){const _0x9d9861=_0x325135,_0xac4b2d=this[_0x9d9861(0xf3)];if(_0xac4b2d[_0x9d9861(0x111)][_0x9d9861(0x12f)](_0x9d9861(0x113),_0x902bc1=>{const _0x25755a=_0x9d9861,_0x5a48b8=_0xac4b2d[_0x25755a(0x115)][_0x25755a(0x10f)][_0x25755a(0x116)]()[_0x25755a(0x106)]((_0x28dd8f,_0x3270a8)=>(_0x28dd8f[_0x3270a8]='',_0x28dd8f),{});return _0xac4b2d[_0x25755a(0xf4)][_0x25755a(0xf8)](_0x5a48b8,_0x902bc1);}),_0x9d9861(0x11d)!=typeof _0xac4b2d[_0x9d9861(0x111)][_0x9d9861(0x11e)](_0x9d9861(0x121))[_0x9d9861(0x119)])throw new _0x4ff3b9(_0x9d9861(0xf9));}[_0x325135(0x101)](_0x53f19b){const _0x52170e=_0x325135;return N(this[_0x52170e(0xf3)],!0x0,_0x53f19b);}[_0x325135(0x126)](_0x1ea8bc){const _0x4e05b4=_0x325135;return N(this[_0x4e05b4(0xf3)],!0x1,_0x1ea8bc);}}class D extends _0x2d7874{static get[_0x325135(0x124)](){const _0x3eec1d=_0x325135;return _0x3eec1d(0x129);}constructor(_0x9974a6){const _0x565085=_0x325135;super(_0x9974a6),this[_0x565085(0x120)]=_0x565085(0x103);}[_0x325135(0x11f)](){const _0x3d18a0=_0x325135;this[_0x3d18a0(0xf3)][_0x3d18a0(0x11c)][_0x3d18a0(0x11e)](_0x3d18a0(0x131))[_0x3d18a0(0xf6)]={'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[_0x3d18a0(0xf3)][_0x3d18a0(0x11c)][_0x3d18a0(0x11e)](_0x3d18a0(0x11a))[_0x3d18a0(0xf6)]=null;}}function v(_0x48bec8){const _0x2b22a5=_0x325135;return void 0x0!==_0x48bec8[_0x2b22a5(0x12b)];}async function N(_0x5b780d,_0x30d86e,_0x191b3c){const _0x18e0a8=_0x325135,_0x45e540=_0x4482e2(_0x5b780d,T);_0x45e540[_0x18e0a8(0x11c)][_0x18e0a8(0x114)](_0x5a6142,D),_0x45e540[_0x18e0a8(0xfc)]=v(_0x5b780d)?_0x5b780d[_0x18e0a8(0x12b)]():void 0x0;const _0x4e035f=document[_0x18e0a8(0x110)](),_0x1948a1=_0x5b780d[_0x18e0a8(0x111)][_0x18e0a8(0x11e)](_0x18e0a8(0x121))[_0x18e0a8(0x119)],_0x5231f0=await _0x1948a1(_0x45e540,()=>function(_0x1990de){const _0xf2493d=_0x18e0a8,_0x2b6753=document[_0xf2493d(0xfd)](_0xf2493d(0x118));return _0x1990de[_0xf2493d(0x12e)](_0x2b6753),_0x2b6753;}(_0x4e035f));!function(_0x310567,_0x322a90){const _0x1e13fc=_0x18e0a8,_0x48a0db=_0x310567[_0x1e13fc(0x115)][_0x1e13fc(0x10f)][_0x1e13fc(0x116)]()[_0x1e13fc(0x106)]((_0x426be7,_0x3b5eb5)=>(_0x426be7[_0x3b5eb5]=_0x310567[_0x1e13fc(0xfe)][_0x1e13fc(0x11e)]({'rootName':_0x3b5eb5}),_0x426be7),{}),_0x29a8f7=_0x310567[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x10a))[_0x1e13fc(0x125)][_0x1e13fc(0x132)](_0x58b2b4=>({'id':_0x58b2b4['id'],'name':_0x58b2b4[_0x1e13fc(0x10e)]})),_0x3df8c2=_0x310567[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x11a))[_0x1e13fc(0x12d)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x400236=_0x310567[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x131))[_0x1e13fc(0x127)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5d6573=_0x322a90[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x10a)),_0x37488d=_0x322a90[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x11a)),_0x3d7f84=_0x322a90[_0x1e13fc(0x11c)][_0x1e13fc(0x11e)](_0x1e13fc(0x131));for(const _0x410756 of _0x29a8f7)_0x5d6573[_0x1e13fc(0x105)](_0x410756['id'])||_0x5d6573[_0x1e13fc(0x117)](_0x410756);_0x5d6573['me']||_0x5d6573[_0x1e13fc(0xfb)]();for(const _0x1381d8 of _0x400236)_0x3d7f84[_0x1e13fc(0x112)](_0x1381d8);for(const _0x398cfc of _0x3df8c2)_0x37488d[_0x1e13fc(0x102)](_0x398cfc);_0x322a90[_0x1e13fc(0xfe)][_0x1e13fc(0x12a)](_0x48a0db);}(_0x5b780d,_0x5231f0),_0x5231f0[_0x18e0a8(0x12c)](_0x30d86e?_0x18e0a8(0x11b):_0x18e0a8(0x104));const _0x4be457=v(_0x5231f0)?_0x5231f0[_0x18e0a8(0x107)](_0x191b3c):_0x5231f0[_0x18e0a8(0xfe)][_0x18e0a8(0x11e)](_0x191b3c);return await _0x5231f0[_0x18e0a8(0xfa)](),_0x4be457;}
|