@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250209.0 → 0.0.0-nightly-20250211.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 _0x1389a6=_0xb5c2;(function(_0x3f1f48,_0x12c119){const _0x264dbb=_0xb5c2,_0x1f07c9=_0x3f1f48();while(!![]){try{const _0xd94d84=parseInt(_0x264dbb(0xf0))/0x1*(parseInt(_0x264dbb(0xe1))/0x2)+parseInt(_0x264dbb(0xde))/0x3+-parseInt(_0x264dbb(0xf6))/0x4+parseInt(_0x264dbb(0xe3))/0x5+parseInt(_0x264dbb(0xd8))/0x6+-parseInt(_0x264dbb(0xd5))/0x7+parseInt(_0x264dbb(0xed))/0x8;if(_0xd94d84===_0x12c119)break;else _0x1f07c9['push'](_0x1f07c9['shift']());}catch(_0xf3ae4e){_0x1f07c9['push'](_0x1f07c9['shift']());}}}(_0x1838,0x71ccb));export function formatSource(_0x51c856){return $(_0x51c856)?formatHtml(_0x51c856):_0x51c856;}export function unformatSource(_0x2dec9c){const _0xd2c0b5=_0xb5c2;return $(_0x2dec9c[_0xd2c0b5(0xe4)](/^[\n\s]*/g,''))?_0x2dec9c[_0xd2c0b5(0xe4)](/\s+/g,''):_0x2dec9c;}function _0xb5c2(_0x24573f,_0x58cd6a){const _0x1838b7=_0x1838();return _0xb5c2=function(_0xb5c25c,_0x8c67e0){_0xb5c25c=_0xb5c25c-0xca;let _0x397992=_0x1838b7[_0xb5c25c];return _0x397992;},_0xb5c2(_0x24573f,_0x58cd6a);}function _0x1838(){const _0x5a51f6=['4623760vvYItT','footer','fieldset','4ybXXUt','tbody','details','split','section','startsWith','1747428QZvpsf','(\x20.*?)?>','max','\x20\x20\x20\x20','join','nav','<pre(\x20.*?)?>','first','table','thead','form','some','middle','test','filter','$&\x0a','div','last','main','5033854KTicOS','figure','dialog','791748sfENMv','figcaption','address','isVoid','header','blockquote','118266xcSzxe','hgroup','</?(','83158jdlVxm','aside','3532180kHmtqs','replace','repeat','name',')(\x20.*?)?>','length','</pre>','article','\x0a$&\x0a','map'];_0x1838=function(){return _0x5a51f6;};return _0x1838();}export function formatHtml(_0x19dccd){const _0x6a6d15=_0xb5c2,_0x22f85b=[{'name':_0x6a6d15(0xda),'isVoid':!0x1},{'name':_0x6a6d15(0xea),'isVoid':!0x1},{'name':_0x6a6d15(0xe2),'isVoid':!0x1},{'name':_0x6a6d15(0xdd),'isVoid':!0x1},{'name':_0x6a6d15(0xf2),'isVoid':!0x1},{'name':_0x6a6d15(0xd7),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x6a6d15(0xd2),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x6a6d15(0xef),'isVoid':!0x1},{'name':_0x6a6d15(0xd9),'isVoid':!0x1},{'name':_0x6a6d15(0xd6),'isVoid':!0x1},{'name':_0x6a6d15(0xee),'isVoid':!0x1},{'name':_0x6a6d15(0xcc),'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':_0x6a6d15(0xdc),'isVoid':!0x1},{'name':_0x6a6d15(0xdf),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x6a6d15(0xd4),'isVoid':!0x1},{'name':_0x6a6d15(0xfb),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x6a6d15(0xf4),'isVoid':!0x1},{'name':_0x6a6d15(0xca),'isVoid':!0x1},{'name':_0x6a6d15(0xf1),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x6a6d15(0xcb),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x16cb54=_0x22f85b[_0x6a6d15(0xec)](_0x504b3d=>_0x504b3d[_0x6a6d15(0xe6)])[_0x6a6d15(0xfa)]('|'),_0x5c82e8=_0x19dccd[_0x6a6d15(0xe4)](new RegExp(_0x6a6d15(0xe0)+_0x16cb54+_0x6a6d15(0xe7),'g'),_0x6a6d15(0xeb))[_0x6a6d15(0xe4)](/<br[^>]*>/g,_0x6a6d15(0xd1))[_0x6a6d15(0xf3)]('\x0a');let _0x383b8f=0x0,_0x1112f3=!0x1;return _0x5c82e8[_0x6a6d15(0xd0)](_0x3954b9=>_0x3954b9[_0x6a6d15(0xe8)])[_0x6a6d15(0xec)](_0x126660=>(_0x1112f3=function(_0x586e64,_0x4dc3c5){const _0x14102b=_0x6a6d15;return new RegExp(_0x14102b(0xfc))[_0x14102b(0xcf)](_0x586e64)?_0x14102b(0xfd):new RegExp(_0x14102b(0xe9))[_0x14102b(0xcf)](_0x586e64)?_0x14102b(0xd3):(_0x14102b(0xfd)===_0x4dc3c5||_0x14102b(0xce)===_0x4dc3c5)&&_0x14102b(0xce);}(_0x126660,_0x1112f3),function(_0x17a4ad,_0x2a258d){const _0x14876e=_0x6a6d15;return _0x2a258d[_0x14876e(0xcd)](_0xd75d6c=>!_0xd75d6c[_0x14876e(0xdb)]&&!!new RegExp('<'+_0xd75d6c[_0x14876e(0xe6)]+_0x14876e(0xf7))[_0x14876e(0xcf)](_0x17a4ad));}(_0x126660,_0x22f85b)?X(_0x126660,_0x383b8f++):function(_0x65fe4e,_0x520822){const _0x500a30=_0x6a6d15;return _0x520822[_0x500a30(0xcd)](_0x1c263b=>new RegExp('</'+_0x1c263b[_0x500a30(0xe6)]+'>')[_0x500a30(0xcf)](_0x65fe4e));}(_0x126660,_0x22f85b)?X(_0x126660,--_0x383b8f):_0x6a6d15(0xce)===_0x1112f3||_0x6a6d15(0xd3)===_0x1112f3?_0x126660:X(_0x126660,_0x383b8f)))[_0x6a6d15(0xfa)]('\x0a');}function $(_0x289cd5){const _0x54fa2b=_0xb5c2;return _0x289cd5[_0x54fa2b(0xf5)]('<');}function X(_0x563bfd,_0x33561a,_0x3d68ba=_0x1389a6(0xf9)){const _0x6ef9d8=_0x1389a6;return''+_0x3d68ba[_0x6ef9d8(0xe5)](Math[_0x6ef9d8(0xf8)](0x0,_0x33561a))+_0x563bfd;}
23
+ const _0x365306=_0x1a9f;(function(_0xa37715,_0x95e417){const _0x51821c=_0x1a9f,_0x34f296=_0xa37715();while(!![]){try{const _0x5bdbf3=-parseInt(_0x51821c(0x1fd))/0x1+-parseInt(_0x51821c(0x1eb))/0x2*(-parseInt(_0x51821c(0x1f4))/0x3)+-parseInt(_0x51821c(0x1d9))/0x4*(-parseInt(_0x51821c(0x1e4))/0x5)+-parseInt(_0x51821c(0x1fa))/0x6+parseInt(_0x51821c(0x1f8))/0x7*(parseInt(_0x51821c(0x200))/0x8)+-parseInt(_0x51821c(0x20a))/0x9*(parseInt(_0x51821c(0x1dc))/0xa)+parseInt(_0x51821c(0x1fe))/0xb*(parseInt(_0x51821c(0x207))/0xc);if(_0x5bdbf3===_0x95e417)break;else _0x34f296['push'](_0x34f296['shift']());}catch(_0x1c2513){_0x34f296['push'](_0x34f296['shift']());}}}(_0x5767,0x6300e));export function formatSource(_0x4f8b97){return $(_0x4f8b97)?formatHtml(_0x4f8b97):_0x4f8b97;}export function unformatSource(_0x104a53){const _0x3504b0=_0x1a9f;return $(_0x104a53[_0x3504b0(0x1ec)](/^[\n\s]*/g,''))?_0x104a53[_0x3504b0(0x1ec)](/\s+/g,''):_0x104a53;}export function formatHtml(_0x365167){const _0x183bca=_0x1a9f,_0x570f0d=[{'name':_0x183bca(0x205),'isVoid':!0x1},{'name':_0x183bca(0x1d7),'isVoid':!0x1},{'name':_0x183bca(0x1ea),'isVoid':!0x1},{'name':_0x183bca(0x1e0),'isVoid':!0x1},{'name':_0x183bca(0x1da),'isVoid':!0x1},{'name':_0x183bca(0x1db),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x183bca(0x209),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x183bca(0x203),'isVoid':!0x1},{'name':_0x183bca(0x1e9),'isVoid':!0x1},{'name':_0x183bca(0x1d4),'isVoid':!0x1},{'name':_0x183bca(0x1ff),'isVoid':!0x1},{'name':_0x183bca(0x201),'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':_0x183bca(0x1f6),'isVoid':!0x1},{'name':_0x183bca(0x1ef),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x183bca(0x204),'isVoid':!0x1},{'name':_0x183bca(0x1d5),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x183bca(0x1f5),'isVoid':!0x1},{'name':_0x183bca(0x1df),'isVoid':!0x1},{'name':_0x183bca(0x1f2),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x183bca(0x1f0),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x4674ee=_0x570f0d[_0x183bca(0x1fc)](_0xa208=>_0xa208[_0x183bca(0x20b)])[_0x183bca(0x1e2)]('|'),_0x9c7437=_0x365167[_0x183bca(0x1ec)](new RegExp(_0x183bca(0x206)+_0x4674ee+_0x183bca(0x1f9),'g'),_0x183bca(0x1e6))[_0x183bca(0x1ec)](/<br[^>]*>/g,_0x183bca(0x1e7))[_0x183bca(0x1d8)]('\x0a');let _0x906c7=0x0,_0x4ca25d=!0x1;return _0x9c7437[_0x183bca(0x1e1)](_0x36adb5=>_0x36adb5[_0x183bca(0x208)])[_0x183bca(0x1fc)](_0x5a8e5f=>(_0x4ca25d=function(_0x56bffc,_0x4d62c0){const _0x7b5261=_0x183bca;return new RegExp(_0x7b5261(0x1f1))[_0x7b5261(0x1e5)](_0x56bffc)?_0x7b5261(0x1d6):new RegExp(_0x7b5261(0x1e8))[_0x7b5261(0x1e5)](_0x56bffc)?_0x7b5261(0x1e3):(_0x7b5261(0x1d6)===_0x4d62c0||_0x7b5261(0x1f7)===_0x4d62c0)&&_0x7b5261(0x1f7);}(_0x5a8e5f,_0x4ca25d),function(_0x345691,_0x33dc76){const _0x5105da=_0x183bca;return _0x33dc76[_0x5105da(0x1ee)](_0x543a66=>!_0x543a66[_0x5105da(0x1ed)]&&!!new RegExp('<'+_0x543a66[_0x5105da(0x20b)]+_0x5105da(0x1de))[_0x5105da(0x1e5)](_0x345691));}(_0x5a8e5f,_0x570f0d)?X(_0x5a8e5f,_0x906c7++):function(_0x3e6cbd,_0x3b4849){const _0x8217a4=_0x183bca;return _0x3b4849[_0x8217a4(0x1ee)](_0x87332f=>new RegExp('</'+_0x87332f[_0x8217a4(0x20b)]+'>')[_0x8217a4(0x1e5)](_0x3e6cbd));}(_0x5a8e5f,_0x570f0d)?X(_0x5a8e5f,--_0x906c7):_0x183bca(0x1f7)===_0x4ca25d||_0x183bca(0x1e3)===_0x4ca25d?_0x5a8e5f:X(_0x5a8e5f,_0x906c7)))[_0x183bca(0x1e2)]('\x0a');}function _0x5767(){const _0x3a099a=['length','div','1125LQlbyF','name','figure','nav','first','article','split','74020BjxjkN','details','dialog','34570McDjym','\x20\x20\x20\x20','(\x20.*?)?>','table','blockquote','filter','join','last','200WiBXxx','test','\x0a$&\x0a','$&\x0a','</pre>','figcaption','aside','2Jxqhsp','replace','isVoid','some','hgroup','thead','<pre(\x20.*?)?>','tbody','max','878733SOeKmV','section','header','middle','7jjsGRe',')(\x20.*?)?>','3490128tBFABH','repeat','map','399088FoGqLM','1749UriPHs','footer','3060488KfBXwJ','form','startsWith','fieldset','main','address','</?(','30396uBKUFX'];_0x5767=function(){return _0x3a099a;};return _0x5767();}function $(_0x3626dd){const _0x48b825=_0x1a9f;return _0x3626dd[_0x48b825(0x202)]('<');}function _0x1a9f(_0x1a4449,_0x145e95){const _0x57677a=_0x5767();return _0x1a9f=function(_0x1a9f67,_0x4b9dda){_0x1a9f67=_0x1a9f67-0x1d4;let _0x375c05=_0x57677a[_0x1a9f67];return _0x375c05;},_0x1a9f(_0x1a4449,_0x145e95);}function X(_0x246327,_0x4779c8,_0x59244e=_0x365306(0x1dd)){const _0x5972bd=_0x365306;return''+_0x59244e[_0x5972bd(0x1fb)](Math[_0x5972bd(0x1f3)](0x0,_0x4779c8))+_0x246327;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12cb(_0x3ae8b5,_0xcfc384){const _0x37bb66=_0x37bb();return _0x12cb=function(_0x12cbc2,_0x29b4ad){_0x12cbc2=_0x12cbc2-0x118;let _0x5e1921=_0x37bb66[_0x12cbc2];return _0x5e1921;},_0x12cb(_0x3ae8b5,_0xcfc384);}(function(_0x563808,_0x51cd92){const _0x380ff8=_0x12cb,_0x4e3182=_0x563808();while(!![]){try{const _0x57fc7d=-parseInt(_0x380ff8(0x126))/0x1+parseInt(_0x380ff8(0x123))/0x2*(-parseInt(_0x380ff8(0x120))/0x3)+parseInt(_0x380ff8(0x128))/0x4*(parseInt(_0x380ff8(0x127))/0x5)+-parseInt(_0x380ff8(0x11c))/0x6+parseInt(_0x380ff8(0x12c))/0x7+parseInt(_0x380ff8(0x122))/0x8*(parseInt(_0x380ff8(0x11f))/0x9)+-parseInt(_0x380ff8(0x125))/0xa*(-parseInt(_0x380ff8(0x11a))/0xb);if(_0x57fc7d===_0x51cd92)break;else _0x4e3182['push'](_0x4e3182['shift']());}catch(_0x6cb9d){_0x4e3182['push'](_0x4e3182['shift']());}}}(_0x37bb,0x9e655));function _0x37bb(){const _0x544d64=['10qGdSEu','164127CeVKVI','325hmSMjq','38812gQzNhx','rootName','source-editing-enhanced-editor-no-root','roots','1644321YlsdQT','document','editing','view','length','10001783qfPnjX','from','7164816oKiXYd','first','root','63gxDtFi','116469UGXYJR','getRanges','1330232hRYqae','48aXMdog','selection'];_0x37bb=function(){return _0x544d64;};return _0x37bb();}import{CKEditorError as _0xddb6ac}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x5d101f){const _0x2bfa67=_0x12cb,_0x335258=_0x5d101f[_0x2bfa67(0x12e)][_0x2bfa67(0x118)][_0x2bfa67(0x12d)][_0x2bfa67(0x12b)],_0x5b3188=_0x335258[_0x2bfa67(0x119)];if(0x0===_0x5b3188)throw new _0xddb6ac(_0x2bfa67(0x12a),_0x5d101f);if(0x1===_0x5b3188)return _0x335258[_0x2bfa67(0x11d)][_0x2bfa67(0x129)];return Array[_0x2bfa67(0x11b)](_0x5d101f[_0x2bfa67(0x12e)][_0x2bfa67(0x118)][_0x2bfa67(0x12d)][_0x2bfa67(0x124)][_0x2bfa67(0x121)]())[0x0][_0x2bfa67(0x11e)][_0x2bfa67(0x129)];}
23
+ (function(_0x325f66,_0x15a5cf){const _0x17670d=_0x6f07,_0x1086f3=_0x325f66();while(!![]){try{const _0x218898=parseInt(_0x17670d(0x16f))/0x1*(-parseInt(_0x17670d(0x171))/0x2)+parseInt(_0x17670d(0x164))/0x3*(parseInt(_0x17670d(0x165))/0x4)+parseInt(_0x17670d(0x167))/0x5+parseInt(_0x17670d(0x163))/0x6+parseInt(_0x17670d(0x16a))/0x7*(-parseInt(_0x17670d(0x16c))/0x8)+-parseInt(_0x17670d(0x170))/0x9+parseInt(_0x17670d(0x15e))/0xa;if(_0x218898===_0x15a5cf)break;else _0x1086f3['push'](_0x1086f3['shift']());}catch(_0x53b5a0){_0x1086f3['push'](_0x1086f3['shift']());}}}(_0x26e6,0x6ff1c));function _0x6f07(_0x34ddc8,_0x1191a6){const _0x26e68a=_0x26e6();return _0x6f07=function(_0x6f0705,_0x1e4085){_0x6f0705=_0x6f0705-0x15c;let _0x3cbdb3=_0x26e68a[_0x6f0705];return _0x3cbdb3;},_0x6f07(_0x34ddc8,_0x1191a6);}import{CKEditorError as _0x2b4ecd}from'ckeditor5/src/utils.js';function _0x26e6(){const _0x440411=['getRanges','view','root','1958934TmUoMU','501sadokq','1300CDBRbR','document','361085rYgIvP','roots','rootName','4039NIrVFx','from','7544ZjttQH','editing','selection','7XaUcgT','3576438cvYCDb','156106nJsAND','source-editing-enhanced-editor-no-root','first','14934070zcuQjq','length'];_0x26e6=function(){return _0x440411;};return _0x26e6();}export function getActiveRootName(_0x35ae65){const _0x12a134=_0x6f07,_0x4facec=_0x35ae65[_0x12a134(0x16d)][_0x12a134(0x161)][_0x12a134(0x166)][_0x12a134(0x168)],_0x42bc1c=_0x4facec[_0x12a134(0x15f)];if(0x0===_0x42bc1c)throw new _0x2b4ecd(_0x12a134(0x15c),_0x35ae65);if(0x1===_0x42bc1c)return _0x4facec[_0x12a134(0x15d)][_0x12a134(0x169)];return Array[_0x12a134(0x16b)](_0x35ae65[_0x12a134(0x16d)][_0x12a134(0x161)][_0x12a134(0x166)][_0x12a134(0x16e)][_0x12a134(0x160)]())[0x0][_0x12a134(0x162)][_0x12a134(0x169)];}