@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.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 _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;}
23
+ const _0x18f268=_0xcda1;(function(_0x28a378,_0x3cd4dc){const _0x4932f2=_0xcda1,_0x5a41ca=_0x28a378();while(!![]){try{const _0x3eafee=-parseInt(_0x4932f2(0x13d))/0x1+parseInt(_0x4932f2(0x129))/0x2+-parseInt(_0x4932f2(0x125))/0x3+parseInt(_0x4932f2(0x118))/0x4*(parseInt(_0x4932f2(0x11b))/0x5)+-parseInt(_0x4932f2(0x140))/0x6+parseInt(_0x4932f2(0x122))/0x7*(parseInt(_0x4932f2(0x10c))/0x8)+parseInt(_0x4932f2(0x133))/0x9;if(_0x3eafee===_0x3cd4dc)break;else _0x5a41ca['push'](_0x5a41ca['shift']());}catch(_0x5c2306){_0x5a41ca['push'](_0x5a41ca['shift']());}}}(_0xc8b0,0x59c83));function _0xcda1(_0x5caab3,_0x41531f){const _0xc8b04c=_0xc8b0();return _0xcda1=function(_0xcda180,_0x5ea9db){_0xcda180=_0xcda180-0x10c;let _0x55b57f=_0xc8b04c[_0xcda180];return _0x55b57f;},_0xcda1(_0x5caab3,_0x41531f);}export function formatSource(_0x53e841){return $(_0x53e841)?formatHtml(_0x53e841):_0x53e841;}export function unformatSource(_0x21fc08){const _0x8b0ca9=_0xcda1;return $(_0x21fc08[_0x8b0ca9(0x12a)](/^[\n\s]*/g,''))?_0x21fc08[_0x8b0ca9(0x12a)](/\s+/g,''):_0x21fc08;}export function formatHtml(_0x4a15f5){const _0x9103ca=_0xcda1,_0x8e7f36=[{'name':_0x9103ca(0x12c),'isVoid':!0x1},{'name':_0x9103ca(0x139),'isVoid':!0x1},{'name':_0x9103ca(0x134),'isVoid':!0x1},{'name':_0x9103ca(0x12e),'isVoid':!0x1},{'name':_0x9103ca(0x120),'isVoid':!0x1},{'name':_0x9103ca(0x11d),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x9103ca(0x131),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x9103ca(0x13a),'isVoid':!0x1},{'name':_0x9103ca(0x126),'isVoid':!0x1},{'name':_0x9103ca(0x132),'isVoid':!0x1},{'name':_0x9103ca(0x135),'isVoid':!0x1},{'name':_0x9103ca(0x13f),'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':_0x9103ca(0x128),'isVoid':!0x1},{'name':_0x9103ca(0x110),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x9103ca(0x136),'isVoid':!0x1},{'name':_0x9103ca(0x114),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x9103ca(0x137),'isVoid':!0x1},{'name':_0x9103ca(0x10f),'isVoid':!0x1},{'name':_0x9103ca(0x11e),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x9103ca(0x138),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x488949=_0x8e7f36[_0x9103ca(0x123)](_0x10ea25=>_0x10ea25[_0x9103ca(0x10d)])[_0x9103ca(0x13e)]('|'),_0x139311=_0x4a15f5[_0x9103ca(0x12a)](new RegExp(_0x9103ca(0x11f)+_0x488949+_0x9103ca(0x117),'g'),_0x9103ca(0x119))[_0x9103ca(0x12a)](/<br[^>]*>/g,_0x9103ca(0x12f))[_0x9103ca(0x127)]('\x0a');let _0x4b061b=0x0,_0x43c8b9=!0x1;return _0x139311[_0x9103ca(0x121)](_0x40e09a=>_0x40e09a[_0x9103ca(0x115)])[_0x9103ca(0x123)](_0x437764=>(_0x43c8b9=function(_0x3a8fa5,_0x1b2f53){const _0x380ade=_0x9103ca;return new RegExp(_0x380ade(0x130))[_0x380ade(0x116)](_0x3a8fa5)?_0x380ade(0x124):new RegExp(_0x380ade(0x13b))[_0x380ade(0x116)](_0x3a8fa5)?_0x380ade(0x11c):(_0x380ade(0x124)===_0x1b2f53||_0x380ade(0x11a)===_0x1b2f53)&&_0x380ade(0x11a);}(_0x437764,_0x43c8b9),function(_0x3ee9cb,_0x2f7892){const _0x4eb701=_0x9103ca;return _0x2f7892[_0x4eb701(0x12d)](_0x7047a8=>!_0x7047a8[_0x4eb701(0x12b)]&&!!new RegExp('<'+_0x7047a8[_0x4eb701(0x10d)]+_0x4eb701(0x10e))[_0x4eb701(0x116)](_0x3ee9cb));}(_0x437764,_0x8e7f36)?X(_0x437764,_0x4b061b++):function(_0x5965b4,_0x24a3b6){const _0x2dcd16=_0x9103ca;return _0x24a3b6[_0x2dcd16(0x12d)](_0x50d5b6=>new RegExp('</'+_0x50d5b6[_0x2dcd16(0x10d)]+'>')[_0x2dcd16(0x116)](_0x5965b4));}(_0x437764,_0x8e7f36)?X(_0x437764,--_0x4b061b):_0x9103ca(0x11a)===_0x43c8b9||_0x9103ca(0x11c)===_0x43c8b9?_0x437764:X(_0x437764,_0x4b061b)))[_0x9103ca(0x13e)]('\x0a');}function _0xc8b0(){const _0x361d54=['header','894000CZzlzd','replace','isVoid','address','some','blockquote','$&\x0a','<pre(\x20.*?)?>','div','figure','4223106tCxdOP','aside','footer','main','section','thead','article','fieldset','</pre>','max','56985dBAKsc','join','form','4371144mLwlrU','922528XZbftE','name','(\x20.*?)?>','table','hgroup','\x20\x20\x20\x20','repeat','startsWith','nav','length','test',')(\x20.*?)?>','4vwIfsw','\x0a$&\x0a','middle','1096665GZzoaV','last','dialog','tbody','</?(','details','filter','7TAgqjN','map','first','292881xiaZtH','figcaption','split'];_0xc8b0=function(){return _0x361d54;};return _0xc8b0();}function $(_0x21aa94){const _0x2d01c2=_0xcda1;return _0x21aa94[_0x2d01c2(0x113)]('<');}function X(_0x532bb9,_0x11858d,_0x6822c0=_0x18f268(0x111)){const _0x511901=_0x18f268;return''+_0x6822c0[_0x511901(0x112)](Math[_0x511901(0x13c)](0x0,_0x11858d))+_0x532bb9;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}
23
+ function _0x5102(){const _0x40097f=['selection','getRanges','source-editing-enhanced-editor-no-root','length','8348JywuFw','from','10pkMbih','5OVxqEn','root','3766248eiSLye','168JamqIt','203687pCECRL','rootName','document','3002229Lhrsop','editing','57bevtUK','532455UUcEkb','1QEGcgD','375050bxLUFI','roots','14118MVcDdD','first','view'];_0x5102=function(){return _0x40097f;};return _0x5102();}function _0x1a64(_0x1793a4,_0x287a33){const _0x5102b8=_0x5102();return _0x1a64=function(_0x1a6472,_0x28d476){_0x1a6472=_0x1a6472-0x151;let _0x6b22be=_0x5102b8[_0x1a6472];return _0x6b22be;},_0x1a64(_0x1793a4,_0x287a33);}(function(_0x5e6690,_0x4aa3a0){const _0x30c883=_0x1a64,_0x89153a=_0x5e6690();while(!![]){try{const _0x14fc86=-parseInt(_0x30c883(0x168))/0x1*(parseInt(_0x30c883(0x151))/0x2)+-parseInt(_0x30c883(0x166))/0x3*(parseInt(_0x30c883(0x15a))/0x4)+-parseInt(_0x30c883(0x15d))/0x5*(parseInt(_0x30c883(0x153))/0x6)+parseInt(_0x30c883(0x167))/0x7+parseInt(_0x30c883(0x15f))/0x8+parseInt(_0x30c883(0x164))/0x9*(-parseInt(_0x30c883(0x15c))/0xa)+-parseInt(_0x30c883(0x161))/0xb*(-parseInt(_0x30c883(0x160))/0xc);if(_0x14fc86===_0x4aa3a0)break;else _0x89153a['push'](_0x89153a['shift']());}catch(_0x12c715){_0x89153a['push'](_0x89153a['shift']());}}}(_0x5102,0x3b51c));import{CKEditorError as _0x45aadb}from'ckeditor5/src/utils.js';export function getActiveRootName(_0x5c7f2d){const _0x483f19=_0x1a64,_0x1fc6bc=_0x5c7f2d[_0x483f19(0x165)][_0x483f19(0x155)][_0x483f19(0x163)][_0x483f19(0x152)],_0x5e77ab=_0x1fc6bc[_0x483f19(0x159)];if(0x0===_0x5e77ab)throw new _0x45aadb(_0x483f19(0x158),_0x5c7f2d);if(0x1===_0x5e77ab)return _0x1fc6bc[_0x483f19(0x154)][_0x483f19(0x162)];return Array[_0x483f19(0x15b)](_0x5c7f2d[_0x483f19(0x165)][_0x483f19(0x155)][_0x483f19(0x163)][_0x483f19(0x156)][_0x483f19(0x157)]())[0x0][_0x483f19(0x15e)][_0x483f19(0x162)];}