@ckeditor/ckeditor5-uploadcare 48.4.0 → 48.5.0-alpha.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 +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x16619f,Plugin as _0x4221c}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x1f6d97,IconError as _0x2467eb,IconFacebook as _0x487c6b,IconGoogleDrive as _0x4f639c,IconGooglePhotos as _0x312e50,IconOneDrive as _0x39c1e0,IconUploadcareImageEdit as _0x26f752,IconUploadcareImageUpload as _0x19a392,IconUploadcareLink as _0x21bbc4}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x376018,Dialog as _0x109fac,DialogViewPosition as _0x3ba41a,FocusCycler as _0x38b70a,IconView as _0x5f18d6,MenuBarMenuListItemButtonView as _0x3656bd,Notification as _0x1a6e42,SpinnerView as _0x264d1c,View as _0x3b5897}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x5bd18e,FocusTracker as _0x2cba4c,ObservableMixin as _0x1454e2,createElement as _0x223e60,getAncestors as _0x260c99,global as _0x497cad,uid as _0x3edb93}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x399229,ImageUploadEditing as _0x2275c9,ImageUploadProgress as _0x57d262,ImageUtils as _0x86d0d4,PictureEditing as _0x44496d}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x45be8b}from'@ckeditor/ckeditor5-upload';import{info as _0xe75b8f,uploadFile as _0x2411cf}from'@uploadcare/upload-client';import*as _0x1b34af from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x5e1bc3,_0x15f77d,_0x5744d1){const t=_0x5e1bc3['t'],_0xdc230e=_0x5e1bc3['t'];switch(_0x15f77d){case'local':return{'text':_0xdc230e('Insert'===_0x5744d1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xdc230e('From\x20computer')};case'url':return{'text':'Insert'===_0x5744d1?_0xdc230e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xdc230e('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15f77d;}}var V=class extends _0x4221c{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fd320=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13541a;for(const _0x496553 in _0x3fd320){const _0x1c878d=_0x496553,_0x527ff1=_0x3fd320[_0x1c878d];if('uploadcareLicenseKeyValid'==_0x527ff1||'uploadcareLicenseKeyInvalid'==_0x527ff1||'uploadcareLicenseKeyExpired'==_0x527ff1||'uploadcareLicenseKeyDomainLimit'==_0x527ff1||'uploadcareLicenseKeyNotAllowed'==_0x527ff1||'uploadcareLicenseKeyEvaluationLimit'==_0x527ff1||'uploadcareLicenseKeyUsageLimit'==_0x527ff1){delete _0x3fd320[_0x1c878d],_0x13541a=_0x527ff1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x13541a&&_0x3fd320['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x13541a&&_0x3fd320['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x13541a&&_0x3fd320['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x322807}=this,_0x548f5c=_0x322807['commands']['get']('uploadcare');if(!_0x548f5c)return;const _0x3cb93d=this['_normalizeConfigSourceList'](_0x322807['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x20a580,_0x21d947)=>{const _0x4fcbec=this['_getIntegrationKey'](_0x21d947['type']);return _0x20a580[_0x4fcbec]||(_0x20a580[_0x4fcbec]=[]),_0x20a580[_0x4fcbec]['push'](_0x21d947),_0x20a580;},{});_0x322807['plugins']['has']('ImageInsertUI')&&_0x322807['commands']['get']('uploadcare')&&Object['entries'](_0x3cb93d)['forEach'](([_0x513912,_0xd0ec1b])=>{_0x322807['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x513912,'observable':()=>_0x548f5c,'buttonViewCreator':()=>this['_createToolbarButton'](_0xd0ec1b),'formViewCreator':()=>this['_createDropdownButtons'](_0xd0ec1b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xd0ec1b),'override':'assetManager'!==_0x513912});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x3ec945){const {locale:_0x2ab499}=this['editor'];return _0x3ec945['map'](_0x7a2818=>{const _0x12bc9=T(_0x2ab499,_0x7a2818,'Insert');switch(_0x7a2818){case'local':return{'icon':_0x19a392,'type':'local',..._0x12bc9};case'url':return{'icon':_0x21bbc4,'type':'url',..._0x12bc9};case'dropbox':return{'icon':_0x1f6d97,'type':'dropbox',..._0x12bc9};case'facebook':return{'icon':_0x487c6b,'type':'facebook',..._0x12bc9};case'gdrive':return{'icon':_0x4f639c,'type':'gdrive',..._0x12bc9};case'gphotos':return{'icon':_0x312e50,'type':'gphotos',..._0x12bc9};case'onedrive':return{'icon':_0x39c1e0,'type':'onedrive',..._0x12bc9};}});}_getIntegrationKey(_0x5e0173){switch(_0x5e0173){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x451032,_0x5e2a2c){const _0x5920bd=this['editor'],_0x3d0609=new _0x451032(_0x5920bd['locale']),_0x26c11b=_0x5920bd['commands']['get']('uploadcare');return _0x3d0609['bind']('isEnabled')['to'](_0x26c11b),_0x3d0609['on']('execute',()=>{_0x26c11b['execute'](_0x5e2a2c);}),_0x3d0609;}_createToolbarButton(_0x177dbc){const {locale:_0x1558ce}=this['editor'],_0x321f3e=this['editor']['plugins']['get']('ImageInsertUI'),_0x2ac41b=_0x177dbc[0x0],_0x6d0832=this['_createButton'](_0x376018,_0x2ac41b['type']);return _0x6d0832['icon']=_0x2ac41b['icon'],_0x6d0832['bind']('label')['to'](_0x321f3e,'isImageSelected',_0x33279e=>T(_0x1558ce,_0x2ac41b['type'],_0x33279e?'Replace':'Insert')['text']),_0x6d0832['tooltip']=!0x0,_0x6d0832;}_createDropdownButtons(_0x440d51){const {locale:_0x112adf}=this['editor'],_0x179ed0=this['editor']['plugins']['get']('ImageInsertUI');return _0x440d51['map'](_0x113c26=>{const _0x448455=this['_createButton'](_0x376018,_0x113c26['type']);return _0x448455['withText']=!0x0,_0x448455['icon']=_0x113c26['icon'],_0x448455['bind']('label')['to'](_0x179ed0,'isImageSelected',_0x2a6ed2=>T(_0x112adf,_0x113c26['type'],_0x2a6ed2?'Replace':'Insert')['text']),_0x448455;});}_createMenuBarButtons(_0x504222){return _0x504222['map'](_0x1cbcf8=>{const _0x570f22=this['_createButton'](_0x3656bd,_0x1cbcf8['type']);return _0x570f22['icon']=_0x1cbcf8['icon'],_0x570f22['label']=_0x1cbcf8['shortText'],_0x570f22;});}},F=class extends _0x3b5897{['focusTracker'];['focusCycler'];constructor(_0x27201c){super(_0x27201c),this['focusTracker']=new _0x2cba4c(),this['focusCycler']=new _0x38b70a({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}getFocusableElement(){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}},$=class extends F{constructor(_0x27afc9,_0x17da27){super(_0x27afc9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x17da27}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0xbbec20,_0x81b344){const _0x1556b1=_0xbbec20['replace'](/\/$/,'');return{'imageFallbackUrl':_0xbbec20,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x152355=>_0x152355<_0x81b344)['map'](_0xdba603=>_0x1556b1+'/-/resize/'+_0xdba603+'x/\x20'+_0xdba603+'w'),_0xbbec20+'\x20'+_0x81b344+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x81b344+'px)\x20100vw,\x20'+_0x81b344+'px','type':'image/webp'}]};}function j(_0x1e0879,_0x43a8fe,_0x3a780e){const _0x52b30b=_0x1e0879['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52b30b?parseInt(_0x52b30b[0x1],0xa):_0x43a8fe,'height':_0x52b30b?parseInt(_0x52b30b[0x2],0xa):_0x3a780e};}function q(_0xc56179,_0x438f78){const _0x1e19a3=new(_0x5bd18e())(),_0x345f43=_0xc56179['plugins']['get']('ImageUtils'),_0x1436dd=_0xc56179['editing']['mapper']['toViewElement'](_0x438f78),_0x4af1ca=_0x345f43['findViewImgElement'](_0x1436dd),_0x5bcaa5=_0xc56179['editing']['view']['domConverter']['viewToDom'](_0x4af1ca),_0x1b1175=_0x438f78['getAttribute']('width'),_0x3bf840=_0x438f78['getAttribute']('height'),_0x3fa9c8='image-processing';_0xc56179['editing']['view']['change'](_0xe9ffd1=>{_0xe9ffd1['addClass'](_0x3fa9c8,_0x1436dd),_0xe9ffd1['setStyle']('aspect-ratio',_0x1b1175+'/'+_0x3bf840,_0x4af1ca);}),_0x1e19a3['listenTo'](_0x5bcaa5,'load',()=>{_0x1e19a3['stopListening'](_0x5bcaa5,'load'),_0xc56179['editing']['view']['change'](_0x223b0c=>{_0x223b0c['removeClass'](_0x3fa9c8,_0x1436dd),_0x223b0c['removeStyle']('aspect-ratio',_0x4af1ca);});});}function M(_0x3a00ae){if(Array['isArray'](_0x3a00ae)){const _0x36c5b0=_0x3a00ae['map'](M);return _0x39f2e3=>_0x36c5b0['some'](_0x21511b=>_0x21511b(_0x39f2e3));}if('origin'==_0x3a00ae){const _0x3283ed=_0x497cad['window']['location']['origin'];return _0x4e429d=>new URL(_0x4e429d,_0x497cad['document']['baseURI'])['origin']==_0x3283ed;}return'function'==typeof _0x3a00ae?_0x3a00ae:_0x3a00ae instanceof RegExp?_0x513454=>!(!_0x513454['match'](_0x3a00ae)&&!_0x513454['replace'](/^https?:\/\//,'')['match'](_0x3a00ae)):()=>!0x1;}function H(_0x56aa68,_0x39552c){return _0x260c99(_0x56aa68['target'])['includes'](_0x39552c);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1454e2();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x29065e,_0x579f80,_0x5b340a){super(),this['_editor']=_0x29065e,this['_editing']=_0x579f80,this['_dialog']=_0x29065e['plugins']['get'](_0x109fac),this['_api']=_0x579f80['ctxElement']['getAPI'](),this['_type']=_0x5b340a,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}destroy(){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}_initDialog(){const {locale:_0x5193e6,model:_0x9d3500}=this['_editor'],_0x258818=_0x9d3500['document']['selection']['getSelectedElement'](),_0x1aeef2=_0x258818&&(_0x258818['is']('element','imageBlock')||_0x258818['is']('element','imageInline'));this['_formView']=new $(_0x5193e6,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x19a392,'title':T(_0x5193e6,this['_type'],_0x1aeef2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3ba41a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x105b0c=>!H(_0x105b0c,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2cc839}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa6c556=>{const _0x18a2d5=_0x2cc839['length'];for(const _0x272b51 of _0x2cc839){const _0xe47fdf=_0x272b51===_0x2cc839[_0x18a2d5-0x1],{cdnUrl:_0x36abf7,fileInfo:_0x5d5e96}=_0x272b51;if(!_0x36abf7||!_0x5d5e96)continue;const {width:_0x4341ec,height:_0x55713b}=_0x5d5e96['imageInfo'],_0x401f40=j(_0x36abf7,_0x4341ec,_0x55713b),_0x8504c1=B(_0x36abf7,_0x401f40['width']),_0x2a8b24={'id':_0x5d5e96['uuid'],'type':'image','attributes':{'imageDimension':_0x401f40,..._0x8504c1}};this['_insertAsset'](_0x2a8b24,_0xe47fdf,_0xa6c556);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x8d369e=>{'idle'===_0x8d369e['detail']['status']&&!_0x8d369e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x165a5f,_0x58d30c,_0x25f038){const _0x1f765e=this['_editor']['model']['document']['selection'],_0xb67b17=_0x1f765e['getSelectedElement'](),_0x28a455=!(!_0xb67b17||!_0xb67b17['is']('element','imageInline'));_0x25f038['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x165a5f,_0x28a455),_0x58d30c||_0x25f038['setSelection'](_0x1f765e['getLastPosition']());}_insertImage(_0x2f5bd9,_0x2a989e){const _0x5cfd8e=this['_editor'],{imageDimension:_0x5812e1,imageFallbackUrl:_0x5a4536,imageSources:_0x32037a}=_0x2f5bd9['attributes'];_0x5cfd8e['execute']('insertImage',{'imageType':_0x2a989e?'imageInline':null,'source':{'uploadcareImageId':_0x2f5bd9['id'],'src':_0x5a4536,'sources':_0x32037a,..._0x5812e1}});}},z=class extends _0x16619f{_editing;_controller=null;static get requires(){return[_0x109fac,Z];}constructor(_0x441276){super(_0x441276),this['_editing']=_0x441276['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x4abca1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x4abca1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x2e2d5b,..._0x430ce7}){return _0x2411cf(_0x2e2d5b,_0x430ce7);}static getInfo(_0x52f9ae,_0x2aed01){return _0xe75b8f(_0x52f9ae,_0x2aed01);}},J=class extends _0x4221c{static get requires(){return[_0x2275c9,_0x57d262,_0x45be8b,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x366293=this['editor'];if(!_0x366293['config']['get']('uploadcare'))return;_0x366293['plugins']['get'](_0x45be8b)['createUploadAdapter']=_0x18c896=>new X(_0x18c896,_0x366293),_0x366293['plugins']['get'](_0x2275c9)['on']('uploadComplete',(_0x424491,{imageElement:_0x2a013d,data:_0xd2c324})=>{_0x366293['model']['change'](_0x1b5cfa=>{_0x1b5cfa['setAttribute']('uploadcareImageId',_0xd2c324['uploadcareImageId'],_0x2a013d);});});}},X=class{['loader'];editor;controller;constructor(_0x92f161,_0x5c8008){this['loader']=_0x92f161,this['editor']=_0x5c8008,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a9d55=await this['loader']['file'];return Q['upload']({'file':_0x5a9d55,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x22b2ee=>{_0x22b2ee&&_0x22b2ee['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x22b2ee['value']);}})['then'](async _0x4554c3=>{const {imageFallbackUrl:_0x2fc645,imageSources:_0x189fe5}=B(_0x4554c3['cdnUrl'],_0x4554c3['imageInfo']['width']);return{'uploadcareImageId':_0x4554c3['uuid'],'default':_0x2fc645,'sources':_0x189fe5};})['catch'](()=>{const _0x1a2844=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a9d55['name']+'.');return Promise['reject'](_0x1a2844);});}abort(){this['controller']['abort']();}},Z=class extends _0x4221c{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x44496d,J,_0x109fac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x33e0b6){super(_0x33e0b6),this['ucContextId']=_0x3edb93();}init(){const _0x30b39c=this['editor'];_0x30b39c['commands']['add']('uploadcare',new z(_0x30b39c));}afterInit(){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x50f227=_0x497cad['document']['querySelector']('input[uploadcare-file-input]');_0x50f227&&_0x50f227['remove']();}),async function(_0x36c41d){const _0x394709='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x212941=0x791d0,_0x4a1ada=window['Date']['now'](),_0x445395=_0x36c41d['editor'],_0x566026=new window['Promise'](_0x4f57ad=>{_0x445395['once']('ready',_0x4f57ad);}),_0x58d6c3={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x107812=_0x445395['config']['get']('licenseKey');async function _0x31705b(){let _0x31cb8a,_0x3855e1=null,_0x54a9f1=null;try{return'GPL'==_0x107812?'NotAllowed':(_0x31cb8a=_0x207f7d(),_0x31cb8a?(_0x31cb8a['usageEndpoint']&&(_0x54a9f1=_0x376a4f(_0x31cb8a['usageEndpoint'],_0x31cb8a['jti'])),await _0x90cda0()?_0x9121e2()?_0x2bb6c5()?'Expired':_0x2d8d15()?('evaluation'==_0x31cb8a['licenseType']&&(_0x3855e1=_0x532846('EvaluationLimit')),await _0x5b6687()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2bb6c5(){const _0x323d7a=['evaluation','trial']['includes'](_0x31cb8a['licenseType'])?_0x4a1ada/0x3e8:0xe10*_0x212941;return _0x31cb8a['exp']<_0x323d7a;}function _0x9121e2(){const _0x361187=_0x31cb8a['features'];return!!_0x361187&&(!!_0x361187['includes']('*')||!!_0x361187['includes']('UPLC'));}function _0x2d8d15(){const _0x5f2bfe=_0x31cb8a['licensedHosts'];if(!_0x5f2bfe||0x0==_0x5f2bfe['length'])return!0x0;const {hostname:_0x529ef3}=new URL(window['location']['href']);if(_0x5f2bfe['includes'](_0x529ef3))return!0x0;const _0x42a03a=_0x529ef3['split']('.');return _0x5f2bfe['filter'](_0x20d9a2=>_0x20d9a2['includes']('*'))['map'](_0x538157=>_0x538157['split']('.'))['filter'](_0xefd21d=>_0xefd21d['length']<=_0x42a03a['length'])['map'](_0x24f6a9=>Array(_0x42a03a['length']-_0x24f6a9['length'])['fill']('*'===_0x24f6a9[0x0]?'*':'')['concat'](_0x24f6a9))['some'](_0x2f6746=>_0x42a03a['every']((_0x9f1eec,_0x347f3d)=>_0x2f6746[_0x347f3d]===_0x9f1eec||'*'===_0x2f6746[_0x347f3d]));}function _0x5b6687(){return _0x3855e1&&_0x54a9f1?new window['Promise']((_0x3b3802,_0x25d9cd)=>{_0x3855e1['then'](_0x3b3802,_0x25d9cd),_0x54a9f1['then'](_0x1b3a67=>{'Valid'!=_0x1b3a67&&_0x3b3802(_0x1b3a67);},_0x25d9cd);}):_0x3855e1||_0x54a9f1||'Valid';}}function _0x376a4f(_0x826bd9,_0x372d78){return new window['Promise'](_0x403cc5=>{if(_0x427827())return _0x403cc5('Valid');_0x5d34b2(),_0x445395['decorate']('_sendUsageRequest');let _0x2458bf=!0x1;const _0x58aae7=_0x3edb93();function _0x518505(_0x28049f){return!!_0x28049f&&('object'==typeof _0x28049f||'function'==typeof _0x28049f)&&'function'==typeof _0x28049f['then']&&'function'==typeof _0x28049f['catch'];}function _0x44a7d3(_0x4d1e6f){_0x2af3ad(_0x4d1e6f)['then'](_0x211829=>_0x211829&&'ok'==_0x211829['status']?_0x431724(_0x1516b9(_0x58aae7+_0x372d78))!=_0x211829['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1e86d6=>(_0x201168(),_0x1e86d6),()=>{const _0xe1eaba=_0x214151();return null==_0xe1eaba?(_0x201168(),'Valid'):_0x4a1ada-_0xe1eaba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x403cc5)['catch'](()=>{_0x403cc5('UsageLimit');});const _0x4c3f23=0x36ee80;function _0x201168(){const _0x20a334='llct-'+_0x431724(_0x1516b9(_0x826bd9)),_0x39d208=_0x3a5234(_0x431724(window['Math']['ceil'](_0x4a1ada/_0x4c3f23)));window['localStorage']['setItem'](_0x20a334,_0x39d208);}function _0x214151(){const _0x2f689c='llct-'+_0x431724(_0x1516b9(_0x826bd9)),_0x203722=window['localStorage']['getItem'](_0x2f689c);return _0x203722?window['parseInt'](_0x3a5234(_0x203722),0x10)*_0x4c3f23:null;}function _0x2af3ad(_0x4b2a35){return new window['Promise']((_0x339f28,_0x354140)=>{_0x4b2a35['then'](_0x339f28,_0x354140),window['setTimeout'](_0x354140,0x1d4c0);});}}_0x445395['on']('_sendUsageRequest',(_0x56d1ac,_0x28a284)=>{if(_0x28a284[0x0]!=_0x826bd9)return _0x403cc5('UsageLimit');_0x28a284[0x1]={..._0x28a284[0x1],'requestId':_0x58aae7};},{'priority':'high'}),_0x445395['on']('_sendUsageRequest',_0x3d01fe=>{_0x518505(_0x3d01fe['return'])&&(_0x2458bf=!0x0,_0x44a7d3(_0x3d01fe['return']));},{'priority':'low'}),_0x566026['then'](()=>{_0x2458bf||_0x403cc5('UsageLimit');});});function _0x427827(){return'auto'==_0x445395['editing']['view']['_overlayModeHint'];}function _0x5d34b2(){_0x445395['editing']['view']['_overlayModeHint']='auto';}}function _0x532846(_0x4b352b){const _0x1a7755=[new window['Promise'](_0x4ccb65=>setTimeout(_0x4ccb65,0x93ecc)),_0x566026['then'](()=>new window['Promise'](_0x41bd3e=>{let _0x508cac=0x0;_0x445395['model']['on']('applyOperation',(_0x2acc40,_0xcd8739)=>{_0xcd8739[0x0]['isDocumentOperation']&&_0x508cac++,0x5e8==_0x508cac&&(_0x41bd3e(),_0x2acc40['off']());});}))];return window['Promise']['race'](_0x1a7755)['then'](()=>_0x4b352b);}async function _0x2bbd4e(){await _0x566026,_0x445395['model']['change']=_0xb0a824,_0x445395['model']['enqueueChange']=_0xb0a824,_0x445395['enableReadOnlyMode']('model');}function _0x44761f(_0x43782d){const _0x56df33=_0x5a8d70();_0x445395[_0x56df33]='uploadcareLicenseKey'+_0x43782d,'Valid'!=_0x43782d&&_0x2bbd4e();}function _0x5a8d70(){const _0x5df707=window['String'](window['performance']['now']())['replace']('.','');let _0x568ee7='h';for(let _0x4643d6=0x0;_0x4643d6<_0x5df707['length'];_0x4643d6+=0x2){let _0x1ae41a=window['parseInt'](_0x5df707['substring'](_0x4643d6,_0x4643d6+0x2));_0x1ae41a>=0x3e&&(_0x1ae41a-=0x3e),_0x568ee7+=_0x394709[_0x1ae41a];}return _0x568ee7;}function _0x207f7d(){const _0x4eb564=_0x107812['split']('.');if(0x3!=_0x4eb564['length'])return null;return _0x42f10b(_0x4eb564[0x1]);function _0x42f10b(_0x4c6ade){const _0x351bce=_0x3e9361(_0x4c6ade);return _0x351bce&&_0x12651c()?_0x351bce:null;function _0x12651c(){const _0x437175=_0x351bce['jti'],_0x172b00=window['parseInt'](_0x437175['substring'](_0x437175['length']-0x8),0x10),_0x32a02b={..._0x351bce,'jti':_0x437175['substring'](0x0,_0x437175['length']-0x8)};return delete _0x32a02b['vc'],_0x1516b9(_0x32a02b)==_0x172b00;}}}async function _0x90cda0(){let _0x23a449=!0x0;try{const [_0x53a599,_0x34e647,_0x546b58]=_0x107812['split']('.');return _0x50e696(_0x53a599),await _0x4363ba(_0x53a599,_0x34e647,_0x546b58),_0x23a449;}catch{return!0x1;}function _0x50e696(_0x406a0e){const _0x4a02f0=_0x3e9361(_0x406a0e);_0x4a02f0&&'ES256'==_0x4a02f0['alg']||(_0x23a449=!0x1);}async function _0x4363ba(_0x3507f0,_0x34b203,_0x307a99){const _0x494204=window['Uint8Array']['from'](_0x39c164(_0x307a99),_0xd3d74a=>_0xd3d74a['charCodeAt'](0x0)),_0x4723d4=new window['TextEncoder']()['encode'](_0x3507f0+'.'+_0x34b203),_0x87c7dc=window['crypto']['subtle'];if(!_0x87c7dc)return;const _0x20e0bb=await _0x87c7dc['importKey']('jwk',_0x58d6c3,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x87c7dc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x20e0bb,_0x494204,_0x4723d4)||(_0x23a449=!0x1);}}function _0x3e9361(_0x460e64){return _0x460e64['startsWith']('ey')?JSON['parse'](_0x39c164(_0x460e64)):null;}function _0x39c164(_0x2ef188){return window['atob'](_0x2ef188['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1516b9(_0x410268){let _0x51c688=0x1505;function _0x438b1e(_0xa94b9){for(let _0x30ce97=0x0;_0x30ce97<_0xa94b9['length'];_0x30ce97++){const _0x392a9f=_0xa94b9['charCodeAt'](_0x30ce97);_0x51c688=(_0x51c688<<0x5)+_0x51c688+_0x392a9f,_0x51c688&=_0x51c688;}}function _0x5c7359(_0x3c68be){Array['isArray'](_0x3c68be)?_0x3c68be['forEach'](_0x5c7359):_0x3c68be&&'object'==typeof _0x3c68be?Object['entries'](_0x3c68be)['sort']()['forEach'](([_0x1a21a0,_0x39b4d7])=>{_0x438b1e(_0x1a21a0),_0x5c7359(_0x39b4d7);}):_0x438b1e(window['String'](_0x3c68be));}return _0x5c7359(_0x410268),_0x51c688>>>0x0;}function _0x431724(_0x409288){return _0x409288['toString'](0x10)['padStart'](0x8,'0');}function _0x3a5234(_0xce0f15){return _0xce0f15['split']('')['reverse']()['join']('');}function _0xb0a824(){}_0x44761f(await _0x31705b());}(this);}_initSchema(){const _0x128d99=this['editor']['model']['schema'];_0x128d99['isRegistered']('imageBlock')&&_0x128d99['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x128d99['isRegistered']('imageInline')&&_0x128d99['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x3fa827=this['editor'];_0x3fa827['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3fa827['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x8afd68=>_0x8afd68['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x34e39a=_0x3fa827['commands']['get']('replaceImageSource');_0x34e39a&&this['listenTo'](_0x34e39a,'cleanupImage',(_0xb272c9,[_0x38c0fa,_0x3f78a9])=>{_0x38c0fa['removeAttribute']('uploadcareImageId',_0x3f78a9);});}_initConfig(){const _0x3364da=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5e23f0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x223e60(_0x497cad['document'],'uc-config',{..._0x3364da,'pubkey':_0x5e23f0,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x16828c=>{if('closeMax'==_0x16828c)return'#uc-icon-arrow-down';},_0x497cad['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x223e60(_0x497cad['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x497cad['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x161e44=this['editor']['commands']['get']('insertImage');_0x161e44&&this['listenTo'](_0x161e44,'execute',()=>{const _0x2e79ce=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2e79ce&&_0x2e79ce['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x2e79ce);});});const _0x3ae5db=this['editor']['commands']['get']('uploadcareImageReplace');_0x3ae5db&&this['listenTo'](_0x3ae5db,'execute',()=>{const _0x208f69=this['editor']['model']['document']['selection']['getSelectedElement']();_0x208f69&&_0x208f69['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x208f69);});});}},Y=class extends _0x4221c{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34fa66){super(_0x34fa66),_0x34fa66['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x1b34af['defineComponents'](_0x1b34af),this['_defineLocale']();}['_defineLocale'](){const _0x558dba=this['editor']['config']['get']('uploadcare.locale'),_0x50532a=this['editor']['locale']['contentLanguage'];_0x558dba&&_0x1b34af['defineLocale'](_0x50532a,_0x558dba);}},tt=class extends _0x3b5897{constructor(_0x4140d9){super(_0x4140d9);const t=_0x4140d9['t'],_0x30092b=this['bindTemplate'],_0x1ada22=new _0x264d1c();_0x1ada22['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x1ada22,{'text':_0x30092b['to']('imageUploadProgress',_0x5e8a23=>t('Loading\x20image...')+'\x20('+(_0x5e8a23||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},et=class extends _0x3b5897{constructor(_0x8874d4){super(_0x8874d4);const t=_0x8874d4['t'];this['set']('errorType',null);const _0x507b36=new _0x376018(_0x8874d4);_0x507b36['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x507b36['withText']=!0x0,_0x507b36['class']='ck-button-action',_0x507b36['on']('execute',()=>{this['fire']('retry');}),_0x507b36['bind']('isVisible')['to'](this,'errorType',_0x484b40=>'NotFound'!==_0x484b40);const _0x158b03=new _0x5f18d6();_0x158b03['content']=_0x2467eb,_0x158b03['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3c2fe6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x158b03,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3c2fe6['to']('errorType',_0x2f6e82=>t('NotFound'!==_0x2f6e82?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x507b36]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},it=class extends _0x3b5897{constructor(_0x180b36,_0x6fda44){super(_0x180b36);const _0x13e336=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x6fda44,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x13e336['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x3f40b4,_0x621ca3,_0x2bf1c4){super(_0x3f40b4),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x3f40b4),this['_errorView']=new et(_0x3f40b4),this['_editingView']=new it(_0x3f40b4,_0x2bf1c4),this['_focusableView']=new _0x3b5897(_0x3f40b4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x621ca3),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x554180=>{this['_addUploadcareImageEditorListeners'](_0x554180);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}_setView(){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}_waitForImageEditorComponent(_0x53caad,_0x5521f7){const _0x7ff922='uc-cloud-image-editor',_0x8b8e0c=_0x53caad['querySelector'](_0x7ff922);if(_0x8b8e0c)return _0x5521f7(_0x8b8e0c);const _0x465de0=new MutationObserver(_0x2dc314=>{const _0x359ff6=_0x2dc314['filter'](_0x31e8fd=>_0x31e8fd['target']===_0x53caad&&_0x31e8fd['addedNodes']['length']>0x0&&_0x31e8fd['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x7ff922);_0x359ff6['length']&&(_0x465de0['disconnect'](),_0x5521f7(_0x359ff6[0x0]['addedNodes'][0x0]));});_0x465de0['observe'](_0x53caad,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x4ae2c5){_0x4ae2c5['addEventListener']('apply',_0x57342a=>{this['fire']('apply',{'imageSrc':_0x57342a['detail']['cdnUrl']});}),_0x4ae2c5['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x1454e2();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x3422e6,_0x226503,_0x4adc5a){super(),this['_editor']=_0x3422e6,this['_dialog']=_0x226503,this['_imageElement']=_0x4adc5a,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}destroy(){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x423a4e=this['_imageElement'],_0x41de76=_0x423a4e['getAttribute']('uploadcareImageId'),_0x385e09=_0x423a4e['getAttribute']('src');if(_0x41de76)await this['_loadImageInfo'](_0x41de76,_0x385e09);else{if(this['_imageCache']['has'](_0x385e09)){const _0x36473f=this['_imageCache']['get'](_0x385e09);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36473f['url'],this['imageDimension']=_0x36473f['dimension'],this['imageId']=_0x36473f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x46fc38}=this['_editor'],t=_0x46fc38['t'],_0x1b92c8=new st(_0x46fc38,this['imageStatus'],this['_attributes']);_0x1b92c8['bind']('status')['to'](this,'imageStatus'),_0x1b92c8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1b92c8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1b92c8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1b92c8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x26f752,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1b92c8,'position':_0x3ba41a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1b92c8['focus']();},'onHide':()=>{_0x1b92c8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x172157=>!H(_0x172157,_0x1b92c8['element'])}});}['_loadImageInfo'](_0x43f000,_0x2dbbc7){return Q['getInfo'](_0x43f000,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4e0f1c=>{const {width:_0x360b27,height:_0x429bb9}=_0x4e0f1c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2dbbc7,this['imageDimension']={'width':_0x360b27,'height':_0x429bb9},this['imageId']=_0x43f000;})['catch'](_0x6cfe68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x6cfe68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4bbe2b,_0x3395a0){return this['_getImageAsFile'](_0x4bbe2b)['then'](_0x3aef8b=>Q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3395a0['signal'],'file':_0x3aef8b,'onProgress':_0x51ed9d=>{_0x51ed9d&&_0x51ed9d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51ed9d['value']));}}))['then'](_0x5319d0=>{const {width:_0x183dab,height:_0x4a0af0}=_0x5319d0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5319d0['cdnUrl'],this['imageDimension']={'width':_0x183dab,'height':_0x4a0af0},this['imageId']=_0x5319d0['uuid'],this['imageUploadProgress']=null;const _0x42c354=_0x4bbe2b['getAttribute']('src');this['_imageCache']['set'](_0x42c354,{'id':_0x5319d0['uuid'],'url':_0x5319d0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x378821=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x378821['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x14fd6a,_0x5b4d31){_0x14fd6a['on']('apply',(_0x5183c7,_0x5130ef)=>{this['_replaceImage'](_0x5b4d31,_0x5130ef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x14fd6a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x14fd6a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ad5ee,_0x258538,_0x58acce){const _0xc4ed7e=this['_editor'],{width:_0x498b1c,height:_0x251fb2}=j(_0x258538,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c6b1b,imageSources:_0x58f6c1}=B(_0x258538,_0x498b1c);_0xc4ed7e['model']['change'](_0x554dd2=>{if('$graveyard'!==_0x5ad5ee['root']['rootName'])_0x554dd2['setSelection'](_0x5ad5ee,'on'),_0xc4ed7e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ad5ee['getAttributes']()),'uploadcareImageId':_0x58acce,'src':_0x4c6b1b,'sources':_0x58f6c1,'width':_0x498b1c,'height':_0x251fb2},_0x5ad5ee);else{_0xc4ed7e['execute']('insertImage',{'imageType':_0x5ad5ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ad5ee['getAttributes']()),'uploadcareImageId':_0x58acce,'src':_0x4c6b1b,'sources':_0x58f6c1,'width':_0x498b1c,'height':_0x251fb2}});const _0xa71cf2=_0x5ad5ee['getChildren']();_0x5ad5ee=_0xc4ed7e['model']['document']['selection']['getSelectedElement']();for(const _0x215bf7 of _0xa71cf2)_0x554dd2['append'](_0x554dd2['cloneElement'](_0x215bf7),_0x5ad5ee);}_0x554dd2['setSelection'](_0x5ad5ee,'on');});}async _getImageAsFile(_0x2352b3){const _0x5157d5=_0x497cad['window'],_0x141d54=_0x497cad['document']['location']['href'],_0x26058c=new _0x5157d5['URL'](_0x2352b3['getAttribute']('src'),_0x141d54);if('data:'===_0x26058c['protocol']){const _0x5ef50e=_0x26058c['href']['split'](','),_0x3bd8=_0x5ef50e[0x0]['match'](/:(.*?);/)[0x1],_0x1b5a80=_0x3bd8['split']('/')[0x1],_0xc5267b=_0x5157d5['atob'](_0x5ef50e[_0x5ef50e['length']-0x1]);let _0x273f1d=_0xc5267b['length'];const _0x51af88=new _0x5157d5['Uint8Array'](_0x273f1d);for(;_0x273f1d--;)_0x51af88[_0x273f1d]=_0xc5267b['charCodeAt'](_0x273f1d);return new _0x5157d5['File']([_0x51af88],'image.'+_0x1b5a80,{'type':_0x3bd8});}const _0x49ea02=_0x26058c['href']['split']('/'),_0xda0794=_0x49ea02[_0x49ea02['length']-0x1],_0x19c3e6=_0xda0794['split']('.')[0x1];return _0x5157d5['fetch'](_0x26058c['href'])['then'](_0x5d27ad=>_0x5d27ad['clone']()['blob']())['then'](_0x433f5d=>new _0x5157d5['File']([_0x433f5d],_0xda0794,{'type':'image/'+_0x19c3e6}));}},at=class extends _0x16619f{imageEditController;static get requires(){return[_0x109fac];}_isEditable;constructor(_0x1b78e0){super(_0x1b78e0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x246e90){const _0x17d341=M(_0x246e90);return _0x4b2c2e=>!(!_0x4b2c2e||!_0x4b2c2e['is']('element','imageBlock')&&!_0x4b2c2e['is']('element','imageInline'))&&(!!_0x4b2c2e['hasAttribute']('uploadcareImageId')||!!_0x4b2c2e['hasAttribute']('src')&&_0x17d341(_0x4b2c2e['getAttribute']('src')));}(_0x1b78e0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x41e4e6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x41e4e6);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x43939c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43939c&&(_0x43939c['is']('element','imageBlock')||_0x43939c['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x109fac),_0x43939c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x16619f{['refresh'](){const _0x59b81e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59b81e&&(_0x59b81e['is']('element','imageBlock')||_0x59b81e['is']('element','imageInline')));}execute(_0x2396af){const _0x548c82=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x348a44=>{_0x348a44['setAttributes'](_0x2396af,_0x548c82),_0x348a44['removeAttribute']('srcset',_0x548c82),_0x348a44['removeAttribute']('sizes',_0x548c82);});}},ct=class extends _0x4221c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x1a6e42,_0x86d0d4,_0x399229];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xea7aa3}=this;_0xea7aa3['commands']['add']('uploadcareImageEdit',new at(_0xea7aa3)),_0xea7aa3['commands']['add']('uploadcareImageReplace',new ot(_0xea7aa3));}},lt=class extends _0x4221c{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}init(){const _0x214ebc=this['editor'];_0x214ebc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x518160=>{const _0x299a0a=_0x214ebc['commands']['get']('uploadcareImageEdit'),_0x1cc11e=new _0x376018(_0x518160),t=_0x518160['t'];return _0x1cc11e['set']({'icon':_0x26f752,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1cc11e['bind']('isEnabled')['to'](_0x299a0a),_0x1cc11e['bind']('isOn')['to'](_0x299a0a,'isActive'),this['listenTo'](_0x1cc11e,'execute',()=>{_0x214ebc['execute']('uploadcareImageEdit'),_0x214ebc['editing']['view']['focus']();}),_0x1cc11e;}),this['_initConfig']();}_initConfig(){const _0x5d4309=_0x223e60(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d4309),this['listenTo'](this['editor'],'destroy',()=>{_0x5d4309['remove']();});}},ut=class extends _0x4221c{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
|
|
23
|
+
import{Command as _0x3ef929,Plugin as _0x3810eb}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0xbe6a17,IconError as _0x246f78,IconFacebook as _0x395812,IconGoogleDrive as _0x50ffd8,IconGooglePhotos as _0xdcc286,IconOneDrive as _0x1e5025,IconUploadcareImageEdit as _0x10cb9a,IconUploadcareImageUpload as _0x478865,IconUploadcareLink as _0x483e6e}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x200c74,Dialog as _0x4c9dbd,DialogViewPosition as _0x24347c,FocusCycler as _0x563389,IconView as _0x38a3d5,MenuBarMenuListItemButtonView as _0xeef0d5,Notification as _0x558dc1,SpinnerView as _0x38b012,View as _0x2fc8ab}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x335efc,FocusTracker as _0x143468,ObservableMixin as _0x57301a,createElement as _0x12e6b1,getAncestors as _0x4c3e67,global as _0x1cdfcb,uid as _0x4ddb3d}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x13f27d,ImageUploadEditing as _0x4dd25c,ImageUploadProgress as _0x12b32b,ImageUtils as _0x3a809b,PictureEditing as _0x7bf73f}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x231df7}from'@ckeditor/ckeditor5-upload';import{info as _0x5a55ab,uploadFile as _0x22c037}from'@uploadcare/upload-client';import*as _0x2f0a48 from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x36aabf,_0x43b06c,_0x58934a){const t=_0x36aabf['t'],_0x337d08=_0x36aabf['t'];switch(_0x43b06c){case'local':return{'text':_0x337d08('Insert'===_0x58934a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x337d08('From\x20computer')};case'url':return{'text':'Insert'===_0x58934a?_0x337d08('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x337d08('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x58934a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x58934a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x58934a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x58934a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x58934a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x43b06c;}}var V=class extends _0x3810eb{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x1678a3=[this['editor']];for(const _0x12fd5d of _0x1678a3){let _0x4ce21d;for(const _0x5ef756 in _0x12fd5d){const _0x58f5d5=_0x5ef756,_0x4432dd=_0x12fd5d[_0x58f5d5];if('uploadcareLicenseKeyValid'==_0x4432dd||'uploadcareLicenseKeyInvalid'==_0x4432dd||'uploadcareLicenseKeyExpired'==_0x4432dd||'uploadcareLicenseKeyDomainLimit'==_0x4432dd||'uploadcareLicenseKeyNotAllowed'==_0x4432dd||'uploadcareLicenseKeyEvaluationLimit'==_0x4432dd||'uploadcareLicenseKeyUsageLimit'==_0x4432dd){delete _0x12fd5d[_0x58f5d5],_0x4ce21d=_0x4432dd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4ce21d&&_0x12fd5d['_showLicenseError']('usageLimit');}},0x3e8);}afterInit(){const {editor:_0x1a8ce9}=this,_0x1de980=_0x1a8ce9['commands']['get']('uploadcare');if(!_0x1de980)return;const _0x72f835=this['_normalizeConfigSourceList'](_0x1a8ce9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4d1cef,_0x4432ce)=>{const _0x41b964=this['_getIntegrationKey'](_0x4432ce['type']);return _0x4d1cef[_0x41b964]||(_0x4d1cef[_0x41b964]=[]),_0x4d1cef[_0x41b964]['push'](_0x4432ce),_0x4d1cef;},{});_0x1a8ce9['plugins']['has']('ImageInsertUI')&&_0x1a8ce9['commands']['get']('uploadcare')&&Object['entries'](_0x72f835)['forEach'](([_0x9ecf17,_0x2411ea])=>{_0x1a8ce9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x9ecf17,'observable':()=>_0x1de980,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2411ea),'formViewCreator':()=>this['_createDropdownButtons'](_0x2411ea),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2411ea),'override':'assetManager'!==_0x9ecf17});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x76ca86){const {locale:_0xf874eb}=this['editor'];return _0x76ca86['map'](_0xef1265=>{const _0x343cbf=T(_0xf874eb,_0xef1265,'Insert');switch(_0xef1265){case'local':return{'icon':_0x478865,'type':'local',..._0x343cbf};case'url':return{'icon':_0x483e6e,'type':'url',..._0x343cbf};case'dropbox':return{'icon':_0xbe6a17,'type':'dropbox',..._0x343cbf};case'facebook':return{'icon':_0x395812,'type':'facebook',..._0x343cbf};case'gdrive':return{'icon':_0x50ffd8,'type':'gdrive',..._0x343cbf};case'gphotos':return{'icon':_0xdcc286,'type':'gphotos',..._0x343cbf};case'onedrive':return{'icon':_0x1e5025,'type':'onedrive',..._0x343cbf};}});}_getIntegrationKey(_0x1b9f75){switch(_0x1b9f75){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x54f3d6,_0x48e61f){const _0x5e8939=this['editor'],_0x54133d=new _0x54f3d6(_0x5e8939['locale']),_0x14047c=_0x5e8939['commands']['get']('uploadcare');return _0x54133d['bind']('isEnabled')['to'](_0x14047c),_0x54133d['on']('execute',()=>{_0x14047c['execute'](_0x48e61f);}),_0x54133d;}_createToolbarButton(_0x2a4df3){const {locale:_0x39a319}=this['editor'],_0x177369=this['editor']['plugins']['get']('ImageInsertUI'),_0x654d9c=_0x2a4df3[0x0],_0x5a4e9f=this['_createButton'](_0x200c74,_0x654d9c['type']);return _0x5a4e9f['icon']=_0x654d9c['icon'],_0x5a4e9f['bind']('label')['to'](_0x177369,'isImageSelected',_0x24a510=>T(_0x39a319,_0x654d9c['type'],_0x24a510?'Replace':'Insert')['text']),_0x5a4e9f['tooltip']=!0x0,_0x5a4e9f;}_createDropdownButtons(_0x50f4e1){const {locale:_0x10455c}=this['editor'],_0x5c4f45=this['editor']['plugins']['get']('ImageInsertUI');return _0x50f4e1['map'](_0x147351=>{const _0x4e3c31=this['_createButton'](_0x200c74,_0x147351['type']);return _0x4e3c31['withText']=!0x0,_0x4e3c31['icon']=_0x147351['icon'],_0x4e3c31['bind']('label')['to'](_0x5c4f45,'isImageSelected',_0x34456e=>T(_0x10455c,_0x147351['type'],_0x34456e?'Replace':'Insert')['text']),_0x4e3c31;});}_createMenuBarButtons(_0x495243){return _0x495243['map'](_0x1c1089=>{const _0x484094=this['_createButton'](_0xeef0d5,_0x1c1089['type']);return _0x484094['icon']=_0x1c1089['icon'],_0x484094['label']=_0x1c1089['shortText'],_0x484094;});}},F=class extends _0x2fc8ab{['focusTracker'];['focusCycler'];constructor(_0x33920c){super(_0x33920c),this['focusTracker']=new _0x143468(),this['focusCycler']=new _0x563389({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}getFocusableElement(){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}},$=class extends F{constructor(_0x56cecc,_0x1cefe0){super(_0x56cecc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x1cefe0}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x4420e0,_0x58158e){const _0x1df9ca=_0x4420e0['replace'](/\/$/,'');return{'imageFallbackUrl':_0x4420e0,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x283efd=>_0x283efd<_0x58158e)['map'](_0x459ceb=>_0x1df9ca+'/-/resize/'+_0x459ceb+'x/\x20'+_0x459ceb+'w'),_0x4420e0+'\x20'+_0x58158e+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x58158e+'px)\x20100vw,\x20'+_0x58158e+'px','type':'image/webp'}]};}function j(_0x2c3ac7,_0x48f95b,_0x5df500){const _0x5349c2=_0x2c3ac7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5349c2?parseInt(_0x5349c2[0x1],0xa):_0x48f95b,'height':_0x5349c2?parseInt(_0x5349c2[0x2],0xa):_0x5df500};}function q(_0x245599,_0x20f2cc){const _0xc5d2cc=new(_0x335efc())(),_0x22b356=_0x245599['plugins']['get']('ImageUtils'),_0xcc1ac7=_0x245599['editing']['mapper']['toViewElement'](_0x20f2cc),_0x4eb164=_0x22b356['findViewImgElement'](_0xcc1ac7),_0x23d739=_0x245599['editing']['view']['domConverter']['viewToDom'](_0x4eb164),_0x4ec865=_0x20f2cc['getAttribute']('width'),_0x2fdf5c=_0x20f2cc['getAttribute']('height'),_0x4cf215='image-processing';_0x245599['editing']['view']['change'](_0x5ee668=>{_0x5ee668['addClass'](_0x4cf215,_0xcc1ac7),_0x5ee668['setStyle']('aspect-ratio',_0x4ec865+'/'+_0x2fdf5c,_0x4eb164);}),_0xc5d2cc['listenTo'](_0x23d739,'load',()=>{_0xc5d2cc['stopListening'](_0x23d739,'load'),_0x245599['editing']['view']['change'](_0x53feb3=>{_0x53feb3['removeClass'](_0x4cf215,_0xcc1ac7),_0x53feb3['removeStyle']('aspect-ratio',_0x4eb164);});});}function M(_0x2a39e6){if(Array['isArray'](_0x2a39e6)){const _0x2baa13=_0x2a39e6['map'](M);return _0x36faf9=>_0x2baa13['some'](_0x2a0ea9=>_0x2a0ea9(_0x36faf9));}if('origin'==_0x2a39e6){const _0x3f2afb=_0x1cdfcb['window']['location']['origin'];return _0x24ac4b=>new URL(_0x24ac4b,_0x1cdfcb['document']['baseURI'])['origin']==_0x3f2afb;}return'function'==typeof _0x2a39e6?_0x2a39e6:_0x2a39e6 instanceof RegExp?_0x523154=>!(!_0x523154['match'](_0x2a39e6)&&!_0x523154['replace'](/^https?:\/\//,'')['match'](_0x2a39e6)):()=>!0x1;}function H(_0x4d9c33,_0xf180d6){return _0x4c3e67(_0x4d9c33['target'])['includes'](_0xf180d6);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57301a();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x1db2a9,_0x46430c,_0x53fb9b){super(),this['_editor']=_0x1db2a9,this['_editing']=_0x46430c,this['_dialog']=_0x1db2a9['plugins']['get'](_0x4c9dbd),this['_api']=_0x46430c['ctxElement']['getAPI'](),this['_type']=_0x53fb9b,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}destroy(){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}_initDialog(){const {locale:_0x41e835,model:_0x381258}=this['_editor'],_0x33a0b8=_0x381258['document']['selection']['getSelectedElement'](),_0x37d9e1=_0x33a0b8&&(_0x33a0b8['is']('element','imageBlock')||_0x33a0b8['is']('element','imageInline'));this['_formView']=new $(_0x41e835,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x478865,'title':T(_0x41e835,this['_type'],_0x37d9e1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x24347c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e3322=>!H(_0x2e3322,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3ad20d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1bd79a=>{const _0x3c2571=_0x3ad20d['length'];for(const _0x5bd0a7 of _0x3ad20d){const _0x2020be=_0x5bd0a7===_0x3ad20d[_0x3c2571-0x1],{cdnUrl:_0x8e665f,fileInfo:_0x4da1f7}=_0x5bd0a7;if(!_0x8e665f||!_0x4da1f7)continue;const {width:_0x51f17c,height:_0x7e55d1}=_0x4da1f7['imageInfo'],_0x3e42e3=j(_0x8e665f,_0x51f17c,_0x7e55d1),_0x2d4500=B(_0x8e665f,_0x3e42e3['width']),_0x47e774={'id':_0x4da1f7['uuid'],'type':'image','attributes':{'imageDimension':_0x3e42e3,..._0x2d4500}};this['_insertAsset'](_0x47e774,_0x2020be,_0x1bd79a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1262fd=>{'idle'===_0x1262fd['detail']['status']&&!_0x1262fd['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x2a3ac4,_0x41586f,_0x2eebc3){const _0x360f5c=this['_editor']['model']['document']['selection'],_0x515aa7=_0x360f5c['getSelectedElement'](),_0x1afc29=!(!_0x515aa7||!_0x515aa7['is']('element','imageInline'));_0x2eebc3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2a3ac4,_0x1afc29),_0x41586f||_0x2eebc3['setSelection'](_0x360f5c['getLastPosition']());}_insertImage(_0x4e17fe,_0x12a208){const _0x4a1ec0=this['_editor'],{imageDimension:_0x18bb79,imageFallbackUrl:_0x2f7c77,imageSources:_0x5a5f3b}=_0x4e17fe['attributes'];_0x4a1ec0['execute']('insertImage',{'imageType':_0x12a208?'imageInline':null,'source':{'uploadcareImageId':_0x4e17fe['id'],'src':_0x2f7c77,'sources':_0x5a5f3b,..._0x18bb79}});}},z=class extends _0x3ef929{_editing;_controller=null;static get requires(){return[_0x4c9dbd,Z];}constructor(_0x565d8f){super(_0x565d8f),this['_editing']=_0x565d8f['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x3eb44e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x3eb44e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x4843b7,..._0x519152}){return _0x22c037(_0x4843b7,_0x519152);}static getInfo(_0xa730a2,_0x355c44){return _0x5a55ab(_0xa730a2,_0x355c44);}},J=class extends _0x3810eb{static get requires(){return[_0x4dd25c,_0x12b32b,_0x231df7,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x4b2982=this['editor'];if(!_0x4b2982['config']['get']('uploadcare'))return;_0x4b2982['plugins']['get'](_0x231df7)['createUploadAdapter']=_0x49a7cb=>new X(_0x49a7cb,_0x4b2982),_0x4b2982['plugins']['get'](_0x4dd25c)['on']('uploadComplete',(_0x50301c,{imageElement:_0x1f94b0,data:_0x2da7c6})=>{_0x4b2982['model']['change'](_0x3b4c4d=>{_0x3b4c4d['setAttribute']('uploadcareImageId',_0x2da7c6['uploadcareImageId'],_0x1f94b0);});});}},X=class{['loader'];editor;controller;constructor(_0x1206a5,_0x24f791){this['loader']=_0x1206a5,this['editor']=_0x24f791,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5b5902=await this['loader']['file'];return Q['upload']({'file':_0x5b5902,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1381ba=>{_0x1381ba&&_0x1381ba['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1381ba['value']);}})['then'](async _0x391903=>{const {imageFallbackUrl:_0x4da8f5,imageSources:_0x33e381}=B(_0x391903['cdnUrl'],_0x391903['imageInfo']['width']);return{'uploadcareImageId':_0x391903['uuid'],'default':_0x4da8f5,'sources':_0x33e381};})['catch'](()=>{const _0xa17234=t('Cannot\x20upload\x20file:')+('\x20'+_0x5b5902['name']+'.');return Promise['reject'](_0xa17234);});}abort(){this['controller']['abort']();}},Z=class extends _0x3810eb{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x7bf73f,J,_0x4c9dbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x487b7c){super(_0x487b7c),this['ucContextId']=_0x4ddb3d();}init(){const _0x420f72=this['editor'];_0x420f72['commands']['add']('uploadcare',new z(_0x420f72));}afterInit(){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x1bf3bc=_0x1cdfcb['document']['querySelector']('input[uploadcare-file-input]');_0x1bf3bc&&_0x1bf3bc['remove']();}),async function(_0x2270ff){const _0x4568ff='4wieLj6qmWZnpxGN9QYyFhU15kOfCBAHt2slISMXP3vErub8za07VTRoKcdDgJ',_0x42c8b4=0x793c8,_0x190ebc={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x302bc1(_0x54140c){const _0x3ac41a=new window['Promise'](_0x3f08d0=>{_0x54140c['once']('ready',_0x3f08d0);}),_0x587dd4=window['Date']['now'](),_0x2fc30e=_0x54140c['config']['get']('licenseKey');async function _0x24975e(){let _0x5ea2f2,_0x20a054=null,_0x24c988=null;try{return'GPL'==_0x2fc30e?'NotAllowed':(_0x5ea2f2=_0x1e9dc7(),_0x5ea2f2?(_0x5ea2f2['usageEndpoint']&&(_0x24c988=_0x248ee7(_0x5ea2f2['usageEndpoint'],_0x5ea2f2['jti'])),await _0x5ae859()?_0x48165b()?_0x40ba2b()?'Expired':_0x5da5a5()?('evaluation'==_0x5ea2f2['licenseType']&&(_0x20a054=_0x22e719('EvaluationLimit')),await _0x1cbed9()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x40ba2b(){const _0x1c949c=['evaluation','trial']['includes'](_0x5ea2f2['licenseType'])?_0x587dd4/0x3e8:0xe10*_0x42c8b4;return _0x5ea2f2['exp']<_0x1c949c;}function _0x48165b(){const _0x38841f=_0x5ea2f2['features'];return!!_0x38841f&&(!!_0x38841f['includes']('*')||!!_0x38841f['includes']('UPLC'));}function _0x5da5a5(){const _0x1d058a=_0x5ea2f2['licensedHosts'];if(!_0x1d058a||0x0==_0x1d058a['length'])return!0x0;const {hostname:_0x5cf131}=new URL(window['location']['href']);if(_0x1d058a['includes'](_0x5cf131))return!0x0;const _0x2c1294=_0x5cf131['split']('.');return _0x1d058a['filter'](_0x2eaf3a=>_0x2eaf3a['includes']('*'))['map'](_0x2f2b6a=>_0x2f2b6a['split']('.'))['filter'](_0x21d089=>_0x21d089['length']<=_0x2c1294['length'])['map'](_0x2bdc79=>Array(_0x2c1294['length']-_0x2bdc79['length'])['fill']('*'===_0x2bdc79[0x0]?'*':'')['concat'](_0x2bdc79))['some'](_0x2b7b00=>_0x2c1294['every']((_0x531f05,_0x5d7e15)=>_0x2b7b00[_0x5d7e15]===_0x531f05||'*'===_0x2b7b00[_0x5d7e15]));}function _0x1cbed9(){return _0x20a054&&_0x24c988?new window['Promise']((_0x170aae,_0x159bb1)=>{_0x20a054['then'](_0x170aae,_0x159bb1),_0x24c988['then'](_0x1e4de8=>{'Valid'!=_0x1e4de8&&_0x170aae(_0x1e4de8);},_0x159bb1);}):_0x20a054||_0x24c988||'Valid';}}function _0x248ee7(_0x2d0943,_0x57f2ff){return new window['Promise'](_0x107599=>{if(_0x3773df())return _0x107599('Valid');_0x4403f4(),_0x54140c['decorate']('_sendUsageRequest');let _0x29ad11=!0x1;const _0x7d92f2=_0x4ddb3d();function _0x1ed159(_0x539d31){return!!_0x539d31&&('object'==typeof _0x539d31||'function'==typeof _0x539d31)&&'function'==typeof _0x539d31['then']&&'function'==typeof _0x539d31['catch'];}function _0x5dc99c(_0x5c28da){_0x5f3769(_0x5c28da)['then'](_0x4882e8=>_0x4882e8&&'ok'==_0x4882e8['status']?_0x6e0d1d(_0x236399(_0x7d92f2+_0x57f2ff))!=_0x4882e8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1540a6=>(_0x16bddf(),_0x1540a6),()=>{const _0x192efb=_0x5962d6();return null==_0x192efb?(_0x16bddf(),'Valid'):_0x587dd4-_0x192efb>0x240c8400?'UsageLimit':'Valid';})['then'](_0x107599)['catch'](()=>{_0x107599('UsageLimit');});const _0x160b6e=0x36ee80;function _0x16bddf(){const _0x4971e6='llct-'+_0x6e0d1d(_0x236399(_0x2d0943)),_0x11ff40=_0xce2584(_0x6e0d1d(window['Math']['ceil'](_0x587dd4/_0x160b6e)));window['localStorage']['setItem'](_0x4971e6,_0x11ff40);}function _0x5962d6(){const _0x4d7438='llct-'+_0x6e0d1d(_0x236399(_0x2d0943)),_0x3f69d8=window['localStorage']['getItem'](_0x4d7438);return _0x3f69d8?window['parseInt'](_0xce2584(_0x3f69d8),0x10)*_0x160b6e:null;}function _0x5f3769(_0x182130){return new window['Promise']((_0x5f5577,_0x3dd03a)=>{_0x182130['then'](_0x5f5577,_0x3dd03a),window['setTimeout'](_0x3dd03a,0x1d4c0);});}}_0x54140c['on']('_sendUsageRequest',(_0x13bda6,_0x584604)=>{if(_0x584604[0x0]!=_0x2d0943)return _0x107599('UsageLimit');_0x584604[0x1]={..._0x584604[0x1],'requestId':_0x7d92f2};},{'priority':'high'}),_0x54140c['on']('_sendUsageRequest',_0x17cd08=>{_0x1ed159(_0x17cd08['return'])&&(_0x29ad11=!0x0,_0x5dc99c(_0x17cd08['return']));},{'priority':'low'}),_0x3ac41a['then'](()=>{_0x29ad11||_0x107599('UsageLimit');});});function _0x3773df(){return'auto'==_0x54140c['editing']['view']['_overlayModeHint'];}function _0x4403f4(){_0x54140c['editing']['view']['_overlayModeHint']='auto';}}function _0x22e719(_0x2acf52){const _0x5227c0=[new window['Promise'](_0x13b85e=>setTimeout(_0x13b85e,0x93ecc)),_0x3ac41a['then'](()=>new window['Promise'](_0x22e753=>{let _0x57c6be=0x0;_0x54140c['model']['on']('applyOperation',(_0x4cd256,_0x19ae00)=>{_0x19ae00[0x0]['isDocumentOperation']&&_0x57c6be++,0x5e8==_0x57c6be&&(_0x22e753(),_0x4cd256['off']());});}))];return window['Promise']['race'](_0x5227c0)['then'](()=>_0x2acf52);}async function _0x58d258(){await _0x3ac41a,_0x54140c['model']['change']=_0x18d22a,_0x54140c['model']['enqueueChange']=_0x18d22a,_0x54140c['enableReadOnlyMode']('model');}function _0x4eae2d(_0x47ad34){const _0x4a0ca=_0x15ee84();_0x54140c[_0x4a0ca]='uploadcareLicenseKey'+_0x47ad34,'Valid'!=_0x47ad34&&_0x58d258();}function _0x15ee84(){const _0x3e19f1=window['String'](window['performance']['now']())['replace']('.','');let _0x1f3a39='w';for(let _0x46023f=0x0;_0x46023f<_0x3e19f1['length'];_0x46023f+=0x2){let _0x45238a=window['parseInt'](_0x3e19f1['substring'](_0x46023f,_0x46023f+0x2));_0x45238a>=0x3e&&(_0x45238a-=0x3e),_0x1f3a39+=_0x4568ff[_0x45238a];}return _0x1f3a39;}function _0x1e9dc7(){const _0x2412f8=_0x2fc30e['split']('.');if(0x3!=_0x2412f8['length'])return null;return _0x17281e(_0x2412f8[0x1]);function _0x17281e(_0x5e8e30){const _0x1aeea8=_0x6dc95b(_0x5e8e30);return _0x1aeea8&&_0x1b4fba()?_0x1aeea8:null;function _0x1b4fba(){const _0x2e1966=_0x1aeea8['jti'],_0x982548=window['parseInt'](_0x2e1966['substring'](_0x2e1966['length']-0x8),0x10),_0x3bb472={..._0x1aeea8,'jti':_0x2e1966['substring'](0x0,_0x2e1966['length']-0x8)};return delete _0x3bb472['vc'],_0x236399(_0x3bb472)==_0x982548;}}}async function _0x5ae859(){let _0x497a75=!0x0;try{const [_0x42c38d,_0x2f6da5,_0x399b13]=_0x2fc30e['split']('.');return _0x40a18c(_0x42c38d),await _0x5393f2(_0x42c38d,_0x2f6da5,_0x399b13),_0x497a75;}catch{return!0x1;}function _0x40a18c(_0x412eb0){const _0x3f0ec5=_0x6dc95b(_0x412eb0);_0x3f0ec5&&'ES256'==_0x3f0ec5['alg']||(_0x497a75=!0x1);}async function _0x5393f2(_0x23be50,_0x27b246,_0x18d964){const _0x10181e=window['Uint8Array']['from'](_0xca42e3(_0x18d964),_0xd76b7a=>_0xd76b7a['charCodeAt'](0x0)),_0x190280=new window['TextEncoder']()['encode'](_0x23be50+'.'+_0x27b246),_0xe29ad7=window['crypto']['subtle'];if(!_0xe29ad7)return;const _0x33895b=await _0xe29ad7['importKey']('jwk',_0x190ebc,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xe29ad7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x33895b,_0x10181e,_0x190280)||(_0x497a75=!0x1);}}function _0x6dc95b(_0x3a74e6){return _0x3a74e6['startsWith']('ey')?JSON['parse'](_0xca42e3(_0x3a74e6)):null;}function _0xca42e3(_0x3a9c3f){return window['atob'](_0x3a9c3f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x236399(_0x58d273){let _0x3afc45=0x1505;function _0x38115f(_0x235ea9){for(let _0x317634=0x0;_0x317634<_0x235ea9['length'];_0x317634++){const _0x531a31=_0x235ea9['charCodeAt'](_0x317634);_0x3afc45=(_0x3afc45<<0x5)+_0x3afc45+_0x531a31,_0x3afc45&=_0x3afc45;}}function _0xd55fd8(_0x3b0d92){Array['isArray'](_0x3b0d92)?_0x3b0d92['forEach'](_0xd55fd8):_0x3b0d92&&'object'==typeof _0x3b0d92?Object['entries'](_0x3b0d92)['sort']()['forEach'](([_0x4f0e19,_0x5dd051])=>{_0x38115f(_0x4f0e19),_0xd55fd8(_0x5dd051);}):_0x38115f(window['String'](_0x3b0d92));}return _0xd55fd8(_0x58d273),_0x3afc45>>>0x0;}function _0x6e0d1d(_0x161e75){return _0x161e75['toString'](0x10)['padStart'](0x8,'0');}function _0xce2584(_0x366a04){return _0x366a04['split']('')['reverse']()['join']('');}function _0x18d22a(){}_0x4eae2d(await _0x24975e());}_0x302bc1(_0x2270ff['editor']);}(this);}_initSchema(){const _0x33b3cd=this['editor']['model']['schema'];_0x33b3cd['isRegistered']('imageBlock')&&_0x33b3cd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x33b3cd['isRegistered']('imageInline')&&_0x33b3cd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x5ef627=this['editor'];_0x5ef627['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5ef627['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2cded4=>_0x2cded4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1d9966=_0x5ef627['commands']['get']('replaceImageSource');_0x1d9966&&this['listenTo'](_0x1d9966,'cleanupImage',(_0x17ad93,[_0x52db70,_0x5d9016])=>{_0x52db70['removeAttribute']('uploadcareImageId',_0x5d9016);});}_initConfig(){const _0x119332=this['editor']['config']['get']('uploadcare.uploader')||{},_0x8423e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x12e6b1(_0x1cdfcb['document'],'uc-config',{..._0x119332,'pubkey':_0x8423e,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x535430=>{if('closeMax'==_0x535430)return'#uc-icon-arrow-down';},_0x1cdfcb['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x12e6b1(_0x1cdfcb['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1cdfcb['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0xdbe486=this['editor']['commands']['get']('insertImage');_0xdbe486&&this['listenTo'](_0xdbe486,'execute',()=>{const _0x15b420=this['editor']['model']['document']['selection']['getSelectedElement']();_0x15b420&&_0x15b420['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x15b420);});});const _0x58876c=this['editor']['commands']['get']('uploadcareImageReplace');_0x58876c&&this['listenTo'](_0x58876c,'execute',()=>{const _0x4deda2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4deda2&&_0x4deda2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x4deda2);});});}},Y=class extends _0x3810eb{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x195c93){super(_0x195c93),_0x195c93['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2f0a48['defineComponents'](_0x2f0a48),this['_defineLocale']();}['_defineLocale'](){const _0x38ec26=this['editor']['config']['get']('uploadcare.locale'),_0x40c7df=this['editor']['locale']['contentLanguage'];_0x38ec26&&_0x2f0a48['defineLocale'](_0x40c7df,_0x38ec26);}},tt=class extends _0x2fc8ab{constructor(_0x533400){super(_0x533400);const t=_0x533400['t'],_0x2bf24c=this['bindTemplate'],_0xba2495=new _0x38b012();_0xba2495['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0xba2495,{'text':_0x2bf24c['to']('imageUploadProgress',_0x1c05ac=>t('Loading\x20image...')+'\x20('+(_0x1c05ac||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},et=class extends _0x2fc8ab{constructor(_0x2d3b52){super(_0x2d3b52);const t=_0x2d3b52['t'];this['set']('errorType',null);const _0x22775a=new _0x200c74(_0x2d3b52);_0x22775a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22775a['withText']=!0x0,_0x22775a['class']='ck-button-action',_0x22775a['on']('execute',()=>{this['fire']('retry');}),_0x22775a['bind']('isVisible')['to'](this,'errorType',_0x51e4ec=>'NotFound'!==_0x51e4ec);const _0x2a3145=new _0x38a3d5();_0x2a3145['content']=_0x246f78,_0x2a3145['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x37674f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2a3145,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x37674f['to']('errorType',_0x552f8e=>t('NotFound'!==_0x552f8e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22775a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}},it=class extends _0x2fc8ab{constructor(_0x4d03a1,_0x158bd8){super(_0x4d03a1);const _0x107791=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x158bd8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x107791['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x35b5d7,_0x197ecb,_0x58cc77){super(_0x35b5d7),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x35b5d7),this['_errorView']=new et(_0x35b5d7),this['_editingView']=new it(_0x35b5d7,_0x58cc77),this['_focusableView']=new _0x2fc8ab(_0x35b5d7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x197ecb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x16b9cc=>{this['_addUploadcareImageEditorListeners'](_0x16b9cc);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}_setView(){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}_waitForImageEditorComponent(_0x3282ac,_0x27496d){const _0x115d18='uc-cloud-image-editor',_0xf0d555=_0x3282ac['querySelector'](_0x115d18);if(_0xf0d555)return _0x27496d(_0xf0d555);const _0x40f6d9=new MutationObserver(_0x10db40=>{const _0x210f23=_0x10db40['filter'](_0x2bc8ca=>_0x2bc8ca['target']===_0x3282ac&&_0x2bc8ca['addedNodes']['length']>0x0&&_0x2bc8ca['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x115d18);_0x210f23['length']&&(_0x40f6d9['disconnect'](),_0x27496d(_0x210f23[0x0]['addedNodes'][0x0]));});_0x40f6d9['observe'](_0x3282ac,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x46da48){_0x46da48['addEventListener']('apply',_0x5078cf=>{this['fire']('apply',{'imageSrc':_0x5078cf['detail']['cdnUrl']});}),_0x46da48['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const nt=/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x57301a();var rt=class extends nt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x359451,_0x36f64d,_0x150abf){super(),this['_editor']=_0x359451,this['_dialog']=_0x36f64d,this['_imageElement']=_0x150abf,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}destroy(){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5bdb0c=this['_imageElement'],_0xef56aa=_0x5bdb0c['getAttribute']('uploadcareImageId'),_0x4931de=_0x5bdb0c['getAttribute']('src');if(_0xef56aa)await this['_loadImageInfo'](_0xef56aa,_0x4931de);else{if(this['_imageCache']['has'](_0x4931de)){const _0x4823a7=this['_imageCache']['get'](_0x4931de);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4823a7['url'],this['imageDimension']=_0x4823a7['dimension'],this['imageId']=_0x4823a7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3f22bc}=this['_editor'],t=_0x3f22bc['t'],_0x1cd26c=new st(_0x3f22bc,this['imageStatus'],this['_attributes']);_0x1cd26c['bind']('status')['to'](this,'imageStatus'),_0x1cd26c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1cd26c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1cd26c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1cd26c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10cb9a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1cd26c,'position':_0x24347c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1cd26c['focus']();},'onHide':()=>{_0x1cd26c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4645f7=>!H(_0x4645f7,_0x1cd26c['element'])}});}['_loadImageInfo'](_0x4c9ace,_0x25f5fa){return Q['getInfo'](_0x4c9ace,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5d3f20=>{const {width:_0x2cfe00,height:_0x1f8b87}=_0x5d3f20['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25f5fa,this['imageDimension']={'width':_0x2cfe00,'height':_0x1f8b87},this['imageId']=_0x4c9ace;})['catch'](_0x14448e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14448e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf9eec5,_0x32e7bf){return this['_getImageAsFile'](_0xf9eec5)['then'](_0x4deb7a=>Q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x32e7bf['signal'],'file':_0x4deb7a,'onProgress':_0xb243cc=>{_0xb243cc&&_0xb243cc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xb243cc['value']));}}))['then'](_0xb0dddf=>{const {width:_0xf2cf90,height:_0x4bfe7b}=_0xb0dddf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb0dddf['cdnUrl'],this['imageDimension']={'width':_0xf2cf90,'height':_0x4bfe7b},this['imageId']=_0xb0dddf['uuid'],this['imageUploadProgress']=null;const _0x25bf3d=_0xf9eec5['getAttribute']('src');this['_imageCache']['set'](_0x25bf3d,{'id':_0xb0dddf['uuid'],'url':_0xb0dddf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x39a96e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39a96e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x439112,_0x33b14d){_0x439112['on']('apply',(_0x22cbb5,_0x28c9e2)=>{this['_replaceImage'](_0x33b14d,_0x28c9e2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x439112['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x439112['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x85b274,_0x32cd22,_0xd8c489){const _0x492b69=this['_editor'],{width:_0xa1d6f6,height:_0x3d55aa}=j(_0x32cd22,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f2c2a,imageSources:_0x701325}=B(_0x32cd22,_0xa1d6f6);_0x492b69['model']['change'](_0x2280d7=>{if('$graveyard'!==_0x85b274['root']['rootName'])_0x2280d7['setSelection'](_0x85b274,'on'),_0x492b69['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x85b274['getAttributes']()),'uploadcareImageId':_0xd8c489,'src':_0x4f2c2a,'sources':_0x701325,'width':_0xa1d6f6,'height':_0x3d55aa},_0x85b274);else{_0x492b69['execute']('insertImage',{'imageType':_0x85b274['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x85b274['getAttributes']()),'uploadcareImageId':_0xd8c489,'src':_0x4f2c2a,'sources':_0x701325,'width':_0xa1d6f6,'height':_0x3d55aa}});const _0x327aae=_0x85b274['getChildren']();_0x85b274=_0x492b69['model']['document']['selection']['getSelectedElement']();for(const _0x43b45a of _0x327aae)_0x2280d7['append'](_0x2280d7['cloneElement'](_0x43b45a),_0x85b274);}_0x2280d7['setSelection'](_0x85b274,'on');});}async _getImageAsFile(_0x1c5804){const _0x439902=_0x1cdfcb['window'],_0x40fd94=_0x1cdfcb['document']['location']['href'],_0x1388db=new _0x439902['URL'](_0x1c5804['getAttribute']('src'),_0x40fd94);if('data:'===_0x1388db['protocol']){const _0x34586d=_0x1388db['href']['split'](','),_0x38044e=_0x34586d[0x0]['match'](/:(.*?);/)[0x1],_0x384c13=_0x38044e['split']('/')[0x1],_0xee89f4=_0x439902['atob'](_0x34586d[_0x34586d['length']-0x1]);let _0x59d8c3=_0xee89f4['length'];const _0x9904d4=new _0x439902['Uint8Array'](_0x59d8c3);for(;_0x59d8c3--;)_0x9904d4[_0x59d8c3]=_0xee89f4['charCodeAt'](_0x59d8c3);return new _0x439902['File']([_0x9904d4],'image.'+_0x384c13,{'type':_0x38044e});}const _0x1db1f2=_0x1388db['href']['split']('/'),_0x524347=_0x1db1f2[_0x1db1f2['length']-0x1],_0x3d8271=_0x524347['split']('.')[0x1];return _0x439902['fetch'](_0x1388db['href'])['then'](_0x5a0b91=>_0x5a0b91['clone']()['blob']())['then'](_0x7eb420=>new _0x439902['File']([_0x7eb420],_0x524347,{'type':'image/'+_0x3d8271}));}},at=class extends _0x3ef929{imageEditController;static get requires(){return[_0x4c9dbd];}_isEditable;constructor(_0x2038db){super(_0x2038db),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x40bbc3){const _0x534595=M(_0x40bbc3);return _0x36e378=>!(!_0x36e378||!_0x36e378['is']('element','imageBlock')&&!_0x36e378['is']('element','imageInline'))&&(!!_0x36e378['hasAttribute']('uploadcareImageId')||!!_0x36e378['hasAttribute']('src')&&_0x534595(_0x36e378['getAttribute']('src')));}(_0x2038db['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4e61d8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4e61d8);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3e6b4b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3e6b4b&&(_0x3e6b4b['is']('element','imageBlock')||_0x3e6b4b['is']('element','imageInline'))&&(this['imageEditController']=new rt(this['editor'],this['editor']['plugins']['get'](_0x4c9dbd),_0x3e6b4b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x3ef929{['refresh'](){const _0x403e98=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x403e98&&(_0x403e98['is']('element','imageBlock')||_0x403e98['is']('element','imageInline')));}execute(_0x2574f8){const _0x26fab8=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2822bc=>{_0x2822bc['setAttributes'](_0x2574f8,_0x26fab8),_0x2822bc['removeAttribute']('srcset',_0x26fab8),_0x2822bc['removeAttribute']('sizes',_0x26fab8);});}},ct=class extends _0x3810eb{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x558dc1,_0x3a809b,_0x13f27d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x903437}=this;_0x903437['commands']['add']('uploadcareImageEdit',new at(_0x903437)),_0x903437['commands']['add']('uploadcareImageReplace',new ot(_0x903437));}},lt=class extends _0x3810eb{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}init(){const _0x2bf344=this['editor'];_0x2bf344['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc55749=>{const _0x4484f3=_0x2bf344['commands']['get']('uploadcareImageEdit'),_0x1d5985=new _0x200c74(_0xc55749),t=_0xc55749['t'];return _0x1d5985['set']({'icon':_0x10cb9a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1d5985['bind']('isEnabled')['to'](_0x4484f3),_0x1d5985['bind']('isOn')['to'](_0x4484f3,'isActive'),this['listenTo'](_0x1d5985,'execute',()=>{_0x2bf344['execute']('uploadcareImageEdit'),_0x2bf344['editing']['view']['focus']();}),_0x1d5985;}),this['_initConfig']();}_initConfig(){const _0x4a3845=_0x12e6b1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4a3845),this['listenTo'](this['editor'],'destroy',()=>{_0x4a3845['remove']();});}},ut=class extends _0x3810eb{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}
|
|
23
|
+
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x482a36=>{const {af:_0x112995}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};_0x482a36['af']||={'dictionary':{},'getPluralForm':null},_0x482a36['af']['dictionary']=Object['assign'](_0x482a36['af']['dictionary'],_0x112995['dictionary']),_0x112995['getPluralForm']&&(_0x482a36['af']['getPluralForm']=_0x112995['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'}
|
|
23
|
+
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e0ec0=>{const {ar:_0x45e544}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'}}};_0x4e0ec0['ar']||={'dictionary':{},'getPluralForm':null},_0x4e0ec0['ar']['dictionary']=Object['assign'](_0x4e0ec0['ar']['dictionary'],_0x45e544['dictionary']),_0x45e544['getPluralForm']&&(_0x4e0ec0['ar']['getPluralForm']=_0x45e544['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}
|
|
23
|
+
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4968a5=>{const {ast:_0xc2997f}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};_0x4968a5['ast']||={'dictionary':{},'getPluralForm':null},_0x4968a5['ast']['dictionary']=Object['assign'](_0x4968a5['ast']['dictionary'],_0xc2997f['dictionary']),_0xc2997f['getPluralForm']&&(_0x4968a5['ast']['getPluralForm']=_0xc2997f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}
|
|
23
|
+
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c0bc3=>{const {az:_0x92ba46}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};_0x3c0bc3['az']||={'dictionary':{},'getPluralForm':null},_0x3c0bc3['az']['dictionary']=Object['assign'](_0x3c0bc3['az']['dictionary'],_0x92ba46['dictionary']),_0x92ba46['getPluralForm']&&(_0x3c0bc3['az']['getPluralForm']=_0x92ba46['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}
|
|
23
|
+
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5de039=>{const {be:_0x48bed6}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};_0x5de039['be']||={'dictionary':{},'getPluralForm':null},_0x5de039['be']['dictionary']=Object['assign'](_0x5de039['be']['dictionary'],_0x48bed6['dictionary']),_0x48bed6['getPluralForm']&&(_0x5de039['be']['getPluralForm']=_0x48bed6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'}
|
|
23
|
+
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14196c=>{const {bg:_0x1b499a}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'}}};_0x14196c['bg']||={'dictionary':{},'getPluralForm':null},_0x14196c['bg']['dictionary']=Object['assign'](_0x14196c['bg']['dictionary'],_0x1b499a['dictionary']),_0x1b499a['getPluralForm']&&(_0x14196c['bg']['getPluralForm']=_0x1b499a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'}
|
|
23
|
+
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19c315=>{const {bn:_0x45a1b8}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'}}};_0x19c315['bn']||={'dictionary':{},'getPluralForm':null},_0x19c315['bn']['dictionary']=Object['assign'](_0x19c315['bn']['dictionary'],_0x45a1b8['dictionary']),_0x45a1b8['getPluralForm']&&(_0x19c315['bn']['getPluralForm']=_0x45a1b8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}
|
|
23
|
+
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50e048=>{const {bs:_0x1e10cd}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''}}};_0x50e048['bs']||={'dictionary':{},'getPluralForm':null},_0x50e048['bs']['dictionary']=Object['assign'](_0x50e048['bs']['dictionary'],_0x1e10cd['dictionary']),_0x1e10cd['getPluralForm']&&(_0x50e048['bs']['getPluralForm']=_0x1e10cd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}
|
|
23
|
+
export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x531a8d=>{const {ca:_0x24bba4}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}}};_0x531a8d['ca']||={'dictionary':{},'getPluralForm':null},_0x531a8d['ca']['dictionary']=Object['assign'](_0x531a8d['ca']['dictionary'],_0x24bba4['dictionary']),_0x24bba4['getPluralForm']&&(_0x531a8d['ca']['getPluralForm']=_0x24bba4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|