@ckeditor/ckeditor5-uploadcare 47.1.0-alpha.2 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) 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.d.ts +1 -1
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.d.ts +54 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. 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 _0x4383ac,Command as _0x445fdc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x35315f,IconGooglePhotos as _0x3a2c00,IconGoogleDrive as _0x5ca79a,IconFacebook as _0x57961b,IconDropbox as _0x27eec2,IconUploadcareLink as _0x2dbcac,IconUploadcareImageUpload as _0x3469e0,IconError as _0x473bf7,IconUploadcareImageEdit as _0xe45f34}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x10dbd4,MenuBarMenuListItemButtonView as _0x42ba94,View as _0x2ef568,FocusCycler as _0x569ca4,Dialog as _0x4fec6b,DialogViewPosition as _0x1e78d3,SpinnerView as _0x4c7a01,IconView as _0x3faafe,Notification as _0xc0d412}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1d7d69,DomEmitterMixin as _0x1e95a6,global as _0x4fb6a4,getAncestors as _0x857466,ObservableMixin as _0x30e54e,uid as _0x2a28a0,createElement as _0x407d29}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x65fbcd}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x7cc98d,info as _0x212641}from'@uploadcare/upload-client';import*as _0x4ac318 from'@uploadcare/file-uploader';var i=function(_0x53f3c7){return _0x53f3c7['Local']='local',_0x53f3c7['URL']='url',_0x53f3c7['Dropbox']='dropbox',_0x53f3c7['GDrive']='gdrive',_0x53f3c7['Facebook']='facebook',_0x53f3c7['GPhotos']='gphotos',_0x53f3c7['OneDrive']='onedrive',_0x53f3c7;}({});function _(_0x1a9e58,_0x1823d5,_0x542e8c){const t=_0x1a9e58['t'],_0x1ae411=_0x1a9e58['t'];switch(_0x1823d5){case i['Local']:return{'text':_0x1ae411('Insert'===_0x542e8c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ae411('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x542e8c?_0x1ae411('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ae411('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x542e8c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x542e8c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x542e8c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x542e8c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x542e8c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1823d5;}}class e extends _0x4383ac{['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 _0x143b4d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4675f9;for(const _0x4912e2 in _0x143b4d){const _0x228a6e=_0x4912e2,_0x37aa98=_0x143b4d[_0x228a6e];if('uploadcareLicenseKeyValid'==_0x37aa98||'uploadcareLicenseKeyInvalid'==_0x37aa98||'uploadcareLicenseKeyExpired'==_0x37aa98||'uploadcareLicenseKeyDomainLimit'==_0x37aa98||'uploadcareLicenseKeyNotAllowed'==_0x37aa98||'uploadcareLicenseKeyEvaluationLimit'==_0x37aa98||'uploadcareLicenseKeyTrialLimit'==_0x37aa98||'uploadcareLicenseKeyUsageLimit'==_0x37aa98){delete _0x143b4d[_0x228a6e],_0x4675f9=_0x37aa98,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4675f9&&_0x143b4d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4675f9&&_0x143b4d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4675f9&&_0x143b4d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4675f9&&_0x143b4d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4675f9&&_0x143b4d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4675f9&&_0x143b4d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4675f9&&_0x143b4d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5e0a34}=this,_0x39c24d=_0x5e0a34['commands']['get']('uploadcare');if(!_0x39c24d)return;const _0x5c071e=this['_normalizeConfigSourceList'](_0x5e0a34['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x40c09e,_0x21c05a)=>{const _0xb6b2bc=this['_getIntegrationKey'](_0x21c05a['type']);return _0x40c09e[_0xb6b2bc]||(_0x40c09e[_0xb6b2bc]=[]),_0x40c09e[_0xb6b2bc]['push'](_0x21c05a),_0x40c09e;},{});_0x5e0a34['plugins']['has']('ImageInsertUI')&&_0x5e0a34['commands']['get']('uploadcare')&&Object['entries'](_0x5c071e)['forEach'](([_0x231dd3,_0x142a48])=>{_0x5e0a34['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x231dd3,'observable':()=>_0x39c24d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x142a48),'formViewCreator':()=>this['_createDropdownButtons'](_0x142a48),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x142a48),'override':'assetManager'!==_0x231dd3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x29ed5c){const {locale:_0x2a2560}=this['editor'];return _0x29ed5c['map'](_0x166e71=>{const _0x4514c7=_(_0x2a2560,_0x166e71,'Insert');switch(_0x166e71){case i['Local']:return{'icon':_0x3469e0,'type':i['Local'],..._0x4514c7};case i['URL']:return{'icon':_0x2dbcac,'type':i['URL'],..._0x4514c7};case i['Dropbox']:return{'icon':_0x27eec2,'type':i['Dropbox'],..._0x4514c7};case i['Facebook']:return{'icon':_0x57961b,'type':i['Facebook'],..._0x4514c7};case i['GDrive']:return{'icon':_0x5ca79a,'type':i['GDrive'],..._0x4514c7};case i['GPhotos']:return{'icon':_0x3a2c00,'type':i['GPhotos'],..._0x4514c7};case i['OneDrive']:return{'icon':_0x35315f,'type':i['OneDrive'],..._0x4514c7};}});}['_getIntegrationKey'](_0x52e8a2){switch(_0x52e8a2){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x220438,_0x139fd1){const _0xf4dce8=this['editor'],_0x181228=new _0x220438(_0xf4dce8['locale']),_0x113b27=_0xf4dce8['commands']['get']('uploadcare');return _0x181228['bind']('isEnabled')['to'](_0x113b27),_0x181228['on']('execute',()=>{_0x113b27['execute'](_0x139fd1);}),_0x181228;}['_createToolbarButton'](_0xa7db12){const {locale:_0x56f2be}=this['editor'],_0x3fa6fa=this['editor']['plugins']['get']('ImageInsertUI'),_0x30838e=_0xa7db12[0x0],_0x21d4af=this['_createButton'](_0x10dbd4,_0x30838e['type']);return _0x21d4af['icon']=_0x30838e['icon'],_0x21d4af['bind']('label')['to'](_0x3fa6fa,'isImageSelected',_0x50a17a=>_(_0x56f2be,_0x30838e['type'],_0x50a17a?'Replace':'Insert')['text']),_0x21d4af['tooltip']=!0x0,_0x21d4af;}['_createDropdownButtons'](_0x15c7af){const {locale:_0x28f619}=this['editor'],_0x56c98d=this['editor']['plugins']['get']('ImageInsertUI');return _0x15c7af['map'](_0x30cf69=>{const _0x1029fc=this['_createButton'](_0x10dbd4,_0x30cf69['type']);return _0x1029fc['withText']=!0x0,_0x1029fc['icon']=_0x30cf69['icon'],_0x1029fc['bind']('label')['to'](_0x56c98d,'isImageSelected',_0xd72016=>_(_0x28f619,_0x30cf69['type'],_0xd72016?'Replace':'Insert')['text']),_0x1029fc;});}['_createMenuBarButtons'](_0x334ba9){return _0x334ba9['map'](_0x284fd5=>{const _0x13e199=this['_createButton'](_0x42ba94,_0x284fd5['type']);return _0x13e199['icon']=_0x284fd5['icon'],_0x13e199['label']=_0x284fd5['shortText'],_0x13e199;});}}class W extends _0x2ef568{['focusTracker'];['focusCycler'];constructor(_0x2450eb){super(_0x2450eb),this['focusTracker']=new _0x1d7d69(),this['focusCycler']=new _0x569ca4({'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 V extends W{constructor(_0x37adb3,_0x5f3b25){super(_0x37adb3),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-'+_0x5f3b25}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4eb40e,_0x330cd3){const _0x593083=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x53159c=>_0x53159c<=_0x330cd3)['map'](_0x473fd6=>_0x4eb40e['replace'](/\/$/,'')+'/-/resize/'+_0x473fd6+'x/\x20'+_0x473fd6+'w');return{'imageFallbackUrl':_0x4eb40e,'imageSources':[{'srcset':_0x593083['join'](',\x20'),'sizes':'(max-width:\x20'+_0x330cd3+'px)\x20100vw,\x20'+_0x330cd3+'px','type':'image/webp'}]};}function J(_0x5c1eae,_0x380770,_0x8f0c88){const _0x4e49f2=_0x5c1eae['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4e49f2?parseInt(_0x4e49f2[0x1],0xa):_0x380770,'height':_0x4e49f2?parseInt(_0x4e49f2[0x2],0xa):_0x8f0c88};}function p(_0xe20150,_0x16c340){const _0x3e2216=new(_0x1e95a6())(),_0x2e2d04=_0xe20150['plugins']['get']('ImageUtils'),_0x42e110=_0xe20150['editing']['mapper']['toViewElement'](_0x16c340),_0x20f1df=_0x2e2d04['findViewImgElement'](_0x42e110),_0x27c5b3=_0xe20150['editing']['view']['domConverter']['viewToDom'](_0x20f1df),_0x4b700a=_0x16c340['getAttribute']('width'),_0x1bfeda=_0x16c340['getAttribute']('height'),_0x193a5c='image-processing';_0xe20150['editing']['view']['change'](_0x5cb4c2=>{_0x5cb4c2['addClass'](_0x193a5c,_0x42e110),_0x5cb4c2['setStyle']('aspect-ratio',_0x4b700a+'/'+_0x1bfeda,_0x20f1df);}),_0x3e2216['listenTo'](_0x27c5b3,'load',()=>{_0x3e2216['stopListening'](_0x27c5b3,'load'),_0xe20150['editing']['view']['change'](_0x30c172=>{_0x30c172['removeClass'](_0x193a5c,_0x42e110),_0x30c172['removeStyle']('aspect-ratio',_0x20f1df);});});}function z(_0x344071){if(Array['isArray'](_0x344071)){const _0x55b963=_0x344071['map'](z);return _0x1b2149=>_0x55b963['some'](_0x57ce34=>_0x57ce34(_0x1b2149));}if('origin'==_0x344071){const _0x5a0ea2=_0x4fb6a4['window']['location']['origin'];return _0x9e6919=>new URL(_0x9e6919,_0x4fb6a4['document']['baseURI'])['origin']==_0x5a0ea2;}return'function'==typeof _0x344071?_0x344071:_0x344071 instanceof RegExp?_0xf6fa29=>!(!_0xf6fa29['match'](_0x344071)&&!_0xf6fa29['replace'](/^https?:\/\//,'')['match'](_0x344071)):()=>!0x1;}function Q(_0x4d0427,_0x2224c1){return _0x857466(_0x4d0427['target'])['includes'](_0x2224c1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x30e54e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4f742d,_0x42bdbf,_0x107287){super(),this['_editor']=_0x4f742d,this['_editing']=_0x42bdbf,this['_dialog']=_0x4f742d['plugins']['get'](_0x4fec6b),this['_api']=_0x42bdbf['ctxElement']['getAPI'](),this['_type']=_0x107287,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:_0x5e1d47,model:_0x209f99}=this['_editor'],_0x263980=_0x209f99['document']['selection']['getSelectedElement'](),_0x527baa=_0x263980&&(_0x263980['is']('element','imageBlock')||_0x263980['is']('element','imageInline'));this['_formView']=new V(_0x5e1d47,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3469e0,'title':_(_0x5e1d47,this['_type'],_0x527baa?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e78d3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a84b5=>!Q(_0x3a84b5,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3ae0e4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x9bbec1=>{const _0x5f1d00=_0x3ae0e4['length'];for(const _0x3b94a1 of _0x3ae0e4){const _0x37b8ef=_0x3b94a1===_0x3ae0e4[_0x5f1d00-0x1],{cdnUrl:_0x255785,fileInfo:_0x548337}=_0x3b94a1;if(!_0x255785||!_0x548337)continue;const {width:_0x38b7da,height:_0xdcdc6b}=_0x548337['imageInfo'],_0x2ef7b7=J(_0x255785,_0x38b7da,_0xdcdc6b),_0x449098=C(_0x255785,_0x2ef7b7['width']),_0x4365d9={'id':_0x548337['uuid'],'type':'image','attributes':{'imageDimension':_0x2ef7b7,..._0x449098}};this['_insertAsset'](_0x4365d9,_0x37b8ef,_0x9bbec1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x288e09=>{'idle'===_0x288e09['detail']['status']&&!_0x288e09['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5763df,_0x1c51e8,_0x55489c){const _0x13f9cc=this['_editor']['model']['document']['selection'],_0xf3e925=_0x13f9cc['getSelectedElement'](),_0x17ef00=!(!_0xf3e925||!_0xf3e925['is']('element','imageInline'));_0x55489c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5763df,_0x17ef00),_0x1c51e8||_0x55489c['setSelection'](_0x13f9cc['getLastPosition']());}['_insertImage'](_0x347801,_0x1461ca){const _0xe8f795=this['_editor'],{imageDimension:_0xfc6554,imageFallbackUrl:_0x2aae35,imageSources:_0xe29c6b}=_0x347801['attributes'];_0xe8f795['execute']('insertImage',{'imageType':_0x1461ca?'imageInline':null,'source':{'uploadcareImageId':_0x347801['id'],'src':_0x2aae35,'sources':_0xe29c6b,..._0xfc6554}});}}class w extends _0x445fdc{['_editing'];['_controller']=null;static get['requires'](){return[_0x4fec6b,o];}constructor(_0x2ebb50){super(_0x2ebb50),this['_editing']=_0x2ebb50['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x570252){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x570252);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x226efe,..._0x115ef4}){return _0x7cc98d(_0x226efe,_0x115ef4);}static['getInfo'](_0x3ebbb4,_0x1f6bf3){return _0x212641(_0x3ebbb4,_0x1f6bf3);}}class f extends _0x4383ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x65fbcd,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x227c75=this['editor'];if(!!!_0x227c75['config']['get']('uploadcare'))return;_0x227c75['plugins']['get'](_0x65fbcd)['createUploadAdapter']=_0x56a32c=>new k(_0x56a32c,_0x227c75),_0x227c75['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20de18,{imageElement:_0x1ac723,data:_0x2a6e7d})=>{_0x227c75['model']['change'](_0x1994be=>{_0x1994be['setAttribute']('uploadcareImageId',_0x2a6e7d['uploadcareImageId'],_0x1ac723);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x13e01f,_0x557186){this['loader']=_0x13e01f,this['editor']=_0x557186,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x338bc8=await this['loader']['file'];return j['upload']({'file':_0x338bc8,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2711c0=>{_0x2711c0&&_0x2711c0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2711c0['value']);}})['then'](async _0x57591d=>{const {imageFallbackUrl:_0xc3ee6e,imageSources:_0x5751e2}=C(_0x57591d['cdnUrl'],_0x57591d['imageInfo']['width']);return{'uploadcareImageId':_0x57591d['uuid'],'default':_0xc3ee6e,'sources':_0x5751e2};})['catch'](()=>{const _0x50cb8c=t('Cannot\x20upload\x20file:')+('\x20'+_0x338bc8['name']+'.');return Promise['reject'](_0x50cb8c);});}['abort'](){this['controller']['abort']();}}class o extends _0x4383ac{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4fec6b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1fd141){super(_0x1fd141),this['ucContextId']=_0x2a28a0();}['init'](){const _0x2937ea=this['editor'];_0x2937ea['commands']['add']('uploadcare',new w(_0x2937ea));}['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 _0x54a194=_0x4fb6a4['document']['querySelector']('input[uploadcare-file-input]');_0x54a194&&_0x54a194['remove']();}),async function(_0x52148d){const _0x21e2a6=_0x2b3db5([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2907ba=0x3d8d0df,_0x563010=0x3dfa687^_0x2907ba,_0x101d6d=window[_0x2b3db5([0x44,0x61,0x74,0x65])][_0x2b3db5([0x6e,0x6f,0x77])](),_0x51d1a5=_0x52148d[_0x2b3db5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x508e87=new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x292f06=>{_0x51d1a5[_0x2b3db5([0x6f,0x6e,0x63,0x65])](_0x2b3db5([0x72,0x65,0x61,0x64,0x79]),_0x292f06);}),_0x1dc79a={[_0x2b3db5([0x6b,0x74,0x79])]:_0x2b3db5([0x45,0x43]),[_0x2b3db5([0x75,0x73,0x65])]:_0x2b3db5([0x73,0x69,0x67]),[_0x2b3db5([0x63,0x72,0x76])]:_0x2b3db5([0x50,0x2d,0x32,0x35,0x36]),[_0x2b3db5([0x78])]:_0x2b3db5([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]),[_0x2b3db5([0x79])]:_0x2b3db5([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]),[_0x2b3db5([0x61,0x6c,0x67])]:_0x2b3db5([0x45,0x53,0x32,0x35,0x36])},_0x102101=_0x51d1a5[_0x2b3db5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b3db5([0x67,0x65,0x74])](_0x2b3db5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x587b82(){let _0x2026ac,_0x6571f1=null,_0x1f873e=null;try{if(_0x102101==_0x2b3db5([0x47,0x50,0x4c]))return _0x2b3db5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2026ac=_0x26936a(),!_0x2026ac)return _0x2b3db5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2026ac[_0x2b3db5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f873e=_0x54310f(_0x2026ac[_0x2b3db5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2026ac[_0x2b3db5([0x6a,0x74,0x69])])),await _0x5a1647()?_0x5c1c3c()?_0xc9a0d7()?_0x2b3db5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e04a3()?(_0x2026ac[_0x2b3db5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3db5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6571f1=_0x36d2c8(_0x2b3db5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2026ac[_0x2b3db5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3db5([0x74,0x72,0x69,0x61,0x6c])&&(_0x6571f1=_0x36d2c8(_0x2b3db5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x540ee7()):_0x2b3db5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3db5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b3db5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b3db5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc9a0d7(){const _0x239df1=[_0x2b3db5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b3db5([0x74,0x72,0x69,0x61,0x6c])][_0x2b3db5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2026ac[_0x2b3db5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x101d6d/0x3e8:0xe10*_0x563010;return _0x2026ac[_0x2b3db5([0x65,0x78,0x70])]<_0x239df1;}function _0x5c1c3c(){const _0x226ccc=_0x2026ac[_0x2b3db5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x226ccc&&(!!_0x226ccc[_0x2b3db5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3db5([0x2a]))||!!_0x226ccc[_0x2b3db5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3db5([0x55,0x50,0x4c,0x43])));}function _0x3e04a3(){const _0x2b9fd2=_0x2026ac[_0x2b3db5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b9fd2||0x0==_0x2b9fd2[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44f10f}=new URL(window[_0x2b3db5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b9fd2[_0x2b3db5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44f10f))return!0x0;const _0x13f2e0=_0x44f10f[_0x2b3db5([0x73,0x70,0x6c,0x69,0x74])](_0x2b3db5([0x2e]));return _0x2b9fd2[_0x2b3db5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d6909=>_0x4d6909[_0x2b3db5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3db5([0x2a])))[_0x2b3db5([0x6d,0x61,0x70])](_0x44dfb7=>_0x44dfb7[_0x2b3db5([0x73,0x70,0x6c,0x69,0x74])](_0x2b3db5([0x2e])))[_0x2b3db5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e7945=>_0x4e7945[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13f2e0[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3db5([0x6d,0x61,0x70])](_0x569a95=>Array(_0x13f2e0[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x569a95[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3db5([0x66,0x69,0x6c,0x6c])](_0x569a95[0x0]===_0x2b3db5([0x2a])?_0x2b3db5([0x2a]):'')[_0x2b3db5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x569a95))[_0x2b3db5([0x73,0x6f,0x6d,0x65])](_0x5c5098=>_0x13f2e0[_0x2b3db5([0x65,0x76,0x65,0x72,0x79])]((_0x236be3,_0x2d9af4)=>_0x5c5098[_0x2d9af4]===_0x236be3||_0x5c5098[_0x2d9af4]===_0x2b3db5([0x2a])));}function _0x540ee7(){return _0x6571f1&&_0x1f873e?new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a072d,_0x59cdc3)=>{_0x6571f1[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0x4a072d,_0x59cdc3),_0x1f873e[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0xbc177a=>{_0xbc177a!=_0x2b3db5([0x56,0x61,0x6c,0x69,0x64])&&_0x4a072d(_0xbc177a);},_0x59cdc3);}):_0x6571f1||_0x1f873e||_0x2b3db5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54310f(_0x233899,_0xd9bd30){return new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1161a7=>{if(_0xc6b2f3())return _0x1161a7(_0x2b3db5([0x56,0x61,0x6c,0x69,0x64]));_0x418a9d(),_0x51d1a5[_0x2b3db5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b3db5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf113df=!0x1;const _0x5bd0de=_0x2a28a0();function _0x242c77(_0x36aafa){return!!_0x36aafa&&(typeof _0x36aafa===_0x2b3db5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36aafa===_0x2b3db5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36aafa[_0x2b3db5([0x74,0x68,0x65,0x6e])]===_0x2b3db5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36aafa[_0x2b3db5([0x63,0x61,0x74,0x63,0x68])]===_0x2b3db5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42f3ba(_0x5cd2e8){_0x2ad05d(_0x5cd2e8)[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0x2337e4=>{if(!_0x2337e4||_0x2337e4[_0x2b3db5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b3db5([0x6f,0x6b]))return _0x2b3db5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e5d02(_0x206007(_0x5bd0de+_0xd9bd30))!=_0x2337e4[_0x2b3db5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b3db5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3db5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0x281d34=>(_0xfa0a21(),_0x281d34),()=>{const _0x1a0d1b=_0x100241();return null==_0x1a0d1b?(_0xfa0a21(),_0x2b3db5([0x56,0x61,0x6c,0x69,0x64])):_0x2b3db5(_0x101d6d-_0x1a0d1b>(0x27d454df^_0x2907ba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0x1161a7)[_0x2b3db5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1161a7(_0x2b3db5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15a2b5=0x3ee3e5f^_0x2907ba;function _0xfa0a21(){const _0x3e0ba7=_0x2b3db5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e5d02(_0x206007(_0x233899)),_0x59a1c1=_0xe7442d(_0x2e5d02(window[_0x2b3db5([0x4d,0x61,0x74,0x68])][_0x2b3db5([0x63,0x65,0x69,0x6c])](_0x101d6d/_0x15a2b5)));window[_0x2b3db5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3db5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e0ba7,_0x59a1c1);}function _0x100241(){const _0x2953c0=_0x2b3db5([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e5d02(_0x206007(_0x233899)),_0xac5667=window[_0x2b3db5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3db5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2953c0);return _0xac5667?window[_0x2b3db5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe7442d(_0xac5667),0x10)*_0x15a2b5:null;}function _0x2ad05d(_0x59d1c3){return new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56f701,_0x2b188a)=>{_0x59d1c3[_0x2b3db5([0x74,0x68,0x65,0x6e])](_0x56f701,_0x2b188a),window[_0x2b3db5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b188a,0x3d9041f^_0x2907ba);});}}_0x51d1a5[_0x2b3db5([0x6f,0x6e])](_0x2b3db5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x538589,_0x422d1d)=>{if(_0x422d1d[0x0]!=_0x233899)return _0x1161a7(_0x2b3db5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x422d1d[0x1]={..._0x422d1d[0x1],[_0x2b3db5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bd0de};},{[_0x2b3db5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3db5([0x68,0x69,0x67,0x68])}),_0x51d1a5[_0x2b3db5([0x6f,0x6e])](_0x2b3db5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2dd427=>{_0x242c77(_0x2dd427[_0x2b3db5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf113df=!0x0,_0x42f3ba(_0x2dd427[_0x2b3db5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b3db5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3db5([0x6c,0x6f,0x77])}),_0x508e87[_0x2b3db5([0x74,0x68,0x65,0x6e])](()=>{_0xf113df||_0x1161a7(_0x2b3db5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc6b2f3(){return _0x51d1a5[_0x2b3db5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3db5([0x76,0x69,0x65,0x77])][_0x2b3db5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b3db5([0x61,0x75,0x74,0x6f]);}function _0x418a9d(){_0x51d1a5[_0x2b3db5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3db5([0x76,0x69,0x65,0x77])][_0x2b3db5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b3db5([0x61,0x75,0x74,0x6f]);}}function _0x36d2c8(_0x48c0db){const _0xc45ff3=[new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c5fdb=>setTimeout(_0x3c5fdb,0x3d1ee13^_0x2907ba)),_0x508e87[_0x2b3db5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9e8473=>{let _0x529983=0x0;_0x51d1a5[_0x2b3db5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3db5([0x6f,0x6e])](_0x2b3db5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b7937,_0x21e119)=>{_0x21e119[0x0][_0x2b3db5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x529983++,_0x529983==(0x3d8d127^_0x2907ba)&&(_0x9e8473(),_0x4b7937[_0x2b3db5([0x6f,0x66,0x66])]());});}))];return window[_0x2b3db5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b3db5([0x72,0x61,0x63,0x65])](_0xc45ff3)[_0x2b3db5([0x74,0x68,0x65,0x6e])](()=>_0x48c0db);}async function _0x54360f(){await _0x508e87,_0x51d1a5[_0x2b3db5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3db5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x565054,_0x51d1a5[_0x2b3db5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3db5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x565054,_0x51d1a5[_0x2b3db5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b3db5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48c4f2(_0x273305){const _0x4ec6b3=_0x413ece();_0x51d1a5[_0x4ec6b3]=_0x2b3db5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x273305,_0x273305!=_0x2b3db5([0x56,0x61,0x6c,0x69,0x64])&&_0x54360f();}function _0x413ece(){const _0x3f5c32=window[_0x2b3db5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b3db5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b3db5([0x6e,0x6f,0x77])]())[_0x2b3db5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b3db5([0x2e]),'');let _0x4de702=_0x2b3db5([0x52]);for(let _0x496ad5=0x0;_0x496ad5<_0x3f5c32[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x496ad5+=0x2){let _0x1cbb63=window[_0x2b3db5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f5c32[_0x2b3db5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x496ad5,_0x496ad5+0x2));_0x1cbb63>=_0x21e2a6[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cbb63-=_0x21e2a6[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4de702+=_0x21e2a6[_0x1cbb63];}return _0x4de702;}function _0x26936a(){const _0x42884a=_0x102101[_0x2b3db5([0x73,0x70,0x6c,0x69,0x74])](_0x2b3db5([0x2e]));if(0x3!=_0x42884a[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17d6ae(_0x42884a[0x1]);function _0x17d6ae(_0x3c1b27){const _0x5e3a6d=_0x404b6d(_0x3c1b27);return _0x5e3a6d&&_0x5c4bdc()?_0x5e3a6d:null;function _0x5c4bdc(){const _0x25277a=_0x5e3a6d[_0x2b3db5([0x6a,0x74,0x69])],_0x2856ff=window[_0x2b3db5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25277a[_0x2b3db5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25277a[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x508ff9={..._0x5e3a6d,[_0x2b3db5([0x6a,0x74,0x69])]:_0x25277a[_0x2b3db5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25277a[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x508ff9[_0x2b3db5([0x76,0x63])],_0x206007(_0x508ff9)==_0x2856ff;}}}async function _0x5a1647(){let _0xcf5264=!0x0;try{const _0x330ecb=_0x102101[_0x2b3db5([0x73,0x70,0x6c,0x69,0x74])](_0x2b3db5([0x2e])),[_0x265c68,_0x2547ab,_0x31eec5]=_0x330ecb;return _0x30ed69(_0x265c68),await _0x38aa69(_0x265c68,_0x2547ab,_0x31eec5),_0xcf5264;}catch{return!0x1;}function _0x30ed69(_0x5c72ca){const _0x22fc7c=_0x404b6d(_0x5c72ca);_0x22fc7c&&_0x22fc7c[_0x2b3db5([0x61,0x6c,0x67])]==_0x2b3db5([0x45,0x53,0x32,0x35,0x36])||(_0xcf5264=!0x1);}async function _0x38aa69(_0x29471e,_0x22ed49,_0x2f918d){const _0x4cd430=window[_0x2b3db5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b3db5([0x66,0x72,0x6f,0x6d])](_0x15bf0f(_0x2f918d),_0x3a1d2d=>_0x3a1d2d[_0x2b3db5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2930ad=new window[(_0x2b3db5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b3db5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29471e+_0x2b3db5([0x2e])+_0x22ed49),_0x82feeb=window[_0x2b3db5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b3db5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x82feeb)return;const _0x451cea=await _0x82feeb[_0x2b3db5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b3db5([0x6a,0x77,0x6b]),_0x1dc79a,{[_0x2b3db5([0x6e,0x61,0x6d,0x65])]:_0x2b3db5([0x45,0x43,0x44,0x53,0x41]),[_0x2b3db5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b3db5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b3db5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x82feeb[_0x2b3db5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b3db5([0x6e,0x61,0x6d,0x65])]:_0x2b3db5([0x45,0x43,0x44,0x53,0x41]),[_0x2b3db5([0x68,0x61,0x73,0x68])]:{[_0x2b3db5([0x6e,0x61,0x6d,0x65])]:_0x2b3db5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x451cea,_0x4cd430,_0x2930ad)||(_0xcf5264=!0x1);}}function _0x404b6d(_0x418256){return _0x418256[_0x2b3db5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b3db5([0x65,0x79]))?JSON[_0x2b3db5([0x70,0x61,0x72,0x73,0x65])](_0x15bf0f(_0x418256)):null;}function _0x15bf0f(_0x116ace){return window[_0x2b3db5([0x61,0x74,0x6f,0x62])](_0x116ace[_0x2b3db5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b3db5([0x2b]))[_0x2b3db5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b3db5([0x2f])));}function _0x206007(_0x40613c){let _0x5aca6b=0x1505;function _0x1da3dd(_0x2ffd99){for(let _0x3b1f2c=0x0;_0x3b1f2c<_0x2ffd99[_0x2b3db5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b1f2c++){const _0x187cde=_0x2ffd99[_0x2b3db5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b1f2c);_0x5aca6b=(_0x5aca6b<<0x5)+_0x5aca6b+_0x187cde,_0x5aca6b&=_0x5aca6b;}}function _0x538f16(_0x1ceb04){Array[_0x2b3db5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ceb04)?_0x1ceb04[_0x2b3db5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x538f16):_0x1ceb04&&typeof _0x1ceb04==_0x2b3db5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b3db5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ceb04)[_0x2b3db5([0x73,0x6f,0x72,0x74])]()[_0x2b3db5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fe296,_0x5f1c0d])=>{_0x1da3dd(_0x2fe296),_0x538f16(_0x5f1c0d);}):_0x1da3dd(window[_0x2b3db5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ceb04));}return _0x538f16(_0x40613c),_0x5aca6b>>>0x0;}function _0x2e5d02(_0x2695f1){return _0x2695f1[_0x2b3db5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b3db5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b3db5([0x30]));}function _0xe7442d(_0x1e8b81){return _0x1e8b81[_0x2b3db5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b3db5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b3db5([0x6a,0x6f,0x69,0x6e])]('');}function _0x565054(){}function _0x2b3db5(_0x238764){return _0x238764['map'](_0x35b213=>String['fromCharCode'](_0x35b213))['join']('');}_0x48c4f2(await _0x587b82());}(this);}['_initSchema'](){const _0x2b8b7e=this['editor']['model']['schema'];_0x2b8b7e['isRegistered']('imageBlock')&&_0x2b8b7e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2b8b7e['isRegistered']('imageInline')&&_0x2b8b7e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2e17fc=this['editor'];_0x2e17fc['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2e17fc['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x44a7eb=>_0x44a7eb['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x37c067=_0x2e17fc['commands']['get']('replaceImageSource');_0x37c067&&this['listenTo'](_0x37c067,'cleanupImage',(_0x3446bf,[_0x518e39,_0x228973])=>{_0x518e39['removeAttribute']('uploadcareImageId',_0x228973);});}['_initConfig'](){const _0x3919a3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1adeb1=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x407d29(_0x4fb6a4['document'],'uc-config',{..._0x3919a3,'pubkey':_0x1adeb1,'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']=_0xca3655=>{if('closeMax'==_0xca3655)return'#uc-icon-arrow-down';},_0x4fb6a4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x407d29(_0x4fb6a4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4fb6a4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x106e1e=this['editor']['commands']['get']('insertImage');_0x106e1e&&this['listenTo'](_0x106e1e,'execute',()=>{const _0x268d1b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x268d1b&&_0x268d1b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x268d1b);});});const _0x223f91=this['editor']['commands']['get']('uploadcareImageReplace');_0x223f91&&this['listenTo'](_0x223f91,'execute',()=>{const _0x7358f8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x7358f8&&_0x7358f8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x7358f8);});});}}class tt extends _0x4383ac{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3dc123){super(_0x3dc123),_0x3dc123['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4ac318['defineComponents'](_0x4ac318);}}class ii extends _0x2ef568{constructor(_0x5647fe){super(_0x5647fe);const t=_0x5647fe['t'],_0x515796=this['bindTemplate'],_0x157ec0=new _0x4c7a01();_0x157ec0['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':[_0x157ec0,{'text':_0x515796['to']('imageUploadProgress',_0x43ff59=>t('Loading\x20image...')+'\x20('+(_0x43ff59||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 _0x2ef568{constructor(_0x345ce2){super(_0x345ce2);const t=_0x345ce2['t'];this['set']('errorType',null);const _0x11baa7=new _0x10dbd4(_0x345ce2);_0x11baa7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x11baa7['withText']=!0x0,_0x11baa7['class']='ck-button-action',_0x11baa7['on']('execute',()=>{this['fire']('retry');}),_0x11baa7['bind']('isVisible')['to'](this,'errorType',_0x23e53d=>'NotFound'!==_0x23e53d);const _0x30fdfa=new _0x3faafe();_0x30fdfa['content']=_0x473bf7,_0x30fdfa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5734a=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':[_0x30fdfa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5734a['to']('errorType',_0x5eab7c=>t('NotFound'!==_0x5eab7c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x11baa7]},{'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 _0x2ef568{constructor(_0x1de53b,_0x138309){super(_0x1de53b);const _0x1d1ad5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x138309,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1d1ad5['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2d9c5c,_0x471ec3,_0x4d6509){super(_0x2d9c5c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2d9c5c),this['_errorView']=new ti(_0x2d9c5c),this['_editingView']=new ei(_0x2d9c5c,_0x4d6509),this['_focusableView']=new _0x2ef568(_0x2d9c5c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x471ec3),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'],_0x44c006=>{this['_addUploadcareImageEditorListeners'](_0x44c006);});}),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'](_0x49e98d,_0xd4d7af){const _0x3a718a='uc-cloud-image-editor',_0x3207ab=_0x49e98d['querySelector'](_0x3a718a);if(_0x3207ab)return _0xd4d7af(_0x3207ab);const _0x5197a7=new MutationObserver(_0x2bb155=>{const _0x566dae=_0x2bb155['filter'](_0x51b94b=>_0x51b94b['target']===_0x49e98d&&_0x51b94b['addedNodes']['length']>0x0&&_0x51b94b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3a718a);_0x566dae['length']&&(_0x5197a7['disconnect'](),_0xd4d7af(_0x566dae[0x0]['addedNodes'][0x0]));});_0x5197a7['observe'](_0x49e98d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x89f919){_0x89f919['addEventListener']('apply',_0x473d13=>{this['fire']('apply',{'imageSrc':_0x473d13['detail']['cdnUrl']});}),_0x89f919['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x30e54e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x551dcd,_0x1ce31c,_0x2db7dd){super(),this['_editor']=_0x551dcd,this['_dialog']=_0x1ce31c,this['_imageElement']=_0x2db7dd,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 _0x545289=this['_imageElement'],_0x448dbb=_0x545289['getAttribute']('uploadcareImageId'),_0x1641fd=_0x545289['getAttribute']('src');if(_0x448dbb)await this['_loadImageInfo'](_0x448dbb,_0x1641fd);else{if(this['_imageCache']['has'](_0x1641fd)){const _0x2a01a7=this['_imageCache']['get'](_0x1641fd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a01a7['url'],this['imageDimension']=_0x2a01a7['dimension'],this['imageId']=_0x2a01a7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3da139}=this['_editor'],t=_0x3da139['t'],_0x2a941a=new X(_0x3da139,this['imageStatus'],this['_attributes']);_0x2a941a['bind']('status')['to'](this,'imageStatus'),_0x2a941a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a941a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a941a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a941a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe45f34,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a941a,'position':_0x1e78d3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a941a['focus']();},'onHide':()=>{_0x2a941a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xff9967=>!Q(_0xff9967,_0x2a941a['element'])}});}['_loadImageInfo'](_0x353ef1,_0x265cb8){return j['getInfo'](_0x353ef1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1858ce=>{const {width:_0x226051,height:_0x463c04}=_0x1858ce['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x265cb8,this['imageDimension']={'width':_0x226051,'height':_0x463c04},this['imageId']=_0x353ef1;})['catch'](_0x58c502=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58c502['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1cd779,_0x6bb1d5){return this['_getImageAsFile'](_0x1cd779)['then'](_0xcdc9e4=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x6bb1d5['signal'],'file':_0xcdc9e4,'onProgress':_0x2e2783=>{_0x2e2783&&_0x2e2783['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2e2783['value']));}}))['then'](_0x119d76=>{const {width:_0x29f2d9,height:_0x3ed069}=_0x119d76['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x119d76['cdnUrl'],this['imageDimension']={'width':_0x29f2d9,'height':_0x3ed069},this['imageId']=_0x119d76['uuid'],this['imageUploadProgress']=null;const _0x45f71a=_0x1cd779['getAttribute']('src');this['_imageCache']['set'](_0x45f71a,{'id':_0x119d76['uuid'],'url':_0x119d76['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x501c38=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x501c38['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x30e26a,_0x29e40a){_0x30e26a['on']('apply',(_0x365c10,_0x5e4971)=>{this['_replaceImage'](_0x29e40a,_0x5e4971['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x30e26a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x30e26a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xfa958,_0x51842e,_0x2b2878){const _0x311d47=this['_editor'],{width:_0x6fc78b,height:_0x30c956}=J(_0x51842e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x9bb442,imageSources:_0x1daa54}=C(_0x51842e,_0x6fc78b);_0x311d47['model']['change'](_0x35d47e=>{if('$graveyard'===_0xfa958['root']['rootName']){_0x311d47['execute']('insertImage',{'imageType':_0xfa958['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xfa958['getAttributes']()),'uploadcareImageId':_0x2b2878,'src':_0x9bb442,'sources':_0x1daa54,'width':_0x6fc78b,'height':_0x30c956}});const _0x3bc198=_0xfa958['getChildren']();_0xfa958=_0x311d47['model']['document']['selection']['getSelectedElement']();for(const _0x44164c of _0x3bc198)_0x35d47e['append'](_0x35d47e['cloneElement'](_0x44164c),_0xfa958);}else _0x35d47e['setSelection'](_0xfa958,'on'),_0x311d47['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xfa958['getAttributes']()),'uploadcareImageId':_0x2b2878,'src':_0x9bb442,'sources':_0x1daa54,'width':_0x6fc78b,'height':_0x30c956},_0xfa958);_0x35d47e['setSelection'](_0xfa958,'on');});}async['_getImageAsFile'](_0x19881e){const _0x3d84ad=_0x4fb6a4['window'],_0x5a5883=_0x4fb6a4['document']['location']['href'],_0x386d4b=new _0x3d84ad['URL'](_0x19881e['getAttribute']('src'),_0x5a5883);if('data:'===_0x386d4b['protocol']){const _0x11d5b9=_0x386d4b['href']['split'](','),_0x35d346=_0x11d5b9[0x0]['match'](/:(.*?);/)[0x1],_0xc32f8e=_0x35d346['split']('/')[0x1],_0x541d90=_0x3d84ad['atob'](_0x11d5b9[_0x11d5b9['length']-0x1]);let _0x2e8144=_0x541d90['length'];const _0x1f6d4b=new _0x3d84ad['Uint8Array'](_0x2e8144);for(;_0x2e8144--;)_0x1f6d4b[_0x2e8144]=_0x541d90['charCodeAt'](_0x2e8144);return new _0x3d84ad['File']([_0x1f6d4b],'image.'+_0xc32f8e,{'type':_0x35d346});}const _0x18a903=_0x386d4b['href']['split']('/'),_0xd4f85c=_0x18a903[_0x18a903['length']-0x1],_0x5f5183=_0xd4f85c['split']('.')[0x1];return _0x3d84ad['fetch'](_0x386d4b['href'])['then'](_0x57dec3=>_0x57dec3['clone']()['blob']())['then'](_0x265989=>new _0x3d84ad['File']([_0x265989],_0xd4f85c,{'type':'image/'+_0x5f5183}));}}class O extends _0x445fdc{['imageEditController'];static get['requires'](){return[_0x4fec6b];}['_isEditable'];constructor(_0x3f4b7f){super(_0x3f4b7f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x254f6d){const _0x2b8016=z(_0x254f6d);return _0x169784=>!(!_0x169784||!_0x169784['is']('element','imageBlock')&&!_0x169784['is']('element','imageInline'))&&(!!_0x169784['hasAttribute']('uploadcareImageId')||!!_0x169784['hasAttribute']('src')&&_0x2b8016(_0x169784['getAttribute']('src')));}(_0x3f4b7f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x59974d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x59974d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x466086=this['editor']['model']['document']['selection']['getSelectedElement']();_0x466086&&(_0x466086['is']('element','imageBlock')||_0x466086['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4fec6b),_0x466086),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x445fdc{['refresh'](){const _0x38d1a8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x38d1a8&&(_0x38d1a8['is']('element','imageBlock')||_0x38d1a8['is']('element','imageInline')));}['execute'](_0x22dfec){const _0xec335b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3dc5b2=>{_0x3dc5b2['setAttributes'](_0x22dfec,_0xec335b),_0x3dc5b2['removeAttribute']('srcset',_0xec335b),_0x3dc5b2['removeAttribute']('sizes',_0xec335b);});}}class m extends _0x4383ac{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xc0d412,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x424907}=this;_0x424907['commands']['add']('uploadcareImageEdit',new O(_0x424907)),_0x424907['commands']['add']('uploadcareImageReplace',new R(_0x424907));}}class g extends _0x4383ac{['_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 _0x44acb4=this['editor'];_0x44acb4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37b74e=>{const _0x37dd6d=_0x44acb4['commands']['get']('uploadcareImageEdit'),_0x1421c3=new _0x10dbd4(_0x37b74e),t=_0x37b74e['t'];return _0x1421c3['set']({'icon':_0xe45f34,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1421c3['bind']('isEnabled')['to'](_0x37dd6d),_0x1421c3['bind']('isOn')['to'](_0x37dd6d,'isActive'),this['listenTo'](_0x1421c3,'execute',()=>{_0x44acb4['execute']('uploadcareImageEdit'),_0x44acb4['editing']['view']['focus']();}),_0x1421c3;}),this['_initConfig']();}['_initConfig'](){const _0x35857e=_0x407d29(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x35857e),this['listenTo'](this['editor'],'destroy',()=>{_0x35857e['remove']();});}}class et extends _0x4383ac{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 _0x1a8967,Command as _0x2a2e30}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xbb1e9,IconGooglePhotos as _0x39cc81,IconGoogleDrive as _0x32f20c,IconFacebook as _0x3b9884,IconDropbox as _0x550ce6,IconUploadcareLink as _0x5368cd,IconUploadcareImageUpload as _0x390d1e,IconError as _0x5b569a,IconUploadcareImageEdit as _0x5117c0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x316ca3,MenuBarMenuListItemButtonView as _0x46ca3c,View as _0x16484e,FocusCycler as _0x2a2f52,Dialog as _0x56c47c,DialogViewPosition as _0x32bdec,SpinnerView as _0x10ba57,IconView as _0x32ef92,Notification as _0x19b5eb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x272c6f,DomEmitterMixin as _0x59e2e0,global as _0x21a49c,getAncestors as _0x2ce260,ObservableMixin as _0xc1a387,uid as _0x5270dd,createElement as _0x569943}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xe85f4c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x427a7e,info as _0x42dd2a}from'@uploadcare/upload-client';import*as _0x437fa8 from'@uploadcare/file-uploader';var i=function(_0x2421cf){return _0x2421cf['Local']='local',_0x2421cf['URL']='url',_0x2421cf['Dropbox']='dropbox',_0x2421cf['GDrive']='gdrive',_0x2421cf['Facebook']='facebook',_0x2421cf['GPhotos']='gphotos',_0x2421cf['OneDrive']='onedrive',_0x2421cf;}({});function _(_0x576ac1,_0x109de1,_0x15cfa3){const t=_0x576ac1['t'],_0x4490f4=_0x576ac1['t'];switch(_0x109de1){case i['Local']:return{'text':_0x4490f4('Insert'===_0x15cfa3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4490f4('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x15cfa3?_0x4490f4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4490f4('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x15cfa3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x15cfa3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x15cfa3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x15cfa3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x15cfa3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x109de1;}}class e extends _0x1a8967{['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 _0x282eac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26dabb;for(const _0x1563f9 in _0x282eac){const _0x3b4f15=_0x1563f9,_0x200ac0=_0x282eac[_0x3b4f15];if('uploadcareLicenseKeyValid'==_0x200ac0||'uploadcareLicenseKeyInvalid'==_0x200ac0||'uploadcareLicenseKeyExpired'==_0x200ac0||'uploadcareLicenseKeyDomainLimit'==_0x200ac0||'uploadcareLicenseKeyNotAllowed'==_0x200ac0||'uploadcareLicenseKeyEvaluationLimit'==_0x200ac0||'uploadcareLicenseKeyTrialLimit'==_0x200ac0||'uploadcareLicenseKeyUsageLimit'==_0x200ac0){delete _0x282eac[_0x3b4f15],_0x26dabb=_0x200ac0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x26dabb&&_0x282eac['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x26dabb&&_0x282eac['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x26dabb&&_0x282eac['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x26dabb&&_0x282eac['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x26dabb&&_0x282eac['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x26dabb&&_0x282eac['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x26dabb&&_0x282eac['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x17706f}=this,_0x5f007c=_0x17706f['commands']['get']('uploadcare');if(!_0x5f007c)return;const _0x3da956=this['_normalizeConfigSourceList'](_0x17706f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2294bb,_0x44c16a)=>{const _0x13256e=this['_getIntegrationKey'](_0x44c16a['type']);return _0x2294bb[_0x13256e]||(_0x2294bb[_0x13256e]=[]),_0x2294bb[_0x13256e]['push'](_0x44c16a),_0x2294bb;},{});_0x17706f['plugins']['has']('ImageInsertUI')&&_0x17706f['commands']['get']('uploadcare')&&Object['entries'](_0x3da956)['forEach'](([_0x120f38,_0x30f3a6])=>{_0x17706f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x120f38,'observable':()=>_0x5f007c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x30f3a6),'formViewCreator':()=>this['_createDropdownButtons'](_0x30f3a6),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x30f3a6),'override':'assetManager'!==_0x120f38});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x22b4c3){const {locale:_0x2c95fe}=this['editor'];return _0x22b4c3['map'](_0x5df4f4=>{const _0x2ba568=_(_0x2c95fe,_0x5df4f4,'Insert');switch(_0x5df4f4){case i['Local']:return{'icon':_0x390d1e,'type':i['Local'],..._0x2ba568};case i['URL']:return{'icon':_0x5368cd,'type':i['URL'],..._0x2ba568};case i['Dropbox']:return{'icon':_0x550ce6,'type':i['Dropbox'],..._0x2ba568};case i['Facebook']:return{'icon':_0x3b9884,'type':i['Facebook'],..._0x2ba568};case i['GDrive']:return{'icon':_0x32f20c,'type':i['GDrive'],..._0x2ba568};case i['GPhotos']:return{'icon':_0x39cc81,'type':i['GPhotos'],..._0x2ba568};case i['OneDrive']:return{'icon':_0xbb1e9,'type':i['OneDrive'],..._0x2ba568};}});}['_getIntegrationKey'](_0x5d708c){switch(_0x5d708c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4f1753,_0x38a3cf){const _0x78667b=this['editor'],_0x372b08=new _0x4f1753(_0x78667b['locale']),_0x3cbff3=_0x78667b['commands']['get']('uploadcare');return _0x372b08['bind']('isEnabled')['to'](_0x3cbff3),_0x372b08['on']('execute',()=>{_0x3cbff3['execute'](_0x38a3cf);}),_0x372b08;}['_createToolbarButton'](_0x561ca6){const {locale:_0xdb951e}=this['editor'],_0x16ce25=this['editor']['plugins']['get']('ImageInsertUI'),_0x3388b4=_0x561ca6[0x0],_0x129a21=this['_createButton'](_0x316ca3,_0x3388b4['type']);return _0x129a21['icon']=_0x3388b4['icon'],_0x129a21['bind']('label')['to'](_0x16ce25,'isImageSelected',_0x133a14=>_(_0xdb951e,_0x3388b4['type'],_0x133a14?'Replace':'Insert')['text']),_0x129a21['tooltip']=!0x0,_0x129a21;}['_createDropdownButtons'](_0x3e4575){const {locale:_0x4cceb3}=this['editor'],_0x1ec868=this['editor']['plugins']['get']('ImageInsertUI');return _0x3e4575['map'](_0x3b9cb8=>{const _0x4b2ab4=this['_createButton'](_0x316ca3,_0x3b9cb8['type']);return _0x4b2ab4['withText']=!0x0,_0x4b2ab4['icon']=_0x3b9cb8['icon'],_0x4b2ab4['bind']('label')['to'](_0x1ec868,'isImageSelected',_0x31adb9=>_(_0x4cceb3,_0x3b9cb8['type'],_0x31adb9?'Replace':'Insert')['text']),_0x4b2ab4;});}['_createMenuBarButtons'](_0x154770){return _0x154770['map'](_0x1318f5=>{const _0x30e5e0=this['_createButton'](_0x46ca3c,_0x1318f5['type']);return _0x30e5e0['icon']=_0x1318f5['icon'],_0x30e5e0['label']=_0x1318f5['shortText'],_0x30e5e0;});}}class F extends _0x16484e{['focusTracker'];['focusCycler'];constructor(_0x4b4a11){super(_0x4b4a11),this['focusTracker']=new _0x272c6f(),this['focusCycler']=new _0x2a2f52({'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(_0x319062,_0x39cbd5){super(_0x319062),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-'+_0x39cbd5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x339996,_0x47faac){const _0x7bfb1f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x21f102=>_0x21f102<=_0x47faac)['map'](_0xd12bed=>_0x339996['replace'](/\/$/,'')+'/-/resize/'+_0xd12bed+'x/\x20'+_0xd12bed+'w');return{'imageFallbackUrl':_0x339996,'imageSources':[{'srcset':_0x7bfb1f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x47faac+'px)\x20100vw,\x20'+_0x47faac+'px','type':'image/webp'}]};}function S(_0x224ac5,_0x32bf9e,_0x26a22f){const _0x260bd1=_0x224ac5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x260bd1?parseInt(_0x260bd1[0x1],0xa):_0x32bf9e,'height':_0x260bd1?parseInt(_0x260bd1[0x2],0xa):_0x26a22f};}function p(_0x17be78,_0x13b410){const _0x358e83=new(_0x59e2e0())(),_0x3f9f98=_0x17be78['plugins']['get']('ImageUtils'),_0x22da0a=_0x17be78['editing']['mapper']['toViewElement'](_0x13b410),_0x4bd831=_0x3f9f98['findViewImgElement'](_0x22da0a),_0x43f674=_0x17be78['editing']['view']['domConverter']['viewToDom'](_0x4bd831),_0x5b169b=_0x13b410['getAttribute']('width'),_0x352668=_0x13b410['getAttribute']('height'),_0x485fad='image-processing';_0x17be78['editing']['view']['change'](_0x1ee583=>{_0x1ee583['addClass'](_0x485fad,_0x22da0a),_0x1ee583['setStyle']('aspect-ratio',_0x5b169b+'/'+_0x352668,_0x4bd831);}),_0x358e83['listenTo'](_0x43f674,'load',()=>{_0x358e83['stopListening'](_0x43f674,'load'),_0x17be78['editing']['view']['change'](_0x1bbb28=>{_0x1bbb28['removeClass'](_0x485fad,_0x22da0a),_0x1bbb28['removeStyle']('aspect-ratio',_0x4bd831);});});}function z(_0x14b0c2){if(Array['isArray'](_0x14b0c2)){const _0x2f50ea=_0x14b0c2['map'](z);return _0x597697=>_0x2f50ea['some'](_0x4dca44=>_0x4dca44(_0x597697));}if('origin'==_0x14b0c2){const _0x32df17=_0x21a49c['window']['location']['origin'];return _0x5a7e1b=>new URL(_0x5a7e1b,_0x21a49c['document']['baseURI'])['origin']==_0x32df17;}return'function'==typeof _0x14b0c2?_0x14b0c2:_0x14b0c2 instanceof RegExp?_0x465543=>!(!_0x465543['match'](_0x14b0c2)&&!_0x465543['replace'](/^https?:\/\//,'')['match'](_0x14b0c2)):()=>!0x1;}function A(_0x36d49b,_0x573b80){return _0x2ce260(_0x36d49b['target'])['includes'](_0x573b80);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xc1a387(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4142f2,_0xb56670,_0x4f722e){super(),this['_editor']=_0x4142f2,this['_editing']=_0xb56670,this['_dialog']=_0x4142f2['plugins']['get'](_0x56c47c),this['_api']=_0xb56670['ctxElement']['getAPI'](),this['_type']=_0x4f722e,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:_0x782308,model:_0xc3804b}=this['_editor'],_0x286359=_0xc3804b['document']['selection']['getSelectedElement'](),_0x58f4fe=_0x286359&&(_0x286359['is']('element','imageBlock')||_0x286359['is']('element','imageInline'));this['_formView']=new x(_0x782308,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x390d1e,'title':_(_0x782308,this['_type'],_0x58f4fe?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x32bdec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xdb7d02=>!A(_0xdb7d02,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2847c4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x6f30f6=>{const _0x3586b5=_0x2847c4['length'];for(const _0x4b0983 of _0x2847c4){const _0x2422b6=_0x4b0983===_0x2847c4[_0x3586b5-0x1],{cdnUrl:_0x42f4b8,fileInfo:_0xf2b3c8}=_0x4b0983;if(!_0x42f4b8||!_0xf2b3c8)continue;const {width:_0x3476d3,height:_0x54968e}=_0xf2b3c8['imageInfo'],_0x38a879=S(_0x42f4b8,_0x3476d3,_0x54968e),_0x1a1c34=C(_0x42f4b8,_0x38a879['width']),_0x31605d={'id':_0xf2b3c8['uuid'],'type':'image','attributes':{'imageDimension':_0x38a879,..._0x1a1c34}};this['_insertAsset'](_0x31605d,_0x2422b6,_0x6f30f6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x96a65f=>{'idle'===_0x96a65f['detail']['status']&&!_0x96a65f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x40fe0b,_0x1258db,_0x2f7c62){const _0x13b45a=this['_editor']['model']['document']['selection'],_0x135fbf=_0x13b45a['getSelectedElement'](),_0x507dc0=!(!_0x135fbf||!_0x135fbf['is']('element','imageInline'));_0x2f7c62['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x40fe0b,_0x507dc0),_0x1258db||_0x2f7c62['setSelection'](_0x13b45a['getLastPosition']());}['_insertImage'](_0x14ff82,_0x204e7c){const _0x1587b8=this['_editor'],{imageDimension:_0x481b4d,imageFallbackUrl:_0x2e6cfe,imageSources:_0x5abf9e}=_0x14ff82['attributes'];_0x1587b8['execute']('insertImage',{'imageType':_0x204e7c?'imageInline':null,'source':{'uploadcareImageId':_0x14ff82['id'],'src':_0x2e6cfe,'sources':_0x5abf9e,..._0x481b4d}});}}class w extends _0x2a2e30{['_editing'];['_controller']=null;static get['requires'](){return[_0x56c47c,o];}constructor(_0x43a933){super(_0x43a933),this['_editing']=_0x43a933['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4171fc){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4171fc);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1b34a2,..._0x221ff4}){return _0x427a7e(_0x1b34a2,_0x221ff4);}static['getInfo'](_0x4cb695,_0x5bc84){return _0x42dd2a(_0x4cb695,_0x5bc84);}}class f extends _0x1a8967{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe85f4c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x14e2d6=this['editor'];if(!!!_0x14e2d6['config']['get']('uploadcare'))return;_0x14e2d6['plugins']['get'](_0xe85f4c)['createUploadAdapter']=_0x3a6005=>new k(_0x3a6005,_0x14e2d6),_0x14e2d6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3ea0e6,{imageElement:_0xa3dd5a,data:_0x295b52})=>{_0x14e2d6['model']['change'](_0x3e88a2=>{_0x3e88a2['setAttribute']('uploadcareImageId',_0x295b52['uploadcareImageId'],_0xa3dd5a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3c5a0c,_0x27248f){this['loader']=_0x3c5a0c,this['editor']=_0x27248f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x420fc2=await this['loader']['file'];return j['upload']({'file':_0x420fc2,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2d4354=>{_0x2d4354&&_0x2d4354['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2d4354['value']);}})['then'](async _0x2e1271=>{const {imageFallbackUrl:_0x275cf9,imageSources:_0x202cd0}=C(_0x2e1271['cdnUrl'],_0x2e1271['imageInfo']['width']);return{'uploadcareImageId':_0x2e1271['uuid'],'default':_0x275cf9,'sources':_0x202cd0};})['catch'](()=>{const _0x21ccc2=t('Cannot\x20upload\x20file:')+('\x20'+_0x420fc2['name']+'.');return Promise['reject'](_0x21ccc2);});}['abort'](){this['controller']['abort']();}}class o extends _0x1a8967{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x56c47c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x280a8f){super(_0x280a8f),this['ucContextId']=_0x5270dd();}['init'](){const _0x491340=this['editor'];_0x491340['commands']['add']('uploadcare',new w(_0x491340));}['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 _0x5a7f46=_0x21a49c['document']['querySelector']('input[uploadcare-file-input]');_0x5a7f46&&_0x5a7f46['remove']();}),async function(_0x4fb579){const _0x3f90c6=_0x5824fb([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3c5e4d=0x535f8c3a,_0x43722f=0x5358fbaa^_0x3c5e4d,_0x84559=window[_0x5824fb([0x44,0x61,0x74,0x65])][_0x5824fb([0x6e,0x6f,0x77])](),_0x2b05e7=_0x4fb579[_0x5824fb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b4741=new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a85b=>{_0x2b05e7[_0x5824fb([0x6f,0x6e,0x63,0x65])](_0x5824fb([0x72,0x65,0x61,0x64,0x79]),_0x20a85b);}),_0x4cd3af={[_0x5824fb([0x6b,0x74,0x79])]:_0x5824fb([0x45,0x43]),[_0x5824fb([0x75,0x73,0x65])]:_0x5824fb([0x73,0x69,0x67]),[_0x5824fb([0x63,0x72,0x76])]:_0x5824fb([0x50,0x2d,0x32,0x35,0x36]),[_0x5824fb([0x78])]:_0x5824fb([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]),[_0x5824fb([0x79])]:_0x5824fb([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]),[_0x5824fb([0x61,0x6c,0x67])]:_0x5824fb([0x45,0x53,0x32,0x35,0x36])},_0x436fb4=_0x2b05e7[_0x5824fb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5824fb([0x67,0x65,0x74])](_0x5824fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x356592(){let _0x526497,_0x35add2=null,_0xac2993=null;try{if(_0x436fb4==_0x5824fb([0x47,0x50,0x4c]))return _0x5824fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x526497=_0x3416ee(),!_0x526497)return _0x5824fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x526497[_0x5824fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xac2993=_0x24b2ce(_0x526497[_0x5824fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x526497[_0x5824fb([0x6a,0x74,0x69])])),await _0x43ae0e()?_0x214d34()?_0x5dd506()?_0x5824fb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20afba()?(_0x526497[_0x5824fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5824fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35add2=_0x25a99b(_0x5824fb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x526497[_0x5824fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5824fb([0x74,0x72,0x69,0x61,0x6c])&&(_0x35add2=_0x25a99b(_0x5824fb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4878a4()):_0x5824fb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5824fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5824fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5824fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5dd506(){const _0x8c1301=[_0x5824fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5824fb([0x74,0x72,0x69,0x61,0x6c])][_0x5824fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526497[_0x5824fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x84559/0x3e8:0xe10*_0x43722f;return _0x526497[_0x5824fb([0x65,0x78,0x70])]<_0x8c1301;}function _0x214d34(){const _0x582cc2=_0x526497[_0x5824fb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x582cc2&&(!!_0x582cc2[_0x5824fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5824fb([0x2a]))||!!_0x582cc2[_0x5824fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5824fb([0x55,0x50,0x4c,0x43])));}function _0x20afba(){const _0x2281c9=_0x526497[_0x5824fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2281c9||0x0==_0x2281c9[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb18bf7}=new URL(window[_0x5824fb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2281c9[_0x5824fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb18bf7))return!0x0;const _0x1da0ad=_0xb18bf7[_0x5824fb([0x73,0x70,0x6c,0x69,0x74])](_0x5824fb([0x2e]));return _0x2281c9[_0x5824fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9746ae=>_0x9746ae[_0x5824fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5824fb([0x2a])))[_0x5824fb([0x6d,0x61,0x70])](_0x233fc9=>_0x233fc9[_0x5824fb([0x73,0x70,0x6c,0x69,0x74])](_0x5824fb([0x2e])))[_0x5824fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28470b=>_0x28470b[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1da0ad[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5824fb([0x6d,0x61,0x70])](_0x577750=>Array(_0x1da0ad[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x577750[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5824fb([0x66,0x69,0x6c,0x6c])](_0x577750[0x0]===_0x5824fb([0x2a])?_0x5824fb([0x2a]):'')[_0x5824fb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x577750))[_0x5824fb([0x73,0x6f,0x6d,0x65])](_0x51425e=>_0x1da0ad[_0x5824fb([0x65,0x76,0x65,0x72,0x79])]((_0x6639ac,_0x460509)=>_0x51425e[_0x460509]===_0x6639ac||_0x51425e[_0x460509]===_0x5824fb([0x2a])));}function _0x4878a4(){return _0x35add2&&_0xac2993?new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49cdaf,_0xd814f0)=>{_0x35add2[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x49cdaf,_0xd814f0),_0xac2993[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x473114=>{_0x473114!=_0x5824fb([0x56,0x61,0x6c,0x69,0x64])&&_0x49cdaf(_0x473114);},_0xd814f0);}):_0x35add2||_0xac2993||_0x5824fb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24b2ce(_0x54fda2,_0x49a609){return new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6c6d=>{if(_0x1b22ec())return _0x3c6c6d(_0x5824fb([0x56,0x61,0x6c,0x69,0x64]));_0x143690(),_0x2b05e7[_0x5824fb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5824fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x66f6f5=!0x1;const _0x25ee38=_0x5270dd();function _0x4b1011(_0x28f488){return!!_0x28f488&&(typeof _0x28f488===_0x5824fb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28f488===_0x5824fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28f488[_0x5824fb([0x74,0x68,0x65,0x6e])]===_0x5824fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28f488[_0x5824fb([0x63,0x61,0x74,0x63,0x68])]===_0x5824fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23f579(_0x324a9b){_0x585a0b(_0x324a9b)[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x5f5418=>{if(!_0x5f5418||_0x5f5418[_0x5824fb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5824fb([0x6f,0x6b]))return _0x5824fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57fad5(_0x4215f4(_0x25ee38+_0x49a609))!=_0x5f5418[_0x5824fb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5824fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5824fb([0x56,0x61,0x6c,0x69,0x64]);})[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x44e077=>(_0x16e95f(),_0x44e077),()=>{const _0x3b5239=_0x50d975();return null==_0x3b5239?(_0x16e95f(),_0x5824fb([0x56,0x61,0x6c,0x69,0x64])):_0x5824fb(_0x84559-_0x3b5239>(0x7753083a^_0x3c5e4d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x3c6c6d)[_0x5824fb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c6c6d(_0x5824fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16f06a=0x536962ba^_0x3c5e4d;function _0x16e95f(){const _0x4d7991=_0x5824fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57fad5(_0x4215f4(_0x54fda2)),_0x2a4ea2=_0x4a6702(_0x57fad5(window[_0x5824fb([0x4d,0x61,0x74,0x68])][_0x5824fb([0x63,0x65,0x69,0x6c])](_0x84559/_0x16f06a)));window[_0x5824fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5824fb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d7991,_0x2a4ea2);}function _0x50d975(){const _0x27b251=_0x5824fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57fad5(_0x4215f4(_0x54fda2)),_0x558dc3=window[_0x5824fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5824fb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27b251);return _0x558dc3?window[_0x5824fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6702(_0x558dc3),0x10)*_0x16f06a:null;}function _0x585a0b(_0x353c2d){return new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19165b,_0x5762b8)=>{_0x353c2d[_0x5824fb([0x74,0x68,0x65,0x6e])](_0x19165b,_0x5762b8),window[_0x5824fb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5762b8,0x535e58fa^_0x3c5e4d);});}}_0x2b05e7[_0x5824fb([0x6f,0x6e])](_0x5824fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b722d,_0xb95f5d)=>{if(_0xb95f5d[0x0]!=_0x54fda2)return _0x3c6c6d(_0x5824fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb95f5d[0x1]={..._0xb95f5d[0x1],[_0x5824fb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25ee38};},{[_0x5824fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5824fb([0x68,0x69,0x67,0x68])}),_0x2b05e7[_0x5824fb([0x6f,0x6e])](_0x5824fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x230857=>{_0x4b1011(_0x230857[_0x5824fb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x66f6f5=!0x0,_0x23f579(_0x230857[_0x5824fb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5824fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5824fb([0x6c,0x6f,0x77])}),_0x3b4741[_0x5824fb([0x74,0x68,0x65,0x6e])](()=>{_0x66f6f5||_0x3c6c6d(_0x5824fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b22ec(){return _0x2b05e7[_0x5824fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5824fb([0x76,0x69,0x65,0x77])][_0x5824fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5824fb([0x61,0x75,0x74,0x6f]);}function _0x143690(){_0x2b05e7[_0x5824fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5824fb([0x76,0x69,0x65,0x77])][_0x5824fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5824fb([0x61,0x75,0x74,0x6f]);}}function _0x25a99b(_0x340d55){const _0x1f7c8d=[new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dca5c=>setTimeout(_0x5dca5c,0x5356b2f6^_0x3c5e4d)),_0x3b4741[_0x5824fb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257f72=>{let _0x56a786=0x0;_0x2b05e7[_0x5824fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5824fb([0x6f,0x6e])](_0x5824fb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ea8a9,_0x18345c)=>{_0x18345c[0x0][_0x5824fb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56a786++,_0x56a786==(0x535f8dc2^_0x3c5e4d)&&(_0x257f72(),_0x5ea8a9[_0x5824fb([0x6f,0x66,0x66])]());});}))];return window[_0x5824fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5824fb([0x72,0x61,0x63,0x65])](_0x1f7c8d)[_0x5824fb([0x74,0x68,0x65,0x6e])](()=>_0x340d55);}async function _0x3d6387(){await _0x3b4741,_0x2b05e7[_0x5824fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5824fb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30a8ce,_0x2b05e7[_0x5824fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5824fb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30a8ce,_0x2b05e7[_0x5824fb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5824fb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x239e59(_0x2c3ac3){const _0x329da7=_0x21b83b();_0x2b05e7[_0x329da7]=_0x5824fb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c3ac3,_0x2c3ac3!=_0x5824fb([0x56,0x61,0x6c,0x69,0x64])&&_0x3d6387();}function _0x21b83b(){const _0x146a19=window[_0x5824fb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5824fb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5824fb([0x6e,0x6f,0x77])]())[_0x5824fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5824fb([0x2e]),'');let _0x4ada62=_0x5824fb([0x68]);for(let _0x4d4c6e=0x0;_0x4d4c6e<_0x146a19[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d4c6e+=0x2){let _0x36be35=window[_0x5824fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x146a19[_0x5824fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d4c6e,_0x4d4c6e+0x2));_0x36be35>=_0x3f90c6[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36be35-=_0x3f90c6[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ada62+=_0x3f90c6[_0x36be35];}return _0x4ada62;}function _0x3416ee(){const _0x5bd71d=_0x436fb4[_0x5824fb([0x73,0x70,0x6c,0x69,0x74])](_0x5824fb([0x2e]));if(0x3!=_0x5bd71d[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1300ea(_0x5bd71d[0x1]);function _0x1300ea(_0x58bf2e){const _0x268408=_0x5978d1(_0x58bf2e);return _0x268408&&_0xb3b5cd()?_0x268408:null;function _0xb3b5cd(){const _0xf8731d=_0x268408[_0x5824fb([0x6a,0x74,0x69])],_0x1bbf4a=window[_0x5824fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8731d[_0x5824fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf8731d[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50add4={..._0x268408,[_0x5824fb([0x6a,0x74,0x69])]:_0xf8731d[_0x5824fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf8731d[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50add4[_0x5824fb([0x76,0x63])],_0x4215f4(_0x50add4)==_0x1bbf4a;}}}async function _0x43ae0e(){let _0x2ae01f=!0x0;try{const _0x6e0fce=_0x436fb4[_0x5824fb([0x73,0x70,0x6c,0x69,0x74])](_0x5824fb([0x2e])),[_0x38898b,_0x1f9693,_0x148de3]=_0x6e0fce;return _0x3eda1d(_0x38898b),await _0x4fa961(_0x38898b,_0x1f9693,_0x148de3),_0x2ae01f;}catch{return!0x1;}function _0x3eda1d(_0x390e4b){const _0x582551=_0x5978d1(_0x390e4b);_0x582551&&_0x582551[_0x5824fb([0x61,0x6c,0x67])]==_0x5824fb([0x45,0x53,0x32,0x35,0x36])||(_0x2ae01f=!0x1);}async function _0x4fa961(_0x20f35f,_0x4c695b,_0x55b18f){const _0x4376c3=window[_0x5824fb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5824fb([0x66,0x72,0x6f,0x6d])](_0x17f1d5(_0x55b18f),_0x5042c0=>_0x5042c0[_0x5824fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d6b55=new window[(_0x5824fb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5824fb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20f35f+_0x5824fb([0x2e])+_0x4c695b),_0x54d6fa=window[_0x5824fb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5824fb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d6fa)return;const _0x5f4913=await _0x54d6fa[_0x5824fb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5824fb([0x6a,0x77,0x6b]),_0x4cd3af,{[_0x5824fb([0x6e,0x61,0x6d,0x65])]:_0x5824fb([0x45,0x43,0x44,0x53,0x41]),[_0x5824fb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5824fb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5824fb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d6fa[_0x5824fb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5824fb([0x6e,0x61,0x6d,0x65])]:_0x5824fb([0x45,0x43,0x44,0x53,0x41]),[_0x5824fb([0x68,0x61,0x73,0x68])]:{[_0x5824fb([0x6e,0x61,0x6d,0x65])]:_0x5824fb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f4913,_0x4376c3,_0x4d6b55)||(_0x2ae01f=!0x1);}}function _0x5978d1(_0x2569c6){return _0x2569c6[_0x5824fb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5824fb([0x65,0x79]))?JSON[_0x5824fb([0x70,0x61,0x72,0x73,0x65])](_0x17f1d5(_0x2569c6)):null;}function _0x17f1d5(_0x265db8){return window[_0x5824fb([0x61,0x74,0x6f,0x62])](_0x265db8[_0x5824fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5824fb([0x2b]))[_0x5824fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5824fb([0x2f])));}function _0x4215f4(_0x393ae8){let _0x27c95d=0x1505;function _0x12165c(_0x5e2621){for(let _0x1df2a8=0x0;_0x1df2a8<_0x5e2621[_0x5824fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1df2a8++){const _0x526be4=_0x5e2621[_0x5824fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1df2a8);_0x27c95d=(_0x27c95d<<0x5)+_0x27c95d+_0x526be4,_0x27c95d&=_0x27c95d;}}function _0x291060(_0x29e925){Array[_0x5824fb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29e925)?_0x29e925[_0x5824fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x291060):_0x29e925&&typeof _0x29e925==_0x5824fb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5824fb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29e925)[_0x5824fb([0x73,0x6f,0x72,0x74])]()[_0x5824fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21133f,_0x26cbee])=>{_0x12165c(_0x21133f),_0x291060(_0x26cbee);}):_0x12165c(window[_0x5824fb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29e925));}return _0x291060(_0x393ae8),_0x27c95d>>>0x0;}function _0x57fad5(_0x5766f7){return _0x5766f7[_0x5824fb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5824fb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5824fb([0x30]));}function _0x4a6702(_0x42397c){return _0x42397c[_0x5824fb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5824fb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5824fb([0x6a,0x6f,0x69,0x6e])]('');}function _0x30a8ce(){}function _0x5824fb(_0x30bddd){return _0x30bddd['map'](_0x52f348=>String['fromCharCode'](_0x52f348))['join']('');}_0x239e59(await _0x356592());}(this);}['_initSchema'](){const _0x18ce95=this['editor']['model']['schema'];_0x18ce95['isRegistered']('imageBlock')&&_0x18ce95['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x18ce95['isRegistered']('imageInline')&&_0x18ce95['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x325a09=this['editor'];_0x325a09['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x325a09['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2bbeb0=>_0x2bbeb0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2e73d8=_0x325a09['commands']['get']('replaceImageSource');_0x2e73d8&&this['listenTo'](_0x2e73d8,'cleanupImage',(_0x3415d6,[_0x3842dd,_0x1ac3d4])=>{_0x3842dd['removeAttribute']('uploadcareImageId',_0x1ac3d4);});}['_initConfig'](){const _0x223450=this['editor']['config']['get']('uploadcare.uploader')||{},_0x574cf1=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x569943(_0x21a49c['document'],'uc-config',{..._0x223450,'pubkey':_0x574cf1,'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']=_0x3c89c2=>{if('closeMax'==_0x3c89c2)return'#uc-icon-arrow-down';},_0x21a49c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x569943(_0x21a49c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x21a49c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x18f42f=this['editor']['commands']['get']('insertImage');_0x18f42f&&this['listenTo'](_0x18f42f,'execute',()=>{const _0x5a7ad7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a7ad7&&_0x5a7ad7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5a7ad7);});});const _0x32b488=this['editor']['commands']['get']('uploadcareImageReplace');_0x32b488&&this['listenTo'](_0x32b488,'execute',()=>{const _0x4ef739=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4ef739&&_0x4ef739['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4ef739);});});}}class tt extends _0x1a8967{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd11da3){super(_0xd11da3),_0xd11da3['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x437fa8['defineComponents'](_0x437fa8),this['_defineLocale']();}['_defineLocale'](){const _0x2b71fd=this['editor']['config']['get']('uploadcare.locale'),_0x15da24=this['editor']['locale']['contentLanguage'];_0x2b71fd&&_0x437fa8['defineLocale'](_0x15da24,_0x2b71fd);}}class ii extends _0x16484e{constructor(_0x3676aa){super(_0x3676aa);const t=_0x3676aa['t'],_0x5b3112=this['bindTemplate'],_0x2fd031=new _0x10ba57();_0x2fd031['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':[_0x2fd031,{'text':_0x5b3112['to']('imageUploadProgress',_0x111f97=>t('Loading\x20image...')+'\x20('+(_0x111f97||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 _0x16484e{constructor(_0x414249){super(_0x414249);const t=_0x414249['t'];this['set']('errorType',null);const _0x348c06=new _0x316ca3(_0x414249);_0x348c06['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x348c06['withText']=!0x0,_0x348c06['class']='ck-button-action',_0x348c06['on']('execute',()=>{this['fire']('retry');}),_0x348c06['bind']('isVisible')['to'](this,'errorType',_0x709a=>'NotFound'!==_0x709a);const _0x533bc7=new _0x32ef92();_0x533bc7['content']=_0x5b569a,_0x533bc7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1a7395=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':[_0x533bc7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1a7395['to']('errorType',_0x1f4cae=>t('NotFound'!==_0x1f4cae?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x348c06]},{'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 _0x16484e{constructor(_0x558039,_0xedc7d5){super(_0x558039);const _0x268375=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xedc7d5,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x268375['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x48eff1,_0x1abfd4,_0x4c6674){super(_0x48eff1),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x48eff1),this['_errorView']=new ti(_0x48eff1),this['_editingView']=new ei(_0x48eff1,_0x4c6674),this['_focusableView']=new _0x16484e(_0x48eff1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1abfd4),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'],_0xaedc9d=>{this['_addUploadcareImageEditorListeners'](_0xaedc9d);});}),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'](_0x5591f1,_0x5c0621){const _0x3ffa49='uc-cloud-image-editor',_0x5ce3e2=_0x5591f1['querySelector'](_0x3ffa49);if(_0x5ce3e2)return _0x5c0621(_0x5ce3e2);const _0x37d303=new MutationObserver(_0x34eb31=>{const _0x4311b4=_0x34eb31['filter'](_0x17e5d8=>_0x17e5d8['target']===_0x5591f1&&_0x17e5d8['addedNodes']['length']>0x0&&_0x17e5d8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3ffa49);_0x4311b4['length']&&(_0x37d303['disconnect'](),_0x5c0621(_0x4311b4[0x0]['addedNodes'][0x0]));});_0x37d303['observe'](_0x5591f1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x328bd8){_0x328bd8['addEventListener']('apply',_0x1bcc3c=>{this['fire']('apply',{'imageSrc':_0x1bcc3c['detail']['cdnUrl']});}),_0x328bd8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0xc1a387(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x225d14,_0x2543f5,_0x874077){super(),this['_editor']=_0x225d14,this['_dialog']=_0x2543f5,this['_imageElement']=_0x874077,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 _0x12a07b=this['_imageElement'],_0x5ac4ea=_0x12a07b['getAttribute']('uploadcareImageId'),_0x47bef4=_0x12a07b['getAttribute']('src');if(_0x5ac4ea)await this['_loadImageInfo'](_0x5ac4ea,_0x47bef4);else{if(this['_imageCache']['has'](_0x47bef4)){const _0x2665de=this['_imageCache']['get'](_0x47bef4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2665de['url'],this['imageDimension']=_0x2665de['dimension'],this['imageId']=_0x2665de['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2822fa}=this['_editor'],t=_0x2822fa['t'],_0x3bd40c=new X(_0x2822fa,this['imageStatus'],this['_attributes']);_0x3bd40c['bind']('status')['to'](this,'imageStatus'),_0x3bd40c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3bd40c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3bd40c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3bd40c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5117c0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3bd40c,'position':_0x32bdec['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3bd40c['focus']();},'onHide':()=>{_0x3bd40c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x34a919=>!A(_0x34a919,_0x3bd40c['element'])}});}['_loadImageInfo'](_0x53bc91,_0x107123){return j['getInfo'](_0x53bc91,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xc80419=>{const {width:_0x50d6df,height:_0x19d892}=_0xc80419['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x107123,this['imageDimension']={'width':_0x50d6df,'height':_0x19d892},this['imageId']=_0x53bc91;})['catch'](_0x50bf50=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x50bf50['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35abc2,_0x15a7cb){return this['_getImageAsFile'](_0x35abc2)['then'](_0x989e79=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x15a7cb['signal'],'file':_0x989e79,'onProgress':_0x2fce95=>{_0x2fce95&&_0x2fce95['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fce95['value']));}}))['then'](_0x3afb02=>{const {width:_0x52efe4,height:_0x27f97f}=_0x3afb02['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3afb02['cdnUrl'],this['imageDimension']={'width':_0x52efe4,'height':_0x27f97f},this['imageId']=_0x3afb02['uuid'],this['imageUploadProgress']=null;const _0x446da2=_0x35abc2['getAttribute']('src');this['_imageCache']['set'](_0x446da2,{'id':_0x3afb02['uuid'],'url':_0x3afb02['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x257e02=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x257e02['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x564217,_0xcce4e7){_0x564217['on']('apply',(_0x12972c,_0x46ec7c)=>{this['_replaceImage'](_0xcce4e7,_0x46ec7c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x564217['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x564217['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4cce54,_0x5a23b6,_0x1c934f){const _0x1b7931=this['_editor'],{width:_0x47ac5a,height:_0x4b828f}=S(_0x5a23b6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5bb0c4,imageSources:_0x5521f3}=C(_0x5a23b6,_0x47ac5a);_0x1b7931['model']['change'](_0x1e6247=>{if('$graveyard'===_0x4cce54['root']['rootName']){_0x1b7931['execute']('insertImage',{'imageType':_0x4cce54['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4cce54['getAttributes']()),'uploadcareImageId':_0x1c934f,'src':_0x5bb0c4,'sources':_0x5521f3,'width':_0x47ac5a,'height':_0x4b828f}});const _0x101988=_0x4cce54['getChildren']();_0x4cce54=_0x1b7931['model']['document']['selection']['getSelectedElement']();for(const _0x1f7388 of _0x101988)_0x1e6247['append'](_0x1e6247['cloneElement'](_0x1f7388),_0x4cce54);}else _0x1e6247['setSelection'](_0x4cce54,'on'),_0x1b7931['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4cce54['getAttributes']()),'uploadcareImageId':_0x1c934f,'src':_0x5bb0c4,'sources':_0x5521f3,'width':_0x47ac5a,'height':_0x4b828f},_0x4cce54);_0x1e6247['setSelection'](_0x4cce54,'on');});}async['_getImageAsFile'](_0x30ead0){const _0x20d094=_0x21a49c['window'],_0x3989e5=_0x21a49c['document']['location']['href'],_0x21a075=new _0x20d094['URL'](_0x30ead0['getAttribute']('src'),_0x3989e5);if('data:'===_0x21a075['protocol']){const _0x112cad=_0x21a075['href']['split'](','),_0x159b4e=_0x112cad[0x0]['match'](/:(.*?);/)[0x1],_0x7ef1f6=_0x159b4e['split']('/')[0x1],_0x49324a=_0x20d094['atob'](_0x112cad[_0x112cad['length']-0x1]);let _0x317bbb=_0x49324a['length'];const _0x32daed=new _0x20d094['Uint8Array'](_0x317bbb);for(;_0x317bbb--;)_0x32daed[_0x317bbb]=_0x49324a['charCodeAt'](_0x317bbb);return new _0x20d094['File']([_0x32daed],'image.'+_0x7ef1f6,{'type':_0x159b4e});}const _0x13cf40=_0x21a075['href']['split']('/'),_0xf332c0=_0x13cf40[_0x13cf40['length']-0x1],_0x42d199=_0xf332c0['split']('.')[0x1];return _0x20d094['fetch'](_0x21a075['href'])['then'](_0x140119=>_0x140119['clone']()['blob']())['then'](_0x253aa5=>new _0x20d094['File']([_0x253aa5],_0xf332c0,{'type':'image/'+_0x42d199}));}}class Q extends _0x2a2e30{['imageEditController'];static get['requires'](){return[_0x56c47c];}['_isEditable'];constructor(_0x3420e3){super(_0x3420e3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x25d687){const _0x4b3f0c=z(_0x25d687);return _0x249783=>!(!_0x249783||!_0x249783['is']('element','imageBlock')&&!_0x249783['is']('element','imageInline'))&&(!!_0x249783['hasAttribute']('uploadcareImageId')||!!_0x249783['hasAttribute']('src')&&_0x4b3f0c(_0x249783['getAttribute']('src')));}(_0x3420e3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5857df=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5857df);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x26f43e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x26f43e&&(_0x26f43e['is']('element','imageBlock')||_0x26f43e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x56c47c),_0x26f43e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x2a2e30{['refresh'](){const _0x218438=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x218438&&(_0x218438['is']('element','imageBlock')||_0x218438['is']('element','imageInline')));}['execute'](_0x26228d){const _0x19cc33=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x49cdad=>{_0x49cdad['setAttributes'](_0x26228d,_0x19cc33),_0x49cdad['removeAttribute']('srcset',_0x19cc33),_0x49cdad['removeAttribute']('sizes',_0x19cc33);});}}class m extends _0x1a8967{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x19b5eb,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x188c40}=this;_0x188c40['commands']['add']('uploadcareImageEdit',new Q(_0x188c40)),_0x188c40['commands']['add']('uploadcareImageReplace',new V(_0x188c40));}}class g extends _0x1a8967{['_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 _0x1cec43=this['editor'];_0x1cec43['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2458d1=>{const _0x4213cf=_0x1cec43['commands']['get']('uploadcareImageEdit'),_0x3cc6e5=new _0x316ca3(_0x2458d1),t=_0x2458d1['t'];return _0x3cc6e5['set']({'icon':_0x5117c0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3cc6e5['bind']('isEnabled')['to'](_0x4213cf),_0x3cc6e5['bind']('isOn')['to'](_0x4213cf,'isActive'),this['listenTo'](_0x3cc6e5,'execute',()=>{_0x1cec43['execute']('uploadcareImageEdit'),_0x1cec43['editing']['view']['focus']();}),_0x3cc6e5;}),this['_initConfig']();}['_initConfig'](){const _0x34056f=_0x569943(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x34056f),this['listenTo'](this['editor'],'destroy',()=>{_0x34056f['remove']();});}}class et extends _0x1a8967{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,Q 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':_0x56627d=>0x1!=_0x56627d}};
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':_0x5edbb7=>0x1!=_0x5edbb7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x51055a=>{const {af:{dictionary:_0xfbbb1b,getPluralForm:_0x172e26}}={'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':_0x540ad9=>0x1!=_0x540ad9}};_0x51055a['af']||={'dictionary':{},'getPluralForm':null},_0x51055a['af']['dictionary']=Object['assign'](_0x51055a['af']['dictionary'],_0xfbbb1b),_0x51055a['af']['getPluralForm']=_0x172e26;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48a55b=>{const {af:{dictionary:_0x1a54a4,getPluralForm:_0x3b168f}}={'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':_0x3ade6a=>0x1!=_0x3ade6a}};_0x48a55b['af']||={'dictionary':{},'getPluralForm':null},_0x48a55b['af']['dictionary']=Object['assign'](_0x48a55b['af']['dictionary'],_0x1a54a4),_0x48a55b['af']['getPluralForm']=_0x3b168f;})(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':_0x403275=>0x0==_0x403275?0x0:0x1==_0x403275?0x1:0x2==_0x403275?0x2:_0x403275%0x64>=0x3&&_0x403275%0x64<=0xa?0x3:_0x403275%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':_0x2f4330=>0x0==_0x2f4330?0x0:0x1==_0x2f4330?0x1:0x2==_0x2f4330?0x2:_0x2f4330%0x64>=0x3&&_0x2f4330%0x64<=0xa?0x3:_0x2f4330%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fa68a=>{const {ar:{dictionary:_0x57dc06,getPluralForm:_0x355ade}}={'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':_0x2d4ede=>0x0==_0x2d4ede?0x0:0x1==_0x2d4ede?0x1:0x2==_0x2d4ede?0x2:_0x2d4ede%0x64>=0x3&&_0x2d4ede%0x64<=0xa?0x3:_0x2d4ede%0x64>=0xb?0x4:0x5}};_0x3fa68a['ar']||={'dictionary':{},'getPluralForm':null},_0x3fa68a['ar']['dictionary']=Object['assign'](_0x3fa68a['ar']['dictionary'],_0x57dc06),_0x3fa68a['ar']['getPluralForm']=_0x355ade;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2bd13c=>{const {ar:{dictionary:_0x388d32,getPluralForm:_0x167d06}}={'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':_0x27be0f=>0x0==_0x27be0f?0x0:0x1==_0x27be0f?0x1:0x2==_0x27be0f?0x2:_0x27be0f%0x64>=0x3&&_0x27be0f%0x64<=0xa?0x3:_0x27be0f%0x64>=0xb?0x4:0x5}};_0x2bd13c['ar']||={'dictionary':{},'getPluralForm':null},_0x2bd13c['ar']['dictionary']=Object['assign'](_0x2bd13c['ar']['dictionary'],_0x388d32),_0x2bd13c['ar']['getPluralForm']=_0x167d06;})(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':_0x37fdf8=>0x1!=_0x37fdf8}};
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':_0x24bef5=>0x1!=_0x24bef5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x462e49=>{const {ast:{dictionary:_0x14fadd,getPluralForm:_0x3d494d}}={'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':_0x54c5ce=>0x1!=_0x54c5ce}};_0x462e49['ast']||={'dictionary':{},'getPluralForm':null},_0x462e49['ast']['dictionary']=Object['assign'](_0x462e49['ast']['dictionary'],_0x14fadd),_0x462e49['ast']['getPluralForm']=_0x3d494d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x130331=>{const {ast:{dictionary:_0x353c53,getPluralForm:_0x3f29f3}}={'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':_0x13e528=>0x1!=_0x13e528}};_0x130331['ast']||={'dictionary':{},'getPluralForm':null},_0x130331['ast']['dictionary']=Object['assign'](_0x130331['ast']['dictionary'],_0x353c53),_0x130331['ast']['getPluralForm']=_0x3f29f3;})(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':_0x439bc9=>0x1!=_0x439bc9}};
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':_0x5bf8f5=>0x1!=_0x5bf8f5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x393312=>{const {az:{dictionary:_0x3049c2,getPluralForm:_0x408091}}={'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':_0x3cb1f0=>0x1!=_0x3cb1f0}};_0x393312['az']||={'dictionary':{},'getPluralForm':null},_0x393312['az']['dictionary']=Object['assign'](_0x393312['az']['dictionary'],_0x3049c2),_0x393312['az']['getPluralForm']=_0x408091;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xcd3e85=>{const {az:{dictionary:_0x169201,getPluralForm:_0x3375f9}}={'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':_0x4a8a46=>0x1!=_0x4a8a46}};_0xcd3e85['az']||={'dictionary':{},'getPluralForm':null},_0xcd3e85['az']['dictionary']=Object['assign'](_0xcd3e85['az']['dictionary'],_0x169201),_0xcd3e85['az']['getPluralForm']=_0x3375f9;})(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':_0x392df4=>_0x392df4%0xa==0x1&&_0x392df4%0x64!=0xb?0x0:_0x392df4%0xa>=0x2&&_0x392df4%0xa<=0x4&&(_0x392df4%0x64<0xa||_0x392df4%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':_0x182202=>_0x182202%0xa==0x1&&_0x182202%0x64!=0xb?0x0:_0x182202%0xa>=0x2&&_0x182202%0xa<=0x4&&(_0x182202%0x64<0xa||_0x182202%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x304bbb=>{const {be:{dictionary:_0x5380fd,getPluralForm:_0x3213ce}}={'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':_0x5b21de=>_0x5b21de%0xa==0x1&&_0x5b21de%0x64!=0xb?0x0:_0x5b21de%0xa>=0x2&&_0x5b21de%0xa<=0x4&&(_0x5b21de%0x64<0xa||_0x5b21de%0x64>=0x14)?0x1:0x2}};_0x304bbb['be']||={'dictionary':{},'getPluralForm':null},_0x304bbb['be']['dictionary']=Object['assign'](_0x304bbb['be']['dictionary'],_0x5380fd),_0x304bbb['be']['getPluralForm']=_0x3213ce;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x186f19=>{const {be:{dictionary:_0x304f8c,getPluralForm:_0x20432b}}={'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':_0x4843cd=>_0x4843cd%0xa==0x1&&_0x4843cd%0x64!=0xb?0x0:_0x4843cd%0xa>=0x2&&_0x4843cd%0xa<=0x4&&(_0x4843cd%0x64<0xa||_0x4843cd%0x64>=0x14)?0x1:0x2}};_0x186f19['be']||={'dictionary':{},'getPluralForm':null},_0x186f19['be']['dictionary']=Object['assign'](_0x186f19['be']['dictionary'],_0x304f8c),_0x186f19['be']['getPluralForm']=_0x20432b;})(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':_0x2ae119=>0x1!=_0x2ae119}};
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':_0xda1121=>0x1!=_0xda1121}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a4129=>{const {bg:{dictionary:_0x384c,getPluralForm:_0x449508}}={'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':_0x4ce076=>0x1!=_0x4ce076}};_0x1a4129['bg']||={'dictionary':{},'getPluralForm':null},_0x1a4129['bg']['dictionary']=Object['assign'](_0x1a4129['bg']['dictionary'],_0x384c),_0x1a4129['bg']['getPluralForm']=_0x449508;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38f257=>{const {bg:{dictionary:_0x11d348,getPluralForm:_0x47c21e}}={'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':_0x5eea63=>0x1!=_0x5eea63}};_0x38f257['bg']||={'dictionary':{},'getPluralForm':null},_0x38f257['bg']['dictionary']=Object['assign'](_0x38f257['bg']['dictionary'],_0x11d348),_0x38f257['bg']['getPluralForm']=_0x47c21e;})(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':_0x2792d4=>0x1!=_0x2792d4}};
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':_0x59b74a=>0x1!=_0x59b74a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3cc4ac=>{const {bn:{dictionary:_0x3a8344,getPluralForm:_0xdd9dd8}}={'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':_0x18a084=>0x1!=_0x18a084}};_0x3cc4ac['bn']||={'dictionary':{},'getPluralForm':null},_0x3cc4ac['bn']['dictionary']=Object['assign'](_0x3cc4ac['bn']['dictionary'],_0x3a8344),_0x3cc4ac['bn']['getPluralForm']=_0xdd9dd8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4adb4e=>{const {bn:{dictionary:_0x23d240,getPluralForm:_0x3e6312}}={'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':_0x4d80a7=>0x1!=_0x4d80a7}};_0x4adb4e['bn']||={'dictionary':{},'getPluralForm':null},_0x4adb4e['bn']['dictionary']=Object['assign'](_0x4adb4e['bn']['dictionary'],_0x23d240),_0x4adb4e['bn']['getPluralForm']=_0x3e6312;})(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':_0x2f3826=>_0x2f3826%0xa==0x1&&_0x2f3826%0x64!=0xb?0x0:_0x2f3826%0xa>=0x2&&_0x2f3826%0xa<=0x4&&(_0x2f3826%0x64<0xa||_0x2f3826%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':_0xfe6bb3=>_0xfe6bb3%0xa==0x1&&_0xfe6bb3%0x64!=0xb?0x0:_0xfe6bb3%0xa>=0x2&&_0xfe6bb3%0xa<=0x4&&(_0xfe6bb3%0x64<0xa||_0xfe6bb3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa1bdd7=>{const {bs:{dictionary:_0x4595f6,getPluralForm:_0x22af76}}={'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':_0x4cf962=>_0x4cf962%0xa==0x1&&_0x4cf962%0x64!=0xb?0x0:_0x4cf962%0xa>=0x2&&_0x4cf962%0xa<=0x4&&(_0x4cf962%0x64<0xa||_0x4cf962%0x64>=0x14)?0x1:0x2}};_0xa1bdd7['bs']||={'dictionary':{},'getPluralForm':null},_0xa1bdd7['bs']['dictionary']=Object['assign'](_0xa1bdd7['bs']['dictionary'],_0x4595f6),_0xa1bdd7['bs']['getPluralForm']=_0x22af76;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x473f92=>{const {bs:{dictionary:_0x4656a2,getPluralForm:_0x5735d3}}={'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':_0x352c40=>_0x352c40%0xa==0x1&&_0x352c40%0x64!=0xb?0x0:_0x352c40%0xa>=0x2&&_0x352c40%0xa<=0x4&&(_0x352c40%0x64<0xa||_0x352c40%0x64>=0x14)?0x1:0x2}};_0x473f92['bs']||={'dictionary':{},'getPluralForm':null},_0x473f92['bs']['dictionary']=Object['assign'](_0x473f92['bs']['dictionary'],_0x4656a2),_0x473f92['bs']['getPluralForm']=_0x5735d3;})(window['CKEDITOR_TRANSLATIONS']||={});