@ckeditor/ckeditor5-collaboration-core 38.1.0 → 38.1.1

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 _0x38bc=['string','sign','isArray','toString','number','sort','boolean'];(function(_0x1b2508,_0x38bc23){const _0x333559=function(_0x53033f){while(--_0x53033f){_0x1b2508['push'](_0x1b2508['shift']());}};_0x333559(++_0x38bc23);}(_0x38bc,0xd6));const _0x3335=function(_0x1b2508,_0x38bc23){_0x1b2508=_0x1b2508-0x0;let _0x333559=_0x38bc[_0x1b2508];return _0x333559;};export default function b(_0x5067b9){let _0x3d9e64=0x0,_0x3df3f6=0x0;for(const _0x3bcdc8 of g(_0x5067b9))_0x3d9e64=(_0x3d9e64<<0x5)-_0x3d9e64+_0x3bcdc8,_0x3d9e64&=_0x3d9e64,[_0x3d9e64,_0x3df3f6]=[_0x3df3f6,_0x3d9e64];return O(_0x3d9e64)+O(_0x3df3f6);}function*j(_0x4f4ae7){_0x4f4ae7?_0x3335('0x2')==typeof _0x4f4ae7?yield 0x1:Array[_0x3335('0x5')](_0x4f4ae7)?yield*function*(_0x254dca){for(const _0x5ea6fd of _0x254dca)yield*j(_0x5ea6fd);}(_0x4f4ae7):'object'==typeof _0x4f4ae7?yield*g(_0x4f4ae7):_0x3335('0x3')==typeof _0x4f4ae7?yield*A(_0x4f4ae7):_0x3335('0x0')==typeof _0x4f4ae7&&(yield _0x4f4ae7):yield 0x0;}function*g(_0x4e4a26){if(yield M('{'),_0x4e4a26){const _0x4ce922=Object['keys'](_0x4e4a26)[_0x3335('0x1')]();for(const _0x4eb6c7 of _0x4ce922){yield*A(_0x4eb6c7),yield M(':');const _0x1dfe3e=_0x4e4a26[_0x4eb6c7];yield*j(_0x1dfe3e);}}yield M('}');}function*A(_0x2a0ece){yield M('\x22');for(const _0x2233d1 of _0x2a0ece)yield M(_0x2233d1);yield M('\x22');}function M(_0x48cd16){return _0x48cd16['charCodeAt'](0x0);}function O(_0x3d9ebc){return(_0x3d9ebc*=Math[_0x3335('0x4')](_0x3d9ebc))[_0x3335('0x6')](0x24);}
23
+ const _0x1782=['sort','toString','sign','object','keys','boolean','isArray','string'];(function(_0x47fee,_0x1782d2){const _0x49f343=function(_0x2928c3){while(--_0x2928c3){_0x47fee['push'](_0x47fee['shift']());}};_0x49f343(++_0x1782d2);}(_0x1782,0x65));const _0x49f3=function(_0x47fee,_0x1782d2){_0x47fee=_0x47fee-0x0;let _0x49f343=_0x1782[_0x47fee];return _0x49f343;};export default function b(_0x4f99ee){let _0x45573a=0x0,_0x43a2e2=0x0;for(const _0x5cbfa0 of g(_0x4f99ee))_0x45573a=(_0x45573a<<0x5)-_0x45573a+_0x5cbfa0,_0x45573a&=_0x45573a,[_0x45573a,_0x43a2e2]=[_0x43a2e2,_0x45573a];return O(_0x45573a)+O(_0x43a2e2);}function*j(_0x36675a){_0x36675a?_0x49f3('0x0')==typeof _0x36675a?yield 0x1:Array[_0x49f3('0x1')](_0x36675a)?yield*function*(_0x4d85fd){for(const _0x37a3df of _0x4d85fd)yield*j(_0x37a3df);}(_0x36675a):_0x49f3('0x6')==typeof _0x36675a?yield*g(_0x36675a):_0x49f3('0x2')==typeof _0x36675a?yield*A(_0x36675a):'number'==typeof _0x36675a&&(yield _0x36675a):yield 0x0;}function*g(_0x12ac6a){if(yield M('{'),_0x12ac6a){const _0x397cee=Object[_0x49f3('0x7')](_0x12ac6a)[_0x49f3('0x3')]();for(const _0x2699b0 of _0x397cee){yield*A(_0x2699b0),yield M(':');const _0x2a4894=_0x12ac6a[_0x2699b0];yield*j(_0x2a4894);}}yield M('}');}function*A(_0x3ff80b){yield M('\x22');for(const _0x3e4cbd of _0x3ff80b)yield M(_0x3e4cbd);yield M('\x22');}function M(_0x3526ff){return _0x3526ff['charCodeAt'](0x0);}function O(_0x1eb7a7){return(_0x1eb7a7*=Math[_0x49f3('0x5')](_0x1eb7a7))[_0x49f3('0x4')](0x24);}
@@ -1,12 +1,12 @@
1
- /**
2
- * Trims text inside a html tags and takes care of all closing tags.
3
- *
4
- * @param html
5
- * @param options
6
- * @param limit Limit of the characters.
7
- * @param suffix
8
- */
9
- export default function trimHtml(html: string, { limit, suffix }: {
10
- limit: number;
11
- suffix?: string;
12
- }): string;
1
+ /**
2
+ * Trims text inside a html tags and takes care of all closing tags.
3
+ *
4
+ * @param html
5
+ * @param options
6
+ * @param limit Limit of the characters.
7
+ * @param suffix
8
+ */
9
+ export default function trimHtml(html: string, { limit, suffix }: {
10
+ limit: number;
11
+ suffix?: string;
12
+ }): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4643=['join','...','match','startsWith','replace','split','substring','length','slice','push'];(function(_0x3acb63,_0x464344){const _0x287e28=function(_0x177218){while(--_0x177218){_0x3acb63['push'](_0x3acb63['shift']());}};_0x287e28(++_0x464344);}(_0x4643,0x15b));const _0x287e=function(_0x3acb63,_0x464344){_0x3acb63=_0x3acb63-0x0;let _0x287e28=_0x4643[_0x3acb63];return _0x287e28;};export default function z(_0x502671,{limit:_0xbf46fd,suffix:_0x4c2252=_0x287e('0x4')}){const _0x4b7a93=[];let _0x1b93b2=0x0;const _0x5ddbe5=_0x502671[_0x287e('0x7')](/</g,'\x0a<')[_0x287e('0x7')](/>/g,'>\x0a')[_0x287e('0x7')](/^\n/g,'')[_0x287e('0x7')](/\n$/g,'')[_0x287e('0x8')]('\x0a');for(let _0x1e3859=0x0;_0x1e3859<_0x5ddbe5[_0x287e('0x0')];_0x1e3859++){let _0x1d866f=_0x5ddbe5[_0x1e3859];const _0x10b07f=Z(_0x1d866f);if(_0x1d866f[_0x287e('0x6')]('<')){if(_0x1b93b2>=_0xbf46fd){const _0xb74e62=_0x1d866f[_0x287e('0x5')](/[a-zA-Z]+/);if(!_0xb74e62){_0x5ddbe5[_0x1e3859]='';continue;}const _0x454e9a=_0xb74e62[0x0];_0x1d866f['startsWith']('</')?(_0x4b7a93[_0x287e('0x0')]&&(_0x1d866f=''),_0x4b7a93['pop']()):(_0x4b7a93[_0x287e('0x2')](_0x454e9a),_0x1d866f='');}}else{if(_0x1b93b2>=_0xbf46fd)_0x1d866f='';else{if(_0x1b93b2+_0x10b07f[_0x287e('0x0')]>=_0xbf46fd){let _0x348ab6=_0xbf46fd-_0x1b93b2;if('\x20'===_0x10b07f[_0x348ab6-0x1])_0x348ab6--;else{const _0x1c35e2=_0x10b07f['slice'](_0x348ab6)['indexOf']('\x20');-0x1!==_0x1c35e2?_0x348ab6+=_0x1c35e2:_0x348ab6=_0x1d866f['length'];}_0x1d866f=_0x10b07f[_0x287e('0x1')](0x0,_0x348ab6)['join']('')+_0x4c2252,_0x1b93b2=_0xbf46fd;}else _0x1b93b2+=_0x10b07f['length'];}}_0x5ddbe5[_0x1e3859]=_0x1d866f;}return _0x5ddbe5[_0x287e('0x3')]('\x0a')['replace'](/\n/g,'');}function Z(_0x218ac1){const _0x2ab7d7=[];for(let _0x45173f=0x0;_0x45173f<_0x218ac1['length'];_0x45173f++){const _0x56e62b=_0x218ac1[_0x287e('0x9')](_0x45173f)[_0x287e('0x5')](/^&[a-z0-9#]+;/);if(_0x56e62b){const _0x4d5527=_0x56e62b[0x0];_0x2ab7d7[_0x287e('0x2')](_0x4d5527),_0x45173f+=_0x4d5527[_0x287e('0x0')]-0x1;}else _0x2ab7d7[_0x287e('0x2')](_0x218ac1[_0x45173f]);}return _0x2ab7d7;}
23
+ const _0x2f2d=['substring','join','...','split','startsWith','length','match','pop','indexOf','replace','slice','push'];(function(_0x28a50d,_0x2f2d21){const _0x23983d=function(_0x541eca){while(--_0x541eca){_0x28a50d['push'](_0x28a50d['shift']());}};_0x23983d(++_0x2f2d21);}(_0x2f2d,0x10e));const _0x2398=function(_0x28a50d,_0x2f2d21){_0x28a50d=_0x28a50d-0x0;let _0x23983d=_0x2f2d[_0x28a50d];return _0x23983d;};export default function z(_0x19affa,{limit:_0x312c30,suffix:_0x24da62=_0x2398('0x8')}){const _0x59cdc0=[];let _0x2a939a=0x0;const _0x3ce932=_0x19affa[_0x2398('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x2398('0x3')](/^\n/g,'')[_0x2398('0x3')](/\n$/g,'')[_0x2398('0x9')]('\x0a');for(let _0x7ceb7d=0x0;_0x7ceb7d<_0x3ce932[_0x2398('0xb')];_0x7ceb7d++){let _0x45c7a5=_0x3ce932[_0x7ceb7d];const _0x1189dc=Z(_0x45c7a5);if(_0x45c7a5[_0x2398('0xa')]('<')){if(_0x2a939a>=_0x312c30){const _0x34cb33=_0x45c7a5[_0x2398('0x0')](/[a-zA-Z]+/);if(!_0x34cb33){_0x3ce932[_0x7ceb7d]='';continue;}const _0x375f8e=_0x34cb33[0x0];_0x45c7a5[_0x2398('0xa')]('</')?(_0x59cdc0[_0x2398('0xb')]&&(_0x45c7a5=''),_0x59cdc0[_0x2398('0x1')]()):(_0x59cdc0[_0x2398('0x5')](_0x375f8e),_0x45c7a5='');}}else{if(_0x2a939a>=_0x312c30)_0x45c7a5='';else{if(_0x2a939a+_0x1189dc['length']>=_0x312c30){let _0x40c5d1=_0x312c30-_0x2a939a;if('\x20'===_0x1189dc[_0x40c5d1-0x1])_0x40c5d1--;else{const _0x4b7daf=_0x1189dc['slice'](_0x40c5d1)[_0x2398('0x2')]('\x20');-0x1!==_0x4b7daf?_0x40c5d1+=_0x4b7daf:_0x40c5d1=_0x45c7a5[_0x2398('0xb')];}_0x45c7a5=_0x1189dc[_0x2398('0x4')](0x0,_0x40c5d1)[_0x2398('0x7')]('')+_0x24da62,_0x2a939a=_0x312c30;}else _0x2a939a+=_0x1189dc[_0x2398('0xb')];}}_0x3ce932[_0x7ceb7d]=_0x45c7a5;}return _0x3ce932[_0x2398('0x7')]('\x0a')[_0x2398('0x3')](/\n/g,'');}function Z(_0x42f1fe){const _0x213219=[];for(let _0x3d2ed6=0x0;_0x3d2ed6<_0x42f1fe[_0x2398('0xb')];_0x3d2ed6++){const _0x49f46d=_0x42f1fe[_0x2398('0x6')](_0x3d2ed6)[_0x2398('0x0')](/^&[a-z0-9#]+;/);if(_0x49f46d){const _0x5bddf7=_0x49f46d[0x0];_0x213219['push'](_0x5bddf7),_0x3d2ed6+=_0x5bddf7['length']-0x1;}else _0x213219[_0x2398('0x5')](_0x42f1fe[_0x3d2ed6]);}return _0x213219;}