@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260120.0 → 0.0.0-nightly-next-20260121.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.
Files changed (148) hide show
  1. package/dist/index.js +3 -3
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x408f3f,Command as _0xdf4dfa}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4c2308,IconGooglePhotos as _0x45d918,IconGoogleDrive as _0x119c3b,IconFacebook as _0x3a7b85,IconDropbox as _0x55ff92,IconUploadcareLink as _0x572426,IconUploadcareImageUpload as _0x598b3a,IconError as _0x27029b,IconUploadcareImageEdit as _0x6cf2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x37258a,MenuBarMenuListItemButtonView as _0x2b84b2,View as _0x2032bd,FocusCycler as _0xd9ca97,Dialog as _0x54b76f,DialogViewPosition as _0x3b981b,SpinnerView as _0x214b70,IconView as _0x506beb,Notification as _0xfcbaee}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x57a506,DomEmitterMixin as _0x3d627a,global as _0x3bb94b,getAncestors as _0x31568f,ObservableMixin as _0x44b841,uid as _0x16ab3e,createElement as _0x2c44ac}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3e1533}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x208243,info as _0x46f8e4}from'@uploadcare/upload-client';import*as _0x2fdb88 from'@uploadcare/file-uploader';var S=function(_0x49464f){return _0x49464f['Local']='local',_0x49464f['URL']='url',_0x49464f['Dropbox']='dropbox',_0x49464f['GDrive']='gdrive',_0x49464f['Facebook']='facebook',_0x49464f['GPhotos']='gphotos',_0x49464f['OneDrive']='onedrive',_0x49464f;}({});function T(_0xd0a3db,_0x554e4b,_0x4b91d7){const t=_0xd0a3db['t'],_0x4dde7f=_0xd0a3db['t'];switch(_0x554e4b){case S['Local']:return{'text':_0x4dde7f('Insert'===_0x4b91d7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4dde7f('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x4b91d7?_0x4dde7f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4dde7f('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x4b91d7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x4b91d7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x4b91d7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x4b91d7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x4b91d7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x554e4b;}}class A extends _0x408f3f{['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 _0x2bd1e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x43107b;for(const _0x15a024 in _0x2bd1e7){const _0x474eb5=_0x15a024,_0x2b84f6=_0x2bd1e7[_0x474eb5];if('uploadcareLicenseKeyValid'==_0x2b84f6||'uploadcareLicenseKeyInvalid'==_0x2b84f6||'uploadcareLicenseKeyExpired'==_0x2b84f6||'uploadcareLicenseKeyDomainLimit'==_0x2b84f6||'uploadcareLicenseKeyNotAllowed'==_0x2b84f6||'uploadcareLicenseKeyEvaluationLimit'==_0x2b84f6||'uploadcareLicenseKeyUsageLimit'==_0x2b84f6){delete _0x2bd1e7[_0x474eb5],_0x43107b=_0x2b84f6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x43107b&&_0x2bd1e7['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x43107b&&_0x2bd1e7['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x43107b&&_0x2bd1e7['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x43107b&&_0x2bd1e7['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x43107b&&_0x2bd1e7['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x43107b&&_0x2bd1e7['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1b34ab}=this,_0x477ab2=_0x1b34ab['commands']['get']('uploadcare');if(!_0x477ab2)return;const _0x44ce89=this['_normalizeConfigSourceList'](_0x1b34ab['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xb168f7,_0x123135)=>{const _0x3815f5=this['_getIntegrationKey'](_0x123135['type']);return _0xb168f7[_0x3815f5]||(_0xb168f7[_0x3815f5]=[]),_0xb168f7[_0x3815f5]['push'](_0x123135),_0xb168f7;},{});_0x1b34ab['plugins']['has']('ImageInsertUI')&&_0x1b34ab['commands']['get']('uploadcare')&&Object['entries'](_0x44ce89)['forEach'](([_0x5b484c,_0x16605d])=>{_0x1b34ab['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b484c,'observable':()=>_0x477ab2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16605d),'formViewCreator':()=>this['_createDropdownButtons'](_0x16605d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16605d),'override':'assetManager'!==_0x5b484c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3b2e98){const {locale:_0x4dccff}=this['editor'];return _0x3b2e98['map'](_0x5e4d66=>{const _0xf716a7=T(_0x4dccff,_0x5e4d66,'Insert');switch(_0x5e4d66){case S['Local']:return{'icon':_0x598b3a,'type':S['Local'],..._0xf716a7};case S['URL']:return{'icon':_0x572426,'type':S['URL'],..._0xf716a7};case S['Dropbox']:return{'icon':_0x55ff92,'type':S['Dropbox'],..._0xf716a7};case S['Facebook']:return{'icon':_0x3a7b85,'type':S['Facebook'],..._0xf716a7};case S['GDrive']:return{'icon':_0x119c3b,'type':S['GDrive'],..._0xf716a7};case S['GPhotos']:return{'icon':_0x45d918,'type':S['GPhotos'],..._0xf716a7};case S['OneDrive']:return{'icon':_0x4c2308,'type':S['OneDrive'],..._0xf716a7};}});}['_getIntegrationKey'](_0x428164){switch(_0x428164){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x542161,_0x161721){const _0x387266=this['editor'],_0x5bd228=new _0x542161(_0x387266['locale']),_0x4d638c=_0x387266['commands']['get']('uploadcare');return _0x5bd228['bind']('isEnabled')['to'](_0x4d638c),_0x5bd228['on']('execute',()=>{_0x4d638c['execute'](_0x161721);}),_0x5bd228;}['_createToolbarButton'](_0x2c00e6){const {locale:_0x5e4489}=this['editor'],_0x246b1b=this['editor']['plugins']['get']('ImageInsertUI'),_0xf36360=_0x2c00e6[0x0],_0x876a73=this['_createButton'](_0x37258a,_0xf36360['type']);return _0x876a73['icon']=_0xf36360['icon'],_0x876a73['bind']('label')['to'](_0x246b1b,'isImageSelected',_0x1e2c34=>T(_0x5e4489,_0xf36360['type'],_0x1e2c34?'Replace':'Insert')['text']),_0x876a73['tooltip']=!0x0,_0x876a73;}['_createDropdownButtons'](_0x325aab){const {locale:_0x3dffc6}=this['editor'],_0x5a3d78=this['editor']['plugins']['get']('ImageInsertUI');return _0x325aab['map'](_0x2d82e4=>{const _0x70dd2e=this['_createButton'](_0x37258a,_0x2d82e4['type']);return _0x70dd2e['withText']=!0x0,_0x70dd2e['icon']=_0x2d82e4['icon'],_0x70dd2e['bind']('label')['to'](_0x5a3d78,'isImageSelected',_0x593c03=>T(_0x3dffc6,_0x2d82e4['type'],_0x593c03?'Replace':'Insert')['text']),_0x70dd2e;});}['_createMenuBarButtons'](_0x22df8a){return _0x22df8a['map'](_0x1ba3be=>{const _0x5b9580=this['_createButton'](_0x2b84b2,_0x1ba3be['type']);return _0x5b9580['icon']=_0x1ba3be['icon'],_0x5b9580['label']=_0x1ba3be['shortText'],_0x5b9580;});}}class K extends _0x2032bd{['focusTracker'];['focusCycler'];constructor(_0x5c9b74){super(_0x5c9b74),this['focusTracker']=new _0x57a506(),this['focusCycler']=new _0xd9ca97({'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 O extends K{constructor(_0x527417,_0x3969ce){super(_0x527417),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-'+_0x3969ce}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x5bf0fb,_0x186d48){const _0x50671a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xc2fb65=>_0xc2fb65<=_0x186d48)['map'](_0x30c1e5=>_0x5bf0fb['replace'](/\/$/,'')+'/-/resize/'+_0x30c1e5+'x/\x20'+_0x30c1e5+'w');return{'imageFallbackUrl':_0x5bf0fb,'imageSources':[{'srcset':_0x50671a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x186d48+'px)\x20100vw,\x20'+_0x186d48+'px','type':'image/webp'}]};}function F(_0xf4e07a,_0x435e95,_0x44cbb5){const _0x8699a8=_0xf4e07a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x8699a8?parseInt(_0x8699a8[0x1],0xa):_0x435e95,'height':_0x8699a8?parseInt(_0x8699a8[0x2],0xa):_0x44cbb5};}function $(_0x31aa97,_0x15406a){const _0x163ca3=new(_0x3d627a())(),_0x4d034c=_0x31aa97['plugins']['get']('ImageUtils'),_0x365c1b=_0x31aa97['editing']['mapper']['toViewElement'](_0x15406a),_0x2a38a9=_0x4d034c['findViewImgElement'](_0x365c1b),_0x49150c=_0x31aa97['editing']['view']['domConverter']['viewToDom'](_0x2a38a9),_0x3cdb14=_0x15406a['getAttribute']('width'),_0x156943=_0x15406a['getAttribute']('height'),_0x565b51='image-processing';_0x31aa97['editing']['view']['change'](_0x33e5dd=>{_0x33e5dd['addClass'](_0x565b51,_0x365c1b),_0x33e5dd['setStyle']('aspect-ratio',_0x3cdb14+'/'+_0x156943,_0x2a38a9);}),_0x163ca3['listenTo'](_0x49150c,'load',()=>{_0x163ca3['stopListening'](_0x49150c,'load'),_0x31aa97['editing']['view']['change'](_0x330a50=>{_0x330a50['removeClass'](_0x565b51,_0x365c1b),_0x330a50['removeStyle']('aspect-ratio',_0x2a38a9);});});}function B(_0x2330b5){if(Array['isArray'](_0x2330b5)){const _0x197d6f=_0x2330b5['map'](B);return _0x3e1ab3=>_0x197d6f['some'](_0x5c8dee=>_0x5c8dee(_0x3e1ab3));}if('origin'==_0x2330b5){const _0x104ba6=_0x3bb94b['window']['location']['origin'];return _0x357e75=>new URL(_0x357e75,_0x3bb94b['document']['baseURI'])['origin']==_0x104ba6;}return'function'==typeof _0x2330b5?_0x2330b5:_0x2330b5 instanceof RegExp?_0x4a91f2=>!(!_0x4a91f2['match'](_0x2330b5)&&!_0x4a91f2['replace'](/^https?:\/\//,'')['match'](_0x2330b5)):()=>!0x1;}function V(_0x26ba56,_0x29d8c8){return _0x31568f(_0x26ba56['target'])['includes'](_0x29d8c8);}class j extends/* #__PURE__ -- @preserve */
24
- _0x44b841(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x27d0c8,_0x4f7588,_0x3c739d){super(),this['_editor']=_0x27d0c8,this['_editing']=_0x4f7588,this['_dialog']=_0x27d0c8['plugins']['get'](_0x54b76f),this['_api']=_0x4f7588['ctxElement']['getAPI'](),this['_type']=_0x3c739d,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:_0x2c1f19,model:_0x3f4848}=this['_editor'],_0xe60cc4=_0x3f4848['document']['selection']['getSelectedElement'](),_0x56160d=_0xe60cc4&&(_0xe60cc4['is']('element','imageBlock')||_0xe60cc4['is']('element','imageInline'));this['_formView']=new O(_0x2c1f19,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x598b3a,'title':T(_0x2c1f19,this['_type'],_0x56160d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3b981b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1abd40=>!V(_0x1abd40,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x14c18e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1a4510=>{const _0x149c6c=_0x14c18e['length'];for(const _0x45817c of _0x14c18e){const _0x244f20=_0x45817c===_0x14c18e[_0x149c6c-0x1],{cdnUrl:_0x2a5e39,fileInfo:_0x5be6bc}=_0x45817c;if(!_0x2a5e39||!_0x5be6bc)continue;const {width:_0x463027,height:_0x13a61c}=_0x5be6bc['imageInfo'],_0x1d9068=F(_0x2a5e39,_0x463027,_0x13a61c),_0x1b630f=D(_0x2a5e39,_0x1d9068['width']),_0x6db8a8={'id':_0x5be6bc['uuid'],'type':'image','attributes':{'imageDimension':_0x1d9068,..._0x1b630f}};this['_insertAsset'](_0x6db8a8,_0x244f20,_0x1a4510);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1149d2=>{'idle'===_0x1149d2['detail']['status']&&!_0x1149d2['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x98b509,_0x4176d4,_0x145809){const _0x3a1a02=this['_editor']['model']['document']['selection'],_0x2dcf05=_0x3a1a02['getSelectedElement'](),_0x17302d=!(!_0x2dcf05||!_0x2dcf05['is']('element','imageInline'));_0x145809['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x98b509,_0x17302d),_0x4176d4||_0x145809['setSelection'](_0x3a1a02['getLastPosition']());}['_insertImage'](_0x36d37f,_0x52f9a0){const _0x5cc519=this['_editor'],{imageDimension:_0x6a3b8,imageFallbackUrl:_0x3f4357,imageSources:_0x2f4019}=_0x36d37f['attributes'];_0x5cc519['execute']('insertImage',{'imageType':_0x52f9a0?'imageInline':null,'source':{'uploadcareImageId':_0x36d37f['id'],'src':_0x3f4357,'sources':_0x2f4019,..._0x6a3b8}});}}class M extends _0xdf4dfa{['_editing'];['_controller']=null;static get['requires'](){return[_0x54b76f,z];}constructor(_0xf776e){super(_0xf776e),this['_editing']=_0xf776e['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2ec22d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x2ec22d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x53e10d,..._0x52117a}){return _0x208243(_0x53e10d,_0x52117a);}static['getInfo'](_0x3f3ed8,_0x355e99){return _0x46f8e4(_0x3f3ed8,_0x355e99);}}class W extends _0x408f3f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e1533,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5c7cfd=this['editor'];if(!!!_0x5c7cfd['config']['get']('uploadcare'))return;_0x5c7cfd['plugins']['get'](_0x3e1533)['createUploadAdapter']=_0x4c15c6=>new G(_0x4c15c6,_0x5c7cfd),_0x5c7cfd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x51ddaa,{imageElement:_0x2f1049,data:_0x5a39d3})=>{_0x5c7cfd['model']['change'](_0xfe8da0=>{_0xfe8da0['setAttribute']('uploadcareImageId',_0x5a39d3['uploadcareImageId'],_0x2f1049);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x920186,_0x4e83d1){this['loader']=_0x920186,this['editor']=_0x4e83d1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5599bf=await this['loader']['file'];return q['upload']({'file':_0x5599bf,'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':_0x4f51db=>{_0x4f51db&&_0x4f51db['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4f51db['value']);}})['then'](async _0x40c5c7=>{const {imageFallbackUrl:_0x13178c,imageSources:_0x1c5e2a}=D(_0x40c5c7['cdnUrl'],_0x40c5c7['imageInfo']['width']);return{'uploadcareImageId':_0x40c5c7['uuid'],'default':_0x13178c,'sources':_0x1c5e2a};})['catch'](()=>{const _0x44eedd=t('Cannot\x20upload\x20file:')+('\x20'+_0x5599bf['name']+'.');return Promise['reject'](_0x44eedd);});}['abort'](){this['controller']['abort']();}}class z extends _0x408f3f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x54b76f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x50aafd){super(_0x50aafd),this['ucContextId']=_0x16ab3e();}['init'](){const _0x2ad387=this['editor'];_0x2ad387['commands']['add']('uploadcare',new M(_0x2ad387));}['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 _0x3fbecf=_0x3bb94b['document']['querySelector']('input[uploadcare-file-input]');_0x3fbecf&&_0x3fbecf['remove']();}),async function(_0x120ed5){const _0x3cb9cf=_0x372ffe([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x105426=0x535f8c3a,_0x6c262=0x5358f362^_0x105426,_0x57d758=window[_0x372ffe([0x44,0x61,0x74,0x65])][_0x372ffe([0x6e,0x6f,0x77])](),_0x4506f1=_0x120ed5[_0x372ffe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45c4de=new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c574f=>{_0x4506f1[_0x372ffe([0x6f,0x6e,0x63,0x65])](_0x372ffe([0x72,0x65,0x61,0x64,0x79]),_0x1c574f);}),_0x43f689={[_0x372ffe([0x6b,0x74,0x79])]:_0x372ffe([0x45,0x43]),[_0x372ffe([0x75,0x73,0x65])]:_0x372ffe([0x73,0x69,0x67]),[_0x372ffe([0x63,0x72,0x76])]:_0x372ffe([0x50,0x2d,0x32,0x35,0x36]),[_0x372ffe([0x78])]:_0x372ffe([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x372ffe([0x79])]:_0x372ffe([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x372ffe([0x61,0x6c,0x67])]:_0x372ffe([0x45,0x53,0x32,0x35,0x36])},_0x570fb2=_0x4506f1[_0x372ffe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x372ffe([0x67,0x65,0x74])](_0x372ffe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f86b7(){let _0x3b4d59,_0x4fbe03=null,_0x2101a7=null;try{if(_0x570fb2==_0x372ffe([0x47,0x50,0x4c]))return _0x372ffe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b4d59=_0x5b5440(),!_0x3b4d59)return _0x372ffe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b4d59[_0x372ffe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2101a7=_0x44b464(_0x3b4d59[_0x372ffe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b4d59[_0x372ffe([0x6a,0x74,0x69])])),await _0x316d1b()?_0x11dbb9()?_0x514f18()?_0x372ffe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x211191()?(_0x3b4d59[_0x372ffe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x372ffe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4fbe03=_0x5b8b2f(_0x372ffe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x163a40()):_0x372ffe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x372ffe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x372ffe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x372ffe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x514f18(){const _0x1d79f4=[_0x372ffe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x372ffe([0x74,0x72,0x69,0x61,0x6c])][_0x372ffe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4d59[_0x372ffe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57d758/0x3e8:0xe10*_0x6c262;return _0x3b4d59[_0x372ffe([0x65,0x78,0x70])]<_0x1d79f4;}function _0x11dbb9(){const _0x17ecbc=_0x3b4d59[_0x372ffe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17ecbc&&(!!_0x17ecbc[_0x372ffe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x372ffe([0x2a]))||!!_0x17ecbc[_0x372ffe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x372ffe([0x55,0x50,0x4c,0x43])));}function _0x211191(){const _0x55c90c=_0x3b4d59[_0x372ffe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55c90c||0x0==_0x55c90c[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a5fa7}=new URL(window[_0x372ffe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x55c90c[_0x372ffe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fa7))return!0x0;const _0x424fef=_0x2a5fa7[_0x372ffe([0x73,0x70,0x6c,0x69,0x74])](_0x372ffe([0x2e]));return _0x55c90c[_0x372ffe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13908c=>_0x13908c[_0x372ffe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x372ffe([0x2a])))[_0x372ffe([0x6d,0x61,0x70])](_0x8a1d1c=>_0x8a1d1c[_0x372ffe([0x73,0x70,0x6c,0x69,0x74])](_0x372ffe([0x2e])))[_0x372ffe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51e6e7=>_0x51e6e7[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x424fef[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x372ffe([0x6d,0x61,0x70])](_0x17b70d=>Array(_0x424fef[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17b70d[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x372ffe([0x66,0x69,0x6c,0x6c])](_0x17b70d[0x0]===_0x372ffe([0x2a])?_0x372ffe([0x2a]):'')[_0x372ffe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17b70d))[_0x372ffe([0x73,0x6f,0x6d,0x65])](_0x4525e6=>_0x424fef[_0x372ffe([0x65,0x76,0x65,0x72,0x79])]((_0x21b156,_0x3c2131)=>_0x4525e6[_0x3c2131]===_0x21b156||_0x4525e6[_0x3c2131]===_0x372ffe([0x2a])));}function _0x163a40(){return _0x4fbe03&&_0x2101a7?new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fe8b0,_0xc27e7b)=>{_0x4fbe03[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x3fe8b0,_0xc27e7b),_0x2101a7[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x125dcd=>{_0x125dcd!=_0x372ffe([0x56,0x61,0x6c,0x69,0x64])&&_0x3fe8b0(_0x125dcd);},_0xc27e7b);}):_0x4fbe03||_0x2101a7||_0x372ffe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44b464(_0x5ea57a,_0xbc08c4){return new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ca64=>{if(_0x3ba095())return _0x11ca64(_0x372ffe([0x56,0x61,0x6c,0x69,0x64]));_0x2b0f41(),_0x4506f1[_0x372ffe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x372ffe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f5d4f=!0x1;const _0x314732=_0x16ab3e();function _0x328af6(_0x28c044){return!!_0x28c044&&(typeof _0x28c044===_0x372ffe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28c044===_0x372ffe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28c044[_0x372ffe([0x74,0x68,0x65,0x6e])]===_0x372ffe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28c044[_0x372ffe([0x63,0x61,0x74,0x63,0x68])]===_0x372ffe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b3520(_0xfd8647){_0x473ca5(_0xfd8647)[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x4c5bb4=>{if(!_0x4c5bb4||_0x4c5bb4[_0x372ffe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x372ffe([0x6f,0x6b]))return _0x372ffe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x301cc8(_0xfbffcf(_0x314732+_0xbc08c4))!=_0x4c5bb4[_0x372ffe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x372ffe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x372ffe([0x56,0x61,0x6c,0x69,0x64]);})[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x32e698=>(_0x5032a8(),_0x32e698),()=>{const _0x11b303=_0x45bbc1();return null==_0x11b303?(_0x5032a8(),_0x372ffe([0x56,0x61,0x6c,0x69,0x64])):_0x372ffe(_0x57d758-_0x11b303>(0x7753083a^_0x105426)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x11ca64)[_0x372ffe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11ca64(_0x372ffe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59497d=0x536962ba^_0x105426;function _0x5032a8(){const _0x9a96c2=_0x372ffe([0x6c,0x6c,0x63,0x74,0x2d])+_0x301cc8(_0xfbffcf(_0x5ea57a)),_0x41086b=_0x405173(_0x301cc8(window[_0x372ffe([0x4d,0x61,0x74,0x68])][_0x372ffe([0x63,0x65,0x69,0x6c])](_0x57d758/_0x59497d)));window[_0x372ffe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x372ffe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9a96c2,_0x41086b);}function _0x45bbc1(){const _0x3f7c73=_0x372ffe([0x6c,0x6c,0x63,0x74,0x2d])+_0x301cc8(_0xfbffcf(_0x5ea57a)),_0x3e9268=window[_0x372ffe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x372ffe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f7c73);return _0x3e9268?window[_0x372ffe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x405173(_0x3e9268),0x10)*_0x59497d:null;}function _0x473ca5(_0x56fc94){return new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19a5ed,_0x22943e)=>{_0x56fc94[_0x372ffe([0x74,0x68,0x65,0x6e])](_0x19a5ed,_0x22943e),window[_0x372ffe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22943e,0x535e58fa^_0x105426);});}}_0x4506f1[_0x372ffe([0x6f,0x6e])](_0x372ffe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20cbd8,_0x4500a2)=>{if(_0x4500a2[0x0]!=_0x5ea57a)return _0x11ca64(_0x372ffe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4500a2[0x1]={..._0x4500a2[0x1],[_0x372ffe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x314732};},{[_0x372ffe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x372ffe([0x68,0x69,0x67,0x68])}),_0x4506f1[_0x372ffe([0x6f,0x6e])](_0x372ffe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x67357e=>{_0x328af6(_0x67357e[_0x372ffe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f5d4f=!0x0,_0x3b3520(_0x67357e[_0x372ffe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x372ffe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x372ffe([0x6c,0x6f,0x77])}),_0x45c4de[_0x372ffe([0x74,0x68,0x65,0x6e])](()=>{_0x3f5d4f||_0x11ca64(_0x372ffe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ba095(){return _0x4506f1[_0x372ffe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x372ffe([0x76,0x69,0x65,0x77])][_0x372ffe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x372ffe([0x61,0x75,0x74,0x6f]);}function _0x2b0f41(){_0x4506f1[_0x372ffe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x372ffe([0x76,0x69,0x65,0x77])][_0x372ffe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x372ffe([0x61,0x75,0x74,0x6f]);}}function _0x5b8b2f(_0x4bafd3){const _0xec976a=[new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b928e=>setTimeout(_0x3b928e,0x5356b2f6^_0x105426)),_0x45c4de[_0x372ffe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x254c99=>{let _0x216c00=0x0;_0x4506f1[_0x372ffe([0x6d,0x6f,0x64,0x65,0x6c])][_0x372ffe([0x6f,0x6e])](_0x372ffe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12e509,_0x587d3a)=>{_0x587d3a[0x0][_0x372ffe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x216c00++,_0x216c00==(0x535f89d2^_0x105426)&&(_0x254c99(),_0x12e509[_0x372ffe([0x6f,0x66,0x66])]());});}))];return window[_0x372ffe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x372ffe([0x72,0x61,0x63,0x65])](_0xec976a)[_0x372ffe([0x74,0x68,0x65,0x6e])](()=>_0x4bafd3);}async function _0x5291a2(){await _0x45c4de,_0x4506f1[_0x372ffe([0x6d,0x6f,0x64,0x65,0x6c])][_0x372ffe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3a94,_0x4506f1[_0x372ffe([0x6d,0x6f,0x64,0x65,0x6c])][_0x372ffe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b3a94,_0x4506f1[_0x372ffe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x372ffe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe0387a(_0x9279ab){const _0x42c51a=_0x314342();_0x4506f1[_0x42c51a]=_0x372ffe([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9279ab,_0x9279ab!=_0x372ffe([0x56,0x61,0x6c,0x69,0x64])&&_0x5291a2();}function _0x314342(){const _0x177b45=window[_0x372ffe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x372ffe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x372ffe([0x6e,0x6f,0x77])]())[_0x372ffe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x372ffe([0x2e]),'');let _0x90007a=_0x372ffe([0x68]);for(let _0x53fac7=0x0;_0x53fac7<_0x177b45[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53fac7+=0x2){let _0x2654cb=window[_0x372ffe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x177b45[_0x372ffe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53fac7,_0x53fac7+0x2));_0x2654cb>=_0x3cb9cf[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2654cb-=_0x3cb9cf[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x90007a+=_0x3cb9cf[_0x2654cb];}return _0x90007a;}function _0x5b5440(){const _0x442571=_0x570fb2[_0x372ffe([0x73,0x70,0x6c,0x69,0x74])](_0x372ffe([0x2e]));if(0x3!=_0x442571[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40a65d(_0x442571[0x1]);function _0x40a65d(_0x37442c){const _0x1b6f07=_0x479af4(_0x37442c);return _0x1b6f07&&_0x3b4294()?_0x1b6f07:null;function _0x3b4294(){const _0xc3435c=_0x1b6f07[_0x372ffe([0x6a,0x74,0x69])],_0xc08809=window[_0x372ffe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc3435c[_0x372ffe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc3435c[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37a78c={..._0x1b6f07,[_0x372ffe([0x6a,0x74,0x69])]:_0xc3435c[_0x372ffe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc3435c[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37a78c[_0x372ffe([0x76,0x63])],_0xfbffcf(_0x37a78c)==_0xc08809;}}}async function _0x316d1b(){let _0x2c92d1=!0x0;try{const _0xeb473c=_0x570fb2[_0x372ffe([0x73,0x70,0x6c,0x69,0x74])](_0x372ffe([0x2e])),[_0x5c0838,_0x7e31ed,_0x4f55df]=_0xeb473c;return _0x50ad49(_0x5c0838),await _0x7ea155(_0x5c0838,_0x7e31ed,_0x4f55df),_0x2c92d1;}catch{return!0x1;}function _0x50ad49(_0x258b69){const _0x397d41=_0x479af4(_0x258b69);_0x397d41&&_0x397d41[_0x372ffe([0x61,0x6c,0x67])]==_0x372ffe([0x45,0x53,0x32,0x35,0x36])||(_0x2c92d1=!0x1);}async function _0x7ea155(_0x44d8fb,_0x3e2629,_0x37fc6d){const _0x5d3384=window[_0x372ffe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x372ffe([0x66,0x72,0x6f,0x6d])](_0x54cdf0(_0x37fc6d),_0x96de34=>_0x96de34[_0x372ffe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ef016=new window[(_0x372ffe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x372ffe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44d8fb+_0x372ffe([0x2e])+_0x3e2629),_0x158ba5=window[_0x372ffe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x372ffe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x158ba5)return;const _0xa14320=await _0x158ba5[_0x372ffe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x372ffe([0x6a,0x77,0x6b]),_0x43f689,{[_0x372ffe([0x6e,0x61,0x6d,0x65])]:_0x372ffe([0x45,0x43,0x44,0x53,0x41]),[_0x372ffe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x372ffe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x372ffe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x158ba5[_0x372ffe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x372ffe([0x6e,0x61,0x6d,0x65])]:_0x372ffe([0x45,0x43,0x44,0x53,0x41]),[_0x372ffe([0x68,0x61,0x73,0x68])]:{[_0x372ffe([0x6e,0x61,0x6d,0x65])]:_0x372ffe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa14320,_0x5d3384,_0x5ef016)||(_0x2c92d1=!0x1);}}function _0x479af4(_0x46be7c){return _0x46be7c[_0x372ffe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x372ffe([0x65,0x79]))?JSON[_0x372ffe([0x70,0x61,0x72,0x73,0x65])](_0x54cdf0(_0x46be7c)):null;}function _0x54cdf0(_0x33ede0){return window[_0x372ffe([0x61,0x74,0x6f,0x62])](_0x33ede0[_0x372ffe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x372ffe([0x2b]))[_0x372ffe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x372ffe([0x2f])));}function _0xfbffcf(_0x8e16f7){let _0x45c460=0x1505;function _0x26e52b(_0x32a8d4){for(let _0x5f5568=0x0;_0x5f5568<_0x32a8d4[_0x372ffe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f5568++){const _0x7de599=_0x32a8d4[_0x372ffe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f5568);_0x45c460=(_0x45c460<<0x5)+_0x45c460+_0x7de599,_0x45c460&=_0x45c460;}}function _0x118f7b(_0x3eb10d){Array[_0x372ffe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3eb10d)?_0x3eb10d[_0x372ffe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x118f7b):_0x3eb10d&&typeof _0x3eb10d==_0x372ffe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x372ffe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3eb10d)[_0x372ffe([0x73,0x6f,0x72,0x74])]()[_0x372ffe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x310660,_0x1e4fbd])=>{_0x26e52b(_0x310660),_0x118f7b(_0x1e4fbd);}):_0x26e52b(window[_0x372ffe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3eb10d));}return _0x118f7b(_0x8e16f7),_0x45c460>>>0x0;}function _0x301cc8(_0x31189c){return _0x31189c[_0x372ffe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x372ffe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x372ffe([0x30]));}function _0x405173(_0x5e6d7c){return _0x5e6d7c[_0x372ffe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x372ffe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x372ffe([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b3a94(){}function _0x372ffe(_0x40f2d0){return _0x40f2d0['map'](_0x5b974c=>String['fromCharCode'](_0x5b974c))['join']('');}_0xe0387a(await _0x2f86b7());}(this);}['_initSchema'](){const _0x56342d=this['editor']['model']['schema'];_0x56342d['isRegistered']('imageBlock')&&_0x56342d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x56342d['isRegistered']('imageInline')&&_0x56342d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x121418=this['editor'];_0x121418['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x121418['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2526ff=>_0x2526ff['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b9551=_0x121418['commands']['get']('replaceImageSource');_0x2b9551&&this['listenTo'](_0x2b9551,'cleanupImage',(_0x3748d4,[_0xcf9ea,_0x3c0790])=>{_0xcf9ea['removeAttribute']('uploadcareImageId',_0x3c0790);});}['_initConfig'](){const _0x58f217=this['editor']['config']['get']('uploadcare.uploader')||{},_0x55872c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2c44ac(_0x3bb94b['document'],'uc-config',{..._0x58f217,'pubkey':_0x55872c,'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']=_0x21cced=>{if('closeMax'==_0x21cced)return'#uc-icon-arrow-down';},_0x3bb94b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2c44ac(_0x3bb94b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3bb94b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x36ee80=this['editor']['commands']['get']('insertImage');_0x36ee80&&this['listenTo'](_0x36ee80,'execute',()=>{const _0xc7bbcc=this['editor']['model']['document']['selection']['getSelectedElement']();_0xc7bbcc&&_0xc7bbcc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0xc7bbcc);});});const _0x18d1dd=this['editor']['commands']['get']('uploadcareImageReplace');_0x18d1dd&&this['listenTo'](_0x18d1dd,'execute',()=>{const _0x563cfb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x563cfb&&_0x563cfb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x563cfb);});});}}class H extends _0x408f3f{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19a7b4){super(_0x19a7b4),_0x19a7b4['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x2fdb88['defineComponents'](_0x2fdb88),this['_defineLocale']();}['_defineLocale'](){const _0x35a455=this['editor']['config']['get']('uploadcare.locale'),_0x588229=this['editor']['locale']['contentLanguage'];_0x35a455&&_0x2fdb88['defineLocale'](_0x588229,_0x35a455);}}class J extends _0x2032bd{constructor(_0x22b768){super(_0x22b768);const t=_0x22b768['t'],_0x282b46=this['bindTemplate'],_0x3c1342=new _0x214b70();_0x3c1342['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':[_0x3c1342,{'text':_0x282b46['to']('imageUploadProgress',_0x4d45b1=>t('Loading\x20image...')+'\x20('+(_0x4d45b1||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'}]}]}]});}}class Z extends _0x2032bd{constructor(_0x49107a){super(_0x49107a);const t=_0x49107a['t'];this['set']('errorType',null);const _0x4788c9=new _0x37258a(_0x49107a);_0x4788c9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4788c9['withText']=!0x0,_0x4788c9['class']='ck-button-action',_0x4788c9['on']('execute',()=>{this['fire']('retry');}),_0x4788c9['bind']('isVisible')['to'](this,'errorType',_0x1c97ae=>'NotFound'!==_0x1c97ae);const _0x495608=new _0x506beb();_0x495608['content']=_0x27029b,_0x495608['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x581f1b=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':[_0x495608,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x581f1b['to']('errorType',_0x426c90=>t('NotFound'!==_0x426c90?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4788c9]},{'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'}]}]}]});}}class Q extends _0x2032bd{constructor(_0xc31757,_0x424d81){super(_0xc31757);const _0x2d355c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x424d81,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2d355c['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x568f87,_0x11ad9a,_0x2766bf){super(_0x568f87),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x568f87),this['_errorView']=new Z(_0x568f87),this['_editingView']=new Q(_0x568f87,_0x2766bf),this['_focusableView']=new _0x2032bd(_0x568f87),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x11ad9a),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'],_0x3956a8=>{this['_addUploadcareImageEditorListeners'](_0x3956a8);});}),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'](_0x2069c6,_0x47fff3){const _0x441c2b='uc-cloud-image-editor',_0x355e02=_0x2069c6['querySelector'](_0x441c2b);if(_0x355e02)return _0x47fff3(_0x355e02);const _0x4e99dc=new MutationObserver(_0x42d3be=>{const _0x2d3f50=_0x42d3be['filter'](_0x42559a=>_0x42559a['target']===_0x2069c6&&_0x42559a['addedNodes']['length']>0x0&&_0x42559a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x441c2b);_0x2d3f50['length']&&(_0x4e99dc['disconnect'](),_0x47fff3(_0x2d3f50[0x0]['addedNodes'][0x0]));});_0x4e99dc['observe'](_0x2069c6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x26eda2){_0x26eda2['addEventListener']('apply',_0x4cb617=>{this['fire']('apply',{'imageSrc':_0x4cb617['detail']['cdnUrl']});}),_0x26eda2['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
- _0x44b841(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1acd38,_0x11d15f,_0x21d95a){super(),this['_editor']=_0x1acd38,this['_dialog']=_0x11d15f,this['_imageElement']=_0x21d95a,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 _0x123154=this['_imageElement'],_0x115447=_0x123154['getAttribute']('uploadcareImageId'),_0x3318a5=_0x123154['getAttribute']('src');if(_0x115447)await this['_loadImageInfo'](_0x115447,_0x3318a5);else{if(this['_imageCache']['has'](_0x3318a5)){const _0x3e5567=this['_imageCache']['get'](_0x3318a5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e5567['url'],this['imageDimension']=_0x3e5567['dimension'],this['imageId']=_0x3e5567['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x36e647}=this['_editor'],t=_0x36e647['t'],_0x4a84bb=new X(_0x36e647,this['imageStatus'],this['_attributes']);_0x4a84bb['bind']('status')['to'](this,'imageStatus'),_0x4a84bb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4a84bb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4a84bb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4a84bb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6cf2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4a84bb,'position':_0x3b981b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4a84bb['focus']();},'onHide':()=>{_0x4a84bb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x511ad7=>!V(_0x511ad7,_0x4a84bb['element'])}});}['_loadImageInfo'](_0x46e6c2,_0x4d79d1){return q['getInfo'](_0x46e6c2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1edd0f=>{const {width:_0x1feef8,height:_0x1210d2}=_0x1edd0f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d79d1,this['imageDimension']={'width':_0x1feef8,'height':_0x1210d2},this['imageId']=_0x46e6c2;})['catch'](_0x3c8f64=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c8f64['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x858ef5,_0x3e6118){return this['_getImageAsFile'](_0x858ef5)['then'](_0x4130c9=>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':_0x3e6118['signal'],'file':_0x4130c9,'onProgress':_0x1bd5dc=>{_0x1bd5dc&&_0x1bd5dc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1bd5dc['value']));}}))['then'](_0x1351f8=>{const {width:_0xbccb9b,height:_0x4a67e1}=_0x1351f8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1351f8['cdnUrl'],this['imageDimension']={'width':_0xbccb9b,'height':_0x4a67e1},this['imageId']=_0x1351f8['uuid'],this['imageUploadProgress']=null;const _0x19197f=_0x858ef5['getAttribute']('src');this['_imageCache']['set'](_0x19197f,{'id':_0x1351f8['uuid'],'url':_0x1351f8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x35e5cc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35e5cc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x50625b,_0x373b00){_0x50625b['on']('apply',(_0x1d3f03,_0x4d78db)=>{this['_replaceImage'](_0x373b00,_0x4d78db['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x50625b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x50625b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ba626,_0x586ffe,_0x557d36){const _0x213afe=this['_editor'],{width:_0xfca1e8,height:_0x39c592}=F(_0x586ffe,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x33dbe9,imageSources:_0x1ae8ed}=D(_0x586ffe,_0xfca1e8);_0x213afe['model']['change'](_0x4f128d=>{if('$graveyard'===_0x5ba626['root']['rootName']){_0x213afe['execute']('insertImage',{'imageType':_0x5ba626['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ba626['getAttributes']()),'uploadcareImageId':_0x557d36,'src':_0x33dbe9,'sources':_0x1ae8ed,'width':_0xfca1e8,'height':_0x39c592}});const _0x229316=_0x5ba626['getChildren']();_0x5ba626=_0x213afe['model']['document']['selection']['getSelectedElement']();for(const _0x3bb731 of _0x229316)_0x4f128d['append'](_0x4f128d['cloneElement'](_0x3bb731),_0x5ba626);}else _0x4f128d['setSelection'](_0x5ba626,'on'),_0x213afe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ba626['getAttributes']()),'uploadcareImageId':_0x557d36,'src':_0x33dbe9,'sources':_0x1ae8ed,'width':_0xfca1e8,'height':_0x39c592},_0x5ba626);_0x4f128d['setSelection'](_0x5ba626,'on');});}async['_getImageAsFile'](_0x3e16c5){const _0x567087=_0x3bb94b['window'],_0xcf681f=_0x3bb94b['document']['location']['href'],_0x46a3a4=new _0x567087['URL'](_0x3e16c5['getAttribute']('src'),_0xcf681f);if('data:'===_0x46a3a4['protocol']){const _0x20c1e6=_0x46a3a4['href']['split'](','),_0x29dcea=_0x20c1e6[0x0]['match'](/:(.*?);/)[0x1],_0x3e55db=_0x29dcea['split']('/')[0x1],_0x5b8800=_0x567087['atob'](_0x20c1e6[_0x20c1e6['length']-0x1]);let _0x2c92ba=_0x5b8800['length'];const _0x14564f=new _0x567087['Uint8Array'](_0x2c92ba);for(;_0x2c92ba--;)_0x14564f[_0x2c92ba]=_0x5b8800['charCodeAt'](_0x2c92ba);return new _0x567087['File']([_0x14564f],'image.'+_0x3e55db,{'type':_0x29dcea});}const _0x4cde7d=_0x46a3a4['href']['split']('/'),_0x2a8309=_0x4cde7d[_0x4cde7d['length']-0x1],_0x1157dc=_0x2a8309['split']('.')[0x1];return _0x567087['fetch'](_0x46a3a4['href'])['then'](_0x3b5d3f=>_0x3b5d3f['clone']()['blob']())['then'](_0x8f2add=>new _0x567087['File']([_0x8f2add],_0x2a8309,{'type':'image/'+_0x1157dc}));}}class tt extends _0xdf4dfa{['imageEditController'];static get['requires'](){return[_0x54b76f];}['_isEditable'];constructor(_0x219c76){super(_0x219c76),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x37edcd){const _0xa2e3fe=B(_0x37edcd);return _0xb6040=>!(!_0xb6040||!_0xb6040['is']('element','imageBlock')&&!_0xb6040['is']('element','imageInline'))&&(!!_0xb6040['hasAttribute']('uploadcareImageId')||!!_0xb6040['hasAttribute']('src')&&_0xa2e3fe(_0xb6040['getAttribute']('src')));}(_0x219c76['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5ad2e5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5ad2e5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xa24b3e=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa24b3e&&(_0xa24b3e['is']('element','imageBlock')||_0xa24b3e['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x54b76f),_0xa24b3e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0xdf4dfa{['refresh'](){const _0x269044=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x269044&&(_0x269044['is']('element','imageBlock')||_0x269044['is']('element','imageInline')));}['execute'](_0x45d2ac){const _0xad060c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x8ce086=>{_0x8ce086['setAttributes'](_0x45d2ac,_0xad060c),_0x8ce086['removeAttribute']('srcset',_0xad060c),_0x8ce086['removeAttribute']('sizes',_0xad060c);});}}class it extends _0x408f3f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0xfcbaee,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb9d9ee}=this;_0xb9d9ee['commands']['add']('uploadcareImageEdit',new tt(_0xb9d9ee)),_0xb9d9ee['commands']['add']('uploadcareImageReplace',new et(_0xb9d9ee));}}class st extends _0x408f3f{['_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 _0x321285=this['editor'];_0x321285['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4b49cd=>{const _0x2987df=_0x321285['commands']['get']('uploadcareImageEdit'),_0x3a4477=new _0x37258a(_0x4b49cd),t=_0x4b49cd['t'];return _0x3a4477['set']({'icon':_0x6cf2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a4477['bind']('isEnabled')['to'](_0x2987df),_0x3a4477['bind']('isOn')['to'](_0x2987df,'isActive'),this['listenTo'](_0x3a4477,'execute',()=>{_0x321285['execute']('uploadcareImageEdit'),_0x321285['editing']['view']['focus']();}),_0x3a4477;}),this['_initConfig']();}['_initConfig'](){const _0x41fc8=_0x2c44ac(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x41fc8),this['listenTo'](this['editor'],'destroy',()=>{_0x41fc8['remove']();});}}class nt extends _0x408f3f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3d9011,Command as _0x49cfb8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3619fb,IconGooglePhotos as _0xfaae5e,IconGoogleDrive as _0x50304d,IconFacebook as _0x4a0204,IconDropbox as _0x379ea4,IconUploadcareLink as _0x40741c,IconUploadcareImageUpload as _0x18124b,IconError as _0x2698e5,IconUploadcareImageEdit as _0x2c477d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f3542,MenuBarMenuListItemButtonView as _0x4a348d,View as _0x2bee9c,FocusCycler as _0xbfc5f4,Dialog as _0x244271,DialogViewPosition as _0x52aa1f,SpinnerView as _0x383060,IconView as _0x1a4be5,Notification as _0x519819}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x597aca,DomEmitterMixin as _0x192753,global as _0x4722a5,getAncestors as _0x557910,ObservableMixin as _0x415c83,uid as _0x204a69,createElement as _0x820158}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x39a1d4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x53cf1a,info as _0x3fed0c}from'@uploadcare/upload-client';import*as _0x54110f from'@uploadcare/file-uploader';var S=function(_0xa00c14){return _0xa00c14['Local']='local',_0xa00c14['URL']='url',_0xa00c14['Dropbox']='dropbox',_0xa00c14['GDrive']='gdrive',_0xa00c14['Facebook']='facebook',_0xa00c14['GPhotos']='gphotos',_0xa00c14['OneDrive']='onedrive',_0xa00c14;}({});function T(_0x1f3a05,_0x5741e6,_0x194343){const t=_0x1f3a05['t'],_0x1dfeb7=_0x1f3a05['t'];switch(_0x5741e6){case S['Local']:return{'text':_0x1dfeb7('Insert'===_0x194343?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1dfeb7('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x194343?_0x1dfeb7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1dfeb7('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x194343?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x194343?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x194343?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x194343?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x194343?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5741e6;}}class A extends _0x3d9011{['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 _0xf48bf8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9edf46;for(const _0x2ab768 in _0xf48bf8){const _0x53c7dd=_0x2ab768,_0x36c887=_0xf48bf8[_0x53c7dd];if('uploadcareLicenseKeyValid'==_0x36c887||'uploadcareLicenseKeyInvalid'==_0x36c887||'uploadcareLicenseKeyExpired'==_0x36c887||'uploadcareLicenseKeyDomainLimit'==_0x36c887||'uploadcareLicenseKeyNotAllowed'==_0x36c887||'uploadcareLicenseKeyEvaluationLimit'==_0x36c887||'uploadcareLicenseKeyUsageLimit'==_0x36c887){delete _0xf48bf8[_0x53c7dd],_0x9edf46=_0x36c887,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x9edf46&&_0xf48bf8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x9edf46&&_0xf48bf8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x9edf46&&_0xf48bf8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x9edf46&&_0xf48bf8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x9edf46&&_0xf48bf8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x9edf46&&_0xf48bf8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1a088b}=this,_0x232996=_0x1a088b['commands']['get']('uploadcare');if(!_0x232996)return;const _0x28e70d=this['_normalizeConfigSourceList'](_0x1a088b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x30d33b,_0x1cdbd9)=>{const _0x5c922a=this['_getIntegrationKey'](_0x1cdbd9['type']);return _0x30d33b[_0x5c922a]||(_0x30d33b[_0x5c922a]=[]),_0x30d33b[_0x5c922a]['push'](_0x1cdbd9),_0x30d33b;},{});_0x1a088b['plugins']['has']('ImageInsertUI')&&_0x1a088b['commands']['get']('uploadcare')&&Object['entries'](_0x28e70d)['forEach'](([_0x450d0a,_0x54b134])=>{_0x1a088b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x450d0a,'observable':()=>_0x232996,'buttonViewCreator':()=>this['_createToolbarButton'](_0x54b134),'formViewCreator':()=>this['_createDropdownButtons'](_0x54b134),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x54b134),'override':'assetManager'!==_0x450d0a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xa8e022){const {locale:_0x10fa6d}=this['editor'];return _0xa8e022['map'](_0x41aebe=>{const _0x5ea06c=T(_0x10fa6d,_0x41aebe,'Insert');switch(_0x41aebe){case S['Local']:return{'icon':_0x18124b,'type':S['Local'],..._0x5ea06c};case S['URL']:return{'icon':_0x40741c,'type':S['URL'],..._0x5ea06c};case S['Dropbox']:return{'icon':_0x379ea4,'type':S['Dropbox'],..._0x5ea06c};case S['Facebook']:return{'icon':_0x4a0204,'type':S['Facebook'],..._0x5ea06c};case S['GDrive']:return{'icon':_0x50304d,'type':S['GDrive'],..._0x5ea06c};case S['GPhotos']:return{'icon':_0xfaae5e,'type':S['GPhotos'],..._0x5ea06c};case S['OneDrive']:return{'icon':_0x3619fb,'type':S['OneDrive'],..._0x5ea06c};}});}['_getIntegrationKey'](_0x37ba7f){switch(_0x37ba7f){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x285092,_0x344057){const _0x5c9da7=this['editor'],_0x5934d7=new _0x285092(_0x5c9da7['locale']),_0x57136a=_0x5c9da7['commands']['get']('uploadcare');return _0x5934d7['bind']('isEnabled')['to'](_0x57136a),_0x5934d7['on']('execute',()=>{_0x57136a['execute'](_0x344057);}),_0x5934d7;}['_createToolbarButton'](_0x2bb6b5){const {locale:_0x47d192}=this['editor'],_0x1c180c=this['editor']['plugins']['get']('ImageInsertUI'),_0xa0a9ac=_0x2bb6b5[0x0],_0x23d458=this['_createButton'](_0x1f3542,_0xa0a9ac['type']);return _0x23d458['icon']=_0xa0a9ac['icon'],_0x23d458['bind']('label')['to'](_0x1c180c,'isImageSelected',_0x50ac48=>T(_0x47d192,_0xa0a9ac['type'],_0x50ac48?'Replace':'Insert')['text']),_0x23d458['tooltip']=!0x0,_0x23d458;}['_createDropdownButtons'](_0x2d99a7){const {locale:_0x7cc6e1}=this['editor'],_0x3fa11a=this['editor']['plugins']['get']('ImageInsertUI');return _0x2d99a7['map'](_0x552423=>{const _0x4eda26=this['_createButton'](_0x1f3542,_0x552423['type']);return _0x4eda26['withText']=!0x0,_0x4eda26['icon']=_0x552423['icon'],_0x4eda26['bind']('label')['to'](_0x3fa11a,'isImageSelected',_0x495e36=>T(_0x7cc6e1,_0x552423['type'],_0x495e36?'Replace':'Insert')['text']),_0x4eda26;});}['_createMenuBarButtons'](_0x4f52d8){return _0x4f52d8['map'](_0x16650c=>{const _0x22d0ab=this['_createButton'](_0x4a348d,_0x16650c['type']);return _0x22d0ab['icon']=_0x16650c['icon'],_0x22d0ab['label']=_0x16650c['shortText'],_0x22d0ab;});}}class K extends _0x2bee9c{['focusTracker'];['focusCycler'];constructor(_0x5af64d){super(_0x5af64d),this['focusTracker']=new _0x597aca(),this['focusCycler']=new _0xbfc5f4({'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 O extends K{constructor(_0x370d08,_0x5ad72f){super(_0x370d08),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-'+_0x5ad72f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x2c20fb,_0x38cbcf){const _0x985936=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5b1dcb=>_0x5b1dcb<=_0x38cbcf)['map'](_0x1ca371=>_0x2c20fb['replace'](/\/$/,'')+'/-/resize/'+_0x1ca371+'x/\x20'+_0x1ca371+'w');return{'imageFallbackUrl':_0x2c20fb,'imageSources':[{'srcset':_0x985936['join'](',\x20'),'sizes':'(max-width:\x20'+_0x38cbcf+'px)\x20100vw,\x20'+_0x38cbcf+'px','type':'image/webp'}]};}function F(_0x20c272,_0x3a98f7,_0x3dd7f5){const _0x2578b6=_0x20c272['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2578b6?parseInt(_0x2578b6[0x1],0xa):_0x3a98f7,'height':_0x2578b6?parseInt(_0x2578b6[0x2],0xa):_0x3dd7f5};}function $(_0x18aa13,_0x16e7c2){const _0x56f73b=new(_0x192753())(),_0xe931f5=_0x18aa13['plugins']['get']('ImageUtils'),_0xb55821=_0x18aa13['editing']['mapper']['toViewElement'](_0x16e7c2),_0x4755fa=_0xe931f5['findViewImgElement'](_0xb55821),_0x21fc83=_0x18aa13['editing']['view']['domConverter']['viewToDom'](_0x4755fa),_0x37a4e7=_0x16e7c2['getAttribute']('width'),_0x33a3fc=_0x16e7c2['getAttribute']('height'),_0x3adbe5='image-processing';_0x18aa13['editing']['view']['change'](_0x339373=>{_0x339373['addClass'](_0x3adbe5,_0xb55821),_0x339373['setStyle']('aspect-ratio',_0x37a4e7+'/'+_0x33a3fc,_0x4755fa);}),_0x56f73b['listenTo'](_0x21fc83,'load',()=>{_0x56f73b['stopListening'](_0x21fc83,'load'),_0x18aa13['editing']['view']['change'](_0x48e2a0=>{_0x48e2a0['removeClass'](_0x3adbe5,_0xb55821),_0x48e2a0['removeStyle']('aspect-ratio',_0x4755fa);});});}function B(_0x362e79){if(Array['isArray'](_0x362e79)){const _0x475e33=_0x362e79['map'](B);return _0x1bf923=>_0x475e33['some'](_0x1c938d=>_0x1c938d(_0x1bf923));}if('origin'==_0x362e79){const _0x192e18=_0x4722a5['window']['location']['origin'];return _0x81eed0=>new URL(_0x81eed0,_0x4722a5['document']['baseURI'])['origin']==_0x192e18;}return'function'==typeof _0x362e79?_0x362e79:_0x362e79 instanceof RegExp?_0x6fe459=>!(!_0x6fe459['match'](_0x362e79)&&!_0x6fe459['replace'](/^https?:\/\//,'')['match'](_0x362e79)):()=>!0x1;}function V(_0x1dd1b8,_0x4b943f){return _0x557910(_0x1dd1b8['target'])['includes'](_0x4b943f);}class j extends/* #__PURE__ -- @preserve */
24
+ _0x415c83(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x8f8234,_0x2ee372,_0x902788){super(),this['_editor']=_0x8f8234,this['_editing']=_0x2ee372,this['_dialog']=_0x8f8234['plugins']['get'](_0x244271),this['_api']=_0x2ee372['ctxElement']['getAPI'](),this['_type']=_0x902788,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:_0x2b4f,model:_0x124aec}=this['_editor'],_0x1a4587=_0x124aec['document']['selection']['getSelectedElement'](),_0x2948ed=_0x1a4587&&(_0x1a4587['is']('element','imageBlock')||_0x1a4587['is']('element','imageInline'));this['_formView']=new O(_0x2b4f,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x18124b,'title':T(_0x2b4f,this['_type'],_0x2948ed?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x52aa1f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36c1be=>!V(_0x36c1be,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x253403}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x200e19=>{const _0x2c1ec9=_0x253403['length'];for(const _0x1f0024 of _0x253403){const _0x2ef598=_0x1f0024===_0x253403[_0x2c1ec9-0x1],{cdnUrl:_0x50b31c,fileInfo:_0x12f899}=_0x1f0024;if(!_0x50b31c||!_0x12f899)continue;const {width:_0xdb4661,height:_0x1e2035}=_0x12f899['imageInfo'],_0x868d3f=F(_0x50b31c,_0xdb4661,_0x1e2035),_0x19d6ba=D(_0x50b31c,_0x868d3f['width']),_0x203aeb={'id':_0x12f899['uuid'],'type':'image','attributes':{'imageDimension':_0x868d3f,..._0x19d6ba}};this['_insertAsset'](_0x203aeb,_0x2ef598,_0x200e19);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x16b7c8=>{'idle'===_0x16b7c8['detail']['status']&&!_0x16b7c8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x8bdd9f,_0x4fc0ef,_0x1c929f){const _0xe7be2a=this['_editor']['model']['document']['selection'],_0x281740=_0xe7be2a['getSelectedElement'](),_0x258187=!(!_0x281740||!_0x281740['is']('element','imageInline'));_0x1c929f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x8bdd9f,_0x258187),_0x4fc0ef||_0x1c929f['setSelection'](_0xe7be2a['getLastPosition']());}['_insertImage'](_0x3e5aa9,_0x3c78ef){const _0x55d4e8=this['_editor'],{imageDimension:_0x18449a,imageFallbackUrl:_0x42f32f,imageSources:_0x5b1e7d}=_0x3e5aa9['attributes'];_0x55d4e8['execute']('insertImage',{'imageType':_0x3c78ef?'imageInline':null,'source':{'uploadcareImageId':_0x3e5aa9['id'],'src':_0x42f32f,'sources':_0x5b1e7d,..._0x18449a}});}}class M extends _0x49cfb8{['_editing'];['_controller']=null;static get['requires'](){return[_0x244271,z];}constructor(_0x17baaf){super(_0x17baaf),this['_editing']=_0x17baaf['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x453f41){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x453f41);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x2f5964,..._0x171609}){return _0x53cf1a(_0x2f5964,_0x171609);}static['getInfo'](_0x461f56,_0x54c732){return _0x3fed0c(_0x461f56,_0x54c732);}}class W extends _0x3d9011{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39a1d4,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2dba99=this['editor'];if(!!!_0x2dba99['config']['get']('uploadcare'))return;_0x2dba99['plugins']['get'](_0x39a1d4)['createUploadAdapter']=_0x18c3dc=>new G(_0x18c3dc,_0x2dba99),_0x2dba99['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3f8c6d,{imageElement:_0x17a5ea,data:_0x58e00e})=>{_0x2dba99['model']['change'](_0x51116f=>{_0x51116f['setAttribute']('uploadcareImageId',_0x58e00e['uploadcareImageId'],_0x17a5ea);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x49ff96,_0x4c2ea2){this['loader']=_0x49ff96,this['editor']=_0x4c2ea2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f356f=await this['loader']['file'];return q['upload']({'file':_0x3f356f,'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':_0x1d1b30=>{_0x1d1b30&&_0x1d1b30['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d1b30['value']);}})['then'](async _0x28a89c=>{const {imageFallbackUrl:_0x33bfaa,imageSources:_0x44e398}=D(_0x28a89c['cdnUrl'],_0x28a89c['imageInfo']['width']);return{'uploadcareImageId':_0x28a89c['uuid'],'default':_0x33bfaa,'sources':_0x44e398};})['catch'](()=>{const _0x71a816=t('Cannot\x20upload\x20file:')+('\x20'+_0x3f356f['name']+'.');return Promise['reject'](_0x71a816);});}['abort'](){this['controller']['abort']();}}class z extends _0x3d9011{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x244271];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1f82ac){super(_0x1f82ac),this['ucContextId']=_0x204a69();}['init'](){const _0x4fb6d=this['editor'];_0x4fb6d['commands']['add']('uploadcare',new M(_0x4fb6d));}['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 _0x311fe3=_0x4722a5['document']['querySelector']('input[uploadcare-file-input]');_0x311fe3&&_0x311fe3['remove']();}),async function(_0x43e855){const _0x5df2ad=_0x16f843([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x37d67f=0x535f8c3a,_0x267346=0x5358f34a^_0x37d67f,_0x598144=window[_0x16f843([0x44,0x61,0x74,0x65])][_0x16f843([0x6e,0x6f,0x77])](),_0x3ed8b4=_0x43e855[_0x16f843([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29d9f0=new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b4a4a=>{_0x3ed8b4[_0x16f843([0x6f,0x6e,0x63,0x65])](_0x16f843([0x72,0x65,0x61,0x64,0x79]),_0x3b4a4a);}),_0x501e14={[_0x16f843([0x6b,0x74,0x79])]:_0x16f843([0x45,0x43]),[_0x16f843([0x75,0x73,0x65])]:_0x16f843([0x73,0x69,0x67]),[_0x16f843([0x63,0x72,0x76])]:_0x16f843([0x50,0x2d,0x32,0x35,0x36]),[_0x16f843([0x78])]:_0x16f843([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x16f843([0x79])]:_0x16f843([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x16f843([0x61,0x6c,0x67])]:_0x16f843([0x45,0x53,0x32,0x35,0x36])},_0x7a643d=_0x3ed8b4[_0x16f843([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16f843([0x67,0x65,0x74])](_0x16f843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52cbdf(){let _0x1545f9,_0x111fac=null,_0x5bc547=null;try{if(_0x7a643d==_0x16f843([0x47,0x50,0x4c]))return _0x16f843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1545f9=_0x49c0de(),!_0x1545f9)return _0x16f843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1545f9[_0x16f843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5bc547=_0x3bfedb(_0x1545f9[_0x16f843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1545f9[_0x16f843([0x6a,0x74,0x69])])),await _0x55d38f()?_0x4187b4()?_0x5befba()?_0x16f843([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd61bc4()?(_0x1545f9[_0x16f843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16f843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x111fac=_0x1b0196(_0x16f843([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x270355()):_0x16f843([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16f843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16f843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16f843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5befba(){const _0x1aacc2=[_0x16f843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16f843([0x74,0x72,0x69,0x61,0x6c])][_0x16f843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1545f9[_0x16f843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x598144/0x3e8:0xe10*_0x267346;return _0x1545f9[_0x16f843([0x65,0x78,0x70])]<_0x1aacc2;}function _0x4187b4(){const _0x43583a=_0x1545f9[_0x16f843([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43583a&&(!!_0x43583a[_0x16f843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f843([0x2a]))||!!_0x43583a[_0x16f843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f843([0x55,0x50,0x4c,0x43])));}function _0xd61bc4(){const _0x1838fe=_0x1545f9[_0x16f843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1838fe||0x0==_0x1838fe[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x318d4d}=new URL(window[_0x16f843([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1838fe[_0x16f843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318d4d))return!0x0;const _0x3fc8ae=_0x318d4d[_0x16f843([0x73,0x70,0x6c,0x69,0x74])](_0x16f843([0x2e]));return _0x1838fe[_0x16f843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f7963=>_0x1f7963[_0x16f843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f843([0x2a])))[_0x16f843([0x6d,0x61,0x70])](_0x75a893=>_0x75a893[_0x16f843([0x73,0x70,0x6c,0x69,0x74])](_0x16f843([0x2e])))[_0x16f843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x452b13=>_0x452b13[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fc8ae[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16f843([0x6d,0x61,0x70])](_0x22759d=>Array(_0x3fc8ae[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22759d[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16f843([0x66,0x69,0x6c,0x6c])](_0x22759d[0x0]===_0x16f843([0x2a])?_0x16f843([0x2a]):'')[_0x16f843([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22759d))[_0x16f843([0x73,0x6f,0x6d,0x65])](_0x1dce87=>_0x3fc8ae[_0x16f843([0x65,0x76,0x65,0x72,0x79])]((_0x5e6756,_0x4c9736)=>_0x1dce87[_0x4c9736]===_0x5e6756||_0x1dce87[_0x4c9736]===_0x16f843([0x2a])));}function _0x270355(){return _0x111fac&&_0x5bc547?new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xaad718,_0x5eeb9c)=>{_0x111fac[_0x16f843([0x74,0x68,0x65,0x6e])](_0xaad718,_0x5eeb9c),_0x5bc547[_0x16f843([0x74,0x68,0x65,0x6e])](_0x5bff83=>{_0x5bff83!=_0x16f843([0x56,0x61,0x6c,0x69,0x64])&&_0xaad718(_0x5bff83);},_0x5eeb9c);}):_0x111fac||_0x5bc547||_0x16f843([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bfedb(_0x1a0a03,_0x15de2e){return new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe0ee61=>{if(_0x21d110())return _0xe0ee61(_0x16f843([0x56,0x61,0x6c,0x69,0x64]));_0x428424(),_0x3ed8b4[_0x16f843([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16f843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13345a=!0x1;const _0xb6da5=_0x204a69();function _0x3381d2(_0x235a2b){return!!_0x235a2b&&(typeof _0x235a2b===_0x16f843([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x235a2b===_0x16f843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x235a2b[_0x16f843([0x74,0x68,0x65,0x6e])]===_0x16f843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x235a2b[_0x16f843([0x63,0x61,0x74,0x63,0x68])]===_0x16f843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a19a1(_0x394206){_0x8e9fb3(_0x394206)[_0x16f843([0x74,0x68,0x65,0x6e])](_0x4eb4a3=>{if(!_0x4eb4a3||_0x4eb4a3[_0x16f843([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16f843([0x6f,0x6b]))return _0x16f843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e5723(_0xfbc720(_0xb6da5+_0x15de2e))!=_0x4eb4a3[_0x16f843([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16f843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16f843([0x56,0x61,0x6c,0x69,0x64]);})[_0x16f843([0x74,0x68,0x65,0x6e])](_0x159d90=>(_0x154485(),_0x159d90),()=>{const _0x20951c=_0x3c8d49();return null==_0x20951c?(_0x154485(),_0x16f843([0x56,0x61,0x6c,0x69,0x64])):_0x16f843(_0x598144-_0x20951c>(0x7753083a^_0x37d67f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16f843([0x74,0x68,0x65,0x6e])](_0xe0ee61)[_0x16f843([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe0ee61(_0x16f843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b267c=0x536962ba^_0x37d67f;function _0x154485(){const _0x1f6e0e=_0x16f843([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e5723(_0xfbc720(_0x1a0a03)),_0x3e126e=_0x27d1fe(_0x1e5723(window[_0x16f843([0x4d,0x61,0x74,0x68])][_0x16f843([0x63,0x65,0x69,0x6c])](_0x598144/_0x3b267c)));window[_0x16f843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16f843([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f6e0e,_0x3e126e);}function _0x3c8d49(){const _0x3d9b74=_0x16f843([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e5723(_0xfbc720(_0x1a0a03)),_0x14ccc4=window[_0x16f843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16f843([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d9b74);return _0x14ccc4?window[_0x16f843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27d1fe(_0x14ccc4),0x10)*_0x3b267c:null;}function _0x8e9fb3(_0x33b7a8){return new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x171444,_0x5b374e)=>{_0x33b7a8[_0x16f843([0x74,0x68,0x65,0x6e])](_0x171444,_0x5b374e),window[_0x16f843([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b374e,0x535e58fa^_0x37d67f);});}}_0x3ed8b4[_0x16f843([0x6f,0x6e])](_0x16f843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aae8a,_0x294d72)=>{if(_0x294d72[0x0]!=_0x1a0a03)return _0xe0ee61(_0x16f843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x294d72[0x1]={..._0x294d72[0x1],[_0x16f843([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb6da5};},{[_0x16f843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16f843([0x68,0x69,0x67,0x68])}),_0x3ed8b4[_0x16f843([0x6f,0x6e])](_0x16f843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a1084=>{_0x3381d2(_0x5a1084[_0x16f843([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13345a=!0x0,_0x1a19a1(_0x5a1084[_0x16f843([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16f843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16f843([0x6c,0x6f,0x77])}),_0x29d9f0[_0x16f843([0x74,0x68,0x65,0x6e])](()=>{_0x13345a||_0xe0ee61(_0x16f843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21d110(){return _0x3ed8b4[_0x16f843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16f843([0x76,0x69,0x65,0x77])][_0x16f843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16f843([0x61,0x75,0x74,0x6f]);}function _0x428424(){_0x3ed8b4[_0x16f843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16f843([0x76,0x69,0x65,0x77])][_0x16f843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16f843([0x61,0x75,0x74,0x6f]);}}function _0x1b0196(_0x1e34b6){const _0x29170d=[new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b0587=>setTimeout(_0x2b0587,0x5356b2f6^_0x37d67f)),_0x29d9f0[_0x16f843([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ff512=>{let _0xc6ed11=0x0;_0x3ed8b4[_0x16f843([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f843([0x6f,0x6e])](_0x16f843([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cfdc3,_0x2212fe)=>{_0x2212fe[0x0][_0x16f843([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc6ed11++,_0xc6ed11==(0x535f89d2^_0x37d67f)&&(_0x1ff512(),_0x4cfdc3[_0x16f843([0x6f,0x66,0x66])]());});}))];return window[_0x16f843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16f843([0x72,0x61,0x63,0x65])](_0x29170d)[_0x16f843([0x74,0x68,0x65,0x6e])](()=>_0x1e34b6);}async function _0x1caa9d(){await _0x29d9f0,_0x3ed8b4[_0x16f843([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f843([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38cac7,_0x3ed8b4[_0x16f843([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f843([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38cac7,_0x3ed8b4[_0x16f843([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16f843([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2dea5e(_0x18a8f8){const _0x5e056e=_0x498260();_0x3ed8b4[_0x5e056e]=_0x16f843([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18a8f8,_0x18a8f8!=_0x16f843([0x56,0x61,0x6c,0x69,0x64])&&_0x1caa9d();}function _0x498260(){const _0x10acd1=window[_0x16f843([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16f843([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16f843([0x6e,0x6f,0x77])]())[_0x16f843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16f843([0x2e]),'');let _0x3858d0=_0x16f843([0x68]);for(let _0x2879d7=0x0;_0x2879d7<_0x10acd1[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2879d7+=0x2){let _0x51c607=window[_0x16f843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10acd1[_0x16f843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2879d7,_0x2879d7+0x2));_0x51c607>=_0x5df2ad[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51c607-=_0x5df2ad[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3858d0+=_0x5df2ad[_0x51c607];}return _0x3858d0;}function _0x49c0de(){const _0x22a336=_0x7a643d[_0x16f843([0x73,0x70,0x6c,0x69,0x74])](_0x16f843([0x2e]));if(0x3!=_0x22a336[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e43f4(_0x22a336[0x1]);function _0x1e43f4(_0x3d0600){const _0x35dfb0=_0x129f0a(_0x3d0600);return _0x35dfb0&&_0x466dfc()?_0x35dfb0:null;function _0x466dfc(){const _0x56aca6=_0x35dfb0[_0x16f843([0x6a,0x74,0x69])],_0x57f1be=window[_0x16f843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56aca6[_0x16f843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56aca6[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1973e6={..._0x35dfb0,[_0x16f843([0x6a,0x74,0x69])]:_0x56aca6[_0x16f843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56aca6[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1973e6[_0x16f843([0x76,0x63])],_0xfbc720(_0x1973e6)==_0x57f1be;}}}async function _0x55d38f(){let _0x393837=!0x0;try{const _0x561643=_0x7a643d[_0x16f843([0x73,0x70,0x6c,0x69,0x74])](_0x16f843([0x2e])),[_0x59723f,_0x3982e6,_0x585ac3]=_0x561643;return _0x249591(_0x59723f),await _0x26ea5e(_0x59723f,_0x3982e6,_0x585ac3),_0x393837;}catch{return!0x1;}function _0x249591(_0x5d9bed){const _0x232135=_0x129f0a(_0x5d9bed);_0x232135&&_0x232135[_0x16f843([0x61,0x6c,0x67])]==_0x16f843([0x45,0x53,0x32,0x35,0x36])||(_0x393837=!0x1);}async function _0x26ea5e(_0x68019b,_0x24c2c3,_0x425d9e){const _0x1ea97e=window[_0x16f843([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16f843([0x66,0x72,0x6f,0x6d])](_0x4eb83a(_0x425d9e),_0x3ad77a=>_0x3ad77a[_0x16f843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b9e45=new window[(_0x16f843([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16f843([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x68019b+_0x16f843([0x2e])+_0x24c2c3),_0x4e097d=window[_0x16f843([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16f843([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e097d)return;const _0x243c48=await _0x4e097d[_0x16f843([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16f843([0x6a,0x77,0x6b]),_0x501e14,{[_0x16f843([0x6e,0x61,0x6d,0x65])]:_0x16f843([0x45,0x43,0x44,0x53,0x41]),[_0x16f843([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16f843([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16f843([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e097d[_0x16f843([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16f843([0x6e,0x61,0x6d,0x65])]:_0x16f843([0x45,0x43,0x44,0x53,0x41]),[_0x16f843([0x68,0x61,0x73,0x68])]:{[_0x16f843([0x6e,0x61,0x6d,0x65])]:_0x16f843([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x243c48,_0x1ea97e,_0x5b9e45)||(_0x393837=!0x1);}}function _0x129f0a(_0x53c26c){return _0x53c26c[_0x16f843([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16f843([0x65,0x79]))?JSON[_0x16f843([0x70,0x61,0x72,0x73,0x65])](_0x4eb83a(_0x53c26c)):null;}function _0x4eb83a(_0x1a06e0){return window[_0x16f843([0x61,0x74,0x6f,0x62])](_0x1a06e0[_0x16f843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16f843([0x2b]))[_0x16f843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16f843([0x2f])));}function _0xfbc720(_0x53f990){let _0xe0a703=0x1505;function _0x19a5b6(_0x1f4805){for(let _0x338318=0x0;_0x338318<_0x1f4805[_0x16f843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x338318++){const _0x4cb0c5=_0x1f4805[_0x16f843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x338318);_0xe0a703=(_0xe0a703<<0x5)+_0xe0a703+_0x4cb0c5,_0xe0a703&=_0xe0a703;}}function _0x2a1320(_0x10f845){Array[_0x16f843([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10f845)?_0x10f845[_0x16f843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a1320):_0x10f845&&typeof _0x10f845==_0x16f843([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16f843([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10f845)[_0x16f843([0x73,0x6f,0x72,0x74])]()[_0x16f843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x803512,_0x39f513])=>{_0x19a5b6(_0x803512),_0x2a1320(_0x39f513);}):_0x19a5b6(window[_0x16f843([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10f845));}return _0x2a1320(_0x53f990),_0xe0a703>>>0x0;}function _0x1e5723(_0x313743){return _0x313743[_0x16f843([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16f843([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16f843([0x30]));}function _0x27d1fe(_0x44dc45){return _0x44dc45[_0x16f843([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16f843([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16f843([0x6a,0x6f,0x69,0x6e])]('');}function _0x38cac7(){}function _0x16f843(_0x4cd97a){return _0x4cd97a['map'](_0x5a1f62=>String['fromCharCode'](_0x5a1f62))['join']('');}_0x2dea5e(await _0x52cbdf());}(this);}['_initSchema'](){const _0x1b8b38=this['editor']['model']['schema'];_0x1b8b38['isRegistered']('imageBlock')&&_0x1b8b38['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1b8b38['isRegistered']('imageInline')&&_0x1b8b38['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xb03863=this['editor'];_0xb03863['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xb03863['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3509fb=>_0x3509fb['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5cfc95=_0xb03863['commands']['get']('replaceImageSource');_0x5cfc95&&this['listenTo'](_0x5cfc95,'cleanupImage',(_0x2fed09,[_0x5067d3,_0x2aba2])=>{_0x5067d3['removeAttribute']('uploadcareImageId',_0x2aba2);});}['_initConfig'](){const _0x109203=this['editor']['config']['get']('uploadcare.uploader')||{},_0x29cbcd=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x820158(_0x4722a5['document'],'uc-config',{..._0x109203,'pubkey':_0x29cbcd,'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']=_0x898dd=>{if('closeMax'==_0x898dd)return'#uc-icon-arrow-down';},_0x4722a5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x820158(_0x4722a5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4722a5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2bc409=this['editor']['commands']['get']('insertImage');_0x2bc409&&this['listenTo'](_0x2bc409,'execute',()=>{const _0x1ecf10=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1ecf10&&_0x1ecf10['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x1ecf10);});});const _0x2a1291=this['editor']['commands']['get']('uploadcareImageReplace');_0x2a1291&&this['listenTo'](_0x2a1291,'execute',()=>{const _0x5cc2cd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5cc2cd&&_0x5cc2cd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x5cc2cd);});});}}class H extends _0x3d9011{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b0bec){super(_0x2b0bec),_0x2b0bec['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x54110f['defineComponents'](_0x54110f),this['_defineLocale']();}['_defineLocale'](){const _0x406392=this['editor']['config']['get']('uploadcare.locale'),_0x1ce409=this['editor']['locale']['contentLanguage'];_0x406392&&_0x54110f['defineLocale'](_0x1ce409,_0x406392);}}class J extends _0x2bee9c{constructor(_0x47f9d1){super(_0x47f9d1);const t=_0x47f9d1['t'],_0x19e235=this['bindTemplate'],_0x1a5178=new _0x383060();_0x1a5178['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':[_0x1a5178,{'text':_0x19e235['to']('imageUploadProgress',_0x32d7b5=>t('Loading\x20image...')+'\x20('+(_0x32d7b5||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'}]}]}]});}}class Z extends _0x2bee9c{constructor(_0x1872e6){super(_0x1872e6);const t=_0x1872e6['t'];this['set']('errorType',null);const _0x10f36a=new _0x1f3542(_0x1872e6);_0x10f36a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x10f36a['withText']=!0x0,_0x10f36a['class']='ck-button-action',_0x10f36a['on']('execute',()=>{this['fire']('retry');}),_0x10f36a['bind']('isVisible')['to'](this,'errorType',_0x2e310a=>'NotFound'!==_0x2e310a);const _0x49687e=new _0x1a4be5();_0x49687e['content']=_0x2698e5,_0x49687e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30fbdc=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':[_0x49687e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30fbdc['to']('errorType',_0x1f58ee=>t('NotFound'!==_0x1f58ee?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x10f36a]},{'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'}]}]}]});}}class Q extends _0x2bee9c{constructor(_0xab5060,_0xd839f0){super(_0xab5060);const _0x110001=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xd839f0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x110001['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x7eedc,_0x150b60,_0x29fa06){super(_0x7eedc),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x7eedc),this['_errorView']=new Z(_0x7eedc),this['_editingView']=new Q(_0x7eedc,_0x29fa06),this['_focusableView']=new _0x2bee9c(_0x7eedc),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x150b60),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'],_0x930f8f=>{this['_addUploadcareImageEditorListeners'](_0x930f8f);});}),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'](_0x2826f2,_0x270cf5){const _0x373207='uc-cloud-image-editor',_0x4f91cd=_0x2826f2['querySelector'](_0x373207);if(_0x4f91cd)return _0x270cf5(_0x4f91cd);const _0x25d27b=new MutationObserver(_0x243f6d=>{const _0x23010b=_0x243f6d['filter'](_0x8f455b=>_0x8f455b['target']===_0x2826f2&&_0x8f455b['addedNodes']['length']>0x0&&_0x8f455b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x373207);_0x23010b['length']&&(_0x25d27b['disconnect'](),_0x270cf5(_0x23010b[0x0]['addedNodes'][0x0]));});_0x25d27b['observe'](_0x2826f2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xacd70b){_0xacd70b['addEventListener']('apply',_0x54c30f=>{this['fire']('apply',{'imageSrc':_0x54c30f['detail']['cdnUrl']});}),_0xacd70b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
+ _0x415c83(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4775a2,_0x1ddff0,_0x2f17e9){super(),this['_editor']=_0x4775a2,this['_dialog']=_0x1ddff0,this['_imageElement']=_0x2f17e9,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 _0x161ead=this['_imageElement'],_0x164674=_0x161ead['getAttribute']('uploadcareImageId'),_0x38382e=_0x161ead['getAttribute']('src');if(_0x164674)await this['_loadImageInfo'](_0x164674,_0x38382e);else{if(this['_imageCache']['has'](_0x38382e)){const _0x56b047=this['_imageCache']['get'](_0x38382e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56b047['url'],this['imageDimension']=_0x56b047['dimension'],this['imageId']=_0x56b047['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42d2b8}=this['_editor'],t=_0x42d2b8['t'],_0x3dd40e=new X(_0x42d2b8,this['imageStatus'],this['_attributes']);_0x3dd40e['bind']('status')['to'](this,'imageStatus'),_0x3dd40e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3dd40e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3dd40e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3dd40e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2c477d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3dd40e,'position':_0x52aa1f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3dd40e['focus']();},'onHide':()=>{_0x3dd40e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3bb4e2=>!V(_0x3bb4e2,_0x3dd40e['element'])}});}['_loadImageInfo'](_0x38027b,_0x275e9d){return q['getInfo'](_0x38027b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4a0bb6=>{const {width:_0x4491e2,height:_0xd778cc}=_0x4a0bb6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x275e9d,this['imageDimension']={'width':_0x4491e2,'height':_0xd778cc},this['imageId']=_0x38027b;})['catch'](_0x5ab9a6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ab9a6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x45961d,_0xa604b){return this['_getImageAsFile'](_0x45961d)['then'](_0xf0dce3=>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':_0xa604b['signal'],'file':_0xf0dce3,'onProgress':_0x4c7cc8=>{_0x4c7cc8&&_0x4c7cc8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4c7cc8['value']));}}))['then'](_0xcef7d3=>{const {width:_0x59d2a9,height:_0x2a8fc9}=_0xcef7d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcef7d3['cdnUrl'],this['imageDimension']={'width':_0x59d2a9,'height':_0x2a8fc9},this['imageId']=_0xcef7d3['uuid'],this['imageUploadProgress']=null;const _0x4a6bee=_0x45961d['getAttribute']('src');this['_imageCache']['set'](_0x4a6bee,{'id':_0xcef7d3['uuid'],'url':_0xcef7d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4add71=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4add71['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3278e6,_0x268dd){_0x3278e6['on']('apply',(_0x36637d,_0x5b432e)=>{this['_replaceImage'](_0x268dd,_0x5b432e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3278e6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3278e6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x52542e,_0x2dc9a3,_0x49727e){const _0x3296a3=this['_editor'],{width:_0x38199f,height:_0x1c068d}=F(_0x2dc9a3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48a912,imageSources:_0xe9048e}=D(_0x2dc9a3,_0x38199f);_0x3296a3['model']['change'](_0x8a8349=>{if('$graveyard'===_0x52542e['root']['rootName']){_0x3296a3['execute']('insertImage',{'imageType':_0x52542e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x52542e['getAttributes']()),'uploadcareImageId':_0x49727e,'src':_0x48a912,'sources':_0xe9048e,'width':_0x38199f,'height':_0x1c068d}});const _0x2587ab=_0x52542e['getChildren']();_0x52542e=_0x3296a3['model']['document']['selection']['getSelectedElement']();for(const _0x1dca2a of _0x2587ab)_0x8a8349['append'](_0x8a8349['cloneElement'](_0x1dca2a),_0x52542e);}else _0x8a8349['setSelection'](_0x52542e,'on'),_0x3296a3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x52542e['getAttributes']()),'uploadcareImageId':_0x49727e,'src':_0x48a912,'sources':_0xe9048e,'width':_0x38199f,'height':_0x1c068d},_0x52542e);_0x8a8349['setSelection'](_0x52542e,'on');});}async['_getImageAsFile'](_0x32c869){const _0x2c3e21=_0x4722a5['window'],_0x86e2af=_0x4722a5['document']['location']['href'],_0x30be00=new _0x2c3e21['URL'](_0x32c869['getAttribute']('src'),_0x86e2af);if('data:'===_0x30be00['protocol']){const _0x3009ed=_0x30be00['href']['split'](','),_0x2a8b0a=_0x3009ed[0x0]['match'](/:(.*?);/)[0x1],_0x415b12=_0x2a8b0a['split']('/')[0x1],_0x16729c=_0x2c3e21['atob'](_0x3009ed[_0x3009ed['length']-0x1]);let _0xd41f33=_0x16729c['length'];const _0x459a97=new _0x2c3e21['Uint8Array'](_0xd41f33);for(;_0xd41f33--;)_0x459a97[_0xd41f33]=_0x16729c['charCodeAt'](_0xd41f33);return new _0x2c3e21['File']([_0x459a97],'image.'+_0x415b12,{'type':_0x2a8b0a});}const _0x462db3=_0x30be00['href']['split']('/'),_0x9f5554=_0x462db3[_0x462db3['length']-0x1],_0x130239=_0x9f5554['split']('.')[0x1];return _0x2c3e21['fetch'](_0x30be00['href'])['then'](_0x358f24=>_0x358f24['clone']()['blob']())['then'](_0x455651=>new _0x2c3e21['File']([_0x455651],_0x9f5554,{'type':'image/'+_0x130239}));}}class tt extends _0x49cfb8{['imageEditController'];static get['requires'](){return[_0x244271];}['_isEditable'];constructor(_0x3ff3fc){super(_0x3ff3fc),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5a8539){const _0x4ccb61=B(_0x5a8539);return _0x513882=>!(!_0x513882||!_0x513882['is']('element','imageBlock')&&!_0x513882['is']('element','imageInline'))&&(!!_0x513882['hasAttribute']('uploadcareImageId')||!!_0x513882['hasAttribute']('src')&&_0x4ccb61(_0x513882['getAttribute']('src')));}(_0x3ff3fc['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3e5292=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3e5292);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4104da=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4104da&&(_0x4104da['is']('element','imageBlock')||_0x4104da['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x244271),_0x4104da),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x49cfb8{['refresh'](){const _0x24353e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x24353e&&(_0x24353e['is']('element','imageBlock')||_0x24353e['is']('element','imageInline')));}['execute'](_0x24c558){const _0x11ac9f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x307f61=>{_0x307f61['setAttributes'](_0x24c558,_0x11ac9f),_0x307f61['removeAttribute']('srcset',_0x11ac9f),_0x307f61['removeAttribute']('sizes',_0x11ac9f);});}}class it extends _0x3d9011{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x519819,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x361364}=this;_0x361364['commands']['add']('uploadcareImageEdit',new tt(_0x361364)),_0x361364['commands']['add']('uploadcareImageReplace',new et(_0x361364));}}class st extends _0x3d9011{['_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 _0xb7a286=this['editor'];_0xb7a286['ui']['componentFactory']['add']('uploadcareImageEdit',_0x236eeb=>{const _0x4a164b=_0xb7a286['commands']['get']('uploadcareImageEdit'),_0x5561b7=new _0x1f3542(_0x236eeb),t=_0x236eeb['t'];return _0x5561b7['set']({'icon':_0x2c477d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5561b7['bind']('isEnabled')['to'](_0x4a164b),_0x5561b7['bind']('isOn')['to'](_0x4a164b,'isActive'),this['listenTo'](_0x5561b7,'execute',()=>{_0xb7a286['execute']('uploadcareImageEdit'),_0xb7a286['editing']['view']['focus']();}),_0x5561b7;}),this['_initConfig']();}['_initConfig'](){const _0x2666dc=_0x820158(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2666dc),this['listenTo'](this['editor'],'destroy',()=>{_0x2666dc['remove']();});}}class nt extends _0x3d9011{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
@@ -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.':''},'getPluralForm':_0x4cf168=>0x1!=_0x4cf168}};
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.':''},'getPluralForm':_0x1e163e=>0x1!=_0x1e163e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e633a=>{const {af:{dictionary:_0x5c755c,getPluralForm:_0x425b3f}}={'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.':''},'getPluralForm':_0x29a641=>0x1!=_0x29a641}};_0x3e633a['af']||={'dictionary':{},'getPluralForm':null},_0x3e633a['af']['dictionary']=Object['assign'](_0x3e633a['af']['dictionary'],_0x5c755c),_0x3e633a['af']['getPluralForm']=_0x425b3f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4aba73=>{const {af:{dictionary:_0xe03a44,getPluralForm:_0x447ac2}}={'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.':''},'getPluralForm':_0x1b44b3=>0x1!=_0x1b44b3}};_0x4aba73['af']||={'dictionary':{},'getPluralForm':null},_0x4aba73['af']['dictionary']=Object['assign'](_0x4aba73['af']['dictionary'],_0xe03a44),_0x4aba73['af']['getPluralForm']=_0x447ac2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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مصدرها.'},'getPluralForm':_0x2fa8ef=>0x0==_0x2fa8ef?0x0:0x1==_0x2fa8ef?0x1:0x2==_0x2fa8ef?0x2:_0x2fa8ef%0x64>=0x3&&_0x2fa8ef%0x64<=0xa?0x3:_0x2fa8ef%0x64>=0xb?0x4:0x5}};
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مصدرها.'},'getPluralForm':_0x3babfe=>0x0==_0x3babfe?0x0:0x1==_0x3babfe?0x1:0x2==_0x3babfe?0x2:_0x3babfe%0x64>=0x3&&_0x3babfe%0x64<=0xa?0x3:_0x3babfe%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3deccf=>{const {ar:{dictionary:_0x127e93,getPluralForm:_0x4d75c0}}={'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مصدرها.'},'getPluralForm':_0x1e67dd=>0x0==_0x1e67dd?0x0:0x1==_0x1e67dd?0x1:0x2==_0x1e67dd?0x2:_0x1e67dd%0x64>=0x3&&_0x1e67dd%0x64<=0xa?0x3:_0x1e67dd%0x64>=0xb?0x4:0x5}};_0x3deccf['ar']||={'dictionary':{},'getPluralForm':null},_0x3deccf['ar']['dictionary']=Object['assign'](_0x3deccf['ar']['dictionary'],_0x127e93),_0x3deccf['ar']['getPluralForm']=_0x4d75c0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5100e7=>{const {ar:{dictionary:_0x219c89,getPluralForm:_0x4e0182}}={'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مصدرها.'},'getPluralForm':_0x2c067f=>0x0==_0x2c067f?0x0:0x1==_0x2c067f?0x1:0x2==_0x2c067f?0x2:_0x2c067f%0x64>=0x3&&_0x2c067f%0x64<=0xa?0x3:_0x2c067f%0x64>=0xb?0x4:0x5}};_0x5100e7['ar']||={'dictionary':{},'getPluralForm':null},_0x5100e7['ar']['dictionary']=Object['assign'](_0x5100e7['ar']['dictionary'],_0x219c89),_0x5100e7['ar']['getPluralForm']=_0x4e0182;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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.':''},'getPluralForm':_0x30c628=>0x1!=_0x30c628}};
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.':''},'getPluralForm':_0x42ce01=>0x1!=_0x42ce01}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e528a=>{const {ast:{dictionary:_0x12239f,getPluralForm:_0x1baca0}}={'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.':''},'getPluralForm':_0x3f76aa=>0x1!=_0x3f76aa}};_0x2e528a['ast']||={'dictionary':{},'getPluralForm':null},_0x2e528a['ast']['dictionary']=Object['assign'](_0x2e528a['ast']['dictionary'],_0x12239f),_0x2e528a['ast']['getPluralForm']=_0x1baca0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3a7f20=>{const {ast:{dictionary:_0x2ec74a,getPluralForm:_0x2237b2}}={'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.':''},'getPluralForm':_0x54addd=>0x1!=_0x54addd}};_0x3a7f20['ast']||={'dictionary':{},'getPluralForm':null},_0x3a7f20['ast']['dictionary']=Object['assign'](_0x3a7f20['ast']['dictionary'],_0x2ec74a),_0x3a7f20['ast']['getPluralForm']=_0x2237b2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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.':''},'getPluralForm':_0x485dd2=>0x1!=_0x485dd2}};
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.':''},'getPluralForm':_0x2d8636=>0x1!=_0x2d8636}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xec491d=>{const {az:{dictionary:_0x3a97d1,getPluralForm:_0x4629ae}}={'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.':''},'getPluralForm':_0x5dcffa=>0x1!=_0x5dcffa}};_0xec491d['az']||={'dictionary':{},'getPluralForm':null},_0xec491d['az']['dictionary']=Object['assign'](_0xec491d['az']['dictionary'],_0x3a97d1),_0xec491d['az']['getPluralForm']=_0x4629ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x104bb1=>{const {az:{dictionary:_0x40951d,getPluralForm:_0x3e855a}}={'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.':''},'getPluralForm':_0x4b9955=>0x1!=_0x4b9955}};_0x104bb1['az']||={'dictionary':{},'getPluralForm':null},_0x104bb1['az']['dictionary']=Object['assign'](_0x104bb1['az']['dictionary'],_0x40951d),_0x104bb1['az']['getPluralForm']=_0x3e855a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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.':''},'getPluralForm':_0x26cd0e=>_0x26cd0e%0xa==0x1&&_0x26cd0e%0x64!=0xb?0x0:_0x26cd0e%0xa>=0x2&&_0x26cd0e%0xa<=0x4&&(_0x26cd0e%0x64<0xa||_0x26cd0e%0x64>=0x14)?0x1:0x2}};
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.':''},'getPluralForm':_0x47cb08=>_0x47cb08%0xa==0x1&&_0x47cb08%0x64!=0xb?0x0:_0x47cb08%0xa>=0x2&&_0x47cb08%0xa<=0x4&&(_0x47cb08%0x64<0xa||_0x47cb08%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x345a49=>{const {be:{dictionary:_0x1d52b7,getPluralForm:_0x311278}}={'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.':''},'getPluralForm':_0x39ecf3=>_0x39ecf3%0xa==0x1&&_0x39ecf3%0x64!=0xb?0x0:_0x39ecf3%0xa>=0x2&&_0x39ecf3%0xa<=0x4&&(_0x39ecf3%0x64<0xa||_0x39ecf3%0x64>=0x14)?0x1:0x2}};_0x345a49['be']||={'dictionary':{},'getPluralForm':null},_0x345a49['be']['dictionary']=Object['assign'](_0x345a49['be']['dictionary'],_0x1d52b7),_0x345a49['be']['getPluralForm']=_0x311278;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2be666=>{const {be:{dictionary:_0x1c7eb9,getPluralForm:_0x490a8a}}={'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.':''},'getPluralForm':_0x41c57d=>_0x41c57d%0xa==0x1&&_0x41c57d%0x64!=0xb?0x0:_0x41c57d%0xa>=0x2&&_0x41c57d%0xa<=0x4&&(_0x41c57d%0x64<0xa||_0x41c57d%0x64>=0x14)?0x1:0x2}};_0x2be666['be']||={'dictionary':{},'getPluralForm':null},_0x2be666['be']['dictionary']=Object['assign'](_0x2be666['be']['dictionary'],_0x1c7eb9),_0x2be666['be']['getPluralForm']=_0x490a8a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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премахнат.'},'getPluralForm':_0x1080ba=>0x1!=_0x1080ba}};
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премахнат.'},'getPluralForm':_0x87eb4b=>0x1!=_0x87eb4b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3959bf=>{const {bg:{dictionary:_0x2005ce,getPluralForm:_0x570ece}}={'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премахнат.'},'getPluralForm':_0x1287f0=>0x1!=_0x1287f0}};_0x3959bf['bg']||={'dictionary':{},'getPluralForm':null},_0x3959bf['bg']['dictionary']=Object['assign'](_0x3959bf['bg']['dictionary'],_0x2005ce),_0x3959bf['bg']['getPluralForm']=_0x570ece;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b22f4=>{const {bg:{dictionary:_0x2c9e2c,getPluralForm:_0x56ce71}}={'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премахнат.'},'getPluralForm':_0x6fa87e=>0x1!=_0x6fa87e}};_0x4b22f4['bg']||={'dictionary':{},'getPluralForm':null},_0x4b22f4['bg']['dictionary']=Object['assign'](_0x4b22f4['bg']['dictionary'],_0x2c9e2c),_0x4b22f4['bg']['getPluralForm']=_0x56ce71;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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হয়েছে।'},'getPluralForm':_0x560c97=>0x1!=_0x560c97}};
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হয়েছে।'},'getPluralForm':_0x472926=>0x1!=_0x472926}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5136cf=>{const {bn:{dictionary:_0x146fbf,getPluralForm:_0x2fd523}}={'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হয়েছে।'},'getPluralForm':_0x50c70a=>0x1!=_0x50c70a}};_0x5136cf['bn']||={'dictionary':{},'getPluralForm':null},_0x5136cf['bn']['dictionary']=Object['assign'](_0x5136cf['bn']['dictionary'],_0x146fbf),_0x5136cf['bn']['getPluralForm']=_0x2fd523;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x381e14=>{const {bn:{dictionary:_0x20ca3f,getPluralForm:_0x102363}}={'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হয়েছে।'},'getPluralForm':_0x262458=>0x1!=_0x262458}};_0x381e14['bn']||={'dictionary':{},'getPluralForm':null},_0x381e14['bn']['dictionary']=Object['assign'](_0x381e14['bn']['dictionary'],_0x20ca3f),_0x381e14['bn']['getPluralForm']=_0x102363;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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.':''},'getPluralForm':_0x4dde96=>_0x4dde96%0xa==0x1&&_0x4dde96%0x64!=0xb?0x0:_0x4dde96%0xa>=0x2&&_0x4dde96%0xa<=0x4&&(_0x4dde96%0x64<0xa||_0x4dde96%0x64>=0x14)?0x1:0x2}};
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.':''},'getPluralForm':_0x1ffa51=>_0x1ffa51%0xa==0x1&&_0x1ffa51%0x64!=0xb?0x0:_0x1ffa51%0xa>=0x2&&_0x1ffa51%0xa<=0x4&&(_0x1ffa51%0x64<0xa||_0x1ffa51%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3aef4d=>{const {bs:{dictionary:_0x3be4bc,getPluralForm:_0x35a520}}={'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.':''},'getPluralForm':_0x43854d=>_0x43854d%0xa==0x1&&_0x43854d%0x64!=0xb?0x0:_0x43854d%0xa>=0x2&&_0x43854d%0xa<=0x4&&(_0x43854d%0x64<0xa||_0x43854d%0x64>=0x14)?0x1:0x2}};_0x3aef4d['bs']||={'dictionary':{},'getPluralForm':null},_0x3aef4d['bs']['dictionary']=Object['assign'](_0x3aef4d['bs']['dictionary'],_0x3be4bc),_0x3aef4d['bs']['getPluralForm']=_0x35a520;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17e227=>{const {bs:{dictionary:_0x471b38,getPluralForm:_0x43eb8b}}={'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.':''},'getPluralForm':_0x4723e5=>_0x4723e5%0xa==0x1&&_0x4723e5%0x64!=0xb?0x0:_0x4723e5%0xa>=0x2&&_0x4723e5%0xa<=0x4&&(_0x4723e5%0x64<0xa||_0x4723e5%0x64>=0x14)?0x1:0x2}};_0x17e227['bs']||={'dictionary':{},'getPluralForm':null},_0x17e227['bs']['dictionary']=Object['assign'](_0x17e227['bs']['dictionary'],_0x471b38),_0x17e227['bs']['getPluralForm']=_0x43eb8b;})(window['CKEDITOR_TRANSLATIONS']||={});