@ckeditor/ckeditor5-collaboration-core 41.4.0-alpha.0 → 41.4.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.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +23 -0
- package/package.json +2 -2
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.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/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
package/dist/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
import{ContextPlugin as _0x5de06b,Editor as _0x53bebf,icons as _0x499755}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x832635,Collection as _0x5cdf06,first as _0x433d92}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x182dcb,IconView as _0x19af86,ButtonView as _0x226c68}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x2eda01 from'date-fns/format/index.js';import _0xb17afe from'date-fns/parseISO/index.js';import _0x32c898 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x5de06b{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x4ebbb8,_0x10d08a){let _0x57755f;if(_0x10d08a||(_0x10d08a=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x10d08a?_0x57755f=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x57755f=this['context']['editors']['find'](_0x53def4=>_0x53def4['config']['get']('collaboration.channelId')==_0x10d08a)),!_0x57755f)throw new _0x832635('permissions-set-permissions-invalid-channel-id',null);const _0x169253=_0x57755f['plugins'],_0x4edfbd=_0x169253['has']('CommentsRepository')?_0x169253['get']('CommentsRepository'):void 0x0,_0x45e38d=_0x169253['has']('CommentsOnly')&&_0x169253['get']('CommentsOnly'),_0x523609=_0x4ebbb8['includes']('document:write'),_0x49a7d0=_0x4ebbb8['includes']('comment:modify_all'),_0x1b0171=_0x4ebbb8['includes']('comment:admin'),_0x20685f=_0x4ebbb8['includes']('comment:write'),_0x1ee063=_0x20685f||_0x1b0171,_0x33f9ab=_0x1ee063||_0x49a7d0,_0x1e34d5=_0x523609||_0x1ee063;(_0x45e38d&&(_0x45e38d['isEnabled']=!_0x523609&&_0x33f9ab),_0x57755f instanceof _0x53bebf)&&(!(_0x523609||_0x33f9ab&&_0x4edfbd)?_0x57755f['enableReadOnlyMode']('no-permissions'):_0x57755f['disableReadOnlyMode']('no-permissions'));if(_0x4edfbd){_0x4edfbd['setPermissions']({'admin':_0x1b0171,'modifyAll':_0x49a7d0,'write':_0x20685f,'resolve':_0x1e34d5},_0x10d08a);const _0x4d0780=_0x57755f instanceof _0x53bebf&&_0x57755f['commands']['get']('addCommentThread');_0x4d0780&&(_0x1ee063?_0x4d0780['clearForceDisabled']('noPermissions'):_0x4d0780['forceDisabled']('noPermissions'));}}}function r(_0x3df8e6,_0x3c461c){const t=_0x3df8e6['t'];switch(_0x3c461c){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x5de06b{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x2e324a=this['context'];this['licenseKey']=_0x2e324a['config']['get']('licenseKey');const _0x2856a6=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x583b81;for(const _0x23d0f9 in _0x2e324a){const _0x2ee55e=_0x2e324a[_0x23d0f9];if(_0x2856a6['includes'](_0x2ee55e)){delete _0x2e324a[_0x23d0f9],_0x583b81=_0x2ee55e;break;}}if('licenseKeyInvalid'===_0x583b81)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x832635('invalid-license-key',null);if('licenseKeyTrial'===_0x583b81&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x583b81)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x832635('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x583b81)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x832635('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x583b81)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x832635('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x583b81&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x363e53,name:_0x119f3c,..._0x470e24}){if(!_0x363e53||'string'!=typeof _0x363e53)throw new _0x832635('users-add-invalid-id');if(this['users']['has'](_0x363e53))throw new _0x832635('users-add-duplicated-id',null,{'id':_0x363e53});const _0x5a9ccc={..._0x470e24,'id':_0x363e53,'name':a(this['_locale'],_0x119f3c),'color':this['_getNextColor']()};_0x5a9ccc['name']=a(this['_locale'],_0x5a9ccc['name']);const _0x373fe7=new K(_0x5a9ccc);return this['users']['add'](_0x373fe7),_0x373fe7;}['getUser'](_0x249105){return this['users']['get'](_0x249105);}['useAnonymousUser'](){const _0x21044c=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x21044c);}['defineMe'](_0x25e96b){if(this['_myId'])throw new _0x832635('users-me-already-defined',null);const _0x2a02cb=this['getUser'](_0x25e96b);if(!_0x2a02cb)throw new _0x832635('users-me-missing-user',null);this['_myId']=_0x25e96b,_0x2a02cb['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x4411f2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4411f2&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x122910=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x122910,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0xaa788a){super(_0xaa788a),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5cdf06(),this['_locale']=_0xaa788a['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}}class K{get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x5b15c1=this['name']['split']('\x20');return 0x1===_0x5b15c1['length']?this['_getInitial'](_0x5b15c1[0x0]):this['_getInitial'](_0x5b15c1[0x0])+this['_getInitial'](_0x5b15c1[_0x5b15c1['length']-0x1]);}['_getInitial'](_0x207c22){return _0x207c22['charAt'](0x0)['toUpperCase']();}constructor(_0x18fcba){this['id']=_0x18fcba['id'],this['color']=_0x18fcba['color'],this['name']=_0x18fcba['name'],this['avatar']=_0x18fcba['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x5238fb,_0x1480f7=''){return''==(_0x1480f7=_0x1480f7['trim']())?r(_0x5238fb,'Anonymous'):_0x1480f7;}class u{['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}constructor(_0x5abfb2){this['_id']=_0x5abfb2;}}class E extends _0x182dcb{constructor(_0x4fb76d,_0x3f64cf,_0x2aa1f1){super(_0x4fb76d),this['name']=_0x3f64cf['name'],this['notificationView']=null;const _0x253a0f=['ck','ck-user'],_0x3d10ad=['ck','ck-user__img'];if(_0x3f64cf['isAnonymous']&&_0x3d10ad['push']('ck-user__anonymous'),!_0x3f64cf['isAnonymous']&&_0x3f64cf['isMe']&&_0x253a0f['push']('ck-user_me'),_0x3f64cf['avatar']&&_0x3d10ad['push']('ck-user__avatar'),_0x2aa1f1){const _0x5d7ff8=new _0x19af86();_0x5d7ff8['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5d7ff8['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2aa1f1},'children':[_0x5d7ff8]};}const _0x521b7b=[{'tag':'div','attributes':{'class':_0x3d10ad,'style':{'background-image':_0x3f64cf['avatar']?'url(\x27'+_0x3f64cf['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3f64cf['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x3f64cf['initials']}]}];this['notificationView']&&_0x521b7b['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x253a0f,'data-user-id':_0x3f64cf['id']},'children':_0x521b7b});}}function j(_0x5efe49={}){if(void 0x0!==_0x5efe49['dateTimeFormat']&&'function'!=typeof _0x5efe49['dateTimeFormat'])throw new _0x832635('invalid-date-time-format');return _0x3634f2=>{const _0x7f773e='string'==typeof _0x3634f2?_0xb17afe(_0x3634f2):_0x3634f2,_0x11ec56=new Date(),_0x3bab32=_0x32c898(_0x11ec56,_0x7f773e);return _0x5efe49['dateTimeFormat']?_0x5efe49['dateTimeFormat'](_0x7f773e):_0x2eda01(_0x7f773e,0x0===_0x3bab32?'\x27Today\x27\x20hh:mma':0x1===_0x3bab32?'\x27Yesterday\x27\x20hh:mma':_0x3bab32<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x69f3af,_0x39d11b){const _0x5f565a=_0x69f3af['mapper']['markerNameToElements'](_0x39d11b['name']);if(!_0x5f565a)return null;const _0x461b9d=_0x433d92(_0x5f565a['values']());return _0x69f3af['view']['domConverter']['mapViewToDom'](_0x461b9d)||null;}function I(_0x363677,_0x45a596){if(0x0===_0x45a596['length'])return null;const _0x3ff54e=[],_0x181ec0=_0x363677['view']['domConverter'];for(const _0x4e23a9 of _0x45a596){const _0x43d2cf=_0x363677['mapper']['markerNameToElements'](_0x4e23a9['name']);if(!_0x43d2cf)continue;const _0x353098=Array['from'](_0x43d2cf)['map'](_0x695c9=>_0x181ec0['mapViewToDom'](_0x695c9))['filter'](_0x4dd293=>!!_0x4dd293);_0x3ff54e['push'](..._0x353098);}if(0x0===_0x3ff54e['length'])return null;const _0x49402f=[];for(const _0x3c5ad3 of _0x3ff54e){const _0x5f300e=_0x3c5ad3['getClientRects']()['item'](0x0);_0x5f300e&&_0x49402f['push']({'x':_0x5f300e['x'],'y':_0x5f300e['y'],'domElement':_0x3c5ad3});}return 0x0===_0x49402f['length']?null:(_0x49402f['sort']((_0x16e3c5,_0x57f517)=>_0x16e3c5['y']-_0x57f517['y']||_0x16e3c5['x']-_0x57f517['x']),_0x49402f['map'](_0x3288dd=>_0x3288dd['domElement']));}function Z(_0x66ebee,{limit:_0x16b865,suffix:_0x2faab3='...'}){const _0x28161b=[];let _0x3aaf07=0x0;const _0x2ac661=_0x66ebee['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x405141=0x0;_0x405141<_0x2ac661['length'];_0x405141++){let _0xa56317=_0x2ac661[_0x405141];const _0x22755e=$(_0xa56317);if(_0xa56317['startsWith']('<')){if(_0x3aaf07>=_0x16b865){const _0x281e19=_0xa56317['match'](/[a-zA-Z]+/);if(!_0x281e19){_0x2ac661[_0x405141]='';continue;}const _0x8cafe7=_0x281e19[0x0];_0xa56317['startsWith']('</')?(_0x28161b['length']&&(_0xa56317=''),_0x28161b['pop']()):(_0x28161b['push'](_0x8cafe7),_0xa56317='');}}else{if(_0x3aaf07>=_0x16b865)_0xa56317='';else{if(_0x3aaf07+_0x22755e['length']>=_0x16b865){let _0x4aa098=_0x16b865-_0x3aaf07;if('\x20'===_0x22755e[_0x4aa098-0x1])_0x4aa098--;else{const _0x4e44fb=_0x22755e['slice'](_0x4aa098)['indexOf']('\x20');-0x1!==_0x4e44fb?_0x4aa098+=_0x4e44fb:_0x4aa098=_0xa56317['length'];}_0xa56317=_0x22755e['slice'](0x0,_0x4aa098)['join']('')+_0x2faab3,_0x3aaf07=_0x16b865;}else _0x3aaf07+=_0x22755e['length'];}}_0x2ac661[_0x405141]=_0xa56317;}return _0x2ac661['join']('\x0a')['replace'](/\n/g,'');}function $(_0x33f7be){const _0x4f04d3=[];for(let _0x121c12=0x0;_0x121c12<_0x33f7be['length'];_0x121c12++){const _0x3984f2=_0x33f7be['substring'](_0x121c12)['match'](/^&[a-z0-9#]+;/);if(_0x3984f2){const _0x4ac63c=_0x3984f2[0x0];_0x4f04d3['push'](_0x4ac63c),_0x121c12+=_0x4ac63c['length']-0x1;}else _0x4f04d3['push'](_0x33f7be[_0x121c12]);}return _0x4f04d3;}class h extends _0x182dcb{['_createButtonView'](_0x59d388,_0x55bf45,_0x1717a3,_0x416633){const _0x59b0b1=new _0x226c68(_0x59d388);return _0x59b0b1['label']=_0x55bf45,_0x59b0b1['icon']=_0x1717a3,_0x59b0b1['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x416633}}),_0x59b0b1['on']('execute',()=>this['fire'](_0x416633)),_0x59b0b1;}constructor(_0x4fd073){super(_0x4fd073);const _0x408f37=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x4fd073,r(_0x4fd073,'Yes'),_0x499755['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x4fd073,r(_0x4fd073,'No'),_0x499755['cancel'],'cancel'),this['set']('message',r(_0x4fd073,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x408f37['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0x5e3623){return class extends _0x5e3623{['showConfirm'](_0x2ab56c,_0x105f18){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2ab56c,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x105f18['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x5b64f5=>this['confirmView']['on']('submit',_0x5b64f5));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x5e379d){let _0x25ccac=0x0,_0x36d6ac=0x0;for(const _0x17f958 of A(_0x5e379d))_0x25ccac=(_0x25ccac<<0x5)-_0x25ccac+_0x17f958,_0x25ccac|=0x0,[_0x25ccac,_0x36d6ac]=[_0x36d6ac,_0x25ccac];return q(_0x25ccac)+q(_0x36d6ac);}function*g(_0x53d865){null==_0x53d865||null==_0x53d865?yield 0x12b9b0a1:0x0===_0x53d865||!0x1===_0x53d865?yield 0x0:0x1===_0x53d865||0x1==_0x53d865?yield 0x1:Array['isArray'](_0x53d865)?yield*function*(_0x3f6d36){for(const _0x28b931 of _0x3f6d36)yield*g(_0x28b931);}(_0x53d865):'object'==typeof _0x53d865?yield*A(_0x53d865):'string'==typeof _0x53d865?yield*M(_0x53d865):'number'==typeof _0x53d865&&(yield _0x53d865);}function*A(_0x4b1448){if(yield O('{'),_0x4b1448){const _0x26f850=Object['keys'](_0x4b1448)['sort']();for(const _0x29c6bd of _0x26f850){yield*M(_0x29c6bd),yield O(':');const _0x5e1245=_0x4b1448[_0x29c6bd];yield*g(_0x5e1245);}}yield O('}');}function*M(_0x2d9905){yield O('\x22');for(const _0xdd26dc of _0x2d9905)yield O(_0xdd26dc);yield O('\x22');}function O(_0x27967f){return _0x27967f['charCodeAt'](0x0);}function q(_0x4910cd){return(_0x4910cd*=Math['sign'](_0x4910cd))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x1deb28,_0x351743,_0x31832a,_0x1577e=[]){const _0xac5f27='string'==typeof _0x1deb28?_0x31832a['get'](_0x1deb28)['constructor']:_0x1deb28,_0x5c459d=_0xac5f27['pluginName']||_0xac5f27['name'];if(_0x351743['has'](_0x5c459d))return _0x351743['get'](_0x5c459d);if(_0x351743['set'](_0x5c459d,!0x0),_0x5c459d&&W['concat'](_0x1577e)['includes'](_0x5c459d))return _0x351743['set'](_0x5c459d,!0x1),!0x1;if(!_0xac5f27['requires'])return _0x351743['set'](_0x5c459d,!0x0),!0x0;const _0x15bc69=_0xac5f27['requires']['every'](_0x3ad715=>v(_0x3ad715,_0x351743,_0x31832a,_0x1577e));return _0x351743['set'](_0x5c459d,_0x15bc69),_0x15bc69;}function D(_0x244193,_0x108a6a){const _0x6b9345={};for(const _0x2ea5ef of _0x244193['config']['names']())w['includes'](_0x2ea5ef)||(_0x6b9345[_0x2ea5ef]=_0x244193['config']['get'](_0x2ea5ef));const _0xbb3d9f=_0x6b9345['plugins']||[],_0x5f4c02=_0x244193['constructor']['builtinPlugins']||[],_0x1bc6c5=_0xbb3d9f['length']?_0xbb3d9f:_0x5f4c02,_0x490516=_0x6b9345['extraPlugins']||[];delete _0x6b9345['extraPlugins'];const _0xd3c84d=_0x6b9345['removePlugins']||[];delete _0x6b9345['removePlugins'];const _0xd77c89=_0x244193['_context']['config']['get']('plugins')||[],_0x32a0d3=_0x1bc6c5['concat'](_0x490516)['concat'](_0xd77c89)['map'](_0x189545=>'string'==typeof _0x189545?_0x5f4c02['find'](_0x5001a5=>_0x5001a5['pluginName']==_0x189545):_0x189545)['filter'](_0x13094b=>!_0xd3c84d['includes'](_0x13094b)&&!_0xd3c84d['includes'](_0x13094b['pluginName'])),_0x4614ed=Array['from'](new Set(_0x32a0d3)),_0x2dac30=new Map();return _0x6b9345['plugins']=_0x4614ed['filter'](_0x4029c3=>v(_0x4029c3,_0x2dac30,_0x244193['plugins'],_0x108a6a)),_0x6b9345;}function z(_0x78f393,_0x143d15){const _0x603b68=[];_0x78f393['document']['selection']['on']('change:range',()=>{const _0x338d66=function(_0x33b5f8,_0x23ead9){const _0x14017b=[];for(const _0x123bb9 of _0x33b5f8['markers']){const _0x4f7c0c=_0x123bb9['getRange']();(_0x4f7c0c['containsPosition'](_0x23ead9)||_0x4f7c0c['start']['isEqual'](_0x23ead9)||_0x4f7c0c['end']['isEqual'](_0x23ead9))&&_0x14017b['push'](_0x123bb9);}return _0x14017b;}(_0x78f393,_0x78f393['document']['selection']['focus']),_0x330eb0=[],_0x105adf=[],_0x5915b8=[];for(const _0x1d5509 of _0x603b68)_0x338d66['includes'](_0x1d5509)||_0x330eb0['push'](_0x1d5509);for(const _0x5c8af1 of _0x338d66)_0x603b68['includes'](_0x5c8af1)||_0x105adf['push'](_0x5c8af1),_0x5915b8['push'](_0x5c8af1);(_0x330eb0['length']||_0x105adf['length'])&&_0x143d15({'left':_0x330eb0,'entered':_0x105adf}),_0x603b68['length']=0x0,_0x603b68['push'](..._0x5915b8);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,I as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
23
|
+
import{ContextPlugin as _0x4b7e1d,Editor as _0x1b7795,icons as _0x36d88c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xa1e179,Collection as _0x1274d1,first as _0x2ad83a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2c04e5,IconView as _0x27f03e,ButtonView as _0x454b22}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x170062 from'date-fns/format/index.js';import _0x237cda from'date-fns/parseISO/index.js';import _0x129ab4 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x4b7e1d{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x3cda55,_0xd82d2a){let _0x578c1d;if(_0xd82d2a||(_0xd82d2a=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xd82d2a?_0x578c1d=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x578c1d=this['context']['editors']['find'](_0x5995ae=>_0x5995ae['config']['get']('collaboration.channelId')==_0xd82d2a)),!_0x578c1d)throw new _0xa1e179('permissions-set-permissions-invalid-channel-id',null);const _0x110a17=_0x578c1d['plugins'],_0xa7e5ba=_0x110a17['has']('CommentsRepository')?_0x110a17['get']('CommentsRepository'):void 0x0,_0x3b89bf=_0x110a17['has']('CommentsOnly')&&_0x110a17['get']('CommentsOnly'),_0x168bed=_0x3cda55['includes']('document:write'),_0x120993=_0x3cda55['includes']('comment:modify_all'),_0x1c1220=_0x3cda55['includes']('comment:admin'),_0x53eb72=_0x3cda55['includes']('comment:write'),_0x10dd24=_0x53eb72||_0x1c1220,_0x531de2=_0x10dd24||_0x120993,_0x43a7d0=_0x168bed||_0x10dd24;(_0x3b89bf&&(_0x3b89bf['isEnabled']=!_0x168bed&&_0x531de2),_0x578c1d instanceof _0x1b7795)&&(!(_0x168bed||_0x531de2&&_0xa7e5ba)?_0x578c1d['enableReadOnlyMode']('no-permissions'):_0x578c1d['disableReadOnlyMode']('no-permissions'));if(_0xa7e5ba){_0xa7e5ba['setPermissions']({'admin':_0x1c1220,'modifyAll':_0x120993,'write':_0x53eb72,'resolve':_0x43a7d0},_0xd82d2a);const _0x25107e=_0x578c1d instanceof _0x1b7795&&_0x578c1d['commands']['get']('addCommentThread');_0x25107e&&(_0x10dd24?_0x25107e['clearForceDisabled']('noPermissions'):_0x25107e['forceDisabled']('noPermissions'));}}}function r(_0x5dbbb3,_0x37cb33){const t=_0x5dbbb3['t'];switch(_0x37cb33){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}class l extends _0x4b7e1d{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x362670=this['context'];this['licenseKey']=_0x362670['config']['get']('licenseKey');const _0x3366fb=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x596359;for(const _0x3b5c25 in _0x362670){const _0x17fa37=_0x362670[_0x3b5c25];if(_0x3366fb['includes'](_0x17fa37)){delete _0x362670[_0x3b5c25],_0x596359=_0x17fa37;break;}}if('licenseKeyInvalid'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('invalid-license-key',null);if('licenseKeyTrial'===_0x596359&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x596359)throw clearInterval(this['_licenseKeyCheckInterval']),new _0xa1e179('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x596359&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x5de3cc,name:_0x53afae,..._0x25523e}){if(!_0x5de3cc||'string'!=typeof _0x5de3cc)throw new _0xa1e179('users-add-invalid-id');if(this['users']['has'](_0x5de3cc))throw new _0xa1e179('users-add-duplicated-id',null,{'id':_0x5de3cc});const _0x26c3eb={..._0x25523e,'id':_0x5de3cc,'name':a(this['_locale'],_0x53afae),'color':this['_getNextColor']()};_0x26c3eb['name']=a(this['_locale'],_0x26c3eb['name']);const _0x129804=new K(_0x26c3eb);return this['users']['add'](_0x129804),_0x129804;}['getUser'](_0x52f3b6){return this['users']['get'](_0x52f3b6);}['useAnonymousUser'](){const _0x509f6e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x509f6e);}['defineMe'](_0x2b243e){if(this['_myId'])throw new _0xa1e179('users-me-already-defined',null);const _0x2e80e7=this['getUser'](_0x2b243e);if(!_0x2e80e7)throw new _0xa1e179('users-me-missing-user',null);this['_myId']=_0x2b243e,_0x2e80e7['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x77798d=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x77798d&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3e8cd9=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3e8cd9,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0x63c730){super(_0x63c730),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x1274d1(),this['_locale']=_0x63c730['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}}class K{get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x398e27=this['name']['split']('\x20');return 0x1===_0x398e27['length']?this['_getInitial'](_0x398e27[0x0]):this['_getInitial'](_0x398e27[0x0])+this['_getInitial'](_0x398e27[_0x398e27['length']-0x1]);}['_getInitial'](_0x2e14b7){return _0x2e14b7['charAt'](0x0)['toUpperCase']();}constructor(_0x5103b8){this['id']=_0x5103b8['id'],this['color']=_0x5103b8['color'],this['name']=_0x5103b8['name'],this['avatar']=_0x5103b8['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x3d9fe2,_0x3614ab=''){return''==(_0x3614ab=_0x3614ab['trim']())?r(_0x3d9fe2,'Anonymous'):_0x3614ab;}class u{['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}constructor(_0x419ae0){this['_id']=_0x419ae0;}}class E extends _0x2c04e5{constructor(_0x362d80,_0x123142,_0x4a1b66){super(_0x362d80),this['name']=_0x123142['name'],this['notificationView']=null;const _0x9abd38=['ck','ck-user'],_0x2b0053=['ck','ck-user__img'];if(_0x123142['isAnonymous']&&_0x2b0053['push']('ck-user__anonymous'),!_0x123142['isAnonymous']&&_0x123142['isMe']&&_0x9abd38['push']('ck-user_me'),_0x123142['avatar']&&_0x2b0053['push']('ck-user__avatar'),_0x4a1b66){const _0x52d470=new _0x27f03e();_0x52d470['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x52d470['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4a1b66},'children':[_0x52d470]};}const _0x21a9f0=[{'tag':'div','attributes':{'class':_0x2b0053,'style':{'background-image':_0x123142['avatar']?'url(\x27'+_0x123142['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x123142['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x123142['initials']}]}];this['notificationView']&&_0x21a9f0['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x9abd38,'data-user-id':_0x123142['id']},'children':_0x21a9f0});}}function j(_0xc03dee={}){if(void 0x0!==_0xc03dee['dateTimeFormat']&&'function'!=typeof _0xc03dee['dateTimeFormat'])throw new _0xa1e179('invalid-date-time-format');return _0x132908=>{const _0x2bf7d7='string'==typeof _0x132908?_0x237cda(_0x132908):_0x132908,_0x1c4072=new Date(),_0x185a02=_0x129ab4(_0x1c4072,_0x2bf7d7);return _0xc03dee['dateTimeFormat']?_0xc03dee['dateTimeFormat'](_0x2bf7d7):_0x170062(_0x2bf7d7,0x0===_0x185a02?'\x27Today\x27\x20hh:mma':0x1===_0x185a02?'\x27Yesterday\x27\x20hh:mma':_0x185a02<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x45459e,_0x94516b){const _0x37b565=_0x45459e['mapper']['markerNameToElements'](_0x94516b['name']);if(!_0x37b565)return null;const _0x7bc03f=_0x2ad83a(_0x37b565['values']());return _0x45459e['view']['domConverter']['mapViewToDom'](_0x7bc03f)||null;}function I(_0xfd8f58,_0x1e91a1){if(0x0===_0x1e91a1['length'])return null;const _0x4e468c=[],_0x2db4f9=_0xfd8f58['view']['domConverter'];for(const _0x29d47d of _0x1e91a1){const _0x1979e8=_0xfd8f58['mapper']['markerNameToElements'](_0x29d47d['name']);if(!_0x1979e8)continue;const _0x3b0ddc=Array['from'](_0x1979e8)['map'](_0x85a8ff=>_0x2db4f9['mapViewToDom'](_0x85a8ff))['filter'](_0x9a9943=>!!_0x9a9943);_0x4e468c['push'](..._0x3b0ddc);}if(0x0===_0x4e468c['length'])return null;const _0xce1e17=[];for(const _0x3841d6 of _0x4e468c){const _0x4b5819=_0x3841d6['getClientRects']()['item'](0x0);_0x4b5819&&_0xce1e17['push']({'x':_0x4b5819['x'],'y':_0x4b5819['y'],'domElement':_0x3841d6});}return 0x0===_0xce1e17['length']?null:(_0xce1e17['sort']((_0x493a99,_0x1b80d4)=>_0x493a99['y']-_0x1b80d4['y']||_0x493a99['x']-_0x1b80d4['x']),_0xce1e17['map'](_0x171bd6=>_0x171bd6['domElement']));}function Z(_0x1918fd,{limit:_0x419a96,suffix:_0x2087c4='...'}){const _0x3a5043=[];let _0x178a51=0x0;const _0x4e7421=_0x1918fd['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x3fa5f6=0x0;_0x3fa5f6<_0x4e7421['length'];_0x3fa5f6++){let _0x22c21e=_0x4e7421[_0x3fa5f6];const _0x3f63a0=$(_0x22c21e);if(_0x22c21e['startsWith']('<')){if(_0x178a51>=_0x419a96){const _0x1c71c7=_0x22c21e['match'](/[a-zA-Z]+/);if(!_0x1c71c7){_0x4e7421[_0x3fa5f6]='';continue;}const _0xd082fa=_0x1c71c7[0x0];_0x22c21e['startsWith']('</')?(_0x3a5043['length']&&(_0x22c21e=''),_0x3a5043['pop']()):(_0x3a5043['push'](_0xd082fa),_0x22c21e='');}}else{if(_0x178a51>=_0x419a96)_0x22c21e='';else{if(_0x178a51+_0x3f63a0['length']>=_0x419a96){let _0x391863=_0x419a96-_0x178a51;if('\x20'===_0x3f63a0[_0x391863-0x1])_0x391863--;else{const _0x1a05ce=_0x3f63a0['slice'](_0x391863)['indexOf']('\x20');-0x1!==_0x1a05ce?_0x391863+=_0x1a05ce:_0x391863=_0x22c21e['length'];}_0x22c21e=_0x3f63a0['slice'](0x0,_0x391863)['join']('')+_0x2087c4,_0x178a51=_0x419a96;}else _0x178a51+=_0x3f63a0['length'];}}_0x4e7421[_0x3fa5f6]=_0x22c21e;}return _0x4e7421['join']('\x0a')['replace'](/\n/g,'');}function $(_0x36a289){const _0x1bdf31=[];for(let _0x10e66e=0x0;_0x10e66e<_0x36a289['length'];_0x10e66e++){const _0x48b3e3=_0x36a289['substring'](_0x10e66e)['match'](/^&[a-z0-9#]+;/);if(_0x48b3e3){const _0x2f3bfd=_0x48b3e3[0x0];_0x1bdf31['push'](_0x2f3bfd),_0x10e66e+=_0x2f3bfd['length']-0x1;}else _0x1bdf31['push'](_0x36a289[_0x10e66e]);}return _0x1bdf31;}class h extends _0x2c04e5{['_createButtonView'](_0x3c5033,_0x49da62,_0x2cab6f,_0x157a11){const _0x5126a3=new _0x454b22(_0x3c5033);return _0x5126a3['label']=_0x49da62,_0x5126a3['icon']=_0x2cab6f,_0x5126a3['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x157a11}}),_0x5126a3['on']('execute',()=>this['fire'](_0x157a11)),_0x5126a3;}constructor(_0xdcf02e){super(_0xdcf02e);const _0x114f46=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0xdcf02e,r(_0xdcf02e,'Yes'),_0x36d88c['check'],'submit'),this['cancelView']=this['_createButtonView'](_0xdcf02e,r(_0xdcf02e,'No'),_0x36d88c['cancel'],'cancel'),this['set']('message',r(_0xdcf02e,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x114f46['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0xc8960a){return class extends _0xc8960a{['showConfirm'](_0x705f2,_0x59fabb){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x705f2,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x59fabb['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x60726e=>this['confirmView']['on']('submit',_0x60726e));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function b(_0x294be6){let _0x32aca9=0x0,_0x1ca17c=0x0;for(const _0x5188f6 of A(_0x294be6))_0x32aca9=(_0x32aca9<<0x5)-_0x32aca9+_0x5188f6,_0x32aca9|=0x0,[_0x32aca9,_0x1ca17c]=[_0x1ca17c,_0x32aca9];return q(_0x32aca9)+q(_0x1ca17c);}function*g(_0x2447df){null==_0x2447df||null==_0x2447df?yield 0x12b9b0a1:0x0===_0x2447df||!0x1===_0x2447df?yield 0x0:0x1===_0x2447df||0x1==_0x2447df?yield 0x1:Array['isArray'](_0x2447df)?yield*function*(_0x5cc2b0){for(const _0xda70e of _0x5cc2b0)yield*g(_0xda70e);}(_0x2447df):'object'==typeof _0x2447df?yield*A(_0x2447df):'string'==typeof _0x2447df?yield*M(_0x2447df):'number'==typeof _0x2447df&&(yield _0x2447df);}function*A(_0x5a5acc){if(yield O('{'),_0x5a5acc){const _0x2fccca=Object['keys'](_0x5a5acc)['sort']();for(const _0x502341 of _0x2fccca){yield*M(_0x502341),yield O(':');const _0x5f42d4=_0x5a5acc[_0x502341];yield*g(_0x5f42d4);}}yield O('}');}function*M(_0x22881e){yield O('\x22');for(const _0x4a6afc of _0x22881e)yield O(_0x4a6afc);yield O('\x22');}function O(_0x381c1a){return _0x381c1a['charCodeAt'](0x0);}function q(_0x324062){return(_0x324062*=Math['sign'](_0x324062))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x309751,_0x3c914b,_0x25f9bc,_0x4fbfff=[]){const _0x79558c='string'==typeof _0x309751?_0x25f9bc['get'](_0x309751)['constructor']:_0x309751['prototype']['constructor'];if(_0x3c914b['has'](_0x79558c))return _0x3c914b['get'](_0x79558c);_0x3c914b['set'](_0x79558c,!0x0);const _0x40a4a6=[...W,..._0x4fbfff]['map'](_0x5b568b=>{if(_0x25f9bc['has'](_0x5b568b))return _0x25f9bc['get'](_0x5b568b)['constructor'];})['filter'](_0x3970da=>_0x3970da);if(_0x79558c&&_0x40a4a6['includes'](_0x79558c))return _0x3c914b['set'](_0x79558c,!0x1),!0x1;if(!_0x79558c['requires'])return _0x3c914b['set'](_0x79558c,!0x0),!0x0;const _0x4b10d8=_0x79558c['requires']['every'](_0x13fa85=>v(_0x13fa85,_0x3c914b,_0x25f9bc,_0x4fbfff));return _0x3c914b['set'](_0x79558c,_0x4b10d8),_0x4b10d8;}function D(_0x590cc3,_0xb36e8){const _0x295282={};for(const _0xa680bb of _0x590cc3['config']['names']())w['includes'](_0xa680bb)||(_0x295282[_0xa680bb]=_0x590cc3['config']['get'](_0xa680bb));const _0x20d4d9=_0x295282['plugins']||[],_0x1e8b6f=_0x590cc3['constructor']['builtinPlugins']||[],_0x31aff4=_0x20d4d9['length']?_0x20d4d9:_0x1e8b6f,_0x430319=_0x295282['extraPlugins']||[];delete _0x295282['extraPlugins'];const _0x1b54db=_0x295282['removePlugins']||[];delete _0x295282['removePlugins'];const _0x51b6c1=_0x590cc3['_context']['config']['get']('plugins')||[],_0x53317a=_0x31aff4['concat'](_0x430319)['concat'](_0x51b6c1)['map'](_0x3c2a5e=>'string'==typeof _0x3c2a5e?_0x1e8b6f['find'](_0xef750=>_0xef750['pluginName']==_0x3c2a5e):_0x3c2a5e)['filter'](_0xdfdcc4=>!_0x1b54db['includes'](_0xdfdcc4)&&!_0x1b54db['includes'](_0xdfdcc4['pluginName'])),_0x4748ea=Array['from'](new Set(_0x53317a)),_0x20907e=new Map();return _0x295282['plugins']=_0x4748ea['filter'](_0x4e732b=>v(_0x4e732b,_0x20907e,_0x590cc3['plugins'],_0xb36e8)),_0x295282;}function z(_0x1da904,_0x4a26d8){const _0x2f10f0=[];_0x1da904['document']['selection']['on']('change:range',()=>{const _0x5e481b=function(_0x5b9cab,_0x4ce3c){const _0x96f033=[];for(const _0x18683e of _0x5b9cab['markers']){const _0x54b203=_0x18683e['getRange']();(_0x54b203['containsPosition'](_0x4ce3c)||_0x54b203['start']['isEqual'](_0x4ce3c)||_0x54b203['end']['isEqual'](_0x4ce3c))&&_0x96f033['push'](_0x18683e);}return _0x96f033;}(_0x1da904,_0x1da904['document']['selection']['focus']),_0x1f3ada=[],_0x1d27ff=[],_0x31eb3a=[];for(const _0x3930e3 of _0x2f10f0)_0x5e481b['includes'](_0x3930e3)||_0x1f3ada['push'](_0x3930e3);for(const _0x57fcc5 of _0x5e481b)_0x2f10f0['includes'](_0x57fcc5)||_0x1d27ff['push'](_0x57fcc5),_0x31eb3a['push'](_0x57fcc5);(_0x1f3ada['length']||_0x1d27ff['length'])&&_0x4a26d8({'left':_0x1f3ada,'entered':_0x1d27ff}),_0x2f10f0['length']=0x0,_0x2f10f0['push'](..._0x31eb3a);});}export{m as ConfirmMixin,n as Permissions,E as UserView,l as Users,I as getAllMarkersDomElementsSorted,j as getDateTimeFormatter,k as getMarkerDomElement,b as hashObject,D as sanitizeEditorConfig,z as surroundingMarkersDetector,Z as trimHtml};
|
package/dist/translations/af.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':
|
23
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x7daa83=>0x1!=_0x7daa83}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x4e8694=>{const {af:{dictionary:_0x2250f9,getPluralForm:_0x439b61}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x462f69=>0x1!=_0x462f69}};_0x4e8694['af']||={'dictionary':{},'getPluralForm':null},_0x4e8694['af']['dictionary']=Object['assign'](_0x4e8694['af']['dictionary'],_0x2250f9),_0x4e8694['af']['getPluralForm']=_0x439b61;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':
|
23
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0xa968dd=>0x0==_0xa968dd?0x0:0x1==_0xa968dd?0x1:0x2==_0xa968dd?0x2:_0xa968dd%0x64>=0x3&&_0xa968dd%0x64<=0xa?0x3:_0xa968dd%0x64>=0xb&&_0xa968dd%0x64<=0x63?0x4:0x5}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x203350=>{const {ar:{dictionary:_0x4af144,getPluralForm:_0x238ccc}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x19fbd3=>0x0==_0x19fbd3?0x0:0x1==_0x19fbd3?0x1:0x2==_0x19fbd3?0x2:_0x19fbd3%0x64>=0x3&&_0x19fbd3%0x64<=0xa?0x3:_0x19fbd3%0x64>=0xb&&_0x19fbd3%0x64<=0x63?0x4:0x5}};_0x203350['ar']||={'dictionary':{},'getPluralForm':null},_0x203350['ar']['dictionary']=Object['assign'](_0x203350['ar']['dictionary'],_0x4af144),_0x203350['ar']['getPluralForm']=_0x238ccc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':
|
23
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x1ecefe=>0x1!=_0x1ecefe}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x118a4f=>{const {az:{dictionary:_0xf70752,getPluralForm:_0x25b3e6}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x11a234=>0x1!=_0x11a234}};_0x118a4f['az']||={'dictionary':{},'getPluralForm':null},_0x118a4f['az']['dictionary']=Object['assign'](_0x118a4f['az']['dictionary'],_0xf70752),_0x118a4f['az']['getPluralForm']=_0x25b3e6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':
|
23
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0xa9fce2=>0x1!=_0xa9fce2}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x5ad9f5=>{const {bg:{dictionary:_0x4d35ad,getPluralForm:_0x33d664}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x256f58=>0x1!=_0x256f58}};_0x5ad9f5['bg']||={'dictionary':{},'getPluralForm':null},_0x5ad9f5['bg']['dictionary']=Object['assign'](_0x5ad9f5['bg']['dictionary'],_0x4d35ad),_0x5ad9f5['bg']['getPluralForm']=_0x33d664;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':
|
23
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x712caf=>0x1!=_0x712caf}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x2c5485=>{const {bn:{dictionary:_0x432c47,getPluralForm:_0x53e335}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x1170ae=>0x1!=_0x1170ae}};_0x2c5485['bn']||={'dictionary':{},'getPluralForm':null},_0x2c5485['bn']['dictionary']=Object['assign'](_0x2c5485['bn']['dictionary'],_0x432c47),_0x2c5485['bn']['getPluralForm']=_0x53e335;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':
|
23
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x367a7a=>_0x367a7a%0xa==0x1&&_0x367a7a%0x64!=0xb?0x0:_0x367a7a%0xa>=0x2&&_0x367a7a%0xa<=0x4&&(_0x367a7a%0x64<0xa||_0x367a7a%0x64>=0x14)?0x1:0x2}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x490a0c=>{const {bs:{dictionary:_0x126064,getPluralForm:_0x4ac500}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x31159f=>_0x31159f%0xa==0x1&&_0x31159f%0x64!=0xb?0x0:_0x31159f%0xa>=0x2&&_0x31159f%0xa<=0x4&&(_0x31159f%0x64<0xa||_0x31159f%0x64>=0x14)?0x1:0x2}};_0x490a0c['bs']||={'dictionary':{},'getPluralForm':null},_0x490a0c['bs']['dictionary']=Object['assign'](_0x490a0c['bs']['dictionary'],_0x126064),_0x490a0c['bs']['getPluralForm']=_0x4ac500;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':
|
23
|
+
export default{'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x34bff0=>0x1!=_0x34bff0}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x2cde80=>{const {ca:{dictionary:_0x42bd37,getPluralForm:_0xd9470e}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x396aaf=>0x1!=_0x396aaf}};_0x2cde80['ca']||={'dictionary':{},'getPluralForm':null},_0x2cde80['ca']['dictionary']=Object['assign'](_0x2cde80['ca']['dictionary'],_0x42bd37),_0x2cde80['ca']['getPluralForm']=_0xd9470e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':
|
23
|
+
export default{'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x324106=>0x1==_0x324106&&_0x324106%0x1==0x0?0x0:_0x324106>=0x2&&_0x324106<=0x4&&_0x324106%0x1==0x0?0x1:_0x324106%0x1!=0x0?0x2:0x3}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x5cc913=>{const {cs:{dictionary:_0x3bf272,getPluralForm:_0x3c13c9}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x3096f3=>0x1==_0x3096f3&&_0x3096f3%0x1==0x0?0x0:_0x3096f3>=0x2&&_0x3096f3<=0x4&&_0x3096f3%0x1==0x0?0x1:_0x3096f3%0x1!=0x0?0x2:0x3}};_0x5cc913['cs']||={'dictionary':{},'getPluralForm':null},_0x5cc913['cs']['dictionary']=Object['assign'](_0x5cc913['cs']['dictionary'],_0x3bf272),_0x5cc913['cs']['getPluralForm']=_0x3c13c9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':
|
23
|
+
export default{'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x1ae251=>0x1!=_0x1ae251}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x411724=>{const {da:{dictionary:_0x393814,getPluralForm:_0x263a82}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x42317a=>0x1!=_0x42317a}};_0x411724['da']||={'dictionary':{},'getPluralForm':null},_0x411724['da']['dictionary']=Object['assign'](_0x411724['da']['dictionary'],_0x393814),_0x411724['da']['getPluralForm']=_0x263a82;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':
|
23
|
+
export default{'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x397f0a=>0x1!=_0x397f0a}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x47a219=>{const {'de-ch':{dictionary:_0x5c8313,getPluralForm:_0x396b44}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x263c70=>0x1!=_0x263c70}};_0x47a219['de-ch']||={'dictionary':{},'getPluralForm':null},_0x47a219['de-ch']['dictionary']=Object['assign'](_0x47a219['de-ch']['dictionary'],_0x5c8313),_0x47a219['de-ch']['getPluralForm']=_0x396b44;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':
|
23
|
+
export default{'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x1b6b71=>0x1!=_0x1b6b71}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x2130f4=>{const {de:{dictionary:_0x549cd0,getPluralForm:_0x5390ea}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x591e5b=>0x1!=_0x591e5b}};_0x2130f4['de']||={'dictionary':{},'getPluralForm':null},_0x2130f4['de']['dictionary']=Object['assign'](_0x2130f4['de']['dictionary'],_0x549cd0),_0x2130f4['de']['getPluralForm']=_0x5390ea;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':
|
23
|
+
export default{'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x10ddd7=>0x1!=_0x10ddd7}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x1f13a9=>{const {el:{dictionary:_0xa2b5dc,getPluralForm:_0x4494fb}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x1af0de=>0x1!=_0x1af0de}};_0x1f13a9['el']||={'dictionary':{},'getPluralForm':null},_0x1f13a9['el']['dictionary']=Object['assign'](_0x1f13a9['el']['dictionary'],_0xa2b5dc),_0x1f13a9['el']['getPluralForm']=_0x4494fb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':
|
23
|
+
export default{'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x30f305=>0x1!=_0x30f305}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x30d89d=>{const {'en-au':{dictionary:_0x89d764,getPluralForm:_0x3d116e}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x58682f=>0x1!=_0x58682f}};_0x30d89d['en-au']||={'dictionary':{},'getPluralForm':null},_0x30d89d['en-au']['dictionary']=Object['assign'](_0x30d89d['en-au']['dictionary'],_0x89d764),_0x30d89d['en-au']['getPluralForm']=_0x3d116e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x3323e1=>{const {en:{dictionary:_0x4d4454,getPluralForm:_0x198ca6}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x3323e1['en']||={'dictionary':{},'getPluralForm':null},_0x3323e1['en']['dictionary']=Object['assign'](_0x3323e1['en']['dictionary'],_0x4d4454),_0x3323e1['en']['getPluralForm']=_0x198ca6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':
|
23
|
+
export default{'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x4e1896=>0x1==_0x4e1896?0x0:0x0!=_0x4e1896&&_0x4e1896%0xf4240==0x0?0x1:0x2}};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
(_0x28d343=>{const {'es-co':{dictionary:_0xb7bd0,getPluralForm:_0x172180}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x58988f=>0x1==_0x58988f?0x0:0x0!=_0x58988f&&_0x58988f%0xf4240==0x0?0x1:0x2}};_0x28d343['es-co']||={'dictionary':{},'getPluralForm':null},_0x28d343['es-co']['dictionary']=Object['assign'](_0x28d343['es-co']['dictionary'],_0xb7bd0),_0x28d343['es-co']['getPluralForm']=_0x172180;})(window['CKEDITOR_TRANSLATIONS']||={});
|