@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240424.0 → 0.0.0-nightly-20240426.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x4b6513,Editor as _0x30d019,icons as _0x2c265e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5066d2,Collection as _0x3beb70,first as _0x2e2dcc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x361bb5,IconView as _0xc8e580,ButtonView as _0x3b6184}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x157728 from'date-fns/format/index.js';import _0x54fb71 from'date-fns/parseISO/index.js';import _0x45f7c9 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x4b6513{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x17a68f,_0x3591d7){let _0x325aa7;if(_0x3591d7||(_0x3591d7=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3591d7?_0x325aa7=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x325aa7=this['context']['editors']['find'](_0x125cab=>_0x125cab['config']['get']('collaboration.channelId')==_0x3591d7)),!_0x325aa7)throw new _0x5066d2('permissions-set-permissions-invalid-channel-id',null);const _0x54ed28=_0x325aa7['plugins'],_0x5c4a77=_0x54ed28['has']('CommentsRepository')?_0x54ed28['get']('CommentsRepository'):void 0x0,_0x42a5c1=_0x54ed28['has']('CommentsOnly')&&_0x54ed28['get']('CommentsOnly'),_0x3d0c30=_0x17a68f['includes']('document:write'),_0x489e6f=_0x17a68f['includes']('comment:modify_all'),_0x700333=_0x17a68f['includes']('comment:admin'),_0x5265eb=_0x17a68f['includes']('comment:write'),_0xf6f8e=_0x5265eb||_0x700333,_0x5dd032=_0xf6f8e||_0x489e6f,_0x5017f3=_0x3d0c30||_0xf6f8e;(_0x42a5c1&&(_0x42a5c1['isEnabled']=!_0x3d0c30&&_0x5dd032),_0x325aa7 instanceof _0x30d019)&&(!(_0x3d0c30||_0x5dd032&&_0x5c4a77)?_0x325aa7['enableReadOnlyMode']('no-permissions'):_0x325aa7['disableReadOnlyMode']('no-permissions'));if(_0x5c4a77){_0x5c4a77['setPermissions']({'admin':_0x700333,'modifyAll':_0x489e6f,'write':_0x5265eb,'resolve':_0x5017f3},_0x3591d7);const _0x593905=_0x325aa7 instanceof _0x30d019&&_0x325aa7['commands']['get']('addCommentThread');_0x593905&&(_0xf6f8e?_0x593905['clearForceDisabled']('noPermissions'):_0x593905['forceDisabled']('noPermissions'));}}}function r(_0x645a00,_0x2a6a7c){const t=_0x645a00['t'];switch(_0x2a6a7c){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 _0x4b6513{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x3495e2=this['context'];this['licenseKey']=_0x3495e2['config']['get']('licenseKey');const _0x2b4d80=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d3454;for(const _0x17a258 in _0x3495e2){const _0x2e069c=_0x3495e2[_0x17a258];if(_0x2b4d80['includes'](_0x2e069c)){delete _0x3495e2[_0x17a258],_0x3d3454=_0x2e069c;break;}}if('licenseKeyInvalid'===_0x3d3454)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5066d2('invalid-license-key',null);if('licenseKeyTrial'===_0x3d3454&&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'===_0x3d3454)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5066d2('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x3d3454)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5066d2('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x3d3454)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5066d2('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x3d3454&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0xae454e,name:_0x4a426b,..._0x4ac708}){if(!_0xae454e||'string'!=typeof _0xae454e)throw new _0x5066d2('users-add-invalid-id');if(this['users']['has'](_0xae454e))throw new _0x5066d2('users-add-duplicated-id',null,{'id':_0xae454e});const _0x13fa93={..._0x4ac708,'id':_0xae454e,'name':a(this['_locale'],_0x4a426b),'color':this['_getNextColor']()};_0x13fa93['name']=a(this['_locale'],_0x13fa93['name']);const _0x445091=new K(_0x13fa93);return this['users']['add'](_0x445091),_0x445091;}['getUser'](_0x9d1a88){return this['users']['get'](_0x9d1a88);}['useAnonymousUser'](){const _0x48a52a=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x48a52a);}['defineMe'](_0x113f60){if(this['_myId'])throw new _0x5066d2('users-me-already-defined',null);const _0x5aa188=this['getUser'](_0x113f60);if(!_0x5aa188)throw new _0x5066d2('users-me-missing-user',null);this['_myId']=_0x113f60,_0x5aa188['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x2cf7c9=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2cf7c9&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x3dcc7a=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x3dcc7a,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0x347106){super(_0x347106),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3beb70(),this['_locale']=_0x347106['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 _0x38b713=this['name']['split']('\x20');return 0x1===_0x38b713['length']?this['_getInitial'](_0x38b713[0x0]):this['_getInitial'](_0x38b713[0x0])+this['_getInitial'](_0x38b713[_0x38b713['length']-0x1]);}['_getInitial'](_0x3ae6d7){return _0x3ae6d7['charAt'](0x0)['toUpperCase']();}constructor(_0x579ab1){this['id']=_0x579ab1['id'],this['color']=_0x579ab1['color'],this['name']=_0x579ab1['name'],this['avatar']=_0x579ab1['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x559761,_0x1dab34=''){return''==(_0x1dab34=_0x1dab34['trim']())?r(_0x559761,'Anonymous'):_0x1dab34;}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(_0x4eaa5a){this['_id']=_0x4eaa5a;}}class E extends _0x361bb5{constructor(_0x278257,_0x324b22,_0x3dd0ee){super(_0x278257),this['name']=_0x324b22['name'],this['notificationView']=null;const _0x525c61=['ck','ck-user'],_0x1e37be=['ck','ck-user__img'];if(_0x324b22['isAnonymous']&&_0x1e37be['push']('ck-user__anonymous'),!_0x324b22['isAnonymous']&&_0x324b22['isMe']&&_0x525c61['push']('ck-user_me'),_0x324b22['avatar']&&_0x1e37be['push']('ck-user__avatar'),_0x3dd0ee){const _0x50da96=new _0xc8e580();_0x50da96['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x50da96['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':_0x3dd0ee},'children':[_0x50da96]};}const _0x294415=[{'tag':'div','attributes':{'class':_0x1e37be,'style':{'background-image':_0x324b22['avatar']?'url(\x27'+_0x324b22['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x324b22['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x324b22['initials']}]}];this['notificationView']&&_0x294415['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x525c61,'data-user-id':_0x324b22['id']},'children':_0x294415});}}function j(_0x4088de={}){if(void 0x0!==_0x4088de['dateTimeFormat']&&'function'!=typeof _0x4088de['dateTimeFormat'])throw new _0x5066d2('invalid-date-time-format');return _0x4f1442=>{const _0x3c385d='string'==typeof _0x4f1442?_0x54fb71(_0x4f1442):_0x4f1442,_0x40471d=new Date(),_0x2c456d=_0x45f7c9(_0x40471d,_0x3c385d);return _0x4088de['dateTimeFormat']?_0x4088de['dateTimeFormat'](_0x3c385d):_0x157728(_0x3c385d,0x0===_0x2c456d?'\x27Today\x27\x20hh:mma':0x1===_0x2c456d?'\x27Yesterday\x27\x20hh:mma':_0x2c456d<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x37ffe3,_0x40097b){const _0x448c6a=_0x37ffe3['mapper']['markerNameToElements'](_0x40097b['name']);if(!_0x448c6a)return null;const _0x58a3b2=_0x2e2dcc(_0x448c6a['values']());return _0x37ffe3['view']['domConverter']['mapViewToDom'](_0x58a3b2)||null;}function I(_0x344ce4,_0x23b676){if(0x0===_0x23b676['length'])return null;const _0x5ab3de=[],_0x1c53d9=_0x344ce4['view']['domConverter'];for(const _0x156ac7 of _0x23b676){const _0x4ef0ff=_0x344ce4['mapper']['markerNameToElements'](_0x156ac7['name']);if(!_0x4ef0ff)continue;const _0x3e3a2f=Array['from'](_0x4ef0ff)['map'](_0x1fe4cd=>_0x1c53d9['mapViewToDom'](_0x1fe4cd))['filter'](_0x35eb76=>!!_0x35eb76);_0x5ab3de['push'](..._0x3e3a2f);}if(0x0===_0x5ab3de['length'])return null;const _0x16ea66=[];for(const _0x2a2eae of _0x5ab3de){const _0x22c552=_0x2a2eae['getClientRects']()['item'](0x0);_0x22c552&&_0x16ea66['push']({'x':_0x22c552['x'],'y':_0x22c552['y'],'domElement':_0x2a2eae});}return 0x0===_0x16ea66['length']?null:(_0x16ea66['sort']((_0x460743,_0x5d7e8a)=>_0x460743['y']-_0x5d7e8a['y']||_0x460743['x']-_0x5d7e8a['x']),_0x16ea66['map'](_0x168d83=>_0x168d83['domElement']));}function Z(_0x342a6a,{limit:_0x18a26e,suffix:_0x3111ab='...'}){const _0x36d21d=[];let _0xff9285=0x0;const _0x3f4ebd=_0x342a6a['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x28ac18=0x0;_0x28ac18<_0x3f4ebd['length'];_0x28ac18++){let _0x3e17c1=_0x3f4ebd[_0x28ac18];const _0x208d7e=$(_0x3e17c1);if(_0x3e17c1['startsWith']('<')){if(_0xff9285>=_0x18a26e){const _0x1f9c09=_0x3e17c1['match'](/[a-zA-Z]+/);if(!_0x1f9c09){_0x3f4ebd[_0x28ac18]='';continue;}const _0x9f7ce=_0x1f9c09[0x0];_0x3e17c1['startsWith']('</')?(_0x36d21d['length']&&(_0x3e17c1=''),_0x36d21d['pop']()):(_0x36d21d['push'](_0x9f7ce),_0x3e17c1='');}}else{if(_0xff9285>=_0x18a26e)_0x3e17c1='';else{if(_0xff9285+_0x208d7e['length']>=_0x18a26e){let _0x594c14=_0x18a26e-_0xff9285;if('\x20'===_0x208d7e[_0x594c14-0x1])_0x594c14--;else{const _0x344970=_0x208d7e['slice'](_0x594c14)['indexOf']('\x20');-0x1!==_0x344970?_0x594c14+=_0x344970:_0x594c14=_0x3e17c1['length'];}_0x3e17c1=_0x208d7e['slice'](0x0,_0x594c14)['join']('')+_0x3111ab,_0xff9285=_0x18a26e;}else _0xff9285+=_0x208d7e['length'];}}_0x3f4ebd[_0x28ac18]=_0x3e17c1;}return _0x3f4ebd['join']('\x0a')['replace'](/\n/g,'');}function $(_0xbc132c){const _0x4cbd0c=[];for(let _0x577a40=0x0;_0x577a40<_0xbc132c['length'];_0x577a40++){const _0x5c885a=_0xbc132c['substring'](_0x577a40)['match'](/^&[a-z0-9#]+;/);if(_0x5c885a){const _0xb6b3c9=_0x5c885a[0x0];_0x4cbd0c['push'](_0xb6b3c9),_0x577a40+=_0xb6b3c9['length']-0x1;}else _0x4cbd0c['push'](_0xbc132c[_0x577a40]);}return _0x4cbd0c;}class h extends _0x361bb5{['_createButtonView'](_0x34ab95,_0x5c303e,_0x1e1d97,_0x1518cf){const _0x2d1641=new _0x3b6184(_0x34ab95);return _0x2d1641['label']=_0x5c303e,_0x2d1641['icon']=_0x1e1d97,_0x2d1641['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x1518cf}}),_0x2d1641['on']('execute',()=>this['fire'](_0x1518cf)),_0x2d1641;}constructor(_0xdd8a0c){super(_0xdd8a0c);const _0x4a9bd5=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0xdd8a0c,r(_0xdd8a0c,'Yes'),_0x2c265e['check'],'submit'),this['cancelView']=this['_createButtonView'](_0xdd8a0c,r(_0xdd8a0c,'No'),_0x2c265e['cancel'],'cancel'),this['set']('message',r(_0xdd8a0c,'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':_0x4a9bd5['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0x1de565){return class extends _0x1de565{['showConfirm'](_0x2ee825,_0xc7e22f){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2ee825,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0xc7e22f['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x1b3848=>this['confirmView']['on']('submit',_0x1b3848));}['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(_0x38beba){let _0xf696b0=0x0,_0x1aacc2=0x0;for(const _0x22633b of A(_0x38beba))_0xf696b0=(_0xf696b0<<0x5)-_0xf696b0+_0x22633b,_0xf696b0|=0x0,[_0xf696b0,_0x1aacc2]=[_0x1aacc2,_0xf696b0];return q(_0xf696b0)+q(_0x1aacc2);}function*g(_0xaa5a73){null==_0xaa5a73||null==_0xaa5a73?yield 0x12b9b0a1:0x0===_0xaa5a73||!0x1===_0xaa5a73?yield 0x0:0x1===_0xaa5a73||0x1==_0xaa5a73?yield 0x1:Array['isArray'](_0xaa5a73)?yield*function*(_0x1accb1){for(const _0x223cd9 of _0x1accb1)yield*g(_0x223cd9);}(_0xaa5a73):'object'==typeof _0xaa5a73?yield*A(_0xaa5a73):'string'==typeof _0xaa5a73?yield*M(_0xaa5a73):'number'==typeof _0xaa5a73&&(yield _0xaa5a73);}function*A(_0x8447d1){if(yield O('{'),_0x8447d1){const _0x411ff3=Object['keys'](_0x8447d1)['sort']();for(const _0x218e81 of _0x411ff3){yield*M(_0x218e81),yield O(':');const _0x3a1429=_0x8447d1[_0x218e81];yield*g(_0x3a1429);}}yield O('}');}function*M(_0xe2873b){yield O('\x22');for(const _0xa27845 of _0xe2873b)yield O(_0xa27845);yield O('\x22');}function O(_0x465efc){return _0x465efc['charCodeAt'](0x0);}function q(_0x511a77){return(_0x511a77*=Math['sign'](_0x511a77))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x3d583c,_0x3b0c85,_0x302bee,_0x3b6376=[]){const _0x1cabf5='string'==typeof _0x3d583c?_0x302bee['get'](_0x3d583c)['constructor']:_0x3d583c['prototype']['constructor'];if(_0x3b0c85['has'](_0x1cabf5))return _0x3b0c85['get'](_0x1cabf5);_0x3b0c85['set'](_0x1cabf5,!0x0);const _0x2423cf=[...W,..._0x3b6376]['map'](_0x1f986d=>{if(_0x302bee['has'](_0x1f986d))return _0x302bee['get'](_0x1f986d)['constructor'];})['filter'](_0x5d3b77=>_0x5d3b77);if(_0x1cabf5&&_0x2423cf['includes'](_0x1cabf5))return _0x3b0c85['set'](_0x1cabf5,!0x1),!0x1;if(!_0x1cabf5['requires'])return _0x3b0c85['set'](_0x1cabf5,!0x0),!0x0;const _0xf955cb=_0x1cabf5['requires']['every'](_0x4a7576=>v(_0x4a7576,_0x3b0c85,_0x302bee,_0x3b6376));return _0x3b0c85['set'](_0x1cabf5,_0xf955cb),_0xf955cb;}function D(_0x597f98,_0x4e8f10){const _0x15d2dd={};for(const _0x217322 of _0x597f98['config']['names']())w['includes'](_0x217322)||(_0x15d2dd[_0x217322]=_0x597f98['config']['get'](_0x217322));const _0x3ebad0=_0x15d2dd['plugins']||[],_0x3a7015=_0x597f98['constructor']['builtinPlugins']||[],_0x58cf02=_0x3ebad0['length']?_0x3ebad0:_0x3a7015,_0x5ef4c1=_0x15d2dd['extraPlugins']||[];delete _0x15d2dd['extraPlugins'];const _0x1648ec=_0x15d2dd['removePlugins']||[];delete _0x15d2dd['removePlugins'];const _0x3d71d8=_0x597f98['_context']['config']['get']('plugins')||[],_0x276819=_0x58cf02['concat'](_0x5ef4c1)['concat'](_0x3d71d8)['map'](_0x56c7e6=>'string'==typeof _0x56c7e6?_0x3a7015['find'](_0x44c49d=>_0x44c49d['pluginName']==_0x56c7e6):_0x56c7e6)['filter'](_0x12fa4c=>!_0x1648ec['includes'](_0x12fa4c)&&!_0x1648ec['includes'](_0x12fa4c['pluginName'])),_0x18955e=Array['from'](new Set(_0x276819)),_0xa9b04e=new Map();return _0x15d2dd['plugins']=_0x18955e['filter'](_0x1bf30b=>v(_0x1bf30b,_0xa9b04e,_0x597f98['plugins'],_0x4e8f10)),_0x15d2dd;}function z(_0xd51a9e,_0x4c8f55){const _0x3d2119=[];_0xd51a9e['document']['selection']['on']('change:range',()=>{const _0xfed015=function(_0x198785,_0x23a56d){const _0x1ad1e1=[];for(const _0x1ddaca of _0x198785['markers']){const _0x4708b8=_0x1ddaca['getRange']();(_0x4708b8['containsPosition'](_0x23a56d)||_0x4708b8['start']['isEqual'](_0x23a56d)||_0x4708b8['end']['isEqual'](_0x23a56d))&&_0x1ad1e1['push'](_0x1ddaca);}return _0x1ad1e1;}(_0xd51a9e,_0xd51a9e['document']['selection']['focus']),_0x1e6ea0=[],_0x77aefc=[],_0x5e0d67=[];for(const _0x2c7e96 of _0x3d2119)_0xfed015['includes'](_0x2c7e96)||_0x1e6ea0['push'](_0x2c7e96);for(const _0x4efd4e of _0xfed015)_0x3d2119['includes'](_0x4efd4e)||_0x77aefc['push'](_0x4efd4e),_0x5e0d67['push'](_0x4efd4e);(_0x1e6ea0['length']||_0x77aefc['length'])&&_0x4c8f55({'left':_0x1e6ea0,'entered':_0x77aefc}),_0x3d2119['length']=0x0,_0x3d2119['push'](..._0x5e0d67);});}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 _0x260a3c,Editor as _0x587182,icons as _0x974282}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3ad801,Collection as _0x5c3783,first as _0x1ec6c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xe1e23f,IconView as _0x1a3cdc,ButtonView as _0x59faab}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x286aef from'date-fns/format/index.js';import _0x3ba35c from'date-fns/parseISO/index.js';import _0x329d16 from'date-fns/differenceInCalendarDays/index.js';class n extends _0x260a3c{static get['pluginName'](){return'Permissions';}['setPermissions'](_0x5edcb4,_0x3abd44){let _0x45d80b;if(_0x3abd44||(_0x3abd44=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3abd44?_0x45d80b=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x45d80b=this['context']['editors']['find'](_0x41b655=>_0x41b655['config']['get']('collaboration.channelId')==_0x3abd44)),!_0x45d80b)throw new _0x3ad801('permissions-set-permissions-invalid-channel-id',null);const _0x2a124f=_0x45d80b['plugins'],_0x450d7e=_0x2a124f['has']('CommentsRepository')?_0x2a124f['get']('CommentsRepository'):void 0x0,_0x372307=_0x2a124f['has']('CommentsOnly')&&_0x2a124f['get']('CommentsOnly'),_0x55a7ad=_0x5edcb4['includes']('document:write'),_0x1f0a8d=_0x5edcb4['includes']('comment:modify_all'),_0x4efc01=_0x5edcb4['includes']('comment:admin'),_0x4a5710=_0x5edcb4['includes']('comment:write'),_0x539ea5=_0x4a5710||_0x4efc01,_0x2b518f=_0x539ea5||_0x1f0a8d,_0xf639b9=_0x55a7ad||_0x539ea5;(_0x372307&&(_0x372307['isEnabled']=!_0x55a7ad&&_0x2b518f),_0x45d80b instanceof _0x587182)&&(!(_0x55a7ad||_0x2b518f&&_0x450d7e)?_0x45d80b['enableReadOnlyMode']('no-permissions'):_0x45d80b['disableReadOnlyMode']('no-permissions'));if(_0x450d7e){_0x450d7e['setPermissions']({'admin':_0x4efc01,'modifyAll':_0x1f0a8d,'write':_0x4a5710,'resolve':_0xf639b9},_0x3abd44);const _0x1ede07=_0x45d80b instanceof _0x587182&&_0x45d80b['commands']['get']('addCommentThread');_0x1ede07&&(_0x539ea5?_0x1ede07['clearForceDisabled']('noPermissions'):_0x1ede07['forceDisabled']('noPermissions'));}}}function r(_0x5825e1,_0xec169f){const t=_0x5825e1['t'];switch(_0xec169f){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 _0x260a3c{static get['pluginName'](){return'Users';}static get['requires'](){return[n];}['init'](){const _0x3c6049=this['context'];this['licenseKey']=_0x3c6049['config']['get']('licenseKey');const _0x4fe58c=['licenseKeyTrial','licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x740149;for(const _0x1ca044 in _0x3c6049){const _0x46e2b8=_0x3c6049[_0x1ca044];if(_0x4fe58c['includes'](_0x46e2b8)){delete _0x3c6049[_0x1ca044],_0x740149=_0x46e2b8;break;}}if('licenseKeyInvalid'===_0x740149)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ad801('invalid-license-key',null);if('licenseKeyTrial'===_0x740149&&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'===_0x740149)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ad801('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x740149)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ad801('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x740149)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ad801('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x740149&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x1ba150,name:_0x1cfacc,..._0x5a5e33}){if(!_0x1ba150||'string'!=typeof _0x1ba150)throw new _0x3ad801('users-add-invalid-id');if(this['users']['has'](_0x1ba150))throw new _0x3ad801('users-add-duplicated-id',null,{'id':_0x1ba150});const _0x3f31d2={..._0x5a5e33,'id':_0x1ba150,'name':a(this['_locale'],_0x1cfacc),'color':this['_getNextColor']()};_0x3f31d2['name']=a(this['_locale'],_0x3f31d2['name']);const _0x54069b=new K(_0x3f31d2);return this['users']['add'](_0x54069b),_0x54069b;}['getUser'](_0x952c39){return this['users']['get'](_0x952c39);}['useAnonymousUser'](){const _0xd46b81=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0xd46b81);}['defineMe'](_0x255caf){if(this['_myId'])throw new _0x3ad801('users-me-already-defined',null);const _0x293680=this['getUser'](_0x255caf);if(!_0x293680)throw new _0x3ad801('users-me-missing-user',null);this['_myId']=_0x255caf,_0x293680['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x5d770e=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x5d770e&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x92f3e7=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x92f3e7,'name':r(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}constructor(_0x1fc3e6){super(_0x1fc3e6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5c3783(),this['_locale']=_0x1fc3e6['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 _0x16eb8a=this['name']['split']('\x20');return 0x1===_0x16eb8a['length']?this['_getInitial'](_0x16eb8a[0x0]):this['_getInitial'](_0x16eb8a[0x0])+this['_getInitial'](_0x16eb8a[_0x16eb8a['length']-0x1]);}['_getInitial'](_0x283439){return _0x283439['charAt'](0x0)['toUpperCase']();}constructor(_0x5be3c5){this['id']=_0x5be3c5['id'],this['color']=_0x5be3c5['color'],this['name']=_0x5be3c5['name'],this['avatar']=_0x5be3c5['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}}function a(_0x28fdc0,_0x3cf032=''){return''==(_0x3cf032=_0x3cf032['trim']())?r(_0x28fdc0,'Anonymous'):_0x3cf032;}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(_0x4666a8){this['_id']=_0x4666a8;}}class E extends _0xe1e23f{constructor(_0x284f5e,_0x38a702,_0x3c572b){super(_0x284f5e),this['name']=_0x38a702['name'],this['notificationView']=null;const _0x6313db=['ck','ck-user'],_0x317f7e=['ck','ck-user__img'];if(_0x38a702['isAnonymous']&&_0x317f7e['push']('ck-user__anonymous'),!_0x38a702['isAnonymous']&&_0x38a702['isMe']&&_0x6313db['push']('ck-user_me'),_0x38a702['avatar']&&_0x317f7e['push']('ck-user__avatar'),_0x3c572b){const _0x2ebddd=new _0x1a3cdc();_0x2ebddd['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2ebddd['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':_0x3c572b},'children':[_0x2ebddd]};}const _0xfdcbb8=[{'tag':'div','attributes':{'class':_0x317f7e,'style':{'background-image':_0x38a702['avatar']?'url(\x27'+_0x38a702['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x38a702['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x38a702['initials']}]}];this['notificationView']&&_0xfdcbb8['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x6313db,'data-user-id':_0x38a702['id']},'children':_0xfdcbb8});}}function j(_0x4e4307={}){if(void 0x0!==_0x4e4307['dateTimeFormat']&&'function'!=typeof _0x4e4307['dateTimeFormat'])throw new _0x3ad801('invalid-date-time-format');return _0x12f6e8=>{const _0x2adaab='string'==typeof _0x12f6e8?_0x3ba35c(_0x12f6e8):_0x12f6e8,_0x3365fa=new Date(),_0x14b0fe=_0x329d16(_0x3365fa,_0x2adaab);return _0x4e4307['dateTimeFormat']?_0x4e4307['dateTimeFormat'](_0x2adaab):_0x286aef(_0x2adaab,0x0===_0x14b0fe?'\x27Today\x27\x20hh:mma':0x1===_0x14b0fe?'\x27Yesterday\x27\x20hh:mma':_0x14b0fe<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function k(_0x1cec82,_0x5af7c3){const _0x5213d1=_0x1cec82['mapper']['markerNameToElements'](_0x5af7c3['name']);if(!_0x5213d1)return null;const _0x2707d3=_0x1ec6c6(_0x5213d1['values']());return _0x1cec82['view']['domConverter']['mapViewToDom'](_0x2707d3)||null;}function I(_0x3b9533,_0x1bde5c){if(0x0===_0x1bde5c['length'])return null;const _0x479e44=[],_0x5edcfb=_0x3b9533['view']['domConverter'];for(const _0x4c3722 of _0x1bde5c){const _0x5e5b70=_0x3b9533['mapper']['markerNameToElements'](_0x4c3722['name']);if(!_0x5e5b70)continue;const _0xb2e317=Array['from'](_0x5e5b70)['map'](_0xe97ec=>_0x5edcfb['mapViewToDom'](_0xe97ec))['filter'](_0x43be81=>!!_0x43be81);_0x479e44['push'](..._0xb2e317);}if(0x0===_0x479e44['length'])return null;const _0x11ae8c=[];for(const _0x35b094 of _0x479e44){const _0x56315b=_0x35b094['getClientRects']()['item'](0x0);_0x56315b&&_0x11ae8c['push']({'x':_0x56315b['x'],'y':_0x56315b['y'],'domElement':_0x35b094});}return 0x0===_0x11ae8c['length']?null:(_0x11ae8c['sort']((_0x514eb9,_0x4834ea)=>_0x514eb9['y']-_0x4834ea['y']||_0x514eb9['x']-_0x4834ea['x']),_0x11ae8c['map'](_0x5489f0=>_0x5489f0['domElement']));}function Z(_0xdd57b7,{limit:_0xc61d33,suffix:_0x4832ef='...'}){const _0xb361c4=[];let _0x20bb14=0x0;const _0x18822f=_0xdd57b7['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5f591e=0x0;_0x5f591e<_0x18822f['length'];_0x5f591e++){let _0x1e3c3d=_0x18822f[_0x5f591e];const _0x3d3157=$(_0x1e3c3d);if(_0x1e3c3d['startsWith']('<')){if(_0x20bb14>=_0xc61d33){const _0x5c6013=_0x1e3c3d['match'](/[a-zA-Z]+/);if(!_0x5c6013){_0x18822f[_0x5f591e]='';continue;}const _0x27011b=_0x5c6013[0x0];_0x1e3c3d['startsWith']('</')?(_0xb361c4['length']&&(_0x1e3c3d=''),_0xb361c4['pop']()):(_0xb361c4['push'](_0x27011b),_0x1e3c3d='');}}else{if(_0x20bb14>=_0xc61d33)_0x1e3c3d='';else{if(_0x20bb14+_0x3d3157['length']>=_0xc61d33){let _0x8ab9b2=_0xc61d33-_0x20bb14;if('\x20'===_0x3d3157[_0x8ab9b2-0x1])_0x8ab9b2--;else{const _0x59d873=_0x3d3157['slice'](_0x8ab9b2)['indexOf']('\x20');-0x1!==_0x59d873?_0x8ab9b2+=_0x59d873:_0x8ab9b2=_0x1e3c3d['length'];}_0x1e3c3d=_0x3d3157['slice'](0x0,_0x8ab9b2)['join']('')+_0x4832ef,_0x20bb14=_0xc61d33;}else _0x20bb14+=_0x3d3157['length'];}}_0x18822f[_0x5f591e]=_0x1e3c3d;}return _0x18822f['join']('\x0a')['replace'](/\n/g,'');}function $(_0x4f6996){const _0x5d98e7=[];for(let _0x348635=0x0;_0x348635<_0x4f6996['length'];_0x348635++){const _0x58bdff=_0x4f6996['substring'](_0x348635)['match'](/^&[a-z0-9#]+;/);if(_0x58bdff){const _0x1d12b9=_0x58bdff[0x0];_0x5d98e7['push'](_0x1d12b9),_0x348635+=_0x1d12b9['length']-0x1;}else _0x5d98e7['push'](_0x4f6996[_0x348635]);}return _0x5d98e7;}class h extends _0xe1e23f{['_createButtonView'](_0x30ff3f,_0x2a407a,_0x19186f,_0x27060a){const _0x3e030c=new _0x59faab(_0x30ff3f);return _0x3e030c['label']=_0x2a407a,_0x3e030c['icon']=_0x19186f,_0x3e030c['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x27060a}}),_0x3e030c['on']('execute',()=>this['fire'](_0x27060a)),_0x3e030c;}constructor(_0x116550){super(_0x116550);const _0x340132=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x116550,r(_0x116550,'Yes'),_0x974282['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x116550,r(_0x116550,'No'),_0x974282['cancel'],'cancel'),this['set']('message',r(_0x116550,'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':_0x340132['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}}function m(_0x101cd7){return class extends _0x101cd7{['showConfirm'](_0x37ec06,_0x1c75b2){return this['confirmView']=new h(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x37ec06,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x1c75b2['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['element']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x1097a8=>this['confirmView']['on']('submit',_0x1097a8));}['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(_0x8866d2){let _0x548ee1=0x0,_0x528b95=0x0;for(const _0x41046f of A(_0x8866d2))_0x548ee1=(_0x548ee1<<0x5)-_0x548ee1+_0x41046f,_0x548ee1|=0x0,[_0x548ee1,_0x528b95]=[_0x528b95,_0x548ee1];return q(_0x548ee1)+q(_0x528b95);}function*g(_0x354d1e){null==_0x354d1e||null==_0x354d1e?yield 0x12b9b0a1:0x0===_0x354d1e||!0x1===_0x354d1e?yield 0x0:0x1===_0x354d1e||0x1==_0x354d1e?yield 0x1:Array['isArray'](_0x354d1e)?yield*function*(_0x263d82){for(const _0x4d1dcc of _0x263d82)yield*g(_0x4d1dcc);}(_0x354d1e):'object'==typeof _0x354d1e?yield*A(_0x354d1e):'string'==typeof _0x354d1e?yield*M(_0x354d1e):'number'==typeof _0x354d1e&&(yield _0x354d1e);}function*A(_0x25c1b9){if(yield O('{'),_0x25c1b9){const _0x452520=Object['keys'](_0x25c1b9)['sort']();for(const _0x557641 of _0x452520){yield*M(_0x557641),yield O(':');const _0x246a6d=_0x25c1b9[_0x557641];yield*g(_0x246a6d);}}yield O('}');}function*M(_0x3de359){yield O('\x22');for(const _0x59f401 of _0x3de359)yield O(_0x59f401);yield O('\x22');}function O(_0x19b61d){return _0x19b61d['charCodeAt'](0x0);}function q(_0x2aeaca){return(_0x2aeaca*=Math['sign'](_0x2aeaca))['toString'](0x24);}const w=['initialData','context','toolbar','rootsAttributes'],W=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function v(_0x2eda40,_0x5bbb90,_0x578c1e,_0x9ae8a6=[]){const _0x289561='string'==typeof _0x2eda40?_0x578c1e['get'](_0x2eda40)['constructor']:_0x2eda40['prototype']['constructor'];if(_0x5bbb90['has'](_0x289561))return _0x5bbb90['get'](_0x289561);_0x5bbb90['set'](_0x289561,!0x0);const _0x574e67=[...W,..._0x9ae8a6]['map'](_0x40db6e=>{if(_0x578c1e['has'](_0x40db6e))return _0x578c1e['get'](_0x40db6e)['constructor'];})['filter'](_0xe885d7=>_0xe885d7);if(_0x289561&&_0x574e67['includes'](_0x289561))return _0x5bbb90['set'](_0x289561,!0x1),!0x1;if(!_0x289561['requires'])return _0x5bbb90['set'](_0x289561,!0x0),!0x0;const _0x688f03=_0x289561['requires']['every'](_0x2ee550=>v(_0x2ee550,_0x5bbb90,_0x578c1e,_0x9ae8a6));return _0x5bbb90['set'](_0x289561,_0x688f03),_0x688f03;}function D(_0x3c0da7,_0x330397){const _0x2344dd={};for(const _0x240a37 of _0x3c0da7['config']['names']())w['includes'](_0x240a37)||(_0x2344dd[_0x240a37]=_0x3c0da7['config']['get'](_0x240a37));const _0x5aabc7=_0x2344dd['plugins']||[],_0x2e69b6=_0x3c0da7['constructor']['builtinPlugins']||[],_0x536cba=_0x5aabc7['length']?_0x5aabc7:_0x2e69b6,_0x914d45=_0x2344dd['extraPlugins']||[];delete _0x2344dd['extraPlugins'];const _0xeebce2=_0x2344dd['removePlugins']||[];delete _0x2344dd['removePlugins'];const _0x51bb7f=_0x3c0da7['_context']['config']['get']('plugins')||[],_0x2bbfef=_0x536cba['concat'](_0x914d45)['concat'](_0x51bb7f)['map'](_0x1654a=>'string'==typeof _0x1654a?_0x2e69b6['find'](_0xf3afa5=>_0xf3afa5['pluginName']==_0x1654a):_0x1654a)['filter'](_0x379f76=>!_0xeebce2['includes'](_0x379f76)&&!_0xeebce2['includes'](_0x379f76['pluginName'])),_0x56f63e=Array['from'](new Set(_0x2bbfef)),_0x5c0c4e=new Map();return _0x2344dd['plugins']=_0x56f63e['filter'](_0x20dccd=>v(_0x20dccd,_0x5c0c4e,_0x3c0da7['plugins'],_0x330397)),_0x2344dd;}function z(_0x43be31,_0x495a95){const _0x1d2ac8=[];_0x43be31['document']['selection']['on']('change:range',()=>{const _0x3a0a5e=function(_0x324b3c,_0x5b568b){const _0x29dd9a=[];for(const _0x340ada of _0x324b3c['markers']){const _0x24b89b=_0x340ada['getRange']();(_0x24b89b['containsPosition'](_0x5b568b)||_0x24b89b['start']['isEqual'](_0x5b568b)||_0x24b89b['end']['isEqual'](_0x5b568b))&&_0x29dd9a['push'](_0x340ada);}return _0x29dd9a;}(_0x43be31,_0x43be31['document']['selection']['focus']),_0x23c00b=[],_0x3853b7=[],_0x15ae98=[];for(const _0xdcd3f0 of _0x1d2ac8)_0x3a0a5e['includes'](_0xdcd3f0)||_0x23c00b['push'](_0xdcd3f0);for(const _0x553277 of _0x3a0a5e)_0x1d2ac8['includes'](_0x553277)||_0x3853b7['push'](_0x553277),_0x15ae98['push'](_0x553277);(_0x23c00b['length']||_0x3853b7['length'])&&_0x495a95({'left':_0x23c00b,'entered':_0x3853b7}),_0x1d2ac8['length']=0x0,_0x1d2ac8['push'](..._0x15ae98);});}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':_0x48a124=>0x1!=_0x48a124}};
|
@@ -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
|
+
(_0x33fb9f=>{const {af:{dictionary:_0x2da7b3,getPluralForm:_0x279e45}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x5bec39=>0x1!=_0x5bec39}};_0x33fb9f['af']||={'dictionary':{},'getPluralForm':null},_0x33fb9f['af']['dictionary']=Object['assign'](_0x33fb9f['af']['dictionary'],_0x2da7b3),_0x33fb9f['af']['getPluralForm']=_0x279e45;})(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':_0x17d79c=>0x0==_0x17d79c?0x0:0x1==_0x17d79c?0x1:0x2==_0x17d79c?0x2:_0x17d79c%0x64>=0x3&&_0x17d79c%0x64<=0xa?0x3:_0x17d79c%0x64>=0xb&&_0x17d79c%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
|
+
(_0x4ef5a8=>{const {ar:{dictionary:_0x1c738a,getPluralForm:_0x285283}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x133fa1=>0x0==_0x133fa1?0x0:0x1==_0x133fa1?0x1:0x2==_0x133fa1?0x2:_0x133fa1%0x64>=0x3&&_0x133fa1%0x64<=0xa?0x3:_0x133fa1%0x64>=0xb&&_0x133fa1%0x64<=0x63?0x4:0x5}};_0x4ef5a8['ar']||={'dictionary':{},'getPluralForm':null},_0x4ef5a8['ar']['dictionary']=Object['assign'](_0x4ef5a8['ar']['dictionary'],_0x1c738a),_0x4ef5a8['ar']['getPluralForm']=_0x285283;})(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':_0xe94229=>0x1!=_0xe94229}};
|
@@ -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
|
+
(_0x4a2fae=>{const {az:{dictionary:_0x255f9d,getPluralForm:_0x703304}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x4bf05b=>0x1!=_0x4bf05b}};_0x4a2fae['az']||={'dictionary':{},'getPluralForm':null},_0x4a2fae['az']['dictionary']=Object['assign'](_0x4a2fae['az']['dictionary'],_0x255f9d),_0x4a2fae['az']['getPluralForm']=_0x703304;})(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':_0x14bd91=>0x1!=_0x14bd91}};
|
@@ -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
|
+
(_0x3a11f3=>{const {bg:{dictionary:_0x528cbd,getPluralForm:_0x1d9cb1}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x529963=>0x1!=_0x529963}};_0x3a11f3['bg']||={'dictionary':{},'getPluralForm':null},_0x3a11f3['bg']['dictionary']=Object['assign'](_0x3a11f3['bg']['dictionary'],_0x528cbd),_0x3a11f3['bg']['getPluralForm']=_0x1d9cb1;})(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':_0x4a19ad=>0x1!=_0x4a19ad}};
|
@@ -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
|
+
(_0x4b4ba8=>{const {bn:{dictionary:_0x324ee0,getPluralForm:_0x1b4079}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x2b6b0e=>0x1!=_0x2b6b0e}};_0x4b4ba8['bn']||={'dictionary':{},'getPluralForm':null},_0x4b4ba8['bn']['dictionary']=Object['assign'](_0x4b4ba8['bn']['dictionary'],_0x324ee0),_0x4b4ba8['bn']['getPluralForm']=_0x1b4079;})(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':_0x5c7fca=>_0x5c7fca%0xa==0x1&&_0x5c7fca%0x64!=0xb?0x0:_0x5c7fca%0xa>=0x2&&_0x5c7fca%0xa<=0x4&&(_0x5c7fca%0x64<0xa||_0x5c7fca%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
|
+
(_0x1458ae=>{const {bs:{dictionary:_0x2fb922,getPluralForm:_0x5946c3}}={'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x53c1da=>_0x53c1da%0xa==0x1&&_0x53c1da%0x64!=0xb?0x0:_0x53c1da%0xa>=0x2&&_0x53c1da%0xa<=0x4&&(_0x53c1da%0x64<0xa||_0x53c1da%0x64>=0x14)?0x1:0x2}};_0x1458ae['bs']||={'dictionary':{},'getPluralForm':null},_0x1458ae['bs']['dictionary']=Object['assign'](_0x1458ae['bs']['dictionary'],_0x2fb922),_0x1458ae['bs']['getPluralForm']=_0x5946c3;})(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':_0x3c3d12=>0x1!=_0x3c3d12}};
|
@@ -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
|
+
(_0x328563=>{const {ca:{dictionary:_0x86f704,getPluralForm:_0xc41259}}={'ca':{'dictionary':{'Anonymous':'Anònim','Yes':'Sí','No':'No','Are\x20you\x20sure?':'N\x27estàs\x20segur?'},'getPluralForm':_0x4a57b0=>0x1!=_0x4a57b0}};_0x328563['ca']||={'dictionary':{},'getPluralForm':null},_0x328563['ca']['dictionary']=Object['assign'](_0x328563['ca']['dictionary'],_0x86f704),_0x328563['ca']['getPluralForm']=_0xc41259;})(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':_0x301bb3=>0x1==_0x301bb3&&_0x301bb3%0x1==0x0?0x0:_0x301bb3>=0x2&&_0x301bb3<=0x4&&_0x301bb3%0x1==0x0?0x1:_0x301bb3%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
|
+
(_0x5112d8=>{const {cs:{dictionary:_0x2e9f97,getPluralForm:_0x4db03f}}={'cs':{'dictionary':{'Anonymous':'Anonymní','Yes':'Ano','No':'Ne','Are\x20you\x20sure?':'Jste\x20si\x20jistý?'},'getPluralForm':_0x35ceaa=>0x1==_0x35ceaa&&_0x35ceaa%0x1==0x0?0x0:_0x35ceaa>=0x2&&_0x35ceaa<=0x4&&_0x35ceaa%0x1==0x0?0x1:_0x35ceaa%0x1!=0x0?0x2:0x3}};_0x5112d8['cs']||={'dictionary':{},'getPluralForm':null},_0x5112d8['cs']['dictionary']=Object['assign'](_0x5112d8['cs']['dictionary'],_0x2e9f97),_0x5112d8['cs']['getPluralForm']=_0x4db03f;})(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':_0x227e77=>0x1!=_0x227e77}};
|
@@ -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
|
+
(_0x2d1ab5=>{const {da:{dictionary:_0x19151b,getPluralForm:_0x352d8c}}={'da':{'dictionary':{'Anonymous':'Anonym','Yes':'Ja','No':'Nej','Are\x20you\x20sure?':'Er\x20du\x20sikker?'},'getPluralForm':_0x46959f=>0x1!=_0x46959f}};_0x2d1ab5['da']||={'dictionary':{},'getPluralForm':null},_0x2d1ab5['da']['dictionary']=Object['assign'](_0x2d1ab5['da']['dictionary'],_0x19151b),_0x2d1ab5['da']['getPluralForm']=_0x352d8c;})(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':_0x5a663c=>0x1!=_0x5a663c}};
|
@@ -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
|
+
(_0x447b0a=>{const {'de-ch':{dictionary:_0x4532fe,getPluralForm:_0x5b6b3a}}={'de-ch':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x148f40=>0x1!=_0x148f40}};_0x447b0a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x447b0a['de-ch']['dictionary']=Object['assign'](_0x447b0a['de-ch']['dictionary'],_0x4532fe),_0x447b0a['de-ch']['getPluralForm']=_0x5b6b3a;})(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':_0x5908d8=>0x1!=_0x5908d8}};
|
@@ -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
|
+
(_0x4c0dd5=>{const {de:{dictionary:_0x16b10e,getPluralForm:_0x42b1dd}}={'de':{'dictionary':{'Anonymous':'Anonymer\x20Benutzer','Yes':'Ja','No':'Nein','Are\x20you\x20sure?':'Sind\x20Sie\x20sicher?'},'getPluralForm':_0x2e6c2f=>0x1!=_0x2e6c2f}};_0x4c0dd5['de']||={'dictionary':{},'getPluralForm':null},_0x4c0dd5['de']['dictionary']=Object['assign'](_0x4c0dd5['de']['dictionary'],_0x16b10e),_0x4c0dd5['de']['getPluralForm']=_0x42b1dd;})(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':_0x5c8931=>0x1!=_0x5c8931}};
|
@@ -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
|
+
(_0x46abf5=>{const {el:{dictionary:_0x5e9629,getPluralForm:_0xc483e5}}={'el':{'dictionary':{'Anonymous':'Ανώνυμος','Yes':'Ναι','No':'Όχι','Are\x20you\x20sure?':'Σίγουρα;'},'getPluralForm':_0x15326e=>0x1!=_0x15326e}};_0x46abf5['el']||={'dictionary':{},'getPluralForm':null},_0x46abf5['el']['dictionary']=Object['assign'](_0x46abf5['el']['dictionary'],_0x5e9629),_0x46abf5['el']['getPluralForm']=_0xc483e5;})(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':_0x4e0761=>0x1!=_0x4e0761}};
|
@@ -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
|
+
(_0x16d972=>{const {'en-au':{dictionary:_0x16bb17,getPluralForm:_0xccd197}}={'en-au':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':_0x5e976c=>0x1!=_0x5e976c}};_0x16d972['en-au']||={'dictionary':{},'getPluralForm':null},_0x16d972['en-au']['dictionary']=Object['assign'](_0x16d972['en-au']['dictionary'],_0x16bb17),_0x16d972['en-au']['getPluralForm']=_0xccd197;})(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
|
+
(_0x365bbd=>{const {en:{dictionary:_0x2e43dd,getPluralForm:_0x2825e4}}={'en':{'dictionary':{'Anonymous':'Anonymous','Yes':'Yes','No':'No','Are\x20you\x20sure?':'Are\x20you\x20sure?'},'getPluralForm':null}};_0x365bbd['en']||={'dictionary':{},'getPluralForm':null},_0x365bbd['en']['dictionary']=Object['assign'](_0x365bbd['en']['dictionary'],_0x2e43dd),_0x365bbd['en']['getPluralForm']=_0x2825e4;})(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':_0x545430=>0x1==_0x545430?0x0:0x0!=_0x545430&&_0x545430%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
|
+
(_0x30e18e=>{const {'es-co':{dictionary:_0x15069c,getPluralForm:_0x3b4819}}={'es-co':{'dictionary':{'Anonymous':'Anónimo','Yes':'Sí','No':'No','Are\x20you\x20sure?':'¿Está\x20seguro?'},'getPluralForm':_0x51dd10=>0x1==_0x51dd10?0x0:0x0!=_0x51dd10&&_0x51dd10%0xf4240==0x0?0x1:0x2}};_0x30e18e['es-co']||={'dictionary':{},'getPluralForm':null},_0x30e18e['es-co']['dictionary']=Object['assign'](_0x30e18e['es-co']['dictionary'],_0x15069c),_0x30e18e['es-co']['getPluralForm']=_0x3b4819;})(window['CKEDITOR_TRANSLATIONS']||={});
|