@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250504.0 → 0.0.0-nightly-20250506.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x183e05,Command as _0x381b27}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4a3768,IconGooglePhotos as _0xe7cc67,IconGoogleDrive as _0xcfedfb,IconFacebook as _0xcfb23c,IconDropbox as _0x130591,IconUploadcareLink as _0x1cb145,IconUploadcareImageUpload as _0x45c038,IconError as et,IconUploadcareImageEdit as _0x1086b5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x21b9fb,MenuBarMenuListItemButtonView as _0x4c7875,View as _0x2619f2,FocusCycler as _0x506399,Dialog as _0x1712f2,DialogViewPosition as _0x56627a,SpinnerView as _0x24f638,IconView as at,Notification as _0x5dd458}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2d9c,DomEmitterMixin as _0x34bbc2,global as _0x209c8f,getAncestors as _0x3e5f43,ObservableMixin as _0x560dcb,createElement as _0x408b43,uid as _0x290e09}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x7c420f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4b4cfb,info as _0x302a5d}from'@uploadcare/upload-client';import*as _0x30a08a from'@uploadcare/file-uploader';var o=function(_0x201c6d){return _0x201c6d['Local']='local',_0x201c6d['URL']='url',_0x201c6d['Dropbox']='dropbox',_0x201c6d['GDrive']='gdrive',_0x201c6d['Facebook']='facebook',_0x201c6d['GPhotos']='gphotos',_0x201c6d['OneDrive']='onedrive',_0x201c6d;}({});function _(_0x578446,_0x433c9f,_0x3d52c8){const t=_0x578446['t'],_0x151843=_0x578446['t'];switch(_0x433c9f){case o['Local']:return{'text':_0x151843('Insert'===_0x3d52c8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x151843('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3d52c8?_0x151843('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x151843('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3d52c8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3d52c8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3d52c8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3d52c8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3d52c8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x433c9f;}}class e extends _0x183e05{['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 _0x39d64e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3af6c4;for(const _0x5c141c in _0x39d64e){const _0x2e6263=_0x5c141c,_0x2dc01a=_0x39d64e[_0x2e6263];if('uploadcareLicenseKeyValid'==_0x2dc01a||'uploadcareLicenseKeyInvalid'==_0x2dc01a||'uploadcareLicenseKeyExpired'==_0x2dc01a||'uploadcareLicenseKeyDomainLimit'==_0x2dc01a||'uploadcareLicenseKeyNotAllowed'==_0x2dc01a||'uploadcareLicenseKeyEvaluationLimit'==_0x2dc01a||'uploadcareLicenseKeyTrialLimit'==_0x2dc01a||'uploadcareLicenseKeyUsageLimit'==_0x2dc01a){delete _0x39d64e[_0x2e6263],_0x3af6c4=_0x2dc01a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3af6c4&&_0x39d64e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3af6c4&&_0x39d64e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3af6c4&&_0x39d64e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3af6c4&&_0x39d64e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3af6c4&&_0x39d64e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3af6c4&&_0x39d64e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3af6c4&&_0x39d64e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x60e4e8}=this,_0x53c000=_0x60e4e8['commands']['get']('uploadcare');if(!_0x53c000)return;const _0x17a20c=this['_normalizeConfigSourceList'](_0x60e4e8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5695d1,_0x2f00e2)=>{const _0x1dde0c=this['_getIntegrationKey'](_0x2f00e2['type']);return _0x5695d1[_0x1dde0c]||(_0x5695d1[_0x1dde0c]=[]),_0x5695d1[_0x1dde0c]['push'](_0x2f00e2),_0x5695d1;},{});_0x60e4e8['plugins']['has']('ImageInsertUI')&&_0x60e4e8['commands']['get']('uploadcare')&&Object['entries'](_0x17a20c)['forEach'](([_0x500655,_0x52c71b])=>{_0x60e4e8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x500655,'observable':()=>_0x53c000,'buttonViewCreator':()=>this['_createToolbarButton'](_0x52c71b),'formViewCreator':()=>this['_createDropdownButtons'](_0x52c71b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x52c71b),'override':'assetManager'!==_0x500655});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4ce91e){const {locale:_0xb1beb3}=this['editor'];return _0x4ce91e['map'](_0x41fdb8=>{const _0x41968c=_(_0xb1beb3,_0x41fdb8,'Insert');switch(_0x41fdb8){case o['Local']:return{'icon':_0x45c038,'type':o['Local'],..._0x41968c};case o['URL']:return{'icon':_0x1cb145,'type':o['URL'],..._0x41968c};case o['Dropbox']:return{'icon':_0x130591,'type':o['Dropbox'],..._0x41968c};case o['Facebook']:return{'icon':_0xcfb23c,'type':o['Facebook'],..._0x41968c};case o['GDrive']:return{'icon':_0xcfedfb,'type':o['GDrive'],..._0x41968c};case o['GPhotos']:return{'icon':_0xe7cc67,'type':o['GPhotos'],..._0x41968c};case o['OneDrive']:return{'icon':_0x4a3768,'type':o['OneDrive'],..._0x41968c};}});}['_getIntegrationKey'](_0x2a887d){switch(_0x2a887d){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xf6fc15,_0x1010f4){const _0x1237d3=this['editor'],_0x358f78=new _0xf6fc15(_0x1237d3['locale']),_0x5b1286=_0x1237d3['commands']['get']('uploadcare');return _0x358f78['bind']('isEnabled')['to'](_0x5b1286),_0x358f78['on']('execute',()=>{_0x5b1286['execute'](_0x1010f4);}),_0x358f78;}['_createToolbarButton'](_0x62ddb8){const {locale:_0x4bab0c}=this['editor'],_0x5f23f4=this['editor']['plugins']['get']('ImageInsertUI'),_0x110924=_0x62ddb8[0x0],_0x7ea006=this['_createButton'](_0x21b9fb,_0x110924['type']);return _0x7ea006['icon']=_0x110924['icon'],_0x7ea006['bind']('label')['to'](_0x5f23f4,'isImageSelected',_0x1dd147=>_(_0x4bab0c,_0x110924['type'],_0x1dd147?'Replace':'Insert')['text']),_0x7ea006['tooltip']=!0x0,_0x7ea006;}['_createDropdownButtons'](_0x573652){const {locale:_0x40fc10}=this['editor'],_0x57a2df=this['editor']['plugins']['get']('ImageInsertUI');return _0x573652['map'](_0xbe5288=>{const _0x98c770=this['_createButton'](_0x21b9fb,_0xbe5288['type']);return _0x98c770['withText']=!0x0,_0x98c770['icon']=_0xbe5288['icon'],_0x98c770['bind']('label')['to'](_0x57a2df,'isImageSelected',_0x4e7d68=>_(_0x40fc10,_0xbe5288['type'],_0x4e7d68?'Replace':'Insert')['text']),_0x98c770;});}['_createMenuBarButtons'](_0x5b8dc4){return _0x5b8dc4['map'](_0x4b733d=>{const _0x5dbc5d=this['_createButton'](_0x4c7875,_0x4b733d['type']);return _0x5dbc5d['icon']=_0x4b733d['icon'],_0x5dbc5d['label']=_0x4b733d['shortText'],_0x5dbc5d;});}}class q extends _0x2619f2{['focusTracker'];['focusCycler'];constructor(_0x2cd265){super(_0x2cd265),this['focusTracker']=new _0x2d9c(),this['focusCycler']=new _0x506399({'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(_0x38c32f){super(_0x38c32f),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(_0x2f3de3,_0x1c4297){const _0x42d6d2=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x8d27a5=>_0x8d27a5<=_0x1c4297)['map'](_0x28ca49=>_0x2f3de3['replace'](/\/$/,'')+'/-/resize/'+_0x28ca49+'x/\x20'+_0x28ca49+'w');return{'imageFallbackUrl':_0x2f3de3,'imageSources':[{'srcset':_0x42d6d2['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c4297+'px)\x20100vw,\x20'+_0x1c4297+'px','type':'image/webp'}]};}function A(_0x45ae49,_0x4419ec,_0x528619){const _0xd37074=_0x45ae49['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xd37074?parseInt(_0xd37074[0x1],0xa):_0x4419ec,'height':_0xd37074?parseInt(_0xd37074[0x2],0xa):_0x528619};}function m(_0x4d55f4,_0x2abc2a){const _0x2e089c=Object['create'](_0x34bbc2),_0xd5561a=_0x4d55f4['plugins']['get']('ImageUtils'),_0x3f5c99=_0x4d55f4['editing']['mapper']['toViewElement'](_0x2abc2a),_0x4c5a98=_0xd5561a['findViewImgElement'](_0x3f5c99),_0x2df25f=_0x4d55f4['editing']['view']['domConverter']['viewToDom'](_0x4c5a98),_0x3faba6=_0x2abc2a['getAttribute']('width'),_0xbc8558=_0x2abc2a['getAttribute']('height'),_0x19ae7b='image-processing';_0x4d55f4['editing']['view']['change'](_0x2242cf=>{_0x2242cf['addClass'](_0x19ae7b,_0x3f5c99),_0x2242cf['setStyle']('aspect-ratio',_0x3faba6+'/'+_0xbc8558,_0x4c5a98);}),_0x2e089c['listenTo'](_0x2df25f,'load',()=>{_0x2e089c['stopListening'](_0x2df25f,'load'),_0x4d55f4['editing']['view']['change'](_0x2f2e66=>{_0x2f2e66['removeClass'](_0x19ae7b,_0x3f5c99),_0x2f2e66['removeStyle']('aspect-ratio',_0x4c5a98);});});}function V(_0x331bff){if(Array['isArray'](_0x331bff)){const _0x307b60=_0x331bff['map'](V);return _0x1e273e=>_0x307b60['some'](_0x35b43b=>_0x35b43b(_0x1e273e));}if('origin'==_0x331bff){const _0x380141=_0x209c8f['window']['location']['origin'];return _0x32502d=>new URL(_0x32502d,_0x209c8f['document']['baseURI'])['origin']==_0x380141;}return'function'==typeof _0x331bff?_0x331bff:_0x331bff instanceof RegExp?_0x25dc7c=>!(!_0x25dc7c['match'](_0x331bff)&&!_0x25dc7c['replace'](/^https?:\/\//,'')['match'](_0x331bff)):()=>!0x1;}function F(_0x4c3568,_0x3f1ebd){return _0x3e5f43(_0x4c3568['target'])['includes'](_0x3f1ebd);}class l extends/* #__PURE__ -- @preserve */
24
- _0x560dcb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44b853,_0x231f54,_0x8ed237){super(),this['_editor']=_0x44b853,this['_editing']=_0x231f54,this['_dialog']=_0x44b853['plugins']['get'](_0x1712f2),this['_api']=_0x231f54['ctxElement']['getAPI'](),this['_type']=_0x8ed237,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:_0x526610,model:_0x2be463}=this['_editor'],_0x35ac18=_0x2be463['document']['selection']['getSelectedElement'](),_0x91e940=_0x35ac18&&(_0x35ac18['is']('element','imageBlock')||_0x35ac18['is']('element','imageInline'));this['_formView']=new S(_0x526610),this['_dialog']['show']({'id':'uploadCare','icon':_0x45c038,'title':_(_0x526610,this['_type'],_0x91e940?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x56627a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5592c7=>!F(_0x5592c7,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4dd949}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4d9fc1=>{const _0x57a691=_0x4dd949['length'];for(const _0x22dbd9 of _0x4dd949){const _0x5ee1bd=_0x22dbd9===_0x4dd949[_0x57a691-0x1],{cdnUrl:_0x3d8d1b,fileInfo:_0x5ed2c8}=_0x22dbd9;if(!_0x3d8d1b||!_0x5ed2c8)continue;const {width:_0x3cacdb,height:_0xdb01c4}=_0x5ed2c8['imageInfo'],_0x55be54=A(_0x3d8d1b,_0x3cacdb,_0xdb01c4),_0x35895b=E(_0x3d8d1b,_0x55be54['width']),_0x1bb7a8={'id':_0x5ed2c8['uuid'],'type':'image','attributes':{'imageDimension':_0x55be54,..._0x35895b}};this['_insertAsset'](_0x1bb7a8,_0x5ee1bd,_0x4d9fc1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5275be=>{'idle'===_0x5275be['detail']['status']&&!_0x5275be['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1161f8,_0x554f96,_0x32701a){const _0x5ab659=this['_editor']['model']['document']['selection'],_0x5ea1d6=_0x5ab659['getSelectedElement'](),_0x5b8cde=!(!_0x5ea1d6||!_0x5ea1d6['is']('element','imageInline'));_0x32701a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1161f8,_0x5b8cde),_0x554f96||_0x32701a['setSelection'](_0x5ab659['getLastPosition']());}['_insertImage'](_0x430a71,_0x53f1e5){const _0x3e1bda=this['_editor'],{imageDimension:_0x52467b,imageFallbackUrl:_0x10be98,imageSources:_0x549eea}=_0x430a71['attributes'];_0x3e1bda['execute']('insertImage',{'imageType':_0x53f1e5?'imageInline':null,'source':{'uploadcareImageId':_0x430a71['id'],'src':_0x10be98,'sources':_0x549eea,..._0x52467b}});}}class n extends _0x381b27{['_editing'];['_controller']=null;static get['requires'](){return[_0x1712f2,i];}constructor(_0x271c03){super(_0x271c03),this['_editing']=_0x271c03['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5419db){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5419db);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x453cfa,publicKey:_0x34492a,signal:_0x22d77e,onProgress:_0x1265f8}){return _0x4b4cfb(_0x453cfa,{'publicKey':_0x34492a,'store':'auto','signal':_0x22d77e,'onProgress':_0x1265f8});}static['getInfo'](_0x3c5f01,_0xefa357){return _0x302a5d(_0x3c5f01,_0xefa357);}}class p extends _0x183e05{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x7c420f,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x34cebd=this['editor'];if(!!!_0x34cebd['config']['get']('uploadcare'))return;_0x34cebd['plugins']['get'](_0x7c420f)['createUploadAdapter']=_0x524f5a=>new x(_0x524f5a,_0x34cebd),_0x34cebd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4cc871,{imageElement:_0x2601f8,data:_0x498c81})=>{_0x34cebd['model']['change'](_0x23f0ef=>{_0x23f0ef['setAttribute']('uploadcareImageId',_0x498c81['uploadcareImageId'],_0x2601f8);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1539d5,_0x1af7c9){this['loader']=_0x1539d5,this['editor']=_0x1af7c9,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x11e683=this['editor']['config']['get']('uploadcare.pubkey'),_0x462409=await this['loader']['file'];return C['upload']({'file':_0x462409,'publicKey':_0x11e683,'signal':this['controller']['signal'],'onProgress':_0x2ea282=>{_0x2ea282&&_0x2ea282['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ea282['value']);}})['then'](async _0x5cd380=>{const {imageFallbackUrl:_0x36fb0e,imageSources:_0xe87af2}=E(_0x5cd380['cdnUrl'],_0x5cd380['imageInfo']['width']);return{'uploadcareImageId':_0x5cd380['uuid'],'default':_0x36fb0e,'sources':_0xe87af2};})['catch'](()=>{const _0x50fef7=t('Cannot\x20upload\x20file:')+('\x20'+_0x462409['name']+'.');return Promise['reject'](_0x50fef7);});}['abort'](){this['controller']['abort']();}}class i extends _0x183e05{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1712f2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0xc092d8=this['editor'];_0xc092d8['commands']['add']('uploadcare',new n(_0xc092d8));}['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 _0xb8ac8d=_0x209c8f['document']['querySelector']('input[uploadcare-file-input]');_0xb8ac8d&&_0xb8ac8d['remove']();}),async function(_0x259323){const _0x4b0190=_0x3d1548([0x6b,0x53,0x30,0x78,0x64,0x6d,0x41,0x44,0x45,0x34,0x31,0x6c,0x4a,0x35,0x43,0x42,0x6e,0x51,0x4d,0x32,0x54,0x73,0x49,0x61,0x33,0x70,0x69,0x36,0x52,0x76,0x57,0x4c,0x55,0x4b,0x58,0x4e,0x4f,0x56,0x7a,0x39,0x6f,0x67,0x75,0x74,0x62,0x79,0x38,0x72,0x65,0x48,0x50,0x5a,0x37,0x66,0x59,0x77,0x47,0x6a,0x68,0x46,0x63,0x71]),_0xa98303=0x306f68df,_0x42b178=0x30680e3f^_0xa98303,_0x433e3c=window[_0x3d1548([0x44,0x61,0x74,0x65])][_0x3d1548([0x6e,0x6f,0x77])](),_0x14a97a=_0x259323[_0x3d1548([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x198515=new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5864f6=>{_0x14a97a[_0x3d1548([0x6f,0x6e,0x63,0x65])](_0x3d1548([0x72,0x65,0x61,0x64,0x79]),_0x5864f6);}),_0x2bd48e={[_0x3d1548([0x6b,0x74,0x79])]:_0x3d1548([0x45,0x43]),[_0x3d1548([0x75,0x73,0x65])]:_0x3d1548([0x73,0x69,0x67]),[_0x3d1548([0x63,0x72,0x76])]:_0x3d1548([0x50,0x2d,0x32,0x35,0x36]),[_0x3d1548([0x78])]:_0x3d1548([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]),[_0x3d1548([0x79])]:_0x3d1548([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]),[_0x3d1548([0x61,0x6c,0x67])]:_0x3d1548([0x45,0x53,0x32,0x35,0x36])},_0x218fdf=_0x14a97a[_0x3d1548([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d1548([0x67,0x65,0x74])](_0x3d1548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4537ff(){let _0x493bac,_0x277343=null,_0xd5e5a3=null;try{if(_0x218fdf==_0x3d1548([0x47,0x50,0x4c]))return _0x3d1548([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x493bac=_0xa631(),!_0x493bac)return _0x3d1548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x493bac[_0x3d1548([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd5e5a3=_0x334e26(_0x493bac[_0x3d1548([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x493bac[_0x3d1548([0x6a,0x74,0x69])])),await _0xa767c7()?_0x554e6f()?_0x4e0bd9()?_0x3d1548([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38ba9c()?(_0x493bac[_0x3d1548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d1548([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x277343=_0x2e560d(_0x3d1548([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x493bac[_0x3d1548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d1548([0x74,0x72,0x69,0x61,0x6c])&&(_0x277343=_0x2e560d(_0x3d1548([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbede6d()):_0x3d1548([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d1548([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d1548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4fec20){return _0x3d1548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e0bd9(){const _0x58cf17=[_0x3d1548([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d1548([0x74,0x72,0x69,0x61,0x6c])][_0x3d1548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493bac[_0x3d1548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x433e3c/0x3e8:0xe10*_0x42b178;return _0x493bac[_0x3d1548([0x65,0x78,0x70])]<_0x58cf17;}function _0x554e6f(){const _0x13f346=_0x493bac[_0x3d1548([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13f346&&(!!_0x13f346[_0x3d1548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1548([0x2a]))||!!_0x13f346[_0x3d1548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1548([0x55,0x50,0x4c,0x43])));}function _0x38ba9c(){const _0x5dbd68=_0x493bac[_0x3d1548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dbd68||0x0==_0x5dbd68[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x495b2f}=new URL(window[_0x3d1548([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dbd68[_0x3d1548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x495b2f))return!0x0;const _0x177a62=_0x495b2f[_0x3d1548([0x73,0x70,0x6c,0x69,0x74])](_0x3d1548([0x2e]));return _0x5dbd68[_0x3d1548([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c1766=>_0x1c1766[_0x3d1548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1548([0x2a])))[_0x3d1548([0x6d,0x61,0x70])](_0x462b48=>_0x462b48[_0x3d1548([0x73,0x70,0x6c,0x69,0x74])](_0x3d1548([0x2e])))[_0x3d1548([0x73,0x6f,0x6d,0x65])](_0x971505=>_0x177a62[_0x3d1548([0x65,0x76,0x65,0x72,0x79])]((_0x43300a,_0x188e63)=>_0x971505[_0x188e63]===_0x43300a||_0x971505[_0x188e63]===_0x3d1548([0x2a])));}function _0xbede6d(){return _0x277343&&_0xd5e5a3?new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17af59,_0x509e14)=>{_0x277343[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x17af59,_0x509e14),_0xd5e5a3[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x26feda=>{_0x26feda!=_0x3d1548([0x56,0x61,0x6c,0x69,0x64])&&_0x17af59(_0x26feda);},_0x509e14);}):_0x277343||_0xd5e5a3||_0x3d1548([0x56,0x61,0x6c,0x69,0x64]);}}function _0x334e26(_0x1b4d60,_0x3a4923){return new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dc31f=>{if(_0x4d2a0a())return _0x5dc31f(_0x3d1548([0x56,0x61,0x6c,0x69,0x64]));_0x300d7c(),_0x14a97a[_0x3d1548([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d1548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a700e=!0x1;const _0x47969c=_0x290e09();function _0x44f4e4(_0x14f8c1){return!!_0x14f8c1&&(typeof _0x14f8c1===_0x3d1548([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14f8c1===_0x3d1548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14f8c1[_0x3d1548([0x74,0x68,0x65,0x6e])]===_0x3d1548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14f8c1[_0x3d1548([0x63,0x61,0x74,0x63,0x68])]===_0x3d1548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f7195(_0x48d1df){_0x540b8d(_0x48d1df)[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x2cf855=>{if(!_0x2cf855||_0x2cf855[_0x3d1548([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d1548([0x6f,0x6b]))return _0x3d1548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x463520(_0x24dfeb(_0x47969c+_0x3a4923))!=_0x2cf855[_0x3d1548([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d1548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d1548([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x892af7=>(_0x3e2988(),_0x892af7),()=>{const _0x547c12=_0x1ed155();return null==_0x547c12?(_0x3e2988(),_0x3d1548([0x56,0x61,0x6c,0x69,0x64])):_0x3d1548(_0x433e3c-_0x547c12>(0x1463ecdf^_0xa98303)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x5dc31f)[_0x3d1548([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dc31f(_0x3d1548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4dbba1=0x3059865f^_0xa98303;function _0x3e2988(){const _0x33a40c=_0x3d1548([0x6c,0x6c,0x63,0x74,0x2d])+_0x463520(_0x24dfeb(_0x1b4d60)),_0x26d62f=_0x2f7970(_0x463520(window[_0x3d1548([0x4d,0x61,0x74,0x68])][_0x3d1548([0x63,0x65,0x69,0x6c])](_0x433e3c/_0x4dbba1)));window[_0x3d1548([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d1548([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33a40c,_0x26d62f);}function _0x1ed155(){const _0x5c5900=_0x3d1548([0x6c,0x6c,0x63,0x74,0x2d])+_0x463520(_0x24dfeb(_0x1b4d60)),_0x5e8bbe=window[_0x3d1548([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d1548([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c5900);return _0x5e8bbe?window[_0x3d1548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f7970(_0x5e8bbe),0x10)*_0x4dbba1:null;}function _0x540b8d(_0x4b42a5){return new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2be56d,_0x186894)=>{_0x4b42a5[_0x3d1548([0x74,0x68,0x65,0x6e])](_0x2be56d,_0x186894),window[_0x3d1548([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x186894,0x306ebc1f^_0xa98303);});}}_0x14a97a[_0x3d1548([0x6f,0x6e])](_0x3d1548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x708785,_0x7ba537)=>{if(_0x7ba537[0x0]!=_0x1b4d60)return _0x5dc31f(_0x3d1548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7ba537[0x1]={..._0x7ba537[0x1],[_0x3d1548([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47969c};},{[_0x3d1548([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d1548([0x68,0x69,0x67,0x68])}),_0x14a97a[_0x3d1548([0x6f,0x6e])](_0x3d1548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x182bfc=>{_0x44f4e4(_0x182bfc[_0x3d1548([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a700e=!0x0,_0x1f7195(_0x182bfc[_0x3d1548([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d1548([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d1548([0x6c,0x6f,0x77])}),_0x198515[_0x3d1548([0x74,0x68,0x65,0x6e])](()=>{_0x5a700e||_0x5dc31f(_0x3d1548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d2a0a(){return _0x14a97a[_0x3d1548([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d1548([0x76,0x69,0x65,0x77])][_0x3d1548([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d1548([0x61,0x75,0x74,0x6f]);}function _0x300d7c(){_0x14a97a[_0x3d1548([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d1548([0x76,0x69,0x65,0x77])][_0x3d1548([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d1548([0x61,0x75,0x74,0x6f]);}}function _0x2e560d(_0x4c4529){const _0x4f5a3f=[new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ccf88=>setTimeout(_0x2ccf88,0x30665613^_0xa98303)),_0x198515[_0x3d1548([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f2c21=>{let _0x3258ec=0x0;_0x14a97a[_0x3d1548([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1548([0x6f,0x6e])](_0x3d1548([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bbf98,_0x4c05c7)=>{_0x4c05c7[0x0][_0x3d1548([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3258ec++,_0x3258ec==(0x306f6927^_0xa98303)&&(_0x2f2c21(),_0x3bbf98[_0x3d1548([0x6f,0x66,0x66])]());});}))];return window[_0x3d1548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d1548([0x72,0x61,0x63,0x65])](_0x4f5a3f)[_0x3d1548([0x74,0x68,0x65,0x6e])](()=>_0x4c4529);}async function _0x3534f6(){await _0x198515,_0x14a97a[_0x3d1548([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1548([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d5fbe,_0x14a97a[_0x3d1548([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1548([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d5fbe,_0x14a97a[_0x3d1548([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d1548([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29340e(_0x57aa1a){const _0x2d78c7=_0x52cfdf();_0x14a97a[_0x2d78c7]=_0x3d1548([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57aa1a,_0x57aa1a!=_0x3d1548([0x56,0x61,0x6c,0x69,0x64])&&_0x3534f6();}function _0x52cfdf(){const _0x20052c=window[_0x3d1548([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d1548([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d1548([0x6e,0x6f,0x77])]())[_0x3d1548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d1548([0x2e]),'');let _0x4c6214=_0x3d1548([0x6b]);for(let _0x7c8dff=0x0;_0x7c8dff<_0x20052c[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7c8dff+=0x2){let _0x5d321a=window[_0x3d1548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20052c[_0x3d1548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7c8dff,_0x7c8dff+0x2));_0x5d321a>=_0x4b0190[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d321a-=_0x4b0190[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c6214+=_0x4b0190[_0x5d321a];}return _0x4c6214;}function _0xa631(){const _0x46feb7=_0x218fdf[_0x3d1548([0x73,0x70,0x6c,0x69,0x74])](_0x3d1548([0x2e]));if(0x3!=_0x46feb7[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a9951(_0x46feb7[0x1]);function _0x1a9951(_0x54d01c){const _0x13cab8=_0x101234(_0x54d01c);return _0x13cab8&&_0x86cb63()?_0x13cab8:null;function _0x86cb63(){const _0x23c978=_0x13cab8[_0x3d1548([0x6a,0x74,0x69])],_0x104311=window[_0x3d1548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23c978[_0x3d1548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23c978[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42aca3={..._0x13cab8,[_0x3d1548([0x6a,0x74,0x69])]:_0x23c978[_0x3d1548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23c978[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42aca3[_0x3d1548([0x76,0x63])],_0x24dfeb(_0x42aca3)==_0x104311;}}}async function _0xa767c7(){let _0xe619e9=!0x0;try{const _0x214570=_0x218fdf[_0x3d1548([0x73,0x70,0x6c,0x69,0x74])](_0x3d1548([0x2e])),[_0x18dada,_0x39c6ab,_0x3ca3cd]=_0x214570;return _0x10356f(_0x18dada),await _0x478568(_0x18dada,_0x39c6ab,_0x3ca3cd),_0xe619e9;}catch(_0x19e0b0){return!0x1;}function _0x10356f(_0x11e879){const _0x221632=_0x101234(_0x11e879);_0x221632&&_0x221632[_0x3d1548([0x61,0x6c,0x67])]==_0x3d1548([0x45,0x53,0x32,0x35,0x36])||(_0xe619e9=!0x1);}async function _0x478568(_0x2a5d8c,_0x6d43f0,_0x3d3a94){const _0x57e64d=window[_0x3d1548([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d1548([0x66,0x72,0x6f,0x6d])](_0x315676(_0x3d3a94),_0x163147=>_0x163147[_0x3d1548([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x117d68=new window[(_0x3d1548([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d1548([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a5d8c+_0x3d1548([0x2e])+_0x6d43f0),_0x1dc90e=window[_0x3d1548([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d1548([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dc90e)return;const _0x4b70e0=await _0x1dc90e[_0x3d1548([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d1548([0x6a,0x77,0x6b]),_0x2bd48e,{[_0x3d1548([0x6e,0x61,0x6d,0x65])]:_0x3d1548([0x45,0x43,0x44,0x53,0x41]),[_0x3d1548([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d1548([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d1548([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dc90e[_0x3d1548([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d1548([0x6e,0x61,0x6d,0x65])]:_0x3d1548([0x45,0x43,0x44,0x53,0x41]),[_0x3d1548([0x68,0x61,0x73,0x68])]:{[_0x3d1548([0x6e,0x61,0x6d,0x65])]:_0x3d1548([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b70e0,_0x57e64d,_0x117d68)||(_0xe619e9=!0x1);}}function _0x101234(_0x765ef8){return _0x765ef8[_0x3d1548([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d1548([0x65,0x79]))?JSON[_0x3d1548([0x70,0x61,0x72,0x73,0x65])](_0x315676(_0x765ef8)):null;}function _0x315676(_0x7675fa){return window[_0x3d1548([0x61,0x74,0x6f,0x62])](_0x7675fa[_0x3d1548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d1548([0x2b]))[_0x3d1548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d1548([0x2f])));}function _0x24dfeb(_0x51fdcb){let _0x457751=0x1505;function _0x22126d(_0x1cee4c){for(let _0x4f6e24=0x0;_0x4f6e24<_0x1cee4c[_0x3d1548([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f6e24++){const _0x56d278=_0x1cee4c[_0x3d1548([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f6e24);_0x457751=(_0x457751<<0x5)+_0x457751+_0x56d278,_0x457751&=_0x457751;}}function _0x5252f2(_0x3ac577){Array[_0x3d1548([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ac577)?_0x3ac577[_0x3d1548([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5252f2):_0x3ac577&&typeof _0x3ac577==_0x3d1548([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d1548([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ac577)[_0x3d1548([0x73,0x6f,0x72,0x74])]()[_0x3d1548([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b761f,_0x14b7e7])=>{_0x22126d(_0x3b761f),_0x5252f2(_0x14b7e7);}):_0x22126d(window[_0x3d1548([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ac577));}return _0x5252f2(_0x51fdcb),_0x457751>>>0x0;}function _0x463520(_0x1335d7){return _0x1335d7[_0x3d1548([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d1548([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d1548([0x30]));}function _0x2f7970(_0x77764b){return _0x77764b[_0x3d1548([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d1548([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d1548([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d5fbe(){}function _0x3d1548(_0x57d672){return _0x57d672['map'](_0x455f97=>String['fromCharCode'](_0x455f97))['join']('');}_0x29340e(await _0x4537ff());}(this);}['_initSchema'](){const _0x57db54=this['editor']['model']['schema'];_0x57db54['isRegistered']('imageBlock')&&_0x57db54['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x57db54['isRegistered']('imageInline')&&_0x57db54['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x526419=this['editor'];_0x526419['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x526419['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2b7670=>_0x2b7670['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xfb93f=_0x526419['commands']['get']('replaceImageSource');_0xfb93f&&this['listenTo'](_0xfb93f,'cleanupImage',(_0x576d28,[_0x1032d0,_0x2c78b9])=>{_0x1032d0['removeAttribute']('uploadcareImageId',_0x2c78b9);});}['_initConfig'](){const _0x398dbf=this['editor']['config']['get']('uploadcare.uploader')||{},_0x41116f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x408b43(_0x209c8f['document'],'uc-config',{..._0x398dbf,'pubkey':_0x41116f,'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']=_0x1fbf7b=>{if('closeMax'==_0x1fbf7b)return'#uc-icon-arrow-down';},_0x209c8f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x408b43(_0x209c8f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x209c8f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5a1f64=this['editor']['commands']['get']('insertImage');_0x5a1f64&&this['listenTo'](_0x5a1f64,'execute',()=>{const _0x10fe6b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x10fe6b&&_0x10fe6b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x10fe6b);});});const _0x5ade41=this['editor']['commands']['get']('uploadcareImageReplace');_0x5ade41&&this['listenTo'](_0x5ade41,'execute',()=>{const _0x17d07d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17d07d&&_0x17d07d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x17d07d);});});}}class u extends _0x183e05{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d4de3){super(_0x2d4de3),_0x2d4de3['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x30a08a['defineComponents'](_0x30a08a);}}class ta extends _0x2619f2{constructor(_0x57e11e){super(_0x57e11e);const t=_0x57e11e['t'],_0x4010d6=this['bindTemplate'],_0x216c6c=new _0x24f638();_0x216c6c['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':[_0x216c6c,{'text':_0x4010d6['to']('imageUploadProgress',_0x32af7a=>t('Loading\x20image...')+'\x20('+(_0x32af7a||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 _0x2619f2{constructor(_0x46c53d){super(_0x46c53d);const t=_0x46c53d['t'];this['set']('errorType',null);const _0x3e267f=new _0x21b9fb(_0x46c53d);_0x3e267f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e267f['withText']=!0x0,_0x3e267f['class']='ck-button-action',_0x3e267f['on']('execute',()=>{this['fire']('retry');}),_0x3e267f['bind']('isVisible')['to'](this,'errorType',_0x2ed15e=>'NotFound'!==_0x2ed15e);const _0x1727ea=new at();_0x1727ea['content']=et,_0x1727ea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d610d=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':[_0x1727ea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d610d['to']('errorType',_0x31beec=>t('NotFound'!==_0x31beec?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e267f]},{'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 _0x2619f2{constructor(_0x2c461d,_0x5670d7){super(_0x2c461d);const _0x4cf5ba=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5670d7,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4cf5ba['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x59eb9c,_0x1d156e,_0x2701a7){super(_0x59eb9c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x59eb9c),this['_errorView']=new rt(_0x59eb9c),this['_editingView']=new tt(_0x59eb9c,_0x2701a7),this['_focusableView']=new _0x2619f2(_0x59eb9c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1d156e),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'],_0x38755a=>{this['_addUploadcareImageEditorListeners'](_0x38755a);});}),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'](_0x436481,_0x1d5f6e){const _0x2a8a24='uc-cloud-image-editor',_0xcc5f49=_0x436481['querySelector'](_0x2a8a24);if(_0xcc5f49)return _0x1d5f6e(_0xcc5f49);const _0x5c874d=new MutationObserver(_0x40a697=>{const _0x485eb3=_0x40a697['filter'](_0x50cef9=>_0x50cef9['target']===_0x436481&&_0x50cef9['addedNodes']['length']>0x0&&_0x50cef9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2a8a24);_0x485eb3['length']&&(_0x5c874d['disconnect'](),_0x1d5f6e(_0x485eb3[0x0]['addedNodes'][0x0]));});_0x5c874d['observe'](_0x436481,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x74a1fb){_0x74a1fb['addEventListener']('apply',_0x594051=>{this['fire']('apply',{'imageSrc':_0x594051['detail']['cdnUrl']});}),_0x74a1fb['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x560dcb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4d045f,_0x465afc,_0x27527b){super(),this['_editor']=_0x4d045f,this['_dialog']=_0x465afc,this['_imageElement']=_0x27527b,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 _0x20fec2=this['_imageElement'],_0x3a60e4=_0x20fec2['getAttribute']('uploadcareImageId'),_0x4fb5a8=_0x20fec2['getAttribute']('src');if(_0x3a60e4)await this['_loadImageInfo'](_0x3a60e4,_0x4fb5a8);else{if(this['_imageCache']['has'](_0x4fb5a8)){const _0x2a9c53=this['_imageCache']['get'](_0x4fb5a8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a9c53['url'],this['imageDimension']=_0x2a9c53['dimension'],this['imageId']=_0x2a9c53['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ce497}=this['_editor'],t=_0x4ce497['t'],_0x48d215=new Z(_0x4ce497,this['imageStatus'],this['_attributes']);_0x48d215['bind']('status')['to'](this,'imageStatus'),_0x48d215['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48d215['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48d215['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48d215,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1086b5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48d215,'position':_0x56627a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48d215['focus']();},'onHide':()=>{_0x48d215['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42222b=>!F(_0x42222b,_0x48d215['element'])}});}['_loadImageInfo'](_0x28cf40,_0x42af1b){return C['getInfo'](_0x28cf40,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x10b4f6=>{const {width:_0x47a0dd,height:_0x10a1b5}=_0x10b4f6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42af1b,this['imageDimension']={'width':_0x47a0dd,'height':_0x10a1b5},this['imageId']=_0x28cf40;})['catch'](_0x1fe1bf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1fe1bf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x568b71,_0x3faf6f){return this['_getImageAsFile'](_0x568b71)['then'](_0x17e0e6=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3faf6f['signal'],'file':_0x17e0e6,'onProgress':_0x4e7b6c=>{_0x4e7b6c&&_0x4e7b6c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e7b6c['value']));}}))['then'](_0x271a9c=>{const {width:_0x4daeec,height:_0x53cd23}=_0x271a9c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x271a9c['cdnUrl'],this['imageDimension']={'width':_0x4daeec,'height':_0x53cd23},this['imageId']=_0x271a9c['uuid'],this['imageUploadProgress']=null;const _0xce630b=_0x568b71['getAttribute']('src');this['_imageCache']['set'](_0xce630b,{'id':_0x271a9c['uuid'],'url':_0x271a9c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3019f8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3019f8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5a96cb,_0x1b741b){_0x5a96cb['on']('apply',(_0x120a27,_0x43231f)=>{this['_replaceImage'](_0x1b741b,_0x43231f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5a96cb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5a96cb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d4c48,_0xf9f564,_0x1b65b7){const _0x4959ac=this['_editor'],{width:_0x426777,height:_0x3c4ddb}=A(_0xf9f564,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2a3270,imageSources:_0xa8cec}=E(_0xf9f564,_0x426777);_0x4959ac['model']['change'](_0x408cf0=>{if('$graveyard'===_0x5d4c48['root']['rootName']){_0x4959ac['execute']('insertImage',{'imageType':_0x5d4c48['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d4c48['getAttributes']()),'uploadcareImageId':_0x1b65b7,'src':_0x2a3270,'sources':_0xa8cec,'width':_0x426777,'height':_0x3c4ddb}});const _0x553837=_0x5d4c48['getChildren']();_0x5d4c48=_0x4959ac['model']['document']['selection']['getSelectedElement']();for(const _0x1d8c4b of _0x553837)_0x408cf0['append'](_0x408cf0['cloneElement'](_0x1d8c4b),_0x5d4c48);}else _0x408cf0['setSelection'](_0x5d4c48,'on'),_0x4959ac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d4c48['getAttributes']()),'uploadcareImageId':_0x1b65b7,'src':_0x2a3270,'sources':_0xa8cec,'width':_0x426777,'height':_0x3c4ddb},_0x5d4c48);_0x408cf0['setSelection'](_0x5d4c48,'on');});}async['_getImageAsFile'](_0x2b037d){const _0x4b6463=_0x209c8f['window'],_0x93620d=_0x209c8f['document']['location']['href'],_0x5301ff=new _0x4b6463['URL'](_0x2b037d['getAttribute']('src'),_0x93620d);if('data:'===_0x5301ff['protocol']){const _0x580972=_0x5301ff['href']['split'](','),_0x36e9cd=_0x580972[0x0]['match'](/:(.*?);/)[0x1],_0x1a9b89=_0x36e9cd['split']('/')[0x1],_0x566790=_0x4b6463['atob'](_0x580972[_0x580972['length']-0x1]);let _0x1a9320=_0x566790['length'];const _0x5d9a2d=new _0x4b6463['Uint8Array'](_0x1a9320);for(;_0x1a9320--;)_0x5d9a2d[_0x1a9320]=_0x566790['charCodeAt'](_0x1a9320);return new _0x4b6463['File']([_0x5d9a2d],'image.'+_0x1a9b89,{'type':_0x36e9cd});}const _0x25a494=_0x5301ff['href']['split']('/'),_0xf3dce7=_0x25a494[_0x25a494['length']-0x1],_0x19bf93=_0xf3dce7['split']('.')[0x1];return _0x4b6463['fetch'](_0x5301ff['href'])['then'](_0x458ed6=>_0x458ed6['clone']()['blob']())['then'](_0xdcd238=>new _0x4b6463['File']([_0xdcd238],_0xf3dce7,{'type':'image/'+_0x19bf93}));}}class J extends _0x381b27{['imageEditController'];static get['requires'](){return[_0x1712f2];}['_isEditable'];constructor(_0x3154d0){super(_0x3154d0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x370edc){const _0x5c4410=V(_0x370edc);return _0x29b03b=>!(!_0x29b03b||!_0x29b03b['is']('element','imageBlock')&&!_0x29b03b['is']('element','imageInline'))&&(!!_0x29b03b['hasAttribute']('uploadcareImageId')||!!_0x29b03b['hasAttribute']('src')&&_0x5c4410(_0x29b03b['getAttribute']('src')));}(_0x3154d0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3508fe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3508fe);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x50d0e6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x50d0e6&&(_0x50d0e6['is']('element','imageBlock')||_0x50d0e6['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1712f2),_0x50d0e6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x381b27{['refresh'](){const _0x1d40f1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1d40f1&&(_0x1d40f1['is']('element','imageBlock')||_0x1d40f1['is']('element','imageInline')));}['execute'](_0xc618bd){const _0x40da46=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x252ed4=>{_0x252ed4['setAttributes'](_0xc618bd,_0x40da46),_0x252ed4['removeAttribute']('srcset',_0x40da46),_0x252ed4['removeAttribute']('sizes',_0x40da46);});}}class g extends _0x183e05{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5dd458,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11653b}=this;_0x11653b['commands']['add']('uploadcareImageEdit',new J(_0x11653b)),_0x11653b['commands']['add']('uploadcareImageReplace',new O(_0x11653b));}}class j extends _0x183e05{['_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 _0x9785f6=this['editor'];_0x9785f6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x42563c=>{const _0x132b41=_0x9785f6['commands']['get']('uploadcareImageEdit'),_0x31c204=new _0x21b9fb(_0x42563c),t=_0x42563c['t'];return _0x31c204['set']({'icon':_0x1086b5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x31c204['bind']('isEnabled')['to'](_0x132b41),_0x31c204['bind']('isOn')['to'](_0x132b41,'isActive'),this['listenTo'](_0x31c204,'execute',()=>{_0x9785f6['execute']('uploadcareImageEdit'),_0x9785f6['editing']['view']['focus']();}),_0x31c204;}),this['_initConfig']();}['_initConfig'](){const _0x9194a3=_0x408b43(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9194a3),this['listenTo'](this['editor'],'destroy',()=>{_0x9194a3['remove']();});}}class P extends _0x183e05{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 _0x79a8c5,Command as _0x5e7094}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x448248,IconGooglePhotos as _0x482beb,IconGoogleDrive as _0x502eb7,IconFacebook as _0x3489c7,IconDropbox as _0x4f385e,IconUploadcareLink as _0x5c1b0b,IconUploadcareImageUpload as _0x584594,IconError as et,IconUploadcareImageEdit as _0x162254}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x476c2a,MenuBarMenuListItemButtonView as _0x28c7ac,View as _0x149404,FocusCycler as _0x347a40,Dialog as _0x536fd3,DialogViewPosition as _0x4da90c,SpinnerView as _0x37a556,IconView as at,Notification as _0x717c84}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x404c06,DomEmitterMixin as _0x547cf7,global as _0x130db3,getAncestors as _0x202227,ObservableMixin as _0xc9969b,createElement as _0x54f883,uid as _0x36b187}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4eefcf}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4c80cd,info as _0x5875d5}from'@uploadcare/upload-client';import*as _0x4818de from'@uploadcare/file-uploader';var o=function(_0x5f5424){return _0x5f5424['Local']='local',_0x5f5424['URL']='url',_0x5f5424['Dropbox']='dropbox',_0x5f5424['GDrive']='gdrive',_0x5f5424['Facebook']='facebook',_0x5f5424['GPhotos']='gphotos',_0x5f5424['OneDrive']='onedrive',_0x5f5424;}({});function _(_0x559659,_0x5369f3,_0x303db0){const t=_0x559659['t'],_0x22ed1e=_0x559659['t'];switch(_0x5369f3){case o['Local']:return{'text':_0x22ed1e('Insert'===_0x303db0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x22ed1e('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x303db0?_0x22ed1e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x22ed1e('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x303db0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x303db0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x303db0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x303db0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x303db0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5369f3;}}class e extends _0x79a8c5{['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 _0x558f7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56568e;for(const _0x164974 in _0x558f7a){const _0x1ad230=_0x164974,_0x445b19=_0x558f7a[_0x1ad230];if('uploadcareLicenseKeyValid'==_0x445b19||'uploadcareLicenseKeyInvalid'==_0x445b19||'uploadcareLicenseKeyExpired'==_0x445b19||'uploadcareLicenseKeyDomainLimit'==_0x445b19||'uploadcareLicenseKeyNotAllowed'==_0x445b19||'uploadcareLicenseKeyEvaluationLimit'==_0x445b19||'uploadcareLicenseKeyTrialLimit'==_0x445b19||'uploadcareLicenseKeyUsageLimit'==_0x445b19){delete _0x558f7a[_0x1ad230],_0x56568e=_0x445b19,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x56568e&&_0x558f7a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x56568e&&_0x558f7a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x56568e&&_0x558f7a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x56568e&&_0x558f7a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x56568e&&_0x558f7a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x56568e&&_0x558f7a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x56568e&&_0x558f7a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xf8869a}=this,_0x3a39e3=_0xf8869a['commands']['get']('uploadcare');if(!_0x3a39e3)return;const _0x276cf5=this['_normalizeConfigSourceList'](_0xf8869a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5c13bb,_0x6bfedb)=>{const _0x850e61=this['_getIntegrationKey'](_0x6bfedb['type']);return _0x5c13bb[_0x850e61]||(_0x5c13bb[_0x850e61]=[]),_0x5c13bb[_0x850e61]['push'](_0x6bfedb),_0x5c13bb;},{});_0xf8869a['plugins']['has']('ImageInsertUI')&&_0xf8869a['commands']['get']('uploadcare')&&Object['entries'](_0x276cf5)['forEach'](([_0x796e73,_0x6894e9])=>{_0xf8869a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x796e73,'observable':()=>_0x3a39e3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x6894e9),'formViewCreator':()=>this['_createDropdownButtons'](_0x6894e9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x6894e9),'override':'assetManager'!==_0x796e73});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x14e1f9){const {locale:_0x3c7be7}=this['editor'];return _0x14e1f9['map'](_0x471604=>{const _0x2b0c04=_(_0x3c7be7,_0x471604,'Insert');switch(_0x471604){case o['Local']:return{'icon':_0x584594,'type':o['Local'],..._0x2b0c04};case o['URL']:return{'icon':_0x5c1b0b,'type':o['URL'],..._0x2b0c04};case o['Dropbox']:return{'icon':_0x4f385e,'type':o['Dropbox'],..._0x2b0c04};case o['Facebook']:return{'icon':_0x3489c7,'type':o['Facebook'],..._0x2b0c04};case o['GDrive']:return{'icon':_0x502eb7,'type':o['GDrive'],..._0x2b0c04};case o['GPhotos']:return{'icon':_0x482beb,'type':o['GPhotos'],..._0x2b0c04};case o['OneDrive']:return{'icon':_0x448248,'type':o['OneDrive'],..._0x2b0c04};}});}['_getIntegrationKey'](_0x2576bb){switch(_0x2576bb){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x59e10b,_0x25b1f7){const _0x141fda=this['editor'],_0x4505d5=new _0x59e10b(_0x141fda['locale']),_0x5db78c=_0x141fda['commands']['get']('uploadcare');return _0x4505d5['bind']('isEnabled')['to'](_0x5db78c),_0x4505d5['on']('execute',()=>{_0x5db78c['execute'](_0x25b1f7);}),_0x4505d5;}['_createToolbarButton'](_0xf0b776){const {locale:_0x5d2a93}=this['editor'],_0x1ed6e8=this['editor']['plugins']['get']('ImageInsertUI'),_0x3d6892=_0xf0b776[0x0],_0x45f20a=this['_createButton'](_0x476c2a,_0x3d6892['type']);return _0x45f20a['icon']=_0x3d6892['icon'],_0x45f20a['bind']('label')['to'](_0x1ed6e8,'isImageSelected',_0x3f255d=>_(_0x5d2a93,_0x3d6892['type'],_0x3f255d?'Replace':'Insert')['text']),_0x45f20a['tooltip']=!0x0,_0x45f20a;}['_createDropdownButtons'](_0x3244f6){const {locale:_0x10c9f4}=this['editor'],_0x337453=this['editor']['plugins']['get']('ImageInsertUI');return _0x3244f6['map'](_0xb5bd10=>{const _0xf16371=this['_createButton'](_0x476c2a,_0xb5bd10['type']);return _0xf16371['withText']=!0x0,_0xf16371['icon']=_0xb5bd10['icon'],_0xf16371['bind']('label')['to'](_0x337453,'isImageSelected',_0xc287b3=>_(_0x10c9f4,_0xb5bd10['type'],_0xc287b3?'Replace':'Insert')['text']),_0xf16371;});}['_createMenuBarButtons'](_0x32c972){return _0x32c972['map'](_0xb40e7b=>{const _0xd84416=this['_createButton'](_0x28c7ac,_0xb40e7b['type']);return _0xd84416['icon']=_0xb40e7b['icon'],_0xd84416['label']=_0xb40e7b['shortText'],_0xd84416;});}}class q extends _0x149404{['focusTracker'];['focusCycler'];constructor(_0x3572c7){super(_0x3572c7),this['focusTracker']=new _0x404c06(),this['focusCycler']=new _0x347a40({'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(_0x7de267){super(_0x7de267),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(_0x230de0,_0x3c5a63){const _0x361b51=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1f9801=>_0x1f9801<=_0x3c5a63)['map'](_0x4d313c=>_0x230de0['replace'](/\/$/,'')+'/-/resize/'+_0x4d313c+'x/\x20'+_0x4d313c+'w');return{'imageFallbackUrl':_0x230de0,'imageSources':[{'srcset':_0x361b51['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3c5a63+'px)\x20100vw,\x20'+_0x3c5a63+'px','type':'image/webp'}]};}function A(_0xc9863b,_0x2eade1,_0x42a3c7){const _0x66d596=_0xc9863b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x66d596?parseInt(_0x66d596[0x1],0xa):_0x2eade1,'height':_0x66d596?parseInt(_0x66d596[0x2],0xa):_0x42a3c7};}function m(_0x130a4c,_0x3cb095){const _0x5e7883=Object['create'](_0x547cf7),_0x556922=_0x130a4c['plugins']['get']('ImageUtils'),_0x1d9e77=_0x130a4c['editing']['mapper']['toViewElement'](_0x3cb095),_0x57035d=_0x556922['findViewImgElement'](_0x1d9e77),_0x477c34=_0x130a4c['editing']['view']['domConverter']['viewToDom'](_0x57035d),_0x36a137=_0x3cb095['getAttribute']('width'),_0x52a5f0=_0x3cb095['getAttribute']('height'),_0x2760ef='image-processing';_0x130a4c['editing']['view']['change'](_0x4ef9d9=>{_0x4ef9d9['addClass'](_0x2760ef,_0x1d9e77),_0x4ef9d9['setStyle']('aspect-ratio',_0x36a137+'/'+_0x52a5f0,_0x57035d);}),_0x5e7883['listenTo'](_0x477c34,'load',()=>{_0x5e7883['stopListening'](_0x477c34,'load'),_0x130a4c['editing']['view']['change'](_0x44c8c8=>{_0x44c8c8['removeClass'](_0x2760ef,_0x1d9e77),_0x44c8c8['removeStyle']('aspect-ratio',_0x57035d);});});}function V(_0x4e3439){if(Array['isArray'](_0x4e3439)){const _0x1adf74=_0x4e3439['map'](V);return _0x3a4ab9=>_0x1adf74['some'](_0x4f1901=>_0x4f1901(_0x3a4ab9));}if('origin'==_0x4e3439){const _0x36bb79=_0x130db3['window']['location']['origin'];return _0x489c1b=>new URL(_0x489c1b,_0x130db3['document']['baseURI'])['origin']==_0x36bb79;}return'function'==typeof _0x4e3439?_0x4e3439:_0x4e3439 instanceof RegExp?_0x39ec83=>!(!_0x39ec83['match'](_0x4e3439)&&!_0x39ec83['replace'](/^https?:\/\//,'')['match'](_0x4e3439)):()=>!0x1;}function F(_0x7a8b2c,_0x420d89){return _0x202227(_0x7a8b2c['target'])['includes'](_0x420d89);}class l extends/* #__PURE__ -- @preserve */
24
+ _0xc9969b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x15dec9,_0x249fff,_0x1254f5){super(),this['_editor']=_0x15dec9,this['_editing']=_0x249fff,this['_dialog']=_0x15dec9['plugins']['get'](_0x536fd3),this['_api']=_0x249fff['ctxElement']['getAPI'](),this['_type']=_0x1254f5,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:_0xe80901,model:_0x21836c}=this['_editor'],_0x5bcaab=_0x21836c['document']['selection']['getSelectedElement'](),_0x1a15cf=_0x5bcaab&&(_0x5bcaab['is']('element','imageBlock')||_0x5bcaab['is']('element','imageInline'));this['_formView']=new S(_0xe80901),this['_dialog']['show']({'id':'uploadCare','icon':_0x584594,'title':_(_0xe80901,this['_type'],_0x1a15cf?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4da90c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1e9c55=>!F(_0x1e9c55,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x53adde}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x58a45e=>{const _0x3d12b1=_0x53adde['length'];for(const _0x78f5b4 of _0x53adde){const _0x40b746=_0x78f5b4===_0x53adde[_0x3d12b1-0x1],{cdnUrl:_0x534925,fileInfo:_0x39f2c4}=_0x78f5b4;if(!_0x534925||!_0x39f2c4)continue;const {width:_0x2df5a6,height:_0x35264e}=_0x39f2c4['imageInfo'],_0x510a28=A(_0x534925,_0x2df5a6,_0x35264e),_0x1e905d=E(_0x534925,_0x510a28['width']),_0x39f80f={'id':_0x39f2c4['uuid'],'type':'image','attributes':{'imageDimension':_0x510a28,..._0x1e905d}};this['_insertAsset'](_0x39f80f,_0x40b746,_0x58a45e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x64e3ad=>{'idle'===_0x64e3ad['detail']['status']&&!_0x64e3ad['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x300858,_0x6f928e,_0x51580f){const _0x26fec=this['_editor']['model']['document']['selection'],_0x329926=_0x26fec['getSelectedElement'](),_0x55f40d=!(!_0x329926||!_0x329926['is']('element','imageInline'));_0x51580f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x300858,_0x55f40d),_0x6f928e||_0x51580f['setSelection'](_0x26fec['getLastPosition']());}['_insertImage'](_0x2302fc,_0x8e5b2){const _0x4fea90=this['_editor'],{imageDimension:_0x22a7c2,imageFallbackUrl:_0x5c2127,imageSources:_0x46626a}=_0x2302fc['attributes'];_0x4fea90['execute']('insertImage',{'imageType':_0x8e5b2?'imageInline':null,'source':{'uploadcareImageId':_0x2302fc['id'],'src':_0x5c2127,'sources':_0x46626a,..._0x22a7c2}});}}class n extends _0x5e7094{['_editing'];['_controller']=null;static get['requires'](){return[_0x536fd3,i];}constructor(_0x23bd86){super(_0x23bd86),this['_editing']=_0x23bd86['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4b4d15){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x4b4d15);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x3ff8c8,publicKey:_0x201692,signal:_0x491d71,onProgress:_0x7555f5}){return _0x4c80cd(_0x3ff8c8,{'publicKey':_0x201692,'store':'auto','signal':_0x491d71,'onProgress':_0x7555f5});}static['getInfo'](_0x43e1d5,_0x58a0be){return _0x5875d5(_0x43e1d5,_0x58a0be);}}class p extends _0x79a8c5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4eefcf,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x384bf5=this['editor'];if(!!!_0x384bf5['config']['get']('uploadcare'))return;_0x384bf5['plugins']['get'](_0x4eefcf)['createUploadAdapter']=_0x318885=>new x(_0x318885,_0x384bf5),_0x384bf5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2b6a91,{imageElement:_0x5d4dce,data:_0x295435})=>{_0x384bf5['model']['change'](_0x545407=>{_0x545407['setAttribute']('uploadcareImageId',_0x295435['uploadcareImageId'],_0x5d4dce);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2504d2,_0x2e0edd){this['loader']=_0x2504d2,this['editor']=_0x2e0edd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x39ba26=this['editor']['config']['get']('uploadcare.pubkey'),_0x333586=await this['loader']['file'];return C['upload']({'file':_0x333586,'publicKey':_0x39ba26,'signal':this['controller']['signal'],'onProgress':_0x2501ec=>{_0x2501ec&&_0x2501ec['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2501ec['value']);}})['then'](async _0x30eee0=>{const {imageFallbackUrl:_0x2b6c64,imageSources:_0x364b5a}=E(_0x30eee0['cdnUrl'],_0x30eee0['imageInfo']['width']);return{'uploadcareImageId':_0x30eee0['uuid'],'default':_0x2b6c64,'sources':_0x364b5a};})['catch'](()=>{const _0x5c8d71=t('Cannot\x20upload\x20file:')+('\x20'+_0x333586['name']+'.');return Promise['reject'](_0x5c8d71);});}['abort'](){this['controller']['abort']();}}class i extends _0x79a8c5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x536fd3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5e8bf3=this['editor'];_0x5e8bf3['commands']['add']('uploadcare',new n(_0x5e8bf3));}['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 _0x417d3e=_0x130db3['document']['querySelector']('input[uploadcare-file-input]');_0x417d3e&&_0x417d3e['remove']();}),async function(_0x5e27f0){const _0x1c75cb=_0x437d8b([0x4f,0x79,0x71,0x46,0x6d,0x30,0x65,0x38,0x6c,0x70,0x64,0x6f,0x75,0x72,0x61,0x55,0x68,0x4a,0x35,0x53,0x36,0x5a,0x69,0x54,0x6a,0x6e,0x59,0x33,0x51,0x44,0x42,0x4d,0x32,0x78,0x49,0x47,0x58,0x77,0x4c,0x57,0x76,0x34,0x56,0x31,0x39,0x66,0x67,0x41,0x45,0x63,0x48,0x50,0x4b,0x74,0x37,0x6b,0x73,0x4e,0x43,0x52,0x7a,0x62]),_0x1e820b=0x600340b6,_0x26e0cb=0x600427a6^_0x1e820b,_0x307699=window[_0x437d8b([0x44,0x61,0x74,0x65])][_0x437d8b([0x6e,0x6f,0x77])](),_0x329841=_0x5e27f0[_0x437d8b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19f3e5=new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10bf79=>{_0x329841[_0x437d8b([0x6f,0x6e,0x63,0x65])](_0x437d8b([0x72,0x65,0x61,0x64,0x79]),_0x10bf79);}),_0x5130d3={[_0x437d8b([0x6b,0x74,0x79])]:_0x437d8b([0x45,0x43]),[_0x437d8b([0x75,0x73,0x65])]:_0x437d8b([0x73,0x69,0x67]),[_0x437d8b([0x63,0x72,0x76])]:_0x437d8b([0x50,0x2d,0x32,0x35,0x36]),[_0x437d8b([0x78])]:_0x437d8b([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]),[_0x437d8b([0x79])]:_0x437d8b([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]),[_0x437d8b([0x61,0x6c,0x67])]:_0x437d8b([0x45,0x53,0x32,0x35,0x36])},_0x434703=_0x329841[_0x437d8b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x437d8b([0x67,0x65,0x74])](_0x437d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5696f7(){let _0x5dade9,_0x26d135=null,_0xc405bf=null;try{if(_0x434703==_0x437d8b([0x47,0x50,0x4c]))return _0x437d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dade9=_0x435d7b(),!_0x5dade9)return _0x437d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dade9[_0x437d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc405bf=_0x3cc238(_0x5dade9[_0x437d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dade9[_0x437d8b([0x6a,0x74,0x69])])),await _0x2d387b()?_0x44de84()?_0x372d8b()?_0x437d8b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x511f71()?(_0x5dade9[_0x437d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x437d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26d135=_0xc5c94b(_0x437d8b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dade9[_0x437d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x437d8b([0x74,0x72,0x69,0x61,0x6c])&&(_0x26d135=_0xc5c94b(_0x437d8b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf6057e()):_0x437d8b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x437d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x437d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x333046){return _0x437d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x372d8b(){const _0x36e514=[_0x437d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x437d8b([0x74,0x72,0x69,0x61,0x6c])][_0x437d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dade9[_0x437d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x307699/0x3e8:0xe10*_0x26e0cb;return _0x5dade9[_0x437d8b([0x65,0x78,0x70])]<_0x36e514;}function _0x44de84(){const _0x477369=_0x5dade9[_0x437d8b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x477369&&(!!_0x477369[_0x437d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437d8b([0x2a]))||!!_0x477369[_0x437d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437d8b([0x55,0x50,0x4c,0x43])));}function _0x511f71(){const _0x3864f1=_0x5dade9[_0x437d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3864f1||0x0==_0x3864f1[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23ea00}=new URL(window[_0x437d8b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3864f1[_0x437d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23ea00))return!0x0;const _0xe0b042=_0x23ea00[_0x437d8b([0x73,0x70,0x6c,0x69,0x74])](_0x437d8b([0x2e]));return _0x3864f1[_0x437d8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50bf02=>_0x50bf02[_0x437d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437d8b([0x2a])))[_0x437d8b([0x6d,0x61,0x70])](_0x5494bd=>_0x5494bd[_0x437d8b([0x73,0x70,0x6c,0x69,0x74])](_0x437d8b([0x2e])))[_0x437d8b([0x73,0x6f,0x6d,0x65])](_0x17ac59=>_0xe0b042[_0x437d8b([0x65,0x76,0x65,0x72,0x79])]((_0x5dfe86,_0x6fd964)=>_0x17ac59[_0x6fd964]===_0x5dfe86||_0x17ac59[_0x6fd964]===_0x437d8b([0x2a])));}function _0xf6057e(){return _0x26d135&&_0xc405bf?new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cde44,_0x17365a)=>{_0x26d135[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x1cde44,_0x17365a),_0xc405bf[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x80b34d=>{_0x80b34d!=_0x437d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x1cde44(_0x80b34d);},_0x17365a);}):_0x26d135||_0xc405bf||_0x437d8b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cc238(_0x414f74,_0x11c01c){return new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435424=>{if(_0x2fbbbe())return _0x435424(_0x437d8b([0x56,0x61,0x6c,0x69,0x64]));_0xafbfda(),_0x329841[_0x437d8b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x437d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5712e0=!0x1;const _0x4873da=_0x36b187();function _0x4584a2(_0x8fd704){return!!_0x8fd704&&(typeof _0x8fd704===_0x437d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8fd704===_0x437d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8fd704[_0x437d8b([0x74,0x68,0x65,0x6e])]===_0x437d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8fd704[_0x437d8b([0x63,0x61,0x74,0x63,0x68])]===_0x437d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x415478(_0x3aa8c4){_0x218e55(_0x3aa8c4)[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x161611=>{if(!_0x161611||_0x161611[_0x437d8b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x437d8b([0x6f,0x6b]))return _0x437d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57f033(_0x459c3a(_0x4873da+_0x11c01c))!=_0x161611[_0x437d8b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x437d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x437d8b([0x56,0x61,0x6c,0x69,0x64]);})[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x4fce7b=>(_0x4a0cc1(),_0x4fce7b),()=>{const _0x21959c=_0x149751();return null==_0x21959c?(_0x4a0cc1(),_0x437d8b([0x56,0x61,0x6c,0x69,0x64])):_0x437d8b(_0x307699-_0x21959c>(0x440fc4b6^_0x1e820b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x435424)[_0x437d8b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x435424(_0x437d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50751b=0x6035ae36^_0x1e820b;function _0x4a0cc1(){const _0x14e90a=_0x437d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57f033(_0x459c3a(_0x414f74)),_0x51ed03=_0x143a71(_0x57f033(window[_0x437d8b([0x4d,0x61,0x74,0x68])][_0x437d8b([0x63,0x65,0x69,0x6c])](_0x307699/_0x50751b)));window[_0x437d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x437d8b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14e90a,_0x51ed03);}function _0x149751(){const _0xc6acd4=_0x437d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x57f033(_0x459c3a(_0x414f74)),_0x5ccd4d=window[_0x437d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x437d8b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc6acd4);return _0x5ccd4d?window[_0x437d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x143a71(_0x5ccd4d),0x10)*_0x50751b:null;}function _0x218e55(_0x41025a){return new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1536ce,_0x3dddf5)=>{_0x41025a[_0x437d8b([0x74,0x68,0x65,0x6e])](_0x1536ce,_0x3dddf5),window[_0x437d8b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dddf5,0x60029476^_0x1e820b);});}}_0x329841[_0x437d8b([0x6f,0x6e])](_0x437d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f704d,_0x25eb41)=>{if(_0x25eb41[0x0]!=_0x414f74)return _0x435424(_0x437d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25eb41[0x1]={..._0x25eb41[0x1],[_0x437d8b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4873da};},{[_0x437d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x437d8b([0x68,0x69,0x67,0x68])}),_0x329841[_0x437d8b([0x6f,0x6e])](_0x437d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20b572=>{_0x4584a2(_0x20b572[_0x437d8b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5712e0=!0x0,_0x415478(_0x20b572[_0x437d8b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x437d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x437d8b([0x6c,0x6f,0x77])}),_0x19f3e5[_0x437d8b([0x74,0x68,0x65,0x6e])](()=>{_0x5712e0||_0x435424(_0x437d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fbbbe(){return _0x329841[_0x437d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x437d8b([0x76,0x69,0x65,0x77])][_0x437d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x437d8b([0x61,0x75,0x74,0x6f]);}function _0xafbfda(){_0x329841[_0x437d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x437d8b([0x76,0x69,0x65,0x77])][_0x437d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x437d8b([0x61,0x75,0x74,0x6f]);}}function _0xc5c94b(_0x496213){const _0x416b21=[new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a362=>setTimeout(_0x44a362,0x600a7e7a^_0x1e820b)),_0x19f3e5[_0x437d8b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a039=>{let _0x3afc8b=0x0;_0x329841[_0x437d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x437d8b([0x6f,0x6e])](_0x437d8b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f708d,_0x238735)=>{_0x238735[0x0][_0x437d8b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3afc8b++,_0x3afc8b==(0x6003414e^_0x1e820b)&&(_0x44a039(),_0x4f708d[_0x437d8b([0x6f,0x66,0x66])]());});}))];return window[_0x437d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x437d8b([0x72,0x61,0x63,0x65])](_0x416b21)[_0x437d8b([0x74,0x68,0x65,0x6e])](()=>_0x496213);}async function _0x40f4dc(){await _0x19f3e5,_0x329841[_0x437d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x437d8b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e6af4,_0x329841[_0x437d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x437d8b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e6af4,_0x329841[_0x437d8b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x437d8b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53288a(_0x5d1984){const _0x2665b1=_0x177676();_0x329841[_0x2665b1]=_0x437d8b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d1984,_0x5d1984!=_0x437d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x40f4dc();}function _0x177676(){const _0x2c6e3f=window[_0x437d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x437d8b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x437d8b([0x6e,0x6f,0x77])]())[_0x437d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x437d8b([0x2e]),'');let _0x541abe=_0x437d8b([0x4f]);for(let _0x2e04c7=0x0;_0x2e04c7<_0x2c6e3f[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e04c7+=0x2){let _0x5c8521=window[_0x437d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c6e3f[_0x437d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e04c7,_0x2e04c7+0x2));_0x5c8521>=_0x1c75cb[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c8521-=_0x1c75cb[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x541abe+=_0x1c75cb[_0x5c8521];}return _0x541abe;}function _0x435d7b(){const _0x5c957e=_0x434703[_0x437d8b([0x73,0x70,0x6c,0x69,0x74])](_0x437d8b([0x2e]));if(0x3!=_0x5c957e[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dffcd(_0x5c957e[0x1]);function _0x4dffcd(_0xbe26b6){const _0x4a3a57=_0x54980c(_0xbe26b6);return _0x4a3a57&&_0x3d9d19()?_0x4a3a57:null;function _0x3d9d19(){const _0x852717=_0x4a3a57[_0x437d8b([0x6a,0x74,0x69])],_0xedb816=window[_0x437d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x852717[_0x437d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x852717[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57f8f9={..._0x4a3a57,[_0x437d8b([0x6a,0x74,0x69])]:_0x852717[_0x437d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x852717[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57f8f9[_0x437d8b([0x76,0x63])],_0x459c3a(_0x57f8f9)==_0xedb816;}}}async function _0x2d387b(){let _0x293d7b=!0x0;try{const _0x48874c=_0x434703[_0x437d8b([0x73,0x70,0x6c,0x69,0x74])](_0x437d8b([0x2e])),[_0x848ee5,_0x12ce39,_0x3dcec7]=_0x48874c;return _0x2beae2(_0x848ee5),await _0x3f9b98(_0x848ee5,_0x12ce39,_0x3dcec7),_0x293d7b;}catch(_0x1c1f6c){return!0x1;}function _0x2beae2(_0x467ff0){const _0x1b5fbc=_0x54980c(_0x467ff0);_0x1b5fbc&&_0x1b5fbc[_0x437d8b([0x61,0x6c,0x67])]==_0x437d8b([0x45,0x53,0x32,0x35,0x36])||(_0x293d7b=!0x1);}async function _0x3f9b98(_0x188857,_0x2c647e,_0x42ac24){const _0x264b20=window[_0x437d8b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x437d8b([0x66,0x72,0x6f,0x6d])](_0x9d7117(_0x42ac24),_0x5d9b87=>_0x5d9b87[_0x437d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a4ec7=new window[(_0x437d8b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x437d8b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x188857+_0x437d8b([0x2e])+_0x2c647e),_0x2d26a5=window[_0x437d8b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x437d8b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d26a5)return;const _0x5e11e1=await _0x2d26a5[_0x437d8b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x437d8b([0x6a,0x77,0x6b]),_0x5130d3,{[_0x437d8b([0x6e,0x61,0x6d,0x65])]:_0x437d8b([0x45,0x43,0x44,0x53,0x41]),[_0x437d8b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x437d8b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x437d8b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d26a5[_0x437d8b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x437d8b([0x6e,0x61,0x6d,0x65])]:_0x437d8b([0x45,0x43,0x44,0x53,0x41]),[_0x437d8b([0x68,0x61,0x73,0x68])]:{[_0x437d8b([0x6e,0x61,0x6d,0x65])]:_0x437d8b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e11e1,_0x264b20,_0x7a4ec7)||(_0x293d7b=!0x1);}}function _0x54980c(_0x54c1d6){return _0x54c1d6[_0x437d8b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x437d8b([0x65,0x79]))?JSON[_0x437d8b([0x70,0x61,0x72,0x73,0x65])](_0x9d7117(_0x54c1d6)):null;}function _0x9d7117(_0x1e07ad){return window[_0x437d8b([0x61,0x74,0x6f,0x62])](_0x1e07ad[_0x437d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x437d8b([0x2b]))[_0x437d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x437d8b([0x2f])));}function _0x459c3a(_0x2faeb6){let _0x487619=0x1505;function _0x5044b9(_0x5ca67e){for(let _0x194b40=0x0;_0x194b40<_0x5ca67e[_0x437d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x194b40++){const _0x3efb92=_0x5ca67e[_0x437d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x194b40);_0x487619=(_0x487619<<0x5)+_0x487619+_0x3efb92,_0x487619&=_0x487619;}}function _0x1e7b91(_0xf6925a){Array[_0x437d8b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf6925a)?_0xf6925a[_0x437d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e7b91):_0xf6925a&&typeof _0xf6925a==_0x437d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x437d8b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf6925a)[_0x437d8b([0x73,0x6f,0x72,0x74])]()[_0x437d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a0f40,_0x1c2337])=>{_0x5044b9(_0x5a0f40),_0x1e7b91(_0x1c2337);}):_0x5044b9(window[_0x437d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf6925a));}return _0x1e7b91(_0x2faeb6),_0x487619>>>0x0;}function _0x57f033(_0x46670f){return _0x46670f[_0x437d8b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x437d8b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x437d8b([0x30]));}function _0x143a71(_0x3fca0b){return _0x3fca0b[_0x437d8b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x437d8b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x437d8b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e6af4(){}function _0x437d8b(_0x193a22){return _0x193a22['map'](_0x1eafae=>String['fromCharCode'](_0x1eafae))['join']('');}_0x53288a(await _0x5696f7());}(this);}['_initSchema'](){const _0x245c77=this['editor']['model']['schema'];_0x245c77['isRegistered']('imageBlock')&&_0x245c77['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x245c77['isRegistered']('imageInline')&&_0x245c77['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x12a727=this['editor'];_0x12a727['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x12a727['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x30eed2=>_0x30eed2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x480386=_0x12a727['commands']['get']('replaceImageSource');_0x480386&&this['listenTo'](_0x480386,'cleanupImage',(_0x404da8,[_0x32448b,_0x17f8de])=>{_0x32448b['removeAttribute']('uploadcareImageId',_0x17f8de);});}['_initConfig'](){const _0x21bff6=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5ca9f6=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x54f883(_0x130db3['document'],'uc-config',{..._0x21bff6,'pubkey':_0x5ca9f6,'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']=_0x3abbef=>{if('closeMax'==_0x3abbef)return'#uc-icon-arrow-down';},_0x130db3['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x54f883(_0x130db3['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x130db3['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x524fc0=this['editor']['commands']['get']('insertImage');_0x524fc0&&this['listenTo'](_0x524fc0,'execute',()=>{const _0x4caed1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4caed1&&_0x4caed1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4caed1);});});const _0x4bfa76=this['editor']['commands']['get']('uploadcareImageReplace');_0x4bfa76&&this['listenTo'](_0x4bfa76,'execute',()=>{const _0x1a96a9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a96a9&&_0x1a96a9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1a96a9);});});}}class u extends _0x79a8c5{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x15fb0e){super(_0x15fb0e),_0x15fb0e['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4818de['defineComponents'](_0x4818de);}}class ta extends _0x149404{constructor(_0x173669){super(_0x173669);const t=_0x173669['t'],_0x1ce64e=this['bindTemplate'],_0x354057=new _0x37a556();_0x354057['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':[_0x354057,{'text':_0x1ce64e['to']('imageUploadProgress',_0x4a5edd=>t('Loading\x20image...')+'\x20('+(_0x4a5edd||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 _0x149404{constructor(_0x327255){super(_0x327255);const t=_0x327255['t'];this['set']('errorType',null);const _0x3095b6=new _0x476c2a(_0x327255);_0x3095b6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3095b6['withText']=!0x0,_0x3095b6['class']='ck-button-action',_0x3095b6['on']('execute',()=>{this['fire']('retry');}),_0x3095b6['bind']('isVisible')['to'](this,'errorType',_0x40818b=>'NotFound'!==_0x40818b);const _0x4f2760=new at();_0x4f2760['content']=et,_0x4f2760['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17193f=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':[_0x4f2760,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17193f['to']('errorType',_0x2b5ac7=>t('NotFound'!==_0x2b5ac7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3095b6]},{'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 _0x149404{constructor(_0x8552b5,_0x2aaca3){super(_0x8552b5);const _0x2ec16f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2aaca3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2ec16f['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xf0e7ff,_0x50f89a,_0x539c8f){super(_0xf0e7ff),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0xf0e7ff),this['_errorView']=new rt(_0xf0e7ff),this['_editingView']=new tt(_0xf0e7ff,_0x539c8f),this['_focusableView']=new _0x149404(_0xf0e7ff),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x50f89a),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'],_0x39f078=>{this['_addUploadcareImageEditorListeners'](_0x39f078);});}),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'](_0x47ae90,_0x202135){const _0x46011f='uc-cloud-image-editor',_0x4f1878=_0x47ae90['querySelector'](_0x46011f);if(_0x4f1878)return _0x202135(_0x4f1878);const _0xa0c2c2=new MutationObserver(_0x392e15=>{const _0x4937c2=_0x392e15['filter'](_0x552a14=>_0x552a14['target']===_0x47ae90&&_0x552a14['addedNodes']['length']>0x0&&_0x552a14['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x46011f);_0x4937c2['length']&&(_0xa0c2c2['disconnect'](),_0x202135(_0x4937c2[0x0]['addedNodes'][0x0]));});_0xa0c2c2['observe'](_0x47ae90,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x74344e){_0x74344e['addEventListener']('apply',_0x14d05e=>{this['fire']('apply',{'imageSrc':_0x14d05e['detail']['cdnUrl']});}),_0x74344e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0xc9969b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x415176,_0x24c53f,_0x3e102b){super(),this['_editor']=_0x415176,this['_dialog']=_0x24c53f,this['_imageElement']=_0x3e102b,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 _0x2c4145=this['_imageElement'],_0x2f69c8=_0x2c4145['getAttribute']('uploadcareImageId'),_0x34c8cc=_0x2c4145['getAttribute']('src');if(_0x2f69c8)await this['_loadImageInfo'](_0x2f69c8,_0x34c8cc);else{if(this['_imageCache']['has'](_0x34c8cc)){const _0x17383f=this['_imageCache']['get'](_0x34c8cc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17383f['url'],this['imageDimension']=_0x17383f['dimension'],this['imageId']=_0x17383f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x45f287}=this['_editor'],t=_0x45f287['t'],_0x1cdd2a=new Z(_0x45f287,this['imageStatus'],this['_attributes']);_0x1cdd2a['bind']('status')['to'](this,'imageStatus'),_0x1cdd2a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1cdd2a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1cdd2a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1cdd2a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x162254,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1cdd2a,'position':_0x4da90c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1cdd2a['focus']();},'onHide':()=>{_0x1cdd2a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x456173=>!F(_0x456173,_0x1cdd2a['element'])}});}['_loadImageInfo'](_0x3d3d3b,_0x288a2f){return C['getInfo'](_0x3d3d3b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x42f3cd=>{const {width:_0xdbdc03,height:_0x53b35b}=_0x42f3cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x288a2f,this['imageDimension']={'width':_0xdbdc03,'height':_0x53b35b},this['imageId']=_0x3d3d3b;})['catch'](_0x30072b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30072b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x31866d,_0x2ac5ca){return this['_getImageAsFile'](_0x31866d)['then'](_0x5238c8=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2ac5ca['signal'],'file':_0x5238c8,'onProgress':_0x5e2156=>{_0x5e2156&&_0x5e2156['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e2156['value']));}}))['then'](_0x2b6982=>{const {width:_0x3dab3d,height:_0x2703fb}=_0x2b6982['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b6982['cdnUrl'],this['imageDimension']={'width':_0x3dab3d,'height':_0x2703fb},this['imageId']=_0x2b6982['uuid'],this['imageUploadProgress']=null;const _0x38f5dc=_0x31866d['getAttribute']('src');this['_imageCache']['set'](_0x38f5dc,{'id':_0x2b6982['uuid'],'url':_0x2b6982['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d299f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d299f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a3fc8,_0x558de9){_0x2a3fc8['on']('apply',(_0x51266c,_0x526b89)=>{this['_replaceImage'](_0x558de9,_0x526b89['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a3fc8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a3fc8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53bded,_0x121fde,_0x2f4efc){const _0x5c3fb2=this['_editor'],{width:_0x431d4e,height:_0x16aff6}=A(_0x121fde,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2488ef,imageSources:_0x5af3ce}=E(_0x121fde,_0x431d4e);_0x5c3fb2['model']['change'](_0x56e569=>{if('$graveyard'===_0x53bded['root']['rootName']){_0x5c3fb2['execute']('insertImage',{'imageType':_0x53bded['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53bded['getAttributes']()),'uploadcareImageId':_0x2f4efc,'src':_0x2488ef,'sources':_0x5af3ce,'width':_0x431d4e,'height':_0x16aff6}});const _0x266a7e=_0x53bded['getChildren']();_0x53bded=_0x5c3fb2['model']['document']['selection']['getSelectedElement']();for(const _0x2fadc3 of _0x266a7e)_0x56e569['append'](_0x56e569['cloneElement'](_0x2fadc3),_0x53bded);}else _0x56e569['setSelection'](_0x53bded,'on'),_0x5c3fb2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53bded['getAttributes']()),'uploadcareImageId':_0x2f4efc,'src':_0x2488ef,'sources':_0x5af3ce,'width':_0x431d4e,'height':_0x16aff6},_0x53bded);_0x56e569['setSelection'](_0x53bded,'on');});}async['_getImageAsFile'](_0x52247a){const _0x3f89ab=_0x130db3['window'],_0x39e817=_0x130db3['document']['location']['href'],_0x5c9468=new _0x3f89ab['URL'](_0x52247a['getAttribute']('src'),_0x39e817);if('data:'===_0x5c9468['protocol']){const _0x29b258=_0x5c9468['href']['split'](','),_0x160a88=_0x29b258[0x0]['match'](/:(.*?);/)[0x1],_0x225919=_0x160a88['split']('/')[0x1],_0x3354ea=_0x3f89ab['atob'](_0x29b258[_0x29b258['length']-0x1]);let _0x223064=_0x3354ea['length'];const _0x38f91b=new _0x3f89ab['Uint8Array'](_0x223064);for(;_0x223064--;)_0x38f91b[_0x223064]=_0x3354ea['charCodeAt'](_0x223064);return new _0x3f89ab['File']([_0x38f91b],'image.'+_0x225919,{'type':_0x160a88});}const _0x32d8d5=_0x5c9468['href']['split']('/'),_0x383d3d=_0x32d8d5[_0x32d8d5['length']-0x1],_0x2c7208=_0x383d3d['split']('.')[0x1];return _0x3f89ab['fetch'](_0x5c9468['href'])['then'](_0x26af54=>_0x26af54['clone']()['blob']())['then'](_0x59c332=>new _0x3f89ab['File']([_0x59c332],_0x383d3d,{'type':'image/'+_0x2c7208}));}}class J extends _0x5e7094{['imageEditController'];static get['requires'](){return[_0x536fd3];}['_isEditable'];constructor(_0xb63607){super(_0xb63607),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3b8cbe){const _0x8c06f3=V(_0x3b8cbe);return _0x27a8b9=>!(!_0x27a8b9||!_0x27a8b9['is']('element','imageBlock')&&!_0x27a8b9['is']('element','imageInline'))&&(!!_0x27a8b9['hasAttribute']('uploadcareImageId')||!!_0x27a8b9['hasAttribute']('src')&&_0x8c06f3(_0x27a8b9['getAttribute']('src')));}(_0xb63607['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xd6986a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xd6986a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2d44ee=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d44ee&&(_0x2d44ee['is']('element','imageBlock')||_0x2d44ee['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x536fd3),_0x2d44ee),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x5e7094{['refresh'](){const _0xe01e88=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xe01e88&&(_0xe01e88['is']('element','imageBlock')||_0xe01e88['is']('element','imageInline')));}['execute'](_0x446e3b){const _0x3a0f2d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x13c7f1=>{_0x13c7f1['setAttributes'](_0x446e3b,_0x3a0f2d),_0x13c7f1['removeAttribute']('srcset',_0x3a0f2d),_0x13c7f1['removeAttribute']('sizes',_0x3a0f2d);});}}class g extends _0x79a8c5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x717c84,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x235736}=this;_0x235736['commands']['add']('uploadcareImageEdit',new J(_0x235736)),_0x235736['commands']['add']('uploadcareImageReplace',new O(_0x235736));}}class j extends _0x79a8c5{['_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 _0x1b5461=this['editor'];_0x1b5461['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1fa7b5=>{const _0x2e5898=_0x1b5461['commands']['get']('uploadcareImageEdit'),_0x36e561=new _0x476c2a(_0x1fa7b5),t=_0x1fa7b5['t'];return _0x36e561['set']({'icon':_0x162254,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x36e561['bind']('isEnabled')['to'](_0x2e5898),_0x36e561['bind']('isOn')['to'](_0x2e5898,'isActive'),this['listenTo'](_0x36e561,'execute',()=>{_0x1b5461['execute']('uploadcareImageEdit'),_0x1b5461['editing']['view']['focus']();}),_0x36e561;}),this['_initConfig']();}['_initConfig'](){const _0x439cc6=_0x54f883(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x439cc6),this['listenTo'](this['editor'],'destroy',()=>{_0x439cc6['remove']();});}}class P extends _0x79a8c5{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':_0x374187=>0x1!=_0x374187}};
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':_0x1a7902=>0x1!=_0x1a7902}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x418190=>{const {af:{dictionary:_0x186e50,getPluralForm:_0x475142}}={'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':_0xa9024=>0x1!=_0xa9024}};_0x418190['af']||={'dictionary':{},'getPluralForm':null},_0x418190['af']['dictionary']=Object['assign'](_0x418190['af']['dictionary'],_0x186e50),_0x418190['af']['getPluralForm']=_0x475142;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d5e45=>{const {af:{dictionary:_0x1fcc4b,getPluralForm:_0x24ded6}}={'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':_0x5c6a12=>0x1!=_0x5c6a12}};_0x5d5e45['af']||={'dictionary':{},'getPluralForm':null},_0x5d5e45['af']['dictionary']=Object['assign'](_0x5d5e45['af']['dictionary'],_0x1fcc4b),_0x5d5e45['af']['getPluralForm']=_0x24ded6;})(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':_0x2111b4=>0x0==_0x2111b4?0x0:0x1==_0x2111b4?0x1:0x2==_0x2111b4?0x2:_0x2111b4%0x64>=0x3&&_0x2111b4%0x64<=0xa?0x3:_0x2111b4%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':_0x138d9d=>0x0==_0x138d9d?0x0:0x1==_0x138d9d?0x1:0x2==_0x138d9d?0x2:_0x138d9d%0x64>=0x3&&_0x138d9d%0x64<=0xa?0x3:_0x138d9d%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa58aeb=>{const {ar:{dictionary:_0x2cdf7a,getPluralForm:_0x4925d2}}={'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':_0x1301bc=>0x0==_0x1301bc?0x0:0x1==_0x1301bc?0x1:0x2==_0x1301bc?0x2:_0x1301bc%0x64>=0x3&&_0x1301bc%0x64<=0xa?0x3:_0x1301bc%0x64>=0xb?0x4:0x5}};_0xa58aeb['ar']||={'dictionary':{},'getPluralForm':null},_0xa58aeb['ar']['dictionary']=Object['assign'](_0xa58aeb['ar']['dictionary'],_0x2cdf7a),_0xa58aeb['ar']['getPluralForm']=_0x4925d2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f496a=>{const {ar:{dictionary:_0xfca76d,getPluralForm:_0x16bedc}}={'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':_0x2f2550=>0x0==_0x2f2550?0x0:0x1==_0x2f2550?0x1:0x2==_0x2f2550?0x2:_0x2f2550%0x64>=0x3&&_0x2f2550%0x64<=0xa?0x3:_0x2f2550%0x64>=0xb?0x4:0x5}};_0x1f496a['ar']||={'dictionary':{},'getPluralForm':null},_0x1f496a['ar']['dictionary']=Object['assign'](_0x1f496a['ar']['dictionary'],_0xfca76d),_0x1f496a['ar']['getPluralForm']=_0x16bedc;})(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':_0x427b59=>0x1!=_0x427b59}};
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':_0x27c6b8=>0x1!=_0x27c6b8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48c616=>{const {ast:{dictionary:_0x5a8f6d,getPluralForm:_0x159d7b}}={'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':_0x3f3c53=>0x1!=_0x3f3c53}};_0x48c616['ast']||={'dictionary':{},'getPluralForm':null},_0x48c616['ast']['dictionary']=Object['assign'](_0x48c616['ast']['dictionary'],_0x5a8f6d),_0x48c616['ast']['getPluralForm']=_0x159d7b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4773ec=>{const {ast:{dictionary:_0x2e0560,getPluralForm:_0x5cde19}}={'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':_0x1a855a=>0x1!=_0x1a855a}};_0x4773ec['ast']||={'dictionary':{},'getPluralForm':null},_0x4773ec['ast']['dictionary']=Object['assign'](_0x4773ec['ast']['dictionary'],_0x2e0560),_0x4773ec['ast']['getPluralForm']=_0x5cde19;})(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':_0x3b92cc=>0x1!=_0x3b92cc}};
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':_0x150ae7=>0x1!=_0x150ae7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f17a2=>{const {az:{dictionary:_0x4d96af,getPluralForm:_0x59ff14}}={'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':_0x4092bd=>0x1!=_0x4092bd}};_0x2f17a2['az']||={'dictionary':{},'getPluralForm':null},_0x2f17a2['az']['dictionary']=Object['assign'](_0x2f17a2['az']['dictionary'],_0x4d96af),_0x2f17a2['az']['getPluralForm']=_0x59ff14;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26ded8=>{const {az:{dictionary:_0x55fed8,getPluralForm:_0x443b91}}={'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':_0x46b062=>0x1!=_0x46b062}};_0x26ded8['az']||={'dictionary':{},'getPluralForm':null},_0x26ded8['az']['dictionary']=Object['assign'](_0x26ded8['az']['dictionary'],_0x55fed8),_0x26ded8['az']['getPluralForm']=_0x443b91;})(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':_0x537bf2=>_0x537bf2%0xa==0x1&&_0x537bf2%0x64!=0xb?0x0:_0x537bf2%0xa>=0x2&&_0x537bf2%0xa<=0x4&&(_0x537bf2%0x64<0xa||_0x537bf2%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':_0x144274=>_0x144274%0xa==0x1&&_0x144274%0x64!=0xb?0x0:_0x144274%0xa>=0x2&&_0x144274%0xa<=0x4&&(_0x144274%0x64<0xa||_0x144274%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d3d78=>{const {be:{dictionary:_0x1dc916,getPluralForm:_0xee2be1}}={'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':_0x4dfe90=>_0x4dfe90%0xa==0x1&&_0x4dfe90%0x64!=0xb?0x0:_0x4dfe90%0xa>=0x2&&_0x4dfe90%0xa<=0x4&&(_0x4dfe90%0x64<0xa||_0x4dfe90%0x64>=0x14)?0x1:0x2}};_0x5d3d78['be']||={'dictionary':{},'getPluralForm':null},_0x5d3d78['be']['dictionary']=Object['assign'](_0x5d3d78['be']['dictionary'],_0x1dc916),_0x5d3d78['be']['getPluralForm']=_0xee2be1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x86f22b=>{const {be:{dictionary:_0x510472,getPluralForm:_0x3163bc}}={'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':_0x13cad9=>_0x13cad9%0xa==0x1&&_0x13cad9%0x64!=0xb?0x0:_0x13cad9%0xa>=0x2&&_0x13cad9%0xa<=0x4&&(_0x13cad9%0x64<0xa||_0x13cad9%0x64>=0x14)?0x1:0x2}};_0x86f22b['be']||={'dictionary':{},'getPluralForm':null},_0x86f22b['be']['dictionary']=Object['assign'](_0x86f22b['be']['dictionary'],_0x510472),_0x86f22b['be']['getPluralForm']=_0x3163bc;})(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':_0x3c378d=>0x1!=_0x3c378d}};
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':_0x48f857=>0x1!=_0x48f857}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22ed87=>{const {bg:{dictionary:_0x49f9b7,getPluralForm:_0x2c1334}}={'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':_0x20cf31=>0x1!=_0x20cf31}};_0x22ed87['bg']||={'dictionary':{},'getPluralForm':null},_0x22ed87['bg']['dictionary']=Object['assign'](_0x22ed87['bg']['dictionary'],_0x49f9b7),_0x22ed87['bg']['getPluralForm']=_0x2c1334;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26326b=>{const {bg:{dictionary:_0x36250c,getPluralForm:_0x1739d5}}={'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':_0x29fe6b=>0x1!=_0x29fe6b}};_0x26326b['bg']||={'dictionary':{},'getPluralForm':null},_0x26326b['bg']['dictionary']=Object['assign'](_0x26326b['bg']['dictionary'],_0x36250c),_0x26326b['bg']['getPluralForm']=_0x1739d5;})(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':_0x3bca43=>0x1!=_0x3bca43}};
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':_0x25bae1=>0x1!=_0x25bae1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31e9ad=>{const {bn:{dictionary:_0x576a7b,getPluralForm:_0x1edb74}}={'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':_0x459600=>0x1!=_0x459600}};_0x31e9ad['bn']||={'dictionary':{},'getPluralForm':null},_0x31e9ad['bn']['dictionary']=Object['assign'](_0x31e9ad['bn']['dictionary'],_0x576a7b),_0x31e9ad['bn']['getPluralForm']=_0x1edb74;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33bf7a=>{const {bn:{dictionary:_0xebf6bc,getPluralForm:_0x425b14}}={'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':_0x50a69e=>0x1!=_0x50a69e}};_0x33bf7a['bn']||={'dictionary':{},'getPluralForm':null},_0x33bf7a['bn']['dictionary']=Object['assign'](_0x33bf7a['bn']['dictionary'],_0xebf6bc),_0x33bf7a['bn']['getPluralForm']=_0x425b14;})(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':_0x8b501a=>_0x8b501a%0xa==0x1&&_0x8b501a%0x64!=0xb?0x0:_0x8b501a%0xa>=0x2&&_0x8b501a%0xa<=0x4&&(_0x8b501a%0x64<0xa||_0x8b501a%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':_0x1ed758=>_0x1ed758%0xa==0x1&&_0x1ed758%0x64!=0xb?0x0:_0x1ed758%0xa>=0x2&&_0x1ed758%0xa<=0x4&&(_0x1ed758%0x64<0xa||_0x1ed758%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12daca=>{const {bs:{dictionary:_0x5622c4,getPluralForm:_0x238f09}}={'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':_0x494641=>_0x494641%0xa==0x1&&_0x494641%0x64!=0xb?0x0:_0x494641%0xa>=0x2&&_0x494641%0xa<=0x4&&(_0x494641%0x64<0xa||_0x494641%0x64>=0x14)?0x1:0x2}};_0x12daca['bs']||={'dictionary':{},'getPluralForm':null},_0x12daca['bs']['dictionary']=Object['assign'](_0x12daca['bs']['dictionary'],_0x5622c4),_0x12daca['bs']['getPluralForm']=_0x238f09;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4bff2c=>{const {bs:{dictionary:_0x3b144c,getPluralForm:_0xaea9c3}}={'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':_0x4ebea7=>_0x4ebea7%0xa==0x1&&_0x4ebea7%0x64!=0xb?0x0:_0x4ebea7%0xa>=0x2&&_0x4ebea7%0xa<=0x4&&(_0x4ebea7%0x64<0xa||_0x4ebea7%0x64>=0x14)?0x1:0x2}};_0x4bff2c['bs']||={'dictionary':{},'getPluralForm':null},_0x4bff2c['bs']['dictionary']=Object['assign'](_0x4bff2c['bs']['dictionary'],_0x3b144c),_0x4bff2c['bs']['getPluralForm']=_0xaea9c3;})(window['CKEDITOR_TRANSLATIONS']||={});