@ckeditor/ckeditor5-uploadcare 47.7.3-alpha.0 → 47.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b6d11,Command as _0x59176d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x38453d,IconGooglePhotos as _0xbc9bd,IconGoogleDrive as _0x4134e8,IconFacebook as _0x26b0d7,IconDropbox as _0x7cc7c,IconUploadcareLink as _0x49b5df,IconUploadcareImageUpload as _0x5b29b5,IconError as _0x31d45f,IconUploadcareImageEdit as _0x4fd8fc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x15678c,MenuBarMenuListItemButtonView as _0x480705,View as _0x50800c,FocusCycler as _0x52a574,Dialog as _0x39fefa,DialogViewPosition as _0x51ef26,SpinnerView as _0x54e807,IconView as _0x50678c,Notification as _0x16110d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x166618,DomEmitterMixin as _0x4644b1,global as _0x394f5b,getAncestors as _0x425e8e,ObservableMixin as _0x9bf5c,uid as _0x3abc27,createElement as _0x3f19e5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x37666d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x27d716,info as _0x4da662}from'@uploadcare/upload-client';import*as _0x52a05b from'@uploadcare/file-uploader';var i=function(_0x1def2b){return _0x1def2b['Local']='local',_0x1def2b['URL']='url',_0x1def2b['Dropbox']='dropbox',_0x1def2b['GDrive']='gdrive',_0x1def2b['Facebook']='facebook',_0x1def2b['GPhotos']='gphotos',_0x1def2b['OneDrive']='onedrive',_0x1def2b;}({});function _(_0x14c48d,_0x24e81a,_0x502040){const t=_0x14c48d['t'],_0x374ae9=_0x14c48d['t'];switch(_0x24e81a){case i['Local']:return{'text':_0x374ae9('Insert'===_0x502040?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x374ae9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x502040?_0x374ae9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x374ae9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x502040?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x502040?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x502040?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x502040?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x502040?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24e81a;}}class e extends _0x2b6d11{['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 _0x468f86=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x494c92;for(const _0x4e8bf0 in _0x468f86){const _0x249ec8=_0x4e8bf0,_0x4f8347=_0x468f86[_0x249ec8];if('uploadcareLicenseKeyValid'==_0x4f8347||'uploadcareLicenseKeyInvalid'==_0x4f8347||'uploadcareLicenseKeyExpired'==_0x4f8347||'uploadcareLicenseKeyDomainLimit'==_0x4f8347||'uploadcareLicenseKeyNotAllowed'==_0x4f8347||'uploadcareLicenseKeyEvaluationLimit'==_0x4f8347||'uploadcareLicenseKeyUsageLimit'==_0x4f8347){delete _0x468f86[_0x249ec8],_0x494c92=_0x4f8347,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x494c92&&_0x468f86['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x494c92&&_0x468f86['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x494c92&&_0x468f86['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x494c92&&_0x468f86['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x494c92&&_0x468f86['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x494c92&&_0x468f86['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x757fdc}=this,_0x1a7a02=_0x757fdc['commands']['get']('uploadcare');if(!_0x1a7a02)return;const _0x4499c6=this['_normalizeConfigSourceList'](_0x757fdc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x50784f,_0x1ae863)=>{const _0x102edd=this['_getIntegrationKey'](_0x1ae863['type']);return _0x50784f[_0x102edd]||(_0x50784f[_0x102edd]=[]),_0x50784f[_0x102edd]['push'](_0x1ae863),_0x50784f;},{});_0x757fdc['plugins']['has']('ImageInsertUI')&&_0x757fdc['commands']['get']('uploadcare')&&Object['entries'](_0x4499c6)['forEach'](([_0x4d719d,_0x2e8ac3])=>{_0x757fdc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4d719d,'observable':()=>_0x1a7a02,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2e8ac3),'formViewCreator':()=>this['_createDropdownButtons'](_0x2e8ac3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2e8ac3),'override':'assetManager'!==_0x4d719d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1ece72){const {locale:_0x509683}=this['editor'];return _0x1ece72['map'](_0x219f5b=>{const _0x3233d7=_(_0x509683,_0x219f5b,'Insert');switch(_0x219f5b){case i['Local']:return{'icon':_0x5b29b5,'type':i['Local'],..._0x3233d7};case i['URL']:return{'icon':_0x49b5df,'type':i['URL'],..._0x3233d7};case i['Dropbox']:return{'icon':_0x7cc7c,'type':i['Dropbox'],..._0x3233d7};case i['Facebook']:return{'icon':_0x26b0d7,'type':i['Facebook'],..._0x3233d7};case i['GDrive']:return{'icon':_0x4134e8,'type':i['GDrive'],..._0x3233d7};case i['GPhotos']:return{'icon':_0xbc9bd,'type':i['GPhotos'],..._0x3233d7};case i['OneDrive']:return{'icon':_0x38453d,'type':i['OneDrive'],..._0x3233d7};}});}['_getIntegrationKey'](_0x2b5f20){switch(_0x2b5f20){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5edbbf,_0x21a735){const _0xc35bc3=this['editor'],_0x409133=new _0x5edbbf(_0xc35bc3['locale']),_0x30b88f=_0xc35bc3['commands']['get']('uploadcare');return _0x409133['bind']('isEnabled')['to'](_0x30b88f),_0x409133['on']('execute',()=>{_0x30b88f['execute'](_0x21a735);}),_0x409133;}['_createToolbarButton'](_0x2be00a){const {locale:_0x368abf}=this['editor'],_0x2b8f96=this['editor']['plugins']['get']('ImageInsertUI'),_0x45d62c=_0x2be00a[0x0],_0xe762ab=this['_createButton'](_0x15678c,_0x45d62c['type']);return _0xe762ab['icon']=_0x45d62c['icon'],_0xe762ab['bind']('label')['to'](_0x2b8f96,'isImageSelected',_0x47f680=>_(_0x368abf,_0x45d62c['type'],_0x47f680?'Replace':'Insert')['text']),_0xe762ab['tooltip']=!0x0,_0xe762ab;}['_createDropdownButtons'](_0x24a0bd){const {locale:_0x34683d}=this['editor'],_0x59d9ea=this['editor']['plugins']['get']('ImageInsertUI');return _0x24a0bd['map'](_0x595bb2=>{const _0x4a6d39=this['_createButton'](_0x15678c,_0x595bb2['type']);return _0x4a6d39['withText']=!0x0,_0x4a6d39['icon']=_0x595bb2['icon'],_0x4a6d39['bind']('label')['to'](_0x59d9ea,'isImageSelected',_0x427c32=>_(_0x34683d,_0x595bb2['type'],_0x427c32?'Replace':'Insert')['text']),_0x4a6d39;});}['_createMenuBarButtons'](_0x694233){return _0x694233['map'](_0x5485ee=>{const _0x232dcc=this['_createButton'](_0x480705,_0x5485ee['type']);return _0x232dcc['icon']=_0x5485ee['icon'],_0x232dcc['label']=_0x5485ee['shortText'],_0x232dcc;});}}class F extends _0x50800c{['focusTracker'];['focusCycler'];constructor(_0x5a5cd8){super(_0x5a5cd8),this['focusTracker']=new _0x166618(),this['focusCycler']=new _0x52a574({'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 H extends F{constructor(_0x2950b5,_0x44a831){super(_0x2950b5),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-'+_0x44a831}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function A(_0xcec8c2,_0x47f249){const _0x11b6e5=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4c4233=>_0x4c4233<=_0x47f249)['map'](_0x11adee=>_0xcec8c2['replace'](/\/$/,'')+'/-/resize/'+_0x11adee+'x/\x20'+_0x11adee+'w');return{'imageFallbackUrl':_0xcec8c2,'imageSources':[{'srcset':_0x11b6e5['join'](',\x20'),'sizes':'(max-width:\x20'+_0x47f249+'px)\x20100vw,\x20'+_0x47f249+'px','type':'image/webp'}]};}function x(_0x2b2cd6,_0x50f17c,_0x26cb51){const _0x18f506=_0x2b2cd6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x18f506?parseInt(_0x18f506[0x1],0xa):_0x50f17c,'height':_0x18f506?parseInt(_0x18f506[0x2],0xa):_0x26cb51};}function p(_0x3fda72,_0x2543ed){const _0x30af95=new(_0x4644b1())(),_0x597309=_0x3fda72['plugins']['get']('ImageUtils'),_0x28d23c=_0x3fda72['editing']['mapper']['toViewElement'](_0x2543ed),_0x1f011b=_0x597309['findViewImgElement'](_0x28d23c),_0x2fbdea=_0x3fda72['editing']['view']['domConverter']['viewToDom'](_0x1f011b),_0x42bc60=_0x2543ed['getAttribute']('width'),_0x413ac3=_0x2543ed['getAttribute']('height'),_0x4c61a4='image-processing';_0x3fda72['editing']['view']['change'](_0x4946c4=>{_0x4946c4['addClass'](_0x4c61a4,_0x28d23c),_0x4946c4['setStyle']('aspect-ratio',_0x42bc60+'/'+_0x413ac3,_0x1f011b);}),_0x30af95['listenTo'](_0x2fbdea,'load',()=>{_0x30af95['stopListening'](_0x2fbdea,'load'),_0x3fda72['editing']['view']['change'](_0x481e2c=>{_0x481e2c['removeClass'](_0x4c61a4,_0x28d23c),_0x481e2c['removeStyle']('aspect-ratio',_0x1f011b);});});}function z(_0x110145){if(Array['isArray'](_0x110145)){const _0x3dcb45=_0x110145['map'](z);return _0x8a21a=>_0x3dcb45['some'](_0x494db5=>_0x494db5(_0x8a21a));}if('origin'==_0x110145){const _0x2d1b55=_0x394f5b['window']['location']['origin'];return _0x481477=>new URL(_0x481477,_0x394f5b['document']['baseURI'])['origin']==_0x2d1b55;}return'function'==typeof _0x110145?_0x110145:_0x110145 instanceof RegExp?_0xc0990d=>!(!_0xc0990d['match'](_0x110145)&&!_0xc0990d['replace'](/^https?:\/\//,'')['match'](_0x110145)):()=>!0x1;}function C(_0x3f4d42,_0x4d1fe1){return _0x425e8e(_0x3f4d42['target'])['includes'](_0x4d1fe1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x9bf5c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5e772b,_0x12062c,_0x4666ba){super(),this['_editor']=_0x5e772b,this['_editing']=_0x12062c,this['_dialog']=_0x5e772b['plugins']['get'](_0x39fefa),this['_api']=_0x12062c['ctxElement']['getAPI'](),this['_type']=_0x4666ba,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:_0x145a6a,model:_0x27a167}=this['_editor'],_0x1ce156=_0x27a167['document']['selection']['getSelectedElement'](),_0x2a2856=_0x1ce156&&(_0x1ce156['is']('element','imageBlock')||_0x1ce156['is']('element','imageInline'));this['_formView']=new H(_0x145a6a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5b29b5,'title':_(_0x145a6a,this['_type'],_0x2a2856?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x51ef26['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x545e9b=>!C(_0x545e9b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x355d9c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x31d0c=>{const _0x3b6984=_0x355d9c['length'];for(const _0x24cb77 of _0x355d9c){const _0x239c7b=_0x24cb77===_0x355d9c[_0x3b6984-0x1],{cdnUrl:_0x3b554c,fileInfo:_0x173343}=_0x24cb77;if(!_0x3b554c||!_0x173343)continue;const {width:_0x4d58fa,height:_0xf08041}=_0x173343['imageInfo'],_0x2a3a01=x(_0x3b554c,_0x4d58fa,_0xf08041),_0x3cd4eb=A(_0x3b554c,_0x2a3a01['width']),_0x4146a9={'id':_0x173343['uuid'],'type':'image','attributes':{'imageDimension':_0x2a3a01,..._0x3cd4eb}};this['_insertAsset'](_0x4146a9,_0x239c7b,_0x31d0c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x303c3e=>{'idle'===_0x303c3e['detail']['status']&&!_0x303c3e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3dbafa,_0x4fabab,_0x5c52d2){const _0x2d8b48=this['_editor']['model']['document']['selection'],_0x2580cb=_0x2d8b48['getSelectedElement'](),_0x559fc1=!(!_0x2580cb||!_0x2580cb['is']('element','imageInline'));_0x5c52d2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3dbafa,_0x559fc1),_0x4fabab||_0x5c52d2['setSelection'](_0x2d8b48['getLastPosition']());}['_insertImage'](_0x2a6664,_0x51fb00){const _0x4c1d81=this['_editor'],{imageDimension:_0x9db72c,imageFallbackUrl:_0x45beea,imageSources:_0x267d11}=_0x2a6664['attributes'];_0x4c1d81['execute']('insertImage',{'imageType':_0x51fb00?'imageInline':null,'source':{'uploadcareImageId':_0x2a6664['id'],'src':_0x45beea,'sources':_0x267d11,..._0x9db72c}});}}class w extends _0x59176d{['_editing'];['_controller']=null;static get['requires'](){return[_0x39fefa,o];}constructor(_0x571aef){super(_0x571aef),this['_editing']=_0x571aef['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x9fa39c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x9fa39c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3fbb80,..._0x16e52d}){return _0x27d716(_0x3fbb80,_0x16e52d);}static['getInfo'](_0x42328f,_0x1b7d2a){return _0x4da662(_0x42328f,_0x1b7d2a);}}class f extends _0x2b6d11{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37666d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x19c07c=this['editor'];if(!!!_0x19c07c['config']['get']('uploadcare'))return;_0x19c07c['plugins']['get'](_0x37666d)['createUploadAdapter']=_0x28f450=>new Adapter(_0x28f450,_0x19c07c),_0x19c07c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x6824c2,{imageElement:_0x52c23d,data:_0x44302e})=>{_0x19c07c['model']['change'](_0x3ef25a=>{_0x3ef25a['setAttribute']('uploadcareImageId',_0x44302e['uploadcareImageId'],_0x52c23d);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x16fc3c,_0x54cdf9){this['loader']=_0x16fc3c,this['editor']=_0x54cdf9,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x15bae6=await this['loader']['file'];return j['upload']({'file':_0x15bae6,'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':_0xa42881=>{_0xa42881&&_0xa42881['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xa42881['value']);}})['then'](async _0x49a91a=>{const {imageFallbackUrl:_0x4edeb9,imageSources:_0x4ae90f}=A(_0x49a91a['cdnUrl'],_0x49a91a['imageInfo']['width']);return{'uploadcareImageId':_0x49a91a['uuid'],'default':_0x4edeb9,'sources':_0x4ae90f};})['catch'](()=>{const _0x427152=t('Cannot\x20upload\x20file:')+('\x20'+_0x15bae6['name']+'.');return Promise['reject'](_0x427152);});}['abort'](){this['controller']['abort']();}}class o extends _0x2b6d11{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x39fefa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4ec434){super(_0x4ec434),this['ucContextId']=_0x3abc27();}['init'](){const _0x42a8d4=this['editor'];_0x42a8d4['commands']['add']('uploadcare',new w(_0x42a8d4));}['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 _0x16f5e8=_0x394f5b['document']['querySelector']('input[uploadcare-file-input]');_0x16f5e8&&_0x16f5e8['remove']();}),async function(_0x483a94){const _0x2ed96a=_0x4b05a5([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]),_0x3e19a5=0x535f8c3a,_0x2909e9=0x535803fa^_0x3e19a5,_0x629471=window[_0x4b05a5([0x44,0x61,0x74,0x65])][_0x4b05a5([0x6e,0x6f,0x77])](),_0x506594=_0x483a94[_0x4b05a5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35aae2=new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528c44=>{_0x506594[_0x4b05a5([0x6f,0x6e,0x63,0x65])](_0x4b05a5([0x72,0x65,0x61,0x64,0x79]),_0x528c44);}),_0x508076={[_0x4b05a5([0x6b,0x74,0x79])]:_0x4b05a5([0x45,0x43]),[_0x4b05a5([0x75,0x73,0x65])]:_0x4b05a5([0x73,0x69,0x67]),[_0x4b05a5([0x63,0x72,0x76])]:_0x4b05a5([0x50,0x2d,0x32,0x35,0x36]),[_0x4b05a5([0x78])]:_0x4b05a5([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]),[_0x4b05a5([0x79])]:_0x4b05a5([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]),[_0x4b05a5([0x61,0x6c,0x67])]:_0x4b05a5([0x45,0x53,0x32,0x35,0x36])},_0x21719b=_0x506594[_0x4b05a5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b05a5([0x67,0x65,0x74])](_0x4b05a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4936a3(){let _0x31ad38,_0xd105ec=null,_0x3d15e1=null;try{if(_0x21719b==_0x4b05a5([0x47,0x50,0x4c]))return _0x4b05a5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31ad38=_0x49076e(),!_0x31ad38)return _0x4b05a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31ad38[_0x4b05a5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d15e1=_0x3a4fbd(_0x31ad38[_0x4b05a5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31ad38[_0x4b05a5([0x6a,0x74,0x69])])),await _0x144361()?_0x769215()?_0x3cf298()?_0x4b05a5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x326fae()?(_0x31ad38[_0x4b05a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b05a5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd105ec=_0x376d87(_0x4b05a5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a4623()):_0x4b05a5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b05a5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b05a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b05a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cf298(){const _0x409d7f=[_0x4b05a5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b05a5([0x74,0x72,0x69,0x61,0x6c])][_0x4b05a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ad38[_0x4b05a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x629471/0x3e8:0xe10*_0x2909e9;return _0x31ad38[_0x4b05a5([0x65,0x78,0x70])]<_0x409d7f;}function _0x769215(){const _0x2a1d68=_0x31ad38[_0x4b05a5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a1d68&&(!!_0x2a1d68[_0x4b05a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b05a5([0x2a]))||!!_0x2a1d68[_0x4b05a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b05a5([0x55,0x50,0x4c,0x43])));}function _0x326fae(){const _0xb19922=_0x31ad38[_0x4b05a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb19922||0x0==_0xb19922[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42cf80}=new URL(window[_0x4b05a5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb19922[_0x4b05a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42cf80))return!0x0;const _0x51eb28=_0x42cf80[_0x4b05a5([0x73,0x70,0x6c,0x69,0x74])](_0x4b05a5([0x2e]));return _0xb19922[_0x4b05a5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d44f7=>_0x2d44f7[_0x4b05a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b05a5([0x2a])))[_0x4b05a5([0x6d,0x61,0x70])](_0x2f0929=>_0x2f0929[_0x4b05a5([0x73,0x70,0x6c,0x69,0x74])](_0x4b05a5([0x2e])))[_0x4b05a5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1149d2=>_0x1149d2[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51eb28[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b05a5([0x6d,0x61,0x70])](_0x4c7b4d=>Array(_0x51eb28[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c7b4d[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b05a5([0x66,0x69,0x6c,0x6c])](_0x4c7b4d[0x0]===_0x4b05a5([0x2a])?_0x4b05a5([0x2a]):'')[_0x4b05a5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c7b4d))[_0x4b05a5([0x73,0x6f,0x6d,0x65])](_0x1f89b3=>_0x51eb28[_0x4b05a5([0x65,0x76,0x65,0x72,0x79])]((_0x42ef6a,_0x41e2e9)=>_0x1f89b3[_0x41e2e9]===_0x42ef6a||_0x1f89b3[_0x41e2e9]===_0x4b05a5([0x2a])));}function _0x3a4623(){return _0xd105ec&&_0x3d15e1?new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ec7bb,_0x123226)=>{_0xd105ec[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x1ec7bb,_0x123226),_0x3d15e1[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x49e7b7=>{_0x49e7b7!=_0x4b05a5([0x56,0x61,0x6c,0x69,0x64])&&_0x1ec7bb(_0x49e7b7);},_0x123226);}):_0xd105ec||_0x3d15e1||_0x4b05a5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a4fbd(_0x47dfb8,_0x6087f6){return new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e26a=>{if(_0xfaa1a7())return _0x57e26a(_0x4b05a5([0x56,0x61,0x6c,0x69,0x64]));_0x46d079(),_0x506594[_0x4b05a5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b05a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcb5069=!0x1;const _0x1bda5b=_0x3abc27();function _0x1a8303(_0x1a2b59){return!!_0x1a2b59&&(typeof _0x1a2b59===_0x4b05a5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a2b59===_0x4b05a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a2b59[_0x4b05a5([0x74,0x68,0x65,0x6e])]===_0x4b05a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a2b59[_0x4b05a5([0x63,0x61,0x74,0x63,0x68])]===_0x4b05a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc3dbde(_0x57fb9b){_0x552b3e(_0x57fb9b)[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x5a2a50=>{if(!_0x5a2a50||_0x5a2a50[_0x4b05a5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b05a5([0x6f,0x6b]))return _0x4b05a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57d524(_0x11ca02(_0x1bda5b+_0x6087f6))!=_0x5a2a50[_0x4b05a5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b05a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b05a5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x2ef766=>(_0x53765a(),_0x2ef766),()=>{const _0x2fbc68=_0x314369();return null==_0x2fbc68?(_0x53765a(),_0x4b05a5([0x56,0x61,0x6c,0x69,0x64])):_0x4b05a5(_0x629471-_0x2fbc68>(0x7753083a^_0x3e19a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x57e26a)[_0x4b05a5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57e26a(_0x4b05a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6176fc=0x536962ba^_0x3e19a5;function _0x53765a(){const _0x3146eb=_0x4b05a5([0x6c,0x6c,0x63,0x74,0x2d])+_0x57d524(_0x11ca02(_0x47dfb8)),_0x1dbcf5=_0x386311(_0x57d524(window[_0x4b05a5([0x4d,0x61,0x74,0x68])][_0x4b05a5([0x63,0x65,0x69,0x6c])](_0x629471/_0x6176fc)));window[_0x4b05a5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b05a5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3146eb,_0x1dbcf5);}function _0x314369(){const _0x431723=_0x4b05a5([0x6c,0x6c,0x63,0x74,0x2d])+_0x57d524(_0x11ca02(_0x47dfb8)),_0x457b0e=window[_0x4b05a5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b05a5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x431723);return _0x457b0e?window[_0x4b05a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x386311(_0x457b0e),0x10)*_0x6176fc:null;}function _0x552b3e(_0x5821be){return new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15a187,_0x5eb74a)=>{_0x5821be[_0x4b05a5([0x74,0x68,0x65,0x6e])](_0x15a187,_0x5eb74a),window[_0x4b05a5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5eb74a,0x535e58fa^_0x3e19a5);});}}_0x506594[_0x4b05a5([0x6f,0x6e])](_0x4b05a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1dcd46,_0x48c440)=>{if(_0x48c440[0x0]!=_0x47dfb8)return _0x57e26a(_0x4b05a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48c440[0x1]={..._0x48c440[0x1],[_0x4b05a5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bda5b};},{[_0x4b05a5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b05a5([0x68,0x69,0x67,0x68])}),_0x506594[_0x4b05a5([0x6f,0x6e])](_0x4b05a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e7ae0=>{_0x1a8303(_0x5e7ae0[_0x4b05a5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcb5069=!0x0,_0xc3dbde(_0x5e7ae0[_0x4b05a5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b05a5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b05a5([0x6c,0x6f,0x77])}),_0x35aae2[_0x4b05a5([0x74,0x68,0x65,0x6e])](()=>{_0xcb5069||_0x57e26a(_0x4b05a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfaa1a7(){return _0x506594[_0x4b05a5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b05a5([0x76,0x69,0x65,0x77])][_0x4b05a5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b05a5([0x61,0x75,0x74,0x6f]);}function _0x46d079(){_0x506594[_0x4b05a5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b05a5([0x76,0x69,0x65,0x77])][_0x4b05a5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b05a5([0x61,0x75,0x74,0x6f]);}}function _0x376d87(_0x5456bc){const _0x30d6ff=[new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x502f73=>setTimeout(_0x502f73,0x5356b2f6^_0x3e19a5)),_0x35aae2[_0x4b05a5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x102d27=>{let _0xc4736d=0x0;_0x506594[_0x4b05a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b05a5([0x6f,0x6e])](_0x4b05a5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13dfc3,_0x3b0205)=>{_0x3b0205[0x0][_0x4b05a5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc4736d++,_0xc4736d==(0x535f89d2^_0x3e19a5)&&(_0x102d27(),_0x13dfc3[_0x4b05a5([0x6f,0x66,0x66])]());});}))];return window[_0x4b05a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b05a5([0x72,0x61,0x63,0x65])](_0x30d6ff)[_0x4b05a5([0x74,0x68,0x65,0x6e])](()=>_0x5456bc);}async function _0x56832(){await _0x35aae2,_0x506594[_0x4b05a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b05a5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf0798c,_0x506594[_0x4b05a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b05a5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf0798c,_0x506594[_0x4b05a5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b05a5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d39d4(_0x3a5427){const _0x134e11=_0xb48f2d();_0x506594[_0x134e11]=_0x4b05a5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a5427,_0x3a5427!=_0x4b05a5([0x56,0x61,0x6c,0x69,0x64])&&_0x56832();}function _0xb48f2d(){const _0x1c651e=window[_0x4b05a5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b05a5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b05a5([0x6e,0x6f,0x77])]())[_0x4b05a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b05a5([0x2e]),'');let _0x35b422=_0x4b05a5([0x68]);for(let _0xadbc63=0x0;_0xadbc63<_0x1c651e[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xadbc63+=0x2){let _0x254306=window[_0x4b05a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c651e[_0x4b05a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xadbc63,_0xadbc63+0x2));_0x254306>=_0x2ed96a[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254306-=_0x2ed96a[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35b422+=_0x2ed96a[_0x254306];}return _0x35b422;}function _0x49076e(){const _0x1fa613=_0x21719b[_0x4b05a5([0x73,0x70,0x6c,0x69,0x74])](_0x4b05a5([0x2e]));if(0x3!=_0x1fa613[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x424eda(_0x1fa613[0x1]);function _0x424eda(_0x44d2a2){const _0x591bb2=_0xcc8056(_0x44d2a2);return _0x591bb2&&_0xa900e4()?_0x591bb2:null;function _0xa900e4(){const _0x15e921=_0x591bb2[_0x4b05a5([0x6a,0x74,0x69])],_0x210eea=window[_0x4b05a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15e921[_0x4b05a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15e921[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f8089={..._0x591bb2,[_0x4b05a5([0x6a,0x74,0x69])]:_0x15e921[_0x4b05a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15e921[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f8089[_0x4b05a5([0x76,0x63])],_0x11ca02(_0x4f8089)==_0x210eea;}}}async function _0x144361(){let _0x51fa82=!0x0;try{const _0x3412ba=_0x21719b[_0x4b05a5([0x73,0x70,0x6c,0x69,0x74])](_0x4b05a5([0x2e])),[_0x14f938,_0x203149,_0x3a15d9]=_0x3412ba;return _0x4c1423(_0x14f938),await _0x282e84(_0x14f938,_0x203149,_0x3a15d9),_0x51fa82;}catch{return!0x1;}function _0x4c1423(_0x1c9c67){const _0x456339=_0xcc8056(_0x1c9c67);_0x456339&&_0x456339[_0x4b05a5([0x61,0x6c,0x67])]==_0x4b05a5([0x45,0x53,0x32,0x35,0x36])||(_0x51fa82=!0x1);}async function _0x282e84(_0x30a6c2,_0x2395ae,_0x12359b){const _0x53eb82=window[_0x4b05a5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b05a5([0x66,0x72,0x6f,0x6d])](_0x542be3(_0x12359b),_0x35b7f9=>_0x35b7f9[_0x4b05a5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1716c7=new window[(_0x4b05a5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b05a5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30a6c2+_0x4b05a5([0x2e])+_0x2395ae),_0x45490e=window[_0x4b05a5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b05a5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45490e)return;const _0x1ecbfa=await _0x45490e[_0x4b05a5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b05a5([0x6a,0x77,0x6b]),_0x508076,{[_0x4b05a5([0x6e,0x61,0x6d,0x65])]:_0x4b05a5([0x45,0x43,0x44,0x53,0x41]),[_0x4b05a5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b05a5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b05a5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45490e[_0x4b05a5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b05a5([0x6e,0x61,0x6d,0x65])]:_0x4b05a5([0x45,0x43,0x44,0x53,0x41]),[_0x4b05a5([0x68,0x61,0x73,0x68])]:{[_0x4b05a5([0x6e,0x61,0x6d,0x65])]:_0x4b05a5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ecbfa,_0x53eb82,_0x1716c7)||(_0x51fa82=!0x1);}}function _0xcc8056(_0x3d6b8a){return _0x3d6b8a[_0x4b05a5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b05a5([0x65,0x79]))?JSON[_0x4b05a5([0x70,0x61,0x72,0x73,0x65])](_0x542be3(_0x3d6b8a)):null;}function _0x542be3(_0x38975e){return window[_0x4b05a5([0x61,0x74,0x6f,0x62])](_0x38975e[_0x4b05a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b05a5([0x2b]))[_0x4b05a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b05a5([0x2f])));}function _0x11ca02(_0x3a24e4){let _0xed167f=0x1505;function _0x275bc0(_0x1360df){for(let _0x916902=0x0;_0x916902<_0x1360df[_0x4b05a5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x916902++){const _0x2f6505=_0x1360df[_0x4b05a5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x916902);_0xed167f=(_0xed167f<<0x5)+_0xed167f+_0x2f6505,_0xed167f&=_0xed167f;}}function _0x229953(_0x4eaa0b){Array[_0x4b05a5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4eaa0b)?_0x4eaa0b[_0x4b05a5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229953):_0x4eaa0b&&typeof _0x4eaa0b==_0x4b05a5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b05a5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4eaa0b)[_0x4b05a5([0x73,0x6f,0x72,0x74])]()[_0x4b05a5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5494b9,_0x33c481])=>{_0x275bc0(_0x5494b9),_0x229953(_0x33c481);}):_0x275bc0(window[_0x4b05a5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4eaa0b));}return _0x229953(_0x3a24e4),_0xed167f>>>0x0;}function _0x57d524(_0x4bb2d1){return _0x4bb2d1[_0x4b05a5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b05a5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b05a5([0x30]));}function _0x386311(_0x4080fc){return _0x4080fc[_0x4b05a5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b05a5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b05a5([0x6a,0x6f,0x69,0x6e])]('');}function _0xf0798c(){}function _0x4b05a5(_0x22dde8){return _0x22dde8['map'](_0xe18f4d=>String['fromCharCode'](_0xe18f4d))['join']('');}_0x3d39d4(await _0x4936a3());}(this);}['_initSchema'](){const _0x210ac3=this['editor']['model']['schema'];_0x210ac3['isRegistered']('imageBlock')&&_0x210ac3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x210ac3['isRegistered']('imageInline')&&_0x210ac3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x37e3fb=this['editor'];_0x37e3fb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x37e3fb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c4a97=>_0x3c4a97['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x542034=_0x37e3fb['commands']['get']('replaceImageSource');_0x542034&&this['listenTo'](_0x542034,'cleanupImage',(_0x3dcc66,[_0x5e8ec4,_0x5159aa])=>{_0x5e8ec4['removeAttribute']('uploadcareImageId',_0x5159aa);});}['_initConfig'](){const _0x213495=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5ccb49=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3f19e5(_0x394f5b['document'],'uc-config',{..._0x213495,'pubkey':_0x5ccb49,'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']=_0x33dc4c=>{if('closeMax'==_0x33dc4c)return'#uc-icon-arrow-down';},_0x394f5b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3f19e5(_0x394f5b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x394f5b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x32d12b=this['editor']['commands']['get']('insertImage');_0x32d12b&&this['listenTo'](_0x32d12b,'execute',()=>{const _0x366b40=this['editor']['model']['document']['selection']['getSelectedElement']();_0x366b40&&_0x366b40['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x366b40);});});const _0x268522=this['editor']['commands']['get']('uploadcareImageReplace');_0x268522&&this['listenTo'](_0x268522,'execute',()=>{const _0x5501fe=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5501fe&&_0x5501fe['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5501fe);});});}}class Uploadcare extends _0x2b6d11{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36d9e4){super(_0x36d9e4),_0x36d9e4['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x52a05b['defineComponents'](_0x52a05b),this['_defineLocale']();}['_defineLocale'](){const _0x4c5728=this['editor']['config']['get']('uploadcare.locale'),_0x1ee071=this['editor']['locale']['contentLanguage'];_0x4c5728&&_0x52a05b['defineLocale'](_0x1ee071,_0x4c5728);}}class ii extends _0x50800c{constructor(_0x20a1a4){super(_0x20a1a4);const t=_0x20a1a4['t'],_0x4b89b7=this['bindTemplate'],_0x392244=new _0x54e807();_0x392244['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':[_0x392244,{'text':_0x4b89b7['to']('imageUploadProgress',_0x4d938d=>t('Loading\x20image...')+'\x20('+(_0x4d938d||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 ti extends _0x50800c{constructor(_0x25f7f0){super(_0x25f7f0);const t=_0x25f7f0['t'];this['set']('errorType',null);const _0x2fc755=new _0x15678c(_0x25f7f0);_0x2fc755['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2fc755['withText']=!0x0,_0x2fc755['class']='ck-button-action',_0x2fc755['on']('execute',()=>{this['fire']('retry');}),_0x2fc755['bind']('isVisible')['to'](this,'errorType',_0x1c96bb=>'NotFound'!==_0x1c96bb);const _0x243d80=new _0x50678c();_0x243d80['content']=_0x31d45f,_0x243d80['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17515b=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':[_0x243d80,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17515b['to']('errorType',_0x2fcc09=>t('NotFound'!==_0x2fcc09?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2fc755]},{'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 ei extends _0x50800c{constructor(_0x1546bc,_0x4f2ec9){super(_0x1546bc);const _0x1efaec=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4f2ec9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1efaec['to']('imageSrc')}});}}class W extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5b6631,_0x4e74a2,_0x3ff20b){super(_0x5b6631),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5b6631),this['_errorView']=new ti(_0x5b6631),this['_editingView']=new ei(_0x5b6631,_0x3ff20b),this['_focusableView']=new _0x50800c(_0x5b6631),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4e74a2),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'],_0x5a8048=>{this['_addUploadcareImageEditorListeners'](_0x5a8048);});}),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'](_0x23939f,_0x16c327){const _0x11ffe0='uc-cloud-image-editor',_0x1aa428=_0x23939f['querySelector'](_0x11ffe0);if(_0x1aa428)return _0x16c327(_0x1aa428);const _0x12e8bc=new MutationObserver(_0x541e65=>{const _0x53c7c7=_0x541e65['filter'](_0x5519f5=>_0x5519f5['target']===_0x23939f&&_0x5519f5['addedNodes']['length']>0x0&&_0x5519f5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x11ffe0);_0x53c7c7['length']&&(_0x12e8bc['disconnect'](),_0x16c327(_0x53c7c7[0x0]['addedNodes'][0x0]));});_0x12e8bc['observe'](_0x23939f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x34f99a){_0x34f99a['addEventListener']('apply',_0x32f520=>{this['fire']('apply',{'imageSrc':_0x32f520['detail']['cdnUrl']});}),_0x34f99a['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x9bf5c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x24a485,_0x3aa9b7,_0x3d597a){super(),this['_editor']=_0x24a485,this['_dialog']=_0x3aa9b7,this['_imageElement']=_0x3d597a,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 _0x1254f8=this['_imageElement'],_0x4634d9=_0x1254f8['getAttribute']('uploadcareImageId'),_0x247c22=_0x1254f8['getAttribute']('src');if(_0x4634d9)await this['_loadImageInfo'](_0x4634d9,_0x247c22);else{if(this['_imageCache']['has'](_0x247c22)){const _0xfc2566=this['_imageCache']['get'](_0x247c22);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfc2566['url'],this['imageDimension']=_0xfc2566['dimension'],this['imageId']=_0xfc2566['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x348668}=this['_editor'],t=_0x348668['t'],_0x2bf143=new W(_0x348668,this['imageStatus'],this['_attributes']);_0x2bf143['bind']('status')['to'](this,'imageStatus'),_0x2bf143['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2bf143['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2bf143['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2bf143,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fd8fc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2bf143,'position':_0x51ef26['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2bf143['focus']();},'onHide':()=>{_0x2bf143['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4cd9bd=>!C(_0x4cd9bd,_0x2bf143['element'])}});}['_loadImageInfo'](_0x508f1a,_0x564a65){return j['getInfo'](_0x508f1a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x309e4e=>{const {width:_0x15b686,height:_0x520104}=_0x309e4e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x564a65,this['imageDimension']={'width':_0x15b686,'height':_0x520104},this['imageId']=_0x508f1a;})['catch'](_0x1497e1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1497e1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x89552b,_0x2a60f1){return this['_getImageAsFile'](_0x89552b)['then'](_0x2dc8a4=>j['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':_0x2a60f1['signal'],'file':_0x2dc8a4,'onProgress':_0x52d88e=>{_0x52d88e&&_0x52d88e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x52d88e['value']));}}))['then'](_0x23586a=>{const {width:_0x161de7,height:_0x40d4ad}=_0x23586a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23586a['cdnUrl'],this['imageDimension']={'width':_0x161de7,'height':_0x40d4ad},this['imageId']=_0x23586a['uuid'],this['imageUploadProgress']=null;const _0xf58cea=_0x89552b['getAttribute']('src');this['_imageCache']['set'](_0xf58cea,{'id':_0x23586a['uuid'],'url':_0x23586a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x34c355=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34c355['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x391ddb,_0x36d347){_0x391ddb['on']('apply',(_0x473daa,_0x340c90)=>{this['_replaceImage'](_0x36d347,_0x340c90['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x391ddb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x391ddb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b79f5,_0x81a12b,_0x46ef73){const _0x2ae127=this['_editor'],{width:_0x56827e,height:_0x396136}=x(_0x81a12b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x19b989,imageSources:_0x264a9f}=A(_0x81a12b,_0x56827e);_0x2ae127['model']['change'](_0x10122f=>{if('$graveyard'===_0x5b79f5['root']['rootName']){_0x2ae127['execute']('insertImage',{'imageType':_0x5b79f5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b79f5['getAttributes']()),'uploadcareImageId':_0x46ef73,'src':_0x19b989,'sources':_0x264a9f,'width':_0x56827e,'height':_0x396136}});const _0x37ee69=_0x5b79f5['getChildren']();_0x5b79f5=_0x2ae127['model']['document']['selection']['getSelectedElement']();for(const _0x28f9e5 of _0x37ee69)_0x10122f['append'](_0x10122f['cloneElement'](_0x28f9e5),_0x5b79f5);}else _0x10122f['setSelection'](_0x5b79f5,'on'),_0x2ae127['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b79f5['getAttributes']()),'uploadcareImageId':_0x46ef73,'src':_0x19b989,'sources':_0x264a9f,'width':_0x56827e,'height':_0x396136},_0x5b79f5);_0x10122f['setSelection'](_0x5b79f5,'on');});}async['_getImageAsFile'](_0x4ab4fb){const _0x623a19=_0x394f5b['window'],_0x502183=_0x394f5b['document']['location']['href'],_0x157295=new _0x623a19['URL'](_0x4ab4fb['getAttribute']('src'),_0x502183);if('data:'===_0x157295['protocol']){const _0x59ab3c=_0x157295['href']['split'](','),_0x32eccd=_0x59ab3c[0x0]['match'](/:(.*?);/)[0x1],_0xaf42f2=_0x32eccd['split']('/')[0x1],_0x447abe=_0x623a19['atob'](_0x59ab3c[_0x59ab3c['length']-0x1]);let _0x1bff09=_0x447abe['length'];const _0x2d40aa=new _0x623a19['Uint8Array'](_0x1bff09);for(;_0x1bff09--;)_0x2d40aa[_0x1bff09]=_0x447abe['charCodeAt'](_0x1bff09);return new _0x623a19['File']([_0x2d40aa],'image.'+_0xaf42f2,{'type':_0x32eccd});}const _0x117168=_0x157295['href']['split']('/'),_0x11292c=_0x117168[_0x117168['length']-0x1],_0xa614e1=_0x11292c['split']('.')[0x1];return _0x623a19['fetch'](_0x157295['href'])['then'](_0x460924=>_0x460924['clone']()['blob']())['then'](_0x1601d5=>new _0x623a19['File']([_0x1601d5],_0x11292c,{'type':'image/'+_0xa614e1}));}}class Q extends _0x59176d{['imageEditController'];static get['requires'](){return[_0x39fefa];}['_isEditable'];constructor(_0x2e27c6){super(_0x2e27c6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x961c65){const _0x3532dc=z(_0x961c65);return _0x3cccae=>!(!_0x3cccae||!_0x3cccae['is']('element','imageBlock')&&!_0x3cccae['is']('element','imageInline'))&&(!!_0x3cccae['hasAttribute']('uploadcareImageId')||!!_0x3cccae['hasAttribute']('src')&&_0x3532dc(_0x3cccae['getAttribute']('src')));}(_0x2e27c6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2e63c1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2e63c1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x50e854=this['editor']['model']['document']['selection']['getSelectedElement']();_0x50e854&&(_0x50e854['is']('element','imageBlock')||_0x50e854['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x39fefa),_0x50e854),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class S extends _0x59176d{['refresh'](){const _0x38de0f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x38de0f&&(_0x38de0f['is']('element','imageBlock')||_0x38de0f['is']('element','imageInline')));}['execute'](_0x3f7bc8){const _0x31e910=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x179771=>{_0x179771['setAttributes'](_0x3f7bc8,_0x31e910),_0x179771['removeAttribute']('srcset',_0x31e910),_0x179771['removeAttribute']('sizes',_0x31e910);});}}class m extends _0x2b6d11{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x16110d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5bbffa}=this;_0x5bbffa['commands']['add']('uploadcareImageEdit',new Q(_0x5bbffa)),_0x5bbffa['commands']['add']('uploadcareImageReplace',new S(_0x5bbffa));}}class g extends _0x2b6d11{['_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 _0x2d4782=this['editor'];_0x2d4782['ui']['componentFactory']['add']('uploadcareImageEdit',_0x134a0a=>{const _0x1f7b21=_0x2d4782['commands']['get']('uploadcareImageEdit'),_0x4636fc=new _0x15678c(_0x134a0a),t=_0x134a0a['t'];return _0x4636fc['set']({'icon':_0x4fd8fc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4636fc['bind']('isEnabled')['to'](_0x1f7b21),_0x4636fc['bind']('isOn')['to'](_0x1f7b21,'isActive'),this['listenTo'](_0x4636fc,'execute',()=>{_0x2d4782['execute']('uploadcareImageEdit'),_0x2d4782['editing']['view']['focus']();}),_0x4636fc;}),this['_initConfig']();}['_initConfig'](){const _0x3c6ae9=_0x3f19e5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c6ae9),this['listenTo'](this['editor'],'destroy',()=>{_0x3c6ae9['remove']();});}}class UploadcareImageEdit extends _0x2b6d11{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Uploadcare,w as UploadcareCommand,o as UploadcareEditing,UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x384b05,Command as _0x5163d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x10dcd1,IconGooglePhotos as _0x233023,IconGoogleDrive as _0x4b4509,IconFacebook as _0x438a28,IconDropbox as _0x574277,IconUploadcareLink as _0x32594f,IconUploadcareImageUpload as _0x475b9f,IconError as _0x5a9918,IconUploadcareImageEdit as _0x3194c0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x586a1a,MenuBarMenuListItemButtonView as _0x316074,View as _0x50309c,FocusCycler as _0x415612,Dialog as _0x4af5cd,DialogViewPosition as _0x3caf1c,SpinnerView as _0x1b9c2e,IconView as _0xc7ecbe,Notification as _0x56a37f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xa2702b,DomEmitterMixin as _0x106bbc,global as _0x338233,getAncestors as _0x55687f,ObservableMixin as _0x288475,uid as _0x195b79,createElement as _0x1f8550}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1d11e6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5e8699,info as _0x7d58b1}from'@uploadcare/upload-client';import*as _0xa30f48 from'@uploadcare/file-uploader';var i=function(_0x39751d){return _0x39751d['Local']='local',_0x39751d['URL']='url',_0x39751d['Dropbox']='dropbox',_0x39751d['GDrive']='gdrive',_0x39751d['Facebook']='facebook',_0x39751d['GPhotos']='gphotos',_0x39751d['OneDrive']='onedrive',_0x39751d;}({});function _(_0x239b53,_0x5d8a18,_0x112edf){const t=_0x239b53['t'],_0x202fe9=_0x239b53['t'];switch(_0x5d8a18){case i['Local']:return{'text':_0x202fe9('Insert'===_0x112edf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x202fe9('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x112edf?_0x202fe9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x202fe9('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x112edf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5d8a18;}}class e extends _0x384b05{['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 _0x428d53=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c53a2;for(const _0x26ef01 in _0x428d53){const _0x1c1f08=_0x26ef01,_0x564163=_0x428d53[_0x1c1f08];if('uploadcareLicenseKeyValid'==_0x564163||'uploadcareLicenseKeyInvalid'==_0x564163||'uploadcareLicenseKeyExpired'==_0x564163||'uploadcareLicenseKeyDomainLimit'==_0x564163||'uploadcareLicenseKeyNotAllowed'==_0x564163||'uploadcareLicenseKeyEvaluationLimit'==_0x564163||'uploadcareLicenseKeyUsageLimit'==_0x564163){delete _0x428d53[_0x1c1f08],_0x1c53a2=_0x564163,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1c53a2&&_0x428d53['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1c53a2&&_0x428d53['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1c53a2&&_0x428d53['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1c53a2&&_0x428d53['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5b99cb}=this,_0x101ece=_0x5b99cb['commands']['get']('uploadcare');if(!_0x101ece)return;const _0x4aa1bf=this['_normalizeConfigSourceList'](_0x5b99cb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3c8fa4,_0x4a6843)=>{const _0x34cf3a=this['_getIntegrationKey'](_0x4a6843['type']);return _0x3c8fa4[_0x34cf3a]||(_0x3c8fa4[_0x34cf3a]=[]),_0x3c8fa4[_0x34cf3a]['push'](_0x4a6843),_0x3c8fa4;},{});_0x5b99cb['plugins']['has']('ImageInsertUI')&&_0x5b99cb['commands']['get']('uploadcare')&&Object['entries'](_0x4aa1bf)['forEach'](([_0x5b0747,_0x553741])=>{_0x5b99cb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b0747,'observable':()=>_0x101ece,'buttonViewCreator':()=>this['_createToolbarButton'](_0x553741),'formViewCreator':()=>this['_createDropdownButtons'](_0x553741),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x553741),'override':'assetManager'!==_0x5b0747});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1c9503){const {locale:_0x59ee07}=this['editor'];return _0x1c9503['map'](_0x4f3522=>{const _0x3659a7=_(_0x59ee07,_0x4f3522,'Insert');switch(_0x4f3522){case i['Local']:return{'icon':_0x475b9f,'type':i['Local'],..._0x3659a7};case i['URL']:return{'icon':_0x32594f,'type':i['URL'],..._0x3659a7};case i['Dropbox']:return{'icon':_0x574277,'type':i['Dropbox'],..._0x3659a7};case i['Facebook']:return{'icon':_0x438a28,'type':i['Facebook'],..._0x3659a7};case i['GDrive']:return{'icon':_0x4b4509,'type':i['GDrive'],..._0x3659a7};case i['GPhotos']:return{'icon':_0x233023,'type':i['GPhotos'],..._0x3659a7};case i['OneDrive']:return{'icon':_0x10dcd1,'type':i['OneDrive'],..._0x3659a7};}});}['_getIntegrationKey'](_0x442ad6){switch(_0x442ad6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3df638,_0x1ca8b1){const _0x2d1225=this['editor'],_0x32b5c8=new _0x3df638(_0x2d1225['locale']),_0x304b0c=_0x2d1225['commands']['get']('uploadcare');return _0x32b5c8['bind']('isEnabled')['to'](_0x304b0c),_0x32b5c8['on']('execute',()=>{_0x304b0c['execute'](_0x1ca8b1);}),_0x32b5c8;}['_createToolbarButton'](_0x30bae2){const {locale:_0x5c52c4}=this['editor'],_0x5517ad=this['editor']['plugins']['get']('ImageInsertUI'),_0xe3f2f3=_0x30bae2[0x0],_0xf51606=this['_createButton'](_0x586a1a,_0xe3f2f3['type']);return _0xf51606['icon']=_0xe3f2f3['icon'],_0xf51606['bind']('label')['to'](_0x5517ad,'isImageSelected',_0x937d56=>_(_0x5c52c4,_0xe3f2f3['type'],_0x937d56?'Replace':'Insert')['text']),_0xf51606['tooltip']=!0x0,_0xf51606;}['_createDropdownButtons'](_0x2fd422){const {locale:_0x1058cd}=this['editor'],_0x92c9e8=this['editor']['plugins']['get']('ImageInsertUI');return _0x2fd422['map'](_0x26d7dd=>{const _0x52f3b1=this['_createButton'](_0x586a1a,_0x26d7dd['type']);return _0x52f3b1['withText']=!0x0,_0x52f3b1['icon']=_0x26d7dd['icon'],_0x52f3b1['bind']('label')['to'](_0x92c9e8,'isImageSelected',_0x12f772=>_(_0x1058cd,_0x26d7dd['type'],_0x12f772?'Replace':'Insert')['text']),_0x52f3b1;});}['_createMenuBarButtons'](_0x3f29c5){return _0x3f29c5['map'](_0x577319=>{const _0x9f0f8c=this['_createButton'](_0x316074,_0x577319['type']);return _0x9f0f8c['icon']=_0x577319['icon'],_0x9f0f8c['label']=_0x577319['shortText'],_0x9f0f8c;});}}class F extends _0x50309c{['focusTracker'];['focusCycler'];constructor(_0x53bbf8){super(_0x53bbf8),this['focusTracker']=new _0xa2702b(),this['focusCycler']=new _0x415612({'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 H extends F{constructor(_0x411758,_0x24e9dd){super(_0x411758),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-'+_0x24e9dd}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function A(_0x5dd990,_0x4fe51f){const _0x3251f7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xea67fa=>_0xea67fa<=_0x4fe51f)['map'](_0x45c7d7=>_0x5dd990['replace'](/\/$/,'')+'/-/resize/'+_0x45c7d7+'x/\x20'+_0x45c7d7+'w');return{'imageFallbackUrl':_0x5dd990,'imageSources':[{'srcset':_0x3251f7['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4fe51f+'px)\x20100vw,\x20'+_0x4fe51f+'px','type':'image/webp'}]};}function x(_0x3a9d56,_0xb54f03,_0x509256){const _0x146638=_0x3a9d56['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x146638?parseInt(_0x146638[0x1],0xa):_0xb54f03,'height':_0x146638?parseInt(_0x146638[0x2],0xa):_0x509256};}function p(_0x245aa1,_0x32e389){const _0x1629d9=new(_0x106bbc())(),_0x2b9e0d=_0x245aa1['plugins']['get']('ImageUtils'),_0x4316b7=_0x245aa1['editing']['mapper']['toViewElement'](_0x32e389),_0x31e33b=_0x2b9e0d['findViewImgElement'](_0x4316b7),_0x2658f2=_0x245aa1['editing']['view']['domConverter']['viewToDom'](_0x31e33b),_0x5ba3c2=_0x32e389['getAttribute']('width'),_0xe997a9=_0x32e389['getAttribute']('height'),_0x54ebaa='image-processing';_0x245aa1['editing']['view']['change'](_0x12d5a0=>{_0x12d5a0['addClass'](_0x54ebaa,_0x4316b7),_0x12d5a0['setStyle']('aspect-ratio',_0x5ba3c2+'/'+_0xe997a9,_0x31e33b);}),_0x1629d9['listenTo'](_0x2658f2,'load',()=>{_0x1629d9['stopListening'](_0x2658f2,'load'),_0x245aa1['editing']['view']['change'](_0x44925e=>{_0x44925e['removeClass'](_0x54ebaa,_0x4316b7),_0x44925e['removeStyle']('aspect-ratio',_0x31e33b);});});}function S(_0x23d8b8){if(Array['isArray'](_0x23d8b8)){const _0x79374=_0x23d8b8['map'](S);return _0x3942e0=>_0x79374['some'](_0x3c476b=>_0x3c476b(_0x3942e0));}if('origin'==_0x23d8b8){const _0x464a82=_0x338233['window']['location']['origin'];return _0x18b3bc=>new URL(_0x18b3bc,_0x338233['document']['baseURI'])['origin']==_0x464a82;}return'function'==typeof _0x23d8b8?_0x23d8b8:_0x23d8b8 instanceof RegExp?_0x3e3c1c=>!(!_0x3e3c1c['match'](_0x23d8b8)&&!_0x3e3c1c['replace'](/^https?:\/\//,'')['match'](_0x23d8b8)):()=>!0x1;}function C(_0x5a189e,_0x14b6bf){return _0x55687f(_0x5a189e['target'])['includes'](_0x14b6bf);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x288475(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4a5a57,_0x1db378,_0x5f1d73){super(),this['_editor']=_0x4a5a57,this['_editing']=_0x1db378,this['_dialog']=_0x4a5a57['plugins']['get'](_0x4af5cd),this['_api']=_0x1db378['ctxElement']['getAPI'](),this['_type']=_0x5f1d73,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:_0x5a19eb,model:_0x56414b}=this['_editor'],_0x37eb56=_0x56414b['document']['selection']['getSelectedElement'](),_0x3d1340=_0x37eb56&&(_0x37eb56['is']('element','imageBlock')||_0x37eb56['is']('element','imageInline'));this['_formView']=new H(_0x5a19eb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x475b9f,'title':_(_0x5a19eb,this['_type'],_0x3d1340?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3caf1c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37cba0=>!C(_0x37cba0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x444e02}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x194892=>{const _0x4e1095=_0x444e02['length'];for(const _0x56075c of _0x444e02){const _0x40d917=_0x56075c===_0x444e02[_0x4e1095-0x1],{cdnUrl:_0x1a6d52,fileInfo:_0x13ecfd}=_0x56075c;if(!_0x1a6d52||!_0x13ecfd)continue;const {width:_0x279cd0,height:_0x7c1013}=_0x13ecfd['imageInfo'],_0x119618=x(_0x1a6d52,_0x279cd0,_0x7c1013),_0x9ec3da=A(_0x1a6d52,_0x119618['width']),_0x12ac10={'id':_0x13ecfd['uuid'],'type':'image','attributes':{'imageDimension':_0x119618,..._0x9ec3da}};this['_insertAsset'](_0x12ac10,_0x40d917,_0x194892);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x347466=>{'idle'===_0x347466['detail']['status']&&!_0x347466['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1b7dce,_0x326a6c,_0x7bc858){const _0x30e626=this['_editor']['model']['document']['selection'],_0x32fc28=_0x30e626['getSelectedElement'](),_0x2bf4d8=!(!_0x32fc28||!_0x32fc28['is']('element','imageInline'));_0x7bc858['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1b7dce,_0x2bf4d8),_0x326a6c||_0x7bc858['setSelection'](_0x30e626['getLastPosition']());}['_insertImage'](_0x14e827,_0x2eb465){const _0x5ed8f4=this['_editor'],{imageDimension:_0x382c13,imageFallbackUrl:_0x297c10,imageSources:_0x45a952}=_0x14e827['attributes'];_0x5ed8f4['execute']('insertImage',{'imageType':_0x2eb465?'imageInline':null,'source':{'uploadcareImageId':_0x14e827['id'],'src':_0x297c10,'sources':_0x45a952,..._0x382c13}});}}class w extends _0x5163d4{['_editing'];['_controller']=null;static get['requires'](){return[_0x4af5cd,o];}constructor(_0x542366){super(_0x542366),this['_editing']=_0x542366['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58ce06){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x58ce06);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5dc2b0,..._0x4ac71e}){return _0x5e8699(_0x5dc2b0,_0x4ac71e);}static['getInfo'](_0x52b487,_0x24bcb4){return _0x7d58b1(_0x52b487,_0x24bcb4);}}class f extends _0x384b05{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1d11e6,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x42af55=this['editor'];if(!!!_0x42af55['config']['get']('uploadcare'))return;_0x42af55['plugins']['get'](_0x1d11e6)['createUploadAdapter']=_0x10fc3a=>new Adapter(_0x10fc3a,_0x42af55),_0x42af55['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x114fe7,{imageElement:_0x45f4b8,data:_0x44c513})=>{_0x42af55['model']['change'](_0x58c441=>{_0x58c441['setAttribute']('uploadcareImageId',_0x44c513['uploadcareImageId'],_0x45f4b8);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x1e396c,_0x5b4706){this['loader']=_0x1e396c,this['editor']=_0x5b4706,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2a19bb=await this['loader']['file'];return j['upload']({'file':_0x2a19bb,'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':_0xf496a8=>{_0xf496a8&&_0xf496a8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xf496a8['value']);}})['then'](async _0x5c84e4=>{const {imageFallbackUrl:_0x37e5fb,imageSources:_0x3d0086}=A(_0x5c84e4['cdnUrl'],_0x5c84e4['imageInfo']['width']);return{'uploadcareImageId':_0x5c84e4['uuid'],'default':_0x37e5fb,'sources':_0x3d0086};})['catch'](()=>{const _0x1d525a=t('Cannot\x20upload\x20file:')+('\x20'+_0x2a19bb['name']+'.');return Promise['reject'](_0x1d525a);});}['abort'](){this['controller']['abort']();}}class o extends _0x384b05{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4af5cd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5d9f11){super(_0x5d9f11),this['ucContextId']=_0x195b79();}['init'](){const _0x4198b5=this['editor'];_0x4198b5['commands']['add']('uploadcare',new w(_0x4198b5));}['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 _0x40f44b=_0x338233['document']['querySelector']('input[uploadcare-file-input]');_0x40f44b&&_0x40f44b['remove']();}),async function(_0xfbec30){const _0x43825f=_0x42b4d6([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]),_0x274b86=0x535f8c3a,_0x2d97df=0x535819fa^_0x274b86,_0x421156=window[_0x42b4d6([0x44,0x61,0x74,0x65])][_0x42b4d6([0x6e,0x6f,0x77])](),_0x26dc7e=_0xfbec30[_0x42b4d6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x345698=new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca277=>{_0x26dc7e[_0x42b4d6([0x6f,0x6e,0x63,0x65])](_0x42b4d6([0x72,0x65,0x61,0x64,0x79]),_0x5ca277);}),_0x51e58c={[_0x42b4d6([0x6b,0x74,0x79])]:_0x42b4d6([0x45,0x43]),[_0x42b4d6([0x75,0x73,0x65])]:_0x42b4d6([0x73,0x69,0x67]),[_0x42b4d6([0x63,0x72,0x76])]:_0x42b4d6([0x50,0x2d,0x32,0x35,0x36]),[_0x42b4d6([0x78])]:_0x42b4d6([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]),[_0x42b4d6([0x79])]:_0x42b4d6([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]),[_0x42b4d6([0x61,0x6c,0x67])]:_0x42b4d6([0x45,0x53,0x32,0x35,0x36])},_0x105d55=_0x26dc7e[_0x42b4d6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42b4d6([0x67,0x65,0x74])](_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c054a(){let _0x36d00,_0x3a66b3=null,_0x2297a4=null;try{if(_0x105d55==_0x42b4d6([0x47,0x50,0x4c]))return _0x42b4d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36d00=_0x3e5125(),!_0x36d00)return _0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36d00[_0x42b4d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2297a4=_0x3cbf14(_0x36d00[_0x42b4d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36d00[_0x42b4d6([0x6a,0x74,0x69])])),await _0x42d22a()?_0x2294da()?_0x521068()?_0x42b4d6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x233912()?(_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42b4d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a66b3=_0x20d920(_0x42b4d6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28181e()):_0x42b4d6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42b4d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42b4d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x521068(){const _0x38c758=[_0x42b4d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42b4d6([0x74,0x72,0x69,0x61,0x6c])][_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x421156/0x3e8:0xe10*_0x2d97df;return _0x36d00[_0x42b4d6([0x65,0x78,0x70])]<_0x38c758;}function _0x2294da(){const _0x29d34c=_0x36d00[_0x42b4d6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29d34c&&(!!_0x29d34c[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x2a]))||!!_0x29d34c[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x55,0x50,0x4c,0x43])));}function _0x233912(){const _0x5629ac=_0x36d00[_0x42b4d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5629ac||0x0==_0x5629ac[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x388d61}=new URL(window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5629ac[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388d61))return!0x0;const _0x40366d=_0x388d61[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e]));return _0x5629ac[_0x42b4d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x563f99=>_0x563f99[_0x42b4d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b4d6([0x2a])))[_0x42b4d6([0x6d,0x61,0x70])](_0x458e63=>_0x458e63[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e])))[_0x42b4d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x221561=>_0x221561[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40366d[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42b4d6([0x6d,0x61,0x70])](_0x5d3a8c=>Array(_0x40366d[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d3a8c[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42b4d6([0x66,0x69,0x6c,0x6c])](_0x5d3a8c[0x0]===_0x42b4d6([0x2a])?_0x42b4d6([0x2a]):'')[_0x42b4d6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d3a8c))[_0x42b4d6([0x73,0x6f,0x6d,0x65])](_0xeefcae=>_0x40366d[_0x42b4d6([0x65,0x76,0x65,0x72,0x79])]((_0x1b5233,_0x1ec128)=>_0xeefcae[_0x1ec128]===_0x1b5233||_0xeefcae[_0x1ec128]===_0x42b4d6([0x2a])));}function _0x28181e(){return _0x3a66b3&&_0x2297a4?new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4299dd,_0x3ec2eb)=>{_0x3a66b3[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x4299dd,_0x3ec2eb),_0x2297a4[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3ff74f=>{_0x3ff74f!=_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])&&_0x4299dd(_0x3ff74f);},_0x3ec2eb);}):_0x3a66b3||_0x2297a4||_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cbf14(_0x1ec520,_0x626a2a){return new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3452aa=>{if(_0x28ad0c())return _0x3452aa(_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]));_0x39852b(),_0x26dc7e[_0x42b4d6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9a0e47=!0x1;const _0x3a7c1f=_0x195b79();function _0x12604a(_0x349e0b){return!!_0x349e0b&&(typeof _0x349e0b===_0x42b4d6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x349e0b===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x349e0b[_0x42b4d6([0x74,0x68,0x65,0x6e])]===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x349e0b[_0x42b4d6([0x63,0x61,0x74,0x63,0x68])]===_0x42b4d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x279ee0(_0x338442){_0x2c1114(_0x338442)[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x55c1b6=>{if(!_0x55c1b6||_0x55c1b6[_0x42b4d6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42b4d6([0x6f,0x6b]))return _0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1556ef(_0x34ec95(_0x3a7c1f+_0x626a2a))!=_0x55c1b6[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42b4d6([0x56,0x61,0x6c,0x69,0x64]);})[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x1d146d=>(_0x583604(),_0x1d146d),()=>{const _0x2fadd0=_0x2c162c();return null==_0x2fadd0?(_0x583604(),_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])):_0x42b4d6(_0x421156-_0x2fadd0>(0x7753083a^_0x274b86)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3452aa)[_0x42b4d6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2beae6=0x536962ba^_0x274b86;function _0x583604(){const _0x5d4087=_0x42b4d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1556ef(_0x34ec95(_0x1ec520)),_0x453c7d=_0xbd054b(_0x1556ef(window[_0x42b4d6([0x4d,0x61,0x74,0x68])][_0x42b4d6([0x63,0x65,0x69,0x6c])](_0x421156/_0x2beae6)));window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42b4d6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d4087,_0x453c7d);}function _0x2c162c(){const _0x18a707=_0x42b4d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1556ef(_0x34ec95(_0x1ec520)),_0x27d906=window[_0x42b4d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42b4d6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18a707);return _0x27d906?window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd054b(_0x27d906),0x10)*_0x2beae6:null;}function _0x2c1114(_0x11006a){return new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b0684,_0x48b8a1)=>{_0x11006a[_0x42b4d6([0x74,0x68,0x65,0x6e])](_0x3b0684,_0x48b8a1),window[_0x42b4d6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48b8a1,0x535e58fa^_0x274b86);});}}_0x26dc7e[_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d2398,_0x56a748)=>{if(_0x56a748[0x0]!=_0x1ec520)return _0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56a748[0x1]={..._0x56a748[0x1],[_0x42b4d6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a7c1f};},{[_0x42b4d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42b4d6([0x68,0x69,0x67,0x68])}),_0x26dc7e[_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4e97=>{_0x12604a(_0x3e4e97[_0x42b4d6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9a0e47=!0x0,_0x279ee0(_0x3e4e97[_0x42b4d6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42b4d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42b4d6([0x6c,0x6f,0x77])}),_0x345698[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>{_0x9a0e47||_0x3452aa(_0x42b4d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28ad0c(){return _0x26dc7e[_0x42b4d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42b4d6([0x76,0x69,0x65,0x77])][_0x42b4d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42b4d6([0x61,0x75,0x74,0x6f]);}function _0x39852b(){_0x26dc7e[_0x42b4d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42b4d6([0x76,0x69,0x65,0x77])][_0x42b4d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42b4d6([0x61,0x75,0x74,0x6f]);}}function _0x20d920(_0xb8fd9b){const _0x13469f=[new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x503b2e=>setTimeout(_0x503b2e,0x5356b2f6^_0x274b86)),_0x345698[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182cf2=>{let _0x56bcff=0x0;_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x6f,0x6e])](_0x42b4d6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x225a03,_0x98a618)=>{_0x98a618[0x0][_0x42b4d6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56bcff++,_0x56bcff==(0x535f89d2^_0x274b86)&&(_0x182cf2(),_0x225a03[_0x42b4d6([0x6f,0x66,0x66])]());});}))];return window[_0x42b4d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42b4d6([0x72,0x61,0x63,0x65])](_0x13469f)[_0x42b4d6([0x74,0x68,0x65,0x6e])](()=>_0xb8fd9b);}async function _0x1e8298(){await _0x345698,_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dbd4f,_0x26dc7e[_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x42b4d6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dbd4f,_0x26dc7e[_0x42b4d6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42b4d6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x148e0e(_0x4612c6){const _0x2d7bd3=_0x1b5e32();_0x26dc7e[_0x2d7bd3]=_0x42b4d6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4612c6,_0x4612c6!=_0x42b4d6([0x56,0x61,0x6c,0x69,0x64])&&_0x1e8298();}function _0x1b5e32(){const _0x109531=window[_0x42b4d6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42b4d6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42b4d6([0x6e,0x6f,0x77])]())[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42b4d6([0x2e]),'');let _0x445455=_0x42b4d6([0x68]);for(let _0xdd6810=0x0;_0xdd6810<_0x109531[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdd6810+=0x2){let _0x2ab80a=window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109531[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdd6810,_0xdd6810+0x2));_0x2ab80a>=_0x43825f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ab80a-=_0x43825f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x445455+=_0x43825f[_0x2ab80a];}return _0x445455;}function _0x3e5125(){const _0x435b9f=_0x105d55[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e]));if(0x3!=_0x435b9f[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x233809(_0x435b9f[0x1]);function _0x233809(_0x4e8715){const _0xf6db00=_0x678a11(_0x4e8715);return _0xf6db00&&_0x150b8b()?_0xf6db00:null;function _0x150b8b(){const _0x584330=_0xf6db00[_0x42b4d6([0x6a,0x74,0x69])],_0x2ea649=window[_0x42b4d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x584330[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584330[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8f7102={..._0xf6db00,[_0x42b4d6([0x6a,0x74,0x69])]:_0x584330[_0x42b4d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x584330[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8f7102[_0x42b4d6([0x76,0x63])],_0x34ec95(_0x8f7102)==_0x2ea649;}}}async function _0x42d22a(){let _0x25e7fe=!0x0;try{const _0x11ffa6=_0x105d55[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])](_0x42b4d6([0x2e])),[_0x2849e2,_0x788cf4,_0x30e848]=_0x11ffa6;return _0x5f485d(_0x2849e2),await _0x4665b8(_0x2849e2,_0x788cf4,_0x30e848),_0x25e7fe;}catch{return!0x1;}function _0x5f485d(_0x3412c5){const _0x9aa15a=_0x678a11(_0x3412c5);_0x9aa15a&&_0x9aa15a[_0x42b4d6([0x61,0x6c,0x67])]==_0x42b4d6([0x45,0x53,0x32,0x35,0x36])||(_0x25e7fe=!0x1);}async function _0x4665b8(_0x429af0,_0x58a879,_0x15d060){const _0x8a52f2=window[_0x42b4d6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42b4d6([0x66,0x72,0x6f,0x6d])](_0xc0e53(_0x15d060),_0x40aebc=>_0x40aebc[_0x42b4d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d21a6=new window[(_0x42b4d6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42b4d6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x429af0+_0x42b4d6([0x2e])+_0x58a879),_0x32cca4=window[_0x42b4d6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42b4d6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32cca4)return;const _0x1cc3da=await _0x32cca4[_0x42b4d6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42b4d6([0x6a,0x77,0x6b]),_0x51e58c,{[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x45,0x43,0x44,0x53,0x41]),[_0x42b4d6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42b4d6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32cca4[_0x42b4d6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x45,0x43,0x44,0x53,0x41]),[_0x42b4d6([0x68,0x61,0x73,0x68])]:{[_0x42b4d6([0x6e,0x61,0x6d,0x65])]:_0x42b4d6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1cc3da,_0x8a52f2,_0x5d21a6)||(_0x25e7fe=!0x1);}}function _0x678a11(_0x272bbc){return _0x272bbc[_0x42b4d6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42b4d6([0x65,0x79]))?JSON[_0x42b4d6([0x70,0x61,0x72,0x73,0x65])](_0xc0e53(_0x272bbc)):null;}function _0xc0e53(_0x49e943){return window[_0x42b4d6([0x61,0x74,0x6f,0x62])](_0x49e943[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42b4d6([0x2b]))[_0x42b4d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42b4d6([0x2f])));}function _0x34ec95(_0x29b354){let _0x30cd5e=0x1505;function _0x161bf0(_0x227a15){for(let _0x1ebe78=0x0;_0x1ebe78<_0x227a15[_0x42b4d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ebe78++){const _0x5c1441=_0x227a15[_0x42b4d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ebe78);_0x30cd5e=(_0x30cd5e<<0x5)+_0x30cd5e+_0x5c1441,_0x30cd5e&=_0x30cd5e;}}function _0x5b401e(_0x4c83af){Array[_0x42b4d6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c83af)?_0x4c83af[_0x42b4d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b401e):_0x4c83af&&typeof _0x4c83af==_0x42b4d6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42b4d6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c83af)[_0x42b4d6([0x73,0x6f,0x72,0x74])]()[_0x42b4d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15a84f,_0x50235c])=>{_0x161bf0(_0x15a84f),_0x5b401e(_0x50235c);}):_0x161bf0(window[_0x42b4d6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c83af));}return _0x5b401e(_0x29b354),_0x30cd5e>>>0x0;}function _0x1556ef(_0x3648e6){return _0x3648e6[_0x42b4d6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42b4d6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42b4d6([0x30]));}function _0xbd054b(_0x55b24c){return _0x55b24c[_0x42b4d6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42b4d6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42b4d6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dbd4f(){}function _0x42b4d6(_0x7b6404){return _0x7b6404['map'](_0x2b830a=>String['fromCharCode'](_0x2b830a))['join']('');}_0x148e0e(await _0x2c054a());}(this);}['_initSchema'](){const _0x40c704=this['editor']['model']['schema'];_0x40c704['isRegistered']('imageBlock')&&_0x40c704['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x40c704['isRegistered']('imageInline')&&_0x40c704['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1c2605=this['editor'];_0x1c2605['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1c2605['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1d48b0=>_0x1d48b0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5aa1bb=_0x1c2605['commands']['get']('replaceImageSource');_0x5aa1bb&&this['listenTo'](_0x5aa1bb,'cleanupImage',(_0x46e032,[_0x1d8d65,_0x1a2e47])=>{_0x1d8d65['removeAttribute']('uploadcareImageId',_0x1a2e47);});}['_initConfig'](){const _0x1efdac=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2c8775=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1f8550(_0x338233['document'],'uc-config',{..._0x1efdac,'pubkey':_0x2c8775,'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']=_0xaf8499=>{if('closeMax'==_0xaf8499)return'#uc-icon-arrow-down';},_0x338233['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1f8550(_0x338233['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x338233['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4faf3b=this['editor']['commands']['get']('insertImage');_0x4faf3b&&this['listenTo'](_0x4faf3b,'execute',()=>{const _0x4b9da6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b9da6&&_0x4b9da6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4b9da6);});});const _0x48a42f=this['editor']['commands']['get']('uploadcareImageReplace');_0x48a42f&&this['listenTo'](_0x48a42f,'execute',()=>{const _0x3b5b3e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b5b3e&&_0x3b5b3e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3b5b3e);});});}}class Uploadcare extends _0x384b05{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24c706){super(_0x24c706),_0x24c706['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xa30f48['defineComponents'](_0xa30f48),this['_defineLocale']();}['_defineLocale'](){const _0x1d68c2=this['editor']['config']['get']('uploadcare.locale'),_0x3b6a6c=this['editor']['locale']['contentLanguage'];_0x1d68c2&&_0xa30f48['defineLocale'](_0x3b6a6c,_0x1d68c2);}}class ii extends _0x50309c{constructor(_0x3ee113){super(_0x3ee113);const t=_0x3ee113['t'],_0x35ed1f=this['bindTemplate'],_0xfc097b=new _0x1b9c2e();_0xfc097b['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':[_0xfc097b,{'text':_0x35ed1f['to']('imageUploadProgress',_0x4eefc1=>t('Loading\x20image...')+'\x20('+(_0x4eefc1||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 ti extends _0x50309c{constructor(_0x13f8fa){super(_0x13f8fa);const t=_0x13f8fa['t'];this['set']('errorType',null);const _0x5a7aa5=new _0x586a1a(_0x13f8fa);_0x5a7aa5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a7aa5['withText']=!0x0,_0x5a7aa5['class']='ck-button-action',_0x5a7aa5['on']('execute',()=>{this['fire']('retry');}),_0x5a7aa5['bind']('isVisible')['to'](this,'errorType',_0xbd4002=>'NotFound'!==_0xbd4002);const _0x2824fb=new _0xc7ecbe();_0x2824fb['content']=_0x5a9918,_0x2824fb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5f28e6=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':[_0x2824fb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5f28e6['to']('errorType',_0x3056e4=>t('NotFound'!==_0x3056e4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a7aa5]},{'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 ei extends _0x50309c{constructor(_0x5f186b,_0x31d18d){super(_0x5f186b);const _0xc49faa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x31d18d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xc49faa['to']('imageSrc')}});}}class W extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x171d38,_0x179bf4,_0x4798b8){super(_0x171d38),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x171d38),this['_errorView']=new ti(_0x171d38),this['_editingView']=new ei(_0x171d38,_0x4798b8),this['_focusableView']=new _0x50309c(_0x171d38),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x179bf4),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'],_0xf35384=>{this['_addUploadcareImageEditorListeners'](_0xf35384);});}),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'](_0x52541e,_0x3e345d){const _0x590b68='uc-cloud-image-editor',_0x41a9d7=_0x52541e['querySelector'](_0x590b68);if(_0x41a9d7)return _0x3e345d(_0x41a9d7);const _0xfca188=new MutationObserver(_0xfb1ee4=>{const _0x38150f=_0xfb1ee4['filter'](_0x28f896=>_0x28f896['target']===_0x52541e&&_0x28f896['addedNodes']['length']>0x0&&_0x28f896['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x590b68);_0x38150f['length']&&(_0xfca188['disconnect'](),_0x3e345d(_0x38150f[0x0]['addedNodes'][0x0]));});_0xfca188['observe'](_0x52541e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x373873){_0x373873['addEventListener']('apply',_0x33c1dd=>{this['fire']('apply',{'imageSrc':_0x33c1dd['detail']['cdnUrl']});}),_0x373873['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x288475(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fe790,_0x1e48c4,_0x5c5eb0){super(),this['_editor']=_0x2fe790,this['_dialog']=_0x1e48c4,this['_imageElement']=_0x5c5eb0,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 _0x4866c5=this['_imageElement'],_0x26480f=_0x4866c5['getAttribute']('uploadcareImageId'),_0x59b1a9=_0x4866c5['getAttribute']('src');if(_0x26480f)await this['_loadImageInfo'](_0x26480f,_0x59b1a9);else{if(this['_imageCache']['has'](_0x59b1a9)){const _0xe7414c=this['_imageCache']['get'](_0x59b1a9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe7414c['url'],this['imageDimension']=_0xe7414c['dimension'],this['imageId']=_0xe7414c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ceadf}=this['_editor'],t=_0x5ceadf['t'],_0x5587bf=new W(_0x5ceadf,this['imageStatus'],this['_attributes']);_0x5587bf['bind']('status')['to'](this,'imageStatus'),_0x5587bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5587bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5587bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5587bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3194c0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5587bf,'position':_0x3caf1c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5587bf['focus']();},'onHide':()=>{_0x5587bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x27fc72=>!C(_0x27fc72,_0x5587bf['element'])}});}['_loadImageInfo'](_0x26fc7a,_0x4d596a){return j['getInfo'](_0x26fc7a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd35e1a=>{const {width:_0xc9f44a,height:_0x2e2215}=_0xd35e1a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d596a,this['imageDimension']={'width':_0xc9f44a,'height':_0x2e2215},this['imageId']=_0x26fc7a;})['catch'](_0x33e40f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33e40f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x42f515,_0x5c558d){return this['_getImageAsFile'](_0x42f515)['then'](_0x48b96f=>j['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':_0x5c558d['signal'],'file':_0x48b96f,'onProgress':_0x4f4c73=>{_0x4f4c73&&_0x4f4c73['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4f4c73['value']));}}))['then'](_0x2f0466=>{const {width:_0x588813,height:_0xf9c1c2}=_0x2f0466['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f0466['cdnUrl'],this['imageDimension']={'width':_0x588813,'height':_0xf9c1c2},this['imageId']=_0x2f0466['uuid'],this['imageUploadProgress']=null;const _0x3264f8=_0x42f515['getAttribute']('src');this['_imageCache']['set'](_0x3264f8,{'id':_0x2f0466['uuid'],'url':_0x2f0466['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x14df9c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14df9c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1e61ac,_0x376c27){_0x1e61ac['on']('apply',(_0xcc46bb,_0x124471)=>{this['_replaceImage'](_0x376c27,_0x124471['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1e61ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1e61ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ec343,_0x243931,_0x3f55a1){const _0x1ec8cf=this['_editor'],{width:_0x28d7f7,height:_0x3f0e08}=x(_0x243931,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x216871,imageSources:_0x2bc859}=A(_0x243931,_0x28d7f7);_0x1ec8cf['model']['change'](_0x5e98e5=>{if('$graveyard'===_0x5ec343['root']['rootName']){_0x1ec8cf['execute']('insertImage',{'imageType':_0x5ec343['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ec343['getAttributes']()),'uploadcareImageId':_0x3f55a1,'src':_0x216871,'sources':_0x2bc859,'width':_0x28d7f7,'height':_0x3f0e08}});const _0x1cf65b=_0x5ec343['getChildren']();_0x5ec343=_0x1ec8cf['model']['document']['selection']['getSelectedElement']();for(const _0x559334 of _0x1cf65b)_0x5e98e5['append'](_0x5e98e5['cloneElement'](_0x559334),_0x5ec343);}else _0x5e98e5['setSelection'](_0x5ec343,'on'),_0x1ec8cf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ec343['getAttributes']()),'uploadcareImageId':_0x3f55a1,'src':_0x216871,'sources':_0x2bc859,'width':_0x28d7f7,'height':_0x3f0e08},_0x5ec343);_0x5e98e5['setSelection'](_0x5ec343,'on');});}async['_getImageAsFile'](_0x52805d){const _0x3edbaa=_0x338233['window'],_0x4e39f2=_0x338233['document']['location']['href'],_0x6d3f9b=new _0x3edbaa['URL'](_0x52805d['getAttribute']('src'),_0x4e39f2);if('data:'===_0x6d3f9b['protocol']){const _0x3ed339=_0x6d3f9b['href']['split'](','),_0x2304a3=_0x3ed339[0x0]['match'](/:(.*?);/)[0x1],_0x447573=_0x2304a3['split']('/')[0x1],_0x175734=_0x3edbaa['atob'](_0x3ed339[_0x3ed339['length']-0x1]);let _0x1dcff6=_0x175734['length'];const _0x1b3f43=new _0x3edbaa['Uint8Array'](_0x1dcff6);for(;_0x1dcff6--;)_0x1b3f43[_0x1dcff6]=_0x175734['charCodeAt'](_0x1dcff6);return new _0x3edbaa['File']([_0x1b3f43],'image.'+_0x447573,{'type':_0x2304a3});}const _0x6b66ae=_0x6d3f9b['href']['split']('/'),_0x15eb75=_0x6b66ae[_0x6b66ae['length']-0x1],_0x2a53a2=_0x15eb75['split']('.')[0x1];return _0x3edbaa['fetch'](_0x6d3f9b['href'])['then'](_0x473123=>_0x473123['clone']()['blob']())['then'](_0x22ed5b=>new _0x3edbaa['File']([_0x22ed5b],_0x15eb75,{'type':'image/'+_0x2a53a2}));}}class O extends _0x5163d4{['imageEditController'];static get['requires'](){return[_0x4af5cd];}['_isEditable'];constructor(_0x5404e0){super(_0x5404e0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x14c9f1){const _0x371cb5=S(_0x14c9f1);return _0x21286c=>!(!_0x21286c||!_0x21286c['is']('element','imageBlock')&&!_0x21286c['is']('element','imageInline'))&&(!!_0x21286c['hasAttribute']('uploadcareImageId')||!!_0x21286c['hasAttribute']('src')&&_0x371cb5(_0x21286c['getAttribute']('src')));}(_0x5404e0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x38e5ea=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x38e5ea);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2830c1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2830c1&&(_0x2830c1['is']('element','imageBlock')||_0x2830c1['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4af5cd),_0x2830c1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x5163d4{['refresh'](){const _0xc5df39=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xc5df39&&(_0xc5df39['is']('element','imageBlock')||_0xc5df39['is']('element','imageInline')));}['execute'](_0x194ca9){const _0x42fb06=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x941249=>{_0x941249['setAttributes'](_0x194ca9,_0x42fb06),_0x941249['removeAttribute']('srcset',_0x42fb06),_0x941249['removeAttribute']('sizes',_0x42fb06);});}}class m extends _0x384b05{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x56a37f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5534cd}=this;_0x5534cd['commands']['add']('uploadcareImageEdit',new O(_0x5534cd)),_0x5534cd['commands']['add']('uploadcareImageReplace',new R(_0x5534cd));}}class g extends _0x384b05{['_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 _0x3fac4b=this['editor'];_0x3fac4b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ed331=>{const _0x3972bb=_0x3fac4b['commands']['get']('uploadcareImageEdit'),_0xfecd36=new _0x586a1a(_0x5ed331),t=_0x5ed331['t'];return _0xfecd36['set']({'icon':_0x3194c0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xfecd36['bind']('isEnabled')['to'](_0x3972bb),_0xfecd36['bind']('isOn')['to'](_0x3972bb,'isActive'),this['listenTo'](_0xfecd36,'execute',()=>{_0x3fac4b['execute']('uploadcareImageEdit'),_0x3fac4b['editing']['view']['focus']();}),_0xfecd36;}),this['_initConfig']();}['_initConfig'](){const _0x331773=_0x1f8550(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x331773),this['listenTo'](this['editor'],'destroy',()=>{_0x331773['remove']();});}}class UploadcareImageEdit extends _0x384b05{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Uploadcare,w as UploadcareCommand,o as UploadcareEditing,UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f 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':_0x100009=>0x1!=_0x100009}};
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':_0x8af871=>0x1!=_0x8af871}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fa933=>{const {af:{dictionary:_0x2e164b,getPluralForm:_0x5453fc}}={'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':_0x1c9ec3=>0x1!=_0x1c9ec3}};_0x3fa933['af']||={'dictionary':{},'getPluralForm':null},_0x3fa933['af']['dictionary']=Object['assign'](_0x3fa933['af']['dictionary'],_0x2e164b),_0x3fa933['af']['getPluralForm']=_0x5453fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33e3dc=>{const {af:{dictionary:_0x56ed72,getPluralForm:_0x3c3c0a}}={'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':_0x1d207c=>0x1!=_0x1d207c}};_0x33e3dc['af']||={'dictionary':{},'getPluralForm':null},_0x33e3dc['af']['dictionary']=Object['assign'](_0x33e3dc['af']['dictionary'],_0x56ed72),_0x33e3dc['af']['getPluralForm']=_0x3c3c0a;})(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':_0x468731=>0x0==_0x468731?0x0:0x1==_0x468731?0x1:0x2==_0x468731?0x2:_0x468731%0x64>=0x3&&_0x468731%0x64<=0xa?0x3:_0x468731%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':_0x356b22=>0x0==_0x356b22?0x0:0x1==_0x356b22?0x1:0x2==_0x356b22?0x2:_0x356b22%0x64>=0x3&&_0x356b22%0x64<=0xa?0x3:_0x356b22%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x284f0e=>{const {ar:{dictionary:_0xbd34c5,getPluralForm:_0x8b86d6}}={'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':_0xb2ef50=>0x0==_0xb2ef50?0x0:0x1==_0xb2ef50?0x1:0x2==_0xb2ef50?0x2:_0xb2ef50%0x64>=0x3&&_0xb2ef50%0x64<=0xa?0x3:_0xb2ef50%0x64>=0xb?0x4:0x5}};_0x284f0e['ar']||={'dictionary':{},'getPluralForm':null},_0x284f0e['ar']['dictionary']=Object['assign'](_0x284f0e['ar']['dictionary'],_0xbd34c5),_0x284f0e['ar']['getPluralForm']=_0x8b86d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x13ad6f=>{const {ar:{dictionary:_0x40e9b0,getPluralForm:_0x29bf1a}}={'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':_0x1260a6=>0x0==_0x1260a6?0x0:0x1==_0x1260a6?0x1:0x2==_0x1260a6?0x2:_0x1260a6%0x64>=0x3&&_0x1260a6%0x64<=0xa?0x3:_0x1260a6%0x64>=0xb?0x4:0x5}};_0x13ad6f['ar']||={'dictionary':{},'getPluralForm':null},_0x13ad6f['ar']['dictionary']=Object['assign'](_0x13ad6f['ar']['dictionary'],_0x40e9b0),_0x13ad6f['ar']['getPluralForm']=_0x29bf1a;})(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':_0xdb597a=>0x1!=_0xdb597a}};
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':_0x539d97=>0x1!=_0x539d97}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1bc058=>{const {ast:{dictionary:_0x253a44,getPluralForm:_0x220661}}={'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':_0x3d0327=>0x1!=_0x3d0327}};_0x1bc058['ast']||={'dictionary':{},'getPluralForm':null},_0x1bc058['ast']['dictionary']=Object['assign'](_0x1bc058['ast']['dictionary'],_0x253a44),_0x1bc058['ast']['getPluralForm']=_0x220661;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb84952=>{const {ast:{dictionary:_0x12a748,getPluralForm:_0x5a5d56}}={'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':_0x444606=>0x1!=_0x444606}};_0xb84952['ast']||={'dictionary':{},'getPluralForm':null},_0xb84952['ast']['dictionary']=Object['assign'](_0xb84952['ast']['dictionary'],_0x12a748),_0xb84952['ast']['getPluralForm']=_0x5a5d56;})(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':_0x13e7a9=>0x1!=_0x13e7a9}};
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':_0x25adb9=>0x1!=_0x25adb9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd56324=>{const {az:{dictionary:_0x3fea50,getPluralForm:_0x42bcbc}}={'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':_0x1e4469=>0x1!=_0x1e4469}};_0xd56324['az']||={'dictionary':{},'getPluralForm':null},_0xd56324['az']['dictionary']=Object['assign'](_0xd56324['az']['dictionary'],_0x3fea50),_0xd56324['az']['getPluralForm']=_0x42bcbc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x472bd0=>{const {az:{dictionary:_0x51cae5,getPluralForm:_0x50ca59}}={'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':_0x4c144b=>0x1!=_0x4c144b}};_0x472bd0['az']||={'dictionary':{},'getPluralForm':null},_0x472bd0['az']['dictionary']=Object['assign'](_0x472bd0['az']['dictionary'],_0x51cae5),_0x472bd0['az']['getPluralForm']=_0x50ca59;})(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':_0x2adb8f=>_0x2adb8f%0xa==0x1&&_0x2adb8f%0x64!=0xb?0x0:_0x2adb8f%0xa>=0x2&&_0x2adb8f%0xa<=0x4&&(_0x2adb8f%0x64<0xa||_0x2adb8f%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':_0x55370d=>_0x55370d%0xa==0x1&&_0x55370d%0x64!=0xb?0x0:_0x55370d%0xa>=0x2&&_0x55370d%0xa<=0x4&&(_0x55370d%0x64<0xa||_0x55370d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b1afe=>{const {be:{dictionary:_0x5753fe,getPluralForm:_0xc5f3c8}}={'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':_0x5315dd=>_0x5315dd%0xa==0x1&&_0x5315dd%0x64!=0xb?0x0:_0x5315dd%0xa>=0x2&&_0x5315dd%0xa<=0x4&&(_0x5315dd%0x64<0xa||_0x5315dd%0x64>=0x14)?0x1:0x2}};_0x3b1afe['be']||={'dictionary':{},'getPluralForm':null},_0x3b1afe['be']['dictionary']=Object['assign'](_0x3b1afe['be']['dictionary'],_0x5753fe),_0x3b1afe['be']['getPluralForm']=_0xc5f3c8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32ab20=>{const {be:{dictionary:_0x31b2e5,getPluralForm:_0x39c75f}}={'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':_0x3f87af=>_0x3f87af%0xa==0x1&&_0x3f87af%0x64!=0xb?0x0:_0x3f87af%0xa>=0x2&&_0x3f87af%0xa<=0x4&&(_0x3f87af%0x64<0xa||_0x3f87af%0x64>=0x14)?0x1:0x2}};_0x32ab20['be']||={'dictionary':{},'getPluralForm':null},_0x32ab20['be']['dictionary']=Object['assign'](_0x32ab20['be']['dictionary'],_0x31b2e5),_0x32ab20['be']['getPluralForm']=_0x39c75f;})(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':_0x484857=>0x1!=_0x484857}};
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':_0x43f7b1=>0x1!=_0x43f7b1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c5724=>{const {bg:{dictionary:_0x491e85,getPluralForm:_0x3f653b}}={'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':_0x56b0b4=>0x1!=_0x56b0b4}};_0x2c5724['bg']||={'dictionary':{},'getPluralForm':null},_0x2c5724['bg']['dictionary']=Object['assign'](_0x2c5724['bg']['dictionary'],_0x491e85),_0x2c5724['bg']['getPluralForm']=_0x3f653b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16b6e5=>{const {bg:{dictionary:_0x5aa572,getPluralForm:_0x8cea09}}={'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':_0x32b9c8=>0x1!=_0x32b9c8}};_0x16b6e5['bg']||={'dictionary':{},'getPluralForm':null},_0x16b6e5['bg']['dictionary']=Object['assign'](_0x16b6e5['bg']['dictionary'],_0x5aa572),_0x16b6e5['bg']['getPluralForm']=_0x8cea09;})(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':_0x3ade7c=>0x1!=_0x3ade7c}};
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':_0x21d46a=>0x1!=_0x21d46a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x897eb1=>{const {bn:{dictionary:_0x44fb5b,getPluralForm:_0x296613}}={'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':_0xd51878=>0x1!=_0xd51878}};_0x897eb1['bn']||={'dictionary':{},'getPluralForm':null},_0x897eb1['bn']['dictionary']=Object['assign'](_0x897eb1['bn']['dictionary'],_0x44fb5b),_0x897eb1['bn']['getPluralForm']=_0x296613;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd004f3=>{const {bn:{dictionary:_0x4669ab,getPluralForm:_0x38a45f}}={'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':_0xa99441=>0x1!=_0xa99441}};_0xd004f3['bn']||={'dictionary':{},'getPluralForm':null},_0xd004f3['bn']['dictionary']=Object['assign'](_0xd004f3['bn']['dictionary'],_0x4669ab),_0xd004f3['bn']['getPluralForm']=_0x38a45f;})(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':_0x5d5b34=>_0x5d5b34%0xa==0x1&&_0x5d5b34%0x64!=0xb?0x0:_0x5d5b34%0xa>=0x2&&_0x5d5b34%0xa<=0x4&&(_0x5d5b34%0x64<0xa||_0x5d5b34%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':_0x55fba7=>_0x55fba7%0xa==0x1&&_0x55fba7%0x64!=0xb?0x0:_0x55fba7%0xa>=0x2&&_0x55fba7%0xa<=0x4&&(_0x55fba7%0x64<0xa||_0x55fba7%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d7ae4=>{const {bs:{dictionary:_0x247818,getPluralForm:_0x3715c4}}={'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':_0x17a678=>_0x17a678%0xa==0x1&&_0x17a678%0x64!=0xb?0x0:_0x17a678%0xa>=0x2&&_0x17a678%0xa<=0x4&&(_0x17a678%0x64<0xa||_0x17a678%0x64>=0x14)?0x1:0x2}};_0x1d7ae4['bs']||={'dictionary':{},'getPluralForm':null},_0x1d7ae4['bs']['dictionary']=Object['assign'](_0x1d7ae4['bs']['dictionary'],_0x247818),_0x1d7ae4['bs']['getPluralForm']=_0x3715c4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22d749=>{const {bs:{dictionary:_0x47fa7a,getPluralForm:_0x8b0183}}={'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':_0x2259d6=>_0x2259d6%0xa==0x1&&_0x2259d6%0x64!=0xb?0x0:_0x2259d6%0xa>=0x2&&_0x2259d6%0xa<=0x4&&(_0x2259d6%0x64<0xa||_0x2259d6%0x64>=0x14)?0x1:0x2}};_0x22d749['bs']||={'dictionary':{},'getPluralForm':null},_0x22d749['bs']['dictionary']=Object['assign'](_0x22d749['bs']['dictionary'],_0x47fa7a),_0x22d749['bs']['getPluralForm']=_0x8b0183;})(window['CKEDITOR_TRANSLATIONS']||={});