@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240416.0 → 0.0.0-nightly-20240418.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/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1f71(){const _0x4a5aaf=['afterInit','TrackChangesEditing','476203jATOsZ','enableCommand','insertTemplate','889800JDQgUs','get','1115918ItObuG','Template','plugins','editor','has','5JnWSaF','883588KvYuDB','99rQjWtp','2858214ukKrgp','1836830YvsBov','2833824MpcNTJ','1epWHPD'];_0x1f71=function(){return _0x4a5aaf;};return _0x1f71();}function _0x1542(_0x561034,_0x52ea11){const _0x1f7121=_0x1f71();return _0x1542=function(_0x15429b,_0x44ca84){_0x15429b=_0x15429b-0xff;let _0x56dbcd=_0x1f7121[_0x15429b];return _0x56dbcd;},_0x1542(_0x561034,_0x52ea11);}const _0x41baed=_0x1542;(function(_0x3d5a46,_0x32c67f){const _0x339ed7=_0x1542,_0x5def8b=_0x3d5a46();while(!![]){try{const _0xead1f1=-parseInt(_0x339ed7(0x10d))/0x1*(parseInt(_0x339ed7(0x102))/0x2)+-parseInt(_0x339ed7(0x100))/0x3+-parseInt(_0x339ed7(0x108))/0x4*(-parseInt(_0x339ed7(0x107))/0x5)+-parseInt(_0x339ed7(0x10a))/0x6+parseInt(_0x339ed7(0x110))/0x7+-parseInt(_0x339ed7(0x10c))/0x8+parseInt(_0x339ed7(0x109))/0x9*(parseInt(_0x339ed7(0x10b))/0xa);if(_0xead1f1===_0x32c67f)break;else _0x5def8b['push'](_0x5def8b['shift']());}catch(_0x47ab1b){_0x5def8b['push'](_0x5def8b['shift']());}}}(_0x1f71,0x9869b));import{Plugin as _0x3ae360}from'ckeditor5/src/core.js';export default class _t extends _0x3ae360{[_0x41baed(0x10e)](){const _0x3f8967=_0x41baed,_0x3c1186=this[_0x3f8967(0x105)];_0x3c1186[_0x3f8967(0x104)][_0x3f8967(0x106)](_0x3f8967(0x103))&&_0x3c1186[_0x3f8967(0x104)][_0x3f8967(0x101)](_0x3f8967(0x10f))[_0x3f8967(0x111)](_0x3f8967(0xff));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2e02(){const _0x4bfaf4=['createRange','249303hOoxUH','removeMarker','afterInit','updateMarker','from','locale','11149472cLvyel','7627500SHglYN','57159860LIXoyh','Title','36vYVLFp','TrackChangesEditing','788048imKXdk','differ','forward','editor','registerPostFixer','end','plugins','has','isEqual','getNearestSelectionRange','getChangedMarkers','document','14ToPUAR','nodeBefore','get','registerElementLabel','_splitMarkerName','isTouching','9qtXgkD','model','ELEMENT_TITLE','_descriptionFactory','element','isCollapsed','2552682uXakQO','2150628tVOqZj','title-content','newRange','schema','suggestion','start'];_0x2e02=function(){return _0x4bfaf4;};return _0x2e02();}function _0x6a6e(_0x54b9e2,_0x3a9e3f){const _0x2e0245=_0x2e02();return _0x6a6e=function(_0x6a6ee6,_0x2e0c48){_0x6a6ee6=_0x6a6ee6-0x18d;let _0x4622a8=_0x2e0245[_0x6a6ee6];return _0x4622a8;},_0x6a6e(_0x54b9e2,_0x3a9e3f);}const _0x26b664=_0x6a6e;(function(_0xd81575,_0x15a2b7){const _0x2f09bb=_0x6a6e,_0x594a50=_0xd81575();while(!![]){try{const _0x270d42=-parseInt(_0x2f09bb(0x18f))/0x1+-parseInt(_0x2f09bb(0x1a8))/0x2+-parseInt(_0x2f09bb(0x1af))/0x3*(-parseInt(_0x2f09bb(0x18d))/0x4)+-parseInt(_0x2f09bb(0x1b6))/0x5+-parseInt(_0x2f09bb(0x1a7))/0x6*(parseInt(_0x2f09bb(0x19b))/0x7)+-parseInt(_0x2f09bb(0x1b5))/0x8+parseInt(_0x2f09bb(0x1a1))/0x9*(parseInt(_0x2f09bb(0x1b7))/0xa);if(_0x270d42===_0x15a2b7)break;else _0x594a50['push'](_0x594a50['shift']());}catch(_0x2bac81){_0x594a50['push'](_0x594a50['shift']());}}}(_0x2e02,0xcabf7));import{Plugin as _0x5f4299}from'ckeditor5/src/core.js';import{getTranslation as _0x1c272f}from'../utils/common-translations.js';export default class Dt extends _0x5f4299{[_0x26b664(0x1b1)](){const _0x52e1f3=_0x26b664,_0x469312=this[_0x52e1f3(0x192)];if(!_0x469312[_0x52e1f3(0x195)][_0x52e1f3(0x196)](_0x52e1f3(0x1b8)))return;const _0x367133=_0x469312[_0x52e1f3(0x195)][_0x52e1f3(0x19d)](_0x52e1f3(0x18e));_0x367133[_0x52e1f3(0x1a4)][_0x52e1f3(0x19e)](_0x52e1f3(0x1a9),()=>_0x1c272f(_0x469312[_0x52e1f3(0x1b4)],_0x52e1f3(0x1a3))),_0x469312[_0x52e1f3(0x1a2)][_0x52e1f3(0x19a)][_0x52e1f3(0x193)](_0x430aa7=>{const _0x7f4f7e=_0x52e1f3;let _0x5a18f9=!0x1;const _0x1b53df=Array[_0x7f4f7e(0x1b3)](_0x469312[_0x7f4f7e(0x1a2)][_0x7f4f7e(0x19a)][_0x7f4f7e(0x190)][_0x7f4f7e(0x199)]());for(const {name:_0x19ea13,data:_0x12c28e}of _0x1b53df){const {group:_0x56e748}=_0x367133[_0x7f4f7e(0x19f)](_0x19ea13);if(_0x7f4f7e(0x1ac)!==_0x56e748||!_0x12c28e[_0x7f4f7e(0x1aa)])continue;const _0x1de7b0=_0x12c28e[_0x7f4f7e(0x1aa)],_0x1fd642=_0x1de7b0[_0x7f4f7e(0x194)][_0x7f4f7e(0x19c)];if(!_0x1fd642||!_0x1fd642['is'](_0x7f4f7e(0x1a5),_0x7f4f7e(0x1a9)))continue;if(!_0x1de7b0[_0x7f4f7e(0x1ad)][_0x7f4f7e(0x1a0)](_0x1de7b0[_0x7f4f7e(0x194)]))continue;const _0x4168a9=_0x469312[_0x7f4f7e(0x1a2)][_0x7f4f7e(0x1ab)][_0x7f4f7e(0x198)](_0x1de7b0[_0x7f4f7e(0x194)],_0x7f4f7e(0x191));if(_0x4168a9&&_0x4168a9[_0x7f4f7e(0x1a6)]){const _0xb02f7=_0x430aa7[_0x7f4f7e(0x1ae)](_0x1de7b0[_0x7f4f7e(0x1ad)],_0x4168a9[_0x7f4f7e(0x1ad)]);_0xb02f7[_0x7f4f7e(0x197)](_0x1de7b0)||(_0x430aa7[_0x7f4f7e(0x1b2)](_0x19ea13,{'range':_0xb02f7}),_0x5a18f9=!0x0);}_0x5a18f9||(_0x430aa7[_0x7f4f7e(0x1b0)](_0x19ea13),_0x5a18f9=!0x0);}return _0x5a18f9;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x437724=_0x35fa;(function(_0x2370fe,_0x3dc5d1){const _0x34facf=_0x35fa,_0xb237ef=_0x2370fe();while(!![]){try{const _0x116610=-parseInt(_0x34facf(0x133))/0x1+parseInt(_0x34facf(0x139))/0x2+parseInt(_0x34facf(0x136))/0x3+-parseInt(_0x34facf(0x13a))/0x4*(parseInt(_0x34facf(0x135))/0x5)+parseInt(_0x34facf(0x142))/0x6*(parseInt(_0x34facf(0x131))/0x7)+-parseInt(_0x34facf(0x130))/0x8+parseInt(_0x34facf(0x13e))/0x9*(-parseInt(_0x34facf(0x140))/0xa);if(_0x116610===_0x3dc5d1)break;else _0xb237ef['push'](_0xb237ef['shift']());}catch(_0x9d0d64){_0xb237ef['push'](_0xb237ef['shift']());}}}(_0x4ad9,0xe41cb));import{Plugin as _0x8cd316}from'ckeditor5/src/core.js';function _0x35fa(_0x2d787f,_0x53f14e){const _0x4ad9ee=_0x4ad9();return _0x35fa=function(_0x35fab0,_0x4e0a47){_0x35fab0=_0x35fab0-0x12f;let _0x1e130c=_0x4ad9ee[_0x35fab0];return _0x1e130c;},_0x35fa(_0x2d787f,_0x53f14e);}export default class Nt extends _0x8cd316{[_0x437724(0x13d)](){const _0x32fa1=_0x437724,_0x55c20c=this[_0x32fa1(0x13f)],_0x4b9038=_0x55c20c[_0x32fa1(0x134)][_0x32fa1(0x13b)](_0x32fa1(0x138));_0x55c20c[_0x32fa1(0x134)][_0x32fa1(0x13c)](_0x32fa1(0x137))&&(_0x4b9038[_0x32fa1(0x12f)](_0x32fa1(0x141)),_0x4b9038[_0x32fa1(0x12f)](_0x32fa1(0x132)));}}function _0x4ad9(){const _0x1e9811=['TrackChangesEditing','1962162qSZEws','1098992iqLNpi','get','has','afterInit','107073aQyuZq','editor','130ZiPOmc','undo','2472738vjgmMk','enableCommand','1910784WMBXDN','14WpqeTR','redo','684143pmMNhT','plugins','5urjUUx','1444260sLAuGu','UndoEditing'];_0x4ad9=function(){return _0x1e9811;};return _0x4ad9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8808(_0x6e5d89,_0x312a24){const _0xafcde7=_0xafcd();return _0x8808=function(_0x88081,_0x3ecbea){_0x88081=_0x88081-0xd7;let _0x25e4fe=_0xafcde7[_0x88081];return _0x25e4fe;},_0x8808(_0x6e5d89,_0x312a24);}(function(_0x536830,_0x67031d){const _0x34a06c=_0x8808,_0x44ff3e=_0x536830();while(!![]){try{const _0x509699=parseInt(_0x34a06c(0xfd))/0x1*(-parseInt(_0x34a06c(0xde))/0x2)+-parseInt(_0x34a06c(0xf1))/0x3+parseInt(_0x34a06c(0x10a))/0x4+parseInt(_0x34a06c(0xf6))/0x5+parseInt(_0x34a06c(0xfa))/0x6*(parseInt(_0x34a06c(0x105))/0x7)+parseInt(_0x34a06c(0xf4))/0x8*(-parseInt(_0x34a06c(0xfb))/0x9)+-parseInt(_0x34a06c(0x10b))/0xa*(parseInt(_0x34a06c(0x10c))/0xb);if(_0x509699===_0x67031d)break;else _0x44ff3e['push'](_0x44ff3e['shift']());}catch(_0x598b0c){_0x44ff3e['push'](_0x44ff3e['shift']());}}}(_0xafcd,0x6ab6b));function _0xafcd(){const _0xfee069=['8VSbPHD','addHighlight','2511145JuldXN','getAttribute','push','markerRange','63498CWKvde','4967019aoWMso','isLimit','91501wtnQYD','parent','ck-suggestion-marker-','insert','isBlock','plugins','model','isAtEnd','553VnlZzh','createRangeOn','activeMarkers','listIndent','start','164580SzzJAX','168790LuMxOB','11ovYvpi','name','element','nextSibling','listItem','span','item','getItems','markerName','includes','8lrraYG','isContent','type','get','getCustomProperty','toViewElement','bindElementToMarker','schema','hasAttribute','elementEnd','ck-suggestion-marker--active','TrackChangesEditing','getWalker','addClass','consumable','mapper','createUIElement','writer','toViewPosition','22674CKilHF','test','previousPosition'];_0xafcd=function(){return _0xfee069;};return _0xafcd();}export function getRangesWithAttribute(_0x40b6b9,_0x392776,_0x13b253){const _0x127acd=_0x8808,_0xe6ab41=[];for(const _0x4a3b9f of _0x392776[_0x127acd(0xdb)]())_0x4a3b9f[_0x127acd(0xe6)](_0x40b6b9)&&_0xe6ab41[_0x127acd(0xf8)](_0x13b253[_0x127acd(0x106)](_0x4a3b9f));return _0xe6ab41;}export function getElementsAffectedByListItemRename(_0xda46ea){const _0x4d6aa3=_0x8808,_0x5d7bfc=[];if(_0xda46ea['is'](_0x4d6aa3(0x10e),_0x4d6aa3(0xd8))){let _0x13e8aa=_0xda46ea[_0x4d6aa3(0xd7)];for(;_0x13e8aa&&_0x13e8aa['is'](_0x4d6aa3(0x10e),_0x4d6aa3(0xd8))&&_0x13e8aa[_0x4d6aa3(0xf7)](_0x4d6aa3(0x108))>0x0;)_0x5d7bfc[_0x4d6aa3(0xf8)](_0x13e8aa),_0x13e8aa=_0x13e8aa[_0x4d6aa3(0xd7)];}return _0x5d7bfc;}export function downcastSplitMergeMarker(_0x19cb64,_0x45c5c2,{showActiveMarker:_0x402ab9=!0x0}={}){const _0x32d092=_0x8808,_0x199b67=_0x19cb64[_0x32d092(0x102)][_0x32d092(0xe1)](_0x32d092(0xe9));return(_0x58ab54,_0x195aca,_0x10be2f)=>{const _0xd87802=_0x32d092;if(!_0x10be2f[_0xd87802(0xec)][_0xd87802(0xf2)](_0x195aca[_0xd87802(0xf9)],_0x58ab54[_0xd87802(0x10d)]))return;const _0x1f75be=_0x195aca[_0xd87802(0xf9)][_0xd87802(0xea)](),_0x31e09a=_0x195aca[_0xd87802(0xf9)][_0xd87802(0x109)],_0x5c43f4=_0x19cb64[_0xd87802(0x103)][_0xd87802(0xe5)];let _0x10f3be=null,_0xd28c77=null,_0xf20a83=!0x1,_0x52432c=!0x1;for(const _0x5a8255 of _0x1f75be){const _0x13689e=_0x5a8255[_0xd87802(0xda)];_0xf20a83=_0xf20a83||_0x5c43f4[_0xd87802(0xdf)](_0x13689e);const _0x40552a=_0x10be2f[_0xd87802(0xed)][_0xd87802(0xe3)](_0x13689e);if(_0x40552a&&_0x40552a[_0xd87802(0xe2)](_0xd87802(0xf5)))return;_0xd87802(0xe7)==_0x5a8255[_0xd87802(0xe0)]&&(_0x5c43f4[_0xd87802(0x101)](_0x13689e)&&!_0x5c43f4[_0xd87802(0xfc)](_0x13689e)&&(_0x13689e[_0xd87802(0xd7)]||_0x31e09a[_0xd87802(0x104)]?_0x10f3be&&_0x10f3be[_0xd87802(0xfe)]==_0x13689e||(_0x10f3be=_0x13689e,_0xa6c729(_0x5a8255[_0xd87802(0xf3)]),_0x52432c=!0x0):_0xd28c77=_0xd28c77||_0x5a8255[_0xd87802(0xf3)]));}function _0xa6c729(_0x4e767a){const _0x51adf3=_0xd87802,_0x2a77f3=_0x10be2f[_0x51adf3(0xef)][_0x51adf3(0xee)](_0x51adf3(0xd9),{'class':_0x51adf3(0xff)+_0x45c5c2}),_0x4a3a36=_0x10be2f[_0x51adf3(0xed)][_0x51adf3(0xf0)](_0x4e767a);_0x402ab9&&_0x199b67[_0x51adf3(0x107)][_0x51adf3(0xdd)](_0x195aca[_0x51adf3(0xdc)])&&_0x10be2f[_0x51adf3(0xef)][_0x51adf3(0xeb)](_0x51adf3(0xe8),_0x2a77f3),_0x10be2f[_0x51adf3(0xef)][_0x51adf3(0x100)](_0x4a3a36,_0x2a77f3),_0x10be2f[_0x51adf3(0xed)][_0x51adf3(0xe4)](_0x2a77f3,_0x195aca[_0x51adf3(0xdc)]);}_0xf20a83||_0x52432c||!_0xd28c77||_0xa6c729(_0xd28c77);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41bf21=_0x2e27;function _0x2e27(_0x22d352,_0x3f8c9d){const _0x4b982e=_0x4b98();return _0x2e27=function(_0x2e279e,_0x3899c9){_0x2e279e=_0x2e279e-0x1c5;let _0x29218c=_0x4b982e[_0x2e279e];return _0x29218c;},_0x2e27(_0x22d352,_0x3f8c9d);}(function(_0x41fd35,_0x5e1aed){const _0x22f18e=_0x2e27,_0x484ea7=_0x41fd35();while(!![]){try{const _0x2f42fd=-parseInt(_0x22f18e(0x1f9))/0x1+-parseInt(_0x22f18e(0x1dc))/0x2*(parseInt(_0x22f18e(0x1fa))/0x3)+-parseInt(_0x22f18e(0x202))/0x4*(-parseInt(_0x22f18e(0x1f5))/0x5)+parseInt(_0x22f18e(0x1d4))/0x6*(parseInt(_0x22f18e(0x207))/0x7)+parseInt(_0x22f18e(0x1e6))/0x8*(-parseInt(_0x22f18e(0x1dd))/0x9)+parseInt(_0x22f18e(0x210))/0xa+parseInt(_0x22f18e(0x214))/0xb;if(_0x2f42fd===_0x5e1aed)break;else _0x484ea7['push'](_0x484ea7['shift']());}catch(_0x2b56b4){_0x484ea7['push'](_0x484ea7['shift']());}}}(_0x4b98,0x5992a));function _0x4b98(){const _0x1d07f9=['getAllAdjacentSuggestions','substr','map','150EAZqFq','_onAccept','accept','_model','type','reduce','clear','previous','28270xJIzus','459eSMrlY','next','removeMarkers','start','onAttributesChange','filter','_isDataLoaded','setAttribute','hasComments','14360xAQXcM','getMarkerNames','end','getRange','head','getFirstMarker','_onAttributesChange','_onDiscard','isInContent','add','addRange','onDiscard','getMarkers','discard','author','85CQQmBD','getFirstRange','attributes','delete','476496laJdEO','99KENVwK','change','addMarker','data','removeAttribute','isIntersecting','@external','from','43312MLzkto','_saved','addMarkerName','length','commentThread','61754LIMmiG','nodeAfter','isIntersectingWithRange','getRanges','decorate','getMultiRangeId','onAccept','nodeBefore','removeMarker','1349610VdiSBX','authoredAt','split','isMultiRange','9479789GoWcjY','size','push','_markerNames','creator','getItems','subType','get','createdAt','toJSON','suggestion:','set','isExternal','markers','getContainedElement'];_0x4b98=function(){return _0x1d07f9;};return _0x4b98();}import{Element as _0x5603d1}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x4b5a87,uid as _0x22b24f}from'ckeditor5/src/utils.js';import{cloneDeep as _0x629a74,isEqual as _0x5f4830,set as _0x5d05b7,unset as _0x575853}from'lodash-es';export default class u extends _0x4b5a87(){constructor(_0xbfa073,_0x181069){const _0x3430c9=_0x2e27;super(),this[_0x3430c9(0x1e3)]=!0x1,this['id']=_0x181069['id'],this[_0x3430c9(0x1d8)]=_0x181069[_0x3430c9(0x1d8)],this[_0x3430c9(0x1c8)]=_0x181069[_0x3430c9(0x1c8)]||null,this[_0x3430c9(0x1f4)]=_0x181069[_0x3430c9(0x1f4)],this[_0x3430c9(0x1c6)]=_0x181069[_0x3430c9(0x1c6)]||_0x181069[_0x3430c9(0x1f4)],this[_0x3430c9(0x1ce)]=Boolean(_0x181069[_0x3430c9(0x1f7)]&&_0x181069[_0x3430c9(0x1f7)][_0x3430c9(0x200)]),this[_0x3430c9(0x1fd)]=null,this[_0x3430c9(0x1d7)]=_0xbfa073,this[_0x3430c9(0x1d5)]=_0x181069[_0x3430c9(0x20d)],this[_0x3430c9(0x1ed)]=_0x181069[_0x3430c9(0x1f1)],this[_0x3430c9(0x1ec)]=_0x181069[_0x3430c9(0x1e1)],this[_0x3430c9(0x1c5)]=new Set(),this[_0x3430c9(0x1ca)]=null,this[_0x3430c9(0x1cd)](_0x3430c9(0x211),null),this[_0x3430c9(0x1cd)](_0x3430c9(0x1f7),_0x181069[_0x3430c9(0x1f7)]||{}),this[_0x3430c9(0x1cd)](_0x3430c9(0x1db),null),this[_0x3430c9(0x1cd)](_0x3430c9(0x1de),null),this[_0x3430c9(0x1cd)](_0x3430c9(0x206),null),this[_0x3430c9(0x1cd)](_0x3430c9(0x203),!0x1),this[_0x3430c9(0x20b)](_0x3430c9(0x1d6)),this[_0x3430c9(0x20b)](_0x3430c9(0x1f3));}get[_0x41bf21(0x1ea)](){const _0x183268=_0x41bf21;let _0x3dc033=this;for(;_0x3dc033[_0x183268(0x1db)];)_0x3dc033=_0x3dc033[_0x183268(0x1db)];return _0x3dc033;}get[_0x41bf21(0x1e5)](){const _0x166553=_0x41bf21;return!!this[_0x166553(0x206)]&&this[_0x166553(0x206)][_0x166553(0x205)]>0x0;}get[_0x41bf21(0x213)](){const _0x252ecc=_0x41bf21;if(0x0==this[_0x252ecc(0x1c5)][_0x252ecc(0x215)])return!0x1;return 0x6==Array[_0x252ecc(0x201)](this[_0x252ecc(0x1c5)])[0x0][_0x252ecc(0x212)](':')[_0x252ecc(0x205)];}get[_0x41bf21(0x1ee)](){const _0x4dcdc5=_0x41bf21;return null!==this[_0x4dcdc5(0x1eb)]();}[_0x41bf21(0x204)](_0x520c90){const _0x286873=_0x41bf21;this[_0x286873(0x1c5)][_0x286873(0x1ef)](_0x520c90);}[_0x41bf21(0x1e7)](){const _0x1d466a=_0x41bf21;return Array[_0x1d466a(0x201)](this[_0x1d466a(0x1c5)]);}[_0x41bf21(0x1f2)](){const _0x505158=_0x41bf21;return this[_0x505158(0x1e7)]()[_0x505158(0x1d3)](_0x93f8a6=>this[_0x505158(0x1d7)][_0x505158(0x1cf)][_0x505158(0x1c9)](_0x93f8a6))[_0x505158(0x1e2)](_0x36d76a=>_0x36d76a);}[_0x41bf21(0x1eb)](){const _0x5368c5=_0x41bf21;return this[_0x5368c5(0x1f2)]()[0x0]||null;}[_0x41bf21(0x1df)](){const _0xdee27e=_0x41bf21;this[_0xdee27e(0x1d7)][_0xdee27e(0x1fb)](_0x2112a4=>{const _0x23d6bc=_0xdee27e;for(const _0x787623 of this[_0x23d6bc(0x1f2)]())_0x2112a4[_0x23d6bc(0x20f)](_0x787623);}),this[_0xdee27e(0x1c5)][_0xdee27e(0x1da)]();}[_0x41bf21(0x20f)](_0x5a76e6){const _0xad9dbb=_0x41bf21;this[_0xad9dbb(0x1d7)][_0xad9dbb(0x1fb)](_0x39d240=>{const _0x52d48a=_0xad9dbb;_0x39d240[_0x52d48a(0x20f)](_0x5a76e6);}),this[_0xad9dbb(0x1c5)][_0xad9dbb(0x1f8)](_0x5a76e6);}[_0x41bf21(0x1f0)](_0x13e4c0){const _0x2d2443=_0x41bf21,_0x2b4b41=_0x2d2443(0x1cc)+this[_0x2d2443(0x1d8)]+':'+this[_0x2d2443(0x1c8)]+':'+this['id']+':'+this[_0x2d2443(0x1c6)]['id']+':'+u[_0x2d2443(0x20c)]();this[_0x2d2443(0x204)](_0x2b4b41),this[_0x2d2443(0x1d7)][_0x2d2443(0x1fb)](_0x4f5f28=>{const _0x646a00=_0x2d2443;_0x4f5f28[_0x646a00(0x1fc)](_0x2b4b41,{'range':_0x13e4c0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x41bf21(0x209)](_0x29cbc2){const _0x3c8afe=_0x41bf21;for(const _0x3c8d8b of this[_0x3c8afe(0x20a)]())if(_0x3c8d8b[_0x3c8afe(0x1ff)](_0x29cbc2))return!0x0;return!0x1;}[_0x41bf21(0x20a)](){const _0x57052d=_0x41bf21;return this[_0x57052d(0x1f2)]()[_0x57052d(0x1d3)](_0x32eff8=>_0x32eff8[_0x57052d(0x1e9)]());}[_0x41bf21(0x1c7)](){const _0xa779dc=_0x41bf21;return this[_0xa779dc(0x20a)]()[_0xa779dc(0x1d9)]((_0x50aadf,_0x4eda38)=>[..._0x50aadf,..._0x4eda38[_0xa779dc(0x1c7)]()],[]);}[_0x41bf21(0x1f6)](){const _0x41cf54=_0x41bf21;var _0x238e4d;return(null===(_0x238e4d=this[_0x41cf54(0x1eb)]())||void 0x0===_0x238e4d?void 0x0:_0x238e4d[_0x41cf54(0x1e9)]())||null;}[_0x41bf21(0x1d0)](){const _0x25bad0=_0x41bf21,_0x4bdb1f=this[_0x25bad0(0x20a)]();if(0x1!=_0x4bdb1f[_0x25bad0(0x205)])return null;const _0xa63384=_0x4bdb1f[0x0],_0x822465=_0xa63384[_0x25bad0(0x1e0)][_0x25bad0(0x208)],_0x24f6ec=_0xa63384[_0x25bad0(0x1e8)][_0x25bad0(0x20e)];return _0x822465 instanceof _0x5603d1?_0x822465!=_0x24f6ec?null:_0x822465:null;}[_0x41bf21(0x1d6)](){const _0x19f670=_0x41bf21;this[_0x19f670(0x1d5)](this[_0x19f670(0x20a)](),this[_0x19f670(0x1fd)],this[_0x19f670(0x1f7)]),this[_0x19f670(0x1df)]();}[_0x41bf21(0x1f3)](){const _0x1dd23d=_0x41bf21;this[_0x1dd23d(0x1ed)](this[_0x1dd23d(0x20a)](),this[_0x1dd23d(0x1fd)],this[_0x1dd23d(0x1f7)]),this[_0x1dd23d(0x1df)]();}[_0x41bf21(0x1d1)](){const _0x4876e7=_0x41bf21,_0x1445f0=[];let _0x375e70=this[_0x4876e7(0x1ea)];for(;_0x375e70;)_0x1445f0[_0x4876e7(0x216)](_0x375e70),_0x375e70=_0x375e70[_0x4876e7(0x1de)];return _0x1445f0;}[_0x41bf21(0x1e4)](_0xad0793,_0x3a8e8f){const _0x1b81bd=_0x41bf21,_0x525a7f=_0x629a74(this[_0x1b81bd(0x1f7)]);_0x5d05b7(_0x525a7f,_0xad0793,_0x3a8e8f),_0x5f4830(_0x525a7f,this[_0x1b81bd(0x1f7)])||(this[_0x1b81bd(0x1f7)]=_0x525a7f,this[_0x1b81bd(0x1ec)](_0x525a7f));}[_0x41bf21(0x1fe)](_0x321380){const _0xfcaac5=_0x41bf21,_0x3765a4=_0x629a74(this[_0xfcaac5(0x1f7)]);_0x575853(_0x3765a4,_0x321380),_0x5f4830(_0x3765a4,this[_0xfcaac5(0x1f7)])||(this[_0xfcaac5(0x1f7)]=_0x3765a4,this[_0xfcaac5(0x1ec)](this[_0xfcaac5(0x1f7)]));}[_0x41bf21(0x1cb)](){const _0x597603=_0x41bf21;return{'id':this['id'],'type':this[_0x597603(0x1c8)]?this[_0x597603(0x1d8)]+':'+this[_0x597603(0x1c8)]:this[_0x597603(0x1d8)],'authorId':this[_0x597603(0x1c6)]['id'],'createdAt':this[_0x597603(0x1ca)],'hasComments':this[_0x597603(0x1e5)],'data':this[_0x597603(0x1fd)],'attributes':this[_0x597603(0x1f7)]};}static[_0x41bf21(0x20c)](){const _0x133276=_0x41bf21;return _0x22b24f()[_0x133276(0x1d2)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c0973=_0x4d1d;(function(_0x540672,_0x12e10c){const _0x23a3fd=_0x4d1d,_0x2552a0=_0x540672();while(!![]){try{const _0x4e43c0=parseInt(_0x23a3fd(0x18e))/0x1*(parseInt(_0x23a3fd(0x13c))/0x2)+-parseInt(_0x23a3fd(0x159))/0x3*(-parseInt(_0x23a3fd(0x136))/0x4)+-parseInt(_0x23a3fd(0x193))/0x5+parseInt(_0x23a3fd(0x13b))/0x6*(-parseInt(_0x23a3fd(0x15d))/0x7)+-parseInt(_0x23a3fd(0x170))/0x8+-parseInt(_0x23a3fd(0x16a))/0x9*(parseInt(_0x23a3fd(0x163))/0xa)+parseInt(_0x23a3fd(0x167))/0xb;if(_0x4e43c0===_0x12e10c)break;else _0x2552a0['push'](_0x2552a0['shift']());}catch(_0x2e1358){_0x2552a0['push'](_0x2552a0['shift']());}}}(_0x3fa3,0x1988b));function _0x3fa3(){const _0x19c8cc=['item','addContainer','removeFormat','_handleCustomCallbackDescription','612785HtmXyQ','*Merge:*\x20%0','insertion','previousSibling','Container','379328UghytU','addObject','*Change\x20to:*\x20%0','map','$1\x20$2','13794gSOpYT','338830wFPJPF','replace','element','isEmpty','elementStart','*Insert:*\x20%0','addFormat','push','join','*Remove:*\x20%0','$textProxy','_handleInsertRemoveSuggestionDescription','removeObject','set','getWalker','*Split:*\x20%0','elementEnd','_handleRenameSuggestionDescription','end','get','format','addEmptyContainer','_resolveDescriptionItems','key','_addDescriptionItems','add','normal','function','_attributeLabels','6Nnyair','$text','nodeAfter','pop','63myzyxP','getDescriptions','type','has','getFirstRange','attribute','10pPWOjv','REPLACE_TEXT','nextSibling','newValue','775687bsHSfP','registerElementLabel','indexOf','343575MTPrVc','registerDescriptionCallback','skip','_locale','registerAttributeLabel','_schema','1148688PNaWYn','_customCallbacks','_itemLabels','_handleAttributeSuggestionDescription','start','Object','getItemLabel','data','isObject','match','checkChild','isInContent','text','*Set\x20format:*\x20%0','matchingCallback','_itemLabelsCallbacks','remove','EmptyContainer','*Remove\x20format:*\x20%0','softBreak','deletion','label','isEqual','ELEMENT_SPACE','length','name','subType','removeEmptyContainer','removeContainer','quantity','1JaCZfX'];_0x3fa3=function(){return _0x19c8cc;};return _0x3fa3();}import{getTranslation as _0xe44137}from'./utils/common-translations.js';function _0x4d1d(_0x126dee,_0xdcdfe1){const _0x3fa335=_0x3fa3();return _0x4d1d=function(_0x4d1dc4,_0x4b1c2a){_0x4d1dc4=_0x4d1dc4-0x133;let _0x2cd61e=_0x3fa335[_0x4d1dc4];return _0x2cd61e;},_0x4d1d(_0x126dee,_0xdcdfe1);}import{priorities as _0x458a38,insertToPriorityArray as _0x98e04b}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x2d3892}from'./trackchangesediting.js';export default class f{constructor(_0x384600,_0x3fed94){const _0x2f0a6d=_0x4d1d;this[_0x2f0a6d(0x171)]=[],this[_0x2f0a6d(0x172)]=new Map(),this[_0x2f0a6d(0x17f)]=[],this[_0x2f0a6d(0x158)]=new Map(),this[_0x2f0a6d(0x16f)]=_0x384600,this[_0x2f0a6d(0x16d)]=_0x3fed94;}[_0x2c0973(0x15e)](_0x168b3b){const _0x292dbd=_0x2c0973,_0x1b851f=[],_0x7b9090=new Set(),_0x39ffa6=new Set();for(let _0x1635f6=0x0;_0x1635f6<_0x168b3b[_0x292dbd(0x188)];_0x1635f6++){const _0x2acbee=_0x168b3b[_0x1635f6];if(!_0x2acbee[_0x292dbd(0x17b)])continue;const _0x3c750a=this[_0x292dbd(0x192)](_0x2acbee);if(_0x3c750a){if(null!=_0x2acbee[_0x292dbd(0x18a)]){if(_0x7b9090[_0x292dbd(0x160)](_0x2acbee[_0x292dbd(0x18a)]))continue;_0x7b9090[_0x292dbd(0x155)](_0x2acbee[_0x292dbd(0x18a)]);}_0x1b851f[_0x292dbd(0x143)](_0x3c750a);}else{if(_0x292dbd(0x162)!=_0x2acbee[_0x292dbd(0x15f)])_0x292dbd(0x133)!=_0x2acbee[_0x292dbd(0x15f)]&&_0x292dbd(0x184)!=_0x2acbee[_0x292dbd(0x15f)]||this[_0x292dbd(0x147)](_0x1b851f,_0x2acbee,_0x168b3b[_0x1635f6+0x1]);else{const _0x469f42=_0x2acbee[_0x292dbd(0x177)][_0x292dbd(0x153)];if(_0x39ffa6[_0x292dbd(0x160)](_0x469f42))continue;_0x39ffa6[_0x292dbd(0x155)](_0x2acbee[_0x292dbd(0x177)][_0x292dbd(0x153)]),_0x469f42==_0x2d3892?this[_0x292dbd(0x14d)](_0x1b851f,_0x2acbee):this[_0x292dbd(0x173)](_0x1b851f,_0x2acbee);}}}return this[_0x292dbd(0x152)](_0x1b851f);}[_0x2c0973(0x16b)](_0x513b71){const _0x400c36=_0x2c0973;this[_0x400c36(0x171)][_0x400c36(0x143)](_0x513b71);}[_0x2c0973(0x168)](_0x212df6,_0x1b0fdf,_0x2329aa=_0x458a38[_0x2c0973(0x156)]){const _0x373057=_0x2c0973;_0x373057(0x157)==typeof _0x212df6?_0x98e04b(this[_0x373057(0x17f)],{'matchingCallback':_0x212df6,'label':_0x1b0fdf,'priority':_0x2329aa}):this[_0x373057(0x172)][_0x373057(0x149)](_0x212df6,_0x1b0fdf);}[_0x2c0973(0x16e)](_0x5180b5,_0x2ccefd){const _0x2fda45=_0x2c0973;this[_0x2fda45(0x158)][_0x2fda45(0x149)](_0x5180b5,_0x2ccefd);}[_0x2c0973(0x176)](_0x3fa4ea,_0x17239d=0x1){const _0x1de267=_0x2c0973;let _0x49ff57;for(const _0x11edf5 of this[_0x1de267(0x17f)])if(_0x11edf5[_0x1de267(0x17e)](_0x3fa4ea)){_0x49ff57=_0x11edf5[_0x1de267(0x185)];break;}return _0x49ff57||(_0x49ff57=this[_0x1de267(0x172)][_0x1de267(0x14f)](_0x3fa4ea[_0x1de267(0x189)])),_0x49ff57?_0x49ff57(_0x17239d):0x1!==_0x17239d?_0x17239d+'\x20'+_0x3fa4ea[_0x1de267(0x189)]+'s':''+_0x3fa4ea[_0x1de267(0x189)];}[_0x2c0973(0x154)](_0x14629d,_0x2209c9){const _0x46f7ee=_0x2c0973,_0x23b21c=_0x2209c9[_0x46f7ee(0x161)]()[_0x46f7ee(0x14a)](),_0x283f83=_0x46f7ee(0x133)==_0x2209c9[_0x46f7ee(0x15f)]?_0x46f7ee(0x155):_0x46f7ee(0x180);for(const _0x2dea0c of _0x23b21c){const _0x4a6cc5=_0x2dea0c[_0x46f7ee(0x18f)],_0x24a414=_0x14629d[_0x14629d[_0x46f7ee(0x188)]-0x1];if(_0x4a6cc5['is'](_0x46f7ee(0x146)))_0x24a414&&_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))>-0x1&&_0x14629d[_0x46f7ee(0x15c)](),_0x24a414&&_0x46f7ee(0x17c)==_0x24a414[_0x46f7ee(0x15f)]?_0x24a414[_0x283f83]+=_0x4a6cc5[_0x46f7ee(0x177)]:_0x14629d[_0x46f7ee(0x143)]({'type':_0x46f7ee(0x17c),'add':_0x46f7ee(0x155)==_0x283f83?_0x4a6cc5[_0x46f7ee(0x177)]:'','remove':_0x46f7ee(0x180)==_0x283f83?_0x4a6cc5[_0x46f7ee(0x177)]:''});else{if(this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x4a6cc5)){const _0x39b0f0=_0x4a6cc5;if(_0x24a414&&_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))>-0x1&&_0x14629d[_0x46f7ee(0x15c)](),_0x46f7ee(0x14c)==_0x2dea0c[_0x46f7ee(0x15f)])continue;_0x24a414&&_0x24a414[_0x46f7ee(0x15f)]==_0x283f83+_0x46f7ee(0x175)&&_0x24a414[_0x46f7ee(0x13e)][_0x46f7ee(0x189)]==_0x39b0f0[_0x46f7ee(0x189)]?_0x24a414[_0x46f7ee(0x18d)]++:_0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x175),'element':_0x39b0f0,'quantity':0x1}),_0x23b21c[_0x46f7ee(0x16c)](_0x359839=>!(_0x46f7ee(0x14c)==_0x359839[_0x46f7ee(0x15f)]&&_0x359839[_0x46f7ee(0x18f)]==_0x4a6cc5));}else{if(this[_0x46f7ee(0x16f)][_0x46f7ee(0x17a)](_0x4a6cc5,_0x46f7ee(0x15a))||_0x4a6cc5['is'](_0x46f7ee(0x13e),_0x46f7ee(0x183))){const _0x5a4e7c=_0x4a6cc5;if(_0x46f7ee(0x155)==_0x283f83&&_0x46f7ee(0x140)==_0x2dea0c[_0x46f7ee(0x15f)]||_0x46f7ee(0x180)==_0x283f83&&_0x46f7ee(0x14c)==_0x2dea0c[_0x46f7ee(0x15f)])continue;if(_0x24a414&&-0x1==_0x24a414[_0x46f7ee(0x15f)][_0x46f7ee(0x169)](_0x46f7ee(0x135))){_0x46f7ee(0x17c)==_0x24a414[_0x46f7ee(0x15f)]&&(_0x24a414[_0x283f83]+='\x0a');continue;}let _0x509073;if(_0x509073=_0x46f7ee(0x155)==_0x283f83?_0x5a4e7c[_0x46f7ee(0x165)]&&!this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x5a4e7c[_0x46f7ee(0x165)])?_0x5a4e7c[_0x46f7ee(0x165)]:null:_0x5a4e7c[_0x46f7ee(0x134)]&&!this[_0x46f7ee(0x16f)][_0x46f7ee(0x178)](_0x5a4e7c[_0x46f7ee(0x134)])?_0x5a4e7c[_0x46f7ee(0x134)]:null,_0x5a4e7c[_0x46f7ee(0x13f)]||_0x509073&&_0x509073[_0x46f7ee(0x13f)]){const _0x8bb43d=_0x509073&&_0x509073[_0x46f7ee(0x13f)]?_0x509073:_0x5a4e7c;_0x24a414&&_0x24a414[_0x46f7ee(0x15f)]==_0x283f83+_0x46f7ee(0x181)&&_0x24a414[_0x46f7ee(0x13e)][_0x46f7ee(0x189)]==_0x8bb43d[_0x46f7ee(0x189)]?_0x24a414[_0x46f7ee(0x18d)]++:_0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x181),'element':_0x8bb43d,'quantity':0x1});}else _0x14629d[_0x46f7ee(0x143)]({'type':_0x283f83+_0x46f7ee(0x135),'element':_0x5a4e7c});}}}}}[_0x2c0973(0x152)](_0x4c2d45){const _0xe99161=_0x2c0973,_0x556e6e=this[_0xe99161(0x16d)],_0x584460=[],_0x3bac2a=[],_0x33cbe7=[];for(const _0x41e6e3 of _0x4c2d45)switch(_0x41e6e3[_0xe99161(0x15f)]){case _0xe99161(0x17c):if(_0x41e6e3[_0xe99161(0x155)]=_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x13d)](/(\S)\u000A+(\S)/g,_0xe99161(0x13a))[_0xe99161(0x13d)](/\u000A/g,''),_0x41e6e3[_0xe99161(0x180)]=_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x13d)](/(\S)\u000A+(\S)/g,_0xe99161(0x13a))[_0xe99161(0x13d)](/\u000A/g,''),''!=_0x41e6e3[_0xe99161(0x155)]&&''!=_0x41e6e3[_0xe99161(0x180)]){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x13d),'content':_0xe44137(_0x556e6e,_0xe99161(0x164),['\x22'+_0x41e6e3[_0xe99161(0x180)]+'\x22','\x22'+_0x41e6e3[_0xe99161(0x155)]+'\x22'])});continue;}if(null!=_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x179)](/^ +$/)){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),_0xe44137(_0x556e6e,_0xe99161(0x187),_0x41e6e3[_0xe99161(0x155)][_0xe99161(0x188)]))});continue;}if(null!=_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x179)](/^ +$/)){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),_0xe44137(_0x556e6e,_0xe99161(0x187),_0x41e6e3[_0xe99161(0x180)][_0xe99161(0x188)]))});continue;}if(''!=_0x41e6e3[_0xe99161(0x155)]){_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),'\x22'+_0x41e6e3[_0xe99161(0x155)]+'\x22')});continue;}_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),'\x22'+_0x41e6e3[_0xe99161(0x180)]+'\x22')});continue;case _0xe99161(0x151):case _0xe99161(0x137):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x141),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x18b):case _0xe99161(0x148):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x145),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x190):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x133),'content':_0xe44137(_0x556e6e,_0xe99161(0x14b),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x18c):_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x184),'content':_0xe44137(_0x556e6e,_0xe99161(0x194),this[_0xe99161(0x176)](_0x41e6e3[_0xe99161(0x13e)],_0x41e6e3[_0xe99161(0x18d)]))});continue;case _0xe99161(0x142):_0x3bac2a[_0xe99161(0x143)](_0x41e6e3[_0xe99161(0x153)]);continue;case _0xe99161(0x191):_0x33cbe7[_0xe99161(0x143)](_0x41e6e3[_0xe99161(0x153)]);continue;default:_0x584460[_0xe99161(0x143)](_0x41e6e3);}if(_0x3bac2a[_0xe99161(0x188)]){const _0x131892=_0x3bac2a[_0xe99161(0x139)](_0x5432e4=>this[_0xe99161(0x158)][_0xe99161(0x160)](_0x5432e4)?this[_0xe99161(0x158)][_0xe99161(0x14f)](_0x5432e4):_0x5432e4)[_0xe99161(0x144)](',\x20');_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x150),'content':_0xe44137(this[_0xe99161(0x16d)],_0xe99161(0x17d),_0x131892)});}if(_0x33cbe7[_0xe99161(0x188)]){const _0x119d5f=_0x33cbe7[_0xe99161(0x139)](_0x4a807c=>this[_0xe99161(0x158)][_0xe99161(0x160)](_0x4a807c)?this[_0xe99161(0x158)][_0xe99161(0x14f)](_0x4a807c):_0x4a807c)[_0xe99161(0x144)](',\x20');_0x584460[_0xe99161(0x143)]({'type':_0xe99161(0x150),'content':_0xe44137(this[_0xe99161(0x16d)],_0xe99161(0x182),_0x119d5f)});}return _0x584460;}[_0x2c0973(0x192)](_0x2bfb16){const _0x110115=_0x2c0973;for(const _0x555edc of this[_0x110115(0x171)]){const _0xc4754a=_0x555edc(_0x2bfb16);if(_0xc4754a&&_0x110115(0x15f)in _0xc4754a)return _0xc4754a;}}[_0x2c0973(0x173)](_0x3a0f0a,_0x4f837b){const _0x57bbe7=_0x2c0973,_0x598fec=_0x4f837b[_0x57bbe7(0x177)],_0x43770b=void 0x0===_0x598fec[_0x57bbe7(0x166)]?_0x57bbe7(0x191):_0x57bbe7(0x142);_0x3a0f0a[_0x57bbe7(0x143)]({'type':_0x43770b,'key':_0x598fec[_0x57bbe7(0x153)]});}[_0x2c0973(0x14d)](_0x1ccfa2,_0x55939a){const _0x3bd5ba=_0x2c0973;_0x1ccfa2[_0x3bd5ba(0x143)]({'type':_0x3bd5ba(0x150),'content':_0xe44137(this[_0x3bd5ba(0x16d)],_0x3bd5ba(0x138),this[_0x3bd5ba(0x176)](_0x55939a[_0x3bd5ba(0x161)]()[_0x3bd5ba(0x174)][_0x3bd5ba(0x15b)],0x1))});}[_0x2c0973(0x147)](_0x450fa5,_0x4ea36d,_0x340fba){const _0x3ff85b=_0x2c0973;if(this[_0x3ff85b(0x154)](_0x450fa5,_0x4ea36d),_0x340fba&&_0x340fba[_0x3ff85b(0x161)]()&&!_0x4ea36d[_0x3ff85b(0x161)]()[_0x3ff85b(0x14e)][_0x3ff85b(0x186)](_0x340fba[_0x3ff85b(0x161)]()[_0x3ff85b(0x174)])){const _0x5f2063=_0x450fa5[_0x450fa5[_0x3ff85b(0x188)]-0x1],_0x30664e=_0x3ff85b(0x133)==_0x4ea36d[_0x3ff85b(0x15f)]?_0x3ff85b(0x155):_0x3ff85b(0x180);_0x5f2063&&_0x3ff85b(0x17c)==_0x5f2063[_0x3ff85b(0x15f)]&&(_0x5f2063[_0x30664e]+='\x0a');}}}
|
|
23
|
+
const _0x2ec086=_0x2cdd;(function(_0x175e4c,_0x3ba09c){const _0x1b0f12=_0x2cdd,_0x722111=_0x175e4c();while(!![]){try{const _0x368480=-parseInt(_0x1b0f12(0x1ca))/0x1+parseInt(_0x1b0f12(0x1fa))/0x2+parseInt(_0x1b0f12(0x1dc))/0x3*(parseInt(_0x1b0f12(0x1c0))/0x4)+parseInt(_0x1b0f12(0x1b9))/0x5*(parseInt(_0x1b0f12(0x209))/0x6)+-parseInt(_0x1b0f12(0x1c1))/0x7+-parseInt(_0x1b0f12(0x1fb))/0x8+parseInt(_0x1b0f12(0x211))/0x9;if(_0x368480===_0x3ba09c)break;else _0x722111['push'](_0x722111['shift']());}catch(_0x544608){_0x722111['push'](_0x722111['shift']());}}}(_0x1e09,0x3c315));import{getTranslation as _0x39d6d6}from'./utils/common-translations.js';import{priorities as _0x537e7f,insertToPriorityArray as _0x3a881d}from'ckeditor5/src/utils.js';function _0x1e09(){const _0x9732c1=['replace','_handleRenameSuggestionDescription','9BNyTgK','*Remove\x20format:*\x20%0','addContainer','_handleInsertRemoveSuggestionDescription','removeObject','nextSibling','addFormat','match','getItemLabel','EmptyContainer','quantity','ELEMENT_SPACE','isEqual','*Insert:*\x20%0','get','_locale','*Set\x20format:*\x20%0','_itemLabels','add','name','getFirstRange','isInContent','registerAttributeLabel','_handleAttributeSuggestionDescription','label','addEmptyContainer','format','_resolveDescriptionItems','getDescriptions','_customCallbacks','659194UFVpJm','2953072XOHZHf','*Remove:*\x20%0','addObject','elementEnd','newValue','nodeAfter','data','type','pop','registerElementLabel','$textProxy','skip','isEmpty','checkChild','474Mphdrr','start','*Split:*\x20%0','matchingCallback','function','isObject','normal','_attributeLabels','1673802nhfZxV','remove','registerDescriptionCallback','Object','element','*Merge:*\x20%0','previousSibling','push','24830qkgZAi','join','set','softBreak','*Change\x20to:*\x20%0','attribute','end','261292IfmvNr','1884540ApWbqb','Container','removeContainer','_addDescriptionItems','insertion','text','item','map','$1\x20$2','218955cmmFcW','$text','length','has','removeEmptyContainer','_schema','indexOf','getWalker','_handleCustomCallbackDescription','REPLACE_TEXT','removeFormat','elementStart','key','deletion','subType','_itemLabelsCallbacks'];_0x1e09=function(){return _0x9732c1;};return _0x1e09();}import{renameAttributeKey as _0x521728}from'./trackchangesediting.js';function _0x2cdd(_0x6214af,_0x1f314d){const _0x1e09b1=_0x1e09();return _0x2cdd=function(_0x2cddd1,_0x26205b){_0x2cddd1=_0x2cddd1-0x1b4;let _0xd78f40=_0x1e09b1[_0x2cddd1];return _0xd78f40;},_0x2cdd(_0x6214af,_0x1f314d);}export default class f{constructor(_0xcc9287,_0x25dd8b){const _0xfe36b2=_0x2cdd;this[_0xfe36b2(0x1f9)]=[],this[_0xfe36b2(0x1ed)]=new Map(),this[_0xfe36b2(0x1d9)]=[],this[_0xfe36b2(0x210)]=new Map(),this[_0xfe36b2(0x1cf)]=_0xcc9287,this[_0xfe36b2(0x1eb)]=_0x25dd8b;}[_0x2ec086(0x1f8)](_0x214c9c){const _0x948266=_0x2ec086,_0x447fcb=[],_0xf8bc95=new Set(),_0x3b8026=new Set();for(let _0x520c71=0x0;_0x520c71<_0x214c9c[_0x948266(0x1cc)];_0x520c71++){const _0x345722=_0x214c9c[_0x520c71];if(!_0x345722[_0x948266(0x1f1)])continue;const _0x1d8f16=this[_0x948266(0x1d2)](_0x345722);if(_0x1d8f16){if(null!=_0x345722[_0x948266(0x1d8)]){if(_0xf8bc95[_0x948266(0x1cd)](_0x345722[_0x948266(0x1d8)]))continue;_0xf8bc95[_0x948266(0x1ee)](_0x345722[_0x948266(0x1d8)]);}_0x447fcb[_0x948266(0x1b8)](_0x1d8f16);}else{if(_0x948266(0x1be)!=_0x345722[_0x948266(0x202)])_0x948266(0x1c5)!=_0x345722[_0x948266(0x202)]&&_0x948266(0x1d7)!=_0x345722[_0x948266(0x202)]||this[_0x948266(0x1df)](_0x447fcb,_0x345722,_0x214c9c[_0x520c71+0x1]);else{const _0x1d1918=_0x345722[_0x948266(0x201)][_0x948266(0x1d6)];if(_0x3b8026[_0x948266(0x1cd)](_0x1d1918))continue;_0x3b8026[_0x948266(0x1ee)](_0x345722[_0x948266(0x201)][_0x948266(0x1d6)]),_0x1d1918==_0x521728?this[_0x948266(0x1db)](_0x447fcb,_0x345722):this[_0x948266(0x1f3)](_0x447fcb,_0x345722);}}}return this[_0x948266(0x1f7)](_0x447fcb);}[_0x2ec086(0x213)](_0x38bf0c){const _0x3942ce=_0x2ec086;this[_0x3942ce(0x1f9)][_0x3942ce(0x1b8)](_0x38bf0c);}[_0x2ec086(0x204)](_0x228fc0,_0x3476c7,_0x554c8d=_0x537e7f[_0x2ec086(0x20f)]){const _0xf9f743=_0x2ec086;_0xf9f743(0x20d)==typeof _0x228fc0?_0x3a881d(this[_0xf9f743(0x1d9)],{'matchingCallback':_0x228fc0,'label':_0x3476c7,'priority':_0x554c8d}):this[_0xf9f743(0x1ed)][_0xf9f743(0x1bb)](_0x228fc0,_0x3476c7);}[_0x2ec086(0x1f2)](_0x288cd6,_0xb49ed1){const _0x333285=_0x2ec086;this[_0x333285(0x210)][_0x333285(0x1bb)](_0x288cd6,_0xb49ed1);}[_0x2ec086(0x1e4)](_0x3144f8,_0x3859aa=0x1){const _0x36b16a=_0x2ec086;let _0x173ad3;for(const _0x35075c of this[_0x36b16a(0x1d9)])if(_0x35075c[_0x36b16a(0x20c)](_0x3144f8)){_0x173ad3=_0x35075c[_0x36b16a(0x1f4)];break;}return _0x173ad3||(_0x173ad3=this[_0x36b16a(0x1ed)][_0x36b16a(0x1ea)](_0x3144f8[_0x36b16a(0x1ef)])),_0x173ad3?_0x173ad3(_0x3859aa):0x1!==_0x3859aa?_0x3859aa+'\x20'+_0x3144f8[_0x36b16a(0x1ef)]+'s':''+_0x3144f8[_0x36b16a(0x1ef)];}[_0x2ec086(0x1c4)](_0x182759,_0x4f3615){const _0x1bacbd=_0x2ec086,_0x565655=_0x4f3615[_0x1bacbd(0x1f0)]()[_0x1bacbd(0x1d1)](),_0xcf6ef4=_0x1bacbd(0x1c5)==_0x4f3615[_0x1bacbd(0x202)]?_0x1bacbd(0x1ee):_0x1bacbd(0x212);for(const _0x117174 of _0x565655){const _0x29eed6=_0x117174[_0x1bacbd(0x1c7)],_0x564a31=_0x182759[_0x182759[_0x1bacbd(0x1cc)]-0x1];if(_0x29eed6['is'](_0x1bacbd(0x205)))_0x564a31&&_0x564a31[_0x1bacbd(0x202)][_0x1bacbd(0x1d0)](_0x1bacbd(0x1c2))>-0x1&&_0x182759[_0x1bacbd(0x203)](),_0x564a31&&_0x1bacbd(0x1c6)==_0x564a31[_0x1bacbd(0x202)]?_0x564a31[_0xcf6ef4]+=_0x29eed6[_0x1bacbd(0x201)]:_0x182759[_0x1bacbd(0x1b8)]({'type':_0x1bacbd(0x1c6),'add':_0x1bacbd(0x1ee)==_0xcf6ef4?_0x29eed6[_0x1bacbd(0x201)]:'','remove':_0x1bacbd(0x212)==_0xcf6ef4?_0x29eed6[_0x1bacbd(0x201)]:''});else{if(this[_0x1bacbd(0x1cf)][_0x1bacbd(0x20e)](_0x29eed6)){const _0x1ebcb5=_0x29eed6;if(_0x564a31&&_0x564a31[_0x1bacbd(0x202)][_0x1bacbd(0x1d0)](_0x1bacbd(0x1c2))>-0x1&&_0x182759[_0x1bacbd(0x203)](),_0x1bacbd(0x1fe)==_0x117174[_0x1bacbd(0x202)])continue;_0x564a31&&_0x564a31[_0x1bacbd(0x202)]==_0xcf6ef4+_0x1bacbd(0x1b4)&&_0x564a31[_0x1bacbd(0x1b5)][_0x1bacbd(0x1ef)]==_0x1ebcb5[_0x1bacbd(0x1ef)]?_0x564a31[_0x1bacbd(0x1e6)]++:_0x182759[_0x1bacbd(0x1b8)]({'type':_0xcf6ef4+_0x1bacbd(0x1b4),'element':_0x1ebcb5,'quantity':0x1}),_0x565655[_0x1bacbd(0x206)](_0x564945=>!(_0x1bacbd(0x1fe)==_0x564945[_0x1bacbd(0x202)]&&_0x564945[_0x1bacbd(0x1c7)]==_0x29eed6));}else{if(this[_0x1bacbd(0x1cf)][_0x1bacbd(0x208)](_0x29eed6,_0x1bacbd(0x1cb))||_0x29eed6['is'](_0x1bacbd(0x1b5),_0x1bacbd(0x1bc))){const _0x170bcd=_0x29eed6;if(_0x1bacbd(0x1ee)==_0xcf6ef4&&_0x1bacbd(0x1d5)==_0x117174[_0x1bacbd(0x202)]||_0x1bacbd(0x212)==_0xcf6ef4&&_0x1bacbd(0x1fe)==_0x117174[_0x1bacbd(0x202)])continue;if(_0x564a31&&-0x1==_0x564a31[_0x1bacbd(0x202)][_0x1bacbd(0x1d0)](_0x1bacbd(0x1c2))){_0x1bacbd(0x1c6)==_0x564a31[_0x1bacbd(0x202)]&&(_0x564a31[_0xcf6ef4]+='\x0a');continue;}let _0x53c6ee;if(_0x53c6ee=_0x1bacbd(0x1ee)==_0xcf6ef4?_0x170bcd[_0x1bacbd(0x1e1)]&&!this[_0x1bacbd(0x1cf)][_0x1bacbd(0x20e)](_0x170bcd[_0x1bacbd(0x1e1)])?_0x170bcd[_0x1bacbd(0x1e1)]:null:_0x170bcd[_0x1bacbd(0x1b7)]&&!this[_0x1bacbd(0x1cf)][_0x1bacbd(0x20e)](_0x170bcd[_0x1bacbd(0x1b7)])?_0x170bcd[_0x1bacbd(0x1b7)]:null,_0x170bcd[_0x1bacbd(0x207)]||_0x53c6ee&&_0x53c6ee[_0x1bacbd(0x207)]){const _0x43643f=_0x53c6ee&&_0x53c6ee[_0x1bacbd(0x207)]?_0x53c6ee:_0x170bcd;_0x564a31&&_0x564a31[_0x1bacbd(0x202)]==_0xcf6ef4+_0x1bacbd(0x1e5)&&_0x564a31[_0x1bacbd(0x1b5)][_0x1bacbd(0x1ef)]==_0x43643f[_0x1bacbd(0x1ef)]?_0x564a31[_0x1bacbd(0x1e6)]++:_0x182759[_0x1bacbd(0x1b8)]({'type':_0xcf6ef4+_0x1bacbd(0x1e5),'element':_0x43643f,'quantity':0x1});}else _0x182759[_0x1bacbd(0x1b8)]({'type':_0xcf6ef4+_0x1bacbd(0x1c2),'element':_0x170bcd});}}}}}[_0x2ec086(0x1f7)](_0x40f966){const _0x17f83a=_0x2ec086,_0x1402e1=this[_0x17f83a(0x1eb)],_0x119ee8=[],_0x5f0807=[],_0x44d3f4=[];for(const _0x22a62f of _0x40f966)switch(_0x22a62f[_0x17f83a(0x202)]){case _0x17f83a(0x1c6):if(_0x22a62f[_0x17f83a(0x1ee)]=_0x22a62f[_0x17f83a(0x1ee)][_0x17f83a(0x1da)](/(\S)\u000A+(\S)/g,_0x17f83a(0x1c9))[_0x17f83a(0x1da)](/\u000A/g,''),_0x22a62f[_0x17f83a(0x212)]=_0x22a62f[_0x17f83a(0x212)][_0x17f83a(0x1da)](/(\S)\u000A+(\S)/g,_0x17f83a(0x1c9))[_0x17f83a(0x1da)](/\u000A/g,''),''!=_0x22a62f[_0x17f83a(0x1ee)]&&''!=_0x22a62f[_0x17f83a(0x212)]){_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1da),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1d3),['\x22'+_0x22a62f[_0x17f83a(0x212)]+'\x22','\x22'+_0x22a62f[_0x17f83a(0x1ee)]+'\x22'])});continue;}if(null!=_0x22a62f[_0x17f83a(0x1ee)][_0x17f83a(0x1e3)](/^ +$/)){_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1c5),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1e9),_0x39d6d6(_0x1402e1,_0x17f83a(0x1e7),_0x22a62f[_0x17f83a(0x1ee)][_0x17f83a(0x1cc)]))});continue;}if(null!=_0x22a62f[_0x17f83a(0x212)][_0x17f83a(0x1e3)](/^ +$/)){_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1d7),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1fc),_0x39d6d6(_0x1402e1,_0x17f83a(0x1e7),_0x22a62f[_0x17f83a(0x212)][_0x17f83a(0x1cc)]))});continue;}if(''!=_0x22a62f[_0x17f83a(0x1ee)]){_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1c5),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1e9),'\x22'+_0x22a62f[_0x17f83a(0x1ee)]+'\x22')});continue;}_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1d7),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1fc),'\x22'+_0x22a62f[_0x17f83a(0x212)]+'\x22')});continue;case _0x17f83a(0x1f5):case _0x17f83a(0x1fd):_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1c5),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1e9),this[_0x17f83a(0x1e4)](_0x22a62f[_0x17f83a(0x1b5)],_0x22a62f[_0x17f83a(0x1e6)]))});continue;case _0x17f83a(0x1ce):case _0x17f83a(0x1e0):_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1d7),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1fc),this[_0x17f83a(0x1e4)](_0x22a62f[_0x17f83a(0x1b5)],_0x22a62f[_0x17f83a(0x1e6)]))});continue;case _0x17f83a(0x1de):_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1c5),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x20b),this[_0x17f83a(0x1e4)](_0x22a62f[_0x17f83a(0x1b5)],_0x22a62f[_0x17f83a(0x1e6)]))});continue;case _0x17f83a(0x1c3):_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1d7),'content':_0x39d6d6(_0x1402e1,_0x17f83a(0x1b6),this[_0x17f83a(0x1e4)](_0x22a62f[_0x17f83a(0x1b5)],_0x22a62f[_0x17f83a(0x1e6)]))});continue;case _0x17f83a(0x1e2):_0x5f0807[_0x17f83a(0x1b8)](_0x22a62f[_0x17f83a(0x1d6)]);continue;case _0x17f83a(0x1d4):_0x44d3f4[_0x17f83a(0x1b8)](_0x22a62f[_0x17f83a(0x1d6)]);continue;default:_0x119ee8[_0x17f83a(0x1b8)](_0x22a62f);}if(_0x5f0807[_0x17f83a(0x1cc)]){const _0x25fb75=_0x5f0807[_0x17f83a(0x1c8)](_0x572606=>this[_0x17f83a(0x210)][_0x17f83a(0x1cd)](_0x572606)?this[_0x17f83a(0x210)][_0x17f83a(0x1ea)](_0x572606):_0x572606)[_0x17f83a(0x1ba)](',\x20');_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1f6),'content':_0x39d6d6(this[_0x17f83a(0x1eb)],_0x17f83a(0x1ec),_0x25fb75)});}if(_0x44d3f4[_0x17f83a(0x1cc)]){const _0x2419c5=_0x44d3f4[_0x17f83a(0x1c8)](_0x29637f=>this[_0x17f83a(0x210)][_0x17f83a(0x1cd)](_0x29637f)?this[_0x17f83a(0x210)][_0x17f83a(0x1ea)](_0x29637f):_0x29637f)[_0x17f83a(0x1ba)](',\x20');_0x119ee8[_0x17f83a(0x1b8)]({'type':_0x17f83a(0x1f6),'content':_0x39d6d6(this[_0x17f83a(0x1eb)],_0x17f83a(0x1dd),_0x2419c5)});}return _0x119ee8;}[_0x2ec086(0x1d2)](_0x5d8721){const _0x5c1d96=_0x2ec086;for(const _0x19198d of this[_0x5c1d96(0x1f9)]){const _0x197b99=_0x19198d(_0x5d8721);if(_0x197b99&&_0x5c1d96(0x202)in _0x197b99)return _0x197b99;}}[_0x2ec086(0x1f3)](_0x353dfa,_0xf3f3){const _0x38d312=_0x2ec086,_0x3bf356=_0xf3f3[_0x38d312(0x201)],_0x44672a=void 0x0===_0x3bf356[_0x38d312(0x1ff)]?_0x38d312(0x1d4):_0x38d312(0x1e2);_0x353dfa[_0x38d312(0x1b8)]({'type':_0x44672a,'key':_0x3bf356[_0x38d312(0x1d6)]});}[_0x2ec086(0x1db)](_0x26dcb1,_0x23655f){const _0xbf7e73=_0x2ec086;_0x26dcb1[_0xbf7e73(0x1b8)]({'type':_0xbf7e73(0x1f6),'content':_0x39d6d6(this[_0xbf7e73(0x1eb)],_0xbf7e73(0x1bd),this[_0xbf7e73(0x1e4)](_0x23655f[_0xbf7e73(0x1f0)]()[_0xbf7e73(0x20a)][_0xbf7e73(0x200)],0x1))});}[_0x2ec086(0x1df)](_0x1ef9f1,_0x4afadf,_0x3fc9e2){const _0x2e39eb=_0x2ec086;if(this[_0x2e39eb(0x1c4)](_0x1ef9f1,_0x4afadf),_0x3fc9e2&&_0x3fc9e2[_0x2e39eb(0x1f0)]()&&!_0x4afadf[_0x2e39eb(0x1f0)]()[_0x2e39eb(0x1bf)][_0x2e39eb(0x1e8)](_0x3fc9e2[_0x2e39eb(0x1f0)]()[_0x2e39eb(0x20a)])){const _0x11a6fb=_0x1ef9f1[_0x1ef9f1[_0x2e39eb(0x1cc)]-0x1],_0x317136=_0x2e39eb(0x1c5)==_0x4afadf[_0x2e39eb(0x202)]?_0x2e39eb(0x1ee):_0x2e39eb(0x212);_0x11a6fb&&_0x2e39eb(0x1c6)==_0x11a6fb[_0x2e39eb(0x202)]&&(_0x11a6fb[_0x317136]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ab7ca=_0x3463;(function(_0x5436cb,_0x25c676){var _0x174773=_0x3463,_0x32c23d=_0x5436cb();while(!![]){try{var _0x2c4e47=-parseInt(_0x174773(0x1cf))/0x1+parseInt(_0x174773(0x1d2))/0x2*(parseInt(_0x174773(0x1e1))/0x3)+parseInt(_0x174773(0x1df))/0x4+parseInt(_0x174773(0x1dd))/0x5+parseInt(_0x174773(0x1db))/0x6*(parseInt(_0x174773(0x1d9))/0x7)+-parseInt(_0x174773(0x1d1))/0x8*(-parseInt(_0x174773(0x1de))/0x9)+-parseInt(_0x174773(0x1cd))/0xa;if(_0x2c4e47===_0x25c676)break;else _0x32c23d['push'](_0x32c23d['shift']());}catch(_0x2b2459){_0x32c23d['push'](_0x32c23d['shift']());}}}(_0x4bd1,0x3621e));import{Plugin as _0x47c2d4}from'ckeditor5/src/core.js';import _0x1bd9b0 from'./trackchangesui.js';function _0x4bd1(){var _0x33a64c=['plugins','requires','Comments','getSuggestion','addSuggestion','pluginName','7AfHGTu','adapter','2137830UNhwBV','getSuggestions','1987355ypcxml','1540098PPMftZ','277728iYDLSe','get','9psMLMT','editor','7690390MpDaDy','addSuggestionData','224208XUuIAg','TrackChanges','16SVhWuH','33014haZjgD'];_0x4bd1=function(){return _0x33a64c;};return _0x4bd1();}import _0x28ff48 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x3463(_0x13219e,_0x168edd){var _0x4bd16e=_0x4bd1();return _0x3463=function(_0x346305,_0x170a90){_0x346305=_0x346305-0x1cc;var _0x3d2163=_0x4bd16e[_0x346305];return _0x3d2163;},_0x3463(_0x13219e,_0x168edd);}export default class k extends _0x47c2d4{static get[_0x1ab7ca(0x1d4)](){var _0x1f097f=_0x1ab7ca;return[_0x28ff48,_0x1bd9b0,_0x1f097f(0x1d5)];}static get[_0x1ab7ca(0x1d8)](){var _0x22fb1a=_0x1ab7ca;return _0x22fb1a(0x1d0);}set[_0x1ab7ca(0x1da)](_0x23a7e9){var _0x3bbf07=_0x1ab7ca;this[_0x3bbf07(0x1cc)][_0x3bbf07(0x1d3)][_0x3bbf07(0x1e0)](_0x28ff48)[_0x3bbf07(0x1da)]=_0x23a7e9;}get[_0x1ab7ca(0x1da)](){var _0x3293ce=_0x1ab7ca;return this[_0x3293ce(0x1cc)][_0x3293ce(0x1d3)][_0x3293ce(0x1e0)](_0x28ff48)[_0x3293ce(0x1da)];}[_0x1ab7ca(0x1d7)](_0x339af0){var _0x249b64=_0x1ab7ca;return this[_0x249b64(0x1cc)][_0x249b64(0x1d3)][_0x249b64(0x1e0)](_0x28ff48)[_0x249b64(0x1ce)](_0x339af0);}[_0x1ab7ca(0x1dc)]({skipNotAttached:_0xb90b6e=!0x1,toJSON:_0x3d9721=!0x1}={}){var _0x43f6e8=_0x1ab7ca;return this[_0x43f6e8(0x1cc)][_0x43f6e8(0x1d3)][_0x43f6e8(0x1e0)](_0x28ff48)[_0x43f6e8(0x1dc)]({'skipNotAttached':_0xb90b6e,'toJSON':_0x3d9721});}[_0x1ab7ca(0x1d6)](_0x127111){var _0xadab87=_0x1ab7ca;return this[_0xadab87(0x1cc)][_0xadab87(0x1d3)][_0xadab87(0x1e0)](_0x28ff48)[_0xadab87(0x1d6)](_0x127111);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6266(){const _0x1c70c9=['getRootNames','trackChangesData.editorCreator','Pagination','destroy','2868045xlGrwG','editor','function','pluginName','init','define','acceptAllSuggestions','6sHAnzu','getSuggestions','track-changes-data-invalid-editor-creator','map','useAnonymousUser','editorCreator','5076488ggyDNF','push','result','discardAllSuggestions','createElement','execute','document','users','requires','getDataWithAcceptedSuggestions','trackChangesData','getUser','end','data','CommentsRepository','TrackChangesEditing','addSuggestionData','getFullData','div','_adapter','constructor','getDataWithDiscardedSuggestions','352174aAsMpU','model','12583197prXjme','3yOweFz','create','1751374nJbsnn','reduce','10629577fKXrrR','appendChild','TrackChangesDataGetter','getRootsAttributes','createDocumentFragment','addUser','get','Users','rootsAttributes','set','9466224PjNNjj','name','config','TrackChangesData','plugins'];_0x6266=function(){return _0x1c70c9;};return _0x6266();}const _0x4e6e0b=_0x2c81;function _0x2c81(_0x2095a9,_0x2a11ee){const _0x6266cc=_0x6266();return _0x2c81=function(_0x2c81b5,_0x139985){_0x2c81b5=_0x2c81b5-0x187;let _0x5b5f05=_0x6266cc[_0x2c81b5];return _0x5b5f05;},_0x2c81(_0x2095a9,_0x2a11ee);}(function(_0x1b470a,_0x49b4fc){const _0x43e7a6=_0x2c81,_0x48c01c=_0x1b470a();while(!![]){try{const _0xd3bb75=-parseInt(_0x43e7a6(0x1b1))/0x1+-parseInt(_0x43e7a6(0x1b6))/0x2*(parseInt(_0x43e7a6(0x1b4))/0x3)+parseInt(_0x43e7a6(0x19b))/0x4+parseInt(_0x43e7a6(0x18e))/0x5*(-parseInt(_0x43e7a6(0x195))/0x6)+parseInt(_0x43e7a6(0x1b8))/0x7+parseInt(_0x43e7a6(0x1c2))/0x8+-parseInt(_0x43e7a6(0x1b3))/0x9;if(_0xd3bb75===_0x49b4fc)break;else _0x48c01c['push'](_0x48c01c['shift']());}catch(_0x5126d3){_0x48c01c['push'](_0x48c01c['shift']());}}}(_0x6266,0xbc4ec));import{Plugin as _0x1b517e}from'ckeditor5/src/core.js';import{CKEditorError as _0xa617fc}from'ckeditor5/src/utils.js';import _0x704c19 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0xa86e65}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x4e6e0b(0x18c)];export default class P extends _0x1b517e{static get[_0x4e6e0b(0x1a3)](){return[_0x704c19];}static get[_0x4e6e0b(0x191)](){const _0x1e1603=_0x4e6e0b;return _0x1e1603(0x188);}[_0x4e6e0b(0x192)](){const _0x5da3cc=_0x4e6e0b,_0x40a517=this[_0x5da3cc(0x18f)];if(_0x40a517[_0x5da3cc(0x187)][_0x5da3cc(0x193)](_0x5da3cc(0x18b),_0x36c42c=>{const _0x16f336=_0x5da3cc,_0x318b1a=_0x40a517[_0x16f336(0x1b2)][_0x16f336(0x1a1)][_0x16f336(0x18a)]()[_0x16f336(0x1b7)]((_0x5cc7e1,_0x44dd62)=>(_0x5cc7e1[_0x44dd62]='',_0x5cc7e1),{});return _0x40a517[_0x16f336(0x1af)][_0x16f336(0x1b5)](_0x318b1a,_0x36c42c);}),_0x5da3cc(0x190)!=typeof _0x40a517[_0x5da3cc(0x187)][_0x5da3cc(0x1be)](_0x5da3cc(0x1a5))[_0x5da3cc(0x19a)])throw new _0xa617fc(_0x5da3cc(0x197));}[_0x4e6e0b(0x1a4)](_0x4a17f2){const _0x57a11e=_0x4e6e0b;return N(this[_0x57a11e(0x18f)],!0x0,_0x4a17f2);}[_0x4e6e0b(0x1b0)](_0x40fc57){const _0x353b52=_0x4e6e0b;return N(this[_0x353b52(0x18f)],!0x1,_0x40fc57);}}class D extends _0x1b517e{static get[_0x4e6e0b(0x191)](){const _0xe0bd4b=_0x4e6e0b;return _0xe0bd4b(0x1ba);}constructor(_0x3e5ff8){const _0x2bf62d=_0x4e6e0b;super(_0x3e5ff8),this[_0x2bf62d(0x19d)]=_0x2bf62d(0x1a7);}[_0x4e6e0b(0x192)](){const _0x44ae8c=_0x4e6e0b;this[_0x44ae8c(0x18f)][_0x44ae8c(0x189)][_0x44ae8c(0x1be)](_0x44ae8c(0x1a9))[_0x44ae8c(0x1ae)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x44ae8c(0x18f)][_0x44ae8c(0x189)][_0x44ae8c(0x1be)](_0x44ae8c(0x1aa))[_0x44ae8c(0x1ae)]=null;}}function v(_0xd259e9){const _0x4b7418=_0x4e6e0b;return void 0x0!==_0xd259e9[_0x4b7418(0x1bb)];}async function N(_0x435f8d,_0x3b2995,_0x43e18b){const _0x11f757=_0x4e6e0b,_0x3370ef=_0xa86e65(_0x435f8d,T);_0x3370ef[_0x11f757(0x189)][_0x11f757(0x19c)](_0x704c19,D),_0x3370ef[_0x11f757(0x1c0)]=v(_0x435f8d)?_0x435f8d[_0x11f757(0x1bb)]():void 0x0;const _0xf73f08=document[_0x11f757(0x1bc)](),_0x47a021=_0x435f8d[_0x11f757(0x187)][_0x11f757(0x1be)](_0x11f757(0x1a5))[_0x11f757(0x19a)],_0x181646=await _0x47a021(_0x3370ef,()=>function(_0x325a4c){const _0x448bc2=_0x11f757,_0x407018=document[_0x448bc2(0x19f)](_0x448bc2(0x1ad));return _0x325a4c[_0x448bc2(0x1b9)](_0x407018),_0x407018;}(_0xf73f08));!function(_0x20475f,_0x3deda0){const _0x606d10=_0x11f757,_0x598411=_0x20475f[_0x606d10(0x1b2)][_0x606d10(0x1a1)][_0x606d10(0x18a)]()[_0x606d10(0x1b7)]((_0x5b138b,_0x2ada06)=>(_0x5b138b[_0x2ada06]=_0x20475f[_0x606d10(0x1a8)][_0x606d10(0x1be)]({'rootName':_0x2ada06}),_0x5b138b),{}),_0x47d51b=_0x20475f[_0x606d10(0x189)][_0x606d10(0x1be)](_0x606d10(0x1bf))[_0x606d10(0x1a2)][_0x606d10(0x198)](_0x4dc6df=>({'id':_0x4dc6df['id'],'name':_0x4dc6df[_0x606d10(0x1c3)]})),_0x7636f2=_0x20475f[_0x606d10(0x189)][_0x606d10(0x1be)](_0x606d10(0x1aa))[_0x606d10(0x196)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x35b237=_0x3deda0[_0x606d10(0x189)][_0x606d10(0x1be)](_0x606d10(0x1bf)),_0x106aeb=_0x3deda0[_0x606d10(0x189)][_0x606d10(0x1be)](_0x606d10(0x1aa));for(const _0x2661d3 of _0x47d51b)_0x35b237[_0x606d10(0x1a6)](_0x2661d3['id'])||_0x35b237[_0x606d10(0x1bd)](_0x2661d3);_0x35b237['me']||_0x35b237[_0x606d10(0x199)]();for(const _0x2859c4 of _0x7636f2)_0x106aeb[_0x606d10(0x1ab)](_0x2859c4);_0x3deda0[_0x606d10(0x1a8)][_0x606d10(0x1c1)](_0x598411);}(_0x435f8d,_0x181646),_0x181646[_0x11f757(0x1a0)](_0x3b2995?_0x11f757(0x194):_0x11f757(0x19e));const _0x4c8e6c=v(_0x181646)?_0x181646[_0x11f757(0x1ac)](_0x43e18b):_0x181646[_0x11f757(0x1a8)][_0x11f757(0x1be)](_0x43e18b);return await _0x181646[_0x11f757(0x18d)](),_0x4c8e6c;}
|