@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250131.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 _0x1dadcd=_0x3bf5;(function(_0x420ea9,_0x767540){const _0x3197e1=_0x3bf5,_0x1e4b6=_0x420ea9();while(!![]){try{const _0x701f9e=parseInt(_0x3197e1(0x112))/0x1*(-parseInt(_0x3197e1(0x107))/0x2)+-parseInt(_0x3197e1(0x106))/0x3*(-parseInt(_0x3197e1(0x109))/0x4)+parseInt(_0x3197e1(0x13a))/0x5*(parseInt(_0x3197e1(0x11c))/0x6)+-parseInt(_0x3197e1(0x119))/0x7*(-parseInt(_0x3197e1(0x134))/0x8)+parseInt(_0x3197e1(0x11a))/0x9*(-parseInt(_0x3197e1(0x118))/0xa)+parseInt(_0x3197e1(0x125))/0xb+-parseInt(_0x3197e1(0x13d))/0xc;if(_0x701f9e===_0x767540)break;else _0x1e4b6['push'](_0x1e4b6['shift']());}catch(_0x11e9a3){_0x1e4b6['push'](_0x1e4b6['shift']());}}}(_0x17a8,0x72587));export function formatSource(_0x1d0238){return $(_0x1d0238)?formatHtml(_0x1d0238):_0x1d0238;}export function unformatSource(_0x1bdd8c){const _0x5d8766=_0x3bf5;return $(_0x1bdd8c[_0x5d8766(0x113)](/^[\n\s]*/g,''))?_0x1bdd8c[_0x5d8766(0x113)](/\s+/g,''):_0x1bdd8c;}function _0x3bf5(_0x420317,_0x471a95){const _0x17a8d3=_0x17a8();return _0x3bf5=function(_0x3bf512,_0x78117a){_0x3bf512=_0x3bf512-0x106;let _0x2da5d8=_0x17a8d3[_0x3bf512];return _0x2da5d8;},_0x3bf5(_0x420317,_0x471a95);}export function formatHtml(_0x37ca71){const _0x57efc8=_0x3bf5,_0x1badc6=[{'name':_0x57efc8(0x10d),'isVoid':!0x1},{'name':_0x57efc8(0x128),'isVoid':!0x1},{'name':_0x57efc8(0x126),'isVoid':!0x1},{'name':_0x57efc8(0x137),'isVoid':!0x1},{'name':_0x57efc8(0x135),'isVoid':!0x1},{'name':_0x57efc8(0x124),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x57efc8(0x114),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x57efc8(0x10f),'isVoid':!0x1},{'name':_0x57efc8(0x12e),'isVoid':!0x1},{'name':_0x57efc8(0x10c),'isVoid':!0x1},{'name':_0x57efc8(0x123),'isVoid':!0x1},{'name':_0x57efc8(0x12d),'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':_0x57efc8(0x115),'isVoid':!0x1},{'name':_0x57efc8(0x12a),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x57efc8(0x11d),'isVoid':!0x1},{'name':_0x57efc8(0x120),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x57efc8(0x108),'isVoid':!0x1},{'name':_0x57efc8(0x11b),'isVoid':!0x1},{'name':_0x57efc8(0x122),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x57efc8(0x139),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x42f6c6=_0x1badc6[_0x57efc8(0x12f)](_0x12248b=>_0x12248b[_0x57efc8(0x10e)])[_0x57efc8(0x130)]('|'),_0x58172b=_0x37ca71[_0x57efc8(0x113)](new RegExp(_0x57efc8(0x11f)+_0x42f6c6+_0x57efc8(0x111),'g'),_0x57efc8(0x136))[_0x57efc8(0x113)](/<br[^>]*>/g,_0x57efc8(0x13c))[_0x57efc8(0x116)]('\x0a');let _0x4cc0b3=0x0,_0x4eb784=!0x1;return _0x58172b[_0x57efc8(0x10b)](_0x5dedc2=>_0x5dedc2[_0x57efc8(0x133)])[_0x57efc8(0x12f)](_0x324f21=>(_0x4eb784=function(_0x49c584,_0x2b69c9){const _0x12be35=_0x57efc8;return new RegExp(_0x12be35(0x11e))[_0x12be35(0x121)](_0x49c584)?_0x12be35(0x12b):new RegExp(_0x12be35(0x10a))[_0x12be35(0x121)](_0x49c584)?_0x12be35(0x117):(_0x12be35(0x12b)===_0x2b69c9||_0x12be35(0x110)===_0x2b69c9)&&_0x12be35(0x110);}(_0x324f21,_0x4eb784),function(_0x4251d1,_0x33f5e0){const _0x3af206=_0x57efc8;return _0x33f5e0[_0x3af206(0x129)](_0x16646b=>!_0x16646b[_0x3af206(0x138)]&&!!new RegExp('<'+_0x16646b[_0x3af206(0x10e)]+_0x3af206(0x131))[_0x3af206(0x121)](_0x4251d1));}(_0x324f21,_0x1badc6)?X(_0x324f21,_0x4cc0b3++):function(_0x138cc4,_0x4b9ea2){const _0x2db8d7=_0x57efc8;return _0x4b9ea2[_0x2db8d7(0x129)](_0x2af6c8=>new RegExp('</'+_0x2af6c8[_0x2db8d7(0x10e)]+'>')[_0x2db8d7(0x121)](_0x138cc4));}(_0x324f21,_0x1badc6)?X(_0x324f21,--_0x4cc0b3):_0x57efc8(0x110)===_0x4eb784||_0x57efc8(0x117)===_0x4eb784?_0x324f21:X(_0x324f21,_0x4cc0b3)))[_0x57efc8(0x130)]('\x0a');}function _0x17a8(){const _0x1aad16=['first','\x20\x20\x20\x20','form','figcaption','map','join','(\x20.*?)?>','repeat','length','3169328QICysx','details','\x0a$&\x0a','blockquote','isVoid','thead','1811100fDFfgV','startsWith','$&\x0a','2902044asytxX','30639QpdJNj','1394696EekfgF','section','188EMbvpR','</pre>','filter','figure','address','name','fieldset','middle',')(\x20.*?)?>','1UfWQXk','replace','div','header','split','last','1290wvViKi','7GJQDXb','14373TqnUoD','table','6rmZgXj','main','<pre(\x20.*?)?>','</?(','nav','test','tbody','footer','dialog','4126760HjuUwU','aside','max','article','some','hgroup'];_0x17a8=function(){return _0x1aad16;};return _0x17a8();}function $(_0x28a268){const _0x131b29=_0x3bf5;return _0x28a268[_0x131b29(0x13b)]('<');}function X(_0x16de83,_0x4bc279,_0x4cdf19=_0x1dadcd(0x12c)){const _0x4a6e2b=_0x1dadcd;return''+_0x4cdf19[_0x4a6e2b(0x132)](Math[_0x4a6e2b(0x127)](0x0,_0x4bc279))+_0x16de83;}
@@ -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(_0x173521,_0x2de6a8){const _0x2f1d11=_0xf3a0,_0x29c61e=_0x173521();while(!![]){try{const _0x5f0548=parseInt(_0x2f1d11(0x8a))/0x1*(parseInt(_0x2f1d11(0x8b))/0x2)+parseInt(_0x2f1d11(0x89))/0x3*(-parseInt(_0x2f1d11(0x8f))/0x4)+parseInt(_0x2f1d11(0x9a))/0x5+-parseInt(_0x2f1d11(0x98))/0x6*(-parseInt(_0x2f1d11(0x86))/0x7)+-parseInt(_0x2f1d11(0x8e))/0x8*(parseInt(_0x2f1d11(0x92))/0x9)+parseInt(_0x2f1d11(0x87))/0xa+parseInt(_0x2f1d11(0x88))/0xb*(-parseInt(_0x2f1d11(0x93))/0xc);if(_0x5f0548===_0x2de6a8)break;else _0x29c61e['push'](_0x29c61e['shift']());}catch(_0x34ae5e){_0x29c61e['push'](_0x29c61e['shift']());}}}(_0x1881,0x9c316));function _0xf3a0(_0x1f7000,_0x2a3c8f){const _0x1881d5=_0x1881();return _0xf3a0=function(_0xf3a0bb,_0x5b4ed7){_0xf3a0bb=_0xf3a0bb-0x84;let _0x33e420=_0x1881d5[_0xf3a0bb];return _0x33e420;},_0xf3a0(_0x1f7000,_0x2a3c8f);}import{CKEditorError as _0x4684aa}from'ckeditor5/src/utils.js';function _0x1881(){const _0x40b1f8=['roots','view','675smWRMm','12pPkKZm','document','rootName','source-editing-enhanced-editor-no-root','selection','434040RYyYcj','from','6113595TXxdpu','root','editing','length','70EkSELI','9977530SKdlkL','14578729NZuDWt','3DqbItN','8131OanVnt','180AZcudc','first','getRanges','110216UWynTB','2709128UxXrOK'];_0x1881=function(){return _0x40b1f8;};return _0x1881();}export function getActiveRootName(_0x2a2f6a){const _0x3ce46e=_0xf3a0,_0x427a89=_0x2a2f6a[_0x3ce46e(0x84)][_0x3ce46e(0x91)][_0x3ce46e(0x94)][_0x3ce46e(0x90)],_0x3bc089=_0x427a89[_0x3ce46e(0x85)];if(0x0===_0x3bc089)throw new _0x4684aa(_0x3ce46e(0x96),_0x2a2f6a);if(0x1===_0x3bc089)return _0x427a89[_0x3ce46e(0x8c)][_0x3ce46e(0x95)];return Array[_0x3ce46e(0x99)](_0x2a2f6a[_0x3ce46e(0x84)][_0x3ce46e(0x91)][_0x3ce46e(0x94)][_0x3ce46e(0x97)][_0x3ce46e(0x8d)]())[0x0][_0x3ce46e(0x9b)][_0x3ce46e(0x95)];}