@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250624.0 → 0.0.0-nightly-20250626.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +8 -0
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.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
|
|
23
|
+
const _0x35c095=_0x1da0;(function(_0x37e391,_0x1e4e20){const _0x43277c=_0x1da0,_0x13e8aa=_0x37e391();while(!![]){try{const _0x5c381e=-parseInt(_0x43277c(0xe0))/0x1*(-parseInt(_0x43277c(0xd3))/0x2)+-parseInt(_0x43277c(0xeb))/0x3*(parseInt(_0x43277c(0xf2))/0x4)+parseInt(_0x43277c(0x10f))/0x5+parseInt(_0x43277c(0xf8))/0x6+-parseInt(_0x43277c(0x111))/0x7+parseInt(_0x43277c(0x103))/0x8+-parseInt(_0x43277c(0xd5))/0x9*(-parseInt(_0x43277c(0x105))/0xa);if(_0x5c381e===_0x1e4e20)break;else _0x13e8aa['push'](_0x13e8aa['shift']());}catch(_0x10fa68){_0x13e8aa['push'](_0x13e8aa['shift']());}}}(_0x2095,0x53318));function _0x1da0(_0x776e3f,_0x3f189a){const _0x2095a7=_0x2095();return _0x1da0=function(_0x1da055,_0x541d1e){_0x1da055=_0x1da055-0xcc;let _0x3dfab5=_0x2095a7[_0x1da055];return _0x3dfab5;},_0x1da0(_0x776e3f,_0x3f189a);}import{Plugin as _0x1c00fc}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x20e1f5}from'./table.js';import{getTranslation as _0x1e88d6}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x1c00fc{static get[_0x35c095(0x120)](){return[_0x20e1f5];}[_0x35c095(0xed)](){const _0x39792d=_0x35c095,_0x205d3=this[_0x39792d(0x116)];if(!_0x205d3[_0x39792d(0x108)][_0x39792d(0x113)](_0x39792d(0xd1)))return;const _0x5ec2bc=_0x205d3[_0x39792d(0xcd)],_0x4b7e72=_0x205d3[_0x39792d(0x108)][_0x39792d(0xd7)](_0x39792d(0x104));_0x4b7e72[_0x39792d(0x10b)](_0x39792d(0xe2)),_0x4b7e72[_0x39792d(0x10b)](_0x39792d(0xee)),_0x4b7e72[_0x39792d(0x11a)](_0x39792d(0xef)),_0x4b7e72[_0x39792d(0x11a)](_0x39792d(0xcf)),_0x4b7e72[_0x39792d(0xfb)][_0x39792d(0xf4)](_0x39792d(0xef),_0x1e88d6(_0x5ec2bc,_0x39792d(0x11d))),_0x4b7e72[_0x39792d(0xfb)][_0x39792d(0xf4)](_0x39792d(0xcf),_0x1e88d6(_0x5ec2bc,_0x39792d(0xe4))),this[_0x39792d(0xd9)]();}[_0x35c095(0xd9)](){const _0x540667=_0x35c095,_0x39ea32=this[_0x540667(0x116)][_0x540667(0x108)][_0x540667(0xd7)](_0x540667(0x104)),_0x5bd107=this[_0x540667(0x116)][_0x540667(0x108)][_0x540667(0xd7)](_0x540667(0xd2)),_0x3bef74=this[_0x540667(0x116)][_0x540667(0x108)][_0x540667(0xd7)](_0x20e1f5)[_0x540667(0xdc)]();function _0x24225b({showActiveMarker:_0x2d186d=!0x0,setDataAttribute:_0x411476=!0x0}={}){return(_0x12fbcc,_0x578333,_0x5840be)=>{const _0x28e580=_0x1da0,{type:_0x1525e6,id:_0xef1f6b}=_0x39ea32[_0x28e580(0xfa)](_0x578333[_0x28e580(0xfd)]),_0x596604=_0x39ea32[_0x28e580(0x114)](_0xef1f6b),_0x249d12=_0x596604[_0x28e580(0xd8)];if(_0x28e580(0xe1)!=_0x596604[_0x28e580(0xd4)]||!_0x249d12||_0x28e580(0xee)!=_0x249d12[_0x28e580(0xec)])return;if(_0x578333[_0x28e580(0x10d)])return void _0x12fbcc[_0x28e580(0x115)]();if(!_0x5840be[_0x28e580(0xf6)][_0x28e580(0xfe)](_0x578333[_0x28e580(0xe8)],_0x12fbcc[_0x28e580(0x106)]))return;const _0x3cfe6d=_0x578333[_0x28e580(0xe8)][_0x28e580(0xff)][_0x28e580(0x11e)],_0x7f2e8c=_0x578333[_0x28e580(0xe8)][_0x28e580(0x10c)][_0x28e580(0x118)],_0x562f91=_0x3cfe6d[_0x28e580(0xdd)][_0x28e580(0xdd)],{column:_0x3cfb74}=_0x5bd107[_0x28e580(0x11b)](_0x3cfe6d),{column:_0x34bb33}=_0x5bd107[_0x28e580(0x11b)](_0x7f2e8c);for(let _0x4b2338=_0x3cfb74;_0x4b2338<=_0x34bb33;_0x4b2338++){const _0x3494db=_0x5bd107[_0x28e580(0xf9)](_0x562f91,{'column':_0x4b2338,'includeAllSlots':!0x1});for(const _0x54bc5c of _0x3494db){const _0x26692c=_0x54bc5c[_0x28e580(0xdb)],_0x237cde=_0x5840be[_0x28e580(0xf7)][_0x28e580(0xea)](_0x26692c);_0x5840be[_0x28e580(0x121)][_0x28e580(0x101)](_0x28e580(0x112)+_0x1525e6,_0x237cde),_0x411476&&_0x5840be[_0x28e580(0x121)][_0x28e580(0x102)](_0x28e580(0xe9),_0xef1f6b,_0x237cde),_0x5840be[_0x28e580(0xf7)][_0x28e580(0xda)](_0x237cde,_0x578333[_0x28e580(0xfd)]),_0x2d186d&&(_0x39ea32[_0x28e580(0xf0)][_0x28e580(0xe5)](_0x578333[_0x28e580(0xfd)])?_0x5840be[_0x28e580(0x121)][_0x28e580(0x101)](_0x28e580(0x10e),_0x237cde):_0x5840be[_0x28e580(0x121)][_0x28e580(0x119)](_0x28e580(0x10e),_0x237cde));}}};}_0x39ea32[_0x540667(0x107)][_0x540667(0xd0)](_0x540667(0xe1),_0x540667(0xe2),_0x540667(0x11f),_0x3bef74),_0x39ea32[_0x540667(0x107)][_0x540667(0xd0)](_0x540667(0xe1),_0x540667(0xee),_0x540667(0x11f),_0x3bef74),this[_0x540667(0x116)][_0x540667(0xf5)][_0x540667(0xdf)]['on'](_0x540667(0x117),_0x24225b(),{'priority':_0x540667(0x110)}),this[_0x540667(0x116)][_0x540667(0xd8)][_0x540667(0xdf)]['on'](_0x540667(0x117),(_0x3bea84,_0x1e8757,_0x221926)=>{const _0x1035ba=_0x540667;_0x221926[_0x1035ba(0x100)][_0x1035ba(0xf3)]&&_0x24225b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3bea84,_0x1e8757,_0x221926);},{'priority':_0x540667(0x110)}),this[_0x540667(0x116)][_0x540667(0xf5)][_0x540667(0xdf)]['on'](_0x540667(0xcc),(_0x7243ee,_0xa433c0,_0x4c17af)=>{const _0x40e3f9=_0x540667,{type:_0x4fa678,id:_0xdf8d1e}=_0x39ea32[_0x40e3f9(0xfa)](_0xa433c0[_0x40e3f9(0xfd)]),_0x394a0f=_0x39ea32[_0x40e3f9(0x114)](_0xdf8d1e),_0x2dfb8c=_0x394a0f[_0x40e3f9(0xd8)];if(_0x40e3f9(0xe1)!=_0x394a0f[_0x40e3f9(0xd4)]||!_0x2dfb8c||_0x40e3f9(0xee)!=_0x2dfb8c[_0x40e3f9(0xec)])return;const _0xb5bd7e=_0x4c17af[_0x40e3f9(0xf7)][_0x40e3f9(0xe6)](_0xa433c0[_0x40e3f9(0xfd)]);if(_0xb5bd7e){for(const _0x239824 of _0xb5bd7e)_0x4c17af[_0x40e3f9(0x121)][_0x40e3f9(0x119)](_0x40e3f9(0x112)+_0x4fa678,_0x239824),_0x4c17af[_0x40e3f9(0x121)][_0x40e3f9(0x119)](_0x40e3f9(0x10e),_0x239824),_0x4c17af[_0x40e3f9(0x121)][_0x40e3f9(0xe7)](_0x40e3f9(0xe9),_0x239824),_0x4c17af[_0x40e3f9(0xf7)][_0x40e3f9(0xfc)](_0x239824,_0xa433c0[_0x40e3f9(0xfd)]);}},{'priority':_0x540667(0x110)}),this[_0x540667(0x109)]();}[_0x35c095(0x109)](){const _0x21ea6b=_0x35c095,_0x47952a=this[_0x21ea6b(0x116)],_0x570eef=_0x47952a[_0x21ea6b(0xcd)];function _0x8d7be9(_0x44680a){const _0x49df35=_0x21ea6b;return{'type':_0x49df35(0xf1),'content':_0x1e88d6(_0x570eef,_0x49df35(0xde),_0x44680a)};}_0x47952a[_0x21ea6b(0x108)][_0x21ea6b(0xd7)](_0x21ea6b(0x104))[_0x21ea6b(0xfb)][_0x21ea6b(0xe3)](_0x20d86f=>{const _0x350f41=_0x21ea6b;if(_0x350f41(0xe1)!=_0x20d86f[_0x350f41(0xd4)])return;const {data:_0x40db39}=_0x20d86f;if(_0x40db39){if(_0x350f41(0xe2)==_0x40db39[_0x350f41(0xec)]){const _0x3e2c8e=_0x40db39[_0x350f41(0x10a)][0x0][_0x350f41(0xce)];return _0x8d7be9(_0x1e88d6(_0x570eef,_0x3e2c8e?_0x350f41(0x11d):_0x350f41(0x11c)));}if(_0x350f41(0xee)==_0x40db39[_0x350f41(0xec)]){const _0x3b994d=_0x40db39[_0x350f41(0x10a)][0x0][_0x350f41(0xce)];return _0x8d7be9(_0x1e88d6(_0x570eef,_0x3b994d?_0x350f41(0xe4):_0x350f41(0xd6)));}}});}}function _0x2095(){const _0x10233b=['enableDefaultAttributesIntegration','end','item','ck-suggestion-marker--active','174720ONDrjb','highest','3623746TpvKip','ck-suggestion-marker-','has','getSuggestion','stop','editor','addMarker:suggestion','nodeBefore','removeClass','registerBlockAttribute','getCellLocation','FORMAT_REGULAR_ROW','FORMAT_HEADER_ROW','nodeAfter','accept','requires','writer','removeMarker:suggestion','locale','forceValue','headingColumns','registerCustomCallback','TableEditing','TableUtils','2dKtsHS','type','1089KXqZhd','FORMAT_REGULAR_COLUMN','get','data','_handleLegacySuggestions','bindElementToMarker','cell','_acceptFormatSuggestionCallbackFactory','parent','*Format:*\x20%0','downcastDispatcher','13683ZuCEwA','formatBlock','setTableRowHeader','registerDescriptionCallback','FORMAT_HEADER_COLUMN','includes','markerNameToElements','removeAttribute','markerRange','data-suggestion','toViewElement','3KqxnMw','commandName','afterInit','setTableColumnHeader','headingRows','activeMarkers','format','2580748AkwYgP','showSuggestionHighlights','registerAttributeLabel','editing','consumable','mapper','1955850OtuIMh','createTableWalker','_splitMarkerName','descriptionFactory','unbindElementFromMarkerName','markerName','consume','start','options','addClass','setAttribute','2729536ZFkigd','TrackChangesEditing','65110dTiXaq','name','_suggestionFactory','plugins','_registerLegacyDescription','commandParams'];_0x2095=function(){return _0x10233b;};return _0x2095();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x21fb(){const _0x39e499=['element','get','51824VNAsyp','231928eDVbWx','key','insertTableLayout','enableDefaultAttributesIntegration','afterInit','registerDescriptionCallback','registerBlockAttribute','174zwgdak','table','locale','newValue','getAttribute','has','plugins','3942743NCFzov','tableType','editor','9710910NDmORN','enableCommand','registerElementLabel','11fiGMTA','layout','18oyCnGH','*Set\x20table\x20type:*\x20%0','descriptionFactory','957330dmdSPv','ELEMENT_LAYOUT_TABLE','TableLayout','content','387gJMHac','format','6MiDugC','TrackChangesEditing','25478004wLRYIi','ELEMENT_CONTENT_TABLE','99531TxCLvb'];_0x21fb=function(){return _0x39e499;};return _0x21fb();}const _0x1bebe8=_0x5dba;function _0x5dba(_0x7bca52,_0x205109){const _0x21fb3d=_0x21fb();return _0x5dba=function(_0x5dba07,_0x2941d5){_0x5dba07=_0x5dba07-0xff;let _0x14c200=_0x21fb3d[_0x5dba07];return _0x14c200;},_0x5dba(_0x7bca52,_0x205109);}(function(_0x5b7ce1,_0x5f3fc7){const _0x3f17ae=_0x5dba,_0xc6fe16=_0x5b7ce1();while(!![]){try{const _0x26360c=parseInt(_0x3f17ae(0x104))/0x1*(-parseInt(_0x3f17ae(0x11e))/0x2)+-parseInt(_0x3f17ae(0x10f))/0x3*(-parseInt(_0x3f17ae(0x107))/0x4)+parseInt(_0x3f17ae(0x121))/0x5+-parseInt(_0x3f17ae(0x100))/0x6*(-parseInt(_0x3f17ae(0x116))/0x7)+parseInt(_0x3f17ae(0x108))/0x8*(parseInt(_0x3f17ae(0x125))/0x9)+parseInt(_0x3f17ae(0x119))/0xa+parseInt(_0x3f17ae(0x11c))/0xb*(-parseInt(_0x3f17ae(0x102))/0xc);if(_0x26360c===_0x5f3fc7)break;else _0xc6fe16['push'](_0xc6fe16['shift']());}catch(_0x5ee70a){_0xc6fe16['push'](_0xc6fe16['shift']());}}}(_0x21fb,0xac199));import{Plugin as _0x2ae6b4}from'ckeditor5/src/core.js';import{getTranslation as _0x46423c}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x2ae6b4{[_0x1bebe8(0x10c)](){const _0x4a0690=_0x1bebe8,_0x26a7f9=this[_0x4a0690(0x118)],_0x9a0518=_0x26a7f9[_0x4a0690(0x111)],_0x582d9c=_0x26a7f9[_0x4a0690(0x115)][_0x4a0690(0x106)](_0x4a0690(0x101));function _0x41f705(_0x370bdc){const _0x131273=_0x4a0690;return{'type':_0x131273(0xff),'content':''+_0x46423c(_0x9a0518,_0x131273(0x11f),_0x370bdc)};}_0x26a7f9[_0x4a0690(0x115)][_0x4a0690(0x114)](_0x4a0690(0x123))&&(_0x582d9c[_0x4a0690(0x11a)](_0x4a0690(0x10a)),_0x582d9c[_0x4a0690(0x10b)](_0x4a0690(0x117)),_0x582d9c[_0x4a0690(0x10e)](_0x4a0690(0x117)),_0x582d9c[_0x4a0690(0x120)][_0x4a0690(0x11b)](_0x61df48=>_0x61df48['is'](_0x4a0690(0x105),_0x4a0690(0x110))&&_0x4a0690(0x11d)===_0x61df48[_0x4a0690(0x113)](_0x4a0690(0x117)),_0x56b0fa=>_0x46423c(_0x9a0518,_0x4a0690(0x122),_0x56b0fa)),_0x582d9c[_0x4a0690(0x120)][_0x4a0690(0x10d)](_0x4fc433=>{const _0x305c91=_0x4a0690,{data:_0x3b6519}=_0x4fc433;if(_0x3b6519&&_0x305c91(0x117)==_0x3b6519[_0x305c91(0x109)])switch(_0x3b6519[_0x305c91(0x112)]){case _0x305c91(0x11d):return _0x41f705(_0x46423c(_0x9a0518,_0x305c91(0x122)));case _0x305c91(0x124):return _0x41f705(_0x46423c(_0x9a0518,_0x305c91(0x103)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xba4c(){const _0x91d70a=['_tablePostFixingSubtypes','splitTableCellHorizontally','getCellLocation','7468lxtHcY','654WmLflO','table','from','filter','TableUtils','TableEditing','size','fromRange','markMultiRangeBlockFormat','_areSelectedCellsMergable','insertion','getSuggestions','formatInline','mergeTableCellRight','containsRange','createTableWalker','document','findAncestor','registerDescriptionCallback','$graveyard','add','type','commandName','getRanges','4356032HUZyMP','low','author','TrackChangesEditing','cell','plugins','_isForcedDefaultExecutionBlock','registerCustomCallback','length','2121KdnBsp','afterInit','editor','forceDefaultExecution','refresh','splitTableCellVertically','mergeTableCellDown','createRangeOn','commands','horizontally','isEnabled','getFirstPosition','89606WGoeQJ','change','locale','106855QVRHfJ','execute','selection','format','map','tableCell','mergeTableCells','stop','getAncestors','34087320DktgEl','has','_suggestionFactory','setSelection','rootName','enableCommand','value','formatBlock','_areMergableCells','direction','get','deletion','getSelectionAffectedTableCells','trackChanges','subType','model','markBlockFormat','descriptionFactory','find','mergeTableCellLeft','mergeTableCellUp','push','isInContent','*Split\x20cell:*\x20vertically','highest','requires','3015618ZBicXw','detach','element','_acceptFormatSuggestionCallbackFactory','*Merge\x20cells*','3307375zcljuj','*Split\x20cell:*\x20horizontally','root','accept','return','set:isEnabled'];_0xba4c=function(){return _0x91d70a;};return _0xba4c();}const _0x295654=_0x2e0f;(function(_0x5c6f1b,_0x3cf134){const _0x377fc4=_0x2e0f,_0x1fadfa=_0x5c6f1b();while(!![]){try{const _0x338b0f=parseInt(_0x377fc4(0x1a1))/0x1+parseInt(_0x377fc4(0x165))/0x2+parseInt(_0x377fc4(0x195))/0x3*(parseInt(_0x377fc4(0x173))/0x4)+parseInt(_0x377fc4(0x16a))/0x5+-parseInt(_0x377fc4(0x174))/0x6*(-parseInt(_0x377fc4(0x1a4))/0x7)+-parseInt(_0x377fc4(0x18c))/0x8+-parseInt(_0x377fc4(0x14b))/0x9;if(_0x338b0f===_0x3cf134)break;else _0x1fadfa['push'](_0x1fadfa['shift']());}catch(_0x4cfccb){_0x1fadfa['push'](_0x1fadfa['shift']());}}}(_0xba4c,0xde5a8));import{Plugin as _0x2fd234}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4992fc}from'./table.js';import{ModelLiveRange as _0x5aec60}from'ckeditor5/src/engine.js';function _0x2e0f(_0x1cbe5a,_0x53744c){const _0xba4c3e=_0xba4c();return _0x2e0f=function(_0x2e0f98,_0x18ac96){_0x2e0f98=_0x2e0f98-0x14a;let _0x33ec81=_0xba4c3e[_0x2e0f98];return _0x33ec81;},_0x2e0f(_0x1cbe5a,_0x53744c);}import{getTranslation as _0x3602d1}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x2fd234{static get[_0x295654(0x164)](){return[_0x4992fc];}[_0x295654(0x196)](){const _0x2b7c9e=_0x295654,_0x548d44=this[_0x2b7c9e(0x197)],_0x3558c1=_0x548d44[_0x2b7c9e(0x15a)][_0x2b7c9e(0x184)][_0x2b7c9e(0x1a6)],_0xf1514=_0x548d44[_0x2b7c9e(0x1a3)];if(!_0x548d44[_0x2b7c9e(0x191)][_0x2b7c9e(0x14c)](_0x2b7c9e(0x179)))return;const _0x7be99c=_0x548d44[_0x2b7c9e(0x191)][_0x2b7c9e(0x155)](_0x2b7c9e(0x18f)),_0xf6facb=_0x548d44[_0x2b7c9e(0x191)][_0x2b7c9e(0x155)](_0x2b7c9e(0x178)),_0x4c5bf4=_0x548d44[_0x2b7c9e(0x191)][_0x2b7c9e(0x155)](_0x4992fc);_0x4c5bf4[_0x2b7c9e(0x170)][_0x2b7c9e(0x160)](_0x2b7c9e(0x1aa)),_0x7be99c[_0x2b7c9e(0x150)](_0x2b7c9e(0x1aa),()=>{const _0x20d47f=_0x2b7c9e,_0x302df7=_0xf6facb[_0x20d47f(0x157)](_0x548d44[_0x20d47f(0x15a)][_0x20d47f(0x184)][_0x20d47f(0x1a6)]);_0x548d44[_0x20d47f(0x15a)][_0x20d47f(0x1a2)](()=>{const _0x5d2927=_0x20d47f;_0x7be99c[_0x5d2927(0x17c)](_0x302df7,{'commandName':_0x5d2927(0x1aa),'commandParams':[]},[],_0x5d2927(0x1aa));});}),_0x548d44[_0x2b7c9e(0x19d)][_0x2b7c9e(0x155)](_0x2b7c9e(0x1aa))['on'](_0x2b7c9e(0x1a5),(_0x2d8ae0,_0x3aa500)=>{const _0x2b6e37=_0x2b7c9e;_0x548d44[_0x2b6e37(0x19d)][_0x2b6e37(0x155)](_0x2b6e37(0x158))[_0x2b6e37(0x151)]&&(_0x3aa500[_0x2b6e37(0x194)]>0x0&&_0x3aa500[_0x3aa500[_0x2b6e37(0x194)]-0x1]&&_0x3aa500[_0x3aa500[_0x2b6e37(0x194)]-0x1][_0x2b6e37(0x198)]||_0x7be99c[_0x2b6e37(0x192)]||this[_0x2b6e37(0x17d)]()||_0x2d8ae0[_0x2b6e37(0x1ab)]());},{'priority':_0x2b7c9e(0x163)});for(const _0x49a217 of[_0x2b7c9e(0x15f),_0x2b7c9e(0x181),_0x2b7c9e(0x19b),_0x2b7c9e(0x15e)]){const _0x16da2e=_0x548d44[_0x2b7c9e(0x19d)][_0x2b7c9e(0x155)](_0x49a217);_0x7be99c[_0x2b7c9e(0x150)](_0x49a217,()=>{const _0x2b511f=_0x2b7c9e,_0x2fa76a=_0x548d44[_0x2b511f(0x15a)][_0x2b511f(0x184)][_0x2b511f(0x1a6)][_0x2b511f(0x1a0)]()[_0x2b511f(0x14a)]()[_0x2b511f(0x15d)](_0x26bfeb=>_0x26bfeb['is'](_0x2b511f(0x167),_0x2b511f(0x1a9))),_0x3a8638=_0x16da2e[_0x2b511f(0x151)];_0x548d44[_0x2b511f(0x15a)][_0x2b511f(0x1a2)](()=>{const _0x4ba2bc=_0x2b511f;_0x7be99c[_0x4ba2bc(0x17c)]([_0x2fa76a,_0x3a8638],{'commandName':_0x4ba2bc(0x1aa),'commandParams':[]},[],_0x4ba2bc(0x1aa));});});}for(const _0x80bf9a of[_0x2b7c9e(0x19a),_0x2b7c9e(0x171)]){const _0x9b9fa6=_0x548d44[_0x2b7c9e(0x19d)][_0x2b7c9e(0x155)](_0x80bf9a);_0x7be99c[_0x2b7c9e(0x150)](_0x80bf9a,()=>{const _0x2e733a=_0x2b7c9e,_0x8dd26e=_0xf6facb[_0x2e733a(0x157)](_0x548d44[_0x2e733a(0x15a)][_0x2e733a(0x184)][_0x2e733a(0x1a6)])[0x0],_0x422a4c=_0x8dd26e[_0x2e733a(0x185)](_0x2e733a(0x175)),{column:_0xc8281,row:_0x5104f9}=_0xf6facb[_0x2e733a(0x172)](_0x8dd26e);let _0x169d55=[];if(_0x2e733a(0x19e)==_0x9b9fa6[_0x2e733a(0x154)]){const _0x5f3145=_0xf6facb[_0x2e733a(0x183)](_0x422a4c,{'startRow':_0x5104f9,'endRow':_0x5104f9,'includeAllSlots':!0x0});_0x169d55=Array[_0x2e733a(0x176)](_0x5f3145)[_0x2e733a(0x1a8)](_0x4eff22=>_0x4eff22[_0x2e733a(0x190)]);}else{const _0xf01ced=_0xf6facb[_0x2e733a(0x183)](_0x422a4c,{'column':_0xc8281,'includeAllSlots':!0x0});_0x169d55=Array[_0x2e733a(0x176)](_0xf01ced)[_0x2e733a(0x1a8)](_0x4a7d0f=>_0x4a7d0f[_0x2e733a(0x190)]);}_0x548d44[_0x2e733a(0x15a)][_0x2e733a(0x1a2)](_0x5473da=>{const _0x10fa78=_0x2e733a;_0x7be99c[_0x10fa78(0x15b)](_0x5473da[_0x10fa78(0x19c)](_0x8dd26e),{'commandName':_0x80bf9a,'commandParams':[]},_0x169d55,_0x80bf9a);});});}_0x7be99c[_0x2b7c9e(0x15c)][_0x2b7c9e(0x186)](_0x2a5234=>{const _0x334309=_0x2b7c9e;if(_0x334309(0x152)!=_0x2a5234[_0x334309(0x189)]&&_0x334309(0x180)!=_0x2a5234[_0x334309(0x189)])return;const {data:_0x368fff}=_0x2a5234;return _0x368fff&&_0x334309(0x1aa)==_0x368fff[_0x334309(0x18a)]?{'type':_0x334309(0x1a7),'content':_0x3602d1(_0xf1514,_0x334309(0x169))}:void 0x0;}),_0x7be99c[_0x2b7c9e(0x15c)][_0x2b7c9e(0x186)](_0x2b01ed=>{const _0x20c0d2=_0x2b7c9e;if(_0x20c0d2(0x152)!=_0x2b01ed[_0x20c0d2(0x189)]&&_0x20c0d2(0x180)!=_0x2b01ed[_0x20c0d2(0x189)])return;const {data:_0x1ee801}=_0x2b01ed;return _0x1ee801?_0x20c0d2(0x19a)==_0x1ee801[_0x20c0d2(0x18a)]?{'type':_0x20c0d2(0x1a7),'content':_0x3602d1(_0xf1514,_0x20c0d2(0x162))}:_0x20c0d2(0x171)==_0x1ee801[_0x20c0d2(0x18a)]?{'type':_0x20c0d2(0x1a7),'content':_0x3602d1(_0xf1514,_0x20c0d2(0x16b))}:void 0x0:void 0x0;});const _0x26b2dc=_0x4c5bf4[_0x2b7c9e(0x168)]();for(const _0x1ed282 of[_0x2b7c9e(0x15f),_0x2b7c9e(0x181),_0x2b7c9e(0x19b),_0x2b7c9e(0x15e)])_0x7be99c[_0x2b7c9e(0x14d)][_0x2b7c9e(0x193)](_0x2b7c9e(0x152),_0x1ed282,_0x2b7c9e(0x16d),_0x26b2dc);for(const _0x241eaf of[_0x2b7c9e(0x19a),_0x2b7c9e(0x171)])_0x7be99c[_0x2b7c9e(0x14d)][_0x2b7c9e(0x193)](_0x2b7c9e(0x152),_0x241eaf,_0x2b7c9e(0x16d),_0x26b2dc);_0x7be99c[_0x2b7c9e(0x14d)][_0x2b7c9e(0x193)](_0x2b7c9e(0x152),_0x2b7c9e(0x1aa),_0x2b7c9e(0x16d),_0x1bb0ff=>{const _0x56c294=_0x2b7c9e;_0x548d44[_0x56c294(0x15a)][_0x56c294(0x1a2)](_0xff7491=>{const _0x591b4d=_0x56c294,_0x2d59d0=Array[_0x591b4d(0x176)](_0x3558c1[_0x591b4d(0x18b)]())[_0x591b4d(0x1a8)](_0x4dc6d6=>_0x5aec60[_0x591b4d(0x17b)](_0x4dc6d6));_0xff7491[_0x591b4d(0x14e)](_0x1bb0ff),_0x548d44[_0x591b4d(0x19d)][_0x591b4d(0x155)](_0x591b4d(0x1aa))[_0x591b4d(0x199)](),_0x548d44[_0x591b4d(0x1a5)](_0x591b4d(0x1aa),{'forceDefaultExecution':!0x0});const _0x184d9e=_0x2d59d0[_0x591b4d(0x177)](_0x4da484=>_0x591b4d(0x187)!=_0x4da484[_0x591b4d(0x16c)][_0x591b4d(0x14f)]);_0x184d9e[_0x591b4d(0x194)]>0x0&&_0xff7491[_0x591b4d(0x14e)](_0x184d9e);for(const _0x3d0c0b of _0x2d59d0)_0x3d0c0b[_0x591b4d(0x166)]();});});for(const _0x5838f8 of[_0x2b7c9e(0x15f),_0x2b7c9e(0x19b),_0x2b7c9e(0x15e),_0x2b7c9e(0x181)]){const _0x54ff65=_0x548d44[_0x2b7c9e(0x19d)][_0x2b7c9e(0x155)](_0x5838f8);_0x54ff65['on'](_0x2b7c9e(0x16f),(_0x261c2a,_0x54032d,_0x4668e4)=>{const _0x5d99d8=_0x2b7c9e;if(_0x4668e4){const _0x378a62=_0x548d44[_0x5d99d8(0x15a)][_0x5d99d8(0x184)][_0x5d99d8(0x1a6)][_0x5d99d8(0x1a0)]()[_0x5d99d8(0x14a)]()[_0x5d99d8(0x15d)](_0x1c7754=>_0x1c7754['is'](_0x5d99d8(0x167),_0x5d99d8(0x1a9)));this[_0x5d99d8(0x153)](_0x54ff65[_0x5d99d8(0x151)],_0x378a62)||(_0x261c2a[_0x5d99d8(0x16e)]=!0x1,_0x261c2a[_0x5d99d8(0x1ab)]());}},{'priority':_0x2b7c9e(0x18d)});}}[_0x295654(0x17d)](){const _0x4c9b6e=_0x295654,_0x380a85=this[_0x4c9b6e(0x197)][_0x4c9b6e(0x19d)][_0x4c9b6e(0x155)](_0x4c9b6e(0x1aa)),_0x140624=this[_0x4c9b6e(0x197)][_0x4c9b6e(0x191)][_0x4c9b6e(0x155)](_0x4c9b6e(0x178));if(!_0x380a85[_0x4c9b6e(0x19f)])return!0x1;const _0x5c51e5=_0x140624[_0x4c9b6e(0x157)](this[_0x4c9b6e(0x197)][_0x4c9b6e(0x15a)][_0x4c9b6e(0x184)][_0x4c9b6e(0x1a6)]);for(const _0x1bccd4 of _0x5c51e5)for(const _0xea49a3 of _0x5c51e5)if(_0x1bccd4!=_0xea49a3&&!this[_0x4c9b6e(0x153)](_0x1bccd4,_0xea49a3))return!0x1;return!0x0;}[_0x295654(0x153)](_0x338c10,_0xabe88d){const _0x25bde8=_0x295654,_0x15b261=this[_0x25bde8(0x197)][_0x25bde8(0x191)][_0x25bde8(0x155)](_0x25bde8(0x18f)),_0x31d67a=this[_0x25bde8(0x197)][_0x25bde8(0x15a)][_0x25bde8(0x19c)](_0x338c10),_0x5d5570=this[_0x25bde8(0x197)][_0x25bde8(0x15a)][_0x25bde8(0x19c)](_0xabe88d),_0x43993d=new Set(),_0x2cf946=new Set();for(const _0x4a87cc of _0x15b261[_0x25bde8(0x17f)]())if((_0x25bde8(0x17e)==_0x4a87cc[_0x25bde8(0x189)]||_0x25bde8(0x156)==_0x4a87cc[_0x25bde8(0x189)]||_0x25bde8(0x1aa)==_0x4a87cc[_0x25bde8(0x159)])&&_0x4a87cc[_0x25bde8(0x161)]){for(const _0x37f96 of _0x4a87cc[_0x25bde8(0x18b)]())_0x37f96[_0x25bde8(0x182)](_0x31d67a,!0x0)&&_0x43993d[_0x25bde8(0x188)](_0x4a87cc[_0x25bde8(0x189)]+':'+_0x4a87cc[_0x25bde8(0x18e)]['id']),_0x37f96[_0x25bde8(0x182)](_0x5d5570,!0x0)&&_0x2cf946[_0x25bde8(0x188)](_0x4a87cc[_0x25bde8(0x189)]+':'+_0x4a87cc[_0x25bde8(0x18e)]['id']);}if(_0x43993d[_0x25bde8(0x17a)]!=_0x2cf946[_0x25bde8(0x17a)])return!0x1;for(const _0x1aeeea of _0x43993d)if(!_0x2cf946[_0x25bde8(0x14c)](_0x1aeeea))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x43933f=_0x38c1;function _0x38c1(_0x73ed3e,_0x2ccab8){const _0x3ac905=_0x3ac9();return _0x38c1=function(_0x38c1f6,_0x22e82e){_0x38c1f6=_0x38c1f6-0x18a;let _0x31f28b=_0x3ac905[_0x38c1f6];return _0x31f28b;},_0x38c1(_0x73ed3e,_0x2ccab8);}(function(_0x3d77b5,_0x50dec9){const _0x1aa040=_0x38c1,_0x564ad7=_0x3d77b5();while(!![]){try{const _0x44103e=-parseInt(_0x1aa040(0x18d))/0x1+-parseInt(_0x1aa040(0x1b1))/0x2*(parseInt(_0x1aa040(0x1b6))/0x3)+parseInt(_0x1aa040(0x1ad))/0x4+parseInt(_0x1aa040(0x191))/0x5*(parseInt(_0x1aa040(0x192))/0x6)+parseInt(_0x1aa040(0x19e))/0x7+parseInt(_0x1aa040(0x195))/0x8+-parseInt(_0x1aa040(0x1c9))/0x9*(-parseInt(_0x1aa040(0x1c6))/0xa);if(_0x44103e===_0x50dec9)break;else _0x564ad7['push'](_0x564ad7['shift']());}catch(_0x34a00d){_0x564ad7['push'](_0x564ad7['shift']());}}}(_0x3ac9,0x6f86c));import{Plugin as _0x33394a}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x3c12df}from'./table.js';import{ModelLiveRange as _0x341a5c}from'ckeditor5/src/engine.js';function _0x3ac9(){const _0x375871=['*Split\x20cell:*\x20horizontally','deletion','cell','execute','formatInline','find','mergeTableCellLeft','commandName','createRangeOn','createTableWalker','model','change','plugins','_tablePostFixingSubtypes','_areMergableCells','has','subType','forceDefaultExecution','$graveyard','getFirstPosition','add','*Split\x20cell:*\x20vertically','fromRange','_areSelectedCellsMergable','direction','rootName','root','setSelection','511356YDrTIl','TrackChangesEditing','TableUtils','accept','868115huMWfY','24uKbLtt','refresh','TableEditing','1771872AvWxix','_suggestionFactory','afterInit','insertion','getSuggestions','mergeTableCellUp','highest','value','formatBlock','4304545WINRbd','set:isEnabled','descriptionFactory','editor','from','format','detach','mergeTableCellRight','push','findAncestor','horizontally','splitTableCellHorizontally','length','author','isInContent','913524EpZxPQ','map','selection','getCellLocation','35902bSjwZi','registerCustomCallback','size','*Merge\x20cells*','locale','144ylEgdz','trackChanges','registerDescriptionCallback','markMultiRangeBlockFormat','_isForcedDefaultExecutionBlock','getAncestors','mergeTableCellDown','get','markBlockFormat','getRanges','document','commands','element','return','low','table','40NOFQGy','enableCommand','_acceptFormatSuggestionCallbackFactory','158679HsFQva','stop','splitTableCellVertically','filter','requires','containsRange','type','isEnabled','getSelectionAffectedTableCells','tableCell','mergeTableCells'];_0x3ac9=function(){return _0x375871;};return _0x3ac9();}import{getTranslation as _0x21cce2}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x33394a{static get[_0x43933f(0x1cd)](){return[_0x3c12df];}[_0x43933f(0x197)](){const _0x555222=_0x43933f,_0x4c43dc=this[_0x555222(0x1a1)],_0xbef5eb=_0x4c43dc[_0x555222(0x1de)][_0x555222(0x1c0)][_0x555222(0x1af)],_0x190bfd=_0x4c43dc[_0x555222(0x1b5)];if(!_0x4c43dc[_0x555222(0x1e0)][_0x555222(0x1e3)](_0x555222(0x194)))return;const _0x22bf46=_0x4c43dc[_0x555222(0x1e0)][_0x555222(0x1bd)](_0x555222(0x18e)),_0x5ba31d=_0x4c43dc[_0x555222(0x1e0)][_0x555222(0x1bd)](_0x555222(0x18f)),_0x55e4b9=_0x4c43dc[_0x555222(0x1e0)][_0x555222(0x1bd)](_0x3c12df);_0x55e4b9[_0x555222(0x1e1)][_0x555222(0x1a6)](_0x555222(0x1d3)),_0x22bf46[_0x555222(0x1c7)](_0x555222(0x1d3),()=>{const _0x8f6a6e=_0x555222,_0x49cafe=_0x5ba31d[_0x8f6a6e(0x1d1)](_0x4c43dc[_0x8f6a6e(0x1de)][_0x8f6a6e(0x1c0)][_0x8f6a6e(0x1af)]);_0x4c43dc[_0x8f6a6e(0x1de)][_0x8f6a6e(0x1df)](()=>{const _0x23c3c0=_0x8f6a6e;_0x22bf46[_0x23c3c0(0x1b9)](_0x49cafe,{'commandName':_0x23c3c0(0x1d3),'commandParams':[]},[],_0x23c3c0(0x1d3));});}),_0x4c43dc[_0x555222(0x1c1)][_0x555222(0x1bd)](_0x555222(0x1d3))['on'](_0x555222(0x1d7),(_0x59766b,_0x59c5b0)=>{const _0x5d9679=_0x555222;_0x4c43dc[_0x5d9679(0x1c1)][_0x5d9679(0x1bd)](_0x5d9679(0x1b7))[_0x5d9679(0x19c)]&&(_0x59c5b0[_0x5d9679(0x1aa)]>0x0&&_0x59c5b0[_0x59c5b0[_0x5d9679(0x1aa)]-0x1]&&_0x59c5b0[_0x59c5b0[_0x5d9679(0x1aa)]-0x1][_0x5d9679(0x1e5)]||_0x22bf46[_0x5d9679(0x1ba)]||this[_0x5d9679(0x1eb)]()||_0x59766b[_0x5d9679(0x1ca)]());},{'priority':_0x555222(0x19b)});for(const _0x17b3ad of[_0x555222(0x19a),_0x555222(0x1a5),_0x555222(0x1bc),_0x555222(0x1da)]){const _0x55fdee=_0x4c43dc[_0x555222(0x1c1)][_0x555222(0x1bd)](_0x17b3ad);_0x22bf46[_0x555222(0x1c7)](_0x17b3ad,()=>{const _0x156499=_0x555222,_0x234f6f=_0x4c43dc[_0x156499(0x1de)][_0x156499(0x1c0)][_0x156499(0x1af)][_0x156499(0x1e7)]()[_0x156499(0x1bb)]()[_0x156499(0x1d9)](_0x238ea8=>_0x238ea8['is'](_0x156499(0x1c2),_0x156499(0x1d2))),_0x5939e5=_0x55fdee[_0x156499(0x19c)];_0x4c43dc[_0x156499(0x1de)][_0x156499(0x1df)](()=>{const _0x507d7b=_0x156499;_0x22bf46[_0x507d7b(0x1b9)]([_0x234f6f,_0x5939e5],{'commandName':_0x507d7b(0x1d3),'commandParams':[]},[],_0x507d7b(0x1d3));});});}for(const _0x5c56cb of[_0x555222(0x1cb),_0x555222(0x1a9)]){const _0x575549=_0x4c43dc[_0x555222(0x1c1)][_0x555222(0x1bd)](_0x5c56cb);_0x22bf46[_0x555222(0x1c7)](_0x5c56cb,()=>{const _0x423835=_0x555222,_0x1c08bf=_0x5ba31d[_0x423835(0x1d1)](_0x4c43dc[_0x423835(0x1de)][_0x423835(0x1c0)][_0x423835(0x1af)])[0x0],_0xe8c1f2=_0x1c08bf[_0x423835(0x1a7)](_0x423835(0x1c5)),{column:_0x6d70ed,row:_0x3ac688}=_0x5ba31d[_0x423835(0x1b0)](_0x1c08bf);let _0x406589=[];if(_0x423835(0x1a8)==_0x575549[_0x423835(0x1ec)]){const _0x1be73c=_0x5ba31d[_0x423835(0x1dd)](_0xe8c1f2,{'startRow':_0x3ac688,'endRow':_0x3ac688,'includeAllSlots':!0x0});_0x406589=Array[_0x423835(0x1a2)](_0x1be73c)[_0x423835(0x1ae)](_0x1d37ff=>_0x1d37ff[_0x423835(0x1d6)]);}else{const _0x27a634=_0x5ba31d[_0x423835(0x1dd)](_0xe8c1f2,{'column':_0x6d70ed,'includeAllSlots':!0x0});_0x406589=Array[_0x423835(0x1a2)](_0x27a634)[_0x423835(0x1ae)](_0x39500d=>_0x39500d[_0x423835(0x1d6)]);}_0x4c43dc[_0x423835(0x1de)][_0x423835(0x1df)](_0x208287=>{const _0x499abc=_0x423835;_0x22bf46[_0x499abc(0x1be)](_0x208287[_0x499abc(0x1dc)](_0x1c08bf),{'commandName':_0x5c56cb,'commandParams':[]},_0x406589,_0x5c56cb);});});}_0x22bf46[_0x555222(0x1a0)][_0x555222(0x1b8)](_0x58f89c=>{const _0x28288a=_0x555222;if(_0x28288a(0x19d)!=_0x58f89c[_0x28288a(0x1cf)]&&_0x28288a(0x1d8)!=_0x58f89c[_0x28288a(0x1cf)])return;const {data:_0x359e56}=_0x58f89c;return _0x359e56&&_0x28288a(0x1d3)==_0x359e56[_0x28288a(0x1db)]?{'type':_0x28288a(0x1a3),'content':_0x21cce2(_0x190bfd,_0x28288a(0x1b4))}:void 0x0;}),_0x22bf46[_0x555222(0x1a0)][_0x555222(0x1b8)](_0x76e105=>{const _0x53b5f2=_0x555222;if(_0x53b5f2(0x19d)!=_0x76e105[_0x53b5f2(0x1cf)]&&_0x53b5f2(0x1d8)!=_0x76e105[_0x53b5f2(0x1cf)])return;const {data:_0x28210e}=_0x76e105;return _0x28210e?_0x53b5f2(0x1cb)==_0x28210e[_0x53b5f2(0x1db)]?{'type':_0x53b5f2(0x1a3),'content':_0x21cce2(_0x190bfd,_0x53b5f2(0x1e9))}:_0x53b5f2(0x1a9)==_0x28210e[_0x53b5f2(0x1db)]?{'type':_0x53b5f2(0x1a3),'content':_0x21cce2(_0x190bfd,_0x53b5f2(0x1d4))}:void 0x0:void 0x0;});const _0x3ae744=_0x55e4b9[_0x555222(0x1c8)]();for(const _0x20855c of[_0x555222(0x19a),_0x555222(0x1a5),_0x555222(0x1bc),_0x555222(0x1da)])_0x22bf46[_0x555222(0x196)][_0x555222(0x1b2)](_0x555222(0x19d),_0x20855c,_0x555222(0x190),_0x3ae744);for(const _0x1f2634 of[_0x555222(0x1cb),_0x555222(0x1a9)])_0x22bf46[_0x555222(0x196)][_0x555222(0x1b2)](_0x555222(0x19d),_0x1f2634,_0x555222(0x190),_0x3ae744);_0x22bf46[_0x555222(0x196)][_0x555222(0x1b2)](_0x555222(0x19d),_0x555222(0x1d3),_0x555222(0x190),_0x3cfa0e=>{const _0x23d637=_0x555222;_0x4c43dc[_0x23d637(0x1de)][_0x23d637(0x1df)](_0x34c79d=>{const _0x9123d0=_0x23d637,_0x1a61ed=Array[_0x9123d0(0x1a2)](_0xbef5eb[_0x9123d0(0x1bf)]())[_0x9123d0(0x1ae)](_0x2c5823=>_0x341a5c[_0x9123d0(0x1ea)](_0x2c5823));_0x34c79d[_0x9123d0(0x18c)](_0x3cfa0e),_0x4c43dc[_0x9123d0(0x1c1)][_0x9123d0(0x1bd)](_0x9123d0(0x1d3))[_0x9123d0(0x193)](),_0x4c43dc[_0x9123d0(0x1d7)](_0x9123d0(0x1d3),{'forceDefaultExecution':!0x0});const _0x36f86e=_0x1a61ed[_0x9123d0(0x1cc)](_0x2f9346=>_0x9123d0(0x1e6)!=_0x2f9346[_0x9123d0(0x18b)][_0x9123d0(0x18a)]);_0x36f86e[_0x9123d0(0x1aa)]>0x0&&_0x34c79d[_0x9123d0(0x18c)](_0x36f86e);for(const _0x1cafef of _0x1a61ed)_0x1cafef[_0x9123d0(0x1a4)]();});});for(const _0x3ffb34 of[_0x555222(0x19a),_0x555222(0x1bc),_0x555222(0x1da),_0x555222(0x1a5)]){const _0x2e6a08=_0x4c43dc[_0x555222(0x1c1)][_0x555222(0x1bd)](_0x3ffb34);_0x2e6a08['on'](_0x555222(0x19f),(_0x2591b0,_0x1ba408,_0xe71cc7)=>{const _0x3d6557=_0x555222;if(_0xe71cc7){const _0x3255c6=_0x4c43dc[_0x3d6557(0x1de)][_0x3d6557(0x1c0)][_0x3d6557(0x1af)][_0x3d6557(0x1e7)]()[_0x3d6557(0x1bb)]()[_0x3d6557(0x1d9)](_0x12a43e=>_0x12a43e['is'](_0x3d6557(0x1c2),_0x3d6557(0x1d2)));this[_0x3d6557(0x1e2)](_0x2e6a08[_0x3d6557(0x19c)],_0x3255c6)||(_0x2591b0[_0x3d6557(0x1c3)]=!0x1,_0x2591b0[_0x3d6557(0x1ca)]());}},{'priority':_0x555222(0x1c4)});}}[_0x43933f(0x1eb)](){const _0x3deb00=_0x43933f,_0x341c9a=this[_0x3deb00(0x1a1)][_0x3deb00(0x1c1)][_0x3deb00(0x1bd)](_0x3deb00(0x1d3)),_0x49ef1a=this[_0x3deb00(0x1a1)][_0x3deb00(0x1e0)][_0x3deb00(0x1bd)](_0x3deb00(0x18f));if(!_0x341c9a[_0x3deb00(0x1d0)])return!0x1;const _0x212a2c=_0x49ef1a[_0x3deb00(0x1d1)](this[_0x3deb00(0x1a1)][_0x3deb00(0x1de)][_0x3deb00(0x1c0)][_0x3deb00(0x1af)]);for(const _0x12cf90 of _0x212a2c)for(const _0x535375 of _0x212a2c)if(_0x12cf90!=_0x535375&&!this[_0x3deb00(0x1e2)](_0x12cf90,_0x535375))return!0x1;return!0x0;}[_0x43933f(0x1e2)](_0x217a71,_0xca387){const _0x2ab5da=_0x43933f,_0x3a19ee=this[_0x2ab5da(0x1a1)][_0x2ab5da(0x1e0)][_0x2ab5da(0x1bd)](_0x2ab5da(0x18e)),_0x32cb48=this[_0x2ab5da(0x1a1)][_0x2ab5da(0x1de)][_0x2ab5da(0x1dc)](_0x217a71),_0x3067ef=this[_0x2ab5da(0x1a1)][_0x2ab5da(0x1de)][_0x2ab5da(0x1dc)](_0xca387),_0x3a107c=new Set(),_0x53578e=new Set();for(const _0x43f3b6 of _0x3a19ee[_0x2ab5da(0x199)]())if((_0x2ab5da(0x198)==_0x43f3b6[_0x2ab5da(0x1cf)]||_0x2ab5da(0x1d5)==_0x43f3b6[_0x2ab5da(0x1cf)]||_0x2ab5da(0x1d3)==_0x43f3b6[_0x2ab5da(0x1e4)])&&_0x43f3b6[_0x2ab5da(0x1ac)]){for(const _0x52a7fb of _0x43f3b6[_0x2ab5da(0x1bf)]())_0x52a7fb[_0x2ab5da(0x1ce)](_0x32cb48,!0x0)&&_0x3a107c[_0x2ab5da(0x1e8)](_0x43f3b6[_0x2ab5da(0x1cf)]+':'+_0x43f3b6[_0x2ab5da(0x1ab)]['id']),_0x52a7fb[_0x2ab5da(0x1ce)](_0x3067ef,!0x0)&&_0x53578e[_0x2ab5da(0x1e8)](_0x43f3b6[_0x2ab5da(0x1cf)]+':'+_0x43f3b6[_0x2ab5da(0x1ab)]['id']);}if(_0x3a107c[_0x2ab5da(0x1b3)]!=_0x53578e[_0x2ab5da(0x1b3)])return!0x1;for(const _0xae05ca of _0x3a107c)if(!_0x53578e[_0x2ab5da(0x1e3)](_0xae05ca))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dcf64=_0x32a2;(function(_0x4b82c2,_0xe4babe){const _0x197939=_0x32a2,_0x3cfa2d=_0x4b82c2();while(!![]){try{const _0x2d7da6=parseInt(_0x197939(0x1e1))/0x1+-parseInt(_0x197939(0x1e6))/0x2*(parseInt(_0x197939(0x1e0))/0x3)+-parseInt(_0x197939(0x1d4))/0x4+-parseInt(_0x197939(0x1d9))/0x5*(-parseInt(_0x197939(0x1dd))/0x6)+-parseInt(_0x197939(0x1d5))/0x7*(-parseInt(_0x197939(0x1eb))/0x8)+parseInt(_0x197939(0x1d7))/0x9*(-parseInt(_0x197939(0x1e3))/0xa)+parseInt(_0x197939(0x1da))/0xb;if(_0x2d7da6===_0xe4babe)break;else _0x3cfa2d['push'](_0x3cfa2d['shift']());}catch(_0x18fc4b){_0x3cfa2d['push'](_0x3cfa2d['shift']());}}}(_0x1761,0x57ff5));import{Plugin as _0x548598}from'ckeditor5/src/core.js';function _0x32a2(_0x1c786b,_0x6568bb){const _0x17616b=_0x1761();return _0x32a2=function(_0x32a260,_0x5b5b23){_0x32a260=_0x32a260-0x1d4;let _0x1d8a3f=_0x17616b[_0x32a260];return _0x1d8a3f;},_0x32a2(_0x1c786b,_0x6568bb);}import{getTranslation as _0x3b64b9}from'../utils/common-translations.js';function _0x1761(){const _0x82456d=['166376mtacev','1575416Nbegnq','49uIWAuH','registerElementLabel','1143HriVIi','ELEMENT_TABLE_OF_CONTENTS','25QNVkgO','2202805ZavQHo','enableCommand','commands','417744ervjuA','TrackChangesEditing','afterInit','2139wGqggG','284076NWzkQT','insertTableOfContents','1280PbqcLs','descriptionFactory','get','582ZdHKmb','editor','tableOfContents','plugins','locale'];_0x1761=function(){return _0x82456d;};return _0x1761();}export class TrackChangesTableOfContents extends _0x548598{[_0x4dcf64(0x1df)](){const _0x434ba5=_0x4dcf64,_0xb60997=this[_0x434ba5(0x1e7)];if(!_0xb60997[_0x434ba5(0x1dc)][_0x434ba5(0x1e5)](_0x434ba5(0x1e2)))return;_0xb60997[_0x434ba5(0x1e9)][_0x434ba5(0x1e5)](_0x434ba5(0x1de))[_0x434ba5(0x1db)](_0x434ba5(0x1e2));const _0x2d8df0=_0xb60997[_0x434ba5(0x1e9)][_0x434ba5(0x1e5)](_0x434ba5(0x1de)),_0x283a1e=_0xb60997[_0x434ba5(0x1ea)];_0x2d8df0[_0x434ba5(0x1e4)][_0x434ba5(0x1d6)](_0x434ba5(0x1e8),_0x29bc52=>_0x3b64b9(_0x283a1e,_0x434ba5(0x1d8),_0x29bc52));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43db4c=_0x118c;(function(_0x15a5a3,_0x3ee6b2){const _0x2d7254=_0x118c,_0xaa3cd3=_0x15a5a3();while(!![]){try{const _0x4e15f7=parseInt(_0x2d7254(0x1cc))/0x1*(parseInt(_0x2d7254(0x204))/0x2)+-parseInt(_0x2d7254(0x1f2))/0x3+parseInt(_0x2d7254(0x1d8))/0x4*(-parseInt(_0x2d7254(0x1cd))/0x5)+parseInt(_0x2d7254(0x211))/0x6*(parseInt(_0x2d7254(0x1d9))/0x7)+-parseInt(_0x2d7254(0x206))/0x8+-parseInt(_0x2d7254(0x20e))/0x9*(-parseInt(_0x2d7254(0x209))/0xa)+-parseInt(_0x2d7254(0x1d5))/0xb*(parseInt(_0x2d7254(0x203))/0xc);if(_0x4e15f7===_0x3ee6b2)break;else _0xaa3cd3['push'](_0xaa3cd3['shift']());}catch(_0x3f9338){_0xaa3cd3['push'](_0xaa3cd3['shift']());}}}(_0x1ba1,0x9a30b));function _0x1ba1(){const _0x33bd0b=['start','batch','getSuggestionCallback','locale','_handlePropertyChange','getSuggestions','tableBorderStyle','tableBackgroundColor','258465GMtRLN','tableCellBorderStyle','handleSuggestionDescription','enqueueChange','editor','tableAlignment','_suggestionFactory','table','TrackChangesEditing','isPremiumPlugin','handleDiscardAction','pluginName','tableCellPadding','descriptionFactory','accept','isOfficialPlugin','plugins','4103112WZHHUC','49618XISPQl','tableHeight','4013024LqWmjf','tableCellHorizontalAlignment','tableCellBorderWidth','20iSSkSG','getFirstPosition','markBlockFormat','registerDescriptionCallback','change','5508342dfOMJM','has','findAncestor','195258mzMxba','tableCellHeight','getSelectionAffectedTableCells','getAttribute','selection','data','nodeAfter','setAttribute','tableCellBackgroundColor','model','TableCellPropertiesEditing','*Format:*\x20change\x20table\x20properties','TrackChangesTableProperties','24sOEYKA','25GKkOvc','*Format:*\x20change\x20table\x20cell\x20properties','tableCellWidth','document','tableProperties','subType','TablePropertiesEditing','TableUtils','11IoHfIh','discard','join','857436qCidCB','175pPDXGY','afterInit','tableCellVerticalAlignment','commandParams','tableWidth','enableCommand','registerCustomCallback','format','getContainedElement','formatBlock','tableBorderWidth','tableCellProperties','removeAttribute','get','_getSuggestion','tableBorderColor','tableCellBorderColor'];_0x1ba1=function(){return _0x33bd0b;};return _0x1ba1();}function _0x118c(_0x46b4fa,_0x1cd1f9){const _0x1ba18e=_0x1ba1();return _0x118c=function(_0x118c86,_0x12e53c){_0x118c86=_0x118c86-0x1c8;let _0x485caa=_0x1ba18e[_0x118c86];return _0x485caa;},_0x118c(_0x46b4fa,_0x1cd1f9);}import{Plugin as _0x7208a9}from'ckeditor5/src/core.js';import{getTranslation as _0x412f91}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x7208a9{[_0x43db4c(0x1d1)];[_0x43db4c(0x1e4)];constructor(_0x2e3c98){const _0x5d91fe=_0x43db4c;super(_0x2e3c98),this[_0x5d91fe(0x1d1)]=[_0x5d91fe(0x1e8),_0x5d91fe(0x1f0),_0x5d91fe(0x1e3),_0x5d91fe(0x1f7),_0x5d91fe(0x1dd),_0x5d91fe(0x205),_0x5d91fe(0x1f1)],this[_0x5d91fe(0x1e4)]=[_0x5d91fe(0x1e9),_0x5d91fe(0x1f3),_0x5d91fe(0x208),_0x5d91fe(0x1fe),_0x5d91fe(0x1cf),_0x5d91fe(0x212),_0x5d91fe(0x219),_0x5d91fe(0x207),_0x5d91fe(0x1db)];}static get[_0x43db4c(0x1fd)](){const _0x5e79f8=_0x43db4c;return _0x5e79f8(0x1cb);}static get[_0x43db4c(0x201)](){return!0x0;}static get[_0x43db4c(0x1fb)](){return!0x0;}[_0x43db4c(0x1da)](){const _0x25cfe0=_0x43db4c,_0xf02e3e=this[_0x25cfe0(0x1f6)][_0x25cfe0(0x202)][_0x25cfe0(0x1e6)](_0x25cfe0(0x1fa));if(this[_0x25cfe0(0x1f6)][_0x25cfe0(0x202)][_0x25cfe0(0x20f)](_0x25cfe0(0x1d3))){for(const _0x4e39db of this[_0x25cfe0(0x1d1)])_0xf02e3e[_0x25cfe0(0x1de)](_0x4e39db,(_0x5ac7fe,_0x17d7df)=>{const _0x2bf658=_0x25cfe0,_0x3b07e5=this[_0x2bf658(0x1f6)][_0x2bf658(0x1c8)][_0x2bf658(0x1d0)][_0x2bf658(0x215)][_0x2bf658(0x20a)]()[_0x2bf658(0x210)](_0x2bf658(0x1f9));this[_0x2bf658(0x1ee)](_0x4e39db,[_0x3b07e5],this[_0x2bf658(0x1d1)],_0x2bf658(0x1d1),_0x5ac7fe,_0x17d7df);});_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1d1),_0x25cfe0(0x200),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1ec)](_0x25cfe0(0x1e2),null,_0x25cfe0(0x1d6))),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1d1),_0x25cfe0(0x1d6),(_0x17695f,_0x4ccaf4)=>this[_0x25cfe0(0x1fc)](this[_0x25cfe0(0x1d1)],_0x17695f,_0x4ccaf4)),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1d1),_0x25cfe0(0x1d7),()=>!0x1);}if(this[_0x25cfe0(0x1f6)][_0x25cfe0(0x202)][_0x25cfe0(0x20f)](_0x25cfe0(0x1c9))){for(const _0x5dc5f1 of this[_0x25cfe0(0x1e4)])_0xf02e3e[_0x25cfe0(0x1de)](_0x5dc5f1,(_0xd651e,_0x5a865a)=>{const _0x1a981e=_0x25cfe0,_0x4f5820=this[_0x1a981e(0x1f6)][_0x1a981e(0x202)][_0x1a981e(0x1e6)](_0x1a981e(0x1d4))[_0x1a981e(0x213)](this[_0x1a981e(0x1f6)][_0x1a981e(0x1c8)][_0x1a981e(0x1d0)][_0x1a981e(0x215)]);this[_0x1a981e(0x1ee)](_0x5dc5f1,_0x4f5820,this[_0x1a981e(0x1e4)],_0x1a981e(0x1e4),_0xd651e,_0x5a865a);});_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1e4),_0x25cfe0(0x200),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1ec)](_0x25cfe0(0x1e2),null,_0x25cfe0(0x1d6))),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1e4),_0x25cfe0(0x1d6),(_0x8717e0,_0x68f637)=>this[_0x25cfe0(0x1fc)](this[_0x25cfe0(0x1e4)],_0x8717e0,_0x68f637)),_0xf02e3e[_0x25cfe0(0x1f8)][_0x25cfe0(0x1df)](_0x25cfe0(0x1e2),_0x25cfe0(0x1e4),_0x25cfe0(0x1d7),()=>!0x1);}_0xf02e3e[_0x25cfe0(0x1ff)][_0x25cfe0(0x20c)](_0x500483=>this[_0x25cfe0(0x1f4)](_0x500483));}[_0x43db4c(0x1ee)](_0x34dcdd,_0x1e5278,_0x536662,_0x2e7ed2,_0x29006d,_0xdd5277){const _0x974bb3=_0x43db4c,_0x3e191b=this[_0x974bb3(0x1f6)][_0x974bb3(0x202)][_0x974bb3(0x1e6)](_0x974bb3(0x1fa));this[_0x974bb3(0x1f6)][_0x974bb3(0x1c8)][_0x974bb3(0x1f5)](_0xdd5277[_0x974bb3(0x1eb)],()=>{const _0x4214b1=_0x974bb3;for(const _0x362445 of _0x1e5278){if(this[_0x4214b1(0x1e7)](_0x362445,_0x2e7ed2))_0x29006d(_0xdd5277);else{const _0x4a559b={};for(const _0x2656af of _0x536662){const _0x4db7f6=_0x362445[_0x4214b1(0x214)](_0x2656af);void 0x0!==_0x4db7f6&&(_0x4a559b[_0x2656af]=_0x4db7f6);}_0x29006d(_0xdd5277),_0x3e191b[_0x4214b1(0x20b)](_0x362445,{'commandParams':[_0x4a559b]},[],_0x2e7ed2);}}});}[_0x43db4c(0x1fc)](_0x306b24,_0x4abbb1,_0x440ab2){const _0x3520da=_0x43db4c,_0x229b72=_0x4abbb1[0x0][_0x3520da(0x1ea)][_0x3520da(0x217)],_0x47a056=_0x440ab2[_0x3520da(0x1dc)][0x0];this[_0x3520da(0x1f6)][_0x3520da(0x1c8)][_0x3520da(0x20d)](_0x5b67ea=>{const _0x43e549=_0x3520da;for(const _0x15033c of _0x306b24)void 0x0!==_0x47a056[_0x15033c]?_0x5b67ea[_0x43e549(0x218)](_0x15033c,_0x47a056[_0x15033c],_0x229b72):_0x5b67ea[_0x43e549(0x1e5)](_0x15033c,_0x229b72);});}[_0x43db4c(0x1f4)](_0x1421da){const _0x248cfb=_0x43db4c;if(_0x1421da[_0x248cfb(0x216)])switch(_0x1421da[_0x248cfb(0x1d2)]){case _0x248cfb(0x1d1):return{'type':_0x248cfb(0x1e0),'content':_0x412f91(this[_0x248cfb(0x1f6)][_0x248cfb(0x1ed)],_0x248cfb(0x1ca))};case _0x248cfb(0x1e4):return{'type':_0x248cfb(0x1e0),'content':_0x412f91(this[_0x248cfb(0x1f6)][_0x248cfb(0x1ed)],_0x248cfb(0x1ce))};}}[_0x43db4c(0x1e7)](_0x1facdd,_0x235d18){const _0x25cdf2=_0x43db4c,_0x4dddc4=this[_0x25cdf2(0x1f6)][_0x25cdf2(0x202)][_0x25cdf2(0x1e6)](_0x25cdf2(0x1fa));for(const _0x685795 of _0x4dddc4[_0x25cdf2(0x1ef)]({'skipNotAttached':!0x0})){const _0x3ecdc2=_0x685795[_0x25cdf2(0x1e1)]();if(_0x685795[_0x25cdf2(0x1d2)]===_0x235d18&&_0x3ecdc2===_0x1facdd)return _0x685795;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b4125=_0x237d;(function(_0x29b237,_0x67d902){const _0x56c1f7=_0x237d,_0x154b1c=_0x29b237();while(!![]){try{const _0x1b6490=parseInt(_0x56c1f7(0x1e7))/0x1*(parseInt(_0x56c1f7(0x1ef))/0x2)+-parseInt(_0x56c1f7(0x1e8))/0x3+parseInt(_0x56c1f7(0x1e4))/0x4+parseInt(_0x56c1f7(0x1e3))/0x5*(parseInt(_0x56c1f7(0x1e0))/0x6)+-parseInt(_0x56c1f7(0x1f1))/0x7*(parseInt(_0x56c1f7(0x1ee))/0x8)+parseInt(_0x56c1f7(0x1e6))/0x9*(-parseInt(_0x56c1f7(0x1e1))/0xa)+parseInt(_0x56c1f7(0x1e9))/0xb;if(_0x1b6490===_0x67d902)break;else _0x154b1c['push'](_0x154b1c['shift']());}catch(_0x98a8a8){_0x154b1c['push'](_0x154b1c['shift']());}}}(_0x5443,0x40975));function _0x237d(_0x1053d6,_0x2ca6c2){const _0x5443d5=_0x5443();return _0x237d=function(_0x237daf,_0x1ff949){_0x237daf=_0x237daf-0x1df;let _0x2cc8fb=_0x5443d5[_0x237daf];return _0x2cc8fb;},_0x237d(_0x1053d6,_0x2ca6c2);}function _0x5443(){const _0x320f65=['get','insertTemplate','56pblXVN','182BIyjlA','plugins','513919qDIbLn','afterInit','TrackChangesEditing','55422TLvNrm','107510TSSedB','has','15XNoDJZ','2039232nllYHU','enableCommand','261nljifs','632wIAPIl','1166469jNHAWk','9724605jgWPnJ','Template','editor'];_0x5443=function(){return _0x320f65;};return _0x5443();}import{Plugin as _0x216dd7}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x216dd7{[_0x1b4125(0x1f2)](){const _0x308727=_0x1b4125,_0x15818a=this[_0x308727(0x1eb)];_0x15818a[_0x308727(0x1f0)][_0x308727(0x1e2)](_0x308727(0x1ea))&&_0x15818a[_0x308727(0x1f0)][_0x308727(0x1ec)](_0x308727(0x1df))[_0x308727(0x1e5)](_0x308727(0x1ed));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3b8c11=_0x40d7;function _0x566b(){const _0x33112b=['9175970gpunYE','forward','1926946JryuIj','document','getNearestSelectionRange','2039520IieExq','isEqual','differ','plugins','locale','from','24ibQwwI','ELEMENT_TITLE','has','updateMarker','title-content','Title','194569WGMzDd','isCollapsed','newRange','descriptionFactory','_splitMarkerName','suggestion','10UtuPqV','editor','7530190LrnpFC','removeMarker','TrackChangesEditing','end','element','start','getChangedMarkers','afterInit','schema','createRange','nodeBefore','955146vtFgld','isTouching','get','registerPostFixer','10528600QZgxqd','model','9fZXESi','registerElementLabel'];_0x566b=function(){return _0x33112b;};return _0x566b();}(function(_0x113a2d,_0xae08b7){const _0x4b266b=_0x40d7,_0xad1f03=_0x113a2d();while(!![]){try{const _0x556be5=-parseInt(_0x4b266b(0xe9))/0x1*(-parseInt(_0x4b266b(0xef))/0x2)+parseInt(_0x4b266b(0xfc))/0x3+parseInt(_0x4b266b(0x109))/0x4+-parseInt(_0x4b266b(0x104))/0x5+-parseInt(_0x4b266b(0xe3))/0x6*(parseInt(_0x4b266b(0x106))/0x7)+parseInt(_0x4b266b(0x100))/0x8+-parseInt(_0x4b266b(0x102))/0x9*(-parseInt(_0x4b266b(0xf1))/0xa);if(_0x556be5===_0xae08b7)break;else _0xad1f03['push'](_0xad1f03['shift']());}catch(_0x1f7563){_0xad1f03['push'](_0xad1f03['shift']());}}}(_0x566b,0xe4007));import{Plugin as _0x13db8b}from'ckeditor5/src/core.js';import{getTranslation as _0x533660}from'../utils/common-translations.js';function _0x40d7(_0x6bfd1c,_0x2a279c){const _0x566b30=_0x566b();return _0x40d7=function(_0x40d746,_0x1b50ba){_0x40d746=_0x40d746-0xe0;let _0x4b2bca=_0x566b30[_0x40d746];return _0x4b2bca;},_0x40d7(_0x6bfd1c,_0x2a279c);}export class TrackChangesTitle extends _0x13db8b{[_0x3b8c11(0xf8)](){const _0x1b2472=_0x3b8c11,_0x1fc427=this[_0x1b2472(0xf0)];if(!_0x1fc427[_0x1b2472(0xe0)][_0x1b2472(0xe5)](_0x1b2472(0xe8)))return;const _0xcf2daf=_0x1fc427[_0x1b2472(0xe0)][_0x1b2472(0xfe)](_0x1b2472(0xf3));_0xcf2daf[_0x1b2472(0xec)][_0x1b2472(0x103)](_0x1b2472(0xe7),()=>_0x533660(_0x1fc427[_0x1b2472(0xe1)],_0x1b2472(0xe4))),_0x1fc427[_0x1b2472(0x101)][_0x1b2472(0x107)][_0x1b2472(0xff)](_0x33a35a=>{const _0x5d95c8=_0x1b2472;let _0x1b7633=!0x1;const _0x591f82=Array[_0x5d95c8(0xe2)](_0x1fc427[_0x5d95c8(0x101)][_0x5d95c8(0x107)][_0x5d95c8(0x10b)][_0x5d95c8(0xf7)]());for(const {name:_0x164355,data:_0xd3051f}of _0x591f82){const {group:_0x4ad8d9}=_0xcf2daf[_0x5d95c8(0xed)](_0x164355);if(_0x5d95c8(0xee)!==_0x4ad8d9||!_0xd3051f[_0x5d95c8(0xeb)])continue;const _0x5151b1=_0xd3051f[_0x5d95c8(0xeb)],_0x6ec3b7=_0x5151b1[_0x5d95c8(0xf4)][_0x5d95c8(0xfb)];if(!_0x6ec3b7||!_0x6ec3b7['is'](_0x5d95c8(0xf5),_0x5d95c8(0xe7)))continue;if(!_0x5151b1[_0x5d95c8(0xf6)][_0x5d95c8(0xfd)](_0x5151b1[_0x5d95c8(0xf4)]))continue;const _0x380b90=_0x1fc427[_0x5d95c8(0x101)][_0x5d95c8(0xf9)][_0x5d95c8(0x108)](_0x5151b1[_0x5d95c8(0xf4)],_0x5d95c8(0x105));if(_0x380b90&&_0x380b90[_0x5d95c8(0xea)]){const _0x1d6d5e=_0x33a35a[_0x5d95c8(0xfa)](_0x5151b1[_0x5d95c8(0xf6)],_0x380b90[_0x5d95c8(0xf6)]);_0x1d6d5e[_0x5d95c8(0x10a)](_0x5151b1)||(_0x33a35a[_0x5d95c8(0xe6)](_0x164355,{'range':_0x1d6d5e}),_0x1b7633=!0x0);}_0x1b7633||(_0x33a35a[_0x5d95c8(0xf2)](_0x164355),_0x1b7633=!0x0);}return _0x1b7633;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52f247=_0x3a51;function _0x53be(){const _0x1fbd35=['plugins','6nAOKsX','1263177zYQzGi','803089LktKOW','35ZYaKXt','has','203334BVmDvf','UndoEditing','enableCommand','afterInit','1SZgOKB','1592566ICAPrZ','redo','TrackChangesEditing','7969650vnuysf','undo','62172jzUuSP','get','editor','5803480iIxynf'];_0x53be=function(){return _0x1fbd35;};return _0x53be();}function _0x3a51(_0x2b74e9,_0xcb4134){const _0x53be93=_0x53be();return _0x3a51=function(_0x3a51b7,_0x254db2){_0x3a51b7=_0x3a51b7-0xee;let _0x542bdc=_0x53be93[_0x3a51b7];return _0x542bdc;},_0x3a51(_0x2b74e9,_0xcb4134);}(function(_0x3ab9fd,_0x2dc753){const _0x2f42e1=_0x3a51,_0x323125=_0x3ab9fd();while(!![]){try{const _0x49a4fc=parseInt(_0x2f42e1(0x100))/0x1*(parseInt(_0x2f42e1(0x101))/0x2)+-parseInt(_0x2f42e1(0xf7))/0x3*(-parseInt(_0x2f42e1(0xf2))/0x4)+-parseInt(_0x2f42e1(0xfa))/0x5*(parseInt(_0x2f42e1(0xfc))/0x6)+-parseInt(_0x2f42e1(0xf9))/0x7+-parseInt(_0x2f42e1(0xf5))/0x8+-parseInt(_0x2f42e1(0xf8))/0x9+parseInt(_0x2f42e1(0xf0))/0xa;if(_0x49a4fc===_0x2dc753)break;else _0x323125['push'](_0x323125['shift']());}catch(_0x10cd86){_0x323125['push'](_0x323125['shift']());}}}(_0x53be,0x63444));import{Plugin as _0x581012}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x581012{[_0x52f247(0xff)](){const _0x87721d=_0x52f247,_0x5f69b0=this[_0x87721d(0xf4)],_0x270111=_0x5f69b0[_0x87721d(0xf6)][_0x87721d(0xf3)](_0x87721d(0xef));_0x5f69b0[_0x87721d(0xf6)][_0x87721d(0xfb)](_0x87721d(0xfd))&&(_0x270111[_0x87721d(0xfe)](_0x87721d(0xf1)),_0x270111[_0x87721d(0xfe)](_0x87721d(0xee)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x93da(_0x22c4d6,_0x39c613){const _0x4829c8=_0x4829();return _0x93da=function(_0x93dabf,_0x6e4609){_0x93dabf=_0x93dabf-0x14a;let _0x4ea5ff=_0x4829c8[_0x93dabf];return _0x4ea5ff;},_0x93da(_0x22c4d6,_0x39c613);}const _0x2aafda=_0x93da;(function(_0x1036f3,_0x46b2e8){const _0x8c2474=_0x93da,_0x3dd797=_0x1036f3();while(!![]){try{const _0x2676a0=-parseInt(_0x8c2474(0x15a))/0x1*(-parseInt(_0x8c2474(0x14f))/0x2)+-parseInt(_0x8c2474(0x166))/0x3+parseInt(_0x8c2474(0x160))/0x4*(parseInt(_0x8c2474(0x158))/0x5)+parseInt(_0x8c2474(0x164))/0x6*(parseInt(_0x8c2474(0x14e))/0x7)+-parseInt(_0x8c2474(0x159))/0x8*(parseInt(_0x8c2474(0x15e))/0x9)+parseInt(_0x8c2474(0x161))/0xa+-parseInt(_0x8c2474(0x14a))/0xb;if(_0x2676a0===_0x46b2e8)break;else _0x3dd797['push'](_0x3dd797['shift']());}catch(_0x1cabac){_0x3dd797['push'](_0x3dd797['shift']());}}}(_0x4829,0x968cb));import{Plugin as _0x1d1433}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x1d1433{[_0x2aafda(0x153)](){const _0x1036a1=_0x2aafda,_0x345c9f=this[_0x1036a1(0x156)],_0x1b8334=_0x345c9f[_0x1036a1(0x157)][_0x1036a1(0x167)](_0x1036a1(0x15b));_0x345c9f[_0x1036a1(0x157)][_0x1036a1(0x14d)](_0x1036a1(0x162))&&(_0x1b8334[_0x1036a1(0x165)](_0x1036a1(0x169)),_0x345c9f[_0x1036a1(0x157)][_0x1036a1(0x14d)](_0x1036a1(0x14c))&&(_0x1b8334[_0x1036a1(0x165)](_0x1036a1(0x163)),_0x1b8334[_0x1036a1(0x15d)](_0x1036a1(0x168)),_0x1b8334[_0x1036a1(0x15c)](_0x1036a1(0x14b)),_0x1b8334[_0x1036a1(0x152)][_0x1036a1(0x154)](_0x155443=>{const _0x36002b=_0x1036a1;if(_0x36002b(0x15f)!=_0x155443[_0x36002b(0x155)])return;const {data:_0x3657a6}=_0x155443;return _0x3657a6&&_0x36002b(0x14b)==_0x3657a6[_0x36002b(0x151)]?{'type':_0x36002b(0x150),'content':''}:void 0x0;})));}}function _0x4829(){const _0x50c565=['descriptionFactory','afterInit','registerDescriptionCallback','type','editor','plugins','4815715BNMgaw','5864VTGGKa','1wWKIOY','TrackChangesEditing','registerBlockAttribute','enableDefaultAttributesIntegration','1665YexbVb','attribute','4VHBPuY','10295720cCSplz','Uploadcare','uploadcareImageEdit','49884yHWuoj','enableCommand','2749080DJotJz','get','uploadcareImageReplace','uploadcare','24762694uCRIIy','uploadcareImageId','UploadcareImageEdit','has','714tJjfKL','2158054axptDf','format','key'];_0x4829=function(){return _0x50c565;};return _0x4829();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5cc0(){const _0x2b3781=['isContent','isAtEnd','8007736uTPUFZ','createRangeOn','test','addHighlight','TrackChangesEditing','markerName','get','createUIElement','86556zpzyhC','push','hasAttribute','2800092vPiBVw','2751kUKaos','model','isBlock','getWalker','_splitMarkerName','activeMarkers','143CwguHx','span','getCustomProperty','bindElementToMarker','parent','234NiCfPj','nextSibling','mapper','writer','item','plugins','type','195nMhkGc','start','10jepXDQ','includes','schema','previousPosition','6689709IuNtxe','consumable','name','ck-suggestion-marker--active','markerRange','ck-suggestion-marker-','getItems','toViewPosition','1061278TXPWcI','1AQmyio','elementEnd','isLimit','2513391KNWSiN','toViewElement','insert','addClass'];_0x5cc0=function(){return _0x2b3781;};return _0x5cc0();}(function(_0x260e97,_0x21565e){const _0x3cb3f7=_0x4a08,_0x5f4b7e=_0x260e97();while(!![]){try{const _0x24e6c7=parseInt(_0x3cb3f7(0x94))/0x1*(-parseInt(_0x3cb3f7(0x93))/0x2)+-parseInt(_0x3cb3f7(0x97))/0x3+-parseInt(_0x3cb3f7(0xa5))/0x4*(-parseInt(_0x3cb3f7(0x85))/0x5)+parseInt(_0x3cb3f7(0x7e))/0x6*(-parseInt(_0x3cb3f7(0x73))/0x7)+-parseInt(_0x3cb3f7(0x9d))/0x8+-parseInt(_0x3cb3f7(0x8b))/0x9*(parseInt(_0x3cb3f7(0x87))/0xa)+-parseInt(_0x3cb3f7(0x79))/0xb*(-parseInt(_0x3cb3f7(0x72))/0xc);if(_0x24e6c7===_0x21565e)break;else _0x5f4b7e['push'](_0x5f4b7e['shift']());}catch(_0x365884){_0x5f4b7e['push'](_0x5f4b7e['shift']());}}}(_0x5cc0,0xb6f0b));function _0x4a08(_0x4db821,_0xb790d5){const _0x5cc0f5=_0x5cc0();return _0x4a08=function(_0x4a0801,_0x527f61){_0x4a0801=_0x4a0801-0x71;let _0x5d8f1f=_0x5cc0f5[_0x4a0801];return _0x5d8f1f;},_0x4a08(_0x4db821,_0xb790d5);}export function getRangesWithAttribute(_0x53d218,_0x2deedf,_0x3982be){const _0x159e47=_0x4a08,_0xf3b5e6=[];for(const _0x3ca90e of _0x2deedf[_0x159e47(0x91)]())_0x3ca90e[_0x159e47(0x71)](_0x53d218)&&_0xf3b5e6[_0x159e47(0xa6)](_0x3982be[_0x159e47(0x9e)](_0x3ca90e));return _0xf3b5e6;}export function downcastSplitMergeMarker(_0x5eaed6,_0xe024f5,{showActiveMarker:_0x52e74e=!0x0}={}){const _0x43133e=_0x4a08,_0x4c79cf=_0x5eaed6[_0x43133e(0x83)][_0x43133e(0xa3)](_0x43133e(0xa1));return(_0x23b589,_0x21c922,_0x2a5fb4)=>{const _0x4cf3d4=_0x43133e;if(!_0x2a5fb4[_0x4cf3d4(0x8c)][_0x4cf3d4(0x9f)](_0x21c922[_0x4cf3d4(0x8f)],_0x23b589[_0x4cf3d4(0x8d)]))return;const _0x43bb0f=_0x21c922[_0x4cf3d4(0x8f)][_0x4cf3d4(0x76)](),_0x53ff26=_0x21c922[_0x4cf3d4(0x8f)][_0x4cf3d4(0x86)],_0x34ef38=_0x5eaed6[_0x4cf3d4(0x74)][_0x4cf3d4(0x89)];let _0x2f3fce=null,_0x4c64b7=null,_0x246b66=!0x1,_0x17dc4b=!0x1;for(const _0x30b7f4 of _0x43bb0f){const _0x4a153f=_0x30b7f4[_0x4cf3d4(0x82)];_0x246b66=_0x246b66||_0x34ef38[_0x4cf3d4(0x9b)](_0x4a153f);const _0x3c34f0=_0x2a5fb4[_0x4cf3d4(0x80)][_0x4cf3d4(0x98)](_0x4a153f);if(_0x3c34f0&&_0x3c34f0[_0x4cf3d4(0x7b)](_0x4cf3d4(0xa0)))return;_0x4cf3d4(0x95)==_0x30b7f4[_0x4cf3d4(0x84)]&&(_0x34ef38[_0x4cf3d4(0x75)](_0x4a153f)&&!_0x34ef38[_0x4cf3d4(0x96)](_0x4a153f)&&(_0x4a153f[_0x4cf3d4(0x7f)]||_0x53ff26[_0x4cf3d4(0x9c)]?_0x2f3fce&&_0x2f3fce[_0x4cf3d4(0x7d)]==_0x4a153f||(_0x2f3fce=_0x4a153f,_0x3b2f58(_0x30b7f4[_0x4cf3d4(0x8a)]),_0x17dc4b=!0x0):_0x4c64b7=_0x4c64b7||_0x30b7f4[_0x4cf3d4(0x8a)]));}function _0x3b2f58(_0x2e7a0f){const _0x380cfa=_0x4cf3d4,{id:_0x234af1,authorId:_0x33f90d}=_0x4c79cf[_0x380cfa(0x77)](_0x21c922[_0x380cfa(0xa2)]),_0x2e80dc=_0x2a5fb4[_0x380cfa(0x81)][_0x380cfa(0xa4)](_0x380cfa(0x7a),{'class':_0x380cfa(0x90)+_0xe024f5,'data-suggestion':_0x234af1,'data-author-id':_0x33f90d}),_0x3ee90f=_0x2a5fb4[_0x380cfa(0x80)][_0x380cfa(0x92)](_0x2e7a0f);_0x52e74e&&_0x4c79cf[_0x380cfa(0x78)][_0x380cfa(0x88)](_0x21c922[_0x380cfa(0xa2)])&&_0x2a5fb4[_0x380cfa(0x81)][_0x380cfa(0x9a)](_0x380cfa(0x8e),_0x2e80dc),_0x2a5fb4[_0x380cfa(0x81)][_0x380cfa(0x99)](_0x3ee90f,_0x2e80dc),_0x2a5fb4[_0x380cfa(0x80)][_0x380cfa(0x7c)](_0x2e80dc,_0x21c922[_0x380cfa(0xa2)]);}_0x246b66||_0x17dc4b||!_0x4c64b7||_0x3b2f58(_0x4c64b7);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x34400e=_0xca77;function _0xca77(_0x23f550,_0xe34bf2){const _0x524d6c=_0x524d();return _0xca77=function(_0xca773,_0x2a0b53){_0xca773=_0xca773-0x123;let _0x7a7070=_0x524d6c[_0xca773];return _0x7a7070;},_0xca77(_0x23f550,_0xe34bf2);}(function(_0x56ce90,_0x4f642c){const _0x2e9d01=_0xca77,_0x25f4ff=_0x56ce90();while(!![]){try{const _0x244c9e=parseInt(_0x2e9d01(0x15d))/0x1*(parseInt(_0x2e9d01(0x12b))/0x2)+-parseInt(_0x2e9d01(0x123))/0x3*(-parseInt(_0x2e9d01(0x155))/0x4)+parseInt(_0x2e9d01(0x12f))/0x5+parseInt(_0x2e9d01(0x153))/0x6+-parseInt(_0x2e9d01(0x14a))/0x7*(parseInt(_0x2e9d01(0x145))/0x8)+parseInt(_0x2e9d01(0x14b))/0x9+parseInt(_0x2e9d01(0x176))/0xa*(-parseInt(_0x2e9d01(0x126))/0xb);if(_0x244c9e===_0x4f642c)break;else _0x25f4ff['push'](_0x25f4ff['shift']());}catch(_0x4f3d05){_0x25f4ff['push'](_0x25f4ff['shift']());}}}(_0x524d,0x899ee));import{ModelElement as _0xa61083}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1590ab,uid as _0x28004e}from'ckeditor5/src/utils.js';import{cloneDeep as _0x5dfcf4,isEqual as _0x835310,set as _0x3a0801,unset as _0x5518eb}from'es-toolkit/compat';function _0x524d(){const _0x3c8b02=['onAccept','add','reduce','getItems','substr','onAttributesChange','next','removeAttribute','change','isIntersecting','16sSXqog','suggestion:','getFirstMarker','_saved','isExternal','1788010eMmVpf','5606541TJUZlF','set','delete','data','markers','discard','originalSuggestionId','getAllAdjacentSuggestions','3721932TFUSQz','authoredAt','4yoqGmt','push','getRange','_originalSuggestionId','onDiscard','author','size','clear','1983KXeAby','map','removeMarkers','addMarker','decorate','getMarkers','subType','length','@external','type','removeMarker','split','hasComments','accept','isMultiRange','isIntersectingWithRange','getFirstRange','start','_markerNames','nodeBefore','nodeAfter','creator','filter','from','_model','10590qKIdyW','1140801JCvfUk','toJSON','get','8503BqLFPL','isInContent','getRanges','end','attributes','202qVzdvO','addMarkerName','getContainedElement','setAttribute','346700aVAdUT','createdAt','commentThread','getMultiRangeId','previous','_onDiscard','addRange','getMarkerNames','_isDataLoaded','_onAttributesChange','_onAccept','head'];_0x524d=function(){return _0x3c8b02;};return _0x524d();}export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1590ab(){['id'];[_0x34400e(0x166)];[_0x34400e(0x163)];[_0x34400e(0x15a)];[_0x34400e(0x172)];[_0x34400e(0x149)];[_0x34400e(0x14e)];[_0x34400e(0x130)];[_0x34400e(0x158)];[_0x34400e(0x137)]=!0x1;[_0x34400e(0x175)];[_0x34400e(0x139)];[_0x34400e(0x134)];[_0x34400e(0x138)];[_0x34400e(0x16f)];constructor(_0x4794a3,_0x4f2b70){const _0x5819a7=_0x34400e;super(),this['id']=_0x4f2b70['id'],this[_0x5819a7(0x166)]=_0x4f2b70[_0x5819a7(0x166)],this[_0x5819a7(0x163)]=_0x4f2b70[_0x5819a7(0x163)]||null,this[_0x5819a7(0x15a)]=_0x4f2b70[_0x5819a7(0x15a)],this[_0x5819a7(0x172)]=_0x4f2b70[_0x5819a7(0x172)]||_0x4f2b70[_0x5819a7(0x15a)],this[_0x5819a7(0x149)]=Boolean(_0x4f2b70[_0x5819a7(0x12a)]&&_0x4f2b70[_0x5819a7(0x12a)][_0x5819a7(0x165)]),this[_0x5819a7(0x14e)]=null,this[_0x5819a7(0x158)]=_0x4f2b70[_0x5819a7(0x151)]||null,this[_0x5819a7(0x175)]=_0x4794a3,this[_0x5819a7(0x139)]=_0x4f2b70[_0x5819a7(0x13b)],this[_0x5819a7(0x134)]=_0x4f2b70[_0x5819a7(0x159)],this[_0x5819a7(0x138)]=_0x4f2b70[_0x5819a7(0x140)],this[_0x5819a7(0x16f)]=new Set(),this[_0x5819a7(0x130)]=null,this[_0x5819a7(0x14c)](_0x5819a7(0x154),null),this[_0x5819a7(0x14c)](_0x5819a7(0x12a),_0x4f2b70[_0x5819a7(0x12a)]||{}),this[_0x5819a7(0x14c)](_0x5819a7(0x133),null),this[_0x5819a7(0x14c)](_0x5819a7(0x141),null),this[_0x5819a7(0x14c)](_0x5819a7(0x131),null),this[_0x5819a7(0x14c)](_0x5819a7(0x148),!0x1),this[_0x5819a7(0x161)](_0x5819a7(0x16a)),this[_0x5819a7(0x161)](_0x5819a7(0x150));}get[_0x34400e(0x13a)](){const _0xd9e505=_0x34400e;let _0x4594e9=this;for(;_0x4594e9[_0xd9e505(0x133)];)_0x4594e9=_0x4594e9[_0xd9e505(0x133)];return _0x4594e9;}get[_0x34400e(0x169)](){const _0x5b999d=_0x34400e;return!!this[_0x5b999d(0x131)]&&this[_0x5b999d(0x131)][_0x5b999d(0x164)]>0x0;}get[_0x34400e(0x16b)](){const _0x203cbf=_0x34400e;if(0x0==this[_0x203cbf(0x16f)][_0x203cbf(0x15b)])return!0x1;return 0x6==Array[_0x203cbf(0x174)](this[_0x203cbf(0x16f)])[0x0][_0x203cbf(0x168)](':')[_0x203cbf(0x164)];}get[_0x34400e(0x127)](){const _0x32a590=_0x34400e;return null!==this[_0x32a590(0x147)]();}[_0x34400e(0x12c)](_0x9d5b97){const _0x500df3=_0x34400e;this[_0x500df3(0x16f)][_0x500df3(0x13c)](_0x9d5b97);}[_0x34400e(0x136)](){const _0xa0a20=_0x34400e;return Array[_0xa0a20(0x174)](this[_0xa0a20(0x16f)]);}[_0x34400e(0x162)](){const _0x5353e6=_0x34400e;return this[_0x5353e6(0x136)]()[_0x5353e6(0x15e)](_0x296f47=>this[_0x5353e6(0x175)][_0x5353e6(0x14f)][_0x5353e6(0x125)](_0x296f47))[_0x5353e6(0x173)](_0x247f9f=>_0x247f9f);}[_0x34400e(0x147)](){const _0x1cbe86=_0x34400e;return this[_0x1cbe86(0x162)]()[0x0]||null;}[_0x34400e(0x15f)](){const _0x2e42d4=_0x34400e;this[_0x2e42d4(0x175)][_0x2e42d4(0x143)](_0x3a5261=>{const _0x38360a=_0x2e42d4;for(const _0x44402e of this[_0x38360a(0x162)]())_0x3a5261[_0x38360a(0x167)](_0x44402e);}),this[_0x2e42d4(0x16f)][_0x2e42d4(0x15c)]();}[_0x34400e(0x167)](_0x3a73a1){const _0x41fb9b=_0x34400e;this[_0x41fb9b(0x175)][_0x41fb9b(0x143)](_0xd59637=>{const _0x2dd934=_0x41fb9b;_0xd59637[_0x2dd934(0x167)](_0x3a73a1);}),this[_0x41fb9b(0x16f)][_0x41fb9b(0x14d)](_0x3a73a1);}[_0x34400e(0x135)](_0x1f31b6){const _0x408699=_0x34400e,_0x240fb7=_0x408699(0x146)+this[_0x408699(0x166)]+':'+this[_0x408699(0x163)]+':'+this['id']+':'+this[_0x408699(0x172)]['id']+':'+Suggestion[_0x408699(0x132)]();this[_0x408699(0x12c)](_0x240fb7),this[_0x408699(0x175)][_0x408699(0x143)](_0x2acfd0=>{const _0x59a6c5=_0x408699;_0x2acfd0[_0x59a6c5(0x160)](_0x240fb7,{'range':_0x1f31b6,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x34400e(0x16c)](_0x32c366){const _0xe2fdc4=_0x34400e;for(const _0x1ba4c7 of this[_0xe2fdc4(0x128)]())if(_0x1ba4c7[_0xe2fdc4(0x144)](_0x32c366))return!0x0;return!0x1;}[_0x34400e(0x128)](){const _0x4d6bc9=_0x34400e;return this[_0x4d6bc9(0x162)]()[_0x4d6bc9(0x15e)](_0x52bdee=>_0x52bdee[_0x4d6bc9(0x157)]());}[_0x34400e(0x13e)](){const _0x2ab13c=_0x34400e;return this[_0x2ab13c(0x128)]()[_0x2ab13c(0x13d)]((_0x362e52,_0x4df359)=>[..._0x362e52,..._0x4df359[_0x2ab13c(0x13e)]()],[]);}[_0x34400e(0x16d)](){const _0x3d7806=_0x34400e;return this[_0x3d7806(0x147)]()?.[_0x3d7806(0x157)]()||null;}[_0x34400e(0x12d)](){const _0x1e2db9=_0x34400e,_0x21aa13=this[_0x1e2db9(0x128)]();if(0x1!=_0x21aa13[_0x1e2db9(0x164)])return null;const _0x1ba42b=_0x21aa13[0x0],_0x25a448=_0x1ba42b[_0x1e2db9(0x16e)][_0x1e2db9(0x171)],_0x527863=_0x1ba42b[_0x1e2db9(0x129)][_0x1e2db9(0x170)];return _0x25a448 instanceof _0xa61083?_0x25a448!=_0x527863?null:_0x25a448:null;}[_0x34400e(0x16a)](){const _0xa69307=_0x34400e;this[_0xa69307(0x139)](this[_0xa69307(0x128)](),this[_0xa69307(0x14e)],this[_0xa69307(0x12a)]),this[_0xa69307(0x15f)]();}[_0x34400e(0x150)](){const _0x14da12=_0x34400e;this[_0x14da12(0x134)](this[_0x14da12(0x128)](),this[_0x14da12(0x14e)],this[_0x14da12(0x12a)]),this[_0x14da12(0x15f)]();}[_0x34400e(0x152)](){const _0x54b67a=_0x34400e,_0x22c8d6=[];let _0x553e5e=this[_0x54b67a(0x13a)];for(;_0x553e5e;)_0x22c8d6[_0x54b67a(0x156)](_0x553e5e),_0x553e5e=_0x553e5e[_0x54b67a(0x141)];return _0x22c8d6;}[_0x34400e(0x12e)](_0x37be66,_0x3c78bf){const _0x56ba92=_0x34400e,_0x224fc1=_0x5dfcf4(this[_0x56ba92(0x12a)]);_0x3a0801(_0x224fc1,_0x37be66,_0x3c78bf),_0x835310(_0x224fc1,this[_0x56ba92(0x12a)])||(this[_0x56ba92(0x12a)]=_0x224fc1,this[_0x56ba92(0x138)](_0x224fc1));}[_0x34400e(0x142)](_0x43f977){const _0x246497=_0x34400e,_0x2e5f8b=_0x5dfcf4(this[_0x246497(0x12a)]);_0x5518eb(_0x2e5f8b,_0x43f977),_0x835310(_0x2e5f8b,this[_0x246497(0x12a)])||(this[_0x246497(0x12a)]=_0x2e5f8b,this[_0x246497(0x138)](this[_0x246497(0x12a)]));}[_0x34400e(0x124)](){const _0x41b7b2=_0x34400e;return{'id':this['id'],'type':this[_0x41b7b2(0x163)]?this[_0x41b7b2(0x166)]+':'+this[_0x41b7b2(0x163)]:this[_0x41b7b2(0x166)],'authorId':this[_0x41b7b2(0x172)]['id'],'createdAt':this[_0x41b7b2(0x130)],'hasComments':this[_0x41b7b2(0x169)],'data':this[_0x41b7b2(0x14e)],'attributes':this[_0x41b7b2(0x12a)]};}static[_0x34400e(0x132)](){const _0x262c4a=_0x34400e;return _0x28004e()[_0x262c4a(0x13f)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x46fb04=_0x4bb8;(function(_0x562e1a,_0x3088c9){const _0x35894c=_0x4bb8,_0x5dc75f=_0x562e1a();while(!![]){try{const _0x13c8b2=-parseInt(_0x35894c(0x120))/0x1+-parseInt(_0x35894c(0x114))/0x2+parseInt(_0x35894c(0x128))/0x3*(parseInt(_0x35894c(0x126))/0x4)+parseInt(_0x35894c(0xf1))/0x5*(-parseInt(_0x35894c(0x138))/0x6)+parseInt(_0x35894c(0xef))/0x7*(parseInt(_0x35894c(0x127))/0x8)+-parseInt(_0x35894c(0xfb))/0x9*(-parseInt(_0x35894c(0xe6))/0xa)+-parseInt(_0x35894c(0x113))/0xb*(parseInt(_0x35894c(0xf7))/0xc);if(_0x13c8b2===_0x3088c9)break;else _0x5dc75f['push'](_0x5dc75f['shift']());}catch(_0x51358b){_0x5dc75f['push'](_0x5dc75f['shift']());}}}(_0x28c6,0xde634));import{getTranslation as _0xc24ddf}from'./utils/common-translations.js';import{priorities as _0x438e07,insertToPriorityArray as _0x36d6f2}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xf8b37}from'./trackchangesediting.js';function _0x4bb8(_0x1e78c8,_0x13fc11){const _0x28c60b=_0x28c6();return _0x4bb8=function(_0x4bb852,_0x572d9d){_0x4bb852=_0x4bb852-0xde;let _0x3b809e=_0x28c60b[_0x4bb852];return _0x3b809e;},_0x4bb8(_0x1e78c8,_0x13fc11);}export class SuggestionDescriptionFactory{[_0x46fb04(0x13f)];[_0x46fb04(0xf9)];[_0x46fb04(0x135)];[_0x46fb04(0xed)];[_0x46fb04(0x13c)];[_0x46fb04(0x11c)];constructor(_0xf9cc2d,_0x1bd0f9){const _0x4d9e77=_0x46fb04;this[_0x4d9e77(0x13f)]=[],this[_0x4d9e77(0xf9)]=new Map(),this[_0x4d9e77(0x135)]=[],this[_0x4d9e77(0xed)]=new Map(),this[_0x4d9e77(0x13c)]=_0xf9cc2d,this[_0x4d9e77(0x11c)]=_0x1bd0f9;}[_0x46fb04(0x13e)](_0x3779d9){const _0x578617=_0x46fb04,_0x1f5ac0=[],_0x2d0678=new Set(),_0x18e8f4=new Set();for(let _0x3cd37f=0x0;_0x3cd37f<_0x3779d9[_0x578617(0xff)];_0x3cd37f++){const _0x5ecc72=_0x3779d9[_0x3cd37f];if(!_0x5ecc72[_0x578617(0x11d)])continue;const _0x1965ff=this[_0x578617(0xfd)](_0x5ecc72);if(_0x1965ff){if(null!=_0x5ecc72[_0x578617(0xdf)]){if(_0x2d0678[_0x578617(0x131)](_0x5ecc72[_0x578617(0xdf)]))continue;_0x2d0678[_0x578617(0x125)](_0x5ecc72[_0x578617(0xdf)]);}_0x1f5ac0[_0x578617(0xe0)](_0x1965ff);}else{if(_0x578617(0xfc)==_0x5ecc72[_0x578617(0xfe)]){const _0x1ed6c6=_0x5ecc72[_0x578617(0xf2)][_0x578617(0x112)];if(_0x18e8f4[_0x578617(0x131)](_0x1ed6c6))continue;_0x18e8f4[_0x578617(0x125)](_0x5ecc72[_0x578617(0xf2)][_0x578617(0x112)]),_0x1ed6c6==_0xf8b37?this[_0x578617(0x134)](_0x1f5ac0,_0x5ecc72):this[_0x578617(0x10c)](_0x1f5ac0,_0x5ecc72);continue;}_0x578617(0x10f)!=_0x5ecc72[_0x578617(0xfe)]&&_0x578617(0x107)!=_0x5ecc72[_0x578617(0xfe)]||this[_0x578617(0x132)](_0x1f5ac0,_0x5ecc72,_0x3779d9[_0x3cd37f+0x1]);}}return this[_0x578617(0xee)](_0x1f5ac0);}[_0x46fb04(0x133)](_0x162add){const _0x247281=_0x46fb04;this[_0x247281(0x13f)][_0x247281(0xe0)](_0x162add);}[_0x46fb04(0x110)](_0x14e998,_0x2eb82d,_0x5ca9f2=_0x438e07[_0x46fb04(0xf8)]){const _0x296b4a=_0x46fb04;_0x296b4a(0x122)==typeof _0x14e998?_0x36d6f2(this[_0x296b4a(0x135)],{'matchingCallback':_0x14e998,'label':_0x2eb82d,'priority':_0x5ca9f2}):this[_0x296b4a(0xf9)][_0x296b4a(0xf4)](_0x14e998,_0x2eb82d);}[_0x46fb04(0xea)](_0x273f8d,_0x42bf40){const _0x5a4ed3=_0x46fb04;this[_0x5a4ed3(0xed)][_0x5a4ed3(0xf4)](_0x273f8d,_0x42bf40);}[_0x46fb04(0xe3)](_0x3ae872,_0x4f924a=0x1){const _0x4ac3fd=_0x46fb04;let _0x5e8ed5;for(const _0x51e2ac of this[_0x4ac3fd(0x135)])if(_0x51e2ac[_0x4ac3fd(0xf3)](_0x3ae872)){_0x5e8ed5=_0x51e2ac[_0x4ac3fd(0x12b)];break;}return _0x5e8ed5||(_0x5e8ed5=this[_0x4ac3fd(0xf9)][_0x4ac3fd(0x111)](_0x3ae872[_0x4ac3fd(0x104)])),_0x5e8ed5?_0x5e8ed5(_0x4f924a):0x1!==_0x4f924a?_0x4f924a+'\x20'+_0x3ae872[_0x4ac3fd(0x104)]+'s':''+_0x3ae872[_0x4ac3fd(0x104)];}[_0x46fb04(0xe5)](_0x1f8de3,_0x25897a){const _0x377f7d=_0x46fb04,_0x3705e4=_0x25897a[_0x377f7d(0x108)]()[_0x377f7d(0x106)](),_0x414c7b=_0x377f7d(0x10f)==_0x25897a[_0x377f7d(0xfe)]?_0x377f7d(0x125):_0x377f7d(0x13d);for(const _0x490f9b of _0x3705e4){const _0x5f2c65=_0x490f9b[_0x377f7d(0x12d)],_0x53f459=_0x1f8de3[_0x1f8de3[_0x377f7d(0xff)]-0x1];if(_0x5f2c65['is'](_0x377f7d(0x116)))_0x53f459&&_0x53f459[_0x377f7d(0xfe)][_0x377f7d(0xec)](_0x377f7d(0x137))>-0x1&&_0x1f8de3[_0x377f7d(0xe4)](),_0x53f459&&_0x377f7d(0xfa)==_0x53f459[_0x377f7d(0xfe)]?_0x53f459[_0x414c7b]+=_0x5f2c65[_0x377f7d(0xf2)]:_0x1f8de3[_0x377f7d(0xe0)]({'type':_0x377f7d(0xfa),'add':_0x377f7d(0x125)==_0x414c7b?_0x5f2c65[_0x377f7d(0xf2)]:'','remove':_0x377f7d(0x13d)==_0x414c7b?_0x5f2c65[_0x377f7d(0xf2)]:''});else{if(this[_0x377f7d(0x13c)][_0x377f7d(0x117)](_0x5f2c65)){const _0x582312=_0x5f2c65;if(_0x53f459&&_0x53f459[_0x377f7d(0xfe)][_0x377f7d(0xec)](_0x377f7d(0x137))>-0x1&&_0x1f8de3[_0x377f7d(0xe4)](),_0x377f7d(0xf6)==_0x490f9b[_0x377f7d(0xfe)])continue;_0x53f459&&_0x53f459[_0x377f7d(0xfe)]==_0x414c7b+_0x377f7d(0x10b)&&_0x53f459[_0x377f7d(0xe7)][_0x377f7d(0x104)]==_0x582312[_0x377f7d(0x104)]?_0x53f459[_0x377f7d(0x10a)]++:_0x1f8de3[_0x377f7d(0xe0)]({'type':_0x414c7b+_0x377f7d(0x10b),'element':_0x582312,'quantity':0x1}),_0x3705e4[_0x377f7d(0x10e)](_0x49b559=>!(_0x377f7d(0xf6)==_0x49b559[_0x377f7d(0xfe)]&&_0x49b559[_0x377f7d(0x12d)]==_0x5f2c65));}else{if(this[_0x377f7d(0x13c)][_0x377f7d(0x130)](_0x5f2c65,_0x377f7d(0x12c))||_0x5f2c65['is'](_0x377f7d(0xe7),_0x377f7d(0x140))){const _0x561571=_0x5f2c65;if(_0x377f7d(0x125)==_0x414c7b&&_0x377f7d(0x11b)==_0x490f9b[_0x377f7d(0xfe)]||_0x377f7d(0x13d)==_0x414c7b&&_0x377f7d(0xf6)==_0x490f9b[_0x377f7d(0xfe)])continue;if(_0x53f459&&-0x1==_0x53f459[_0x377f7d(0xfe)][_0x377f7d(0xec)](_0x377f7d(0x137))){_0x377f7d(0xfa)==_0x53f459[_0x377f7d(0xfe)]&&(_0x53f459[_0x414c7b]+='\x0a');continue;}let _0x10140c;if(_0x10140c=_0x377f7d(0x125)==_0x414c7b?_0x561571[_0x377f7d(0xf5)]&&!this[_0x377f7d(0x13c)][_0x377f7d(0x117)](_0x561571[_0x377f7d(0xf5)])?_0x561571[_0x377f7d(0xf5)]:null:_0x561571[_0x377f7d(0xe9)]&&!this[_0x377f7d(0x13c)][_0x377f7d(0x117)](_0x561571[_0x377f7d(0xe9)])?_0x561571[_0x377f7d(0xe9)]:null,_0x561571[_0x377f7d(0x11e)]||_0x10140c&&_0x10140c[_0x377f7d(0x11e)]){const _0x230b92=_0x10140c&&_0x10140c[_0x377f7d(0x11e)]?_0x10140c:_0x561571;_0x53f459&&_0x53f459[_0x377f7d(0xfe)]==_0x414c7b+_0x377f7d(0xeb)&&_0x53f459[_0x377f7d(0xe7)][_0x377f7d(0x104)]==_0x230b92[_0x377f7d(0x104)]?_0x53f459[_0x377f7d(0x10a)]++:_0x1f8de3[_0x377f7d(0xe0)]({'type':_0x414c7b+_0x377f7d(0xeb),'element':_0x230b92,'quantity':0x1});}else _0x1f8de3[_0x377f7d(0xe0)]({'type':_0x414c7b+_0x377f7d(0x137),'element':_0x561571});}}}}}[_0x46fb04(0xee)](_0x5afdb2){const _0x482e8f=_0x46fb04,_0x3258e1=this[_0x482e8f(0x11c)],_0x2f27db=[],_0x5e1389=[],_0x5e0a10=[];for(const _0x4e83db of _0x5afdb2)switch(_0x4e83db[_0x482e8f(0xfe)]){case _0x482e8f(0xfa):if(_0x4e83db[_0x482e8f(0x125)]=_0x4e83db[_0x482e8f(0x125)][_0x482e8f(0xde)](/(\S)\u000A+(\S)/g,_0x482e8f(0x12a))[_0x482e8f(0xde)](/\u000A/g,''),_0x4e83db[_0x482e8f(0x13d)]=_0x4e83db[_0x482e8f(0x13d)][_0x482e8f(0xde)](/(\S)\u000A+(\S)/g,_0x482e8f(0x12a))[_0x482e8f(0xde)](/\u000A/g,''),''!=_0x4e83db[_0x482e8f(0x125)]&&''!=_0x4e83db[_0x482e8f(0x13d)]){_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0xde),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x102),['\x22'+_0x4e83db[_0x482e8f(0x13d)]+'\x22','\x22'+_0x4e83db[_0x482e8f(0x125)]+'\x22'])});continue;}if(null!=_0x4e83db[_0x482e8f(0x125)][_0x482e8f(0xe1)](/^ +$/)){_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x10f),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x12e),_0xc24ddf(_0x3258e1,_0x482e8f(0x11f),_0x4e83db[_0x482e8f(0x125)][_0x482e8f(0xff)]))});continue;}if(null!=_0x4e83db[_0x482e8f(0x13d)][_0x482e8f(0xe1)](/^ +$/)){_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x107),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x10d),_0xc24ddf(_0x3258e1,_0x482e8f(0x11f),_0x4e83db[_0x482e8f(0x13d)][_0x482e8f(0xff)]))});continue;}if(''!=_0x4e83db[_0x482e8f(0x125)]){_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x10f),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x12e),'\x22'+_0x4e83db[_0x482e8f(0x125)]+'\x22')});continue;}_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x107),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x10d),'\x22'+_0x4e83db[_0x482e8f(0x13d)]+'\x22')});continue;case _0x482e8f(0x12f):case _0x482e8f(0x13b):_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x10f),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x12e),this[_0x482e8f(0xe3)](_0x4e83db[_0x482e8f(0xe7)],_0x4e83db[_0x482e8f(0x10a)]))});continue;case _0x482e8f(0xf0):case _0x482e8f(0x115):_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x107),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x10d),this[_0x482e8f(0xe3)](_0x4e83db[_0x482e8f(0xe7)],_0x4e83db[_0x482e8f(0x10a)]))});continue;case _0x482e8f(0x105):_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x10f),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x139),this[_0x482e8f(0xe3)](_0x4e83db[_0x482e8f(0xe7)],_0x4e83db[_0x482e8f(0x10a)]))});continue;case _0x482e8f(0x124):_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x107),'content':_0xc24ddf(_0x3258e1,_0x482e8f(0x119),this[_0x482e8f(0xe3)](_0x4e83db[_0x482e8f(0xe7)],_0x4e83db[_0x482e8f(0x10a)]))});continue;case _0x482e8f(0xe8):_0x5e1389[_0x482e8f(0xe0)](_0x4e83db[_0x482e8f(0x112)]);continue;case _0x482e8f(0xe2):_0x5e0a10[_0x482e8f(0xe0)](_0x4e83db[_0x482e8f(0x112)]);continue;default:_0x2f27db[_0x482e8f(0xe0)](_0x4e83db);}if(_0x5e1389[_0x482e8f(0xff)]){const _0x30fdb1=_0x5e1389[_0x482e8f(0x129)](_0x53b34f=>this[_0x482e8f(0xed)][_0x482e8f(0x131)](_0x53b34f)?this[_0x482e8f(0xed)][_0x482e8f(0x111)](_0x53b34f):_0x53b34f)[_0x482e8f(0x136)](',\x20');_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x118),'content':_0xc24ddf(this[_0x482e8f(0x11c)],_0x482e8f(0x103),_0x30fdb1)});}if(_0x5e0a10[_0x482e8f(0xff)]){const _0x1550f8=_0x5e0a10[_0x482e8f(0x129)](_0x511155=>this[_0x482e8f(0xed)][_0x482e8f(0x131)](_0x511155)?this[_0x482e8f(0xed)][_0x482e8f(0x111)](_0x511155):_0x511155)[_0x482e8f(0x136)](',\x20');_0x2f27db[_0x482e8f(0xe0)]({'type':_0x482e8f(0x118),'content':_0xc24ddf(this[_0x482e8f(0x11c)],_0x482e8f(0x121),_0x1550f8)});}return _0x2f27db;}[_0x46fb04(0xfd)](_0x427b04){const _0x4bcef=_0x46fb04;for(const _0x1b07c2 of this[_0x4bcef(0x13f)]){const _0x51a450=_0x1b07c2(_0x427b04);if(_0x51a450&&_0x4bcef(0xfe)in _0x51a450)return _0x51a450;}}[_0x46fb04(0x10c)](_0x28211b,_0x31609c){const _0x2df98d=_0x46fb04,_0x5f1d2b=_0x31609c[_0x2df98d(0xf2)],_0xf1abaf=void 0x0===_0x5f1d2b[_0x2df98d(0x109)]?_0x2df98d(0xe2):_0x2df98d(0xe8);_0x28211b[_0x2df98d(0xe0)]({'type':_0xf1abaf,'key':_0x5f1d2b[_0x2df98d(0x112)]});}[_0x46fb04(0x134)](_0x13ccb0,_0x91c65f){const _0x289648=_0x46fb04;_0x13ccb0[_0x289648(0xe0)]({'type':_0x289648(0x118),'content':_0xc24ddf(this[_0x289648(0x11c)],_0x289648(0x123),this[_0x289648(0xe3)](_0x91c65f[_0x289648(0x108)]()[_0x289648(0x11a)][_0x289648(0x13a)],0x1))});}[_0x46fb04(0x132)](_0x3f3f32,_0x5f14ff,_0xeda974){const _0x37e909=_0x46fb04;if(this[_0x37e909(0xe5)](_0x3f3f32,_0x5f14ff),_0xeda974&&_0xeda974[_0x37e909(0x108)]()&&!_0x5f14ff[_0x37e909(0x108)]()[_0x37e909(0x101)][_0x37e909(0x100)](_0xeda974[_0x37e909(0x108)]()[_0x37e909(0x11a)])){const _0x45a8bc=_0x3f3f32[_0x3f3f32[_0x37e909(0xff)]-0x1],_0x3cf500=_0x37e909(0x10f)==_0x5f14ff[_0x37e909(0xfe)]?_0x37e909(0x125):_0x37e909(0x13d);_0x45a8bc&&_0x37e909(0xfa)==_0x45a8bc[_0x37e909(0xfe)]&&(_0x45a8bc[_0x3cf500]+='\x0a');}}}function _0x28c6(){const _0x4b2e05=['getDescriptions','_customCallbacks','softBreak','replace','subType','push','match','removeFormat','getItemLabel','pop','_addDescriptionItems','129730amHclp','element','addFormat','previousSibling','registerAttributeLabel','EmptyContainer','indexOf','_attributeLabels','_resolveDescriptionItems','31381uiJqiZ','removeEmptyContainer','30665ZOmiFL','data','matchingCallback','set','nextSibling','elementEnd','90900lXDhAD','normal','_itemLabels','text','531HRHCGt','attribute','_handleCustomCallbackDescription','type','length','isEqual','end','REPLACE_TEXT','*Set\x20format:*\x20%0','name','addContainer','getWalker','deletion','getFirstRange','newValue','quantity','Object','_handleAttributeSuggestionDescription','*Remove:*\x20%0','skip','insertion','registerElementLabel','get','key','935OMZYsI','883284oGtcti','removeObject','$textProxy','isObject','format','*Merge:*\x20%0','start','elementStart','_locale','isInContent','isEmpty','ELEMENT_SPACE','1539298WbWWCR','*Remove\x20format:*\x20%0','function','*Change\x20to:*\x20%0','removeContainer','add','4yOmTBM','3096bruUzm','4633278LClghn','map','$1\x20$2','label','$text','item','*Insert:*\x20%0','addEmptyContainer','checkChild','has','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','_handleRenameSuggestionDescription','_itemLabelsCallbacks','join','Container','498nMSISk','*Split:*\x20%0','nodeAfter','addObject','_schema','remove'];_0x28c6=function(){return _0x4b2e05;};return _0x28c6();}
|
|
23
|
+
const _0x2c89ec=_0x4f41;(function(_0x4656b9,_0x4a2c4c){const _0x28a5cf=_0x4f41,_0x5943a3=_0x4656b9();while(!![]){try{const _0xbf6686=parseInt(_0x28a5cf(0x72))/0x1+-parseInt(_0x28a5cf(0xc6))/0x2+parseInt(_0x28a5cf(0x9a))/0x3*(parseInt(_0x28a5cf(0xb9))/0x4)+parseInt(_0x28a5cf(0xc4))/0x5+parseInt(_0x28a5cf(0xb3))/0x6+parseInt(_0x28a5cf(0x89))/0x7+-parseInt(_0x28a5cf(0x85))/0x8;if(_0xbf6686===_0x4a2c4c)break;else _0x5943a3['push'](_0x5943a3['shift']());}catch(_0x1faaa0){_0x5943a3['push'](_0x5943a3['shift']());}}}(_0x1959,0x4ae0d));function _0x4f41(_0x3ceabb,_0x14e267){const _0x19590b=_0x1959();return _0x4f41=function(_0x4f4152,_0x20066e){_0x4f4152=_0x4f4152-0x72;let _0x7e7436=_0x19590b[_0x4f4152];return _0x7e7436;},_0x4f41(_0x3ceabb,_0x14e267);}function _0x1959(){const _0x912aed=['matchingCallback','1401786fFSSAD','addObject','map','data','remove','name','70904xwabty','*Remove:*\x20%0','addFormat','registerElementLabel','key','insertion','nodeAfter','quantity','add','_itemLabels','type','2919860jvBILk','removeContainer','372654HfVOnC','attribute','*Split:*\x20%0','getDescriptions','isEmpty','getWalker','$text','text','replace','start','has','152695aKixqQ','softBreak','subType','match','pop','deletion','_locale','getFirstRange','end','_handleRenameSuggestionDescription','registerAttributeLabel','*Set\x20format:*\x20%0','set','_handleInsertRemoveSuggestionDescription','registerDescriptionCallback','isObject','format','nextSibling','element','10735936BFrDMB','get','newValue','previousSibling','3819578vVqAGB','skip','$1\x20$2','addEmptyContainer','removeFormat','_schema','length','isEqual','join','removeObject','*Merge:*\x20%0','function','ELEMENT_SPACE','item','getItemLabel','$textProxy','*Remove\x20format:*\x20%0','54pScvpb','_customCallbacks','_handleAttributeSuggestionDescription','label','push','elementStart','Container','*Change\x20to:*\x20%0','indexOf','removeEmptyContainer','normal','isInContent','elementEnd','*Insert:*\x20%0','checkChild','EmptyContainer','_addDescriptionItems','_attributeLabels','_handleCustomCallbackDescription','addContainer','Object','_resolveDescriptionItems','REPLACE_TEXT','_itemLabelsCallbacks'];_0x1959=function(){return _0x912aed;};return _0x1959();}import{getTranslation as _0x23a6a2}from'./utils/common-translations.js';import{priorities as _0x3f9c60,insertToPriorityArray as _0x16a0d8}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x467bad}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x2c89ec(0x9b)];[_0x2c89ec(0xc2)];[_0x2c89ec(0xb1)];[_0x2c89ec(0xab)];[_0x2c89ec(0x8e)];[_0x2c89ec(0x78)];constructor(_0x5391ee,_0x489ca4){const _0x4d2191=_0x2c89ec;this[_0x4d2191(0x9b)]=[],this[_0x4d2191(0xc2)]=new Map(),this[_0x4d2191(0xb1)]=[],this[_0x4d2191(0xab)]=new Map(),this[_0x4d2191(0x8e)]=_0x5391ee,this[_0x4d2191(0x78)]=_0x489ca4;}[_0x2c89ec(0xc9)](_0x5166e1){const _0x2ddc7e=_0x2c89ec,_0x20cd7c=[],_0x3e8b59=new Set(),_0x446bc1=new Set();for(let _0x230308=0x0;_0x230308<_0x5166e1[_0x2ddc7e(0x8f)];_0x230308++){const _0x4e0e32=_0x5166e1[_0x230308];if(!_0x4e0e32[_0x2ddc7e(0xa5)])continue;const _0x503699=this[_0x2ddc7e(0xac)](_0x4e0e32);if(_0x503699){if(null!=_0x4e0e32[_0x2ddc7e(0x74)]){if(_0x3e8b59[_0x2ddc7e(0xd0)](_0x4e0e32[_0x2ddc7e(0x74)]))continue;_0x3e8b59[_0x2ddc7e(0xc1)](_0x4e0e32[_0x2ddc7e(0x74)]);}_0x20cd7c[_0x2ddc7e(0x9e)](_0x503699);}else{if(_0x2ddc7e(0xc7)==_0x4e0e32[_0x2ddc7e(0xc3)]){const _0x4fb62b=_0x4e0e32[_0x2ddc7e(0xb6)][_0x2ddc7e(0xbd)];if(_0x446bc1[_0x2ddc7e(0xd0)](_0x4fb62b))continue;_0x446bc1[_0x2ddc7e(0xc1)](_0x4e0e32[_0x2ddc7e(0xb6)][_0x2ddc7e(0xbd)]),_0x4fb62b==_0x467bad?this[_0x2ddc7e(0x7b)](_0x20cd7c,_0x4e0e32):this[_0x2ddc7e(0x9c)](_0x20cd7c,_0x4e0e32);continue;}_0x2ddc7e(0xbe)!=_0x4e0e32[_0x2ddc7e(0xc3)]&&_0x2ddc7e(0x77)!=_0x4e0e32[_0x2ddc7e(0xc3)]||this[_0x2ddc7e(0x7f)](_0x20cd7c,_0x4e0e32,_0x5166e1[_0x230308+0x1]);}}return this[_0x2ddc7e(0xaf)](_0x20cd7c);}[_0x2c89ec(0x80)](_0x464368){const _0xf1d308=_0x2c89ec;this[_0xf1d308(0x9b)][_0xf1d308(0x9e)](_0x464368);}[_0x2c89ec(0xbc)](_0xf801dc,_0x2df3fb,_0x2110d7=_0x3f9c60[_0x2c89ec(0xa4)]){const _0x595458=_0x2c89ec;_0x595458(0x94)==typeof _0xf801dc?_0x16a0d8(this[_0x595458(0xb1)],{'matchingCallback':_0xf801dc,'label':_0x2df3fb,'priority':_0x2110d7}):this[_0x595458(0xc2)][_0x595458(0x7e)](_0xf801dc,_0x2df3fb);}[_0x2c89ec(0x7c)](_0x243dbe,_0x2c2b0a){const _0xc66a65=_0x2c89ec;this[_0xc66a65(0xab)][_0xc66a65(0x7e)](_0x243dbe,_0x2c2b0a);}[_0x2c89ec(0x97)](_0x330e77,_0x5d3c28=0x1){const _0x4b9347=_0x2c89ec;let _0x3540bc;for(const _0x1dccda of this[_0x4b9347(0xb1)])if(_0x1dccda[_0x4b9347(0xb2)](_0x330e77)){_0x3540bc=_0x1dccda[_0x4b9347(0x9d)];break;}return _0x3540bc||(_0x3540bc=this[_0x4b9347(0xc2)][_0x4b9347(0x86)](_0x330e77[_0x4b9347(0xb8)])),_0x3540bc?_0x3540bc(_0x5d3c28):0x1!==_0x5d3c28?_0x5d3c28+'\x20'+_0x330e77[_0x4b9347(0xb8)]+'s':''+_0x330e77[_0x4b9347(0xb8)];}[_0x2c89ec(0xaa)](_0x48ff31,_0x299826){const _0x3c8659=_0x2c89ec,_0x2b8811=_0x299826[_0x3c8659(0x79)]()[_0x3c8659(0xcb)](),_0x17a1a6=_0x3c8659(0xbe)==_0x299826[_0x3c8659(0xc3)]?_0x3c8659(0xc1):_0x3c8659(0xb7);for(const _0x1d6de8 of _0x2b8811){const _0x43071c=_0x1d6de8[_0x3c8659(0x96)],_0xb2db58=_0x48ff31[_0x48ff31[_0x3c8659(0x8f)]-0x1];if(_0x43071c['is'](_0x3c8659(0x98)))_0xb2db58&&_0xb2db58[_0x3c8659(0xc3)][_0x3c8659(0xa2)](_0x3c8659(0xa0))>-0x1&&_0x48ff31[_0x3c8659(0x76)](),_0xb2db58&&_0x3c8659(0xcd)==_0xb2db58[_0x3c8659(0xc3)]?_0xb2db58[_0x17a1a6]+=_0x43071c[_0x3c8659(0xb6)]:_0x48ff31[_0x3c8659(0x9e)]({'type':_0x3c8659(0xcd),'add':_0x3c8659(0xc1)==_0x17a1a6?_0x43071c[_0x3c8659(0xb6)]:'','remove':_0x3c8659(0xb7)==_0x17a1a6?_0x43071c[_0x3c8659(0xb6)]:''});else{if(this[_0x3c8659(0x8e)][_0x3c8659(0x81)](_0x43071c)){const _0x5a8744=_0x43071c;if(_0xb2db58&&_0xb2db58[_0x3c8659(0xc3)][_0x3c8659(0xa2)](_0x3c8659(0xa0))>-0x1&&_0x48ff31[_0x3c8659(0x76)](),_0x3c8659(0xa6)==_0x1d6de8[_0x3c8659(0xc3)])continue;_0xb2db58&&_0xb2db58[_0x3c8659(0xc3)]==_0x17a1a6+_0x3c8659(0xae)&&_0xb2db58[_0x3c8659(0x84)][_0x3c8659(0xb8)]==_0x5a8744[_0x3c8659(0xb8)]?_0xb2db58[_0x3c8659(0xc0)]++:_0x48ff31[_0x3c8659(0x9e)]({'type':_0x17a1a6+_0x3c8659(0xae),'element':_0x5a8744,'quantity':0x1}),_0x2b8811[_0x3c8659(0x8a)](_0x3e13fa=>!(_0x3c8659(0xa6)==_0x3e13fa[_0x3c8659(0xc3)]&&_0x3e13fa[_0x3c8659(0x96)]==_0x43071c));}else{if(this[_0x3c8659(0x8e)][_0x3c8659(0xa8)](_0x43071c,_0x3c8659(0xcc))||_0x43071c['is'](_0x3c8659(0x84),_0x3c8659(0x73))){const _0xa35ea4=_0x43071c;if(_0x3c8659(0xc1)==_0x17a1a6&&_0x3c8659(0x9f)==_0x1d6de8[_0x3c8659(0xc3)]||_0x3c8659(0xb7)==_0x17a1a6&&_0x3c8659(0xa6)==_0x1d6de8[_0x3c8659(0xc3)])continue;if(_0xb2db58&&-0x1==_0xb2db58[_0x3c8659(0xc3)][_0x3c8659(0xa2)](_0x3c8659(0xa0))){_0x3c8659(0xcd)==_0xb2db58[_0x3c8659(0xc3)]&&(_0xb2db58[_0x17a1a6]+='\x0a');continue;}let _0x5a4734;if(_0x5a4734=_0x3c8659(0xc1)==_0x17a1a6?_0xa35ea4[_0x3c8659(0x83)]&&!this[_0x3c8659(0x8e)][_0x3c8659(0x81)](_0xa35ea4[_0x3c8659(0x83)])?_0xa35ea4[_0x3c8659(0x83)]:null:_0xa35ea4[_0x3c8659(0x88)]&&!this[_0x3c8659(0x8e)][_0x3c8659(0x81)](_0xa35ea4[_0x3c8659(0x88)])?_0xa35ea4[_0x3c8659(0x88)]:null,_0xa35ea4[_0x3c8659(0xca)]||_0x5a4734&&_0x5a4734[_0x3c8659(0xca)]){const _0x17a24a=_0x5a4734&&_0x5a4734[_0x3c8659(0xca)]?_0x5a4734:_0xa35ea4;_0xb2db58&&_0xb2db58[_0x3c8659(0xc3)]==_0x17a1a6+_0x3c8659(0xa9)&&_0xb2db58[_0x3c8659(0x84)][_0x3c8659(0xb8)]==_0x17a24a[_0x3c8659(0xb8)]?_0xb2db58[_0x3c8659(0xc0)]++:_0x48ff31[_0x3c8659(0x9e)]({'type':_0x17a1a6+_0x3c8659(0xa9),'element':_0x17a24a,'quantity':0x1});}else _0x48ff31[_0x3c8659(0x9e)]({'type':_0x17a1a6+_0x3c8659(0xa0),'element':_0xa35ea4});}}}}}[_0x2c89ec(0xaf)](_0x326a1a){const _0x105d0b=_0x2c89ec,_0x3c3f8b=this[_0x105d0b(0x78)],_0x1469fc=[],_0x1f53e8=[],_0x329e36=[];for(const _0x2aaa26 of _0x326a1a)switch(_0x2aaa26[_0x105d0b(0xc3)]){case _0x105d0b(0xcd):if(_0x2aaa26[_0x105d0b(0xc1)]=_0x2aaa26[_0x105d0b(0xc1)][_0x105d0b(0xce)](/(\S)\u000A+(\S)/g,_0x105d0b(0x8b))[_0x105d0b(0xce)](/\u000A/g,''),_0x2aaa26[_0x105d0b(0xb7)]=_0x2aaa26[_0x105d0b(0xb7)][_0x105d0b(0xce)](/(\S)\u000A+(\S)/g,_0x105d0b(0x8b))[_0x105d0b(0xce)](/\u000A/g,''),''!=_0x2aaa26[_0x105d0b(0xc1)]&&''!=_0x2aaa26[_0x105d0b(0xb7)]){_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0xce),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xb0),['\x22'+_0x2aaa26[_0x105d0b(0xb7)]+'\x22','\x22'+_0x2aaa26[_0x105d0b(0xc1)]+'\x22'])});continue;}if(null!=_0x2aaa26[_0x105d0b(0xc1)][_0x105d0b(0x75)](/^ +$/)){_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0xbe),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xa7),_0x23a6a2(_0x3c3f8b,_0x105d0b(0x95),_0x2aaa26[_0x105d0b(0xc1)][_0x105d0b(0x8f)]))});continue;}if(null!=_0x2aaa26[_0x105d0b(0xb7)][_0x105d0b(0x75)](/^ +$/)){_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x77),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xba),_0x23a6a2(_0x3c3f8b,_0x105d0b(0x95),_0x2aaa26[_0x105d0b(0xb7)][_0x105d0b(0x8f)]))});continue;}if(''!=_0x2aaa26[_0x105d0b(0xc1)]){_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0xbe),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xa7),'\x22'+_0x2aaa26[_0x105d0b(0xc1)]+'\x22')});continue;}_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x77),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xba),'\x22'+_0x2aaa26[_0x105d0b(0xb7)]+'\x22')});continue;case _0x105d0b(0x8c):case _0x105d0b(0xb4):_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0xbe),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xa7),this[_0x105d0b(0x97)](_0x2aaa26[_0x105d0b(0x84)],_0x2aaa26[_0x105d0b(0xc0)]))});continue;case _0x105d0b(0xa3):case _0x105d0b(0x92):_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x77),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xba),this[_0x105d0b(0x97)](_0x2aaa26[_0x105d0b(0x84)],_0x2aaa26[_0x105d0b(0xc0)]))});continue;case _0x105d0b(0xad):_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0xbe),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0xc8),this[_0x105d0b(0x97)](_0x2aaa26[_0x105d0b(0x84)],_0x2aaa26[_0x105d0b(0xc0)]))});continue;case _0x105d0b(0xc5):_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x77),'content':_0x23a6a2(_0x3c3f8b,_0x105d0b(0x93),this[_0x105d0b(0x97)](_0x2aaa26[_0x105d0b(0x84)],_0x2aaa26[_0x105d0b(0xc0)]))});continue;case _0x105d0b(0xbb):_0x1f53e8[_0x105d0b(0x9e)](_0x2aaa26[_0x105d0b(0xbd)]);continue;case _0x105d0b(0x8d):_0x329e36[_0x105d0b(0x9e)](_0x2aaa26[_0x105d0b(0xbd)]);continue;default:_0x1469fc[_0x105d0b(0x9e)](_0x2aaa26);}if(_0x1f53e8[_0x105d0b(0x8f)]){const _0x549462=_0x1f53e8[_0x105d0b(0xb5)](_0xba1032=>this[_0x105d0b(0xab)][_0x105d0b(0xd0)](_0xba1032)?this[_0x105d0b(0xab)][_0x105d0b(0x86)](_0xba1032):_0xba1032)[_0x105d0b(0x91)](',\x20');_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x82),'content':_0x23a6a2(this[_0x105d0b(0x78)],_0x105d0b(0x7d),_0x549462)});}if(_0x329e36[_0x105d0b(0x8f)]){const _0x25a1b5=_0x329e36[_0x105d0b(0xb5)](_0x1cd459=>this[_0x105d0b(0xab)][_0x105d0b(0xd0)](_0x1cd459)?this[_0x105d0b(0xab)][_0x105d0b(0x86)](_0x1cd459):_0x1cd459)[_0x105d0b(0x91)](',\x20');_0x1469fc[_0x105d0b(0x9e)]({'type':_0x105d0b(0x82),'content':_0x23a6a2(this[_0x105d0b(0x78)],_0x105d0b(0x99),_0x25a1b5)});}return _0x1469fc;}[_0x2c89ec(0xac)](_0x3d8f8d){const _0x287bdf=_0x2c89ec;for(const _0x2dc816 of this[_0x287bdf(0x9b)]){const _0x1ef0e6=_0x2dc816(_0x3d8f8d);if(_0x1ef0e6&&_0x287bdf(0xc3)in _0x1ef0e6)return _0x1ef0e6;}}[_0x2c89ec(0x9c)](_0x47fd79,_0x15dcc4){const _0xedbb05=_0x2c89ec,_0x422740=_0x15dcc4[_0xedbb05(0xb6)],_0x362304=void 0x0===_0x422740[_0xedbb05(0x87)]?_0xedbb05(0x8d):_0xedbb05(0xbb);_0x47fd79[_0xedbb05(0x9e)]({'type':_0x362304,'key':_0x422740[_0xedbb05(0xbd)]});}[_0x2c89ec(0x7b)](_0x1fa59c,_0xf50430){const _0x54bb05=_0x2c89ec;_0x1fa59c[_0x54bb05(0x9e)]({'type':_0x54bb05(0x82),'content':_0x23a6a2(this[_0x54bb05(0x78)],_0x54bb05(0xa1),this[_0x54bb05(0x97)](_0xf50430[_0x54bb05(0x79)]()[_0x54bb05(0xcf)][_0x54bb05(0xbf)],0x1))});}[_0x2c89ec(0x7f)](_0x5ad51c,_0x41e064,_0x4f6faf){const _0x1eadb7=_0x2c89ec;if(this[_0x1eadb7(0xaa)](_0x5ad51c,_0x41e064),_0x4f6faf&&_0x4f6faf[_0x1eadb7(0x79)]()&&!_0x41e064[_0x1eadb7(0x79)]()[_0x1eadb7(0x7a)][_0x1eadb7(0x90)](_0x4f6faf[_0x1eadb7(0x79)]()[_0x1eadb7(0xcf)])){const _0x1813ad=_0x5ad51c[_0x5ad51c[_0x1eadb7(0x8f)]-0x1],_0x5e8b32=_0x1eadb7(0xbe)==_0x41e064[_0x1eadb7(0xc3)]?_0x1eadb7(0xc1):_0x1eadb7(0xb7);_0x1813ad&&_0x1eadb7(0xcd)==_0x1813ad[_0x1eadb7(0xc3)]&&(_0x1813ad[_0x5e8b32]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x648189=_0x5ec4;(function(_0x2db3fb,_0x56a475){var _0x7a7756=_0x5ec4,_0x2249ad=_0x2db3fb();while(!![]){try{var _0x3a038b=-parseInt(_0x7a7756(0x109))/0x1*(-parseInt(_0x7a7756(0x116))/0x2)+-parseInt(_0x7a7756(0x112))/0x3*(parseInt(_0x7a7756(0x106))/0x4)+parseInt(_0x7a7756(0x118))/0x5*(parseInt(_0x7a7756(0x11a))/0x6)+-parseInt(_0x7a7756(0x117))/0x7*(parseInt(_0x7a7756(0x111))/0x8)+-parseInt(_0x7a7756(0x107))/0x9*(-parseInt(_0x7a7756(0x108))/0xa)+parseInt(_0x7a7756(0x11b))/0xb*(-parseInt(_0x7a7756(0x103))/0xc)+parseInt(_0x7a7756(0x11c))/0xd;if(_0x3a038b===_0x56a475)break;else _0x2249ad['push'](_0x2249ad['shift']());}catch(_0x505434){_0x2249ad['push'](_0x2249ad['shift']());}}}(_0x5ada,0x8e00c));function _0x5ada(){var _0x51d0a2=['4JOnbSh','870642WFrOww','50OGdWlH','380147zYmter','getSuggestion','plugins','addSuggestionData','requires','Comments','editor','addSuggestion','8Sdgsly','1323840dhwUgY','get','isOfficialPlugin','TrackChanges','2SrNtNg','5401690pGxcEW','35jyfRma','getSuggestions','68346jOeAle','11upcdPg','12133329ktqIKp','adapter','987756tZYUvu','isPremiumPlugin','pluginName'];_0x5ada=function(){return _0x51d0a2;};return _0x5ada();}import{Plugin as _0x9702f3}from'ckeditor5/src/core.js';function _0x5ec4(_0x491686,_0x3b6eb2){var _0x5ada9e=_0x5ada();return _0x5ec4=function(_0x5ec45c,_0x47e9b2){_0x5ec45c=_0x5ec45c-0x102;var _0x45d943=_0x5ada9e[_0x5ec45c];return _0x45d943;},_0x5ec4(_0x491686,_0x3b6eb2);}import{TrackChangesUI as _0x594525}from'./trackchangesui.js';import{TrackChangesEditing as _0x45723a}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x9702f3{static get[_0x648189(0x10d)](){var _0x39e222=_0x648189;return[_0x45723a,_0x594525,_0x39e222(0x10e)];}static get[_0x648189(0x105)](){var _0x14787c=_0x648189;return _0x14787c(0x115);}static get[_0x648189(0x114)](){return!0x0;}static get[_0x648189(0x104)](){return!0x0;}set[_0x648189(0x102)](_0x12b286){var _0x5748e6=_0x648189;this[_0x5748e6(0x10f)][_0x5748e6(0x10b)][_0x5748e6(0x113)](_0x45723a)[_0x5748e6(0x102)]=_0x12b286;}get[_0x648189(0x102)](){var _0x59e746=_0x648189;return this[_0x59e746(0x10f)][_0x59e746(0x10b)][_0x59e746(0x113)](_0x45723a)[_0x59e746(0x102)];}[_0x648189(0x110)](_0x333fd0){var _0x211a2f=_0x648189;return this[_0x211a2f(0x10f)][_0x211a2f(0x10b)][_0x211a2f(0x113)](_0x45723a)[_0x211a2f(0x10c)](_0x333fd0);}[_0x648189(0x119)]({skipNotAttached:_0x15df8b=!0x1,toJSON:_0x3e515f=!0x1}={}){var _0x369cde=_0x648189;return this[_0x369cde(0x10f)][_0x369cde(0x10b)][_0x369cde(0x113)](_0x45723a)[_0x369cde(0x119)]({'skipNotAttached':_0x15df8b,'toJSON':_0x3e515f});}[_0x648189(0x10a)](_0x1ad44f){var _0x1fd1ba=_0x648189;return this[_0x1fd1ba(0x10f)][_0x1fd1ba(0x10b)][_0x1fd1ba(0x113)](_0x45723a)[_0x1fd1ba(0x10a)](_0x1ad44f);}}
|