@ckeditor/ckeditor5-track-changes 34.2.0 → 35.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +469 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +32 -32
- package/lang/translations/da.po +34 -34
- package/lang/translations/de.po +5 -5
- package/lang/translations/el.po +3 -3
- package/lang/translations/en-au.po +3 -3
- package/lang/translations/es.po +50 -50
- package/lang/translations/et.po +100 -100
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +10 -10
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +14 -14
- package/lang/translations/hr.po +4 -4
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +77 -77
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +77 -77
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +32 -32
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +18 -18
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +5 -5
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +55 -55
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tr.po +14 -14
- package/lang/translations/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +2 -2
- package/lang/translations/zh.po +66 -66
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.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/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/font.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/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.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 +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.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 +1 -1
- 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 +1 -1
- 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/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e09=['getSuggestion','findAncestor','commandParams','model','cell','getRowIndexes','toViewElement','first','selection','addMarker:suggestion','change','stop','item','ck-suggestion-marker-','createPositionAfter','index','formatBlock','writer','FORMAT_REGULAR_COLUMN','last','options','_suggestionFactory','parent','createTableWalker','removeClass','has','ck-suggestion-marker--active','getChild','removeMarker:suggestion','headingColumns','TrackChangesEditing','_descriptionFactory','createPositionBefore','mapper','editor','plugins','childCount','markerRange','locale','getColumnIndexes','getSelectionAffectedTableCells','consume','end','get','editing','removeAttribute','setTableRowHeader','unbindElementFromMarkerName','bindElementToMarker','table','forceValue','getCellLocation','TableUtils','requires','enableCommand','_splitMarkerName','markerName','name','setAttribute','from','markBlockFormat','commandName','data','includes','document','downcastDispatcher','headingRows','isBefore','createRange','nodeBefore','consumable','highest','data-suggestion','markerNameToElements','getAttribute','format','registerCustomCallback','activeMarkers','FORMAT_HEADER_ROW','addClass','commands','accept','value','setTableColumnHeader'];(function(_0x2bcc59,_0x2e09ff){const _0x44b589=function(_0x3aa868){while(--_0x3aa868){_0x2bcc59['push'](_0x2bcc59['shift']());}};_0x44b589(++_0x2e09ff);}(_0x2e09,0x11c));const _0x44b5=function(_0x2bcc59,_0x2e09ff){_0x2bcc59=_0x2bcc59-0x0;let _0x44b589=_0x2e09[_0x2bcc59];return _0x44b589;};import{Plugin as _0x119690}from'ckeditor5/src/core';import _0x423e16 from'./table';import{getTranslation as _0x82bc40}from'../utils/common-translations';export default class gt extends _0x119690{static get[_0x44b5('0x15')](){return[_0x423e16];}['afterInit'](){const _0x411f41=this[_0x44b5('0x2')];if(!_0x411f41[_0x44b5('0x3')][_0x44b5('0x4d')]('TableEditing'))return;const _0x361b81=_0x411f41[_0x44b5('0x6')],_0x2dc58f=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x52')),_0x184648=_0x411f41['plugins'][_0x44b5('0xb')](_0x44b5('0x14')),_0x4bf085=_0x411f41['plugins'][_0x44b5('0xb')](_0x423e16);function _0xbac303({showActiveMarker:_0x7e3fc1=!0x0,setDataAttribute:_0x33c97b=!0x0}={}){return(_0x423401,_0x2f028c,_0x51722d)=>{const {type:_0x2d44b8,id:_0x31e666}=_0x2dc58f[_0x44b5('0x17')](_0x2f028c[_0x44b5('0x18')]),_0x4099e6=_0x2dc58f[_0x44b5('0x34')](_0x31e666);if(!_0x4099e6[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x4099e6[_0x44b5('0x1e')][_0x44b5('0x1d')])return;if(_0x2f028c[_0x44b5('0x40')])return void _0x423401[_0x44b5('0x3f')]();if(!_0x51722d[_0x44b5('0x26')][_0x44b5('0x9')](_0x2f028c[_0x44b5('0x5')],_0x423401[_0x44b5('0x19')]))return;const _0x29c024=_0x2f028c[_0x44b5('0x5')]['start']['nodeAfter'],_0xdca943=_0x2f028c[_0x44b5('0x5')][_0x44b5('0xa')][_0x44b5('0x25')],_0x7299a3=_0x29c024[_0x44b5('0x4a')][_0x44b5('0x4a')],{column:_0x30862a}=_0x184648[_0x44b5('0x13')](_0x29c024),{column:_0x8f5291}=_0x184648['getCellLocation'](_0xdca943);for(let _0x720ac6=_0x30862a;_0x720ac6<=_0x8f5291;_0x720ac6++){const _0x82b9a7=_0x184648[_0x44b5('0x4b')](_0x7299a3,{'column':_0x720ac6,'includeAllSlots':!0x1});for(const _0x3bfe80 of _0x82b9a7){const _0x3247ab=_0x3bfe80[_0x44b5('0x38')],_0x25ad75=_0x51722d[_0x44b5('0x1')][_0x44b5('0x3a')](_0x3247ab);_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')](_0x44b5('0x41')+_0x2d44b8,_0x25ad75),_0x33c97b&&_0x51722d['writer'][_0x44b5('0x1a')]('data-suggestion',_0x31e666,_0x25ad75),_0x51722d[_0x44b5('0x1')][_0x44b5('0x10')](_0x25ad75,_0x2f028c[_0x44b5('0x18')]),_0x7e3fc1&&(_0x2dc58f[_0x44b5('0x2d')][_0x44b5('0x1f')](_0x2f028c[_0x44b5('0x18')])?_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')]('ck-suggestion-marker--active',_0x25ad75):_0x51722d[_0x44b5('0x45')][_0x44b5('0x4c')](_0x44b5('0x4e'),_0x25ad75));}}};}_0x2dc58f[_0x44b5('0x16')](_0x44b5('0xe'),(_0x3c9298,_0x59817c)=>{const _0x90eb84=_0x184648['getSelectionAffectedTableCells'](_0x411f41['model'][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39078f=_0x184648[_0x44b5('0x39')](_0x90eb84),_0x2a952a=_0x90eb84[0x0][_0x44b5('0x35')](_0x44b5('0x11')),_0x1ec327=_0x2a952a[_0x44b5('0x2a')](_0x44b5('0x22'))||0x0,_0x531f21=_0x59817c&&null!==_0x59817c['forceValue']?_0x59817c[_0x44b5('0x12')]:!_0x411f41['commands']['get']('setTableRowHeader')[_0x44b5('0x32')],_0x58d654=_0x531f21?_0x39078f[_0x44b5('0x47')]:_0x39078f[_0x44b5('0x3b')],_0x3b4c60=_0x2a952a[_0x44b5('0x4f')](_0x58d654);let _0x560ff1;if(_0x531f21){const _0x4f431a=_0x2a952a[_0x44b5('0x4f')](_0x1ec327);if(_0x3b4c60['index']<_0x4f431a[_0x44b5('0x43')])return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')]['createPositionBefore'](_0x4f431a[_0x44b5('0x4f')](0x0)),_0x411f41['model'][_0x44b5('0x42')](_0x3b4c60[_0x44b5('0x4f')](_0x3b4c60['childCount']-0x1)));}else{const _0x2b6c53=_0x2a952a[_0x44b5('0x4f')](_0x1ec327-0x1);if(!_0x2b6c53)return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x3b4c60[_0x44b5('0x4f')](0x0)),_0x411f41[_0x44b5('0x37')]['createPositionAfter'](_0x2b6c53[_0x44b5('0x4f')](_0x2b6c53[_0x44b5('0x4')]-0x1)));}_0x411f41[_0x44b5('0x37')]['change'](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x560ff1,{'commandName':_0x44b5('0xe'),'commandParams':[{'forceValue':_0x531f21}]},[],'setTableRowHeader');});}),_0x2dc58f[_0x44b5('0x16')](_0x44b5('0x33'),(_0xb39165,_0x1ac9c7)=>{const _0x5f448c=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x14')),_0x1a5834=_0x5f448c[_0x44b5('0x8')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39a333=_0x5f448c[_0x44b5('0x7')](_0x1a5834),_0x2b5d06=_0x1a5834[0x0]['findAncestor'](_0x44b5('0x11')),_0x20cba5=_0x2b5d06[_0x44b5('0x2a')](_0x44b5('0x51'))||0x0,_0x595d31=_0x1ac9c7&&null!==_0x1ac9c7['forceValue']?_0x1ac9c7['forceValue']:!_0x411f41[_0x44b5('0x30')][_0x44b5('0xb')](_0x44b5('0x33'))['value'];let _0x319c81;const _0x37e413=_0x2b5d06[_0x44b5('0x4f')](0x0),_0x3df80d=_0x595d31?_0x39a333[_0x44b5('0x47')]:_0x39a333[_0x44b5('0x3b')],_0x2b0dbc=_0x5f448c[_0x44b5('0x4b')](_0x2b5d06,{'startRow':0x0,'column':_0x3df80d,'includeAllSlots':!0x1}),_0x1115f4=Array[_0x44b5('0x1b')](_0x2b0dbc)[0x0][_0x44b5('0x38')];if(_0x595d31){const _0x1f7350=_0x37e413[_0x44b5('0x4f')](_0x20cba5);if(_0x1115f4[_0x44b5('0x23')](_0x1f7350))return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1f7350),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x1115f4));}else{const _0x469aa2=_0x37e413[_0x44b5('0x4f')](_0x20cba5-0x1);if(!_0x469aa2)return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1115f4),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x469aa2));}_0x411f41['model'][_0x44b5('0x3e')](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x319c81,{'commandName':_0x44b5('0x33'),'commandParams':[{'forceValue':_0x595d31}]},[],_0x44b5('0x33'));});}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),_0xbac303(),{'priority':'highest'}),_0x411f41[_0x44b5('0x1e')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),(_0x2fd7d1,_0x4a980e,_0x57ef63)=>{_0x57ef63[_0x44b5('0x48')]['showSuggestionHighlights']&&_0xbac303({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2fd7d1,_0x4a980e,_0x57ef63);},{'priority':_0x44b5('0x27')}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x50'),(_0x1602c6,_0x2743ff,_0x373ada)=>{const {type:_0x1ef61f,id:_0x1e8fb6}=_0x2dc58f[_0x44b5('0x17')](_0x2743ff[_0x44b5('0x18')]),_0x3fe52b=_0x2dc58f[_0x44b5('0x34')](_0x1e8fb6);if(!_0x3fe52b[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x3fe52b[_0x44b5('0x1e')][_0x44b5('0x1d')])return;const _0x408e7f=_0x373ada[_0x44b5('0x1')][_0x44b5('0x29')](_0x2743ff['markerName']);if(_0x408e7f)for(const _0x54efd1 of _0x408e7f)_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker-'+_0x1ef61f,_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker--active',_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0xd')](_0x44b5('0x28'),_0x54efd1),_0x373ada[_0x44b5('0x1')][_0x44b5('0xf')](_0x54efd1,_0x2743ff['markerName']);},{'priority':_0x44b5('0x27')}),_0x2dc58f[_0x44b5('0x53')]['registerDescriptionCallback'](_0x5a9bb4=>{const {data:_0x257f3b}=_0x5a9bb4;if(_0x257f3b){if(_0x44b5('0xe')==_0x257f3b[_0x44b5('0x1d')]){const _0x292e74=_0x257f3b['commandParams'][0x0][_0x44b5('0x12')];return _0x583ba7(_0x82bc40(_0x361b81,_0x292e74?_0x44b5('0x2e'):'FORMAT_REGULAR_ROW'));}if(_0x44b5('0x33')==_0x257f3b[_0x44b5('0x1d')]){const _0x4f91a2=_0x257f3b[_0x44b5('0x36')][0x0]['forceValue'];return _0x583ba7(_0x82bc40(_0x361b81,_0x4f91a2?'FORMAT_HEADER_COLUMN':_0x44b5('0x46')));}}function _0x583ba7(_0x10ee4d){return{'type':_0x44b5('0x2b'),'content':_0x82bc40(_0x361b81,'*Format:*\x20%0',_0x10ee4d)};}});const _0x2a901f=_0x4bf085['_acceptFormatSuggestionCallbackFactory']();_0x2dc58f[_0x44b5('0x49')][_0x44b5('0x2c')](_0x44b5('0x44'),_0x44b5('0xe'),_0x44b5('0x31'),_0x2a901f),_0x2dc58f['_suggestionFactory']['registerCustomCallback'](_0x44b5('0x44'),_0x44b5('0x33'),_0x44b5('0x31'),_0x2a901f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a1a=['table','_suggestionFactory','TableEditing','registerCustomCallback','size','document','commands','change','isEnabled','_areSelectedCellsMergable','markMultiRangeBlockFormat','get','containsRange','from','_areMergableCells','splitTableCellVertically','setSelection','cell','direction','createTableWalker','splitTableCellHorizontally','registerDescriptionCallback','findAncestor','execute','value','_descriptionFactory','*Split\x20cell:*\x20horizontally','tableCell','TableUtils','enableCommand','filter','_acceptFormatSuggestionCallbackFactory','forceDefaultExecution','selection','length','requires','map','afterInit','has','push','getSuggestions','fromRange','format','horizontally','markBlockFormat','subType','element','_tablePostFixingSubtypes','stop','formatBlock','commandName','type','mergeTableCellDown','plugins','low','refresh','mergeTableCellRight','insertion','add','createRangeOn','getFirstPosition','getSelectionAffectedTableCells','root','_isForcedDefaultExecutionBlock','getCellLocation','mergeTableCellLeft','*Merge\x20cells*','model','$graveyard','TrackChangesEditing','getAncestors','isInContent','editor','trackChanges','find','accept','author','locale','getRanges','mergeTableCells','mergeTableCellUp','highest','*Split\x20cell:*\x20vertically'];(function(_0x4345a1,_0x3a1aec){const _0x401fbe=function(_0x577ed9){while(--_0x577ed9){_0x4345a1['push'](_0x4345a1['shift']());}};_0x401fbe(++_0x3a1aec);}(_0x3a1a,0x17e));const _0x401f=function(_0x4345a1,_0x3a1aec){_0x4345a1=_0x4345a1-0x0;let _0x401fbe=_0x3a1a[_0x4345a1];return _0x401fbe;};import{Plugin as _0x71894c}from'ckeditor5/src/core';import _0x2910cd from'./table';import{LiveRange as _0x2bb5fb}from'ckeditor5/src/engine';import{getTranslation as _0x5a8700}from'../utils/common-translations';export default class ft extends _0x71894c{static get[_0x401f('0x44')](){return[_0x2910cd];}[_0x401f('0x46')](){const _0x4487a9=this[_0x401f('0x16')],_0x3a3255=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')],_0x1aa6e3=_0x4487a9[_0x401f('0x1b')];if(!_0x4487a9[_0x401f('0x3')]['has'](_0x401f('0x23')))return;const _0x152501=_0x4487a9['plugins']['get'](_0x401f('0x13')),_0xa80fb2=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d')),_0x1ed8d4=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x2910cd);_0x1ed8d4[_0x401f('0x50')][_0x401f('0x48')]('mergeTableCells'),_0x152501[_0x401f('0x3e')](_0x401f('0x1d'),()=>{const _0xdf93aa=_0xa80fb2[_0x401f('0xb')](_0x4487a9['model']['document'][_0x401f('0x42')]);_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](()=>{_0x152501[_0x401f('0x2b')](_0xdf93aa,{'commandName':'mergeTableCells','commandParams':[]},[],_0x401f('0x1d'));});}),_0x4487a9['commands'][_0x401f('0x2c')](_0x401f('0x1d'))['on'](_0x401f('0x38'),(_0x265e3b,_0x378895)=>{_0x4487a9[_0x401f('0x27')]['get'](_0x401f('0x17'))[_0x401f('0x39')]&&(_0x378895[_0x401f('0x43')]>0x0&&_0x378895[_0x378895[_0x401f('0x43')]-0x1]&&_0x378895[_0x378895[_0x401f('0x43')]-0x1][_0x401f('0x41')]||_0x152501[_0x401f('0xd')]||this['_areSelectedCellsMergable']()||_0x265e3b[_0x401f('0x51')]());},{'priority':_0x401f('0x1f')});for(const _0x232adb of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')]){const _0x33a3ac=_0x4487a9[_0x401f('0x27')]['get'](_0x232adb);_0x152501[_0x401f('0x3e')](_0x232adb,()=>{const _0x403e1e=_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')][_0x401f('0xa')]()[_0x401f('0x14')]()[_0x401f('0x18')](_0x2fcf89=>_0x2fcf89['is'](_0x401f('0x4f'),_0x401f('0x3c'))),_0x3399c=_0x33a3ac[_0x401f('0x39')];_0x4487a9[_0x401f('0x11')]['change'](()=>{_0x152501[_0x401f('0x2b')]([_0x403e1e,_0x3399c],{'commandName':_0x401f('0x1d'),'commandParams':[]},[],_0x401f('0x1d'));});});}for(const _0x3f51ee of['splitTableCellVertically',_0x401f('0x35')]){const _0x1a4fc2=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x3f51ee);_0x152501[_0x401f('0x3e')](_0x3f51ee,()=>{const _0x5c8a3c=_0xa80fb2[_0x401f('0xb')](_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')])[0x0],_0x291cb3=_0x5c8a3c[_0x401f('0x37')](_0x401f('0x21')),{column:_0x2adffb,row:_0x1f9b2b}=_0xa80fb2[_0x401f('0xe')](_0x5c8a3c);let _0x19a6d0=[];if(_0x401f('0x4c')==_0x1a4fc2[_0x401f('0x33')]){const _0x67abe0=_0xa80fb2[_0x401f('0x34')](_0x291cb3,{'startRow':_0x1f9b2b,'endRow':_0x1f9b2b,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x67abe0)[_0x401f('0x45')](_0x15a04b=>_0x15a04b[_0x401f('0x32')]);}else{const _0x43f9d3=_0xa80fb2['createTableWalker'](_0x291cb3,{'column':_0x2adffb,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x43f9d3)['map'](_0x357b6e=>_0x357b6e[_0x401f('0x32')]);}_0x4487a9['model'][_0x401f('0x28')](_0x2845b9=>{_0x152501[_0x401f('0x4d')](_0x2845b9[_0x401f('0x9')](_0x5c8a3c),{'commandName':_0x3f51ee,'commandParams':[]},_0x19a6d0,_0x3f51ee);});});}_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x478538=>{const {data:_0x6a2d69}=_0x478538;if(_0x6a2d69)return _0x401f('0x1d')==_0x6a2d69[_0x401f('0x0')]?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x10'))}:void 0x0;}),_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x1590f7=>{const {data:_0x77c516}=_0x1590f7;if(_0x77c516)return _0x401f('0x30')==_0x77c516['commandName']?{'type':_0x401f('0x4b'),'content':_0x5a8700(_0x1aa6e3,_0x401f('0x20'))}:_0x401f('0x35')==_0x77c516['commandName']?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x3b'))}:void 0x0;});const _0x4a01de=_0x1ed8d4[_0x401f('0x40')]();for(const _0x5a96ee of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')])_0x152501[_0x401f('0x22')][_0x401f('0x24')](_0x401f('0x52'),_0x5a96ee,_0x401f('0x19'),_0x4a01de);for(const _0x3c6388 of[_0x401f('0x30'),_0x401f('0x35')])_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x3c6388,'accept',_0x4a01de);_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x401f('0x1d'),'accept',_0x5563f4=>{_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](_0x12edbc=>{const _0x5cf67f=Array['from'](_0x3a3255['getRanges']())['map'](_0x1690ef=>_0x2bb5fb[_0x401f('0x4a')](_0x1690ef));_0x12edbc[_0x401f('0x31')](_0x5563f4),_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d'))[_0x401f('0x5')](),_0x4487a9['execute'](_0x401f('0x1d'),{'forceDefaultExecution':!0x0});const _0x5607ac=_0x5cf67f[_0x401f('0x3f')](_0x5b0f23=>_0x401f('0x12')!=_0x5b0f23[_0x401f('0xc')]['rootName']);_0x5607ac['length']>0x0&&_0x12edbc[_0x401f('0x31')](_0x5607ac);for(const _0x341a51 of _0x5cf67f)_0x341a51['detach']();});});for(const _0x916ac5 of['mergeTableCellUp',_0x401f('0x2'),_0x401f('0xf'),'mergeTableCellRight']){const _0x48a592=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x916ac5);_0x48a592['on']('set:isEnabled',(_0x1f7e3b,_0x3b9d9d,_0x131c68)=>{if(_0x131c68){const _0x2419f6=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')]['getFirstPosition']()[_0x401f('0x14')]()[_0x401f('0x18')](_0x1f5292=>_0x1f5292['is']('element',_0x401f('0x3c')));this['_areMergableCells'](_0x48a592[_0x401f('0x39')],_0x2419f6)||(_0x1f7e3b['return']=!0x1,_0x1f7e3b[_0x401f('0x51')]());}},{'priority':_0x401f('0x4')});}}[_0x401f('0x2a')](){const _0x2774bd=this['editor'][_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d')),_0x666873=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d'));if(!_0x2774bd[_0x401f('0x29')])return!0x1;const _0x540467=_0x666873[_0x401f('0xb')](this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x26')]['selection']);for(const _0x487156 of _0x540467)for(const _0x496b79 of _0x540467)if(_0x487156!=_0x496b79&&!this[_0x401f('0x2f')](_0x487156,_0x496b79))return!0x1;return!0x0;}[_0x401f('0x2f')](_0xfb4459,_0x116145){const _0x52150f=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x13')),_0x33120f=this[_0x401f('0x16')][_0x401f('0x11')]['createRangeOn'](_0xfb4459),_0x297cb1=this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x9')](_0x116145),_0x234c67=new Set(),_0x572b19=new Set();for(const _0x42d629 of _0x52150f[_0x401f('0x49')]())if((_0x401f('0x7')==_0x42d629[_0x401f('0x1')]||'deletion'==_0x42d629[_0x401f('0x1')]||_0x401f('0x1d')==_0x42d629[_0x401f('0x4e')])&&_0x42d629[_0x401f('0x15')])for(const _0x333452 of _0x42d629[_0x401f('0x1c')]())_0x333452[_0x401f('0x2d')](_0x33120f,!0x0)&&_0x234c67[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']),_0x333452[_0x401f('0x2d')](_0x297cb1,!0x0)&&_0x572b19[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']);if(_0x234c67[_0x401f('0x25')]!=_0x572b19[_0x401f('0x25')])return!0x1;for(const _0x49ff28 of _0x234c67)if(!_0x572b19[_0x401f('0x47')](_0x49ff28))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e67=['document','start','registerElementLabel','plugins','isEqual','differ','_splitMarkerName','model','isTouching','isCollapsed','afterInit','suggestion','locale','get','getNearestSelectionRange','removeMarker','title-content','end','editor','has','forward','updateMarker','ELEMENT_TITLE','element','schema'];(function(_0x5f2d24,_0x1e67a9){const _0x1819ed=function(_0x5e6271){while(--_0x5e6271){_0x5f2d24['push'](_0x5f2d24['shift']());}};_0x1819ed(++_0x1e67a9);}(_0x1e67,0x1f4));const _0x1819=function(_0x5f2d24,_0x1e67a9){_0x5f2d24=_0x5f2d24-0x0;let _0x1819ed=_0x1e67[_0x5f2d24];return _0x1819ed;};import{Plugin as _0x585892}from'ckeditor5/src/core';import{getTranslation as _0x2bc551}from'../utils/common-translations';export default class mt extends _0x585892{[_0x1819('0xa')](){const _0x5b625a=this[_0x1819('0x12')];if(!_0x5b625a[_0x1819('0x3')][_0x1819('0x13')]('Title'))return;const _0x544f61=_0x5b625a[_0x1819('0x3')][_0x1819('0xd')]('TrackChangesEditing');_0x544f61['_descriptionFactory'][_0x1819('0x2')](_0x1819('0x10'),()=>_0x2bc551(_0x5b625a[_0x1819('0xc')],_0x1819('0x16'))),_0x5b625a['model'][_0x1819('0x0')]['registerPostFixer'](_0x25e12a=>{let _0x25cb05=!0x1;const _0x230e23=Array['from'](_0x5b625a[_0x1819('0x7')][_0x1819('0x0')][_0x1819('0x5')]['getChangedMarkers']());for(const {name:_0x1007c8,data:_0x43fa52}of _0x230e23){const {group:_0x1a41a7}=_0x544f61[_0x1819('0x6')](_0x1007c8);if(_0x1819('0xb')!==_0x1a41a7||!_0x43fa52['newRange'])continue;const _0x337c8e=_0x43fa52['newRange'],_0xe3b788=_0x337c8e[_0x1819('0x11')]['nodeBefore'];if(!_0xe3b788||!_0xe3b788['is'](_0x1819('0x17'),_0x1819('0x10')))continue;if(!_0x337c8e[_0x1819('0x1')][_0x1819('0x8')](_0x337c8e[_0x1819('0x11')]))continue;const _0x1874f4=_0x5b625a[_0x1819('0x7')][_0x1819('0x18')][_0x1819('0xe')](_0x337c8e[_0x1819('0x11')],_0x1819('0x14'));if(_0x1874f4&&_0x1874f4[_0x1819('0x9')]){const _0x220627=_0x25e12a['createRange'](_0x337c8e['start'],_0x1874f4[_0x1819('0x1')]);_0x220627[_0x1819('0x4')](_0x337c8e)||(_0x25e12a[_0x1819('0x15')](_0x1007c8,{'range':_0x220627}),_0x25cb05=!0x0);}_0x25cb05||(_0x25e12a[_0x1819('0xf')](_0x1007c8),_0x25cb05=!0x0);}return _0x25cb05;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d7=['afterInit','plugins','enableCommand','editor','has','undo','redo'];(function(_0x21d8c3,_0x18d7b2){const _0x4338c5=function(_0x1da496){while(--_0x1da496){_0x21d8c3['push'](_0x21d8c3['shift']());}};_0x4338c5(++_0x18d7b2);}(_0x18d7,0xf2));const _0x4338=function(_0x21d8c3,_0x18d7b2){_0x21d8c3=_0x21d8c3-0x0;let _0x4338c5=_0x18d7[_0x21d8c3];return _0x4338c5;};import{Plugin as _0x486097}from'ckeditor5/src/core';export default class dt extends _0x486097{[_0x4338('0x3')](){const _0xbae86b=this[_0x4338('0x6')],_0x2c7de5=_0xbae86b['plugins']['get']('TrackChangesEditing');_0xbae86b[_0x4338('0x4')][_0x4338('0x0')]('UndoEditing')&&(_0x2c7de5['enableCommand'](_0x4338('0x1')),_0x2c7de5[_0x4338('0x5')](_0x4338('0x2')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2660=['model','writer','TrackChangesEditing','item','bindElementToMarker','push','ck-suggestion-marker-','markerRange','test','span','ck-suggestion-marker--active','getCustomProperty','isContent','mapper','elementEnd','toViewPosition','createUIElement','addClass','insert','nextSibling','listIndent','hasAttribute','schema','getItems','includes','isLimit','isAtEnd','getWalker','markerName','createRangeOn','getAttribute','previousPosition'];(function(_0x5d7d6b,_0x2660ef){const _0x34d986=function(_0x29078c){while(--_0x29078c){_0x5d7d6b['push'](_0x5d7d6b['shift']());}};_0x34d986(++_0x2660ef);}(_0x2660,0x1ed));const _0x34d9=function(_0x5d7d6b,_0x2660ef){_0x5d7d6b=_0x5d7d6b-0x0;let _0x34d986=_0x2660[_0x5d7d6b];return _0x34d986;};export function getRangesWithAttribute(_0x160a2b,_0x1fd0ef,_0x369fe1){const _0x23b2ac=[];for(const _0x4ae7af of _0x1fd0ef[_0x34d9('0xa')]())_0x4ae7af[_0x34d9('0x8')](_0x160a2b)&&_0x23b2ac[_0x34d9('0x18')](_0x369fe1[_0x34d9('0x10')](_0x4ae7af));return _0x23b2ac;}export function getElementsAffectedByListItemRename(_0x1ad7b9){const _0x4415b0=[];if(_0x1ad7b9['is']('element','listItem')){let _0x3b1db1=_0x1ad7b9[_0x34d9('0x6')];for(;_0x3b1db1&&_0x3b1db1['is']('element','listItem')&&_0x3b1db1[_0x34d9('0x11')](_0x34d9('0x7'))>0x0;)_0x4415b0['push'](_0x3b1db1),_0x3b1db1=_0x3b1db1[_0x34d9('0x6')];}return _0x4415b0;}export function downcastSplitMergeMarker(_0x1023d6,_0x33ff98,{showActiveMarker:_0x242b49=!0x0}={}){const _0x2be16f=_0x1023d6['plugins']['get'](_0x34d9('0x15'));return(_0x573832,_0x1a97ad,_0x10b6fb)=>{if(!_0x10b6fb['consumable'][_0x34d9('0x1b')](_0x1a97ad[_0x34d9('0x1a')],_0x573832['name']))return;const _0x9a4503=_0x1a97ad[_0x34d9('0x1a')][_0x34d9('0xe')](),_0x23d107=_0x1a97ad['markerRange']['start'],_0x328b55=_0x1023d6[_0x34d9('0x13')][_0x34d9('0x9')];let _0x9bd23f=null,_0x3c563d=null,_0x4fa8c2=!0x1,_0x4fd6ff=!0x1;for(const _0x3f5abc of _0x9a4503){const _0x51aab9=_0x3f5abc[_0x34d9('0x16')];_0x4fa8c2=_0x4fa8c2||_0x328b55[_0x34d9('0x1f')](_0x51aab9);const _0x3103a6=_0x10b6fb['mapper']['toViewElement'](_0x51aab9);if(_0x3103a6&&_0x3103a6[_0x34d9('0x1e')]('addHighlight'))return;_0x34d9('0x1')==_0x3f5abc['type']&&(_0x328b55['isBlock'](_0x51aab9)&&!_0x328b55[_0x34d9('0xc')](_0x51aab9)&&(_0x51aab9[_0x34d9('0x6')]||_0x23d107[_0x34d9('0xd')]?_0x9bd23f&&_0x9bd23f['parent']==_0x51aab9||(_0x9bd23f=_0x51aab9,_0x431347(_0x3f5abc[_0x34d9('0x12')]),_0x4fd6ff=!0x0):_0x3c563d=_0x3c563d||_0x3f5abc[_0x34d9('0x12')]));}function _0x431347(_0x5c2469){const _0xa3c812=_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x3')](_0x34d9('0x1c'),{'class':_0x34d9('0x19')+_0x33ff98}),_0x271cfd=_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x2')](_0x5c2469);_0x242b49&&_0x2be16f['activeMarkers'][_0x34d9('0xb')](_0x1a97ad[_0x34d9('0xf')])&&_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x4')](_0x34d9('0x1d'),_0xa3c812),_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x5')](_0x271cfd,_0xa3c812),_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x17')](_0xa3c812,_0x1a97ad[_0x34d9('0xf')]);}_0x4fa8c2||_0x4fd6ff||!_0x3c563d||_0x431347(_0x3c563d);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x142e=['onAttributesChange','removeMarkers','getRange','add','accept','getMultiRangeId','suggestion:','author','createdAt','hasComments','size','getFirstMarker','markers','getItems','getAllAdjacentSuggestions','setAttribute','nodeBefore','delete','isMultiRange','_markerNames','_onDiscard','clear','type','discard','subType','_model','addMarkerName','start','get','data','next','getMarkerNames','nodeAfter','decorate','reduce','toJSON','length','map','_saved','change','head','isIntersecting','filter','getRanges','substr','onAccept','from','removeAttribute','commentThread','getMarkers','removeMarker','attributes','previous','_onAttributesChange','set'];(function(_0x35811b,_0x142e11){const _0x5f2a9f=function(_0x190b99){while(--_0x190b99){_0x35811b['push'](_0x35811b['shift']());}};_0x5f2a9f(++_0x142e11);}(_0x142e,0x144));const _0x5f2a=function(_0x35811b,_0x142e11){_0x35811b=_0x35811b-0x0;let _0x5f2a9f=_0x142e[_0x35811b];return _0x5f2a9f;};import{Element as _0x2bd862}from'ckeditor5/src/engine';import{ObservableMixin as _0x144ead,mix as _0x5d33b9,uid as _0x25ac3b}from'ckeditor5/src/utils';import{cloneDeep as _0x8e3848,isEqual as _0xdce7ab,set as _0x1db1ac,unset as _0x5a17b2}from'lodash-es';export default class o{constructor(_0x2b71c7,_0x381067){this['id']=_0x381067['id'],this['type']=_0x381067[_0x5f2a('0x1c')],this[_0x5f2a('0x1e')]=_0x381067['subType']||null,this[_0x5f2a('0xd')]=_0x381067[_0x5f2a('0xd')],this['data']=null,this[_0x5f2a('0x1f')]=_0x2b71c7,this['_onAccept']=_0x381067[_0x5f2a('0x33')],this[_0x5f2a('0x1a')]=_0x381067['onDiscard'],this[_0x5f2a('0x4')]=_0x381067[_0x5f2a('0x6')],this[_0x5f2a('0x19')]=new Set(),this['set']('createdAt',null),this[_0x5f2a('0x5')]('attributes',_0x381067[_0x5f2a('0x2')]||{}),this['set'](_0x5f2a('0x3'),null),this['set'](_0x5f2a('0x24'),null),this[_0x5f2a('0x5')](_0x5f2a('0x36'),null),this[_0x5f2a('0x5')](_0x5f2a('0x2c'),!0x1),this[_0x5f2a('0x27')](_0x5f2a('0xa')),this[_0x5f2a('0x27')](_0x5f2a('0x1d'));}get['head'](){let _0x527fcc=this;for(;_0x527fcc['previous'];)_0x527fcc=_0x527fcc[_0x5f2a('0x3')];return _0x527fcc;}get[_0x5f2a('0xf')](){return!!this['commentThread']&&this[_0x5f2a('0x36')][_0x5f2a('0x2a')]>0x0;}get[_0x5f2a('0x18')](){if(0x0==this[_0x5f2a('0x19')][_0x5f2a('0x10')])return!0x1;return 0x6==Array[_0x5f2a('0x34')](this[_0x5f2a('0x19')])[0x0]['split'](':')[_0x5f2a('0x2a')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x5f2a('0x20')](_0x51f28a){this[_0x5f2a('0x19')][_0x5f2a('0x9')](_0x51f28a);}[_0x5f2a('0x25')](){return Array['from'](this['_markerNames']);}[_0x5f2a('0x0')](){return this['getMarkerNames']()[_0x5f2a('0x2b')](_0x1b9a5e=>this[_0x5f2a('0x1f')][_0x5f2a('0x12')][_0x5f2a('0x22')](_0x1b9a5e))[_0x5f2a('0x30')](_0x39434d=>_0x39434d);}['getFirstMarker'](){return this[_0x5f2a('0x0')]()[0x0]||null;}[_0x5f2a('0x7')](){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x2f1d72=>{for(const _0x7758e6 of this[_0x5f2a('0x0')]())_0x2f1d72[_0x5f2a('0x1')](_0x7758e6);}),this[_0x5f2a('0x19')][_0x5f2a('0x1b')]();}[_0x5f2a('0x1')](_0x5c5835){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x4e36cc=>{_0x4e36cc[_0x5f2a('0x1')](_0x5c5835);}),this[_0x5f2a('0x19')][_0x5f2a('0x17')](_0x5c5835);}['addRange'](_0x563df0){const _0x3ab068=_0x5f2a('0xc')+this[_0x5f2a('0x1c')]+':'+this[_0x5f2a('0x1e')]+':'+this['id']+':'+this[_0x5f2a('0xd')]['id']+':'+o[_0x5f2a('0xb')]();this['addMarkerName'](_0x3ab068),this[_0x5f2a('0x1f')]['change'](_0x3b99fd=>{_0x3b99fd['addMarker'](_0x3ab068,{'range':_0x563df0,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x5786a9){for(const _0x4609c5 of this[_0x5f2a('0x31')]())if(_0x4609c5[_0x5f2a('0x2f')](_0x5786a9))return!0x0;return!0x1;}[_0x5f2a('0x31')](){return this['getMarkers']()[_0x5f2a('0x2b')](_0x1c7b9b=>_0x1c7b9b[_0x5f2a('0x8')]());}[_0x5f2a('0x13')](){return this[_0x5f2a('0x31')]()[_0x5f2a('0x28')]((_0x426c74,_0x58b1ad)=>[..._0x426c74,..._0x58b1ad[_0x5f2a('0x13')]()],[]);}['getFirstRange'](){return this[_0x5f2a('0x11')]()['getRange']();}['getContainedElement'](){const _0x3e45e4=this[_0x5f2a('0x31')]();if(0x1!=_0x3e45e4[_0x5f2a('0x2a')])return null;const _0x54e765=_0x3e45e4[0x0],_0x4f6c5d=_0x54e765[_0x5f2a('0x21')][_0x5f2a('0x26')],_0x64b0aa=_0x54e765['end'][_0x5f2a('0x16')];return _0x4f6c5d instanceof _0x2bd862?_0x4f6c5d!=_0x64b0aa?null:_0x4f6c5d:null;}[_0x5f2a('0xa')](){this['_onAccept'](this[_0x5f2a('0x31')](),this['data'],this[_0x5f2a('0x2')]),this[_0x5f2a('0x7')]();}[_0x5f2a('0x1d')](){this[_0x5f2a('0x1a')](this['getRanges'](),this[_0x5f2a('0x23')],this['attributes']),this[_0x5f2a('0x7')]();}[_0x5f2a('0x14')](){const _0x8c7642=[];let _0x350dde=this[_0x5f2a('0x2e')];for(;_0x350dde;)_0x8c7642['push'](_0x350dde),_0x350dde=_0x350dde[_0x5f2a('0x24')];return _0x8c7642;}[_0x5f2a('0x15')](_0x3c357b,_0x338798){const _0x4d0092=_0x8e3848(this[_0x5f2a('0x2')]);_0x1db1ac(_0x4d0092,_0x3c357b,_0x338798),_0xdce7ab(_0x4d0092,this[_0x5f2a('0x2')])||(this[_0x5f2a('0x2')]=_0x4d0092,this['_onAttributesChange'](_0x4d0092));}[_0x5f2a('0x35')](_0x14cb11){const _0x4836be=_0x8e3848(this[_0x5f2a('0x2')]);_0x5a17b2(_0x4836be,_0x14cb11),_0xdce7ab(_0x4836be,this['attributes'])||(this[_0x5f2a('0x2')]=_0x4836be,this[_0x5f2a('0x4')](this[_0x5f2a('0x2')]));}[_0x5f2a('0x29')](){return{'id':this['id'],'type':this[_0x5f2a('0x1e')]?this[_0x5f2a('0x1c')]+':'+this['subType']:this['type'],'authorId':this[_0x5f2a('0xd')]['id'],'createdAt':this[_0x5f2a('0xe')],'hasComments':this[_0x5f2a('0xf')],'data':this['data'],'attributes':this[_0x5f2a('0x2')]};}static[_0x5f2a('0xb')](){return _0x25ac3b()[_0x5f2a('0x32')](0x1,0x5);}}_0x5d33b9(o,_0x144ead);
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f3f=['*Insert:*\x20%0','addObject','isInContent','nextSibling','match','isEmpty','item','name','remove','*Split:*\x20%0','insertion','_customCallbacks','softBreak','add','isEqual','start','length','quantity','REPLACE_TEXT','textProxy','ELEMENT_SPACE','skip','removeEmptyContainer','*Remove:*\x20%0','elementStart','_itemLabels','addEmptyContainer','previousSibling','Container','get','pop','isObject','getItemLabel','replace','registerDescriptionCallback','indexOf','_locale','getFirstRange','getDescriptions','data','Object','text','type','*Merge:*\x20%0','checkChild','$1\x20$2','push','set','getWalker','elementEnd','deletion','addContainer','_addDescriptionItems','removeObject','_schema','EmptyContainer'];(function(_0x325615,_0x5f3f75){const _0x1dd738=function(_0x3637ac){while(--_0x3637ac){_0x325615['push'](_0x325615['shift']());}};_0x1dd738(++_0x5f3f75);}(_0x5f3f,0x137));const _0x1dd7=function(_0x325615,_0x5f3f75){_0x325615=_0x325615-0x0;let _0x1dd738=_0x5f3f[_0x325615];return _0x1dd738;};import{getTranslation as _0x2e56bf}from'./utils/common-translations';export default class l{constructor(_0xf331b4,_0x132eb8){this[_0x1dd7('0x24')]=[],this[_0x1dd7('0x32')]=new Map(),this[_0x1dd7('0x17')]=_0xf331b4,this[_0x1dd7('0x5')]=_0x132eb8;}[_0x1dd7('0x7')](_0x536d57){const _0xa51842=[];for(let _0x4f3b32=0x0;_0x4f3b32<_0x536d57[_0x1dd7('0x29')];_0x4f3b32++){const _0x1f10ff=_0x536d57[_0x4f3b32];if(!_0x1f10ff[_0x1dd7('0x1b')])continue;let _0x42df0b=!0x1;for(const _0x1775dc of this[_0x1dd7('0x24')]){const _0x59ce02=_0x1775dc(_0x1f10ff);if(_0x59ce02){_0x59ce02[_0x1dd7('0xb')]&&_0xa51842['push'](_0x59ce02),_0x42df0b=!0x0;break;}}if(!_0x42df0b){this[_0x1dd7('0x15')](_0xa51842,_0x1f10ff);const _0x53ee10=_0x536d57[_0x4f3b32+0x1];if(_0x53ee10&&!_0x1f10ff[_0x1dd7('0x6')]()['end'][_0x1dd7('0x27')](_0x53ee10['getFirstRange']()[_0x1dd7('0x28')])){const _0x340a5a=_0xa51842[_0xa51842['length']-0x1],_0x17628d=_0x1dd7('0x23')==_0x1f10ff[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');_0x340a5a&&'text'==_0x340a5a['type']&&(_0x340a5a[_0x17628d]+='\x0a');}}}return this['_resolveDescriptionItems'](_0xa51842);}[_0x1dd7('0x3')](_0x372f93){this['_customCallbacks'][_0x1dd7('0xf')](_0x372f93);}['registerElementLabel'](_0x20277c,_0x34c917){this[_0x1dd7('0x32')][_0x1dd7('0x10')](_0x20277c,_0x34c917);}[_0x1dd7('0x1')](_0x158d84,_0x1833a5=0x1){const _0x44b46b=this[_0x1dd7('0x32')][_0x1dd7('0x36')](_0x158d84)||_0x158d84;return'function'==typeof _0x44b46b?_0x44b46b(_0x1833a5):0x1!==_0x1833a5?_0x1833a5+'\x20'+_0x44b46b+'s':''+_0x44b46b;}[_0x1dd7('0x15')](_0x6f7ab3,_0x9c9e66){const _0x355b32=_0x9c9e66['getFirstRange']()[_0x1dd7('0x11')](),_0xecf38=_0x1dd7('0x23')==_0x9c9e66[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');for(const _0x46dfb3 of _0x355b32){const _0x532fef=_0x46dfb3[_0x1dd7('0x1f')],_0x4761fa=_0x6f7ab3[_0x6f7ab3[_0x1dd7('0x29')]-0x1];if(_0x532fef['is'](_0x1dd7('0x2c')))_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')]('Container')>-0x1&&_0x6f7ab3['pop'](),_0x4761fa&&_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]?_0x4761fa[_0xecf38]+=_0x532fef['data']:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0x1dd7('0xa'),'add':_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x8')]:'','remove':'remove'==_0xecf38?_0x532fef[_0x1dd7('0x8')]:''});else{if(this[_0x1dd7('0x17')]['isObject'](_0x532fef)){if(_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')](_0x1dd7('0x35'))>-0x1&&_0x6f7ab3[_0x1dd7('0x37')](),_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;_0x4761fa&&_0x4761fa['type']==_0xecf38+_0x1dd7('0x9')&&_0x4761fa[_0x1dd7('0x20')]==_0x532fef[_0x1dd7('0x20')]?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x9'),'name':_0x532fef[_0x1dd7('0x20')],'quantity':0x1}),_0x355b32[_0x1dd7('0x2e')](_0x56c718=>!('elementEnd'==_0x56c718[_0x1dd7('0xb')]&&_0x56c718[_0x1dd7('0x1f')]==_0x532fef));}else{if(this[_0x1dd7('0x17')][_0x1dd7('0xd')](_0x532fef,'$text')||_0x532fef['is']('element',_0x1dd7('0x25'))){if(_0x1dd7('0x26')==_0xecf38&&_0x1dd7('0x31')==_0x46dfb3['type']||_0x1dd7('0x21')==_0xecf38&&_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;if(_0x4761fa&&-0x1==_0x4761fa[_0x1dd7('0xb')]['indexOf'](_0x1dd7('0x35'))){_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]&&(_0x4761fa[_0xecf38]+='\x0a');continue;}let _0x3d5a4a;if(_0x3d5a4a=_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x1c')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x1c')])?_0x532fef[_0x1dd7('0x1c')]:null:_0x532fef[_0x1dd7('0x34')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x34')])?_0x532fef[_0x1dd7('0x34')]:null,_0x532fef[_0x1dd7('0x1e')]||_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]){const _0x5c2825=_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]?_0x3d5a4a[_0x1dd7('0x20')]:_0x532fef[_0x1dd7('0x20')];_0x4761fa&&_0x4761fa[_0x1dd7('0xb')]==_0xecf38+'EmptyContainer'&&_0x4761fa['name']==_0x5c2825?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x18'),'name':_0x5c2825,'quantity':0x1});}else _0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x35'),'name':_0x532fef[_0x1dd7('0x20')]});}}}}}['_resolveDescriptionItems'](_0x2fc80e){const _0x17fed5=this[_0x1dd7('0x5')],_0x4e747b=[];for(const _0x37a290 of _0x2fc80e){switch(_0x37a290[_0x1dd7('0xb')]){case _0x1dd7('0xa'):if(_0x37a290[_0x1dd7('0x26')]=_0x37a290['add']['replace'](/(\S)\u000A+(\S)/g,_0x1dd7('0xe'))[_0x1dd7('0x2')](/\u000A/g,''),_0x37a290['remove']=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x2')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x1dd7('0x2')](/\u000A/g,''),''!=_0x37a290[_0x1dd7('0x26')]&&''!=_0x37a290[_0x1dd7('0x21')]){_0x4e747b[_0x1dd7('0xf')]({'type':'replace','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x2b'),['\x22'+_0x37a290['remove']+'\x22','\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22'])});continue;}if(null!=_0x37a290[_0x1dd7('0x26')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'insertion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),_0x2e56bf(_0x17fed5,'ELEMENT_SPACE',_0x37a290['add'][_0x1dd7('0x29')]))});continue;}if(null!=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'deletion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),_0x2e56bf(_0x17fed5,_0x1dd7('0x2d'),_0x37a290[_0x1dd7('0x21')]['length']))});continue;}if(''!=_0x37a290[_0x1dd7('0x26')]){_0x4e747b['push']({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),'\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22')});continue;}_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),'\x22'+_0x37a290[_0x1dd7('0x21')]+'\x22')});continue;case _0x1dd7('0x33'):case _0x1dd7('0x1a'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case _0x1dd7('0x2f'):case _0x1dd7('0x16'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;case _0x1dd7('0x14'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x22'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case'removeContainer':_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0xc'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;}_0x4e747b[_0x1dd7('0xf')](_0x37a290);}return _0x4e747b;}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4011=['getSuggestions','TrackChanges','editor','plugins','getSuggestion','adapter','get','addSuggestion','addSuggestionData'];(function(_0x3de0dd,_0x4011ff){var _0x2cf131=function(_0x22532f){while(--_0x22532f){_0x3de0dd['push'](_0x3de0dd['shift']());}};_0x2cf131(++_0x4011ff);}(_0x4011,0x168));var _0x2cf1=function(_0x3de0dd,_0x4011ff){_0x3de0dd=_0x3de0dd-0x0;var _0x2cf131=_0x4011[_0x3de0dd];return _0x2cf131;};import{Plugin as _0x2850f5}from'ckeditor5/src/core';import _0x117ed2 from'./trackchangesui';import _0x28fd84 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class p extends _0x2850f5{static get['requires'](){return[_0x28fd84,_0x117ed2,'Comments'];}static get['pluginName'](){return _0x2cf1('0x1');}set[_0x2cf1('0x5')](_0x5a2c73){this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')]=_0x5a2c73;}get[_0x2cf1('0x5')](){return this['editor']['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')];}[_0x2cf1('0x7')](_0x575d34){return this[_0x2cf1('0x2')]['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x8')](_0x575d34);}[_0x2cf1('0x0')](_0x28326d){return this[_0x2cf1('0x2')][_0x2cf1('0x3')]['get'](_0x28fd84)[_0x2cf1('0x0')](_0x28326d);}[_0x2cf1('0x4')](_0x2175af){return this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)['getSuggestion'](_0x2175af);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x111b=['constructor','_adapter','RealTimeCollaborativeComments','destroy','createDocumentFragment','get','initialData','data','config','push','extraPlugins','map','RealTimeCollaborativeTrackChanges','toolbar','Users','getUser','define','includes','pluginName','end','appendChild','concat','addUser','getDataWithDiscardedSuggestions','acceptAllSuggestions','getDataWithAcceptedSuggestions','TrackChangesData','getSuggestions','result','from','RealTimeCollaborativeRevisionHistory','trackChangesData','init','set','editor','reduce','plugins','useAnonymousUser','add','track-changes-data-invalid-editor-creator','string','RealTimeCollaborativeEditing','users','builtinPlugins','filter','find','create','editorCreator','names','div','function','requires','TrackChangesEditing','Autosave','createElement'];(function(_0x88efa4,_0x111bc6){const _0x5e46a2=function(_0x407bc7){while(--_0x407bc7){_0x88efa4['push'](_0x88efa4['shift']());}};_0x5e46a2(++_0x111bc6);}(_0x111b,0x87));const _0x5e46=function(_0x88efa4,_0x111bc6){_0x88efa4=_0x88efa4-0x0;let _0x5e46a2=_0x111b[_0x88efa4];return _0x5e46a2;};import{Plugin as _0x53f296}from'ckeditor5/src/core';import{CKEditorError as _0x3504b6}from'ckeditor5/src/utils';import _0x4adca5 from'./trackchangesediting';const C=[_0x5e46('0x24'),'context',_0x5e46('0x2b')],k=[_0x5e46('0x10'),_0x5e46('0x20'),_0x5e46('0x2a'),_0x5e46('0x5'),_0x5e46('0x1c')];export default class T extends _0x53f296{static get['requires'](){return[_0x4adca5];}static get[_0x5e46('0x30')](){return _0x5e46('0x1');}[_0x5e46('0x7')](){const _0x2687dd=this['editor'];if(_0x2687dd[_0x5e46('0x26')][_0x5e46('0x2e')]('trackChangesData.editorCreator',_0x5d7b39=>_0x2687dd[_0x5e46('0x1e')][_0x5e46('0x15')]('',_0x5d7b39)),_0x5e46('0x19')!=typeof _0x2687dd[_0x5e46('0x26')][_0x5e46('0x23')]('trackChangesData')[_0x5e46('0x16')])throw new _0x3504b6(_0x5e46('0xe'));}[_0x5e46('0x0')](_0x21ab87){return v(this[_0x5e46('0x9')],!0x0,_0x21ab87);}[_0x5e46('0x35')](_0x391e35){return v(this['editor'],!0x1,_0x391e35);}}class D extends _0x53f296{static get[_0x5e46('0x30')](){return'TrackChangesDataGetter';}[_0x5e46('0x7')](){this[_0x5e46('0x3')]=_0x5e46('0x31'),this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')]('CommentsRepository')['_adapter']={'getCommentThread':()=>new Promise(()=>{})},this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x1f')]=null;}}async function v(_0x1be33,_0x12aff2,_0x2d7f4f){const _0x397bb2=function(_0x36daaf){const _0x14d989={};for(const _0x4d6fa8 of _0x36daaf[_0x5e46('0x26')][_0x5e46('0x17')]())C[_0x5e46('0x2f')](_0x4d6fa8)||(_0x14d989[_0x4d6fa8]=_0x36daaf['config']['get'](_0x4d6fa8));const _0x38bc27=_0x36daaf[_0x5e46('0x1e')][_0x5e46('0x12')]||[],_0x2f240d=_0x14d989['extraPlugins']||[];delete _0x14d989[_0x5e46('0x28')];const _0x54622f=_0x38bc27[_0x5e46('0x33')](_0x14d989[_0x5e46('0xb')])['concat'](_0x2f240d)['map'](_0x315b41=>_0x5e46('0xf')==typeof _0x315b41?_0x38bc27[_0x5e46('0x14')](_0x141988=>_0x141988[_0x5e46('0x30')]==_0x315b41):_0x315b41),_0x573472=Array[_0x5e46('0x4')](new Set(_0x54622f));return _0x14d989[_0x5e46('0xb')]=_0x573472[_0x5e46('0x13')](_0x2df8a0=>w(_0x2df8a0,new Set())),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](D),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](_0x4adca5),_0x14d989;}(_0x1be33),_0x27dae0=document[_0x5e46('0x22')](),_0x279f6a=_0x1be33['config'][_0x5e46('0x23')](_0x5e46('0x6'))[_0x5e46('0x16')],_0x4a4bd3=await _0x279f6a(_0x397bb2,()=>function(_0x54bfcb){const _0xfa6434=document[_0x5e46('0x1d')](_0x5e46('0x18'));return _0x54bfcb[_0x5e46('0x32')](_0xfa6434),_0xfa6434;}(_0x27dae0));!function(_0x240f23,_0x13657b){const _0x50fb0b=_0x240f23['model']['document']['getRootNames']()[_0x5e46('0xa')]((_0x590337,_0x3022e3)=>(_0x590337[_0x3022e3]=_0x240f23['data'][_0x5e46('0x23')]({'rootName':_0x3022e3}),_0x590337),{}),_0x31b071=_0x240f23['plugins']['get'](_0x5e46('0x2c'))[_0x5e46('0x11')][_0x5e46('0x29')](_0x10981f=>({'id':_0x10981f['id']})),_0x45b373=_0x240f23[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x2')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x473b46=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x2c')),_0x21e659=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')]('TrackChangesEditing');for(const _0x5188fe of _0x31b071)_0x473b46[_0x5e46('0x2d')](_0x5188fe['id'])||_0x473b46[_0x5e46('0x34')](_0x5188fe);_0x473b46['me']||_0x473b46[_0x5e46('0xc')]();for(const _0x512f8f of _0x45b373)_0x21e659['addSuggestionData'](_0x512f8f);_0x13657b['data'][_0x5e46('0x8')](_0x50fb0b);}(_0x1be33,_0x4a4bd3),_0x4a4bd3['execute'](_0x12aff2?_0x5e46('0x36'):'discardAllSuggestions');const _0x2758cb=_0x4a4bd3[_0x5e46('0x25')][_0x5e46('0x23')](_0x2d7f4f);return await _0x4a4bd3[_0x5e46('0x21')](),_0x2758cb;}function w(_0x3f1cf2,_0x895b29){if(_0x895b29['has'](_0x3f1cf2))return!0x0;_0x895b29[_0x5e46('0xd')](_0x3f1cf2);const _0x4e0448=_0x5e46('0x19')==typeof _0x3f1cf2?_0x3f1cf2[_0x5e46('0x30')]||_0x3f1cf2['name']:_0x3f1cf2;return(!_0x4e0448||!k[_0x5e46('0x2f')](_0x4e0448))&&(!_0x3f1cf2['requires']||_0x3f1cf2[_0x5e46('0x1a')]['every'](_0x44eb90=>w(_0x44eb90,_0x895b29)));}
|