@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.1 → 46.0.1-alpha.3

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 _0x55c661,Command as _0x4c9155}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x515012,IconGooglePhotos as _0x43dddd,IconGoogleDrive as _0x4bd3df,IconFacebook as _0x24eff3,IconDropbox as _0x17db33,IconUploadcareLink as _0x39bd36,IconUploadcareImageUpload as _0x4af373,IconError as _0xc78195,IconUploadcareImageEdit as _0x41b831}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x10f2e4,MenuBarMenuListItemButtonView as _0x3d5d77,View as _0xe95ecb,FocusCycler as _0x18713f,Dialog as _0x36cb27,DialogViewPosition as _0x5096fb,SpinnerView as _0x2a6eef,IconView as _0x368db7,Notification as _0x36c76c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x57497f,DomEmitterMixin as _0x4c6d45,global as _0x1c88f1,getAncestors as _0x1052aa,ObservableMixin as _0xf125ed,uid as _0x33928a,createElement as _0xf5c3fd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x131735}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x14a8bb,info as _0x4e8f8e}from'@uploadcare/upload-client';import*as _0x4dd902 from'@uploadcare/file-uploader';var i=function(_0x18d2d6){return _0x18d2d6['Local']='local',_0x18d2d6['URL']='url',_0x18d2d6['Dropbox']='dropbox',_0x18d2d6['GDrive']='gdrive',_0x18d2d6['Facebook']='facebook',_0x18d2d6['GPhotos']='gphotos',_0x18d2d6['OneDrive']='onedrive',_0x18d2d6;}({});function _(_0x56d468,_0x2ded1a,_0x185fba){const t=_0x56d468['t'],_0x13dd9b=_0x56d468['t'];switch(_0x2ded1a){case i['Local']:return{'text':_0x13dd9b('Insert'===_0x185fba?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x13dd9b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x185fba?_0x13dd9b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x13dd9b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x185fba?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x185fba?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x185fba?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x185fba?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x185fba?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ded1a;}}class e extends _0x55c661{['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 _0x228631=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11bd50;for(const _0x100e57 in _0x228631){const _0x102ab4=_0x100e57,_0x33730d=_0x228631[_0x102ab4];if('uploadcareLicenseKeyValid'==_0x33730d||'uploadcareLicenseKeyInvalid'==_0x33730d||'uploadcareLicenseKeyExpired'==_0x33730d||'uploadcareLicenseKeyDomainLimit'==_0x33730d||'uploadcareLicenseKeyNotAllowed'==_0x33730d||'uploadcareLicenseKeyEvaluationLimit'==_0x33730d||'uploadcareLicenseKeyTrialLimit'==_0x33730d||'uploadcareLicenseKeyUsageLimit'==_0x33730d){delete _0x228631[_0x102ab4],_0x11bd50=_0x33730d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x11bd50&&_0x228631['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x11bd50&&_0x228631['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x11bd50&&_0x228631['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x11bd50&&_0x228631['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x11bd50&&_0x228631['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x11bd50&&_0x228631['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x11bd50&&_0x228631['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3e2175}=this,_0x5e348c=_0x3e2175['commands']['get']('uploadcare');if(!_0x5e348c)return;const _0x7596e=this['_normalizeConfigSourceList'](_0x3e2175['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xf08970,_0x26dbe6)=>{const _0x1a92d4=this['_getIntegrationKey'](_0x26dbe6['type']);return _0xf08970[_0x1a92d4]||(_0xf08970[_0x1a92d4]=[]),_0xf08970[_0x1a92d4]['push'](_0x26dbe6),_0xf08970;},{});_0x3e2175['plugins']['has']('ImageInsertUI')&&_0x3e2175['commands']['get']('uploadcare')&&Object['entries'](_0x7596e)['forEach'](([_0x3804d3,_0x30d186])=>{_0x3e2175['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3804d3,'observable':()=>_0x5e348c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x30d186),'formViewCreator':()=>this['_createDropdownButtons'](_0x30d186),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x30d186),'override':'assetManager'!==_0x3804d3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x368381){const {locale:_0x30c16d}=this['editor'];return _0x368381['map'](_0x4a7159=>{const _0x447d39=_(_0x30c16d,_0x4a7159,'Insert');switch(_0x4a7159){case i['Local']:return{'icon':_0x4af373,'type':i['Local'],..._0x447d39};case i['URL']:return{'icon':_0x39bd36,'type':i['URL'],..._0x447d39};case i['Dropbox']:return{'icon':_0x17db33,'type':i['Dropbox'],..._0x447d39};case i['Facebook']:return{'icon':_0x24eff3,'type':i['Facebook'],..._0x447d39};case i['GDrive']:return{'icon':_0x4bd3df,'type':i['GDrive'],..._0x447d39};case i['GPhotos']:return{'icon':_0x43dddd,'type':i['GPhotos'],..._0x447d39};case i['OneDrive']:return{'icon':_0x515012,'type':i['OneDrive'],..._0x447d39};}});}['_getIntegrationKey'](_0x55f59c){switch(_0x55f59c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x11aa38,_0x4a38a5){const _0x38628e=this['editor'],_0x4f83ac=new _0x11aa38(_0x38628e['locale']),_0x270eec=_0x38628e['commands']['get']('uploadcare');return _0x4f83ac['bind']('isEnabled')['to'](_0x270eec),_0x4f83ac['on']('execute',()=>{_0x270eec['execute'](_0x4a38a5);}),_0x4f83ac;}['_createToolbarButton'](_0x31dbdf){const {locale:_0x463dcc}=this['editor'],_0xbc462f=this['editor']['plugins']['get']('ImageInsertUI'),_0x4b350d=_0x31dbdf[0x0],_0x301f0b=this['_createButton'](_0x10f2e4,_0x4b350d['type']);return _0x301f0b['icon']=_0x4b350d['icon'],_0x301f0b['bind']('label')['to'](_0xbc462f,'isImageSelected',_0x167e2f=>_(_0x463dcc,_0x4b350d['type'],_0x167e2f?'Replace':'Insert')['text']),_0x301f0b['tooltip']=!0x0,_0x301f0b;}['_createDropdownButtons'](_0x193316){const {locale:_0x292ceb}=this['editor'],_0x40e8d3=this['editor']['plugins']['get']('ImageInsertUI');return _0x193316['map'](_0x5e5c64=>{const _0x1c898f=this['_createButton'](_0x10f2e4,_0x5e5c64['type']);return _0x1c898f['withText']=!0x0,_0x1c898f['icon']=_0x5e5c64['icon'],_0x1c898f['bind']('label')['to'](_0x40e8d3,'isImageSelected',_0x17f1b4=>_(_0x292ceb,_0x5e5c64['type'],_0x17f1b4?'Replace':'Insert')['text']),_0x1c898f;});}['_createMenuBarButtons'](_0x25eb20){return _0x25eb20['map'](_0x4a4a91=>{const _0x183f6f=this['_createButton'](_0x3d5d77,_0x4a4a91['type']);return _0x183f6f['icon']=_0x4a4a91['icon'],_0x183f6f['label']=_0x4a4a91['shortText'],_0x183f6f;});}}class F extends _0xe95ecb{['focusTracker'];['focusCycler'];constructor(_0x570fa6){super(_0x570fa6),this['focusTracker']=new _0x57497f(),this['focusCycler']=new _0x18713f({'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 x extends F{constructor(_0x2729af,_0x411819){super(_0x2729af),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-'+_0x411819}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x2d4aff,_0xa3ad85){const _0x3a0afb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5e88b8=>_0x5e88b8<=_0xa3ad85)['map'](_0x5a1772=>_0x2d4aff['replace'](/\/$/,'')+'/-/resize/'+_0x5a1772+'x/\x20'+_0x5a1772+'w');return{'imageFallbackUrl':_0x2d4aff,'imageSources':[{'srcset':_0x3a0afb['join'](',\x20'),'sizes':'(max-width:\x20'+_0xa3ad85+'px)\x20100vw,\x20'+_0xa3ad85+'px','type':'image/webp'}]};}function C(_0x448e4a,_0x254ca6,_0x10a242){const _0x50b442=_0x448e4a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x50b442?parseInt(_0x50b442[0x1],0xa):_0x254ca6,'height':_0x50b442?parseInt(_0x50b442[0x2],0xa):_0x10a242};}function p(_0x37d2f7,_0x3193a7){const _0x59ee26=new(_0x4c6d45())(),_0x3c7ed6=_0x37d2f7['plugins']['get']('ImageUtils'),_0xbba2e=_0x37d2f7['editing']['mapper']['toViewElement'](_0x3193a7),_0x295572=_0x3c7ed6['findViewImgElement'](_0xbba2e),_0x33444f=_0x37d2f7['editing']['view']['domConverter']['viewToDom'](_0x295572),_0x3f68e5=_0x3193a7['getAttribute']('width'),_0x1306ff=_0x3193a7['getAttribute']('height'),_0x284817='image-processing';_0x37d2f7['editing']['view']['change'](_0x4488ef=>{_0x4488ef['addClass'](_0x284817,_0xbba2e),_0x4488ef['setStyle']('aspect-ratio',_0x3f68e5+'/'+_0x1306ff,_0x295572);}),_0x59ee26['listenTo'](_0x33444f,'load',()=>{_0x59ee26['stopListening'](_0x33444f,'load'),_0x37d2f7['editing']['view']['change'](_0x5929ea=>{_0x5929ea['removeClass'](_0x284817,_0xbba2e),_0x5929ea['removeStyle']('aspect-ratio',_0x295572);});});}function G(_0x47ba53){if(Array['isArray'](_0x47ba53)){const _0x2b2010=_0x47ba53['map'](G);return _0x572bd8=>_0x2b2010['some'](_0x2b84a5=>_0x2b84a5(_0x572bd8));}if('origin'==_0x47ba53){const _0x145408=_0x1c88f1['window']['location']['origin'];return _0x3d89a5=>new URL(_0x3d89a5,_0x1c88f1['document']['baseURI'])['origin']==_0x145408;}return'function'==typeof _0x47ba53?_0x47ba53:_0x47ba53 instanceof RegExp?_0x1cac69=>!(!_0x1cac69['match'](_0x47ba53)&&!_0x1cac69['replace'](/^https?:\/\//,'')['match'](_0x47ba53)):()=>!0x1;}function S(_0x24b8ec,_0x510bf3){return _0x1052aa(_0x24b8ec['target'])['includes'](_0x510bf3);}class n extends/* #__PURE__ -- @preserve */
24
- _0xf125ed(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x219d2f,_0x5cbb82,_0x3a346f){super(),this['_editor']=_0x219d2f,this['_editing']=_0x5cbb82,this['_dialog']=_0x219d2f['plugins']['get'](_0x36cb27),this['_api']=_0x5cbb82['ctxElement']['getAPI'](),this['_type']=_0x3a346f,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:_0x49e2b6,model:_0x148c06}=this['_editor'],_0x277527=_0x148c06['document']['selection']['getSelectedElement'](),_0x504bec=_0x277527&&(_0x277527['is']('element','imageBlock')||_0x277527['is']('element','imageInline'));this['_formView']=new x(_0x49e2b6,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4af373,'title':_(_0x49e2b6,this['_type'],_0x504bec?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5096fb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1dff3c=>!S(_0x1dff3c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x11137f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x34e0c3=>{const _0x487c51=_0x11137f['length'];for(const _0x47a17f of _0x11137f){const _0x2b33b5=_0x47a17f===_0x11137f[_0x487c51-0x1],{cdnUrl:_0x351b17,fileInfo:_0x1c1c08}=_0x47a17f;if(!_0x351b17||!_0x1c1c08)continue;const {width:_0x3fda13,height:_0x5e9d07}=_0x1c1c08['imageInfo'],_0xec2130=C(_0x351b17,_0x3fda13,_0x5e9d07),_0x2b43fb=k(_0x351b17,_0xec2130['width']),_0x4dd9e2={'id':_0x1c1c08['uuid'],'type':'image','attributes':{'imageDimension':_0xec2130,..._0x2b43fb}};this['_insertAsset'](_0x4dd9e2,_0x2b33b5,_0x34e0c3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x43ebbf=>{'idle'===_0x43ebbf['detail']['status']&&!_0x43ebbf['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5e1d8d,_0x5af9a7,_0x28224c){const _0x4eb426=this['_editor']['model']['document']['selection'],_0x196ad3=_0x4eb426['getSelectedElement'](),_0x288e8c=!(!_0x196ad3||!_0x196ad3['is']('element','imageInline'));_0x28224c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5e1d8d,_0x288e8c),_0x5af9a7||_0x28224c['setSelection'](_0x4eb426['getLastPosition']());}['_insertImage'](_0xe640a5,_0x397e3c){const _0x17f3cd=this['_editor'],{imageDimension:_0x4bcbed,imageFallbackUrl:_0x12f91b,imageSources:_0x36cc49}=_0xe640a5['attributes'];_0x17f3cd['execute']('insertImage',{'imageType':_0x397e3c?'imageInline':null,'source':{'uploadcareImageId':_0xe640a5['id'],'src':_0x12f91b,'sources':_0x36cc49,..._0x4bcbed}});}}class w extends _0x4c9155{['_editing'];['_controller']=null;static get['requires'](){return[_0x36cb27,o];}constructor(_0x4e6450){super(_0x4e6450),this['_editing']=_0x4e6450['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5936bb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5936bb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5d6331,publicKey:_0x29ed9e,signal:_0x334ea1,onProgress:_0x11da2}){return _0x14a8bb(_0x5d6331,{'publicKey':_0x29ed9e,'store':'auto','signal':_0x334ea1,'onProgress':_0x11da2});}static['getInfo'](_0x90c838,_0xa9bc5b){return _0x4e8f8e(_0x90c838,_0xa9bc5b);}}class f extends _0x55c661{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x131735,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x81351e=this['editor'];if(!!!_0x81351e['config']['get']('uploadcare'))return;_0x81351e['plugins']['get'](_0x131735)['createUploadAdapter']=_0x12eb9b=>new A(_0x12eb9b,_0x81351e),_0x81351e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5cb656,{imageElement:_0x29cbe9,data:_0x32a1b1})=>{_0x81351e['model']['change'](_0x568f6a=>{_0x568f6a['setAttribute']('uploadcareImageId',_0x32a1b1['uploadcareImageId'],_0x29cbe9);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x3bcbfd,_0x5047e5){this['loader']=_0x3bcbfd,this['editor']=_0x5047e5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3dc521=this['editor']['config']['get']('uploadcare.pubkey'),_0x11a4ef=await this['loader']['file'];return j['upload']({'file':_0x11a4ef,'publicKey':_0x3dc521,'signal':this['controller']['signal'],'onProgress':_0x41028a=>{_0x41028a&&_0x41028a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x41028a['value']);}})['then'](async _0x4f0cbe=>{const {imageFallbackUrl:_0xc81232,imageSources:_0x7276}=k(_0x4f0cbe['cdnUrl'],_0x4f0cbe['imageInfo']['width']);return{'uploadcareImageId':_0x4f0cbe['uuid'],'default':_0xc81232,'sources':_0x7276};})['catch'](()=>{const _0x3ac781=t('Cannot\x20upload\x20file:')+('\x20'+_0x11a4ef['name']+'.');return Promise['reject'](_0x3ac781);});}['abort'](){this['controller']['abort']();}}class o extends _0x55c661{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x36cb27];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x51257c){super(_0x51257c),this['ucContextId']=_0x33928a();}['init'](){const _0x3d13f3=this['editor'];_0x3d13f3['commands']['add']('uploadcare',new w(_0x3d13f3));}['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 _0x744272=_0x1c88f1['document']['querySelector']('input[uploadcare-file-input]');_0x744272&&_0x744272['remove']();}),async function(_0x3eee3d){const _0x256dcd=_0x20cd41([0x5a,0x4c,0x66,0x72,0x61,0x63,0x57,0x68,0x39,0x64,0x75,0x53,0x4b,0x77,0x4f,0x31,0x51,0x62,0x73,0x55,0x45,0x56,0x7a,0x30,0x58,0x49,0x35,0x54,0x38,0x50,0x59,0x76,0x69,0x79,0x41,0x4d,0x44,0x48,0x4e,0x32,0x6e,0x74,0x46,0x47,0x4a,0x67,0x43,0x6d,0x36,0x65,0x6c,0x70,0x78,0x6f,0x6b,0x34,0x52,0x37,0x33,0x42,0x6a,0x71]),_0x38056e=0x4ce62280,_0x2ee3a1=0x4ce14da0^_0x38056e,_0x5f4db6=window[_0x20cd41([0x44,0x61,0x74,0x65])][_0x20cd41([0x6e,0x6f,0x77])](),_0x5b2e99=_0x3eee3d[_0x20cd41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41ea23=new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abad4=>{_0x5b2e99[_0x20cd41([0x6f,0x6e,0x63,0x65])](_0x20cd41([0x72,0x65,0x61,0x64,0x79]),_0x1abad4);}),_0x3b7be9={[_0x20cd41([0x6b,0x74,0x79])]:_0x20cd41([0x45,0x43]),[_0x20cd41([0x75,0x73,0x65])]:_0x20cd41([0x73,0x69,0x67]),[_0x20cd41([0x63,0x72,0x76])]:_0x20cd41([0x50,0x2d,0x32,0x35,0x36]),[_0x20cd41([0x78])]:_0x20cd41([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]),[_0x20cd41([0x79])]:_0x20cd41([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]),[_0x20cd41([0x61,0x6c,0x67])]:_0x20cd41([0x45,0x53,0x32,0x35,0x36])},_0x4e066d=_0x5b2e99[_0x20cd41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20cd41([0x67,0x65,0x74])](_0x20cd41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2052ff(){let _0x207db8,_0x7ad8cd=null,_0x22672a=null;try{if(_0x4e066d==_0x20cd41([0x47,0x50,0x4c]))return _0x20cd41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x207db8=_0x482657(),!_0x207db8)return _0x20cd41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x207db8[_0x20cd41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22672a=_0x3c3140(_0x207db8[_0x20cd41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x207db8[_0x20cd41([0x6a,0x74,0x69])])),await _0x43b5a9()?_0x1ee46b()?_0x755b0c()?_0x20cd41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c2060()?(_0x207db8[_0x20cd41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20cd41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7ad8cd=_0x3e9cae(_0x20cd41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x207db8[_0x20cd41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20cd41([0x74,0x72,0x69,0x61,0x6c])&&(_0x7ad8cd=_0x3e9cae(_0x20cd41([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cbf74()):_0x20cd41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20cd41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20cd41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20cd41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x755b0c(){const _0x1c742e=[_0x20cd41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20cd41([0x74,0x72,0x69,0x61,0x6c])][_0x20cd41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x207db8[_0x20cd41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f4db6/0x3e8:0xe10*_0x2ee3a1;return _0x207db8[_0x20cd41([0x65,0x78,0x70])]<_0x1c742e;}function _0x1ee46b(){const _0x295f5d=_0x207db8[_0x20cd41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x295f5d&&(!!_0x295f5d[_0x20cd41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cd41([0x2a]))||!!_0x295f5d[_0x20cd41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cd41([0x55,0x50,0x4c,0x43])));}function _0x4c2060(){const _0x13c311=_0x207db8[_0x20cd41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13c311||0x0==_0x13c311[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4768bb}=new URL(window[_0x20cd41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x13c311[_0x20cd41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4768bb))return!0x0;const _0x30934d=_0x4768bb[_0x20cd41([0x73,0x70,0x6c,0x69,0x74])](_0x20cd41([0x2e]));return _0x13c311[_0x20cd41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36afb6=>_0x36afb6[_0x20cd41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20cd41([0x2a])))[_0x20cd41([0x6d,0x61,0x70])](_0x16b1a4=>_0x16b1a4[_0x20cd41([0x73,0x70,0x6c,0x69,0x74])](_0x20cd41([0x2e])))[_0x20cd41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x502676=>_0x502676[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30934d[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20cd41([0x6d,0x61,0x70])](_0x496bc5=>Array(_0x30934d[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x496bc5[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20cd41([0x66,0x69,0x6c,0x6c])](_0x496bc5[0x0]===_0x20cd41([0x2a])?_0x20cd41([0x2a]):'')[_0x20cd41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x496bc5))[_0x20cd41([0x73,0x6f,0x6d,0x65])](_0x58bc43=>_0x30934d[_0x20cd41([0x65,0x76,0x65,0x72,0x79])]((_0x453bce,_0x41a86a)=>_0x58bc43[_0x41a86a]===_0x453bce||_0x58bc43[_0x41a86a]===_0x20cd41([0x2a])));}function _0x1cbf74(){return _0x7ad8cd&&_0x22672a?new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57f4af,_0x2cfe48)=>{_0x7ad8cd[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x57f4af,_0x2cfe48),_0x22672a[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x5c37cb=>{_0x5c37cb!=_0x20cd41([0x56,0x61,0x6c,0x69,0x64])&&_0x57f4af(_0x5c37cb);},_0x2cfe48);}):_0x7ad8cd||_0x22672a||_0x20cd41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c3140(_0x3cf54e,_0x49b358){return new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1210cf=>{if(_0x215403())return _0x1210cf(_0x20cd41([0x56,0x61,0x6c,0x69,0x64]));_0x4d098c(),_0x5b2e99[_0x20cd41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20cd41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27c4c3=!0x1;const _0x1d7c38=_0x33928a();function _0x2435fd(_0x12b405){return!!_0x12b405&&(typeof _0x12b405===_0x20cd41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12b405===_0x20cd41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12b405[_0x20cd41([0x74,0x68,0x65,0x6e])]===_0x20cd41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12b405[_0x20cd41([0x63,0x61,0x74,0x63,0x68])]===_0x20cd41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45358f(_0x4a4bfe){_0x259fa9(_0x4a4bfe)[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x2a3afa=>{if(!_0x2a3afa||_0x2a3afa[_0x20cd41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20cd41([0x6f,0x6b]))return _0x20cd41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fa3d3(_0x3634e9(_0x1d7c38+_0x49b358))!=_0x2a3afa[_0x20cd41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20cd41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20cd41([0x56,0x61,0x6c,0x69,0x64]);})[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x47b4f3=>(_0x36c73a(),_0x47b4f3),()=>{const _0x1bc46c=_0x1a420e();return null==_0x1bc46c?(_0x36c73a(),_0x20cd41([0x56,0x61,0x6c,0x69,0x64])):_0x20cd41(_0x5f4db6-_0x1bc46c>(0x68eaa680^_0x38056e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x1210cf)[_0x20cd41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1210cf(_0x20cd41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16c59b=0x4cd0cc00^_0x38056e;function _0x36c73a(){const _0xd741a3=_0x20cd41([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa3d3(_0x3634e9(_0x3cf54e)),_0x53092d=_0x2acfaf(_0x1fa3d3(window[_0x20cd41([0x4d,0x61,0x74,0x68])][_0x20cd41([0x63,0x65,0x69,0x6c])](_0x5f4db6/_0x16c59b)));window[_0x20cd41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20cd41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd741a3,_0x53092d);}function _0x1a420e(){const _0x265e19=_0x20cd41([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa3d3(_0x3634e9(_0x3cf54e)),_0x2246d0=window[_0x20cd41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20cd41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265e19);return _0x2246d0?window[_0x20cd41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2acfaf(_0x2246d0),0x10)*_0x16c59b:null;}function _0x259fa9(_0x240669){return new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x287f66,_0x9b24f1)=>{_0x240669[_0x20cd41([0x74,0x68,0x65,0x6e])](_0x287f66,_0x9b24f1),window[_0x20cd41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9b24f1,0x4ce7f640^_0x38056e);});}}_0x5b2e99[_0x20cd41([0x6f,0x6e])](_0x20cd41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f3729,_0x5a880d)=>{if(_0x5a880d[0x0]!=_0x3cf54e)return _0x1210cf(_0x20cd41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a880d[0x1]={..._0x5a880d[0x1],[_0x20cd41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7c38};},{[_0x20cd41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20cd41([0x68,0x69,0x67,0x68])}),_0x5b2e99[_0x20cd41([0x6f,0x6e])](_0x20cd41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59c413=>{_0x2435fd(_0x59c413[_0x20cd41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27c4c3=!0x0,_0x45358f(_0x59c413[_0x20cd41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20cd41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20cd41([0x6c,0x6f,0x77])}),_0x41ea23[_0x20cd41([0x74,0x68,0x65,0x6e])](()=>{_0x27c4c3||_0x1210cf(_0x20cd41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x215403(){return _0x5b2e99[_0x20cd41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20cd41([0x76,0x69,0x65,0x77])][_0x20cd41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20cd41([0x61,0x75,0x74,0x6f]);}function _0x4d098c(){_0x5b2e99[_0x20cd41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20cd41([0x76,0x69,0x65,0x77])][_0x20cd41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20cd41([0x61,0x75,0x74,0x6f]);}}function _0x3e9cae(_0x537939){const _0x8e3645=[new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d1dac=>setTimeout(_0x2d1dac,0x4cef1c4c^_0x38056e)),_0x41ea23[_0x20cd41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4156b8=>{let _0x200ee1=0x0;_0x5b2e99[_0x20cd41([0x6d,0x6f,0x64,0x65,0x6c])][_0x20cd41([0x6f,0x6e])](_0x20cd41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10f846,_0xbef8b9)=>{_0xbef8b9[0x0][_0x20cd41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x200ee1++,_0x200ee1==(0x4ce62378^_0x38056e)&&(_0x4156b8(),_0x10f846[_0x20cd41([0x6f,0x66,0x66])]());});}))];return window[_0x20cd41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20cd41([0x72,0x61,0x63,0x65])](_0x8e3645)[_0x20cd41([0x74,0x68,0x65,0x6e])](()=>_0x537939);}async function _0x16dec5(){await _0x41ea23,_0x5b2e99[_0x20cd41([0x6d,0x6f,0x64,0x65,0x6c])][_0x20cd41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x185ba7,_0x5b2e99[_0x20cd41([0x6d,0x6f,0x64,0x65,0x6c])][_0x20cd41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x185ba7,_0x5b2e99[_0x20cd41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20cd41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51f06d(_0x1a3122){const _0x27642d=_0xb26875();_0x5b2e99[_0x27642d]=_0x20cd41([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a3122,_0x1a3122!=_0x20cd41([0x56,0x61,0x6c,0x69,0x64])&&_0x16dec5();}function _0xb26875(){const _0x346ca7=window[_0x20cd41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20cd41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20cd41([0x6e,0x6f,0x77])]())[_0x20cd41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20cd41([0x2e]),'');let _0x3e3428=_0x20cd41([0x5a]);for(let _0x592c69=0x0;_0x592c69<_0x346ca7[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x592c69+=0x2){let _0x40e87e=window[_0x20cd41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x346ca7[_0x20cd41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x592c69,_0x592c69+0x2));_0x40e87e>=_0x256dcd[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40e87e-=_0x256dcd[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e3428+=_0x256dcd[_0x40e87e];}return _0x3e3428;}function _0x482657(){const _0xc69876=_0x4e066d[_0x20cd41([0x73,0x70,0x6c,0x69,0x74])](_0x20cd41([0x2e]));if(0x3!=_0xc69876[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8735a8(_0xc69876[0x1]);function _0x8735a8(_0x46cf5b){const _0x3e542b=_0xf0501e(_0x46cf5b);return _0x3e542b&&_0x597794()?_0x3e542b:null;function _0x597794(){const _0x50cf71=_0x3e542b[_0x20cd41([0x6a,0x74,0x69])],_0x391759=window[_0x20cd41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50cf71[_0x20cd41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50cf71[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x366461={..._0x3e542b,[_0x20cd41([0x6a,0x74,0x69])]:_0x50cf71[_0x20cd41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50cf71[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x366461[_0x20cd41([0x76,0x63])],_0x3634e9(_0x366461)==_0x391759;}}}async function _0x43b5a9(){let _0x844bda=!0x0;try{const _0x438fc3=_0x4e066d[_0x20cd41([0x73,0x70,0x6c,0x69,0x74])](_0x20cd41([0x2e])),[_0x3a6623,_0x29b002,_0x24c3fe]=_0x438fc3;return _0x22224d(_0x3a6623),await _0x56553d(_0x3a6623,_0x29b002,_0x24c3fe),_0x844bda;}catch{return!0x1;}function _0x22224d(_0x167db4){const _0x2a8149=_0xf0501e(_0x167db4);_0x2a8149&&_0x2a8149[_0x20cd41([0x61,0x6c,0x67])]==_0x20cd41([0x45,0x53,0x32,0x35,0x36])||(_0x844bda=!0x1);}async function _0x56553d(_0x521423,_0x274ab1,_0x3095cf){const _0x368380=window[_0x20cd41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20cd41([0x66,0x72,0x6f,0x6d])](_0x1cca7f(_0x3095cf),_0x226371=>_0x226371[_0x20cd41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56c240=new window[(_0x20cd41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20cd41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x521423+_0x20cd41([0x2e])+_0x274ab1),_0x3c3555=window[_0x20cd41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20cd41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c3555)return;const _0x124e1f=await _0x3c3555[_0x20cd41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20cd41([0x6a,0x77,0x6b]),_0x3b7be9,{[_0x20cd41([0x6e,0x61,0x6d,0x65])]:_0x20cd41([0x45,0x43,0x44,0x53,0x41]),[_0x20cd41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20cd41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20cd41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c3555[_0x20cd41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20cd41([0x6e,0x61,0x6d,0x65])]:_0x20cd41([0x45,0x43,0x44,0x53,0x41]),[_0x20cd41([0x68,0x61,0x73,0x68])]:{[_0x20cd41([0x6e,0x61,0x6d,0x65])]:_0x20cd41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x124e1f,_0x368380,_0x56c240)||(_0x844bda=!0x1);}}function _0xf0501e(_0x3c7fd5){return _0x3c7fd5[_0x20cd41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20cd41([0x65,0x79]))?JSON[_0x20cd41([0x70,0x61,0x72,0x73,0x65])](_0x1cca7f(_0x3c7fd5)):null;}function _0x1cca7f(_0x2ac274){return window[_0x20cd41([0x61,0x74,0x6f,0x62])](_0x2ac274[_0x20cd41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20cd41([0x2b]))[_0x20cd41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20cd41([0x2f])));}function _0x3634e9(_0x2d6a91){let _0x1682ce=0x1505;function _0x4bec0b(_0x58416c){for(let _0x189538=0x0;_0x189538<_0x58416c[_0x20cd41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x189538++){const _0x4a10b1=_0x58416c[_0x20cd41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x189538);_0x1682ce=(_0x1682ce<<0x5)+_0x1682ce+_0x4a10b1,_0x1682ce&=_0x1682ce;}}function _0x1d091c(_0x52da6b){Array[_0x20cd41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52da6b)?_0x52da6b[_0x20cd41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d091c):_0x52da6b&&typeof _0x52da6b==_0x20cd41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20cd41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52da6b)[_0x20cd41([0x73,0x6f,0x72,0x74])]()[_0x20cd41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x231fc5,_0x535106])=>{_0x4bec0b(_0x231fc5),_0x1d091c(_0x535106);}):_0x4bec0b(window[_0x20cd41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52da6b));}return _0x1d091c(_0x2d6a91),_0x1682ce>>>0x0;}function _0x1fa3d3(_0x20cb85){return _0x20cb85[_0x20cd41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20cd41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20cd41([0x30]));}function _0x2acfaf(_0x3c89bf){return _0x3c89bf[_0x20cd41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20cd41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20cd41([0x6a,0x6f,0x69,0x6e])]('');}function _0x185ba7(){}function _0x20cd41(_0x100db6){return _0x100db6['map'](_0x1d3c24=>String['fromCharCode'](_0x1d3c24))['join']('');}_0x51f06d(await _0x2052ff());}(this);}['_initSchema'](){const _0x2370bd=this['editor']['model']['schema'];_0x2370bd['isRegistered']('imageBlock')&&_0x2370bd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2370bd['isRegistered']('imageInline')&&_0x2370bd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4e724e=this['editor'];_0x4e724e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4e724e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x504f74=>_0x504f74['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2eb823=_0x4e724e['commands']['get']('replaceImageSource');_0x2eb823&&this['listenTo'](_0x2eb823,'cleanupImage',(_0x3f34f0,[_0x3ed67d,_0x4f79cc])=>{_0x3ed67d['removeAttribute']('uploadcareImageId',_0x4f79cc);});}['_initConfig'](){const _0x56384a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x52858a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xf5c3fd(_0x1c88f1['document'],'uc-config',{..._0x56384a,'pubkey':_0x52858a,'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']=_0x25bf22=>{if('closeMax'==_0x25bf22)return'#uc-icon-arrow-down';},_0x1c88f1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xf5c3fd(_0x1c88f1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1c88f1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3f4b78=this['editor']['commands']['get']('insertImage');_0x3f4b78&&this['listenTo'](_0x3f4b78,'execute',()=>{const _0x392154=this['editor']['model']['document']['selection']['getSelectedElement']();_0x392154&&_0x392154['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x392154);});});const _0x96cf1c=this['editor']['commands']['get']('uploadcareImageReplace');_0x96cf1c&&this['listenTo'](_0x96cf1c,'execute',()=>{const _0x5d7374=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d7374&&_0x5d7374['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5d7374);});});}}class tt extends _0x55c661{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x180cab){super(_0x180cab),_0x180cab['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4dd902['defineComponents'](_0x4dd902);}}class ii extends _0xe95ecb{constructor(_0x3e3be6){super(_0x3e3be6);const t=_0x3e3be6['t'],_0xab6ac=this['bindTemplate'],_0x59e04a=new _0x2a6eef();_0x59e04a['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':[_0x59e04a,{'text':_0xab6ac['to']('imageUploadProgress',_0x589f39=>t('Loading\x20image...')+'\x20('+(_0x589f39||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 _0xe95ecb{constructor(_0x1a9c97){super(_0x1a9c97);const t=_0x1a9c97['t'];this['set']('errorType',null);const _0x294d19=new _0x10f2e4(_0x1a9c97);_0x294d19['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x294d19['withText']=!0x0,_0x294d19['class']='ck-button-action',_0x294d19['on']('execute',()=>{this['fire']('retry');}),_0x294d19['bind']('isVisible')['to'](this,'errorType',_0x1e80ff=>'NotFound'!==_0x1e80ff);const _0x4d0926=new _0x368db7();_0x4d0926['content']=_0xc78195,_0x4d0926['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2dafbe=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':[_0x4d0926,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2dafbe['to']('errorType',_0x3e36bc=>t('NotFound'!==_0x3e36bc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x294d19]},{'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 _0xe95ecb{constructor(_0x22199b,_0xbd2637){super(_0x22199b);const _0x42648b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xbd2637,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x42648b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x40163e,_0x10c751,_0x4d5296){super(_0x40163e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x40163e),this['_errorView']=new ti(_0x40163e),this['_editingView']=new ei(_0x40163e,_0x4d5296),this['_focusableView']=new _0xe95ecb(_0x40163e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x10c751),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'],_0x390c77=>{this['_addUploadcareImageEditorListeners'](_0x390c77);});}),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'](_0x571ccb,_0x1a9bdf){const _0x5e08c4='uc-cloud-image-editor',_0x4434f6=_0x571ccb['querySelector'](_0x5e08c4);if(_0x4434f6)return _0x1a9bdf(_0x4434f6);const _0xb1f281=new MutationObserver(_0x26fc49=>{const _0x57ce40=_0x26fc49['filter'](_0xa7c590=>_0xa7c590['target']===_0x571ccb&&_0xa7c590['addedNodes']['length']>0x0&&_0xa7c590['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5e08c4);_0x57ce40['length']&&(_0xb1f281['disconnect'](),_0x1a9bdf(_0x57ce40[0x0]['addedNodes'][0x0]));});_0xb1f281['observe'](_0x571ccb,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x16a653){_0x16a653['addEventListener']('apply',_0x6c06c2=>{this['fire']('apply',{'imageSrc':_0x6c06c2['detail']['cdnUrl']});}),_0x16a653['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0xf125ed(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x43d196,_0x27182a,_0x5dbf6a){super(),this['_editor']=_0x43d196,this['_dialog']=_0x27182a,this['_imageElement']=_0x5dbf6a,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 _0x485aa2=this['_imageElement'],_0xc18aa5=_0x485aa2['getAttribute']('uploadcareImageId'),_0x5583d5=_0x485aa2['getAttribute']('src');if(_0xc18aa5)await this['_loadImageInfo'](_0xc18aa5,_0x5583d5);else{if(this['_imageCache']['has'](_0x5583d5)){const _0x4adcfb=this['_imageCache']['get'](_0x5583d5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4adcfb['url'],this['imageDimension']=_0x4adcfb['dimension'],this['imageId']=_0x4adcfb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x28134e}=this['_editor'],t=_0x28134e['t'],_0x339bda=new X(_0x28134e,this['imageStatus'],this['_attributes']);_0x339bda['bind']('status')['to'](this,'imageStatus'),_0x339bda['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x339bda['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x339bda['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x339bda,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x41b831,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x339bda,'position':_0x5096fb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x339bda['focus']();},'onHide':()=>{_0x339bda['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x597013=>!S(_0x597013,_0x339bda['element'])}});}['_loadImageInfo'](_0x44ceb5,_0x2297b0){return j['getInfo'](_0x44ceb5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x584ddc=>{const {width:_0x3d4453,height:_0x2c45a0}=_0x584ddc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2297b0,this['imageDimension']={'width':_0x3d4453,'height':_0x2c45a0},this['imageId']=_0x44ceb5;})['catch'](_0x459c5c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x459c5c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xe8283b,_0x5186a9){return this['_getImageAsFile'](_0xe8283b)['then'](_0x206a65=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5186a9['signal'],'file':_0x206a65,'onProgress':_0x34c2e2=>{_0x34c2e2&&_0x34c2e2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x34c2e2['value']));}}))['then'](_0x57bcf1=>{const {width:_0x2113f0,height:_0x5ce9fb}=_0x57bcf1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57bcf1['cdnUrl'],this['imageDimension']={'width':_0x2113f0,'height':_0x5ce9fb},this['imageId']=_0x57bcf1['uuid'],this['imageUploadProgress']=null;const _0x23ae34=_0xe8283b['getAttribute']('src');this['_imageCache']['set'](_0x23ae34,{'id':_0x57bcf1['uuid'],'url':_0x57bcf1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x201016=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x201016['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x498d72,_0x45a7ac){_0x498d72['on']('apply',(_0x3e94e4,_0x2084b9)=>{this['_replaceImage'](_0x45a7ac,_0x2084b9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x498d72['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x498d72['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x56b2cd,_0x17f86e,_0x1a09f0){const _0x4679e7=this['_editor'],{width:_0x4f0bdc,height:_0xb01609}=C(_0x17f86e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x372dca,imageSources:_0x3bce23}=k(_0x17f86e,_0x4f0bdc);_0x4679e7['model']['change'](_0x5736b4=>{if('$graveyard'===_0x56b2cd['root']['rootName']){_0x4679e7['execute']('insertImage',{'imageType':_0x56b2cd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x56b2cd['getAttributes']()),'uploadcareImageId':_0x1a09f0,'src':_0x372dca,'sources':_0x3bce23,'width':_0x4f0bdc,'height':_0xb01609}});const _0x2ef7c2=_0x56b2cd['getChildren']();_0x56b2cd=_0x4679e7['model']['document']['selection']['getSelectedElement']();for(const _0x2c1ee7 of _0x2ef7c2)_0x5736b4['append'](_0x5736b4['cloneElement'](_0x2c1ee7),_0x56b2cd);}else _0x5736b4['setSelection'](_0x56b2cd,'on'),_0x4679e7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x56b2cd['getAttributes']()),'uploadcareImageId':_0x1a09f0,'src':_0x372dca,'sources':_0x3bce23,'width':_0x4f0bdc,'height':_0xb01609},_0x56b2cd);_0x5736b4['setSelection'](_0x56b2cd,'on');});}async['_getImageAsFile'](_0x3e7e87){const _0x3873ba=_0x1c88f1['window'],_0x13a8da=_0x1c88f1['document']['location']['href'],_0x11f8ce=new _0x3873ba['URL'](_0x3e7e87['getAttribute']('src'),_0x13a8da);if('data:'===_0x11f8ce['protocol']){const _0x10f623=_0x11f8ce['href']['split'](','),_0x3aa1fb=_0x10f623[0x0]['match'](/:(.*?);/)[0x1],_0x1d0efb=_0x3aa1fb['split']('/')[0x1],_0x530b09=_0x3873ba['atob'](_0x10f623[_0x10f623['length']-0x1]);let _0x47b284=_0x530b09['length'];const _0x4775e4=new _0x3873ba['Uint8Array'](_0x47b284);for(;_0x47b284--;)_0x4775e4[_0x47b284]=_0x530b09['charCodeAt'](_0x47b284);return new _0x3873ba['File']([_0x4775e4],'image.'+_0x1d0efb,{'type':_0x3aa1fb});}const _0x4b78dc=_0x11f8ce['href']['split']('/'),_0x4c9cde=_0x4b78dc[_0x4b78dc['length']-0x1],_0x42fae8=_0x4c9cde['split']('.')[0x1];return _0x3873ba['fetch'](_0x11f8ce['href'])['then'](_0x1c991f=>_0x1c991f['clone']()['blob']())['then'](_0x3d5467=>new _0x3873ba['File']([_0x3d5467],_0x4c9cde,{'type':'image/'+_0x42fae8}));}}class O extends _0x4c9155{['imageEditController'];static get['requires'](){return[_0x36cb27];}['_isEditable'];constructor(_0x2d2a70){super(_0x2d2a70),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4a7e2c){const _0x505345=G(_0x4a7e2c);return _0x991bb0=>!(!_0x991bb0||!_0x991bb0['is']('element','imageBlock')&&!_0x991bb0['is']('element','imageInline'))&&(!!_0x991bb0['hasAttribute']('uploadcareImageId')||!!_0x991bb0['hasAttribute']('src')&&_0x505345(_0x991bb0['getAttribute']('src')));}(_0x2d2a70['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x141f83=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x141f83);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x196f0d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x196f0d&&(_0x196f0d['is']('element','imageBlock')||_0x196f0d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x36cb27),_0x196f0d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4c9155{['refresh'](){const _0x2e705a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2e705a&&(_0x2e705a['is']('element','imageBlock')||_0x2e705a['is']('element','imageInline')));}['execute'](_0x3418a6){const _0x3d80bf=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1879f9=>{_0x1879f9['setAttributes'](_0x3418a6,_0x3d80bf),_0x1879f9['removeAttribute']('srcset',_0x3d80bf),_0x1879f9['removeAttribute']('sizes',_0x3d80bf);});}}class m extends _0x55c661{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x36c76c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41ab88}=this;_0x41ab88['commands']['add']('uploadcareImageEdit',new O(_0x41ab88)),_0x41ab88['commands']['add']('uploadcareImageReplace',new R(_0x41ab88));}}class g extends _0x55c661{['_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 _0x4b136f=this['editor'];_0x4b136f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x44270c=>{const _0x44f210=_0x4b136f['commands']['get']('uploadcareImageEdit'),_0x1e3886=new _0x10f2e4(_0x44270c),t=_0x44270c['t'];return _0x1e3886['set']({'icon':_0x41b831,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1e3886['bind']('isEnabled')['to'](_0x44f210),_0x1e3886['bind']('isOn')['to'](_0x44f210,'isActive'),this['listenTo'](_0x1e3886,'execute',()=>{_0x4b136f['execute']('uploadcareImageEdit'),_0x4b136f['editing']['view']['focus']();}),_0x1e3886;}),this['_initConfig']();}['_initConfig'](){const _0x83df7d=_0xf5c3fd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x83df7d),this['listenTo'](this['editor'],'destroy',()=>{_0x83df7d['remove']();});}}class et extends _0x55c661{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0xf6fbe1,Command as _0x7ffec3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x201032,IconGooglePhotos as _0x5d013a,IconGoogleDrive as _0x42c81d,IconFacebook as _0x46bda6,IconDropbox as _0x5d1059,IconUploadcareLink as _0x45f1b8,IconUploadcareImageUpload as _0x48a625,IconError as _0x227ea7,IconUploadcareImageEdit as _0x52ad18}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x19c8b2,MenuBarMenuListItemButtonView as _0x5b7ad4,View as _0x41df65,FocusCycler as _0x3ec888,Dialog as _0x4d119e,DialogViewPosition as _0x1681aa,SpinnerView as _0xd3f9c8,IconView as _0x238f30,Notification as _0x551a71}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x30d413,DomEmitterMixin as _0x45af71,global as _0x185c34,getAncestors as _0x4e988d,ObservableMixin as _0x153c81,uid as _0x5dd4e2,createElement as _0x119a96}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x23b034}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1db9f8,info as _0x4691eb}from'@uploadcare/upload-client';import*as _0x48c0cb from'@uploadcare/file-uploader';var i=function(_0xc1dbb9){return _0xc1dbb9['Local']='local',_0xc1dbb9['URL']='url',_0xc1dbb9['Dropbox']='dropbox',_0xc1dbb9['GDrive']='gdrive',_0xc1dbb9['Facebook']='facebook',_0xc1dbb9['GPhotos']='gphotos',_0xc1dbb9['OneDrive']='onedrive',_0xc1dbb9;}({});function _(_0x573494,_0x5caa15,_0x15a44f){const t=_0x573494['t'],_0x4d84eb=_0x573494['t'];switch(_0x5caa15){case i['Local']:return{'text':_0x4d84eb('Insert'===_0x15a44f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4d84eb('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x15a44f?_0x4d84eb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4d84eb('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x15a44f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x15a44f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x15a44f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x15a44f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x15a44f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5caa15;}}class e extends _0xf6fbe1{['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 _0x2c9706=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bab23;for(const _0x578078 in _0x2c9706){const _0x15d3df=_0x578078,_0x4ae007=_0x2c9706[_0x15d3df];if('uploadcareLicenseKeyValid'==_0x4ae007||'uploadcareLicenseKeyInvalid'==_0x4ae007||'uploadcareLicenseKeyExpired'==_0x4ae007||'uploadcareLicenseKeyDomainLimit'==_0x4ae007||'uploadcareLicenseKeyNotAllowed'==_0x4ae007||'uploadcareLicenseKeyEvaluationLimit'==_0x4ae007||'uploadcareLicenseKeyTrialLimit'==_0x4ae007||'uploadcareLicenseKeyUsageLimit'==_0x4ae007){delete _0x2c9706[_0x15d3df],_0x2bab23=_0x4ae007,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2bab23&&_0x2c9706['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2bab23&&_0x2c9706['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2bab23&&_0x2c9706['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2bab23&&_0x2c9706['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2bab23&&_0x2c9706['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2bab23&&_0x2c9706['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2bab23&&_0x2c9706['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2464b4}=this,_0xd4557=_0x2464b4['commands']['get']('uploadcare');if(!_0xd4557)return;const _0x385dcf=this['_normalizeConfigSourceList'](_0x2464b4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x505a38,_0x56046f)=>{const _0x541ae5=this['_getIntegrationKey'](_0x56046f['type']);return _0x505a38[_0x541ae5]||(_0x505a38[_0x541ae5]=[]),_0x505a38[_0x541ae5]['push'](_0x56046f),_0x505a38;},{});_0x2464b4['plugins']['has']('ImageInsertUI')&&_0x2464b4['commands']['get']('uploadcare')&&Object['entries'](_0x385dcf)['forEach'](([_0x3a66ba,_0x16d245])=>{_0x2464b4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3a66ba,'observable':()=>_0xd4557,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16d245),'formViewCreator':()=>this['_createDropdownButtons'](_0x16d245),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16d245),'override':'assetManager'!==_0x3a66ba});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xe66f24){const {locale:_0x39a9cf}=this['editor'];return _0xe66f24['map'](_0x2f71a9=>{const _0x54e4a2=_(_0x39a9cf,_0x2f71a9,'Insert');switch(_0x2f71a9){case i['Local']:return{'icon':_0x48a625,'type':i['Local'],..._0x54e4a2};case i['URL']:return{'icon':_0x45f1b8,'type':i['URL'],..._0x54e4a2};case i['Dropbox']:return{'icon':_0x5d1059,'type':i['Dropbox'],..._0x54e4a2};case i['Facebook']:return{'icon':_0x46bda6,'type':i['Facebook'],..._0x54e4a2};case i['GDrive']:return{'icon':_0x42c81d,'type':i['GDrive'],..._0x54e4a2};case i['GPhotos']:return{'icon':_0x5d013a,'type':i['GPhotos'],..._0x54e4a2};case i['OneDrive']:return{'icon':_0x201032,'type':i['OneDrive'],..._0x54e4a2};}});}['_getIntegrationKey'](_0x3fc48a){switch(_0x3fc48a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3ac569,_0x125df0){const _0x9b76e9=this['editor'],_0x180264=new _0x3ac569(_0x9b76e9['locale']),_0x4517ae=_0x9b76e9['commands']['get']('uploadcare');return _0x180264['bind']('isEnabled')['to'](_0x4517ae),_0x180264['on']('execute',()=>{_0x4517ae['execute'](_0x125df0);}),_0x180264;}['_createToolbarButton'](_0x285ffe){const {locale:_0x542f79}=this['editor'],_0x4d8745=this['editor']['plugins']['get']('ImageInsertUI'),_0x5e9fef=_0x285ffe[0x0],_0x2b92e8=this['_createButton'](_0x19c8b2,_0x5e9fef['type']);return _0x2b92e8['icon']=_0x5e9fef['icon'],_0x2b92e8['bind']('label')['to'](_0x4d8745,'isImageSelected',_0x1175a5=>_(_0x542f79,_0x5e9fef['type'],_0x1175a5?'Replace':'Insert')['text']),_0x2b92e8['tooltip']=!0x0,_0x2b92e8;}['_createDropdownButtons'](_0x430e7b){const {locale:_0x5ef681}=this['editor'],_0x262865=this['editor']['plugins']['get']('ImageInsertUI');return _0x430e7b['map'](_0x4aba64=>{const _0x23863=this['_createButton'](_0x19c8b2,_0x4aba64['type']);return _0x23863['withText']=!0x0,_0x23863['icon']=_0x4aba64['icon'],_0x23863['bind']('label')['to'](_0x262865,'isImageSelected',_0x20b1b2=>_(_0x5ef681,_0x4aba64['type'],_0x20b1b2?'Replace':'Insert')['text']),_0x23863;});}['_createMenuBarButtons'](_0x41136f){return _0x41136f['map'](_0x1b7031=>{const _0x1c762b=this['_createButton'](_0x5b7ad4,_0x1b7031['type']);return _0x1c762b['icon']=_0x1b7031['icon'],_0x1c762b['label']=_0x1b7031['shortText'],_0x1c762b;});}}class F extends _0x41df65{['focusTracker'];['focusCycler'];constructor(_0x4bda02){super(_0x4bda02),this['focusTracker']=new _0x30d413(),this['focusCycler']=new _0x3ec888({'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 x extends F{constructor(_0x571e38,_0x3eee68){super(_0x571e38),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-'+_0x3eee68}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x4cb456,_0x46df60){const _0x982f8a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xc352c1=>_0xc352c1<=_0x46df60)['map'](_0x58d551=>_0x4cb456['replace'](/\/$/,'')+'/-/resize/'+_0x58d551+'x/\x20'+_0x58d551+'w');return{'imageFallbackUrl':_0x4cb456,'imageSources':[{'srcset':_0x982f8a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x46df60+'px)\x20100vw,\x20'+_0x46df60+'px','type':'image/webp'}]};}function C(_0x298697,_0x5b71c1,_0x44b0e3){const _0x513812=_0x298697['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x513812?parseInt(_0x513812[0x1],0xa):_0x5b71c1,'height':_0x513812?parseInt(_0x513812[0x2],0xa):_0x44b0e3};}function p(_0x62688a,_0x3db338){const _0x2c5288=new(_0x45af71())(),_0x24760c=_0x62688a['plugins']['get']('ImageUtils'),_0x2cfe1b=_0x62688a['editing']['mapper']['toViewElement'](_0x3db338),_0x2832a2=_0x24760c['findViewImgElement'](_0x2cfe1b),_0x380283=_0x62688a['editing']['view']['domConverter']['viewToDom'](_0x2832a2),_0x52aba5=_0x3db338['getAttribute']('width'),_0x43b9c1=_0x3db338['getAttribute']('height'),_0x59cd2d='image-processing';_0x62688a['editing']['view']['change'](_0x149b2e=>{_0x149b2e['addClass'](_0x59cd2d,_0x2cfe1b),_0x149b2e['setStyle']('aspect-ratio',_0x52aba5+'/'+_0x43b9c1,_0x2832a2);}),_0x2c5288['listenTo'](_0x380283,'load',()=>{_0x2c5288['stopListening'](_0x380283,'load'),_0x62688a['editing']['view']['change'](_0x18da7d=>{_0x18da7d['removeClass'](_0x59cd2d,_0x2cfe1b),_0x18da7d['removeStyle']('aspect-ratio',_0x2832a2);});});}function G(_0x139f9f){if(Array['isArray'](_0x139f9f)){const _0x23636e=_0x139f9f['map'](G);return _0xa0b328=>_0x23636e['some'](_0x5713ac=>_0x5713ac(_0xa0b328));}if('origin'==_0x139f9f){const _0x1eea28=_0x185c34['window']['location']['origin'];return _0x35286c=>new URL(_0x35286c,_0x185c34['document']['baseURI'])['origin']==_0x1eea28;}return'function'==typeof _0x139f9f?_0x139f9f:_0x139f9f instanceof RegExp?_0x36ec83=>!(!_0x36ec83['match'](_0x139f9f)&&!_0x36ec83['replace'](/^https?:\/\//,'')['match'](_0x139f9f)):()=>!0x1;}function S(_0x807202,_0x5e5662){return _0x4e988d(_0x807202['target'])['includes'](_0x5e5662);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x153c81(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xd47f62,_0x56355f,_0x1478c7){super(),this['_editor']=_0xd47f62,this['_editing']=_0x56355f,this['_dialog']=_0xd47f62['plugins']['get'](_0x4d119e),this['_api']=_0x56355f['ctxElement']['getAPI'](),this['_type']=_0x1478c7,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:_0xd4eef7,model:_0x1f71ce}=this['_editor'],_0x12e461=_0x1f71ce['document']['selection']['getSelectedElement'](),_0x1183a6=_0x12e461&&(_0x12e461['is']('element','imageBlock')||_0x12e461['is']('element','imageInline'));this['_formView']=new x(_0xd4eef7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x48a625,'title':_(_0xd4eef7,this['_type'],_0x1183a6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1681aa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x54b75c=>!S(_0x54b75c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x398ef5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5c301b=>{const _0x339e80=_0x398ef5['length'];for(const _0x138800 of _0x398ef5){const _0x4eb2e6=_0x138800===_0x398ef5[_0x339e80-0x1],{cdnUrl:_0xcc88cf,fileInfo:_0x2ad3d2}=_0x138800;if(!_0xcc88cf||!_0x2ad3d2)continue;const {width:_0x2011cc,height:_0x23dd1b}=_0x2ad3d2['imageInfo'],_0x350807=C(_0xcc88cf,_0x2011cc,_0x23dd1b),_0x322d64=k(_0xcc88cf,_0x350807['width']),_0x9ae050={'id':_0x2ad3d2['uuid'],'type':'image','attributes':{'imageDimension':_0x350807,..._0x322d64}};this['_insertAsset'](_0x9ae050,_0x4eb2e6,_0x5c301b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x28e21f=>{'idle'===_0x28e21f['detail']['status']&&!_0x28e21f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xe7aa00,_0x212f47,_0x4a2ea6){const _0x5e219d=this['_editor']['model']['document']['selection'],_0x5990b1=_0x5e219d['getSelectedElement'](),_0x51f7f4=!(!_0x5990b1||!_0x5990b1['is']('element','imageInline'));_0x4a2ea6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xe7aa00,_0x51f7f4),_0x212f47||_0x4a2ea6['setSelection'](_0x5e219d['getLastPosition']());}['_insertImage'](_0x41b958,_0x2014ab){const _0x20c3b9=this['_editor'],{imageDimension:_0x39f150,imageFallbackUrl:_0x59c50f,imageSources:_0x10dc40}=_0x41b958['attributes'];_0x20c3b9['execute']('insertImage',{'imageType':_0x2014ab?'imageInline':null,'source':{'uploadcareImageId':_0x41b958['id'],'src':_0x59c50f,'sources':_0x10dc40,..._0x39f150}});}}class w extends _0x7ffec3{['_editing'];['_controller']=null;static get['requires'](){return[_0x4d119e,o];}constructor(_0x51f0a6){super(_0x51f0a6),this['_editing']=_0x51f0a6['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xeb7af0){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xeb7af0);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xec55d3,publicKey:_0x3dccf1,signal:_0x5e7aae,onProgress:_0x486591}){return _0x1db9f8(_0xec55d3,{'publicKey':_0x3dccf1,'store':'auto','signal':_0x5e7aae,'onProgress':_0x486591});}static['getInfo'](_0x3c88a1,_0x392dfe){return _0x4691eb(_0x3c88a1,_0x392dfe);}}class f extends _0xf6fbe1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x23b034,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22a10=this['editor'];if(!!!_0x22a10['config']['get']('uploadcare'))return;_0x22a10['plugins']['get'](_0x23b034)['createUploadAdapter']=_0x2dc2ae=>new A(_0x2dc2ae,_0x22a10),_0x22a10['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3cba2a,{imageElement:_0x2ddeb8,data:_0x277825})=>{_0x22a10['model']['change'](_0xf3160a=>{_0xf3160a['setAttribute']('uploadcareImageId',_0x277825['uploadcareImageId'],_0x2ddeb8);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x435e58,_0x5c50c0){this['loader']=_0x435e58,this['editor']=_0x5c50c0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x218551=this['editor']['config']['get']('uploadcare.pubkey'),_0x41720e=await this['loader']['file'];return j['upload']({'file':_0x41720e,'publicKey':_0x218551,'signal':this['controller']['signal'],'onProgress':_0x3d195a=>{_0x3d195a&&_0x3d195a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3d195a['value']);}})['then'](async _0x5aee61=>{const {imageFallbackUrl:_0x40ce47,imageSources:_0x360f89}=k(_0x5aee61['cdnUrl'],_0x5aee61['imageInfo']['width']);return{'uploadcareImageId':_0x5aee61['uuid'],'default':_0x40ce47,'sources':_0x360f89};})['catch'](()=>{const _0x1d3430=t('Cannot\x20upload\x20file:')+('\x20'+_0x41720e['name']+'.');return Promise['reject'](_0x1d3430);});}['abort'](){this['controller']['abort']();}}class o extends _0xf6fbe1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4d119e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1f5224){super(_0x1f5224),this['ucContextId']=_0x5dd4e2();}['init'](){const _0x108733=this['editor'];_0x108733['commands']['add']('uploadcare',new w(_0x108733));}['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 _0x8471b0=_0x185c34['document']['querySelector']('input[uploadcare-file-input]');_0x8471b0&&_0x8471b0['remove']();}),async function(_0x2fc982){const _0x27f1b5=_0x256fd8([0x72,0x51,0x4d,0x64,0x61,0x78,0x4f,0x77,0x33,0x6e,0x65,0x6a,0x39,0x52,0x63,0x71,0x30,0x57,0x43,0x4e,0x38,0x42,0x7a,0x34,0x70,0x68,0x73,0x79,0x4a,0x5a,0x6d,0x67,0x6f,0x36,0x4b,0x54,0x50,0x55,0x35,0x48,0x66,0x56,0x31,0x58,0x69,0x75,0x4c,0x53,0x6b,0x76,0x41,0x37,0x6c,0x62,0x74,0x32,0x49,0x46,0x47,0x44,0x45,0x59]),_0x43f030=0x3f6883ea,_0xec88a6=0x3f6fecba^_0x43f030,_0x547a01=window[_0x256fd8([0x44,0x61,0x74,0x65])][_0x256fd8([0x6e,0x6f,0x77])](),_0x2f5e54=_0x2fc982[_0x256fd8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x349103=new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x166d74=>{_0x2f5e54[_0x256fd8([0x6f,0x6e,0x63,0x65])](_0x256fd8([0x72,0x65,0x61,0x64,0x79]),_0x166d74);}),_0x3f0798={[_0x256fd8([0x6b,0x74,0x79])]:_0x256fd8([0x45,0x43]),[_0x256fd8([0x75,0x73,0x65])]:_0x256fd8([0x73,0x69,0x67]),[_0x256fd8([0x63,0x72,0x76])]:_0x256fd8([0x50,0x2d,0x32,0x35,0x36]),[_0x256fd8([0x78])]:_0x256fd8([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]),[_0x256fd8([0x79])]:_0x256fd8([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]),[_0x256fd8([0x61,0x6c,0x67])]:_0x256fd8([0x45,0x53,0x32,0x35,0x36])},_0x92daed=_0x2f5e54[_0x256fd8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x256fd8([0x67,0x65,0x74])](_0x256fd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57c9e7(){let _0x58dd2e,_0x435ab6=null,_0x554579=null;try{if(_0x92daed==_0x256fd8([0x47,0x50,0x4c]))return _0x256fd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58dd2e=_0x27775d(),!_0x58dd2e)return _0x256fd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58dd2e[_0x256fd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x554579=_0xff86ff(_0x58dd2e[_0x256fd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58dd2e[_0x256fd8([0x6a,0x74,0x69])])),await _0x437472()?_0x2d121c()?_0x42cc1b()?_0x256fd8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x152bae()?(_0x58dd2e[_0x256fd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256fd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x435ab6=_0xb99438(_0x256fd8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58dd2e[_0x256fd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256fd8([0x74,0x72,0x69,0x61,0x6c])&&(_0x435ab6=_0xb99438(_0x256fd8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21775d()):_0x256fd8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x256fd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x256fd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x256fd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42cc1b(){const _0x393b32=[_0x256fd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x256fd8([0x74,0x72,0x69,0x61,0x6c])][_0x256fd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58dd2e[_0x256fd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x547a01/0x3e8:0xe10*_0xec88a6;return _0x58dd2e[_0x256fd8([0x65,0x78,0x70])]<_0x393b32;}function _0x2d121c(){const _0x5ee23e=_0x58dd2e[_0x256fd8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee23e&&(!!_0x5ee23e[_0x256fd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256fd8([0x2a]))||!!_0x5ee23e[_0x256fd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256fd8([0x55,0x50,0x4c,0x43])));}function _0x152bae(){const _0x2cae08=_0x58dd2e[_0x256fd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2cae08||0x0==_0x2cae08[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f2452}=new URL(window[_0x256fd8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2cae08[_0x256fd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f2452))return!0x0;const _0x5f4cb6=_0x1f2452[_0x256fd8([0x73,0x70,0x6c,0x69,0x74])](_0x256fd8([0x2e]));return _0x2cae08[_0x256fd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d895=>_0x28d895[_0x256fd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256fd8([0x2a])))[_0x256fd8([0x6d,0x61,0x70])](_0x36c376=>_0x36c376[_0x256fd8([0x73,0x70,0x6c,0x69,0x74])](_0x256fd8([0x2e])))[_0x256fd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e69cc=>_0x5e69cc[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f4cb6[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256fd8([0x6d,0x61,0x70])](_0x20e522=>Array(_0x5f4cb6[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20e522[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256fd8([0x66,0x69,0x6c,0x6c])](_0x20e522[0x0]===_0x256fd8([0x2a])?_0x256fd8([0x2a]):'')[_0x256fd8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20e522))[_0x256fd8([0x73,0x6f,0x6d,0x65])](_0x498aa6=>_0x5f4cb6[_0x256fd8([0x65,0x76,0x65,0x72,0x79])]((_0x186e42,_0x1d0040)=>_0x498aa6[_0x1d0040]===_0x186e42||_0x498aa6[_0x1d0040]===_0x256fd8([0x2a])));}function _0x21775d(){return _0x435ab6&&_0x554579?new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d3d4a,_0x310d3e)=>{_0x435ab6[_0x256fd8([0x74,0x68,0x65,0x6e])](_0x4d3d4a,_0x310d3e),_0x554579[_0x256fd8([0x74,0x68,0x65,0x6e])](_0x3be5d2=>{_0x3be5d2!=_0x256fd8([0x56,0x61,0x6c,0x69,0x64])&&_0x4d3d4a(_0x3be5d2);},_0x310d3e);}):_0x435ab6||_0x554579||_0x256fd8([0x56,0x61,0x6c,0x69,0x64]);}}function _0xff86ff(_0x2663b0,_0x35ffa6){return new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f891=>{if(_0x179ee4())return _0x30f891(_0x256fd8([0x56,0x61,0x6c,0x69,0x64]));_0x36bad9(),_0x2f5e54[_0x256fd8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x256fd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598f2d=!0x1;const _0x1a93ea=_0x5dd4e2();function _0xd9b871(_0x1272b7){return!!_0x1272b7&&(typeof _0x1272b7===_0x256fd8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1272b7===_0x256fd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1272b7[_0x256fd8([0x74,0x68,0x65,0x6e])]===_0x256fd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1272b7[_0x256fd8([0x63,0x61,0x74,0x63,0x68])]===_0x256fd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6b925c(_0x5f4af3){_0x5df434(_0x5f4af3)[_0x256fd8([0x74,0x68,0x65,0x6e])](_0x1dd90d=>{if(!_0x1dd90d||_0x1dd90d[_0x256fd8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x256fd8([0x6f,0x6b]))return _0x256fd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a65eb(_0x2cb908(_0x1a93ea+_0x35ffa6))!=_0x1dd90d[_0x256fd8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x256fd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x256fd8([0x56,0x61,0x6c,0x69,0x64]);})[_0x256fd8([0x74,0x68,0x65,0x6e])](_0x375ecd=>(_0x36d3eb(),_0x375ecd),()=>{const _0x4b4a8b=_0x24b71f();return null==_0x4b4a8b?(_0x36d3eb(),_0x256fd8([0x56,0x61,0x6c,0x69,0x64])):_0x256fd8(_0x547a01-_0x4b4a8b>(0x1b6407ea^_0x43f030)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x256fd8([0x74,0x68,0x65,0x6e])](_0x30f891)[_0x256fd8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30f891(_0x256fd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23af32=0x3f5e6d6a^_0x43f030;function _0x36d3eb(){const _0x4e2407=_0x256fd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a65eb(_0x2cb908(_0x2663b0)),_0x1d768d=_0x4a16d6(_0x5a65eb(window[_0x256fd8([0x4d,0x61,0x74,0x68])][_0x256fd8([0x63,0x65,0x69,0x6c])](_0x547a01/_0x23af32)));window[_0x256fd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256fd8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e2407,_0x1d768d);}function _0x24b71f(){const _0xe43dd7=_0x256fd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a65eb(_0x2cb908(_0x2663b0)),_0x22a4c4=window[_0x256fd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256fd8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe43dd7);return _0x22a4c4?window[_0x256fd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a16d6(_0x22a4c4),0x10)*_0x23af32:null;}function _0x5df434(_0x52fc32){return new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd2078f,_0x119556)=>{_0x52fc32[_0x256fd8([0x74,0x68,0x65,0x6e])](_0xd2078f,_0x119556),window[_0x256fd8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x119556,0x3f69572a^_0x43f030);});}}_0x2f5e54[_0x256fd8([0x6f,0x6e])](_0x256fd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1466a4,_0x10b42e)=>{if(_0x10b42e[0x0]!=_0x2663b0)return _0x30f891(_0x256fd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10b42e[0x1]={..._0x10b42e[0x1],[_0x256fd8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a93ea};},{[_0x256fd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256fd8([0x68,0x69,0x67,0x68])}),_0x2f5e54[_0x256fd8([0x6f,0x6e])](_0x256fd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54825d=>{_0xd9b871(_0x54825d[_0x256fd8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598f2d=!0x0,_0x6b925c(_0x54825d[_0x256fd8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x256fd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256fd8([0x6c,0x6f,0x77])}),_0x349103[_0x256fd8([0x74,0x68,0x65,0x6e])](()=>{_0x598f2d||_0x30f891(_0x256fd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x179ee4(){return _0x2f5e54[_0x256fd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256fd8([0x76,0x69,0x65,0x77])][_0x256fd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x256fd8([0x61,0x75,0x74,0x6f]);}function _0x36bad9(){_0x2f5e54[_0x256fd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256fd8([0x76,0x69,0x65,0x77])][_0x256fd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x256fd8([0x61,0x75,0x74,0x6f]);}}function _0xb99438(_0x2d836f){const _0x1c8787=[new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b415d=>setTimeout(_0x3b415d,0x3f61bd26^_0x43f030)),_0x349103[_0x256fd8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cfc20=>{let _0x1d09ff=0x0;_0x2f5e54[_0x256fd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x256fd8([0x6f,0x6e])](_0x256fd8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24e831,_0x1b4058)=>{_0x1b4058[0x0][_0x256fd8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d09ff++,_0x1d09ff==(0x3f688212^_0x43f030)&&(_0x5cfc20(),_0x24e831[_0x256fd8([0x6f,0x66,0x66])]());});}))];return window[_0x256fd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x256fd8([0x72,0x61,0x63,0x65])](_0x1c8787)[_0x256fd8([0x74,0x68,0x65,0x6e])](()=>_0x2d836f);}async function _0x580fd9(){await _0x349103,_0x2f5e54[_0x256fd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x256fd8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15d260,_0x2f5e54[_0x256fd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x256fd8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15d260,_0x2f5e54[_0x256fd8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x256fd8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19757a(_0x315186){const _0x3bac3a=_0x4041b9();_0x2f5e54[_0x3bac3a]=_0x256fd8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x315186,_0x315186!=_0x256fd8([0x56,0x61,0x6c,0x69,0x64])&&_0x580fd9();}function _0x4041b9(){const _0x37614c=window[_0x256fd8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x256fd8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x256fd8([0x6e,0x6f,0x77])]())[_0x256fd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x256fd8([0x2e]),'');let _0x290d54=_0x256fd8([0x72]);for(let _0x3d7338=0x0;_0x3d7338<_0x37614c[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d7338+=0x2){let _0x3a12c8=window[_0x256fd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37614c[_0x256fd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d7338,_0x3d7338+0x2));_0x3a12c8>=_0x27f1b5[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a12c8-=_0x27f1b5[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x290d54+=_0x27f1b5[_0x3a12c8];}return _0x290d54;}function _0x27775d(){const _0x374ba5=_0x92daed[_0x256fd8([0x73,0x70,0x6c,0x69,0x74])](_0x256fd8([0x2e]));if(0x3!=_0x374ba5[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e3303(_0x374ba5[0x1]);function _0x2e3303(_0x3c1f23){const _0x571ca2=_0x365560(_0x3c1f23);return _0x571ca2&&_0x16e9f2()?_0x571ca2:null;function _0x16e9f2(){const _0x2e7958=_0x571ca2[_0x256fd8([0x6a,0x74,0x69])],_0x3f8288=window[_0x256fd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e7958[_0x256fd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e7958[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53ea8f={..._0x571ca2,[_0x256fd8([0x6a,0x74,0x69])]:_0x2e7958[_0x256fd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e7958[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53ea8f[_0x256fd8([0x76,0x63])],_0x2cb908(_0x53ea8f)==_0x3f8288;}}}async function _0x437472(){let _0x4cf725=!0x0;try{const _0x4a5e1f=_0x92daed[_0x256fd8([0x73,0x70,0x6c,0x69,0x74])](_0x256fd8([0x2e])),[_0x7566ab,_0x57cd3c,_0x481465]=_0x4a5e1f;return _0x416a42(_0x7566ab),await _0x5bf281(_0x7566ab,_0x57cd3c,_0x481465),_0x4cf725;}catch{return!0x1;}function _0x416a42(_0x54a4c5){const _0x1fb8eb=_0x365560(_0x54a4c5);_0x1fb8eb&&_0x1fb8eb[_0x256fd8([0x61,0x6c,0x67])]==_0x256fd8([0x45,0x53,0x32,0x35,0x36])||(_0x4cf725=!0x1);}async function _0x5bf281(_0x4f4772,_0x320e1c,_0x5acbbe){const _0x3ef66c=window[_0x256fd8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x256fd8([0x66,0x72,0x6f,0x6d])](_0x5b7999(_0x5acbbe),_0x3f35d1=>_0x3f35d1[_0x256fd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cb4ba=new window[(_0x256fd8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x256fd8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f4772+_0x256fd8([0x2e])+_0x320e1c),_0x4b40a2=window[_0x256fd8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x256fd8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b40a2)return;const _0x32157a=await _0x4b40a2[_0x256fd8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x256fd8([0x6a,0x77,0x6b]),_0x3f0798,{[_0x256fd8([0x6e,0x61,0x6d,0x65])]:_0x256fd8([0x45,0x43,0x44,0x53,0x41]),[_0x256fd8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x256fd8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x256fd8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b40a2[_0x256fd8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x256fd8([0x6e,0x61,0x6d,0x65])]:_0x256fd8([0x45,0x43,0x44,0x53,0x41]),[_0x256fd8([0x68,0x61,0x73,0x68])]:{[_0x256fd8([0x6e,0x61,0x6d,0x65])]:_0x256fd8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32157a,_0x3ef66c,_0x2cb4ba)||(_0x4cf725=!0x1);}}function _0x365560(_0x55e1b8){return _0x55e1b8[_0x256fd8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x256fd8([0x65,0x79]))?JSON[_0x256fd8([0x70,0x61,0x72,0x73,0x65])](_0x5b7999(_0x55e1b8)):null;}function _0x5b7999(_0x585296){return window[_0x256fd8([0x61,0x74,0x6f,0x62])](_0x585296[_0x256fd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x256fd8([0x2b]))[_0x256fd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x256fd8([0x2f])));}function _0x2cb908(_0x3be1c6){let _0x4f5ee8=0x1505;function _0x27a9ae(_0x18f280){for(let _0x118f20=0x0;_0x118f20<_0x18f280[_0x256fd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x118f20++){const _0x11aa64=_0x18f280[_0x256fd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x118f20);_0x4f5ee8=(_0x4f5ee8<<0x5)+_0x4f5ee8+_0x11aa64,_0x4f5ee8&=_0x4f5ee8;}}function _0x1ec3ca(_0x285bcf){Array[_0x256fd8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x285bcf)?_0x285bcf[_0x256fd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ec3ca):_0x285bcf&&typeof _0x285bcf==_0x256fd8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x256fd8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x285bcf)[_0x256fd8([0x73,0x6f,0x72,0x74])]()[_0x256fd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d0dda,_0x51b385])=>{_0x27a9ae(_0x3d0dda),_0x1ec3ca(_0x51b385);}):_0x27a9ae(window[_0x256fd8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x285bcf));}return _0x1ec3ca(_0x3be1c6),_0x4f5ee8>>>0x0;}function _0x5a65eb(_0x5d8e0f){return _0x5d8e0f[_0x256fd8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x256fd8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x256fd8([0x30]));}function _0x4a16d6(_0x10e370){return _0x10e370[_0x256fd8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x256fd8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x256fd8([0x6a,0x6f,0x69,0x6e])]('');}function _0x15d260(){}function _0x256fd8(_0x575f40){return _0x575f40['map'](_0x350187=>String['fromCharCode'](_0x350187))['join']('');}_0x19757a(await _0x57c9e7());}(this);}['_initSchema'](){const _0x528410=this['editor']['model']['schema'];_0x528410['isRegistered']('imageBlock')&&_0x528410['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x528410['isRegistered']('imageInline')&&_0x528410['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x44e282=this['editor'];_0x44e282['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x44e282['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1b9243=>_0x1b9243['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x7aaa04=_0x44e282['commands']['get']('replaceImageSource');_0x7aaa04&&this['listenTo'](_0x7aaa04,'cleanupImage',(_0x2228d9,[_0x1b1b3c,_0x3620d3])=>{_0x1b1b3c['removeAttribute']('uploadcareImageId',_0x3620d3);});}['_initConfig'](){const _0x2eba45=this['editor']['config']['get']('uploadcare.uploader')||{},_0x357b34=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x119a96(_0x185c34['document'],'uc-config',{..._0x2eba45,'pubkey':_0x357b34,'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']=_0xb6a9c=>{if('closeMax'==_0xb6a9c)return'#uc-icon-arrow-down';},_0x185c34['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x119a96(_0x185c34['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x185c34['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x50f643=this['editor']['commands']['get']('insertImage');_0x50f643&&this['listenTo'](_0x50f643,'execute',()=>{const _0x4c4673=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c4673&&_0x4c4673['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4c4673);});});const _0x4873c2=this['editor']['commands']['get']('uploadcareImageReplace');_0x4873c2&&this['listenTo'](_0x4873c2,'execute',()=>{const _0x324acd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x324acd&&_0x324acd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x324acd);});});}}class tt extends _0xf6fbe1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x15cf2b){super(_0x15cf2b),_0x15cf2b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x48c0cb['defineComponents'](_0x48c0cb);}}class ii extends _0x41df65{constructor(_0x16fbbc){super(_0x16fbbc);const t=_0x16fbbc['t'],_0x2c5804=this['bindTemplate'],_0x519816=new _0xd3f9c8();_0x519816['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':[_0x519816,{'text':_0x2c5804['to']('imageUploadProgress',_0x94d48b=>t('Loading\x20image...')+'\x20('+(_0x94d48b||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 _0x41df65{constructor(_0x60f71d){super(_0x60f71d);const t=_0x60f71d['t'];this['set']('errorType',null);const _0x49f67d=new _0x19c8b2(_0x60f71d);_0x49f67d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x49f67d['withText']=!0x0,_0x49f67d['class']='ck-button-action',_0x49f67d['on']('execute',()=>{this['fire']('retry');}),_0x49f67d['bind']('isVisible')['to'](this,'errorType',_0x5174d5=>'NotFound'!==_0x5174d5);const _0x37f0f8=new _0x238f30();_0x37f0f8['content']=_0x227ea7,_0x37f0f8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xddad08=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':[_0x37f0f8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xddad08['to']('errorType',_0x97c1ad=>t('NotFound'!==_0x97c1ad?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x49f67d]},{'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 _0x41df65{constructor(_0x3edb69,_0x4cf61){super(_0x3edb69);const _0x38157b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4cf61,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x38157b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x35454b,_0x113dcb,_0xeaf221){super(_0x35454b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x35454b),this['_errorView']=new ti(_0x35454b),this['_editingView']=new ei(_0x35454b,_0xeaf221),this['_focusableView']=new _0x41df65(_0x35454b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x113dcb),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'],_0x280629=>{this['_addUploadcareImageEditorListeners'](_0x280629);});}),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'](_0x102c75,_0x589d30){const _0x5303a5='uc-cloud-image-editor',_0x2b1971=_0x102c75['querySelector'](_0x5303a5);if(_0x2b1971)return _0x589d30(_0x2b1971);const _0xc6f28c=new MutationObserver(_0x439659=>{const _0x45f4b1=_0x439659['filter'](_0x2cded6=>_0x2cded6['target']===_0x102c75&&_0x2cded6['addedNodes']['length']>0x0&&_0x2cded6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5303a5);_0x45f4b1['length']&&(_0xc6f28c['disconnect'](),_0x589d30(_0x45f4b1[0x0]['addedNodes'][0x0]));});_0xc6f28c['observe'](_0x102c75,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4966ec){_0x4966ec['addEventListener']('apply',_0x31212d=>{this['fire']('apply',{'imageSrc':_0x31212d['detail']['cdnUrl']});}),_0x4966ec['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x153c81(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2b76a5,_0x1d51a6,_0x5444e6){super(),this['_editor']=_0x2b76a5,this['_dialog']=_0x1d51a6,this['_imageElement']=_0x5444e6,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 _0x1d6042=this['_imageElement'],_0x2b5b4d=_0x1d6042['getAttribute']('uploadcareImageId'),_0x1a8109=_0x1d6042['getAttribute']('src');if(_0x2b5b4d)await this['_loadImageInfo'](_0x2b5b4d,_0x1a8109);else{if(this['_imageCache']['has'](_0x1a8109)){const _0x3e5eef=this['_imageCache']['get'](_0x1a8109);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e5eef['url'],this['imageDimension']=_0x3e5eef['dimension'],this['imageId']=_0x3e5eef['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13d424}=this['_editor'],t=_0x13d424['t'],_0x5253ba=new X(_0x13d424,this['imageStatus'],this['_attributes']);_0x5253ba['bind']('status')['to'](this,'imageStatus'),_0x5253ba['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5253ba['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5253ba['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5253ba,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x52ad18,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5253ba,'position':_0x1681aa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5253ba['focus']();},'onHide':()=>{_0x5253ba['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17deb6=>!S(_0x17deb6,_0x5253ba['element'])}});}['_loadImageInfo'](_0x44d1d1,_0x255632){return j['getInfo'](_0x44d1d1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4565b8=>{const {width:_0x21b653,height:_0x22a102}=_0x4565b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x255632,this['imageDimension']={'width':_0x21b653,'height':_0x22a102},this['imageId']=_0x44d1d1;})['catch'](_0x1b6db6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1b6db6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3da3dc,_0x11ee47){return this['_getImageAsFile'](_0x3da3dc)['then'](_0x56e2f0=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x11ee47['signal'],'file':_0x56e2f0,'onProgress':_0x514bf2=>{_0x514bf2&&_0x514bf2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x514bf2['value']));}}))['then'](_0x51b1d6=>{const {width:_0x10fac3,height:_0xb9074a}=_0x51b1d6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51b1d6['cdnUrl'],this['imageDimension']={'width':_0x10fac3,'height':_0xb9074a},this['imageId']=_0x51b1d6['uuid'],this['imageUploadProgress']=null;const _0x2a37c7=_0x3da3dc['getAttribute']('src');this['_imageCache']['set'](_0x2a37c7,{'id':_0x51b1d6['uuid'],'url':_0x51b1d6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c9274=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c9274['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2589a7,_0x576048){_0x2589a7['on']('apply',(_0x36a30a,_0x168148)=>{this['_replaceImage'](_0x576048,_0x168148['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2589a7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2589a7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x19ce17,_0xedbd04,_0x2ede18){const _0x3af515=this['_editor'],{width:_0x2c456d,height:_0x2318c9}=C(_0xedbd04,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x33441e,imageSources:_0x410c2b}=k(_0xedbd04,_0x2c456d);_0x3af515['model']['change'](_0x351289=>{if('$graveyard'===_0x19ce17['root']['rootName']){_0x3af515['execute']('insertImage',{'imageType':_0x19ce17['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x19ce17['getAttributes']()),'uploadcareImageId':_0x2ede18,'src':_0x33441e,'sources':_0x410c2b,'width':_0x2c456d,'height':_0x2318c9}});const _0x5f5804=_0x19ce17['getChildren']();_0x19ce17=_0x3af515['model']['document']['selection']['getSelectedElement']();for(const _0x21785e of _0x5f5804)_0x351289['append'](_0x351289['cloneElement'](_0x21785e),_0x19ce17);}else _0x351289['setSelection'](_0x19ce17,'on'),_0x3af515['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x19ce17['getAttributes']()),'uploadcareImageId':_0x2ede18,'src':_0x33441e,'sources':_0x410c2b,'width':_0x2c456d,'height':_0x2318c9},_0x19ce17);_0x351289['setSelection'](_0x19ce17,'on');});}async['_getImageAsFile'](_0xf8ec69){const _0x487e70=_0x185c34['window'],_0x46f61d=_0x185c34['document']['location']['href'],_0x4da45d=new _0x487e70['URL'](_0xf8ec69['getAttribute']('src'),_0x46f61d);if('data:'===_0x4da45d['protocol']){const _0x4f6a06=_0x4da45d['href']['split'](','),_0x593abd=_0x4f6a06[0x0]['match'](/:(.*?);/)[0x1],_0x52b5fa=_0x593abd['split']('/')[0x1],_0x5b16f6=_0x487e70['atob'](_0x4f6a06[_0x4f6a06['length']-0x1]);let _0x279810=_0x5b16f6['length'];const _0x6068e7=new _0x487e70['Uint8Array'](_0x279810);for(;_0x279810--;)_0x6068e7[_0x279810]=_0x5b16f6['charCodeAt'](_0x279810);return new _0x487e70['File']([_0x6068e7],'image.'+_0x52b5fa,{'type':_0x593abd});}const _0xddac75=_0x4da45d['href']['split']('/'),_0xc2bc08=_0xddac75[_0xddac75['length']-0x1],_0x1a8740=_0xc2bc08['split']('.')[0x1];return _0x487e70['fetch'](_0x4da45d['href'])['then'](_0x40fec5=>_0x40fec5['clone']()['blob']())['then'](_0x1b8d8d=>new _0x487e70['File']([_0x1b8d8d],_0xc2bc08,{'type':'image/'+_0x1a8740}));}}class O extends _0x7ffec3{['imageEditController'];static get['requires'](){return[_0x4d119e];}['_isEditable'];constructor(_0x6d2bf8){super(_0x6d2bf8),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1d467a){const _0x406df0=G(_0x1d467a);return _0x384af5=>!(!_0x384af5||!_0x384af5['is']('element','imageBlock')&&!_0x384af5['is']('element','imageInline'))&&(!!_0x384af5['hasAttribute']('uploadcareImageId')||!!_0x384af5['hasAttribute']('src')&&_0x406df0(_0x384af5['getAttribute']('src')));}(_0x6d2bf8['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x586f85=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x586f85);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3d130f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d130f&&(_0x3d130f['is']('element','imageBlock')||_0x3d130f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4d119e),_0x3d130f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x7ffec3{['refresh'](){const _0x4ed495=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4ed495&&(_0x4ed495['is']('element','imageBlock')||_0x4ed495['is']('element','imageInline')));}['execute'](_0x3ee331){const _0x2e0537=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2125e3=>{_0x2125e3['setAttributes'](_0x3ee331,_0x2e0537),_0x2125e3['removeAttribute']('srcset',_0x2e0537),_0x2125e3['removeAttribute']('sizes',_0x2e0537);});}}class m extends _0xf6fbe1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x551a71,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd782d5}=this;_0xd782d5['commands']['add']('uploadcareImageEdit',new O(_0xd782d5)),_0xd782d5['commands']['add']('uploadcareImageReplace',new R(_0xd782d5));}}class g extends _0xf6fbe1{['_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 _0x4502fa=this['editor'];_0x4502fa['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50a426=>{const _0x9a5198=_0x4502fa['commands']['get']('uploadcareImageEdit'),_0x285e89=new _0x19c8b2(_0x50a426),t=_0x50a426['t'];return _0x285e89['set']({'icon':_0x52ad18,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x285e89['bind']('isEnabled')['to'](_0x9a5198),_0x285e89['bind']('isOn')['to'](_0x9a5198,'isActive'),this['listenTo'](_0x285e89,'execute',()=>{_0x4502fa['execute']('uploadcareImageEdit'),_0x4502fa['editing']['view']['focus']();}),_0x285e89;}),this['_initConfig']();}['_initConfig'](){const _0x2e15df=_0x119a96(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2e15df),this['listenTo'](this['editor'],'destroy',()=>{_0x2e15df['remove']();});}}class et extends _0xf6fbe1{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as 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':_0x5d7dd7=>0x1!=_0x5d7dd7}};
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':_0x228f7a=>0x1!=_0x228f7a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b5014=>{const {af:{dictionary:_0x5bdd8a,getPluralForm:_0x2cbb1e}}={'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':_0x450991=>0x1!=_0x450991}};_0x4b5014['af']||={'dictionary':{},'getPluralForm':null},_0x4b5014['af']['dictionary']=Object['assign'](_0x4b5014['af']['dictionary'],_0x5bdd8a),_0x4b5014['af']['getPluralForm']=_0x2cbb1e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57f431=>{const {af:{dictionary:_0x1bde4f,getPluralForm:_0x3c47f7}}={'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':_0xc62b6f=>0x1!=_0xc62b6f}};_0x57f431['af']||={'dictionary':{},'getPluralForm':null},_0x57f431['af']['dictionary']=Object['assign'](_0x57f431['af']['dictionary'],_0x1bde4f),_0x57f431['af']['getPluralForm']=_0x3c47f7;})(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':_0x11fbd3=>0x0==_0x11fbd3?0x0:0x1==_0x11fbd3?0x1:0x2==_0x11fbd3?0x2:_0x11fbd3%0x64>=0x3&&_0x11fbd3%0x64<=0xa?0x3:_0x11fbd3%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':_0x326ed2=>0x0==_0x326ed2?0x0:0x1==_0x326ed2?0x1:0x2==_0x326ed2?0x2:_0x326ed2%0x64>=0x3&&_0x326ed2%0x64<=0xa?0x3:_0x326ed2%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5fdf32=>{const {ar:{dictionary:_0x1e4b38,getPluralForm:_0x18677a}}={'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':_0x17553d=>0x0==_0x17553d?0x0:0x1==_0x17553d?0x1:0x2==_0x17553d?0x2:_0x17553d%0x64>=0x3&&_0x17553d%0x64<=0xa?0x3:_0x17553d%0x64>=0xb?0x4:0x5}};_0x5fdf32['ar']||={'dictionary':{},'getPluralForm':null},_0x5fdf32['ar']['dictionary']=Object['assign'](_0x5fdf32['ar']['dictionary'],_0x1e4b38),_0x5fdf32['ar']['getPluralForm']=_0x18677a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5314b9=>{const {ar:{dictionary:_0x3fa068,getPluralForm:_0x2d5903}}={'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':_0x4f3cd9=>0x0==_0x4f3cd9?0x0:0x1==_0x4f3cd9?0x1:0x2==_0x4f3cd9?0x2:_0x4f3cd9%0x64>=0x3&&_0x4f3cd9%0x64<=0xa?0x3:_0x4f3cd9%0x64>=0xb?0x4:0x5}};_0x5314b9['ar']||={'dictionary':{},'getPluralForm':null},_0x5314b9['ar']['dictionary']=Object['assign'](_0x5314b9['ar']['dictionary'],_0x3fa068),_0x5314b9['ar']['getPluralForm']=_0x2d5903;})(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':_0x393337=>0x1!=_0x393337}};
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':_0x28b8cb=>0x1!=_0x28b8cb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f654b=>{const {ast:{dictionary:_0x3aff19,getPluralForm:_0x46c324}}={'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':_0x5d8d39=>0x1!=_0x5d8d39}};_0x3f654b['ast']||={'dictionary':{},'getPluralForm':null},_0x3f654b['ast']['dictionary']=Object['assign'](_0x3f654b['ast']['dictionary'],_0x3aff19),_0x3f654b['ast']['getPluralForm']=_0x46c324;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x47a003=>{const {ast:{dictionary:_0x4f809c,getPluralForm:_0x5b3533}}={'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':_0x5b61aa=>0x1!=_0x5b61aa}};_0x47a003['ast']||={'dictionary':{},'getPluralForm':null},_0x47a003['ast']['dictionary']=Object['assign'](_0x47a003['ast']['dictionary'],_0x4f809c),_0x47a003['ast']['getPluralForm']=_0x5b3533;})(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':_0x423b24=>0x1!=_0x423b24}};
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':_0x3e698=>0x1!=_0x3e698}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5486be=>{const {az:{dictionary:_0xabb017,getPluralForm:_0x10b592}}={'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':_0x569fb7=>0x1!=_0x569fb7}};_0x5486be['az']||={'dictionary':{},'getPluralForm':null},_0x5486be['az']['dictionary']=Object['assign'](_0x5486be['az']['dictionary'],_0xabb017),_0x5486be['az']['getPluralForm']=_0x10b592;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x305185=>{const {az:{dictionary:_0x47a24e,getPluralForm:_0x4c5d68}}={'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':_0xabcf6a=>0x1!=_0xabcf6a}};_0x305185['az']||={'dictionary':{},'getPluralForm':null},_0x305185['az']['dictionary']=Object['assign'](_0x305185['az']['dictionary'],_0x47a24e),_0x305185['az']['getPluralForm']=_0x4c5d68;})(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':_0xc73d5d=>_0xc73d5d%0xa==0x1&&_0xc73d5d%0x64!=0xb?0x0:_0xc73d5d%0xa>=0x2&&_0xc73d5d%0xa<=0x4&&(_0xc73d5d%0x64<0xa||_0xc73d5d%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':_0x4ab058=>_0x4ab058%0xa==0x1&&_0x4ab058%0x64!=0xb?0x0:_0x4ab058%0xa>=0x2&&_0x4ab058%0xa<=0x4&&(_0x4ab058%0x64<0xa||_0x4ab058%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5983c1=>{const {be:{dictionary:_0x1657f4,getPluralForm:_0x3ea24d}}={'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':_0x197983=>_0x197983%0xa==0x1&&_0x197983%0x64!=0xb?0x0:_0x197983%0xa>=0x2&&_0x197983%0xa<=0x4&&(_0x197983%0x64<0xa||_0x197983%0x64>=0x14)?0x1:0x2}};_0x5983c1['be']||={'dictionary':{},'getPluralForm':null},_0x5983c1['be']['dictionary']=Object['assign'](_0x5983c1['be']['dictionary'],_0x1657f4),_0x5983c1['be']['getPluralForm']=_0x3ea24d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x236f6b=>{const {be:{dictionary:_0x33b3cb,getPluralForm:_0x56491b}}={'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':_0x439deb=>_0x439deb%0xa==0x1&&_0x439deb%0x64!=0xb?0x0:_0x439deb%0xa>=0x2&&_0x439deb%0xa<=0x4&&(_0x439deb%0x64<0xa||_0x439deb%0x64>=0x14)?0x1:0x2}};_0x236f6b['be']||={'dictionary':{},'getPluralForm':null},_0x236f6b['be']['dictionary']=Object['assign'](_0x236f6b['be']['dictionary'],_0x33b3cb),_0x236f6b['be']['getPluralForm']=_0x56491b;})(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':_0x4e9281=>0x1!=_0x4e9281}};
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':_0x370075=>0x1!=_0x370075}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xde1179=>{const {bg:{dictionary:_0x64c3b0,getPluralForm:_0x43c18a}}={'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':_0x1968eb=>0x1!=_0x1968eb}};_0xde1179['bg']||={'dictionary':{},'getPluralForm':null},_0xde1179['bg']['dictionary']=Object['assign'](_0xde1179['bg']['dictionary'],_0x64c3b0),_0xde1179['bg']['getPluralForm']=_0x43c18a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cdb6c=>{const {bg:{dictionary:_0x2c3dd9,getPluralForm:_0x2df4aa}}={'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':_0x506983=>0x1!=_0x506983}};_0x1cdb6c['bg']||={'dictionary':{},'getPluralForm':null},_0x1cdb6c['bg']['dictionary']=Object['assign'](_0x1cdb6c['bg']['dictionary'],_0x2c3dd9),_0x1cdb6c['bg']['getPluralForm']=_0x2df4aa;})(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':_0x6f1c8b=>0x1!=_0x6f1c8b}};
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':_0x4c58ac=>0x1!=_0x4c58ac}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2143fd=>{const {bn:{dictionary:_0x202e05,getPluralForm:_0x5f3be4}}={'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':_0x36cd27=>0x1!=_0x36cd27}};_0x2143fd['bn']||={'dictionary':{},'getPluralForm':null},_0x2143fd['bn']['dictionary']=Object['assign'](_0x2143fd['bn']['dictionary'],_0x202e05),_0x2143fd['bn']['getPluralForm']=_0x5f3be4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19403d=>{const {bn:{dictionary:_0x36b27e,getPluralForm:_0xcec903}}={'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':_0x191267=>0x1!=_0x191267}};_0x19403d['bn']||={'dictionary':{},'getPluralForm':null},_0x19403d['bn']['dictionary']=Object['assign'](_0x19403d['bn']['dictionary'],_0x36b27e),_0x19403d['bn']['getPluralForm']=_0xcec903;})(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':_0x337cda=>_0x337cda%0xa==0x1&&_0x337cda%0x64!=0xb?0x0:_0x337cda%0xa>=0x2&&_0x337cda%0xa<=0x4&&(_0x337cda%0x64<0xa||_0x337cda%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':_0x1ea66f=>_0x1ea66f%0xa==0x1&&_0x1ea66f%0x64!=0xb?0x0:_0x1ea66f%0xa>=0x2&&_0x1ea66f%0xa<=0x4&&(_0x1ea66f%0x64<0xa||_0x1ea66f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ea3cd=>{const {bs:{dictionary:_0x221a45,getPluralForm:_0x59c028}}={'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':_0x5ee4e6=>_0x5ee4e6%0xa==0x1&&_0x5ee4e6%0x64!=0xb?0x0:_0x5ee4e6%0xa>=0x2&&_0x5ee4e6%0xa<=0x4&&(_0x5ee4e6%0x64<0xa||_0x5ee4e6%0x64>=0x14)?0x1:0x2}};_0x2ea3cd['bs']||={'dictionary':{},'getPluralForm':null},_0x2ea3cd['bs']['dictionary']=Object['assign'](_0x2ea3cd['bs']['dictionary'],_0x221a45),_0x2ea3cd['bs']['getPluralForm']=_0x59c028;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b3a76=>{const {bs:{dictionary:_0xfbb886,getPluralForm:_0xaaa1f0}}={'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':_0x4c6c36=>_0x4c6c36%0xa==0x1&&_0x4c6c36%0x64!=0xb?0x0:_0x4c6c36%0xa>=0x2&&_0x4c6c36%0xa<=0x4&&(_0x4c6c36%0x64<0xa||_0x4c6c36%0x64>=0x14)?0x1:0x2}};_0x4b3a76['bs']||={'dictionary':{},'getPluralForm':null},_0x4b3a76['bs']['dictionary']=Object['assign'](_0x4b3a76['bs']['dictionary'],_0xfbb886),_0x4b3a76['bs']['getPluralForm']=_0xaaa1f0;})(window['CKEDITOR_TRANSLATIONS']||={});