@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240604.0 → 0.0.0-nightly-20240604.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/README.md +6 -0
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/suggestion.d.ts +1 -1
- package/dist/types/ui/suggestioncontroller.d.ts +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.d.ts +1 -1
- package/src/suggestion.js +2 -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.d.ts +1 -1
- package/src/ui/suggestioncontroller.js +2 -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/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ae1f2=_0x30f8;(function(_0x36df45,_0xc73e27){const _0x10102f=_0x30f8,_0x2ef028=_0x36df45();while(!![]){try{const _0x1784ed=parseInt(_0x10102f(0xb5))/0x1+parseInt(_0x10102f(0xa9))/0x2*(-parseInt(_0x10102f(0x6b))/0x3)+-parseInt(_0x10102f(0x65))/0x4+-parseInt(_0x10102f(0x9e))/0x5+parseInt(_0x10102f(0x8f))/0x6*(parseInt(_0x10102f(0x84))/0x7)+-parseInt(_0x10102f(0xc1))/0x8+parseInt(_0x10102f(0xab))/0x9;if(_0x1784ed===_0xc73e27)break;else _0x2ef028['push'](_0x2ef028['shift']());}catch(_0x320326){_0x2ef028['push'](_0x2ef028['shift']());}}}(_0x520e,0x19d06));import{Plugin as _0x328032}from'ckeditor5/src/core.js';import _0x5c6d70 from'./table.js';function _0x30f8(_0x33eb21,_0x2d8b82){const _0x520eef=_0x520e();return _0x30f8=function(_0x30f82e,_0x10ad23){_0x30f82e=_0x30f82e-0x64;let _0x2356bc=_0x520eef[_0x30f82e];return _0x2356bc;},_0x30f8(_0x33eb21,_0x2d8b82);}import{LiveRange as _0x8d8efb}from'ckeditor5/src/engine.js';function _0x520e(){const _0x14bd2f=['formatInline','257410cnAgya','_tablePostFixingSubtypes','cell','getSuggestions','getFirstPosition','getAncestors','markBlockFormat','execute','detach','author','type','5362GXQhZK','createRangeOn','2932353PmRPUg','low','setSelection','getRanges','element','locale','afterInit','requires','change','filter','29368dioEOt','commandName','findAncestor','map','_areMergableCells','getCellLocation','value','length','_suggestionFactory','document','formatBlock','direction','884352yZDkvY','editor','root','markMultiRangeBlockFormat','tableCell','forceDefaultExecution','593724IPwezR','trackChanges','registerDescriptionCallback','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically','isEnabled','39kXdjAC','TableEditing','push','highest','enableCommand','add','accept','plugins','size','refresh','table','splitTableCellVertically','isInContent','containsRange','model','_isForcedDefaultExecutionBlock','$graveyard','splitTableCellHorizontally','createTableWalker','selection','descriptionFactory','horizontally','format','TableUtils','_areSelectedCellsMergable','671013Wqeeie','find','return','set:isEnabled','mergeTableCells','deletion','*Merge\x20cells*','_acceptFormatSuggestionCallbackFactory','registerCustomCallback','mergeTableCellRight','mergeTableCellUp','6sKyuhp','mergeTableCellDown','rootName','insertion','subType','has','commands','get','stop','TrackChangesEditing','from','*Split\x20cell:*\x20horizontally','mergeTableCellLeft','fromRange'];_0x520e=function(){return _0x14bd2f;};return _0x520e();}import{getTranslation as _0x4125a9}from'../utils/common-translations.js';export default class St extends _0x328032{static get[_0x4ae1f2(0xb2)](){return[_0x5c6d70];}[_0x4ae1f2(0xb1)](){const _0x1d7bd3=_0x4ae1f2,_0x5e2f19=this[_0x1d7bd3(0xc2)],_0x43b95d=_0x5e2f19[_0x1d7bd3(0x79)][_0x1d7bd3(0xbe)][_0x1d7bd3(0x7e)],_0x20d706=_0x5e2f19[_0x1d7bd3(0xb0)];if(!_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x94)](_0x1d7bd3(0x6c)))return;const _0x45894a=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x1d7bd3(0x98)),_0x1739b9=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x1d7bd3(0x82)),_0x4413bf=_0x5e2f19[_0x1d7bd3(0x72)][_0x1d7bd3(0x96)](_0x5c6d70);_0x4413bf[_0x1d7bd3(0x9f)][_0x1d7bd3(0x6d)](_0x1d7bd3(0x88)),_0x45894a[_0x1d7bd3(0x6f)](_0x1d7bd3(0x88),()=>{const _0x24a487=_0x1d7bd3,_0x149b58=_0x1739b9[_0x24a487(0x68)](_0x5e2f19[_0x24a487(0x79)][_0x24a487(0xbe)][_0x24a487(0x7e)]);_0x5e2f19[_0x24a487(0x79)][_0x24a487(0xb3)](()=>{const _0x384378=_0x24a487;_0x45894a[_0x384378(0xc4)](_0x149b58,{'commandName':_0x384378(0x88),'commandParams':[]},[],_0x384378(0x88));});}),_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x1d7bd3(0x88))['on'](_0x1d7bd3(0xa5),(_0xf85fef,_0x34362d)=>{const _0x171b36=_0x1d7bd3;_0x5e2f19[_0x171b36(0x95)][_0x171b36(0x96)](_0x171b36(0x66))[_0x171b36(0xbb)]&&(_0x34362d[_0x171b36(0xbc)]>0x0&&_0x34362d[_0x34362d[_0x171b36(0xbc)]-0x1]&&_0x34362d[_0x34362d[_0x171b36(0xbc)]-0x1][_0x171b36(0x64)]||_0x45894a[_0x171b36(0x7a)]||this[_0x171b36(0x83)]()||_0xf85fef[_0x171b36(0x97)]());},{'priority':_0x1d7bd3(0x6e)});for(const _0x5ccb4e of[_0x1d7bd3(0x8e),_0x1d7bd3(0x8d),_0x1d7bd3(0x90),_0x1d7bd3(0x9b)]){const _0x809aac=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x5ccb4e);_0x45894a[_0x1d7bd3(0x6f)](_0x5ccb4e,()=>{const _0x4c5302=_0x1d7bd3,_0x434703=_0x5e2f19[_0x4c5302(0x79)][_0x4c5302(0xbe)][_0x4c5302(0x7e)][_0x4c5302(0xa2)]()[_0x4c5302(0xa3)]()[_0x4c5302(0x85)](_0x208f07=>_0x208f07['is'](_0x4c5302(0xaf),_0x4c5302(0xc5))),_0x557468=_0x809aac[_0x4c5302(0xbb)];_0x5e2f19[_0x4c5302(0x79)][_0x4c5302(0xb3)](()=>{const _0x585653=_0x4c5302;_0x45894a[_0x585653(0xc4)]([_0x434703,_0x557468],{'commandName':_0x585653(0x88),'commandParams':[]},[],_0x585653(0x88));});});}for(const _0x358e45 of[_0x1d7bd3(0x76),_0x1d7bd3(0x7c)]){const _0xf8b016=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x358e45);_0x45894a[_0x1d7bd3(0x6f)](_0x358e45,()=>{const _0x5d9a13=_0x1d7bd3,_0x4ceac4=_0x1739b9[_0x5d9a13(0x68)](_0x5e2f19[_0x5d9a13(0x79)][_0x5d9a13(0xbe)][_0x5d9a13(0x7e)])[0x0],_0x11f8ed=_0x4ceac4[_0x5d9a13(0xb7)](_0x5d9a13(0x75)),{column:_0x1ab6b4,row:_0x1e67e6}=_0x1739b9[_0x5d9a13(0xba)](_0x4ceac4);let _0x2e1447=[];if(_0x5d9a13(0x80)==_0xf8b016[_0x5d9a13(0xc0)]){const _0x58d5e0=_0x1739b9[_0x5d9a13(0x7d)](_0x11f8ed,{'startRow':_0x1e67e6,'endRow':_0x1e67e6,'includeAllSlots':!0x0});_0x2e1447=Array[_0x5d9a13(0x99)](_0x58d5e0)[_0x5d9a13(0xb8)](_0x2c4577=>_0x2c4577[_0x5d9a13(0xa0)]);}else{const _0x2910d0=_0x1739b9[_0x5d9a13(0x7d)](_0x11f8ed,{'column':_0x1ab6b4,'includeAllSlots':!0x0});_0x2e1447=Array[_0x5d9a13(0x99)](_0x2910d0)[_0x5d9a13(0xb8)](_0x338ce5=>_0x338ce5[_0x5d9a13(0xa0)]);}_0x5e2f19[_0x5d9a13(0x79)][_0x5d9a13(0xb3)](_0x51e33a=>{const _0x339f7f=_0x5d9a13;_0x45894a[_0x339f7f(0xa4)](_0x51e33a[_0x339f7f(0xaa)](_0x4ceac4),{'commandName':_0x358e45,'commandParams':[]},_0x2e1447,_0x358e45);});});}_0x45894a[_0x1d7bd3(0x7f)][_0x1d7bd3(0x67)](_0x25f901=>{const _0x1fabbb=_0x1d7bd3;if(_0x1fabbb(0xbf)!=_0x25f901[_0x1fabbb(0xa8)]&&_0x1fabbb(0x9d)!=_0x25f901[_0x1fabbb(0xa8)])return;const {data:_0x331fa5}=_0x25f901;return _0x331fa5&&_0x1fabbb(0x88)==_0x331fa5[_0x1fabbb(0xb6)]?{'type':_0x1fabbb(0x81),'content':_0x4125a9(_0x20d706,_0x1fabbb(0x8a))}:void 0x0;}),_0x45894a[_0x1d7bd3(0x7f)][_0x1d7bd3(0x67)](_0x13225a=>{const _0x40ee96=_0x1d7bd3;if(_0x40ee96(0xbf)!=_0x13225a[_0x40ee96(0xa8)]&&_0x40ee96(0x9d)!=_0x13225a[_0x40ee96(0xa8)])return;const {data:_0x14c73e}=_0x13225a;return _0x14c73e?_0x40ee96(0x76)==_0x14c73e[_0x40ee96(0xb6)]?{'type':_0x40ee96(0x81),'content':_0x4125a9(_0x20d706,_0x40ee96(0x69))}:_0x40ee96(0x7c)==_0x14c73e[_0x40ee96(0xb6)]?{'type':_0x40ee96(0x81),'content':_0x4125a9(_0x20d706,_0x40ee96(0x9a))}:void 0x0:void 0x0;});const _0x112773=_0x4413bf[_0x1d7bd3(0x8b)]();for(const _0x68131a of[_0x1d7bd3(0x8e),_0x1d7bd3(0x8d),_0x1d7bd3(0x90),_0x1d7bd3(0x9b)])_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x68131a,_0x1d7bd3(0x71),_0x112773);for(const _0x6cc902 of[_0x1d7bd3(0x76),_0x1d7bd3(0x7c)])_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x6cc902,_0x1d7bd3(0x71),_0x112773);_0x45894a[_0x1d7bd3(0xbd)][_0x1d7bd3(0x8c)](_0x1d7bd3(0xbf),_0x1d7bd3(0x88),_0x1d7bd3(0x71),_0x1f1c01=>{const _0x452fc6=_0x1d7bd3;_0x5e2f19[_0x452fc6(0x79)][_0x452fc6(0xb3)](_0x4c52ad=>{const _0x5dbe36=_0x452fc6,_0x59d340=Array[_0x5dbe36(0x99)](_0x43b95d[_0x5dbe36(0xae)]())[_0x5dbe36(0xb8)](_0x403024=>_0x8d8efb[_0x5dbe36(0x9c)](_0x403024));_0x4c52ad[_0x5dbe36(0xad)](_0x1f1c01),_0x5e2f19[_0x5dbe36(0x95)][_0x5dbe36(0x96)](_0x5dbe36(0x88))[_0x5dbe36(0x74)](),_0x5e2f19[_0x5dbe36(0xa5)](_0x5dbe36(0x88),{'forceDefaultExecution':!0x0});const _0x5c72d6=_0x59d340[_0x5dbe36(0xb4)](_0x353048=>_0x5dbe36(0x7b)!=_0x353048[_0x5dbe36(0xc3)][_0x5dbe36(0x91)]);_0x5c72d6[_0x5dbe36(0xbc)]>0x0&&_0x4c52ad[_0x5dbe36(0xad)](_0x5c72d6);for(const _0xb89ce0 of _0x59d340)_0xb89ce0[_0x5dbe36(0xa6)]();});});for(const _0x201dd7 of[_0x1d7bd3(0x8e),_0x1d7bd3(0x90),_0x1d7bd3(0x9b),_0x1d7bd3(0x8d)]){const _0xdf9947=_0x5e2f19[_0x1d7bd3(0x95)][_0x1d7bd3(0x96)](_0x201dd7);_0xdf9947['on'](_0x1d7bd3(0x87),(_0xa3cd0d,_0x5bb1ec,_0x2208c8)=>{const _0x5afa9e=_0x1d7bd3;if(_0x2208c8){const _0x31876e=_0x5e2f19[_0x5afa9e(0x79)][_0x5afa9e(0xbe)][_0x5afa9e(0x7e)][_0x5afa9e(0xa2)]()[_0x5afa9e(0xa3)]()[_0x5afa9e(0x85)](_0x30b553=>_0x30b553['is'](_0x5afa9e(0xaf),_0x5afa9e(0xc5)));this[_0x5afa9e(0xb9)](_0xdf9947[_0x5afa9e(0xbb)],_0x31876e)||(_0xa3cd0d[_0x5afa9e(0x86)]=!0x1,_0xa3cd0d[_0x5afa9e(0x97)]());}},{'priority':_0x1d7bd3(0xac)});}}[_0x4ae1f2(0x83)](){const _0x5550ae=_0x4ae1f2,_0x3371d3=this[_0x5550ae(0xc2)][_0x5550ae(0x95)][_0x5550ae(0x96)](_0x5550ae(0x88)),_0x17b235=this[_0x5550ae(0xc2)][_0x5550ae(0x72)][_0x5550ae(0x96)](_0x5550ae(0x82));if(!_0x3371d3[_0x5550ae(0x6a)])return!0x1;const _0x25db2c=_0x17b235[_0x5550ae(0x68)](this[_0x5550ae(0xc2)][_0x5550ae(0x79)][_0x5550ae(0xbe)][_0x5550ae(0x7e)]);for(const _0x130700 of _0x25db2c)for(const _0x4de37d of _0x25db2c)if(_0x130700!=_0x4de37d&&!this[_0x5550ae(0xb9)](_0x130700,_0x4de37d))return!0x1;return!0x0;}[_0x4ae1f2(0xb9)](_0x24cbb1,_0x2fc3f4){const _0x5ea318=_0x4ae1f2,_0x8188e0=this[_0x5ea318(0xc2)][_0x5ea318(0x72)][_0x5ea318(0x96)](_0x5ea318(0x98)),_0xa52239=this[_0x5ea318(0xc2)][_0x5ea318(0x79)][_0x5ea318(0xaa)](_0x24cbb1),_0x93374a=this[_0x5ea318(0xc2)][_0x5ea318(0x79)][_0x5ea318(0xaa)](_0x2fc3f4),_0x2673ef=new Set(),_0x19e374=new Set();for(const _0x33e8f6 of _0x8188e0[_0x5ea318(0xa1)]())if((_0x5ea318(0x92)==_0x33e8f6[_0x5ea318(0xa8)]||_0x5ea318(0x89)==_0x33e8f6[_0x5ea318(0xa8)]||_0x5ea318(0x88)==_0x33e8f6[_0x5ea318(0x93)])&&_0x33e8f6[_0x5ea318(0x77)]){for(const _0x55bef6 of _0x33e8f6[_0x5ea318(0xae)]())_0x55bef6[_0x5ea318(0x78)](_0xa52239,!0x0)&&_0x2673ef[_0x5ea318(0x70)](_0x33e8f6[_0x5ea318(0xa8)]+':'+_0x33e8f6[_0x5ea318(0xa7)]['id']),_0x55bef6[_0x5ea318(0x78)](_0x93374a,!0x0)&&_0x19e374[_0x5ea318(0x70)](_0x33e8f6[_0x5ea318(0xa8)]+':'+_0x33e8f6[_0x5ea318(0xa7)]['id']);}if(_0x2673ef[_0x5ea318(0x73)]!=_0x19e374[_0x5ea318(0x73)])return!0x1;for(const _0x450982 of _0x2673ef)if(!_0x19e374[_0x5ea318(0x94)](_0x450982))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x1ecc15=_0xd92f;(function(_0x1e9d99,_0x41f219){const _0x167849=_0xd92f,_0x291fd0=_0x1e9d99();while(!![]){try{const _0x5f2368=-parseInt(_0x167849(0x157))/0x1*(parseInt(_0x167849(0x170))/0x2)+-parseInt(_0x167849(0x15d))/0x3*(parseInt(_0x167849(0x193))/0x4)+-parseInt(_0x167849(0x168))/0x5+-parseInt(_0x167849(0x16f))/0x6*(parseInt(_0x167849(0x167))/0x7)+parseInt(_0x167849(0x181))/0x8*(-parseInt(_0x167849(0x14b))/0x9)+-parseInt(_0x167849(0x15c))/0xa*(parseInt(_0x167849(0x1a3))/0xb)+parseInt(_0x167849(0x198))/0xc;if(_0x5f2368===_0x41f219)break;else _0x291fd0['push'](_0x291fd0['shift']());}catch(_0x25be37){_0x291fd0['push'](_0x291fd0['shift']());}}}(_0x3b13,0x5d2cf));import{Plugin as _0x37c063}from'ckeditor5/src/core.js';import _0x3c5b00 from'./table.js';import{LiveRange as _0x1443ae}from'ckeditor5/src/engine.js';function _0xd92f(_0x42adf9,_0x59846f){const _0x3b13a7=_0x3b13();return _0xd92f=function(_0xd92f4b,_0x20b4f7){_0xd92f4b=_0xd92f4b-0x147;let _0x14a676=_0x3b13a7[_0xd92f4b];return _0x14a676;},_0xd92f(_0x42adf9,_0x59846f);}import{getTranslation as _0x5e5232}from'../utils/common-translations.js';function _0x3b13(){const _0x39c01e=['get','editor','registerDescriptionCallback','mergeTableCellRight','8YCuBiN','splitTableCellVertically','highest','detach','commandName','from','value','isInContent','TrackChangesEditing','markMultiRangeBlockFormat','direction','length','$graveyard','*Split\x20cell:*\x20vertically','findAncestor','mergeTableCellUp','low','enableCommand','712860CrCQvc','mergeTableCellDown','find','getSelectionAffectedTableCells','TableEditing','28856052SOVAFY','splitTableCellHorizontally','forceDefaultExecution','getRanges','mergeTableCellLeft','markBlockFormat','createRangeOn','format','size','rootName','has','10417PMReAU','_suggestionFactory','plugins','map','TableUtils','getCellLocation','element','document','set:isEnabled','add','descriptionFactory','cell','getSuggestions','97182pIzwWq','mergeTableCells','formatInline','selection','change','containsRange','*Merge\x20cells*','accept','_tablePostFixingSubtypes','table','subType','requires','413606YsKvKy','setSelection','afterInit','author','fromRange','1970iBOEyd','9zSNLdk','tableCell','return','createTableWalker','getFirstPosition','stop','root','refresh','filter','isEnabled','4299043MACLOS','1316335nXRxsA','model','commands','execute','_acceptFormatSuggestionCallbackFactory','getAncestors','_isForcedDefaultExecutionBlock','6gboskX','2VcDSln','deletion','push','registerCustomCallback','_areMergableCells','type','formatBlock','insertion','*Split\x20cell:*\x20horizontally','locale','horizontally','trackChanges','_areSelectedCellsMergable'];_0x3b13=function(){return _0x39c01e;};return _0x3b13();}export default class St extends _0x37c063{static get[_0x1ecc15(0x156)](){return[_0x3c5b00];}[_0x1ecc15(0x159)](){const _0x3696d8=_0x1ecc15,_0x3737e0=this[_0x3696d8(0x17e)],_0xe3bf27=_0x3737e0[_0x3696d8(0x169)][_0x3696d8(0x1aa)][_0x3696d8(0x14e)],_0x37b9fa=_0x3737e0[_0x3696d8(0x179)];if(!_0x3737e0[_0x3696d8(0x1a5)][_0x3696d8(0x1a2)](_0x3696d8(0x197)))return;const _0x2e4309=_0x3737e0[_0x3696d8(0x1a5)][_0x3696d8(0x17d)](_0x3696d8(0x189)),_0x44155d=_0x3737e0[_0x3696d8(0x1a5)][_0x3696d8(0x17d)](_0x3696d8(0x1a7)),_0x49266a=_0x3737e0[_0x3696d8(0x1a5)][_0x3696d8(0x17d)](_0x3c5b00);_0x49266a[_0x3696d8(0x153)][_0x3696d8(0x172)](_0x3696d8(0x14c)),_0x2e4309[_0x3696d8(0x192)](_0x3696d8(0x14c),()=>{const _0x51ff13=_0x3696d8,_0xab685e=_0x44155d[_0x51ff13(0x196)](_0x3737e0[_0x51ff13(0x169)][_0x51ff13(0x1aa)][_0x51ff13(0x14e)]);_0x3737e0[_0x51ff13(0x169)][_0x51ff13(0x14f)](()=>{const _0x4537bf=_0x51ff13;_0x2e4309[_0x4537bf(0x18a)](_0xab685e,{'commandName':_0x4537bf(0x14c),'commandParams':[]},[],_0x4537bf(0x14c));});}),_0x3737e0[_0x3696d8(0x16a)][_0x3696d8(0x17d)](_0x3696d8(0x14c))['on'](_0x3696d8(0x16b),(_0x4adc08,_0x49d7a9)=>{const _0x396f73=_0x3696d8;_0x3737e0[_0x396f73(0x16a)][_0x396f73(0x17d)](_0x396f73(0x17b))[_0x396f73(0x187)]&&(_0x49d7a9[_0x396f73(0x18c)]>0x0&&_0x49d7a9[_0x49d7a9[_0x396f73(0x18c)]-0x1]&&_0x49d7a9[_0x49d7a9[_0x396f73(0x18c)]-0x1][_0x396f73(0x19a)]||_0x2e4309[_0x396f73(0x16e)]||this[_0x396f73(0x17c)]()||_0x4adc08[_0x396f73(0x162)]());},{'priority':_0x3696d8(0x183)});for(const _0x3ae22e of[_0x3696d8(0x190),_0x3696d8(0x180),_0x3696d8(0x194),_0x3696d8(0x19c)]){const _0x262eb3=_0x3737e0[_0x3696d8(0x16a)][_0x3696d8(0x17d)](_0x3ae22e);_0x2e4309[_0x3696d8(0x192)](_0x3ae22e,()=>{const _0x177dcf=_0x3696d8,_0x1892ae=_0x3737e0[_0x177dcf(0x169)][_0x177dcf(0x1aa)][_0x177dcf(0x14e)][_0x177dcf(0x161)]()[_0x177dcf(0x16d)]()[_0x177dcf(0x195)](_0x3b7027=>_0x3b7027['is'](_0x177dcf(0x1a9),_0x177dcf(0x15e))),_0x5ce185=_0x262eb3[_0x177dcf(0x187)];_0x3737e0[_0x177dcf(0x169)][_0x177dcf(0x14f)](()=>{const _0x25f8ce=_0x177dcf;_0x2e4309[_0x25f8ce(0x18a)]([_0x1892ae,_0x5ce185],{'commandName':_0x25f8ce(0x14c),'commandParams':[]},[],_0x25f8ce(0x14c));});});}for(const _0x198fd0 of[_0x3696d8(0x182),_0x3696d8(0x199)]){const _0x12f18a=_0x3737e0[_0x3696d8(0x16a)][_0x3696d8(0x17d)](_0x198fd0);_0x2e4309[_0x3696d8(0x192)](_0x198fd0,()=>{const _0x2f805a=_0x3696d8,_0x50b77d=_0x44155d[_0x2f805a(0x196)](_0x3737e0[_0x2f805a(0x169)][_0x2f805a(0x1aa)][_0x2f805a(0x14e)])[0x0],_0x148adf=_0x50b77d[_0x2f805a(0x18f)](_0x2f805a(0x154)),{column:_0x416c59,row:_0x5c6aec}=_0x44155d[_0x2f805a(0x1a8)](_0x50b77d);let _0x47130b=[];if(_0x2f805a(0x17a)==_0x12f18a[_0x2f805a(0x18b)]){const _0xf83429=_0x44155d[_0x2f805a(0x160)](_0x148adf,{'startRow':_0x5c6aec,'endRow':_0x5c6aec,'includeAllSlots':!0x0});_0x47130b=Array[_0x2f805a(0x186)](_0xf83429)[_0x2f805a(0x1a6)](_0xc229fd=>_0xc229fd[_0x2f805a(0x149)]);}else{const _0x22dbe2=_0x44155d[_0x2f805a(0x160)](_0x148adf,{'column':_0x416c59,'includeAllSlots':!0x0});_0x47130b=Array[_0x2f805a(0x186)](_0x22dbe2)[_0x2f805a(0x1a6)](_0x512eb9=>_0x512eb9[_0x2f805a(0x149)]);}_0x3737e0[_0x2f805a(0x169)][_0x2f805a(0x14f)](_0x4d8293=>{const _0x5c0851=_0x2f805a;_0x2e4309[_0x5c0851(0x19d)](_0x4d8293[_0x5c0851(0x19e)](_0x50b77d),{'commandName':_0x198fd0,'commandParams':[]},_0x47130b,_0x198fd0);});});}_0x2e4309[_0x3696d8(0x148)][_0x3696d8(0x17f)](_0x120056=>{const _0x53ffea=_0x3696d8;if(_0x53ffea(0x176)!=_0x120056[_0x53ffea(0x175)]&&_0x53ffea(0x14d)!=_0x120056[_0x53ffea(0x175)])return;const {data:_0x2be634}=_0x120056;return _0x2be634&&_0x53ffea(0x14c)==_0x2be634[_0x53ffea(0x185)]?{'type':_0x53ffea(0x19f),'content':_0x5e5232(_0x37b9fa,_0x53ffea(0x151))}:void 0x0;}),_0x2e4309[_0x3696d8(0x148)][_0x3696d8(0x17f)](_0x4f6a95=>{const _0x1b438b=_0x3696d8;if(_0x1b438b(0x176)!=_0x4f6a95[_0x1b438b(0x175)]&&_0x1b438b(0x14d)!=_0x4f6a95[_0x1b438b(0x175)])return;const {data:_0x4a8638}=_0x4f6a95;return _0x4a8638?_0x1b438b(0x182)==_0x4a8638[_0x1b438b(0x185)]?{'type':_0x1b438b(0x19f),'content':_0x5e5232(_0x37b9fa,_0x1b438b(0x18e))}:_0x1b438b(0x199)==_0x4a8638[_0x1b438b(0x185)]?{'type':_0x1b438b(0x19f),'content':_0x5e5232(_0x37b9fa,_0x1b438b(0x178))}:void 0x0:void 0x0;});const _0x5aee60=_0x49266a[_0x3696d8(0x16c)]();for(const _0xaaec29 of[_0x3696d8(0x190),_0x3696d8(0x180),_0x3696d8(0x194),_0x3696d8(0x19c)])_0x2e4309[_0x3696d8(0x1a4)][_0x3696d8(0x173)](_0x3696d8(0x176),_0xaaec29,_0x3696d8(0x152),_0x5aee60);for(const _0x496c39 of[_0x3696d8(0x182),_0x3696d8(0x199)])_0x2e4309[_0x3696d8(0x1a4)][_0x3696d8(0x173)](_0x3696d8(0x176),_0x496c39,_0x3696d8(0x152),_0x5aee60);_0x2e4309[_0x3696d8(0x1a4)][_0x3696d8(0x173)](_0x3696d8(0x176),_0x3696d8(0x14c),_0x3696d8(0x152),_0x5422be=>{const _0x2db900=_0x3696d8;_0x3737e0[_0x2db900(0x169)][_0x2db900(0x14f)](_0x11d8e2=>{const _0x2fddb7=_0x2db900,_0x580ad2=Array[_0x2fddb7(0x186)](_0xe3bf27[_0x2fddb7(0x19b)]())[_0x2fddb7(0x1a6)](_0x3b44f3=>_0x1443ae[_0x2fddb7(0x15b)](_0x3b44f3));_0x11d8e2[_0x2fddb7(0x158)](_0x5422be),_0x3737e0[_0x2fddb7(0x16a)][_0x2fddb7(0x17d)](_0x2fddb7(0x14c))[_0x2fddb7(0x164)](),_0x3737e0[_0x2fddb7(0x16b)](_0x2fddb7(0x14c),{'forceDefaultExecution':!0x0});const _0x249943=_0x580ad2[_0x2fddb7(0x165)](_0x4e6827=>_0x2fddb7(0x18d)!=_0x4e6827[_0x2fddb7(0x163)][_0x2fddb7(0x1a1)]);_0x249943[_0x2fddb7(0x18c)]>0x0&&_0x11d8e2[_0x2fddb7(0x158)](_0x249943);for(const _0x483308 of _0x580ad2)_0x483308[_0x2fddb7(0x184)]();});});for(const _0x2ce380 of[_0x3696d8(0x190),_0x3696d8(0x194),_0x3696d8(0x19c),_0x3696d8(0x180)]){const _0x3139d6=_0x3737e0[_0x3696d8(0x16a)][_0x3696d8(0x17d)](_0x2ce380);_0x3139d6['on'](_0x3696d8(0x1ab),(_0x17d74f,_0x59bd4b,_0x2bca29)=>{const _0x38544d=_0x3696d8;if(_0x2bca29){const _0x18458f=_0x3737e0[_0x38544d(0x169)][_0x38544d(0x1aa)][_0x38544d(0x14e)][_0x38544d(0x161)]()[_0x38544d(0x16d)]()[_0x38544d(0x195)](_0x4fd55d=>_0x4fd55d['is'](_0x38544d(0x1a9),_0x38544d(0x15e)));this[_0x38544d(0x174)](_0x3139d6[_0x38544d(0x187)],_0x18458f)||(_0x17d74f[_0x38544d(0x15f)]=!0x1,_0x17d74f[_0x38544d(0x162)]());}},{'priority':_0x3696d8(0x191)});}}[_0x1ecc15(0x17c)](){const _0x278286=_0x1ecc15,_0x515101=this[_0x278286(0x17e)][_0x278286(0x16a)][_0x278286(0x17d)](_0x278286(0x14c)),_0x4b6fae=this[_0x278286(0x17e)][_0x278286(0x1a5)][_0x278286(0x17d)](_0x278286(0x1a7));if(!_0x515101[_0x278286(0x166)])return!0x1;const _0x5ecf2c=_0x4b6fae[_0x278286(0x196)](this[_0x278286(0x17e)][_0x278286(0x169)][_0x278286(0x1aa)][_0x278286(0x14e)]);for(const _0x247e47 of _0x5ecf2c)for(const _0x17d4dd of _0x5ecf2c)if(_0x247e47!=_0x17d4dd&&!this[_0x278286(0x174)](_0x247e47,_0x17d4dd))return!0x1;return!0x0;}[_0x1ecc15(0x174)](_0x3967ed,_0x3cae06){const _0x5eb59d=_0x1ecc15,_0x430ead=this[_0x5eb59d(0x17e)][_0x5eb59d(0x1a5)][_0x5eb59d(0x17d)](_0x5eb59d(0x189)),_0x51286e=this[_0x5eb59d(0x17e)][_0x5eb59d(0x169)][_0x5eb59d(0x19e)](_0x3967ed),_0x2afe55=this[_0x5eb59d(0x17e)][_0x5eb59d(0x169)][_0x5eb59d(0x19e)](_0x3cae06),_0x2898ad=new Set(),_0x31437d=new Set();for(const _0x5a1edf of _0x430ead[_0x5eb59d(0x14a)]())if((_0x5eb59d(0x177)==_0x5a1edf[_0x5eb59d(0x175)]||_0x5eb59d(0x171)==_0x5a1edf[_0x5eb59d(0x175)]||_0x5eb59d(0x14c)==_0x5a1edf[_0x5eb59d(0x155)])&&_0x5a1edf[_0x5eb59d(0x188)]){for(const _0x3c09cc of _0x5a1edf[_0x5eb59d(0x19b)]())_0x3c09cc[_0x5eb59d(0x150)](_0x51286e,!0x0)&&_0x2898ad[_0x5eb59d(0x147)](_0x5a1edf[_0x5eb59d(0x175)]+':'+_0x5a1edf[_0x5eb59d(0x15a)]['id']),_0x3c09cc[_0x5eb59d(0x150)](_0x2afe55,!0x0)&&_0x31437d[_0x5eb59d(0x147)](_0x5a1edf[_0x5eb59d(0x175)]+':'+_0x5a1edf[_0x5eb59d(0x15a)]['id']);}if(_0x2898ad[_0x5eb59d(0x1a0)]!=_0x31437d[_0x5eb59d(0x1a0)])return!0x1;for(const _0x24571a of _0x2898ad)if(!_0x31437d[_0x5eb59d(0x1a2)](_0x24571a))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd0680e=_0x376b;(function(_0x274b31,_0x227497){const _0x54f74b=_0x376b,_0x2a9f1a=_0x274b31();while(!![]){try{const _0x13ae3e=-parseInt(_0x54f74b(0x18a))/0x1+parseInt(_0x54f74b(0x189))/0x2*(-parseInt(_0x54f74b(0x182))/0x3)+parseInt(_0x54f74b(0x185))/0x4*(parseInt(_0x54f74b(0x187))/0x5)+-parseInt(_0x54f74b(0x177))/0x6*(parseInt(_0x54f74b(0x17b))/0x7)+parseInt(_0x54f74b(0x17e))/0x8+parseInt(_0x54f74b(0x186))/0x9+parseInt(_0x54f74b(0x188))/0xa;if(_0x13ae3e===_0x227497)break;else _0x2a9f1a['push'](_0x2a9f1a['shift']());}catch(_0xbad82f){_0x2a9f1a['push'](_0x2a9f1a['shift']());}}}(_0x38db,0x36cc9));function _0x376b(_0xc9e9e8,_0x589e84){const _0x38db8f=_0x38db();return _0x376b=function(_0x376b0f,_0x3f751b){_0x376b0f=_0x376b0f-0x176;let _0x118850=_0x38db8f[_0x376b0f];return _0x118850;},_0x376b(_0xc9e9e8,_0x589e84);}import{Plugin as _0x2efd8b}from'ckeditor5/src/core.js';import{getTranslation as _0x2ba812}from'../utils/common-translations.js';export default class _t extends _0x2efd8b{[_0xd0680e(0x176)](){const _0x2f42dd=_0xd0680e,_0x47abf0=this[_0x2f42dd(0x17c)];if(!_0x47abf0[_0x2f42dd(0x183)][_0x2f42dd(0x184)](_0x2f42dd(0x17d)))return;_0x47abf0[_0x2f42dd(0x180)][_0x2f42dd(0x184)](_0x2f42dd(0x178))[_0x2f42dd(0x17a)](_0x2f42dd(0x17d));const _0x595d40=_0x47abf0[_0x2f42dd(0x180)][_0x2f42dd(0x184)](_0x2f42dd(0x178)),_0x150e6f=_0x47abf0[_0x2f42dd(0x18b)];_0x595d40[_0x2f42dd(0x179)][_0x2f42dd(0x18c)](_0x2f42dd(0x17f),_0x4d0948=>_0x2ba812(_0x150e6f,_0x2f42dd(0x181),_0x4d0948));}}function _0x38db(){const _0x4ecd3b=['877342pFcnKq','38731BUUqzN','locale','registerElementLabel','afterInit','6hSFqvX','TrackChangesEditing','descriptionFactory','enableCommand','1543808wTrMhX','editor','insertTableOfContents','1063104AaHKLY','tableOfContents','plugins','ELEMENT_TABLE_OF_CONTENTS','3xYMXnJ','commands','get','7636FfWzeu','2222271OBppwl','345NvoDRF','4108750OPLxik'];_0x38db=function(){return _0x4ecd3b;};return _0x38db();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2beec5=_0x5efe;function _0x5efe(_0x1e7a42,_0x4ddc22){const _0x448b68=_0x448b();return _0x5efe=function(_0x5efea5,_0x2757e3){_0x5efea5=_0x5efea5-0xc9;let _0x595b0a=_0x448b68[_0x5efea5];return _0x595b0a;},_0x5efe(_0x1e7a42,_0x4ddc22);}(function(_0x13362f,_0x1efd0f){const _0x4aec14=_0x5efe,_0xa13069=_0x13362f();while(!![]){try{const _0x2d6cfb=-parseInt(_0x4aec14(0xe9))/0x1+parseInt(_0x4aec14(0xf0))/0x2*(-parseInt(_0x4aec14(0xfb))/0x3)+-parseInt(_0x4aec14(0xde))/0x4*(-parseInt(_0x4aec14(0xeb))/0x5)+-parseInt(_0x4aec14(0xe3))/0x6*(-parseInt(_0x4aec14(0xe0))/0x7)+parseInt(_0x4aec14(0xd7))/0x8+parseInt(_0x4aec14(0xf2))/0x9*(parseInt(_0x4aec14(0x10e))/0xa)+-parseInt(_0x4aec14(0x10b))/0xb*(parseInt(_0x4aec14(0x115))/0xc);if(_0x2d6cfb===_0x1efd0f)break;else _0xa13069['push'](_0xa13069['shift']());}catch(_0x311691){_0xa13069['push'](_0xa13069['shift']());}}}(_0x448b,0x95bde));import{Plugin as _0x4406dd}from'ckeditor5/src/core.js';import{getTranslation as _0x365d88}from'../utils/common-translations.js';function _0x448b(){const _0x331194=['getSelectionAffectedTableCells','TableUtils','tableAlignment','3511050ahQLVh','registerDescriptionCallback','tableCellBorderStyle','descriptionFactory','data','markBlockFormat','editor','getContainedElement','model','tableCellHeight','formatBlock','tableCellHorizontalAlignment','tableCellBorderColor','_getSuggestion','removeAttribute','has','327195mzgQcD','format','tableBorderStyle','20FoHdgT','tableCellBackgroundColor','tableBorderColor','tableHeight','change','commandParams','TrackChangesEditing','84nmHeqv','afterInit','_suggestionFactory','locale','nodeAfter','tableCellWidth','discard','selection','TableCellPropertiesEditing','TablePropertiesEditing','table','TrackChangesTableProperties','tableCellVerticalAlignment','subType','tableBackgroundColor','registerCustomCallback','*Format:*\x20change\x20table\x20properties','tableProperties','9548176ebKmQO','tableWidth','setAttribute','tableCellPadding','start','handleDiscardAction','enableCommand','616NCZSWt','tableCellProperties','114331KFYpEV','join','getSuggestions','294KpxAzi','findAncestor','enqueueChange','handleSuggestionDescription','getSuggestionCallback','*Format:*\x20change\x20table\x20cell\x20properties','1047318wuZRdz','getFirstPosition','4160tzdFqF','document','plugins','tableCellBorderWidth','get','2aHRPiG','_handlePropertyChange','4127661wgktiV','getAttribute','tableBorderWidth','batch','accept','pluginName'];_0x448b=function(){return _0x331194;};return _0x448b();}export default class $t extends _0x4406dd{constructor(_0x5bc0d8){const _0x535cfe=_0x5efe;super(_0x5bc0d8),this[_0x535cfe(0xd6)]=[_0x535cfe(0x110),_0x535cfe(0x10d),_0x535cfe(0xf4),_0x535cfe(0xfa),_0x535cfe(0xd8),_0x535cfe(0x111),_0x535cfe(0xd3)],this[_0x535cfe(0xdf)]=[_0x535cfe(0x107),_0x535cfe(0xfd),_0x535cfe(0xee),_0x535cfe(0xda),_0x535cfe(0xca),_0x535cfe(0x104),_0x535cfe(0x10f),_0x535cfe(0x106),_0x535cfe(0xd1)];}static get[_0x2beec5(0xf7)](){const _0x3f801a=_0x2beec5;return _0x3f801a(0xd0);}[_0x2beec5(0x116)](){const _0x430885=_0x2beec5,_0xbaad81=this[_0x430885(0x101)][_0x430885(0xed)][_0x430885(0xef)](_0x430885(0x114));if(this[_0x430885(0x101)][_0x430885(0xed)][_0x430885(0x10a)](_0x430885(0xce))){for(const _0x5e4943 of this[_0x430885(0xd6)])_0xbaad81[_0x430885(0xdd)](_0x5e4943,(_0x4a079c,_0x4ab4eb)=>{const _0x29acfd=_0x430885,_0x311152=this[_0x29acfd(0x101)][_0x29acfd(0x103)][_0x29acfd(0xec)][_0x29acfd(0xcc)][_0x29acfd(0xea)]()[_0x29acfd(0xe4)](_0x29acfd(0xcf));this[_0x29acfd(0xf1)](_0x5e4943,[_0x311152],this[_0x29acfd(0xd6)],_0x29acfd(0xd6),_0x4a079c,_0x4ab4eb);});_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xd6),_0x430885(0xf6),_0xbaad81[_0x430885(0x117)][_0x430885(0xe7)](_0x430885(0x105),null,_0x430885(0xcb))),_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xd6),_0x430885(0xcb),(_0x4099f9,_0x1a9fd5)=>this[_0x430885(0xdc)](this[_0x430885(0xd6)],_0x4099f9,_0x1a9fd5)),_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xd6),_0x430885(0xe1),()=>!0x1);}if(this[_0x430885(0x101)][_0x430885(0xed)][_0x430885(0x10a)](_0x430885(0xcd))){for(const _0x1549f1 of this[_0x430885(0xdf)])_0xbaad81[_0x430885(0xdd)](_0x1549f1,(_0x30855c,_0x318756)=>{const _0x513790=_0x430885,_0x398405=this[_0x513790(0x101)][_0x513790(0xed)][_0x513790(0xef)](_0x513790(0xf9))[_0x513790(0xf8)](this[_0x513790(0x101)][_0x513790(0x103)][_0x513790(0xec)][_0x513790(0xcc)]);this[_0x513790(0xf1)](_0x1549f1,_0x398405,this[_0x513790(0xdf)],_0x513790(0xdf),_0x30855c,_0x318756);});_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xdf),_0x430885(0xf6),_0xbaad81[_0x430885(0x117)][_0x430885(0xe7)](_0x430885(0x105),null,_0x430885(0xcb))),_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xdf),_0x430885(0xcb),(_0x4c8da3,_0x26da8c)=>this[_0x430885(0xdc)](this[_0x430885(0xdf)],_0x4c8da3,_0x26da8c)),_0xbaad81[_0x430885(0x117)][_0x430885(0xd4)](_0x430885(0x105),_0x430885(0xdf),_0x430885(0xe1),()=>!0x1);}_0xbaad81[_0x430885(0xfe)][_0x430885(0xfc)](_0x3c8c16=>this[_0x430885(0xe6)](_0x3c8c16));}[_0x2beec5(0xf1)](_0x3e22e0,_0x3f41fd,_0x23d7e7,_0x1bc4fb,_0x3248b7,_0x4b3686){const _0x46f49a=_0x2beec5,_0x557496=this[_0x46f49a(0x101)][_0x46f49a(0xed)][_0x46f49a(0xef)](_0x46f49a(0x114));this[_0x46f49a(0x101)][_0x46f49a(0x103)][_0x46f49a(0xe5)](_0x4b3686[_0x46f49a(0xf5)],()=>{const _0x5d2992=_0x46f49a;for(const _0x32e628 of _0x3f41fd){if(this[_0x5d2992(0x108)](_0x32e628,_0x1bc4fb))_0x3248b7(_0x4b3686);else{const _0x1d0e9d={};for(const _0x59f432 of _0x23d7e7){const _0x27e033=_0x32e628[_0x5d2992(0xf3)](_0x59f432);void 0x0!==_0x27e033&&(_0x1d0e9d[_0x59f432]=_0x27e033);}_0x3248b7(_0x4b3686),_0x557496[_0x5d2992(0x100)](_0x32e628,{'commandParams':[_0x1d0e9d]},[],_0x1bc4fb);}}});}[_0x2beec5(0xdc)](_0x299310,_0x3094cc,_0x2a32bd){const _0x5e42f4=_0x2beec5,_0x111e88=_0x3094cc[0x0][_0x5e42f4(0xdb)][_0x5e42f4(0xc9)],_0x2cdf4c=_0x2a32bd[_0x5e42f4(0x113)][0x0];this[_0x5e42f4(0x101)][_0x5e42f4(0x103)][_0x5e42f4(0x112)](_0x5e13d3=>{const _0x2b325d=_0x5e42f4;for(const _0x4c6181 of _0x299310)void 0x0!==_0x2cdf4c[_0x4c6181]?_0x5e13d3[_0x2b325d(0xd9)](_0x4c6181,_0x2cdf4c[_0x4c6181],_0x111e88):_0x5e13d3[_0x2b325d(0x109)](_0x4c6181,_0x111e88);});}[_0x2beec5(0xe6)](_0x138f73){const _0xc3ae38=_0x2beec5;if(_0x138f73[_0xc3ae38(0xff)])switch(_0x138f73[_0xc3ae38(0xd2)]){case _0xc3ae38(0xd6):return{'type':_0xc3ae38(0x10c),'content':_0x365d88(this[_0xc3ae38(0x101)][_0xc3ae38(0x118)],_0xc3ae38(0xd5))};case _0xc3ae38(0xdf):return{'type':_0xc3ae38(0x10c),'content':_0x365d88(this[_0xc3ae38(0x101)][_0xc3ae38(0x118)],_0xc3ae38(0xe8))};}}[_0x2beec5(0x108)](_0x5cd624,_0x149412){const _0x50e65e=_0x2beec5,_0x2eb3c9=this[_0x50e65e(0x101)][_0x50e65e(0xed)][_0x50e65e(0xef)](_0x50e65e(0x114));for(const _0x4d90c4 of _0x2eb3c9[_0x50e65e(0xe2)]({'skipNotAttached':!0x0})){const _0x2ba46b=_0x4d90c4[_0x50e65e(0x102)]();if(_0x4d90c4[_0x50e65e(0xd2)]===_0x149412&&_0x2ba46b===_0x5cd624)return _0x4d90c4;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x122134=_0x2ca0;(function(_0x1a5266,_0x1ad5ae){const _0x4df424=_0x2ca0,_0x125a5d=_0x1a5266();while(!![]){try{const _0x550ea9=parseInt(_0x4df424(0x1ca))/0x1+-parseInt(_0x4df424(0x1c7))/0x2+-parseInt(_0x4df424(0x1c1))/0x3+parseInt(_0x4df424(0x1cf))/0x4*(-parseInt(_0x4df424(0x1c2))/0x5)+parseInt(_0x4df424(0x1bf))/0x6*(parseInt(_0x4df424(0x1ce))/0x7)+parseInt(_0x4df424(0x1c9))/0x8*(parseInt(_0x4df424(0x1c4))/0x9)+-parseInt(_0x4df424(0x1c0))/0xa*(-parseInt(_0x4df424(0x1c3))/0xb);if(_0x550ea9===_0x1ad5ae)break;else _0x125a5d['push'](_0x125a5d['shift']());}catch(_0x20cf8b){_0x125a5d['push'](_0x125a5d['shift']());}}}(_0xcd1c,0x92dcf));import{Plugin as _0x171581}from'ckeditor5/src/core.js';function _0x2ca0(_0x127d06,_0x46d66c){const _0xcd1c97=_0xcd1c();return _0x2ca0=function(_0x2ca037,_0x49dccd){_0x2ca037=_0x2ca037-0x1bf;let _0x35f35e=_0xcd1c97[_0x2ca037];return _0x35f35e;},_0x2ca0(_0x127d06,_0x46d66c);}export default class Ct extends _0x171581{[_0x122134(0x1cb)](){const _0x5035eb=_0x122134,_0x2608fa=this[_0x5035eb(0x1d1)];_0x2608fa[_0x5035eb(0x1cc)][_0x5035eb(0x1c8)](_0x5035eb(0x1cd))&&_0x2608fa[_0x5035eb(0x1cc)][_0x5035eb(0x1d2)](_0x5035eb(0x1c5))[_0x5035eb(0x1c6)](_0x5035eb(0x1d0));}}function _0xcd1c(){const _0x5284c3=['5YMgCma','286POtWBM','3581451GYxCur','TrackChangesEditing','enableCommand','591820hPLwWs','has','24gDGJXK','588951SqigVl','afterInit','plugins','Template','203yPENit','3027640arMHCX','insertTemplate','editor','get','7554mCTQyZ','94060qAAchF','1228392qtBloL'];_0xcd1c=function(){return _0x5284c3;};return _0xcd1c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5554(_0x2e77a7,_0x272f32){const _0x119d9f=_0x119d();return _0x5554=function(_0x555423,_0x12d782){_0x555423=_0x555423-0x9a;let _0x3b81f5=_0x119d9f[_0x555423];return _0x3b81f5;},_0x5554(_0x2e77a7,_0x272f32);}const _0x5b1e20=_0x5554;(function(_0x45f0ad,_0xeb4c4e){const _0x12913b=_0x5554,_0x2f5431=_0x45f0ad();while(!![]){try{const _0xaeeab0=parseInt(_0x12913b(0xa4))/0x1+-parseInt(_0x12913b(0xc5))/0x2*(parseInt(_0x12913b(0x9a))/0x3)+parseInt(_0x12913b(0xbc))/0x4+-parseInt(_0x12913b(0xb1))/0x5*(-parseInt(_0x12913b(0xb7))/0x6)+parseInt(_0x12913b(0xba))/0x7*(parseInt(_0x12913b(0xa9))/0x8)+parseInt(_0x12913b(0x9b))/0x9+-parseInt(_0x12913b(0xbb))/0xa;if(_0xaeeab0===_0xeb4c4e)break;else _0x2f5431['push'](_0x2f5431['shift']());}catch(_0x496143){_0x2f5431['push'](_0x2f5431['shift']());}}}(_0x119d,0x9cabc));function _0x119d(){const _0x44898c=['suggestion','6nEJXmA','locale','isCollapsed','2170gMYxlm','16679920vTfmZe','3417896VMPPhs','has','getChangedMarkers','element','forward','end','_splitMarkerName','removeMarker','editor','26LFfTah','268329dmCLIT','6587397xoGjYS','isTouching','ELEMENT_TITLE','descriptionFactory','model','isEqual','Title','TrackChangesEditing','registerElementLabel','334075WQzHgQ','newRange','plugins','getNearestSelectionRange','start','13352nXKqTT','title-content','from','get','nodeBefore','differ','afterInit','registerPostFixer','5173015lRDKQr','updateMarker','document','createRange','schema'];_0x119d=function(){return _0x44898c;};return _0x119d();}import{Plugin as _0x14844a}from'ckeditor5/src/core.js';import{getTranslation as _0x4f9668}from'../utils/common-translations.js';export default class Dt extends _0x14844a{[_0x5b1e20(0xaf)](){const _0x2e5570=_0x5b1e20,_0x104022=this[_0x2e5570(0xc4)];if(!_0x104022[_0x2e5570(0xa6)][_0x2e5570(0xbd)](_0x2e5570(0xa1)))return;const _0x35351c=_0x104022[_0x2e5570(0xa6)][_0x2e5570(0xac)](_0x2e5570(0xa2));_0x35351c[_0x2e5570(0x9e)][_0x2e5570(0xa3)](_0x2e5570(0xaa),()=>_0x4f9668(_0x104022[_0x2e5570(0xb8)],_0x2e5570(0x9d))),_0x104022[_0x2e5570(0x9f)][_0x2e5570(0xb3)][_0x2e5570(0xb0)](_0x149318=>{const _0x3acef1=_0x2e5570;let _0x5218bb=!0x1;const _0x1fdfef=Array[_0x3acef1(0xab)](_0x104022[_0x3acef1(0x9f)][_0x3acef1(0xb3)][_0x3acef1(0xae)][_0x3acef1(0xbe)]());for(const {name:_0x4df11d,data:_0x57885d}of _0x1fdfef){const {group:_0x5535d3}=_0x35351c[_0x3acef1(0xc2)](_0x4df11d);if(_0x3acef1(0xb6)!==_0x5535d3||!_0x57885d[_0x3acef1(0xa5)])continue;const _0x216116=_0x57885d[_0x3acef1(0xa5)],_0x10c9a6=_0x216116[_0x3acef1(0xc1)][_0x3acef1(0xad)];if(!_0x10c9a6||!_0x10c9a6['is'](_0x3acef1(0xbf),_0x3acef1(0xaa)))continue;if(!_0x216116[_0x3acef1(0xa8)][_0x3acef1(0x9c)](_0x216116[_0x3acef1(0xc1)]))continue;const _0x4c0f8b=_0x104022[_0x3acef1(0x9f)][_0x3acef1(0xb5)][_0x3acef1(0xa7)](_0x216116[_0x3acef1(0xc1)],_0x3acef1(0xc0));if(_0x4c0f8b&&_0x4c0f8b[_0x3acef1(0xb9)]){const _0x440e5e=_0x149318[_0x3acef1(0xb4)](_0x216116[_0x3acef1(0xa8)],_0x4c0f8b[_0x3acef1(0xa8)]);_0x440e5e[_0x3acef1(0xa0)](_0x216116)||(_0x149318[_0x3acef1(0xb2)](_0x4df11d,{'range':_0x440e5e}),_0x5218bb=!0x0);}_0x5218bb||(_0x149318[_0x3acef1(0xc3)](_0x4df11d),_0x5218bb=!0x0);}return _0x5218bb;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c47(_0x318a28,_0x420ee3){const _0x5ac52d=_0x5ac5();return _0x1c47=function(_0x1c47c6,_0x2f8a21){_0x1c47c6=_0x1c47c6-0x129;let _0x11db8c=_0x5ac52d[_0x1c47c6];return _0x11db8c;},_0x1c47(_0x318a28,_0x420ee3);}const _0x4a7e96=_0x1c47;(function(_0x3fb666,_0x444a38){const _0x49b137=_0x1c47,_0x3d6cc9=_0x3fb666();while(!![]){try{const _0x26171f=parseInt(_0x49b137(0x138))/0x1+-parseInt(_0x49b137(0x12f))/0x2*(-parseInt(_0x49b137(0x13b))/0x3)+parseInt(_0x49b137(0x131))/0x4+parseInt(_0x49b137(0x139))/0x5*(-parseInt(_0x49b137(0x135))/0x6)+-parseInt(_0x49b137(0x130))/0x7*(-parseInt(_0x49b137(0x12b))/0x8)+-parseInt(_0x49b137(0x129))/0x9+-parseInt(_0x49b137(0x13a))/0xa;if(_0x26171f===_0x444a38)break;else _0x3d6cc9['push'](_0x3d6cc9['shift']());}catch(_0x17bfff){_0x3d6cc9['push'](_0x3d6cc9['shift']());}}}(_0x5ac5,0x91de4));import{Plugin as _0x1a6ced}from'ckeditor5/src/core.js';function _0x5ac5(){const _0x355f67=['8enQCBJ','editor','TrackChangesEditing','enableCommand','2018vOAvDI','3551681HgMsfs','2056892PFIEQo','redo','has','get','474MWQycg','UndoEditing','undo','432877bgQkTJ','7765dJbnNS','10674890QGhOjU','2925XuQVjb','plugins','5855454XvYLWC','afterInit'];_0x5ac5=function(){return _0x355f67;};return _0x5ac5();}export default class Nt extends _0x1a6ced{[_0x4a7e96(0x12a)](){const _0x82e00a=_0x4a7e96,_0x947598=this[_0x82e00a(0x12c)],_0x4e6b18=_0x947598[_0x82e00a(0x13c)][_0x82e00a(0x134)](_0x82e00a(0x12d));_0x947598[_0x82e00a(0x13c)][_0x82e00a(0x133)](_0x82e00a(0x136))&&(_0x4e6b18[_0x82e00a(0x12e)](_0x82e00a(0x137)),_0x4e6b18[_0x82e00a(0x12e)](_0x82e00a(0x132)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x559389,_0x4dfa78){const _0x26e84e=_0x56e4,_0x3d4e6b=_0x559389();while(!![]){try{const _0x3f7177=parseInt(_0x26e84e(0x100))/0x1+-parseInt(_0x26e84e(0xf7))/0x2*(-parseInt(_0x26e84e(0xe7))/0x3)+-parseInt(_0x26e84e(0xef))/0x4+parseInt(_0x26e84e(0xf4))/0x5+-parseInt(_0x26e84e(0x101))/0x6*(-parseInt(_0x26e84e(0x109))/0x7)+parseInt(_0x26e84e(0xf9))/0x8*(parseInt(_0x26e84e(0xe1))/0x9)+-parseInt(_0x26e84e(0xed))/0xa;if(_0x3f7177===_0x4dfa78)break;else _0x3d4e6b['push'](_0x3d4e6b['shift']());}catch(_0x485a37){_0x3d4e6b['push'](_0x3d4e6b['shift']());}}}(_0x62bc,0x3d9ec));export function getRangesWithAttribute(_0x31d99c,_0x1423ed,_0x13722f){const _0x5ce9bd=_0x56e4,_0x268463=[];for(const _0x27e158 of _0x1423ed[_0x5ce9bd(0x10d)]())_0x27e158[_0x5ce9bd(0x113)](_0x31d99c)&&_0x268463[_0x5ce9bd(0x10f)](_0x13722f[_0x5ce9bd(0xf8)](_0x27e158));return _0x268463;}function _0x56e4(_0x3d3d5b,_0x462959){const _0x62bcc8=_0x62bc();return _0x56e4=function(_0x56e424,_0x197596){_0x56e424=_0x56e424-0xe1;let _0x31b7cf=_0x62bcc8[_0x56e424];return _0x31b7cf;},_0x56e4(_0x3d3d5b,_0x462959);}function _0x62bc(){const _0x2f2ab8=['isAtEnd','isLimit','get','createUIElement','schema','18435Cqzrdi','ck-suggestion-marker--active','addClass','consumable','markerRange','getCustomProperty','9735690xFVFov','writer','390840jrOtgz','span','name','activeMarkers','isContent','950565leOKbV','markerName','elementEnd','28dpcRnf','createRangeOn','344sXItbj','ck-suggestion-marker-','insert','addHighlight','toViewPosition','type','item','414506peewTT','21588FtiCti','parent','plugins','test','start','includes','previousPosition','isBlock','483UlDzLg','nextSibling','mapper','model','getItems','toViewElement','push','TrackChangesEditing','bindElementToMarker','getWalker','hasAttribute','80532nlcbuH'];_0x62bc=function(){return _0x2f2ab8;};return _0x62bc();}export function downcastSplitMergeMarker(_0x48ba30,_0x590590,{showActiveMarker:_0x101e6b=!0x0}={}){const _0x2f13d5=_0x56e4,_0x57dce6=_0x48ba30[_0x2f13d5(0x103)][_0x2f13d5(0xe4)](_0x2f13d5(0x110));return(_0x385581,_0x4eb4ea,_0x2e1e1a)=>{const _0x43056c=_0x2f13d5;if(!_0x2e1e1a[_0x43056c(0xea)][_0x43056c(0x104)](_0x4eb4ea[_0x43056c(0xeb)],_0x385581[_0x43056c(0xf1)]))return;const _0x5a2dd3=_0x4eb4ea[_0x43056c(0xeb)][_0x43056c(0x112)](),_0x52d12e=_0x4eb4ea[_0x43056c(0xeb)][_0x43056c(0x105)],_0x17e412=_0x48ba30[_0x43056c(0x10c)][_0x43056c(0xe6)];let _0x16922a=null,_0x2319c0=null,_0x2ced83=!0x1,_0x254dfc=!0x1;for(const _0x7f90f0 of _0x5a2dd3){const _0x5e5617=_0x7f90f0[_0x43056c(0xff)];_0x2ced83=_0x2ced83||_0x17e412[_0x43056c(0xf3)](_0x5e5617);const _0x4a3a87=_0x2e1e1a[_0x43056c(0x10b)][_0x43056c(0x10e)](_0x5e5617);if(_0x4a3a87&&_0x4a3a87[_0x43056c(0xec)](_0x43056c(0xfc)))return;_0x43056c(0xf6)==_0x7f90f0[_0x43056c(0xfe)]&&(_0x17e412[_0x43056c(0x108)](_0x5e5617)&&!_0x17e412[_0x43056c(0xe3)](_0x5e5617)&&(_0x5e5617[_0x43056c(0x10a)]||_0x52d12e[_0x43056c(0xe2)]?_0x16922a&&_0x16922a[_0x43056c(0x102)]==_0x5e5617||(_0x16922a=_0x5e5617,_0x2c987e(_0x7f90f0[_0x43056c(0x107)]),_0x254dfc=!0x0):_0x2319c0=_0x2319c0||_0x7f90f0[_0x43056c(0x107)]));}function _0x2c987e(_0x1d832d){const _0x20e274=_0x43056c,_0xcbef53=_0x2e1e1a[_0x20e274(0xee)][_0x20e274(0xe5)](_0x20e274(0xf0),{'class':_0x20e274(0xfa)+_0x590590}),_0x168ed8=_0x2e1e1a[_0x20e274(0x10b)][_0x20e274(0xfd)](_0x1d832d);_0x101e6b&&_0x57dce6[_0x20e274(0xf2)][_0x20e274(0x106)](_0x4eb4ea[_0x20e274(0xf5)])&&_0x2e1e1a[_0x20e274(0xee)][_0x20e274(0xe9)](_0x20e274(0xe8),_0xcbef53),_0x2e1e1a[_0x20e274(0xee)][_0x20e274(0xfb)](_0x168ed8,_0xcbef53),_0x2e1e1a[_0x20e274(0x10b)][_0x20e274(0x111)](_0xcbef53,_0x4eb4ea[_0x20e274(0xf5)]);}_0x2ced83||_0x254dfc||!_0x2319c0||_0x2c987e(_0x2319c0);};}
|
package/src/suggestion.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const Suggestion_base: {
|
|
|
19
19
|
*
|
|
20
20
|
* `Suggestion` instances are created and handled by {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
|
|
21
21
|
*/
|
|
22
|
-
export default class Suggestion extends Suggestion_base {
|
|
22
|
+
export default class Suggestion extends /* #__PURE__ -- @preserve */ Suggestion_base {
|
|
23
23
|
/**
|
|
24
24
|
* Suggestion ID.
|
|
25
25
|
*/
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a9cd6=_0x37a2;(function(_0x45e765,_0x25f82d){const _0x22a677=_0x37a2,_0x506bc3=_0x45e765();while(!![]){try{const _0x2a6d03=parseInt(_0x22a677(0xd4))/0x1*(-parseInt(_0x22a677(0x103))/0x2)+-parseInt(_0x22a677(0xd8))/0x3+-parseInt(_0x22a677(0xc4))/0x4*(parseInt(_0x22a677(0xcf))/0x5)+-parseInt(_0x22a677(0xf8))/0x6+parseInt(_0x22a677(0xd1))/0x7+-parseInt(_0x22a677(0xc2))/0x8*(parseInt(_0x22a677(0xd0))/0x9)+parseInt(_0x22a677(0x104))/0xa;if(_0x2a6d03===_0x25f82d)break;else _0x506bc3['push'](_0x506bc3['shift']());}catch(_0x12cf36){_0x506bc3['push'](_0x506bc3['shift']());}}}(_0x2818,0x4d2ac));function _0x37a2(_0x55dd86,_0x24423e){const _0x281885=_0x2818();return _0x37a2=function(_0x37a283,_0x3fd34f){_0x37a283=_0x37a283-0xb9;let _0x24ae3a=_0x281885[_0x37a283];return _0x24ae3a;},_0x37a2(_0x55dd86,_0x24423e);}import{Element as _0x221daf}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x5bf9b2,uid as _0x5c2046}from'ckeditor5/src/utils.js';import{cloneDeep as _0x4b2d79,isEqual as _0x836adc,set as _0x33e22e,unset as _0x464c13}from'lodash-es';function _0x2818(){const _0x5da298=['hasComments','270rJDKTG','108027IuKwOj','3456600NaEUDG','authoredAt','filter','1deJQrk','data','substr','split','1410696thtsjk','nodeBefore','_model','from','next','add','delete','get','decorate','onAttributesChange','onDiscard','addMarkerName','addRange','getMarkerNames','_isDataLoaded','accept','head','commentThread','isInContent','getContainedElement','addMarker','clear','removeAttribute','setAttribute','push','createdAt','set','toJSON','author','isMultiRange','removeMarker','type','1787100XqTDZM','getFirstMarker','getMarkers','_onDiscard','change','previous','_onAccept','size','attributes','getRange','reduce','847590WXMDnu','11343000dBzuIZ','isExternal','onAccept','isIntersectingWithRange','getItems','isIntersecting','getMultiRangeId','getRanges','nodeAfter','getFirstRange','length','end','markers','suggestion:','discard','56JOZNFj','removeMarkers','2676Pcyuni','creator','map','getAllAdjacentSuggestions','start','_saved','@external','subType','_onAttributesChange','_markerNames'];_0x2818=function(){return _0x5da298;};return _0x2818();}export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5bf9b2(){constructor(_0x2a9d11,_0x297822){const _0x58a380=_0x37a2;super(),this[_0x58a380(0xe6)]=!0x1,this['id']=_0x297822['id'],this[_0x58a380(0xf7)]=_0x297822[_0x58a380(0xf7)],this[_0x58a380(0xcb)]=_0x297822[_0x58a380(0xcb)]||null,this[_0x58a380(0xf4)]=_0x297822[_0x58a380(0xf4)],this[_0x58a380(0xc5)]=_0x297822[_0x58a380(0xc5)]||_0x297822[_0x58a380(0xf4)],this[_0x58a380(0x105)]=Boolean(_0x297822[_0x58a380(0x100)]&&_0x297822[_0x58a380(0x100)][_0x58a380(0xca)]),this[_0x58a380(0xd5)]=null,this[_0x58a380(0xda)]=_0x2a9d11,this[_0x58a380(0xfe)]=_0x297822[_0x58a380(0x106)],this[_0x58a380(0xfb)]=_0x297822[_0x58a380(0xe2)],this[_0x58a380(0xcc)]=_0x297822[_0x58a380(0xe1)],this[_0x58a380(0xcd)]=new Set(),this[_0x58a380(0xf1)]=null,this[_0x58a380(0xf2)](_0x58a380(0xd2),null),this[_0x58a380(0xf2)](_0x58a380(0x100),_0x297822[_0x58a380(0x100)]||{}),this[_0x58a380(0xf2)](_0x58a380(0xfd),null),this[_0x58a380(0xf2)](_0x58a380(0xdc),null),this[_0x58a380(0xf2)](_0x58a380(0xe9),null),this[_0x58a380(0xf2)](_0x58a380(0xc9),!0x1),this[_0x58a380(0xe0)](_0x58a380(0xe7)),this[_0x58a380(0xe0)](_0x58a380(0xc1));}get[_0x3a9cd6(0xe8)](){const _0x285a3f=_0x3a9cd6;let _0x8b32f9=this;for(;_0x8b32f9[_0x285a3f(0xfd)];)_0x8b32f9=_0x8b32f9[_0x285a3f(0xfd)];return _0x8b32f9;}get[_0x3a9cd6(0xce)](){const _0xf2052e=_0x3a9cd6;return!!this[_0xf2052e(0xe9)]&&this[_0xf2052e(0xe9)][_0xf2052e(0xbd)]>0x0;}get[_0x3a9cd6(0xf5)](){const _0x270170=_0x3a9cd6;if(0x0==this[_0x270170(0xcd)][_0x270170(0xff)])return!0x1;return 0x6==Array[_0x270170(0xdb)](this[_0x270170(0xcd)])[0x0][_0x270170(0xd7)](':')[_0x270170(0xbd)];}get[_0x3a9cd6(0xea)](){const _0x3984d1=_0x3a9cd6;return null!==this[_0x3984d1(0xf9)]();}[_0x3a9cd6(0xe3)](_0x330f0d){const _0x4ef0a5=_0x3a9cd6;this[_0x4ef0a5(0xcd)][_0x4ef0a5(0xdd)](_0x330f0d);}[_0x3a9cd6(0xe5)](){const _0x5ed470=_0x3a9cd6;return Array[_0x5ed470(0xdb)](this[_0x5ed470(0xcd)]);}[_0x3a9cd6(0xfa)](){const _0x28e4f2=_0x3a9cd6;return this[_0x28e4f2(0xe5)]()[_0x28e4f2(0xc6)](_0x48fa38=>this[_0x28e4f2(0xda)][_0x28e4f2(0xbf)][_0x28e4f2(0xdf)](_0x48fa38))[_0x28e4f2(0xd3)](_0x35ffe2=>_0x35ffe2);}[_0x3a9cd6(0xf9)](){const _0x22b401=_0x3a9cd6;return this[_0x22b401(0xfa)]()[0x0]||null;}[_0x3a9cd6(0xc3)](){const _0x13cd74=_0x3a9cd6;this[_0x13cd74(0xda)][_0x13cd74(0xfc)](_0x2d00cc=>{const _0x25ff21=_0x13cd74;for(const _0x438bd3 of this[_0x25ff21(0xfa)]())_0x2d00cc[_0x25ff21(0xf6)](_0x438bd3);}),this[_0x13cd74(0xcd)][_0x13cd74(0xed)]();}[_0x3a9cd6(0xf6)](_0xbfa357){const _0x5c6167=_0x3a9cd6;this[_0x5c6167(0xda)][_0x5c6167(0xfc)](_0x11182c=>{const _0x338051=_0x5c6167;_0x11182c[_0x338051(0xf6)](_0xbfa357);}),this[_0x5c6167(0xcd)][_0x5c6167(0xde)](_0xbfa357);}[_0x3a9cd6(0xe4)](_0x55aef2){const _0x4391a2=_0x3a9cd6,_0x398749=_0x4391a2(0xc0)+this[_0x4391a2(0xf7)]+':'+this[_0x4391a2(0xcb)]+':'+this['id']+':'+this[_0x4391a2(0xc5)]['id']+':'+u[_0x4391a2(0xb9)]();this[_0x4391a2(0xe3)](_0x398749),this[_0x4391a2(0xda)][_0x4391a2(0xfc)](_0x1261a8=>{const _0x8d9950=_0x4391a2;_0x1261a8[_0x8d9950(0xec)](_0x398749,{'range':_0x55aef2,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3a9cd6(0x107)](_0x2b0a3b){const _0x2247bc=_0x3a9cd6;for(const _0x1c19c8 of this[_0x2247bc(0xba)]())if(_0x1c19c8[_0x2247bc(0x109)](_0x2b0a3b))return!0x0;return!0x1;}[_0x3a9cd6(0xba)](){const _0x25e8d9=_0x3a9cd6;return this[_0x25e8d9(0xfa)]()[_0x25e8d9(0xc6)](_0x52dd90=>_0x52dd90[_0x25e8d9(0x101)]());}[_0x3a9cd6(0x108)](){const _0x1e64c4=_0x3a9cd6;return this[_0x1e64c4(0xba)]()[_0x1e64c4(0x102)]((_0x7847ed,_0x255e3b)=>[..._0x7847ed,..._0x255e3b[_0x1e64c4(0x108)]()],[]);}[_0x3a9cd6(0xbc)](){const _0x1f15cd=_0x3a9cd6;var _0x304314;return(null===(_0x304314=this[_0x1f15cd(0xf9)]())||void 0x0===_0x304314?void 0x0:_0x304314[_0x1f15cd(0x101)]())||null;}[_0x3a9cd6(0xeb)](){const _0x48fb8a=_0x3a9cd6,_0x1d1c30=this[_0x48fb8a(0xba)]();if(0x1!=_0x1d1c30[_0x48fb8a(0xbd)])return null;const _0x5775b9=_0x1d1c30[0x0],_0x588456=_0x5775b9[_0x48fb8a(0xc8)][_0x48fb8a(0xbb)],_0x42f079=_0x5775b9[_0x48fb8a(0xbe)][_0x48fb8a(0xd9)];return _0x588456 instanceof _0x221daf?_0x588456!=_0x42f079?null:_0x588456:null;}[_0x3a9cd6(0xe7)](){const _0x169231=_0x3a9cd6;this[_0x169231(0xfe)](this[_0x169231(0xba)](),this[_0x169231(0xd5)],this[_0x169231(0x100)]),this[_0x169231(0xc3)]();}[_0x3a9cd6(0xc1)](){const _0x14f92a=_0x3a9cd6;this[_0x14f92a(0xfb)](this[_0x14f92a(0xba)](),this[_0x14f92a(0xd5)],this[_0x14f92a(0x100)]),this[_0x14f92a(0xc3)]();}[_0x3a9cd6(0xc7)](){const _0x19bb6d=_0x3a9cd6,_0x6556a4=[];let _0x5c4abd=this[_0x19bb6d(0xe8)];for(;_0x5c4abd;)_0x6556a4[_0x19bb6d(0xf0)](_0x5c4abd),_0x5c4abd=_0x5c4abd[_0x19bb6d(0xdc)];return _0x6556a4;}[_0x3a9cd6(0xef)](_0x1cef4d,_0x316e44){const _0x4588ca=_0x3a9cd6,_0x3671af=_0x4b2d79(this[_0x4588ca(0x100)]);_0x33e22e(_0x3671af,_0x1cef4d,_0x316e44),_0x836adc(_0x3671af,this[_0x4588ca(0x100)])||(this[_0x4588ca(0x100)]=_0x3671af,this[_0x4588ca(0xcc)](_0x3671af));}[_0x3a9cd6(0xee)](_0x122205){const _0x7ccfc9=_0x3a9cd6,_0x486372=_0x4b2d79(this[_0x7ccfc9(0x100)]);_0x464c13(_0x486372,_0x122205),_0x836adc(_0x486372,this[_0x7ccfc9(0x100)])||(this[_0x7ccfc9(0x100)]=_0x486372,this[_0x7ccfc9(0xcc)](this[_0x7ccfc9(0x100)]));}[_0x3a9cd6(0xf3)](){const _0x23de40=_0x3a9cd6;return{'id':this['id'],'type':this[_0x23de40(0xcb)]?this[_0x23de40(0xf7)]+':'+this[_0x23de40(0xcb)]:this[_0x23de40(0xf7)],'authorId':this[_0x23de40(0xc5)]['id'],'createdAt':this[_0x23de40(0xf1)],'hasComments':this[_0x23de40(0xce)],'data':this[_0x23de40(0xd5)],'attributes':this[_0x23de40(0x100)]};}static[_0x3a9cd6(0xb9)](){const _0x36dd47=_0x3a9cd6;return _0x5c2046()[_0x36dd47(0xd6)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16ca04=_0x3c51;(function(_0x1e1016,_0x4537d4){const _0xdb7656=_0x3c51,_0x554e5e=_0x1e1016();while(!![]){try{const _0x29c68a=-parseInt(_0xdb7656(0x1bb))/0x1+parseInt(_0xdb7656(0x183))/0x2*(-parseInt(_0xdb7656(0x1be))/0x3)+-parseInt(_0xdb7656(0x1c3))/0x4+parseInt(_0xdb7656(0x1a8))/0x5*(parseInt(_0xdb7656(0x1b7))/0x6)+-parseInt(_0xdb7656(0x18a))/0x7*(-parseInt(_0xdb7656(0x1ce))/0x8)+-parseInt(_0xdb7656(0x17e))/0x9*(-parseInt(_0xdb7656(0x187))/0xa)+parseInt(_0xdb7656(0x199))/0xb;if(_0x29c68a===_0x4537d4)break;else _0x554e5e['push'](_0x554e5e['shift']());}catch(_0x45c455){_0x554e5e['push'](_0x554e5e['shift']());}}}(_0x1ac4,0xd5e65));import{getTranslation as _0x51b9b6}from'./utils/common-translations.js';function _0x3c51(_0x3ab4bc,_0xa248){const _0x1ac4cd=_0x1ac4();return _0x3c51=function(_0x3c5165,_0x19b137){_0x3c5165=_0x3c5165-0x178;let _0x3a2e4b=_0x1ac4cd[_0x3c5165];return _0x3a2e4b;},_0x3c51(_0x3ab4bc,_0xa248);}import{priorities as _0x31ad22,insertToPriorityArray as _0x1d79bb}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x29698f}from'./trackchangesediting.js';function _0x1ac4(){const _0x32f2a3=['elementEnd','isObject','insertion','111816OctGcX','skip','*Change\x20to:*\x20%0','_itemLabels','ELEMENT_SPACE','*Insert:*\x20%0','checkChild','_handleRenameSuggestionDescription','_handleInsertRemoveSuggestionDescription','addContainer','subType','nodeAfter','attribute','length','label','removeFormat','isEqual','_schema','9PIfqeZ','key','text','data','pop','1512494puXPUf','elementStart','match','getDescriptions','12059550KoDMtR','removeEmptyContainer','deletion','588RnJWiI','registerDescriptionCallback','quantity','get','getFirstRange','remove','normal','Container','has','end','_resolveDescriptionItems','_customCallbacks','removeObject','previousSibling','newValue','13006180vpUaZd','element','*Remove\x20format:*\x20%0','join','REPLACE_TEXT','getItemLabel','*Set\x20format:*\x20%0','start','set','getWalker','addObject','_locale','*Split:*\x20%0','type','function','5BAofNW','_handleCustomCallbackDescription','nextSibling','*Remove:*\x20%0','removeContainer','replace','isInContent','name','_itemLabelsCallbacks','addEmptyContainer','_attributeLabels','indexOf','registerElementLabel','$text','isEmpty','2971614pdshuS','_addDescriptionItems','Object','item','1276290pMoQYs','registerAttributeLabel','$1\x20$2','3PbuStE','add','*Merge:*\x20%0','EmptyContainer','$textProxy','4596008pFSOYp','softBreak','matchingCallback','addFormat','push','format','map','_handleAttributeSuggestionDescription'];_0x1ac4=function(){return _0x32f2a3;};return _0x1ac4();}export default class f{constructor(_0x5a19a4,_0x2fa9e9){const _0x1fd0fe=_0x3c51;this[_0x1fd0fe(0x195)]=[],this[_0x1fd0fe(0x1d1)]=new Map(),this[_0x1fd0fe(0x1b0)]=[],this[_0x1fd0fe(0x1b2)]=new Map(),this[_0x1fd0fe(0x17d)]=_0x5a19a4,this[_0x1fd0fe(0x1a4)]=_0x2fa9e9;}[_0x16ca04(0x186)](_0x1f2887){const _0x414084=_0x16ca04,_0x45b7bf=[],_0x96af9a=new Set(),_0x2af8a6=new Set();for(let _0x162377=0x0;_0x162377<_0x1f2887[_0x414084(0x179)];_0x162377++){const _0x22f250=_0x1f2887[_0x162377];if(!_0x22f250[_0x414084(0x1ae)])continue;const _0x52309f=this[_0x414084(0x1a9)](_0x22f250);if(_0x52309f){if(null!=_0x22f250[_0x414084(0x1d8)]){if(_0x96af9a[_0x414084(0x192)](_0x22f250[_0x414084(0x1d8)]))continue;_0x96af9a[_0x414084(0x1bf)](_0x22f250[_0x414084(0x1d8)]);}_0x45b7bf[_0x414084(0x1c7)](_0x52309f);}else{if(_0x414084(0x178)!=_0x22f250[_0x414084(0x1a6)])_0x414084(0x1cd)!=_0x22f250[_0x414084(0x1a6)]&&_0x414084(0x189)!=_0x22f250[_0x414084(0x1a6)]||this[_0x414084(0x1d6)](_0x45b7bf,_0x22f250,_0x1f2887[_0x162377+0x1]);else{const _0x194359=_0x22f250[_0x414084(0x181)][_0x414084(0x17f)];if(_0x2af8a6[_0x414084(0x192)](_0x194359))continue;_0x2af8a6[_0x414084(0x1bf)](_0x22f250[_0x414084(0x181)][_0x414084(0x17f)]),_0x194359==_0x29698f?this[_0x414084(0x1d5)](_0x45b7bf,_0x22f250):this[_0x414084(0x1ca)](_0x45b7bf,_0x22f250);}}}return this[_0x414084(0x194)](_0x45b7bf);}[_0x16ca04(0x18b)](_0x1003cf){const _0x3dcbe4=_0x16ca04;this[_0x3dcbe4(0x195)][_0x3dcbe4(0x1c7)](_0x1003cf);}[_0x16ca04(0x1b4)](_0x4e19a9,_0x1d6285,_0x39f2f2=_0x31ad22[_0x16ca04(0x190)]){const _0x196faf=_0x16ca04;_0x196faf(0x1a7)==typeof _0x4e19a9?_0x1d79bb(this[_0x196faf(0x1b0)],{'matchingCallback':_0x4e19a9,'label':_0x1d6285,'priority':_0x39f2f2}):this[_0x196faf(0x1d1)][_0x196faf(0x1a1)](_0x4e19a9,_0x1d6285);}[_0x16ca04(0x1bc)](_0x220db1,_0x121f25){const _0x54f5db=_0x16ca04;this[_0x54f5db(0x1b2)][_0x54f5db(0x1a1)](_0x220db1,_0x121f25);}[_0x16ca04(0x19e)](_0x4aec0b,_0x682895=0x1){const _0xa45d32=_0x16ca04;let _0x572ae2;for(const _0x2d15c7 of this[_0xa45d32(0x1b0)])if(_0x2d15c7[_0xa45d32(0x1c5)](_0x4aec0b)){_0x572ae2=_0x2d15c7[_0xa45d32(0x17a)];break;}return _0x572ae2||(_0x572ae2=this[_0xa45d32(0x1d1)][_0xa45d32(0x18d)](_0x4aec0b[_0xa45d32(0x1af)])),_0x572ae2?_0x572ae2(_0x682895):0x1!==_0x682895?_0x682895+'\x20'+_0x4aec0b[_0xa45d32(0x1af)]+'s':''+_0x4aec0b[_0xa45d32(0x1af)];}[_0x16ca04(0x1b8)](_0x307b2d,_0x24f75f){const _0x53798e=_0x16ca04,_0x5bdda7=_0x24f75f[_0x53798e(0x18e)]()[_0x53798e(0x1a2)](),_0x235833=_0x53798e(0x1cd)==_0x24f75f[_0x53798e(0x1a6)]?_0x53798e(0x1bf):_0x53798e(0x18f);for(const _0x45ba72 of _0x5bdda7){const _0x29d483=_0x45ba72[_0x53798e(0x1ba)],_0x46a7d0=_0x307b2d[_0x307b2d[_0x53798e(0x179)]-0x1];if(_0x29d483['is'](_0x53798e(0x1c2)))_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))>-0x1&&_0x307b2d[_0x53798e(0x182)](),_0x46a7d0&&_0x53798e(0x180)==_0x46a7d0[_0x53798e(0x1a6)]?_0x46a7d0[_0x235833]+=_0x29d483[_0x53798e(0x181)]:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x53798e(0x180),'add':_0x53798e(0x1bf)==_0x235833?_0x29d483[_0x53798e(0x181)]:'','remove':_0x53798e(0x18f)==_0x235833?_0x29d483[_0x53798e(0x181)]:''});else{if(this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x29d483)){const _0x41aa40=_0x29d483;if(_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))>-0x1&&_0x307b2d[_0x53798e(0x182)](),_0x53798e(0x1cb)==_0x45ba72[_0x53798e(0x1a6)])continue;_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)]==_0x235833+_0x53798e(0x1b9)&&_0x46a7d0[_0x53798e(0x19a)][_0x53798e(0x1af)]==_0x41aa40[_0x53798e(0x1af)]?_0x46a7d0[_0x53798e(0x18c)]++:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x1b9),'element':_0x41aa40,'quantity':0x1}),_0x5bdda7[_0x53798e(0x1cf)](_0x511290=>!(_0x53798e(0x1cb)==_0x511290[_0x53798e(0x1a6)]&&_0x511290[_0x53798e(0x1ba)]==_0x29d483));}else{if(this[_0x53798e(0x17d)][_0x53798e(0x1d4)](_0x29d483,_0x53798e(0x1b5))||_0x29d483['is'](_0x53798e(0x19a),_0x53798e(0x1c4))){const _0x5d13f7=_0x29d483;if(_0x53798e(0x1bf)==_0x235833&&_0x53798e(0x184)==_0x45ba72[_0x53798e(0x1a6)]||_0x53798e(0x18f)==_0x235833&&_0x53798e(0x1cb)==_0x45ba72[_0x53798e(0x1a6)])continue;if(_0x46a7d0&&-0x1==_0x46a7d0[_0x53798e(0x1a6)][_0x53798e(0x1b3)](_0x53798e(0x191))){_0x53798e(0x180)==_0x46a7d0[_0x53798e(0x1a6)]&&(_0x46a7d0[_0x235833]+='\x0a');continue;}let _0x5437cc;if(_0x5437cc=_0x53798e(0x1bf)==_0x235833?_0x5d13f7[_0x53798e(0x1aa)]&&!this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x5d13f7[_0x53798e(0x1aa)])?_0x5d13f7[_0x53798e(0x1aa)]:null:_0x5d13f7[_0x53798e(0x197)]&&!this[_0x53798e(0x17d)][_0x53798e(0x1cc)](_0x5d13f7[_0x53798e(0x197)])?_0x5d13f7[_0x53798e(0x197)]:null,_0x5d13f7[_0x53798e(0x1b6)]||_0x5437cc&&_0x5437cc[_0x53798e(0x1b6)]){const _0x2ec8b1=_0x5437cc&&_0x5437cc[_0x53798e(0x1b6)]?_0x5437cc:_0x5d13f7;_0x46a7d0&&_0x46a7d0[_0x53798e(0x1a6)]==_0x235833+_0x53798e(0x1c1)&&_0x46a7d0[_0x53798e(0x19a)][_0x53798e(0x1af)]==_0x2ec8b1[_0x53798e(0x1af)]?_0x46a7d0[_0x53798e(0x18c)]++:_0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x1c1),'element':_0x2ec8b1,'quantity':0x1});}else _0x307b2d[_0x53798e(0x1c7)]({'type':_0x235833+_0x53798e(0x191),'element':_0x5d13f7});}}}}}[_0x16ca04(0x194)](_0x59ecb8){const _0xc1d539=_0x16ca04,_0xb14a46=this[_0xc1d539(0x1a4)],_0x2975d9=[],_0xdf6299=[],_0x4ac051=[];for(const _0x49fcf7 of _0x59ecb8)switch(_0x49fcf7[_0xc1d539(0x1a6)]){case _0xc1d539(0x180):if(_0x49fcf7[_0xc1d539(0x1bf)]=_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x1ad)](/(\S)\u000A+(\S)/g,_0xc1d539(0x1bd))[_0xc1d539(0x1ad)](/\u000A/g,''),_0x49fcf7[_0xc1d539(0x18f)]=_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x1ad)](/(\S)\u000A+(\S)/g,_0xc1d539(0x1bd))[_0xc1d539(0x1ad)](/\u000A/g,''),''!=_0x49fcf7[_0xc1d539(0x1bf)]&&''!=_0x49fcf7[_0xc1d539(0x18f)]){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1ad),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x19d),['\x22'+_0x49fcf7[_0xc1d539(0x18f)]+'\x22','\x22'+_0x49fcf7[_0xc1d539(0x1bf)]+'\x22'])});continue;}if(null!=_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x185)](/^ +$/)){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),_0x51b9b6(_0xb14a46,_0xc1d539(0x1d2),_0x49fcf7[_0xc1d539(0x1bf)][_0xc1d539(0x179)]))});continue;}if(null!=_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x185)](/^ +$/)){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),_0x51b9b6(_0xb14a46,_0xc1d539(0x1d2),_0x49fcf7[_0xc1d539(0x18f)][_0xc1d539(0x179)]))});continue;}if(''!=_0x49fcf7[_0xc1d539(0x1bf)]){_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),'\x22'+_0x49fcf7[_0xc1d539(0x1bf)]+'\x22')});continue;}_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),'\x22'+_0x49fcf7[_0xc1d539(0x18f)]+'\x22')});continue;case _0xc1d539(0x1b1):case _0xc1d539(0x1a3):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1d3),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x188):case _0xc1d539(0x196):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1ab),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1d7):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1cd),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1a5),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1ac):_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x189),'content':_0x51b9b6(_0xb14a46,_0xc1d539(0x1c0),this[_0xc1d539(0x19e)](_0x49fcf7[_0xc1d539(0x19a)],_0x49fcf7[_0xc1d539(0x18c)]))});continue;case _0xc1d539(0x1c6):_0xdf6299[_0xc1d539(0x1c7)](_0x49fcf7[_0xc1d539(0x17f)]);continue;case _0xc1d539(0x17b):_0x4ac051[_0xc1d539(0x1c7)](_0x49fcf7[_0xc1d539(0x17f)]);continue;default:_0x2975d9[_0xc1d539(0x1c7)](_0x49fcf7);}if(_0xdf6299[_0xc1d539(0x179)]){const _0x1c2fc6=_0xdf6299[_0xc1d539(0x1c9)](_0x2dcd01=>this[_0xc1d539(0x1b2)][_0xc1d539(0x192)](_0x2dcd01)?this[_0xc1d539(0x1b2)][_0xc1d539(0x18d)](_0x2dcd01):_0x2dcd01)[_0xc1d539(0x19c)](',\x20');_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1c8),'content':_0x51b9b6(this[_0xc1d539(0x1a4)],_0xc1d539(0x19f),_0x1c2fc6)});}if(_0x4ac051[_0xc1d539(0x179)]){const _0x54969d=_0x4ac051[_0xc1d539(0x1c9)](_0x53f7a6=>this[_0xc1d539(0x1b2)][_0xc1d539(0x192)](_0x53f7a6)?this[_0xc1d539(0x1b2)][_0xc1d539(0x18d)](_0x53f7a6):_0x53f7a6)[_0xc1d539(0x19c)](',\x20');_0x2975d9[_0xc1d539(0x1c7)]({'type':_0xc1d539(0x1c8),'content':_0x51b9b6(this[_0xc1d539(0x1a4)],_0xc1d539(0x19b),_0x54969d)});}return _0x2975d9;}[_0x16ca04(0x1a9)](_0x55c61c){const _0xb0789f=_0x16ca04;for(const _0x537432 of this[_0xb0789f(0x195)]){const _0x284073=_0x537432(_0x55c61c);if(_0x284073&&_0xb0789f(0x1a6)in _0x284073)return _0x284073;}}[_0x16ca04(0x1ca)](_0x264ffc,_0x1d2ab9){const _0x53f05c=_0x16ca04,_0x2bed5b=_0x1d2ab9[_0x53f05c(0x181)],_0x5f01ef=void 0x0===_0x2bed5b[_0x53f05c(0x198)]?_0x53f05c(0x17b):_0x53f05c(0x1c6);_0x264ffc[_0x53f05c(0x1c7)]({'type':_0x5f01ef,'key':_0x2bed5b[_0x53f05c(0x17f)]});}[_0x16ca04(0x1d5)](_0x15fe2d,_0x29f7e8){const _0x4afb69=_0x16ca04;_0x15fe2d[_0x4afb69(0x1c7)]({'type':_0x4afb69(0x1c8),'content':_0x51b9b6(this[_0x4afb69(0x1a4)],_0x4afb69(0x1d0),this[_0x4afb69(0x19e)](_0x29f7e8[_0x4afb69(0x18e)]()[_0x4afb69(0x1a0)][_0x4afb69(0x1d9)],0x1))});}[_0x16ca04(0x1d6)](_0x3c1216,_0x2c0483,_0xac3182){const _0x1e6cea=_0x16ca04;if(this[_0x1e6cea(0x1b8)](_0x3c1216,_0x2c0483),_0xac3182&&_0xac3182[_0x1e6cea(0x18e)]()&&!_0x2c0483[_0x1e6cea(0x18e)]()[_0x1e6cea(0x193)][_0x1e6cea(0x17c)](_0xac3182[_0x1e6cea(0x18e)]()[_0x1e6cea(0x1a0)])){const _0x41706a=_0x3c1216[_0x3c1216[_0x1e6cea(0x179)]-0x1],_0x56222d=_0x1e6cea(0x1cd)==_0x2c0483[_0x1e6cea(0x1a6)]?_0x1e6cea(0x1bf):_0x1e6cea(0x18f);_0x41706a&&_0x1e6cea(0x180)==_0x41706a[_0x1e6cea(0x1a6)]&&(_0x41706a[_0x56222d]+='\x0a');}}}
|
|
23
|
+
const _0x5ce645=_0x2564;function _0x2170(){const _0x586342=['3199JeKxxi','3529672fMWMPn','skip','236891utngFj','map','*Split:*\x20%0','pop','data','remove','removeEmptyContainer','145089dUXhIA','nextSibling','registerElementLabel','normal','indexOf','$1\x20$2','type','length','match','129Jghyfc','$textProxy','add','previousSibling','newValue','text','20155iTmhPP','key','checkChild','removeContainer','*Insert:*\x20%0','element','getFirstRange','end','join','addContainer','addObject','removeObject','insertion','registerAttributeLabel','getDescriptions','replace','addFormat','_addDescriptionItems','subType','$text','addEmptyContainer','set','Object','isEmpty','label','push','66vDhyqq','*Change\x20to:*\x20%0','EmptyContainer','function','isObject','getItemLabel','item','_locale','nodeAfter','500JvNCBH','_handleRenameSuggestionDescription','Container','*Merge:*\x20%0','softBreak','isEqual','removeFormat','ELEMENT_SPACE','_attributeLabels','get','quantity','_handleInsertRemoveSuggestionDescription','_itemLabelsCallbacks','*Remove:*\x20%0','elementStart','21952326MpKeQj','elementEnd','_customCallbacks','attribute','getWalker','isInContent','_schema','_handleCustomCallbackDescription','start','registerDescriptionCallback','*Set\x20format:*\x20%0','_itemLabels','_handleAttributeSuggestionDescription','_resolveDescriptionItems','37606KaAigK','has','name','6488xDZDtV','deletion','matchingCallback','*Remove\x20format:*\x20%0','format','REPLACE_TEXT'];_0x2170=function(){return _0x586342;};return _0x2170();}(function(_0x2fb32f,_0x40294f){const _0x45696c=_0x2564,_0x4593e6=_0x2fb32f();while(!![]){try{const _0x4e782b=-parseInt(_0x45696c(0x235))/0x1+-parseInt(_0x45696c(0x229))/0x2*(-parseInt(_0x45696c(0x1e3))/0x3)+-parseInt(_0x45696c(0x233))/0x4+parseInt(_0x45696c(0x1e9))/0x5*(-parseInt(_0x45696c(0x203))/0x6)+-parseInt(_0x45696c(0x232))/0x7*(parseInt(_0x45696c(0x22c))/0x8)+parseInt(_0x45696c(0x1da))/0x9*(-parseInt(_0x45696c(0x20c))/0xa)+parseInt(_0x45696c(0x21b))/0xb;if(_0x4e782b===_0x40294f)break;else _0x4593e6['push'](_0x4593e6['shift']());}catch(_0x1edf95){_0x4593e6['push'](_0x4593e6['shift']());}}}(_0x2170,0x713fc));function _0x2564(_0x9d7f39,_0x2717a5){const _0x21701b=_0x2170();return _0x2564=function(_0x25643b,_0x443dd9){_0x25643b=_0x25643b-0x1d4;let _0x1e7fb7=_0x21701b[_0x25643b];return _0x1e7fb7;},_0x2564(_0x9d7f39,_0x2717a5);}import{getTranslation as _0x3b5759}from'./utils/common-translations.js';import{priorities as _0x241bc6,insertToPriorityArray as _0x32836d}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x207b01}from'./trackchangesediting.js';export default class f{constructor(_0x32b6b8,_0x5417c9){const _0x3fc061=_0x2564;this[_0x3fc061(0x21d)]=[],this[_0x3fc061(0x226)]=new Map(),this[_0x3fc061(0x218)]=[],this[_0x3fc061(0x214)]=new Map(),this[_0x3fc061(0x221)]=_0x32b6b8,this[_0x3fc061(0x20a)]=_0x5417c9;}[_0x5ce645(0x1f7)](_0xce2ecf){const _0x5344a7=_0x5ce645,_0x28c0e4=[],_0x304aa8=new Set(),_0x4ab4a9=new Set();for(let _0xbeca7f=0x0;_0xbeca7f<_0xce2ecf[_0x5344a7(0x1e1)];_0xbeca7f++){const _0x1c7b69=_0xce2ecf[_0xbeca7f];if(!_0x1c7b69[_0x5344a7(0x220)])continue;const _0x45020e=this[_0x5344a7(0x222)](_0x1c7b69);if(_0x45020e){if(null!=_0x1c7b69[_0x5344a7(0x1fb)]){if(_0x304aa8[_0x5344a7(0x22a)](_0x1c7b69[_0x5344a7(0x1fb)]))continue;_0x304aa8[_0x5344a7(0x1e5)](_0x1c7b69[_0x5344a7(0x1fb)]);}_0x28c0e4[_0x5344a7(0x202)](_0x45020e);}else{if(_0x5344a7(0x21e)!=_0x1c7b69[_0x5344a7(0x1e0)])_0x5344a7(0x1f5)!=_0x1c7b69[_0x5344a7(0x1e0)]&&_0x5344a7(0x22d)!=_0x1c7b69[_0x5344a7(0x1e0)]||this[_0x5344a7(0x217)](_0x28c0e4,_0x1c7b69,_0xce2ecf[_0xbeca7f+0x1]);else{const _0x1c6705=_0x1c7b69[_0x5344a7(0x1d7)][_0x5344a7(0x1ea)];if(_0x4ab4a9[_0x5344a7(0x22a)](_0x1c6705))continue;_0x4ab4a9[_0x5344a7(0x1e5)](_0x1c7b69[_0x5344a7(0x1d7)][_0x5344a7(0x1ea)]),_0x1c6705==_0x207b01?this[_0x5344a7(0x20d)](_0x28c0e4,_0x1c7b69):this[_0x5344a7(0x227)](_0x28c0e4,_0x1c7b69);}}}return this[_0x5344a7(0x228)](_0x28c0e4);}[_0x5ce645(0x224)](_0x2e3225){const _0x6174d7=_0x5ce645;this[_0x6174d7(0x21d)][_0x6174d7(0x202)](_0x2e3225);}[_0x5ce645(0x1dc)](_0x574e0f,_0x19aa28,_0x1b1d34=_0x241bc6[_0x5ce645(0x1dd)]){const _0x3a5eff=_0x5ce645;_0x3a5eff(0x206)==typeof _0x574e0f?_0x32836d(this[_0x3a5eff(0x218)],{'matchingCallback':_0x574e0f,'label':_0x19aa28,'priority':_0x1b1d34}):this[_0x3a5eff(0x226)][_0x3a5eff(0x1fe)](_0x574e0f,_0x19aa28);}[_0x5ce645(0x1f6)](_0x1e8aac,_0x496bec){const _0x196495=_0x5ce645;this[_0x196495(0x214)][_0x196495(0x1fe)](_0x1e8aac,_0x496bec);}[_0x5ce645(0x208)](_0x4da26e,_0x1b1fa2=0x1){const _0x3b9660=_0x5ce645;let _0x4dcd05;for(const _0x354a30 of this[_0x3b9660(0x218)])if(_0x354a30[_0x3b9660(0x22e)](_0x4da26e)){_0x4dcd05=_0x354a30[_0x3b9660(0x201)];break;}return _0x4dcd05||(_0x4dcd05=this[_0x3b9660(0x226)][_0x3b9660(0x215)](_0x4da26e[_0x3b9660(0x22b)])),_0x4dcd05?_0x4dcd05(_0x1b1fa2):0x1!==_0x1b1fa2?_0x1b1fa2+'\x20'+_0x4da26e[_0x3b9660(0x22b)]+'s':''+_0x4da26e[_0x3b9660(0x22b)];}[_0x5ce645(0x1fa)](_0x39e2f2,_0x35bee5){const _0x1fc341=_0x5ce645,_0x209a94=_0x35bee5[_0x1fc341(0x1ef)]()[_0x1fc341(0x21f)](),_0x265b38=_0x1fc341(0x1f5)==_0x35bee5[_0x1fc341(0x1e0)]?_0x1fc341(0x1e5):_0x1fc341(0x1d8);for(const _0x4539a2 of _0x209a94){const _0x2ae191=_0x4539a2[_0x1fc341(0x209)],_0x4feff2=_0x39e2f2[_0x39e2f2[_0x1fc341(0x1e1)]-0x1];if(_0x2ae191['is'](_0x1fc341(0x1e4)))_0x4feff2&&_0x4feff2[_0x1fc341(0x1e0)][_0x1fc341(0x1de)](_0x1fc341(0x20e))>-0x1&&_0x39e2f2[_0x1fc341(0x1d6)](),_0x4feff2&&_0x1fc341(0x1e8)==_0x4feff2[_0x1fc341(0x1e0)]?_0x4feff2[_0x265b38]+=_0x2ae191[_0x1fc341(0x1d7)]:_0x39e2f2[_0x1fc341(0x202)]({'type':_0x1fc341(0x1e8),'add':_0x1fc341(0x1e5)==_0x265b38?_0x2ae191[_0x1fc341(0x1d7)]:'','remove':_0x1fc341(0x1d8)==_0x265b38?_0x2ae191[_0x1fc341(0x1d7)]:''});else{if(this[_0x1fc341(0x221)][_0x1fc341(0x207)](_0x2ae191)){const _0x5db0cf=_0x2ae191;if(_0x4feff2&&_0x4feff2[_0x1fc341(0x1e0)][_0x1fc341(0x1de)](_0x1fc341(0x20e))>-0x1&&_0x39e2f2[_0x1fc341(0x1d6)](),_0x1fc341(0x21c)==_0x4539a2[_0x1fc341(0x1e0)])continue;_0x4feff2&&_0x4feff2[_0x1fc341(0x1e0)]==_0x265b38+_0x1fc341(0x1ff)&&_0x4feff2[_0x1fc341(0x1ee)][_0x1fc341(0x22b)]==_0x5db0cf[_0x1fc341(0x22b)]?_0x4feff2[_0x1fc341(0x216)]++:_0x39e2f2[_0x1fc341(0x202)]({'type':_0x265b38+_0x1fc341(0x1ff),'element':_0x5db0cf,'quantity':0x1}),_0x209a94[_0x1fc341(0x234)](_0x445827=>!(_0x1fc341(0x21c)==_0x445827[_0x1fc341(0x1e0)]&&_0x445827[_0x1fc341(0x209)]==_0x2ae191));}else{if(this[_0x1fc341(0x221)][_0x1fc341(0x1eb)](_0x2ae191,_0x1fc341(0x1fc))||_0x2ae191['is'](_0x1fc341(0x1ee),_0x1fc341(0x210))){const _0x3f13fc=_0x2ae191;if(_0x1fc341(0x1e5)==_0x265b38&&_0x1fc341(0x21a)==_0x4539a2[_0x1fc341(0x1e0)]||_0x1fc341(0x1d8)==_0x265b38&&_0x1fc341(0x21c)==_0x4539a2[_0x1fc341(0x1e0)])continue;if(_0x4feff2&&-0x1==_0x4feff2[_0x1fc341(0x1e0)][_0x1fc341(0x1de)](_0x1fc341(0x20e))){_0x1fc341(0x1e8)==_0x4feff2[_0x1fc341(0x1e0)]&&(_0x4feff2[_0x265b38]+='\x0a');continue;}let _0xb19298;if(_0xb19298=_0x1fc341(0x1e5)==_0x265b38?_0x3f13fc[_0x1fc341(0x1db)]&&!this[_0x1fc341(0x221)][_0x1fc341(0x207)](_0x3f13fc[_0x1fc341(0x1db)])?_0x3f13fc[_0x1fc341(0x1db)]:null:_0x3f13fc[_0x1fc341(0x1e6)]&&!this[_0x1fc341(0x221)][_0x1fc341(0x207)](_0x3f13fc[_0x1fc341(0x1e6)])?_0x3f13fc[_0x1fc341(0x1e6)]:null,_0x3f13fc[_0x1fc341(0x200)]||_0xb19298&&_0xb19298[_0x1fc341(0x200)]){const _0x3d8547=_0xb19298&&_0xb19298[_0x1fc341(0x200)]?_0xb19298:_0x3f13fc;_0x4feff2&&_0x4feff2[_0x1fc341(0x1e0)]==_0x265b38+_0x1fc341(0x205)&&_0x4feff2[_0x1fc341(0x1ee)][_0x1fc341(0x22b)]==_0x3d8547[_0x1fc341(0x22b)]?_0x4feff2[_0x1fc341(0x216)]++:_0x39e2f2[_0x1fc341(0x202)]({'type':_0x265b38+_0x1fc341(0x205),'element':_0x3d8547,'quantity':0x1});}else _0x39e2f2[_0x1fc341(0x202)]({'type':_0x265b38+_0x1fc341(0x20e),'element':_0x3f13fc});}}}}}[_0x5ce645(0x228)](_0x44ea9d){const _0xf45de4=_0x5ce645,_0x4af2a3=this[_0xf45de4(0x20a)],_0x9fb01e=[],_0x2a6dfb=[],_0x74cd9c=[];for(const _0x2ecf0a of _0x44ea9d)switch(_0x2ecf0a[_0xf45de4(0x1e0)]){case _0xf45de4(0x1e8):if(_0x2ecf0a[_0xf45de4(0x1e5)]=_0x2ecf0a[_0xf45de4(0x1e5)][_0xf45de4(0x1f8)](/(\S)\u000A+(\S)/g,_0xf45de4(0x1df))[_0xf45de4(0x1f8)](/\u000A/g,''),_0x2ecf0a[_0xf45de4(0x1d8)]=_0x2ecf0a[_0xf45de4(0x1d8)][_0xf45de4(0x1f8)](/(\S)\u000A+(\S)/g,_0xf45de4(0x1df))[_0xf45de4(0x1f8)](/\u000A/g,''),''!=_0x2ecf0a[_0xf45de4(0x1e5)]&&''!=_0x2ecf0a[_0xf45de4(0x1d8)]){_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x1f8),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x231),['\x22'+_0x2ecf0a[_0xf45de4(0x1d8)]+'\x22','\x22'+_0x2ecf0a[_0xf45de4(0x1e5)]+'\x22'])});continue;}if(null!=_0x2ecf0a[_0xf45de4(0x1e5)][_0xf45de4(0x1e2)](/^ +$/)){_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x1f5),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x1ed),_0x3b5759(_0x4af2a3,_0xf45de4(0x213),_0x2ecf0a[_0xf45de4(0x1e5)][_0xf45de4(0x1e1)]))});continue;}if(null!=_0x2ecf0a[_0xf45de4(0x1d8)][_0xf45de4(0x1e2)](/^ +$/)){_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x22d),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x219),_0x3b5759(_0x4af2a3,_0xf45de4(0x213),_0x2ecf0a[_0xf45de4(0x1d8)][_0xf45de4(0x1e1)]))});continue;}if(''!=_0x2ecf0a[_0xf45de4(0x1e5)]){_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x1f5),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x1ed),'\x22'+_0x2ecf0a[_0xf45de4(0x1e5)]+'\x22')});continue;}_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x22d),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x219),'\x22'+_0x2ecf0a[_0xf45de4(0x1d8)]+'\x22')});continue;case _0xf45de4(0x1fd):case _0xf45de4(0x1f3):_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x1f5),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x1ed),this[_0xf45de4(0x208)](_0x2ecf0a[_0xf45de4(0x1ee)],_0x2ecf0a[_0xf45de4(0x216)]))});continue;case _0xf45de4(0x1d9):case _0xf45de4(0x1f4):_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x22d),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x219),this[_0xf45de4(0x208)](_0x2ecf0a[_0xf45de4(0x1ee)],_0x2ecf0a[_0xf45de4(0x216)]))});continue;case _0xf45de4(0x1f2):_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x1f5),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x1d5),this[_0xf45de4(0x208)](_0x2ecf0a[_0xf45de4(0x1ee)],_0x2ecf0a[_0xf45de4(0x216)]))});continue;case _0xf45de4(0x1ec):_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x22d),'content':_0x3b5759(_0x4af2a3,_0xf45de4(0x20f),this[_0xf45de4(0x208)](_0x2ecf0a[_0xf45de4(0x1ee)],_0x2ecf0a[_0xf45de4(0x216)]))});continue;case _0xf45de4(0x1f9):_0x2a6dfb[_0xf45de4(0x202)](_0x2ecf0a[_0xf45de4(0x1ea)]);continue;case _0xf45de4(0x212):_0x74cd9c[_0xf45de4(0x202)](_0x2ecf0a[_0xf45de4(0x1ea)]);continue;default:_0x9fb01e[_0xf45de4(0x202)](_0x2ecf0a);}if(_0x2a6dfb[_0xf45de4(0x1e1)]){const _0x30330c=_0x2a6dfb[_0xf45de4(0x1d4)](_0xd9b762=>this[_0xf45de4(0x214)][_0xf45de4(0x22a)](_0xd9b762)?this[_0xf45de4(0x214)][_0xf45de4(0x215)](_0xd9b762):_0xd9b762)[_0xf45de4(0x1f1)](',\x20');_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x230),'content':_0x3b5759(this[_0xf45de4(0x20a)],_0xf45de4(0x225),_0x30330c)});}if(_0x74cd9c[_0xf45de4(0x1e1)]){const _0x243e31=_0x74cd9c[_0xf45de4(0x1d4)](_0x5d6507=>this[_0xf45de4(0x214)][_0xf45de4(0x22a)](_0x5d6507)?this[_0xf45de4(0x214)][_0xf45de4(0x215)](_0x5d6507):_0x5d6507)[_0xf45de4(0x1f1)](',\x20');_0x9fb01e[_0xf45de4(0x202)]({'type':_0xf45de4(0x230),'content':_0x3b5759(this[_0xf45de4(0x20a)],_0xf45de4(0x22f),_0x243e31)});}return _0x9fb01e;}[_0x5ce645(0x222)](_0x39fb4b){const _0x138c1=_0x5ce645;for(const _0x5f5986 of this[_0x138c1(0x21d)]){const _0x8882ef=_0x5f5986(_0x39fb4b);if(_0x8882ef&&_0x138c1(0x1e0)in _0x8882ef)return _0x8882ef;}}[_0x5ce645(0x227)](_0x5c98e9,_0x6df67d){const _0x5d452e=_0x5ce645,_0x5814f3=_0x6df67d[_0x5d452e(0x1d7)],_0x18856d=void 0x0===_0x5814f3[_0x5d452e(0x1e7)]?_0x5d452e(0x212):_0x5d452e(0x1f9);_0x5c98e9[_0x5d452e(0x202)]({'type':_0x18856d,'key':_0x5814f3[_0x5d452e(0x1ea)]});}[_0x5ce645(0x20d)](_0x2e6181,_0x1ce92a){const _0x20b475=_0x5ce645;_0x2e6181[_0x20b475(0x202)]({'type':_0x20b475(0x230),'content':_0x3b5759(this[_0x20b475(0x20a)],_0x20b475(0x204),this[_0x20b475(0x208)](_0x1ce92a[_0x20b475(0x1ef)]()[_0x20b475(0x223)][_0x20b475(0x20b)],0x1))});}[_0x5ce645(0x217)](_0x491ba9,_0x1b6096,_0x25aded){const _0x42c76a=_0x5ce645;if(this[_0x42c76a(0x1fa)](_0x491ba9,_0x1b6096),_0x25aded&&_0x25aded[_0x42c76a(0x1ef)]()&&!_0x1b6096[_0x42c76a(0x1ef)]()[_0x42c76a(0x1f0)][_0x42c76a(0x211)](_0x25aded[_0x42c76a(0x1ef)]()[_0x42c76a(0x223)])){const _0x370dbd=_0x491ba9[_0x491ba9[_0x42c76a(0x1e1)]-0x1],_0x349cc4=_0x42c76a(0x1f5)==_0x1b6096[_0x42c76a(0x1e0)]?_0x42c76a(0x1e5):_0x42c76a(0x1d8);_0x370dbd&&_0x42c76a(0x1e8)==_0x370dbd[_0x42c76a(0x1e0)]&&(_0x370dbd[_0x349cc4]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a0bbd=_0x2bee;function _0x4de4(){var _0x241e2a=['getSuggestion','TrackChanges','2231376sDvqEA','addSuggestionData','addSuggestion','2583796kwQwBh','306161vFetzm','4rJkwxP','requires','adapter','11083707nakYFY','get','pluginName','getSuggestions','Comments','865718IGBrUg','1233684JvGOOs','8zAzckG','1280080tZsxJQ','plugins','editor'];_0x4de4=function(){return _0x241e2a;};return _0x4de4();}function _0x2bee(_0x5a50a3,_0x461455){var _0x4de466=_0x4de4();return _0x2bee=function(_0x2bee29,_0x6b6b88){_0x2bee29=_0x2bee29-0x116;var _0x292f94=_0x4de466[_0x2bee29];return _0x292f94;},_0x2bee(_0x5a50a3,_0x461455);}(function(_0x3aea3f,_0x4802ea){var _0x4a0b29=_0x2bee,_0x937eb=_0x3aea3f();while(!![]){try{var _0x45f746=parseInt(_0x4a0b29(0x122))/0x1*(parseInt(_0x4a0b29(0x123))/0x2)+-parseInt(_0x4a0b29(0x11e))/0x3+-parseInt(_0x4a0b29(0x121))/0x4+parseInt(_0x4a0b29(0x119))/0x5+-parseInt(_0x4a0b29(0x117))/0x6+-parseInt(_0x4a0b29(0x116))/0x7+parseInt(_0x4a0b29(0x118))/0x8*(parseInt(_0x4a0b29(0x126))/0x9);if(_0x45f746===_0x4802ea)break;else _0x937eb['push'](_0x937eb['shift']());}catch(_0x3e5952){_0x937eb['push'](_0x937eb['shift']());}}}(_0x4de4,0x5cfa0));import{Plugin as _0x27ac15}from'ckeditor5/src/core.js';import _0x344e6f from'./trackchangesui.js';import _0x3b1024 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x27ac15{static get[_0x2a0bbd(0x124)](){var _0x4d8d09=_0x2a0bbd;return[_0x3b1024,_0x344e6f,_0x4d8d09(0x12a)];}static get[_0x2a0bbd(0x128)](){var _0x586547=_0x2a0bbd;return _0x586547(0x11d);}set[_0x2a0bbd(0x125)](_0x912932){var _0x310411=_0x2a0bbd;this[_0x310411(0x11b)][_0x310411(0x11a)][_0x310411(0x127)](_0x3b1024)[_0x310411(0x125)]=_0x912932;}get[_0x2a0bbd(0x125)](){var _0x1618c6=_0x2a0bbd;return this[_0x1618c6(0x11b)][_0x1618c6(0x11a)][_0x1618c6(0x127)](_0x3b1024)[_0x1618c6(0x125)];}[_0x2a0bbd(0x120)](_0x59ae47){var _0x5d89b2=_0x2a0bbd;return this[_0x5d89b2(0x11b)][_0x5d89b2(0x11a)][_0x5d89b2(0x127)](_0x3b1024)[_0x5d89b2(0x11f)](_0x59ae47);}[_0x2a0bbd(0x129)]({skipNotAttached:_0x4c2f27=!0x1,toJSON:_0x138a58=!0x1}={}){var _0x2616bf=_0x2a0bbd;return this[_0x2616bf(0x11b)][_0x2616bf(0x11a)][_0x2616bf(0x127)](_0x3b1024)[_0x2616bf(0x129)]({'skipNotAttached':_0x4c2f27,'toJSON':_0x138a58});}[_0x2a0bbd(0x11c)](_0x31fcfd){var _0x69bdde=_0x2a0bbd;return this[_0x69bdde(0x11b)][_0x69bdde(0x11a)][_0x69bdde(0x127)](_0x3b1024)[_0x69bdde(0x11c)](_0x31fcfd);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31e597=_0x581e;(function(_0x233244,_0x222b14){const _0x3788c7=_0x581e,_0x570816=_0x233244();while(!![]){try{const _0x175c4f=parseInt(_0x3788c7(0x148))/0x1+-parseInt(_0x3788c7(0x150))/0x2+-parseInt(_0x3788c7(0x156))/0x3*(-parseInt(_0x3788c7(0x136))/0x4)+parseInt(_0x3788c7(0x152))/0x5+parseInt(_0x3788c7(0x122))/0x6+-parseInt(_0x3788c7(0x14a))/0x7+-parseInt(_0x3788c7(0x142))/0x8;if(_0x175c4f===_0x222b14)break;else _0x570816['push'](_0x570816['shift']());}catch(_0x47ca88){_0x570816['push'](_0x570816['shift']());}}}(_0x4e77,0x22983));function _0x4e77(){const _0x20d6a0=['plugins','execute','useAnonymousUser','div','Users','get','CommentsRepository','getUser','100cVzeVU','result','name','TrackChangesEditing','createElement','getSuggestions','requires','TrackChangesData','define','getDataWithDiscardedSuggestions','getDataWithAcceptedSuggestions','_adapter','2638344wzUerV','addCommentThread','init','trackChangesData.editorCreator','rootsAttributes','reduce','145474oXPCsl','Pagination','1127413RHkCUN','appendChild','editor','trackChangesData','destroy','addUser','195056TTjpjC','addSuggestionData','1333675bUXXQx','createDocumentFragment','set','constructor','27219XtHaJw','acceptAllSuggestions','function','end','config','model','getCommentThreads','push','document','getFullData','546270plhIue','users','TrackChangesDataGetter','getRootsAttributes','map','editorCreator','data','pluginName','create','getRootNames','discardAllSuggestions','track-changes-data-invalid-editor-creator'];_0x4e77=function(){return _0x20d6a0;};return _0x4e77();}import{Plugin as _0x209645}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d68c2}from'ckeditor5/src/utils.js';import _0x23c3b6 from'./trackchangesediting.js';function _0x581e(_0x421cd0,_0x4b20c4){const _0x4e77c5=_0x4e77();return _0x581e=function(_0x581ea1,_0x2ce538){_0x581ea1=_0x581ea1-0x11c;let _0x4daaaf=_0x4e77c5[_0x581ea1];return _0x4daaaf;},_0x581e(_0x421cd0,_0x4b20c4);}import{sanitizeEditorConfig as _0x1fdb02}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x31e597(0x149)];export default class P extends _0x209645{static get[_0x31e597(0x13c)](){return[_0x23c3b6];}static get[_0x31e597(0x129)](){const _0x239f8e=_0x31e597;return _0x239f8e(0x13d);}[_0x31e597(0x144)](){const _0x57df35=_0x31e597,_0x57bb5c=this[_0x57df35(0x14c)];if(_0x57bb5c[_0x57df35(0x11c)][_0x57df35(0x13e)](_0x57df35(0x145),_0x27b57f=>{const _0x1d74bd=_0x57df35,_0x378ba9=_0x57bb5c[_0x1d74bd(0x11d)][_0x1d74bd(0x120)][_0x1d74bd(0x12b)]()[_0x1d74bd(0x147)]((_0x182ce0,_0x112710)=>(_0x182ce0[_0x112710]='',_0x182ce0),{});return _0x57bb5c[_0x1d74bd(0x155)][_0x1d74bd(0x12a)](_0x378ba9,_0x27b57f);}),_0x57df35(0x158)!=typeof _0x57bb5c[_0x57df35(0x11c)][_0x57df35(0x133)](_0x57df35(0x14d))[_0x57df35(0x127)])throw new _0x2d68c2(_0x57df35(0x12d));}[_0x31e597(0x140)](_0x4a669f){const _0x426514=_0x31e597;return N(this[_0x426514(0x14c)],!0x0,_0x4a669f);}[_0x31e597(0x13f)](_0x191ae2){const _0x17d246=_0x31e597;return N(this[_0x17d246(0x14c)],!0x1,_0x191ae2);}}class D extends _0x209645{static get[_0x31e597(0x129)](){const _0x23c3bc=_0x31e597;return _0x23c3bc(0x124);}constructor(_0x4245a8){const _0x321fea=_0x31e597;super(_0x4245a8),this[_0x321fea(0x137)]=_0x321fea(0x159);}[_0x31e597(0x144)](){const _0x1dd661=_0x31e597;this[_0x1dd661(0x14c)][_0x1dd661(0x12e)][_0x1dd661(0x133)](_0x1dd661(0x134))[_0x1dd661(0x141)]={'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[_0x1dd661(0x14c)][_0x1dd661(0x12e)][_0x1dd661(0x133)](_0x1dd661(0x139))[_0x1dd661(0x141)]=null;}}function v(_0x4b560c){const _0x1864cb=_0x31e597;return void 0x0!==_0x4b560c[_0x1864cb(0x125)];}async function N(_0x235106,_0x5c366a,_0x15f19d){const _0x3ed33f=_0x31e597,_0x4dca49=_0x1fdb02(_0x235106,T);_0x4dca49[_0x3ed33f(0x12e)][_0x3ed33f(0x11f)](_0x23c3b6,D),_0x4dca49[_0x3ed33f(0x146)]=v(_0x235106)?_0x235106[_0x3ed33f(0x125)]():void 0x0;const _0x46761e=document[_0x3ed33f(0x153)](),_0xce857c=_0x235106[_0x3ed33f(0x11c)][_0x3ed33f(0x133)](_0x3ed33f(0x14d))[_0x3ed33f(0x127)],_0x35a27d=await _0xce857c(_0x4dca49,()=>function(_0x17e6f2){const _0x5421fd=_0x3ed33f,_0x40e678=document[_0x5421fd(0x13a)](_0x5421fd(0x131));return _0x17e6f2[_0x5421fd(0x14b)](_0x40e678),_0x40e678;}(_0x46761e));!function(_0x42df55,_0x36869d){const _0x3629f0=_0x3ed33f,_0x2ddac2=_0x42df55[_0x3629f0(0x11d)][_0x3629f0(0x120)][_0x3629f0(0x12b)]()[_0x3629f0(0x147)]((_0x3c419b,_0x361838)=>(_0x3c419b[_0x361838]=_0x42df55[_0x3629f0(0x128)][_0x3629f0(0x133)]({'rootName':_0x361838}),_0x3c419b),{}),_0x533fe6=_0x42df55[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x132))[_0x3629f0(0x123)][_0x3629f0(0x126)](_0xf7c12d=>({'id':_0xf7c12d['id'],'name':_0xf7c12d[_0x3629f0(0x138)]})),_0x4d09e2=_0x42df55[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x139))[_0x3629f0(0x13b)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x455660=_0x42df55[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x134))[_0x3629f0(0x11e)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x11486f=_0x36869d[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x132)),_0x41a389=_0x36869d[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x139)),_0x59d8a2=_0x36869d[_0x3629f0(0x12e)][_0x3629f0(0x133)](_0x3629f0(0x134));for(const _0x2a7d24 of _0x533fe6)_0x11486f[_0x3629f0(0x135)](_0x2a7d24['id'])||_0x11486f[_0x3629f0(0x14f)](_0x2a7d24);_0x11486f['me']||_0x11486f[_0x3629f0(0x130)]();for(const _0x5bee21 of _0x455660)_0x59d8a2[_0x3629f0(0x143)](_0x5bee21);for(const _0x142478 of _0x4d09e2)_0x41a389[_0x3629f0(0x151)](_0x142478);_0x36869d[_0x3629f0(0x128)][_0x3629f0(0x154)](_0x2ddac2);}(_0x235106,_0x35a27d),_0x35a27d[_0x3ed33f(0x12f)](_0x5c366a?_0x3ed33f(0x157):_0x3ed33f(0x12c));const _0x3f2f5f=v(_0x35a27d)?_0x35a27d[_0x3ed33f(0x121)](_0x15f19d):_0x35a27d[_0x3ed33f(0x128)][_0x3ed33f(0x133)](_0x15f19d);return await _0x35a27d[_0x3ed33f(0x14e)](),_0x3f2f5f;}
|