@ckeditor/ckeditor5-collaboration-core 47.3.0-alpha.3 → 47.3.0-alpha.4
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.
- package/dist/index.js +1 -1
- package/package.json +13 -13
- package/src/suggestions/integrations/alignment.js +1 -1
- package/src/suggestions/integrations/basicstyles.js +1 -1
- package/src/suggestions/integrations/bookmark.js +1 -1
- package/src/suggestions/integrations/font.js +1 -1
- package/src/suggestions/integrations/highlight.js +1 -1
- package/src/suggestions/integrations/horizontalline.js +1 -1
- package/src/suggestions/integrations/htmlembed.js +1 -1
- package/src/suggestions/integrations/image.js +1 -1
- package/src/suggestions/integrations/indent.js +1 -1
- package/src/suggestions/integrations/lineheight.js +1 -1
- package/src/suggestions/integrations/link.js +1 -1
- package/src/suggestions/integrations/list.js +1 -1
- package/src/suggestions/integrations/listproperties.js +1 -1
- package/src/suggestions/integrations/mediaembed.js +1 -1
- package/src/suggestions/integrations/multilevellist.js +1 -1
- package/src/suggestions/integrations/shiftenter.js +1 -1
- package/src/suggestions/integrations/style.js +1 -1
- package/src/suggestions/integrations/table.js +1 -1
- package/src/suggestions/integrations/tableheadings.js +1 -1
- package/src/suggestions/integrations/tablelayout.js +1 -1
- package/src/suggestions/integrations/tableproperties.js +1 -1
- package/src/suggestions/integrations/uploadcare.js +1 -1
- package/src/suggestions/suggestionsconversion.js +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/trim-html.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1c91(_0x8e30e9,_0x16ed8f){var _0x12938e=_0x1293();return _0x1c91=function(_0x1c91e3,_0x468acd){_0x1c91e3=_0x1c91e3-0x99;var _0x49b59c=_0x12938e[_0x1c91e3];return _0x49b59c;},_0x1c91(_0x8e30e9,_0x16ed8f);}(function(_0x1aed7e,_0x43821b){var _0x8fd9ed=_0x1c91,_0x45f213=_0x1aed7e();while(!![]){try{var _0x1c2b3c=parseInt(_0x8fd9ed(0xa2))/0x1+-parseInt(_0x8fd9ed(0xab))/0x2*(parseInt(_0x8fd9ed(0xb2))/0x3)+parseInt(_0x8fd9ed(0x9e))/0x4*(-parseInt(_0x8fd9ed(0xb9))/0x5)+parseInt(_0x8fd9ed(0xb1))/0x6+parseInt(_0x8fd9ed(0xa3))/0x7+parseInt(_0x8fd9ed(0x9f))/0x8*(parseInt(_0x8fd9ed(0xae))/0x9)+-parseInt(_0x8fd9ed(0xb8))/0xa*(-parseInt(_0x8fd9ed(0xba))/0xb);if(_0x1c2b3c===_0x43821b)break;else _0x45f213['push'](_0x45f213['shift']());}catch(_0x23b78f){_0x45f213['push'](_0x45f213['shift']());}}}(_0x1293,0x94aa9));import{ConfirmView as _0x9869b9}from'./confirmview.js';export function ConfirmMixin(_0x1c375a){var _0x3d5037=_0x1c91;return class extends _0x1c375a{[_0x3d5037(0xbb)](_0x1bb0cb,_0x294cef){var _0x22ec36=_0x3d5037;return this[_0x22ec36(0xb5)]=new _0x9869b9(this[_0x22ec36(0xa6)]),this[_0x22ec36(0xb5)][_0x22ec36(0xb6)](),this[_0x22ec36(0xb5)][_0x22ec36(0x9a)]=_0x1bb0cb,this[_0x22ec36(0xb5)][_0x22ec36(0xa0)](_0x22ec36(0xa7),()=>{var _0x3815ab=_0x22ec36;this[_0x3815ab(0xa9)]();}),this[_0x22ec36(0xb5)][_0x22ec36(0xa0)](_0x22ec36(0xb7),()=>{var _0x37832e=_0x22ec36;this[_0x37832e(0xa9)]();}),_0x294cef[_0x22ec36(0xa4)](this[_0x22ec36(0xb5)][_0x22ec36(0xa8)]),_0x294cef[_0x22ec36(0x9d)][_0x22ec36(0xa1)](_0x22ec36(0x99)),this[_0x22ec36(0xb0)](this[_0x22ec36(0xb5)]),this[_0x22ec36(0xb5)][_0x22ec36(0x9b)](),this[_0x22ec36(0xac)](_0x22ec36(0xb4),!0x0),this['on'](_0x22ec36(0xaa),(_0x489e33,_0x467dc4,_0x56367c)=>{var _0x2b95fa=_0x22ec36;_0x56367c||_0x294cef[_0x2b95fa(0x9d)][_0x2b95fa(0x9c)](_0x2b95fa(0x99));}),new Promise(_0x8bf9d=>this[_0x22ec36(0xb5)]['on'](_0x22ec36(0xb7),_0x8bf9d));}[_0x3d5037(0xad)](){var _0x198d33=_0x3d5037;this[_0x198d33(0xb4)]&&this[_0x198d33(0xb5)][_0x198d33(0xaf)](_0x198d33(0xa7));}[_0x3d5037(0xa9)](){var _0x3630e8=_0x3d5037;this[_0x3630e8(0xa8)]&&this[_0x3630e8(0xb5)]&&this[_0x3630e8(0xb5)][_0x3630e8(0xa8)]&&(this[_0x3630e8(0xa8)][_0x3630e8(0x9b)](),this[_0x3630e8(0xb5)][_0x3630e8(0xa8)][_0x3630e8(0x9c)](),this[_0x3630e8(0xbc)](this[_0x3630e8(0xb5)]),this[_0x3630e8(0xb4)]=!0x1,this[_0x3630e8(0xaf)](_0x3630e8(0xa5)),this[_0x3630e8(0xb5)][_0x3630e8(0xb3)](),this[_0x3630e8(0xb5)]=void 0x0);}};}function _0x1293(){var _0x29f979=['remove','classList','1630852DqcuRh','129496mnOZZU','once','add','212190iCKNKW','5538211RHOAiD','appendChild','removeConfirm','locale','cancel','element','_removeConfirm','change:isConfirm','168zWqWVv','set','cancelConfirm','9cBTTHT','fire','registerChild','1479336kYLmSA','26211RaYirr','destroy','isConfirm','confirmView','render','submit','20AqAFWM','5gekYus','2664486bnLEkF','showConfirm','deregisterChild','ck-confirm-view-active','message','focus'];_0x1293=function(){return _0x29f979;};return _0x1293();}
|
package/src/utils/confirmview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x158250=_0x56c2;(function(_0xc0f7c5,_0x117e11){const _0x4ba6fc=_0x56c2,_0x3ee449=_0xc0f7c5();while(!![]){try{const _0x17ed6b=-parseInt(_0x4ba6fc(0xe7))/0x1+parseInt(_0x4ba6fc(0xe9))/0x2+parseInt(_0x4ba6fc(0xf4))/0x3+parseInt(_0x4ba6fc(0xed))/0x4*(-parseInt(_0x4ba6fc(0xdd))/0x5)+parseInt(_0x4ba6fc(0xea))/0x6+-parseInt(_0x4ba6fc(0xfe))/0x7*(-parseInt(_0x4ba6fc(0xd7))/0x8)+parseInt(_0x4ba6fc(0xe0))/0x9*(parseInt(_0x4ba6fc(0xf8))/0xa);if(_0x17ed6b===_0x117e11)break;else _0x3ee449['push'](_0x3ee449['shift']());}catch(_0x349dd8){_0x3ee449['push'](_0x3ee449['shift']());}}}(_0x37d5,0xf3cce));import{IconCancel as _0x6849df,IconCheck as _0x455bc2}from'ckeditor5/src/icons.js';import{View as _0x43b446,ButtonView as _0x558536,FocusCycler as _0x5ad57f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3f23eb,KeystrokeHandler as _0x4fdac4}from'ckeditor5/src/utils.js';function _0x56c2(_0x18b55e,_0x28f08d){const _0x37d537=_0x37d5();return _0x56c2=function(_0x56c235,_0x33f032){_0x56c235=_0x56c235-0xcf;let _0x475b32=_0x37d537[_0x56c235];return _0x475b32;},_0x56c2(_0x18b55e,_0x28f08d);}import{getTranslation as _0x188d1c}from'./common-translations.js';import'../../theme/confirm.css';function _0x37d5(){const _0x444078=['focusCycler','element','forEach','presentation','Are\x20you\x20sure?','56pvasQT','extendTemplate','fire','esc','execute','ck-confirm-view-actions','5VxcPfY','ck-confirm-view-','focus','1003383IULPCh','focusTracker','set','label','message','focusables','keystrokes','1167358bcyXwU','listenTo','1753420cJghYQ','3857778sqrAKH','_setupKeyboardNavigation','createCollection','407884LFWUGx','_createButtonView','cancelView','bindTemplate','ck-confirm-view-inner','ck-confirm-view','shift+tab','491613OLSpZu','cancel','alertdialog','icon','20fHoFZT','div','render','Yes','submitView','add','361417ckeJHa','submit','tab','setTemplate'];_0x37d5=function(){return _0x444078;};return _0x37d5();}export class ConfirmView extends _0x43b446{[_0x158250(0xfc)];[_0x158250(0xef)];[_0x158250(0xe1)];[_0x158250(0xe6)];[_0x158250(0xd2)];[_0x158250(0xe5)];constructor(_0x5a21c1){const _0x2a7b0d=_0x158250;super(_0x5a21c1);const _0x4384b0=this[_0x2a7b0d(0xf0)];this[_0x2a7b0d(0xe2)](_0x2a7b0d(0xe4),_0x188d1c(_0x5a21c1,_0x2a7b0d(0xd6))),this[_0x2a7b0d(0xfc)]=this[_0x2a7b0d(0xee)](_0x5a21c1,_0x188d1c(_0x5a21c1,_0x2a7b0d(0xfb)),_0x455bc2,_0x2a7b0d(0xcf)),this[_0x2a7b0d(0xef)]=this[_0x2a7b0d(0xee)](_0x5a21c1,_0x188d1c(_0x5a21c1,'No'),_0x6849df,_0x2a7b0d(0xf5)),this[_0x2a7b0d(0xe5)]=this[_0x2a7b0d(0xec)]([this[_0x2a7b0d(0xfc)],this[_0x2a7b0d(0xef)]]),this[_0x2a7b0d(0xe1)]=new _0x3f23eb(),this[_0x2a7b0d(0xe6)]=new _0x4fdac4(),this[_0x2a7b0d(0xd2)]=new _0x5ad57f({'focusables':this[_0x2a7b0d(0xe5)],'focusTracker':this[_0x2a7b0d(0xe1)],'keystrokeHandler':this[_0x2a7b0d(0xe6)],'actions':{'focusPrevious':_0x2a7b0d(0xf3),'focusNext':_0x2a7b0d(0xd0)}}),this[_0x2a7b0d(0xd1)]({'tag':_0x2a7b0d(0xf9),'attributes':{'class':['ck',_0x2a7b0d(0xf2)],'tabindex':-0x1,'role':_0x2a7b0d(0xf6)},'children':[{'tag':_0x2a7b0d(0xf9),'attributes':{'class':_0x2a7b0d(0xf1),'role':_0x2a7b0d(0xd5)},'children':[{'tag':'p','children':[{'text':_0x4384b0['to'](_0x2a7b0d(0xe4))}]},{'tag':_0x2a7b0d(0xf9),'attributes':{'class':_0x2a7b0d(0xdc)},'children':[this[_0x2a7b0d(0xfc)],this[_0x2a7b0d(0xef)]]}]}]});}[_0x158250(0xfa)](){const _0x360570=_0x158250;super[_0x360570(0xfa)](),this[_0x360570(0xeb)]();}[_0x158250(0xdf)](){const _0x5509be=_0x158250;this[_0x5509be(0xef)][_0x5509be(0xd3)][_0x5509be(0xdf)]({'preventScroll':!0x0});}[_0x158250(0xee)](_0x53f874,_0x4bf9d0,_0x555936,_0x25b754){const _0x308dea=_0x158250,_0x56d7c8=new _0x558536(_0x53f874);return _0x56d7c8[_0x308dea(0xe3)]=_0x4bf9d0,_0x56d7c8[_0x308dea(0xf7)]=_0x555936,_0x56d7c8[_0x308dea(0xd8)]({'attributes':{'class':_0x308dea(0xde)+_0x25b754}}),_0x56d7c8['on'](_0x308dea(0xdb),()=>this[_0x308dea(0xd9)](_0x25b754)),_0x56d7c8;}[_0x158250(0xeb)](){const _0x4633e9=_0x158250;this[_0x4633e9(0xe5)][_0x4633e9(0xd4)](_0x41c7c6=>{const _0x301e51=_0x4633e9;this[_0x301e51(0xe6)][_0x301e51(0xe8)](_0x41c7c6[_0x301e51(0xd3)]),this[_0x301e51(0xe1)][_0x301e51(0xfd)](_0x41c7c6[_0x301e51(0xd3)]);}),this[_0x4633e9(0xe6)][_0x4633e9(0xe2)](_0x4633e9(0xda),(_0xbbd58f,_0x74844c)=>{const _0x5a8c1c=_0x4633e9;this[_0x5a8c1c(0xd9)](_0x5a8c1c(0xf5)),_0x74844c();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4edf(_0x48c657,_0x134d23){const _0x275718=_0x2757();return _0x4edf=function(_0x4edfbb,_0x5d28fd){_0x4edfbb=_0x4edfbb-0x111;let _0x3c4f23=_0x275718[_0x4edfbb];return _0x3c4f23;},_0x4edf(_0x48c657,_0x134d23);}(function(_0x138738,_0x4f2ac1){const _0x490403=_0x4edf,_0x270377=_0x138738();while(!![]){try{const _0x68f0cc=parseInt(_0x490403(0x119))/0x1+-parseInt(_0x490403(0x11b))/0x2+-parseInt(_0x490403(0x114))/0x3+parseInt(_0x490403(0x12a))/0x4*(-parseInt(_0x490403(0x111))/0x5)+parseInt(_0x490403(0x116))/0x6+-parseInt(_0x490403(0x122))/0x7*(-parseInt(_0x490403(0x12c))/0x8)+parseInt(_0x490403(0x12b))/0x9;if(_0x68f0cc===_0x4f2ac1)break;else _0x270377['push'](_0x270377['shift']());}catch(_0x39b0ae){_0x270377['push'](_0x270377['shift']());}}}(_0x2757,0xdfff1));import{DateTime as _0x27d116}from'luxon';function _0x2757(){const _0x73a7b6=['\x27Yesterday\x27\x20hh:mma','LL-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','518BlmpFP','floor','invalid-date-time-format','toJSDate','diff','EEEE','\x27Last\x27\x20EEEE\x20hh:mma','Last','4UZfdkR','5046588XERhhs','152952yeijAs','function','Today','6440655pFyhVw','fromISO','days','4240611zsrfMZ','toFormat','4164996ugMYZA','string','now','1672345DmOyvC','dateTimeFormat','1445784jcJACT','Yesterday','fromJSDate','hh:mma'];_0x2757=function(){return _0x73a7b6;};return _0x2757();}import{CKEditorError as _0x4c7378}from'ckeditor5/src/utils.js';import{getTranslation as _0x37b09b}from'./common-translations.js';export function getDateTimeFormatter(_0x540fa4={},_0x5ac1a6){const _0x133926=_0x4edf;if(void 0x0!==_0x540fa4[_0x133926(0x11a)]&&_0x133926(0x12d)!=typeof _0x540fa4[_0x133926(0x11a)])throw new _0x4c7378(_0x133926(0x124));return _0x2d88a8=>{const _0x148f67=_0x133926,_0x3acab8=_0x148f67(0x117)==typeof _0x2d88a8?_0x27d116[_0x148f67(0x112)](_0x2d88a8):_0x27d116[_0x148f67(0x11d)](_0x2d88a8),_0x4ba60f=_0x27d116[_0x148f67(0x118)](),_0xe38be5=Math[_0x148f67(0x123)](_0x4ba60f[_0x148f67(0x126)](_0x3acab8,_0x148f67(0x113))[_0x148f67(0x113)]);return _0x540fa4[_0x148f67(0x11a)]?_0x540fa4[_0x148f67(0x11a)](_0x3acab8[_0x148f67(0x125)](),_0x5ac1a6&&_0x5ac1a6['t']?_0x5ac1a6['t']:void 0x0):0x0===_0xe38be5?_0x5ac1a6?_0x37b09b(_0x5ac1a6,_0x148f67(0x12e))+'\x20'+_0x3acab8[_0x148f67(0x115)](_0x148f67(0x11e)):_0x3acab8[_0x148f67(0x115)](_0x148f67(0x121)):0x1===_0xe38be5?_0x5ac1a6?_0x37b09b(_0x5ac1a6,_0x148f67(0x11c))+'\x20'+_0x3acab8[_0x148f67(0x115)](_0x148f67(0x11e)):_0x3acab8[_0x148f67(0x115)](_0x148f67(0x11f)):_0xe38be5<0x7?_0x5ac1a6?_0x37b09b(_0x5ac1a6,_0x148f67(0x129))+'\x20'+_0x37b09b(_0x5ac1a6,_0x3acab8[_0x148f67(0x115)](_0x148f67(0x127)))+'\x20'+_0x3acab8[_0x148f67(0x115)](_0x148f67(0x11e)):_0x3acab8[_0x148f67(0x115)](_0x148f67(0x128)):_0x3acab8[_0x148f67(0x115)](_0x148f67(0x120));};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1efa(_0x4c0983,_0x47bc32){const _0x2a102f=_0x2a10();return _0x1efa=function(_0x1efafb,_0x3978e5){_0x1efafb=_0x1efafb-0x194;let _0x2b2a1c=_0x2a102f[_0x1efafb];return _0x2b2a1c;},_0x1efa(_0x4c0983,_0x47bc32);}(function(_0x1980e1,_0x209697){const _0xe0b37e=_0x1efa,_0x1feff5=_0x1980e1();while(!![]){try{const _0x5c08c7=-parseInt(_0xe0b37e(0x1a5))/0x1*(parseInt(_0xe0b37e(0x199))/0x2)+parseInt(_0xe0b37e(0x1af))/0x3*(parseInt(_0xe0b37e(0x1ac))/0x4)+-parseInt(_0xe0b37e(0x1a9))/0x5+parseInt(_0xe0b37e(0x1a0))/0x6*(-parseInt(_0xe0b37e(0x1a8))/0x7)+-parseInt(_0xe0b37e(0x19e))/0x8*(parseInt(_0xe0b37e(0x194))/0x9)+parseInt(_0xe0b37e(0x1a7))/0xa*(-parseInt(_0xe0b37e(0x1a1))/0xb)+-parseInt(_0xe0b37e(0x19d))/0xc*(-parseInt(_0xe0b37e(0x196))/0xd);if(_0x5c08c7===_0x209697)break;else _0x1feff5['push'](_0x1feff5['shift']());}catch(_0x2b1cbb){_0x1feff5['push'](_0x1feff5['shift']());}}}(_0x2a10,0x9d10b));import{first as _0x2ce248}from'ckeditor5/src/utils.js';function _0x2a10(){const _0x17cbcc=['69880gXMYju','filter','sort','3XhkjfE','markerNameToElements','207BQTeUe','name','120419qzdPOz','push','getClientRects','21346vFJehK','length','view','mapViewToDom','5316QdHyYm','313048tNhcfu','values','6HLYxiY','135025bOjRoq','mapper','domElement','from','11IbaSIM','item','750NDlJdp','4372382BKVYpJ','4574865NoWIFw','map','domConverter'];_0x2a10=function(){return _0x17cbcc;};return _0x2a10();}export function getMarkerDomElement(_0x3add32,_0x3ff68e){const _0x98a2b1=_0x1efa,_0x38a2ee=_0x3add32[_0x98a2b1(0x1a2)][_0x98a2b1(0x1b0)](_0x3ff68e[_0x98a2b1(0x195)]);if(!_0x38a2ee)return null;const _0x951346=_0x2ce248(_0x38a2ee[_0x98a2b1(0x19f)]());return _0x3add32[_0x98a2b1(0x19b)][_0x98a2b1(0x1ab)][_0x98a2b1(0x19c)](_0x951346)||null;}export function getAllMarkersDomElementsSorted(_0x1e6813,_0x16cada){const _0x50094c=_0x1efa;if(0x0===_0x16cada[_0x50094c(0x19a)])return null;const _0x3dec5a=[],_0x3d37c2=_0x1e6813[_0x50094c(0x19b)][_0x50094c(0x1ab)];for(const _0x210c01 of _0x16cada){const _0x3fcc8b=_0x1e6813[_0x50094c(0x1a2)][_0x50094c(0x1b0)](_0x210c01[_0x50094c(0x195)]);if(!_0x3fcc8b)continue;const _0x53fd2d=Array[_0x50094c(0x1a4)](_0x3fcc8b)[_0x50094c(0x1aa)](_0x156858=>_0x3d37c2[_0x50094c(0x19c)](_0x156858))[_0x50094c(0x1ad)](_0x2862b8=>!!_0x2862b8);_0x3dec5a[_0x50094c(0x197)](..._0x53fd2d);}if(0x0===_0x3dec5a[_0x50094c(0x19a)])return null;const _0x47f1b7=[];for(const _0x4f1068 of _0x3dec5a){const _0x1395e4=_0x4f1068[_0x50094c(0x198)]()[_0x50094c(0x1a6)](0x0);_0x1395e4&&_0x47f1b7[_0x50094c(0x197)]({'x':_0x1395e4['x'],'y':_0x1395e4['y'],'domElement':_0x4f1068});}return 0x0===_0x47f1b7[_0x50094c(0x19a)]?null:(_0x47f1b7[_0x50094c(0x1ae)]((_0x45ff76,_0x31226b)=>_0x45ff76['y']-_0x31226b['y']||_0x45ff76['x']-_0x31226b['x']),_0x47f1b7[_0x50094c(0x1aa)](_0x1010e9=>_0x1010e9[_0x50094c(0x1a3)]));}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c62ab,_0x534841){const _0x19640b=_0x2e71,_0x412e42=_0x2c62ab();while(!![]){try{const _0x416d1e=-parseInt(_0x19640b(0x152))/0x1*(parseInt(_0x19640b(0x15f))/0x2)+-parseInt(_0x19640b(0x15e))/0x3+-parseInt(_0x19640b(0x15b))/0x4+parseInt(_0x19640b(0x15a))/0x5*(parseInt(_0x19640b(0x153))/0x6)+-parseInt(_0x19640b(0x155))/0x7+-parseInt(_0x19640b(0x160))/0x8*(-parseInt(_0x19640b(0x151))/0x9)+parseInt(_0x19640b(0x156))/0xa;if(_0x416d1e===_0x534841)break;else _0x412e42['push'](_0x412e42['shift']());}catch(_0x1f93c7){_0x412e42['push'](_0x412e42['shift']());}}}(_0x30b4,0xa56f9));export function hashObject(_0x846ce8){let _0x312ccb=0x0,_0x341a57=0x0;for(const _0x2a029e of ne(_0x846ce8))_0x312ccb=(_0x312ccb<<0x5)-_0x312ccb+_0x2a029e,_0x312ccb&=_0x312ccb,[_0x312ccb,_0x341a57]=[_0x341a57,_0x312ccb];return ie(_0x312ccb)+ie(_0x341a57);}function*ee(_0x30ea46){const _0x18a02c=_0x2e71;null==_0x30ea46||null==_0x30ea46?yield 0x12b9b0a1:0x0===_0x30ea46||!0x1===_0x30ea46?yield 0x0:0x1===_0x30ea46||0x1==_0x30ea46?yield 0x1:Array[_0x18a02c(0x15c)](_0x30ea46)?yield*function*(_0x219966){for(const _0x47788b of _0x219966)yield*ee(_0x47788b);}(_0x30ea46):_0x18a02c(0x14e)==typeof _0x30ea46?yield*ne(_0x30ea46):_0x18a02c(0x154)==typeof _0x30ea46?yield*oe(_0x30ea46):_0x18a02c(0x14f)==typeof _0x30ea46&&(yield _0x30ea46);}function*ne(_0x3a9435){const _0x2e8b2e=_0x2e71;if(yield te('{'),_0x3a9435){const _0x22a7b4=Object[_0x2e8b2e(0x157)](_0x3a9435)[_0x2e8b2e(0x15d)]();for(const _0x100dc7 of _0x22a7b4){yield*oe(_0x100dc7),yield te(':');const _0x494195=_0x3a9435[_0x100dc7];yield*ee(_0x494195);}}yield te('}');}function*oe(_0x4c36d2){yield te('\x22');for(const _0x352852 of _0x4c36d2)yield te(_0x352852);yield te('\x22');}function _0x30b4(){const _0x1c0cd2=['toString','25jgbXpl','4876172nKYSVr','isArray','sort','2016405aQFIDW','7382SLwbjg','8kXVQAd','object','number','sign','4309299zVNkKt','61IsgjgX','277158vuQBjN','string','873600CAOZFL','22089780RZNQvZ','keys','charCodeAt'];_0x30b4=function(){return _0x1c0cd2;};return _0x30b4();}function te(_0x2d7526){const _0x5c1377=_0x2e71;return _0x2d7526[_0x5c1377(0x158)](0x0);}function _0x2e71(_0xc20cfd,_0x457a4c){const _0x30b4d=_0x30b4();return _0x2e71=function(_0x2e7162,_0x30f6b5){_0x2e7162=_0x2e7162-0x14e;let _0x4c857a=_0x30b4d[_0x2e7162];return _0x4c857a;},_0x2e71(_0xc20cfd,_0x457a4c);}function ie(_0x3f1bd8){const _0x13664a=_0x2e71;return(_0x3f1bd8*=Math[_0x13664a(0x150)](_0x3f1bd8))[_0x13664a(0x159)](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1142d3=_0x499a;(function(_0x53cc8f,_0x4a9942){const _0x5f3a7e=_0x499a,_0x2a63b7=_0x53cc8f();while(!![]){try{const _0x332d7c=-parseInt(_0x5f3a7e(0x1c0))/0x1*(-parseInt(_0x5f3a7e(0x1e3))/0x2)+parseInt(_0x5f3a7e(0x1e1))/0x3+parseInt(_0x5f3a7e(0x1da))/0x4+-parseInt(_0x5f3a7e(0x1de))/0x5+-parseInt(_0x5f3a7e(0x1d1))/0x6*(-parseInt(_0x5f3a7e(0x1cf))/0x7)+-parseInt(_0x5f3a7e(0x1c9))/0x8*(parseInt(_0x5f3a7e(0x1e2))/0x9)+-parseInt(_0x5f3a7e(0x1ea))/0xa*(parseInt(_0x5f3a7e(0x1c5))/0xb);if(_0x332d7c===_0x4a9942)break;else _0x2a63b7['push'](_0x2a63b7['shift']());}catch(_0x1fdb03){_0x2a63b7['push'](_0x2a63b7['shift']());}}}(_0x29b3,0x9828c));const nt=[_0x1142d3(0x1cb),_0x1142d3(0x1dd),_0x1142d3(0x1d6),_0x1142d3(0x1df)],et=[_0x1142d3(0x1e9),_0x1142d3(0x1c7),_0x1142d3(0x1e0),_0x1142d3(0x1e6),_0x1142d3(0x1cd),_0x1142d3(0x1c8)];function ot(_0x2a5b9a,_0x20e891,_0xb4d40c,_0x308c48=[]){const _0x421944=_0x1142d3,_0x170c41=_0x421944(0x1d2)==typeof _0x2a5b9a?_0xb4d40c[_0x421944(0x1d3)](_0x2a5b9a)[_0x421944(0x1d5)]:_0x2a5b9a[_0x421944(0x1e4)][_0x421944(0x1d5)];if(_0x20e891[_0x421944(0x1e5)](_0x170c41))return _0x20e891[_0x421944(0x1d3)](_0x170c41);_0x20e891[_0x421944(0x1dc)](_0x170c41,!0x0);const _0x4022b6=[...et,..._0x308c48][_0x421944(0x1d7)](_0x19fda8=>{const _0x10fbbf=_0x421944;if(_0xb4d40c[_0x10fbbf(0x1e5)](_0x19fda8))return _0xb4d40c[_0x10fbbf(0x1d3)](_0x19fda8)[_0x10fbbf(0x1d5)];})[_0x421944(0x1c6)](_0x3a5d76=>_0x3a5d76);if(_0x170c41&&_0x4022b6[_0x421944(0x1c2)](_0x170c41))return _0x20e891[_0x421944(0x1dc)](_0x170c41,!0x1),!0x1;if(!_0x170c41[_0x421944(0x1e8)])return _0x20e891[_0x421944(0x1dc)](_0x170c41,!0x0),!0x0;const _0x3c7fc6=_0x170c41[_0x421944(0x1e8)][_0x421944(0x1d0)](_0x4aacdd=>ot(_0x4aacdd,_0x20e891,_0xb4d40c,_0x308c48));return _0x20e891[_0x421944(0x1dc)](_0x170c41,_0x3c7fc6),_0x3c7fc6;}function _0x29b3(){const _0x4c4018=['length','concat','2066185exYazd','filter','RevisionTracker','WProofreader','3417496BiEMkV','config','initialData','extraPlugins','DocumentOutline','from','476AMyRpc','every','42276GjxwEH','string','get','find','constructor','toolbar','map','plugins','_context','829712TpEIkg','names','set','context','3507145OtUOQr','rootsAttributes','Autosave','2633574NHBjdT','9aKiOve','2286UlzZHV','prototype','has','WordCount','builtinPlugins','requires','WebSocketGateway','30EmGiDl','removePlugins','657TZbAhe','pluginName','includes'];_0x29b3=function(){return _0x4c4018;};return _0x29b3();}function _0x499a(_0x3d2190,_0x523f0c){const _0x29b34c=_0x29b3();return _0x499a=function(_0x499ad4,_0x123efb){_0x499ad4=_0x499ad4-0x1c0;let _0x73a44c=_0x29b34c[_0x499ad4];return _0x73a44c;},_0x499a(_0x3d2190,_0x523f0c);}export function sanitizeEditorConfig(_0x3722f6,_0x1721cc){const _0x55abde=_0x1142d3,_0x19771c={};for(const _0x4a3870 of _0x3722f6[_0x55abde(0x1ca)][_0x55abde(0x1db)]())nt[_0x55abde(0x1c2)](_0x4a3870)||(_0x19771c[_0x4a3870]=_0x3722f6[_0x55abde(0x1ca)][_0x55abde(0x1d3)](_0x4a3870));const _0x5aa015=_0x19771c[_0x55abde(0x1d8)]||[],_0xaedbcb=_0x3722f6[_0x55abde(0x1d5)][_0x55abde(0x1e7)]||[],_0x496160=_0x5aa015[_0x55abde(0x1c3)]?_0x5aa015:_0xaedbcb,_0x26329d=_0x19771c[_0x55abde(0x1cc)]||[];delete _0x19771c[_0x55abde(0x1cc)];const _0x21c675=_0x19771c[_0x55abde(0x1eb)]||[];delete _0x19771c[_0x55abde(0x1eb)];const _0x25dda4=_0x3722f6[_0x55abde(0x1d9)][_0x55abde(0x1ca)][_0x55abde(0x1d3)](_0x55abde(0x1d8))||[],_0x1b5039=_0x496160[_0x55abde(0x1c4)](_0x26329d)[_0x55abde(0x1c4)](_0x25dda4)[_0x55abde(0x1d7)](_0x50a812=>_0x55abde(0x1d2)==typeof _0x50a812?_0xaedbcb[_0x55abde(0x1d4)](_0x31154b=>_0x31154b[_0x55abde(0x1c1)]==_0x50a812):_0x50a812)[_0x55abde(0x1c6)](_0x197d95=>!_0x21c675[_0x55abde(0x1c2)](_0x197d95)&&!_0x21c675[_0x55abde(0x1c2)](_0x197d95[_0x55abde(0x1c1)])),_0x22a01f=Array[_0x55abde(0x1ce)](new Set(_0x1b5039)),_0xca3b92=new Map();return _0x19771c[_0x55abde(0x1d8)]=_0x22a01f[_0x55abde(0x1c6)](_0x2a1c5a=>ot(_0x2a1c5a,_0xca3b92,_0x3722f6[_0x55abde(0x1d8)],_0x1721cc)),_0x19771c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1a69(){const _0x560725=['5187708UeGuEI','set','listenTo','element','remove','removed','chain','focusTracker','fire','focusCycler','keystrokes','unchain','esc','6qoALwb','1480295EgqaGr','target','11lbzKwK','arrowup','keys','10054910hrLcIr','isRendered','add','added','escape','reverse','change','arrowdown','Ctrl+Shift+E','from','240256hZvPxB','3965208OGBGlm','5894289ZEPARu','enter','actions','629167yyOkmD','stopListening','focus','focusFirst','12BTlAlf','32hJuHFa'];_0x1a69=function(){return _0x560725;};return _0x1a69();}const _0x14efac=_0x1c2a;(function(_0xc3069e,_0x17e9c2){const _0x4c047e=_0x1c2a,_0x44618b=_0xc3069e();while(!![]){try{const _0x4e7fee=parseInt(_0x4c047e(0x1ae))/0x1*(-parseInt(_0x4c047e(0x19e))/0x2)+-parseInt(_0x4c047e(0x1af))/0x3+parseInt(_0x4c047e(0x1b9))/0x4+-parseInt(_0x4c047e(0x19f))/0x5*(parseInt(_0x4c047e(0x1b7))/0x6)+-parseInt(_0x4c047e(0x1b3))/0x7*(-parseInt(_0x4c047e(0x1b8))/0x8)+parseInt(_0x4c047e(0x1b0))/0x9+parseInt(_0x4c047e(0x1a4))/0xa*(parseInt(_0x4c047e(0x1a1))/0xb);if(_0x4e7fee===_0x17e9c2)break;else _0x44618b['push'](_0x44618b['shift']());}catch(_0xe2324){_0x44618b['push'](_0x44618b['shift']());}}}(_0x1a69,0xa6901));function _0x1c2a(_0x58bd35,_0xdb85ce){const _0x1a6971=_0x1a69();return _0x1c2a=function(_0x1c2a7c,_0xfdf9e){_0x1c2a7c=_0x1c2a7c-0x19e;let _0x62549d=_0x1a6971[_0x1c2a7c];return _0x62549d;},_0x1c2a(_0x58bd35,_0xdb85ce);}import{isViewWithFocusCycler as _0x3da6e1}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x14efac(0x1ac);export function setupThreadKeyboardNavigation(_0x1c88a0,_0x14039a){const _0x4c5df1=_0x14efac,_0x455101=_0x1c88a0[_0x4c5df1(0x1bc)];_0x1c88a0[_0x4c5df1(0x1c3)][_0x4c5df1(0x1bb)](_0x455101);for(const _0x10f56a of _0x14039a)ro(_0x1c88a0,_0x10f56a);_0x14039a['on'](_0x4c5df1(0x1aa),(_0x8daf9b,_0x24faac)=>{const _0x3e263e=_0x4c5df1;for(const _0x4038af of _0x24faac[_0x3e263e(0x1be)])to(_0x1c88a0,_0x4038af);for(const _0x206680 of Array[_0x3e263e(0x1ad)](_0x24faac[_0x3e263e(0x1a7)])[_0x3e263e(0x1a9)]())ro(_0x1c88a0,_0x206680);}),_0x1c88a0[_0x4c5df1(0x1c3)][_0x4c5df1(0x1ba)](_0x4c5df1(0x1b1),(_0x2e8171,_0xd15a5c)=>{const _0xad216c=_0x4c5df1;_0x455101===_0x2e8171[_0xad216c(0x1a0)]&&(_0x1c88a0[_0xad216c(0x1c2)][_0xad216c(0x1b6)](),_0xd15a5c());},{'filter':_0x4c8335=>_0x4c8335[_0x4c5df1(0x1a0)]===_0x455101}),_0x1c88a0[_0x4c5df1(0x1c3)][_0x4c5df1(0x1ba)](_0x4c5df1(0x1c5),(_0x26b934,_0x4643b9)=>{const _0x92d31f=_0x4c5df1;_0x455101!==_0x26b934[_0x92d31f(0x1a0)]?_0x1c88a0[_0x92d31f(0x1b5)]():_0x1c88a0[_0x92d31f(0x1c1)](_0x92d31f(0x1a8)),_0x4643b9();}),_0x1c88a0[_0x4c5df1(0x1c3)][_0x4c5df1(0x1ba)](_0x4c5df1(0x1ab),(_0x5c2594,_0x503e9e)=>{const _0x263730=_0x4c5df1;_0x455101===_0x5c2594[_0x263730(0x1a0)]&&(_0x1c88a0[_0x263730(0x1c1)](_0x263730(0x1ab)),_0x503e9e());}),_0x1c88a0[_0x4c5df1(0x1c3)][_0x4c5df1(0x1ba)](_0x4c5df1(0x1a2),(_0x461737,_0x4025ab)=>{const _0x57fe67=_0x4c5df1;_0x455101===_0x461737[_0x57fe67(0x1a0)]&&(_0x1c88a0[_0x57fe67(0x1c1)](_0x57fe67(0x1a2)),_0x4025ab());});}function ro(_0x58cfc2,_0x4eea96){const _0x48e6d3=_0x14efac;_0x4eea96[_0x48e6d3(0x1a5)]&&(_0x58cfc2[_0x48e6d3(0x1c0)][_0x48e6d3(0x1a6)](_0x4eea96[_0x48e6d3(0x1bc)]),_0x58cfc2[_0x48e6d3(0x1c3)][_0x48e6d3(0x1bb)](_0x4eea96[_0x48e6d3(0x1bc)]),_0x3da6e1(_0x4eea96)&&function(_0x1963d6,_0x43fe8f){const _0x55f894=_0x48e6d3,_0x9e8e32=_0x1963d6[_0x55f894(0x1b2)],_0x35e771=_0x43fe8f[_0x55f894(0x1b2)];for(const _0x871666 of Object[_0x55f894(0x1a3)](_0x9e8e32))if(_0x871666 in _0x35e771&&_0x9e8e32[_0x871666]!==_0x35e771[_0x871666])return!0x1;return!0x0;}(_0x58cfc2[_0x48e6d3(0x1c2)],_0x4eea96[_0x48e6d3(0x1c2)])&&_0x58cfc2[_0x48e6d3(0x1c2)][_0x48e6d3(0x1bf)](_0x4eea96[_0x48e6d3(0x1c2)]));}function to(_0x40caac,_0x4a3304){const _0x2f1391=_0x14efac;_0x40caac[_0x2f1391(0x1c0)][_0x2f1391(0x1bd)](_0x4a3304[_0x2f1391(0x1bc)]),_0x40caac[_0x2f1391(0x1c3)][_0x2f1391(0x1b4)](_0x4a3304[_0x2f1391(0x1bc)]),_0x3da6e1(_0x4a3304)&&_0x40caac[_0x2f1391(0x1c2)][_0x2f1391(0x1c4)](_0x4a3304[_0x2f1391(0x1c2)]);}
|
package/src/utils/trim-html.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3304(){const _0x282dd8=['2763971dBBUOg','...','19215315LEUSeK','substring','indexOf','split','push','pop','slice','length','startsWith','184014tTqGZe','42deDXpI','3840897nsqeHC','24zuFDvK','replace','1063986SekWrF','match','267005wOJWvA','join','1257552fbnUFq'];_0x3304=function(){return _0x282dd8;};return _0x3304();}const _0x5022d6=_0x1f35;(function(_0x3d2263,_0x5c2398){const _0x5ef17f=_0x1f35,_0x19af49=_0x3d2263();while(!![]){try{const _0x33a40d=parseInt(_0x5ef17f(0xe3))/0x1+-parseInt(_0x5ef17f(0xde))/0x2+-parseInt(_0x5ef17f(0xe0))/0x3+-parseInt(_0x5ef17f(0xe7))/0x4+parseInt(_0x5ef17f(0xe5))/0x5*(parseInt(_0x5ef17f(0xdf))/0x6)+parseInt(_0x5ef17f(0xe8))/0x7*(-parseInt(_0x5ef17f(0xe1))/0x8)+parseInt(_0x5ef17f(0xea))/0x9;if(_0x33a40d===_0x5c2398)break;else _0x19af49['push'](_0x19af49['shift']());}catch(_0x50d297){_0x19af49['push'](_0x19af49['shift']());}}}(_0x3304,0xab487));function _0x1f35(_0x5db744,_0x32405e){const _0x330456=_0x3304();return _0x1f35=function(_0x1f353e,_0x30ed3b){_0x1f353e=_0x1f353e-0xd9;let _0x30ab5a=_0x330456[_0x1f353e];return _0x30ab5a;},_0x1f35(_0x5db744,_0x32405e);}export function trimHtml(_0x28c38b,{limit:_0x362f5d,suffix:_0x54ce1d=_0x5022d6(0xe9)}){const _0x6fd326=_0x5022d6,_0x3740f3=[];let _0x118146=0x0;const _0x1c04c7=_0x28c38b[_0x6fd326(0xe2)](/</g,'\x0a<')[_0x6fd326(0xe2)](/>/g,'>\x0a')[_0x6fd326(0xe2)](/^\n/g,'')[_0x6fd326(0xe2)](/\n$/g,'')[_0x6fd326(0xed)]('\x0a');for(let _0x27649a=0x0;_0x27649a<_0x1c04c7[_0x6fd326(0xdc)];_0x27649a++){let _0x4e01c9=_0x1c04c7[_0x27649a];const _0x1fea01=tn(_0x4e01c9);if(_0x4e01c9[_0x6fd326(0xdd)]('<')){if(_0x118146>=_0x362f5d){const _0x637266=_0x4e01c9[_0x6fd326(0xe4)](/[a-zA-Z]+/);if(!_0x637266){_0x1c04c7[_0x27649a]='';continue;}const _0x4371a8=_0x637266[0x0];_0x4e01c9[_0x6fd326(0xdd)]('</')?(_0x3740f3[_0x6fd326(0xdc)]&&(_0x4e01c9=''),_0x3740f3[_0x6fd326(0xda)]()):(_0x3740f3[_0x6fd326(0xd9)](_0x4371a8),_0x4e01c9='');}}else{if(_0x118146>=_0x362f5d)_0x4e01c9='';else{if(_0x118146+_0x1fea01[_0x6fd326(0xdc)]>=_0x362f5d){let _0xd5eff3=_0x362f5d-_0x118146;if('\x20'===_0x1fea01[_0xd5eff3-0x1])_0xd5eff3--;else{const _0x3fbe83=_0x1fea01[_0x6fd326(0xdb)](_0xd5eff3)[_0x6fd326(0xec)]('\x20');-0x1!==_0x3fbe83?_0xd5eff3+=_0x3fbe83:_0xd5eff3=_0x4e01c9[_0x6fd326(0xdc)];}_0x4e01c9=_0x1fea01[_0x6fd326(0xdb)](0x0,_0xd5eff3)[_0x6fd326(0xe6)]('')+_0x54ce1d,_0x118146=_0x362f5d;}else _0x118146+=_0x1fea01[_0x6fd326(0xdc)];}}_0x1c04c7[_0x27649a]=_0x4e01c9;}return _0x1c04c7[_0x6fd326(0xe6)]('\x0a')[_0x6fd326(0xe2)](/\n/g,'');}function tn(_0x5760ab){const _0x21e01c=_0x5022d6,_0x3457cf=[];for(let _0x51b17d=0x0;_0x51b17d<_0x5760ab[_0x21e01c(0xdc)];_0x51b17d++){const _0x43107f=_0x5760ab[_0x21e01c(0xeb)](_0x51b17d)[_0x21e01c(0xe4)](/^&[a-z0-9#]+;/);if(_0x43107f){const _0x4d0ee2=_0x43107f[0x0];_0x3457cf[_0x21e01c(0xd9)](_0x4d0ee2),_0x51b17d+=_0x4d0ee2[_0x21e01c(0xdc)]-0x1;}else _0x3457cf[_0x21e01c(0xd9)](_0x5760ab[_0x51b17d]);}return _0x3457cf;}
|