@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.2 → 45.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x451ce0,Command as _0x122741}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x54e95b,IconGooglePhotos as _0x546905,IconGoogleDrive as _0x3c65d1,IconFacebook as _0x4521e5,IconDropbox as _0x58c798,IconUploadcareLink as _0x2ace3b,IconUploadcareImageUpload as _0x49ce25,IconError as et,IconUploadcareImageEdit as _0x2ec076}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x191cb9,MenuBarMenuListItemButtonView as _0x250e24,View as _0x27bee2,FocusCycler as _0x3f8706,Dialog as _0x2e5457,DialogViewPosition as _0x4e6a84,SpinnerView as _0x4f80b7,IconView as at,Notification as _0x5243b3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x39ebd9,DomEmitterMixin as _0x111bf0,global as _0x4288ea,getAncestors as _0xa872ed,ObservableMixin as _0x26ecb9,createElement as _0x21d84c,uid as _0x4b8fec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x54b896}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3a75f4,info as _0x395208}from'@uploadcare/upload-client';import*as _0x28bc30 from'@uploadcare/file-uploader';var o=function(_0x254ea9){return _0x254ea9['Local']='local',_0x254ea9['URL']='url',_0x254ea9['Dropbox']='dropbox',_0x254ea9['GDrive']='gdrive',_0x254ea9['Facebook']='facebook',_0x254ea9['GPhotos']='gphotos',_0x254ea9['OneDrive']='onedrive',_0x254ea9;}({});function _(_0x2fd421,_0x40cdf7,_0x32cff7){const t=_0x2fd421['t'],_0xdecd1f=_0x2fd421['t'];switch(_0x40cdf7){case o['Local']:return{'text':_0xdecd1f('Insert'===_0x32cff7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xdecd1f('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x32cff7?_0xdecd1f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xdecd1f('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x32cff7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x32cff7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x32cff7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x32cff7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x32cff7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40cdf7;}}class e extends _0x451ce0{['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 _0x23e1dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x170f30;for(const _0x46bbd5 in _0x23e1dc){const _0x3c303c=_0x46bbd5,_0x21be3d=_0x23e1dc[_0x3c303c];if('uploadcareLicenseKeyValid'==_0x21be3d||'uploadcareLicenseKeyInvalid'==_0x21be3d||'uploadcareLicenseKeyExpired'==_0x21be3d||'uploadcareLicenseKeyDomainLimit'==_0x21be3d||'uploadcareLicenseKeyNotAllowed'==_0x21be3d||'uploadcareLicenseKeyEvaluationLimit'==_0x21be3d||'uploadcareLicenseKeyTrialLimit'==_0x21be3d||'uploadcareLicenseKeyUsageLimit'==_0x21be3d){delete _0x23e1dc[_0x3c303c],_0x170f30=_0x21be3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x170f30&&_0x23e1dc['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x170f30&&_0x23e1dc['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x170f30&&_0x23e1dc['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x170f30&&_0x23e1dc['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x170f30&&_0x23e1dc['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x170f30&&_0x23e1dc['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x170f30&&_0x23e1dc['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x563a54}=this,_0x5d4651=_0x563a54['commands']['get']('uploadcare');if(!_0x5d4651)return;const _0x2b4b6a=this['_normalizeConfigSourceList'](_0x563a54['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x17be4c,_0x11479c)=>{const _0x476cc4=this['_getIntegrationKey'](_0x11479c['type']);return _0x17be4c[_0x476cc4]||(_0x17be4c[_0x476cc4]=[]),_0x17be4c[_0x476cc4]['push'](_0x11479c),_0x17be4c;},{});_0x563a54['plugins']['has']('ImageInsertUI')&&_0x563a54['commands']['get']('uploadcare')&&Object['entries'](_0x2b4b6a)['forEach'](([_0x318002,_0x2c2120])=>{_0x563a54['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x318002,'observable':()=>_0x5d4651,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2c2120),'formViewCreator':()=>this['_createDropdownButtons'](_0x2c2120),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2c2120),'override':'assetManager'!==_0x318002});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4e127e){const {locale:_0x43481f}=this['editor'];return _0x4e127e['map'](_0x21131c=>{const _0x209c20=_(_0x43481f,_0x21131c,'Insert');switch(_0x21131c){case o['Local']:return{'icon':_0x49ce25,'type':o['Local'],..._0x209c20};case o['URL']:return{'icon':_0x2ace3b,'type':o['URL'],..._0x209c20};case o['Dropbox']:return{'icon':_0x58c798,'type':o['Dropbox'],..._0x209c20};case o['Facebook']:return{'icon':_0x4521e5,'type':o['Facebook'],..._0x209c20};case o['GDrive']:return{'icon':_0x3c65d1,'type':o['GDrive'],..._0x209c20};case o['GPhotos']:return{'icon':_0x546905,'type':o['GPhotos'],..._0x209c20};case o['OneDrive']:return{'icon':_0x54e95b,'type':o['OneDrive'],..._0x209c20};}});}['_getIntegrationKey'](_0x3e5f55){switch(_0x3e5f55){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x400d26,_0x576b30){const _0x34cf1a=this['editor'],_0x53528=new _0x400d26(_0x34cf1a['locale']),_0x5bea56=_0x34cf1a['commands']['get']('uploadcare');return _0x53528['bind']('isEnabled')['to'](_0x5bea56),_0x53528['on']('execute',()=>{_0x5bea56['execute'](_0x576b30);}),_0x53528;}['_createToolbarButton'](_0x2e34c7){const {locale:_0x515cef}=this['editor'],_0x5a9216=this['editor']['plugins']['get']('ImageInsertUI'),_0x51bebe=_0x2e34c7[0x0],_0x57c06f=this['_createButton'](_0x191cb9,_0x51bebe['type']);return _0x57c06f['icon']=_0x51bebe['icon'],_0x57c06f['bind']('label')['to'](_0x5a9216,'isImageSelected',_0x515e0b=>_(_0x515cef,_0x51bebe['type'],_0x515e0b?'Replace':'Insert')['text']),_0x57c06f['tooltip']=!0x0,_0x57c06f;}['_createDropdownButtons'](_0x41d037){const {locale:_0x1762f1}=this['editor'],_0x1b3ff4=this['editor']['plugins']['get']('ImageInsertUI');return _0x41d037['map'](_0x50b936=>{const _0x5cab94=this['_createButton'](_0x191cb9,_0x50b936['type']);return _0x5cab94['withText']=!0x0,_0x5cab94['icon']=_0x50b936['icon'],_0x5cab94['bind']('label')['to'](_0x1b3ff4,'isImageSelected',_0x5bfb8f=>_(_0x1762f1,_0x50b936['type'],_0x5bfb8f?'Replace':'Insert')['text']),_0x5cab94;});}['_createMenuBarButtons'](_0x19b9e8){return _0x19b9e8['map'](_0x2d5870=>{const _0x59cdfd=this['_createButton'](_0x250e24,_0x2d5870['type']);return _0x59cdfd['icon']=_0x2d5870['icon'],_0x59cdfd['label']=_0x2d5870['shortText'],_0x59cdfd;});}}class q extends _0x27bee2{['focusTracker'];['focusCycler'];constructor(_0x8b3215){super(_0x8b3215),this['focusTracker']=new _0x39ebd9(),this['focusCycler']=new _0x3f8706({'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(_0x9e5ab1){super(_0x9e5ab1),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(_0x1c48b2,_0xaff3f2){const _0x14122d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4735d6=>_0x4735d6<=_0xaff3f2)['map'](_0x5512=>_0x1c48b2['replace'](/\/$/,'')+'/-/resize/'+_0x5512+'x/\x20'+_0x5512+'w');return{'imageFallbackUrl':_0x1c48b2,'imageSources':[{'srcset':_0x14122d['join'](',\x20'),'sizes':'(max-width:\x20'+_0xaff3f2+'px)\x20100vw,\x20'+_0xaff3f2+'px','type':'image/webp'}]};}function A(_0x14e801,_0x367ca1,_0x5b369a){const _0x4f9dd7=_0x14e801['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4f9dd7?parseInt(_0x4f9dd7[0x1],0xa):_0x367ca1,'height':_0x4f9dd7?parseInt(_0x4f9dd7[0x2],0xa):_0x5b369a};}function m(_0x144f01,_0x21102c){const _0x1ce518=Object['create'](_0x111bf0),_0x3dba43=_0x144f01['plugins']['get']('ImageUtils'),_0xaa50e5=_0x144f01['editing']['mapper']['toViewElement'](_0x21102c),_0x5f0a7b=_0x3dba43['findViewImgElement'](_0xaa50e5),_0x15b358=_0x144f01['editing']['view']['domConverter']['viewToDom'](_0x5f0a7b),_0x4574c0=_0x21102c['getAttribute']('width'),_0x378ca9=_0x21102c['getAttribute']('height'),_0x10e770='image-processing';_0x144f01['editing']['view']['change'](_0x3f14c0=>{_0x3f14c0['addClass'](_0x10e770,_0xaa50e5),_0x3f14c0['setStyle']('aspect-ratio',_0x4574c0+'/'+_0x378ca9,_0x5f0a7b);}),_0x1ce518['listenTo'](_0x15b358,'load',()=>{_0x1ce518['stopListening'](_0x15b358,'load'),_0x144f01['editing']['view']['change'](_0x2f42de=>{_0x2f42de['removeClass'](_0x10e770,_0xaa50e5),_0x2f42de['removeStyle']('aspect-ratio',_0x5f0a7b);});});}function V(_0x3b2268){if(Array['isArray'](_0x3b2268)){const _0x449591=_0x3b2268['map'](V);return _0x26d795=>_0x449591['some'](_0x333f11=>_0x333f11(_0x26d795));}if('origin'==_0x3b2268){const _0x5d754d=_0x4288ea['window']['location']['origin'];return _0x1aef5a=>new URL(_0x1aef5a,_0x4288ea['document']['baseURI'])['origin']==_0x5d754d;}return'function'==typeof _0x3b2268?_0x3b2268:_0x3b2268 instanceof RegExp?_0x3835eb=>!(!_0x3835eb['match'](_0x3b2268)&&!_0x3835eb['replace'](/^https?:\/\//,'')['match'](_0x3b2268)):()=>!0x1;}function F(_0x29d424,_0x207477){return _0xa872ed(_0x29d424['target'])['includes'](_0x207477);}class l extends/* #__PURE__ -- @preserve */
24
- _0x26ecb9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5f0dc4,_0x54a2d8,_0x47f846){super(),this['_editor']=_0x5f0dc4,this['_editing']=_0x54a2d8,this['_dialog']=_0x5f0dc4['plugins']['get'](_0x2e5457),this['_api']=_0x54a2d8['ctxElement']['getAPI'](),this['_type']=_0x47f846,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:_0x335bc2,model:_0x49115b}=this['_editor'],_0x568a2b=_0x49115b['document']['selection']['getSelectedElement'](),_0x299028=_0x568a2b&&(_0x568a2b['is']('element','imageBlock')||_0x568a2b['is']('element','imageInline'));this['_formView']=new S(_0x335bc2),this['_dialog']['show']({'id':'uploadCare','icon':_0x49ce25,'title':_(_0x335bc2,this['_type'],_0x299028?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4e6a84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x218ac9=>!F(_0x218ac9,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5571ac}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x27014a=>{const _0x3860a5=_0x5571ac['length'];for(const _0x9e0799 of _0x5571ac){const _0x42eb91=_0x9e0799===_0x5571ac[_0x3860a5-0x1],{cdnUrl:_0x12e468,fileInfo:_0x57facf}=_0x9e0799;if(!_0x12e468||!_0x57facf)continue;const {width:_0x336847,height:_0x59270b}=_0x57facf['imageInfo'],_0x326bfa=A(_0x12e468,_0x336847,_0x59270b),_0x43c2f4=E(_0x12e468,_0x326bfa['width']),_0x3aac2f={'id':_0x57facf['uuid'],'type':'image','attributes':{'imageDimension':_0x326bfa,..._0x43c2f4}};this['_insertAsset'](_0x3aac2f,_0x42eb91,_0x27014a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x22da5a=>{'idle'===_0x22da5a['detail']['status']&&!_0x22da5a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3a4e67,_0x463721,_0x161c28){const _0x5f145a=this['_editor']['model']['document']['selection'],_0x4ab27f=_0x5f145a['getSelectedElement'](),_0x4dc241=!(!_0x4ab27f||!_0x4ab27f['is']('element','imageInline'));_0x161c28['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3a4e67,_0x4dc241),_0x463721||_0x161c28['setSelection'](_0x5f145a['getLastPosition']());}['_insertImage'](_0xfe6a42,_0x3bb488){const _0x12a120=this['_editor'],{imageDimension:_0x5dc8fb,imageFallbackUrl:_0x294ff0,imageSources:_0x32f927}=_0xfe6a42['attributes'];_0x12a120['execute']('insertImage',{'imageType':_0x3bb488?'imageInline':null,'source':{'uploadcareImageId':_0xfe6a42['id'],'src':_0x294ff0,'sources':_0x32f927,..._0x5dc8fb}});}}class n extends _0x122741{['_editing'];['_controller']=null;static get['requires'](){return[_0x2e5457,i];}constructor(_0x5745b5){super(_0x5745b5),this['_editing']=_0x5745b5['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x54c0bb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x54c0bb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0xf10a91,publicKey:_0x3a68d1,signal:_0x1edc80,onProgress:_0x24fcff}){return _0x3a75f4(_0xf10a91,{'publicKey':_0x3a68d1,'store':'auto','signal':_0x1edc80,'onProgress':_0x24fcff});}static['getInfo'](_0x237dff,_0xcf1ea8){return _0x395208(_0x237dff,_0xcf1ea8);}}class p extends _0x451ce0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x54b896,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f1ab0=this['editor'];if(!!!_0x3f1ab0['config']['get']('uploadcare'))return;_0x3f1ab0['plugins']['get'](_0x54b896)['createUploadAdapter']=_0x4b008d=>new x(_0x4b008d,_0x3f1ab0),_0x3f1ab0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f54d1,{imageElement:_0x45b540,data:_0x412d31})=>{_0x3f1ab0['model']['change'](_0x43462b=>{_0x43462b['setAttribute']('uploadcareImageId',_0x412d31['uploadcareImageId'],_0x45b540);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x11955c,_0x43fd8d){this['loader']=_0x11955c,this['editor']=_0x43fd8d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x34720f=this['editor']['config']['get']('uploadcare.pubkey'),_0x2ac1ed=await this['loader']['file'];return C['upload']({'file':_0x2ac1ed,'publicKey':_0x34720f,'signal':this['controller']['signal'],'onProgress':_0x19bb47=>{_0x19bb47&&_0x19bb47['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x19bb47['value']);}})['then'](async _0x51b7b5=>{const {imageFallbackUrl:_0x5696c6,imageSources:_0x3c0b43}=E(_0x51b7b5['cdnUrl'],_0x51b7b5['imageInfo']['width']);return{'uploadcareImageId':_0x51b7b5['uuid'],'default':_0x5696c6,'sources':_0x3c0b43};})['catch'](()=>{const _0x5f168b=t('Cannot\x20upload\x20file:')+('\x20'+_0x2ac1ed['name']+'.');return Promise['reject'](_0x5f168b);});}['abort'](){this['controller']['abort']();}}class i extends _0x451ce0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x2e5457];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x8eed49=this['editor'];_0x8eed49['commands']['add']('uploadcare',new n(_0x8eed49));}['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 _0x193160=_0x4288ea['document']['querySelector']('input[uploadcare-file-input]');_0x193160&&_0x193160['remove']();}),async function(_0x2d0ece){const _0x3b79be=_0x36e188([0x35,0x39,0x38,0x68,0x5a,0x73,0x56,0x76,0x7a,0x6b,0x63,0x62,0x48,0x44,0x55,0x71,0x47,0x6d,0x4a,0x4e,0x45,0x42,0x72,0x66,0x58,0x32,0x67,0x65,0x75,0x57,0x64,0x77,0x78,0x30,0x54,0x34,0x33,0x46,0x51,0x31,0x4c,0x43,0x59,0x4d,0x50,0x6e,0x53,0x79,0x4f,0x36,0x49,0x74,0x4b,0x37,0x6f,0x69,0x6c,0x52,0x6a,0x41,0x70,0x61]),_0x44384d=0x2ad0fb91,_0xe3808e=0x2ad798f9^_0x44384d,_0x64354c=window[_0x36e188([0x44,0x61,0x74,0x65])][_0x36e188([0x6e,0x6f,0x77])](),_0x9e654e=_0x2d0ece[_0x36e188([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ea65f=new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c287d=>{_0x9e654e[_0x36e188([0x6f,0x6e,0x63,0x65])](_0x36e188([0x72,0x65,0x61,0x64,0x79]),_0x2c287d);}),_0x555d98={[_0x36e188([0x6b,0x74,0x79])]:_0x36e188([0x45,0x43]),[_0x36e188([0x75,0x73,0x65])]:_0x36e188([0x73,0x69,0x67]),[_0x36e188([0x63,0x72,0x76])]:_0x36e188([0x50,0x2d,0x32,0x35,0x36]),[_0x36e188([0x78])]:_0x36e188([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]),[_0x36e188([0x79])]:_0x36e188([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]),[_0x36e188([0x61,0x6c,0x67])]:_0x36e188([0x45,0x53,0x32,0x35,0x36])},_0x530634=_0x9e654e[_0x36e188([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36e188([0x67,0x65,0x74])](_0x36e188([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15ea30(){let _0x116df7,_0xb197ea=null,_0x2587f9=null;try{if(_0x530634==_0x36e188([0x47,0x50,0x4c]))return _0x36e188([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x116df7=_0x1fbafc(),!_0x116df7)return _0x36e188([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x116df7[_0x36e188([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2587f9=_0x11c3c2(_0x116df7[_0x36e188([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x116df7[_0x36e188([0x6a,0x74,0x69])])),await _0x115967()?_0x4e16b3()?_0x3e3f5a()?_0x36e188([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32fc0a()?(_0x116df7[_0x36e188([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36e188([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb197ea=_0x54a9b1(_0x36e188([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x116df7[_0x36e188([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36e188([0x74,0x72,0x69,0x61,0x6c])&&(_0xb197ea=_0x54a9b1(_0x36e188([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb20d73()):_0x36e188([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36e188([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36e188([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x490b46){return _0x36e188([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e3f5a(){const _0x4f3401=[_0x36e188([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36e188([0x74,0x72,0x69,0x61,0x6c])][_0x36e188([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116df7[_0x36e188([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x64354c/0x3e8:0xe10*_0xe3808e;return _0x116df7[_0x36e188([0x65,0x78,0x70])]<_0x4f3401;}function _0x4e16b3(){const _0x5bd665=_0x116df7[_0x36e188([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bd665&&(!!_0x5bd665[_0x36e188([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e188([0x2a]))||!!_0x5bd665[_0x36e188([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e188([0x55,0x50,0x4c,0x43])));}function _0x32fc0a(){const _0x24a707=_0x116df7[_0x36e188([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24a707||0x0==_0x24a707[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x383e0a}=new URL(window[_0x36e188([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24a707[_0x36e188([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x383e0a))return!0x0;const _0x267463=_0x383e0a[_0x36e188([0x73,0x70,0x6c,0x69,0x74])](_0x36e188([0x2e]));return _0x24a707[_0x36e188([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e5f4d=>_0x3e5f4d[_0x36e188([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e188([0x2a])))[_0x36e188([0x6d,0x61,0x70])](_0x2741c7=>_0x2741c7[_0x36e188([0x73,0x70,0x6c,0x69,0x74])](_0x36e188([0x2e])))[_0x36e188([0x73,0x6f,0x6d,0x65])](_0x319cd8=>_0x267463[_0x36e188([0x65,0x76,0x65,0x72,0x79])]((_0x572997,_0x19d361)=>_0x319cd8[_0x19d361]===_0x572997||_0x319cd8[_0x19d361]===_0x36e188([0x2a])));}function _0xb20d73(){return _0xb197ea&&_0x2587f9?new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5355de,_0x1a75cc)=>{_0xb197ea[_0x36e188([0x74,0x68,0x65,0x6e])](_0x5355de,_0x1a75cc),_0x2587f9[_0x36e188([0x74,0x68,0x65,0x6e])](_0x144d72=>{_0x144d72!=_0x36e188([0x56,0x61,0x6c,0x69,0x64])&&_0x5355de(_0x144d72);},_0x1a75cc);}):_0xb197ea||_0x2587f9||_0x36e188([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11c3c2(_0x219385,_0x80a919){return new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e09e=>{if(_0x412706())return _0x37e09e(_0x36e188([0x56,0x61,0x6c,0x69,0x64]));_0xb6bea6(),_0x9e654e[_0x36e188([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36e188([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f028f=!0x1;const _0x583326=_0x4b8fec();function _0x61c873(_0x365f2f){return!!_0x365f2f&&(typeof _0x365f2f===_0x36e188([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x365f2f===_0x36e188([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x365f2f[_0x36e188([0x74,0x68,0x65,0x6e])]===_0x36e188([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x365f2f[_0x36e188([0x63,0x61,0x74,0x63,0x68])]===_0x36e188([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x496ca3(_0x1736e1){_0x3b9d0c(_0x1736e1)[_0x36e188([0x74,0x68,0x65,0x6e])](_0x426bc5=>{if(!_0x426bc5||_0x426bc5[_0x36e188([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36e188([0x6f,0x6b]))return _0x36e188([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a8f66(_0x131e81(_0x583326+_0x80a919))!=_0x426bc5[_0x36e188([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36e188([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36e188([0x56,0x61,0x6c,0x69,0x64]);})[_0x36e188([0x74,0x68,0x65,0x6e])](_0x44dd55=>(_0x3cff16(),_0x44dd55),()=>{const _0x486ddd=_0x3b00f3();return null==_0x486ddd?(_0x3cff16(),_0x36e188([0x56,0x61,0x6c,0x69,0x64])):_0x36e188(_0x64354c-_0x486ddd>(0xedc7f91^_0x44384d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36e188([0x74,0x68,0x65,0x6e])](_0x37e09e)[_0x36e188([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37e09e(_0x36e188([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b85e4=0x2ae61511^_0x44384d;function _0x3cff16(){const _0x436a57=_0x36e188([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a8f66(_0x131e81(_0x219385)),_0x10d168=_0x1b6364(_0x1a8f66(window[_0x36e188([0x4d,0x61,0x74,0x68])][_0x36e188([0x63,0x65,0x69,0x6c])](_0x64354c/_0x1b85e4)));window[_0x36e188([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36e188([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x436a57,_0x10d168);}function _0x3b00f3(){const _0x1e25ce=_0x36e188([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a8f66(_0x131e81(_0x219385)),_0x996df5=window[_0x36e188([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36e188([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e25ce);return _0x996df5?window[_0x36e188([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b6364(_0x996df5),0x10)*_0x1b85e4:null;}function _0x3b9d0c(_0x3e2bb3){return new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x130c09,_0x458ac)=>{_0x3e2bb3[_0x36e188([0x74,0x68,0x65,0x6e])](_0x130c09,_0x458ac),window[_0x36e188([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x458ac,0x2ad12f51^_0x44384d);});}}_0x9e654e[_0x36e188([0x6f,0x6e])](_0x36e188([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26120c,_0x3d6d21)=>{if(_0x3d6d21[0x0]!=_0x219385)return _0x37e09e(_0x36e188([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d6d21[0x1]={..._0x3d6d21[0x1],[_0x36e188([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x583326};},{[_0x36e188([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36e188([0x68,0x69,0x67,0x68])}),_0x9e654e[_0x36e188([0x6f,0x6e])](_0x36e188([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x202f85=>{_0x61c873(_0x202f85[_0x36e188([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f028f=!0x0,_0x496ca3(_0x202f85[_0x36e188([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36e188([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36e188([0x6c,0x6f,0x77])}),_0x1ea65f[_0x36e188([0x74,0x68,0x65,0x6e])](()=>{_0x4f028f||_0x37e09e(_0x36e188([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x412706(){return _0x9e654e[_0x36e188([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36e188([0x76,0x69,0x65,0x77])][_0x36e188([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36e188([0x61,0x75,0x74,0x6f]);}function _0xb6bea6(){_0x9e654e[_0x36e188([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36e188([0x76,0x69,0x65,0x77])][_0x36e188([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36e188([0x61,0x75,0x74,0x6f]);}}function _0x54a9b1(_0x2850f9){const _0x24d8f6=[new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d0771=>setTimeout(_0x4d0771,0x2ad9c55d^_0x44384d)),_0x1ea65f[_0x36e188([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565357=>{let _0x5f6731=0x0;_0x9e654e[_0x36e188([0x6d,0x6f,0x64,0x65,0x6c])][_0x36e188([0x6f,0x6e])](_0x36e188([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ecbc2,_0x61f202)=>{_0x61f202[0x0][_0x36e188([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f6731++,_0x5f6731==(0x2ad0fa69^_0x44384d)&&(_0x565357(),_0x4ecbc2[_0x36e188([0x6f,0x66,0x66])]());});}))];return window[_0x36e188([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36e188([0x72,0x61,0x63,0x65])](_0x24d8f6)[_0x36e188([0x74,0x68,0x65,0x6e])](()=>_0x2850f9);}async function _0x4c490e(){await _0x1ea65f,_0x9e654e[_0x36e188([0x6d,0x6f,0x64,0x65,0x6c])][_0x36e188([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e99ef,_0x9e654e[_0x36e188([0x6d,0x6f,0x64,0x65,0x6c])][_0x36e188([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e99ef,_0x9e654e[_0x36e188([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36e188([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43c7e2(_0x35e716){const _0x359221=_0x56cb51();_0x9e654e[_0x359221]=_0x36e188([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35e716,_0x35e716!=_0x36e188([0x56,0x61,0x6c,0x69,0x64])&&_0x4c490e();}function _0x56cb51(){const _0x55866a=window[_0x36e188([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36e188([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36e188([0x6e,0x6f,0x77])]())[_0x36e188([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36e188([0x2e]),'');let _0x2f0018=_0x36e188([0x68]);for(let _0x3fbafb=0x0;_0x3fbafb<_0x55866a[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fbafb+=0x2){let _0x542426=window[_0x36e188([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55866a[_0x36e188([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fbafb,_0x3fbafb+0x2));_0x542426>=_0x3b79be[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x542426-=_0x3b79be[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f0018+=_0x3b79be[_0x542426];}return _0x2f0018;}function _0x1fbafc(){const _0x2cacde=_0x530634[_0x36e188([0x73,0x70,0x6c,0x69,0x74])](_0x36e188([0x2e]));if(0x3!=_0x2cacde[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bd01b(_0x2cacde[0x1]);function _0x3bd01b(_0x16c6a1){const _0x4deb12=_0x10cf46(_0x16c6a1);return _0x4deb12&&_0x41a9ea()?_0x4deb12:null;function _0x41a9ea(){const _0x4623c6=_0x4deb12[_0x36e188([0x6a,0x74,0x69])],_0x3e9306=window[_0x36e188([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4623c6[_0x36e188([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4623c6[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17b4f5={..._0x4deb12,[_0x36e188([0x6a,0x74,0x69])]:_0x4623c6[_0x36e188([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4623c6[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17b4f5[_0x36e188([0x76,0x63])],_0x131e81(_0x17b4f5)==_0x3e9306;}}}async function _0x115967(){let _0x25b479=!0x0;try{const _0x3ea186=_0x530634[_0x36e188([0x73,0x70,0x6c,0x69,0x74])](_0x36e188([0x2e])),[_0x4d1d22,_0x3b62e4,_0x496ce4]=_0x3ea186;return _0x567368(_0x4d1d22),await _0x1ed98d(_0x4d1d22,_0x3b62e4,_0x496ce4),_0x25b479;}catch(_0x116c56){return!0x1;}function _0x567368(_0xea29bf){const _0x148a4e=_0x10cf46(_0xea29bf);_0x148a4e&&_0x148a4e[_0x36e188([0x61,0x6c,0x67])]==_0x36e188([0x45,0x53,0x32,0x35,0x36])||(_0x25b479=!0x1);}async function _0x1ed98d(_0x2027b0,_0x5365a8,_0x17b790){const _0x1cb1c0=window[_0x36e188([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36e188([0x66,0x72,0x6f,0x6d])](_0x1a8cfb(_0x17b790),_0x17c74e=>_0x17c74e[_0x36e188([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dd398=new window[(_0x36e188([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36e188([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2027b0+_0x36e188([0x2e])+_0x5365a8),_0x28032f=window[_0x36e188([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36e188([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28032f)return;const _0x34e061=await _0x28032f[_0x36e188([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36e188([0x6a,0x77,0x6b]),_0x555d98,{[_0x36e188([0x6e,0x61,0x6d,0x65])]:_0x36e188([0x45,0x43,0x44,0x53,0x41]),[_0x36e188([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36e188([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36e188([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28032f[_0x36e188([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36e188([0x6e,0x61,0x6d,0x65])]:_0x36e188([0x45,0x43,0x44,0x53,0x41]),[_0x36e188([0x68,0x61,0x73,0x68])]:{[_0x36e188([0x6e,0x61,0x6d,0x65])]:_0x36e188([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34e061,_0x1cb1c0,_0x2dd398)||(_0x25b479=!0x1);}}function _0x10cf46(_0x3ee969){return _0x3ee969[_0x36e188([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36e188([0x65,0x79]))?JSON[_0x36e188([0x70,0x61,0x72,0x73,0x65])](_0x1a8cfb(_0x3ee969)):null;}function _0x1a8cfb(_0x3e6828){return window[_0x36e188([0x61,0x74,0x6f,0x62])](_0x3e6828[_0x36e188([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36e188([0x2b]))[_0x36e188([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36e188([0x2f])));}function _0x131e81(_0x779f70){let _0x49cc2a=0x1505;function _0x59f2be(_0x3282ae){for(let _0x2ca154=0x0;_0x2ca154<_0x3282ae[_0x36e188([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ca154++){const _0x1351b6=_0x3282ae[_0x36e188([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ca154);_0x49cc2a=(_0x49cc2a<<0x5)+_0x49cc2a+_0x1351b6,_0x49cc2a&=_0x49cc2a;}}function _0x553ba9(_0x3815d0){Array[_0x36e188([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3815d0)?_0x3815d0[_0x36e188([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x553ba9):_0x3815d0&&typeof _0x3815d0==_0x36e188([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36e188([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3815d0)[_0x36e188([0x73,0x6f,0x72,0x74])]()[_0x36e188([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10be49,_0x181dc0])=>{_0x59f2be(_0x10be49),_0x553ba9(_0x181dc0);}):_0x59f2be(window[_0x36e188([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3815d0));}return _0x553ba9(_0x779f70),_0x49cc2a>>>0x0;}function _0x1a8f66(_0x2e3d8c){return _0x2e3d8c[_0x36e188([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36e188([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36e188([0x30]));}function _0x1b6364(_0x56531a){return _0x56531a[_0x36e188([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36e188([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36e188([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e99ef(){}function _0x36e188(_0x5b762b){return _0x5b762b['map'](_0x198f92=>String['fromCharCode'](_0x198f92))['join']('');}_0x43c7e2(await _0x15ea30());}(this);}['_initSchema'](){const _0x20f703=this['editor']['model']['schema'];_0x20f703['isRegistered']('imageBlock')&&_0x20f703['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x20f703['isRegistered']('imageInline')&&_0x20f703['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4c42d2=this['editor'];_0x4c42d2['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4c42d2['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x40e5ce=>_0x40e5ce['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x401d67=_0x4c42d2['commands']['get']('replaceImageSource');_0x401d67&&this['listenTo'](_0x401d67,'cleanupImage',(_0x452f22,[_0xd5ea94,_0x399b30])=>{_0xd5ea94['removeAttribute']('uploadcareImageId',_0x399b30);});}['_initConfig'](){const _0xb7e6d3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c41d5=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x21d84c(_0x4288ea['document'],'uc-config',{..._0xb7e6d3,'pubkey':_0x1c41d5,'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']=_0x1c2c60=>{if('closeMax'==_0x1c2c60)return'#uc-icon-arrow-down';},_0x4288ea['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x21d84c(_0x4288ea['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4288ea['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xdd9bb1=this['editor']['commands']['get']('insertImage');_0xdd9bb1&&this['listenTo'](_0xdd9bb1,'execute',()=>{const _0x34ad41=this['editor']['model']['document']['selection']['getSelectedElement']();_0x34ad41&&_0x34ad41['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x34ad41);});});const _0x2ae5ee=this['editor']['commands']['get']('uploadcareImageReplace');_0x2ae5ee&&this['listenTo'](_0x2ae5ee,'execute',()=>{const _0x246748=this['editor']['model']['document']['selection']['getSelectedElement']();_0x246748&&_0x246748['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x246748);});});}}class u extends _0x451ce0{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x433c1b){super(_0x433c1b),_0x433c1b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x28bc30['defineComponents'](_0x28bc30);}}class ta extends _0x27bee2{constructor(_0x3f3e58){super(_0x3f3e58);const t=_0x3f3e58['t'],_0x2e2f1a=this['bindTemplate'],_0x356fb5=new _0x4f80b7();_0x356fb5['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':[_0x356fb5,{'text':_0x2e2f1a['to']('imageUploadProgress',_0xd42beb=>t('Loading\x20image...')+'\x20('+(_0xd42beb||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 _0x27bee2{constructor(_0xaac2bb){super(_0xaac2bb);const t=_0xaac2bb['t'];this['set']('errorType',null);const _0x2a3d39=new _0x191cb9(_0xaac2bb);_0x2a3d39['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a3d39['withText']=!0x0,_0x2a3d39['class']='ck-button-action',_0x2a3d39['on']('execute',()=>{this['fire']('retry');}),_0x2a3d39['bind']('isVisible')['to'](this,'errorType',_0x596153=>'NotFound'!==_0x596153);const _0x47bde2=new at();_0x47bde2['content']=et,_0x47bde2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x153a39=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':[_0x47bde2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x153a39['to']('errorType',_0x45d4e1=>t('NotFound'!==_0x45d4e1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a3d39]},{'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 _0x27bee2{constructor(_0x434ca5,_0x21f401){super(_0x434ca5);const _0x6b8933=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x21f401,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x6b8933['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xb8700c,_0x490831,_0x3d724f){super(_0xb8700c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xb8700c),this['_errorView']=new rt(_0xb8700c),this['_editingView']=new tt(_0xb8700c,_0x3d724f),this['_focusableView']=new _0x27bee2(_0xb8700c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x490831),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'],_0x21e0f=>{this['_addUploadcareImageEditorListeners'](_0x21e0f);});}),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'](_0x29ef5e,_0x38310c){const _0x30b004='uc-cloud-image-editor',_0x5b0315=_0x29ef5e['querySelector'](_0x30b004);if(_0x5b0315)return _0x38310c(_0x5b0315);const _0x38a135=new MutationObserver(_0x53b833=>{const _0x45365a=_0x53b833['filter'](_0x34c7f5=>_0x34c7f5['target']===_0x29ef5e&&_0x34c7f5['addedNodes']['length']>0x0&&_0x34c7f5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x30b004);_0x45365a['length']&&(_0x38a135['disconnect'](),_0x38310c(_0x45365a[0x0]['addedNodes'][0x0]));});_0x38a135['observe'](_0x29ef5e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x10bd5f){_0x10bd5f['addEventListener']('apply',_0xc896ea=>{this['fire']('apply',{'imageSrc':_0xc896ea['detail']['cdnUrl']});}),_0x10bd5f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x26ecb9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x19f0e0,_0x562a97,_0x25b528){super(),this['_editor']=_0x19f0e0,this['_dialog']=_0x562a97,this['_imageElement']=_0x25b528,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 _0x3674d1=this['_imageElement'],_0x4cdbe9=_0x3674d1['getAttribute']('uploadcareImageId'),_0x53edde=_0x3674d1['getAttribute']('src');if(_0x4cdbe9)await this['_loadImageInfo'](_0x4cdbe9,_0x53edde);else{if(this['_imageCache']['has'](_0x53edde)){const _0x325b84=this['_imageCache']['get'](_0x53edde);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x325b84['url'],this['imageDimension']=_0x325b84['dimension'],this['imageId']=_0x325b84['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x38a76a}=this['_editor'],t=_0x38a76a['t'],_0x415e91=new Z(_0x38a76a,this['imageStatus'],this['_attributes']);_0x415e91['bind']('status')['to'](this,'imageStatus'),_0x415e91['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x415e91['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x415e91['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x415e91,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ec076,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x415e91,'position':_0x4e6a84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x415e91['focus']();},'onHide':()=>{_0x415e91['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x272fb9=>!F(_0x272fb9,_0x415e91['element'])}});}['_loadImageInfo'](_0x1ebbc1,_0x53f2bf){return C['getInfo'](_0x1ebbc1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4f09d6=>{const {width:_0x53209a,height:_0x29818d}=_0x4f09d6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53f2bf,this['imageDimension']={'width':_0x53209a,'height':_0x29818d},this['imageId']=_0x1ebbc1;})['catch'](_0x1e78a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e78a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x366168,_0x5b55b6){return this['_getImageAsFile'](_0x366168)['then'](_0xa998b=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5b55b6['signal'],'file':_0xa998b,'onProgress':_0x1b6463=>{_0x1b6463&&_0x1b6463['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b6463['value']));}}))['then'](_0x304254=>{const {width:_0x290cb9,height:_0xd03cc8}=_0x304254['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x304254['cdnUrl'],this['imageDimension']={'width':_0x290cb9,'height':_0xd03cc8},this['imageId']=_0x304254['uuid'],this['imageUploadProgress']=null;const _0x32191b=_0x366168['getAttribute']('src');this['_imageCache']['set'](_0x32191b,{'id':_0x304254['uuid'],'url':_0x304254['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x494ab0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x494ab0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x559e27,_0x3c7549){_0x559e27['on']('apply',(_0x87418d,_0x44b821)=>{this['_replaceImage'](_0x3c7549,_0x44b821['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x559e27['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x559e27['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x431f0a,_0x2cb24f,_0x39b6c3){const _0x138427=this['_editor'],{width:_0x2d8a01,height:_0x38435b}=A(_0x2cb24f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2a6214,imageSources:_0x60a9aa}=E(_0x2cb24f,_0x2d8a01);_0x138427['model']['change'](_0x54a5cd=>{if('$graveyard'===_0x431f0a['root']['rootName']){_0x138427['execute']('insertImage',{'imageType':_0x431f0a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x431f0a['getAttributes']()),'uploadcareImageId':_0x39b6c3,'src':_0x2a6214,'sources':_0x60a9aa,'width':_0x2d8a01,'height':_0x38435b}});const _0xf82c3a=_0x431f0a['getChildren']();_0x431f0a=_0x138427['model']['document']['selection']['getSelectedElement']();for(const _0x490f87 of _0xf82c3a)_0x54a5cd['append'](_0x54a5cd['cloneElement'](_0x490f87),_0x431f0a);}else _0x54a5cd['setSelection'](_0x431f0a,'on'),_0x138427['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x431f0a['getAttributes']()),'uploadcareImageId':_0x39b6c3,'src':_0x2a6214,'sources':_0x60a9aa,'width':_0x2d8a01,'height':_0x38435b},_0x431f0a);_0x54a5cd['setSelection'](_0x431f0a,'on');});}async['_getImageAsFile'](_0x26e367){const _0x5a56cd=_0x4288ea['window'],_0x590f2a=_0x4288ea['document']['location']['href'],_0x1c1416=new _0x5a56cd['URL'](_0x26e367['getAttribute']('src'),_0x590f2a);if('data:'===_0x1c1416['protocol']){const _0x2d4d30=_0x1c1416['href']['split'](','),_0x12969b=_0x2d4d30[0x0]['match'](/:(.*?);/)[0x1],_0x4c2db7=_0x12969b['split']('/')[0x1],_0x4bed6d=_0x5a56cd['atob'](_0x2d4d30[_0x2d4d30['length']-0x1]);let _0x4ec2b5=_0x4bed6d['length'];const _0x187338=new _0x5a56cd['Uint8Array'](_0x4ec2b5);for(;_0x4ec2b5--;)_0x187338[_0x4ec2b5]=_0x4bed6d['charCodeAt'](_0x4ec2b5);return new _0x5a56cd['File']([_0x187338],'image.'+_0x4c2db7,{'type':_0x12969b});}const _0x506211=_0x1c1416['href']['split']('/'),_0x28bb52=_0x506211[_0x506211['length']-0x1],_0x504ca7=_0x28bb52['split']('.')[0x1];return _0x5a56cd['fetch'](_0x1c1416['href'])['then'](_0x4a2f74=>_0x4a2f74['clone']()['blob']())['then'](_0x4e82b2=>new _0x5a56cd['File']([_0x4e82b2],_0x28bb52,{'type':'image/'+_0x504ca7}));}}class J extends _0x122741{['imageEditController'];static get['requires'](){return[_0x2e5457];}['_isEditable'];constructor(_0x390f56){super(_0x390f56),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2a1589){const _0x19943f=V(_0x2a1589);return _0x1939ba=>!(!_0x1939ba||!_0x1939ba['is']('element','imageBlock')&&!_0x1939ba['is']('element','imageInline'))&&(!!_0x1939ba['hasAttribute']('uploadcareImageId')||!!_0x1939ba['hasAttribute']('src')&&_0x19943f(_0x1939ba['getAttribute']('src')));}(_0x390f56['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1d183e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1d183e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x58fac3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58fac3&&(_0x58fac3['is']('element','imageBlock')||_0x58fac3['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x2e5457),_0x58fac3),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x122741{['refresh'](){const _0x4eb74c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4eb74c&&(_0x4eb74c['is']('element','imageBlock')||_0x4eb74c['is']('element','imageInline')));}['execute'](_0x1ea963){const _0x2a47fa=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x38a951=>{_0x38a951['setAttributes'](_0x1ea963,_0x2a47fa),_0x38a951['removeAttribute']('srcset',_0x2a47fa),_0x38a951['removeAttribute']('sizes',_0x2a47fa);});}}class g extends _0x451ce0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5243b3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x34293f}=this;_0x34293f['commands']['add']('uploadcareImageEdit',new J(_0x34293f)),_0x34293f['commands']['add']('uploadcareImageReplace',new O(_0x34293f));}}class j extends _0x451ce0{['_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 _0x2d9ed2=this['editor'];_0x2d9ed2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x542eb0=>{const _0xf3d100=_0x2d9ed2['commands']['get']('uploadcareImageEdit'),_0x1609fc=new _0x191cb9(_0x542eb0),t=_0x542eb0['t'];return _0x1609fc['set']({'icon':_0x2ec076,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1609fc['bind']('isEnabled')['to'](_0xf3d100),_0x1609fc['bind']('isOn')['to'](_0xf3d100,'isActive'),this['listenTo'](_0x1609fc,'execute',()=>{_0x2d9ed2['execute']('uploadcareImageEdit'),_0x2d9ed2['editing']['view']['focus']();}),_0x1609fc;}),this['_initConfig']();}['_initConfig'](){const _0x1a5393=_0x21d84c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1a5393),this['listenTo'](this['editor'],'destroy',()=>{_0x1a5393['remove']();});}}class P extends _0x451ce0{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 _0x3f832c,Command as _0x1cbf3c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3afa1d,IconGooglePhotos as _0x25f90c,IconGoogleDrive as _0x35b20f,IconFacebook as _0xe1844e,IconDropbox as _0xfe20df,IconUploadcareLink as _0x3cdd92,IconUploadcareImageUpload as _0x32913c,IconError as et,IconUploadcareImageEdit as _0x598dbc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5481b9,MenuBarMenuListItemButtonView as _0x9227ba,View as _0x20cea7,FocusCycler as _0x516a18,Dialog as _0x1e0d7e,DialogViewPosition as _0x49163a,SpinnerView as _0x12628c,IconView as at,Notification as _0x55a996}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x138ef7,DomEmitterMixin as _0x376a86,global as _0x508d8c,getAncestors as _0xd4ccb2,ObservableMixin as _0x4014d4,createElement as _0x19b262,uid as _0x48ea72}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3d055f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3e08a9,info as _0x417c81}from'@uploadcare/upload-client';import*as _0x1575d6 from'@uploadcare/file-uploader';var o=function(_0x27420a){return _0x27420a['Local']='local',_0x27420a['URL']='url',_0x27420a['Dropbox']='dropbox',_0x27420a['GDrive']='gdrive',_0x27420a['Facebook']='facebook',_0x27420a['GPhotos']='gphotos',_0x27420a['OneDrive']='onedrive',_0x27420a;}({});function _(_0x5ea7e5,_0x3a8b52,_0x1be1da){const t=_0x5ea7e5['t'],_0x241748=_0x5ea7e5['t'];switch(_0x3a8b52){case o['Local']:return{'text':_0x241748('Insert'===_0x1be1da?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x241748('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x1be1da?_0x241748('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x241748('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x1be1da?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x1be1da?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x1be1da?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x1be1da?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x1be1da?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a8b52;}}class e extends _0x3f832c{['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 _0x4ae565=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41c5a9;for(const _0x2f6ff0 in _0x4ae565){const _0x146e75=_0x2f6ff0,_0x245c91=_0x4ae565[_0x146e75];if('uploadcareLicenseKeyValid'==_0x245c91||'uploadcareLicenseKeyInvalid'==_0x245c91||'uploadcareLicenseKeyExpired'==_0x245c91||'uploadcareLicenseKeyDomainLimit'==_0x245c91||'uploadcareLicenseKeyNotAllowed'==_0x245c91||'uploadcareLicenseKeyEvaluationLimit'==_0x245c91||'uploadcareLicenseKeyTrialLimit'==_0x245c91||'uploadcareLicenseKeyUsageLimit'==_0x245c91){delete _0x4ae565[_0x146e75],_0x41c5a9=_0x245c91,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x41c5a9&&_0x4ae565['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x41c5a9&&_0x4ae565['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x41c5a9&&_0x4ae565['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x41c5a9&&_0x4ae565['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x41c5a9&&_0x4ae565['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x41c5a9&&_0x4ae565['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x41c5a9&&_0x4ae565['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x13f4cd}=this,_0xcab98d=_0x13f4cd['commands']['get']('uploadcare');if(!_0xcab98d)return;const _0x511530=this['_normalizeConfigSourceList'](_0x13f4cd['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x27d046,_0x3d3905)=>{const _0x4705c0=this['_getIntegrationKey'](_0x3d3905['type']);return _0x27d046[_0x4705c0]||(_0x27d046[_0x4705c0]=[]),_0x27d046[_0x4705c0]['push'](_0x3d3905),_0x27d046;},{});_0x13f4cd['plugins']['has']('ImageInsertUI')&&_0x13f4cd['commands']['get']('uploadcare')&&Object['entries'](_0x511530)['forEach'](([_0x10813e,_0x16a924])=>{_0x13f4cd['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x10813e,'observable':()=>_0xcab98d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16a924),'formViewCreator':()=>this['_createDropdownButtons'](_0x16a924),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16a924),'override':'assetManager'!==_0x10813e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5dd7a5){const {locale:_0x496583}=this['editor'];return _0x5dd7a5['map'](_0x3eec4d=>{const _0x356f9a=_(_0x496583,_0x3eec4d,'Insert');switch(_0x3eec4d){case o['Local']:return{'icon':_0x32913c,'type':o['Local'],..._0x356f9a};case o['URL']:return{'icon':_0x3cdd92,'type':o['URL'],..._0x356f9a};case o['Dropbox']:return{'icon':_0xfe20df,'type':o['Dropbox'],..._0x356f9a};case o['Facebook']:return{'icon':_0xe1844e,'type':o['Facebook'],..._0x356f9a};case o['GDrive']:return{'icon':_0x35b20f,'type':o['GDrive'],..._0x356f9a};case o['GPhotos']:return{'icon':_0x25f90c,'type':o['GPhotos'],..._0x356f9a};case o['OneDrive']:return{'icon':_0x3afa1d,'type':o['OneDrive'],..._0x356f9a};}});}['_getIntegrationKey'](_0x243afa){switch(_0x243afa){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1a458b,_0x2dc7b9){const _0x190077=this['editor'],_0x143cb2=new _0x1a458b(_0x190077['locale']),_0x273fd6=_0x190077['commands']['get']('uploadcare');return _0x143cb2['bind']('isEnabled')['to'](_0x273fd6),_0x143cb2['on']('execute',()=>{_0x273fd6['execute'](_0x2dc7b9);}),_0x143cb2;}['_createToolbarButton'](_0x1422b9){const {locale:_0xbb8354}=this['editor'],_0x35c1a7=this['editor']['plugins']['get']('ImageInsertUI'),_0x49638d=_0x1422b9[0x0],_0x1ea159=this['_createButton'](_0x5481b9,_0x49638d['type']);return _0x1ea159['icon']=_0x49638d['icon'],_0x1ea159['bind']('label')['to'](_0x35c1a7,'isImageSelected',_0x578ed5=>_(_0xbb8354,_0x49638d['type'],_0x578ed5?'Replace':'Insert')['text']),_0x1ea159['tooltip']=!0x0,_0x1ea159;}['_createDropdownButtons'](_0x19473a){const {locale:_0x1997db}=this['editor'],_0x305a62=this['editor']['plugins']['get']('ImageInsertUI');return _0x19473a['map'](_0x4bf058=>{const _0x2a4e10=this['_createButton'](_0x5481b9,_0x4bf058['type']);return _0x2a4e10['withText']=!0x0,_0x2a4e10['icon']=_0x4bf058['icon'],_0x2a4e10['bind']('label')['to'](_0x305a62,'isImageSelected',_0x12068f=>_(_0x1997db,_0x4bf058['type'],_0x12068f?'Replace':'Insert')['text']),_0x2a4e10;});}['_createMenuBarButtons'](_0x5bfbc2){return _0x5bfbc2['map'](_0x2da64d=>{const _0x32ff93=this['_createButton'](_0x9227ba,_0x2da64d['type']);return _0x32ff93['icon']=_0x2da64d['icon'],_0x32ff93['label']=_0x2da64d['shortText'],_0x32ff93;});}}class q extends _0x20cea7{['focusTracker'];['focusCycler'];constructor(_0x482357){super(_0x482357),this['focusTracker']=new _0x138ef7(),this['focusCycler']=new _0x516a18({'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(_0x5aa84b){super(_0x5aa84b),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(_0x46ace7,_0x28f1f){const _0x450880=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xd4a708=>_0xd4a708<=_0x28f1f)['map'](_0x4bbf40=>_0x46ace7['replace'](/\/$/,'')+'/-/resize/'+_0x4bbf40+'x/\x20'+_0x4bbf40+'w');return{'imageFallbackUrl':_0x46ace7,'imageSources':[{'srcset':_0x450880['join'](',\x20'),'sizes':'(max-width:\x20'+_0x28f1f+'px)\x20100vw,\x20'+_0x28f1f+'px','type':'image/webp'}]};}function A(_0x8f9765,_0x48a8da,_0x25ae26){const _0x48fda1=_0x8f9765['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48fda1?parseInt(_0x48fda1[0x1],0xa):_0x48a8da,'height':_0x48fda1?parseInt(_0x48fda1[0x2],0xa):_0x25ae26};}function m(_0x3bb5d7,_0x1abddf){const _0x330b2f=Object['create'](_0x376a86),_0x4252bf=_0x3bb5d7['plugins']['get']('ImageUtils'),_0xfac19a=_0x3bb5d7['editing']['mapper']['toViewElement'](_0x1abddf),_0x2c9aaa=_0x4252bf['findViewImgElement'](_0xfac19a),_0x45f0da=_0x3bb5d7['editing']['view']['domConverter']['viewToDom'](_0x2c9aaa),_0x4ae4be=_0x1abddf['getAttribute']('width'),_0x295123=_0x1abddf['getAttribute']('height'),_0x46b3f1='image-processing';_0x3bb5d7['editing']['view']['change'](_0x4e4022=>{_0x4e4022['addClass'](_0x46b3f1,_0xfac19a),_0x4e4022['setStyle']('aspect-ratio',_0x4ae4be+'/'+_0x295123,_0x2c9aaa);}),_0x330b2f['listenTo'](_0x45f0da,'load',()=>{_0x330b2f['stopListening'](_0x45f0da,'load'),_0x3bb5d7['editing']['view']['change'](_0x1b5a61=>{_0x1b5a61['removeClass'](_0x46b3f1,_0xfac19a),_0x1b5a61['removeStyle']('aspect-ratio',_0x2c9aaa);});});}function V(_0x5164ba){if(Array['isArray'](_0x5164ba)){const _0x14e711=_0x5164ba['map'](V);return _0x58fc44=>_0x14e711['some'](_0x379839=>_0x379839(_0x58fc44));}if('origin'==_0x5164ba){const _0x39f587=_0x508d8c['window']['location']['origin'];return _0x2b9f5f=>new URL(_0x2b9f5f,_0x508d8c['document']['baseURI'])['origin']==_0x39f587;}return'function'==typeof _0x5164ba?_0x5164ba:_0x5164ba instanceof RegExp?_0x1e9387=>!(!_0x1e9387['match'](_0x5164ba)&&!_0x1e9387['replace'](/^https?:\/\//,'')['match'](_0x5164ba)):()=>!0x1;}function F(_0x34c89a,_0x55f58a){return _0xd4ccb2(_0x34c89a['target'])['includes'](_0x55f58a);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x4014d4(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2bc40c,_0x4bf409,_0x3db1db){super(),this['_editor']=_0x2bc40c,this['_editing']=_0x4bf409,this['_dialog']=_0x2bc40c['plugins']['get'](_0x1e0d7e),this['_api']=_0x4bf409['ctxElement']['getAPI'](),this['_type']=_0x3db1db,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:_0x4f057d,model:_0x153fdd}=this['_editor'],_0x2357cb=_0x153fdd['document']['selection']['getSelectedElement'](),_0x55f72a=_0x2357cb&&(_0x2357cb['is']('element','imageBlock')||_0x2357cb['is']('element','imageInline'));this['_formView']=new S(_0x4f057d),this['_dialog']['show']({'id':'uploadCare','icon':_0x32913c,'title':_(_0x4f057d,this['_type'],_0x55f72a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x49163a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x269549=>!F(_0x269549,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4f104f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x211a49=>{const _0x222472=_0x4f104f['length'];for(const _0x5e66ac of _0x4f104f){const _0x5e28c0=_0x5e66ac===_0x4f104f[_0x222472-0x1],{cdnUrl:_0x58d8de,fileInfo:_0x209fe0}=_0x5e66ac;if(!_0x58d8de||!_0x209fe0)continue;const {width:_0x2afc88,height:_0x4e433e}=_0x209fe0['imageInfo'],_0x2828bd=A(_0x58d8de,_0x2afc88,_0x4e433e),_0x3ae4ee=E(_0x58d8de,_0x2828bd['width']),_0x55d632={'id':_0x209fe0['uuid'],'type':'image','attributes':{'imageDimension':_0x2828bd,..._0x3ae4ee}};this['_insertAsset'](_0x55d632,_0x5e28c0,_0x211a49);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x38a689=>{'idle'===_0x38a689['detail']['status']&&!_0x38a689['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1172f6,_0x1503e6,_0x946a04){const _0x2e251e=this['_editor']['model']['document']['selection'],_0x44b999=_0x2e251e['getSelectedElement'](),_0x508ee5=!(!_0x44b999||!_0x44b999['is']('element','imageInline'));_0x946a04['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1172f6,_0x508ee5),_0x1503e6||_0x946a04['setSelection'](_0x2e251e['getLastPosition']());}['_insertImage'](_0x1d61ac,_0x3e0e61){const _0xaf64dc=this['_editor'],{imageDimension:_0x52d85d,imageFallbackUrl:_0x313a09,imageSources:_0x32bb6b}=_0x1d61ac['attributes'];_0xaf64dc['execute']('insertImage',{'imageType':_0x3e0e61?'imageInline':null,'source':{'uploadcareImageId':_0x1d61ac['id'],'src':_0x313a09,'sources':_0x32bb6b,..._0x52d85d}});}}class n extends _0x1cbf3c{['_editing'];['_controller']=null;static get['requires'](){return[_0x1e0d7e,i];}constructor(_0x3bcb98){super(_0x3bcb98),this['_editing']=_0x3bcb98['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x573dd5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x573dd5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2fa67a,publicKey:_0x356e27,signal:_0x22e737,onProgress:_0x4b71fc}){return _0x3e08a9(_0x2fa67a,{'publicKey':_0x356e27,'store':'auto','signal':_0x22e737,'onProgress':_0x4b71fc});}static['getInfo'](_0x53fba1,_0x23743f){return _0x417c81(_0x53fba1,_0x23743f);}}class p extends _0x3f832c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d055f,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x34d37a=this['editor'];if(!!!_0x34d37a['config']['get']('uploadcare'))return;_0x34d37a['plugins']['get'](_0x3d055f)['createUploadAdapter']=_0x1ad073=>new x(_0x1ad073,_0x34d37a),_0x34d37a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x111f66,{imageElement:_0x458a8c,data:_0x14fae3})=>{_0x34d37a['model']['change'](_0x4ba87a=>{_0x4ba87a['setAttribute']('uploadcareImageId',_0x14fae3['uploadcareImageId'],_0x458a8c);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4d28da,_0x14c497){this['loader']=_0x4d28da,this['editor']=_0x14c497,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5b6815=this['editor']['config']['get']('uploadcare.pubkey'),_0x5cdac1=await this['loader']['file'];return C['upload']({'file':_0x5cdac1,'publicKey':_0x5b6815,'signal':this['controller']['signal'],'onProgress':_0x1952c5=>{_0x1952c5&&_0x1952c5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1952c5['value']);}})['then'](async _0x2ef744=>{const {imageFallbackUrl:_0x4981bd,imageSources:_0x1a8f55}=E(_0x2ef744['cdnUrl'],_0x2ef744['imageInfo']['width']);return{'uploadcareImageId':_0x2ef744['uuid'],'default':_0x4981bd,'sources':_0x1a8f55};})['catch'](()=>{const _0x9ef1ac=t('Cannot\x20upload\x20file:')+('\x20'+_0x5cdac1['name']+'.');return Promise['reject'](_0x9ef1ac);});}['abort'](){this['controller']['abort']();}}class i extends _0x3f832c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1e0d7e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x3ac08c=this['editor'];_0x3ac08c['commands']['add']('uploadcare',new n(_0x3ac08c));}['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 _0x2fbdbf=_0x508d8c['document']['querySelector']('input[uploadcare-file-input]');_0x2fbdbf&&_0x2fbdbf['remove']();}),async function(_0x4a061e){const _0xcf43d3=_0x1f504d([0x52,0x39,0x48,0x42,0x57,0x4c,0x5a,0x6c,0x44,0x62,0x53,0x71,0x6a,0x68,0x78,0x59,0x61,0x33,0x38,0x7a,0x67,0x65,0x63,0x37,0x73,0x32,0x41,0x70,0x56,0x49,0x64,0x66,0x6d,0x4e,0x54,0x31,0x76,0x69,0x74,0x4f,0x43,0x72,0x6b,0x6f,0x4a,0x34,0x4b,0x77,0x58,0x51,0x46,0x35,0x6e,0x36,0x75,0x4d,0x79,0x45,0x47,0x50,0x30,0x55]),_0x267d25=0x516c9fbc,_0x30153d=0x516bfc24^_0x267d25,_0x1020d2=window[_0x1f504d([0x44,0x61,0x74,0x65])][_0x1f504d([0x6e,0x6f,0x77])](),_0x2985cf=_0x4a061e[_0x1f504d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x307aae=new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a86ae=>{_0x2985cf[_0x1f504d([0x6f,0x6e,0x63,0x65])](_0x1f504d([0x72,0x65,0x61,0x64,0x79]),_0x2a86ae);}),_0x577023={[_0x1f504d([0x6b,0x74,0x79])]:_0x1f504d([0x45,0x43]),[_0x1f504d([0x75,0x73,0x65])]:_0x1f504d([0x73,0x69,0x67]),[_0x1f504d([0x63,0x72,0x76])]:_0x1f504d([0x50,0x2d,0x32,0x35,0x36]),[_0x1f504d([0x78])]:_0x1f504d([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]),[_0x1f504d([0x79])]:_0x1f504d([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]),[_0x1f504d([0x61,0x6c,0x67])]:_0x1f504d([0x45,0x53,0x32,0x35,0x36])},_0x38b94b=_0x2985cf[_0x1f504d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f504d([0x67,0x65,0x74])](_0x1f504d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x64b07d(){let _0x6286ba,_0xeccdcb=null,_0x5039ef=null;try{if(_0x38b94b==_0x1f504d([0x47,0x50,0x4c]))return _0x1f504d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6286ba=_0x379bfe(),!_0x6286ba)return _0x1f504d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6286ba[_0x1f504d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5039ef=_0x1a5b5c(_0x6286ba[_0x1f504d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6286ba[_0x1f504d([0x6a,0x74,0x69])])),await _0x487240()?_0x596953()?_0x5d44eb()?_0x1f504d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4894a7()?(_0x6286ba[_0x1f504d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f504d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xeccdcb=_0x5f3a31(_0x1f504d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6286ba[_0x1f504d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f504d([0x74,0x72,0x69,0x61,0x6c])&&(_0xeccdcb=_0x5f3a31(_0x1f504d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x149dca()):_0x1f504d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f504d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f504d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4be0a0){return _0x1f504d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d44eb(){const _0x598a3c=[_0x1f504d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f504d([0x74,0x72,0x69,0x61,0x6c])][_0x1f504d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6286ba[_0x1f504d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1020d2/0x3e8:0xe10*_0x30153d;return _0x6286ba[_0x1f504d([0x65,0x78,0x70])]<_0x598a3c;}function _0x596953(){const _0x130be0=_0x6286ba[_0x1f504d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x130be0&&(!!_0x130be0[_0x1f504d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f504d([0x2a]))||!!_0x130be0[_0x1f504d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f504d([0x55,0x50,0x4c,0x43])));}function _0x4894a7(){const _0x403cb2=_0x6286ba[_0x1f504d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x403cb2||0x0==_0x403cb2[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bbbc3}=new URL(window[_0x1f504d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x403cb2[_0x1f504d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bbbc3))return!0x0;const _0x237710=_0x5bbbc3[_0x1f504d([0x73,0x70,0x6c,0x69,0x74])](_0x1f504d([0x2e]));return _0x403cb2[_0x1f504d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41ad25=>_0x41ad25[_0x1f504d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f504d([0x2a])))[_0x1f504d([0x6d,0x61,0x70])](_0x434c2c=>_0x434c2c[_0x1f504d([0x73,0x70,0x6c,0x69,0x74])](_0x1f504d([0x2e])))[_0x1f504d([0x73,0x6f,0x6d,0x65])](_0x31ec22=>_0x237710[_0x1f504d([0x65,0x76,0x65,0x72,0x79])]((_0x3477ea,_0x56d1b2)=>_0x31ec22[_0x56d1b2]===_0x3477ea||_0x31ec22[_0x56d1b2]===_0x1f504d([0x2a])));}function _0x149dca(){return _0xeccdcb&&_0x5039ef?new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x537158,_0x1199ad)=>{_0xeccdcb[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x537158,_0x1199ad),_0x5039ef[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x24f9cf=>{_0x24f9cf!=_0x1f504d([0x56,0x61,0x6c,0x69,0x64])&&_0x537158(_0x24f9cf);},_0x1199ad);}):_0xeccdcb||_0x5039ef||_0x1f504d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a5b5c(_0x3b2a67,_0x2091dd){return new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3029d7=>{if(_0x308849())return _0x3029d7(_0x1f504d([0x56,0x61,0x6c,0x69,0x64]));_0x2696d9(),_0x2985cf[_0x1f504d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f504d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b2f1e=!0x1;const _0x1dc402=_0x48ea72();function _0x1295cd(_0xecf373){return!!_0xecf373&&(typeof _0xecf373===_0x1f504d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xecf373===_0x1f504d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xecf373[_0x1f504d([0x74,0x68,0x65,0x6e])]===_0x1f504d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xecf373[_0x1f504d([0x63,0x61,0x74,0x63,0x68])]===_0x1f504d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x126828(_0x3bde35){_0x4eaf4c(_0x3bde35)[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x4ea2cc=>{if(!_0x4ea2cc||_0x4ea2cc[_0x1f504d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f504d([0x6f,0x6b]))return _0x1f504d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x250d41(_0x1d61f3(_0x1dc402+_0x2091dd))!=_0x4ea2cc[_0x1f504d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f504d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f504d([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x92430d=>(_0x257210(),_0x92430d),()=>{const _0x3cadf4=_0x1adfb2();return null==_0x3cadf4?(_0x257210(),_0x1f504d([0x56,0x61,0x6c,0x69,0x64])):_0x1f504d(_0x1020d2-_0x3cadf4>(0x75601bbc^_0x267d25)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x3029d7)[_0x1f504d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3029d7(_0x1f504d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x472fe3=0x515a713c^_0x267d25;function _0x257210(){const _0x404d70=_0x1f504d([0x6c,0x6c,0x63,0x74,0x2d])+_0x250d41(_0x1d61f3(_0x3b2a67)),_0x5b69ea=_0x4cd1c9(_0x250d41(window[_0x1f504d([0x4d,0x61,0x74,0x68])][_0x1f504d([0x63,0x65,0x69,0x6c])](_0x1020d2/_0x472fe3)));window[_0x1f504d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f504d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x404d70,_0x5b69ea);}function _0x1adfb2(){const _0x5b5e3a=_0x1f504d([0x6c,0x6c,0x63,0x74,0x2d])+_0x250d41(_0x1d61f3(_0x3b2a67)),_0x19d0c7=window[_0x1f504d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f504d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b5e3a);return _0x19d0c7?window[_0x1f504d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cd1c9(_0x19d0c7),0x10)*_0x472fe3:null;}function _0x4eaf4c(_0x51004e){return new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50886e,_0x47cac9)=>{_0x51004e[_0x1f504d([0x74,0x68,0x65,0x6e])](_0x50886e,_0x47cac9),window[_0x1f504d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47cac9,0x516d4b7c^_0x267d25);});}}_0x2985cf[_0x1f504d([0x6f,0x6e])](_0x1f504d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52038d,_0x15d065)=>{if(_0x15d065[0x0]!=_0x3b2a67)return _0x3029d7(_0x1f504d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15d065[0x1]={..._0x15d065[0x1],[_0x1f504d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1dc402};},{[_0x1f504d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f504d([0x68,0x69,0x67,0x68])}),_0x2985cf[_0x1f504d([0x6f,0x6e])](_0x1f504d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c4986=>{_0x1295cd(_0x5c4986[_0x1f504d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b2f1e=!0x0,_0x126828(_0x5c4986[_0x1f504d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f504d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f504d([0x6c,0x6f,0x77])}),_0x307aae[_0x1f504d([0x74,0x68,0x65,0x6e])](()=>{_0x5b2f1e||_0x3029d7(_0x1f504d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x308849(){return _0x2985cf[_0x1f504d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f504d([0x76,0x69,0x65,0x77])][_0x1f504d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f504d([0x61,0x75,0x74,0x6f]);}function _0x2696d9(){_0x2985cf[_0x1f504d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f504d([0x76,0x69,0x65,0x77])][_0x1f504d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f504d([0x61,0x75,0x74,0x6f]);}}function _0x5f3a31(_0x340867){const _0x5bfd2b=[new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cdd47=>setTimeout(_0x4cdd47,0x5165a170^_0x267d25)),_0x307aae[_0x1f504d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x489733=>{let _0x4e7d1a=0x0;_0x2985cf[_0x1f504d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f504d([0x6f,0x6e])](_0x1f504d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41c334,_0x196183)=>{_0x196183[0x0][_0x1f504d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e7d1a++,_0x4e7d1a==(0x516c9e44^_0x267d25)&&(_0x489733(),_0x41c334[_0x1f504d([0x6f,0x66,0x66])]());});}))];return window[_0x1f504d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f504d([0x72,0x61,0x63,0x65])](_0x5bfd2b)[_0x1f504d([0x74,0x68,0x65,0x6e])](()=>_0x340867);}async function _0x20951d(){await _0x307aae,_0x2985cf[_0x1f504d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f504d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c7398,_0x2985cf[_0x1f504d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f504d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c7398,_0x2985cf[_0x1f504d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f504d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4928c2(_0xd900b0){const _0x1b5aef=_0x158d9b();_0x2985cf[_0x1b5aef]=_0x1f504d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd900b0,_0xd900b0!=_0x1f504d([0x56,0x61,0x6c,0x69,0x64])&&_0x20951d();}function _0x158d9b(){const _0x3f06ac=window[_0x1f504d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f504d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f504d([0x6e,0x6f,0x77])]())[_0x1f504d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f504d([0x2e]),'');let _0x148d53=_0x1f504d([0x52]);for(let _0x5a0561=0x0;_0x5a0561<_0x3f06ac[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0561+=0x2){let _0x569a50=window[_0x1f504d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f06ac[_0x1f504d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a0561,_0x5a0561+0x2));_0x569a50>=_0xcf43d3[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x569a50-=_0xcf43d3[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x148d53+=_0xcf43d3[_0x569a50];}return _0x148d53;}function _0x379bfe(){const _0xc0d97c=_0x38b94b[_0x1f504d([0x73,0x70,0x6c,0x69,0x74])](_0x1f504d([0x2e]));if(0x3!=_0xc0d97c[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bb0af(_0xc0d97c[0x1]);function _0x4bb0af(_0x38c8fb){const _0x18e701=_0x4c86ba(_0x38c8fb);return _0x18e701&&_0x3d9082()?_0x18e701:null;function _0x3d9082(){const _0x3ced5c=_0x18e701[_0x1f504d([0x6a,0x74,0x69])],_0x3fdee3=window[_0x1f504d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ced5c[_0x1f504d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ced5c[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fa1ac={..._0x18e701,[_0x1f504d([0x6a,0x74,0x69])]:_0x3ced5c[_0x1f504d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ced5c[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fa1ac[_0x1f504d([0x76,0x63])],_0x1d61f3(_0x3fa1ac)==_0x3fdee3;}}}async function _0x487240(){let _0x3055eb=!0x0;try{const _0x1a4b33=_0x38b94b[_0x1f504d([0x73,0x70,0x6c,0x69,0x74])](_0x1f504d([0x2e])),[_0x5a379f,_0x17cab3,_0x1128eb]=_0x1a4b33;return _0x280303(_0x5a379f),await _0x3b3148(_0x5a379f,_0x17cab3,_0x1128eb),_0x3055eb;}catch(_0x199b02){return!0x1;}function _0x280303(_0x4ff3df){const _0xc4fe52=_0x4c86ba(_0x4ff3df);_0xc4fe52&&_0xc4fe52[_0x1f504d([0x61,0x6c,0x67])]==_0x1f504d([0x45,0x53,0x32,0x35,0x36])||(_0x3055eb=!0x1);}async function _0x3b3148(_0x36a686,_0x318ada,_0x494e38){const _0x5a3aac=window[_0x1f504d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f504d([0x66,0x72,0x6f,0x6d])](_0x5e7c39(_0x494e38),_0x1022a2=>_0x1022a2[_0x1f504d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9ce764=new window[(_0x1f504d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f504d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36a686+_0x1f504d([0x2e])+_0x318ada),_0xfc5305=window[_0x1f504d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f504d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfc5305)return;const _0x3700c3=await _0xfc5305[_0x1f504d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f504d([0x6a,0x77,0x6b]),_0x577023,{[_0x1f504d([0x6e,0x61,0x6d,0x65])]:_0x1f504d([0x45,0x43,0x44,0x53,0x41]),[_0x1f504d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f504d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f504d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfc5305[_0x1f504d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f504d([0x6e,0x61,0x6d,0x65])]:_0x1f504d([0x45,0x43,0x44,0x53,0x41]),[_0x1f504d([0x68,0x61,0x73,0x68])]:{[_0x1f504d([0x6e,0x61,0x6d,0x65])]:_0x1f504d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3700c3,_0x5a3aac,_0x9ce764)||(_0x3055eb=!0x1);}}function _0x4c86ba(_0x284fb2){return _0x284fb2[_0x1f504d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f504d([0x65,0x79]))?JSON[_0x1f504d([0x70,0x61,0x72,0x73,0x65])](_0x5e7c39(_0x284fb2)):null;}function _0x5e7c39(_0x2a3129){return window[_0x1f504d([0x61,0x74,0x6f,0x62])](_0x2a3129[_0x1f504d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f504d([0x2b]))[_0x1f504d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f504d([0x2f])));}function _0x1d61f3(_0x34db9e){let _0x36785a=0x1505;function _0x237a0e(_0x2eb4f8){for(let _0x2298b6=0x0;_0x2298b6<_0x2eb4f8[_0x1f504d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2298b6++){const _0x1b1646=_0x2eb4f8[_0x1f504d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2298b6);_0x36785a=(_0x36785a<<0x5)+_0x36785a+_0x1b1646,_0x36785a&=_0x36785a;}}function _0x3e81a7(_0x1761b8){Array[_0x1f504d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1761b8)?_0x1761b8[_0x1f504d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e81a7):_0x1761b8&&typeof _0x1761b8==_0x1f504d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f504d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1761b8)[_0x1f504d([0x73,0x6f,0x72,0x74])]()[_0x1f504d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19deb0,_0x295ac0])=>{_0x237a0e(_0x19deb0),_0x3e81a7(_0x295ac0);}):_0x237a0e(window[_0x1f504d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1761b8));}return _0x3e81a7(_0x34db9e),_0x36785a>>>0x0;}function _0x250d41(_0xe669db){return _0xe669db[_0x1f504d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f504d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f504d([0x30]));}function _0x4cd1c9(_0x1ae255){return _0x1ae255[_0x1f504d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f504d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f504d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c7398(){}function _0x1f504d(_0xe3f1ed){return _0xe3f1ed['map'](_0x190844=>String['fromCharCode'](_0x190844))['join']('');}_0x4928c2(await _0x64b07d());}(this);}['_initSchema'](){const _0x1aff39=this['editor']['model']['schema'];_0x1aff39['isRegistered']('imageBlock')&&_0x1aff39['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1aff39['isRegistered']('imageInline')&&_0x1aff39['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5c24da=this['editor'];_0x5c24da['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5c24da['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x53a905=>_0x53a905['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x22717d=_0x5c24da['commands']['get']('replaceImageSource');_0x22717d&&this['listenTo'](_0x22717d,'cleanupImage',(_0x5a69b0,[_0x3672ca,_0x2a4d23])=>{_0x3672ca['removeAttribute']('uploadcareImageId',_0x2a4d23);});}['_initConfig'](){const _0x20ee74=this['editor']['config']['get']('uploadcare.uploader')||{},_0x52ef93=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x19b262(_0x508d8c['document'],'uc-config',{..._0x20ee74,'pubkey':_0x52ef93,'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']=_0x217f1e=>{if('closeMax'==_0x217f1e)return'#uc-icon-arrow-down';},_0x508d8c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x19b262(_0x508d8c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x508d8c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa58e05=this['editor']['commands']['get']('insertImage');_0xa58e05&&this['listenTo'](_0xa58e05,'execute',()=>{const _0x32c094=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32c094&&_0x32c094['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x32c094);});});const _0x27853a=this['editor']['commands']['get']('uploadcareImageReplace');_0x27853a&&this['listenTo'](_0x27853a,'execute',()=>{const _0x5ae4b2=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ae4b2&&_0x5ae4b2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5ae4b2);});});}}class u extends _0x3f832c{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1927fa){super(_0x1927fa),_0x1927fa['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1575d6['defineComponents'](_0x1575d6);}}class ta extends _0x20cea7{constructor(_0x45b10a){super(_0x45b10a);const t=_0x45b10a['t'],_0x29aa28=this['bindTemplate'],_0x326749=new _0x12628c();_0x326749['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':[_0x326749,{'text':_0x29aa28['to']('imageUploadProgress',_0x4ed8ee=>t('Loading\x20image...')+'\x20('+(_0x4ed8ee||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 _0x20cea7{constructor(_0x17097d){super(_0x17097d);const t=_0x17097d['t'];this['set']('errorType',null);const _0x137a4b=new _0x5481b9(_0x17097d);_0x137a4b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x137a4b['withText']=!0x0,_0x137a4b['class']='ck-button-action',_0x137a4b['on']('execute',()=>{this['fire']('retry');}),_0x137a4b['bind']('isVisible')['to'](this,'errorType',_0xcf4b40=>'NotFound'!==_0xcf4b40);const _0x1e2c20=new at();_0x1e2c20['content']=et,_0x1e2c20['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d2005=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':[_0x1e2c20,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d2005['to']('errorType',_0x5c11cf=>t('NotFound'!==_0x5c11cf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x137a4b]},{'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 _0x20cea7{constructor(_0x19633e,_0x30b037){super(_0x19633e);const _0x3a323d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x30b037,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3a323d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x606bc,_0x458865,_0x4220d4){super(_0x606bc),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x606bc),this['_errorView']=new rt(_0x606bc),this['_editingView']=new tt(_0x606bc,_0x4220d4),this['_focusableView']=new _0x20cea7(_0x606bc),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x458865),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'],_0x12fdac=>{this['_addUploadcareImageEditorListeners'](_0x12fdac);});}),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'](_0x2affdb,_0x19dd86){const _0x1aa7e8='uc-cloud-image-editor',_0x28c273=_0x2affdb['querySelector'](_0x1aa7e8);if(_0x28c273)return _0x19dd86(_0x28c273);const _0x1880ae=new MutationObserver(_0x4d05f2=>{const _0x2c8586=_0x4d05f2['filter'](_0x493104=>_0x493104['target']===_0x2affdb&&_0x493104['addedNodes']['length']>0x0&&_0x493104['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1aa7e8);_0x2c8586['length']&&(_0x1880ae['disconnect'](),_0x19dd86(_0x2c8586[0x0]['addedNodes'][0x0]));});_0x1880ae['observe'](_0x2affdb,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x376836){_0x376836['addEventListener']('apply',_0x14c2b7=>{this['fire']('apply',{'imageSrc':_0x14c2b7['detail']['cdnUrl']});}),_0x376836['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x4014d4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c3675,_0xdd8e1,_0x47c09f){super(),this['_editor']=_0x4c3675,this['_dialog']=_0xdd8e1,this['_imageElement']=_0x47c09f,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 _0x4c5c43=this['_imageElement'],_0x4d58bf=_0x4c5c43['getAttribute']('uploadcareImageId'),_0x373ab1=_0x4c5c43['getAttribute']('src');if(_0x4d58bf)await this['_loadImageInfo'](_0x4d58bf,_0x373ab1);else{if(this['_imageCache']['has'](_0x373ab1)){const _0xe7ae3d=this['_imageCache']['get'](_0x373ab1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe7ae3d['url'],this['imageDimension']=_0xe7ae3d['dimension'],this['imageId']=_0xe7ae3d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x567c1e}=this['_editor'],t=_0x567c1e['t'],_0x559071=new Z(_0x567c1e,this['imageStatus'],this['_attributes']);_0x559071['bind']('status')['to'](this,'imageStatus'),_0x559071['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x559071['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x559071['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x559071,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x598dbc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x559071,'position':_0x49163a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x559071['focus']();},'onHide':()=>{_0x559071['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3cb29e=>!F(_0x3cb29e,_0x559071['element'])}});}['_loadImageInfo'](_0x2b76fa,_0x6e2923){return C['getInfo'](_0x2b76fa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5954b=>{const {width:_0x124b33,height:_0x535a5b}=_0x5954b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6e2923,this['imageDimension']={'width':_0x124b33,'height':_0x535a5b},this['imageId']=_0x2b76fa;})['catch'](_0x190c8b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x190c8b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e71d8,_0x2277d6){return this['_getImageAsFile'](_0x4e71d8)['then'](_0x24a2eb=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2277d6['signal'],'file':_0x24a2eb,'onProgress':_0x4596db=>{_0x4596db&&_0x4596db['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4596db['value']));}}))['then'](_0x13d5ee=>{const {width:_0x236967,height:_0x1c7c57}=_0x13d5ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13d5ee['cdnUrl'],this['imageDimension']={'width':_0x236967,'height':_0x1c7c57},this['imageId']=_0x13d5ee['uuid'],this['imageUploadProgress']=null;const _0x14819d=_0x4e71d8['getAttribute']('src');this['_imageCache']['set'](_0x14819d,{'id':_0x13d5ee['uuid'],'url':_0x13d5ee['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1cc5e5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1cc5e5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x368e8f,_0x1dfa1f){_0x368e8f['on']('apply',(_0x5c232a,_0x2e37bb)=>{this['_replaceImage'](_0x1dfa1f,_0x2e37bb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x368e8f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x368e8f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2c8d48,_0x5aee00,_0x163606){const _0x3f732a=this['_editor'],{width:_0x583b53,height:_0x3bf2d7}=A(_0x5aee00,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f4cbd,imageSources:_0x4e8b27}=E(_0x5aee00,_0x583b53);_0x3f732a['model']['change'](_0x2c8cfc=>{if('$graveyard'===_0x2c8d48['root']['rootName']){_0x3f732a['execute']('insertImage',{'imageType':_0x2c8d48['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2c8d48['getAttributes']()),'uploadcareImageId':_0x163606,'src':_0x2f4cbd,'sources':_0x4e8b27,'width':_0x583b53,'height':_0x3bf2d7}});const _0xb75a4d=_0x2c8d48['getChildren']();_0x2c8d48=_0x3f732a['model']['document']['selection']['getSelectedElement']();for(const _0x5c35d1 of _0xb75a4d)_0x2c8cfc['append'](_0x2c8cfc['cloneElement'](_0x5c35d1),_0x2c8d48);}else _0x2c8cfc['setSelection'](_0x2c8d48,'on'),_0x3f732a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2c8d48['getAttributes']()),'uploadcareImageId':_0x163606,'src':_0x2f4cbd,'sources':_0x4e8b27,'width':_0x583b53,'height':_0x3bf2d7},_0x2c8d48);_0x2c8cfc['setSelection'](_0x2c8d48,'on');});}async['_getImageAsFile'](_0xa7e117){const _0x2700a4=_0x508d8c['window'],_0x2aaf25=_0x508d8c['document']['location']['href'],_0x3060f5=new _0x2700a4['URL'](_0xa7e117['getAttribute']('src'),_0x2aaf25);if('data:'===_0x3060f5['protocol']){const _0x496c4c=_0x3060f5['href']['split'](','),_0x241464=_0x496c4c[0x0]['match'](/:(.*?);/)[0x1],_0xa04ec7=_0x241464['split']('/')[0x1],_0x91ec4f=_0x2700a4['atob'](_0x496c4c[_0x496c4c['length']-0x1]);let _0x14581f=_0x91ec4f['length'];const _0x4458a3=new _0x2700a4['Uint8Array'](_0x14581f);for(;_0x14581f--;)_0x4458a3[_0x14581f]=_0x91ec4f['charCodeAt'](_0x14581f);return new _0x2700a4['File']([_0x4458a3],'image.'+_0xa04ec7,{'type':_0x241464});}const _0xe31843=_0x3060f5['href']['split']('/'),_0x55ff02=_0xe31843[_0xe31843['length']-0x1],_0x1e73d6=_0x55ff02['split']('.')[0x1];return _0x2700a4['fetch'](_0x3060f5['href'])['then'](_0x255f08=>_0x255f08['clone']()['blob']())['then'](_0x51c5a7=>new _0x2700a4['File']([_0x51c5a7],_0x55ff02,{'type':'image/'+_0x1e73d6}));}}class J extends _0x1cbf3c{['imageEditController'];static get['requires'](){return[_0x1e0d7e];}['_isEditable'];constructor(_0x57ff39){super(_0x57ff39),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x388af9){const _0x3d2f2d=V(_0x388af9);return _0x4ee524=>!(!_0x4ee524||!_0x4ee524['is']('element','imageBlock')&&!_0x4ee524['is']('element','imageInline'))&&(!!_0x4ee524['hasAttribute']('uploadcareImageId')||!!_0x4ee524['hasAttribute']('src')&&_0x3d2f2d(_0x4ee524['getAttribute']('src')));}(_0x57ff39['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1895e2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1895e2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1799ce=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1799ce&&(_0x1799ce['is']('element','imageBlock')||_0x1799ce['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1e0d7e),_0x1799ce),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1cbf3c{['refresh'](){const _0x11956f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x11956f&&(_0x11956f['is']('element','imageBlock')||_0x11956f['is']('element','imageInline')));}['execute'](_0x3c1b59){const _0xe8077a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3e1bce=>{_0x3e1bce['setAttributes'](_0x3c1b59,_0xe8077a),_0x3e1bce['removeAttribute']('srcset',_0xe8077a),_0x3e1bce['removeAttribute']('sizes',_0xe8077a);});}}class g extends _0x3f832c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x55a996,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcf7db2}=this;_0xcf7db2['commands']['add']('uploadcareImageEdit',new J(_0xcf7db2)),_0xcf7db2['commands']['add']('uploadcareImageReplace',new O(_0xcf7db2));}}class j extends _0x3f832c{['_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 _0x47952f=this['editor'];_0x47952f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1394d2=>{const _0x30bc19=_0x47952f['commands']['get']('uploadcareImageEdit'),_0x5351ad=new _0x5481b9(_0x1394d2),t=_0x1394d2['t'];return _0x5351ad['set']({'icon':_0x598dbc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5351ad['bind']('isEnabled')['to'](_0x30bc19),_0x5351ad['bind']('isOn')['to'](_0x30bc19,'isActive'),this['listenTo'](_0x5351ad,'execute',()=>{_0x47952f['execute']('uploadcareImageEdit'),_0x47952f['editing']['view']['focus']();}),_0x5351ad;}),this['_initConfig']();}['_initConfig'](){const _0x516fd2=_0x19b262(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x516fd2),this['listenTo'](this['editor'],'destroy',()=>{_0x516fd2['remove']();});}}class P extends _0x3f832c{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':_0x21703b=>0x1!=_0x21703b}};
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':_0x75ed32=>0x1!=_0x75ed32}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f006f=>{const {af:{dictionary:_0x3106dd,getPluralForm:_0x58efd9}}={'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':_0x3d1b2a=>0x1!=_0x3d1b2a}};_0x3f006f['af']||={'dictionary':{},'getPluralForm':null},_0x3f006f['af']['dictionary']=Object['assign'](_0x3f006f['af']['dictionary'],_0x3106dd),_0x3f006f['af']['getPluralForm']=_0x58efd9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17ad05=>{const {af:{dictionary:_0x14d236,getPluralForm:_0x1404cb}}={'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':_0x47b276=>0x1!=_0x47b276}};_0x17ad05['af']||={'dictionary':{},'getPluralForm':null},_0x17ad05['af']['dictionary']=Object['assign'](_0x17ad05['af']['dictionary'],_0x14d236),_0x17ad05['af']['getPluralForm']=_0x1404cb;})(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':_0x1c0eed=>0x0==_0x1c0eed?0x0:0x1==_0x1c0eed?0x1:0x2==_0x1c0eed?0x2:_0x1c0eed%0x64>=0x3&&_0x1c0eed%0x64<=0xa?0x3:_0x1c0eed%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':_0x360f23=>0x0==_0x360f23?0x0:0x1==_0x360f23?0x1:0x2==_0x360f23?0x2:_0x360f23%0x64>=0x3&&_0x360f23%0x64<=0xa?0x3:_0x360f23%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c6d85=>{const {ar:{dictionary:_0x5e27aa,getPluralForm:_0x38074b}}={'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':_0x914e46=>0x0==_0x914e46?0x0:0x1==_0x914e46?0x1:0x2==_0x914e46?0x2:_0x914e46%0x64>=0x3&&_0x914e46%0x64<=0xa?0x3:_0x914e46%0x64>=0xb?0x4:0x5}};_0x4c6d85['ar']||={'dictionary':{},'getPluralForm':null},_0x4c6d85['ar']['dictionary']=Object['assign'](_0x4c6d85['ar']['dictionary'],_0x5e27aa),_0x4c6d85['ar']['getPluralForm']=_0x38074b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x13b71e=>{const {ar:{dictionary:_0x9a75a4,getPluralForm:_0x37bf48}}={'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':_0x34974d=>0x0==_0x34974d?0x0:0x1==_0x34974d?0x1:0x2==_0x34974d?0x2:_0x34974d%0x64>=0x3&&_0x34974d%0x64<=0xa?0x3:_0x34974d%0x64>=0xb?0x4:0x5}};_0x13b71e['ar']||={'dictionary':{},'getPluralForm':null},_0x13b71e['ar']['dictionary']=Object['assign'](_0x13b71e['ar']['dictionary'],_0x9a75a4),_0x13b71e['ar']['getPluralForm']=_0x37bf48;})(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':_0x39e19e=>0x1!=_0x39e19e}};
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':_0x52d76e=>0x1!=_0x52d76e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fb356=>{const {ast:{dictionary:_0x27cd8c,getPluralForm:_0x22cda1}}={'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':_0x21052e=>0x1!=_0x21052e}};_0x3fb356['ast']||={'dictionary':{},'getPluralForm':null},_0x3fb356['ast']['dictionary']=Object['assign'](_0x3fb356['ast']['dictionary'],_0x27cd8c),_0x3fb356['ast']['getPluralForm']=_0x22cda1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b6d07=>{const {ast:{dictionary:_0x5ed7c0,getPluralForm:_0x11bf57}}={'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':_0x362c74=>0x1!=_0x362c74}};_0x3b6d07['ast']||={'dictionary':{},'getPluralForm':null},_0x3b6d07['ast']['dictionary']=Object['assign'](_0x3b6d07['ast']['dictionary'],_0x5ed7c0),_0x3b6d07['ast']['getPluralForm']=_0x11bf57;})(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':_0x29c767=>0x1!=_0x29c767}};
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':_0x2ffddb=>0x1!=_0x2ffddb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45d9eb=>{const {az:{dictionary:_0x50636a,getPluralForm:_0x5b1bea}}={'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':_0x8abfba=>0x1!=_0x8abfba}};_0x45d9eb['az']||={'dictionary':{},'getPluralForm':null},_0x45d9eb['az']['dictionary']=Object['assign'](_0x45d9eb['az']['dictionary'],_0x50636a),_0x45d9eb['az']['getPluralForm']=_0x5b1bea;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f12cd=>{const {az:{dictionary:_0x4328f4,getPluralForm:_0x1d9fc8}}={'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':_0x13b2af=>0x1!=_0x13b2af}};_0x2f12cd['az']||={'dictionary':{},'getPluralForm':null},_0x2f12cd['az']['dictionary']=Object['assign'](_0x2f12cd['az']['dictionary'],_0x4328f4),_0x2f12cd['az']['getPluralForm']=_0x1d9fc8;})(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':_0x9e23e7=>_0x9e23e7%0xa==0x1&&_0x9e23e7%0x64!=0xb?0x0:_0x9e23e7%0xa>=0x2&&_0x9e23e7%0xa<=0x4&&(_0x9e23e7%0x64<0xa||_0x9e23e7%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':_0x49ef66=>_0x49ef66%0xa==0x1&&_0x49ef66%0x64!=0xb?0x0:_0x49ef66%0xa>=0x2&&_0x49ef66%0xa<=0x4&&(_0x49ef66%0x64<0xa||_0x49ef66%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x538921=>{const {be:{dictionary:_0x40743f,getPluralForm:_0x19e81c}}={'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':_0x1c369b=>_0x1c369b%0xa==0x1&&_0x1c369b%0x64!=0xb?0x0:_0x1c369b%0xa>=0x2&&_0x1c369b%0xa<=0x4&&(_0x1c369b%0x64<0xa||_0x1c369b%0x64>=0x14)?0x1:0x2}};_0x538921['be']||={'dictionary':{},'getPluralForm':null},_0x538921['be']['dictionary']=Object['assign'](_0x538921['be']['dictionary'],_0x40743f),_0x538921['be']['getPluralForm']=_0x19e81c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x35e708=>{const {be:{dictionary:_0x3ef14f,getPluralForm:_0x43e062}}={'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':_0x1295ea=>_0x1295ea%0xa==0x1&&_0x1295ea%0x64!=0xb?0x0:_0x1295ea%0xa>=0x2&&_0x1295ea%0xa<=0x4&&(_0x1295ea%0x64<0xa||_0x1295ea%0x64>=0x14)?0x1:0x2}};_0x35e708['be']||={'dictionary':{},'getPluralForm':null},_0x35e708['be']['dictionary']=Object['assign'](_0x35e708['be']['dictionary'],_0x3ef14f),_0x35e708['be']['getPluralForm']=_0x43e062;})(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':_0x2191f9=>0x1!=_0x2191f9}};
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':_0xb6309e=>0x1!=_0xb6309e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4980fe=>{const {bg:{dictionary:_0x3120c3,getPluralForm:_0x4a4fdb}}={'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':_0x53aca9=>0x1!=_0x53aca9}};_0x4980fe['bg']||={'dictionary':{},'getPluralForm':null},_0x4980fe['bg']['dictionary']=Object['assign'](_0x4980fe['bg']['dictionary'],_0x3120c3),_0x4980fe['bg']['getPluralForm']=_0x4a4fdb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a582d=>{const {bg:{dictionary:_0x1e77c7,getPluralForm:_0x581ea9}}={'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':_0x11e030=>0x1!=_0x11e030}};_0x1a582d['bg']||={'dictionary':{},'getPluralForm':null},_0x1a582d['bg']['dictionary']=Object['assign'](_0x1a582d['bg']['dictionary'],_0x1e77c7),_0x1a582d['bg']['getPluralForm']=_0x581ea9;})(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':_0x399e5d=>0x1!=_0x399e5d}};
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':_0x50467c=>0x1!=_0x50467c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c9a0b=>{const {bn:{dictionary:_0x1ab011,getPluralForm:_0x5eaae7}}={'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':_0x4bbae2=>0x1!=_0x4bbae2}};_0x1c9a0b['bn']||={'dictionary':{},'getPluralForm':null},_0x1c9a0b['bn']['dictionary']=Object['assign'](_0x1c9a0b['bn']['dictionary'],_0x1ab011),_0x1c9a0b['bn']['getPluralForm']=_0x5eaae7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1adc0d=>{const {bn:{dictionary:_0x213821,getPluralForm:_0x14adb9}}={'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':_0x1c87a1=>0x1!=_0x1c87a1}};_0x1adc0d['bn']||={'dictionary':{},'getPluralForm':null},_0x1adc0d['bn']['dictionary']=Object['assign'](_0x1adc0d['bn']['dictionary'],_0x213821),_0x1adc0d['bn']['getPluralForm']=_0x14adb9;})(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':_0x354f7b=>_0x354f7b%0xa==0x1&&_0x354f7b%0x64!=0xb?0x0:_0x354f7b%0xa>=0x2&&_0x354f7b%0xa<=0x4&&(_0x354f7b%0x64<0xa||_0x354f7b%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':_0x185168=>_0x185168%0xa==0x1&&_0x185168%0x64!=0xb?0x0:_0x185168%0xa>=0x2&&_0x185168%0xa<=0x4&&(_0x185168%0x64<0xa||_0x185168%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40d659=>{const {bs:{dictionary:_0x4d766e,getPluralForm:_0xb25146}}={'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':_0x270230=>_0x270230%0xa==0x1&&_0x270230%0x64!=0xb?0x0:_0x270230%0xa>=0x2&&_0x270230%0xa<=0x4&&(_0x270230%0x64<0xa||_0x270230%0x64>=0x14)?0x1:0x2}};_0x40d659['bs']||={'dictionary':{},'getPluralForm':null},_0x40d659['bs']['dictionary']=Object['assign'](_0x40d659['bs']['dictionary'],_0x4d766e),_0x40d659['bs']['getPluralForm']=_0xb25146;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23c6ee=>{const {bs:{dictionary:_0x429367,getPluralForm:_0x17932f}}={'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':_0x633786=>_0x633786%0xa==0x1&&_0x633786%0x64!=0xb?0x0:_0x633786%0xa>=0x2&&_0x633786%0xa<=0x4&&(_0x633786%0x64<0xa||_0x633786%0x64>=0x14)?0x1:0x2}};_0x23c6ee['bs']||={'dictionary':{},'getPluralForm':null},_0x23c6ee['bs']['dictionary']=Object['assign'](_0x23c6ee['bs']['dictionary'],_0x429367),_0x23c6ee['bs']['getPluralForm']=_0x17932f;})(window['CKEDITOR_TRANSLATIONS']||={});