@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250418.0 → 0.0.0-nightly-20250420.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 _0x3364da,Command as _0x56586c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3747a3,IconGooglePhotos as _0x1de4f2,IconGoogleDrive as _0x24f9d0,IconFacebook as _0x282921,IconDropbox as _0x32ace1,IconUploadcareLink as _0x1a4bc0,IconUploadcareImageUpload as _0x39e4ef,IconError as et,IconUploadcareImageEdit as _0x63ddd2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1e4dbe,MenuBarMenuListItemButtonView as _0xd446b5,View as _0x1f8171,FocusCycler as _0x4853b9,Dialog as _0x519e77,DialogViewPosition as _0x2b4795,SpinnerView as _0x399cd1,IconView as at,Notification as _0x3c5717}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xd04ef8,DomEmitterMixin as _0x3d12af,global as _0x5c5795,getAncestors as _0x4b8384,ObservableMixin as _0x2d1207,createElement as _0x5f20d7,uid as _0x496501}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x154a69}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5e3943,info as _0x5a100f}from'@uploadcare/upload-client';import*as _0x297f65 from'@uploadcare/file-uploader';var o=function(_0x3dbe29){return _0x3dbe29['Local']='local',_0x3dbe29['URL']='url',_0x3dbe29['Dropbox']='dropbox',_0x3dbe29['GDrive']='gdrive',_0x3dbe29['Facebook']='facebook',_0x3dbe29['GPhotos']='gphotos',_0x3dbe29['OneDrive']='onedrive',_0x3dbe29;}({});function _(_0x324a84,_0x397b25,_0x438f4b){const t=_0x324a84['t'],_0x145366=_0x324a84['t'];switch(_0x397b25){case o['Local']:return{'text':_0x145366('Insert'===_0x438f4b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x145366('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x438f4b?_0x145366('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x145366('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x438f4b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x438f4b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x438f4b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x438f4b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x438f4b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x397b25;}}class e extends _0x3364da{['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 _0x12be54=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1261c2;for(const _0x2b683c in _0x12be54){const _0x11b171=_0x2b683c,_0x1e41bb=_0x12be54[_0x11b171];if('uploadcareLicenseKeyValid'==_0x1e41bb||'uploadcareLicenseKeyInvalid'==_0x1e41bb||'uploadcareLicenseKeyExpired'==_0x1e41bb||'uploadcareLicenseKeyDomainLimit'==_0x1e41bb||'uploadcareLicenseKeyNotAllowed'==_0x1e41bb||'uploadcareLicenseKeyEvaluationLimit'==_0x1e41bb||'uploadcareLicenseKeyTrialLimit'==_0x1e41bb||'uploadcareLicenseKeyUsageLimit'==_0x1e41bb){delete _0x12be54[_0x11b171],_0x1261c2=_0x1e41bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1261c2&&_0x12be54['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1261c2&&_0x12be54['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1261c2&&_0x12be54['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1261c2&&_0x12be54['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1261c2&&_0x12be54['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1261c2&&_0x12be54['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1261c2&&_0x12be54['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4da7b4}=this,_0x3ba6f6=_0x4da7b4['commands']['get']('uploadcare');if(!_0x3ba6f6)return;const _0x2c627c=this['_normalizeConfigSourceList'](_0x4da7b4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3bfb17,_0x23c9b2)=>{const _0x1b214b=this['_getIntegrationKey'](_0x23c9b2['type']);return _0x3bfb17[_0x1b214b]||(_0x3bfb17[_0x1b214b]=[]),_0x3bfb17[_0x1b214b]['push'](_0x23c9b2),_0x3bfb17;},{});_0x4da7b4['plugins']['has']('ImageInsertUI')&&_0x4da7b4['commands']['get']('uploadcare')&&Object['entries'](_0x2c627c)['forEach'](([_0x5062a2,_0x3ea70b])=>{_0x4da7b4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5062a2,'observable':()=>_0x3ba6f6,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3ea70b),'formViewCreator':()=>this['_createDropdownButtons'](_0x3ea70b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3ea70b),'override':'assetManager'!==_0x5062a2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xc65b30){const {locale:_0xa792c3}=this['editor'];return _0xc65b30['map'](_0xfc6169=>{const _0x4a8a49=_(_0xa792c3,_0xfc6169,'Insert');switch(_0xfc6169){case o['Local']:return{'icon':_0x39e4ef,'type':o['Local'],..._0x4a8a49};case o['URL']:return{'icon':_0x1a4bc0,'type':o['URL'],..._0x4a8a49};case o['Dropbox']:return{'icon':_0x32ace1,'type':o['Dropbox'],..._0x4a8a49};case o['Facebook']:return{'icon':_0x282921,'type':o['Facebook'],..._0x4a8a49};case o['GDrive']:return{'icon':_0x24f9d0,'type':o['GDrive'],..._0x4a8a49};case o['GPhotos']:return{'icon':_0x1de4f2,'type':o['GPhotos'],..._0x4a8a49};case o['OneDrive']:return{'icon':_0x3747a3,'type':o['OneDrive'],..._0x4a8a49};}});}['_getIntegrationKey'](_0x6c3973){switch(_0x6c3973){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d5f26,_0x2db1b1){const _0xe39db7=this['editor'],_0x508c93=new _0x5d5f26(_0xe39db7['locale']),_0x52138d=_0xe39db7['commands']['get']('uploadcare');return _0x508c93['bind']('isEnabled')['to'](_0x52138d),_0x508c93['on']('execute',()=>{_0x52138d['execute'](_0x2db1b1);}),_0x508c93;}['_createToolbarButton'](_0x3096a1){const {locale:_0x54db28}=this['editor'],_0x3d30df=this['editor']['plugins']['get']('ImageInsertUI'),_0x54010a=_0x3096a1[0x0],_0x139ed7=this['_createButton'](_0x1e4dbe,_0x54010a['type']);return _0x139ed7['icon']=_0x54010a['icon'],_0x139ed7['bind']('label')['to'](_0x3d30df,'isImageSelected',_0x134fb5=>_(_0x54db28,_0x54010a['type'],_0x134fb5?'Replace':'Insert')['text']),_0x139ed7['tooltip']=!0x0,_0x139ed7;}['_createDropdownButtons'](_0x5be771){const {locale:_0x5a553d}=this['editor'],_0x27eb0c=this['editor']['plugins']['get']('ImageInsertUI');return _0x5be771['map'](_0x204313=>{const _0x53f418=this['_createButton'](_0x1e4dbe,_0x204313['type']);return _0x53f418['withText']=!0x0,_0x53f418['icon']=_0x204313['icon'],_0x53f418['bind']('label')['to'](_0x27eb0c,'isImageSelected',_0x5534c6=>_(_0x5a553d,_0x204313['type'],_0x5534c6?'Replace':'Insert')['text']),_0x53f418;});}['_createMenuBarButtons'](_0x1eb10f){return _0x1eb10f['map'](_0x3cb94b=>{const _0x3ddb4f=this['_createButton'](_0xd446b5,_0x3cb94b['type']);return _0x3ddb4f['icon']=_0x3cb94b['icon'],_0x3ddb4f['label']=_0x3cb94b['shortText'],_0x3ddb4f;});}}class q extends _0x1f8171{['focusTracker'];['focusCycler'];constructor(_0x44f3ed){super(_0x44f3ed),this['focusTracker']=new _0xd04ef8(),this['focusCycler']=new _0x4853b9({'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(_0x46b23e){super(_0x46b23e),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(_0x497378,_0x1615c6){const _0x2e1aef=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1567f4=>_0x1567f4<=_0x1615c6)['map'](_0xe5e0db=>_0x497378['replace'](/\/$/,'')+'/-/resize/'+_0xe5e0db+'x/\x20'+_0xe5e0db+'w');return{'imageFallbackUrl':_0x497378,'imageSources':[{'srcset':_0x2e1aef['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1615c6+'px)\x20100vw,\x20'+_0x1615c6+'px','type':'image/webp'}]};}function A(_0x482eaf,_0xcf7780,_0x51e9a0){const _0x21f743=_0x482eaf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x21f743?parseInt(_0x21f743[0x1],0xa):_0xcf7780,'height':_0x21f743?parseInt(_0x21f743[0x2],0xa):_0x51e9a0};}function m(_0xe4a8b3,_0x4cf0a5){const _0x2c05e4=Object['create'](_0x3d12af),_0xd3b6b5=_0xe4a8b3['plugins']['get']('ImageUtils'),_0x5d151c=_0xe4a8b3['editing']['mapper']['toViewElement'](_0x4cf0a5),_0x63f165=_0xd3b6b5['findViewImgElement'](_0x5d151c),_0x2200bd=_0xe4a8b3['editing']['view']['domConverter']['viewToDom'](_0x63f165),_0x234269=_0x4cf0a5['getAttribute']('width'),_0x48446f=_0x4cf0a5['getAttribute']('height'),_0x1b4bb9='image-processing';_0xe4a8b3['editing']['view']['change'](_0x33bdfc=>{_0x33bdfc['addClass'](_0x1b4bb9,_0x5d151c),_0x33bdfc['setStyle']('aspect-ratio',_0x234269+'/'+_0x48446f,_0x63f165);}),_0x2c05e4['listenTo'](_0x2200bd,'load',()=>{_0x2c05e4['stopListening'](_0x2200bd,'load'),_0xe4a8b3['editing']['view']['change'](_0x1295f6=>{_0x1295f6['removeClass'](_0x1b4bb9,_0x5d151c),_0x1295f6['removeStyle']('aspect-ratio',_0x63f165);});});}function V(_0x45a38f){if(Array['isArray'](_0x45a38f)){const _0x488749=_0x45a38f['map'](V);return _0x13a2d2=>_0x488749['some'](_0x877dbc=>_0x877dbc(_0x13a2d2));}if('origin'==_0x45a38f){const _0x22cb07=_0x5c5795['window']['location']['origin'];return _0x155d50=>new URL(_0x155d50,_0x5c5795['document']['baseURI'])['origin']==_0x22cb07;}return'function'==typeof _0x45a38f?_0x45a38f:_0x45a38f instanceof RegExp?_0x2949d4=>!(!_0x2949d4['match'](_0x45a38f)&&!_0x2949d4['replace'](/^https?:\/\//,'')['match'](_0x45a38f)):()=>!0x1;}function F(_0x42e2a3,_0xe19be6){return _0x4b8384(_0x42e2a3['target'])['includes'](_0xe19be6);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x2d1207(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x244676,_0xed73e9,_0xdeebb9){super(),this['_editor']=_0x244676,this['_editing']=_0xed73e9,this['_dialog']=_0x244676['plugins']['get'](_0x519e77),this['_api']=_0xed73e9['ctxElement']['getAPI'](),this['_type']=_0xdeebb9,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:_0x44f013,model:_0x267ae3}=this['_editor'],_0x185e54=_0x267ae3['document']['selection']['getSelectedElement'](),_0xabdf85=_0x185e54&&(_0x185e54['is']('element','imageBlock')||_0x185e54['is']('element','imageInline'));this['_formView']=new S(_0x44f013),this['_dialog']['show']({'id':'uploadCare','icon':_0x39e4ef,'title':_(_0x44f013,this['_type'],_0xabdf85?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2b4795['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb0eae=>!F(_0xb0eae,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x49bd64}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2fbdb1=>{const _0x51c725=_0x49bd64['length'];for(const _0x2ef8e4 of _0x49bd64){const _0x3a84d2=_0x2ef8e4===_0x49bd64[_0x51c725-0x1],{cdnUrl:_0x1f6a5f,fileInfo:_0xd97e0c}=_0x2ef8e4;if(!_0x1f6a5f||!_0xd97e0c)continue;const {width:_0x37605d,height:_0x592411}=_0xd97e0c['imageInfo'],_0x3bcfb7=A(_0x1f6a5f,_0x37605d,_0x592411),_0x97a830=E(_0x1f6a5f,_0x3bcfb7['width']),_0x201625={'id':_0xd97e0c['uuid'],'type':'image','attributes':{'imageDimension':_0x3bcfb7,..._0x97a830}};this['_insertAsset'](_0x201625,_0x3a84d2,_0x2fbdb1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x313f42=>{'idle'===_0x313f42['detail']['status']&&!_0x313f42['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5165f2,_0x6cd2f5,_0x446e28){const _0x2e8f5c=this['_editor']['model']['document']['selection'],_0x16d2f3=_0x2e8f5c['getSelectedElement'](),_0x5cf1c1=!(!_0x16d2f3||!_0x16d2f3['is']('element','imageInline'));_0x446e28['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5165f2,_0x5cf1c1),_0x6cd2f5||_0x446e28['setSelection'](_0x2e8f5c['getLastPosition']());}['_insertImage'](_0x197d56,_0x29fad4){const _0x220454=this['_editor'],{imageDimension:_0x851b3f,imageFallbackUrl:_0x288123,imageSources:_0x26898a}=_0x197d56['attributes'];_0x220454['execute']('insertImage',{'imageType':_0x29fad4?'imageInline':null,'source':{'uploadcareImageId':_0x197d56['id'],'src':_0x288123,'sources':_0x26898a,..._0x851b3f}});}}class n extends _0x56586c{['_editing'];['_controller']=null;static get['requires'](){return[_0x519e77,i];}constructor(_0xf8aeb){super(_0xf8aeb),this['_editing']=_0xf8aeb['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5030ac){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5030ac);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1a2d56,publicKey:_0x48d846,signal:_0x3c47a9,onProgress:_0x308a0d}){return _0x5e3943(_0x1a2d56,{'publicKey':_0x48d846,'store':'auto','signal':_0x3c47a9,'onProgress':_0x308a0d});}static['getInfo'](_0x2d2533,_0xd5d759){return _0x5a100f(_0x2d2533,_0xd5d759);}}class p extends _0x3364da{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x154a69,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2c5972=this['editor'];if(!!!_0x2c5972['config']['get']('uploadcare'))return;_0x2c5972['plugins']['get'](_0x154a69)['createUploadAdapter']=_0x50b31b=>new x(_0x50b31b,_0x2c5972),_0x2c5972['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd727d8,{imageElement:_0x40ff97,data:_0x22451f})=>{_0x2c5972['model']['change'](_0x10b936=>{_0x10b936['setAttribute']('uploadcareImageId',_0x22451f['uploadcareImageId'],_0x40ff97);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x53d690,_0x5c75ef){this['loader']=_0x53d690,this['editor']=_0x5c75ef,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x150d77=this['editor']['config']['get']('uploadcare.pubkey'),_0x1df8e1=await this['loader']['file'];return C['upload']({'file':_0x1df8e1,'publicKey':_0x150d77,'signal':this['controller']['signal'],'onProgress':_0x341995=>{_0x341995&&_0x341995['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x341995['value']);}})['then'](async _0xc05573=>{const {imageFallbackUrl:_0x45e4b,imageSources:_0x3ed456}=E(_0xc05573['cdnUrl'],_0xc05573['imageInfo']['width']);return{'uploadcareImageId':_0xc05573['uuid'],'default':_0x45e4b,'sources':_0x3ed456};})['catch'](()=>{const _0x5757d1=t('Cannot\x20upload\x20file:')+('\x20'+_0x1df8e1['name']+'.');return Promise['reject'](_0x5757d1);});}['abort'](){this['controller']['abort']();}}class i extends _0x3364da{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x519e77];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x30e1e3=this['editor'];_0x30e1e3['commands']['add']('uploadcare',new n(_0x30e1e3));}['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 _0x50dee0=_0x5c5795['document']['querySelector']('input[uploadcare-file-input]');_0x50dee0&&_0x50dee0['remove']();}),async function(_0x3cf3b9){const _0x4db55d=_0x2fe501([0x41,0x78,0x70,0x75,0x4a,0x4c,0x34,0x51,0x49,0x65,0x39,0x6b,0x56,0x48,0x61,0x74,0x66,0x55,0x7a,0x4f,0x46,0x6a,0x72,0x6f,0x50,0x6c,0x43,0x73,0x5a,0x35,0x32,0x53,0x58,0x30,0x4d,0x38,0x57,0x6d,0x59,0x36,0x33,0x62,0x54,0x68,0x52,0x67,0x63,0x71,0x44,0x6e,0x4e,0x45,0x79,0x69,0x47,0x77,0x4b,0x31,0x64,0x76,0x42,0x37]),_0x6a405f=0x193e6c77,_0x176be7=0x193909e7^_0x6a405f,_0x19face=window[_0x2fe501([0x44,0x61,0x74,0x65])][_0x2fe501([0x6e,0x6f,0x77])](),_0x3267e2=_0x3cf3b9[_0x2fe501([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12b984=new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd399c=>{_0x3267e2[_0x2fe501([0x6f,0x6e,0x63,0x65])](_0x2fe501([0x72,0x65,0x61,0x64,0x79]),_0xbd399c);}),_0x20a743={[_0x2fe501([0x6b,0x74,0x79])]:_0x2fe501([0x45,0x43]),[_0x2fe501([0x75,0x73,0x65])]:_0x2fe501([0x73,0x69,0x67]),[_0x2fe501([0x63,0x72,0x76])]:_0x2fe501([0x50,0x2d,0x32,0x35,0x36]),[_0x2fe501([0x78])]:_0x2fe501([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]),[_0x2fe501([0x79])]:_0x2fe501([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]),[_0x2fe501([0x61,0x6c,0x67])]:_0x2fe501([0x45,0x53,0x32,0x35,0x36])},_0x13fc7e=_0x3267e2[_0x2fe501([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fe501([0x67,0x65,0x74])](_0x2fe501([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e4e90(){let _0x2526e8,_0x27655f=null,_0x20f5d6=null;try{if(_0x13fc7e==_0x2fe501([0x47,0x50,0x4c]))return _0x2fe501([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2526e8=_0x5d4058(),!_0x2526e8)return _0x2fe501([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2526e8[_0x2fe501([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20f5d6=_0x21f309(_0x2526e8[_0x2fe501([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2526e8[_0x2fe501([0x6a,0x74,0x69])])),await _0x5647f4()?_0x5f0307()?_0x5e610d()?_0x2fe501([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe07adc()?(_0x2526e8[_0x2fe501([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fe501([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27655f=_0x405dd4(_0x2fe501([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2526e8[_0x2fe501([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fe501([0x74,0x72,0x69,0x61,0x6c])&&(_0x27655f=_0x405dd4(_0x2fe501([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c5a03()):_0x2fe501([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe501([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fe501([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x9138f4){return _0x2fe501([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e610d(){const _0x3f9843=[_0x2fe501([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fe501([0x74,0x72,0x69,0x61,0x6c])][_0x2fe501([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2526e8[_0x2fe501([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19face/0x3e8:0xe10*_0x176be7;return _0x2526e8[_0x2fe501([0x65,0x78,0x70])]<_0x3f9843;}function _0x5f0307(){const _0x19a6f6=_0x2526e8[_0x2fe501([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19a6f6&&(!!_0x19a6f6[_0x2fe501([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe501([0x2a]))||!!_0x19a6f6[_0x2fe501([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe501([0x55,0x50,0x4c,0x43])));}function _0xe07adc(){const _0x5db410=_0x2526e8[_0x2fe501([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5db410||0x0==_0x5db410[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f7a1a}=new URL(window[_0x2fe501([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5db410[_0x2fe501([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7a1a))return!0x0;const _0x2283c8=_0x2f7a1a[_0x2fe501([0x73,0x70,0x6c,0x69,0x74])](_0x2fe501([0x2e]));return _0x5db410[_0x2fe501([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5457e2=>_0x5457e2[_0x2fe501([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe501([0x2a])))[_0x2fe501([0x6d,0x61,0x70])](_0x2168f7=>_0x2168f7[_0x2fe501([0x73,0x70,0x6c,0x69,0x74])](_0x2fe501([0x2e])))[_0x2fe501([0x73,0x6f,0x6d,0x65])](_0x210e41=>_0x2283c8[_0x2fe501([0x65,0x76,0x65,0x72,0x79])]((_0x473997,_0x9ca79b)=>_0x210e41[_0x9ca79b]===_0x473997||_0x210e41[_0x9ca79b]===_0x2fe501([0x2a])));}function _0x4c5a03(){return _0x27655f&&_0x20f5d6?new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fb580,_0x270459)=>{_0x27655f[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x3fb580,_0x270459),_0x20f5d6[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x2d19de=>{_0x2d19de!=_0x2fe501([0x56,0x61,0x6c,0x69,0x64])&&_0x3fb580(_0x2d19de);},_0x270459);}):_0x27655f||_0x20f5d6||_0x2fe501([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21f309(_0x5d3ff8,_0x2bc52a){return new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213a54=>{if(_0x4ba4af())return _0x213a54(_0x2fe501([0x56,0x61,0x6c,0x69,0x64]));_0x54fd35(),_0x3267e2[_0x2fe501([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fe501([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x120d64=!0x1;const _0x2be8d2=_0x496501();function _0x1959be(_0x553cad){return!!_0x553cad&&(typeof _0x553cad===_0x2fe501([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x553cad===_0x2fe501([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x553cad[_0x2fe501([0x74,0x68,0x65,0x6e])]===_0x2fe501([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x553cad[_0x2fe501([0x63,0x61,0x74,0x63,0x68])]===_0x2fe501([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c53a8(_0x22fd10){_0x2245d9(_0x22fd10)[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x2dec05=>{if(!_0x2dec05||_0x2dec05[_0x2fe501([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fe501([0x6f,0x6b]))return _0x2fe501([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21c5a9(_0x2441d2(_0x2be8d2+_0x2bc52a))!=_0x2dec05[_0x2fe501([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fe501([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe501([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x3c591a=>(_0x4cd79a(),_0x3c591a),()=>{const _0x2dd2c2=_0x168ffc();return null==_0x2dd2c2?(_0x4cd79a(),_0x2fe501([0x56,0x61,0x6c,0x69,0x64])):_0x2fe501(_0x19face-_0x2dd2c2>(0x3d32e877^_0x6a405f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x213a54)[_0x2fe501([0x63,0x61,0x74,0x63,0x68])](()=>{_0x213a54(_0x2fe501([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2980d2=0x190882f7^_0x6a405f;function _0x4cd79a(){const _0x230307=_0x2fe501([0x6c,0x6c,0x63,0x74,0x2d])+_0x21c5a9(_0x2441d2(_0x5d3ff8)),_0xe7ad0=_0x4eac48(_0x21c5a9(window[_0x2fe501([0x4d,0x61,0x74,0x68])][_0x2fe501([0x63,0x65,0x69,0x6c])](_0x19face/_0x2980d2)));window[_0x2fe501([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe501([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x230307,_0xe7ad0);}function _0x168ffc(){const _0x5e91c5=_0x2fe501([0x6c,0x6c,0x63,0x74,0x2d])+_0x21c5a9(_0x2441d2(_0x5d3ff8)),_0x2a86f2=window[_0x2fe501([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe501([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e91c5);return _0x2a86f2?window[_0x2fe501([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eac48(_0x2a86f2),0x10)*_0x2980d2:null;}function _0x2245d9(_0x248ea8){return new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30e5e0,_0x289aa6)=>{_0x248ea8[_0x2fe501([0x74,0x68,0x65,0x6e])](_0x30e5e0,_0x289aa6),window[_0x2fe501([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x289aa6,0x193fb8b7^_0x6a405f);});}}_0x3267e2[_0x2fe501([0x6f,0x6e])](_0x2fe501([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x221fbe,_0xb90d53)=>{if(_0xb90d53[0x0]!=_0x5d3ff8)return _0x213a54(_0x2fe501([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb90d53[0x1]={..._0xb90d53[0x1],[_0x2fe501([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2be8d2};},{[_0x2fe501([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe501([0x68,0x69,0x67,0x68])}),_0x3267e2[_0x2fe501([0x6f,0x6e])](_0x2fe501([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3640d4=>{_0x1959be(_0x3640d4[_0x2fe501([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x120d64=!0x0,_0x1c53a8(_0x3640d4[_0x2fe501([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fe501([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe501([0x6c,0x6f,0x77])}),_0x12b984[_0x2fe501([0x74,0x68,0x65,0x6e])](()=>{_0x120d64||_0x213a54(_0x2fe501([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ba4af(){return _0x3267e2[_0x2fe501([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe501([0x76,0x69,0x65,0x77])][_0x2fe501([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fe501([0x61,0x75,0x74,0x6f]);}function _0x54fd35(){_0x3267e2[_0x2fe501([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe501([0x76,0x69,0x65,0x77])][_0x2fe501([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fe501([0x61,0x75,0x74,0x6f]);}}function _0x405dd4(_0xce5798){const _0x478bf2=[new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30bc89=>setTimeout(_0x30bc89,0x193752bb^_0x6a405f)),_0x12b984[_0x2fe501([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17e1d4=>{let _0x15fc0f=0x0;_0x3267e2[_0x2fe501([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe501([0x6f,0x6e])](_0x2fe501([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5973d1,_0x1b7d2d)=>{_0x1b7d2d[0x0][_0x2fe501([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15fc0f++,_0x15fc0f==(0x193e6d8f^_0x6a405f)&&(_0x17e1d4(),_0x5973d1[_0x2fe501([0x6f,0x66,0x66])]());});}))];return window[_0x2fe501([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fe501([0x72,0x61,0x63,0x65])](_0x478bf2)[_0x2fe501([0x74,0x68,0x65,0x6e])](()=>_0xce5798);}async function _0x142120(){await _0x12b984,_0x3267e2[_0x2fe501([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe501([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x423f49,_0x3267e2[_0x2fe501([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe501([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x423f49,_0x3267e2[_0x2fe501([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fe501([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b6dc2(_0x599a92){const _0x488257=_0x2b07c9();_0x3267e2[_0x488257]=_0x2fe501([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x599a92,_0x599a92!=_0x2fe501([0x56,0x61,0x6c,0x69,0x64])&&_0x142120();}function _0x2b07c9(){const _0x5cdb1d=window[_0x2fe501([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fe501([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fe501([0x6e,0x6f,0x77])]())[_0x2fe501([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fe501([0x2e]),'');let _0x3ffa10=_0x2fe501([0x41]);for(let _0x3d0776=0x0;_0x3d0776<_0x5cdb1d[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d0776+=0x2){let _0x15f5bf=window[_0x2fe501([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cdb1d[_0x2fe501([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d0776,_0x3d0776+0x2));_0x15f5bf>=_0x4db55d[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15f5bf-=_0x4db55d[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ffa10+=_0x4db55d[_0x15f5bf];}return _0x3ffa10;}function _0x5d4058(){const _0x4d4c28=_0x13fc7e[_0x2fe501([0x73,0x70,0x6c,0x69,0x74])](_0x2fe501([0x2e]));if(0x3!=_0x4d4c28[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2eb808(_0x4d4c28[0x1]);function _0x2eb808(_0x4ab08b){const _0x2558de=_0x2bbcdc(_0x4ab08b);return _0x2558de&&_0x1b77fd()?_0x2558de:null;function _0x1b77fd(){const _0x42fed1=_0x2558de[_0x2fe501([0x6a,0x74,0x69])],_0x1228c6=window[_0x2fe501([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42fed1[_0x2fe501([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42fed1[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16a179={..._0x2558de,[_0x2fe501([0x6a,0x74,0x69])]:_0x42fed1[_0x2fe501([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42fed1[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16a179[_0x2fe501([0x76,0x63])],_0x2441d2(_0x16a179)==_0x1228c6;}}}async function _0x5647f4(){let _0x3ea625=!0x0;try{const _0x5e01b4=_0x13fc7e[_0x2fe501([0x73,0x70,0x6c,0x69,0x74])](_0x2fe501([0x2e])),[_0x2e1402,_0x281680,_0x1b17af]=_0x5e01b4;return _0x29f654(_0x2e1402),await _0x42bbc7(_0x2e1402,_0x281680,_0x1b17af),_0x3ea625;}catch(_0x56cf7b){return!0x1;}function _0x29f654(_0x377513){const _0x243386=_0x2bbcdc(_0x377513);_0x243386&&_0x243386[_0x2fe501([0x61,0x6c,0x67])]==_0x2fe501([0x45,0x53,0x32,0x35,0x36])||(_0x3ea625=!0x1);}async function _0x42bbc7(_0x414b0f,_0x1d2540,_0x597949){const _0x204fa1=window[_0x2fe501([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fe501([0x66,0x72,0x6f,0x6d])](_0x5c18eb(_0x597949),_0x108951=>_0x108951[_0x2fe501([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16cea3=new window[(_0x2fe501([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fe501([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x414b0f+_0x2fe501([0x2e])+_0x1d2540),_0x50a4e3=window[_0x2fe501([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fe501([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50a4e3)return;const _0x4af2c9=await _0x50a4e3[_0x2fe501([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fe501([0x6a,0x77,0x6b]),_0x20a743,{[_0x2fe501([0x6e,0x61,0x6d,0x65])]:_0x2fe501([0x45,0x43,0x44,0x53,0x41]),[_0x2fe501([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fe501([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fe501([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50a4e3[_0x2fe501([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fe501([0x6e,0x61,0x6d,0x65])]:_0x2fe501([0x45,0x43,0x44,0x53,0x41]),[_0x2fe501([0x68,0x61,0x73,0x68])]:{[_0x2fe501([0x6e,0x61,0x6d,0x65])]:_0x2fe501([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4af2c9,_0x204fa1,_0x16cea3)||(_0x3ea625=!0x1);}}function _0x2bbcdc(_0x57f59b){return _0x57f59b[_0x2fe501([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fe501([0x65,0x79]))?JSON[_0x2fe501([0x70,0x61,0x72,0x73,0x65])](_0x5c18eb(_0x57f59b)):null;}function _0x5c18eb(_0x147923){return window[_0x2fe501([0x61,0x74,0x6f,0x62])](_0x147923[_0x2fe501([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fe501([0x2b]))[_0x2fe501([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fe501([0x2f])));}function _0x2441d2(_0x2646e0){let _0x35a717=0x1505;function _0x4d35f5(_0x5032b4){for(let _0x429d37=0x0;_0x429d37<_0x5032b4[_0x2fe501([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x429d37++){const _0x19d8dc=_0x5032b4[_0x2fe501([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x429d37);_0x35a717=(_0x35a717<<0x5)+_0x35a717+_0x19d8dc,_0x35a717&=_0x35a717;}}function _0x5b0c3a(_0x323aa9){Array[_0x2fe501([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x323aa9)?_0x323aa9[_0x2fe501([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b0c3a):_0x323aa9&&typeof _0x323aa9==_0x2fe501([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fe501([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x323aa9)[_0x2fe501([0x73,0x6f,0x72,0x74])]()[_0x2fe501([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bbcea,_0x5691d5])=>{_0x4d35f5(_0x2bbcea),_0x5b0c3a(_0x5691d5);}):_0x4d35f5(window[_0x2fe501([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x323aa9));}return _0x5b0c3a(_0x2646e0),_0x35a717>>>0x0;}function _0x21c5a9(_0x1e1d89){return _0x1e1d89[_0x2fe501([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fe501([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fe501([0x30]));}function _0x4eac48(_0x8ebc20){return _0x8ebc20[_0x2fe501([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fe501([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fe501([0x6a,0x6f,0x69,0x6e])]('');}function _0x423f49(){}function _0x2fe501(_0x10216d){return _0x10216d['map'](_0x35e8d1=>String['fromCharCode'](_0x35e8d1))['join']('');}_0x5b6dc2(await _0x2e4e90());}(this);}['_initSchema'](){const _0x363120=this['editor']['model']['schema'];_0x363120['isRegistered']('imageBlock')&&_0x363120['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x363120['isRegistered']('imageInline')&&_0x363120['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x499120=this['editor'];_0x499120['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x499120['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3ecc7d=>_0x3ecc7d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x58ed6a=_0x499120['commands']['get']('replaceImageSource');_0x58ed6a&&this['listenTo'](_0x58ed6a,'cleanupImage',(_0x570540,[_0x3a3fe2,_0x3e3422])=>{_0x3a3fe2['removeAttribute']('uploadcareImageId',_0x3e3422);});}['_initConfig'](){const _0x492dc4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2ec220=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5f20d7(_0x5c5795['document'],'uc-config',{..._0x492dc4,'pubkey':_0x2ec220,'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']=_0x12e5b8=>{if('closeMax'==_0x12e5b8)return'#uc-icon-arrow-down';},_0x5c5795['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5f20d7(_0x5c5795['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x5c5795['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3f356b=this['editor']['commands']['get']('insertImage');_0x3f356b&&this['listenTo'](_0x3f356b,'execute',()=>{const _0x1c6657=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c6657&&_0x1c6657['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1c6657);});});const _0x4651cf=this['editor']['commands']['get']('uploadcareImageReplace');_0x4651cf&&this['listenTo'](_0x4651cf,'execute',()=>{const _0x4ad0cd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4ad0cd&&_0x4ad0cd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4ad0cd);});});}}class u extends _0x3364da{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45a9be){super(_0x45a9be),_0x45a9be['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x297f65['defineComponents'](_0x297f65);}}class ta extends _0x1f8171{constructor(_0x80f6f2){super(_0x80f6f2);const t=_0x80f6f2['t'],_0x3acb3e=this['bindTemplate'],_0x343133=new _0x399cd1();_0x343133['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':[_0x343133,{'text':_0x3acb3e['to']('imageUploadProgress',_0x145bbf=>t('Loading\x20image...')+'\x20('+(_0x145bbf||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 _0x1f8171{constructor(_0x2f2f34){super(_0x2f2f34);const t=_0x2f2f34['t'];this['set']('errorType',null);const _0x15e3e4=new _0x1e4dbe(_0x2f2f34);_0x15e3e4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x15e3e4['withText']=!0x0,_0x15e3e4['class']='ck-button-action',_0x15e3e4['on']('execute',()=>{this['fire']('retry');}),_0x15e3e4['bind']('isVisible')['to'](this,'errorType',_0x505592=>'NotFound'!==_0x505592);const _0x585546=new at();_0x585546['content']=et,_0x585546['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x58c0dd=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':[_0x585546,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x58c0dd['to']('errorType',_0x501280=>t('NotFound'!==_0x501280?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x15e3e4]},{'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 _0x1f8171{constructor(_0x2e75fe,_0x1fdcba){super(_0x2e75fe);const _0x404220=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1fdcba,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x404220['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x6bd24d,_0x388b58,_0x5bd671){super(_0x6bd24d),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x6bd24d),this['_errorView']=new rt(_0x6bd24d),this['_editingView']=new tt(_0x6bd24d,_0x5bd671),this['_focusableView']=new _0x1f8171(_0x6bd24d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x388b58),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'],_0x486e4d=>{this['_addUploadcareImageEditorListeners'](_0x486e4d);});}),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'](_0x3a7b13,_0x1bf0ab){const _0x5c0483='uc-cloud-image-editor',_0x24f237=_0x3a7b13['querySelector'](_0x5c0483);if(_0x24f237)return _0x1bf0ab(_0x24f237);const _0x26f0b7=new MutationObserver(_0x18b01d=>{const _0x52e5bd=_0x18b01d['filter'](_0x592e78=>_0x592e78['target']===_0x3a7b13&&_0x592e78['addedNodes']['length']>0x0&&_0x592e78['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5c0483);_0x52e5bd['length']&&(_0x26f0b7['disconnect'](),_0x1bf0ab(_0x52e5bd[0x0]['addedNodes'][0x0]));});_0x26f0b7['observe'](_0x3a7b13,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3775b8){_0x3775b8['addEventListener']('apply',_0x46df39=>{this['fire']('apply',{'imageSrc':_0x46df39['detail']['cdnUrl']});}),_0x3775b8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x2d1207(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3f8131,_0x3a4d74,_0x39451e){super(),this['_editor']=_0x3f8131,this['_dialog']=_0x3a4d74,this['_imageElement']=_0x39451e,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 _0x5a0b26=this['_imageElement'],_0x5956d1=_0x5a0b26['getAttribute']('uploadcareImageId'),_0x51f966=_0x5a0b26['getAttribute']('src');if(_0x5956d1)await this['_loadImageInfo'](_0x5956d1,_0x51f966);else{if(this['_imageCache']['has'](_0x51f966)){const _0x246c07=this['_imageCache']['get'](_0x51f966);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x246c07['url'],this['imageDimension']=_0x246c07['dimension'],this['imageId']=_0x246c07['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1483e2}=this['_editor'],t=_0x1483e2['t'],_0x48d9b1=new Z(_0x1483e2,this['imageStatus'],this['_attributes']);_0x48d9b1['bind']('status')['to'](this,'imageStatus'),_0x48d9b1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48d9b1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48d9b1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48d9b1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x63ddd2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48d9b1,'position':_0x2b4795['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48d9b1['focus']();},'onHide':()=>{_0x48d9b1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53ceb5=>!F(_0x53ceb5,_0x48d9b1['element'])}});}['_loadImageInfo'](_0x2ee7e3,_0x3d8559){return C['getInfo'](_0x2ee7e3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x59bba8=>{const {width:_0x1bc710,height:_0x52cc13}=_0x59bba8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d8559,this['imageDimension']={'width':_0x1bc710,'height':_0x52cc13},this['imageId']=_0x2ee7e3;})['catch'](_0x208ce6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x208ce6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e0c15,_0xa2dd2d){return this['_getImageAsFile'](_0x4e0c15)['then'](_0xb11543=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xa2dd2d['signal'],'file':_0xb11543,'onProgress':_0x4f5fd9=>{_0x4f5fd9&&_0x4f5fd9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4f5fd9['value']));}}))['then'](_0x28c6bb=>{const {width:_0x51ec89,height:_0x23809d}=_0x28c6bb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28c6bb['cdnUrl'],this['imageDimension']={'width':_0x51ec89,'height':_0x23809d},this['imageId']=_0x28c6bb['uuid'],this['imageUploadProgress']=null;const _0x33fed8=_0x4e0c15['getAttribute']('src');this['_imageCache']['set'](_0x33fed8,{'id':_0x28c6bb['uuid'],'url':_0x28c6bb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4192e2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4192e2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x59b5dd,_0x26ad33){_0x59b5dd['on']('apply',(_0x1861d,_0x54b7fc)=>{this['_replaceImage'](_0x26ad33,_0x54b7fc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x59b5dd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x59b5dd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x82359f,_0x5bd42c,_0x56d289){const _0x389424=this['_editor'],{width:_0x250093,height:_0x10dd24}=A(_0x5bd42c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xfd8eb,imageSources:_0x345a41}=E(_0x5bd42c,_0x250093);_0x389424['model']['change'](_0x67cc12=>{if('$graveyard'===_0x82359f['root']['rootName']){_0x389424['execute']('insertImage',{'imageType':_0x82359f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x82359f['getAttributes']()),'uploadcareImageId':_0x56d289,'src':_0xfd8eb,'sources':_0x345a41,'width':_0x250093,'height':_0x10dd24}});const _0x532c06=_0x82359f['getChildren']();_0x82359f=_0x389424['model']['document']['selection']['getSelectedElement']();for(const _0x57b9db of _0x532c06)_0x67cc12['append'](_0x67cc12['cloneElement'](_0x57b9db),_0x82359f);}else _0x67cc12['setSelection'](_0x82359f,'on'),_0x389424['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x82359f['getAttributes']()),'uploadcareImageId':_0x56d289,'src':_0xfd8eb,'sources':_0x345a41,'width':_0x250093,'height':_0x10dd24},_0x82359f);_0x67cc12['setSelection'](_0x82359f,'on');});}async['_getImageAsFile'](_0x224f07){const _0x252fad=_0x5c5795['window'],_0x216b4c=_0x5c5795['document']['location']['href'],_0x317d7d=new _0x252fad['URL'](_0x224f07['getAttribute']('src'),_0x216b4c);if('data:'===_0x317d7d['protocol']){const _0x219e65=_0x317d7d['href']['split'](','),_0x5a0607=_0x219e65[0x0]['match'](/:(.*?);/)[0x1],_0x293972=_0x5a0607['split']('/')[0x1],_0x473888=_0x252fad['atob'](_0x219e65[_0x219e65['length']-0x1]);let _0x11f9af=_0x473888['length'];const _0x49c06a=new _0x252fad['Uint8Array'](_0x11f9af);for(;_0x11f9af--;)_0x49c06a[_0x11f9af]=_0x473888['charCodeAt'](_0x11f9af);return new _0x252fad['File']([_0x49c06a],'image.'+_0x293972,{'type':_0x5a0607});}const _0x37bcb3=_0x317d7d['href']['split']('/'),_0xc22509=_0x37bcb3[_0x37bcb3['length']-0x1],_0x2b2cba=_0xc22509['split']('.')[0x1];return _0x252fad['fetch'](_0x317d7d['href'])['then'](_0x3d6507=>_0x3d6507['clone']()['blob']())['then'](_0x3a0551=>new _0x252fad['File']([_0x3a0551],_0xc22509,{'type':'image/'+_0x2b2cba}));}}class J extends _0x56586c{['imageEditController'];static get['requires'](){return[_0x519e77];}['_isEditable'];constructor(_0x30655f){super(_0x30655f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x7a59de){const _0x58940c=V(_0x7a59de);return _0x2b92bc=>!(!_0x2b92bc||!_0x2b92bc['is']('element','imageBlock')&&!_0x2b92bc['is']('element','imageInline'))&&(!!_0x2b92bc['hasAttribute']('uploadcareImageId')||!!_0x2b92bc['hasAttribute']('src')&&_0x58940c(_0x2b92bc['getAttribute']('src')));}(_0x30655f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x6bac90=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x6bac90);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4b8347=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b8347&&(_0x4b8347['is']('element','imageBlock')||_0x4b8347['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x519e77),_0x4b8347),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x56586c{['refresh'](){const _0x3c6b2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3c6b2a&&(_0x3c6b2a['is']('element','imageBlock')||_0x3c6b2a['is']('element','imageInline')));}['execute'](_0x4bb205){const _0x55d47b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2eb0b7=>{_0x2eb0b7['setAttributes'](_0x4bb205,_0x55d47b),_0x2eb0b7['removeAttribute']('srcset',_0x55d47b),_0x2eb0b7['removeAttribute']('sizes',_0x55d47b);});}}class g extends _0x3364da{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3c5717,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b1006}=this;_0x2b1006['commands']['add']('uploadcareImageEdit',new J(_0x2b1006)),_0x2b1006['commands']['add']('uploadcareImageReplace',new O(_0x2b1006));}}class j extends _0x3364da{['_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 _0x9efd1b=this['editor'];_0x9efd1b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ec6d1=>{const _0x5b9158=_0x9efd1b['commands']['get']('uploadcareImageEdit'),_0xa5112b=new _0x1e4dbe(_0x3ec6d1),t=_0x3ec6d1['t'];return _0xa5112b['set']({'icon':_0x63ddd2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa5112b['bind']('isEnabled')['to'](_0x5b9158),_0xa5112b['bind']('isOn')['to'](_0x5b9158,'isActive'),this['listenTo'](_0xa5112b,'execute',()=>{_0x9efd1b['execute']('uploadcareImageEdit'),_0x9efd1b['editing']['view']['focus']();}),_0xa5112b;}),this['_initConfig']();}['_initConfig'](){const _0x87d38f=_0x5f20d7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x87d38f),this['listenTo'](this['editor'],'destroy',()=>{_0x87d38f['remove']();});}}class P extends _0x3364da{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']||={});