@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250701.1 → 0.0.0-nightly-20250703.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/lineheight.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.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 _0x31fde9=_0x2fa9;(function(_0x50b894,_0x5be399){const _0x3269c3=_0x2fa9,_0x128e0a=_0x50b894();while(!![]){try{const _0x4097f9=parseInt(_0x3269c3(0xf0))/0x1+parseInt(_0x3269c3(0xf9))/0x2+parseInt(_0x3269c3(0xe8))/0x3*(-parseInt(_0x3269c3(0xc0))/0x4)+parseInt(_0x3269c3(0xb3))/0x5*(-parseInt(_0x3269c3(0xcd))/0x6)+-parseInt(_0x3269c3(0xda))/0x7*(-parseInt(_0x3269c3(0xf1))/0x8)+-parseInt(_0x3269c3(0xf7))/0x9+parseInt(_0x3269c3(0xa8))/0xa;if(_0x4097f9===_0x5be399)break;else _0x128e0a['push'](_0x128e0a['shift']());}catch(_0x204f13){_0x128e0a['push'](_0x128e0a['shift']());}}}(_0x1b62,0x81f81));function _0x1b62(){const _0x2fa39a=['bindElementToMarker','descriptionFactory','615jqoZyF','accept','data','showSuggestionHighlights','afterInit','getSuggestion','removeMarker:suggestion','addClass','565917VrCitR','13576YrdiHA','cell','markerNameToElements','includes','writer','_registerLegacyDescription','9576315VJIWjF','markerRange','2093970nYIzQM','setTableColumnHeader','addMarker:suggestion','enableDefaultAttributesIntegration','data-suggestion','1799900etoVej','ck-suggestion-marker--active','editor','TableUtils','_suggestionFactory','registerDescriptionCallback','removeAttribute','item','formatBlock','plugins','removeClass','5xlXFBy','commandName','has','headingColumns','FORMAT_REGULAR_ROW','*Format:*\x20%0','_acceptFormatSuggestionCallbackFactory','registerAttributeLabel','unbindElementFromMarkerName','downcastDispatcher','registerBlockAttribute','ck-suggestion-marker-','getCellLocation','5468lpJCXn','nodeAfter','end','TableEditing','markerName','name','createTableWalker','_handleLegacySuggestions','FORMAT_HEADER_COLUMN','FORMAT_HEADER_ROW','setTableRowHeader','highest','parent','1951476RlCdtM','forceValue','_splitMarkerName','toViewElement','start','options','get','editing','nodeBefore','stop','setAttribute','headingRows','FORMAT_REGULAR_COLUMN','1687CJBIvs','type','activeMarkers','commandParams','consume','mapper','format','consumable','locale','TrackChangesEditing','registerCustomCallback','requires'];_0x1b62=function(){return _0x2fa39a;};return _0x1b62();}import{Plugin as _0x55b71f}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x1708f2}from'./table.js';import{getTranslation as _0x4161e8}from'../utils/common-translations.js';function _0x2fa9(_0x5b239f,_0x1d30ac){const _0x1b6257=_0x1b62();return _0x2fa9=function(_0x2fa93e,_0x76d2a1){_0x2fa93e=_0x2fa93e-0xa5;let _0x1ce234=_0x1b6257[_0x2fa93e];return _0x1ce234;},_0x2fa9(_0x5b239f,_0x1d30ac);}export class TrackChangesTableHeadings extends _0x55b71f{static get[_0x31fde9(0xe5)](){return[_0x1708f2];}[_0x31fde9(0xec)](){const _0x3ef08c=_0x31fde9,_0x27e465=this[_0x3ef08c(0xaa)];if(!_0x27e465[_0x3ef08c(0xb1)][_0x3ef08c(0xb5)](_0x3ef08c(0xc3)))return;const _0x43d101=_0x27e465[_0x3ef08c(0xe2)],_0x379794=_0x27e465[_0x3ef08c(0xb1)][_0x3ef08c(0xd3)](_0x3ef08c(0xe3));_0x379794[_0x3ef08c(0xa6)](_0x3ef08c(0xca)),_0x379794[_0x3ef08c(0xa6)](_0x3ef08c(0xfa)),_0x379794[_0x3ef08c(0xbd)](_0x3ef08c(0xd8)),_0x379794[_0x3ef08c(0xbd)](_0x3ef08c(0xb6)),_0x379794[_0x3ef08c(0xe7)][_0x3ef08c(0xba)](_0x3ef08c(0xd8),_0x4161e8(_0x43d101,_0x3ef08c(0xc9))),_0x379794[_0x3ef08c(0xe7)][_0x3ef08c(0xba)](_0x3ef08c(0xb6),_0x4161e8(_0x43d101,_0x3ef08c(0xc8))),this[_0x3ef08c(0xc7)]();}[_0x31fde9(0xc7)](){const _0x3b6000=_0x31fde9,_0x3addb1=this[_0x3b6000(0xaa)][_0x3b6000(0xb1)][_0x3b6000(0xd3)](_0x3b6000(0xe3)),_0x2832e5=this[_0x3b6000(0xaa)][_0x3b6000(0xb1)][_0x3b6000(0xd3)](_0x3b6000(0xab)),_0x40d4a5=this[_0x3b6000(0xaa)][_0x3b6000(0xb1)][_0x3b6000(0xd3)](_0x1708f2)[_0x3b6000(0xb9)]();function _0x1e2981({showActiveMarker:_0x5d2567=!0x0,setDataAttribute:_0x563d94=!0x0}={}){return(_0x263e80,_0x2e086b,_0x222cd6)=>{const _0x488f92=_0x2fa9,{type:_0x151cc5,id:_0x1b3d73}=_0x3addb1[_0x488f92(0xcf)](_0x2e086b[_0x488f92(0xc4)]),_0x412970=_0x3addb1[_0x488f92(0xed)](_0x1b3d73),_0x1d1fea=_0x412970[_0x488f92(0xea)];if(_0x488f92(0xb0)!=_0x412970[_0x488f92(0xdb)]||!_0x1d1fea||_0x488f92(0xfa)!=_0x1d1fea[_0x488f92(0xb4)])return;if(_0x2e086b[_0x488f92(0xaf)])return void _0x263e80[_0x488f92(0xd6)]();if(!_0x222cd6[_0x488f92(0xe1)][_0x488f92(0xde)](_0x2e086b[_0x488f92(0xf8)],_0x263e80[_0x488f92(0xc5)]))return;const _0x292899=_0x2e086b[_0x488f92(0xf8)][_0x488f92(0xd1)][_0x488f92(0xc1)],_0x29c699=_0x2e086b[_0x488f92(0xf8)][_0x488f92(0xc2)][_0x488f92(0xd5)],_0x59fae1=_0x292899[_0x488f92(0xcc)][_0x488f92(0xcc)],{column:_0x4da865}=_0x2832e5[_0x488f92(0xbf)](_0x292899),{column:_0x4e31d7}=_0x2832e5[_0x488f92(0xbf)](_0x29c699);for(let _0x1a5313=_0x4da865;_0x1a5313<=_0x4e31d7;_0x1a5313++){const _0x2e8002=_0x2832e5[_0x488f92(0xc6)](_0x59fae1,{'column':_0x1a5313,'includeAllSlots':!0x1});for(const _0x575d4e of _0x2e8002){const _0x4bb0d6=_0x575d4e[_0x488f92(0xf2)],_0x5e62cd=_0x222cd6[_0x488f92(0xdf)][_0x488f92(0xd0)](_0x4bb0d6);_0x222cd6[_0x488f92(0xf5)][_0x488f92(0xef)](_0x488f92(0xbe)+_0x151cc5,_0x5e62cd),_0x563d94&&_0x222cd6[_0x488f92(0xf5)][_0x488f92(0xd7)](_0x488f92(0xa7),_0x1b3d73,_0x5e62cd),_0x222cd6[_0x488f92(0xdf)][_0x488f92(0xe6)](_0x5e62cd,_0x2e086b[_0x488f92(0xc4)]),_0x5d2567&&(_0x3addb1[_0x488f92(0xdc)][_0x488f92(0xf4)](_0x2e086b[_0x488f92(0xc4)])?_0x222cd6[_0x488f92(0xf5)][_0x488f92(0xef)](_0x488f92(0xa9),_0x5e62cd):_0x222cd6[_0x488f92(0xf5)][_0x488f92(0xb2)](_0x488f92(0xa9),_0x5e62cd));}}};}_0x3addb1[_0x3b6000(0xac)][_0x3b6000(0xe4)](_0x3b6000(0xb0),_0x3b6000(0xca),_0x3b6000(0xe9),_0x40d4a5),_0x3addb1[_0x3b6000(0xac)][_0x3b6000(0xe4)](_0x3b6000(0xb0),_0x3b6000(0xfa),_0x3b6000(0xe9),_0x40d4a5),this[_0x3b6000(0xaa)][_0x3b6000(0xd4)][_0x3b6000(0xbc)]['on'](_0x3b6000(0xa5),_0x1e2981(),{'priority':_0x3b6000(0xcb)}),this[_0x3b6000(0xaa)][_0x3b6000(0xea)][_0x3b6000(0xbc)]['on'](_0x3b6000(0xa5),(_0x4cc127,_0x33dda6,_0x46b42a)=>{const _0x57a8cd=_0x3b6000;_0x46b42a[_0x57a8cd(0xd2)][_0x57a8cd(0xeb)]&&_0x1e2981({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x4cc127,_0x33dda6,_0x46b42a);},{'priority':_0x3b6000(0xcb)}),this[_0x3b6000(0xaa)][_0x3b6000(0xd4)][_0x3b6000(0xbc)]['on'](_0x3b6000(0xee),(_0x4910f5,_0x389bab,_0xdb9482)=>{const _0x34ccb0=_0x3b6000,{type:_0x2f7234,id:_0x3d880a}=_0x3addb1[_0x34ccb0(0xcf)](_0x389bab[_0x34ccb0(0xc4)]),_0x56bffc=_0x3addb1[_0x34ccb0(0xed)](_0x3d880a),_0x387d16=_0x56bffc[_0x34ccb0(0xea)];if(_0x34ccb0(0xb0)!=_0x56bffc[_0x34ccb0(0xdb)]||!_0x387d16||_0x34ccb0(0xfa)!=_0x387d16[_0x34ccb0(0xb4)])return;const _0x2920fa=_0xdb9482[_0x34ccb0(0xdf)][_0x34ccb0(0xf3)](_0x389bab[_0x34ccb0(0xc4)]);if(_0x2920fa){for(const _0x2037c5 of _0x2920fa)_0xdb9482[_0x34ccb0(0xf5)][_0x34ccb0(0xb2)](_0x34ccb0(0xbe)+_0x2f7234,_0x2037c5),_0xdb9482[_0x34ccb0(0xf5)][_0x34ccb0(0xb2)](_0x34ccb0(0xa9),_0x2037c5),_0xdb9482[_0x34ccb0(0xf5)][_0x34ccb0(0xae)](_0x34ccb0(0xa7),_0x2037c5),_0xdb9482[_0x34ccb0(0xdf)][_0x34ccb0(0xbb)](_0x2037c5,_0x389bab[_0x34ccb0(0xc4)]);}},{'priority':_0x3b6000(0xcb)}),this[_0x3b6000(0xf6)]();}[_0x31fde9(0xf6)](){const _0x3859b3=_0x31fde9,_0xad9acb=this[_0x3859b3(0xaa)],_0x3e2514=_0xad9acb[_0x3859b3(0xe2)];function _0x224af7(_0x3a6deb){const _0x1c6456=_0x3859b3;return{'type':_0x1c6456(0xe0),'content':_0x4161e8(_0x3e2514,_0x1c6456(0xb8),_0x3a6deb)};}_0xad9acb[_0x3859b3(0xb1)][_0x3859b3(0xd3)](_0x3859b3(0xe3))[_0x3859b3(0xe7)][_0x3859b3(0xad)](_0x4f1627=>{const _0x2c7e8e=_0x3859b3;if(_0x2c7e8e(0xb0)!=_0x4f1627[_0x2c7e8e(0xdb)])return;const {data:_0x1c0d78}=_0x4f1627;if(_0x1c0d78){if(_0x2c7e8e(0xca)==_0x1c0d78[_0x2c7e8e(0xb4)]){const _0x573dab=_0x1c0d78[_0x2c7e8e(0xdd)][0x0][_0x2c7e8e(0xce)];return _0x224af7(_0x4161e8(_0x3e2514,_0x573dab?_0x2c7e8e(0xc9):_0x2c7e8e(0xb7)));}if(_0x2c7e8e(0xfa)==_0x1c0d78[_0x2c7e8e(0xb4)]){const _0xfe161e=_0x1c0d78[_0x2c7e8e(0xdd)][0x0][_0x2c7e8e(0xce)];return _0x224af7(_0x4161e8(_0x3e2514,_0xfe161e?_0x2c7e8e(0xc8):_0x2c7e8e(0xd9)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xdcda(){const _0x3c1b6b=['getAttribute','2KOkxMo','ELEMENT_CONTENT_TABLE','*Set\x20table\x20type:*\x20%0','layout','ELEMENT_LAYOUT_TABLE','key','registerBlockAttribute','enableDefaultAttributesIntegration','45gacszW','content','afterInit','descriptionFactory','newValue','TrackChangesEditing','registerElementLabel','14703488qRGWlt','4554788XEeiNx','tableType','TableLayout','format','719116ppqgGd','1656315XtchMS','registerDescriptionCallback','750379DZxgWC','6544782CLTova','5243172eTJqIN','element','plugins','get','insertTableLayout','editor','enableCommand','has','locale','table'];_0xdcda=function(){return _0x3c1b6b;};return _0xdcda();}const _0x127ee4=_0xa74b;(function(_0x3d0aa3,_0x2b5a8b){const _0x88d89b=_0xa74b,_0x409b09=_0x3d0aa3();while(!![]){try{const _0xb0b107=parseInt(_0x88d89b(0x1d5))/0x1*(parseInt(_0x88d89b(0x1e2))/0x2)+-parseInt(_0x88d89b(0x1d3))/0x3+parseInt(_0x88d89b(0x1d2))/0x4*(-parseInt(_0x88d89b(0x1ea))/0x5)+-parseInt(_0x88d89b(0x1d7))/0x6+parseInt(_0x88d89b(0x1f2))/0x7+parseInt(_0x88d89b(0x1f1))/0x8+parseInt(_0x88d89b(0x1d6))/0x9;if(_0xb0b107===_0x2b5a8b)break;else _0x409b09['push'](_0x409b09['shift']());}catch(_0x179e7c){_0x409b09['push'](_0x409b09['shift']());}}}(_0xdcda,0xe126b));function _0xa74b(_0x3c5cf6,_0x7914fb){const _0xdcda81=_0xdcda();return _0xa74b=function(_0xa74b9b,_0x4be8ef){_0xa74b9b=_0xa74b9b-0x1d1;let _0x13e044=_0xdcda81[_0xa74b9b];return _0x13e044;},_0xa74b(_0x3c5cf6,_0x7914fb);}import{Plugin as _0xaf94e8}from'ckeditor5/src/core.js';import{getTranslation as _0x461769}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0xaf94e8{[_0x127ee4(0x1ec)](){const _0x5a31e0=_0x127ee4,_0xc3a3b2=this[_0x5a31e0(0x1dc)],_0x4b3589=_0xc3a3b2[_0x5a31e0(0x1df)],_0xd013e=_0xc3a3b2[_0x5a31e0(0x1d9)][_0x5a31e0(0x1da)](_0x5a31e0(0x1ef));function _0x1d09a8(_0xbfda03){const _0x1ff56f=_0x5a31e0;return{'type':_0x1ff56f(0x1d1),'content':''+_0x461769(_0x4b3589,_0x1ff56f(0x1e4),_0xbfda03)};}_0xc3a3b2[_0x5a31e0(0x1d9)][_0x5a31e0(0x1de)](_0x5a31e0(0x1f4))&&(_0xd013e[_0x5a31e0(0x1dd)](_0x5a31e0(0x1db)),_0xd013e[_0x5a31e0(0x1e9)](_0x5a31e0(0x1f3)),_0xd013e[_0x5a31e0(0x1e8)](_0x5a31e0(0x1f3)),_0xd013e[_0x5a31e0(0x1ed)][_0x5a31e0(0x1f0)](_0x5cedea=>_0x5cedea['is'](_0x5a31e0(0x1d8),_0x5a31e0(0x1e0))&&_0x5a31e0(0x1e5)===_0x5cedea[_0x5a31e0(0x1e1)](_0x5a31e0(0x1f3)),_0x42f82a=>_0x461769(_0x4b3589,_0x5a31e0(0x1e6),_0x42f82a)),_0xd013e[_0x5a31e0(0x1ed)][_0x5a31e0(0x1d4)](_0x476ce4=>{const _0x461a74=_0x5a31e0,{data:_0x1cea2b}=_0x476ce4;if(_0x1cea2b&&_0x461a74(0x1f3)==_0x1cea2b[_0x461a74(0x1e7)])switch(_0x1cea2b[_0x461a74(0x1ee)]){case _0x461a74(0x1e5):return _0x1d09a8(_0x461769(_0x4b3589,_0x461a74(0x1e6)));case _0x461a74(0x1eb):return _0x1d09a8(_0x461769(_0x4b3589,_0x461a74(0x1e3)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x177917=_0xba3f;(function(_0x4e3246,_0x1d89ce){const _0x276d2f=_0xba3f,_0x294b98=_0x4e3246();while(!![]){try{const _0x1854b1=parseInt(_0x276d2f(0xef))/0x1+parseInt(_0x276d2f(0xf5))/0x2*(-parseInt(_0x276d2f(0x12b))/0x3)+-parseInt(_0x276d2f(0x11a))/0x4*(-parseInt(_0x276d2f(0xec))/0x5)+-parseInt(_0x276d2f(0x129))/0x6*(parseInt(_0x276d2f(0x13a))/0x7)+parseInt(_0x276d2f(0xea))/0x8*(-parseInt(_0x276d2f(0xfa))/0x9)+-parseInt(_0x276d2f(0x11d))/0xa*(-parseInt(_0x276d2f(0xf8))/0xb)+-parseInt(_0x276d2f(0x103))/0xc;if(_0x1854b1===_0x1d89ce)break;else _0x294b98['push'](_0x294b98['shift']());}catch(_0x1c1252){_0x294b98['push'](_0x294b98['shift']());}}}(_0x365f,0x7b0a7));import{Plugin as _0x2243e5}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4fccd6}from'./table.js';import{ModelLiveRange as _0x5906f7}from'ckeditor5/src/engine.js';function _0xba3f(_0x4835c1,_0x17e37b){const _0x365fa5=_0x365f();return _0xba3f=function(_0xba3f13,_0x20f5b2){_0xba3f13=_0xba3f13-0xe6;let _0x5cd76a=_0x365fa5[_0xba3f13];return _0x5cd76a;},_0xba3f(_0x4835c1,_0x17e37b);}function _0x365f(){const _0x4c96c1=['get','detach','setSelection','map','splitTableCellHorizontally','4ZHljMr','rootName','editor','2230MYbBbh','$graveyard','*Merge\x20cells*','getSuggestions','horizontally','execute','afterInit','fromRange','findAncestor','size','has','push','30FLwmJJ','mergeTableCells','355956fHQIUy','TrackChangesEditing','table','formatInline','selection','_suggestionFactory','value','forceDefaultExecution','splitTableCellVertically','plugins','enableCommand','refresh','containsRange','format','root','90713RSlESN','createTableWalker','createRangeOn','TableUtils','mergeTableCellDown','registerDescriptionCallback','formatBlock','model','deletion','*Split\x20cell:*\x20horizontally','mergeTableCellLeft','length','isInContent','subType','_isForcedDefaultExecutionBlock','commandName','markBlockFormat','mergeTableCellRight','author','commands','_tablePostFixingSubtypes','5335336cdMmHL','insertion','1014255BdzJKV','tableCell','_areMergableCells','898372jWVcjy','cell','_areSelectedCellsMergable','mergeTableCellUp','return','isEnabled','6ABmfIM','locale','getAncestors','49643OEbOEX','getRanges','9chmgur','direction','type','document','_acceptFormatSuggestionCallbackFactory','trackChanges','change','*Split\x20cell:*\x20vertically','low','6191748UctGmF','TableEditing','getFirstPosition','find','set:isEnabled','registerCustomCallback','from','getSelectionAffectedTableCells','element','markMultiRangeBlockFormat','highest','add','descriptionFactory','accept','filter','getCellLocation','stop','requires'];_0x365f=function(){return _0x4c96c1;};return _0x365f();}import{getTranslation as _0x3cb171}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x2243e5{static get[_0x177917(0x114)](){return[_0x4fccd6];}[_0x177917(0x123)](){const _0x24b661=_0x177917,_0x5894b4=this[_0x24b661(0x11c)],_0x329155=_0x5894b4[_0x24b661(0x141)][_0x24b661(0xfd)][_0x24b661(0x12f)],_0x3c2af8=_0x5894b4[_0x24b661(0xf6)];if(!_0x5894b4[_0x24b661(0x134)][_0x24b661(0x127)](_0x24b661(0x104)))return;const _0x587e45=_0x5894b4[_0x24b661(0x134)][_0x24b661(0x115)](_0x24b661(0x12c)),_0x3ca5d9=_0x5894b4[_0x24b661(0x134)][_0x24b661(0x115)](_0x24b661(0x13d)),_0x2a4eaf=_0x5894b4[_0x24b661(0x134)][_0x24b661(0x115)](_0x4fccd6);_0x2a4eaf[_0x24b661(0xe9)][_0x24b661(0x128)](_0x24b661(0x12a)),_0x587e45[_0x24b661(0x135)](_0x24b661(0x12a),()=>{const _0x2902c9=_0x24b661,_0x1d6f03=_0x3ca5d9[_0x2902c9(0x10a)](_0x5894b4[_0x2902c9(0x141)][_0x2902c9(0xfd)][_0x2902c9(0x12f)]);_0x5894b4[_0x2902c9(0x141)][_0x2902c9(0x100)](()=>{const _0x438209=_0x2902c9;_0x587e45[_0x438209(0x10c)](_0x1d6f03,{'commandName':_0x438209(0x12a),'commandParams':[]},[],_0x438209(0x12a));});}),_0x5894b4[_0x24b661(0xe8)][_0x24b661(0x115)](_0x24b661(0x12a))['on'](_0x24b661(0x122),(_0x7f8a9,_0x3e9072)=>{const _0x1156c2=_0x24b661;_0x5894b4[_0x1156c2(0xe8)][_0x1156c2(0x115)](_0x1156c2(0xff))[_0x1156c2(0x131)]&&(_0x3e9072[_0x1156c2(0x145)]>0x0&&_0x3e9072[_0x3e9072[_0x1156c2(0x145)]-0x1]&&_0x3e9072[_0x3e9072[_0x1156c2(0x145)]-0x1][_0x1156c2(0x132)]||_0x587e45[_0x1156c2(0x148)]||this[_0x1156c2(0xf1)]()||_0x7f8a9[_0x1156c2(0x113)]());},{'priority':_0x24b661(0x10d)});for(const _0x46c193 of[_0x24b661(0xf2),_0x24b661(0xe6),_0x24b661(0x13e),_0x24b661(0x144)]){const _0x2f6b27=_0x5894b4[_0x24b661(0xe8)][_0x24b661(0x115)](_0x46c193);_0x587e45[_0x24b661(0x135)](_0x46c193,()=>{const _0x411189=_0x24b661,_0x3f2eee=_0x5894b4[_0x411189(0x141)][_0x411189(0xfd)][_0x411189(0x12f)][_0x411189(0x105)]()[_0x411189(0xf7)]()[_0x411189(0x106)](_0x24ead9=>_0x24ead9['is'](_0x411189(0x10b),_0x411189(0xed))),_0x2130f9=_0x2f6b27[_0x411189(0x131)];_0x5894b4[_0x411189(0x141)][_0x411189(0x100)](()=>{const _0x3e214e=_0x411189;_0x587e45[_0x3e214e(0x10c)]([_0x3f2eee,_0x2130f9],{'commandName':_0x3e214e(0x12a),'commandParams':[]},[],_0x3e214e(0x12a));});});}for(const _0x41673f of[_0x24b661(0x133),_0x24b661(0x119)]){const _0x3368af=_0x5894b4[_0x24b661(0xe8)][_0x24b661(0x115)](_0x41673f);_0x587e45[_0x24b661(0x135)](_0x41673f,()=>{const _0xf53c78=_0x24b661,_0x4c1c44=_0x3ca5d9[_0xf53c78(0x10a)](_0x5894b4[_0xf53c78(0x141)][_0xf53c78(0xfd)][_0xf53c78(0x12f)])[0x0],_0x30b6ac=_0x4c1c44[_0xf53c78(0x125)](_0xf53c78(0x12d)),{column:_0x28af0d,row:_0x3c36bb}=_0x3ca5d9[_0xf53c78(0x112)](_0x4c1c44);let _0x464ae5=[];if(_0xf53c78(0x121)==_0x3368af[_0xf53c78(0xfb)]){const _0x198099=_0x3ca5d9[_0xf53c78(0x13b)](_0x30b6ac,{'startRow':_0x3c36bb,'endRow':_0x3c36bb,'includeAllSlots':!0x0});_0x464ae5=Array[_0xf53c78(0x109)](_0x198099)[_0xf53c78(0x118)](_0x33aafb=>_0x33aafb[_0xf53c78(0xf0)]);}else{const _0x485271=_0x3ca5d9[_0xf53c78(0x13b)](_0x30b6ac,{'column':_0x28af0d,'includeAllSlots':!0x0});_0x464ae5=Array[_0xf53c78(0x109)](_0x485271)[_0xf53c78(0x118)](_0x39bd64=>_0x39bd64[_0xf53c78(0xf0)]);}_0x5894b4[_0xf53c78(0x141)][_0xf53c78(0x100)](_0x4c1443=>{const _0x2f6d0c=_0xf53c78;_0x587e45[_0x2f6d0c(0x14a)](_0x4c1443[_0x2f6d0c(0x13c)](_0x4c1c44),{'commandName':_0x41673f,'commandParams':[]},_0x464ae5,_0x41673f);});});}_0x587e45[_0x24b661(0x10f)][_0x24b661(0x13f)](_0x15e3db=>{const _0x509f23=_0x24b661;if(_0x509f23(0x140)!=_0x15e3db[_0x509f23(0xfc)]&&_0x509f23(0x12e)!=_0x15e3db[_0x509f23(0xfc)])return;const {data:_0xdca118}=_0x15e3db;return _0xdca118&&_0x509f23(0x12a)==_0xdca118[_0x509f23(0x149)]?{'type':_0x509f23(0x138),'content':_0x3cb171(_0x3c2af8,_0x509f23(0x11f))}:void 0x0;}),_0x587e45[_0x24b661(0x10f)][_0x24b661(0x13f)](_0x3e95fc=>{const _0x40d984=_0x24b661;if(_0x40d984(0x140)!=_0x3e95fc[_0x40d984(0xfc)]&&_0x40d984(0x12e)!=_0x3e95fc[_0x40d984(0xfc)])return;const {data:_0x55eea3}=_0x3e95fc;return _0x55eea3?_0x40d984(0x133)==_0x55eea3[_0x40d984(0x149)]?{'type':_0x40d984(0x138),'content':_0x3cb171(_0x3c2af8,_0x40d984(0x101))}:_0x40d984(0x119)==_0x55eea3[_0x40d984(0x149)]?{'type':_0x40d984(0x138),'content':_0x3cb171(_0x3c2af8,_0x40d984(0x143))}:void 0x0:void 0x0;});const _0x11be6d=_0x2a4eaf[_0x24b661(0xfe)]();for(const _0x28ad75 of[_0x24b661(0xf2),_0x24b661(0xe6),_0x24b661(0x13e),_0x24b661(0x144)])_0x587e45[_0x24b661(0x130)][_0x24b661(0x108)](_0x24b661(0x140),_0x28ad75,_0x24b661(0x110),_0x11be6d);for(const _0x4a9f7f of[_0x24b661(0x133),_0x24b661(0x119)])_0x587e45[_0x24b661(0x130)][_0x24b661(0x108)](_0x24b661(0x140),_0x4a9f7f,_0x24b661(0x110),_0x11be6d);_0x587e45[_0x24b661(0x130)][_0x24b661(0x108)](_0x24b661(0x140),_0x24b661(0x12a),_0x24b661(0x110),_0x175af4=>{const _0x5a1f52=_0x24b661;_0x5894b4[_0x5a1f52(0x141)][_0x5a1f52(0x100)](_0x344c09=>{const _0x518864=_0x5a1f52,_0x9ac0ef=Array[_0x518864(0x109)](_0x329155[_0x518864(0xf9)]())[_0x518864(0x118)](_0x2b67b2=>_0x5906f7[_0x518864(0x124)](_0x2b67b2));_0x344c09[_0x518864(0x117)](_0x175af4),_0x5894b4[_0x518864(0xe8)][_0x518864(0x115)](_0x518864(0x12a))[_0x518864(0x136)](),_0x5894b4[_0x518864(0x122)](_0x518864(0x12a),{'forceDefaultExecution':!0x0});const _0x30aafd=_0x9ac0ef[_0x518864(0x111)](_0xdd4693=>_0x518864(0x11e)!=_0xdd4693[_0x518864(0x139)][_0x518864(0x11b)]);_0x30aafd[_0x518864(0x145)]>0x0&&_0x344c09[_0x518864(0x117)](_0x30aafd);for(const _0x43405e of _0x9ac0ef)_0x43405e[_0x518864(0x116)]();});});for(const _0x215948 of[_0x24b661(0xf2),_0x24b661(0x13e),_0x24b661(0x144),_0x24b661(0xe6)]){const _0xa08f4c=_0x5894b4[_0x24b661(0xe8)][_0x24b661(0x115)](_0x215948);_0xa08f4c['on'](_0x24b661(0x107),(_0xd6e204,_0x246bd7,_0x2856b4)=>{const _0x3dc945=_0x24b661;if(_0x2856b4){const _0xcaf4da=_0x5894b4[_0x3dc945(0x141)][_0x3dc945(0xfd)][_0x3dc945(0x12f)][_0x3dc945(0x105)]()[_0x3dc945(0xf7)]()[_0x3dc945(0x106)](_0x5c5b4b=>_0x5c5b4b['is'](_0x3dc945(0x10b),_0x3dc945(0xed)));this[_0x3dc945(0xee)](_0xa08f4c[_0x3dc945(0x131)],_0xcaf4da)||(_0xd6e204[_0x3dc945(0xf3)]=!0x1,_0xd6e204[_0x3dc945(0x113)]());}},{'priority':_0x24b661(0x102)});}}[_0x177917(0xf1)](){const _0x539560=_0x177917,_0x4ad762=this[_0x539560(0x11c)][_0x539560(0xe8)][_0x539560(0x115)](_0x539560(0x12a)),_0x173d0a=this[_0x539560(0x11c)][_0x539560(0x134)][_0x539560(0x115)](_0x539560(0x13d));if(!_0x4ad762[_0x539560(0xf4)])return!0x1;const _0x4e0b59=_0x173d0a[_0x539560(0x10a)](this[_0x539560(0x11c)][_0x539560(0x141)][_0x539560(0xfd)][_0x539560(0x12f)]);for(const _0x1ef72b of _0x4e0b59)for(const _0x285d82 of _0x4e0b59)if(_0x1ef72b!=_0x285d82&&!this[_0x539560(0xee)](_0x1ef72b,_0x285d82))return!0x1;return!0x0;}[_0x177917(0xee)](_0x7e97,_0x39a76b){const _0x28d2ee=_0x177917,_0x29028b=this[_0x28d2ee(0x11c)][_0x28d2ee(0x134)][_0x28d2ee(0x115)](_0x28d2ee(0x12c)),_0x180e5d=this[_0x28d2ee(0x11c)][_0x28d2ee(0x141)][_0x28d2ee(0x13c)](_0x7e97),_0x4a5c8a=this[_0x28d2ee(0x11c)][_0x28d2ee(0x141)][_0x28d2ee(0x13c)](_0x39a76b),_0x225fff=new Set(),_0x4a7e3f=new Set();for(const _0x46c33c of _0x29028b[_0x28d2ee(0x120)]())if((_0x28d2ee(0xeb)==_0x46c33c[_0x28d2ee(0xfc)]||_0x28d2ee(0x142)==_0x46c33c[_0x28d2ee(0xfc)]||_0x28d2ee(0x12a)==_0x46c33c[_0x28d2ee(0x147)])&&_0x46c33c[_0x28d2ee(0x146)]){for(const _0xba1d71 of _0x46c33c[_0x28d2ee(0xf9)]())_0xba1d71[_0x28d2ee(0x137)](_0x180e5d,!0x0)&&_0x225fff[_0x28d2ee(0x10e)](_0x46c33c[_0x28d2ee(0xfc)]+':'+_0x46c33c[_0x28d2ee(0xe7)]['id']),_0xba1d71[_0x28d2ee(0x137)](_0x4a5c8a,!0x0)&&_0x4a7e3f[_0x28d2ee(0x10e)](_0x46c33c[_0x28d2ee(0xfc)]+':'+_0x46c33c[_0x28d2ee(0xe7)]['id']);}if(_0x225fff[_0x28d2ee(0x126)]!=_0x4a7e3f[_0x28d2ee(0x126)])return!0x1;for(const _0x402c74 of _0x225fff)if(!_0x4a7e3f[_0x28d2ee(0x127)](_0x402c74))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2e644d=_0x23b5;(function(_0x4f5b8e,_0x19da1a){const _0x5503ef=_0x23b5,_0x301765=_0x4f5b8e();while(!![]){try{const _0x323fd3=parseInt(_0x5503ef(0xf8))/0x1+parseInt(_0x5503ef(0xbe))/0x2*(-parseInt(_0x5503ef(0xd0))/0x3)+parseInt(_0x5503ef(0xc4))/0x4*(parseInt(_0x5503ef(0xc7))/0x5)+parseInt(_0x5503ef(0x105))/0x6*(parseInt(_0x5503ef(0xe9))/0x7)+parseInt(_0x5503ef(0xc5))/0x8*(parseInt(_0x5503ef(0x10a))/0x9)+parseInt(_0x5503ef(0xc9))/0xa*(-parseInt(_0x5503ef(0xd1))/0xb)+-parseInt(_0x5503ef(0xcb))/0xc;if(_0x323fd3===_0x19da1a)break;else _0x301765['push'](_0x301765['shift']());}catch(_0xfbe395){_0x301765['push'](_0x301765['shift']());}}}(_0x2b32,0xa0db6));import{Plugin as _0x534966}from'ckeditor5/src/core.js';function _0x23b5(_0x338ec8,_0x540f5a){const _0x2b327c=_0x2b32();return _0x23b5=function(_0x23b5ab,_0x126141){_0x23b5ab=_0x23b5ab-0xb2;let _0x54a0aa=_0x2b327c[_0x23b5ab];return _0x54a0aa;},_0x23b5(_0x338ec8,_0x540f5a);}import{TrackChangesTable as _0x2c034f}from'./table.js';function _0x2b32(){const _0x27eef6=['format','subType','afterInit','element','1055172SDdfDW','fromRange','getCellLocation','low','registerDescriptionCallback','5325687NjwLgC','_areSelectedCellsMergable','author','TrackChangesEditing','*Split\x20cell:*\x20vertically','isEnabled','mergeTableCellUp','containsRange','mergeTableCellRight','commands','deletion','*Split\x20cell:*\x20horizontally','createTableWalker','trackChanges','splitTableCellHorizontally','stop','tableCell','markBlockFormat','setSelection','direction','registerCustomCallback','return','insertion','$graveyard','rootName','7324fhCIQK','mergeTableCells','descriptionFactory','_isForcedDefaultExecutionBlock','getSuggestions','_areMergableCells','4152GPCNYM','8hztYje','markMultiRangeBlockFormat','1480hkFTzT','TableUtils','59870AUQVtQ','push','4646700QlvvGY','getFirstPosition','requires','refresh','formatInline','579epbBiZ','539ckUorf','cell','enableCommand','find','root','table','execute','getSelectionAffectedTableCells','editor','type','map','model','length','_acceptFormatSuggestionCallbackFactory','mergeTableCellDown','document','_suggestionFactory','*Merge\x20cells*','highest','accept','horizontally','detach','splitTableCellVertically','has','7CiGsNC','set:isEnabled','findAncestor','filter','get','commandName','getAncestors','selection','isInContent','size','plugins','locale','add','mergeTableCellLeft','from','971371rERTLC','TableEditing','_tablePostFixingSubtypes','forceDefaultExecution','createRangeOn','value','getRanges','formatBlock','change'];_0x2b32=function(){return _0x27eef6;};return _0x2b32();}import{ModelLiveRange as _0x1f90b9}from'ckeditor5/src/engine.js';import{getTranslation as _0x8f326b}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x534966{static get[_0x2e644d(0xcd)](){return[_0x2c034f];}[_0x2e644d(0x103)](){const _0x5cd89d=_0x2e644d,_0x1e8c4b=this[_0x5cd89d(0xd9)],_0x3a5c03=_0x1e8c4b[_0x5cd89d(0xdc)][_0x5cd89d(0xe0)][_0x5cd89d(0xf0)],_0x328784=_0x1e8c4b[_0x5cd89d(0xf4)];if(!_0x1e8c4b[_0x5cd89d(0xf3)][_0x5cd89d(0xe8)](_0x5cd89d(0xf9)))return;const _0x3591c5=_0x1e8c4b[_0x5cd89d(0xf3)][_0x5cd89d(0xed)](_0x5cd89d(0x10d)),_0x2e10cd=_0x1e8c4b[_0x5cd89d(0xf3)][_0x5cd89d(0xed)](_0x5cd89d(0xc8)),_0x1b971c=_0x1e8c4b[_0x5cd89d(0xf3)][_0x5cd89d(0xed)](_0x2c034f);_0x1b971c[_0x5cd89d(0xfa)][_0x5cd89d(0xca)](_0x5cd89d(0xbf)),_0x3591c5[_0x5cd89d(0xd3)](_0x5cd89d(0xbf),()=>{const _0x49f0f7=_0x5cd89d,_0x2b2dfb=_0x2e10cd[_0x49f0f7(0xd8)](_0x1e8c4b[_0x49f0f7(0xdc)][_0x49f0f7(0xe0)][_0x49f0f7(0xf0)]);_0x1e8c4b[_0x49f0f7(0xdc)][_0x49f0f7(0x100)](()=>{const _0x197c10=_0x49f0f7;_0x3591c5[_0x197c10(0xc6)](_0x2b2dfb,{'commandName':_0x197c10(0xbf),'commandParams':[]},[],_0x197c10(0xbf));});}),_0x1e8c4b[_0x5cd89d(0x113)][_0x5cd89d(0xed)](_0x5cd89d(0xbf))['on'](_0x5cd89d(0xd7),(_0x523191,_0x5f2854)=>{const _0x1982ca=_0x5cd89d;_0x1e8c4b[_0x1982ca(0x113)][_0x1982ca(0xed)](_0x1982ca(0xb2))[_0x1982ca(0xfd)]&&(_0x5f2854[_0x1982ca(0xdd)]>0x0&&_0x5f2854[_0x5f2854[_0x1982ca(0xdd)]-0x1]&&_0x5f2854[_0x5f2854[_0x1982ca(0xdd)]-0x1][_0x1982ca(0xfb)]||_0x3591c5[_0x1982ca(0xc1)]||this[_0x1982ca(0x10b)]()||_0x523191[_0x1982ca(0xb4)]());},{'priority':_0x5cd89d(0xe3)});for(const _0xcded0e of[_0x5cd89d(0x110),_0x5cd89d(0x112),_0x5cd89d(0xdf),_0x5cd89d(0xf6)]){const _0x296c6f=_0x1e8c4b[_0x5cd89d(0x113)][_0x5cd89d(0xed)](_0xcded0e);_0x3591c5[_0x5cd89d(0xd3)](_0xcded0e,()=>{const _0x2eda9f=_0x5cd89d,_0x18bed2=_0x1e8c4b[_0x2eda9f(0xdc)][_0x2eda9f(0xe0)][_0x2eda9f(0xf0)][_0x2eda9f(0xcc)]()[_0x2eda9f(0xef)]()[_0x2eda9f(0xd4)](_0x4a270d=>_0x4a270d['is'](_0x2eda9f(0x104),_0x2eda9f(0xb5))),_0x34dfbd=_0x296c6f[_0x2eda9f(0xfd)];_0x1e8c4b[_0x2eda9f(0xdc)][_0x2eda9f(0x100)](()=>{const _0x119dba=_0x2eda9f;_0x3591c5[_0x119dba(0xc6)]([_0x18bed2,_0x34dfbd],{'commandName':_0x119dba(0xbf),'commandParams':[]},[],_0x119dba(0xbf));});});}for(const _0x97282d of[_0x5cd89d(0xe7),_0x5cd89d(0xb3)]){const _0x30eb6b=_0x1e8c4b[_0x5cd89d(0x113)][_0x5cd89d(0xed)](_0x97282d);_0x3591c5[_0x5cd89d(0xd3)](_0x97282d,()=>{const _0x575219=_0x5cd89d,_0x4fd068=_0x2e10cd[_0x575219(0xd8)](_0x1e8c4b[_0x575219(0xdc)][_0x575219(0xe0)][_0x575219(0xf0)])[0x0],_0x5687ca=_0x4fd068[_0x575219(0xeb)](_0x575219(0xd6)),{column:_0x2566c3,row:_0x2436d2}=_0x2e10cd[_0x575219(0x107)](_0x4fd068);let _0xbb8604=[];if(_0x575219(0xe5)==_0x30eb6b[_0x575219(0xb8)]){const _0x1cc97a=_0x2e10cd[_0x575219(0x116)](_0x5687ca,{'startRow':_0x2436d2,'endRow':_0x2436d2,'includeAllSlots':!0x0});_0xbb8604=Array[_0x575219(0xf7)](_0x1cc97a)[_0x575219(0xdb)](_0x21b74d=>_0x21b74d[_0x575219(0xd2)]);}else{const _0x491a98=_0x2e10cd[_0x575219(0x116)](_0x5687ca,{'column':_0x2566c3,'includeAllSlots':!0x0});_0xbb8604=Array[_0x575219(0xf7)](_0x491a98)[_0x575219(0xdb)](_0x4bdf64=>_0x4bdf64[_0x575219(0xd2)]);}_0x1e8c4b[_0x575219(0xdc)][_0x575219(0x100)](_0x452988=>{const _0x187899=_0x575219;_0x3591c5[_0x187899(0xb6)](_0x452988[_0x187899(0xfc)](_0x4fd068),{'commandName':_0x97282d,'commandParams':[]},_0xbb8604,_0x97282d);});});}_0x3591c5[_0x5cd89d(0xc0)][_0x5cd89d(0x109)](_0x533ce7=>{const _0x247b01=_0x5cd89d;if(_0x247b01(0xff)!=_0x533ce7[_0x247b01(0xda)]&&_0x247b01(0xcf)!=_0x533ce7[_0x247b01(0xda)])return;const {data:_0x9d8a95}=_0x533ce7;return _0x9d8a95&&_0x247b01(0xbf)==_0x9d8a95[_0x247b01(0xee)]?{'type':_0x247b01(0x101),'content':_0x8f326b(_0x328784,_0x247b01(0xe2))}:void 0x0;}),_0x3591c5[_0x5cd89d(0xc0)][_0x5cd89d(0x109)](_0x1789ce=>{const _0x4a5165=_0x5cd89d;if(_0x4a5165(0xff)!=_0x1789ce[_0x4a5165(0xda)]&&_0x4a5165(0xcf)!=_0x1789ce[_0x4a5165(0xda)])return;const {data:_0x2b3745}=_0x1789ce;return _0x2b3745?_0x4a5165(0xe7)==_0x2b3745[_0x4a5165(0xee)]?{'type':_0x4a5165(0x101),'content':_0x8f326b(_0x328784,_0x4a5165(0x10e))}:_0x4a5165(0xb3)==_0x2b3745[_0x4a5165(0xee)]?{'type':_0x4a5165(0x101),'content':_0x8f326b(_0x328784,_0x4a5165(0x115))}:void 0x0:void 0x0;});const _0x26b6f8=_0x1b971c[_0x5cd89d(0xde)]();for(const _0x3543e4 of[_0x5cd89d(0x110),_0x5cd89d(0x112),_0x5cd89d(0xdf),_0x5cd89d(0xf6)])_0x3591c5[_0x5cd89d(0xe1)][_0x5cd89d(0xb9)](_0x5cd89d(0xff),_0x3543e4,_0x5cd89d(0xe4),_0x26b6f8);for(const _0x319825 of[_0x5cd89d(0xe7),_0x5cd89d(0xb3)])_0x3591c5[_0x5cd89d(0xe1)][_0x5cd89d(0xb9)](_0x5cd89d(0xff),_0x319825,_0x5cd89d(0xe4),_0x26b6f8);_0x3591c5[_0x5cd89d(0xe1)][_0x5cd89d(0xb9)](_0x5cd89d(0xff),_0x5cd89d(0xbf),_0x5cd89d(0xe4),_0x1b9e1d=>{const _0x3ccd02=_0x5cd89d;_0x1e8c4b[_0x3ccd02(0xdc)][_0x3ccd02(0x100)](_0x461363=>{const _0x3cd991=_0x3ccd02,_0x1f805c=Array[_0x3cd991(0xf7)](_0x3a5c03[_0x3cd991(0xfe)]())[_0x3cd991(0xdb)](_0x2832bf=>_0x1f90b9[_0x3cd991(0x106)](_0x2832bf));_0x461363[_0x3cd991(0xb7)](_0x1b9e1d),_0x1e8c4b[_0x3cd991(0x113)][_0x3cd991(0xed)](_0x3cd991(0xbf))[_0x3cd991(0xce)](),_0x1e8c4b[_0x3cd991(0xd7)](_0x3cd991(0xbf),{'forceDefaultExecution':!0x0});const _0x5b4aac=_0x1f805c[_0x3cd991(0xec)](_0x7b9856=>_0x3cd991(0xbc)!=_0x7b9856[_0x3cd991(0xd5)][_0x3cd991(0xbd)]);_0x5b4aac[_0x3cd991(0xdd)]>0x0&&_0x461363[_0x3cd991(0xb7)](_0x5b4aac);for(const _0x55be3c of _0x1f805c)_0x55be3c[_0x3cd991(0xe6)]();});});for(const _0x5da736 of[_0x5cd89d(0x110),_0x5cd89d(0xdf),_0x5cd89d(0xf6),_0x5cd89d(0x112)]){const _0x2e544f=_0x1e8c4b[_0x5cd89d(0x113)][_0x5cd89d(0xed)](_0x5da736);_0x2e544f['on'](_0x5cd89d(0xea),(_0x4ea3e1,_0x334c8f,_0x99a429)=>{const _0x309edc=_0x5cd89d;if(_0x99a429){const _0x36d37a=_0x1e8c4b[_0x309edc(0xdc)][_0x309edc(0xe0)][_0x309edc(0xf0)][_0x309edc(0xcc)]()[_0x309edc(0xef)]()[_0x309edc(0xd4)](_0x54aead=>_0x54aead['is'](_0x309edc(0x104),_0x309edc(0xb5)));this[_0x309edc(0xc3)](_0x2e544f[_0x309edc(0xfd)],_0x36d37a)||(_0x4ea3e1[_0x309edc(0xba)]=!0x1,_0x4ea3e1[_0x309edc(0xb4)]());}},{'priority':_0x5cd89d(0x108)});}}[_0x2e644d(0x10b)](){const _0x32d1ba=_0x2e644d,_0x2a2689=this[_0x32d1ba(0xd9)][_0x32d1ba(0x113)][_0x32d1ba(0xed)](_0x32d1ba(0xbf)),_0xb5b9cf=this[_0x32d1ba(0xd9)][_0x32d1ba(0xf3)][_0x32d1ba(0xed)](_0x32d1ba(0xc8));if(!_0x2a2689[_0x32d1ba(0x10f)])return!0x1;const _0x15a7ae=_0xb5b9cf[_0x32d1ba(0xd8)](this[_0x32d1ba(0xd9)][_0x32d1ba(0xdc)][_0x32d1ba(0xe0)][_0x32d1ba(0xf0)]);for(const _0x559563 of _0x15a7ae)for(const _0x236a71 of _0x15a7ae)if(_0x559563!=_0x236a71&&!this[_0x32d1ba(0xc3)](_0x559563,_0x236a71))return!0x1;return!0x0;}[_0x2e644d(0xc3)](_0x205ffd,_0x2680c3){const _0x2b0ac8=_0x2e644d,_0x5e6f45=this[_0x2b0ac8(0xd9)][_0x2b0ac8(0xf3)][_0x2b0ac8(0xed)](_0x2b0ac8(0x10d)),_0x4f8c28=this[_0x2b0ac8(0xd9)][_0x2b0ac8(0xdc)][_0x2b0ac8(0xfc)](_0x205ffd),_0x14a182=this[_0x2b0ac8(0xd9)][_0x2b0ac8(0xdc)][_0x2b0ac8(0xfc)](_0x2680c3),_0x142abd=new Set(),_0x4a55c1=new Set();for(const _0x57a126 of _0x5e6f45[_0x2b0ac8(0xc2)]())if((_0x2b0ac8(0xbb)==_0x57a126[_0x2b0ac8(0xda)]||_0x2b0ac8(0x114)==_0x57a126[_0x2b0ac8(0xda)]||_0x2b0ac8(0xbf)==_0x57a126[_0x2b0ac8(0x102)])&&_0x57a126[_0x2b0ac8(0xf1)]){for(const _0x2a0dde of _0x57a126[_0x2b0ac8(0xfe)]())_0x2a0dde[_0x2b0ac8(0x111)](_0x4f8c28,!0x0)&&_0x142abd[_0x2b0ac8(0xf5)](_0x57a126[_0x2b0ac8(0xda)]+':'+_0x57a126[_0x2b0ac8(0x10c)]['id']),_0x2a0dde[_0x2b0ac8(0x111)](_0x14a182,!0x0)&&_0x4a55c1[_0x2b0ac8(0xf5)](_0x57a126[_0x2b0ac8(0xda)]+':'+_0x57a126[_0x2b0ac8(0x10c)]['id']);}if(_0x142abd[_0x2b0ac8(0xf2)]!=_0x4a55c1[_0x2b0ac8(0xf2)])return!0x1;for(const _0xd952a of _0x142abd)if(!_0x4a55c1[_0x2b0ac8(0xe8)](_0xd952a))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37ab06=_0x22ae;(function(_0x566084,_0x16e88d){const _0xd83fee=_0x22ae,_0x7fa7fd=_0x566084();while(!![]){try{const _0x5e8a6=-parseInt(_0xd83fee(0x127))/0x1*(-parseInt(_0xd83fee(0x11e))/0x2)+parseInt(_0xd83fee(0x124))/0x3+-parseInt(_0xd83fee(0x12b))/0x4*(-parseInt(_0xd83fee(0x130))/0x5)+-parseInt(_0xd83fee(0x11f))/0x6*(parseInt(_0xd83fee(0x129))/0x7)+parseInt(_0xd83fee(0x11d))/0x8+-parseInt(_0xd83fee(0x120))/0x9+-parseInt(_0xd83fee(0x12d))/0xa;if(_0x5e8a6===_0x16e88d)break;else _0x7fa7fd['push'](_0x7fa7fd['shift']());}catch(_0x312bb2){_0x7fa7fd['push'](_0x7fa7fd['shift']());}}}(_0x77dd,0xe7d95));import{Plugin as _0x473242}from'ckeditor5/src/core.js';function _0x22ae(_0xc13ef2,_0x527663){const _0x77dd3d=_0x77dd();return _0x22ae=function(_0x22ae6f,_0x1fa604){_0x22ae6f=_0x22ae6f-0x11a;let _0x2ee44e=_0x77dd3d[_0x22ae6f];return _0x2ee44e;},_0x22ae(_0xc13ef2,_0x527663);}import{getTranslation as _0x19ae91}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x473242{[_0x37ab06(0x122)](){const _0x14c0fd=_0x37ab06,_0x234647=this[_0x14c0fd(0x123)];if(!_0x234647[_0x14c0fd(0x12c)][_0x14c0fd(0x126)](_0x14c0fd(0x12e)))return;_0x234647[_0x14c0fd(0x128)][_0x14c0fd(0x126)](_0x14c0fd(0x11a))[_0x14c0fd(0x125)](_0x14c0fd(0x12e));const _0x35b78d=_0x234647[_0x14c0fd(0x128)][_0x14c0fd(0x126)](_0x14c0fd(0x11a)),_0x3494f1=_0x234647[_0x14c0fd(0x11b)];_0x35b78d[_0x14c0fd(0x12f)][_0x14c0fd(0x12a)](_0x14c0fd(0x11c),_0x146d1b=>_0x19ae91(_0x3494f1,_0x14c0fd(0x121),_0x146d1b));}}function _0x77dd(){const _0x324a6a=['plugins','7aAjnXm','registerElementLabel','3532JZGqcL','commands','32025910sDDuee','insertTableOfContents','descriptionFactory','7795eetwBr','TrackChangesEditing','locale','tableOfContents','10089352TJyvTi','2tKviHg','803862HUOqjR','12236148jnKfEz','ELEMENT_TABLE_OF_CONTENTS','afterInit','editor','4067580JWcQfS','enableCommand','get','1652167eSKwNt'];_0x77dd=function(){return _0x324a6a;};return _0x77dd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2418(_0xad025,_0x32e028){const _0x2bc005=_0x2bc0();return _0x2418=function(_0x2418b7,_0x34e5ca){_0x2418b7=_0x2418b7-0x1ca;let _0x27dde0=_0x2bc005[_0x2418b7];return _0x27dde0;},_0x2418(_0xad025,_0x32e028);}const _0x4054e0=_0x2418;(function(_0x1e9dcf,_0x4e1a05){const _0x15e7c5=_0x2418,_0x57bc19=_0x1e9dcf();while(!![]){try{const _0x3454fe=parseInt(_0x15e7c5(0x1d4))/0x1*(-parseInt(_0x15e7c5(0x1ec))/0x2)+-parseInt(_0x15e7c5(0x20e))/0x3+parseInt(_0x15e7c5(0x216))/0x4*(-parseInt(_0x15e7c5(0x1d2))/0x5)+parseInt(_0x15e7c5(0x1fe))/0x6*(-parseInt(_0x15e7c5(0x1e3))/0x7)+-parseInt(_0x15e7c5(0x21a))/0x8*(parseInt(_0x15e7c5(0x1dd))/0x9)+-parseInt(_0x15e7c5(0x1cb))/0xa*(parseInt(_0x15e7c5(0x1e8))/0xb)+parseInt(_0x15e7c5(0x212))/0xc;if(_0x3454fe===_0x4e1a05)break;else _0x57bc19['push'](_0x57bc19['shift']());}catch(_0x125c83){_0x57bc19['push'](_0x57bc19['shift']());}}}(_0x2bc0,0xb86f3));import{Plugin as _0x2a8594}from'ckeditor5/src/core.js';import{getTranslation as _0x223292}from'../utils/common-translations.js';function _0x2bc0(){const _0x39d015=['batch','format','tableCellBorderStyle','nodeAfter','tableHeight','9lIzKtP','getSuggestions','TrackChangesEditing','isOfficialPlugin','has','registerCustomCallback','9230599trdRxx','_suggestionFactory','editor','formatBlock','getContainedElement','85668KPnbrO','registerDescriptionCallback','descriptionFactory','_handlePropertyChange','2arZhBQ','tableBorderWidth','tableWidth','tableCellHorizontalAlignment','locale','commandParams','markBlockFormat','setAttribute','document','start','tableCellBorderColor','subType','tableAlignment','afterInit','handleSuggestionDescription','enqueueChange','tableCellProperties','TableCellPropertiesEditing','6TNVtnb','join','removeAttribute','pluginName','tableBorderColor','*Format:*\x20change\x20table\x20properties','handleDiscardAction','tableCellBackgroundColor','tableProperties','getSuggestionCallback','tableCellPadding','enableCommand','data','model','tableCellWidth','TablePropertiesEditing','1023384reKcTG','getSelectionAffectedTableCells','getFirstPosition','tableCellVerticalAlignment','82893024CFRrXx','selection','accept','TableUtils','1652CAVqSO','findAncestor','tableBorderStyle','_getSuggestion','8788888yutFmo','get','TrackChangesTableProperties','1490rgexEf','plugins','tableBackgroundColor','change','*Format:*\x20change\x20table\x20cell\x20properties','discard','tableCellBorderWidth','10290xSciGG','table','1383547uwkdCQ','getAttribute','tableCellHeight','isPremiumPlugin'];_0x2bc0=function(){return _0x39d015;};return _0x2bc0();}export class TrackChangesTableProperties extends _0x2a8594{[_0x4054e0(0x206)];[_0x4054e0(0x1fc)];constructor(_0xafa019){const _0x63632c=_0x4054e0;super(_0xafa019),this[_0x63632c(0x206)]=[_0x63632c(0x202),_0x63632c(0x218),_0x63632c(0x1ed),_0x63632c(0x1f8),_0x63632c(0x1ee),_0x63632c(0x1dc),_0x63632c(0x1cd)],this[_0x63632c(0x1fc)]=[_0x63632c(0x1f6),_0x63632c(0x1da),_0x63632c(0x1d1),_0x63632c(0x208),_0x63632c(0x20c),_0x63632c(0x1d6),_0x63632c(0x205),_0x63632c(0x1ef),_0x63632c(0x211)];}static get[_0x4054e0(0x201)](){const _0x19567a=_0x4054e0;return _0x19567a(0x1ca);}static get[_0x4054e0(0x1e0)](){return!0x0;}static get[_0x4054e0(0x1d7)](){return!0x0;}[_0x4054e0(0x1f9)](){const _0x2ba2d5=_0x4054e0,_0x5002b8=this[_0x2ba2d5(0x1e5)][_0x2ba2d5(0x1cc)][_0x2ba2d5(0x21b)](_0x2ba2d5(0x1df));if(this[_0x2ba2d5(0x1e5)][_0x2ba2d5(0x1cc)][_0x2ba2d5(0x1e1)](_0x2ba2d5(0x20d))){for(const _0x35063f of this[_0x2ba2d5(0x206)])_0x5002b8[_0x2ba2d5(0x209)](_0x35063f,(_0x2823a7,_0x1c38a3)=>{const _0x74cfa1=_0x2ba2d5,_0x4d62fb=this[_0x74cfa1(0x1e5)][_0x74cfa1(0x20b)][_0x74cfa1(0x1f4)][_0x74cfa1(0x213)][_0x74cfa1(0x210)]()[_0x74cfa1(0x217)](_0x74cfa1(0x1d3));this[_0x74cfa1(0x1eb)](_0x35063f,[_0x4d62fb],this[_0x74cfa1(0x206)],_0x74cfa1(0x206),_0x2823a7,_0x1c38a3);});_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x206),_0x2ba2d5(0x214),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x207)](_0x2ba2d5(0x1e6),null,_0x2ba2d5(0x1d0))),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x206),_0x2ba2d5(0x1d0),(_0x27de67,_0x133a4c)=>this[_0x2ba2d5(0x204)](this[_0x2ba2d5(0x206)],_0x27de67,_0x133a4c)),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x206),_0x2ba2d5(0x1ff),()=>!0x1);}if(this[_0x2ba2d5(0x1e5)][_0x2ba2d5(0x1cc)][_0x2ba2d5(0x1e1)](_0x2ba2d5(0x1fd))){for(const _0x4154e2 of this[_0x2ba2d5(0x1fc)])_0x5002b8[_0x2ba2d5(0x209)](_0x4154e2,(_0x530e66,_0x3e575f)=>{const _0x5c19d1=_0x2ba2d5,_0x44b791=this[_0x5c19d1(0x1e5)][_0x5c19d1(0x1cc)][_0x5c19d1(0x21b)](_0x5c19d1(0x215))[_0x5c19d1(0x20f)](this[_0x5c19d1(0x1e5)][_0x5c19d1(0x20b)][_0x5c19d1(0x1f4)][_0x5c19d1(0x213)]);this[_0x5c19d1(0x1eb)](_0x4154e2,_0x44b791,this[_0x5c19d1(0x1fc)],_0x5c19d1(0x1fc),_0x530e66,_0x3e575f);});_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x1fc),_0x2ba2d5(0x214),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x207)](_0x2ba2d5(0x1e6),null,_0x2ba2d5(0x1d0))),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x1fc),_0x2ba2d5(0x1d0),(_0xca18af,_0x397862)=>this[_0x2ba2d5(0x204)](this[_0x2ba2d5(0x1fc)],_0xca18af,_0x397862)),_0x5002b8[_0x2ba2d5(0x1e4)][_0x2ba2d5(0x1e2)](_0x2ba2d5(0x1e6),_0x2ba2d5(0x1fc),_0x2ba2d5(0x1ff),()=>!0x1);}_0x5002b8[_0x2ba2d5(0x1ea)][_0x2ba2d5(0x1e9)](_0x285b31=>this[_0x2ba2d5(0x1fa)](_0x285b31));}[_0x4054e0(0x1eb)](_0x108eb9,_0x20a5eb,_0x31e2b3,_0x3969ad,_0x53e16e,_0x9723ab){const _0x29cbc5=_0x4054e0,_0x4cd743=this[_0x29cbc5(0x1e5)][_0x29cbc5(0x1cc)][_0x29cbc5(0x21b)](_0x29cbc5(0x1df));this[_0x29cbc5(0x1e5)][_0x29cbc5(0x20b)][_0x29cbc5(0x1fb)](_0x9723ab[_0x29cbc5(0x1d8)],()=>{const _0x35f5e0=_0x29cbc5;for(const _0x3e4002 of _0x20a5eb){if(this[_0x35f5e0(0x219)](_0x3e4002,_0x3969ad))_0x53e16e(_0x9723ab);else{const _0x4937c3={};for(const _0xc0a711 of _0x31e2b3){const _0xb509f0=_0x3e4002[_0x35f5e0(0x1d5)](_0xc0a711);void 0x0!==_0xb509f0&&(_0x4937c3[_0xc0a711]=_0xb509f0);}_0x53e16e(_0x9723ab),_0x4cd743[_0x35f5e0(0x1f2)](_0x3e4002,{'commandParams':[_0x4937c3]},[],_0x3969ad);}}});}[_0x4054e0(0x204)](_0x4dfa50,_0x375453,_0x3c2c6f){const _0x1f5bf1=_0x4054e0,_0x373131=_0x375453[0x0][_0x1f5bf1(0x1f5)][_0x1f5bf1(0x1db)],_0x551319=_0x3c2c6f[_0x1f5bf1(0x1f1)][0x0];this[_0x1f5bf1(0x1e5)][_0x1f5bf1(0x20b)][_0x1f5bf1(0x1ce)](_0x54cc87=>{const _0x5b5bc3=_0x1f5bf1;for(const _0x396048 of _0x4dfa50)void 0x0!==_0x551319[_0x396048]?_0x54cc87[_0x5b5bc3(0x1f3)](_0x396048,_0x551319[_0x396048],_0x373131):_0x54cc87[_0x5b5bc3(0x200)](_0x396048,_0x373131);});}[_0x4054e0(0x1fa)](_0x41b533){const _0x5671c9=_0x4054e0;if(_0x41b533[_0x5671c9(0x20a)])switch(_0x41b533[_0x5671c9(0x1f7)]){case _0x5671c9(0x206):return{'type':_0x5671c9(0x1d9),'content':_0x223292(this[_0x5671c9(0x1e5)][_0x5671c9(0x1f0)],_0x5671c9(0x203))};case _0x5671c9(0x1fc):return{'type':_0x5671c9(0x1d9),'content':_0x223292(this[_0x5671c9(0x1e5)][_0x5671c9(0x1f0)],_0x5671c9(0x1cf))};}}[_0x4054e0(0x219)](_0x9f9dcc,_0x43065f){const _0x21183b=_0x4054e0,_0x84ee2c=this[_0x21183b(0x1e5)][_0x21183b(0x1cc)][_0x21183b(0x21b)](_0x21183b(0x1df));for(const _0x4e5af9 of _0x84ee2c[_0x21183b(0x1de)]({'skipNotAttached':!0x0})){const _0x8760f0=_0x4e5af9[_0x21183b(0x1e7)]();if(_0x4e5af9[_0x21183b(0x1f7)]===_0x43065f&&_0x8760f0===_0x9f9dcc)return _0x4e5af9;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x253594=_0x510b;(function(_0x25c38f,_0x4f6505){const _0x2e8868=_0x510b,_0x2eb7dd=_0x25c38f();while(!![]){try{const _0x53d67a=parseInt(_0x2e8868(0x1ad))/0x1+parseInt(_0x2e8868(0x1aa))/0x2+parseInt(_0x2e8868(0x1b1))/0x3+-parseInt(_0x2e8868(0x1a8))/0x4*(-parseInt(_0x2e8868(0x1b5))/0x5)+parseInt(_0x2e8868(0x1b4))/0x6+-parseInt(_0x2e8868(0x1af))/0x7*(-parseInt(_0x2e8868(0x1b0))/0x8)+-parseInt(_0x2e8868(0x1ae))/0x9;if(_0x53d67a===_0x4f6505)break;else _0x2eb7dd['push'](_0x2eb7dd['shift']());}catch(_0x30301b){_0x2eb7dd['push'](_0x2eb7dd['shift']());}}}(_0x4431,0x6f791));function _0x510b(_0x20cf02,_0x1ab732){const _0x443152=_0x4431();return _0x510b=function(_0x510b9f,_0x3a0fae){_0x510b9f=_0x510b9f-0x1a4;let _0x2be48f=_0x443152[_0x510b9f];return _0x2be48f;},_0x510b(_0x20cf02,_0x1ab732);}import{Plugin as _0x26d15b}from'ckeditor5/src/core.js';function _0x4431(){const _0x3c21d4=['321338GrlEtf','has','enableCommand','767221HfWxRj','24685614hEhgBp','7BYSORM','5358448PVNpDW','2151654BSTgDZ','TrackChangesEditing','afterInit','3026214DHFQxD','950390eJKSdG','get','Template','plugins','editor','8nzJFwF','insertTemplate'];_0x4431=function(){return _0x3c21d4;};return _0x4431();}export class TrackChangesTemplate extends _0x26d15b{[_0x253594(0x1b3)](){const _0x203ab4=_0x253594,_0x6c6c8d=this[_0x203ab4(0x1a7)];_0x6c6c8d[_0x203ab4(0x1a6)][_0x203ab4(0x1ab)](_0x203ab4(0x1a5))&&_0x6c6c8d[_0x203ab4(0x1a6)][_0x203ab4(0x1a4)](_0x203ab4(0x1b2))[_0x203ab4(0x1ac)](_0x203ab4(0x1a9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d85(){const _0x5200a0=['createRange','9803fgbaaC','9440039gMqlpp','title-content','document','_splitMarkerName','suggestion','plugins','3310132aJEidY','Title','updateMarker','registerElementLabel','start','afterInit','2mLUeeN','differ','removeMarker','locale','element','ELEMENT_TITLE','isEqual','newRange','schema','registerPostFixer','12856sdIYdx','forward','2640CFXLgz','getNearestSelectionRange','isCollapsed','descriptionFactory','has','3879gsalDW','isTouching','10jzeuqM','model','from','getChangedMarkers','TrackChangesEditing','editor','12287tQyeMx','get','6DzqDHa','nodeBefore','end','38539740iyaZqg','4927668htvQgk'];_0x4d85=function(){return _0x5200a0;};return _0x4d85();}const _0xe3b10=_0xc9bb;(function(_0xc3dab7,_0x58883b){const _0x43474a=_0xc9bb,_0x5eb7db=_0xc3dab7();while(!![]){try{const _0x40661f=parseInt(_0x43474a(0xab))/0x1*(-parseInt(_0x43474a(0x8a))/0x2)+parseInt(_0x43474a(0xa9))/0x3+-parseInt(_0x43474a(0xb2))/0x4*(parseInt(_0x43474a(0x9d))/0x5)+-parseInt(_0x43474a(0xa5))/0x6*(parseInt(_0x43474a(0xac))/0x7)+parseInt(_0x43474a(0x94))/0x8*(-parseInt(_0x43474a(0x9b))/0x9)+parseInt(_0x43474a(0x96))/0xa*(-parseInt(_0x43474a(0xa3))/0xb)+parseInt(_0x43474a(0xa8))/0xc;if(_0x40661f===_0x58883b)break;else _0x5eb7db['push'](_0x5eb7db['shift']());}catch(_0xd05b43){_0x5eb7db['push'](_0x5eb7db['shift']());}}}(_0x4d85,0xd0502));import{Plugin as _0x33c71f}from'ckeditor5/src/core.js';import{getTranslation as _0x593889}from'../utils/common-translations.js';function _0xc9bb(_0x5bef1b,_0x3754b8){const _0x4d857e=_0x4d85();return _0xc9bb=function(_0xc9bbb8,_0x1b5371){_0xc9bbb8=_0xc9bbb8-0x88;let _0x239322=_0x4d857e[_0xc9bbb8];return _0x239322;},_0xc9bb(_0x5bef1b,_0x3754b8);}export class TrackChangesTitle extends _0x33c71f{[_0xe3b10(0x89)](){const _0x493d83=_0xe3b10,_0x21e1af=this[_0x493d83(0xa2)];if(!_0x21e1af[_0x493d83(0xb1)][_0x493d83(0x9a)](_0x493d83(0xb3)))return;const _0xec00fe=_0x21e1af[_0x493d83(0xb1)][_0x493d83(0xa4)](_0x493d83(0xa1));_0xec00fe[_0x493d83(0x99)][_0x493d83(0xb5)](_0x493d83(0xad),()=>_0x593889(_0x21e1af[_0x493d83(0x8d)],_0x493d83(0x8f))),_0x21e1af[_0x493d83(0x9e)][_0x493d83(0xae)][_0x493d83(0x93)](_0x5e21d8=>{const _0x3a35ab=_0x493d83;let _0x4cafa6=!0x1;const _0x460105=Array[_0x3a35ab(0x9f)](_0x21e1af[_0x3a35ab(0x9e)][_0x3a35ab(0xae)][_0x3a35ab(0x8b)][_0x3a35ab(0xa0)]());for(const {name:_0x1c4d55,data:_0x5116ca}of _0x460105){const {group:_0x2391cc}=_0xec00fe[_0x3a35ab(0xaf)](_0x1c4d55);if(_0x3a35ab(0xb0)!==_0x2391cc||!_0x5116ca[_0x3a35ab(0x91)])continue;const _0x27bfe9=_0x5116ca[_0x3a35ab(0x91)],_0x4c7dc6=_0x27bfe9[_0x3a35ab(0xa7)][_0x3a35ab(0xa6)];if(!_0x4c7dc6||!_0x4c7dc6['is'](_0x3a35ab(0x8e),_0x3a35ab(0xad)))continue;if(!_0x27bfe9[_0x3a35ab(0x88)][_0x3a35ab(0x9c)](_0x27bfe9[_0x3a35ab(0xa7)]))continue;const _0x13ba30=_0x21e1af[_0x3a35ab(0x9e)][_0x3a35ab(0x92)][_0x3a35ab(0x97)](_0x27bfe9[_0x3a35ab(0xa7)],_0x3a35ab(0x95));if(_0x13ba30&&_0x13ba30[_0x3a35ab(0x98)]){const _0x2236f4=_0x5e21d8[_0x3a35ab(0xaa)](_0x27bfe9[_0x3a35ab(0x88)],_0x13ba30[_0x3a35ab(0x88)]);_0x2236f4[_0x3a35ab(0x90)](_0x27bfe9)||(_0x5e21d8[_0x3a35ab(0xb4)](_0x1c4d55,{'range':_0x2236f4}),_0x4cafa6=!0x0);}_0x4cafa6||(_0x5e21d8[_0x3a35ab(0x8c)](_0x1c4d55),_0x4cafa6=!0x0);}return _0x4cafa6;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7f1bcc=_0x1236;function _0x1236(_0x2cdebe,_0x549da2){const _0x5be84f=_0x5be8();return _0x1236=function(_0x12369b,_0x20db6d){_0x12369b=_0x12369b-0xc0;let _0x4684da=_0x5be84f[_0x12369b];return _0x4684da;},_0x1236(_0x2cdebe,_0x549da2);}(function(_0xe327aa,_0x25e89f){const _0x25a4ad=_0x1236,_0x513a5a=_0xe327aa();while(!![]){try{const _0x3766d3=parseInt(_0x25a4ad(0xc2))/0x1+-parseInt(_0x25a4ad(0xcf))/0x2*(parseInt(_0x25a4ad(0xc6))/0x3)+parseInt(_0x25a4ad(0xc8))/0x4+parseInt(_0x25a4ad(0xc1))/0x5+-parseInt(_0x25a4ad(0xc4))/0x6+-parseInt(_0x25a4ad(0xce))/0x7+parseInt(_0x25a4ad(0xc9))/0x8;if(_0x3766d3===_0x25e89f)break;else _0x513a5a['push'](_0x513a5a['shift']());}catch(_0x3c40bd){_0x513a5a['push'](_0x513a5a['shift']());}}}(_0x5be8,0xd129f));import{Plugin as _0x3243d9}from'ckeditor5/src/core.js';function _0x5be8(){const _0x29b24d=['8038611scFqFl','1338lwudUy','UndoEditing','has','afterInit','6938230SkzmDQ','1440365iWacOk','get','5052408yDwbUs','undo','5280aOwrpW','enableCommand','1789392WePQgS','5994056hxDFxt','redo','TrackChangesEditing','plugins','editor'];_0x5be8=function(){return _0x29b24d;};return _0x5be8();}export class TrackChangesUndo extends _0x3243d9{[_0x7f1bcc(0xc0)](){const _0x1ac2ea=_0x7f1bcc,_0x1891d2=this[_0x1ac2ea(0xcd)],_0x2e44ed=_0x1891d2[_0x1ac2ea(0xcc)][_0x1ac2ea(0xc3)](_0x1ac2ea(0xcb));_0x1891d2[_0x1ac2ea(0xcc)][_0x1ac2ea(0xd1)](_0x1ac2ea(0xd0))&&(_0x2e44ed[_0x1ac2ea(0xc7)](_0x1ac2ea(0xc5)),_0x2e44ed[_0x1ac2ea(0xc7)](_0x1ac2ea(0xca)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x495efe=_0x8292;function _0x2c81(){const _0x182fba=['uploadcareImageEdit','format','UploadcareImageEdit','3750726TauWyV','564MbrhAb','uploadcare','enableDefaultAttributesIntegration','type','plugins','enableCommand','uploadcareImageReplace','525364hBQrks','Uploadcare','editor','6965qQiBuR','1532614QbQbfh','375412qKVtOT','attribute','TrackChangesEditing','uploadcareImageId','get','9IqlvTZ','registerDescriptionCallback','afterInit','2229246FYjVkp','registerBlockAttribute','descriptionFactory','key','has','1612552UqvDeC'];_0x2c81=function(){return _0x182fba;};return _0x2c81();}(function(_0x44e7fe,_0x3e1f83){const _0x327672=_0x8292,_0x47ae52=_0x44e7fe();while(!![]){try{const _0x2e8a54=-parseInt(_0x327672(0xbb))/0x1+-parseInt(_0x327672(0xbf))/0x2+parseInt(_0x327672(0xc8))/0x3+parseInt(_0x327672(0xc0))/0x4+parseInt(_0x327672(0xbe))/0x5*(parseInt(_0x327672(0xb4))/0x6)+parseInt(_0x327672(0xb3))/0x7+-parseInt(_0x327672(0xcd))/0x8*(-parseInt(_0x327672(0xc5))/0x9);if(_0x2e8a54===_0x3e1f83)break;else _0x47ae52['push'](_0x47ae52['shift']());}catch(_0x20bc6){_0x47ae52['push'](_0x47ae52['shift']());}}}(_0x2c81,0x64f99));import{Plugin as _0x2caffd}from'ckeditor5/src/core.js';function _0x8292(_0x5178a0,_0x5c8031){const _0x2c8164=_0x2c81();return _0x8292=function(_0x8292c0,_0x35147a){_0x8292c0=_0x8292c0-0xb2;let _0x3fe0e7=_0x2c8164[_0x8292c0];return _0x3fe0e7;},_0x8292(_0x5178a0,_0x5c8031);}export class TrackChangesUploadcare extends _0x2caffd{[_0x495efe(0xc7)](){const _0x77d10b=_0x495efe,_0x58e2ec=this[_0x77d10b(0xbd)],_0x58f2a6=_0x58e2ec[_0x77d10b(0xb8)][_0x77d10b(0xc4)](_0x77d10b(0xc2));_0x58e2ec[_0x77d10b(0xb8)][_0x77d10b(0xcc)](_0x77d10b(0xbc))&&(_0x58f2a6[_0x77d10b(0xb9)](_0x77d10b(0xb5)),_0x58e2ec[_0x77d10b(0xb8)][_0x77d10b(0xcc)](_0x77d10b(0xb2))&&(_0x58f2a6[_0x77d10b(0xb9)](_0x77d10b(0xce)),_0x58f2a6[_0x77d10b(0xb6)](_0x77d10b(0xba)),_0x58f2a6[_0x77d10b(0xc9)](_0x77d10b(0xc3)),_0x58f2a6[_0x77d10b(0xca)][_0x77d10b(0xc6)](_0x54b44b=>{const _0x579a79=_0x77d10b;if(_0x579a79(0xc1)!=_0x54b44b[_0x579a79(0xb7)])return;const {data:_0x394855}=_0x54b44b;return _0x394855&&_0x579a79(0xc3)==_0x394855[_0x579a79(0xcb)]?{'type':_0x579a79(0xcf),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a368d,_0x4e8cb7){const _0xbad4d6=_0x4637,_0x39fcc2=_0x2a368d();while(!![]){try{const _0x8bc2a5=parseInt(_0xbad4d6(0x1ba))/0x1+-parseInt(_0xbad4d6(0x1b0))/0x2+-parseInt(_0xbad4d6(0x1bd))/0x3*(parseInt(_0xbad4d6(0x1c3))/0x4)+-parseInt(_0xbad4d6(0x1b2))/0x5*(parseInt(_0xbad4d6(0x1cf))/0x6)+-parseInt(_0xbad4d6(0x1b9))/0x7*(-parseInt(_0xbad4d6(0x1ae))/0x8)+parseInt(_0xbad4d6(0x1bb))/0x9*(parseInt(_0xbad4d6(0x1c7))/0xa)+-parseInt(_0xbad4d6(0x1cb))/0xb;if(_0x8bc2a5===_0x4e8cb7)break;else _0x39fcc2['push'](_0x39fcc2['shift']());}catch(_0x4ef0fc){_0x39fcc2['push'](_0x39fcc2['shift']());}}}(_0x40f8,0xecdd5));export function getRangesWithAttribute(_0x5d600b,_0x4286e8,_0x42a777){const _0x3d7d2d=_0x4637,_0x4bbfaf=[];for(const _0x560431 of _0x4286e8[_0x3d7d2d(0x1b6)]())_0x560431[_0x3d7d2d(0x1d0)](_0x5d600b)&&_0x4bbfaf[_0x3d7d2d(0x1d3)](_0x42a777[_0x3d7d2d(0x1d4)](_0x560431));return _0x4bbfaf;}function _0x40f8(){const _0xa6d013=['previousPosition','2328073rbzGTQ','createUIElement','isBlock','activeMarkers','909474EiBsQm','hasAttribute','nextSibling','isAtEnd','push','createRangeOn','TrackChangesEditing','ck-suggestion-marker--active','_splitMarkerName','addHighlight','ck-suggestion-marker-','get','span','mapper','insert','type','addClass','toViewElement','toViewPosition','name','13424904cxAcwp','start','75854gqqsxY','markerRange','40nFgmxY','getCustomProperty','bindElementToMarker','plugins','getItems','getWalker','parent','7WLqccd','298629OqxyHj','45IHwTlB','writer','546984KySbQx','test','elementEnd','isLimit','consumable','isContent','4GNDOZD','includes','model','markerName','1275970gEUWZW','schema','item'];_0x40f8=function(){return _0xa6d013;};return _0x40f8();}function _0x4637(_0xae2d19,_0x2ca53f){const _0x40f8cf=_0x40f8();return _0x4637=function(_0x463739,_0x6044ba){_0x463739=_0x463739-0x1a1;let _0x1b0d13=_0x40f8cf[_0x463739];return _0x1b0d13;},_0x4637(_0xae2d19,_0x2ca53f);}export function downcastSplitMergeMarker(_0x2006a4,_0x464c6d,{showActiveMarker:_0x43934c=!0x0}={}){const _0x39f8d4=_0x4637,_0x42a91a=_0x2006a4[_0x39f8d4(0x1b5)][_0x39f8d4(0x1a5)](_0x39f8d4(0x1d5));return(_0x3968f7,_0x270828,_0x2afe56)=>{const _0x3ec8c0=_0x39f8d4;if(!_0x2afe56[_0x3ec8c0(0x1c1)][_0x3ec8c0(0x1be)](_0x270828[_0x3ec8c0(0x1b1)],_0x3968f7[_0x3ec8c0(0x1ad)]))return;const _0x45b96c=_0x270828[_0x3ec8c0(0x1b1)][_0x3ec8c0(0x1b7)](),_0x5e492e=_0x270828[_0x3ec8c0(0x1b1)][_0x3ec8c0(0x1af)],_0x2c5a00=_0x2006a4[_0x3ec8c0(0x1c5)][_0x3ec8c0(0x1c8)];let _0x5c639c=null,_0x31ce25=null,_0x34f306=!0x1,_0x148d6f=!0x1;for(const _0x27cf68 of _0x45b96c){const _0x1ae433=_0x27cf68[_0x3ec8c0(0x1c9)];_0x34f306=_0x34f306||_0x2c5a00[_0x3ec8c0(0x1c2)](_0x1ae433);const _0x37fbed=_0x2afe56[_0x3ec8c0(0x1a7)][_0x3ec8c0(0x1ab)](_0x1ae433);if(_0x37fbed&&_0x37fbed[_0x3ec8c0(0x1b3)](_0x3ec8c0(0x1a3)))return;_0x3ec8c0(0x1bf)==_0x27cf68[_0x3ec8c0(0x1a9)]&&(_0x2c5a00[_0x3ec8c0(0x1cd)](_0x1ae433)&&!_0x2c5a00[_0x3ec8c0(0x1c0)](_0x1ae433)&&(_0x1ae433[_0x3ec8c0(0x1d1)]||_0x5e492e[_0x3ec8c0(0x1d2)]?_0x5c639c&&_0x5c639c[_0x3ec8c0(0x1b8)]==_0x1ae433||(_0x5c639c=_0x1ae433,_0x5e451d(_0x27cf68[_0x3ec8c0(0x1ca)]),_0x148d6f=!0x0):_0x31ce25=_0x31ce25||_0x27cf68[_0x3ec8c0(0x1ca)]));}function _0x5e451d(_0x1d401a){const _0x5d606d=_0x3ec8c0,{id:_0x1facae,authorId:_0x284662}=_0x42a91a[_0x5d606d(0x1a2)](_0x270828[_0x5d606d(0x1c6)]),_0x10380b=_0x2afe56[_0x5d606d(0x1bc)][_0x5d606d(0x1cc)](_0x5d606d(0x1a6),{'class':_0x5d606d(0x1a4)+_0x464c6d,'data-suggestion':_0x1facae,'data-author-id':_0x284662}),_0x5b96ed=_0x2afe56[_0x5d606d(0x1a7)][_0x5d606d(0x1ac)](_0x1d401a);_0x43934c&&_0x42a91a[_0x5d606d(0x1ce)][_0x5d606d(0x1c4)](_0x270828[_0x5d606d(0x1c6)])&&_0x2afe56[_0x5d606d(0x1bc)][_0x5d606d(0x1aa)](_0x5d606d(0x1a1),_0x10380b),_0x2afe56[_0x5d606d(0x1bc)][_0x5d606d(0x1a8)](_0x5b96ed,_0x10380b),_0x2afe56[_0x5d606d(0x1a7)][_0x5d606d(0x1b4)](_0x10380b,_0x270828[_0x5d606d(0x1c6)]);}_0x34f306||_0x148d6f||!_0x31ce25||_0x5e451d(_0x31ce25);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4d5c71=_0x721a;(function(_0x25042a,_0x62a460){const _0x9d1513=_0x721a,_0x37b616=_0x25042a();while(!![]){try{const _0x464bed=-parseInt(_0x9d1513(0x16a))/0x1*(parseInt(_0x9d1513(0x16b))/0x2)+-parseInt(_0x9d1513(0x152))/0x3*(parseInt(_0x9d1513(0x154))/0x4)+-parseInt(_0x9d1513(0x15c))/0x5*(parseInt(_0x9d1513(0x17f))/0x6)+parseInt(_0x9d1513(0x182))/0x7+-parseInt(_0x9d1513(0x15a))/0x8*(-parseInt(_0x9d1513(0x150))/0x9)+parseInt(_0x9d1513(0x191))/0xa+-parseInt(_0x9d1513(0x18e))/0xb*(-parseInt(_0x9d1513(0x174))/0xc);if(_0x464bed===_0x62a460)break;else _0x37b616['push'](_0x37b616['shift']());}catch(_0x4de44a){_0x37b616['push'](_0x37b616['shift']());}}}(_0x5a6e,0x8562c));function _0x5a6e(){const _0x4f27a3=['hasComments','previous','size','add','reduce','onDiscard','2198999jSUtAl','onAttributesChange','isIntersectingWithRange','8845120HPeJRK','attributes','nodeAfter','_onAttributesChange','length','addMarker','end','next','substr','split','_markerNames','_onDiscard','commentThread','filter','setAttribute','getMarkers','map','_model','_onAccept','getMultiRangeId','27QOPfVF','getContainedElement','3UwuYGw','removeAttribute','1574908FKWtiO','addRange','creator','getFirstMarker','type','push','2749232FfOWZm','removeMarkers','957230xoINtU','getMarkerNames','from','set','discard','change','getRanges','authoredAt','data','onAccept','toJSON','delete','createdAt','get','70703vgynJf','28eOtoRR','getAllAdjacentSuggestions','getFirstRange','getItems','_isDataLoaded','decorate','head','isIntersecting','accept','12bxlFOa','_saved','author','start','isMultiRange','isExternal','isInContent','markers','addMarkerName','clear','removeMarker','24jNRKkL','nodeBefore','_originalSuggestionId','4062226aFMsyz','originalSuggestionId','suggestion:','subType','getRange','@external'];_0x5a6e=function(){return _0x4f27a3;};return _0x5a6e();}import{ModelElement as _0x223304}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x521e48,uid as _0x55f127}from'ckeditor5/src/utils.js';import{cloneDeep as _0x231a5d,isEqual as _0x2090fb,set as _0x447d54,unset as _0x2bf37c}from'es-toolkit/compat';function _0x721a(_0x39becf,_0x16f200){const _0x721a1=_0x5a6e();return _0x721a=function(_0xcb013f,_0x341868){_0xcb013f=_0xcb013f-0x148;let _0x594107=_0x721a1[_0xcb013f];return _0x594107;},_0x721a(_0x39becf,_0x16f200);}export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x521e48(){['id'];[_0x4d5c71(0x158)];[_0x4d5c71(0x185)];[_0x4d5c71(0x176)];[_0x4d5c71(0x156)];[_0x4d5c71(0x179)];[_0x4d5c71(0x164)];[_0x4d5c71(0x168)];[_0x4d5c71(0x181)];[_0x4d5c71(0x16f)]=!0x1;[_0x4d5c71(0x14d)];[_0x4d5c71(0x14e)];[_0x4d5c71(0x19c)];[_0x4d5c71(0x194)];[_0x4d5c71(0x19b)];constructor(_0x115fcb,_0x27514f){const _0x13d424=_0x4d5c71;super(),this['id']=_0x27514f['id'],this[_0x13d424(0x158)]=_0x27514f[_0x13d424(0x158)],this[_0x13d424(0x185)]=_0x27514f[_0x13d424(0x185)]||null,this[_0x13d424(0x176)]=_0x27514f[_0x13d424(0x176)],this[_0x13d424(0x156)]=_0x27514f[_0x13d424(0x156)]||_0x27514f[_0x13d424(0x176)],this[_0x13d424(0x179)]=Boolean(_0x27514f[_0x13d424(0x192)]&&_0x27514f[_0x13d424(0x192)][_0x13d424(0x187)]),this[_0x13d424(0x164)]=null,this[_0x13d424(0x181)]=_0x27514f[_0x13d424(0x183)]||null,this[_0x13d424(0x14d)]=_0x115fcb,this[_0x13d424(0x14e)]=_0x27514f[_0x13d424(0x165)],this[_0x13d424(0x19c)]=_0x27514f[_0x13d424(0x18d)],this[_0x13d424(0x194)]=_0x27514f[_0x13d424(0x18f)],this[_0x13d424(0x19b)]=new Set(),this[_0x13d424(0x168)]=null,this[_0x13d424(0x15f)](_0x13d424(0x163),null),this[_0x13d424(0x15f)](_0x13d424(0x192),_0x27514f[_0x13d424(0x192)]||{}),this[_0x13d424(0x15f)](_0x13d424(0x189),null),this[_0x13d424(0x15f)](_0x13d424(0x198),null),this[_0x13d424(0x15f)](_0x13d424(0x148),null),this[_0x13d424(0x15f)](_0x13d424(0x175),!0x1),this[_0x13d424(0x170)](_0x13d424(0x173)),this[_0x13d424(0x170)](_0x13d424(0x160));}get[_0x4d5c71(0x171)](){const _0x4cf968=_0x4d5c71;let _0x5b2e3f=this;for(;_0x5b2e3f[_0x4cf968(0x189)];)_0x5b2e3f=_0x5b2e3f[_0x4cf968(0x189)];return _0x5b2e3f;}get[_0x4d5c71(0x188)](){const _0x59b893=_0x4d5c71;return!!this[_0x59b893(0x148)]&&this[_0x59b893(0x148)][_0x59b893(0x195)]>0x0;}get[_0x4d5c71(0x178)](){const _0x50c225=_0x4d5c71;if(0x0==this[_0x50c225(0x19b)][_0x50c225(0x18a)])return!0x1;return 0x6==Array[_0x50c225(0x15e)](this[_0x50c225(0x19b)])[0x0][_0x50c225(0x19a)](':')[_0x50c225(0x195)];}get[_0x4d5c71(0x17a)](){const _0x516371=_0x4d5c71;return null!==this[_0x516371(0x157)]();}[_0x4d5c71(0x17c)](_0x5c5950){const _0x2cb315=_0x4d5c71;this[_0x2cb315(0x19b)][_0x2cb315(0x18b)](_0x5c5950);}[_0x4d5c71(0x15d)](){const _0x5f0995=_0x4d5c71;return Array[_0x5f0995(0x15e)](this[_0x5f0995(0x19b)]);}[_0x4d5c71(0x14b)](){const _0x1044e8=_0x4d5c71;return this[_0x1044e8(0x15d)]()[_0x1044e8(0x14c)](_0x3fc9f6=>this[_0x1044e8(0x14d)][_0x1044e8(0x17b)][_0x1044e8(0x169)](_0x3fc9f6))[_0x1044e8(0x149)](_0x54b316=>_0x54b316);}[_0x4d5c71(0x157)](){const _0x133ae1=_0x4d5c71;return this[_0x133ae1(0x14b)]()[0x0]||null;}[_0x4d5c71(0x15b)](){const _0x4baa83=_0x4d5c71;this[_0x4baa83(0x14d)][_0x4baa83(0x161)](_0x3654b9=>{const _0xc23509=_0x4baa83;for(const _0x5964f0 of this[_0xc23509(0x14b)]())_0x3654b9[_0xc23509(0x17e)](_0x5964f0);}),this[_0x4baa83(0x19b)][_0x4baa83(0x17d)]();}[_0x4d5c71(0x17e)](_0x34d983){const _0x14ada8=_0x4d5c71;this[_0x14ada8(0x14d)][_0x14ada8(0x161)](_0x366a1f=>{const _0x248af2=_0x14ada8;_0x366a1f[_0x248af2(0x17e)](_0x34d983);}),this[_0x14ada8(0x19b)][_0x14ada8(0x167)](_0x34d983);}[_0x4d5c71(0x155)](_0x3fba41){const _0x5817ca=_0x4d5c71,_0x450f84=_0x5817ca(0x184)+this[_0x5817ca(0x158)]+':'+this[_0x5817ca(0x185)]+':'+this['id']+':'+this[_0x5817ca(0x156)]['id']+':'+Suggestion[_0x5817ca(0x14f)]();this[_0x5817ca(0x17c)](_0x450f84),this[_0x5817ca(0x14d)][_0x5817ca(0x161)](_0x228dd7=>{const _0x3a3aa0=_0x5817ca;_0x228dd7[_0x3a3aa0(0x196)](_0x450f84,{'range':_0x3fba41,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4d5c71(0x190)](_0x29640a){const _0x50115f=_0x4d5c71;for(const _0x1f0fc7 of this[_0x50115f(0x162)]())if(_0x1f0fc7[_0x50115f(0x172)](_0x29640a))return!0x0;return!0x1;}[_0x4d5c71(0x162)](){const _0x4ca9e8=_0x4d5c71;return this[_0x4ca9e8(0x14b)]()[_0x4ca9e8(0x14c)](_0x2e94a0=>_0x2e94a0[_0x4ca9e8(0x186)]());}[_0x4d5c71(0x16e)](){const _0x2fe9d3=_0x4d5c71;return this[_0x2fe9d3(0x162)]()[_0x2fe9d3(0x18c)]((_0x4085e8,_0x25c66e)=>[..._0x4085e8,..._0x25c66e[_0x2fe9d3(0x16e)]()],[]);}[_0x4d5c71(0x16d)](){const _0x41d62f=_0x4d5c71;return this[_0x41d62f(0x157)]()?.[_0x41d62f(0x186)]()||null;}[_0x4d5c71(0x151)](){const _0xaf1c1e=_0x4d5c71,_0x5676ce=this[_0xaf1c1e(0x162)]();if(0x1!=_0x5676ce[_0xaf1c1e(0x195)])return null;const _0x5c66e8=_0x5676ce[0x0],_0x70565e=_0x5c66e8[_0xaf1c1e(0x177)][_0xaf1c1e(0x193)],_0x107e16=_0x5c66e8[_0xaf1c1e(0x197)][_0xaf1c1e(0x180)];return _0x70565e instanceof _0x223304?_0x70565e!=_0x107e16?null:_0x70565e:null;}[_0x4d5c71(0x173)](){const _0x5ed41d=_0x4d5c71;this[_0x5ed41d(0x14e)](this[_0x5ed41d(0x162)](),this[_0x5ed41d(0x164)],this[_0x5ed41d(0x192)]),this[_0x5ed41d(0x15b)]();}[_0x4d5c71(0x160)](){const _0x1fd292=_0x4d5c71;this[_0x1fd292(0x19c)](this[_0x1fd292(0x162)](),this[_0x1fd292(0x164)],this[_0x1fd292(0x192)]),this[_0x1fd292(0x15b)]();}[_0x4d5c71(0x16c)](){const _0x3caeb4=_0x4d5c71,_0x356fc9=[];let _0x56d12d=this[_0x3caeb4(0x171)];for(;_0x56d12d;)_0x356fc9[_0x3caeb4(0x159)](_0x56d12d),_0x56d12d=_0x56d12d[_0x3caeb4(0x198)];return _0x356fc9;}[_0x4d5c71(0x14a)](_0x4a1cd3,_0x1a08bb){const _0x1e157c=_0x4d5c71,_0x46ebb3=_0x231a5d(this[_0x1e157c(0x192)]);_0x447d54(_0x46ebb3,_0x4a1cd3,_0x1a08bb),_0x2090fb(_0x46ebb3,this[_0x1e157c(0x192)])||(this[_0x1e157c(0x192)]=_0x46ebb3,this[_0x1e157c(0x194)](_0x46ebb3));}[_0x4d5c71(0x153)](_0x12adac){const _0x4004e4=_0x4d5c71,_0x4b7481=_0x231a5d(this[_0x4004e4(0x192)]);_0x2bf37c(_0x4b7481,_0x12adac),_0x2090fb(_0x4b7481,this[_0x4004e4(0x192)])||(this[_0x4004e4(0x192)]=_0x4b7481,this[_0x4004e4(0x194)](this[_0x4004e4(0x192)]));}[_0x4d5c71(0x166)](){const _0xd7a9bc=_0x4d5c71;return{'id':this['id'],'type':this[_0xd7a9bc(0x185)]?this[_0xd7a9bc(0x158)]+':'+this[_0xd7a9bc(0x185)]:this[_0xd7a9bc(0x158)],'authorId':this[_0xd7a9bc(0x156)]['id'],'createdAt':this[_0xd7a9bc(0x168)],'hasComments':this[_0xd7a9bc(0x188)],'data':this[_0xd7a9bc(0x164)],'attributes':this[_0xd7a9bc(0x192)]};}static[_0x4d5c71(0x14f)](){const _0xf1650=_0x4d5c71;return _0x55f127()[_0xf1650(0x199)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x355dc1=_0xc782;(function(_0x3bf363,_0x5376b4){const _0x280d16=_0xc782,_0x5066b6=_0x3bf363();while(!![]){try{const _0x5cb3a6=parseInt(_0x280d16(0x206))/0x1*(-parseInt(_0x280d16(0x222))/0x2)+-parseInt(_0x280d16(0x229))/0x3*(parseInt(_0x280d16(0x1d4))/0x4)+-parseInt(_0x280d16(0x22a))/0x5*(-parseInt(_0x280d16(0x22d))/0x6)+parseInt(_0x280d16(0x1ff))/0x7*(-parseInt(_0x280d16(0x1f3))/0x8)+parseInt(_0x280d16(0x1fd))/0x9*(-parseInt(_0x280d16(0x207))/0xa)+-parseInt(_0x280d16(0x221))/0xb+parseInt(_0x280d16(0x22c))/0xc;if(_0x5cb3a6===_0x5376b4)break;else _0x5066b6['push'](_0x5066b6['shift']());}catch(_0x342469){_0x5066b6['push'](_0x5066b6['shift']());}}}(_0x3895,0xe09b9));import{getTranslation as _0xd75b31}from'./utils/common-translations.js';import{priorities as _0x143b2b,insertToPriorityArray as _0x433785}from'ckeditor5/src/utils.js';function _0xc782(_0x4321af,_0xa37059){const _0x389571=_0x3895();return _0xc782=function(_0xc78277,_0x380a0c){_0xc78277=_0xc78277-0x1ce;let _0x46cf64=_0x389571[_0xc78277];return _0x46cf64;},_0xc782(_0x4321af,_0xa37059);}import{renameAttributeKey as _0x4d7a26}from'./trackchangesediting.js';function _0x3895(){const _0x191a21=['1ZYgcxV','15847840ZROEtS','removeContainer','*Merge:*\x20%0','format','elementEnd','REPLACE_TEXT','_customCallbacks','Container','normal','addEmptyContainer','addContainer','getDescriptions','$text','removeFormat','data','key','*Remove:*\x20%0','element','push','get','_locale','*Change\x20to:*\x20%0','nodeAfter','*Set\x20format:*\x20%0','map','deletion','6733309asNHCI','2957218UJFHoG','*Split:*\x20%0','*Remove\x20format:*\x20%0','Object','quantity','_attributeLabels','$textProxy','384sKbhkW','1070BFuERb','text','72923136BlahQG','12618WkPOXq','_itemLabelsCallbacks','softBreak','join','nextSibling','_handleInsertRemoveSuggestionDescription','isInContent','replace','addObject','_schema','18128nHTwpb','ELEMENT_SPACE','remove','removeEmptyContainer','_handleAttributeSuggestionDescription','start','_itemLabels','previousSibling','elementStart','add','has','isObject','end','_handleCustomCallbackDescription','type','attribute','label','item','_handleRenameSuggestionDescription','checkChild','removeObject','isEqual','match','EmptyContainer','name','registerElementLabel','skip','insertion','*Insert:*\x20%0','registerDescriptionCallback','_resolveDescriptionItems','10810952XNkOYI','set','subType','getItemLabel','addFormat','pop','$1\x20$2','_addDescriptionItems','indexOf','matchingCallback','9embKya','getFirstRange','7eAgluj','isEmpty','newValue','getWalker','length','registerAttributeLabel','function'];_0x3895=function(){return _0x191a21;};return _0x3895();}export class SuggestionDescriptionFactory{[_0x355dc1(0x20d)];[_0x355dc1(0x1da)];[_0x355dc1(0x22e)];[_0x355dc1(0x227)];[_0x355dc1(0x1d3)];[_0x355dc1(0x21b)];constructor(_0x37c2e7,_0x4944ff){const _0x33f677=_0x355dc1;this[_0x33f677(0x20d)]=[],this[_0x33f677(0x1da)]=new Map(),this[_0x33f677(0x22e)]=[],this[_0x33f677(0x227)]=new Map(),this[_0x33f677(0x1d3)]=_0x37c2e7,this[_0x33f677(0x21b)]=_0x4944ff;}[_0x355dc1(0x212)](_0x3edf00){const _0x207058=_0x355dc1,_0xf3e611=[],_0x210ab9=new Set(),_0x9e9d2=new Set();for(let _0x1b00e6=0x0;_0x1b00e6<_0x3edf00[_0x207058(0x203)];_0x1b00e6++){const _0x2621af=_0x3edf00[_0x1b00e6];if(!_0x2621af[_0x207058(0x1d0)])continue;const _0x36247d=this[_0x207058(0x1e1)](_0x2621af);if(_0x36247d){if(null!=_0x2621af[_0x207058(0x1f5)]){if(_0x210ab9[_0x207058(0x1de)](_0x2621af[_0x207058(0x1f5)]))continue;_0x210ab9[_0x207058(0x1dd)](_0x2621af[_0x207058(0x1f5)]);}_0xf3e611[_0x207058(0x219)](_0x36247d);}else{if(_0x207058(0x1e3)==_0x2621af[_0x207058(0x1e2)]){const _0x52cfe2=_0x2621af[_0x207058(0x215)][_0x207058(0x216)];if(_0x9e9d2[_0x207058(0x1de)](_0x52cfe2))continue;_0x9e9d2[_0x207058(0x1dd)](_0x2621af[_0x207058(0x215)][_0x207058(0x216)]),_0x52cfe2==_0x4d7a26?this[_0x207058(0x1e6)](_0xf3e611,_0x2621af):this[_0x207058(0x1d8)](_0xf3e611,_0x2621af);continue;}_0x207058(0x1ef)!=_0x2621af[_0x207058(0x1e2)]&&_0x207058(0x220)!=_0x2621af[_0x207058(0x1e2)]||this[_0x207058(0x1cf)](_0xf3e611,_0x2621af,_0x3edf00[_0x1b00e6+0x1]);}}return this[_0x207058(0x1f2)](_0xf3e611);}[_0x355dc1(0x1f1)](_0x19afed){const _0x4be6ca=_0x355dc1;this[_0x4be6ca(0x20d)][_0x4be6ca(0x219)](_0x19afed);}[_0x355dc1(0x1ed)](_0x25d4a0,_0x3700ac,_0x697717=_0x143b2b[_0x355dc1(0x20f)]){const _0x3cea91=_0x355dc1;_0x3cea91(0x205)==typeof _0x25d4a0?_0x433785(this[_0x3cea91(0x22e)],{'matchingCallback':_0x25d4a0,'label':_0x3700ac,'priority':_0x697717}):this[_0x3cea91(0x1da)][_0x3cea91(0x1f4)](_0x25d4a0,_0x3700ac);}[_0x355dc1(0x204)](_0x477986,_0x1a7f1e){const _0x5081b5=_0x355dc1;this[_0x5081b5(0x227)][_0x5081b5(0x1f4)](_0x477986,_0x1a7f1e);}[_0x355dc1(0x1f6)](_0x564f04,_0x2967d7=0x1){const _0x96c7bd=_0x355dc1;let _0x48e04f;for(const _0x435826 of this[_0x96c7bd(0x22e)])if(_0x435826[_0x96c7bd(0x1fc)](_0x564f04)){_0x48e04f=_0x435826[_0x96c7bd(0x1e4)];break;}return _0x48e04f||(_0x48e04f=this[_0x96c7bd(0x1da)][_0x96c7bd(0x21a)](_0x564f04[_0x96c7bd(0x1ec)])),_0x48e04f?_0x48e04f(_0x2967d7):0x1!==_0x2967d7?_0x2967d7+'\x20'+_0x564f04[_0x96c7bd(0x1ec)]+'s':''+_0x564f04[_0x96c7bd(0x1ec)];}[_0x355dc1(0x1fa)](_0x5b4f54,_0x3647e3){const _0x3c8ece=_0x355dc1,_0x2c5109=_0x3647e3[_0x3c8ece(0x1fe)]()[_0x3c8ece(0x202)](),_0x50ffb7=_0x3c8ece(0x1ef)==_0x3647e3[_0x3c8ece(0x1e2)]?_0x3c8ece(0x1dd):_0x3c8ece(0x1d6);for(const _0x2f4124 of _0x2c5109){const _0xc97676=_0x2f4124[_0x3c8ece(0x1e5)],_0x393fed=_0x5b4f54[_0x5b4f54[_0x3c8ece(0x203)]-0x1];if(_0xc97676['is'](_0x3c8ece(0x228)))_0x393fed&&_0x393fed[_0x3c8ece(0x1e2)][_0x3c8ece(0x1fb)](_0x3c8ece(0x20e))>-0x1&&_0x5b4f54[_0x3c8ece(0x1f8)](),_0x393fed&&_0x3c8ece(0x22b)==_0x393fed[_0x3c8ece(0x1e2)]?_0x393fed[_0x50ffb7]+=_0xc97676[_0x3c8ece(0x215)]:_0x5b4f54[_0x3c8ece(0x219)]({'type':_0x3c8ece(0x22b),'add':_0x3c8ece(0x1dd)==_0x50ffb7?_0xc97676[_0x3c8ece(0x215)]:'','remove':_0x3c8ece(0x1d6)==_0x50ffb7?_0xc97676[_0x3c8ece(0x215)]:''});else{if(this[_0x3c8ece(0x1d3)][_0x3c8ece(0x1df)](_0xc97676)){const _0x290207=_0xc97676;if(_0x393fed&&_0x393fed[_0x3c8ece(0x1e2)][_0x3c8ece(0x1fb)](_0x3c8ece(0x20e))>-0x1&&_0x5b4f54[_0x3c8ece(0x1f8)](),_0x3c8ece(0x20b)==_0x2f4124[_0x3c8ece(0x1e2)])continue;_0x393fed&&_0x393fed[_0x3c8ece(0x1e2)]==_0x50ffb7+_0x3c8ece(0x225)&&_0x393fed[_0x3c8ece(0x218)][_0x3c8ece(0x1ec)]==_0x290207[_0x3c8ece(0x1ec)]?_0x393fed[_0x3c8ece(0x226)]++:_0x5b4f54[_0x3c8ece(0x219)]({'type':_0x50ffb7+_0x3c8ece(0x225),'element':_0x290207,'quantity':0x1}),_0x2c5109[_0x3c8ece(0x1ee)](_0x4452f6=>!(_0x3c8ece(0x20b)==_0x4452f6[_0x3c8ece(0x1e2)]&&_0x4452f6[_0x3c8ece(0x1e5)]==_0xc97676));}else{if(this[_0x3c8ece(0x1d3)][_0x3c8ece(0x1e7)](_0xc97676,_0x3c8ece(0x213))||_0xc97676['is'](_0x3c8ece(0x218),_0x3c8ece(0x22f))){const _0x24ea54=_0xc97676;if(_0x3c8ece(0x1dd)==_0x50ffb7&&_0x3c8ece(0x1dc)==_0x2f4124[_0x3c8ece(0x1e2)]||_0x3c8ece(0x1d6)==_0x50ffb7&&_0x3c8ece(0x20b)==_0x2f4124[_0x3c8ece(0x1e2)])continue;if(_0x393fed&&-0x1==_0x393fed[_0x3c8ece(0x1e2)][_0x3c8ece(0x1fb)](_0x3c8ece(0x20e))){_0x3c8ece(0x22b)==_0x393fed[_0x3c8ece(0x1e2)]&&(_0x393fed[_0x50ffb7]+='\x0a');continue;}let _0x466bce;if(_0x466bce=_0x3c8ece(0x1dd)==_0x50ffb7?_0x24ea54[_0x3c8ece(0x1ce)]&&!this[_0x3c8ece(0x1d3)][_0x3c8ece(0x1df)](_0x24ea54[_0x3c8ece(0x1ce)])?_0x24ea54[_0x3c8ece(0x1ce)]:null:_0x24ea54[_0x3c8ece(0x1db)]&&!this[_0x3c8ece(0x1d3)][_0x3c8ece(0x1df)](_0x24ea54[_0x3c8ece(0x1db)])?_0x24ea54[_0x3c8ece(0x1db)]:null,_0x24ea54[_0x3c8ece(0x200)]||_0x466bce&&_0x466bce[_0x3c8ece(0x200)]){const _0x192f91=_0x466bce&&_0x466bce[_0x3c8ece(0x200)]?_0x466bce:_0x24ea54;_0x393fed&&_0x393fed[_0x3c8ece(0x1e2)]==_0x50ffb7+_0x3c8ece(0x1eb)&&_0x393fed[_0x3c8ece(0x218)][_0x3c8ece(0x1ec)]==_0x192f91[_0x3c8ece(0x1ec)]?_0x393fed[_0x3c8ece(0x226)]++:_0x5b4f54[_0x3c8ece(0x219)]({'type':_0x50ffb7+_0x3c8ece(0x1eb),'element':_0x192f91,'quantity':0x1});}else _0x5b4f54[_0x3c8ece(0x219)]({'type':_0x50ffb7+_0x3c8ece(0x20e),'element':_0x24ea54});}}}}}[_0x355dc1(0x1f2)](_0x367d4b){const _0x3ba0c5=_0x355dc1,_0x512527=this[_0x3ba0c5(0x21b)],_0x4f712b=[],_0x5e0270=[],_0x58e30b=[];for(const _0x3523d2 of _0x367d4b)switch(_0x3523d2[_0x3ba0c5(0x1e2)]){case _0x3ba0c5(0x22b):if(_0x3523d2[_0x3ba0c5(0x1dd)]=_0x3523d2[_0x3ba0c5(0x1dd)][_0x3ba0c5(0x1d1)](/(\S)\u000A+(\S)/g,_0x3ba0c5(0x1f9))[_0x3ba0c5(0x1d1)](/\u000A/g,''),_0x3523d2[_0x3ba0c5(0x1d6)]=_0x3523d2[_0x3ba0c5(0x1d6)][_0x3ba0c5(0x1d1)](/(\S)\u000A+(\S)/g,_0x3ba0c5(0x1f9))[_0x3ba0c5(0x1d1)](/\u000A/g,''),''!=_0x3523d2[_0x3ba0c5(0x1dd)]&&''!=_0x3523d2[_0x3ba0c5(0x1d6)]){_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x1d1),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x20c),['\x22'+_0x3523d2[_0x3ba0c5(0x1d6)]+'\x22','\x22'+_0x3523d2[_0x3ba0c5(0x1dd)]+'\x22'])});continue;}if(null!=_0x3523d2[_0x3ba0c5(0x1dd)][_0x3ba0c5(0x1ea)](/^ +$/)){_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x1ef),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x1f0),_0xd75b31(_0x512527,_0x3ba0c5(0x1d5),_0x3523d2[_0x3ba0c5(0x1dd)][_0x3ba0c5(0x203)]))});continue;}if(null!=_0x3523d2[_0x3ba0c5(0x1d6)][_0x3ba0c5(0x1ea)](/^ +$/)){_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x220),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x217),_0xd75b31(_0x512527,_0x3ba0c5(0x1d5),_0x3523d2[_0x3ba0c5(0x1d6)][_0x3ba0c5(0x203)]))});continue;}if(''!=_0x3523d2[_0x3ba0c5(0x1dd)]){_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x1ef),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x1f0),'\x22'+_0x3523d2[_0x3ba0c5(0x1dd)]+'\x22')});continue;}_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x220),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x217),'\x22'+_0x3523d2[_0x3ba0c5(0x1d6)]+'\x22')});continue;case _0x3ba0c5(0x210):case _0x3ba0c5(0x1d2):_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x1ef),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x1f0),this[_0x3ba0c5(0x1f6)](_0x3523d2[_0x3ba0c5(0x218)],_0x3523d2[_0x3ba0c5(0x226)]))});continue;case _0x3ba0c5(0x1d7):case _0x3ba0c5(0x1e8):_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x220),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x217),this[_0x3ba0c5(0x1f6)](_0x3523d2[_0x3ba0c5(0x218)],_0x3523d2[_0x3ba0c5(0x226)]))});continue;case _0x3ba0c5(0x211):_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x1ef),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x223),this[_0x3ba0c5(0x1f6)](_0x3523d2[_0x3ba0c5(0x218)],_0x3523d2[_0x3ba0c5(0x226)]))});continue;case _0x3ba0c5(0x208):_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x220),'content':_0xd75b31(_0x512527,_0x3ba0c5(0x209),this[_0x3ba0c5(0x1f6)](_0x3523d2[_0x3ba0c5(0x218)],_0x3523d2[_0x3ba0c5(0x226)]))});continue;case _0x3ba0c5(0x1f7):_0x5e0270[_0x3ba0c5(0x219)](_0x3523d2[_0x3ba0c5(0x216)]);continue;case _0x3ba0c5(0x214):_0x58e30b[_0x3ba0c5(0x219)](_0x3523d2[_0x3ba0c5(0x216)]);continue;default:_0x4f712b[_0x3ba0c5(0x219)](_0x3523d2);}if(_0x5e0270[_0x3ba0c5(0x203)]){const _0x5a671e=_0x5e0270[_0x3ba0c5(0x21f)](_0x5347ec=>this[_0x3ba0c5(0x227)][_0x3ba0c5(0x1de)](_0x5347ec)?this[_0x3ba0c5(0x227)][_0x3ba0c5(0x21a)](_0x5347ec):_0x5347ec)[_0x3ba0c5(0x230)](',\x20');_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x20a),'content':_0xd75b31(this[_0x3ba0c5(0x21b)],_0x3ba0c5(0x21e),_0x5a671e)});}if(_0x58e30b[_0x3ba0c5(0x203)]){const _0x3b5b52=_0x58e30b[_0x3ba0c5(0x21f)](_0x11f19d=>this[_0x3ba0c5(0x227)][_0x3ba0c5(0x1de)](_0x11f19d)?this[_0x3ba0c5(0x227)][_0x3ba0c5(0x21a)](_0x11f19d):_0x11f19d)[_0x3ba0c5(0x230)](',\x20');_0x4f712b[_0x3ba0c5(0x219)]({'type':_0x3ba0c5(0x20a),'content':_0xd75b31(this[_0x3ba0c5(0x21b)],_0x3ba0c5(0x224),_0x3b5b52)});}return _0x4f712b;}[_0x355dc1(0x1e1)](_0x2c1c2b){const _0x1068bf=_0x355dc1;for(const _0x5b00c5 of this[_0x1068bf(0x20d)]){const _0x6c8741=_0x5b00c5(_0x2c1c2b);if(_0x6c8741&&_0x1068bf(0x1e2)in _0x6c8741)return _0x6c8741;}}[_0x355dc1(0x1d8)](_0x51ce41,_0x50d7b7){const _0x3bf2d6=_0x355dc1,_0x31211b=_0x50d7b7[_0x3bf2d6(0x215)],_0x335279=void 0x0===_0x31211b[_0x3bf2d6(0x201)]?_0x3bf2d6(0x214):_0x3bf2d6(0x1f7);_0x51ce41[_0x3bf2d6(0x219)]({'type':_0x335279,'key':_0x31211b[_0x3bf2d6(0x216)]});}[_0x355dc1(0x1e6)](_0x37933a,_0x252a53){const _0x333115=_0x355dc1;_0x37933a[_0x333115(0x219)]({'type':_0x333115(0x20a),'content':_0xd75b31(this[_0x333115(0x21b)],_0x333115(0x21c),this[_0x333115(0x1f6)](_0x252a53[_0x333115(0x1fe)]()[_0x333115(0x1d9)][_0x333115(0x21d)],0x1))});}[_0x355dc1(0x1cf)](_0x55bd46,_0x321d35,_0x45b861){const _0x59d3e3=_0x355dc1;if(this[_0x59d3e3(0x1fa)](_0x55bd46,_0x321d35),_0x45b861&&_0x45b861[_0x59d3e3(0x1fe)]()&&!_0x321d35[_0x59d3e3(0x1fe)]()[_0x59d3e3(0x1e0)][_0x59d3e3(0x1e9)](_0x45b861[_0x59d3e3(0x1fe)]()[_0x59d3e3(0x1d9)])){const _0xb186c0=_0x55bd46[_0x55bd46[_0x59d3e3(0x203)]-0x1],_0x1326d0=_0x59d3e3(0x1ef)==_0x321d35[_0x59d3e3(0x1e2)]?_0x59d3e3(0x1dd):_0x59d3e3(0x1d6);_0xb186c0&&_0x59d3e3(0x22b)==_0xb186c0[_0x59d3e3(0x1e2)]&&(_0xb186c0[_0x1326d0]+='\x0a');}}}
|
|
23
|
+
function _0x4087(_0x4268a4,_0xc525b3){const _0x447934=_0x4479();return _0x4087=function(_0x4087e2,_0x1bdf1e){_0x4087e2=_0x4087e2-0xc9;let _0xdddeab=_0x447934[_0x4087e2];return _0xdddeab;},_0x4087(_0x4268a4,_0xc525b3);}const _0x564da8=_0x4087;(function(_0x39a635,_0x48073c){const _0x304804=_0x4087,_0x44a41c=_0x39a635();while(!![]){try{const _0x18fda3=parseInt(_0x304804(0xe3))/0x1+parseInt(_0x304804(0x118))/0x2+parseInt(_0x304804(0xd5))/0x3*(-parseInt(_0x304804(0xdd))/0x4)+-parseInt(_0x304804(0xf4))/0x5+-parseInt(_0x304804(0x124))/0x6+-parseInt(_0x304804(0x108))/0x7+parseInt(_0x304804(0xfb))/0x8;if(_0x18fda3===_0x48073c)break;else _0x44a41c['push'](_0x44a41c['shift']());}catch(_0x201005){_0x44a41c['push'](_0x44a41c['shift']());}}}(_0x4479,0x6a199));import{getTranslation as _0x40fe7c}from'./utils/common-translations.js';function _0x4479(){const _0x3cec15=['12660224iwaAej','deletion','text','get','nodeAfter','_handleCustomCallbackDescription','skip','name','*Merge:*\x20%0','item','ELEMENT_SPACE','set','replace','364217wrPsIX','_itemLabels','softBreak','length','end','map','$1\x20$2','Object','start','removeEmptyContainer','$text','normal','pop','*Remove:*\x20%0','_itemLabelsCallbacks','registerDescriptionCallback','608670sRPkmk','registerAttributeLabel','getWalker','REPLACE_TEXT','match','insertion','*Change\x20to:*\x20%0','newValue','*Remove\x20format:*\x20%0','_handleRenameSuggestionDescription','*Split:*\x20%0','element','337572kdkQdQ','previousSibling','_locale','elementStart','registerElementLabel','key','removeContainer','isEmpty','indexOf','isEqual','addFormat','isInContent','*Set\x20format:*\x20%0','Container','$textProxy','addObject','681mnlwFL','EmptyContainer','isObject','removeObject','checkChild','removeFormat','quantity','getDescriptions','11916DmAEcK','matchingCallback','join','label','addContainer','getItemLabel','49873mQMoSL','elementEnd','_attributeLabels','_addDescriptionItems','_resolveDescriptionItems','has','type','function','remove','format','data','nextSibling','_handleInsertRemoveSuggestionDescription','*Insert:*\x20%0','add','_handleAttributeSuggestionDescription','attribute','3588125OTEuov','_schema','_customCallbacks','push','getFirstRange','subType','addEmptyContainer'];_0x4479=function(){return _0x3cec15;};return _0x4479();}import{priorities as _0x41b767,insertToPriorityArray as _0x3f7e2f}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x70aeb0}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x564da8(0xf6)];[_0x564da8(0x109)];[_0x564da8(0x116)];[_0x564da8(0xe5)];[_0x564da8(0xf5)];[_0x564da8(0x126)];constructor(_0x5acce2,_0xab4cea){const _0xcff881=_0x564da8;this[_0xcff881(0xf6)]=[],this[_0xcff881(0x109)]=new Map(),this[_0xcff881(0x116)]=[],this[_0xcff881(0xe5)]=new Map(),this[_0xcff881(0xf5)]=_0x5acce2,this[_0xcff881(0x126)]=_0xab4cea;}[_0x564da8(0xdc)](_0x1995e5){const _0x1bf234=_0x564da8,_0x434c2d=[],_0x284458=new Set(),_0xcaa862=new Set();for(let _0x4076a9=0x0;_0x4076a9<_0x1995e5[_0x1bf234(0x10b)];_0x4076a9++){const _0x13fdda=_0x1995e5[_0x4076a9];if(!_0x13fdda[_0x1bf234(0xd0)])continue;const _0x2f7cc8=this[_0x1bf234(0x100)](_0x13fdda);if(_0x2f7cc8){if(null!=_0x13fdda[_0x1bf234(0xf9)]){if(_0x284458[_0x1bf234(0xe8)](_0x13fdda[_0x1bf234(0xf9)]))continue;_0x284458[_0x1bf234(0xf1)](_0x13fdda[_0x1bf234(0xf9)]);}_0x434c2d[_0x1bf234(0xf7)](_0x2f7cc8);}else{if(_0x1bf234(0xf3)==_0x13fdda[_0x1bf234(0xe9)]){const _0x3ad29d=_0x13fdda[_0x1bf234(0xed)][_0x1bf234(0xca)];if(_0xcaa862[_0x1bf234(0xe8)](_0x3ad29d))continue;_0xcaa862[_0x1bf234(0xf1)](_0x13fdda[_0x1bf234(0xed)][_0x1bf234(0xca)]),_0x3ad29d==_0x70aeb0?this[_0x1bf234(0x121)](_0x434c2d,_0x13fdda):this[_0x1bf234(0xf2)](_0x434c2d,_0x13fdda);continue;}_0x1bf234(0x11d)!=_0x13fdda[_0x1bf234(0xe9)]&&_0x1bf234(0xfc)!=_0x13fdda[_0x1bf234(0xe9)]||this[_0x1bf234(0xef)](_0x434c2d,_0x13fdda,_0x1995e5[_0x4076a9+0x1]);}}return this[_0x1bf234(0xe7)](_0x434c2d);}[_0x564da8(0x117)](_0x5949f4){const _0x272d09=_0x564da8;this[_0x272d09(0xf6)][_0x272d09(0xf7)](_0x5949f4);}[_0x564da8(0xc9)](_0x4a925b,_0x25f4ae,_0x13c514=_0x41b767[_0x564da8(0x113)]){const _0xc3895=_0x564da8;_0xc3895(0xea)==typeof _0x4a925b?_0x3f7e2f(this[_0xc3895(0x116)],{'matchingCallback':_0x4a925b,'label':_0x25f4ae,'priority':_0x13c514}):this[_0xc3895(0x109)][_0xc3895(0x106)](_0x4a925b,_0x25f4ae);}[_0x564da8(0x119)](_0x49c16e,_0x595898){const _0x22f615=_0x564da8;this[_0x22f615(0xe5)][_0x22f615(0x106)](_0x49c16e,_0x595898);}[_0x564da8(0xe2)](_0x46feae,_0x23ca92=0x1){const _0x1a511c=_0x564da8;let _0xeb9450;for(const _0x1c0a2a of this[_0x1a511c(0x116)])if(_0x1c0a2a[_0x1a511c(0xde)](_0x46feae)){_0xeb9450=_0x1c0a2a[_0x1a511c(0xe0)];break;}return _0xeb9450||(_0xeb9450=this[_0x1a511c(0x109)][_0x1a511c(0xfe)](_0x46feae[_0x1a511c(0x102)])),_0xeb9450?_0xeb9450(_0x23ca92):0x1!==_0x23ca92?_0x23ca92+'\x20'+_0x46feae[_0x1a511c(0x102)]+'s':''+_0x46feae[_0x1a511c(0x102)];}[_0x564da8(0xe6)](_0x189ff6,_0x8e20fc){const _0x18bbc7=_0x564da8,_0x548810=_0x8e20fc[_0x18bbc7(0xf8)]()[_0x18bbc7(0x11a)](),_0x102045=_0x18bbc7(0x11d)==_0x8e20fc[_0x18bbc7(0xe9)]?_0x18bbc7(0xf1):_0x18bbc7(0xeb);for(const _0x10dd96 of _0x548810){const _0x104903=_0x10dd96[_0x18bbc7(0x104)],_0x1110bf=_0x189ff6[_0x189ff6[_0x18bbc7(0x10b)]-0x1];if(_0x104903['is'](_0x18bbc7(0xd3)))_0x1110bf&&_0x1110bf[_0x18bbc7(0xe9)][_0x18bbc7(0xcd)](_0x18bbc7(0xd2))>-0x1&&_0x189ff6[_0x18bbc7(0x114)](),_0x1110bf&&_0x18bbc7(0xfd)==_0x1110bf[_0x18bbc7(0xe9)]?_0x1110bf[_0x102045]+=_0x104903[_0x18bbc7(0xed)]:_0x189ff6[_0x18bbc7(0xf7)]({'type':_0x18bbc7(0xfd),'add':_0x18bbc7(0xf1)==_0x102045?_0x104903[_0x18bbc7(0xed)]:'','remove':_0x18bbc7(0xeb)==_0x102045?_0x104903[_0x18bbc7(0xed)]:''});else{if(this[_0x18bbc7(0xf5)][_0x18bbc7(0xd7)](_0x104903)){const _0x45d9db=_0x104903;if(_0x1110bf&&_0x1110bf[_0x18bbc7(0xe9)][_0x18bbc7(0xcd)](_0x18bbc7(0xd2))>-0x1&&_0x189ff6[_0x18bbc7(0x114)](),_0x18bbc7(0xe4)==_0x10dd96[_0x18bbc7(0xe9)])continue;_0x1110bf&&_0x1110bf[_0x18bbc7(0xe9)]==_0x102045+_0x18bbc7(0x10f)&&_0x1110bf[_0x18bbc7(0x123)][_0x18bbc7(0x102)]==_0x45d9db[_0x18bbc7(0x102)]?_0x1110bf[_0x18bbc7(0xdb)]++:_0x189ff6[_0x18bbc7(0xf7)]({'type':_0x102045+_0x18bbc7(0x10f),'element':_0x45d9db,'quantity':0x1}),_0x548810[_0x18bbc7(0x101)](_0x83ac02=>!(_0x18bbc7(0xe4)==_0x83ac02[_0x18bbc7(0xe9)]&&_0x83ac02[_0x18bbc7(0x104)]==_0x104903));}else{if(this[_0x18bbc7(0xf5)][_0x18bbc7(0xd9)](_0x104903,_0x18bbc7(0x112))||_0x104903['is'](_0x18bbc7(0x123),_0x18bbc7(0x10a))){const _0x108171=_0x104903;if(_0x18bbc7(0xf1)==_0x102045&&_0x18bbc7(0x127)==_0x10dd96[_0x18bbc7(0xe9)]||_0x18bbc7(0xeb)==_0x102045&&_0x18bbc7(0xe4)==_0x10dd96[_0x18bbc7(0xe9)])continue;if(_0x1110bf&&-0x1==_0x1110bf[_0x18bbc7(0xe9)][_0x18bbc7(0xcd)](_0x18bbc7(0xd2))){_0x18bbc7(0xfd)==_0x1110bf[_0x18bbc7(0xe9)]&&(_0x1110bf[_0x102045]+='\x0a');continue;}let _0x4174b0;if(_0x4174b0=_0x18bbc7(0xf1)==_0x102045?_0x108171[_0x18bbc7(0xee)]&&!this[_0x18bbc7(0xf5)][_0x18bbc7(0xd7)](_0x108171[_0x18bbc7(0xee)])?_0x108171[_0x18bbc7(0xee)]:null:_0x108171[_0x18bbc7(0x125)]&&!this[_0x18bbc7(0xf5)][_0x18bbc7(0xd7)](_0x108171[_0x18bbc7(0x125)])?_0x108171[_0x18bbc7(0x125)]:null,_0x108171[_0x18bbc7(0xcc)]||_0x4174b0&&_0x4174b0[_0x18bbc7(0xcc)]){const _0x21410f=_0x4174b0&&_0x4174b0[_0x18bbc7(0xcc)]?_0x4174b0:_0x108171;_0x1110bf&&_0x1110bf[_0x18bbc7(0xe9)]==_0x102045+_0x18bbc7(0xd6)&&_0x1110bf[_0x18bbc7(0x123)][_0x18bbc7(0x102)]==_0x21410f[_0x18bbc7(0x102)]?_0x1110bf[_0x18bbc7(0xdb)]++:_0x189ff6[_0x18bbc7(0xf7)]({'type':_0x102045+_0x18bbc7(0xd6),'element':_0x21410f,'quantity':0x1});}else _0x189ff6[_0x18bbc7(0xf7)]({'type':_0x102045+_0x18bbc7(0xd2),'element':_0x108171});}}}}}[_0x564da8(0xe7)](_0x3f1b86){const _0x4a0104=_0x564da8,_0x980508=this[_0x4a0104(0x126)],_0x1707a5=[],_0x1b0077=[],_0x35b32d=[];for(const _0x4418a1 of _0x3f1b86)switch(_0x4418a1[_0x4a0104(0xe9)]){case _0x4a0104(0xfd):if(_0x4418a1[_0x4a0104(0xf1)]=_0x4418a1[_0x4a0104(0xf1)][_0x4a0104(0x107)](/(\S)\u000A+(\S)/g,_0x4a0104(0x10e))[_0x4a0104(0x107)](/\u000A/g,''),_0x4418a1[_0x4a0104(0xeb)]=_0x4418a1[_0x4a0104(0xeb)][_0x4a0104(0x107)](/(\S)\u000A+(\S)/g,_0x4a0104(0x10e))[_0x4a0104(0x107)](/\u000A/g,''),''!=_0x4418a1[_0x4a0104(0xf1)]&&''!=_0x4418a1[_0x4a0104(0xeb)]){_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0x107),'content':_0x40fe7c(_0x980508,_0x4a0104(0x11b),['\x22'+_0x4418a1[_0x4a0104(0xeb)]+'\x22','\x22'+_0x4418a1[_0x4a0104(0xf1)]+'\x22'])});continue;}if(null!=_0x4418a1[_0x4a0104(0xf1)][_0x4a0104(0x11c)](/^ +$/)){_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0x11d),'content':_0x40fe7c(_0x980508,_0x4a0104(0xf0),_0x40fe7c(_0x980508,_0x4a0104(0x105),_0x4418a1[_0x4a0104(0xf1)][_0x4a0104(0x10b)]))});continue;}if(null!=_0x4418a1[_0x4a0104(0xeb)][_0x4a0104(0x11c)](/^ +$/)){_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xfc),'content':_0x40fe7c(_0x980508,_0x4a0104(0x115),_0x40fe7c(_0x980508,_0x4a0104(0x105),_0x4418a1[_0x4a0104(0xeb)][_0x4a0104(0x10b)]))});continue;}if(''!=_0x4418a1[_0x4a0104(0xf1)]){_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0x11d),'content':_0x40fe7c(_0x980508,_0x4a0104(0xf0),'\x22'+_0x4418a1[_0x4a0104(0xf1)]+'\x22')});continue;}_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xfc),'content':_0x40fe7c(_0x980508,_0x4a0104(0x115),'\x22'+_0x4418a1[_0x4a0104(0xeb)]+'\x22')});continue;case _0x4a0104(0xfa):case _0x4a0104(0xd4):_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0x11d),'content':_0x40fe7c(_0x980508,_0x4a0104(0xf0),this[_0x4a0104(0xe2)](_0x4418a1[_0x4a0104(0x123)],_0x4418a1[_0x4a0104(0xdb)]))});continue;case _0x4a0104(0x111):case _0x4a0104(0xd8):_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xfc),'content':_0x40fe7c(_0x980508,_0x4a0104(0x115),this[_0x4a0104(0xe2)](_0x4418a1[_0x4a0104(0x123)],_0x4418a1[_0x4a0104(0xdb)]))});continue;case _0x4a0104(0xe1):_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0x11d),'content':_0x40fe7c(_0x980508,_0x4a0104(0x122),this[_0x4a0104(0xe2)](_0x4418a1[_0x4a0104(0x123)],_0x4418a1[_0x4a0104(0xdb)]))});continue;case _0x4a0104(0xcb):_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xfc),'content':_0x40fe7c(_0x980508,_0x4a0104(0x103),this[_0x4a0104(0xe2)](_0x4418a1[_0x4a0104(0x123)],_0x4418a1[_0x4a0104(0xdb)]))});continue;case _0x4a0104(0xcf):_0x1b0077[_0x4a0104(0xf7)](_0x4418a1[_0x4a0104(0xca)]);continue;case _0x4a0104(0xda):_0x35b32d[_0x4a0104(0xf7)](_0x4418a1[_0x4a0104(0xca)]);continue;default:_0x1707a5[_0x4a0104(0xf7)](_0x4418a1);}if(_0x1b0077[_0x4a0104(0x10b)]){const _0x55cc97=_0x1b0077[_0x4a0104(0x10d)](_0x5421fe=>this[_0x4a0104(0xe5)][_0x4a0104(0xe8)](_0x5421fe)?this[_0x4a0104(0xe5)][_0x4a0104(0xfe)](_0x5421fe):_0x5421fe)[_0x4a0104(0xdf)](',\x20');_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xec),'content':_0x40fe7c(this[_0x4a0104(0x126)],_0x4a0104(0xd1),_0x55cc97)});}if(_0x35b32d[_0x4a0104(0x10b)]){const _0x10c075=_0x35b32d[_0x4a0104(0x10d)](_0x1cff15=>this[_0x4a0104(0xe5)][_0x4a0104(0xe8)](_0x1cff15)?this[_0x4a0104(0xe5)][_0x4a0104(0xfe)](_0x1cff15):_0x1cff15)[_0x4a0104(0xdf)](',\x20');_0x1707a5[_0x4a0104(0xf7)]({'type':_0x4a0104(0xec),'content':_0x40fe7c(this[_0x4a0104(0x126)],_0x4a0104(0x120),_0x10c075)});}return _0x1707a5;}[_0x564da8(0x100)](_0xd7c3a6){const _0x58e109=_0x564da8;for(const _0x4b6274 of this[_0x58e109(0xf6)]){const _0x55321c=_0x4b6274(_0xd7c3a6);if(_0x55321c&&_0x58e109(0xe9)in _0x55321c)return _0x55321c;}}[_0x564da8(0xf2)](_0x2c53e1,_0x1e8ba0){const _0xc6e428=_0x564da8,_0x473a85=_0x1e8ba0[_0xc6e428(0xed)],_0x1c63df=void 0x0===_0x473a85[_0xc6e428(0x11f)]?_0xc6e428(0xda):_0xc6e428(0xcf);_0x2c53e1[_0xc6e428(0xf7)]({'type':_0x1c63df,'key':_0x473a85[_0xc6e428(0xca)]});}[_0x564da8(0x121)](_0x3bb816,_0x364499){const _0x56cf94=_0x564da8;_0x3bb816[_0x56cf94(0xf7)]({'type':_0x56cf94(0xec),'content':_0x40fe7c(this[_0x56cf94(0x126)],_0x56cf94(0x11e),this[_0x56cf94(0xe2)](_0x364499[_0x56cf94(0xf8)]()[_0x56cf94(0x110)][_0x56cf94(0xff)],0x1))});}[_0x564da8(0xef)](_0x2f6a5f,_0xf1c1e8,_0x1322a5){const _0x546e1c=_0x564da8;if(this[_0x546e1c(0xe6)](_0x2f6a5f,_0xf1c1e8),_0x1322a5&&_0x1322a5[_0x546e1c(0xf8)]()&&!_0xf1c1e8[_0x546e1c(0xf8)]()[_0x546e1c(0x10c)][_0x546e1c(0xce)](_0x1322a5[_0x546e1c(0xf8)]()[_0x546e1c(0x110)])){const _0x54e7ec=_0x2f6a5f[_0x2f6a5f[_0x546e1c(0x10b)]-0x1],_0x5524f4=_0x546e1c(0x11d)==_0xf1c1e8[_0x546e1c(0xe9)]?_0x546e1c(0xf1):_0x546e1c(0xeb);_0x54e7ec&&_0x546e1c(0xfd)==_0x54e7ec[_0x546e1c(0xe9)]&&(_0x54e7ec[_0x5524f4]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3a8a(){var _0x34ece9=['addSuggestionData','10788975MwxZYp','requires','4785480EtdbiC','121204ewOyup','getSuggestions','2193471BvkDgG','pluginName','TrackChanges','4779340fFSZKp','addSuggestion','getSuggestion','8qLOBQa','editor','2557062UdkiPg','648045oXwrsv','isPremiumPlugin','2zgUKTo','plugins','Comments','get','18bWAjWT','isOfficialPlugin','adapter'];_0x3a8a=function(){return _0x34ece9;};return _0x3a8a();}var _0x2cef60=_0x6e11;(function(_0x40d59d,_0xd76826){var _0xc1f6a3=_0x6e11,_0x51e4ab=_0x40d59d();while(!![]){try{var _0x473f2d=-parseInt(_0xc1f6a3(0x198))/0x1*(-parseInt(_0xc1f6a3(0x19a))/0x2)+parseInt(_0xc1f6a3(0x19e))/0x3*(parseInt(_0xc1f6a3(0x1a5))/0x4)+parseInt(_0xc1f6a3(0x1a4))/0x5+-parseInt(_0xc1f6a3(0x197))/0x6+parseInt(_0xc1f6a3(0x1a7))/0x7+-parseInt(_0xc1f6a3(0x195))/0x8*(parseInt(_0xc1f6a3(0x1a2))/0x9)+parseInt(_0xc1f6a3(0x1aa))/0xa;if(_0x473f2d===_0xd76826)break;else _0x51e4ab['push'](_0x51e4ab['shift']());}catch(_0x5ebb80){_0x51e4ab['push'](_0x51e4ab['shift']());}}}(_0x3a8a,0xe8bc2));import{Plugin as _0xf67223}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x2092ab}from'./trackchangesui.js';function _0x6e11(_0x3c0cef,_0x58e308){var _0x3a8aec=_0x3a8a();return _0x6e11=function(_0x6e115c,_0x3a681a){_0x6e115c=_0x6e115c-0x194;var _0x3a4b0f=_0x3a8aec[_0x6e115c];return _0x3a4b0f;},_0x6e11(_0x3c0cef,_0x58e308);}import{TrackChangesEditing as _0x194f24}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0xf67223{static get[_0x2cef60(0x1a3)](){var _0x1b6bd2=_0x2cef60;return[_0x194f24,_0x2092ab,_0x1b6bd2(0x19c)];}static get[_0x2cef60(0x1a8)](){var _0x135d13=_0x2cef60;return _0x135d13(0x1a9);}static get[_0x2cef60(0x19f)](){return!0x0;}static get[_0x2cef60(0x199)](){return!0x0;}set[_0x2cef60(0x1a0)](_0x3ee1ee){var _0x331241=_0x2cef60;this[_0x331241(0x196)][_0x331241(0x19b)][_0x331241(0x19d)](_0x194f24)[_0x331241(0x1a0)]=_0x3ee1ee;}get[_0x2cef60(0x1a0)](){var _0x388fcf=_0x2cef60;return this[_0x388fcf(0x196)][_0x388fcf(0x19b)][_0x388fcf(0x19d)](_0x194f24)[_0x388fcf(0x1a0)];}[_0x2cef60(0x1ab)](_0x26ce71){var _0x9dfee7=_0x2cef60;return this[_0x9dfee7(0x196)][_0x9dfee7(0x19b)][_0x9dfee7(0x19d)](_0x194f24)[_0x9dfee7(0x1a1)](_0x26ce71);}[_0x2cef60(0x1a6)]({skipNotAttached:_0x5d1be9=!0x1,toJSON:_0x59aff7=!0x1}={}){var _0x31d8e3=_0x2cef60;return this[_0x31d8e3(0x196)][_0x31d8e3(0x19b)][_0x31d8e3(0x19d)](_0x194f24)[_0x31d8e3(0x1a6)]({'skipNotAttached':_0x5d1be9,'toJSON':_0x59aff7});}[_0x2cef60(0x194)](_0x3fce45){var _0x25ac02=_0x2cef60;return this[_0x25ac02(0x196)][_0x25ac02(0x19b)][_0x25ac02(0x19d)](_0x194f24)[_0x25ac02(0x194)](_0x3fce45);}}
|