@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.6 → 46.0.1-alpha.8

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 _0x55a113,Command as _0x3f6046}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xc572a5,IconGooglePhotos as _0x1eb195,IconGoogleDrive as _0x1598c4,IconFacebook as _0xdacb46,IconDropbox as _0x4bdf52,IconUploadcareLink as _0x43d718,IconUploadcareImageUpload as _0xb99d8b,IconError as _0x215ab4,IconUploadcareImageEdit as _0x3b9c15}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5ea8d3,MenuBarMenuListItemButtonView as _0x3f9762,View as _0x3e4927,FocusCycler as _0x10f8ef,Dialog as _0x3fbc44,DialogViewPosition as _0x13c8d0,SpinnerView as _0x585c4d,IconView as _0x5382c5,Notification as _0x196691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xd1694c,DomEmitterMixin as _0x45ba55,global as _0x524ab6,getAncestors as _0x542c52,ObservableMixin as _0x236f34,uid as _0x1592db,createElement as _0x3fc7fa}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x17eb35}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3bb220,info as _0x29df84}from'@uploadcare/upload-client';import*as _0x2a4f67 from'@uploadcare/file-uploader';var i=function(_0xae3537){return _0xae3537['Local']='local',_0xae3537['URL']='url',_0xae3537['Dropbox']='dropbox',_0xae3537['GDrive']='gdrive',_0xae3537['Facebook']='facebook',_0xae3537['GPhotos']='gphotos',_0xae3537['OneDrive']='onedrive',_0xae3537;}({});function _(_0xc50667,_0x40a458,_0x22d63d){const t=_0xc50667['t'],_0x30f778=_0xc50667['t'];switch(_0x40a458){case i['Local']:return{'text':_0x30f778('Insert'===_0x22d63d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30f778('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x22d63d?_0x30f778('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30f778('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x22d63d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40a458;}}class e extends _0x55a113{['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 _0x54c8dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48ca3c;for(const _0x1d9ecf in _0x54c8dc){const _0x1898d0=_0x1d9ecf,_0x16e005=_0x54c8dc[_0x1898d0];if('uploadcareLicenseKeyValid'==_0x16e005||'uploadcareLicenseKeyInvalid'==_0x16e005||'uploadcareLicenseKeyExpired'==_0x16e005||'uploadcareLicenseKeyDomainLimit'==_0x16e005||'uploadcareLicenseKeyNotAllowed'==_0x16e005||'uploadcareLicenseKeyEvaluationLimit'==_0x16e005||'uploadcareLicenseKeyTrialLimit'==_0x16e005||'uploadcareLicenseKeyUsageLimit'==_0x16e005){delete _0x54c8dc[_0x1898d0],_0x48ca3c=_0x16e005,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x48ca3c&&_0x54c8dc['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4fde9e}=this,_0x5812f1=_0x4fde9e['commands']['get']('uploadcare');if(!_0x5812f1)return;const _0x41b311=this['_normalizeConfigSourceList'](_0x4fde9e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x517ecf,_0x5b8ac6)=>{const _0x3c9d3b=this['_getIntegrationKey'](_0x5b8ac6['type']);return _0x517ecf[_0x3c9d3b]||(_0x517ecf[_0x3c9d3b]=[]),_0x517ecf[_0x3c9d3b]['push'](_0x5b8ac6),_0x517ecf;},{});_0x4fde9e['plugins']['has']('ImageInsertUI')&&_0x4fde9e['commands']['get']('uploadcare')&&Object['entries'](_0x41b311)['forEach'](([_0x25a0e9,_0x5cb3a8])=>{_0x4fde9e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25a0e9,'observable':()=>_0x5812f1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5cb3a8),'formViewCreator':()=>this['_createDropdownButtons'](_0x5cb3a8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5cb3a8),'override':'assetManager'!==_0x25a0e9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x46e312){const {locale:_0x80d726}=this['editor'];return _0x46e312['map'](_0x11b44a=>{const _0x45ca8e=_(_0x80d726,_0x11b44a,'Insert');switch(_0x11b44a){case i['Local']:return{'icon':_0xb99d8b,'type':i['Local'],..._0x45ca8e};case i['URL']:return{'icon':_0x43d718,'type':i['URL'],..._0x45ca8e};case i['Dropbox']:return{'icon':_0x4bdf52,'type':i['Dropbox'],..._0x45ca8e};case i['Facebook']:return{'icon':_0xdacb46,'type':i['Facebook'],..._0x45ca8e};case i['GDrive']:return{'icon':_0x1598c4,'type':i['GDrive'],..._0x45ca8e};case i['GPhotos']:return{'icon':_0x1eb195,'type':i['GPhotos'],..._0x45ca8e};case i['OneDrive']:return{'icon':_0xc572a5,'type':i['OneDrive'],..._0x45ca8e};}});}['_getIntegrationKey'](_0x46d6d7){switch(_0x46d6d7){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e6fee,_0x118b1c){const _0x4a5b4e=this['editor'],_0x402ae2=new _0x4e6fee(_0x4a5b4e['locale']),_0x18a4ed=_0x4a5b4e['commands']['get']('uploadcare');return _0x402ae2['bind']('isEnabled')['to'](_0x18a4ed),_0x402ae2['on']('execute',()=>{_0x18a4ed['execute'](_0x118b1c);}),_0x402ae2;}['_createToolbarButton'](_0x2e76cc){const {locale:_0x93e1a6}=this['editor'],_0x28ed2f=this['editor']['plugins']['get']('ImageInsertUI'),_0x37522a=_0x2e76cc[0x0],_0x3d1049=this['_createButton'](_0x5ea8d3,_0x37522a['type']);return _0x3d1049['icon']=_0x37522a['icon'],_0x3d1049['bind']('label')['to'](_0x28ed2f,'isImageSelected',_0x841949=>_(_0x93e1a6,_0x37522a['type'],_0x841949?'Replace':'Insert')['text']),_0x3d1049['tooltip']=!0x0,_0x3d1049;}['_createDropdownButtons'](_0x5d91f3){const {locale:_0x2b9918}=this['editor'],_0x47b5be=this['editor']['plugins']['get']('ImageInsertUI');return _0x5d91f3['map'](_0x4e3563=>{const _0x5916cc=this['_createButton'](_0x5ea8d3,_0x4e3563['type']);return _0x5916cc['withText']=!0x0,_0x5916cc['icon']=_0x4e3563['icon'],_0x5916cc['bind']('label')['to'](_0x47b5be,'isImageSelected',_0x1f1029=>_(_0x2b9918,_0x4e3563['type'],_0x1f1029?'Replace':'Insert')['text']),_0x5916cc;});}['_createMenuBarButtons'](_0x267fc4){return _0x267fc4['map'](_0x46ee25=>{const _0x3705a3=this['_createButton'](_0x3f9762,_0x46ee25['type']);return _0x3705a3['icon']=_0x46ee25['icon'],_0x3705a3['label']=_0x46ee25['shortText'],_0x3705a3;});}}class F extends _0x3e4927{['focusTracker'];['focusCycler'];constructor(_0xd0a5){super(_0xd0a5),this['focusTracker']=new _0xd1694c(),this['focusCycler']=new _0x10f8ef({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x46a917,_0x4136b1){super(_0x46a917),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-'+_0x4136b1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x58a8c7,_0x5e2c46){const _0x2cbc76=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4c67f5=>_0x4c67f5<=_0x5e2c46)['map'](_0x188cf4=>_0x58a8c7['replace'](/\/$/,'')+'/-/resize/'+_0x188cf4+'x/\x20'+_0x188cf4+'w');return{'imageFallbackUrl':_0x58a8c7,'imageSources':[{'srcset':_0x2cbc76['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5e2c46+'px)\x20100vw,\x20'+_0x5e2c46+'px','type':'image/webp'}]};}function C(_0x2b1f6a,_0x5256ce,_0x1fe7af){const _0x184da7=_0x2b1f6a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x184da7?parseInt(_0x184da7[0x1],0xa):_0x5256ce,'height':_0x184da7?parseInt(_0x184da7[0x2],0xa):_0x1fe7af};}function p(_0x545d16,_0x3731a4){const _0x5f4f1e=new(_0x45ba55())(),_0x25264b=_0x545d16['plugins']['get']('ImageUtils'),_0x533f7e=_0x545d16['editing']['mapper']['toViewElement'](_0x3731a4),_0x430330=_0x25264b['findViewImgElement'](_0x533f7e),_0x963f22=_0x545d16['editing']['view']['domConverter']['viewToDom'](_0x430330),_0x2d1fdc=_0x3731a4['getAttribute']('width'),_0x51adc1=_0x3731a4['getAttribute']('height'),_0x358f2b='image-processing';_0x545d16['editing']['view']['change'](_0xde0f8f=>{_0xde0f8f['addClass'](_0x358f2b,_0x533f7e),_0xde0f8f['setStyle']('aspect-ratio',_0x2d1fdc+'/'+_0x51adc1,_0x430330);}),_0x5f4f1e['listenTo'](_0x963f22,'load',()=>{_0x5f4f1e['stopListening'](_0x963f22,'load'),_0x545d16['editing']['view']['change'](_0x49d6eb=>{_0x49d6eb['removeClass'](_0x358f2b,_0x533f7e),_0x49d6eb['removeStyle']('aspect-ratio',_0x430330);});});}function G(_0x1a4cc1){if(Array['isArray'](_0x1a4cc1)){const _0x1b21a3=_0x1a4cc1['map'](G);return _0xbfb1da=>_0x1b21a3['some'](_0x2b8d85=>_0x2b8d85(_0xbfb1da));}if('origin'==_0x1a4cc1){const _0x1ad198=_0x524ab6['window']['location']['origin'];return _0x54bacf=>new URL(_0x54bacf,_0x524ab6['document']['baseURI'])['origin']==_0x1ad198;}return'function'==typeof _0x1a4cc1?_0x1a4cc1:_0x1a4cc1 instanceof RegExp?_0x9a120=>!(!_0x9a120['match'](_0x1a4cc1)&&!_0x9a120['replace'](/^https?:\/\//,'')['match'](_0x1a4cc1)):()=>!0x1;}function S(_0x3c945,_0x59219b){return _0x542c52(_0x3c945['target'])['includes'](_0x59219b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x236f34(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x38200d,_0x1a69c3,_0x8bd95c){super(),this['_editor']=_0x38200d,this['_editing']=_0x1a69c3,this['_dialog']=_0x38200d['plugins']['get'](_0x3fbc44),this['_api']=_0x1a69c3['ctxElement']['getAPI'](),this['_type']=_0x8bd95c,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:_0x3d0d43,model:_0x546cc8}=this['_editor'],_0x41eb30=_0x546cc8['document']['selection']['getSelectedElement'](),_0xc2624b=_0x41eb30&&(_0x41eb30['is']('element','imageBlock')||_0x41eb30['is']('element','imageInline'));this['_formView']=new x(_0x3d0d43,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xb99d8b,'title':_(_0x3d0d43,this['_type'],_0xc2624b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x108ed5=>!S(_0x108ed5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x43d3af}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x14c6eb=>{const _0x1aa09c=_0x43d3af['length'];for(const _0x53686a of _0x43d3af){const _0xf9e395=_0x53686a===_0x43d3af[_0x1aa09c-0x1],{cdnUrl:_0x544f44,fileInfo:_0x3c8a06}=_0x53686a;if(!_0x544f44||!_0x3c8a06)continue;const {width:_0x743065,height:_0xd49a28}=_0x3c8a06['imageInfo'],_0x5a9007=C(_0x544f44,_0x743065,_0xd49a28),_0x358746=k(_0x544f44,_0x5a9007['width']),_0x4d5c29={'id':_0x3c8a06['uuid'],'type':'image','attributes':{'imageDimension':_0x5a9007,..._0x358746}};this['_insertAsset'](_0x4d5c29,_0xf9e395,_0x14c6eb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x244c9f=>{'idle'===_0x244c9f['detail']['status']&&!_0x244c9f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4cee0c,_0x3536f3,_0x50feeb){const _0x1c7451=this['_editor']['model']['document']['selection'],_0x3a128f=_0x1c7451['getSelectedElement'](),_0x3d71a0=!(!_0x3a128f||!_0x3a128f['is']('element','imageInline'));_0x50feeb['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4cee0c,_0x3d71a0),_0x3536f3||_0x50feeb['setSelection'](_0x1c7451['getLastPosition']());}['_insertImage'](_0x5cf5b7,_0x3eed72){const _0x131869=this['_editor'],{imageDimension:_0x1e016e,imageFallbackUrl:_0x31c8c9,imageSources:_0x4a72cf}=_0x5cf5b7['attributes'];_0x131869['execute']('insertImage',{'imageType':_0x3eed72?'imageInline':null,'source':{'uploadcareImageId':_0x5cf5b7['id'],'src':_0x31c8c9,'sources':_0x4a72cf,..._0x1e016e}});}}class w extends _0x3f6046{['_editing'];['_controller']=null;static get['requires'](){return[_0x3fbc44,o];}constructor(_0x486e6e){super(_0x486e6e),this['_editing']=_0x486e6e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd4df3e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xd4df3e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x209ec2,publicKey:_0x29f98e,signal:_0x3491b2,onProgress:_0x14a6ec}){return _0x3bb220(_0x209ec2,{'publicKey':_0x29f98e,'store':'auto','signal':_0x3491b2,'onProgress':_0x14a6ec});}static['getInfo'](_0x37b1cb,_0x2e3d26){return _0x29df84(_0x37b1cb,_0x2e3d26);}}class f extends _0x55a113{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x17eb35,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a3b13=this['editor'];if(!!!_0x2a3b13['config']['get']('uploadcare'))return;_0x2a3b13['plugins']['get'](_0x17eb35)['createUploadAdapter']=_0x1b8e5b=>new A(_0x1b8e5b,_0x2a3b13),_0x2a3b13['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32bc5a,{imageElement:_0x3fdc28,data:_0x1f60af})=>{_0x2a3b13['model']['change'](_0x59114f=>{_0x59114f['setAttribute']('uploadcareImageId',_0x1f60af['uploadcareImageId'],_0x3fdc28);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x30d2d5,_0x27055d){this['loader']=_0x30d2d5,this['editor']=_0x27055d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5cc5de=this['editor']['config']['get']('uploadcare.pubkey'),_0x90907f=await this['loader']['file'];return j['upload']({'file':_0x90907f,'publicKey':_0x5cc5de,'signal':this['controller']['signal'],'onProgress':_0x560234=>{_0x560234&&_0x560234['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x560234['value']);}})['then'](async _0x2da4e1=>{const {imageFallbackUrl:_0x26bf66,imageSources:_0x26a0da}=k(_0x2da4e1['cdnUrl'],_0x2da4e1['imageInfo']['width']);return{'uploadcareImageId':_0x2da4e1['uuid'],'default':_0x26bf66,'sources':_0x26a0da};})['catch'](()=>{const _0x5adfdc=t('Cannot\x20upload\x20file:')+('\x20'+_0x90907f['name']+'.');return Promise['reject'](_0x5adfdc);});}['abort'](){this['controller']['abort']();}}class o extends _0x55a113{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3fbc44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x12db86){super(_0x12db86),this['ucContextId']=_0x1592db();}['init'](){const _0x5d5333=this['editor'];_0x5d5333['commands']['add']('uploadcare',new w(_0x5d5333));}['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 _0x4a3532=_0x524ab6['document']['querySelector']('input[uploadcare-file-input]');_0x4a3532&&_0x4a3532['remove']();}),async function(_0x3a65cd){const _0x42ced8=_0x56a56b([0x72,0x32,0x6c,0x79,0x64,0x74,0x4a,0x4c,0x5a,0x58,0x30,0x56,0x69,0x70,0x66,0x45,0x38,0x48,0x65,0x34,0x43,0x6e,0x47,0x6d,0x7a,0x33,0x59,0x35,0x42,0x68,0x51,0x57,0x73,0x67,0x50,0x77,0x49,0x52,0x39,0x55,0x4e,0x78,0x6a,0x75,0x53,0x61,0x4b,0x41,0x44,0x54,0x76,0x31,0x37,0x6b,0x71,0x62,0x6f,0x36,0x46,0x63,0x4f,0x4d]),_0x3e12ae=0x59eb7e2a,_0x216ae0=0x59ec11b2^_0x3e12ae,_0x53acaf=window[_0x56a56b([0x44,0x61,0x74,0x65])][_0x56a56b([0x6e,0x6f,0x77])](),_0xc2dd3a=_0x3a65cd[_0x56a56b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0434=new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd8b9=>{_0xc2dd3a[_0x56a56b([0x6f,0x6e,0x63,0x65])](_0x56a56b([0x72,0x65,0x61,0x64,0x79]),_0x3fd8b9);}),_0x3ecbaf={[_0x56a56b([0x6b,0x74,0x79])]:_0x56a56b([0x45,0x43]),[_0x56a56b([0x75,0x73,0x65])]:_0x56a56b([0x73,0x69,0x67]),[_0x56a56b([0x63,0x72,0x76])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36]),[_0x56a56b([0x78])]:_0x56a56b([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]),[_0x56a56b([0x79])]:_0x56a56b([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]),[_0x56a56b([0x61,0x6c,0x67])]:_0x56a56b([0x45,0x53,0x32,0x35,0x36])},_0x283a4e=_0xc2dd3a[_0x56a56b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56a56b([0x67,0x65,0x74])](_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31673b(){let _0x56cf21,_0x31ac6a=null,_0x5d7118=null;try{if(_0x283a4e==_0x56a56b([0x47,0x50,0x4c]))return _0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56cf21=_0x2152d4(),!_0x56cf21)return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d7118=_0x565675(_0x56cf21[_0x56a56b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56cf21[_0x56a56b([0x6a,0x74,0x69])])),await _0x4c3329()?_0x519a6a()?_0x1e7337()?_0x56a56b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f9b57()?(_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a56b([0x74,0x72,0x69,0x61,0x6c])&&(_0x31ac6a=_0x23e8ea(_0x56a56b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b1586()):_0x56a56b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56a56b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e7337(){const _0x690195=[_0x56a56b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56a56b([0x74,0x72,0x69,0x61,0x6c])][_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53acaf/0x3e8:0xe10*_0x216ae0;return _0x56cf21[_0x56a56b([0x65,0x78,0x70])]<_0x690195;}function _0x519a6a(){const _0x2caa4c=_0x56cf21[_0x56a56b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2caa4c&&(!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a]))||!!_0x2caa4c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x55,0x50,0x4c,0x43])));}function _0x1f9b57(){const _0x496a5c=_0x56cf21[_0x56a56b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x496a5c||0x0==_0x496a5c[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12f8b4}=new URL(window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x496a5c[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12f8b4))return!0x0;const _0x4b1709=_0x12f8b4[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));return _0x496a5c[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d7db0=>_0x4d7db0[_0x56a56b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a56b([0x2a])))[_0x56a56b([0x6d,0x61,0x70])](_0x5f507a=>_0x5f507a[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])))[_0x56a56b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34276d=>_0x34276d[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x6d,0x61,0x70])](_0x1cfab2=>Array(_0x4b1709[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1cfab2[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a56b([0x66,0x69,0x6c,0x6c])](_0x1cfab2[0x0]===_0x56a56b([0x2a])?_0x56a56b([0x2a]):'')[_0x56a56b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1cfab2))[_0x56a56b([0x73,0x6f,0x6d,0x65])](_0x1cfeaa=>_0x4b1709[_0x56a56b([0x65,0x76,0x65,0x72,0x79])]((_0x15431a,_0x3d9484)=>_0x1cfeaa[_0x3d9484]===_0x15431a||_0x1cfeaa[_0x3d9484]===_0x56a56b([0x2a])));}function _0x4b1586(){return _0x31ac6a&&_0x5d7118?new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26f7e6,_0x3f66d2)=>{_0x31ac6a[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x26f7e6,_0x3f66d2),_0x5d7118[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x3fdf23=>{_0x3fdf23!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x26f7e6(_0x3fdf23);},_0x3f66d2);}):_0x31ac6a||_0x5d7118||_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x565675(_0x656ab,_0x51113f){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x914137=>{if(_0x11f2b4())return _0x914137(_0x56a56b([0x56,0x61,0x6c,0x69,0x64]));_0x243dec(),_0xc2dd3a[_0x56a56b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23c027=!0x1;const _0x160cad=_0x1592db();function _0x3a197c(_0x216e47){return!!_0x216e47&&(typeof _0x216e47===_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x216e47===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x216e47[_0x56a56b([0x74,0x68,0x65,0x6e])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x216e47[_0x56a56b([0x63,0x61,0x74,0x63,0x68])]===_0x56a56b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c692(_0x142e29){_0x50ea68(_0x142e29)[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4380e0=>{if(!_0x4380e0||_0x4380e0[_0x56a56b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56a56b([0x6f,0x6b]))return _0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d784b(_0x2b6265(_0x160cad+_0x51113f))!=_0x4380e0[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56a56b([0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x4e6ccd=>(_0x40e315(),_0x4e6ccd),()=>{const _0x2a013d=_0x512299();return null==_0x2a013d?(_0x40e315(),_0x56a56b([0x56,0x61,0x6c,0x69,0x64])):_0x56a56b(_0x53acaf-_0x2a013d>(0x7de7fa2a^_0x3e12ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x914137)[_0x56a56b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xab2fb4=0x59dd90aa^_0x3e12ae;function _0x40e315(){const _0x25a8f1=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x110a37=_0x16705a(_0x3d784b(window[_0x56a56b([0x4d,0x61,0x74,0x68])][_0x56a56b([0x63,0x65,0x69,0x6c])](_0x53acaf/_0xab2fb4)));window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25a8f1,_0x110a37);}function _0x512299(){const _0x19fe03=_0x56a56b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d784b(_0x2b6265(_0x656ab)),_0x373bcc=window[_0x56a56b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a56b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19fe03);return _0x373bcc?window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16705a(_0x373bcc),0x10)*_0xab2fb4:null;}function _0x50ea68(_0xe4a2f5){return new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28bab3,_0x4f182a)=>{_0xe4a2f5[_0x56a56b([0x74,0x68,0x65,0x6e])](_0x28bab3,_0x4f182a),window[_0x56a56b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f182a,0x59eaaaea^_0x3e12ae);});}}_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x392c44,_0x57421c)=>{if(_0x57421c[0x0]!=_0x656ab)return _0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57421c[0x1]={..._0x57421c[0x1],[_0x56a56b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x160cad};},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x68,0x69,0x67,0x68])}),_0xc2dd3a[_0x56a56b([0x6f,0x6e])](_0x56a56b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30f04f=>{_0x3a197c(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23c027=!0x0,_0x4c692(_0x30f04f[_0x56a56b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56a56b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a56b([0x6c,0x6f,0x77])}),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>{_0x23c027||_0x914137(_0x56a56b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11f2b4(){return _0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56a56b([0x61,0x75,0x74,0x6f]);}function _0x243dec(){_0xc2dd3a[_0x56a56b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a56b([0x76,0x69,0x65,0x77])][_0x56a56b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56a56b([0x61,0x75,0x74,0x6f]);}}function _0x23e8ea(_0x4fe064){const _0x5d4d30=[new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6ec0=>setTimeout(_0x2e6ec0,0x59e240e6^_0x3e12ae)),_0x5e0434[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6006=>{let _0x33034a=0x0;_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x6f,0x6e])](_0x56a56b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x460748,_0x5d2f69)=>{_0x5d2f69[0x0][_0x56a56b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33034a++,_0x33034a==(0x59eb7fd2^_0x3e12ae)&&(_0x1f6006(),_0x460748[_0x56a56b([0x6f,0x66,0x66])]());});}))];return window[_0x56a56b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56a56b([0x72,0x61,0x63,0x65])](_0x5d4d30)[_0x56a56b([0x74,0x68,0x65,0x6e])](()=>_0x4fe064);}async function _0x38cbd6(){await _0x5e0434,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a56b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32773c,_0xc2dd3a[_0x56a56b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56a56b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x520c86(_0x24df29){const _0x15af2d=_0x453255();_0xc2dd3a[_0x15af2d]=_0x56a56b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24df29,_0x24df29!=_0x56a56b([0x56,0x61,0x6c,0x69,0x64])&&_0x38cbd6();}function _0x453255(){const _0x1ae0ef=window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56a56b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56a56b([0x6e,0x6f,0x77])]())[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56a56b([0x2e]),'');let _0x3d222f=_0x56a56b([0x72]);for(let _0x545799=0x0;_0x545799<_0x1ae0ef[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x545799+=0x2){let _0x5d4a68=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae0ef[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x545799,_0x545799+0x2));_0x5d4a68>=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d4a68-=_0x42ced8[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d222f+=_0x42ced8[_0x5d4a68];}return _0x3d222f;}function _0x2152d4(){const _0x38a352=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e]));if(0x3!=_0x38a352[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x588700(_0x38a352[0x1]);function _0x588700(_0x582640){const _0x1abe3f=_0x5d3c90(_0x582640);return _0x1abe3f&&_0x321513()?_0x1abe3f:null;function _0x321513(){const _0x82eeff=_0x1abe3f[_0x56a56b([0x6a,0x74,0x69])],_0x5130a1=window[_0x56a56b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4745={..._0x1abe3f,[_0x56a56b([0x6a,0x74,0x69])]:_0x82eeff[_0x56a56b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x82eeff[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4745[_0x56a56b([0x76,0x63])],_0x2b6265(_0x4e4745)==_0x5130a1;}}}async function _0x4c3329(){let _0xd88721=!0x0;try{const _0x3c030a=_0x283a4e[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])](_0x56a56b([0x2e])),[_0x3d151c,_0x24dc7e,_0x6310da]=_0x3c030a;return _0x525886(_0x3d151c),await _0x51efc1(_0x3d151c,_0x24dc7e,_0x6310da),_0xd88721;}catch{return!0x1;}function _0x525886(_0x515703){const _0x4ae68b=_0x5d3c90(_0x515703);_0x4ae68b&&_0x4ae68b[_0x56a56b([0x61,0x6c,0x67])]==_0x56a56b([0x45,0x53,0x32,0x35,0x36])||(_0xd88721=!0x1);}async function _0x51efc1(_0x177f11,_0x2f7db4,_0x24efe5){const _0x2e3c45=window[_0x56a56b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56a56b([0x66,0x72,0x6f,0x6d])](_0x802d1f(_0x24efe5),_0x3fed31=>_0x3fed31[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dbd08=new window[(_0x56a56b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56a56b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x177f11+_0x56a56b([0x2e])+_0x2f7db4),_0x4bc83f=window[_0x56a56b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56a56b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bc83f)return;const _0x4f3521=await _0x4bc83f[_0x56a56b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56a56b([0x6a,0x77,0x6b]),_0x3ecbaf,{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56a56b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bc83f[_0x56a56b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x45,0x43,0x44,0x53,0x41]),[_0x56a56b([0x68,0x61,0x73,0x68])]:{[_0x56a56b([0x6e,0x61,0x6d,0x65])]:_0x56a56b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f3521,_0x2e3c45,_0x2dbd08)||(_0xd88721=!0x1);}}function _0x5d3c90(_0x302c09){return _0x302c09[_0x56a56b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56a56b([0x65,0x79]))?JSON[_0x56a56b([0x70,0x61,0x72,0x73,0x65])](_0x802d1f(_0x302c09)):null;}function _0x802d1f(_0x5a97e3){return window[_0x56a56b([0x61,0x74,0x6f,0x62])](_0x5a97e3[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56a56b([0x2b]))[_0x56a56b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56a56b([0x2f])));}function _0x2b6265(_0x58bf84){let _0x654672=0x1505;function _0x3057a8(_0x190050){for(let _0x17afe0=0x0;_0x17afe0<_0x190050[_0x56a56b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17afe0++){const _0x2da624=_0x190050[_0x56a56b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17afe0);_0x654672=(_0x654672<<0x5)+_0x654672+_0x2da624,_0x654672&=_0x654672;}}function _0xbc6d02(_0x3a357e){Array[_0x56a56b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a357e)?_0x3a357e[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbc6d02):_0x3a357e&&typeof _0x3a357e==_0x56a56b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56a56b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a357e)[_0x56a56b([0x73,0x6f,0x72,0x74])]()[_0x56a56b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x522200,_0x5591c0])=>{_0x3057a8(_0x522200),_0xbc6d02(_0x5591c0);}):_0x3057a8(window[_0x56a56b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a357e));}return _0xbc6d02(_0x58bf84),_0x654672>>>0x0;}function _0x3d784b(_0x422d49){return _0x422d49[_0x56a56b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56a56b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56a56b([0x30]));}function _0x16705a(_0x33124d){return _0x33124d[_0x56a56b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56a56b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56a56b([0x6a,0x6f,0x69,0x6e])]('');}function _0x32773c(){}function _0x56a56b(_0x2604b7){return _0x2604b7['map'](_0xafc69b=>String['fromCharCode'](_0xafc69b))['join']('');}_0x520c86(await _0x31673b());}(this);}['_initSchema'](){const _0x48085e=this['editor']['model']['schema'];_0x48085e['isRegistered']('imageBlock')&&_0x48085e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x48085e['isRegistered']('imageInline')&&_0x48085e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x10fcff=this['editor'];_0x10fcff['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x10fcff['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x32cc17=>_0x32cc17['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x295db5=_0x10fcff['commands']['get']('replaceImageSource');_0x295db5&&this['listenTo'](_0x295db5,'cleanupImage',(_0x271d17,[_0x10935a,_0x1da8a5])=>{_0x10935a['removeAttribute']('uploadcareImageId',_0x1da8a5);});}['_initConfig'](){const _0x3bf166=this['editor']['config']['get']('uploadcare.uploader')||{},_0x319c3e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3fc7fa(_0x524ab6['document'],'uc-config',{..._0x3bf166,'pubkey':_0x319c3e,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x591b81=>{if('closeMax'==_0x591b81)return'#uc-icon-arrow-down';},_0x524ab6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3fc7fa(_0x524ab6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x524ab6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3999b6=this['editor']['commands']['get']('insertImage');_0x3999b6&&this['listenTo'](_0x3999b6,'execute',()=>{const _0x163447=this['editor']['model']['document']['selection']['getSelectedElement']();_0x163447&&_0x163447['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x163447);});});const _0x7de69b=this['editor']['commands']['get']('uploadcareImageReplace');_0x7de69b&&this['listenTo'](_0x7de69b,'execute',()=>{const _0x25a474=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25a474&&_0x25a474['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x25a474);});});}}class tt extends _0x55a113{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe31f53){super(_0xe31f53),_0xe31f53['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a4f67['defineComponents'](_0x2a4f67);}}class ii extends _0x3e4927{constructor(_0x423bfe){super(_0x423bfe);const t=_0x423bfe['t'],_0x2ff613=this['bindTemplate'],_0x146300=new _0x585c4d();_0x146300['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':[_0x146300,{'text':_0x2ff613['to']('imageUploadProgress',_0x213ba9=>t('Loading\x20image...')+'\x20('+(_0x213ba9||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x3e4927{constructor(_0x804df3){super(_0x804df3);const t=_0x804df3['t'];this['set']('errorType',null);const _0x5c9c92=new _0x5ea8d3(_0x804df3);_0x5c9c92['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c9c92['withText']=!0x0,_0x5c9c92['class']='ck-button-action',_0x5c9c92['on']('execute',()=>{this['fire']('retry');}),_0x5c9c92['bind']('isVisible')['to'](this,'errorType',_0x3520c4=>'NotFound'!==_0x3520c4);const _0x5f28a2=new _0x5382c5();_0x5f28a2['content']=_0x215ab4,_0x5f28a2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x50c48a=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':[_0x5f28a2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x50c48a['to']('errorType',_0xf16360=>t('NotFound'!==_0xf16360?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c9c92]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x3e4927{constructor(_0x2548b6,_0x2be96e){super(_0x2548b6);const _0x6b5d72=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2be96e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x6b5d72['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xdc2286,_0x4a500e,_0x30903e){super(_0xdc2286),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xdc2286),this['_errorView']=new ti(_0xdc2286),this['_editingView']=new ei(_0xdc2286,_0x30903e),this['_focusableView']=new _0x3e4927(_0xdc2286),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4a500e),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'],_0x21c2bd=>{this['_addUploadcareImageEditorListeners'](_0x21c2bd);});}),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'](_0x628557,_0x32054e){const _0x118706='uc-cloud-image-editor',_0x56abea=_0x628557['querySelector'](_0x118706);if(_0x56abea)return _0x32054e(_0x56abea);const _0x355b6b=new MutationObserver(_0x12e9f5=>{const _0x340abe=_0x12e9f5['filter'](_0xd6cd05=>_0xd6cd05['target']===_0x628557&&_0xd6cd05['addedNodes']['length']>0x0&&_0xd6cd05['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x118706);_0x340abe['length']&&(_0x355b6b['disconnect'](),_0x32054e(_0x340abe[0x0]['addedNodes'][0x0]));});_0x355b6b['observe'](_0x628557,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x36d389){_0x36d389['addEventListener']('apply',_0x581c6a=>{this['fire']('apply',{'imageSrc':_0x581c6a['detail']['cdnUrl']});}),_0x36d389['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x236f34(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x9267ef,_0x24a6de,_0x505c85){super(),this['_editor']=_0x9267ef,this['_dialog']=_0x24a6de,this['_imageElement']=_0x505c85,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 _0x53a272=this['_imageElement'],_0x342f18=_0x53a272['getAttribute']('uploadcareImageId'),_0x502ec1=_0x53a272['getAttribute']('src');if(_0x342f18)await this['_loadImageInfo'](_0x342f18,_0x502ec1);else{if(this['_imageCache']['has'](_0x502ec1)){const _0x3af973=this['_imageCache']['get'](_0x502ec1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3af973['url'],this['imageDimension']=_0x3af973['dimension'],this['imageId']=_0x3af973['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37b686}=this['_editor'],t=_0x37b686['t'],_0x138d51=new X(_0x37b686,this['imageStatus'],this['_attributes']);_0x138d51['bind']('status')['to'](this,'imageStatus'),_0x138d51['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x138d51['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x138d51['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x138d51,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b9c15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x138d51,'position':_0x13c8d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x138d51['focus']();},'onHide':()=>{_0x138d51['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ab12e=>!S(_0x2ab12e,_0x138d51['element'])}});}['_loadImageInfo'](_0x2acd91,_0x1bc5a1){return j['getInfo'](_0x2acd91,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x29d0e6=>{const {width:_0x4296f6,height:_0x1a39cf}=_0x29d0e6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bc5a1,this['imageDimension']={'width':_0x4296f6,'height':_0x1a39cf},this['imageId']=_0x2acd91;})['catch'](_0x445112=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x445112['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d30fb,_0x43d6f){return this['_getImageAsFile'](_0x1d30fb)['then'](_0x5a1654=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x43d6f['signal'],'file':_0x5a1654,'onProgress':_0x11794d=>{_0x11794d&&_0x11794d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11794d['value']));}}))['then'](_0x100405=>{const {width:_0xf1e39d,height:_0x47aae1}=_0x100405['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x100405['cdnUrl'],this['imageDimension']={'width':_0xf1e39d,'height':_0x47aae1},this['imageId']=_0x100405['uuid'],this['imageUploadProgress']=null;const _0x4b1ec1=_0x1d30fb['getAttribute']('src');this['_imageCache']['set'](_0x4b1ec1,{'id':_0x100405['uuid'],'url':_0x100405['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x192909=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x192909['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d578c,_0x8a2500){_0x9d578c['on']('apply',(_0x352abf,_0x144dd8)=>{this['_replaceImage'](_0x8a2500,_0x144dd8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d578c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d578c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f1a4f,_0x5a2684,_0x2560be){const _0x44b14b=this['_editor'],{width:_0x2ec06b,height:_0x1b5830}=C(_0x5a2684,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x522f06,imageSources:_0x40e3ca}=k(_0x5a2684,_0x2ec06b);_0x44b14b['model']['change'](_0xe6034b=>{if('$graveyard'===_0x4f1a4f['root']['rootName']){_0x44b14b['execute']('insertImage',{'imageType':_0x4f1a4f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830}});const _0x208bc9=_0x4f1a4f['getChildren']();_0x4f1a4f=_0x44b14b['model']['document']['selection']['getSelectedElement']();for(const _0x103bb5 of _0x208bc9)_0xe6034b['append'](_0xe6034b['cloneElement'](_0x103bb5),_0x4f1a4f);}else _0xe6034b['setSelection'](_0x4f1a4f,'on'),_0x44b14b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f1a4f['getAttributes']()),'uploadcareImageId':_0x2560be,'src':_0x522f06,'sources':_0x40e3ca,'width':_0x2ec06b,'height':_0x1b5830},_0x4f1a4f);_0xe6034b['setSelection'](_0x4f1a4f,'on');});}async['_getImageAsFile'](_0x1a8a3d){const _0x2ce50a=_0x524ab6['window'],_0x5514a5=_0x524ab6['document']['location']['href'],_0x57583a=new _0x2ce50a['URL'](_0x1a8a3d['getAttribute']('src'),_0x5514a5);if('data:'===_0x57583a['protocol']){const _0x95edae=_0x57583a['href']['split'](','),_0x1e07a8=_0x95edae[0x0]['match'](/:(.*?);/)[0x1],_0x9742cd=_0x1e07a8['split']('/')[0x1],_0x512385=_0x2ce50a['atob'](_0x95edae[_0x95edae['length']-0x1]);let _0x5794b5=_0x512385['length'];const _0x6ded7b=new _0x2ce50a['Uint8Array'](_0x5794b5);for(;_0x5794b5--;)_0x6ded7b[_0x5794b5]=_0x512385['charCodeAt'](_0x5794b5);return new _0x2ce50a['File']([_0x6ded7b],'image.'+_0x9742cd,{'type':_0x1e07a8});}const _0x1579d0=_0x57583a['href']['split']('/'),_0x1e9eaa=_0x1579d0[_0x1579d0['length']-0x1],_0x5d476d=_0x1e9eaa['split']('.')[0x1];return _0x2ce50a['fetch'](_0x57583a['href'])['then'](_0x41103f=>_0x41103f['clone']()['blob']())['then'](_0x59faeb=>new _0x2ce50a['File']([_0x59faeb],_0x1e9eaa,{'type':'image/'+_0x5d476d}));}}class O extends _0x3f6046{['imageEditController'];static get['requires'](){return[_0x3fbc44];}['_isEditable'];constructor(_0x6f73b){super(_0x6f73b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5af3bf){const _0x1098fb=G(_0x5af3bf);return _0x270833=>!(!_0x270833||!_0x270833['is']('element','imageBlock')&&!_0x270833['is']('element','imageInline'))&&(!!_0x270833['hasAttribute']('uploadcareImageId')||!!_0x270833['hasAttribute']('src')&&_0x1098fb(_0x270833['getAttribute']('src')));}(_0x6f73b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5626c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5626c7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x54aa20=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54aa20&&(_0x54aa20['is']('element','imageBlock')||_0x54aa20['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3fbc44),_0x54aa20),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3f6046{['refresh'](){const _0x260d11=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x260d11&&(_0x260d11['is']('element','imageBlock')||_0x260d11['is']('element','imageInline')));}['execute'](_0x252cf1){const _0xf2075=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3f5a06=>{_0x3f5a06['setAttributes'](_0x252cf1,_0xf2075),_0x3f5a06['removeAttribute']('srcset',_0xf2075),_0x3f5a06['removeAttribute']('sizes',_0xf2075);});}}class m extends _0x55a113{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x196691,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cb656}=this;_0x3cb656['commands']['add']('uploadcareImageEdit',new O(_0x3cb656)),_0x3cb656['commands']['add']('uploadcareImageReplace',new R(_0x3cb656));}}class g extends _0x55a113{['_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 _0x688eeb=this['editor'];_0x688eeb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x156cb8=>{const _0x40551e=_0x688eeb['commands']['get']('uploadcareImageEdit'),_0x51e97f=new _0x5ea8d3(_0x156cb8),t=_0x156cb8['t'];return _0x51e97f['set']({'icon':_0x3b9c15,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x51e97f['bind']('isEnabled')['to'](_0x40551e),_0x51e97f['bind']('isOn')['to'](_0x40551e,'isActive'),this['listenTo'](_0x51e97f,'execute',()=>{_0x688eeb['execute']('uploadcareImageEdit'),_0x688eeb['editing']['view']['focus']();}),_0x51e97f;}),this['_initConfig']();}['_initConfig'](){const _0x52cd88=_0x3fc7fa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x52cd88),this['listenTo'](this['editor'],'destroy',()=>{_0x52cd88['remove']();});}}class et extends _0x55a113{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x43cf72,Command as _0x4d8fff}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5c5c1b,IconGooglePhotos as _0x1da6b7,IconGoogleDrive as _0x2c2095,IconFacebook as _0x197465,IconDropbox as _0x40d40b,IconUploadcareLink as _0x33a6b4,IconUploadcareImageUpload as _0x19afa8,IconError as _0x354c6d,IconUploadcareImageEdit as _0x4962bb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x28dc2a,MenuBarMenuListItemButtonView as _0x11cb19,View as _0x4ecb53,FocusCycler as _0x51369d,Dialog as _0x24aa98,DialogViewPosition as _0x1e2d84,SpinnerView as _0x33eedb,IconView as _0x396388,Notification as _0xeb61f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x14b0a0,DomEmitterMixin as _0x330361,global as _0x12cd30,getAncestors as _0x2cb109,ObservableMixin as _0x276f36,uid as _0x492ce0,createElement as _0x413b6e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x530362}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x46c2ab,info as _0xcd5d16}from'@uploadcare/upload-client';import*as _0xd5b6cc from'@uploadcare/file-uploader';var i=function(_0x9926e8){return _0x9926e8['Local']='local',_0x9926e8['URL']='url',_0x9926e8['Dropbox']='dropbox',_0x9926e8['GDrive']='gdrive',_0x9926e8['Facebook']='facebook',_0x9926e8['GPhotos']='gphotos',_0x9926e8['OneDrive']='onedrive',_0x9926e8;}({});function _(_0x969479,_0x5794e9,_0x156270){const t=_0x969479['t'],_0x48653e=_0x969479['t'];switch(_0x5794e9){case i['Local']:return{'text':_0x48653e('Insert'===_0x156270?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x48653e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x156270?_0x48653e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x48653e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5794e9;}}class e extends _0x43cf72{['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 _0xe34887=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f9b3c;for(const _0x27c9c3 in _0xe34887){const _0x574981=_0x27c9c3,_0x510145=_0xe34887[_0x574981];if('uploadcareLicenseKeyValid'==_0x510145||'uploadcareLicenseKeyInvalid'==_0x510145||'uploadcareLicenseKeyExpired'==_0x510145||'uploadcareLicenseKeyDomainLimit'==_0x510145||'uploadcareLicenseKeyNotAllowed'==_0x510145||'uploadcareLicenseKeyEvaluationLimit'==_0x510145||'uploadcareLicenseKeyTrialLimit'==_0x510145||'uploadcareLicenseKeyUsageLimit'==_0x510145){delete _0xe34887[_0x574981],_0x3f9b3c=_0x510145,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3f9b3c&&_0xe34887['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3f9b3c&&_0xe34887['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3f9b3c&&_0xe34887['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x33e6cb}=this,_0x52c04d=_0x33e6cb['commands']['get']('uploadcare');if(!_0x52c04d)return;const _0x3bf407=this['_normalizeConfigSourceList'](_0x33e6cb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1e40d5,_0x3dceac)=>{const _0x43618c=this['_getIntegrationKey'](_0x3dceac['type']);return _0x1e40d5[_0x43618c]||(_0x1e40d5[_0x43618c]=[]),_0x1e40d5[_0x43618c]['push'](_0x3dceac),_0x1e40d5;},{});_0x33e6cb['plugins']['has']('ImageInsertUI')&&_0x33e6cb['commands']['get']('uploadcare')&&Object['entries'](_0x3bf407)['forEach'](([_0x571a39,_0x3e72e3])=>{_0x33e6cb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x571a39,'observable':()=>_0x52c04d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3e72e3),'formViewCreator':()=>this['_createDropdownButtons'](_0x3e72e3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3e72e3),'override':'assetManager'!==_0x571a39});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5a083f){const {locale:_0x178ef5}=this['editor'];return _0x5a083f['map'](_0x198128=>{const _0x5b5a10=_(_0x178ef5,_0x198128,'Insert');switch(_0x198128){case i['Local']:return{'icon':_0x19afa8,'type':i['Local'],..._0x5b5a10};case i['URL']:return{'icon':_0x33a6b4,'type':i['URL'],..._0x5b5a10};case i['Dropbox']:return{'icon':_0x40d40b,'type':i['Dropbox'],..._0x5b5a10};case i['Facebook']:return{'icon':_0x197465,'type':i['Facebook'],..._0x5b5a10};case i['GDrive']:return{'icon':_0x2c2095,'type':i['GDrive'],..._0x5b5a10};case i['GPhotos']:return{'icon':_0x1da6b7,'type':i['GPhotos'],..._0x5b5a10};case i['OneDrive']:return{'icon':_0x5c5c1b,'type':i['OneDrive'],..._0x5b5a10};}});}['_getIntegrationKey'](_0x252959){switch(_0x252959){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d75d6,_0x3b388e){const _0x280e0e=this['editor'],_0x1d8d56=new _0x5d75d6(_0x280e0e['locale']),_0x1a5c31=_0x280e0e['commands']['get']('uploadcare');return _0x1d8d56['bind']('isEnabled')['to'](_0x1a5c31),_0x1d8d56['on']('execute',()=>{_0x1a5c31['execute'](_0x3b388e);}),_0x1d8d56;}['_createToolbarButton'](_0x19b53c){const {locale:_0x10f7af}=this['editor'],_0x167500=this['editor']['plugins']['get']('ImageInsertUI'),_0x451d93=_0x19b53c[0x0],_0x4eb719=this['_createButton'](_0x28dc2a,_0x451d93['type']);return _0x4eb719['icon']=_0x451d93['icon'],_0x4eb719['bind']('label')['to'](_0x167500,'isImageSelected',_0x3e918b=>_(_0x10f7af,_0x451d93['type'],_0x3e918b?'Replace':'Insert')['text']),_0x4eb719['tooltip']=!0x0,_0x4eb719;}['_createDropdownButtons'](_0x14c929){const {locale:_0x3eb3ba}=this['editor'],_0x247765=this['editor']['plugins']['get']('ImageInsertUI');return _0x14c929['map'](_0x8c772b=>{const _0x476524=this['_createButton'](_0x28dc2a,_0x8c772b['type']);return _0x476524['withText']=!0x0,_0x476524['icon']=_0x8c772b['icon'],_0x476524['bind']('label')['to'](_0x247765,'isImageSelected',_0x464ccb=>_(_0x3eb3ba,_0x8c772b['type'],_0x464ccb?'Replace':'Insert')['text']),_0x476524;});}['_createMenuBarButtons'](_0x3cae02){return _0x3cae02['map'](_0x34c291=>{const _0x52b6b1=this['_createButton'](_0x11cb19,_0x34c291['type']);return _0x52b6b1['icon']=_0x34c291['icon'],_0x52b6b1['label']=_0x34c291['shortText'],_0x52b6b1;});}}class F extends _0x4ecb53{['focusTracker'];['focusCycler'];constructor(_0x2497b8){super(_0x2497b8),this['focusTracker']=new _0x14b0a0(),this['focusCycler']=new _0x51369d({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x326799,_0x4cd5b4){super(_0x326799),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-'+_0x4cd5b4}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x24a0dd,_0x9b6ff8){const _0x121386=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4b9a7a=>_0x4b9a7a<=_0x9b6ff8)['map'](_0x39eb20=>_0x24a0dd['replace'](/\/$/,'')+'/-/resize/'+_0x39eb20+'x/\x20'+_0x39eb20+'w');return{'imageFallbackUrl':_0x24a0dd,'imageSources':[{'srcset':_0x121386['join'](',\x20'),'sizes':'(max-width:\x20'+_0x9b6ff8+'px)\x20100vw,\x20'+_0x9b6ff8+'px','type':'image/webp'}]};}function C(_0x7164ec,_0x3e1b23,_0x338713){const _0x279ba0=_0x7164ec['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x279ba0?parseInt(_0x279ba0[0x1],0xa):_0x3e1b23,'height':_0x279ba0?parseInt(_0x279ba0[0x2],0xa):_0x338713};}function p(_0x5a107d,_0x5de115){const _0x2d05ba=new(_0x330361())(),_0x4c3d6c=_0x5a107d['plugins']['get']('ImageUtils'),_0x441f91=_0x5a107d['editing']['mapper']['toViewElement'](_0x5de115),_0x2c0e09=_0x4c3d6c['findViewImgElement'](_0x441f91),_0x3d71cd=_0x5a107d['editing']['view']['domConverter']['viewToDom'](_0x2c0e09),_0x593470=_0x5de115['getAttribute']('width'),_0x1b7aba=_0x5de115['getAttribute']('height'),_0x472940='image-processing';_0x5a107d['editing']['view']['change'](_0x9d4508=>{_0x9d4508['addClass'](_0x472940,_0x441f91),_0x9d4508['setStyle']('aspect-ratio',_0x593470+'/'+_0x1b7aba,_0x2c0e09);}),_0x2d05ba['listenTo'](_0x3d71cd,'load',()=>{_0x2d05ba['stopListening'](_0x3d71cd,'load'),_0x5a107d['editing']['view']['change'](_0x407b73=>{_0x407b73['removeClass'](_0x472940,_0x441f91),_0x407b73['removeStyle']('aspect-ratio',_0x2c0e09);});});}function G(_0x3a2282){if(Array['isArray'](_0x3a2282)){const _0x146de3=_0x3a2282['map'](G);return _0x305fd5=>_0x146de3['some'](_0x21d0d9=>_0x21d0d9(_0x305fd5));}if('origin'==_0x3a2282){const _0x27d6ac=_0x12cd30['window']['location']['origin'];return _0x529252=>new URL(_0x529252,_0x12cd30['document']['baseURI'])['origin']==_0x27d6ac;}return'function'==typeof _0x3a2282?_0x3a2282:_0x3a2282 instanceof RegExp?_0x5d7443=>!(!_0x5d7443['match'](_0x3a2282)&&!_0x5d7443['replace'](/^https?:\/\//,'')['match'](_0x3a2282)):()=>!0x1;}function S(_0x512b91,_0x542e27){return _0x2cb109(_0x512b91['target'])['includes'](_0x542e27);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x276f36(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1cad7b,_0x2380f1,_0x26fe8b){super(),this['_editor']=_0x1cad7b,this['_editing']=_0x2380f1,this['_dialog']=_0x1cad7b['plugins']['get'](_0x24aa98),this['_api']=_0x2380f1['ctxElement']['getAPI'](),this['_type']=_0x26fe8b,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:_0x11c4c3,model:_0x1469bb}=this['_editor'],_0x29e4d3=_0x1469bb['document']['selection']['getSelectedElement'](),_0x4073d8=_0x29e4d3&&(_0x29e4d3['is']('element','imageBlock')||_0x29e4d3['is']('element','imageInline'));this['_formView']=new x(_0x11c4c3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x19afa8,'title':_(_0x11c4c3,this['_type'],_0x4073d8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e2d84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x14efb2=>!S(_0x14efb2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5aad91}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x28e1cd=>{const _0x282994=_0x5aad91['length'];for(const _0x4405d1 of _0x5aad91){const _0x5d6a51=_0x4405d1===_0x5aad91[_0x282994-0x1],{cdnUrl:_0x126598,fileInfo:_0xc728d3}=_0x4405d1;if(!_0x126598||!_0xc728d3)continue;const {width:_0x1eb1cb,height:_0x2cf94a}=_0xc728d3['imageInfo'],_0x1de7f0=C(_0x126598,_0x1eb1cb,_0x2cf94a),_0x46a5c6=k(_0x126598,_0x1de7f0['width']),_0x37ff85={'id':_0xc728d3['uuid'],'type':'image','attributes':{'imageDimension':_0x1de7f0,..._0x46a5c6}};this['_insertAsset'](_0x37ff85,_0x5d6a51,_0x28e1cd);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cf979=>{'idle'===_0x5cf979['detail']['status']&&!_0x5cf979['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1bba1,_0x526b9a,_0x2ee444){const _0x568c7c=this['_editor']['model']['document']['selection'],_0x2bc4ca=_0x568c7c['getSelectedElement'](),_0x5164fe=!(!_0x2bc4ca||!_0x2bc4ca['is']('element','imageInline'));_0x2ee444['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1bba1,_0x5164fe),_0x526b9a||_0x2ee444['setSelection'](_0x568c7c['getLastPosition']());}['_insertImage'](_0x2edf4e,_0x364ec4){const _0x2c9cf9=this['_editor'],{imageDimension:_0x2df44b,imageFallbackUrl:_0x1197aa,imageSources:_0x2926f1}=_0x2edf4e['attributes'];_0x2c9cf9['execute']('insertImage',{'imageType':_0x364ec4?'imageInline':null,'source':{'uploadcareImageId':_0x2edf4e['id'],'src':_0x1197aa,'sources':_0x2926f1,..._0x2df44b}});}}class w extends _0x4d8fff{['_editing'];['_controller']=null;static get['requires'](){return[_0x24aa98,o];}constructor(_0x24b444){super(_0x24b444),this['_editing']=_0x24b444['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x25d3d3){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x25d3d3);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1f00d8,publicKey:_0x1f3aa4,signal:_0x226cca,onProgress:_0x33edc4}){return _0x46c2ab(_0x1f00d8,{'publicKey':_0x1f3aa4,'store':'auto','signal':_0x226cca,'onProgress':_0x33edc4});}static['getInfo'](_0x27185e,_0x57fa99){return _0xcd5d16(_0x27185e,_0x57fa99);}}class f extends _0x43cf72{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x530362,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x10b146=this['editor'];if(!!!_0x10b146['config']['get']('uploadcare'))return;_0x10b146['plugins']['get'](_0x530362)['createUploadAdapter']=_0x563b92=>new A(_0x563b92,_0x10b146),_0x10b146['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1fb5e9,{imageElement:_0x27dfe7,data:_0x4d037a})=>{_0x10b146['model']['change'](_0x141681=>{_0x141681['setAttribute']('uploadcareImageId',_0x4d037a['uploadcareImageId'],_0x27dfe7);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x273840,_0x1d52d2){this['loader']=_0x273840,this['editor']=_0x1d52d2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4fbb4d=this['editor']['config']['get']('uploadcare.pubkey'),_0x3bb5c8=await this['loader']['file'];return j['upload']({'file':_0x3bb5c8,'publicKey':_0x4fbb4d,'signal':this['controller']['signal'],'onProgress':_0x49d3a6=>{_0x49d3a6&&_0x49d3a6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x49d3a6['value']);}})['then'](async _0x521b68=>{const {imageFallbackUrl:_0x3a0dec,imageSources:_0xc10cc}=k(_0x521b68['cdnUrl'],_0x521b68['imageInfo']['width']);return{'uploadcareImageId':_0x521b68['uuid'],'default':_0x3a0dec,'sources':_0xc10cc};})['catch'](()=>{const _0x1f69cd=t('Cannot\x20upload\x20file:')+('\x20'+_0x3bb5c8['name']+'.');return Promise['reject'](_0x1f69cd);});}['abort'](){this['controller']['abort']();}}class o extends _0x43cf72{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x24aa98];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3fee88){super(_0x3fee88),this['ucContextId']=_0x492ce0();}['init'](){const _0x49d113=this['editor'];_0x49d113['commands']['add']('uploadcare',new w(_0x49d113));}['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 _0x1dfa1b=_0x12cd30['document']['querySelector']('input[uploadcare-file-input]');_0x1dfa1b&&_0x1dfa1b['remove']();}),async function(_0x55a452){const _0x48954e=_0x2e76ba([0x55,0x57,0x4d,0x36,0x50,0x56,0x79,0x75,0x4b,0x63,0x6d,0x5a,0x77,0x32,0x6c,0x59,0x52,0x6f,0x74,0x42,0x4e,0x45,0x6b,0x49,0x31,0x41,0x78,0x43,0x58,0x53,0x47,0x39,0x61,0x30,0x67,0x37,0x73,0x72,0x66,0x4f,0x46,0x4a,0x76,0x6a,0x48,0x33,0x62,0x64,0x68,0x44,0x70,0x65,0x34,0x4c,0x7a,0x35,0x6e,0x38,0x71,0x54,0x69,0x51]),_0x268670=0xedc7fa3,_0x667850=0xedb1013^_0x268670,_0xd9546c=window[_0x2e76ba([0x44,0x61,0x74,0x65])][_0x2e76ba([0x6e,0x6f,0x77])](),_0x204ff6=_0x55a452[_0x2e76ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d643e=new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46dd5c=>{_0x204ff6[_0x2e76ba([0x6f,0x6e,0x63,0x65])](_0x2e76ba([0x72,0x65,0x61,0x64,0x79]),_0x46dd5c);}),_0x57925e={[_0x2e76ba([0x6b,0x74,0x79])]:_0x2e76ba([0x45,0x43]),[_0x2e76ba([0x75,0x73,0x65])]:_0x2e76ba([0x73,0x69,0x67]),[_0x2e76ba([0x63,0x72,0x76])]:_0x2e76ba([0x50,0x2d,0x32,0x35,0x36]),[_0x2e76ba([0x78])]:_0x2e76ba([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]),[_0x2e76ba([0x79])]:_0x2e76ba([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]),[_0x2e76ba([0x61,0x6c,0x67])]:_0x2e76ba([0x45,0x53,0x32,0x35,0x36])},_0x1e1ada=_0x204ff6[_0x2e76ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e76ba([0x67,0x65,0x74])](_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f391a(){let _0x4d56aa,_0x4df8e3=null,_0x5c19ea=null;try{if(_0x1e1ada==_0x2e76ba([0x47,0x50,0x4c]))return _0x2e76ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d56aa=_0x5a5499(),!_0x4d56aa)return _0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d56aa[_0x2e76ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c19ea=_0x593550(_0x4d56aa[_0x2e76ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d56aa[_0x2e76ba([0x6a,0x74,0x69])])),await _0x3c5c79()?_0x1c8830()?_0x5a0535()?_0x2e76ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10c991()?(_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e76ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4df8e3=_0x15cb02(_0x2e76ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e76ba([0x74,0x72,0x69,0x61,0x6c])&&(_0x4df8e3=_0x15cb02(_0x2e76ba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x465703()):_0x2e76ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e76ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a0535(){const _0x37b48e=[_0x2e76ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e76ba([0x74,0x72,0x69,0x61,0x6c])][_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd9546c/0x3e8:0xe10*_0x667850;return _0x4d56aa[_0x2e76ba([0x65,0x78,0x70])]<_0x37b48e;}function _0x1c8830(){const _0x307221=_0x4d56aa[_0x2e76ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x307221&&(!!_0x307221[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x2a]))||!!_0x307221[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x55,0x50,0x4c,0x43])));}function _0x10c991(){const _0x15ae9f=_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15ae9f||0x0==_0x15ae9f[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f8333}=new URL(window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15ae9f[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8333))return!0x0;const _0x1c73fa=_0x1f8333[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e]));return _0x15ae9f[_0x2e76ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51620b=>_0x51620b[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x2a])))[_0x2e76ba([0x6d,0x61,0x70])](_0x188adc=>_0x188adc[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e])))[_0x2e76ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28213c=>_0x28213c[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c73fa[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e76ba([0x6d,0x61,0x70])](_0x417f59=>Array(_0x1c73fa[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x417f59[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e76ba([0x66,0x69,0x6c,0x6c])](_0x417f59[0x0]===_0x2e76ba([0x2a])?_0x2e76ba([0x2a]):'')[_0x2e76ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x417f59))[_0x2e76ba([0x73,0x6f,0x6d,0x65])](_0x42f12e=>_0x1c73fa[_0x2e76ba([0x65,0x76,0x65,0x72,0x79])]((_0x288061,_0x5331ce)=>_0x42f12e[_0x5331ce]===_0x288061||_0x42f12e[_0x5331ce]===_0x2e76ba([0x2a])));}function _0x465703(){return _0x4df8e3&&_0x5c19ea?new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20d6c0,_0x9f92e7)=>{_0x4df8e3[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x20d6c0,_0x9f92e7),_0x5c19ea[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x4b1dc9=>{_0x4b1dc9!=_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])&&_0x20d6c0(_0x4b1dc9);},_0x9f92e7);}):_0x4df8e3||_0x5c19ea||_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x593550(_0x5574ab,_0x489333){return new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1553ec=>{if(_0x245b5f())return _0x1553ec(_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]));_0x49c22f(),_0x204ff6[_0x2e76ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23d2a4=!0x1;const _0x41cf21=_0x492ce0();function _0x45e90d(_0x2ef9e6){return!!_0x2ef9e6&&(typeof _0x2ef9e6===_0x2e76ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ef9e6===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ef9e6[_0x2e76ba([0x74,0x68,0x65,0x6e])]===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ef9e6[_0x2e76ba([0x63,0x61,0x74,0x63,0x68])]===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2044da(_0xb4bdb8){_0x5886ff(_0xb4bdb8)[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x4d6fae=>{if(!_0x4d6fae||_0x4d6fae[_0x2e76ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e76ba([0x6f,0x6b]))return _0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35fe63(_0x3c3add(_0x41cf21+_0x489333))!=_0x4d6fae[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x130af9=>(_0x52fac3(),_0x130af9),()=>{const _0x54fd01=_0x15c63c();return null==_0x54fd01?(_0x52fac3(),_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])):_0x2e76ba(_0xd9546c-_0x54fd01>(0x2ad0fba3^_0x268670)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x1553ec)[_0x2e76ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xeec471=0xeea9123^_0x268670;function _0x52fac3(){const _0x215a87=_0x2e76ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fe63(_0x3c3add(_0x5574ab)),_0x2aa8eb=_0x16b9c1(_0x35fe63(window[_0x2e76ba([0x4d,0x61,0x74,0x68])][_0x2e76ba([0x63,0x65,0x69,0x6c])](_0xd9546c/_0xeec471)));window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e76ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x215a87,_0x2aa8eb);}function _0x15c63c(){const _0x156ac6=_0x2e76ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fe63(_0x3c3add(_0x5574ab)),_0x2680c4=window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e76ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156ac6);return _0x2680c4?window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16b9c1(_0x2680c4),0x10)*_0xeec471:null;}function _0x5886ff(_0x5948c0){return new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7066ff,_0x22e483)=>{_0x5948c0[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x7066ff,_0x22e483),window[_0x2e76ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22e483,0xeddab63^_0x268670);});}}_0x204ff6[_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572ef3,_0x423d37)=>{if(_0x423d37[0x0]!=_0x5574ab)return _0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x423d37[0x1]={..._0x423d37[0x1],[_0x2e76ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41cf21};},{[_0x2e76ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e76ba([0x68,0x69,0x67,0x68])}),_0x204ff6[_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x498329=>{_0x45e90d(_0x498329[_0x2e76ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23d2a4=!0x0,_0x2044da(_0x498329[_0x2e76ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e76ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e76ba([0x6c,0x6f,0x77])}),_0x1d643e[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>{_0x23d2a4||_0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x245b5f(){return _0x204ff6[_0x2e76ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e76ba([0x76,0x69,0x65,0x77])][_0x2e76ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e76ba([0x61,0x75,0x74,0x6f]);}function _0x49c22f(){_0x204ff6[_0x2e76ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e76ba([0x76,0x69,0x65,0x77])][_0x2e76ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e76ba([0x61,0x75,0x74,0x6f]);}}function _0x15cb02(_0x2701cf){const _0x3a78f8=[new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1e80=>setTimeout(_0x1c1e80,0xed5416f^_0x268670)),_0x1d643e[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4594e8=>{let _0x25de2d=0x0;_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1918ba,_0x4e8ed9)=>{_0x4e8ed9[0x0][_0x2e76ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25de2d++,_0x25de2d==(0xedc7e5b^_0x268670)&&(_0x4594e8(),_0x1918ba[_0x2e76ba([0x6f,0x66,0x66])]());});}))];return window[_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e76ba([0x72,0x61,0x63,0x65])](_0x3a78f8)[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>_0x2701cf);}async function _0x2e66c6(){await _0x1d643e,_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x429094,_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x429094,_0x204ff6[_0x2e76ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b5b51(_0x3ac033){const _0x5575ab=_0x5141d1();_0x204ff6[_0x5575ab]=_0x2e76ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ac033,_0x3ac033!=_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])&&_0x2e66c6();}function _0x5141d1(){const _0xdf75e1=window[_0x2e76ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e76ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e76ba([0x6e,0x6f,0x77])]())[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e76ba([0x2e]),'');let _0xa8dc13=_0x2e76ba([0x55]);for(let _0x84f7a6=0x0;_0x84f7a6<_0xdf75e1[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x84f7a6+=0x2){let _0x59733b=window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf75e1[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x84f7a6,_0x84f7a6+0x2));_0x59733b>=_0x48954e[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59733b-=_0x48954e[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa8dc13+=_0x48954e[_0x59733b];}return _0xa8dc13;}function _0x5a5499(){const _0x11e04c=_0x1e1ada[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e]));if(0x3!=_0x11e04c[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdcf294(_0x11e04c[0x1]);function _0xdcf294(_0x18849f){const _0x1d3af6=_0x3e6a58(_0x18849f);return _0x1d3af6&&_0x3ded13()?_0x1d3af6:null;function _0x3ded13(){const _0xaeb981=_0x1d3af6[_0x2e76ba([0x6a,0x74,0x69])],_0x55f661=window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaeb981[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaeb981[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4aa87d={..._0x1d3af6,[_0x2e76ba([0x6a,0x74,0x69])]:_0xaeb981[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaeb981[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4aa87d[_0x2e76ba([0x76,0x63])],_0x3c3add(_0x4aa87d)==_0x55f661;}}}async function _0x3c5c79(){let _0x2cde86=!0x0;try{const _0x140ffe=_0x1e1ada[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e])),[_0x53dc34,_0x3821cc,_0x40a0f1]=_0x140ffe;return _0x1bd1fa(_0x53dc34),await _0x526f82(_0x53dc34,_0x3821cc,_0x40a0f1),_0x2cde86;}catch{return!0x1;}function _0x1bd1fa(_0xecc6df){const _0x5b7a48=_0x3e6a58(_0xecc6df);_0x5b7a48&&_0x5b7a48[_0x2e76ba([0x61,0x6c,0x67])]==_0x2e76ba([0x45,0x53,0x32,0x35,0x36])||(_0x2cde86=!0x1);}async function _0x526f82(_0x1dab47,_0x5ebf95,_0x5104ce){const _0x10f359=window[_0x2e76ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e76ba([0x66,0x72,0x6f,0x6d])](_0x3dde96(_0x5104ce),_0x29e026=>_0x29e026[_0x2e76ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c4609=new window[(_0x2e76ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e76ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1dab47+_0x2e76ba([0x2e])+_0x5ebf95),_0x53fd20=window[_0x2e76ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e76ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53fd20)return;const _0x21df6f=await _0x53fd20[_0x2e76ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e76ba([0x6a,0x77,0x6b]),_0x57925e,{[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x45,0x43,0x44,0x53,0x41]),[_0x2e76ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e76ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53fd20[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x45,0x43,0x44,0x53,0x41]),[_0x2e76ba([0x68,0x61,0x73,0x68])]:{[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21df6f,_0x10f359,_0x3c4609)||(_0x2cde86=!0x1);}}function _0x3e6a58(_0x33a159){return _0x33a159[_0x2e76ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e76ba([0x65,0x79]))?JSON[_0x2e76ba([0x70,0x61,0x72,0x73,0x65])](_0x3dde96(_0x33a159)):null;}function _0x3dde96(_0x1b57b9){return window[_0x2e76ba([0x61,0x74,0x6f,0x62])](_0x1b57b9[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e76ba([0x2b]))[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e76ba([0x2f])));}function _0x3c3add(_0x189b15){let _0x3ea3b4=0x1505;function _0x1b9a5c(_0x551a1f){for(let _0x128469=0x0;_0x128469<_0x551a1f[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x128469++){const _0x2a0a06=_0x551a1f[_0x2e76ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x128469);_0x3ea3b4=(_0x3ea3b4<<0x5)+_0x3ea3b4+_0x2a0a06,_0x3ea3b4&=_0x3ea3b4;}}function _0x2674c8(_0x3ef595){Array[_0x2e76ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ef595)?_0x3ef595[_0x2e76ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2674c8):_0x3ef595&&typeof _0x3ef595==_0x2e76ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e76ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ef595)[_0x2e76ba([0x73,0x6f,0x72,0x74])]()[_0x2e76ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fd753,_0xd6f124])=>{_0x1b9a5c(_0x2fd753),_0x2674c8(_0xd6f124);}):_0x1b9a5c(window[_0x2e76ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ef595));}return _0x2674c8(_0x189b15),_0x3ea3b4>>>0x0;}function _0x35fe63(_0x493335){return _0x493335[_0x2e76ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e76ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e76ba([0x30]));}function _0x16b9c1(_0x3d3e24){return _0x3d3e24[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e76ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e76ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x429094(){}function _0x2e76ba(_0x175cbc){return _0x175cbc['map'](_0x34d6dc=>String['fromCharCode'](_0x34d6dc))['join']('');}_0x3b5b51(await _0x1f391a());}(this);}['_initSchema'](){const _0x41e914=this['editor']['model']['schema'];_0x41e914['isRegistered']('imageBlock')&&_0x41e914['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x41e914['isRegistered']('imageInline')&&_0x41e914['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5c7a14=this['editor'];_0x5c7a14['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5c7a14['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5f1888=>_0x5f1888['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x243983=_0x5c7a14['commands']['get']('replaceImageSource');_0x243983&&this['listenTo'](_0x243983,'cleanupImage',(_0x3d14e1,[_0x43174d,_0x2cc3d5])=>{_0x43174d['removeAttribute']('uploadcareImageId',_0x2cc3d5);});}['_initConfig'](){const _0x24b62c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x334ed3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x413b6e(_0x12cd30['document'],'uc-config',{..._0x24b62c,'pubkey':_0x334ed3,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x412223=>{if('closeMax'==_0x412223)return'#uc-icon-arrow-down';},_0x12cd30['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x413b6e(_0x12cd30['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x12cd30['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x390f5=this['editor']['commands']['get']('insertImage');_0x390f5&&this['listenTo'](_0x390f5,'execute',()=>{const _0x4f21f4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f21f4&&_0x4f21f4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f21f4);});});const _0x940113=this['editor']['commands']['get']('uploadcareImageReplace');_0x940113&&this['listenTo'](_0x940113,'execute',()=>{const _0x21ae72=this['editor']['model']['document']['selection']['getSelectedElement']();_0x21ae72&&_0x21ae72['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x21ae72);});});}}class tt extends _0x43cf72{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51af01){super(_0x51af01),_0x51af01['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xd5b6cc['defineComponents'](_0xd5b6cc);}}class ii extends _0x4ecb53{constructor(_0x23641e){super(_0x23641e);const t=_0x23641e['t'],_0x1c5811=this['bindTemplate'],_0x3ffff5=new _0x33eedb();_0x3ffff5['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':[_0x3ffff5,{'text':_0x1c5811['to']('imageUploadProgress',_0x27ab5d=>t('Loading\x20image...')+'\x20('+(_0x27ab5d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x4ecb53{constructor(_0x302d2f){super(_0x302d2f);const t=_0x302d2f['t'];this['set']('errorType',null);const _0x16673c=new _0x28dc2a(_0x302d2f);_0x16673c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x16673c['withText']=!0x0,_0x16673c['class']='ck-button-action',_0x16673c['on']('execute',()=>{this['fire']('retry');}),_0x16673c['bind']('isVisible')['to'](this,'errorType',_0x1a51fc=>'NotFound'!==_0x1a51fc);const _0xd56c68=new _0x396388();_0xd56c68['content']=_0x354c6d,_0xd56c68['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x146e90=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':[_0xd56c68,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x146e90['to']('errorType',_0x12840a=>t('NotFound'!==_0x12840a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x16673c]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x4ecb53{constructor(_0x3172a9,_0xf3f64f){super(_0x3172a9);const _0x3f3282=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xf3f64f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3f3282['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x192223,_0xb5a6ad,_0x1a5e57){super(_0x192223),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x192223),this['_errorView']=new ti(_0x192223),this['_editingView']=new ei(_0x192223,_0x1a5e57),this['_focusableView']=new _0x4ecb53(_0x192223),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xb5a6ad),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'],_0xe7dd0e=>{this['_addUploadcareImageEditorListeners'](_0xe7dd0e);});}),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'](_0x4c134e,_0x257b7c){const _0x257a96='uc-cloud-image-editor',_0x3b3c7d=_0x4c134e['querySelector'](_0x257a96);if(_0x3b3c7d)return _0x257b7c(_0x3b3c7d);const _0x56b50c=new MutationObserver(_0x2be4cb=>{const _0x2b786e=_0x2be4cb['filter'](_0x4504ee=>_0x4504ee['target']===_0x4c134e&&_0x4504ee['addedNodes']['length']>0x0&&_0x4504ee['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x257a96);_0x2b786e['length']&&(_0x56b50c['disconnect'](),_0x257b7c(_0x2b786e[0x0]['addedNodes'][0x0]));});_0x56b50c['observe'](_0x4c134e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x482171){_0x482171['addEventListener']('apply',_0x1dcc90=>{this['fire']('apply',{'imageSrc':_0x1dcc90['detail']['cdnUrl']});}),_0x482171['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x276f36(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x39ceee,_0x5cbb2f,_0xa87fd5){super(),this['_editor']=_0x39ceee,this['_dialog']=_0x5cbb2f,this['_imageElement']=_0xa87fd5,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 _0x4c15c3=this['_imageElement'],_0x54457a=_0x4c15c3['getAttribute']('uploadcareImageId'),_0x3768b8=_0x4c15c3['getAttribute']('src');if(_0x54457a)await this['_loadImageInfo'](_0x54457a,_0x3768b8);else{if(this['_imageCache']['has'](_0x3768b8)){const _0x56ef4f=this['_imageCache']['get'](_0x3768b8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56ef4f['url'],this['imageDimension']=_0x56ef4f['dimension'],this['imageId']=_0x56ef4f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x191b01}=this['_editor'],t=_0x191b01['t'],_0x43553e=new X(_0x191b01,this['imageStatus'],this['_attributes']);_0x43553e['bind']('status')['to'](this,'imageStatus'),_0x43553e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43553e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43553e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43553e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4962bb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43553e,'position':_0x1e2d84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43553e['focus']();},'onHide':()=>{_0x43553e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24ee02=>!S(_0x24ee02,_0x43553e['element'])}});}['_loadImageInfo'](_0x38e946,_0x576fe5){return j['getInfo'](_0x38e946,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2ca9c8=>{const {width:_0x3e761a,height:_0x23aca3}=_0x2ca9c8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x576fe5,this['imageDimension']={'width':_0x3e761a,'height':_0x23aca3},this['imageId']=_0x38e946;})['catch'](_0x578194=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x578194['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ebc77,_0x447a3c){return this['_getImageAsFile'](_0x3ebc77)['then'](_0x124c48=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x447a3c['signal'],'file':_0x124c48,'onProgress':_0x270607=>{_0x270607&&_0x270607['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x270607['value']));}}))['then'](_0x1d17d3=>{const {width:_0x3136f7,height:_0x2b0405}=_0x1d17d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d17d3['cdnUrl'],this['imageDimension']={'width':_0x3136f7,'height':_0x2b0405},this['imageId']=_0x1d17d3['uuid'],this['imageUploadProgress']=null;const _0x441922=_0x3ebc77['getAttribute']('src');this['_imageCache']['set'](_0x441922,{'id':_0x1d17d3['uuid'],'url':_0x1d17d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a67a3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a67a3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f6d53,_0x248c18){_0x2f6d53['on']('apply',(_0x44169a,_0x30d5ba)=>{this['_replaceImage'](_0x248c18,_0x30d5ba['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f6d53['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f6d53['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3163f3,_0xd9aadc,_0x108c9f){const _0x4e236e=this['_editor'],{width:_0x46b8ec,height:_0xfec67a}=C(_0xd9aadc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x593132,imageSources:_0x29f0db}=k(_0xd9aadc,_0x46b8ec);_0x4e236e['model']['change'](_0x3a4841=>{if('$graveyard'===_0x3163f3['root']['rootName']){_0x4e236e['execute']('insertImage',{'imageType':_0x3163f3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3163f3['getAttributes']()),'uploadcareImageId':_0x108c9f,'src':_0x593132,'sources':_0x29f0db,'width':_0x46b8ec,'height':_0xfec67a}});const _0x222f9b=_0x3163f3['getChildren']();_0x3163f3=_0x4e236e['model']['document']['selection']['getSelectedElement']();for(const _0x422a95 of _0x222f9b)_0x3a4841['append'](_0x3a4841['cloneElement'](_0x422a95),_0x3163f3);}else _0x3a4841['setSelection'](_0x3163f3,'on'),_0x4e236e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3163f3['getAttributes']()),'uploadcareImageId':_0x108c9f,'src':_0x593132,'sources':_0x29f0db,'width':_0x46b8ec,'height':_0xfec67a},_0x3163f3);_0x3a4841['setSelection'](_0x3163f3,'on');});}async['_getImageAsFile'](_0x9b88c8){const _0x465d3b=_0x12cd30['window'],_0x330b2a=_0x12cd30['document']['location']['href'],_0x1dd5cc=new _0x465d3b['URL'](_0x9b88c8['getAttribute']('src'),_0x330b2a);if('data:'===_0x1dd5cc['protocol']){const _0x45e177=_0x1dd5cc['href']['split'](','),_0x54d4ac=_0x45e177[0x0]['match'](/:(.*?);/)[0x1],_0x1457fd=_0x54d4ac['split']('/')[0x1],_0x30c2b8=_0x465d3b['atob'](_0x45e177[_0x45e177['length']-0x1]);let _0x12140f=_0x30c2b8['length'];const _0x5c529e=new _0x465d3b['Uint8Array'](_0x12140f);for(;_0x12140f--;)_0x5c529e[_0x12140f]=_0x30c2b8['charCodeAt'](_0x12140f);return new _0x465d3b['File']([_0x5c529e],'image.'+_0x1457fd,{'type':_0x54d4ac});}const _0x2c6ef6=_0x1dd5cc['href']['split']('/'),_0x5c3fa3=_0x2c6ef6[_0x2c6ef6['length']-0x1],_0x210456=_0x5c3fa3['split']('.')[0x1];return _0x465d3b['fetch'](_0x1dd5cc['href'])['then'](_0x31acea=>_0x31acea['clone']()['blob']())['then'](_0x4865e4=>new _0x465d3b['File']([_0x4865e4],_0x5c3fa3,{'type':'image/'+_0x210456}));}}class O extends _0x4d8fff{['imageEditController'];static get['requires'](){return[_0x24aa98];}['_isEditable'];constructor(_0x318474){super(_0x318474),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1eef4a){const _0x17b4ec=G(_0x1eef4a);return _0xf470f8=>!(!_0xf470f8||!_0xf470f8['is']('element','imageBlock')&&!_0xf470f8['is']('element','imageInline'))&&(!!_0xf470f8['hasAttribute']('uploadcareImageId')||!!_0xf470f8['hasAttribute']('src')&&_0x17b4ec(_0xf470f8['getAttribute']('src')));}(_0x318474['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x61e78a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x61e78a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x22578b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x22578b&&(_0x22578b['is']('element','imageBlock')||_0x22578b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x24aa98),_0x22578b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4d8fff{['refresh'](){const _0x126b2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x126b2a&&(_0x126b2a['is']('element','imageBlock')||_0x126b2a['is']('element','imageInline')));}['execute'](_0x1b3197){const _0x58ad24=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x31885e=>{_0x31885e['setAttributes'](_0x1b3197,_0x58ad24),_0x31885e['removeAttribute']('srcset',_0x58ad24),_0x31885e['removeAttribute']('sizes',_0x58ad24);});}}class m extends _0x43cf72{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xeb61f2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x370a6b}=this;_0x370a6b['commands']['add']('uploadcareImageEdit',new O(_0x370a6b)),_0x370a6b['commands']['add']('uploadcareImageReplace',new R(_0x370a6b));}}class g extends _0x43cf72{['_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 _0x1d266=this['editor'];_0x1d266['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a09f5=>{const _0xf94e0a=_0x1d266['commands']['get']('uploadcareImageEdit'),_0x17cc97=new _0x28dc2a(_0x3a09f5),t=_0x3a09f5['t'];return _0x17cc97['set']({'icon':_0x4962bb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x17cc97['bind']('isEnabled')['to'](_0xf94e0a),_0x17cc97['bind']('isOn')['to'](_0xf94e0a,'isActive'),this['listenTo'](_0x17cc97,'execute',()=>{_0x1d266['execute']('uploadcareImageEdit'),_0x1d266['editing']['view']['focus']();}),_0x17cc97;}),this['_initConfig']();}['_initConfig'](){const _0x1573ea=_0x413b6e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1573ea),this['listenTo'](this['editor'],'destroy',()=>{_0x1573ea['remove']();});}}class et extends _0x43cf72{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5a4f74=>0x1!=_0x5a4f74}};
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':_0x4a0ab3=>0x1!=_0x4a0ab3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52e3f8=>{const {af:{dictionary:_0x5cbd1c,getPluralForm:_0x4def4e}}={'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':_0x1911f2=>0x1!=_0x1911f2}};_0x52e3f8['af']||={'dictionary':{},'getPluralForm':null},_0x52e3f8['af']['dictionary']=Object['assign'](_0x52e3f8['af']['dictionary'],_0x5cbd1c),_0x52e3f8['af']['getPluralForm']=_0x4def4e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x335226=>{const {af:{dictionary:_0xef9725,getPluralForm:_0xc5483b}}={'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':_0x26cf45=>0x1!=_0x26cf45}};_0x335226['af']||={'dictionary':{},'getPluralForm':null},_0x335226['af']['dictionary']=Object['assign'](_0x335226['af']['dictionary'],_0xef9725),_0x335226['af']['getPluralForm']=_0xc5483b;})(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':_0x583404=>0x0==_0x583404?0x0:0x1==_0x583404?0x1:0x2==_0x583404?0x2:_0x583404%0x64>=0x3&&_0x583404%0x64<=0xa?0x3:_0x583404%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':_0x51f917=>0x0==_0x51f917?0x0:0x1==_0x51f917?0x1:0x2==_0x51f917?0x2:_0x51f917%0x64>=0x3&&_0x51f917%0x64<=0xa?0x3:_0x51f917%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd90675=>{const {ar:{dictionary:_0x5cb15c,getPluralForm:_0x27c232}}={'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':_0xda29f5=>0x0==_0xda29f5?0x0:0x1==_0xda29f5?0x1:0x2==_0xda29f5?0x2:_0xda29f5%0x64>=0x3&&_0xda29f5%0x64<=0xa?0x3:_0xda29f5%0x64>=0xb?0x4:0x5}};_0xd90675['ar']||={'dictionary':{},'getPluralForm':null},_0xd90675['ar']['dictionary']=Object['assign'](_0xd90675['ar']['dictionary'],_0x5cb15c),_0xd90675['ar']['getPluralForm']=_0x27c232;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x735197=>{const {ar:{dictionary:_0x27f8f7,getPluralForm:_0x32a188}}={'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':_0x15de8c=>0x0==_0x15de8c?0x0:0x1==_0x15de8c?0x1:0x2==_0x15de8c?0x2:_0x15de8c%0x64>=0x3&&_0x15de8c%0x64<=0xa?0x3:_0x15de8c%0x64>=0xb?0x4:0x5}};_0x735197['ar']||={'dictionary':{},'getPluralForm':null},_0x735197['ar']['dictionary']=Object['assign'](_0x735197['ar']['dictionary'],_0x27f8f7),_0x735197['ar']['getPluralForm']=_0x32a188;})(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':_0x4b63cf=>0x1!=_0x4b63cf}};
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':_0x641d16=>0x1!=_0x641d16}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2afe29=>{const {ast:{dictionary:_0x4eaa17,getPluralForm:_0x25130b}}={'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':_0x494649=>0x1!=_0x494649}};_0x2afe29['ast']||={'dictionary':{},'getPluralForm':null},_0x2afe29['ast']['dictionary']=Object['assign'](_0x2afe29['ast']['dictionary'],_0x4eaa17),_0x2afe29['ast']['getPluralForm']=_0x25130b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8aa1b1=>{const {ast:{dictionary:_0x51b5e4,getPluralForm:_0x3bcddf}}={'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':_0x2e65f4=>0x1!=_0x2e65f4}};_0x8aa1b1['ast']||={'dictionary':{},'getPluralForm':null},_0x8aa1b1['ast']['dictionary']=Object['assign'](_0x8aa1b1['ast']['dictionary'],_0x51b5e4),_0x8aa1b1['ast']['getPluralForm']=_0x3bcddf;})(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':_0x435261=>0x1!=_0x435261}};
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':_0x3f1b7e=>0x1!=_0x3f1b7e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3ead9c=>{const {az:{dictionary:_0x1dfa8e,getPluralForm:_0x12e1a2}}={'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':_0x20047e=>0x1!=_0x20047e}};_0x3ead9c['az']||={'dictionary':{},'getPluralForm':null},_0x3ead9c['az']['dictionary']=Object['assign'](_0x3ead9c['az']['dictionary'],_0x1dfa8e),_0x3ead9c['az']['getPluralForm']=_0x12e1a2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x44a0a3=>{const {az:{dictionary:_0x1253b9,getPluralForm:_0x558682}}={'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':_0x3ea562=>0x1!=_0x3ea562}};_0x44a0a3['az']||={'dictionary':{},'getPluralForm':null},_0x44a0a3['az']['dictionary']=Object['assign'](_0x44a0a3['az']['dictionary'],_0x1253b9),_0x44a0a3['az']['getPluralForm']=_0x558682;})(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':_0x46acfd=>_0x46acfd%0xa==0x1&&_0x46acfd%0x64!=0xb?0x0:_0x46acfd%0xa>=0x2&&_0x46acfd%0xa<=0x4&&(_0x46acfd%0x64<0xa||_0x46acfd%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':_0x1541d6=>_0x1541d6%0xa==0x1&&_0x1541d6%0x64!=0xb?0x0:_0x1541d6%0xa>=0x2&&_0x1541d6%0xa<=0x4&&(_0x1541d6%0x64<0xa||_0x1541d6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17fa90=>{const {be:{dictionary:_0x1c48c7,getPluralForm:_0x15deca}}={'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':_0x55b3dc=>_0x55b3dc%0xa==0x1&&_0x55b3dc%0x64!=0xb?0x0:_0x55b3dc%0xa>=0x2&&_0x55b3dc%0xa<=0x4&&(_0x55b3dc%0x64<0xa||_0x55b3dc%0x64>=0x14)?0x1:0x2}};_0x17fa90['be']||={'dictionary':{},'getPluralForm':null},_0x17fa90['be']['dictionary']=Object['assign'](_0x17fa90['be']['dictionary'],_0x1c48c7),_0x17fa90['be']['getPluralForm']=_0x15deca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d2506=>{const {be:{dictionary:_0x1d169c,getPluralForm:_0x495fc5}}={'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':_0x330aaf=>_0x330aaf%0xa==0x1&&_0x330aaf%0x64!=0xb?0x0:_0x330aaf%0xa>=0x2&&_0x330aaf%0xa<=0x4&&(_0x330aaf%0x64<0xa||_0x330aaf%0x64>=0x14)?0x1:0x2}};_0x4d2506['be']||={'dictionary':{},'getPluralForm':null},_0x4d2506['be']['dictionary']=Object['assign'](_0x4d2506['be']['dictionary'],_0x1d169c),_0x4d2506['be']['getPluralForm']=_0x495fc5;})(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':_0xcd128c=>0x1!=_0xcd128c}};
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':_0x1c4cde=>0x1!=_0x1c4cde}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x156fa0=>{const {bg:{dictionary:_0x19d65c,getPluralForm:_0x30dd3b}}={'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':_0x22b722=>0x1!=_0x22b722}};_0x156fa0['bg']||={'dictionary':{},'getPluralForm':null},_0x156fa0['bg']['dictionary']=Object['assign'](_0x156fa0['bg']['dictionary'],_0x19d65c),_0x156fa0['bg']['getPluralForm']=_0x30dd3b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x201632=>{const {bg:{dictionary:_0x18f8c7,getPluralForm:_0x21bb52}}={'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':_0x5ade36=>0x1!=_0x5ade36}};_0x201632['bg']||={'dictionary':{},'getPluralForm':null},_0x201632['bg']['dictionary']=Object['assign'](_0x201632['bg']['dictionary'],_0x18f8c7),_0x201632['bg']['getPluralForm']=_0x21bb52;})(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':_0x15ed76=>0x1!=_0x15ed76}};
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':_0x226b33=>0x1!=_0x226b33}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x226f9c=>{const {bn:{dictionary:_0x3c3e47,getPluralForm:_0x5686d1}}={'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':_0x43963b=>0x1!=_0x43963b}};_0x226f9c['bn']||={'dictionary':{},'getPluralForm':null},_0x226f9c['bn']['dictionary']=Object['assign'](_0x226f9c['bn']['dictionary'],_0x3c3e47),_0x226f9c['bn']['getPluralForm']=_0x5686d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x261908=>{const {bn:{dictionary:_0x155f5b,getPluralForm:_0x3d246a}}={'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':_0x30509d=>0x1!=_0x30509d}};_0x261908['bn']||={'dictionary':{},'getPluralForm':null},_0x261908['bn']['dictionary']=Object['assign'](_0x261908['bn']['dictionary'],_0x155f5b),_0x261908['bn']['getPluralForm']=_0x3d246a;})(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':_0x260f7b=>_0x260f7b%0xa==0x1&&_0x260f7b%0x64!=0xb?0x0:_0x260f7b%0xa>=0x2&&_0x260f7b%0xa<=0x4&&(_0x260f7b%0x64<0xa||_0x260f7b%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':_0xd17b2a=>_0xd17b2a%0xa==0x1&&_0xd17b2a%0x64!=0xb?0x0:_0xd17b2a%0xa>=0x2&&_0xd17b2a%0xa<=0x4&&(_0xd17b2a%0x64<0xa||_0xd17b2a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd2a2d8=>{const {bs:{dictionary:_0x17a1ff,getPluralForm:_0x5cdd85}}={'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':_0x3c9ab0=>_0x3c9ab0%0xa==0x1&&_0x3c9ab0%0x64!=0xb?0x0:_0x3c9ab0%0xa>=0x2&&_0x3c9ab0%0xa<=0x4&&(_0x3c9ab0%0x64<0xa||_0x3c9ab0%0x64>=0x14)?0x1:0x2}};_0xd2a2d8['bs']||={'dictionary':{},'getPluralForm':null},_0xd2a2d8['bs']['dictionary']=Object['assign'](_0xd2a2d8['bs']['dictionary'],_0x17a1ff),_0xd2a2d8['bs']['getPluralForm']=_0x5cdd85;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x544659=>{const {bs:{dictionary:_0x2d6a78,getPluralForm:_0x4d371a}}={'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':_0x2b92f1=>_0x2b92f1%0xa==0x1&&_0x2b92f1%0x64!=0xb?0x0:_0x2b92f1%0xa>=0x2&&_0x2b92f1%0xa<=0x4&&(_0x2b92f1%0x64<0xa||_0x2b92f1%0x64>=0x14)?0x1:0x2}};_0x544659['bs']||={'dictionary':{},'getPluralForm':null},_0x544659['bs']['dictionary']=Object['assign'](_0x544659['bs']['dictionary'],_0x2d6a78),_0x544659['bs']['getPluralForm']=_0x4d371a;})(window['CKEDITOR_TRANSLATIONS']||={});