@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250418.0 → 0.0.0-nightly-20250419.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x51e1a9,Command as _0x29a9f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3395eb,IconGooglePhotos as _0x4ec5b2,IconGoogleDrive as _0x5e7c08,IconFacebook as _0x4aa127,IconDropbox as _0x1853eb,IconUploadcareLink as _0x3559be,IconUploadcareImageUpload as _0x4e2291,IconError as et,IconUploadcareImageEdit as _0x3539a5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x56ca7a,MenuBarMenuListItemButtonView as _0x453d00,View as _0x59edb5,FocusCycler as _0x27c90c,Dialog as _0x4cefb7,DialogViewPosition as _0xa7f5da,SpinnerView as _0x5381a9,IconView as at,Notification as _0x38b10f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4d6c02,DomEmitterMixin as _0x2fba2b,global as _0x3416d5,getAncestors as _0x5586d7,ObservableMixin as _0x322056,createElement as _0x3eb501,uid as _0x27e0ae}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1124e1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x33ff05,info as _0x3421fd}from'@uploadcare/upload-client';import*as _0x9c75c1 from'@uploadcare/file-uploader';var o=function(_0x33c5f0){return _0x33c5f0['Local']='local',_0x33c5f0['URL']='url',_0x33c5f0['Dropbox']='dropbox',_0x33c5f0['GDrive']='gdrive',_0x33c5f0['Facebook']='facebook',_0x33c5f0['GPhotos']='gphotos',_0x33c5f0['OneDrive']='onedrive',_0x33c5f0;}({});function _(_0x411c58,_0x3988d6,_0x4eee6a){const t=_0x411c58['t'],_0x95e57c=_0x411c58['t'];switch(_0x3988d6){case o['Local']:return{'text':_0x95e57c('Insert'===_0x4eee6a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x95e57c('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4eee6a?_0x95e57c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x95e57c('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4eee6a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4eee6a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4eee6a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4eee6a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4eee6a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3988d6;}}class e extends _0x51e1a9{['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 _0x116dc1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x364808;for(const _0x5232f5 in _0x116dc1){const _0x442a55=_0x5232f5,_0x4f7888=_0x116dc1[_0x442a55];if('uploadcareLicenseKeyValid'==_0x4f7888||'uploadcareLicenseKeyInvalid'==_0x4f7888||'uploadcareLicenseKeyExpired'==_0x4f7888||'uploadcareLicenseKeyDomainLimit'==_0x4f7888||'uploadcareLicenseKeyNotAllowed'==_0x4f7888||'uploadcareLicenseKeyEvaluationLimit'==_0x4f7888||'uploadcareLicenseKeyTrialLimit'==_0x4f7888||'uploadcareLicenseKeyUsageLimit'==_0x4f7888){delete _0x116dc1[_0x442a55],_0x364808=_0x4f7888,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x364808&&_0x116dc1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x364808&&_0x116dc1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x364808&&_0x116dc1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x364808&&_0x116dc1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x364808&&_0x116dc1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x364808&&_0x116dc1['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x364808&&_0x116dc1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x335381}=this,_0xc40763=_0x335381['commands']['get']('uploadcare');if(!_0xc40763)return;const _0x407907=this['_normalizeConfigSourceList'](_0x335381['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4228c6,_0x2898b2)=>{const _0x3aca56=this['_getIntegrationKey'](_0x2898b2['type']);return _0x4228c6[_0x3aca56]||(_0x4228c6[_0x3aca56]=[]),_0x4228c6[_0x3aca56]['push'](_0x2898b2),_0x4228c6;},{});_0x335381['plugins']['has']('ImageInsertUI')&&_0x335381['commands']['get']('uploadcare')&&Object['entries'](_0x407907)['forEach'](([_0x325f36,_0x494e19])=>{_0x335381['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x325f36,'observable':()=>_0xc40763,'buttonViewCreator':()=>this['_createToolbarButton'](_0x494e19),'formViewCreator':()=>this['_createDropdownButtons'](_0x494e19),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x494e19),'override':'assetManager'!==_0x325f36});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5c063f){const {locale:_0x1eb39b}=this['editor'];return _0x5c063f['map'](_0x30b4ed=>{const _0x1eeb84=_(_0x1eb39b,_0x30b4ed,'Insert');switch(_0x30b4ed){case o['Local']:return{'icon':_0x4e2291,'type':o['Local'],..._0x1eeb84};case o['URL']:return{'icon':_0x3559be,'type':o['URL'],..._0x1eeb84};case o['Dropbox']:return{'icon':_0x1853eb,'type':o['Dropbox'],..._0x1eeb84};case o['Facebook']:return{'icon':_0x4aa127,'type':o['Facebook'],..._0x1eeb84};case o['GDrive']:return{'icon':_0x5e7c08,'type':o['GDrive'],..._0x1eeb84};case o['GPhotos']:return{'icon':_0x4ec5b2,'type':o['GPhotos'],..._0x1eeb84};case o['OneDrive']:return{'icon':_0x3395eb,'type':o['OneDrive'],..._0x1eeb84};}});}['_getIntegrationKey'](_0x4f923b){switch(_0x4f923b){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5722ba,_0x3ab52d){const _0x2167a5=this['editor'],_0x47fa02=new _0x5722ba(_0x2167a5['locale']),_0x324c1b=_0x2167a5['commands']['get']('uploadcare');return _0x47fa02['bind']('isEnabled')['to'](_0x324c1b),_0x47fa02['on']('execute',()=>{_0x324c1b['execute'](_0x3ab52d);}),_0x47fa02;}['_createToolbarButton'](_0x3102cd){const {locale:_0x18c90d}=this['editor'],_0x534ef2=this['editor']['plugins']['get']('ImageInsertUI'),_0x43acfc=_0x3102cd[0x0],_0x1651a2=this['_createButton'](_0x56ca7a,_0x43acfc['type']);return _0x1651a2['icon']=_0x43acfc['icon'],_0x1651a2['bind']('label')['to'](_0x534ef2,'isImageSelected',_0x15db12=>_(_0x18c90d,_0x43acfc['type'],_0x15db12?'Replace':'Insert')['text']),_0x1651a2['tooltip']=!0x0,_0x1651a2;}['_createDropdownButtons'](_0x35964a){const {locale:_0x6c1ab6}=this['editor'],_0xb311f3=this['editor']['plugins']['get']('ImageInsertUI');return _0x35964a['map'](_0x3e3133=>{const _0x5a387a=this['_createButton'](_0x56ca7a,_0x3e3133['type']);return _0x5a387a['withText']=!0x0,_0x5a387a['icon']=_0x3e3133['icon'],_0x5a387a['bind']('label')['to'](_0xb311f3,'isImageSelected',_0x32cd92=>_(_0x6c1ab6,_0x3e3133['type'],_0x32cd92?'Replace':'Insert')['text']),_0x5a387a;});}['_createMenuBarButtons'](_0x37dddb){return _0x37dddb['map'](_0x40c4b1=>{const _0x42d547=this['_createButton'](_0x453d00,_0x40c4b1['type']);return _0x42d547['icon']=_0x40c4b1['icon'],_0x42d547['label']=_0x40c4b1['shortText'],_0x42d547;});}}class q extends _0x59edb5{['focusTracker'];['focusCycler'];constructor(_0x173989){super(_0x173989),this['focusTracker']=new _0x4d6c02(),this['focusCycler']=new _0x27c90c({'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 S extends q{constructor(_0x2f5725){super(_0x2f5725),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x425dd0,_0x28be8e){const _0x10fb5b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5ba613=>_0x5ba613<=_0x28be8e)['map'](_0x276f24=>_0x425dd0['replace'](/\/$/,'')+'/-/resize/'+_0x276f24+'x/\x20'+_0x276f24+'w');return{'imageFallbackUrl':_0x425dd0,'imageSources':[{'srcset':_0x10fb5b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x28be8e+'px)\x20100vw,\x20'+_0x28be8e+'px','type':'image/webp'}]};}function A(_0x1f6a76,_0x2dd733,_0x22bdae){const _0x4727be=_0x1f6a76['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4727be?parseInt(_0x4727be[0x1],0xa):_0x2dd733,'height':_0x4727be?parseInt(_0x4727be[0x2],0xa):_0x22bdae};}function m(_0x59a99f,_0x531a3e){const _0x5863d4=Object['create'](_0x2fba2b),_0x366672=_0x59a99f['plugins']['get']('ImageUtils'),_0x54ecd0=_0x59a99f['editing']['mapper']['toViewElement'](_0x531a3e),_0x4ee0ce=_0x366672['findViewImgElement'](_0x54ecd0),_0x47cbaf=_0x59a99f['editing']['view']['domConverter']['viewToDom'](_0x4ee0ce),_0x3f0af7=_0x531a3e['getAttribute']('width'),_0x70cd8b=_0x531a3e['getAttribute']('height'),_0x3ab960='image-processing';_0x59a99f['editing']['view']['change'](_0x3d8429=>{_0x3d8429['addClass'](_0x3ab960,_0x54ecd0),_0x3d8429['setStyle']('aspect-ratio',_0x3f0af7+'/'+_0x70cd8b,_0x4ee0ce);}),_0x5863d4['listenTo'](_0x47cbaf,'load',()=>{_0x5863d4['stopListening'](_0x47cbaf,'load'),_0x59a99f['editing']['view']['change'](_0x4691d6=>{_0x4691d6['removeClass'](_0x3ab960,_0x54ecd0),_0x4691d6['removeStyle']('aspect-ratio',_0x4ee0ce);});});}function V(_0x7f0115){if(Array['isArray'](_0x7f0115)){const _0x2babf2=_0x7f0115['map'](V);return _0x2e196b=>_0x2babf2['some'](_0x4ead3a=>_0x4ead3a(_0x2e196b));}if('origin'==_0x7f0115){const _0x3e320b=_0x3416d5['window']['location']['origin'];return _0x448fe2=>new URL(_0x448fe2,_0x3416d5['document']['baseURI'])['origin']==_0x3e320b;}return'function'==typeof _0x7f0115?_0x7f0115:_0x7f0115 instanceof RegExp?_0x87c6f0=>!(!_0x87c6f0['match'](_0x7f0115)&&!_0x87c6f0['replace'](/^https?:\/\//,'')['match'](_0x7f0115)):()=>!0x1;}function F(_0x2f8c81,_0x25c267){return _0x5586d7(_0x2f8c81['target'])['includes'](_0x25c267);}class l extends/* #__PURE__ -- @preserve */
24
- _0x322056(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20305a,_0x1a5496,_0x4a8bb6){super(),this['_editor']=_0x20305a,this['_editing']=_0x1a5496,this['_dialog']=_0x20305a['plugins']['get'](_0x4cefb7),this['_api']=_0x1a5496['ctxElement']['getAPI'](),this['_type']=_0x4a8bb6,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:_0x5d5ad3,model:_0x44f3ac}=this['_editor'],_0x50b433=_0x44f3ac['document']['selection']['getSelectedElement'](),_0x5131da=_0x50b433&&(_0x50b433['is']('element','imageBlock')||_0x50b433['is']('element','imageInline'));this['_formView']=new S(_0x5d5ad3),this['_dialog']['show']({'id':'uploadCare','icon':_0x4e2291,'title':_(_0x5d5ad3,this['_type'],_0x5131da?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xa7f5da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x569656=>!F(_0x569656,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xaedfc}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x372b51=>{const _0x44b841=_0xaedfc['length'];for(const _0x53ab2c of _0xaedfc){const _0x4f40d3=_0x53ab2c===_0xaedfc[_0x44b841-0x1],{cdnUrl:_0xf53803,fileInfo:_0x5e1f3d}=_0x53ab2c;if(!_0xf53803||!_0x5e1f3d)continue;const {width:_0x19596e,height:_0x3c4731}=_0x5e1f3d['imageInfo'],_0x108177=A(_0xf53803,_0x19596e,_0x3c4731),_0x4d3a19=E(_0xf53803,_0x108177['width']),_0x539aa4={'id':_0x5e1f3d['uuid'],'type':'image','attributes':{'imageDimension':_0x108177,..._0x4d3a19}};this['_insertAsset'](_0x539aa4,_0x4f40d3,_0x372b51);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x331c36=>{'idle'===_0x331c36['detail']['status']&&!_0x331c36['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x10ac41,_0x37e921,_0x4cfc8b){const _0x1791a6=this['_editor']['model']['document']['selection'],_0x2eceef=_0x1791a6['getSelectedElement'](),_0x1ddade=!(!_0x2eceef||!_0x2eceef['is']('element','imageInline'));_0x4cfc8b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10ac41,_0x1ddade),_0x37e921||_0x4cfc8b['setSelection'](_0x1791a6['getLastPosition']());}['_insertImage'](_0x2e876d,_0x1d4798){const _0x149bd1=this['_editor'],{imageDimension:_0x56d6f2,imageFallbackUrl:_0x4b7a96,imageSources:_0x3d8c9e}=_0x2e876d['attributes'];_0x149bd1['execute']('insertImage',{'imageType':_0x1d4798?'imageInline':null,'source':{'uploadcareImageId':_0x2e876d['id'],'src':_0x4b7a96,'sources':_0x3d8c9e,..._0x56d6f2}});}}class n extends _0x29a9f3{['_editing'];['_controller']=null;static get['requires'](){return[_0x4cefb7,i];}constructor(_0x5af4ac){super(_0x5af4ac),this['_editing']=_0x5af4ac['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x39547e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x39547e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x494293,publicKey:_0x4c0f26,signal:_0x13c6cf,onProgress:_0x3695bd}){return _0x33ff05(_0x494293,{'publicKey':_0x4c0f26,'store':'auto','signal':_0x13c6cf,'onProgress':_0x3695bd});}static['getInfo'](_0x373082,_0x36909f){return _0x3421fd(_0x373082,_0x36909f);}}class p extends _0x51e1a9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1124e1,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3a55b8=this['editor'];if(!!!_0x3a55b8['config']['get']('uploadcare'))return;_0x3a55b8['plugins']['get'](_0x1124e1)['createUploadAdapter']=_0x53f7ce=>new x(_0x53f7ce,_0x3a55b8),_0x3a55b8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x52508b,{imageElement:_0x2b2dae,data:_0x4cc642})=>{_0x3a55b8['model']['change'](_0x241a18=>{_0x241a18['setAttribute']('uploadcareImageId',_0x4cc642['uploadcareImageId'],_0x2b2dae);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x486a66,_0x16bf90){this['loader']=_0x486a66,this['editor']=_0x16bf90,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf7c8dd=this['editor']['config']['get']('uploadcare.pubkey'),_0x52cb3c=await this['loader']['file'];return C['upload']({'file':_0x52cb3c,'publicKey':_0xf7c8dd,'signal':this['controller']['signal'],'onProgress':_0x16e4cb=>{_0x16e4cb&&_0x16e4cb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16e4cb['value']);}})['then'](async _0x4827f7=>{const {imageFallbackUrl:_0x316bca,imageSources:_0xf8c06e}=E(_0x4827f7['cdnUrl'],_0x4827f7['imageInfo']['width']);return{'uploadcareImageId':_0x4827f7['uuid'],'default':_0x316bca,'sources':_0xf8c06e};})['catch'](()=>{const _0x10e893=t('Cannot\x20upload\x20file:')+('\x20'+_0x52cb3c['name']+'.');return Promise['reject'](_0x10e893);});}['abort'](){this['controller']['abort']();}}class i extends _0x51e1a9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4cefb7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2e245d=this['editor'];_0x2e245d['commands']['add']('uploadcare',new n(_0x2e245d));}['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 _0x3b6cea=_0x3416d5['document']['querySelector']('input[uploadcare-file-input]');_0x3b6cea&&_0x3b6cea['remove']();}),async function(_0x1f9adb){const _0x1fdcfa=_0x40aed8([0x74,0x36,0x6b,0x77,0x72,0x48,0x31,0x32,0x68,0x6d,0x37,0x4c,0x58,0x6c,0x62,0x49,0x38,0x75,0x46,0x4a,0x4b,0x63,0x45,0x55,0x44,0x43,0x79,0x57,0x64,0x70,0x35,0x53,0x67,0x4e,0x6e,0x76,0x6a,0x39,0x66,0x34,0x33,0x7a,0x51,0x54,0x69,0x73,0x61,0x78,0x65,0x59,0x47,0x71,0x30,0x41,0x42,0x4f,0x52,0x5a,0x4d,0x6f,0x56,0x50]),_0x55d5df=0x3b715275,_0x27ca96=0x3b763715^_0x55d5df,_0x1026d9=window[_0x40aed8([0x44,0x61,0x74,0x65])][_0x40aed8([0x6e,0x6f,0x77])](),_0x4c810c=_0x1f9adb[_0x40aed8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23bcb7=new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52f1fe=>{_0x4c810c[_0x40aed8([0x6f,0x6e,0x63,0x65])](_0x40aed8([0x72,0x65,0x61,0x64,0x79]),_0x52f1fe);}),_0x5e1a66={[_0x40aed8([0x6b,0x74,0x79])]:_0x40aed8([0x45,0x43]),[_0x40aed8([0x75,0x73,0x65])]:_0x40aed8([0x73,0x69,0x67]),[_0x40aed8([0x63,0x72,0x76])]:_0x40aed8([0x50,0x2d,0x32,0x35,0x36]),[_0x40aed8([0x78])]:_0x40aed8([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]),[_0x40aed8([0x79])]:_0x40aed8([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]),[_0x40aed8([0x61,0x6c,0x67])]:_0x40aed8([0x45,0x53,0x32,0x35,0x36])},_0x43359e=_0x4c810c[_0x40aed8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40aed8([0x67,0x65,0x74])](_0x40aed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32d954(){let _0x4ad893,_0x21fc9b=null,_0x16cad9=null;try{if(_0x43359e==_0x40aed8([0x47,0x50,0x4c]))return _0x40aed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ad893=_0xaa385d(),!_0x4ad893)return _0x40aed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ad893[_0x40aed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16cad9=_0x37da4a(_0x4ad893[_0x40aed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ad893[_0x40aed8([0x6a,0x74,0x69])])),await _0xeac73b()?_0x539e06()?_0x1bdac9()?_0x40aed8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x59661d()?(_0x4ad893[_0x40aed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40aed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21fc9b=_0x3ba13e(_0x40aed8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ad893[_0x40aed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40aed8([0x74,0x72,0x69,0x61,0x6c])&&(_0x21fc9b=_0x3ba13e(_0x40aed8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c1531()):_0x40aed8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40aed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40aed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x156450){return _0x40aed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1bdac9(){const _0x55100d=[_0x40aed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40aed8([0x74,0x72,0x69,0x61,0x6c])][_0x40aed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad893[_0x40aed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1026d9/0x3e8:0xe10*_0x27ca96;return _0x4ad893[_0x40aed8([0x65,0x78,0x70])]<_0x55100d;}function _0x539e06(){const _0x1af765=_0x4ad893[_0x40aed8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1af765&&(!!_0x1af765[_0x40aed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40aed8([0x2a]))||!!_0x1af765[_0x40aed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40aed8([0x55,0x50,0x4c,0x43])));}function _0x59661d(){const _0x3a30b0=_0x4ad893[_0x40aed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a30b0||0x0==_0x3a30b0[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43d623}=new URL(window[_0x40aed8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a30b0[_0x40aed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d623))return!0x0;const _0x2c7481=_0x43d623[_0x40aed8([0x73,0x70,0x6c,0x69,0x74])](_0x40aed8([0x2e]));return _0x3a30b0[_0x40aed8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe4d391=>_0xe4d391[_0x40aed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40aed8([0x2a])))[_0x40aed8([0x6d,0x61,0x70])](_0xe3d011=>_0xe3d011[_0x40aed8([0x73,0x70,0x6c,0x69,0x74])](_0x40aed8([0x2e])))[_0x40aed8([0x73,0x6f,0x6d,0x65])](_0xb26d5c=>_0x2c7481[_0x40aed8([0x65,0x76,0x65,0x72,0x79])]((_0x3bc7bc,_0x4a1cb8)=>_0xb26d5c[_0x4a1cb8]===_0x3bc7bc||_0xb26d5c[_0x4a1cb8]===_0x40aed8([0x2a])));}function _0x5c1531(){return _0x21fc9b&&_0x16cad9?new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e3e0,_0x5d4523)=>{_0x21fc9b[_0x40aed8([0x74,0x68,0x65,0x6e])](_0x11e3e0,_0x5d4523),_0x16cad9[_0x40aed8([0x74,0x68,0x65,0x6e])](_0xe95b7b=>{_0xe95b7b!=_0x40aed8([0x56,0x61,0x6c,0x69,0x64])&&_0x11e3e0(_0xe95b7b);},_0x5d4523);}):_0x21fc9b||_0x16cad9||_0x40aed8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37da4a(_0x32aa4b,_0x13fe67){return new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x130051=>{if(_0x264c41())return _0x130051(_0x40aed8([0x56,0x61,0x6c,0x69,0x64]));_0x4227b2(),_0x4c810c[_0x40aed8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40aed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x93503e=!0x1;const _0x2bbbe7=_0x27e0ae();function _0x14e0b4(_0x2c690e){return!!_0x2c690e&&(typeof _0x2c690e===_0x40aed8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c690e===_0x40aed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c690e[_0x40aed8([0x74,0x68,0x65,0x6e])]===_0x40aed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c690e[_0x40aed8([0x63,0x61,0x74,0x63,0x68])]===_0x40aed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x152414(_0x1b2cbc){_0x54ce3e(_0x1b2cbc)[_0x40aed8([0x74,0x68,0x65,0x6e])](_0x404434=>{if(!_0x404434||_0x404434[_0x40aed8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40aed8([0x6f,0x6b]))return _0x40aed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cc2aa(_0x18b9ef(_0x2bbbe7+_0x13fe67))!=_0x404434[_0x40aed8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40aed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40aed8([0x56,0x61,0x6c,0x69,0x64]);})[_0x40aed8([0x74,0x68,0x65,0x6e])](_0x5d6f49=>(_0x26dde1(),_0x5d6f49),()=>{const _0x2c4ce2=_0xd4c1d3();return null==_0x2c4ce2?(_0x26dde1(),_0x40aed8([0x56,0x61,0x6c,0x69,0x64])):_0x40aed8(_0x1026d9-_0x2c4ce2>(0x1f7dd675^_0x55d5df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40aed8([0x74,0x68,0x65,0x6e])](_0x130051)[_0x40aed8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x130051(_0x40aed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a7ac8=0x3b47bcf5^_0x55d5df;function _0x26dde1(){const _0x4cf75f=_0x40aed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc2aa(_0x18b9ef(_0x32aa4b)),_0x3ba061=_0x2c2e1e(_0x5cc2aa(window[_0x40aed8([0x4d,0x61,0x74,0x68])][_0x40aed8([0x63,0x65,0x69,0x6c])](_0x1026d9/_0x5a7ac8)));window[_0x40aed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40aed8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cf75f,_0x3ba061);}function _0xd4c1d3(){const _0x46772e=_0x40aed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc2aa(_0x18b9ef(_0x32aa4b)),_0x8ca94b=window[_0x40aed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40aed8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46772e);return _0x8ca94b?window[_0x40aed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2e1e(_0x8ca94b),0x10)*_0x5a7ac8:null;}function _0x54ce3e(_0x1a7d45){return new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe2118d,_0x18f77b)=>{_0x1a7d45[_0x40aed8([0x74,0x68,0x65,0x6e])](_0xe2118d,_0x18f77b),window[_0x40aed8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18f77b,0x3b7086b5^_0x55d5df);});}}_0x4c810c[_0x40aed8([0x6f,0x6e])](_0x40aed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa53609,_0x4abfb6)=>{if(_0x4abfb6[0x0]!=_0x32aa4b)return _0x130051(_0x40aed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4abfb6[0x1]={..._0x4abfb6[0x1],[_0x40aed8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2bbbe7};},{[_0x40aed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40aed8([0x68,0x69,0x67,0x68])}),_0x4c810c[_0x40aed8([0x6f,0x6e])](_0x40aed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1acce4=>{_0x14e0b4(_0x1acce4[_0x40aed8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x93503e=!0x0,_0x152414(_0x1acce4[_0x40aed8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40aed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40aed8([0x6c,0x6f,0x77])}),_0x23bcb7[_0x40aed8([0x74,0x68,0x65,0x6e])](()=>{_0x93503e||_0x130051(_0x40aed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x264c41(){return _0x4c810c[_0x40aed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40aed8([0x76,0x69,0x65,0x77])][_0x40aed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40aed8([0x61,0x75,0x74,0x6f]);}function _0x4227b2(){_0x4c810c[_0x40aed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40aed8([0x76,0x69,0x65,0x77])][_0x40aed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40aed8([0x61,0x75,0x74,0x6f]);}}function _0x3ba13e(_0x3e9715){const _0x4a5534=[new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x438e95=>setTimeout(_0x438e95,0x3b786cb9^_0x55d5df)),_0x23bcb7[_0x40aed8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153b99=>{let _0x2ac549=0x0;_0x4c810c[_0x40aed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x40aed8([0x6f,0x6e])](_0x40aed8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2aaddb,_0x3a62f8)=>{_0x3a62f8[0x0][_0x40aed8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ac549++,_0x2ac549==(0x3b71538d^_0x55d5df)&&(_0x153b99(),_0x2aaddb[_0x40aed8([0x6f,0x66,0x66])]());});}))];return window[_0x40aed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40aed8([0x72,0x61,0x63,0x65])](_0x4a5534)[_0x40aed8([0x74,0x68,0x65,0x6e])](()=>_0x3e9715);}async function _0x2448ee(){await _0x23bcb7,_0x4c810c[_0x40aed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x40aed8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6ee2,_0x4c810c[_0x40aed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x40aed8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6ee2,_0x4c810c[_0x40aed8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40aed8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x333ecf(_0x116d5b){const _0x50eca5=_0x3e4b03();_0x4c810c[_0x50eca5]=_0x40aed8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x116d5b,_0x116d5b!=_0x40aed8([0x56,0x61,0x6c,0x69,0x64])&&_0x2448ee();}function _0x3e4b03(){const _0x1f48fb=window[_0x40aed8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40aed8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40aed8([0x6e,0x6f,0x77])]())[_0x40aed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40aed8([0x2e]),'');let _0x5dab99=_0x40aed8([0x74]);for(let _0x508624=0x0;_0x508624<_0x1f48fb[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x508624+=0x2){let _0x1509d5=window[_0x40aed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f48fb[_0x40aed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x508624,_0x508624+0x2));_0x1509d5>=_0x1fdcfa[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1509d5-=_0x1fdcfa[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dab99+=_0x1fdcfa[_0x1509d5];}return _0x5dab99;}function _0xaa385d(){const _0x5aa2f7=_0x43359e[_0x40aed8([0x73,0x70,0x6c,0x69,0x74])](_0x40aed8([0x2e]));if(0x3!=_0x5aa2f7[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e0051(_0x5aa2f7[0x1]);function _0x5e0051(_0xd39635){const _0x4a6106=_0x3cbfe0(_0xd39635);return _0x4a6106&&_0x581cca()?_0x4a6106:null;function _0x581cca(){const _0x1f265d=_0x4a6106[_0x40aed8([0x6a,0x74,0x69])],_0x33c17b=window[_0x40aed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f265d[_0x40aed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f265d[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x372e8d={..._0x4a6106,[_0x40aed8([0x6a,0x74,0x69])]:_0x1f265d[_0x40aed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f265d[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x372e8d[_0x40aed8([0x76,0x63])],_0x18b9ef(_0x372e8d)==_0x33c17b;}}}async function _0xeac73b(){let _0x498c90=!0x0;try{const _0x11073e=_0x43359e[_0x40aed8([0x73,0x70,0x6c,0x69,0x74])](_0x40aed8([0x2e])),[_0x25069b,_0x5559df,_0x2745e7]=_0x11073e;return _0x33f2f4(_0x25069b),await _0x5520b8(_0x25069b,_0x5559df,_0x2745e7),_0x498c90;}catch(_0x349e2b){return!0x1;}function _0x33f2f4(_0x105672){const _0xfd97b1=_0x3cbfe0(_0x105672);_0xfd97b1&&_0xfd97b1[_0x40aed8([0x61,0x6c,0x67])]==_0x40aed8([0x45,0x53,0x32,0x35,0x36])||(_0x498c90=!0x1);}async function _0x5520b8(_0x2e62a7,_0x8e443b,_0x124336){const _0x5b41a9=window[_0x40aed8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40aed8([0x66,0x72,0x6f,0x6d])](_0x34c146(_0x124336),_0x1fc650=>_0x1fc650[_0x40aed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e95c5=new window[(_0x40aed8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40aed8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e62a7+_0x40aed8([0x2e])+_0x8e443b),_0x557125=window[_0x40aed8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40aed8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x557125)return;const _0x7299a6=await _0x557125[_0x40aed8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40aed8([0x6a,0x77,0x6b]),_0x5e1a66,{[_0x40aed8([0x6e,0x61,0x6d,0x65])]:_0x40aed8([0x45,0x43,0x44,0x53,0x41]),[_0x40aed8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40aed8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40aed8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x557125[_0x40aed8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40aed8([0x6e,0x61,0x6d,0x65])]:_0x40aed8([0x45,0x43,0x44,0x53,0x41]),[_0x40aed8([0x68,0x61,0x73,0x68])]:{[_0x40aed8([0x6e,0x61,0x6d,0x65])]:_0x40aed8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7299a6,_0x5b41a9,_0x2e95c5)||(_0x498c90=!0x1);}}function _0x3cbfe0(_0x504535){return _0x504535[_0x40aed8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40aed8([0x65,0x79]))?JSON[_0x40aed8([0x70,0x61,0x72,0x73,0x65])](_0x34c146(_0x504535)):null;}function _0x34c146(_0x30ceac){return window[_0x40aed8([0x61,0x74,0x6f,0x62])](_0x30ceac[_0x40aed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40aed8([0x2b]))[_0x40aed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40aed8([0x2f])));}function _0x18b9ef(_0x510cb4){let _0x2cc4af=0x1505;function _0x494cd1(_0x4188e9){for(let _0x4896be=0x0;_0x4896be<_0x4188e9[_0x40aed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4896be++){const _0x596570=_0x4188e9[_0x40aed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4896be);_0x2cc4af=(_0x2cc4af<<0x5)+_0x2cc4af+_0x596570,_0x2cc4af&=_0x2cc4af;}}function _0x41fa23(_0x5e98f8){Array[_0x40aed8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e98f8)?_0x5e98f8[_0x40aed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41fa23):_0x5e98f8&&typeof _0x5e98f8==_0x40aed8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40aed8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e98f8)[_0x40aed8([0x73,0x6f,0x72,0x74])]()[_0x40aed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4670f3,_0x5186d6])=>{_0x494cd1(_0x4670f3),_0x41fa23(_0x5186d6);}):_0x494cd1(window[_0x40aed8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e98f8));}return _0x41fa23(_0x510cb4),_0x2cc4af>>>0x0;}function _0x5cc2aa(_0x22ec94){return _0x22ec94[_0x40aed8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40aed8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40aed8([0x30]));}function _0x2c2e1e(_0x45f49e){return _0x45f49e[_0x40aed8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40aed8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40aed8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f6ee2(){}function _0x40aed8(_0x9bed36){return _0x9bed36['map'](_0x282224=>String['fromCharCode'](_0x282224))['join']('');}_0x333ecf(await _0x32d954());}(this);}['_initSchema'](){const _0x189b35=this['editor']['model']['schema'];_0x189b35['isRegistered']('imageBlock')&&_0x189b35['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x189b35['isRegistered']('imageInline')&&_0x189b35['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2719d5=this['editor'];_0x2719d5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2719d5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2852af=>_0x2852af['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57f481=_0x2719d5['commands']['get']('replaceImageSource');_0x57f481&&this['listenTo'](_0x57f481,'cleanupImage',(_0x56b2b0,[_0xe8bf61,_0x34c5da])=>{_0xe8bf61['removeAttribute']('uploadcareImageId',_0x34c5da);});}['_initConfig'](){const _0x57b35e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x284eca=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3eb501(_0x3416d5['document'],'uc-config',{..._0x57b35e,'pubkey':_0x284eca,'ctx-name':'uploader','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']=_0x2cb7d2=>{if('closeMax'==_0x2cb7d2)return'#uc-icon-arrow-down';},_0x3416d5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3eb501(_0x3416d5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3416d5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x220800=this['editor']['commands']['get']('insertImage');_0x220800&&this['listenTo'](_0x220800,'execute',()=>{const _0x38640e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38640e&&_0x38640e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x38640e);});});const _0x167a70=this['editor']['commands']['get']('uploadcareImageReplace');_0x167a70&&this['listenTo'](_0x167a70,'execute',()=>{const _0x275425=this['editor']['model']['document']['selection']['getSelectedElement']();_0x275425&&_0x275425['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x275425);});});}}class u extends _0x51e1a9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49c0c9){super(_0x49c0c9),_0x49c0c9['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x9c75c1['defineComponents'](_0x9c75c1);}}class ta extends _0x59edb5{constructor(_0x379939){super(_0x379939);const t=_0x379939['t'],_0xd692a7=this['bindTemplate'],_0x7b3bf0=new _0x5381a9();_0x7b3bf0['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':[_0x7b3bf0,{'text':_0xd692a7['to']('imageUploadProgress',_0x186dda=>t('Loading\x20image...')+'\x20('+(_0x186dda||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 rt extends _0x59edb5{constructor(_0x38813b){super(_0x38813b);const t=_0x38813b['t'];this['set']('errorType',null);const _0x1f4019=new _0x56ca7a(_0x38813b);_0x1f4019['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f4019['withText']=!0x0,_0x1f4019['class']='ck-button-action',_0x1f4019['on']('execute',()=>{this['fire']('retry');}),_0x1f4019['bind']('isVisible')['to'](this,'errorType',_0x24d237=>'NotFound'!==_0x24d237);const _0x45db1d=new at();_0x45db1d['content']=et,_0x45db1d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4619ba=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':[_0x45db1d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4619ba['to']('errorType',_0x38c2a6=>t('NotFound'!==_0x38c2a6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f4019]},{'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 tt extends _0x59edb5{constructor(_0x148154,_0x1a52c8){super(_0x148154);const _0x2c898d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1a52c8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2c898d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x6c1c5d,_0x1398bb,_0x264ebe){super(_0x6c1c5d),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x6c1c5d),this['_errorView']=new rt(_0x6c1c5d),this['_editingView']=new tt(_0x6c1c5d,_0x264ebe),this['_focusableView']=new _0x59edb5(_0x6c1c5d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1398bb),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'],_0x34d276=>{this['_addUploadcareImageEditorListeners'](_0x34d276);});}),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'](_0x215bf0,_0x48820a){const _0x2d4f44='uc-cloud-image-editor',_0xfe1ec2=_0x215bf0['querySelector'](_0x2d4f44);if(_0xfe1ec2)return _0x48820a(_0xfe1ec2);const _0x5f0517=new MutationObserver(_0x48b0f6=>{const _0x57140f=_0x48b0f6['filter'](_0xf10af=>_0xf10af['target']===_0x215bf0&&_0xf10af['addedNodes']['length']>0x0&&_0xf10af['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2d4f44);_0x57140f['length']&&(_0x5f0517['disconnect'](),_0x48820a(_0x57140f[0x0]['addedNodes'][0x0]));});_0x5f0517['observe'](_0x215bf0,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xb64bfc){_0xb64bfc['addEventListener']('apply',_0x551cfd=>{this['fire']('apply',{'imageSrc':_0x551cfd['detail']['cdnUrl']});}),_0xb64bfc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x322056(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5f1e3b,_0x5e370f,_0x2a3e19){super(),this['_editor']=_0x5f1e3b,this['_dialog']=_0x5e370f,this['_imageElement']=_0x2a3e19,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 _0x431f4f=this['_imageElement'],_0x11acc0=_0x431f4f['getAttribute']('uploadcareImageId'),_0x46e7c9=_0x431f4f['getAttribute']('src');if(_0x11acc0)await this['_loadImageInfo'](_0x11acc0,_0x46e7c9);else{if(this['_imageCache']['has'](_0x46e7c9)){const _0x36561f=this['_imageCache']['get'](_0x46e7c9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36561f['url'],this['imageDimension']=_0x36561f['dimension'],this['imageId']=_0x36561f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5e0849}=this['_editor'],t=_0x5e0849['t'],_0x235230=new Z(_0x5e0849,this['imageStatus'],this['_attributes']);_0x235230['bind']('status')['to'](this,'imageStatus'),_0x235230['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x235230['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x235230['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x235230,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3539a5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x235230,'position':_0xa7f5da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x235230['focus']();},'onHide':()=>{_0x235230['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2cb6aa=>!F(_0x2cb6aa,_0x235230['element'])}});}['_loadImageInfo'](_0x53c4a5,_0x12c5a7){return C['getInfo'](_0x53c4a5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x388dbf=>{const {width:_0x1839e0,height:_0xe5b37d}=_0x388dbf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12c5a7,this['imageDimension']={'width':_0x1839e0,'height':_0xe5b37d},this['imageId']=_0x53c4a5;})['catch'](_0x54a321=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54a321['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5dd85a,_0x58ed3d){return this['_getImageAsFile'](_0x5dd85a)['then'](_0x2ba8b6=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x58ed3d['signal'],'file':_0x2ba8b6,'onProgress':_0x59ab73=>{_0x59ab73&&_0x59ab73['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x59ab73['value']));}}))['then'](_0x27e4b2=>{const {width:_0x3f8d64,height:_0x4c799d}=_0x27e4b2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27e4b2['cdnUrl'],this['imageDimension']={'width':_0x3f8d64,'height':_0x4c799d},this['imageId']=_0x27e4b2['uuid'],this['imageUploadProgress']=null;const _0x42b193=_0x5dd85a['getAttribute']('src');this['_imageCache']['set'](_0x42b193,{'id':_0x27e4b2['uuid'],'url':_0x27e4b2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x246b96=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x246b96['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4c49f9,_0x488d93){_0x4c49f9['on']('apply',(_0x4fd052,_0x5329f5)=>{this['_replaceImage'](_0x488d93,_0x5329f5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4c49f9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4c49f9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x675cdc,_0x3fd38f,_0x57f52d){const _0x41a2ef=this['_editor'],{width:_0x4e161b,height:_0xe2af5f}=A(_0x3fd38f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3d7e6c,imageSources:_0x3f3afe}=E(_0x3fd38f,_0x4e161b);_0x41a2ef['model']['change'](_0xc959ff=>{if('$graveyard'===_0x675cdc['root']['rootName']){_0x41a2ef['execute']('insertImage',{'imageType':_0x675cdc['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x675cdc['getAttributes']()),'uploadcareImageId':_0x57f52d,'src':_0x3d7e6c,'sources':_0x3f3afe,'width':_0x4e161b,'height':_0xe2af5f}});const _0x2a2027=_0x675cdc['getChildren']();_0x675cdc=_0x41a2ef['model']['document']['selection']['getSelectedElement']();for(const _0x882373 of _0x2a2027)_0xc959ff['append'](_0xc959ff['cloneElement'](_0x882373),_0x675cdc);}else _0xc959ff['setSelection'](_0x675cdc,'on'),_0x41a2ef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x675cdc['getAttributes']()),'uploadcareImageId':_0x57f52d,'src':_0x3d7e6c,'sources':_0x3f3afe,'width':_0x4e161b,'height':_0xe2af5f},_0x675cdc);_0xc959ff['setSelection'](_0x675cdc,'on');});}async['_getImageAsFile'](_0x65f6fd){const _0x8750b=_0x3416d5['window'],_0x179741=_0x3416d5['document']['location']['href'],_0xbc2851=new _0x8750b['URL'](_0x65f6fd['getAttribute']('src'),_0x179741);if('data:'===_0xbc2851['protocol']){const _0x367107=_0xbc2851['href']['split'](','),_0x4e87f8=_0x367107[0x0]['match'](/:(.*?);/)[0x1],_0x4bd308=_0x4e87f8['split']('/')[0x1],_0x111a82=_0x8750b['atob'](_0x367107[_0x367107['length']-0x1]);let _0xd1463d=_0x111a82['length'];const _0x5d6c22=new _0x8750b['Uint8Array'](_0xd1463d);for(;_0xd1463d--;)_0x5d6c22[_0xd1463d]=_0x111a82['charCodeAt'](_0xd1463d);return new _0x8750b['File']([_0x5d6c22],'image.'+_0x4bd308,{'type':_0x4e87f8});}const _0x575b2c=_0xbc2851['href']['split']('/'),_0x31b2a5=_0x575b2c[_0x575b2c['length']-0x1],_0x1323f2=_0x31b2a5['split']('.')[0x1];return _0x8750b['fetch'](_0xbc2851['href'])['then'](_0x3593f4=>_0x3593f4['clone']()['blob']())['then'](_0x3a1dd9=>new _0x8750b['File']([_0x3a1dd9],_0x31b2a5,{'type':'image/'+_0x1323f2}));}}class J extends _0x29a9f3{['imageEditController'];static get['requires'](){return[_0x4cefb7];}['_isEditable'];constructor(_0x1529e4){super(_0x1529e4),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x20a24b){const _0x55d5ea=V(_0x20a24b);return _0x23a306=>!(!_0x23a306||!_0x23a306['is']('element','imageBlock')&&!_0x23a306['is']('element','imageInline'))&&(!!_0x23a306['hasAttribute']('uploadcareImageId')||!!_0x23a306['hasAttribute']('src')&&_0x55d5ea(_0x23a306['getAttribute']('src')));}(_0x1529e4['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x18c725=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x18c725);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3cdd33=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3cdd33&&(_0x3cdd33['is']('element','imageBlock')||_0x3cdd33['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4cefb7),_0x3cdd33),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x29a9f3{['refresh'](){const _0x3230c8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3230c8&&(_0x3230c8['is']('element','imageBlock')||_0x3230c8['is']('element','imageInline')));}['execute'](_0x3b1ba6){const _0x25092d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2a4489=>{_0x2a4489['setAttributes'](_0x3b1ba6,_0x25092d),_0x2a4489['removeAttribute']('srcset',_0x25092d),_0x2a4489['removeAttribute']('sizes',_0x25092d);});}}class g extends _0x51e1a9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x38b10f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b66ec}=this;_0x1b66ec['commands']['add']('uploadcareImageEdit',new J(_0x1b66ec)),_0x1b66ec['commands']['add']('uploadcareImageReplace',new O(_0x1b66ec));}}class j extends _0x51e1a9{['_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 _0x2eef87=this['editor'];_0x2eef87['ui']['componentFactory']['add']('uploadcareImageEdit',_0x36aeda=>{const _0x1cb19b=_0x2eef87['commands']['get']('uploadcareImageEdit'),_0x4e5f4d=new _0x56ca7a(_0x36aeda),t=_0x36aeda['t'];return _0x4e5f4d['set']({'icon':_0x3539a5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e5f4d['bind']('isEnabled')['to'](_0x1cb19b),_0x4e5f4d['bind']('isOn')['to'](_0x1cb19b,'isActive'),this['listenTo'](_0x4e5f4d,'execute',()=>{_0x2eef87['execute']('uploadcareImageEdit'),_0x2eef87['editing']['view']['focus']();}),_0x4e5f4d;}),this['_initConfig']();}['_initConfig'](){const _0x47d974=_0x3eb501(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x47d974),this['listenTo'](this['editor'],'destroy',()=>{_0x47d974['remove']();});}}class P extends _0x51e1a9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x1f42cb,Command as _0x1ca8ff}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5dac89,IconGooglePhotos as _0x312629,IconGoogleDrive as _0x28aa6b,IconFacebook as _0x559d1f,IconDropbox as _0x131536,IconUploadcareLink as _0x1927b8,IconUploadcareImageUpload as _0x24de54,IconError as et,IconUploadcareImageEdit as _0x139a16}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5a3886,MenuBarMenuListItemButtonView as _0x58792a,View as _0x29ee13,FocusCycler as _0x453680,Dialog as _0x4f3ba5,DialogViewPosition as _0x5bf1f5,SpinnerView as _0x1bd628,IconView as at,Notification as _0xc036da}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1ebd7e,DomEmitterMixin as _0x4fa9ea,global as _0x4bac32,getAncestors as _0x370063,ObservableMixin as _0x2ad78d,createElement as _0x1f4e92,uid as _0x3e617b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x79e3cf}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x56445e,info as _0x5d8e0d}from'@uploadcare/upload-client';import*as _0x224ebb from'@uploadcare/file-uploader';var o=function(_0xa77fd7){return _0xa77fd7['Local']='local',_0xa77fd7['URL']='url',_0xa77fd7['Dropbox']='dropbox',_0xa77fd7['GDrive']='gdrive',_0xa77fd7['Facebook']='facebook',_0xa77fd7['GPhotos']='gphotos',_0xa77fd7['OneDrive']='onedrive',_0xa77fd7;}({});function _(_0x193110,_0x1ebc62,_0x2fdeff){const t=_0x193110['t'],_0x374b6c=_0x193110['t'];switch(_0x1ebc62){case o['Local']:return{'text':_0x374b6c('Insert'===_0x2fdeff?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x374b6c('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x2fdeff?_0x374b6c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x374b6c('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x2fdeff?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x2fdeff?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x2fdeff?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x2fdeff?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x2fdeff?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1ebc62;}}class e extends _0x1f42cb{['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 _0x426fec=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29796a;for(const _0x159815 in _0x426fec){const _0x1efd5a=_0x159815,_0xb571c3=_0x426fec[_0x1efd5a];if('uploadcareLicenseKeyValid'==_0xb571c3||'uploadcareLicenseKeyInvalid'==_0xb571c3||'uploadcareLicenseKeyExpired'==_0xb571c3||'uploadcareLicenseKeyDomainLimit'==_0xb571c3||'uploadcareLicenseKeyNotAllowed'==_0xb571c3||'uploadcareLicenseKeyEvaluationLimit'==_0xb571c3||'uploadcareLicenseKeyTrialLimit'==_0xb571c3||'uploadcareLicenseKeyUsageLimit'==_0xb571c3){delete _0x426fec[_0x1efd5a],_0x29796a=_0xb571c3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x29796a&&_0x426fec['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x29796a&&_0x426fec['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x29796a&&_0x426fec['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x29796a&&_0x426fec['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x29796a&&_0x426fec['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x29796a&&_0x426fec['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x29796a&&_0x426fec['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2edf28}=this,_0x15d814=_0x2edf28['commands']['get']('uploadcare');if(!_0x15d814)return;const _0x353707=this['_normalizeConfigSourceList'](_0x2edf28['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x38884c,_0x221c40)=>{const _0x1e439e=this['_getIntegrationKey'](_0x221c40['type']);return _0x38884c[_0x1e439e]||(_0x38884c[_0x1e439e]=[]),_0x38884c[_0x1e439e]['push'](_0x221c40),_0x38884c;},{});_0x2edf28['plugins']['has']('ImageInsertUI')&&_0x2edf28['commands']['get']('uploadcare')&&Object['entries'](_0x353707)['forEach'](([_0x5b3ecd,_0xfd573c])=>{_0x2edf28['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b3ecd,'observable':()=>_0x15d814,'buttonViewCreator':()=>this['_createToolbarButton'](_0xfd573c),'formViewCreator':()=>this['_createDropdownButtons'](_0xfd573c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xfd573c),'override':'assetManager'!==_0x5b3ecd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3a4def){const {locale:_0x2166ea}=this['editor'];return _0x3a4def['map'](_0x34e577=>{const _0x1aac7a=_(_0x2166ea,_0x34e577,'Insert');switch(_0x34e577){case o['Local']:return{'icon':_0x24de54,'type':o['Local'],..._0x1aac7a};case o['URL']:return{'icon':_0x1927b8,'type':o['URL'],..._0x1aac7a};case o['Dropbox']:return{'icon':_0x131536,'type':o['Dropbox'],..._0x1aac7a};case o['Facebook']:return{'icon':_0x559d1f,'type':o['Facebook'],..._0x1aac7a};case o['GDrive']:return{'icon':_0x28aa6b,'type':o['GDrive'],..._0x1aac7a};case o['GPhotos']:return{'icon':_0x312629,'type':o['GPhotos'],..._0x1aac7a};case o['OneDrive']:return{'icon':_0x5dac89,'type':o['OneDrive'],..._0x1aac7a};}});}['_getIntegrationKey'](_0x435722){switch(_0x435722){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2808b8,_0x42a5e5){const _0x3b31b5=this['editor'],_0xf84faf=new _0x2808b8(_0x3b31b5['locale']),_0x2a4ef4=_0x3b31b5['commands']['get']('uploadcare');return _0xf84faf['bind']('isEnabled')['to'](_0x2a4ef4),_0xf84faf['on']('execute',()=>{_0x2a4ef4['execute'](_0x42a5e5);}),_0xf84faf;}['_createToolbarButton'](_0x5f1c54){const {locale:_0x440ff5}=this['editor'],_0x189748=this['editor']['plugins']['get']('ImageInsertUI'),_0x245055=_0x5f1c54[0x0],_0x389632=this['_createButton'](_0x5a3886,_0x245055['type']);return _0x389632['icon']=_0x245055['icon'],_0x389632['bind']('label')['to'](_0x189748,'isImageSelected',_0x5aaef1=>_(_0x440ff5,_0x245055['type'],_0x5aaef1?'Replace':'Insert')['text']),_0x389632['tooltip']=!0x0,_0x389632;}['_createDropdownButtons'](_0x1091bd){const {locale:_0x303c0f}=this['editor'],_0x2cc402=this['editor']['plugins']['get']('ImageInsertUI');return _0x1091bd['map'](_0x4b1e05=>{const _0x74ab0d=this['_createButton'](_0x5a3886,_0x4b1e05['type']);return _0x74ab0d['withText']=!0x0,_0x74ab0d['icon']=_0x4b1e05['icon'],_0x74ab0d['bind']('label')['to'](_0x2cc402,'isImageSelected',_0x5ecd3f=>_(_0x303c0f,_0x4b1e05['type'],_0x5ecd3f?'Replace':'Insert')['text']),_0x74ab0d;});}['_createMenuBarButtons'](_0x2b803a){return _0x2b803a['map'](_0x28a681=>{const _0x5b1f46=this['_createButton'](_0x58792a,_0x28a681['type']);return _0x5b1f46['icon']=_0x28a681['icon'],_0x5b1f46['label']=_0x28a681['shortText'],_0x5b1f46;});}}class q extends _0x29ee13{['focusTracker'];['focusCycler'];constructor(_0x3be045){super(_0x3be045),this['focusTracker']=new _0x1ebd7e(),this['focusCycler']=new _0x453680({'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 S extends q{constructor(_0x1aa28b){super(_0x1aa28b),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x3d7539,_0x4c6366){const _0x498dd3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3d2516=>_0x3d2516<=_0x4c6366)['map'](_0x52ebe1=>_0x3d7539['replace'](/\/$/,'')+'/-/resize/'+_0x52ebe1+'x/\x20'+_0x52ebe1+'w');return{'imageFallbackUrl':_0x3d7539,'imageSources':[{'srcset':_0x498dd3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4c6366+'px)\x20100vw,\x20'+_0x4c6366+'px','type':'image/webp'}]};}function A(_0x383473,_0x5612aa,_0x543619){const _0x105690=_0x383473['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x105690?parseInt(_0x105690[0x1],0xa):_0x5612aa,'height':_0x105690?parseInt(_0x105690[0x2],0xa):_0x543619};}function m(_0x342953,_0x5e7d82){const _0x1870a0=Object['create'](_0x4fa9ea),_0xbd9579=_0x342953['plugins']['get']('ImageUtils'),_0x57261e=_0x342953['editing']['mapper']['toViewElement'](_0x5e7d82),_0x451757=_0xbd9579['findViewImgElement'](_0x57261e),_0x416b8d=_0x342953['editing']['view']['domConverter']['viewToDom'](_0x451757),_0x206f20=_0x5e7d82['getAttribute']('width'),_0x307133=_0x5e7d82['getAttribute']('height'),_0x3cad29='image-processing';_0x342953['editing']['view']['change'](_0x44a914=>{_0x44a914['addClass'](_0x3cad29,_0x57261e),_0x44a914['setStyle']('aspect-ratio',_0x206f20+'/'+_0x307133,_0x451757);}),_0x1870a0['listenTo'](_0x416b8d,'load',()=>{_0x1870a0['stopListening'](_0x416b8d,'load'),_0x342953['editing']['view']['change'](_0x333196=>{_0x333196['removeClass'](_0x3cad29,_0x57261e),_0x333196['removeStyle']('aspect-ratio',_0x451757);});});}function V(_0x146cf0){if(Array['isArray'](_0x146cf0)){const _0x220070=_0x146cf0['map'](V);return _0x1b8d1d=>_0x220070['some'](_0x33765c=>_0x33765c(_0x1b8d1d));}if('origin'==_0x146cf0){const _0x3a4495=_0x4bac32['window']['location']['origin'];return _0x49bc54=>new URL(_0x49bc54,_0x4bac32['document']['baseURI'])['origin']==_0x3a4495;}return'function'==typeof _0x146cf0?_0x146cf0:_0x146cf0 instanceof RegExp?_0x35b1a9=>!(!_0x35b1a9['match'](_0x146cf0)&&!_0x35b1a9['replace'](/^https?:\/\//,'')['match'](_0x146cf0)):()=>!0x1;}function F(_0x163233,_0x46015f){return _0x370063(_0x163233['target'])['includes'](_0x46015f);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x2ad78d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x7124a6,_0x17504f,_0x442ac8){super(),this['_editor']=_0x7124a6,this['_editing']=_0x17504f,this['_dialog']=_0x7124a6['plugins']['get'](_0x4f3ba5),this['_api']=_0x17504f['ctxElement']['getAPI'](),this['_type']=_0x442ac8,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:_0x30414c,model:_0x49cfd1}=this['_editor'],_0xadf67e=_0x49cfd1['document']['selection']['getSelectedElement'](),_0x10e3cf=_0xadf67e&&(_0xadf67e['is']('element','imageBlock')||_0xadf67e['is']('element','imageInline'));this['_formView']=new S(_0x30414c),this['_dialog']['show']({'id':'uploadCare','icon':_0x24de54,'title':_(_0x30414c,this['_type'],_0x10e3cf?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5bf1f5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2244a9=>!F(_0x2244a9,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3a2b89}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4bf86a=>{const _0x1cd9c2=_0x3a2b89['length'];for(const _0x30faa9 of _0x3a2b89){const _0x5e8d82=_0x30faa9===_0x3a2b89[_0x1cd9c2-0x1],{cdnUrl:_0x2477db,fileInfo:_0x2c93ac}=_0x30faa9;if(!_0x2477db||!_0x2c93ac)continue;const {width:_0x1d972f,height:_0x1efc81}=_0x2c93ac['imageInfo'],_0x10607c=A(_0x2477db,_0x1d972f,_0x1efc81),_0x3f8d62=E(_0x2477db,_0x10607c['width']),_0x55fc7d={'id':_0x2c93ac['uuid'],'type':'image','attributes':{'imageDimension':_0x10607c,..._0x3f8d62}};this['_insertAsset'](_0x55fc7d,_0x5e8d82,_0x4bf86a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x327025=>{'idle'===_0x327025['detail']['status']&&!_0x327025['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x514755,_0x43e1fd,_0x25e1da){const _0x506ebf=this['_editor']['model']['document']['selection'],_0x51f8e7=_0x506ebf['getSelectedElement'](),_0x4ee019=!(!_0x51f8e7||!_0x51f8e7['is']('element','imageInline'));_0x25e1da['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x514755,_0x4ee019),_0x43e1fd||_0x25e1da['setSelection'](_0x506ebf['getLastPosition']());}['_insertImage'](_0x436384,_0x364e28){const _0x4c086d=this['_editor'],{imageDimension:_0x5e8398,imageFallbackUrl:_0x4726e0,imageSources:_0x5c57ff}=_0x436384['attributes'];_0x4c086d['execute']('insertImage',{'imageType':_0x364e28?'imageInline':null,'source':{'uploadcareImageId':_0x436384['id'],'src':_0x4726e0,'sources':_0x5c57ff,..._0x5e8398}});}}class n extends _0x1ca8ff{['_editing'];['_controller']=null;static get['requires'](){return[_0x4f3ba5,i];}constructor(_0x240118){super(_0x240118),this['_editing']=_0x240118['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5104a9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5104a9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x81d82a,publicKey:_0x3b3f3d,signal:_0x3b171f,onProgress:_0x415122}){return _0x56445e(_0x81d82a,{'publicKey':_0x3b3f3d,'store':'auto','signal':_0x3b171f,'onProgress':_0x415122});}static['getInfo'](_0x4ededb,_0x58b434){return _0x5d8e0d(_0x4ededb,_0x58b434);}}class p extends _0x1f42cb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x79e3cf,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x514d1f=this['editor'];if(!!!_0x514d1f['config']['get']('uploadcare'))return;_0x514d1f['plugins']['get'](_0x79e3cf)['createUploadAdapter']=_0x2fc556=>new x(_0x2fc556,_0x514d1f),_0x514d1f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x10c149,{imageElement:_0x36ff22,data:_0x44714f})=>{_0x514d1f['model']['change'](_0x4c8fe8=>{_0x4c8fe8['setAttribute']('uploadcareImageId',_0x44714f['uploadcareImageId'],_0x36ff22);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3a4c2c,_0x2a7c8d){this['loader']=_0x3a4c2c,this['editor']=_0x2a7c8d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x11c201=this['editor']['config']['get']('uploadcare.pubkey'),_0x145b80=await this['loader']['file'];return C['upload']({'file':_0x145b80,'publicKey':_0x11c201,'signal':this['controller']['signal'],'onProgress':_0x1df0cc=>{_0x1df0cc&&_0x1df0cc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1df0cc['value']);}})['then'](async _0x33fa4b=>{const {imageFallbackUrl:_0x29b646,imageSources:_0x275a1a}=E(_0x33fa4b['cdnUrl'],_0x33fa4b['imageInfo']['width']);return{'uploadcareImageId':_0x33fa4b['uuid'],'default':_0x29b646,'sources':_0x275a1a};})['catch'](()=>{const _0x2575b5=t('Cannot\x20upload\x20file:')+('\x20'+_0x145b80['name']+'.');return Promise['reject'](_0x2575b5);});}['abort'](){this['controller']['abort']();}}class i extends _0x1f42cb{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4f3ba5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5d3100=this['editor'];_0x5d3100['commands']['add']('uploadcare',new n(_0x5d3100));}['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 _0x22e34e=_0x4bac32['document']['querySelector']('input[uploadcare-file-input]');_0x22e34e&&_0x22e34e['remove']();}),async function(_0x4f2400){const _0x151de0=_0x1e97da([0x32,0x39,0x76,0x43,0x67,0x6c,0x46,0x38,0x4a,0x4f,0x58,0x4e,0x78,0x6d,0x36,0x70,0x4b,0x48,0x52,0x75,0x42,0x6b,0x53,0x30,0x55,0x71,0x41,0x6e,0x51,0x44,0x61,0x5a,0x65,0x6a,0x45,0x77,0x31,0x73,0x7a,0x56,0x59,0x4c,0x57,0x35,0x6f,0x37,0x33,0x79,0x49,0x62,0x4d,0x50,0x74,0x72,0x66,0x47,0x69,0x68,0x34,0x54,0x63,0x64]),_0x1852e9=0x59c3e1f,_0x1dffcb=0x59b5b67^_0x1852e9,_0x2476ed=window[_0x1e97da([0x44,0x61,0x74,0x65])][_0x1e97da([0x6e,0x6f,0x77])](),_0x3bf657=_0x4f2400[_0x1e97da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6ad1a5=new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44bb58=>{_0x3bf657[_0x1e97da([0x6f,0x6e,0x63,0x65])](_0x1e97da([0x72,0x65,0x61,0x64,0x79]),_0x44bb58);}),_0x1d6757={[_0x1e97da([0x6b,0x74,0x79])]:_0x1e97da([0x45,0x43]),[_0x1e97da([0x75,0x73,0x65])]:_0x1e97da([0x73,0x69,0x67]),[_0x1e97da([0x63,0x72,0x76])]:_0x1e97da([0x50,0x2d,0x32,0x35,0x36]),[_0x1e97da([0x78])]:_0x1e97da([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]),[_0x1e97da([0x79])]:_0x1e97da([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]),[_0x1e97da([0x61,0x6c,0x67])]:_0x1e97da([0x45,0x53,0x32,0x35,0x36])},_0x5a9fc8=_0x3bf657[_0x1e97da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e97da([0x67,0x65,0x74])](_0x1e97da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3108f9(){let _0x574e43,_0x592c36=null,_0x1e57bc=null;try{if(_0x5a9fc8==_0x1e97da([0x47,0x50,0x4c]))return _0x1e97da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x574e43=_0x2c9a1d(),!_0x574e43)return _0x1e97da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x574e43[_0x1e97da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e57bc=_0x5cea5e(_0x574e43[_0x1e97da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x574e43[_0x1e97da([0x6a,0x74,0x69])])),await _0x5223ef()?_0x63e8e7()?_0x227fd4()?_0x1e97da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b4b64()?(_0x574e43[_0x1e97da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e97da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x592c36=_0x13e584(_0x1e97da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x574e43[_0x1e97da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e97da([0x74,0x72,0x69,0x61,0x6c])&&(_0x592c36=_0x13e584(_0x1e97da([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16a1a9()):_0x1e97da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e97da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e97da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x6dcd0d){return _0x1e97da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x227fd4(){const _0xf5cdf9=[_0x1e97da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e97da([0x74,0x72,0x69,0x61,0x6c])][_0x1e97da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x574e43[_0x1e97da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2476ed/0x3e8:0xe10*_0x1dffcb;return _0x574e43[_0x1e97da([0x65,0x78,0x70])]<_0xf5cdf9;}function _0x63e8e7(){const _0x4baeb2=_0x574e43[_0x1e97da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4baeb2&&(!!_0x4baeb2[_0x1e97da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e97da([0x2a]))||!!_0x4baeb2[_0x1e97da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e97da([0x55,0x50,0x4c,0x43])));}function _0x1b4b64(){const _0x88867a=_0x574e43[_0x1e97da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x88867a||0x0==_0x88867a[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4db785}=new URL(window[_0x1e97da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x88867a[_0x1e97da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4db785))return!0x0;const _0x48bfe3=_0x4db785[_0x1e97da([0x73,0x70,0x6c,0x69,0x74])](_0x1e97da([0x2e]));return _0x88867a[_0x1e97da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x580627=>_0x580627[_0x1e97da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e97da([0x2a])))[_0x1e97da([0x6d,0x61,0x70])](_0x1c87fe=>_0x1c87fe[_0x1e97da([0x73,0x70,0x6c,0x69,0x74])](_0x1e97da([0x2e])))[_0x1e97da([0x73,0x6f,0x6d,0x65])](_0xea98e=>_0x48bfe3[_0x1e97da([0x65,0x76,0x65,0x72,0x79])]((_0x390998,_0x4b92ac)=>_0xea98e[_0x4b92ac]===_0x390998||_0xea98e[_0x4b92ac]===_0x1e97da([0x2a])));}function _0x16a1a9(){return _0x592c36&&_0x1e57bc?new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3266c5,_0x105eb1)=>{_0x592c36[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x3266c5,_0x105eb1),_0x1e57bc[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x13848c=>{_0x13848c!=_0x1e97da([0x56,0x61,0x6c,0x69,0x64])&&_0x3266c5(_0x13848c);},_0x105eb1);}):_0x592c36||_0x1e57bc||_0x1e97da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cea5e(_0x59123e,_0x26134f){return new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d311f=>{if(_0xe76056())return _0x2d311f(_0x1e97da([0x56,0x61,0x6c,0x69,0x64]));_0x1fdb5a(),_0x3bf657[_0x1e97da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e97da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e0e05=!0x1;const _0x388711=_0x3e617b();function _0x623142(_0x2f11ac){return!!_0x2f11ac&&(typeof _0x2f11ac===_0x1e97da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f11ac===_0x1e97da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f11ac[_0x1e97da([0x74,0x68,0x65,0x6e])]===_0x1e97da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f11ac[_0x1e97da([0x63,0x61,0x74,0x63,0x68])]===_0x1e97da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3465ce(_0x40615b){_0x290a1f(_0x40615b)[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x25a201=>{if(!_0x25a201||_0x25a201[_0x1e97da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e97da([0x6f,0x6b]))return _0x1e97da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c9807(_0x2827f3(_0x388711+_0x26134f))!=_0x25a201[_0x1e97da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e97da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e97da([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x53bcc4=>(_0x2baac1(),_0x53bcc4),()=>{const _0x421d7e=_0x3b0595();return null==_0x421d7e?(_0x2baac1(),_0x1e97da([0x56,0x61,0x6c,0x69,0x64])):_0x1e97da(_0x2476ed-_0x421d7e>(0x2190ba1f^_0x1852e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x2d311f)[_0x1e97da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d311f(_0x1e97da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48ffec=0x5aad09f^_0x1852e9;function _0x2baac1(){const _0x55e990=_0x1e97da([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c9807(_0x2827f3(_0x59123e)),_0x3eb6e3=_0x32f15f(_0x1c9807(window[_0x1e97da([0x4d,0x61,0x74,0x68])][_0x1e97da([0x63,0x65,0x69,0x6c])](_0x2476ed/_0x48ffec)));window[_0x1e97da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e97da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55e990,_0x3eb6e3);}function _0x3b0595(){const _0x28ccbe=_0x1e97da([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c9807(_0x2827f3(_0x59123e)),_0x8a6df=window[_0x1e97da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e97da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28ccbe);return _0x8a6df?window[_0x1e97da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32f15f(_0x8a6df),0x10)*_0x48ffec:null;}function _0x290a1f(_0x4c2c5e){return new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a4925,_0x5874ef)=>{_0x4c2c5e[_0x1e97da([0x74,0x68,0x65,0x6e])](_0x5a4925,_0x5874ef),window[_0x1e97da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5874ef,0x59deadf^_0x1852e9);});}}_0x3bf657[_0x1e97da([0x6f,0x6e])](_0x1e97da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x517afb,_0xd8f233)=>{if(_0xd8f233[0x0]!=_0x59123e)return _0x2d311f(_0x1e97da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd8f233[0x1]={..._0xd8f233[0x1],[_0x1e97da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x388711};},{[_0x1e97da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e97da([0x68,0x69,0x67,0x68])}),_0x3bf657[_0x1e97da([0x6f,0x6e])](_0x1e97da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x342ae3=>{_0x623142(_0x342ae3[_0x1e97da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e0e05=!0x0,_0x3465ce(_0x342ae3[_0x1e97da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e97da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e97da([0x6c,0x6f,0x77])}),_0x6ad1a5[_0x1e97da([0x74,0x68,0x65,0x6e])](()=>{_0x1e0e05||_0x2d311f(_0x1e97da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe76056(){return _0x3bf657[_0x1e97da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e97da([0x76,0x69,0x65,0x77])][_0x1e97da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e97da([0x61,0x75,0x74,0x6f]);}function _0x1fdb5a(){_0x3bf657[_0x1e97da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e97da([0x76,0x69,0x65,0x77])][_0x1e97da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e97da([0x61,0x75,0x74,0x6f]);}}function _0x13e584(_0x2c0a6e){const _0x382e10=[new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x419bb8=>setTimeout(_0x419bb8,0x59500d3^_0x1852e9)),_0x6ad1a5[_0x1e97da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cfc47=>{let _0x12fd11=0x0;_0x3bf657[_0x1e97da([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e97da([0x6f,0x6e])](_0x1e97da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a656d,_0x1e712b)=>{_0x1e712b[0x0][_0x1e97da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12fd11++,_0x12fd11==(0x59c3fe7^_0x1852e9)&&(_0x5cfc47(),_0x4a656d[_0x1e97da([0x6f,0x66,0x66])]());});}))];return window[_0x1e97da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e97da([0x72,0x61,0x63,0x65])](_0x382e10)[_0x1e97da([0x74,0x68,0x65,0x6e])](()=>_0x2c0a6e);}async function _0x43461a(){await _0x6ad1a5,_0x3bf657[_0x1e97da([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e97da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f8859,_0x3bf657[_0x1e97da([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e97da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f8859,_0x3bf657[_0x1e97da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e97da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x551e30(_0x3d25f6){const _0x149f09=_0x15d44b();_0x3bf657[_0x149f09]=_0x1e97da([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d25f6,_0x3d25f6!=_0x1e97da([0x56,0x61,0x6c,0x69,0x64])&&_0x43461a();}function _0x15d44b(){const _0xaee93e=window[_0x1e97da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e97da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e97da([0x6e,0x6f,0x77])]())[_0x1e97da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e97da([0x2e]),'');let _0x5d0e61=_0x1e97da([0x76]);for(let _0x403912=0x0;_0x403912<_0xaee93e[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x403912+=0x2){let _0x3869c6=window[_0x1e97da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaee93e[_0x1e97da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x403912,_0x403912+0x2));_0x3869c6>=_0x151de0[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3869c6-=_0x151de0[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d0e61+=_0x151de0[_0x3869c6];}return _0x5d0e61;}function _0x2c9a1d(){const _0x2cfabb=_0x5a9fc8[_0x1e97da([0x73,0x70,0x6c,0x69,0x74])](_0x1e97da([0x2e]));if(0x3!=_0x2cfabb[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dd857(_0x2cfabb[0x1]);function _0x5dd857(_0x3b4778){const _0x3c7028=_0x46530b(_0x3b4778);return _0x3c7028&&_0x724478()?_0x3c7028:null;function _0x724478(){const _0x358f95=_0x3c7028[_0x1e97da([0x6a,0x74,0x69])],_0x1016c2=window[_0x1e97da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358f95[_0x1e97da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x358f95[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfb7197={..._0x3c7028,[_0x1e97da([0x6a,0x74,0x69])]:_0x358f95[_0x1e97da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x358f95[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfb7197[_0x1e97da([0x76,0x63])],_0x2827f3(_0xfb7197)==_0x1016c2;}}}async function _0x5223ef(){let _0xbb075d=!0x0;try{const _0x225cdd=_0x5a9fc8[_0x1e97da([0x73,0x70,0x6c,0x69,0x74])](_0x1e97da([0x2e])),[_0x22bcc1,_0x496605,_0x4d1a31]=_0x225cdd;return _0x1243fd(_0x22bcc1),await _0x572467(_0x22bcc1,_0x496605,_0x4d1a31),_0xbb075d;}catch(_0x4c7833){return!0x1;}function _0x1243fd(_0xe15ad8){const _0xc00104=_0x46530b(_0xe15ad8);_0xc00104&&_0xc00104[_0x1e97da([0x61,0x6c,0x67])]==_0x1e97da([0x45,0x53,0x32,0x35,0x36])||(_0xbb075d=!0x1);}async function _0x572467(_0x2633fa,_0x45b61d,_0x3f9eee){const _0x2777d4=window[_0x1e97da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e97da([0x66,0x72,0x6f,0x6d])](_0x50be20(_0x3f9eee),_0x267aa7=>_0x267aa7[_0x1e97da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x108618=new window[(_0x1e97da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e97da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2633fa+_0x1e97da([0x2e])+_0x45b61d),_0x571327=window[_0x1e97da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e97da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x571327)return;const _0x199b0b=await _0x571327[_0x1e97da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e97da([0x6a,0x77,0x6b]),_0x1d6757,{[_0x1e97da([0x6e,0x61,0x6d,0x65])]:_0x1e97da([0x45,0x43,0x44,0x53,0x41]),[_0x1e97da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e97da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e97da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x571327[_0x1e97da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e97da([0x6e,0x61,0x6d,0x65])]:_0x1e97da([0x45,0x43,0x44,0x53,0x41]),[_0x1e97da([0x68,0x61,0x73,0x68])]:{[_0x1e97da([0x6e,0x61,0x6d,0x65])]:_0x1e97da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x199b0b,_0x2777d4,_0x108618)||(_0xbb075d=!0x1);}}function _0x46530b(_0x44476a){return _0x44476a[_0x1e97da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e97da([0x65,0x79]))?JSON[_0x1e97da([0x70,0x61,0x72,0x73,0x65])](_0x50be20(_0x44476a)):null;}function _0x50be20(_0x524747){return window[_0x1e97da([0x61,0x74,0x6f,0x62])](_0x524747[_0x1e97da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e97da([0x2b]))[_0x1e97da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e97da([0x2f])));}function _0x2827f3(_0x1d4f58){let _0x9ed74f=0x1505;function _0x43ca7a(_0xe8bce9){for(let _0x7716e2=0x0;_0x7716e2<_0xe8bce9[_0x1e97da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7716e2++){const _0x2fbbbd=_0xe8bce9[_0x1e97da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7716e2);_0x9ed74f=(_0x9ed74f<<0x5)+_0x9ed74f+_0x2fbbbd,_0x9ed74f&=_0x9ed74f;}}function _0x19dadf(_0x60b017){Array[_0x1e97da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x60b017)?_0x60b017[_0x1e97da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19dadf):_0x60b017&&typeof _0x60b017==_0x1e97da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e97da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x60b017)[_0x1e97da([0x73,0x6f,0x72,0x74])]()[_0x1e97da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14860e,_0x4fe90c])=>{_0x43ca7a(_0x14860e),_0x19dadf(_0x4fe90c);}):_0x43ca7a(window[_0x1e97da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x60b017));}return _0x19dadf(_0x1d4f58),_0x9ed74f>>>0x0;}function _0x1c9807(_0x30ef86){return _0x30ef86[_0x1e97da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e97da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e97da([0x30]));}function _0x32f15f(_0x137bea){return _0x137bea[_0x1e97da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e97da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e97da([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f8859(){}function _0x1e97da(_0x7c6f90){return _0x7c6f90['map'](_0xdc9d0e=>String['fromCharCode'](_0xdc9d0e))['join']('');}_0x551e30(await _0x3108f9());}(this);}['_initSchema'](){const _0x8ac939=this['editor']['model']['schema'];_0x8ac939['isRegistered']('imageBlock')&&_0x8ac939['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8ac939['isRegistered']('imageInline')&&_0x8ac939['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x259b9e=this['editor'];_0x259b9e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x259b9e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x123214=>_0x123214['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5db56b=_0x259b9e['commands']['get']('replaceImageSource');_0x5db56b&&this['listenTo'](_0x5db56b,'cleanupImage',(_0x3fca3b,[_0x2ba64c,_0x358643])=>{_0x2ba64c['removeAttribute']('uploadcareImageId',_0x358643);});}['_initConfig'](){const _0x30576b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2acd05=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1f4e92(_0x4bac32['document'],'uc-config',{..._0x30576b,'pubkey':_0x2acd05,'ctx-name':'uploader','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']=_0x4fb7f3=>{if('closeMax'==_0x4fb7f3)return'#uc-icon-arrow-down';},_0x4bac32['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1f4e92(_0x4bac32['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4bac32['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x21af9c=this['editor']['commands']['get']('insertImage');_0x21af9c&&this['listenTo'](_0x21af9c,'execute',()=>{const _0x1cad6f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1cad6f&&_0x1cad6f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1cad6f);});});const _0x2e97df=this['editor']['commands']['get']('uploadcareImageReplace');_0x2e97df&&this['listenTo'](_0x2e97df,'execute',()=>{const _0x39a8f4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x39a8f4&&_0x39a8f4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x39a8f4);});});}}class u extends _0x1f42cb{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12128d){super(_0x12128d),_0x12128d['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x224ebb['defineComponents'](_0x224ebb);}}class ta extends _0x29ee13{constructor(_0x33a4b6){super(_0x33a4b6);const t=_0x33a4b6['t'],_0x55557c=this['bindTemplate'],_0x3889b9=new _0x1bd628();_0x3889b9['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':[_0x3889b9,{'text':_0x55557c['to']('imageUploadProgress',_0x470a0d=>t('Loading\x20image...')+'\x20('+(_0x470a0d||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 rt extends _0x29ee13{constructor(_0x39a467){super(_0x39a467);const t=_0x39a467['t'];this['set']('errorType',null);const _0x498bcf=new _0x5a3886(_0x39a467);_0x498bcf['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x498bcf['withText']=!0x0,_0x498bcf['class']='ck-button-action',_0x498bcf['on']('execute',()=>{this['fire']('retry');}),_0x498bcf['bind']('isVisible')['to'](this,'errorType',_0x11f8c2=>'NotFound'!==_0x11f8c2);const _0x4b6e06=new at();_0x4b6e06['content']=et,_0x4b6e06['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x348d6b=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':[_0x4b6e06,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x348d6b['to']('errorType',_0x2f9f18=>t('NotFound'!==_0x2f9f18?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x498bcf]},{'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 tt extends _0x29ee13{constructor(_0x56d4cc,_0x3531f8){super(_0x56d4cc);const _0x2ce125=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3531f8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2ce125['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x297ba7,_0x5aa332,_0x2c0113){super(_0x297ba7),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x297ba7),this['_errorView']=new rt(_0x297ba7),this['_editingView']=new tt(_0x297ba7,_0x2c0113),this['_focusableView']=new _0x29ee13(_0x297ba7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5aa332),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'],_0x236616=>{this['_addUploadcareImageEditorListeners'](_0x236616);});}),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'](_0x26ac5a,_0x3c26e5){const _0x1f02d5='uc-cloud-image-editor',_0x39d681=_0x26ac5a['querySelector'](_0x1f02d5);if(_0x39d681)return _0x3c26e5(_0x39d681);const _0x23e8aa=new MutationObserver(_0x4700c2=>{const _0x462268=_0x4700c2['filter'](_0x1e2630=>_0x1e2630['target']===_0x26ac5a&&_0x1e2630['addedNodes']['length']>0x0&&_0x1e2630['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1f02d5);_0x462268['length']&&(_0x23e8aa['disconnect'](),_0x3c26e5(_0x462268[0x0]['addedNodes'][0x0]));});_0x23e8aa['observe'](_0x26ac5a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4c8831){_0x4c8831['addEventListener']('apply',_0x311cda=>{this['fire']('apply',{'imageSrc':_0x311cda['detail']['cdnUrl']});}),_0x4c8831['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x2ad78d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5aaf86,_0x4a23d9,_0x370e04){super(),this['_editor']=_0x5aaf86,this['_dialog']=_0x4a23d9,this['_imageElement']=_0x370e04,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 _0x27022b=this['_imageElement'],_0x254a45=_0x27022b['getAttribute']('uploadcareImageId'),_0x4bb6dc=_0x27022b['getAttribute']('src');if(_0x254a45)await this['_loadImageInfo'](_0x254a45,_0x4bb6dc);else{if(this['_imageCache']['has'](_0x4bb6dc)){const _0x518ddb=this['_imageCache']['get'](_0x4bb6dc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x518ddb['url'],this['imageDimension']=_0x518ddb['dimension'],this['imageId']=_0x518ddb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ecbef}=this['_editor'],t=_0x1ecbef['t'],_0x1dbf3a=new Z(_0x1ecbef,this['imageStatus'],this['_attributes']);_0x1dbf3a['bind']('status')['to'](this,'imageStatus'),_0x1dbf3a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1dbf3a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1dbf3a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1dbf3a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x139a16,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1dbf3a,'position':_0x5bf1f5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1dbf3a['focus']();},'onHide':()=>{_0x1dbf3a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3bbc35=>!F(_0x3bbc35,_0x1dbf3a['element'])}});}['_loadImageInfo'](_0x448907,_0x110ea2){return C['getInfo'](_0x448907,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1481ff=>{const {width:_0x4e6e27,height:_0x317143}=_0x1481ff['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x110ea2,this['imageDimension']={'width':_0x4e6e27,'height':_0x317143},this['imageId']=_0x448907;})['catch'](_0x3a5b2e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a5b2e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x58dd14,_0x4bb9e7){return this['_getImageAsFile'](_0x58dd14)['then'](_0x3e1438=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4bb9e7['signal'],'file':_0x3e1438,'onProgress':_0x266182=>{_0x266182&&_0x266182['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x266182['value']));}}))['then'](_0x3be237=>{const {width:_0x14fe0f,height:_0x107b72}=_0x3be237['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3be237['cdnUrl'],this['imageDimension']={'width':_0x14fe0f,'height':_0x107b72},this['imageId']=_0x3be237['uuid'],this['imageUploadProgress']=null;const _0x4348ff=_0x58dd14['getAttribute']('src');this['_imageCache']['set'](_0x4348ff,{'id':_0x3be237['uuid'],'url':_0x3be237['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b471e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b471e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xcb9ff6,_0x290783){_0xcb9ff6['on']('apply',(_0x2eb59d,_0x16f4b3)=>{this['_replaceImage'](_0x290783,_0x16f4b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xcb9ff6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xcb9ff6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x211908,_0x41436c,_0x10b60f){const _0x553b73=this['_editor'],{width:_0x5d2c2b,height:_0x768ee9}=A(_0x41436c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38c66a,imageSources:_0x42925f}=E(_0x41436c,_0x5d2c2b);_0x553b73['model']['change'](_0x4d3f8d=>{if('$graveyard'===_0x211908['root']['rootName']){_0x553b73['execute']('insertImage',{'imageType':_0x211908['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x211908['getAttributes']()),'uploadcareImageId':_0x10b60f,'src':_0x38c66a,'sources':_0x42925f,'width':_0x5d2c2b,'height':_0x768ee9}});const _0x3edff7=_0x211908['getChildren']();_0x211908=_0x553b73['model']['document']['selection']['getSelectedElement']();for(const _0x385761 of _0x3edff7)_0x4d3f8d['append'](_0x4d3f8d['cloneElement'](_0x385761),_0x211908);}else _0x4d3f8d['setSelection'](_0x211908,'on'),_0x553b73['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x211908['getAttributes']()),'uploadcareImageId':_0x10b60f,'src':_0x38c66a,'sources':_0x42925f,'width':_0x5d2c2b,'height':_0x768ee9},_0x211908);_0x4d3f8d['setSelection'](_0x211908,'on');});}async['_getImageAsFile'](_0x30fd3b){const _0x19d20c=_0x4bac32['window'],_0x33630b=_0x4bac32['document']['location']['href'],_0x123454=new _0x19d20c['URL'](_0x30fd3b['getAttribute']('src'),_0x33630b);if('data:'===_0x123454['protocol']){const _0xcef5c4=_0x123454['href']['split'](','),_0xa5182=_0xcef5c4[0x0]['match'](/:(.*?);/)[0x1],_0x3996a8=_0xa5182['split']('/')[0x1],_0x267290=_0x19d20c['atob'](_0xcef5c4[_0xcef5c4['length']-0x1]);let _0x2b7121=_0x267290['length'];const _0x3640b5=new _0x19d20c['Uint8Array'](_0x2b7121);for(;_0x2b7121--;)_0x3640b5[_0x2b7121]=_0x267290['charCodeAt'](_0x2b7121);return new _0x19d20c['File']([_0x3640b5],'image.'+_0x3996a8,{'type':_0xa5182});}const _0x198e18=_0x123454['href']['split']('/'),_0x13128b=_0x198e18[_0x198e18['length']-0x1],_0xae9629=_0x13128b['split']('.')[0x1];return _0x19d20c['fetch'](_0x123454['href'])['then'](_0x5c17ae=>_0x5c17ae['clone']()['blob']())['then'](_0x353c35=>new _0x19d20c['File']([_0x353c35],_0x13128b,{'type':'image/'+_0xae9629}));}}class J extends _0x1ca8ff{['imageEditController'];static get['requires'](){return[_0x4f3ba5];}['_isEditable'];constructor(_0x484bbd){super(_0x484bbd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5ac0e5){const _0x3371d0=V(_0x5ac0e5);return _0x3fd21a=>!(!_0x3fd21a||!_0x3fd21a['is']('element','imageBlock')&&!_0x3fd21a['is']('element','imageInline'))&&(!!_0x3fd21a['hasAttribute']('uploadcareImageId')||!!_0x3fd21a['hasAttribute']('src')&&_0x3371d0(_0x3fd21a['getAttribute']('src')));}(_0x484bbd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x53078d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x53078d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x25b9d9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25b9d9&&(_0x25b9d9['is']('element','imageBlock')||_0x25b9d9['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4f3ba5),_0x25b9d9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1ca8ff{['refresh'](){const _0x37d379=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x37d379&&(_0x37d379['is']('element','imageBlock')||_0x37d379['is']('element','imageInline')));}['execute'](_0x5f0227){const _0x5eab7d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5cbb02=>{_0x5cbb02['setAttributes'](_0x5f0227,_0x5eab7d),_0x5cbb02['removeAttribute']('srcset',_0x5eab7d),_0x5cbb02['removeAttribute']('sizes',_0x5eab7d);});}}class g extends _0x1f42cb{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0xc036da,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e2db8}=this;_0x5e2db8['commands']['add']('uploadcareImageEdit',new J(_0x5e2db8)),_0x5e2db8['commands']['add']('uploadcareImageReplace',new O(_0x5e2db8));}}class j extends _0x1f42cb{['_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 _0x48c7e3=this['editor'];_0x48c7e3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x145ec4=>{const _0x14073f=_0x48c7e3['commands']['get']('uploadcareImageEdit'),_0x12b707=new _0x5a3886(_0x145ec4),t=_0x145ec4['t'];return _0x12b707['set']({'icon':_0x139a16,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x12b707['bind']('isEnabled')['to'](_0x14073f),_0x12b707['bind']('isOn')['to'](_0x14073f,'isActive'),this['listenTo'](_0x12b707,'execute',()=>{_0x48c7e3['execute']('uploadcareImageEdit'),_0x48c7e3['editing']['view']['focus']();}),_0x12b707;}),this['_initConfig']();}['_initConfig'](){const _0x1e9029=_0x1f4e92(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e9029),this['listenTo'](this['editor'],'destroy',()=>{_0x1e9029['remove']();});}}class P extends _0x1f42cb{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x546da1=>0x1!=_0x546da1}};
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':_0x3721d8=>0x1!=_0x3721d8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5de620=>{const {af:{dictionary:_0x1ea18d,getPluralForm:_0x43b82b}}={'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':_0x3128d3=>0x1!=_0x3128d3}};_0x5de620['af']||={'dictionary':{},'getPluralForm':null},_0x5de620['af']['dictionary']=Object['assign'](_0x5de620['af']['dictionary'],_0x1ea18d),_0x5de620['af']['getPluralForm']=_0x43b82b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d3521=>{const {af:{dictionary:_0x587e53,getPluralForm:_0xaba3b1}}={'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':_0x17aa69=>0x1!=_0x17aa69}};_0x4d3521['af']||={'dictionary':{},'getPluralForm':null},_0x4d3521['af']['dictionary']=Object['assign'](_0x4d3521['af']['dictionary'],_0x587e53),_0x4d3521['af']['getPluralForm']=_0xaba3b1;})(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':_0x22c35a=>0x0==_0x22c35a?0x0:0x1==_0x22c35a?0x1:0x2==_0x22c35a?0x2:_0x22c35a%0x64>=0x3&&_0x22c35a%0x64<=0xa?0x3:_0x22c35a%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':_0x18fe9b=>0x0==_0x18fe9b?0x0:0x1==_0x18fe9b?0x1:0x2==_0x18fe9b?0x2:_0x18fe9b%0x64>=0x3&&_0x18fe9b%0x64<=0xa?0x3:_0x18fe9b%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x288e48=>{const {ar:{dictionary:_0x51bfe0,getPluralForm:_0x260908}}={'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':_0x59e6ab=>0x0==_0x59e6ab?0x0:0x1==_0x59e6ab?0x1:0x2==_0x59e6ab?0x2:_0x59e6ab%0x64>=0x3&&_0x59e6ab%0x64<=0xa?0x3:_0x59e6ab%0x64>=0xb?0x4:0x5}};_0x288e48['ar']||={'dictionary':{},'getPluralForm':null},_0x288e48['ar']['dictionary']=Object['assign'](_0x288e48['ar']['dictionary'],_0x51bfe0),_0x288e48['ar']['getPluralForm']=_0x260908;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d763d=>{const {ar:{dictionary:_0x6f38d,getPluralForm:_0x32470b}}={'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':_0x1e8c70=>0x0==_0x1e8c70?0x0:0x1==_0x1e8c70?0x1:0x2==_0x1e8c70?0x2:_0x1e8c70%0x64>=0x3&&_0x1e8c70%0x64<=0xa?0x3:_0x1e8c70%0x64>=0xb?0x4:0x5}};_0x3d763d['ar']||={'dictionary':{},'getPluralForm':null},_0x3d763d['ar']['dictionary']=Object['assign'](_0x3d763d['ar']['dictionary'],_0x6f38d),_0x3d763d['ar']['getPluralForm']=_0x32470b;})(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':_0x53e8d2=>0x1!=_0x53e8d2}};
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':_0x5a011d=>0x1!=_0x5a011d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12b63f=>{const {ast:{dictionary:_0x251d77,getPluralForm:_0xb917b9}}={'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':_0x2eb089=>0x1!=_0x2eb089}};_0x12b63f['ast']||={'dictionary':{},'getPluralForm':null},_0x12b63f['ast']['dictionary']=Object['assign'](_0x12b63f['ast']['dictionary'],_0x251d77),_0x12b63f['ast']['getPluralForm']=_0xb917b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31feb2=>{const {ast:{dictionary:_0x3e3ef1,getPluralForm:_0x2a03bb}}={'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':_0x349b12=>0x1!=_0x349b12}};_0x31feb2['ast']||={'dictionary':{},'getPluralForm':null},_0x31feb2['ast']['dictionary']=Object['assign'](_0x31feb2['ast']['dictionary'],_0x3e3ef1),_0x31feb2['ast']['getPluralForm']=_0x2a03bb;})(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':_0x3b7d2d=>0x1!=_0x3b7d2d}};
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':_0x4c0c91=>0x1!=_0x4c0c91}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xce2139=>{const {az:{dictionary:_0xe11d0d,getPluralForm:_0x1ee5b4}}={'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':_0x359f8f=>0x1!=_0x359f8f}};_0xce2139['az']||={'dictionary':{},'getPluralForm':null},_0xce2139['az']['dictionary']=Object['assign'](_0xce2139['az']['dictionary'],_0xe11d0d),_0xce2139['az']['getPluralForm']=_0x1ee5b4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4ce77a=>{const {az:{dictionary:_0x55cfa6,getPluralForm:_0x1dd8a5}}={'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':_0x50e48a=>0x1!=_0x50e48a}};_0x4ce77a['az']||={'dictionary':{},'getPluralForm':null},_0x4ce77a['az']['dictionary']=Object['assign'](_0x4ce77a['az']['dictionary'],_0x55cfa6),_0x4ce77a['az']['getPluralForm']=_0x1dd8a5;})(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':_0x3cfd30=>_0x3cfd30%0xa==0x1&&_0x3cfd30%0x64!=0xb?0x0:_0x3cfd30%0xa>=0x2&&_0x3cfd30%0xa<=0x4&&(_0x3cfd30%0x64<0xa||_0x3cfd30%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':_0x33ecf6=>_0x33ecf6%0xa==0x1&&_0x33ecf6%0x64!=0xb?0x0:_0x33ecf6%0xa>=0x2&&_0x33ecf6%0xa<=0x4&&(_0x33ecf6%0x64<0xa||_0x33ecf6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x94d0c1=>{const {be:{dictionary:_0x458479,getPluralForm:_0x2c2cbf}}={'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':_0x1a790d=>_0x1a790d%0xa==0x1&&_0x1a790d%0x64!=0xb?0x0:_0x1a790d%0xa>=0x2&&_0x1a790d%0xa<=0x4&&(_0x1a790d%0x64<0xa||_0x1a790d%0x64>=0x14)?0x1:0x2}};_0x94d0c1['be']||={'dictionary':{},'getPluralForm':null},_0x94d0c1['be']['dictionary']=Object['assign'](_0x94d0c1['be']['dictionary'],_0x458479),_0x94d0c1['be']['getPluralForm']=_0x2c2cbf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3a4e32=>{const {be:{dictionary:_0x14c668,getPluralForm:_0x47c02a}}={'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':_0x2c43ab=>_0x2c43ab%0xa==0x1&&_0x2c43ab%0x64!=0xb?0x0:_0x2c43ab%0xa>=0x2&&_0x2c43ab%0xa<=0x4&&(_0x2c43ab%0x64<0xa||_0x2c43ab%0x64>=0x14)?0x1:0x2}};_0x3a4e32['be']||={'dictionary':{},'getPluralForm':null},_0x3a4e32['be']['dictionary']=Object['assign'](_0x3a4e32['be']['dictionary'],_0x14c668),_0x3a4e32['be']['getPluralForm']=_0x47c02a;})(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':_0x485904=>0x1!=_0x485904}};
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':_0x117457=>0x1!=_0x117457}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3ee961=>{const {bg:{dictionary:_0xde36ba,getPluralForm:_0x175e00}}={'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':_0xfc4433=>0x1!=_0xfc4433}};_0x3ee961['bg']||={'dictionary':{},'getPluralForm':null},_0x3ee961['bg']['dictionary']=Object['assign'](_0x3ee961['bg']['dictionary'],_0xde36ba),_0x3ee961['bg']['getPluralForm']=_0x175e00;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc4d440=>{const {bg:{dictionary:_0x27198f,getPluralForm:_0x1eda2d}}={'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':_0xf084fa=>0x1!=_0xf084fa}};_0xc4d440['bg']||={'dictionary':{},'getPluralForm':null},_0xc4d440['bg']['dictionary']=Object['assign'](_0xc4d440['bg']['dictionary'],_0x27198f),_0xc4d440['bg']['getPluralForm']=_0x1eda2d;})(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':_0x13ed1d=>0x1!=_0x13ed1d}};
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':_0x101dd7=>0x1!=_0x101dd7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x277b7e=>{const {bn:{dictionary:_0x2926aa,getPluralForm:_0xa718a}}={'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':_0x463572=>0x1!=_0x463572}};_0x277b7e['bn']||={'dictionary':{},'getPluralForm':null},_0x277b7e['bn']['dictionary']=Object['assign'](_0x277b7e['bn']['dictionary'],_0x2926aa),_0x277b7e['bn']['getPluralForm']=_0xa718a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57ba1f=>{const {bn:{dictionary:_0x4af833,getPluralForm:_0x9d56e9}}={'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':_0x4639bf=>0x1!=_0x4639bf}};_0x57ba1f['bn']||={'dictionary':{},'getPluralForm':null},_0x57ba1f['bn']['dictionary']=Object['assign'](_0x57ba1f['bn']['dictionary'],_0x4af833),_0x57ba1f['bn']['getPluralForm']=_0x9d56e9;})(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':_0xdc0736=>_0xdc0736%0xa==0x1&&_0xdc0736%0x64!=0xb?0x0:_0xdc0736%0xa>=0x2&&_0xdc0736%0xa<=0x4&&(_0xdc0736%0x64<0xa||_0xdc0736%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':_0xb2d919=>_0xb2d919%0xa==0x1&&_0xb2d919%0x64!=0xb?0x0:_0xb2d919%0xa>=0x2&&_0xb2d919%0xa<=0x4&&(_0xb2d919%0x64<0xa||_0xb2d919%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x288016=>{const {bs:{dictionary:_0x2208b2,getPluralForm:_0x24876b}}={'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':_0x3087af=>_0x3087af%0xa==0x1&&_0x3087af%0x64!=0xb?0x0:_0x3087af%0xa>=0x2&&_0x3087af%0xa<=0x4&&(_0x3087af%0x64<0xa||_0x3087af%0x64>=0x14)?0x1:0x2}};_0x288016['bs']||={'dictionary':{},'getPluralForm':null},_0x288016['bs']['dictionary']=Object['assign'](_0x288016['bs']['dictionary'],_0x2208b2),_0x288016['bs']['getPluralForm']=_0x24876b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32bf97=>{const {bs:{dictionary:_0x26577b,getPluralForm:_0x2d55a9}}={'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':_0x4a37d1=>_0x4a37d1%0xa==0x1&&_0x4a37d1%0x64!=0xb?0x0:_0x4a37d1%0xa>=0x2&&_0x4a37d1%0xa<=0x4&&(_0x4a37d1%0x64<0xa||_0x4a37d1%0x64>=0x14)?0x1:0x2}};_0x32bf97['bs']||={'dictionary':{},'getPluralForm':null},_0x32bf97['bs']['dictionary']=Object['assign'](_0x32bf97['bs']['dictionary'],_0x26577b),_0x32bf97['bs']['getPluralForm']=_0x2d55a9;})(window['CKEDITOR_TRANSLATIONS']||={});