@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250130.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3750e9=_0x12e6;(function(_0x193e69,_0x462aeb){const _0x4476ea=_0x12e6,_0x320c3a=_0x193e69();while(!![]){try{const _0x5a0af2=parseInt(_0x4476ea(0x68))/0x1+-parseInt(_0x4476ea(0x70))/0x2*(parseInt(_0x4476ea(0x94))/0x3)+-parseInt(_0x4476ea(0x80))/0x4*(-parseInt(_0x4476ea(0x7c))/0x5)+parseInt(_0x4476ea(0x98))/0x6+-parseInt(_0x4476ea(0x78))/0x7*(-parseInt(_0x4476ea(0x87))/0x8)+-parseInt(_0x4476ea(0x74))/0x9+-parseInt(_0x4476ea(0x6a))/0xa;if(_0x5a0af2===_0x462aeb)break;else _0x320c3a['push'](_0x320c3a['shift']());}catch(_0x1a173e){_0x320c3a['push'](_0x320c3a['shift']());}}}(_0x4591,0x1cda3));function _0x12e6(_0x62583d,_0x2a5eca){const _0x459186=_0x4591();return _0x12e6=function(_0x12e6e7,_0x40fd32){_0x12e6e7=_0x12e6e7-0x65;let _0x49ae3e=_0x459186[_0x12e6e7];return _0x49ae3e;},_0x12e6(_0x62583d,_0x2a5eca);}export function formatSource(_0x5478fe){return $(_0x5478fe)?formatHtml(_0x5478fe):_0x5478fe;}export function unformatSource(_0x3ff29e){const _0xab202c=_0x12e6;return $(_0x3ff29e[_0xab202c(0x79)](/^[\n\s]*/g,''))?_0x3ff29e[_0xab202c(0x79)](/\s+/g,''):_0x3ff29e;}export function formatHtml(_0x20196f){const _0x33f7f0=_0x12e6,_0x366b93=[{'name':_0x33f7f0(0x8c),'isVoid':!0x1},{'name':_0x33f7f0(0x7f),'isVoid':!0x1},{'name':_0x33f7f0(0x90),'isVoid':!0x1},{'name':_0x33f7f0(0x6b),'isVoid':!0x1},{'name':_0x33f7f0(0x82),'isVoid':!0x1},{'name':_0x33f7f0(0x8d),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x33f7f0(0x8f),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x33f7f0(0x99),'isVoid':!0x1},{'name':_0x33f7f0(0x95),'isVoid':!0x1},{'name':_0x33f7f0(0x77),'isVoid':!0x1},{'name':_0x33f7f0(0x76),'isVoid':!0x1},{'name':_0x33f7f0(0x71),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0x33f7f0(0x92),'isVoid':!0x1},{'name':_0x33f7f0(0x83),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x33f7f0(0x65),'isVoid':!0x1},{'name':_0x33f7f0(0x75),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x33f7f0(0x6d),'isVoid':!0x1},{'name':_0x33f7f0(0x67),'isVoid':!0x1},{'name':_0x33f7f0(0x6e),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x33f7f0(0x66),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x686fcd=_0x366b93[_0x33f7f0(0x89)](_0x5c288a=>_0x5c288a[_0x33f7f0(0x96)])[_0x33f7f0(0x73)]('|'),_0x48f97b=_0x20196f[_0x33f7f0(0x79)](new RegExp(_0x33f7f0(0x86)+_0x686fcd+_0x33f7f0(0x81),'g'),_0x33f7f0(0x7d))[_0x33f7f0(0x79)](/<br[^>]*>/g,_0x33f7f0(0x88))[_0x33f7f0(0x8a)]('\x0a');let _0x5044e6=0x0,_0x20997f=!0x1;return _0x48f97b[_0x33f7f0(0x7e)](_0x4c22fb=>_0x4c22fb[_0x33f7f0(0x85)])[_0x33f7f0(0x89)](_0x432831=>(_0x20997f=function(_0x171623,_0x53e1eb){const _0x490809=_0x33f7f0;return new RegExp(_0x490809(0x8e))[_0x490809(0x91)](_0x171623)?_0x490809(0x69):new RegExp(_0x490809(0x7b))[_0x490809(0x91)](_0x171623)?_0x490809(0x6c):(_0x490809(0x69)===_0x53e1eb||_0x490809(0x84)===_0x53e1eb)&&_0x490809(0x84);}(_0x432831,_0x20997f),function(_0x386ba6,_0x2f51c3){const _0x4967ec=_0x33f7f0;return _0x2f51c3[_0x4967ec(0x97)](_0x5c846d=>!_0x5c846d[_0x4967ec(0x7a)]&&!!new RegExp('<'+_0x5c846d[_0x4967ec(0x96)]+_0x4967ec(0x72))[_0x4967ec(0x91)](_0x386ba6));}(_0x432831,_0x366b93)?X(_0x432831,_0x5044e6++):function(_0x1f16c5,_0x456cbc){const _0x5d497b=_0x33f7f0;return _0x456cbc[_0x5d497b(0x97)](_0xaa136a=>new RegExp('</'+_0xaa136a[_0x5d497b(0x96)]+'>')[_0x5d497b(0x91)](_0x1f16c5));}(_0x432831,_0x366b93)?X(_0x432831,--_0x5044e6):_0x33f7f0(0x84)===_0x20997f||_0x33f7f0(0x6c)===_0x20997f?_0x432831:X(_0x432831,_0x5044e6)))[_0x33f7f0(0x73)]('\x0a');}function $(_0xe1f38b){const _0x39bbe3=_0x12e6;return _0xe1f38b[_0x39bbe3(0x93)]('<');}function _0x4591(){const _0x44ef04=['</pre>','605eSbNtG','\x0a$&\x0a','filter','article','4052bRxOkv',')(\x20.*?)?>','details','hgroup','middle','length','</?(','3904IVnsGg','$&\x0a','map','split','max','address','dialog','<pre(\x20.*?)?>','div','aside','test','header','startsWith','666LLjKAj','figcaption','name','some','862920GUtikF','fieldset','\x20\x20\x20\x20','main','thead','table','76056CCTNyR','first','31670gdfgPL','blockquote','last','section','tbody','repeat','974WXfljF','form','(\x20.*?)?>','join','1948005RzFcGT','nav','footer','figure','1484VlqzZZ','replace','isVoid'];_0x4591=function(){return _0x44ef04;};return _0x4591();}function X(_0x32fd32,_0x4e3927,_0x2e24bd=_0x3750e9(0x9a)){const _0x4ebe1c=_0x3750e9;return''+_0x2e24bd[_0x4ebe1c(0x6f)](Math[_0x4ebe1c(0x8b)](0x0,_0x4e3927))+_0x32fd32;}
23
+ const _0x285c10=_0x4e49;(function(_0x49d5f5,_0x166376){const _0x58f371=_0x4e49,_0x747166=_0x49d5f5();while(!![]){try{const _0x1fbfb4=parseInt(_0x58f371(0xe9))/0x1+parseInt(_0x58f371(0xf3))/0x2*(parseInt(_0x58f371(0xe4))/0x3)+-parseInt(_0x58f371(0xdb))/0x4*(parseInt(_0x58f371(0xdd))/0x5)+-parseInt(_0x58f371(0xda))/0x6+parseInt(_0x58f371(0xc7))/0x7+-parseInt(_0x58f371(0xbf))/0x8+parseInt(_0x58f371(0xdc))/0x9*(-parseInt(_0x58f371(0xeb))/0xa);if(_0x1fbfb4===_0x166376)break;else _0x747166['push'](_0x747166['shift']());}catch(_0x68ca41){_0x747166['push'](_0x747166['shift']());}}}(_0x298c,0x754ea));function _0x298c(){const _0x3c3bdb=['name','figcaption','details','358125puoORG','blockquote','replace','aside','form','490830GIpFvb','\x20\x20\x20\x20','3432860GtcwFO','filter','figure',')(\x20.*?)?>','section','startsWith','first','max','14skkoHm','<pre(\x20.*?)?>','5708536XFIldK','repeat','\x0a$&\x0a','table','thead','main','(\x20.*?)?>','</?(','6456660sKrsSz','length','isVoid','footer','tbody','fieldset','article','$&\x0a','join','map','</pre>','middle','nav','some','dialog','last','address','split','test','45390FJlTnE','4gTQaCa','18trqYgB','1803205hQoORc','header','div','hgroup'];_0x298c=function(){return _0x3c3bdb;};return _0x298c();}export function formatSource(_0x4ba222){return $(_0x4ba222)?formatHtml(_0x4ba222):_0x4ba222;}export function unformatSource(_0xd2a038){const _0x3fec57=_0x4e49;return $(_0xd2a038[_0x3fec57(0xe6)](/^[\n\s]*/g,''))?_0xd2a038[_0x3fec57(0xe6)](/\s+/g,''):_0xd2a038;}function _0x4e49(_0x16c351,_0x4ed2de){const _0x298ccf=_0x298c();return _0x4e49=function(_0x4e497a,_0xede62a){_0x4e497a=_0x4e497a-0xbe;let _0x48330c=_0x298ccf[_0x4e497a];return _0x48330c;},_0x4e49(_0x16c351,_0x4ed2de);}export function formatHtml(_0x177243){const _0xe4231d=_0x4e49,_0x757d9=[{'name':_0xe4231d(0xd7),'isVoid':!0x1},{'name':_0xe4231d(0xcd),'isVoid':!0x1},{'name':_0xe4231d(0xe7),'isVoid':!0x1},{'name':_0xe4231d(0xe5),'isVoid':!0x1},{'name':_0xe4231d(0xe3),'isVoid':!0x1},{'name':_0xe4231d(0xd5),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0xe4231d(0xdf),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0xe4231d(0xcc),'isVoid':!0x1},{'name':_0xe4231d(0xe2),'isVoid':!0x1},{'name':_0xe4231d(0xed),'isVoid':!0x1},{'name':_0xe4231d(0xca),'isVoid':!0x1},{'name':_0xe4231d(0xe8),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0xe4231d(0xde),'isVoid':!0x1},{'name':_0xe4231d(0xe0),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0xe4231d(0xc4),'isVoid':!0x1},{'name':_0xe4231d(0xd3),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0xe4231d(0xef),'isVoid':!0x1},{'name':_0xe4231d(0xc2),'isVoid':!0x1},{'name':_0xe4231d(0xcb),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0xe4231d(0xc3),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x29579f=_0x757d9[_0xe4231d(0xd0)](_0x44c31b=>_0x44c31b[_0xe4231d(0xe1)])[_0xe4231d(0xcf)]('|'),_0x21b331=_0x177243[_0xe4231d(0xe6)](new RegExp(_0xe4231d(0xc6)+_0x29579f+_0xe4231d(0xee),'g'),_0xe4231d(0xc1))[_0xe4231d(0xe6)](/<br[^>]*>/g,_0xe4231d(0xce))[_0xe4231d(0xd8)]('\x0a');let _0x49ae45=0x0,_0x220cd4=!0x1;return _0x21b331[_0xe4231d(0xec)](_0x39705d=>_0x39705d[_0xe4231d(0xc8)])[_0xe4231d(0xd0)](_0x48d961=>(_0x220cd4=function(_0x21057f,_0x2dc958){const _0x43a124=_0xe4231d;return new RegExp(_0x43a124(0xbe))[_0x43a124(0xd9)](_0x21057f)?_0x43a124(0xf1):new RegExp(_0x43a124(0xd1))[_0x43a124(0xd9)](_0x21057f)?_0x43a124(0xd6):(_0x43a124(0xf1)===_0x2dc958||_0x43a124(0xd2)===_0x2dc958)&&_0x43a124(0xd2);}(_0x48d961,_0x220cd4),function(_0x54c7a6,_0x5d9d98){const _0x5003cc=_0xe4231d;return _0x5d9d98[_0x5003cc(0xd4)](_0x3d797c=>!_0x3d797c[_0x5003cc(0xc9)]&&!!new RegExp('<'+_0x3d797c[_0x5003cc(0xe1)]+_0x5003cc(0xc5))[_0x5003cc(0xd9)](_0x54c7a6));}(_0x48d961,_0x757d9)?X(_0x48d961,_0x49ae45++):function(_0x149807,_0x36ea19){const _0x1a090b=_0xe4231d;return _0x36ea19[_0x1a090b(0xd4)](_0x399581=>new RegExp('</'+_0x399581[_0x1a090b(0xe1)]+'>')[_0x1a090b(0xd9)](_0x149807));}(_0x48d961,_0x757d9)?X(_0x48d961,--_0x49ae45):_0xe4231d(0xd2)===_0x220cd4||_0xe4231d(0xd6)===_0x220cd4?_0x48d961:X(_0x48d961,_0x49ae45)))[_0xe4231d(0xcf)]('\x0a');}function $(_0x378c60){const _0x5d6aab=_0x4e49;return _0x378c60[_0x5d6aab(0xf0)]('<');}function X(_0x312197,_0x1bccf4,_0x51520e=_0x285c10(0xea)){const _0x464db4=_0x285c10;return''+_0x51520e[_0x464db4(0xc0)](Math[_0x464db4(0xf2)](0x0,_0x1bccf4))+_0x312197;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27b2(_0x48ea41,_0x554c9f){const _0x19c75c=_0x19c7();return _0x27b2=function(_0x27b23c,_0x30856c){_0x27b23c=_0x27b23c-0x1b6;let _0x5bf6c6=_0x19c75c[_0x27b23c];return _0x5bf6c6;},_0x27b2(_0x48ea41,_0x554c9f);}(function(_0x4d6b49,_0x5d1d6a){const _0x216a09=_0x27b2,_0x130de4=_0x4d6b49();while(!![]){try{const _0x52f1dc=parseInt(_0x216a09(0x1cb))/0x1*(-parseInt(_0x216a09(0x1b8))/0x2)+-parseInt(_0x216a09(0x1c1))/0x3*(parseInt(_0x216a09(0x1c6))/0x4)+parseInt(_0x216a09(0x1cc))/0x5+parseInt(_0x216a09(0x1be))/0x6*(parseInt(_0x216a09(0x1b9))/0x7)+parseInt(_0x216a09(0x1c8))/0x8*(-parseInt(_0x216a09(0x1bc))/0x9)+parseInt(_0x216a09(0x1bb))/0xa*(parseInt(_0x216a09(0x1ce))/0xb)+-parseInt(_0x216a09(0x1ca))/0xc*(-parseInt(_0x216a09(0x1c9))/0xd);if(_0x52f1dc===_0x5d1d6a)break;else _0x130de4['push'](_0x130de4['shift']());}catch(_0x2b77c7){_0x130de4['push'](_0x130de4['shift']());}}}(_0x19c7,0x4e227));function _0x19c7(){const _0x5a4811=['length','9520ZFTgjE','from','8uOUfaQ','403OaWEBt','142932ELuShO','1Gbnsmv','1142635KbhsxF','view','6160099zNPNaN','rootName','document','433626IgYTJE','211918ZWsqpa','source-editing-enhanced-editor-no-root','10sNKEws','1595655ElZWVp','selection','30DuqkyK','roots','getRanges','750eKmjeG','first','root','editing'];_0x19c7=function(){return _0x5a4811;};return _0x19c7();}import{CKEditorError as _0x4c7481}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x1efb9b){const _0x51fdfb=_0x27b2,_0x315805=_0x1efb9b[_0x51fdfb(0x1c4)][_0x51fdfb(0x1cd)][_0x51fdfb(0x1b7)][_0x51fdfb(0x1bf)],_0x57f561=_0x315805[_0x51fdfb(0x1c5)];if(0x0===_0x57f561)throw new _0x4c7481(_0x51fdfb(0x1ba),_0x1efb9b);if(0x1===_0x57f561)return _0x315805[_0x51fdfb(0x1c2)][_0x51fdfb(0x1b6)];return Array[_0x51fdfb(0x1c7)](_0x1efb9b[_0x51fdfb(0x1c4)][_0x51fdfb(0x1cd)][_0x51fdfb(0x1b7)][_0x51fdfb(0x1bd)][_0x51fdfb(0x1c0)]())[0x0][_0x51fdfb(0x1c3)][_0x51fdfb(0x1b6)];}
23
+ (function(_0x1dcc64,_0x20f124){const _0xef96fd=_0x1241,_0x378141=_0x1dcc64();while(!![]){try{const _0x434f01=parseInt(_0xef96fd(0xce))/0x1*(parseInt(_0xef96fd(0xba))/0x2)+-parseInt(_0xef96fd(0xc9))/0x3*(parseInt(_0xef96fd(0xc6))/0x4)+-parseInt(_0xef96fd(0xd0))/0x5*(parseInt(_0xef96fd(0xc5))/0x6)+parseInt(_0xef96fd(0xbf))/0x7+parseInt(_0xef96fd(0xc8))/0x8*(-parseInt(_0xef96fd(0xcb))/0x9)+parseInt(_0xef96fd(0xcc))/0xa+-parseInt(_0xef96fd(0xcf))/0xb;if(_0x434f01===_0x20f124)break;else _0x378141['push'](_0x378141['shift']());}catch(_0x8a5ac9){_0x378141['push'](_0x378141['shift']());}}}(_0x1751,0xa2b01));function _0x1751(){const _0x467546=['2804690wzXXeo','getRanges','rootName','view','editing','length','6lizHhm','68bABvKu','source-editing-enhanced-editor-no-root','1193872qQMwMJ','136200wBhBGf','root','9pHSuIa','7927890JWLNOO','roots','834503JpwKOE','1128578GCBvzS','1689805rlWrrv','2VNCNkp','from','document','selection','first'];_0x1751=function(){return _0x467546;};return _0x1751();}function _0x1241(_0x180d75,_0x40d9de){const _0x17519c=_0x1751();return _0x1241=function(_0x124153,_0x6cab77){_0x124153=_0x124153-0xba;let _0x39dd80=_0x17519c[_0x124153];return _0x39dd80;},_0x1241(_0x180d75,_0x40d9de);}import{CKEditorError as _0x710d57}from'ckeditor5/src/utils.js';export function getActiveRootName(_0xa96fa8){const _0x2bcd6a=_0x1241,_0x4610e8=_0xa96fa8[_0x2bcd6a(0xc3)][_0x2bcd6a(0xc2)][_0x2bcd6a(0xbc)][_0x2bcd6a(0xcd)],_0x57470a=_0x4610e8[_0x2bcd6a(0xc4)];if(0x0===_0x57470a)throw new _0x710d57(_0x2bcd6a(0xc7),_0xa96fa8);if(0x1===_0x57470a)return _0x4610e8[_0x2bcd6a(0xbe)][_0x2bcd6a(0xc1)];return Array[_0x2bcd6a(0xbb)](_0xa96fa8[_0x2bcd6a(0xc3)][_0x2bcd6a(0xc2)][_0x2bcd6a(0xbc)][_0x2bcd6a(0xbd)][_0x2bcd6a(0xc0)]())[0x0][_0x2bcd6a(0xca)][_0x2bcd6a(0xc1)];}